import _map from "lodash/fp/map";
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); }
import React from 'react';
import Hero from '../../../molecule/hero';
import PrivacyPolicyContact from '../../../molecule/privacy-policy-contact';
import QuickAccessCard from '../../../molecule/quick-access-card';
import { propTypes } from './types';
import styles from './style.css';
const FAQCardsPage = ({
  header,
  privacyPolicyContact,
  quickAccessList,
  title,
  description
}) => {
  return /*#__PURE__*/React.createElement("div", {
    className: styles.wrapper
  }, /*#__PURE__*/React.createElement("div", {
    className: styles.hero
  }, /*#__PURE__*/React.createElement(Hero, _extends({}, header, {
    mode: 'header'
  }))), /*#__PURE__*/React.createElement("div", {
    className: styles.container
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h3", {
    className: styles.title
  }, title), /*#__PURE__*/React.createElement("h6", {
    className: styles.description
  }, description)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
    className: styles.group
  }, _map(item => {
    return /*#__PURE__*/React.createElement("div", {
      className: styles.card,
      key: `card-quick-access-faq-${item.title}`
    }, /*#__PURE__*/React.createElement(QuickAccessCard, item));
  }, quickAccessList)))), /*#__PURE__*/React.createElement("div", {
    className: styles.privacyPolicyContact
  }, /*#__PURE__*/React.createElement(PrivacyPolicyContact, privacyPolicyContact)));
};
FAQCardsPage.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
export default FAQCardsPage;
//# sourceMappingURL=index.js.map