<?php

/**
 *  Carousel view
 *
 * @package    eventful-for-elementor
 * @subpackage eventful-for-elementor/src/Frontend/templates
 */

use ThemeAtelier\EventfulForElementor\Frontend\Helpers\EventfulForElementorFunctions;
use ThemeAtelier\EventfulForElementor\Frontend\Helpers\EventfulForElementorLoopHtml;

if (!defined('ABSPATH')) {
	exit;
}

?>
<div id="efpe_wrapper-<?php echo esc_attr($efpe_gl_id); ?>" class="<?php self::efpe_wrapper_classes($layout_preset, $efpe_gl_id, $grid_style, $item_same_height_class); ?>" <?php self::wrapper_data($pagination_type, $pagination_type_mobile, $efpe_gl_id, $options, $layout_preset); ?> data-lang="<?php echo esc_attr($spsp_lang); ?>">
	<?php EventfulForElementorLoopHtml::efpe_preloader($show_preloader); ?>
	<?php require EventfulForElementorFunctions::eventful_for_elementor_locate_template('filter-bar.php'); ?>
	<div class="eventful">
		<div class="ta-row ta-margin elementor-grid ppfe-grid-container">
			<?php self::eventful_for_elementor_get_posts($options, $layout_preset, $event_content_sorter, $efpe_query, $efpe_gl_id, $efpe_settings); ?>
		</div>
	</div>
	<?php require EventfulForElementorFunctions::eventful_for_elementor_locate_template('pagination.php'); ?>
</div>