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M,GAAGC,KACtCtG,KAAQ4D,EAAKc,KAAK1E,KAClBC,SAAY2D,EAAKc,KAAKiB,WAAW1F,UAC/B,KAUNG,EAAAA,cAAA,OAAKC,UAAU,uBACfD,EAAAA,cAAA,OAAKC,UAAU,cACnBD,EAAAA,cAAA,KAAGS,KAAK,IAAIR,UAAU,0BAAyBD,EAAAA,cAAA,OAAKI,IAAI,8CACxDJ,EAAAA,cAAA,OAAKC,UAAU,qCACfD,EAAAA,cAAA,KAAGS,KAAK,IAAIR,UAAU,0BAAyB,IAACD,EAAAA,cAAA,OAAKI,IAAI,qDAW3D,QAOC,C","sources":["webpack://gatsby-starter-wordpress-blog/./src/components/MediaCenter/NewsList.js","webpack://gatsby-starter-wordpress-blog/./src/components/MediaCenter/shareNews.js","webpack://gatsby-starter-wordpress-blog/./src/components/seo.js","webpack://gatsby-starter-wordpress-blog/./src/templates/press-release-detail.js"],"sourcesContent":["\nimport React from 'react'\n// import Link from 'gatsby-link'\nimport { Link } from 'gatsby'\n\nexport default function NewsList({key, url, imageUrl, imageAlt, shortTitle, shortSummary, type, date, location}) {\n console.log(key, url, imageUrl, imageAlt, shortTitle, shortSummary, type, date, location,'-------------')\n return ( \n
\n
\n \n
\n \n {imageUrl\n
{shortTitle}
\n

{shortSummary}

\n \n
\n {type}\n
{date} | {location}
\n \n
\n \n
\n \n\n \n \n )\n}\n","import React from 'react'\n\nexport default function ShareNews({ title, url }) {\n //zohair share code\n function shareWhatsapp(shareUrl, title) {\n var mainURL = shareUrl;//window.location.origin + shareUrl;\n if (typeof window !== `undefined`) {\n window.open(`https://wa.me/?text=` + encodeURIComponent(mainURL));\n }\n }\n function shareFB(shareUrl, title) {\n var mainURL = shareUrl;//window.location.origin + shareUrl;\n if (typeof window !== `undefined`) {\n window.open(\"https://www.facebook.com/sharer/sharer.php?u=\" + encodeURIComponent(mainURL) + \"&t=\" + title, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=420,width=650');\n }\n }\n function shareTwitter(shareUrl, title) {\n var mainURL = shareUrl;//window.location.origin + shareUrl;\n if (typeof window !== `undefined`) {\n window.open(\"https://twitter.com/share?url=\" + encodeURIComponent(mainURL) + \"&text=\" + title, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=420,width=650');\n }\n }\n function shareLinkedin(shareUrl, title) {\n var mainURL = shareUrl;//window.location.origin + shareUrl;\n if (typeof window !== `undefined`) {\n window.open(\"http://www.linkedin.com/shareArticle?mini=true&url=\" + encodeURIComponent(mainURL) + \"&title=\" + title, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=420,width=650');\n }\n }\n function shareEmail(shareUrl, title) {\n var mainURL = shareUrl;//window.location.origin + shareUrl;\n if (typeof window !== `undefined`) {\n window.open(\"mailto:?subject=\" + title + \"&body= Check out this article \" + encodeURIComponent(mainURL), '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=420,width=650');\n }\n }\n\n function Clipboard_CopyTo(value) {\n var tempInput = document.createElement(\"input\");\n tempInput.value = value;\n document.body.appendChild(tempInput);\n tempInput.select();\n document.execCommand(\"copy\");\n document.body.removeChild(tempInput);\n\n document.getElementById('copiedText').classList.add('on');\n setTimeout(function () {\n document.getElementById('copiedText').classList.remove('on');\n }, 2000);\n\n }\n\n return (\n
\n
\n \"img\"\n \n
\n
\n )\n}","/**\n * SEO component that queries for data with\n * Gatsby's useStaticQuery React hook\n *\n * See: https://www.gatsbyjs.com/docs/use-static-query/\n */\n\nimport React from \"react\"\nimport { GatsbySeo } from 'gatsby-plugin-next-seo';\n\nconst SEO = ({ pageSeo, href, articleType }) => {\n \n\n \n\n return (\n \n pageSeo?\n \n \n : null\n )\n}\n\n\n\nexport default SEO\n","import React, { useEffect, useState } from 'react'\nimport Layout from '../components/layout'\nimport { graphql, Link } from \"gatsby\"\nimport SEO from '../components/seo'\nimport Function from \"../lib/functions\";\nimport ShareNews from '../components/MediaCenter/shareNews'\nimport NewsList from '../components/MediaCenter/NewsList'\nconst PerspectiveTemplate = (props) => {\n\n useEffect(() => onPreRouteUpdate(),[]);\n const onPreRouteUpdate = () => {\n Function.LoadingAllSliderScript()\n\n\n }\n\n const siteMetadata = props.data.site.siteMetadata\n const currentPage = props.data.wpNews\n const pageSeo = props.data.wpNews.seo;\n let relatedNews\n if (process.env.GATSBY_PREVIEW_MODE === \"true\") {\n relatedNews = props.data.allWpNews.edges; \n } else {\n relatedNews = props?.data?.allWpNews?.edges.filter(news => news.node.publishStatus.status !== 'private')\n }\n // const relatedNews = props.data.allWpNews\n const urlLang = props.pageContext.lang == \"en_US\" ? \"en\" : \"ar\"\n return (\n \n {/* {pageSeo ?\n \n\n : null} */}\n
\n \n\n
\n \"img\" \n \n {/* {currentPage.featuredImage && currentPage.featuredImage.node?{currentPage.featuredImage.node.altText}:null} */}\n \n \n
\n \n
\n
\n
\n
\n {/*

{currentPage.date} {currentPage.title}

*/}\n {currentPage.date} \n

\n \n
\n \n
\n
\n
\n\n {/*
\n
\n
\n \n
\n
*/}\n {/*
*/}\n\n
\n
\n
\n \n\t
\n\t\n\t\t\n
\n
\n {currentPage.news_field.footNotes ?\n
\n

\n \n Footnotes »\n \n

\n
\n
:null}\n \n
\n
\n
\n\n
\n
\n

Related Press Releases

\n
\n
\n\n
\n
\n\n {relatedNews ?\n
\n
\n
\n {/*
\n
*/}\n
\n

Press Releases

\n
\n {relatedNews?.map((data, key) => (\n //
\n //
\n // \n // {data.node.news_field.listingImage?\n // {data.node.news_field.listingImage.altText}\n // :null}\n // \n //
\n //
\n //

\n // {data.node.news_field.shortTitle}\n //

\n //
{data.node.date}
\n //
\n //
\n\n \n\n \n ))}\n\n\n\n
\n\n\n
\n
\n \n
\n \n
\n
\n\n\n
\n\n
\n
\n\n
\n : null}\n\n\n
\n \n
\n
\n \n )\n}\n\n\nexport default PerspectiveTemplate;\n\nexport const pageQuery = graphql`\n query currentPageQueryPers($id: String!, $lang: ID!) {\n wpNews(id: { eq: $id }) {\n seo {\n canonical\n metaDesc\n opengraphUrl\n opengraphType\n opengraphTitle\n opengraphSiteName\n opengraphDescription\n opengraphImage {\n sourceUrl\n }\n twitterTitle\n twitterDescription\n title\n schema {\n articleType\n pageType\n }\n twitterImage {\n sourceUrl\n }\n }\n date(formatString: \"MMMM D, Y\")\n title\n id\n content\n localizedWpmlUrl\n locale {\n id\n locale\n }\n\n status\n slug\n news_field {\n \n location\n summary\n footNotes\n }\n featuredImage {\n node {\n link\n sourceUrl\n }\n }\n translated {\n id\n localizedWpmlUrl\n locale {\n id\n locale\n }\n slug\n title\n }\n }\n allWpNews(filter: {id: {ne: $id}, locale: {id: {eq: $lang}}}, limit: 6,sort: {fields: date, order: DESC}) {\n edges {\n node {\n date(formatString: \"MMMM D, Y\")\n slug\n title\n publishStatus {\n status\n }\n categories {\n nodes {\n name\n }\n }\n news_field {\n shortTitle\n summary\n location\n footNotes\n listingImage {\n sourceUrl\n altText\n }\n }\n featuredImage {\n node {\n altText\n sourceUrl\n }\n }\n }\n }\n }\n site {\n id\n siteMetadata {\n title\n }\n }\n }\n`"],"names":["NewsList","_ref","key","url","imageUrl","imageAlt","shortTitle","shortSummary","type","date","location","console","log","React","className","Link","to","src","alt","class","ShareNews","title","href","onClick","shareUrl","mainURL","window","open","encodeURIComponent","shareLinkedin","shareTwitter","shareFB","shareEmail","value","tempInput","document","createElement","body","appendChild","select","execCommand","removeChild","getElementById","classList","add","setTimeout","remove","id","pageSeo","articleType","GatsbySeo","description","metaDesc","openGraph","opengraphTitle","images","opengraphImage","sourceUrl","article","section","site_name","opengraphSiteName","props","_relatedNews","useEffect","onPreRouteUpdate","Function","LoadingAllSliderScript","currentPage","data","site","siteMetadata","wpNews","seo","relatedNews","_props$data","_props$data$allWpNews","process","GATSBY_PREVIEW_MODE","allWpNews","edges","filter","news","node","publishStatus","status","urlLang","pageContext","lang","Layout","translations","translated","locale","SEO","style","backgroundImage","featuredImage","dangerouslySetInnerHTML","__html","content","news_field","footNotes","role","map","_data$node","slug","listingImage","altText","summary","categories","nodes","name"],"sourceRoot":""}