Liferay.Loader.define("analytics-reports-web@2.0.38/js/components/CustomTooltip",["module","exports","require","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=function(e){const{formatter:t,label:a,labelFormatter:r,payload:o,publishDateFill:n,separator:c="",showPublishedDateLabel:s}=e;return a?l.default.createElement("div",{className:"custom-tooltip popover"},l.default.createElement("p",{className:"mx-2 popover-header py-1"},l.default.createElement("b",null,r?r(a):a)),l.default.createElement("div",{className:"mb-0 p-2 popover-body"},s&&l.default.createElement("span",null,l.default.createElement("span",{className:"custom-circle mr-1",style:{backgroundColor:"white",border:"2px solid ".concat(n)}}),Liferay.Language.get("published")),l.default.createElement("ul",{className:"list-unstyled mb-0"},o.map((e=>{const[a,r,o]=t?t(e.value,e.name,e.iconType):[e.value,e.name,e.iconType];return l.default.createElement("li",{key:e.name},l.default.createElement("span",{className:"custom-".concat(o," mr-1"),style:{backgroundColor:e.color}}),r,c,l.default.createElement("b",null,a))}))))):null};r(a("liferay!frontend-js-react-web$prop-types"));var l=r(a("liferay!frontend-js-react-web$react"));function r(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=CustomTooltip.js.map