{# LIBRARIES #}
{{ attach_library('altcom_ajax/altcom_ajax') }}
{{ attach_library('ui_patterns/jc_summary.jc_summary_lib') }}

{% set pass_through = element.pass_through|default({}) %}
{% set classes = classes|default('h-100') %}

<!-- JC Block - Dropdown -->
<div id="jcssw" class="{{ classes }}">
  {% set loader %}
    <div class="service-loader jcd-loader">
      {% include "@molecules/tm-bs/spinner/spinner.twig" with {
        'size': 'sm', 'show_text': true, 'status': 'default'
      } only %}
    </div>
  {% endset %}
  {{ altcom_ajax_link(
    loader,
    "journey_check_summary_status",
    "self", {'pass_through': pass_through}, 0, 2)
  }}
</div>
<!-- / JC Block -->
