| Server IP : 195.58.49.151 / Your IP : 216.73.217.39 Web Server : Apache/2.4.67 (Debian) mod_fcgid/2.3.9 OpenSSL/3.0.20 System : Linux hs.hsdns.ru 6.1.0-48-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.172-1 (2026-05-15) x86_64 User : antilam ( 1007) PHP Version : 8.4.22 Disable Function : system,passthru,popen MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /home/antilam/web/antilam.ru/public_html/wp-content/themes/woodmart/js/libs/ |
Upload File : |
(function(){var t,i;t=window.jQuery,i=t(window),t.fn.stick_in_parent=function(o){var s,n,e,c,r,l,a,p,u,f,d,h;for(null==o&&(o={}),h=o.sticky_class,l=o.inner_scrolling,d=o.recalc_every,f=o.parent,u=o.offset_top,p=o.spacer,e=o.bottoming,null==u&&(u=0),null==f&&(f=void 0),null==l&&(l=!0),null==h&&(h="is_stuck"),s=t(document),null==e&&(e=!0),c=function(o,n,c,r,a,k,g,m){var v,y,_,b,w,C,I,x,z,M,T;if(!o.data("sticky_kit")){if(o.data("sticky_kit",!0),w=s.height(),I=o.parent(),null!=f&&(I=I.closest(f)),!I.length)throw"failed to find stick parent";if(_=!1,v=!1,null!=p?p&&o.closest(p):t("<div />"),(x=function(){var t,i,n;if(!m)return w=s.height(),t=parseInt(I.css("border-top-width"),10),i=parseInt(I.css("padding-top"),10),parseInt(I.css("padding-bottom"),10),c=I.offset().top+t+i,r=I.height(),_&&(_=!1,v=!1,o.css({position:"",top:"",width:"",bottom:""}).removeClass(h),n=!0),a=o.offset().top-(parseInt(o.css("margin-top"),10)||0)-u,k=o.outerHeight(!0),o.css("float"),n?T():void 0})(),k!==r)return b=void 0,C=u,M=d,T=function(){var t,n,p,f,g,y;m||(p=!1,null!=M&&(M-=1)<=0&&(M=d,x(),p=!0),p||s.height()===w||(x(),p=!0),f=i.scrollTop(),null!=b&&(n=f-b),b=f,_?(e&&(g=f+k+C>r+c,v&&!g&&(v=!1,o.css({position:"sticky",bottom:"",top:C}).trigger("sticky_kit:unbottom"))),f<a&&(_=!1,C=u,t={position:"",width:"",top:""},o.css(t).removeClass(h).trigger("sticky_kit:unstick")),l&&(y=i.height(),k+u>y&&(v||(C-=n,C=Math.max(y-k,C),C=Math.min(u,C),_&&o.css({top:C+"px"}))))):f>a&&(_=!0,t={position:"sticky",top:C},o.css(t).addClass(h),o.trigger("sticky_kit:stick")),_&&e&&(null==g&&(g=f+k+C>r+c),!v&&g&&(v=!0,"static"===I.css("position")&&I.css({position:"relative"}))))},z=function(){return x(),T()},y=function(){if(m=!0,i.off("touchmove",T),i.off("scroll",T),i.off("resize",z),t(document.body).off("sticky_kit:recalc",z),o.off("sticky_kit:detach",y),o.removeData("sticky_kit"),o.css({position:"",bottom:"",top:"",width:""}),I.position("position",""),_)return o.removeClass(h)},i.on("touchmove",T),i.on("scroll",T),i.on("resize",z),t(document.body).on("sticky_kit:recalc",z),o.on("sticky_kit:detach",y),setTimeout(T,0)}},r=0,a=this.length;r<a;r++)n=this[r],c(t(n));return this}}).call(this);