{% import 'elementor/macros' as m %}
{% set classes = ['aae-a-slide', 'aae-a-loop-slide-item', 'e-con', 'e-atomic-element', base_styles.base] | merge(settings.classes | default([])) | join(' ') %}
{% set tag = 'div' %}
{% if settings.link is defined and settings.link.href is defined and settings.link.href is not empty %}
    {% set tag = settings.link.tag | default('a') %}
{% endif %}
<{{ tag }} class="{{ classes }} {{ editor_classes | default('') }}"
    data-id="{{ id }}"
    data-element_type="{{ type }}"
    data-e-type="{{ type }}"
    data-interaction-id="{{ id }}"
    {{- ' ' }}{{ m.render_link_attributes(settings.link | default(null)) }}
    {% if settings._cssid is defined and settings._cssid is not empty %}
        id="{{ settings._cssid | e('html_attr') }}"
    {% endif %}
    {% if settings.attributes is defined and settings.attributes is not empty %}
        {{ settings.attributes | raw }}
    {% endif %}
    {{ editor_attributes | default('') | raw }}>
    {{ children_placeholder | raw }}
</{{ tag }}>
