{"id":18358,"date":"2022-05-03T11:00:13","date_gmt":"2022-05-03T09:00:13","guid":{"rendered":"https:\/\/teamescape.com\/city-adventures\/"},"modified":"2024-04-16T14:41:49","modified_gmt":"2024-04-16T12:41:49","slug":"city-adventures","status":"publish","type":"page","link":"https:\/\/teamescape.com\/en\/city-adventures\/","title":{"rendered":"City Adventures"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"18358\" class=\"elementor elementor-18358 elementor-15924\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2aa0101 elementor-section-full_width elementor-section-stretched page-header elementor-section-height-min-height elementor-section-height-default elementor-section-items-middle\" data-id=\"2aa0101\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&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-33 elementor-top-column elementor-element elementor-element-1bcc69a\" data-id=\"1bcc69a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-19deee5\" data-id=\"19deee5\" 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-a644c94 elementor-widget elementor-widget-text-editor\" data-id=\"a644c94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Discover our<\/p>\n<h1>City Adventures<\/h1>\n\t\t\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<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-ce0d5fc\" data-id=\"ce0d5fc\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\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-5b5009a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5b5009a\" 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-a99f836\" data-id=\"a99f836\" 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-5729354 elementor-widget elementor-widget-shortcode\" data-id=\"5729354\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/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<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-60624bd elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"60624bd\" 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-bbf6d60\" data-id=\"bbf6d60\" 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-62461d7 elementor-widget elementor-widget-text-editor\" data-id=\"62461d7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Experience exactly the outdoor action you&#8217;re looking for with our interactive scavenger hunts! Tricky questions and puzzles await you, which you have to solve across the city. Get to know your city like you&#8217;ve never seen it before. What are you waiting for?<\/p>\n\t\t\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<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f2aa0d6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f2aa0d6\" 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-fcec1c5\" data-id=\"fcec1c5\" 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-45b9949 elementor-widget elementor-widget-shortcode\" data-id=\"45b9949\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\t\t<style>\n\t\t#filter_input {\n\t\t\tdisplay: none !important;\n\t\t}\n\t\t<\/style>\n    <div id=\"filter_input\">\n        <form action=\"\" method=\"get\" autocomplete=\"off\">\n\t\t\t<div class=\"filter_wrap\">\n            <div class=\"column-wrap\">\n\t\t\t\t<select name=\"players\" id=\"players\">\n\t\t\t\t\t<option value=\"\">Members per team<\/option>\n\t\t\t\t\t<option value=\"?-6\">Up to 6 people<\/option><option value=\"?-30\">Up to 30 people<\/option><option value=\"?-100\">Up to 100 people<\/option><option value=\"1-?\">Single-Player<\/option>\t\t\t\t<\/select>\n\t\t\t\t<button id=\"reset0\" class=\"reset_button_single\" type='button' style=\"display: none;\">\u00d7<\/button>\n\t\t\t<\/div>\n\t\t\t<div class=\"column-wrap\">\n\t\t\t\t<select name=\"age\" id=\"age\">\n\t\t\t\t\t<option value=\"\">Suitable for<\/option>\n\t\t\t\t\t<option value=\"6-99\">Families (children under 12 years)<\/option>\t\t\t\t<\/select>\n\t\t\t\t<button id=\"reset1\" class=\"reset_button_single\" type='button' style=\"display: none;\">\u00d7<\/button>\n\t\t\t<\/div>\n\t\t\t<div class=\"column-wrap\">\n\t\t\t\t<select name=\"genre\" id=\"genre\">\n\t\t\t\t\t<option value=\"\">Genre<\/option>\n\t\t\t\t\t<option value=\"Adventure\">Adventure<\/option><option value=\"Kids\">Kids<\/option>\t\t\t\t<\/select>\n\t\t\t\t<button id=\"reset2\" class=\"reset_button_single\" type='button' style=\"display: none;\">\u00d7<\/button>\n\t\t\t<\/div>\n\t\t\t<div class=\"column-wrap\">\n\t\t\t\t<select name=\"playtime\" id=\"playtime\" >\n\t\t\t\t\t<option value=\"\">Duration<\/option>\n\t\t\t\t\t<option value=\"?-120\">more than 120 minutes<\/option>\n\t\t\t\t\t<option value=\"120-?\">less then 120 minutes<\/option>\n\t\t\t\t<\/select>\n\t\t\t\t<button id=\"reset3\" class=\"reset_button_single\" type='button' style=\"display: none;\">\u00d7<\/button>\n\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<div id=\"features\">\n\t\t\t\t<div><input class=\"feature\" type=\"checkbox\" id=\"Battle mode\" name=\"Battle mode\" value=\"Battle mode\" \/><label for=\"Battle mode\">Battle mode<\/label><\/div><div><input class=\"feature\" type=\"checkbox\" id=\"English\" name=\"English\" value=\"English\" \/><label for=\"English\">English<\/label><\/div>\t\t\t<\/div>\n\t\t\t<div class=\"reset_button\">\n\t\t\t\t<button id=\"reset\" type='button' style=\"display: none;\">Reset filter<\/button>\n\t\t\t<\/div>\n        <\/form>\n\t<\/div>\n    <div id=\"overview\"><\/div>\n    <script>\n\t\tdocument.addEventListener(\"DOMContentLoaded\", function(event){\n\t\t\t$ = jQuery;\n\t\t\tvar fi_in = document.getElementById(\"filter_input\");\n\n\t\t\tvar selections = fi_in.getElementsByTagName(\"select\");\n\t\t\t\/\/ \/\/ Auswahl zur\u00fccksetzen, Filtern bei Ver\u00e4nderung durch Nutzer\n\t\t\tfor (i = 0; i < selections.length; i++) {\n\t\t\t\tselections[i].addEventListener(\"change\", game_filter.bind(this, i));\n\t\t\t\tdocument.getElementById('reset'+i+\"\").addEventListener(\"click\", game_filter_reset.bind(this,i, i+1));\n\t\t\t}\n\t\t\tvar checkboxes = fi_in.getElementsByTagName(\"input\");\n\t\t\tfor (i = 0; i < checkboxes.length; i++) {\n\t\t\t\tcheckboxes[i].addEventListener(\"change\", game_filter.bind(this, i));\n\t\t\t}\n\t\t\t\/\/Reset-Knopf\n\t\t\tdocument.getElementById('reset').addEventListener(\"click\", function(event){game_filter_reset(\"all\")});\n\t\t\t\/\/Erst in Grundzustand zur\u00fccksetzen, wenn Document fertig geladen hat, da sonst ajax_url unbekannt ist\n\t\t\tdocument.addEventListener(\"DOMContentLoaded\", function(event){game_filter_reset(\"all\")});\n\n\t\t\tgame_filter_reset(\"all\");\n\t\t});\n\n\t\tfunction game_filter_reset(index_1, index_2){\n\t\t\tvar selections = document.getElementsByTagName(\"select\");\n\t\t\tif (index_1 == 'all') {\n\t\t\t\tindex_1 = 0;\n\t\t\t\tindex_2 = selections.length;\n\t\t\t\tdocument.getElementById(\"reset\").style.display = \"none\";\n\t\t\t} else {\n\t\t\t\tfor (var i = index_1; i < index_2; i++) {\n\t\t\t\t\tselections[i].selectedIndex = 0;\n\t\t\t\t\tdocument.getElementById(\"reset\"+i).style.display = \"none\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tvar all_reseted = true;\n\t\t\tfor (var i = 0; i < selections.length; i++) {\n\t\t\t\tif (selections[i].selectedIndex !== 0){\n\t\t\t\t\tall_reseted = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(all_reseted){\n\t\t\t\tdocument.getElementById(\"reset\").style.display = \"none\";\n\t\t\t}\n\t\t\tgame_filter();\n\t\t}\n\n\t\tfunction game_filter(){\n\t\t\t\/\/ Werte aus den Formularen beziehen\n\t\t\tvar fi_in = document.getElementById(\"filter_input\");\n\t\t\tvar fi_in_form = $('#filter_input form');\n\t\t\tvar players_form = fi_in_form.find(\"#players\");\n\t\t\tvar genre_form = fi_in_form.find(\"#genre\");\n\t\t\tvar age_form = fi_in_form.find(\"#age\");\n\t\t\tvar playtime_form = fi_in_form.find(\"#playtime\");\n\t\t\tvar features_boxes = fi_in_form.find(\"input.feature\");\n\n\t\t\tvar features = [];\n\n\t\t\tif(players_form.val().length !== 0) {\n\t\t\t\tvar players = players_form.val();\n\t\t\t}\n\t\t\tif(genre_form.val().length !== 0) {\n\t\t\t\tvar genre = genre_form.val();\n\t\t\t}\n\t\t\tif(age_form.val().length !== 0) {\n\t\t\t\tvar age = age_form.val();\n\t\t\t}\n\t\t\tif(playtime_form.val().length !== 0) {\n\t\t\t\tvar playtime = playtime_form.val();\n\t\t\t}\n\t\t\tfor(var i = 0; i < features_boxes.length; i++){\n\t\t\t\tif(features_boxes[i].checked){\n\t\t\t\tfeatures.push(features_boxes[i].value);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\/\/Ajax-Call\n\t\t\tvar data = {\n\t\t\t\taction : \"filter\",\n\t\t\t\tplayers : players,\n\t\t\t\tgenre : genre,\n\t\t\t\tage : age,\n\t\t\t\tplaytime : playtime,\n\t\t\t\tfeatures : features.join(','),\n\t\t\t\tpost_type: \"exitgame_stadtrallye\",location: \"\",language_code : \"\",\t\t\t};\n\t\t\t$.ajax({\n\t\t\t\turl : \"https:\/\/teamescape.com\/wp-admin\/admin-ajax.php\",\n\t\t\t\tdataType : \"text\",\n\t\t\t\tdata : data,\n\t\t\t\tsuccess: function(response) {\n\t\t\t\t\tfi_re = $(\"#overview\");\n\t\t\t\t\tfi_re.empty();\n\t\t\t\t\tif (response){\n\t\t\t\t\t\tresponse = JSON.parse(response);\n\t\t\t\t\t\tvar html = \"\";\n\t\t\t\t\t\tvar players_min_available = [\"\"];\n\t\t\t\t\t\tvar players_max_available = [\"\"];\n\t\t\t\t\t\tvar genres_available = [\"\"];\n\t\t\t\t\t\tvar playtime_available = [];\n\t\t\t\t\t\tvar features_available = [];\n\t\t\t\t\t\t\/\/ Ergebnisse darstellen\n\t\t\t\t\t\tvar age_min_total = 999;\n\t\t\t\t\t\tvar age_max_total = 0;\n\t\t\t\t\t\tvar playtime_min_total = 999;\n\t\t\t\t\t\tvar playtime_max_total = 0;\n\t\t\t\t\t\tfor(var i = 0 ;  i < response.length ; i++) {\n\t\t\t\t\t\t\tvar response_game = response[i];\n\t\t\t\t\t\t\tvar html = \"<div class=\\\"game-div\\\" id=\\\"game-\" + response_game.id + \"\\\">\";\n\t\t\t\t\t\t\tvar element_players_min = response_game.players_min;\n\t\t\t\t\t\t\tvar element_players_max = response_game.players_max;\n\t\t\t\t\t\t\tvar element_playtime = parseInt(response_game.playtime);\n\t\t\t\t\t\t\tif (element_playtime < playtime_min_total) {\n\t\t\t\t\t\t\t\tplaytime_min_total = element_playtime;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (element_playtime > playtime_max_total) {\n\t\t\t\t\t\t\t\tplaytime_max_total = element_playtime;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tvar element_features = response_game.features;\n\t\t\t\t\t\t\tvar element_genres = response_game.genres;\n\t\t\t\t\t\t\tvar genres_filter = response_game.genres_filter;\n\t\t\t\t\t\t\tvar element_players_age_min = parseInt(response_game.players_age_min);\n\t\t\t\t\t\t\tvar element_players_age_max = parseInt(response_game.players_age_max);\n\t\t\t\t\t\t\tif (element_players_age_min < age_min_total) {\n\t\t\t\t\t\t\t\tage_min_total = element_players_age_min;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (element_players_age_max > age_max_total) {\n\t\t\t\t\t\t\t\tage_max_total = element_players_age_max;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tvar element_age = element_players_age_min + \"-\" + element_players_age_max;\n\t\t\t\t\t\t\tvar element_features = response_game.features;\n\t\t\t\t\t\t\tvar de_en = \"DE\";\n\t\t\t\t\t\t\tplayers_min_available.push(String(element_players_min));\n\t\t\t\t\t\t\tplayers_max_available.push(String(element_players_max));\n\t\t\t\t\t\t\tfor (var g = 0 ;  g < genres_filter.length ; g++) {\n\t\t\t\t\t\t\t\tgenres_available.push(genres_filter[g]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor (var b = 0 ;  b < element_features.length ; b++) {\n\t\t\t\t\t\t\t\tvar fea = element_features[b];\n\t\t\t\t\t\t\t\tif(fea == \"English\") {\n\t\t\t\t\t\t\t\t\tde_en = \"DE<br \/>EN\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfeatures_available.push(fea);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tvar personen_typ = \"Players\";\n\t\t\t\t\t\t\t\/*if (element_players_age_min == 14) {\n\t\t\t\t\t\t\t\tpersonen_typ = \"Personen\";\/\/ <span class=\\\"game_age_remark\\\"> (ab 14)<\/span>\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if (element_players_age_min == 18) {\n\t\t\t\t\t\t\t\tpersonen_typ = \"Erwachsene\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if (element_players_age_max == 12) {\n\t\t\t\t\t\t\t\tpersonen_typ = \"Kinder\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpersonen_typ = \"Spieler\";*\/\n\t\t\t\t\t\t\tvar players_display = element_players_min + \"-\" + element_players_max + \"<br \/>\" + personen_typ;\n\t\t\t\t\t\t\tif (element_players_max == 999) {\n\t\t\t\t\t\t\t\tplayers_display = \"min. \" + element_players_min + \"<br \/>\" + personen_typ;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\thtml += \"<div class=\\\"game_info\\\">\";\n\t\t\t\t\t\t\thtml += \"  <div class=\\\"game_title_wrapper\\\">\";\n\t\t\t\t\t\t\thtml += \"    <h3 class=\\\"game_title\\\">\" + response_game.title + \"<\/h3>\";\n\t\t\t\t\t\t\thtml +=\t\"  <\/div>\";\n\t\t\t\t\t\t\thtml += \"<a href=\\\"\" + response_game.permalink + \"\\\">\";\n\t\t\t\t\t\t\thtml += \"    <div class=\\\"game_thumbnail rasierklinge-s\\\" style=\\\"background-image: url('\" + response_game.thumbnail + \"');\\\"><div><\/div><\/div>\";\n\t\t\t\t\t\t\thtml += \"<\/a>\";\n\t\t\t\t\t\t\thtml += \"  <div class=\\\"game_teaser\\\">\" + response_game.teaser + \" <a href=\\\"\" + response_game.permalink + \"\\\">Read more<\/a><\/div>\";\n\t\t\t\t\t\t\thtml += \"  <div class=\\\"game_meta\\\">\";\n\n\t\t\t\t\t\t\thtml +=\t\t\"<div class=\\\"game_playtime\\\"><img src=\\\"https:\/\/teamescape.com\/wp-content\/themes\/teamescape\/img\/icon-duration.svg\\\" \/>\" + element_playtime + \"<br \/>min<\/div>\";\n\t\t\t\t\t\t\thtml +=\t\t\"<div class=\\\"game_genres\\\"><img src=\\\"https:\/\/teamescape.com\/wp-content\/themes\/teamescape\/img\/team_pikt_rakete.svg\\\" \/>\" + element_genres.join(\"<br \/>\") + \"<\/div>\";\n\t\t\t\t\t\t\thtml += \"<div class=\\\"game_players\\\"><img src=\\\"https:\/\/teamescape.com\/wp-content\/themes\/teamescape\/img\/icon-players.svg\\\" \/>\" + players_display + \"<\/div>\";\n\t\t\t\t\t\t\thtml +=\t\t\"<div class=\\\"game_de_en\\\"><img src=\\\"https:\/\/teamescape.com\/wp-content\/themes\/teamescape\/img\/icon-language.svg\\\" \/>\"+de_en+\"<\/div>\";\n\t\t\t\t\t\t\thtml +=\t\"<\/div>\";\n\t\t\t\t\t\t\thtml += \"<\/div>\";\n\t\t\t\t\t\t\thtml += \"<\/div>\";\n\t\t\t\t\t\t\tfi_re.append(html);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\/\/ Spiel-Eigenschaften\/Optionen ausblenden, die nach dem Filtern keine der Ergebnisse mehr haben kann\n\t\t\t\t\t\t\/\/ players_max_available\n\t\t\t\t\t\tvar genre_val = genre_form.val();\n\t\t\t\t\t\tvar options = genre_form.find(\"option\");\n\t\t\t\t\t\tfor(var i = 0; i < options.length; i++){\n\t\t\t\t\t\t\tvar val_option = options[i].value;\n\t\t\t\t\t\t\tif(genre_val.length == 0){\n\t\t\t\t\t\t\t\tif(genres_available.includes(val_option)) {\n\t\t\t\t\t\t\t\t\toptions[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\toptions[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (genre_val !== val_option){\n\t\t\t\t\t\t\t\t\toptions[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset2\").style.display = \"inline\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset\").style.display = \"block\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\toptions[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar players_val = players_form.val();\n\t\t\t\t\t\tvar options = players_form.find(\"option\");\n\t\t\t\t\t\tfor(var i = 0; i < options.length; i++){\n\t\t\t\t\t\t\tvar val_option = options[i].value;\n\t\t\t\t\t\t\tvar val_option_parts = val_option.split('-');\n\t\t\t\t\t\t\tif (val_option_parts.length !== 2) {\n\t\t\t\t\t\t\t\tval_option_parts = ['', ''];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(val_option_parts[0] !== '?') {\n\t\t\t\t\t\t\t\tif(players_val.length == 0){\n\t\t\t\t\t\t\t\t\tif (players_min_available.includes(val_option_parts[0])){\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (players_val !== val_option){\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset0\").style.display = \"inline\";\n\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset\").style.display = \"block\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(val_option_parts[1] !== '?') {\n\t\t\t\t\t\t\t\tif(players_val.length == 0){\n\t\t\t\t\t\t\t\t\tif (players_max_available.includes(val_option_parts[1])){\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tif (players_val !== val_option){\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset0\").style.display = \"inline\";\n\t\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset\").style.display = \"block\";\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\toptions[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar val_age = age_form.val();\n\t\t\t\t\t\tvar age_form_options = age_form.find(\"option\");\n\t\t\t\t\t\tfor(var i = 0; i < age_form_options.length; i++) {\n\t\t\t\t\t\t\tvar age_option_val = age_form_options[i].value;\n\t\t\t\t\t\t\tvar age_option = age_option_val.split(\"-\");\n\t\t\t\t\t\t\tvar display_val = true;\n\t\t\t\t\t\t\tif (age_option[0] !== \"?\") {\n\t\t\t\t\t\t\t\tage_option[0] = parseInt(age_option[0]);\n\t\t\t\t\t\t\t\tif(age_option[0] < age_min_total){\n\t\t\t\t\t\t\t\t\tdisplay_val = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (age_option[1] !== \"?\") {\n\t\t\t\t\t\t\t\tage_option[1] = parseInt(age_option[1]);\n\t\t\t\t\t\t\t\tif(age_option[1] > age_max_total){\n\t\t\t\t\t\t\t\t\tdisplay_val = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (!display_val) {\n\t\t\t\t\t\t\t\tage_form_options[i].style.display = \"none\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (val_age.length !== 0 && val_age !== age_option_val) {\n\t\t\t\t\t\t\t\t\tage_form_options[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset1\").style.display = \"inline\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset\").style.display = \"block\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tage_form_options[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar val_playtime = playtime_form.val();\n\t\t\t\t\t\tvar playtime_form_options = playtime_form.find(\"option\");\n\t\t\t\t\t\tfor(var i = 0; i < playtime_form_options.length; i++) {\n\t\t\t\t\t\t\tvar playtime_option_val = playtime_form_options[i].value;\n\t\t\t\t\t\t\tvar playtime_option = playtime_option_val.split(\"-\");\n\t\t\t\t\t\t\tvar display_val = true;\n\t\t\t\t\t\t\tif (playtime_option[0] !== \"?\") {\n\t\t\t\t\t\t\t\tplaytime_option[0] = parseInt(playtime_option[0]);\n\t\t\t\t\t\t\t\tif(playtime_option[0] > playtime_max_total) {\n\t\t\t\t\t\t\t\t\tdisplay_val = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (playtime_option[1] !== \"?\") {\n\t\t\t\t\t\t\t\tplaytime_option[1] = parseInt(playtime_option[1]);\n\t\t\t\t\t\t\t\tif(playtime_option[1] <= playtime_min_total){\n\t\t\t\t\t\t\t\t\tdisplay_val = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (!display_val) {\n\t\t\t\t\t\t\t\tplaytime_form_options[i].style.display = \"none\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tif (val_playtime.length !== 0 && val_playtime !== playtime_option_val) {\n\t\t\t\t\t\t\t\t\tplaytime_form_options[i].style.display = \"none\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset3\").style.display = \"inline\";\n\t\t\t\t\t\t\t\t\tdocument.getElementById(\"reset\").style.display = \"block\";\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tplaytime_form_options[i].style.display = \"block\";\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor(var i = 0; i < features_boxes.length; i++){\n\t\t\t\t\t\t\tif (!features_available.includes(features_boxes[i].value)){\n\t\t\t\t\t\t\tfeatures_boxes[i].disabled = \"disabled\";\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tfeatures_boxes[i].disabled = \"\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t\/\/ Keine Ergebnisse\n\t\t\t\t\t\tvar html  = \"<li class='no-result'>Sorry, no results<\/li>\";\n\t\t\t\t\t\tfi_re.append(html);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t<\/script>\n\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<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Discover our City Adventures Experience exactly the outdoor action you&#8217;re looking for with our interactive scavenger hunts! Tricky questions and puzzles await you, which you have to solve across the city. Get to know your city like you&#8217;ve never seen it before. What are you waiting for?<\/p>\n","protected":false},"author":12,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-18358","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>City Adventures | TeamEscape<\/title>\n<meta name=\"description\" content=\"You are still looking for a perfect outdoor adventure? Take your friends or families on an interactive City Adventure through your city!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/teamescape.com\/en\/city-adventures\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"City Adventures | TeamEscape\" \/>\n<meta property=\"og:description\" content=\"You are still looking for a perfect outdoor adventure? Take your friends or families on an interactive City Adventure through your city!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/teamescape.com\/en\/city-adventures\/\" \/>\n<meta property=\"og:site_name\" content=\"TeamEscape\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-16T12:41:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/teamescape.com\/wp-content\/uploads\/2022\/02\/ESCAPE-ROOMS-team_friends_540_4.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1527\" \/>\n\t<meta property=\"og:image:height\" content=\"916\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/teamescape.com\\\/en\\\/city-adventures\\\/\",\"url\":\"https:\\\/\\\/teamescape.com\\\/en\\\/city-adventures\\\/\",\"name\":\"City Adventures | TeamEscape\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/teamescape.com\\\/#website\"},\"datePublished\":\"2022-05-03T09:00:13+00:00\",\"dateModified\":\"2024-04-16T12:41:49+00:00\",\"description\":\"You are still looking for a perfect outdoor adventure? Take your friends or families on an interactive City Adventure through your city!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/teamescape.com\\\/en\\\/city-adventures\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/teamescape.com\\\/en\\\/city-adventures\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/teamescape.com\\\/en\\\/city-adventures\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/teamescape.com\\\/en\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"City Adventures\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/teamescape.com\\\/#website\",\"url\":\"https:\\\/\\\/teamescape.com\\\/\",\"name\":\"TeamEscape\",\"description\":\"Original Escape Room. Escape Game Erlebnis Nr. 1 TeamEscape\u00ae\",\"publisher\":{\"@id\":\"https:\\\/\\\/teamescape.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/teamescape.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/teamescape.com\\\/#organization\",\"name\":\"TeamEscape\",\"url\":\"https:\\\/\\\/teamescape.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/teamescape.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/teamescape.com\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/te_logo.png\",\"contentUrl\":\"https:\\\/\\\/teamescape.com\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/te_logo.png\",\"width\":500,\"height\":249,\"caption\":\"TeamEscape\"},\"image\":{\"@id\":\"https:\\\/\\\/teamescape.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"City Adventures | TeamEscape","description":"You are still looking for a perfect outdoor adventure? Take your friends or families on an interactive City Adventure through your city!","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:\/\/teamescape.com\/en\/city-adventures\/","og_locale":"en_US","og_type":"article","og_title":"City Adventures | TeamEscape","og_description":"You are still looking for a perfect outdoor adventure? Take your friends or families on an interactive City Adventure through your city!","og_url":"https:\/\/teamescape.com\/en\/city-adventures\/","og_site_name":"TeamEscape","article_modified_time":"2024-04-16T12:41:49+00:00","og_image":[{"width":1527,"height":916,"url":"https:\/\/teamescape.com\/wp-content\/uploads\/2022\/02\/ESCAPE-ROOMS-team_friends_540_4.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/teamescape.com\/en\/city-adventures\/","url":"https:\/\/teamescape.com\/en\/city-adventures\/","name":"City Adventures | TeamEscape","isPartOf":{"@id":"https:\/\/teamescape.com\/#website"},"datePublished":"2022-05-03T09:00:13+00:00","dateModified":"2024-04-16T12:41:49+00:00","description":"You are still looking for a perfect outdoor adventure? Take your friends or families on an interactive City Adventure through your city!","breadcrumb":{"@id":"https:\/\/teamescape.com\/en\/city-adventures\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/teamescape.com\/en\/city-adventures\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/teamescape.com\/en\/city-adventures\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/teamescape.com\/en\/home\/"},{"@type":"ListItem","position":2,"name":"City Adventures"}]},{"@type":"WebSite","@id":"https:\/\/teamescape.com\/#website","url":"https:\/\/teamescape.com\/","name":"TeamEscape","description":"Original Escape Room. Escape Game Erlebnis Nr. 1 TeamEscape\u00ae","publisher":{"@id":"https:\/\/teamescape.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/teamescape.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/teamescape.com\/#organization","name":"TeamEscape","url":"https:\/\/teamescape.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/teamescape.com\/#\/schema\/logo\/image\/","url":"https:\/\/teamescape.com\/wp-content\/uploads\/2022\/05\/te_logo.png","contentUrl":"https:\/\/teamescape.com\/wp-content\/uploads\/2022\/05\/te_logo.png","width":500,"height":249,"caption":"TeamEscape"},"image":{"@id":"https:\/\/teamescape.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/teamescape.com\/en\/wp-json\/wp\/v2\/pages\/18358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teamescape.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/teamescape.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/teamescape.com\/en\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/teamescape.com\/en\/wp-json\/wp\/v2\/comments?post=18358"}],"version-history":[{"count":0,"href":"https:\/\/teamescape.com\/en\/wp-json\/wp\/v2\/pages\/18358\/revisions"}],"wp:attachment":[{"href":"https:\/\/teamescape.com\/en\/wp-json\/wp\/v2\/media?parent=18358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}