<form action ="#" class="search__engine clearfix search-flight js-searchForm js-searchFormFlight">
{% if cookieLastSearch is defined and cookieLastSearch != null %}
<div style="display:none">
<p id="js-cookieLastSearch-origin">{{ cookieLastSearch['origin1'] }}</p>
<p id="js-cookieLastSearch-destination">{{ cookieLastSearch['destination1'] }}</p>
<p id="js-cookieLastSearch-originLabel">{{ cookieLastSearch['originLabel1'] }}</p>
<p id="js-cookieLastSearch-destinationLabel">{{ cookieLastSearch['destinationLabel1'] }}</p>
<p id="js-cookieLastSearch-date1">{{ cookieLastSearch['date1'] }}</p>
<p id="js-cookieLastSearch-date2">{% if cookieLastSearch['date2'] is defined %}{{ cookieLastSearch['date2'] }}{% endif %}</p>
<p id="js-cookieLastSearch-adults">{{ cookieLastSearch['adults'] }}</p>
<p id="js-cookieLastSearch-children">{{ cookieLastSearch['children'] }}</p>
<p id="js-cookieLastSearch-infants">{{ cookieLastSearch['infants'] }}</p>
</div>
{% endif %}
{# START .search-header #}
<div class="search__header clearfix mb-lg-0">
<h1 class="search__title-principal-flight hide-availengine tooltips">
{# <span class="tooltips-content hidden-all">Vuelos Baratos</span> #}
<i class="icon icon_bundle_flight search__title__icon hide-lap-and-up hide-palm"></i>
{% if articulo is not defined %}
{% if promoType is defined %}
{% if 'ofertas-' in promoType and 'destinos' not in promoType and 'fin' not in promoType%}
{% set promoArray = promoType|split('-') %}
<span class="">Busque sus tiquetes baratos </span><span class="hide-portable">
{% if promoArray|length == 2 %}
<span>{{promoArray[1]|capitalize}}</span>
{% elseif promoArray|length == 3 %}
<span>{{promoArray[1]|capitalize}} {{promoArray[2]|capitalize}}</span>
{% elseif promoArray|length == 4 %}
<span>{{promoArray[2]|capitalize}} {{promoArray[3]|capitalize}}</span>
{% endif %}
</span>
{% else %}
<!-- b class="">Busque sus vuelos</b -->{#% if app.session.has('operatorId') != 1 %}<b class="hide-portable"> baratos</b>{% endif %#}
{% if app.session.has('operatorId') != 1 %}<b class="search-title-flight mb-5 block leading-none whitespace-nowrap">Busque su vuelo</b>
<b class="search-title-flight mb-5 text-[22px] block leading-none whitespace-nowrap">Vuelos nacionales e internacionales</b>{% endif %}
{% endif %}
{% else %}
{#<b class="">Busque sus tiquetes</b>{% if app.session.has('operatorId') != 1 %}<b class="hide-portable"> baratos</b>{% endif %}#}
{% if app.session.has('operatorId') != 1 %}<b class="search-title-flight mb-5 block leading-none whitespace-nowrap">Busque su vuelo</b>
<b class="search-title-flight mb-5 text-[22px] block leading-none whitespace-nowrap">Vuelos nacionales e internacionales</b>{% endif %}
{% endif %}
{% endif %}
{% if articulo is defined and articulo.url is defined%}
<b class="">Vuelos Baratos</b><b class="hide-portable">
{% set info = articulo.url %}
{% set info = info|replace({'-': ' '}) %}
{% set contentInfo = json_decode(articulo.description, true) %}
{% if contentInfo['type']=="aerolineas"%}
con {{info|title}}
{% endif %}
{% if contentInfo['type']=="destinos" %}
a {{info|title}}
{% endif %}
</b>
{% endif %}
{% if articulo is defined and articulo.url is not defined and typeArticle is defined%}
<span class="">
{% set info = typeArticle %}
{% set info = info|replace({'-': ' '}) %}
{% if info=="colombia"%}
Tiquetes
{% else %}
Vuelos
{% endif %}
<span class="hide-portable">Baratos </span>
a {{info|replace({'oceania': 'oceanía', 'america': "américa",'africa': "áfrica"})|capitalize}}</span>
{% endif %}
</h1>
{% if validateExplore is defined and validateExplore == true %}
<div class="search__btn-group btn-group explore-btn hidden-all" role="group" aria-label="Select flight type">
<button type="button" id="explore-mobile" class="btn btn--inactive tooltips" data-date="1" data-type="explore-mobile" title="Explorar">
<span class="tooltips-content hidden-all show-availengine">Presupuesto</span>
<i class="icon icon_banknote hidden-palm show-availengine"></i>
<span class="hide-availengine">
</span>
<div style="display:none">
<input type="checkbox" name="applyBudget" id="applyBudget">
</div>
</button>
</div>
{% endif %}
</div>
<div class="search__light--box-opaque-palm">
<div class="clearfix mb-lg-0">
<div style="float:left;" class="search__btn-group btn-group" role="group" aria-label="Select flight type">
<button type="button" id="vuelta" class="btn tooltips " data-date="1" data-type="roundtrip" title="Ida y Vuelta">
<span class="tooltips-content hidden-all show-availengine">Ida y Vuelta</span>
<i class="material-symbols-rounded flight-type" style="float: left;margin-right: 0.3rem;font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;">radio_button_unchecked</i>
<span class="hide-availengine font-[Roboto]">
Ida y Vuelta
</span>
</button>
<button type="button" id="ida" class="btn btn--inactive tooltips " data-date="1" data-type="oneway" title="Solo Ida">
<span class="tooltips-content hidden-all show-availengine">Solo Ida</span>
<i class="material-symbols-rounded flight-type" style="float: left;margin-right: 0.3rem;font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;">radio_button_checked</i>
<span class="hide-availengine font-[Roboto]">
Solo Ida
</span>
</button>
<button type="button" id="multidest" class="btn btn--inactive tooltips " title="Multidestino">
<span class="tooltips-content hidden-all show-availengine">Multidestino</span>
<i class="material-symbols-rounded flight-type" style="float: left;margin-right: 0.3rem;font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;">radio_button_unchecked</i>
<span class="hide-availengine font-[Roboto]">
Multidestino
</span>
</button>
{% if validateExplore is defined and validateExplore == true %}
<button style="visibility:hidden;" type="button" id="explore" class="btn btn-explore btn--inactive tooltips hide-portable" data-date="1" data-type="explore" title="Explorar">
<span class="tooltips-content show-availengine">¿Quiere saber a donde viajar con su presupuesto?</span>
<i class="icon icon_banknote hidden-palm show-availengine"></i>
<span class="hide-availengine">
Buscar por presupuesto
</span>
<div style="display:none">
<input type="checkbox" name="applyBudget" id="applyBudget">
</div>
</button>
{% endif %}
</div>
</div>
{# <hr class="form-horizontal-line-palm" /> #}
{# END .search-header #}
{# START .search-body #}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine_body.html.twig') %}
{# END .search-body #}
{# START .search-show #}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine_show.html.twig') %}
{# END .search-show #}
{# START .search-footer #}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine_options.html.twig') %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_engine_footer.html.twig') %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_notificationModal.html.twig') %}
{% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/Search/Flight/flightSearch_cencosudLatamTrips.html.twig') %}
{# END .search-footer #}
{# SUBMIT #}
<div class="clearfix">
<span id="js-responsive-submit-palm"></span>
<div class="flex-row form-group js-responsive-submit search-flight__col-footer-search">
<input type="button" value="travel Buscar en Vuelos" style="font-size:1.2rem;letter-spacing: 0.2rem;" class="hide material-symbols-rounded search__footer__submit btn btn--submit btn--full {% block package_submit_btn_2 %}js-searchButton{% endblock %}">
<a class="btn btn--submit btn--full {% block package_submit_btn_3 %}js-searchButton{% endblock %}">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.55755 4.89425L5.03343 0.63501H6.84541C7.1997 0.635009 7.54744 0.730493 7.85207 0.911424C8.15671 1.09235 8.40697 1.35205 8.57656 1.66319L10.7027 4.89425H6.55755ZM13.8121 6.16132H3.28782L1.58757 4.4593C1.43133 4.29461 1.21976 4.1935 0.993513 4.17539C0.767265 4.15728 0.542309 4.22346 0.361884 4.3612C0.181458 4.49894 0.0582949 4.69853 0.0160672 4.9216C-0.0261604 5.14466 0.0155273 5.37547 0.133118 5.56966L2.2494 9.44835H6.94728L4.62332 15.365H6.63641C6.98398 15.3664 7.32561 15.2749 7.62602 15.1001C7.92643 14.9252 8.17471 14.6733 8.34521 14.3703L11.3599 9.44835H15.7837V8.13354C15.7837 7.61047 15.576 7.10883 15.2063 6.73897C14.8365 6.36911 14.335 6.16132 13.8121 6.16132Z" fill="white"/></svg>
Buscar en vuelos
</a>
</div>
</div>
</div>
{# <script src="https://q.bstatic.com/static/affiliate_base/js/search_extension.js" integrity="sha384-Z3mOVEeJEa5ZoPB9OX9Ig752Jp/fF2mlV8QvZfeb8sn1nqr8r9Db1iK2pBIgc63T" crossorigin="anonymous" async defer></script> #}
</form>