<?php
/**
 * SiteOrigin template bridge for Event Countdown.
 *
 * @package Rsmspark_Content_Widgets
 */

defined( 'ABSPATH' ) || exit;

Rsmspark_Content_Widgets_Render::print_template(
	Rsmspark_Content_Widgets_Widget_Event_Countdown::REGISTRY_ID,
	'event-countdown.php',
	array(
		'title'             => $title ?? '',
		'end_date'          => $end_date ?? '',
		'end_time'          => $end_time ?? '00:00:00',
		'expired_message'   => $expired_message ?? '',
		'hide_when_expired' => $hide_when_expired ?? false,
		'target_ts'         => $target_ts ?? 0,
		'is_expired'        => $is_expired ?? false,
		'units'             => $units ?? array(),
		'static_message'    => $static_message ?? '',
		'style_vars'        => $style_vars ?? Rsmspark_Content_Widgets_Render::inline_style_vars(),
	)
);
