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wBAAyB,CAAEC,OAAuB,QAAjB,EAAEzB,EAAa,UAAE,OAAW,QAAX,EAAf,EAAiBS,OAAO,UAAE,WAAX,EAAf,EAA4BiB,gBACpE,mCACA,gBAAKF,wBAAyB,CAAEC,OAAuB,QAAjB,EAAEzB,EAAa,UAAE,OAAW,QAAX,EAAf,EAAiBS,OAAO,UAAE,WAAX,EAAf,EAA4BkB,wBACnE,EAMDX,EAAgC,KAElC,+BACE,2BACI,gB","sources":["pages/convergence-2023/convergence-recap.tsx"],"sourcesContent":["import { useEffect, useState } from \"react\";\r\nimport { Helmet } from \"react-helmet-async\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { useDynamicScripts } from \"../../hooks/useDynamicScript\";\r\nimport { retrievePageMenu } from \"../../redux/slice/page-menu.slice\";\r\nimport { RootState, useAppDispatch } from \"../../redux/store\";\r\nimport Convergence2023Banner from \"./components/convergence-2023-banner\";\r\n\r\nconst Convergence2024Pricing = () => {\r\n  const path = \"Convergence-2023%2FRecap\";\r\n  const dispatch = useAppDispatch();\r\n  const { RapsEuropeData: pageMenuData } = useSelector((state: RootState) => state.rapsEurope);\r\n\r\n  useEffect(() => {\r\n    dispatch(retrievePageMenu(`%2F${path}`));\r\n  }, [dispatch]);\r\n\r\n  // Dynamic Scripts\r\n  const [scriptHtmlString, setScriptHtmlString] = useState(\"\");\r\n\r\n  useEffect(() => {\r\n    if (pageMenuData[0]?.result[0]) {\r\n      if (pageMenuData[0]?.result[0].javaScriptField) {\r\n        setScriptHtmlString(pageMenuData[0].result[0].javaScriptField);\r\n      }\r\n\r\n      if (window.runGlobalScripts) {\r\n        window.runGlobalScripts();\r\n      }\r\n    }\r\n  }, [pageMenuData]);\r\n\r\n  useDynamicScripts({ htmlScriptString: scriptHtmlString, divId: \"convergence-2023-recap-script\" });\r\n  // End Dynamic Scripts\r\n\r\n  return (\r\n    <>\r\n      <Convergence2023StyleComponent />\r\n      <Helmet>\r\n        <title>{pageMenuData[0]?.result[0]?.menuItemName}</title>\r\n      </Helmet>\r\n      <Convergence2023Banner\r\n        bannerImage={pageMenuData[0]?.result[0]?.mainHeaderImage}\r\n        mobileBanner={pageMenuData[0]?.result[0]?.mobileHeaderImage}\r\n        headerText={pageMenuData[0]?.result[0]?.headerText}\r\n        topCommonMesage={pageMenuData[0]?.result[0]?.topCommonMesage}\r\n      />\r\n      <div>&nbsp;</div>\r\n      <div dangerouslySetInnerHTML={{ __html: pageMenuData[0]?.result[0]?.description }}></div>\r\n      <div>&nbsp;</div>\r\n      <div dangerouslySetInnerHTML={{ __html: pageMenuData[0]?.result[0]?.councilDescription }}></div>\r\n    </>\r\n  );\r\n};\r\n\r\nexport default Convergence2024Pricing;\r\n\r\nconst Convergence2023StyleComponent = () => {\r\n  return (\r\n    <>\r\n      <style>\r\n        {`\r\n        `}\r\n      </style>\r\n    </>\r\n  );\r\n};\r\n"],"names":["dispatch","useAppDispatch","RapsEuropeData","pageMenuData","useSelector","state","rapsEurope","useEffect","retrievePageMenu","scriptHtmlString","setScriptHtmlString","useState","result","javaScriptField","window","runGlobalScripts","useDynamicScripts","htmlScriptString","divId","Convergence2023StyleComponent","menuItemName","bannerImage","mainHeaderImage","mobileBanner","mobileHeaderImage","headerText","topCommonMesage","dangerouslySetInnerHTML","__html","description","councilDescription"],"sourceRoot":""}