Liferay.Loader.define("@liferay/content-dashboard-web@2.0.83/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=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),l=_interopRequireDefault(a("liferay!frontend-js-react-web$classnames")),n=(_interopRequireDefault(a("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(a("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const Preview=({compressed:e,imageURL:t,title:a,url:i})=>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"},i?n.default.createElement("a",{className:"align-items-center c-focus-inset d-flex h-100",href:i,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}))));Preview.defaultProps={compressed:!1,url:null};var i=Preview;t.default=i}}));
//# sourceMappingURL=Preview.js.map