Liferay.Loader.define("@liferay/content-dashboard-web@2.0.83/js/components/SidebarPanelInfoView/PreviewActionsDescriptionSection",["module","exports","require","@frontend-taglib-clay$clayui/link","liferay!frontend-js-react-web$react","./Preview","./Share"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_interopRequireDefault(a("@frontend-taglib-clay$clayui/link")),n=_interopRequireDefault(a("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const{default:e}=a("./Preview"),{default:l}=a("./Share");var _default=({description:t,downloadURL:a,fetchSharingButtonURL:i,handleError:d,preview:o,title:c})=>{const u=a||i;return n.default.createElement(n.default.Fragment,null,o&&o.imageURL&&n.default.createElement(e,{compressed:!!u,imageURL:o.imageURL,title:c,url:o.url}),u&&n.default.createElement("div",{className:"sidebar-section"},a&&n.default.createElement(r.default,{className:"btn btn-primary",href:a},Liferay.Language.get("download")),i&&n.default.createElement(l,{fetchSharingButtonURL:i,onError:d})),t&&n.default.createElement("div",{className:"sidebar-section"},n.default.createElement("h5",{className:"c-mb-1 font-weight-semi-bold"},Liferay.Language.get("description")),n.default.createElement("div",{className:"text-secondary",dangerouslySetInnerHTML:{__html:t}})))};t.default=_default}}));
//# sourceMappingURL=PreviewActionsDescriptionSection.js.map