{"id":2318,"date":"2023-01-24T17:57:43","date_gmt":"2023-01-24T16:57:43","guid":{"rendered":"https:\/\/www.x-project-ag.com\/team\/"},"modified":"2023-07-10T14:49:05","modified_gmt":"2023-07-10T12:49:05","slug":"team","status":"publish","type":"page","link":"https:\/\/www.x-project-ag.com\/en\/team\/","title":{"rendered":"Team"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2318\" class=\"elementor elementor-2318 elementor-462\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<header class=\"elementor-section elementor-top-section elementor-element elementor-element-c58c6d7 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"c58c6d7\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c5acc98\" data-id=\"c5acc98\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e5e06e7 elementor-widget elementor-widget-template\" data-id=\"e5e06e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"section\" data-elementor-id=\"3058\" class=\"elementor elementor-3058 elementor-521\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5cd3cedd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5cd3cedd\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-108a4e70\" data-id=\"108a4e70\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;background_motion_fx_motion_fx_scrolling&quot;:&quot;yes&quot;,&quot;background_motion_fx_blur_effect&quot;:&quot;yes&quot;,&quot;background_motion_fx_blur_direction&quot;:&quot;in-out&quot;,&quot;background_motion_fx_blur_level&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:10,&quot;sizes&quot;:[]},&quot;background_motion_fx_blur_range&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:{&quot;start&quot;:60,&quot;end&quot;:80}},&quot;background_motion_fx_devices&quot;:[&quot;desktop&quot;,&quot;tablet&quot;,&quot;mobile&quot;]}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-61d0d057 elementor-widget elementor-widget-spacer\" data-id=\"61d0d057\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/header>\n\t\t\t\t<main class=\"elementor-section elementor-top-section elementor-element elementor-element-486f634e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"486f634e\" data-element_type=\"section\" data-e-type=\"section\" id=\"teamMembers\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-72a8eb43\" data-id=\"72a8eb43\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cee45c1 shadow-text heading elementor-widget elementor-widget-heading\" data-id=\"cee45c1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Team<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-964567f elementor-widget elementor-widget-heading\" data-id=\"964567f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Our team consists of many highly specialized professionals, permanent employees and freelancers.<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c62fe2c elementor-widget elementor-widget-html\" data-id=\"c62fe2c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<script>jQuery(document).ready(function($) {\n    \n  const getPostData = async postID => {\n    const postResponse = await fetch(\"https:\/\/www.x-project-ag.com\/wp-json\/wp\/v2\/personal\/\" + postID);\n    return await postResponse.json();\n  };\n  \n  const getFeaturedImage = async featuredImageID => {\n    const imageResponse = await fetch(\n      \"https:\/\/www.x-project-ag.com\/wp-json\/wp\/v2\/media\/\" + featuredImageID\n    );\n    return await imageResponse.json();\n  };\n  \n  var language = document.documentElement.getAttribute('lang');\n  console.log(language)\n  var popupID = 1483\n    if (language == 'en-US'){\n        var popupID = 2386\n    }\n\n\n  $(document).on(\"click\", \"article.type-personal\", function() {\n    const postID = $(this).attr(\"id\").substring(5);\n\n    getPostData(postID)\n      .then(async data => {\n        elementorProFrontend.modules.popup.showPopup({ id: popupID });\n\n        const photoElement = document.querySelector(\"#member-photo > div > img\");\n        const nameElement = document.querySelector(\"#member-name > div > span\");\n        const titleElement = document.querySelector(\"#member-title > div > span\");\n        const bioElement = document.querySelector(\"#member-bio > div\");\n        const linkedinElement = document.querySelector(\"#member-linkedin .elementor-icon\");\n\n        const featuredImageID = data.featured_media;\n        let featuredImage = null;\n\n        if (featuredImageID) {\n          featuredImage = await getFeaturedImage(featuredImageID);\n          \n          const img = document.createElement(\"IMG\");\n          img.src = featuredImage.source_url;\n\n          document.querySelector(\"#member-photo > div\").replaceChild(img, photoElement);\n        }\n\n        nameElement.innerHTML = data.title.rendered;\n        titleElement.innerHTML = data.job_titel;\n        bioElement.innerHTML = data.content.rendered;\n        linkedinElement.href = data.linkedin_url;\n      })\n      .catch(error => console.error(error));\n  });\n});\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/main>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Our team consists of many highly specialized professionals, permanent employees and freelancers.<\/p>\n","protected":false},"author":3,"featured_media":2267,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-2318","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/pages\/2318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/comments?post=2318"}],"version-history":[{"count":0,"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/pages\/2318\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/media\/2267"}],"wp:attachment":[{"href":"https:\/\/www.x-project-ag.com\/en\/wp-json\/wp\/v2\/media?parent=2318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}