'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var tslib_es6 = require('./tslib.es6-725c4637.js');
var React = require('react');
var index$1 = require('./index-aa55b901.js');
var index = require('./index-21f68464.js');
var healthToolsCardWrapper = require('./index-cea81f04.js');
require('@mantine/core');
require('@mantine/form');
require('./index-e157e748.js');
require('@hhgtech/icons/other');
require('@mantine/hooks');
require('./index-b6868bb7.js');
require('./index-4f20b13e.js');
require('./utils-bab021dd.js');
require('@emotion/styled');
require('@mantine/carousel');
require('./index-09df9165.js');
require('./index-7ba9a85c.js');
require('dayjs');
require('./index-c4c60437.js');
require('./Locale-a7d28fb5.js');
require('@mantine/notifications');
require('./index-fdbb9e7c.js');
require('date-fns/locale');
require('./constantsSite.js');
require('./constantsDomainLocales.js');
require('./constantsRiskScreener.js');
require('./constantsIsProduction.js');
require('./miscTheme.js');
require('./shared-ba5a4a75.js');
require('classnames');
require('uuid');
require('./useUniqueId-654b4339.js');
require('@emotion/react');
require('@hhgtech/icons/core');
require('./index-943d5601.js');
require('./index-a1c46b8a.js');
require('@mantine/dates');
require('./index.styles-dcde8100.js');
require('./index-366ce1c6.js');
require('./translationsContext-97a81b4f.js');
require('./index-5b199312.js');
require('./context-62eb99bf.js');
require('./constants-8cce3449.js');
require('./index-ded963fa.js');
require('react-keyed-flatten-children');
require('./index-d1b8fc8f.js');

function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

const BabyGrowthCardEmbed = (_a) => {
    var _b, _c, _d;
    var { babyGrowthContent, formProps } = _a, props = tslib_es6.__rest(_a, ["babyGrowthContent", "formProps"]);
    return (React__default["default"].createElement(healthToolsCardWrapper.HealthToolCardWrapper, Object.assign({}, props),
        React__default["default"].createElement(healthToolsCardWrapper.HealthToolCardWrapper.Banner, { icon: React__default["default"].createElement("img", { className: "embedded-icon", alt: "health-tool-icon", src: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.featuredImage) ||
                    index.CommonGAssets.getAssetPath('health-tools/toolsIconBabyGrowth.svg'), loading: "lazy" }), heading: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.title) || '', medicalReview: {
                link: (_b = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
                reviewer: (_c = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer.trim(),
                date: (_d = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
            } }),
        React__default["default"].createElement(healthToolsCardWrapper.HealthToolCardWrapper.Body, null,
            React__default["default"].createElement(index$1.BabyGrowthForm, Object.assign({}, formProps)))));
};

exports.BabyGrowthCardEmbed = BabyGrowthCardEmbed;
