Liferay.Loader.define("@liferay/content-dashboard-web@2.0.73/js/components/SidebarPanelInfoView/Preview",["module","exports","require","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(a("@frontend-taglib-clay$clayui/icon")),l=c(a("liferay!frontend-js-react-web$classnames")),n=(c(a("liferay!frontend-js-react-web$prop-types")),c(a("liferay!frontend-js-react-web$react")));function c(e){return e&&e.__esModule?e:{default:e}}const e=({compressed:e,imageURL:t,title:a,url:c})=>n.default.createElement("div",{className:(0,l.default)("document-preview sidebar-section",{"sidebar-section--compress":e})},t&&n.default.createElement("figure",{className:"document-preview-figure mb-2"},c?n.default.createElement("a",{className:"align-items-center c-focus-inset d-flex h-100",href:c,target:"_blank"},n.default.createElement("img",{alt:a,src:t}),n.default.createElement(r.default,{className:"document-preview-icon",symbol:"shortcut"})):n.default.createElement("div",{className:"align-items-center d-flex h-100"},n.default.createElement("img",{alt:a,src:t}))));e.defaultProps={compressed:!1,url:null};var s=e;t.default=s}}));
//# sourceMappingURL=Preview.js.map