PageSourceSearch

https://bussgeld-kontrolle.de/wp-content/themes/dt-the7/lib/jquery-sticky/jquery-sticky.min.js?ver=10.4.1

js bussgeld-kontrolle.de collected 2026-10-04 21:14:15 UTC 4,254 bytes, 1 lines download raw bytes

1!function(t){var o=function(o,e){var s,i,n=!1,r=!1,c=!1,a=!1,f={},p={to:"top",offset:0,extraOffset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"}},l=function(t,o,e){var s={},i=t[0].style;e.forEach((function(t){if("object"==typeof t)for(var o in t)s[o]=t[o];else s[t]=void 0!==i[t]?i[t]:""})),t.data("the7-css-backup-"+o,s)},m=function(t,o){return t.data("the7-css-backup-"+o)},u=function(){f.$spacer=s.clone().addClass(i.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),s.after(f.$spacer)},d=function(){f.$spacer.remove()},y=function(){l(s,"unsticky",["position","width","margin-top","margin-bottom","top","bottom"]);var t={position:"fixed",width:b(s,"width"),marginTop:0,marginBottom:0};t[i.to]=i.offset,t["top"===i.to?"bottom":"top"]="",f.$window.scrollTop()<=0&&!r&&(r=!0,l(s,"unabsolute",[t]),t.position="absolute",t.top=i.offset-i.extraOffset,t.bottom=""),s.css(t).addClass(i.classes.stickyActive)},h=function(){s.css(m(s,"unsticky")).removeClass(i.classes.stickyActive)},b=function(t,o,e){var s=getComputedStyle(t[0]),i=parseFloat(s[o]),n="height"===o?["top","bottom"]:["left","right"],r=[];return"border-box"!==s.boxSizing&&r.push("border","padding"),e&&r.push("margin"),r.forEach((function(t){n.forEach((function(o){i+=parseFloat(s[t+"-"+o])}))})),i},v=function(t){var o=f.$window.scrollTop(),e=b(t,"height"),s=innerHeight,i=t.offset().top-o,n=i-s;return{top:{fromTop:i,fromBottom:n},bottom:{fromTop:i+e,fromBottom:n+e}}},k=function(){h(),d(),n=!1,s.trigger("the7-sticky:unstick")},w=function(){r=!1,s.css(m(s,"unabsolute"))},g=function(){var t=v(s),o="top"===i.to;if(c){(o?t.top.fromTop>i.offset:t.bottom.fromBottom<-i.offset)&&(f.$parent.css(m(f.$parent,"childNotFollowing")),s.css(m(s,"notFollowing")),c=!1)}else{var e=v(f.$parent),n=getComputedStyle(f.$parent[0]),r=parseFloat(n[o?"borderBottomWidth":"borderTopWidth"]),a=o?e.bottom.fromTop-r:e.top.fromBottom+r;(o?a<=t.bottom.fromTop:a>=t.top.fromBottom)&&function(){l(f.$parent,"childNotFollowing",["position"]),f.$parent.css("position","relative"),l(s,"notFollowing",["position","top","bottom"]);var t={position:"absolute"};t[i.to]="",t["top"===i.to?"bottom":"top"]=0,s.css(t),c=!0}()}},$=function(t){a&&-t<i.effectsOffset?(s.removeClass(i.classes.stickyEffects),f.$spacer.removeClass(i.classes.stickyEffects),a=!1,s.trigger("the7-sticky:effect-not-active")):!a&&-t>=i.effectsOffset&&(s.addClass(i.classes.stickyEffects),f.$spacer.addClass(i.classes.stickyEffects),a=!0,s.trigger("the7-sticky:effect-active"))},T=function(){var t,o=i.offset,e=f.$window.scrollTop();if(e<0&&$(0),e<=0&&n){if(!r){var c=v(f.$spacer);(t="top"===i.to?c.top.fromTop-o:-c.bottom.fromBottom-o)>0?k():function(){r=!0,l(s,"unabsolute",["position","top","bottom"]);var t={position:"absolute",top:i.offset-i.extraOffset,bottom:""};s.css(t)}(),$(t)}}else{if(n){r&&w();c=v(f.$spacer);t="top"===i.to?c.top.fromTop-o:-c.bottom.fromBottom-o,i.parent&&g(),t>0&&k()}else{var a=v(s);(t="top"===i.to?a.top.fromTop-o:-a.bottom.fromBottom-o)<=0&&(u(),y(),n=!0,s.trigger("the7-sticky:stick"),i.parent&&g())}$(t)}},C=function(){T()},B=function(){E(!0)},E=function(t=!1){n&&(r&&w(),!0===t&&d(),h(),!0===t&&u(),y(),i.parent&&(c=!1,g()))},x=function(t,o){let e;return function(){const s=this,i=arguments,n=()=>{e=null,t.apply(s,i)},r=!e;clearTimeout(e),e=setTimeout(n,o),r&&t.apply(s,i)}};this.destroy=function(){r&&w(),n&&k(),f.$window.off("scroll",C).off("resize",E).off("resize",B),s.removeClass(i.classes.sticky)},i=jQuery.extend(!0,p,e),s=t(o).addClass(i.classes.sticky),f.$window=t(window),i.parent&&("parent"===i.parent?f.$parent=s.parent():f.$parent=s.closest(i.parent)),B=x(B,400),f.$window.on("resize",E),f.$window.on("resize",B),f.$window.on("scroll",C),T()};t.fn.The7Sticky=function(e){var s="string"==typeof e;return this.each((function(){var i=t(this);if(s){var n=i.data("the7-sticky");if(!n)throw Error("Trying to perform the `"+e+"` method prior to initialization");if(!n[e])throw ReferenceError("Method `"+e+"` not found in sticky instance");
1n[e].apply(n,Array.prototype.slice.call(arguments,1)),"destroy"===e&&i.removeData("the7-sticky")}else i.data("the7-sticky",new o(this,e))})),this}}(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.