{"id":7960,"date":"2022-10-06T11:10:56","date_gmt":"2022-10-06T11:10:56","guid":{"rendered":"https:\/\/www.arnold-robot.com\/?page_id=7960"},"modified":"2026-01-22T12:36:08","modified_gmt":"2026-01-22T12:36:08","slug":"seznam-temat","status":"publish","type":"page","link":"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/","title":{"rendered":"Seznam t\u00e9mat"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"7960\" class=\"elementor elementor-7960\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0c860df elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0c860df\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\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-06d01ec\" data-id=\"06d01ec\" 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-b1f5877 elementor-hidden-phone elementor-widget elementor-widget-spacer\" data-id=\"b1f5877\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\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<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a7241e2 elementor-widget elementor-widget-heading\" data-id=\"a7241e2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Seznam t\u00e9mat<\/h1>\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<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5bc5127 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5bc5127\" 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-6ffeadc\" data-id=\"6ffeadc\" 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-bac711a elementor-widget elementor-widget-html\" data-id=\"bac711a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"topics-root\"><\/div>\n\n<script>\nconst categoryOrder = [\n  'hiring',\n  'onboard',\n  {\n    categoryName: 'Rozvoj a spokojenost',\n    \/\/ categoryName: 'Satisfaction and Development',\n    items: [\n      'devel',\n      'culture',\n      'prod',\n      'motiv',\n      'succ',\n      'change',\n      'remote',\n      'reten',\n    ]\n  },\n  'attr',\n  'offboard',\n];\n\ninitTopics('cs', location.host.includes('arnold-robot.com'));\n\nfunction initTopics(lang, isProd) {\n  if (!isProd) {\n    const localData = `.\/js\/data_${lang}.json`;\n    fetch(localData)\n      .then(response => response.json())\n      .then(result => renderPage(result, 'topics-root'))\n      .catch(error => console.log('error', error));\n  } else {\n    getData(lang, data => renderPage(data, 'topics-root'));\n  }\n}\n\nfunction getData(lang, done) {\n  const myHeaders = new Headers();\n  myHeaders.append(\"Content-Type\", \"application\/json\");\n\n  const graphql = JSON.stringify({\n    query: `{\\r\\n  publicTopicGroups(language: \\\"${lang}\\\") {\\r\\n    id\\r\\n    name\\r\\n    description\\r\\n    categoryName\\r\\n    categoryCode\\r\\n    process\\r\\n    steps {\\r\\n      id\\r\\n      name\\r\\n      description\\r\\n      categoryName\\r\\n      process\\r\\n      categoryCode\\r\\n    }\\r\\n  }\\r\\n}`,\n    variables: {}\n  })\n  const requestOptions = {\n    method: 'POST',\n    headers: myHeaders,\n    body: graphql,\n    redirect: 'follow'\n  };\n\n  fetch(\"https:\/\/api.arnold-robot.com\/graphql\", requestOptions)\n    .then(response => response.json())\n    .then(result => done(result))\n    .catch(error => console.log('error', error));\n}\n\nfunction getCategoryName(topicsByCategory, categoryCode) {\n  if (topicsByCategory[categoryCode]) {\n    return topicsByCategory[categoryCode][0]['categoryName'];\n  }\n  return false;\n}\n\nfunction renderPage(data, containerId) {\n  const container = document.getElementById(containerId);\n  const topics = data?.data?.publicTopicGroups;\n  \n  const topicsByCategory = topics.reduce((accumulator, current) => {\n    if (!Array.isArray(accumulator[current.categoryCode])) {\n      accumulator[current.categoryCode] = [];\n    }\n    accumulator[current.categoryCode].push(current);\n    return accumulator;\n  }, {});\n\n  \/\/ console.log(topicsByCategory);\n\n  const html = `\n  <div class=\"topic-list\">\n    <div class=\"topic-list__aside\">\n      ${renderNav(topicsByCategory)}\n    <\/div>\n    <div class=\"topic-list__main\">\n      ${renderTopics(topicsByCategory)}\n    <\/div>\n  <\/div>\n  `;\n\n  container.innerHTML = html;\n  sectionObserver();\n}\n\nfunction renderNav(topicsByCategory) {\n  \/\/ const menuItems = Object.keys(topicsByCategory).map(categoryCode => {\n  \/\/   const topics = topicsByCategory[categoryCode];\n  \/\/   const topicsCount = topics[0].process ? topics[0].steps.length : topics.length;\n  \/\/\n  \/\/   \/\/ console.log(topics);\n  \/\/  \n  \/\/   return `<li><a href=\"#${topics[0].categoryCode}\">${topics[0].categoryName} (${topicsCount})<\/a><\/li>`;\n  \/\/ });\n  \n  const menuItems = categoryOrder.map(category => {\n    if (typeof category === 'string') {\n      const categoryName = getCategoryName(topicsByCategory, category);\n      if (!categoryName) return;\n      return `<li><a href=\"#${category}\">${categoryName}<\/a><\/li>`;\n    } else {\n      \/\/ submenu\n      const items = category['items'].map(item => `<li><a href=\"#${item}\">${getCategoryName(topicsByCategory, item)}<\/a><\/li>`).join('');\n      \n      return `\n      <li>\n        <span>${category['categoryName']}<\/span>\n        <ul>\n          ${items}\n        <\/ul>\n      <\/li>`;\n    }\n  }).join('');\n  \n  \/\/ Automat\n  \/*\n  return `\n  <nav class=\"topic-nav\">\n    <ul>${menuItems.join('')}<\/ul>\n  <\/nav>\n  `;\n   *\/\n\n  return `\n    <nav class=\"topic-nav\">\n      <ul>\n        ${menuItems}\n      <\/ul>\n    <\/nav>\n  `;\n}\n\nfunction renderTopics(topicsByCategory) {\n  const flatCategories = categoryOrder.map(category => {\n    if (category['items']) {\n      return category['items'];\n    } else {\n      return category;\n    }\n  }).flat();\n\n  const categories = flatCategories.map(categoryCode => {\n    if (!Array.isArray(topicsByCategory[categoryCode])) return;\n    const topics = topicsByCategory[categoryCode];\n\n    return renderTopicCategory(topics);\n  });\n  \n  return categories.join('');\n}\n\nfunction renderTopicCategory(topics) {\n  if (topics.length < 1) return;\n  \n  return `\n  <div class=\"topic-list__category\" id=\"${topics[0]['categoryCode']}\">\n    <h2 class=\"topic-list__category-heading\">${topics[0]['categoryName']}<\/h2>\n\n    <div class=\"topic-list__category-list\">\n      ${renderTopicCards(topics)}\n    <\/div>\n  <\/div>\n  `\n}\n\nfunction renderTopicCards(topics) {\n  return topics.map(topic => {\n    if (topic.process === true && Array.isArray(topic.steps)) {\n      const parentTopic = topic;\n      return topic.steps.map(topic => renderTopicCard(topic, parentTopic)).join('');\n    } else {\n      return renderTopicCard(topic);\n    }\n  }).join('');\n}\n\nfunction renderTopicCard(topic, parentTopic) {\n  if (parentTopic) {\n    topic.categoryName =  parentTopic.categoryName;\n    topic.categoryCode =  parentTopic.categoryCode;\n  }\n  return `\n  <div class=\"topic-card topic-card--${topic.categoryCode}\" data-id=\"${topic.id}\">\n    <div class=\"topic-card__header\">\n      <span class=\"topic-card__category\">${topic.categoryName}<\/span>\n    <\/div>\n    <div class=\"topic-card__body\">\n      <h3 class=\"topic-card__heading\">${topic.name}<\/h3>\n      <p class=\"topic-card__description\">${topic.description}<\/p>\n    <\/div>\n  <\/div>\n  `;\n}\n\nfunction sectionObserver() {\n  const triggers = [...document.querySelectorAll('.topic-nav a')];\n  const targets = [...document.querySelectorAll('.topic-list__category')];\n  const activeClass = 'active';\n  let targetRatios = {};\n  let clickPrevTrigger;\n  let clickTargetId;\n\n  const IntersectionObserverOptions = {\n    root: null,\n    rootMargin: '0px',\n    threshold: thresholdArray(10)\n  };\n\n  triggers.forEach(trigger => trigger.addEventListener('click', handleTriggerClick));\n  \n  function handleTriggerClick(e) {\n    const prevTrigger = triggers.find(trigger => trigger.classList.contains(activeClass));\n    const nextTrigger = e.target;\n    clickPrevTrigger = prevTrigger;\n    clickTargetId = nextTrigger.hash;\n    switchActive(prevTrigger, nextTrigger);\n  }\n\n  function callback(entries) {\n    entries.forEach(entry => {\n      targetRatios[entry.target.id] = entry.intersectionRatio;\n    });\n\n    const ratios = Object.values(targetRatios);\n    const targetId = '#' + getLastKeyByValue(targetRatios, Math.max(...ratios));\n    const prevTrigger = clickPrevTrigger || triggers.find(trigger => trigger.classList.contains(activeClass));\n    const nextTrigger = triggers.find(trigger => trigger.hash === targetId);\n\n    if (clickPrevTrigger && targetId !== clickTargetId) return;\n    if (prevTrigger === nextTrigger) return;\n\n    switchActive(prevTrigger, nextTrigger);\n\n    clickPrevTrigger = null;\n  }\n\n  const observer = new IntersectionObserver(callback, IntersectionObserverOptions);\n  targets.forEach(target => {\n    observer.observe(target);\n  });\n\n  function switchActive(prev, next) {\n    if (prev) {\n      prev.classList.remove(activeClass);\n    }\n    if (next) {\n      next.classList.add(activeClass);\n    }\n  }\n\n  function thresholdArray(steps) {\n    return Array(steps + 1)\n      .fill(0)\n      .map((_, index) => index \/ steps || 0);\n  }\n\n  function getLastKeyByValue(object, value) {\n    return Object.keys(object).findLast(key => object[key] === value);\n  }\n}\n\n<\/script>\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<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Seznam t\u00e9mat<\/p>\n","protected":false},"author":17,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-7960","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Seznam t\u00e9mat - Arnold Robot<\/title>\n<meta name=\"description\" content=\"Seznam t\u00e9mat\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Seznam t\u00e9mat - Arnold Robot\" \/>\n<meta property=\"og:description\" content=\"Seznam t\u00e9mat\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/\" \/>\n<meta property=\"og:site_name\" content=\"Arnold Robot\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Arnold-Robot-411681249444594\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-22T12:36:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.arnold-robot.com\/wp-content\/uploads\/2020\/10\/ShareTag-EN.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Odhadovan\u00e1 doba \u010dten\u00ed\" \/>\n\t<meta name=\"twitter:data1\" content=\"17 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/seznam-temat\\\/\",\"url\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/seznam-temat\\\/\",\"name\":\"Seznam t\u00e9mat - Arnold Robot\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/#website\"},\"datePublished\":\"2022-10-06T11:10:56+00:00\",\"dateModified\":\"2026-01-22T12:36:08+00:00\",\"description\":\"Seznam t\u00e9mat\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/seznam-temat\\\/#breadcrumb\"},\"inLanguage\":\"cs\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/seznam-temat\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/seznam-temat\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Seznam t\u00e9mat\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/#website\",\"url\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/\",\"name\":\"Arnold Robot\",\"description\":\"Employee surveys in a way you haven\u2019t seen before\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"cs\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/#organization\",\"name\":\"Arnold Robot\",\"url\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.arnold-robot.com\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/arnold_logo_A.png\",\"contentUrl\":\"https:\\\/\\\/www.arnold-robot.com\\\/wp-content\\\/uploads\\\/2019\\\/10\\\/arnold_logo_A.png\",\"width\":1808,\"height\":906,\"caption\":\"Arnold Robot\"},\"image\":{\"@id\":\"https:\\\/\\\/www.arnold-robot.com\\\/cs\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Arnold-Robot-411681249444594\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/arnold-robot\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Seznam t\u00e9mat - Arnold Robot","description":"Seznam t\u00e9mat","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/","og_locale":"cs_CZ","og_type":"article","og_title":"Seznam t\u00e9mat - Arnold Robot","og_description":"Seznam t\u00e9mat","og_url":"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/","og_site_name":"Arnold Robot","article_publisher":"https:\/\/www.facebook.com\/Arnold-Robot-411681249444594\/","article_modified_time":"2026-01-22T12:36:08+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.arnold-robot.com\/wp-content\/uploads\/2020\/10\/ShareTag-EN.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Odhadovan\u00e1 doba \u010dten\u00ed":"17 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/","url":"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/","name":"Seznam t\u00e9mat - Arnold Robot","isPartOf":{"@id":"https:\/\/www.arnold-robot.com\/cs\/#website"},"datePublished":"2022-10-06T11:10:56+00:00","dateModified":"2026-01-22T12:36:08+00:00","description":"Seznam t\u00e9mat","breadcrumb":{"@id":"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/#breadcrumb"},"inLanguage":"cs","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.arnold-robot.com\/cs\/seznam-temat\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.arnold-robot.com\/cs\/"},{"@type":"ListItem","position":2,"name":"Seznam t\u00e9mat"}]},{"@type":"WebSite","@id":"https:\/\/www.arnold-robot.com\/cs\/#website","url":"https:\/\/www.arnold-robot.com\/cs\/","name":"Arnold Robot","description":"Employee surveys in a way you haven\u2019t seen before","publisher":{"@id":"https:\/\/www.arnold-robot.com\/cs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.arnold-robot.com\/cs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"cs"},{"@type":"Organization","@id":"https:\/\/www.arnold-robot.com\/cs\/#organization","name":"Arnold Robot","url":"https:\/\/www.arnold-robot.com\/cs\/","logo":{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/www.arnold-robot.com\/cs\/#\/schema\/logo\/image\/","url":"https:\/\/www.arnold-robot.com\/wp-content\/uploads\/2019\/10\/arnold_logo_A.png","contentUrl":"https:\/\/www.arnold-robot.com\/wp-content\/uploads\/2019\/10\/arnold_logo_A.png","width":1808,"height":906,"caption":"Arnold Robot"},"image":{"@id":"https:\/\/www.arnold-robot.com\/cs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Arnold-Robot-411681249444594\/","https:\/\/www.linkedin.com\/company\/arnold-robot\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/pages\/7960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/comments?post=7960"}],"version-history":[{"count":49,"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/pages\/7960\/revisions"}],"predecessor-version":[{"id":10115,"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/pages\/7960\/revisions\/10115"}],"wp:attachment":[{"href":"https:\/\/www.arnold-robot.com\/cs\/wp-json\/wp\/v2\/media?parent=7960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}