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EAAAA,cAAA,UAAsC,iBAAjC+C,EAAOgB,kBAAkBC,KAA0B,gBAAiB,kBACzEhE,EAAAA,cAAA,OAAKoB,MAAM,OAENyC,aAAO,EAAPA,EAASzD,KAAI,CAACT,EAAMU,IAIjBL,EAAAA,cAAA,OAAKoB,MAAM,oBAAoBf,IAAKA,GAChCL,EAAAA,cAAA,OAAKoB,MAAM,0BACPpB,EAAAA,cAAA,OAAKoB,MAAM,uBACPpB,EAAAA,cAACa,EAAAA,GAAI,CAACC,GAAI,IAAIoC,2BAAiCvD,EAAK+D,KAAKnC,SACpD5B,EAAK+D,KAAKK,kBAAkBoB,eAAiBnF,EAAAA,cAAA,OAAKe,IAAKpB,EAAK+D,KAAKK,kBAAkBoB,eAAevE,UAC/FmB,IAAKpC,EAAK+D,KAAKK,kBAAkBoB,eAAeL,UAAc,OAG1E9E,EAAAA,cAAA,OAAKoB,MAAM,UACPpB,EAAAA,cAAA,UAAKL,EAAK+D,KAAKhE,OACfM,EAAAA,cAAA,SAAIL,EAAK+D,KAAKK,kBAAkBgB,SAAS,IAAC/E,EAAAA,cAAA,WAAOL,EAAK+D,KAAKK,kBAAkBiB,SAC7EhF,EAAAA,cAACa,EAAAA,GAAI,CAACC,GAAI,IAAIoC,2BAAiCvD,EAAK+D,KAAKnC,QAASH,MAAM,YAAW,oBAYlG,KAEZ6C,EACGjE,EAAAA,cAACR,EAAAA,EAAW,CACRE,MAAOuE,EAAaP,KAAK0B,oBAAoBC,WAAWC,kBACxD3F,KAAMsE,EAAaP,KAAK0B,oBAAoBC,WAAWE,iBACvD3F,SAAS,cAEX,MAED,C","sources":["webpack://gatsby-starter-wordpress-blog/./src/components/Home/GlobalIpact.js","webpack://gatsby-starter-wordpress-blog/./src/components/Home/HomeSlider.js","webpack://gatsby-starter-wordpress-blog/./src/components/seo.js","webpack://gatsby-starter-wordpress-blog/./src/templates/our-people-detail.js"],"sourcesContent":["import React from 'react';\n// import Link from 'gatsby-link'\nimport { Link } from 'gatsby'\nexport default function GlobalIpect({ title, data, pagename, fundpage, news,lang}){\n return(\n <>\n
\n
\n
\n
\n

{title}

\n {/*
\n
\n \n \n
\n
*/}\n
\n
\n
\n
\n {console.log(\"fundpage\", fundpage)}\n\n\n { data.map((data, key) => (\n pagename === \"home\" || data.linkUrl.url.indexOf(fundpage)==-1?\n
\n
\n
\n
\n {/* {data.image.altText} */}\n \n
\n \n
\n
\n
\n

{data.description}

\n
\n {data.linkName} \n
\n
:null\n \n ))\n }\n {fundpage ?\n //
\n
\n {/******************** element start ***************/}\n
\n
\n
\n
\n \n
\n
\n \n
\n
Our
Portfolio
\n
\n
\n \n
\n
LATEST NEWS
\n

{news.news_field.shortTitle}

\n Read more \n
\n
\n
\n
\n
\n {/******************** element ends ***************/}\n
\n //
\n : null\n }\n \n\n \n
\n \n \n
\n\n \n\n\n {/******************** funds page logic elements ***************/}\n {/*
\n
\n
\n
\n
\n \n
\n \n
\n
Our \u0003
Portfolio
\n
\n
\n \n
\n
LATEST NEWS
\n

Lorem ipsum dolor sit amet, consectetue

\n Read more \n
\n
\n
\n
\n
\n
\n
*/}\n{/******************** funds page logic elements ***************/}\n\n
\n
\n\n{ pagename === \"home\" ?
\n
\n
\n
\n
\n
: pagename === \"ourpeople\" ?
\n
\n
\n
\n
\n
:
\n
\n
\n
\n
\n
}\n\n\n )\n}\n","import React from 'react'\n\nexport default function HomeSlider({slider}) {\n return (\n
\n{/* {console.log(\"home slider\",slider)} */}\n\n \n
\n
\n
\n\n {\n slider.map((sliderIitem , key) => ( \n
\n \n
\n
\n {sliderIitem.heading ?

{sliderIitem.heading}

:

} \n
\n
\n
\n {sliderIitem.subHeading ?
{sliderIitem.subHeading}
:
}\n
\n
\n\n //
\n // \n // \n //
\n //
\n // {sliderIitem.heading ?

{sliderIitem.heading}

:

} \n //
\n //
\n //
\n // {sliderIitem.subHeading ?
{sliderIitem.subHeading}
:
}\n //
\n //
\n\n\n ))\n } \n\n\n
\n
\n \n \n {/* */}\n
\n\n
\n \"Scroll \n
\n
\n
\n \n
\n
\n
\n
\n \n
\n \"Left\n\n
\n
1/0
\n
\n \"Right\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 \n
\n \n \n
*/}\n \n \n \n
\n
\n \n
\n
\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 HomeSlider from '../components/Home/HomeSlider'\nimport SEO from '../components/seo'\nimport Function from \"../lib/functions\";\nimport GlobalIpect from '../components/Home/GlobalIpact'\n\nconst OurPeopleDetailTemplate = (props) => {\n\n const siteMetadata = props.data.site.siteMetadata\n const people = props.data.wpOurpeople\n const pageSeo = props.data.wpOurpeople.seo\n const urlLang = props.pageContext.lang == \"en_US\" ? \"en\" : \"ar\"\n // let allPeople = props.data.allWpOurpeople.edges\n let allPeople\n if (process.env.GATSBY_PREVIEW_MODE === \"true\") {\n allPeople = props.data.allWpOurpeople.edges; \n } else {\n allPeople = props.data.allWpOurpeople.edges.filter(news => news.node.publishStatus.status !== 'private')\n }\n let members = allPeople.filter(item => item.node.our_people_fields.type === props.data.wpOurpeople.our_people_fields.type\n && item.node.id !== props.data.wpOurpeople.id)\n const globalImpact = props.data.allWpPage.edges ? props.data.allWpPage.edges[0] : null\n\n useEffect(() => onPreRouteUpdate());\n const onPreRouteUpdate = () => {\n Function.LoadingAllSliderScript()\n\n\n }\n\n\n\n\n return (\n \n {/* {pageSeo ?\n \n\n : null} */}\n
\n \n\n \n
\n\n
\n
\n\n
\n\n
\n
\n
\n
\n
\n {people.featuredImage && people.featuredImage.node?\n {people.featuredImage.node.altText}:null}\n
\n
\n
\n
\n
\n
\n

{people.title}

\n {people.our_people_fields.position} {people.our_people_fields.company}\n
\n
\n {/* {people.our_people_fields.bio?\n \n \"img\" Download full bio\n :null} */}\n
\n
\n
\n
\n
\n
\n\n
\n\n {members ?
\n
\n

{people.our_people_fields.type == \"Jameel Family\" ? \"Jameel Family\" :\"Executive Team\"}

\n
\n\n {members?.map((data, key) => (\n\n\n\n
\n
\n
\n \n {data.node.our_people_fields.thumbnailImage ? {data.node.our_people_fields.thumbnailImage.altText} : null}\n \n
\n
\n
{data.node.title}
\n

{data.node.our_people_fields.position}
{data.node.our_people_fields.company}

\n view bio\n
\n
\n
\n\n ))}\n\n\n\n\n
\n
\n
: null}\n\n {globalImpact ?\n \n : null}\n
\n \n\n \n )\n}\n\n\nexport default OurPeopleDetailTemplate;\n\nexport const pageQuery = graphql`\n query ourpeopleDetailQueryPers($id: String!,$lang: ID!) {\n wpOurpeople(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 featuredImage {\n node {\n altText\n sourceUrl\n }\n }\n translated {\n id\n localizedWpmlUrl\n locale {\n id\n locale\n }\n slug\n title\n }\n locale {\n id\n locale\n }\n content\n id\n slug\n title\n our_people_fields {\n company\n position\n sortOrder\n thumbnailImage {\n altText\n sourceUrl\n }\n type\n summary\n \n }\n }\n\n allWpOurpeople(sort: {fields: our_people_fields___sortOrder, order: ASC}, filter: {locale: {id: {eq: $lang}}}) {\n totalCount\n edges {\n node {\n id\n slug\n title\n status\n publishStatus {\n status\n }\n our_people_fields {\n company\n position\n sortOrder\n thumbnailImage {\n altText\n sourceUrl\n }\n type\n }\n }\n }\n }\n \n allWpPage(filter: {locale: {id: {eq: $lang}}, slug: {eq: \"home\"}}) {\n edges {\n node {\n id\n generic_page_fields {\n homeFields {\n globalImpactTitle\n globalImpactData{\n image{\n sourceUrl\n altText\n }\n title\n description\n linkName\n linkUrl {\n target\n title\n url\n }\n\n }\n }\n }\n }\n }\n }\n \n site {\n id\n siteMetadata {\n title\n }\n }\n }\n`"],"names":["GlobalIpect","_ref","title","data","pagename","fundpage","news","lang","React","className","console","log","map","key","linkUrl","url","indexOf","style","backgroundImage","image","sourceUrl","Link","to","src","dangerouslySetInnerHTML","__html","description","linkName","class","news_field","shortTitle","slug","HomeSlider","slider","id","sliderIitem","heading","subHeading","href","alt","pageSeo","articleType","GatsbySeo","metaDesc","openGraph","opengraphTitle","images","opengraphImage","article","section","site_name","opengraphSiteName","props","site","siteMetadata","people","wpOurpeople","seo","urlLang","pageContext","allPeople","process","GATSBY_PREVIEW_MODE","allWpOurpeople","edges","filter","node","publishStatus","status","members","item","our_people_fields","type","globalImpact","allWpPage","useEffect","onPreRouteUpdate","Function","LoadingAllSliderScript","Layout","translations","translated","locale","SEO","location","featuredImage","altText","position","company","summary","content","thumbnailImage","generic_page_fields","homeFields","globalImpactTitle","globalImpactData"],"sourceRoot":""}