Liferay.Loader.define("@liferay/object-js-components-web@1.0.58/components/Card",["module","exports","require","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react","./Card.scss"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.Card=function Card(e){let{children:t,className:r,customHeader:o,disabled:c,title:d,tooltip:i,viewMode:s}=e,f=function _objectWithoutProperties(e,t){if(null==e)return{};var r,a,l=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r,a,l={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}(e,["children","className","customHeader","disabled","title","tooltip","viewMode"]);const u="inline"===s,b="no-children"===s;return n.default.createElement("div",_extends({},f,{className:(0,l.default)(r,"lfr-objects__card",{"lfr-objects__card--inline":u,"lfr-objects__card--no-margin":b||"no-margin"===s})}),b?n.default.createElement("div",{className:"lfr-objects__card-title--with-padding"},d):n.default.createElement(n.default.Fragment,null,u?d:n.default.createElement("div",{className:(0,l.default)("lfr-objects__card-header",{"lfr-objects__card-header--no-border":"no-header-border"===s})},o||n.default.createElement(n.default.Fragment,null,n.default.createElement("h3",{className:(0,l.default)("lfr-objects__card-title",{"lfr-objects__card-title--disabled":c})},d),i&&n.default.createElement("span",{className:"ml-2","data-tooltip-align":"top",title:i.content},n.default.createElement(a.default,{className:"lfr-objects__card-header-tooltip-icon",symbol:i.symbol})))),n.default.createElement("div",{className:(0,l.default)("lfr-objects__card-body",{"lfr-objects__card-body--inline":u,"lfr-objects__card-body--no-padding":"no-padding"===s})},t)))};var a=_interopRequireDefault(r("@frontend-taglib-clay$clayui/icon")),l=_interopRequireDefault(r("liferay!frontend-js-react-web$classnames")),n=_interopRequireDefault(r("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}r("./Card.scss")}}));
//# sourceMappingURL=Card.js.map