PageSourceSearch

https://www.aerobicyfitness.com/modules/creativeelements/views/lib/sticky/jquery.sticky.min.js?v=2.14.0

js aerobicyfitness.com collected 2026-09-29 13:22:49 UTC 4,084 bytes, 4 lines download raw bytes

1/*
2 * By Elementor & WebshopWorks Team
3 */
4!function(T){function i(t,o){function i(t,o,e){var s={},i=t[0].style;e.forEach(function(t){s[t]=void 0!==i[t]?i[t]:""}),t.data("css-backup-"+o,s)}function e(){i(r,"unsticky",["position","width","margin-top","margin-bottom","top","bottom"]);var t={position:"fixed",width:n(r,"width"),marginTop:0,marginBottom:0};t[c.to]=h(),t["top"===c.to?"bottom":"top"]="",r.css(t).addClass(c.classes.stickyActive)}function s(){r.css(y(r,"unsticky")).removeClass(c.classes.stickyActive)}function n(t,o,e){var s=getComputedStyle(t[0]),i=parseFloat(s[o]),n="height"===o?["top","bottom"]:["left","right"],t=[];return"border-box"!==s.boxSizing&&t.push("border","padding"),e&&t.push("margin"),t.forEach(function(o){n.forEach(function(t){i+=parseFloat(s[o+"-"+t])})}),i}var r,a,c,f=!1,p=!1,d=!1,l=pageYOffset,m={},u={to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"}},y=function(t,o){return t.data("css-backup-"+o)},h=function(){var t=c.offset;return c.$offset.length&&c.$offset.each(function(){t+=this.offsetHeight}),t},k=function(t){var o=m.$window.scrollTop(),e=n(t,"height"),s=innerHeight,t=t.offset().top-o,o=t-s;return{top:{fromTop:t,fromBottom:o},bottom:{fromTop:t+e,fromBottom:o+e}}},g=function(){m.$spacer=r.clone().addClass(c.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),r.after(m.$spacer),e(),f=!0,r.find("input[checked]").prop("checked",!0),r.trigger("sticky:stick")},v=function(){s(),m.$spacer.remove(),f=!1,r.trigger("sticky:unstick")},b=function(){var t,o,e=k(r),s="top"===c.to;p?(t=h(),(s?e.top.fromTop>t:e.bottom.fromBottom<-t)&&(m.$parent.css(y(m.$parent,"childNotFollowing")),r.css(y(r,"notFollowing")),p=!1)):m.$parent[0]&&(t=k(m.$parent),o=getComputedStyle(m.$parent[0]),o=parseFloat(o[s?"borderBottomWidth":"borderTopWidth"]),t=s?t.bottom.fromTop-o:t.top.fromBottom+o,(s?t<=e.bottom.fromTop:t>=e.top.fromBottom)&&(i(m.$parent,"childNotFollowing",["position"]),m.$parent.css("position","relative"),i(r,"notFollowing",["position","top","bottom"]),(o={position:"absolute"})[c.to]="",o["top"===c.to?"bottom":"top"]=0,r.css(o),p=!0))},w=function(t){d&&-t<c.effectsOffset?(r.removeClass(c.classes.stickyEffects),d=!1):!d&&-t>=c.effectsOffset&&(r.addClass(c.classes.stickyEffects),d=!0)},$=function(){var t,o,e=h();f?(t=k(m.$spacer),t="top"===c.to?t.top.fromTop-e:-t.bottom.fromBottom-e,c.parent&&b(),0<t&&v()):(o=k(r),(t="top"===c.to?o.top.fromTop-e:-o.bottom.fromBottom-e)<=0&&(g(),c.parent&&b())),w(t)},C=function(){var t;f&&c.autoHide&&(t=c.autoHideOffset.size*("vh"===c.autoHideOffset.unit?T(window).height()/100:1),pageYOffset>=t&&pageYOffset>l+10&&!r.find(".elementor-cart--shown, .elementor-search--topbar").length&&r.off("transitionend.ceSticky").css({transition:"transform "+c.autoHideDuration.size+"s",transform:"translateY(calc(-100% - "+h()+"px))"}).addClass(c.classes.stickyHide),(pageYOffset<t||pageYOffset<l-10)&&r.removeClass(c.classes.stickyHide).css("transform","").one("transitionend.ceSticky",function(){r.css("transition","")}),l=pageYOffset),$()},O=function(){f&&(s(),e(),c.parent&&(p=!1,b()))};this.destroy=function(){f&&v(),m.$window.off("scroll",C),a.disconnect(),r.removeClass(c.classes.sticky).css("transform","").off("transitionend.ceSticky").removeClass(c.classes.stickyHide)},c=jQuery.extend(!0,u,o),r=T(t).addClass(c.classes.sticky),m.$window=T(window),c.parent&&("parent"===c.parent?m.$parent=r.parent():m.$parent=r.closest(c.parent)),m.$window.on({scroll:C}),(a=new ResizeObserver(O)).observe(jQuery("body > main")[0]||document.body),$()}T.fn.sticky=function(e){var s="string"==typeof e;return this.each(function(){var t=T(this);if(s){var o=t.data("sticky");if(!o)throw Error("Trying to perform the `"+e+"` method prior to initialization");if(!o[e])throw ReferenceError("Method `"+e+"` not found in sticky instance");o[e].apply(o,Array.prototype.slice.call(arguments,1)),"destroy"===e&&t.removeData("sticky")}else t.data("sticky",new i(this,e))}),this},window.Sticky=i}(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.