Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/www/calvetrealty.com/wp-content/plugins/divi-pixel/dist/public/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/www/calvetrealty.com/wp-content/plugins/divi-pixel/dist/public/js/ImageRotator.min.js
!function i(a,n,r){function d(e,t){if(!n[e]){if(!a[e]){var o="function"==typeof require&&require;if(!t&&o)return o(e,!0);if(u)return u(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}o=n[e]={exports:{}},a[e][0].call(o.exports,function(t){return d(a[e][1][t]||t)},o,o.exports,i,a,n,r)}return n[e].exports}for(var u="function"==typeof require&&require,t=0;t<r.length;t++)d(r[t]);return d}({1:[function(t,e,o){"use strict";jQuery(function(_){_.fn.dipiImageRotator_destroy=function(){var t=_(this),e=t.data("dipiImageRotatorTimer");e&&(clearInterval(e),t.data("dipiImageRotatorTimer",null))},_.fn.dipiImageRotator=function(t){var a=_(this),e=(a.imageLoaded=!1,a),o=e.find(".dipi-image-rotator-images"),i=o[0].querySelectorAll(".dipi-img-rotator-item").length||o[0].childElementCount,n=null,r=(e.data("dipiImageRotatorTimer",n),JSON.parse(e.attr("data-config"))),d=function(){var t=parseInt(o.attr("data-active-id"));i=i||o[0].querySelectorAll(".dipi-img-rotator-item").length||o[0].childElementCount,o.find(".dipi-img-rotator-item-"+t).addClass("hidden"),t=(t+1)%i,o.find(".dipi-img-rotator-item-"+t).removeClass("hidden"),o.attr("data-active-id",t)},u=function(){var t=parseInt(o.attr("data-active-id"));o.find(".dipi-img-rotator-item-"+t).addClass("hidden"),i=i||o[0].querySelectorAll(".dipi-img-rotator-item").length||o[0].childElementCount,t=0<t?t-1:i-1,o.find(".dipi-img-rotator-item-"+t).removeClass("hidden"),o.attr("data-active-id",t)},c=function(){("on"===r.invert_play?u:d)()},l=function(){("on"===r.invert_play?d:u)()};function m(t){return t.preventDefault(),t.stopPropagation(),(0<t.deltaY?c:l)(),!1}"on"===r.autoplay&&(n=setInterval(function(){c()},r.play_speed),e.data("dipiImageRotatorTimer",n)),a.find(".dipi-img-rotator-play").off("click touch tap"),a.find(".dipi-img-rotator-play").on("click touch tap",function(t){_(this).removeAttr("href"),n&&e.dipiImageRotator_destroy(),n=setInterval(function(){c()},r.play_speed),e.data("dipiImageRotatorTimer",n)}),a.find(".dipi-img-rotator-pause").off("click touch tap"),a.find(".dipi-img-rotator-pause").on("click touch tap",function(t){_(this).removeAttr("href"),n&&(e.dipiImageRotator_destroy(),n=null,e.data("dipiImageRotatorTimer",n))});function p(t){e.data("dipiImageRotatorTimer")?g=!1:(h=t.pageX,v=t.pageY,g=!0,a.addClass("dragging"))}function f(t){var e,o=t.pageX,i=t.pageY;("touchmove"==t.type?(o=(e=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0]).pageX,i=e.pageY,!0):(o=t.clientX,i=t.clientY,1==t.buttons))&&g?"Vertical"===r.drag_direction?(v<i?c():i<v&&l(),v=i):(h<o?c():o<h&&l(),h=o):(g=!1,a.removeClass("dragging"))}function s(){g=!1,a.removeClass("dragging")}var g=!1,h=0,v=0;o[0].removeEventListener("wheel",m),"on"===r.rotate_on_wheel&&o[0].addEventListener("wheel",m,{passive:!1}),"on"===r.rotate_on_drag&&(_(o).off("dragstart"),_(o).on("dragstart",function(t){t.preventDefault()}),_(o).off("mousedown"),_(o).on("mousedown",p),_(o).off("mousemove"),_(o).on("mousemove",_.throttle(r.play_speed,f)),_(o).off("mouseup"),_(o).on("mouseup",s)),"on"!==r.rotate_on_wheel&&"on"!==r.rotate_on_drag||(_(o).off("touchstart"),_(o).on("touchstart",p),_(o).off("touchmove"),_(o).on("touchmove",_.throttle(r.play_speed,f)),_(o).off("touchend"),_(o).on("touchend",s))},_(".dipi_image_rotator .dipi-image-rotator").each(function(){function n(){var t,e,o,i,a;!d&&(t=(t=r).getBoundingClientRect(),e=window.innerHeight||document.documentElement.clientHeight,o=0<=t.top&&t.top<=e,i=0<=t.bottom&&t.bottom<=e,a=0<=t.top&&t.top<e/2,t=t.height>e,o&&i||t&&a)&&(d=!0,document.removeEventListener("scroll",n),setTimeout(function(){_(r).imagesLoaded(function(){_(r).addClass("dipi-image-rotator-loaded"),_(r).dipiImageRotator()})},2e3))}var r=this,d=!1;n(),document.addEventListener("scroll",n)})})},{}]},{},[1]);

Hry