Liferay.Loader.define("content-dashboard-web@1.0.68/js/AuditGraphApp", ['module', 'exports', 'require', 'frontend-js-react-web$react', './components/AuditBarChart', './components/EmptyAuditBarChart'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = _default;

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

    var _AuditBarChart = _interopRequireDefault(require("./components/AuditBarChart"));

    var _EmptyAuditBarChart = _interopRequireDefault(require("./components/EmptyAuditBarChart"));

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { default: obj };
    }

    /**
     * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
     * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
     */
    function _default(_ref) {
      var context = _ref.context,
          props = _ref.props;
      var languageDirection = context.languageDirection;
      var learnHowURL = props.learnHowURL,
          vocabularies = props.vocabularies;
      return vocabularies.length ? /*#__PURE__*/_react.default.createElement(_AuditBarChart.default, {
        rtl: languageDirection === 'rtl',
        vocabularies: vocabularies
      }) : /*#__PURE__*/_react.default.createElement(_EmptyAuditBarChart.default, {
        learnHowURL: learnHowURL
      });
    }
    //# sourceMappingURL=AuditGraphApp.js.map
  }
});
//# sourceMappingURL=AuditGraphApp.js.map