PATH:
home
/
lab2454c
/
mact34.com
/
wp-content
/
plugins
/
bdthemes-element-pack
/
assets
/
js
/
widgets
/** * Start reading progress widget script */ (function($, elementor) { 'use strict'; var readingProgressWidget = function($scope, $) { var $readingProgress = $scope.find('.bdt-reading-progress'); if (!$readingProgress.length) { return; } var $settings = $readingProgress.data('settings'); $(document).ready(function(){ $($readingProgress).progressScroll([$settings.progress_bg, $settings.scroll_bg]); }); }; // start progress with cursor var readingProgressCursorSkin = function($scope, $) { var $readingProgress = $scope.find('.bdt-progress-with-cursor'); if (!$readingProgress.length) { return; } document.getElementsByTagName('body')[0].addEventListener('mousemove', function(n) { t.style.left = n.clientX + 'px'; t.style.top = n.clientY + 'px'; e.style.left = n.clientX + 'px'; e.style.top = n.clientY + 'px'; i.style.left = n.clientX + 'px'; i.style.top = n.clientY + 'px'; }); var t = document.querySelector('.bdt-cursor'), e = document.querySelector('.bdt-cursor2'), i = document.querySelector('.bdt-cursor3'); function n(t) { e.classList.add('hover'), i.classList.add('hover'); } function s(t) { e.classList.remove('hover'), i.classList.remove('hover'); } s(); for (var r = document.querySelectorAll('.hover-target'), a = r.length - 1; a >= 0; a--) { o(r[a]); } function o(t) { t.addEventListener('mouseover', n); t.addEventListener('mouseout', s); } $(document).ready(function() { //Scroll indicator var progressPath = document.querySelector('.bdt-progress-wrap path'); var pathLength = progressPath.getTotalLength(); progressPath.style.transition = progressPath.style.WebkitTransition = 'none'; progressPath.style.strokeDasharray = pathLength + ' ' + pathLength; progressPath.style.strokeDashoffset = pathLength; progressPath.getBoundingClientRect(); progressPath.style.transition = progressPath.style.WebkitTransition = 'stroke-dashoffset 10ms linear'; var updateProgress = function() { var scroll = $(window).scrollTop(); var height = $(document).height() - $(window).height(); var progress = pathLength - (scroll * pathLength / height); progressPath.style.strokeDashoffset = progress; }; updateProgress(); $(window).scroll(updateProgress); }); }; // end progress with cursor // start progress horizontal var readingProgressHorizontalSkin = function($scope, $) { var $readingProgress = $scope.find('.bdt-horizontal-progress'); if (!$readingProgress.length) { return; } $('#bdt-progress').progress({ size: '3px', wapperBg: '#eee', innerBg: '#DA4453' }); }; // end progress horizontal // start progress back to top var readingProgressBackToTopSkin = function($scope, $) { var $readingProgress = $scope.find('.bdt-progress-with-top'); if (!$readingProgress.length) { return; } var progressPath = document.querySelector('.bdt-progress-wrap path'); var pathLength = progressPath.getTotalLength(); progressPath.style.transition = progressPath.style.WebkitTransition = 'none'; progressPath.style.strokeDasharray = pathLength + ' ' + pathLength; progressPath.style.strokeDashoffset = pathLength; progressPath.getBoundingClientRect(); progressPath.style.transition = progressPath.style.WebkitTransition = 'stroke-dashoffset 10ms linear'; var updateProgress = function() { var scroll = jQuery(window).scrollTop(); var height = jQuery(document).height() - jQuery(window).height(); var progress = pathLength - (scroll * pathLength / height); progressPath.style.strokeDashoffset = progress; }; updateProgress(); jQuery(window).scroll(updateProgress); var offset = 50; var duration = 550; jQuery(window).on('scroll', function() { if (jQuery(this).scrollTop() > offset) { jQuery('.bdt-progress-wrap').addClass('active-progress'); } else { jQuery('.bdt-progress-wrap').removeClass('active-progress'); } }); jQuery('.bdt-progress-wrap').on('click', function(event) { event.preventDefault(); jQuery('html, body').animate({ scrollTop: 0 }, duration); return false; }); }; // end progress back to top jQuery(window).on('elementor/frontend/init', function() { elementorFrontend.hooks.addAction('frontend/element_ready/bdt-reading-progress.default', readingProgressWidget); elementorFrontend.hooks.addAction('frontend/element_ready/bdt-reading-progress.bdt-progress-with-cursor', readingProgressCursorSkin); elementorFrontend.hooks.addAction('frontend/element_ready/bdt-reading-progress.bdt-horizontal-progress', readingProgressHorizontalSkin); elementorFrontend.hooks.addAction('frontend/element_ready/bdt-reading-progress.bdt-back-to-top-with-progress', readingProgressBackToTopSkin); }); }(jQuery, window.elementorFrontend)); /** * End reading progress widget script */
[+]
..
[-] ep-animated-heading.min.js
[edit]
[-] ep-faq.js
[edit]
[-] ep-testimonial-slider.min.js
[edit]
[-] ep-step-flow.js
[edit]
[-] ep-tabs.min.js
[edit]
[-] ep-scrollnav.js
[edit]
[-] ep-audio-player.min.js
[edit]
[-] ep-tutor-lms.min.js
[edit]
[-] ep-news-ticker.js
[edit]
[-] ep-offcanvas.min.js
[edit]
[-] ep-iconnav.min.js
[edit]
[-] ep-honeycombs.js
[edit]
[-] ep-circle-info.js
[edit]
[-] ep-iconnav.js
[edit]
[-] ep-honeycombs.min.js
[edit]
[-] ep-faq.min.js
[edit]
[-] ep-qrcode.js
[edit]
[-] ep-fancy-slider.js
[edit]
[-] ep-advanced-post-tab.js
[edit]
[-] ep-advanced-progress-bar.min.js
[edit]
[-] ep-business-hours.js
[edit]
[-] ep-step-flow.min.js
[edit]
[-] ep-lottie-icon-box.min.js
[edit]
[-] ep-advanced-divider.js
[edit]
[-] ep-vertical-menu.js
[edit]
[-] ep-logo-grid.js
[edit]
[-] ep-accordion.min.js
[edit]
[-] ep-advanced-gmap.min.js
[edit]
[-] ep-user-register.js
[edit]
[-] ep-contact-form.min.js
[edit]
[-] ep-vertical-menu.min.js
[edit]
[-] ep-woocommerce.min.js
[edit]
[-] ep-helpdesk.min.js
[edit]
[-] ep-scroll-button.min.js
[edit]
[-] ep-advanced-counter.js
[edit]
[-] ep-twitter-slider.js
[edit]
[-] ep-fancy-tabs.min.js
[edit]
[-] ep-image-accordion.js
[edit]
[-] ep-advanced-counter.min.js
[edit]
[-] ep-user-register.min.js
[edit]
[-] ep-twitter-carousel.js
[edit]
[-] ep-video-gallery.js
[edit]
[-] ep-time-zone.min.js
[edit]
[-] ep-source-code.min.js
[edit]
[-] ep-advanced-progress-bar.js
[edit]
[-] ep-tags-cloud.js
[edit]
[-] ep-timeline.min.js
[edit]
[-] ep-reading-progress.js
[edit]
[-] ep-testimonial-carousel.min.js
[edit]
[-] ep-lottie-image.js
[edit]
[-] ep-portfolio-carousel.js
[edit]
[-] ep-circle-menu.js
[edit]
[-] ep-tabs.js
[edit]
[-] ep-toggle.min.js
[edit]
[-] ep-search.js
[edit]
[-] ep-custom-carousel.js
[edit]
[-] ep-chart.js
[edit]
[-] ep-twitter-carousel.min.js
[edit]
[-] ep-advanced-icon-box.js
[edit]
[-] ep-price-table.min.js
[edit]
[-] ep-event-calendar.min.js
[edit]
[-] ep-event-calendar.js
[edit]
[-] ep-switcher.min.js
[edit]
[-] ep-image-compare.js
[edit]
[-] ep-hover-box.js
[edit]
[-] ep-contact-form.js
[edit]
[-] ep-logo-carousel.js
[edit]
[-] ep-animated-heading.js
[edit]
[-] ep-tags-cloud.min.js
[edit]
[-] ep-slideshow.min.js
[edit]
[-] ep-qrcode.min.js
[edit]
[-] ep-image-accordion.min.js
[edit]
[-] ep-time-zone.js
[edit]
[-] ep-price-table.js
[edit]
[-] ep-reading-progress.min.js
[edit]
[-] ep-image-magnifier.min.js
[edit]
[-] ep-notification.min.js
[edit]
[-] ep-marker.js
[edit]
[-] ep-table-of-content.js
[edit]
[-] ep-carousel.min.js
[edit]
[-] ep-advanced-gmap.js
[edit]
[-] ep-advanced-post-tab.min.js
[edit]
[-] ep-user-login.js
[edit]
[-] ep-cookie-consent.min.js
[edit]
[-] ep-progress-pie.js
[edit]
[-] ep-open-street-map.js
[edit]
[-] ep-lottie-icon-box.js
[edit]
[-] ep-products.min.js
[edit]
[-] ep-logo-grid.min.js
[edit]
[-] ep-slideshow.js
[edit]
[-] ep-logo-carousel.min.js
[edit]
[-] ep-post-grid-tab.js
[edit]
[-] ep-user-login.min.js
[edit]
[-] ep-accordion.js
[edit]
[-] ep-modal.js
[edit]
[-] ep-portfolio-gallery.min.js
[edit]
[-] ep-chart.min.js
[edit]
[-] ep-toggle.js
[edit]
[-] ep-threesixty-product-viewer.min.js
[edit]
[-] ep-woocommerce.js
[edit]
[-] ep-section-sticky.js
[edit]
[-] ep-post-gallery.min.js
[edit]
[-] ep-image-compare.min.js
[edit]
[-] ep-timeline.js
[edit]
[-] ep-mailchimp.min.js
[edit]
[-] ep-table-of-content.min.js
[edit]
[-] ep-hover-video.js
[edit]
[-] ep-tutor-lms.js
[edit]
[-] ep-fancy-slider.min.js
[edit]
[-] ep-mailchimp.js
[edit]
[-] ep-testimonial-carousel.js
[edit]
[-] ep-twitter-slider.min.js
[edit]
[-] ep-offcanvas.js
[edit]
[-] ep-interactive-card.min.js
[edit]
[-] ep-progress-pie.min.js
[edit]
[-] ep-particles.min.js
[edit]
[-] ep-portfolio-carousel.min.js
[edit]
[-] ep-iframe.min.js
[edit]
[-] ep-marker.min.js
[edit]
[-] ep-hover-box.min.js
[edit]
[-] ep-table.min.js
[edit]
[-] ep-post-grid-tab.min.js
[edit]
[-] ep-iframe.js
[edit]
[-] ep-slider.min.js
[edit]
[-] ep-advanced-icon-box.min.js
[edit]
[-] ep-section-sticky.min.js
[edit]
[-] ep-helpdesk.js
[edit]
[-] ep-comment.min.js
[edit]
[-] ep-custom-carousel.min.js
[edit]
[-] ep-modal.min.js
[edit]
[-] ep-post-gallery.js
[edit]
[-] ep-carousel.js
[edit]
[-] ep-news-ticker.min.js
[edit]
[-] ep-table.js
[edit]
[-] ep-image-expand.js
[edit]
[-] ep-notification.js
[edit]
[-] ep-instagram.js
[edit]
[-] ep-image-magnifier.js
[edit]
[-] ep-audio-player.js
[edit]
[-] ep-switcher.js
[edit]
[-] ep-hover-video.min.js
[edit]
[-] ep-interactive-card.js
[edit]
[-] ep-cookie-consent.js
[edit]
[-] ep-source-code.js
[edit]
[-] ep-portfolio-gallery.js
[edit]
[-] ep-image-expand.min.js
[edit]
[-] ep-particles.js
[edit]
[-] ep-open-street-map.min.js
[edit]
[-] ep-instagram.min.js
[edit]
[-] ep-panel-slider.js
[edit]
[-] ep-threesixty-product-viewer.js
[edit]
[-] ep-testimonial-slider.js
[edit]
[-] ep-advanced-divider.min.js
[edit]
[-] ep-fancy-tabs.js
[edit]
[-] ep-video-gallery.min.js
[edit]
[-] ep-scroll-button.js
[edit]
[-] ep-scrollnav.min.js
[edit]
[-] ep-circle-info.min.js
[edit]
[-] ep-comment.js
[edit]
[-] ep-products.js
[edit]
[-] ep-lottie-image.min.js
[edit]
[-] ep-slider.js
[edit]
[-] ep-search.min.js
[edit]
[-] ep-panel-slider.min.js
[edit]
[-] ep-circle-menu.min.js
[edit]
[-] ep-tooltip.js
[edit]
[-] ep-business-hours.min.js
[edit]