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mBAAmBP,wBAAyB,CAAEC,OAAQI,EAAKO,wBAE1E,iBAAKL,UAAU,kBAAiB,WAC9B,gBAAKA,UAAU,aACf,gBAAKA,UAAU,iBAAgB,UAC7B,cAAGM,KAAO,aAAYR,EAAKS,WAAYP,UAAU,kBAAiB,qCAS9E,gBAAKP,wBAAyB,CAAEC,OAAyB,QAAnB,EAAEnB,EAAe,UAAE,OAAW,QAAX,EAAjB,EAAmBa,OAAO,UAAE,WAAX,EAAjB,EAA8BoB,6BAlCnD,SAAC,IAAW,GAoChC,C","sources":["pages/education/online-university-certificates.tsx"],"sourcesContent":["import { useEffect, useState } from \"react\";\r\nimport { Helmet } from \"react-helmet-async\";\r\nimport { useSelector } from \"react-redux\";\r\nimport TwoColumnLayOut from \"../../layouts/two-columns/two-column-layout\";\r\nimport { retrievePageMenu } from \"../../redux/slice/page-menu.slice\";\r\nimport { retrieveProductDetails } from \"../../redux/slice/products/product-details-slice\";\r\nimport { RootState, useAppDispatch } from \"../../redux/store\";\r\nimport LoadingComp from \"../../components/re-usable/loading/loading\";\r\n\r\nconst OnlineUniversityCertificates = () => {\r\n const dispatch = useAppDispatch();\r\n const path = \"Education%2FOnline-University-Certificates\";\r\n const { RapsEuropeData } = useSelector((state: RootState) => state.rapsEurope);\r\n const { ProductDetailsData } = useSelector((state: RootState) => state.ProductDetails);\r\n\r\n useEffect(() => {\r\n dispatch(retrievePageMenu(`%2F${path}`));\r\n dispatch(retrieveProductDetails(`certificates`));\r\n }, [dispatch]);\r\n\r\n // Page published check\r\n const [isPublished, setIsPublished] = useState(false);\r\n\r\n useEffect(() => {\r\n if (RapsEuropeData[0]?.result !== undefined) {\r\n setIsPublished(true);\r\n }\r\n }, [RapsEuropeData]);\r\n\r\n if (!isPublished) return <LoadingComp />;\r\n // End Page published check\r\n\r\n return (\r\n <>\r\n <Helmet>\r\n <title>{RapsEuropeData[0]?.result[0]?.menuItemName}</title>\r\n </Helmet>\r\n <TwoColumnLayOut breadcrumbPath={path} isBreadcrumbpath={false} showAds={true}>\r\n <div dangerouslySetInnerHTML={{ __html: RapsEuropeData[0]?.result[0]?.description }}></div>\r\n <div></div>\r\n {ProductDetailsData[0]?.productInfoItemsList?.map((item, index) => {\r\n return (\r\n <div className=\"info-listing-section\">\r\n <div className=\"container il-container\">\r\n <div className=\"il-img-wrapper col-lg-3 col-md-12 text-center\">\r\n <img src={item.imageUrl} className=\"il-img\" alt=\"\" />\r\n </div>\r\n <div className=\"il-content-wrapper\">\r\n <h2 className=\"h2\">{item.name}</h2>\r\n <p className=\"il-content-intro\" dangerouslySetInnerHTML={{ __html: item.shortDescription }}></p>\r\n </div>\r\n <div className=\"il-side-wrapper\">\r\n <div className=\"il-side\"></div>\r\n <div className=\"il-btn-wrapper\">\r\n <a href={`/products/${item.nodeName}`} className=\"btn btn-default\">\r\n Learn More\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n );\r\n })}\r\n <div dangerouslySetInnerHTML={{ __html: RapsEuropeData[0]?.result[0]?.councilDescription }}></div>\r\n </TwoColumnLayOut>\r\n </>\r\n );\r\n};\r\n\r\nexport default OnlineUniversityCertificates;\r\n"],"names":["dispatch","useAppDispatch","path","RapsEuropeData","useSelector","state","rapsEurope","ProductDetailsData","ProductDetails","useEffect","retrievePageMenu","retrieveProductDetails","isPublished","setIsPublished","useState","undefined","result","menuItemName","breadcrumbPath","isBreadcrumbpath","showAds","dangerouslySetInnerHTML","__html","description","productInfoItemsList","map","item","index","className","src","imageUrl","alt","name","shortDescription","href","nodeName","councilDescription"],"sourceRoot":""}