Liferay.Loader.define("@liferay/content-dashboard-web@2.0.83/js/components/SidebarPanelInfoView/SpecificFields",["module","exports","require","liferay!frontend-js-react-web$react","./FileUrlCopyButton","./utils/formatDate"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(a("liferay!frontend-js-react-web$react"));const{default:e}=a("./FileUrlCopyButton"),{default:n}=a("./utils/formatDate"),SpecificItem=({languageTag:t,type:a,value:r})=>{const u={Date:()=>l.default.createElement("time",null,n(r,t)),String:()=>l.default.createElement("p",null,r),URL:()=>l.default.createElement(e,{url:r})};return u[a]?u[a]():r};var _default=({fields:e,languageTag:t})=>e.length?e.map((({title:e,type:a,value:n})=>e&&n&&a&&l.default.createElement("div",{className:"c-mb-4 sidebar-section",key:e},l.default.createElement("h5",{className:"c-mb-1 font-weight-semi-bold"},e),l.default.createElement(SpecificItem,{languageTag:t,type:a,value:n})))):null;t.default=_default}}));
//# sourceMappingURL=SpecificFields.js.map