"use strict";

exports.__esModule = true;
exports.default = void 0;
var _map2 = _interopRequireDefault(require("lodash/fp/map"));
var _react = _interopRequireDefault(require("react"));
var _hero = _interopRequireDefault(require("../../../molecule/hero"));
var _privacyPolicyContact = _interopRequireDefault(require("../../../molecule/privacy-policy-contact"));
var _quickAccessCard = _interopRequireDefault(require("../../../molecule/quick-access-card"));
var _types = require("./types");
var _style = _interopRequireDefault(require("./style.css"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
const FAQCardsPage = ({
  header,
  privacyPolicyContact,
  quickAccessList,
  title,
  description
}) => {
  return /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.wrapper
  }, /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.hero
  }, /*#__PURE__*/_react.default.createElement(_hero.default, _extends({}, header, {
    mode: 'header'
  }))), /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.container
  }, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("h3", {
    className: _style.default.title
  }, title), /*#__PURE__*/_react.default.createElement("h6", {
    className: _style.default.description
  }, description)), /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.group
  }, (0, _map2.default)(item => {
    return /*#__PURE__*/_react.default.createElement("div", {
      className: _style.default.card,
      key: `card-quick-access-faq-${item.title}`
    }, /*#__PURE__*/_react.default.createElement(_quickAccessCard.default, item));
  }, quickAccessList)))), /*#__PURE__*/_react.default.createElement("div", {
    className: _style.default.privacyPolicyContact
  }, /*#__PURE__*/_react.default.createElement(_privacyPolicyContact.default, privacyPolicyContact)));
};
FAQCardsPage.propTypes = process.env.NODE_ENV !== "production" ? _types.propTypes : {};
var _default = exports.default = FAQCardsPage;
//# sourceMappingURL=index.js.map