HEX
Server: Apache
System: Linux websend04.greenconsulting.it 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User: web20 (5023)
PHP: 7.2.34-38+ubuntu18.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/clients/client0/web20/web/wp-content/plugins/lead-call-buttons/js/movement.js
(function (d) {
    var p = {}, e, a, h = document,
        i = window,
        f = h.documentElement,
        j = d.expando;
    d.event.special.inview = {
        add: function (a) {
            p[a.guid + "-" + this[j]] = {
                data: a,
                jQueryelement: d(this)
            }
        },
        remove: function (a) {
            try {
                delete p[a.guid + "-" + this[j]]
            } catch (d) {}
        }
    };
    d(i).bind("scroll resize", function () {
        e = a = null
    });
    !f.addEventListener && f.attachEvent && f.attachEvent("onfocusin", function () {
        a = null
    });
    setInterval(function () {
        var k = d(),
            j, n = 0;
        d.each(p, function (a, b) {
            var c = b.data.selector,
                d = b.jQueryelement;
            k = k.add(c ? d.find(c) : d)
        });
        if (j = k.length) {
            var b;
            if (!(b = e)) {
                var g = {
                    height: i.innerHeight,
                    width: i.innerWidth
                };
                if (!g.height && ((b = h.compatMode) || !d.support.boxModel)) b = "CSS1Compat" === b ? f : h.body, g = {
                    height: b.clientHeight,
                    width: b.clientWidth
                };
                b = g
            }
            e = b;
            for (a = a || {
                top: i.pageYOffset || f.scrollTop || h.body.scrollTop,
                left: i.pageXOffset || f.scrollLeft || h.body.scrollLeft
            }; n < j; n++)
                if (d.contains(f, k[n])) {
                    b = d(k[n]);
                    var l = b.height(),
                        m = b.width(),
                        c = b.offset(),
                        g = b.data("inview");
                    if (!a || !e) break;
                    c.top + l > a.top && c.top < a.top + e.height && c.left + m > a.left && c.left < a.left + e.width ?
                        (m = a.left > c.left ? "right" : a.left + e.width < c.left + m ? "left" : "both", l = a.top > c.top ? "bottom" : a.top + e.height < c.top + l ? "top" : "both", c = m + "-" + l, (!g || g !== c) && b.data("inview", c).trigger("inview", [!0, m, l])) : g && b.data("inview", !1).trigger("inview", [!1])
                }
        }
    }, 1000)
})(jQuery);


jQuery(document).ready(function($) {
    $('.main_buttons_animate').css('opacity', 0).one('inview', function(isInView) {
        if (isInView) { 
            $(this).addClass('animated Slide-Out-Up');
        }
    });         
});