{% if stopArea is not empty %}<div class="is-Schedule-Header is-Result-Header"><button class="is-hide is-Schedule-BackButton is-Result-Header-BackButton" title="{{ 'schedule.back_to_results'|trans }}"><i class="is-Icon is-Icon-com-chevron-left-thick" aria-hidden="true"></i></button><div class="is-Schedule-H1 is-Widget-H2"tabindex="0" aria-label="{{ 'schedule.next_departure_for_stoppoint_new_format'|trans({ 'stopPoint': stopArea.name, 'city': stopArea.city }) }}">{{ stopArea.name }} - {{ stopArea.city }}</div></div>{% endif %}{% if departures is not empty or stopAreaLines is not empty or (stopArea is not empty and stopPoints is not empty and lines is not empty) %}{% if departures is not empty or (stopArea is not empty and stopPoints is not empty and lines is not empty) %}{% include "modules/search-widget/schedule/includes/filters.html.twig" %}{% if switch_map_mobile is defined and switch_map_mobile == false and (hasMap is defined and hasMap) %}<div class="is-panel is-panel-default is-Interactive-Map-Container" id="is-InteractiveMap-Button"><button class="is-Interactive-Map-ShowMapButton is-Interactive-Map-ShowMapButton--linkedFromBotside is-ShowMapButton">{{ 'schedule.roadmap_show_map'|trans }}</button></div>{% endif %}{% if disruptions is not empty and disruptions.currentDisruptions is not empty %}<span class="is-Schedule-Label"><strong>{{ stopArea.name }}</strong></span>{% include "modules/search-widget/traffic-infos/includes/specific-disruptions.html.twig" with { 'disruptions': disruptions.currentDisruptions } %}{% endif %}<h3 class="is-Widget-H3" data-is-stoparea-label="{{ stopArea is not empty ? stopArea.name ~ ' - ' ~ stopArea.city }}">{{ "schedule.next_departures"| trans }}</h3>{% if stopArea is not empty and departures is not empty %}<ul class="is-Switch" role="tablist"><li role="presentation" class="is-Switch-Item is-active"><a role="tab" data-toggle="is-tab" aria-controls="is-StopAreaSchedule_DepartureType" aria-selected="true" href="#is-StopAreaSchedule_DepartureType" class="is-Switch-Link">{{ 'schedule.tab_departure_type' | trans }}</a></li>{##}<li role="presentation" class="is-Switch-Item"><a role="tab" data-toggle="is-tab" aria-controls="is-StopAreaSchedule_LineType" aria-selected="false" href="#is-StopAreaSchedule_LineType" class="is-Switch-Link">{{ 'journey.traveller_profile.subscriptions_modal.others_modes.title' | trans }}</a></li></ul>{% endif %}{# Stoparea schedules by departures (TIMEBOARD) #}{% if departures is not empty %}<div id="is-StopAreaSchedule_DepartureType" class="is-Tab-Pane is-StopAreaSchedule_DepartureType is-active">{% include "modules/search-widget/schedule/stoparea/departure_type.html.twig" with { 'departures': departures} %}</div>{% endif %}{# Stoparea schedules by lines (LINE) #}{% if stopArea is not empty and stopPoints is not empty and lines is not empty %}<div id="is-StopAreaSchedule_LineType" class="is-Schedule-Lines is-Tab-Pane is-active">{% set vars = { 'stopArea': stopArea, 'stopPoints': stopPoints, 'lines': lines, 'departures': departures} %}{% include "modules/search-widget/schedule/stoparea/line_type.html.twig" with vars %}</div>{% else %}<p class="is-Alert is-Alert_Warning" role="alert">{{ 'schedule.no_stoppoint_for_this_mode' | trans }}</p>{% endif %}{% endif %}{% else %}<div class="is-Alert is-Alert_Warning" role="is-Alert">{{ "schedule.data_not_loaded"| trans }}</div>{% endif %}