PageSourceSearch

https://kopokopo.co.ke/wp-content/themes/scape/library/js/libs/min/sticky-kit.min.js?ver=1.4.4

js kopokopo.co.ke collected 2026-10-01 10:38:50 UTC 3,310 bytes, 4 lines download raw bytes

1/**
2 @license Sticky-kit v1.1.3 | MIT | Leaf Corcoran 2015 | http://leafo.net
3 */
4(function(){var t,i;t=window.jQuery,i=t(window),t.fn.stick_in_parent=function(o){var e,s,r,n,l,a,c,p,d,u,f,g,h;for(null==o&&(o={}),h=o.sticky_class,a=o.inner_scrolling,g=o.recalc_every,f=o.parent,d=o.offset_top,p=o.spacer,r=o.bottoming,null==d&&(d=0),null==f&&(f=void 0),null==a&&(a=!0),null==h&&(h="is_stuck"),e=t(document),null==r&&(r=!0),u=function(t){var i,o,e;return window.getComputedStyle?(i=t[0],o=window.getComputedStyle(t[0]),e=parseFloat(o.getPropertyValue("width"))+parseFloat(o.getPropertyValue("margin-left"))+parseFloat(o.getPropertyValue("margin-right")),"border-box"!==o.getPropertyValue("box-sizing")&&(e+=parseFloat(o.getPropertyValue("border-left-width"))+parseFloat(o.getPropertyValue("border-right-width"))+parseFloat(o.getPropertyValue("padding-left"))+parseFloat(o.getPropertyValue("padding-right"))),e):t.outerWidth(!0)},n=function(o,s,n,l,c,k,y,m){var v,b,w,_,x,P,V,F,C,z,I,A;if(!o.data("sticky_kit")){if(o.data("sticky_kit",!0),x=e.height(),V=o.parent(),null!=f&&(V=V.closest(f)),!V.length)throw"failed to find stick parent";if(w=!1,v=!1,(I=null!=p?p&&o.closest(p):t("<div />"))&&I.css("position",o.css("position")),(F=function(){var t,i,r;if(!m)return x=e.height(),t=parseInt(V.css("border-top-width"),10),i=parseInt(V.css("padding-top"),10),s=parseInt(V.css("padding-bottom"),10),n=V.offset().top+t+i,l=V.height(),w&&(w=!1,v=!1,null==p&&(o.insertAfter(I),I.detach()),o.css({position:"",top:"",width:"",bottom:""}).removeClass(h),r=!0),c=o.offset().top-(parseInt(o.css("margin-top"),10)||0)-d,k=o.outerHeight(!0),y=o.css("float"),I&&I.css({width:u(o),height:k,display:o.css("display"),"vertical-align":o.css("vertical-align"),float:y}),r?A():void 0})(),k!==l)return _=void 0,P=d,z=g,A=function(){var t,u,f,b,C,A;if(!m)return f=!1,null!=z&&(z-=1)<=0&&(z=g,F(),f=!0),f||e.height()===x||(F(),f=!0),b=i.scrollTop(),null!=_&&(u=b-_),_=b,w?(r&&(C=b+k+P>l+n,v&&!C&&(v=!1,o.css({position:"fixed",bottom:"",top:P}).trigger("sticky_kit:unbottom"))),b<c&&(w=!1,P=d,null==p&&("left"!==y&&"right"!==y||o.insertAfter(I),I.detach()),t={position:"",width:"",top:""},o.css(t).removeClass(h).trigger("sticky_kit:unstick")),a&&(A=i.height(),k+d>A&&(v||(P-=u,P=Math.max(A-k,P),P=Math.min(d,P),w&&o.css({top:P+"px"}))))):b>c&&(w=!0,(t={position:"fixed",top:P}).width="border-box"===o.css("box-sizing")?o.outerWidth()+"px":o.width()+"px",o.css(t).addClass(h),null==p&&(o.after(I),"left"!==y&&"right"!==y||I.append(o)),o.trigger("sticky_kit:stick")),w&&r&&(null==C&&(C=b+k+P>l+n),!v&&C)?(v=!0,"static"===V.css("position")&&V.css({position:"relative"}),o.css({position:"absolute",bottom:s,top:"auto"}).trigger("sticky_kit:bottom")):void 0},C=function(){return F(),A()},b=function(){if(m=!0,i.off("touchmove",A),i.off("scroll",A),i.off("resize",C),t(document.body).off("sticky_kit:recalc",C),o.off("sticky_kit:detach",b),o.removeData("sticky_kit"),o.css({position:"",bottom:"",top:"",width:""}),V.position("position",""),w)return null==p&&("left"!==y&&"right"!==y||o.insertAfter(I),I.remove()),o.removeClass(h)},i.on("touchmove",A),i.on("scroll",A),i.on("resize",C),t(document.body).on("sticky_kit:recalc",C),o.on("sticky_kit:detach",b),setTimeout(A,0)}},l=0,c=this.length;l<c;l++)s=this[l],n(t(s));return this}}).call(this);

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.