PageSourceSearch

https://croplifela.org/templates/rsedimo/js/offscreen.min.js?ee8ba1

js croplifela.org collected 2026-10-02 05:45:18 UTC 2,248 bytes, 39 lines download raw bytes

1/*
2 * @version       1.0.0
3 * @package       RSEdimo! 1.0.0
4 * @copyright (C) 2022 www.rsjoomla.com
5 * @license       GNU General Public License http://www.gnu.org/licenses/gpl-3.0.en.html
6 */
7
8/*! Offscreen.js | (c) 2015 @gijsroge | MIT license | https://github.com/gijsroge/offscreen.js
9!function(s){s.fn.offscreen=function(t){function e(){var t=s(window).width(),e=s(window).height();s(a).each(function(){var a=s(this).offset().top,o=s(this).outerHeight();a+o>e?s(this).addClass(i.bottomClass):e>a+1.5*o&&s(this).removeClass(i.bottomClass),0>a?s(this).addClass(i.topClass):a>o&&s(this).removeClass(i.topClass);var r=s(this).offset().left,n=s(this).outerWidth();r+n>t?s(this).addClass(i.rightClass):t>r+1.5*n&&s(this).removeClass(i.rightClass),0>r?s(this).addClass(i.leftClass):2*r>n&&s(this).removeClass(i.leftClass)})}var i={rightClass:"right-edge",leftClass:"left-edge",topClass:"top-edge",bottomClass:"bottom-edge",smartResize:!0},t=s.extend(i,t),a=s(this);e(),i.smartResize===!0?(!function(s,t){var e=function(s,t,e){var i;return function(){function a(){e||s.apply(o,r),i=null}var o=this,r=arguments;i?clearTimeout(i):e&&s.apply(o,r),i=setTimeout(a,t||100)}};jQuery.fn[t]=function(s){return s?this.bind("resize",e(s)):this.trigger(t)}}(jQuery,"smartresize"),s(window).smartresize(function(){e()})):s(window).resize(function(){e()})}}(jQuery);
10
11*/
12
13/*
14 * jQuery offscreen plugin
15 *
16 * Copyright Cory LaViska for A Beautiful Site, LLC
17 *
18 * @license: http://opensource.org/licenses/MIT
19 *
20 */
21(function($) {
22    $.extend($.expr[':'], {
23        'off-top': function(el) {
24            return $(el).offset().top < $(window).scrollTop();
25        },
26        'off-right': function(el) {
27            return $(el).offset().left + $(el).outerWidth() - $(window).scrollLeft() > $(window).width();
28        },
29        'off-bottom': function(el) {
30            return $(el).offset().top + $(el).outerHeight() - $(window).scrollTop() > $(window).height();
31        },
32        'off-left': function(el) {
33            return $(el).offset().left < $(window).scrollLeft();
34        },
35        'off-screen': function(el) {
36            return $(el).is(':off-top, :off-right, :off-bottom, :off-left');
37        }
38    });
39})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.