Liferay.Loader.define("layout-reports-web@1.0.55/js/components/NoIssuesLoaded",["module","exports","require","@frontend-taglib-clay$clayui/button","liferay!frontend-js-react-web$react","../context/StoreContext","../utils/loadIssues"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function NoIssuesLoaded(){const{data:e,languageId:t}=(0,n.useContext)(u.StoreStateContext),a=(0,n.useContext)(u.StoreDispatchContext),{imagesPath:o}=e,l="".concat(o,"/issues_default.svg");return n.default.createElement("div",{className:"pb-3 px-3 text-center"},n.default.createElement("img",{alt:Liferay.Language.get("default-page-audit-image-alt-description"),className:"my-4",src:l,width:"120px"}),n.default.createElement("p",{className:"text-secondary"},Liferay.Language.get("launch-a-page-audit-to-check-issues-that-impact-on-your-page's-accesibility-and-seo")),n.default.createElement(r.default,{displayType:"secondary",onClick:()=>{const r=e.pageURLs.find((a=>a.languageId===(t||e.defaultLanguageId)));(0,i.default)({dispatch:a,languageId:t,url:r})},title:Liferay.Language.get("launch-page-audit")},Liferay.Language.get("launch-page-audit")))};var r=_interopRequireDefault(a("@frontend-taglib-clay$clayui/button")),n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var u=r?Object.getOwnPropertyDescriptor(e,n):null;u&&(u.get||u.set)?Object.defineProperty(a,n,u):a[n]=e[n]}a.default=e,t&&t.set(e,a);return a}(a("liferay!frontend-js-react-web$react")),u=a("../context/StoreContext"),i=_interopRequireDefault(a("../utils/loadIssues"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=NoIssuesLoaded.js.map