"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var StoryFeedStyledComponents_1 = require("./StoryFeedStyledComponents");
var StoryNewsroomStatus_1 = require("./StoryNewsroomStatus");
// import { Share } from "../Social";
var Contributors_1 = require("../Contributors");
exports.StoryDetails = function (props) {
    var openGraphData = props.openGraphData;
    return (React.createElement(React.Fragment, null,
        React.createElement(StoryFeedStyledComponents_1.StoryModalFullBleedHeader, null,
            React.createElement(StoryFeedStyledComponents_1.StoryImgWide, null,
                React.createElement("img", { src: openGraphData.images[0].url }))),
        React.createElement(StoryFeedStyledComponents_1.StoryModalContent, null,
            React.createElement(StoryFeedStyledComponents_1.StoryTitle, null, openGraphData.title),
            React.createElement(StoryFeedStyledComponents_1.StoryDetailsFlex, null,
                React.createElement(StoryNewsroomStatus_1.StoryNewsroomStatus, { newsroom: props.newsroom, activeChallenge: props.activeChallenge, handleOpenNewsroom: props.handleOpenNewsroom }),
                React.createElement(StoryFeedStyledComponents_1.TimeStamp, null, props.createdAt)),
            React.createElement(StoryFeedStyledComponents_1.StoryDescription, null, openGraphData.description),
            React.createElement(Contributors_1.Contributors, { sortedContributors: props.sortedContributors }),
            React.createElement(Contributors_1.ContributorCount, { totalContributors: props.totalContributors, displayedContributors: props.displayedContributors })),
        React.createElement(StoryFeedStyledComponents_1.StoryModalFooter, null,
            React.createElement(StoryFeedStyledComponents_1.BlueLinkBtn, { href: openGraphData.url, target: "_blank" }, "Read More"))));
};
//# sourceMappingURL=StoryDetails.js.map