PATH:
home
/
thebhoeo
/
public_html
/
lazysleep
/
wp-content
/
themes
/
woodmart
/
js
/
scripts
/
elements
/* global woodmart_settings */ (function($) { woodmartThemeModule.$document.on('wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdUpdateWishlist wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdRecentlyViewedProductLoaded', function () { woodmartThemeModule.countDownTimer(); }); $.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(index, value) { woodmartThemeModule.wdElementorAddAction(value, function() { woodmartThemeModule.countDownTimer(); }); }); woodmartThemeModule.countDownTimer = function() { $('.wd-timer').each(function() { var $this = $(this); var timezone = $this.data('timezone') ? $this.data('timezone') : woodmart_settings.countdown_timezone; dayjs.extend(window.dayjs_plugin_utc); dayjs.extend(window.dayjs_plugin_timezone); var time = dayjs.tz($this.data('end-date'), timezone); $this.countdown(time.toDate(), function(event) { if ( 'yes' === $this.data('hide-on-finish') && 'finish' === event.type ) { $this.parent().addClass('wd-hide'); } $this.html(event.strftime('' + '<span class="wd-timer-days"><span class="wd-timer-value">%-D </span><span class="wd-timer-text">' + woodmart_settings.countdown_days + '</span></span> ' + '<span class="wd-timer-hours"><span class="wd-timer-value">%H </span><span class="wd-timer-text">' + woodmart_settings.countdown_hours + '</span></span> ' + '<span class="wd-timer-min"><span class="wd-timer-value">%M </span><span class="wd-timer-text">' + woodmart_settings.countdown_mins + '</span></span> ' + '<span class="wd-timer-sec"><span class="wd-timer-value">%S </span><span class="wd-timer-text">' + woodmart_settings.countdown_sec + '</span></span>')); }); }); }; $(document).ready(function() { woodmartThemeModule.countDownTimer(); }); })(jQuery);
[-] view3d.min.js
[edit]
[-] videoPoster.min.js
[edit]
[-] banner.js
[edit]
[-] button.min.js
[edit]
[-] button.js
[edit]
[-] slider.min.js
[edit]
[-] googleMap.js
[edit]
[-] imageGallery.min.js
[edit]
[-] countDownTimer.min.js
[edit]
[-] infoBox.js
[edit]
[-] videoElement.min.js
[edit]
[-] toggle.min.js
[edit]
[-] videoPoster.js
[edit]
[-] compareImages.js
[edit]
[-] imageGallery.js
[edit]
[-] countDownTimer.js
[edit]
[-] accordion.js
[edit]
[-] counter.min.js
[edit]
[-] menuAnchor.js
[edit]
[-] hotSpot.js
[edit]
[-] wdNestedCarousel.min.js
[edit]
[-] offCanvasColumnBtn.js
[edit]
[-] counter.js
[edit]
[-] googleMap.min.js
[edit]
[-] contentPopup.min.js
[edit]
[-] menuAnchor.min.js
[edit]
[-] accordion.min.js
[edit]
[-] compareImages.min.js
[edit]
[-] wdNestedCarousel.js
[edit]
[-] toggle.js
[edit]
[-] tabs.js
[edit]
[-] buttonShowMore.js
[edit]
[+]
..
[-] offCanvasColumnBtn.min.js
[edit]
[-] tabs.min.js
[edit]
[-] videoElementPopup.min.js
[edit]
[-] videoElementPopup.js
[edit]
[-] openStreetMap.min.js
[edit]
[-] stockStatus.min.js
[edit]
[-] hotSpot.min.js
[edit]
[-] stockStatus.js
[edit]
[-] view3d.js
[edit]
[-] slider.js
[edit]
[-] banner.min.js
[edit]
[-] buttonShowMore.min.js
[edit]
[-] videoElement.js
[edit]
[-] infoBox.min.js
[edit]
[-] openStreetMap.js
[edit]
[-] contentPopup.js
[edit]