!function(t){woodmartThemeModule.$document.on("wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdUpdateWishlist wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.countDownTimer()}),t.each(["frontend/element_ready/wd_products.default","frontend/element_ready/wd_products_tabs.default","frontend/element_ready/wd_countdown_timer.default","frontend/element_ready/wd_single_product_countdown.default","frontend/element_ready/wd_banner.default","frontend/element_ready/wd_banner_carousel.default"],function(e,n){woodmartThemeModule.wdElementorAddAction(n,function(){woodmartThemeModule.countDownTimer()})}),woodmartThemeModule.countDownTimer=function(){t(".wd-timer").each(function(){var n=t(this),e=(dayjs.extend(window.dayjs_plugin_utc),dayjs.extend(window.dayjs_plugin_timezone),dayjs.tz(n.data("end-date"),n.data("timezone")));n.countdown(e.toDate(),function(e){"yes"===n.data("hide-on-finish")&&"finish"===e.type&&n.parent().addClass("wd-hide"),n.html(e.strftime('<span class="countdown-days"><span class="wd-timer-value">%-D </span><span class="wd-timer-text">'+woodmart_settings.countdown_days+'</span></span> <span class="countdown-hours"><span class="wd-timer-value">%H </span><span class="wd-timer-text">'+woodmart_settings.countdown_hours+'</span></span> <span class="countdown-min"><span class="wd-timer-value">%M </span><span class="wd-timer-text">'+woodmart_settings.countdown_mins+'</span></span> <span class="countdown-sec"><span class="wd-timer-value">%S </span><span class="wd-timer-text">'+woodmart_settings.countdown_sec+"</span></span>"))})})},t(document).ready(function(){woodmartThemeModule.countDownTimer()})}(jQuery);