"use strict";

exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _loader = _interopRequireDefault(require("../../../atom/loader"));
var _cmPopin = _interopRequireDefault(require("../../../molecule/cm-popin"));
var _style = _interopRequireDefault(require("./style.css"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const PlayerLoading = ({
  popinError
}) => {
  return /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.wrapper
  }, popinError ? /*#__PURE__*/_react.default.createElement(_cmPopin.default, popinError) : /*#__PURE__*/_react.default.createElement(_loader.default, null));
};
PlayerLoading.propTypes = process.env.NODE_ENV !== "production" ? {
  popinError: _propTypes.default.shape(_cmPopin.default.propTypes)
} : {};
var _default = exports.default = PlayerLoading;
//# sourceMappingURL=index.js.map