PageSourceSearch

https://cdn.spinupwp.com/wp-content/themes/spinupwp/assets/js/vendor/sticky-thead.min.js?ver=1732630909

js spinupwp.com collected 2026-10-02 03:34:16 UTC 5,457 bytes, 1 lines download raw bytes

1!function(s,a){"use strict";function t(e,i){var l=this;l.$el=s(e),l.el=e,l.id=o++,l.$el.bind("destroyed",s.proxy(l.teardown,l)),l.$clonedHeader=null,l.$originalHeader=null,l.cachedHeaderHeight=null,l.isSticky=!1,l.hasBeenSticky=!1,l.leftOffset=null,l.topOffset=null,l.init=function(){l.setOptions(i),l.$el.each(function(){var e=s(this);e.css("padding",0),l.$originalHeader=s("thead:first",this),l.$clonedHeader=l.$originalHeader.clone(),e.trigger("clonedHeader."+r,[l.$clonedHeader]),l.$clonedHeader.addClass("tableFloatingHeader"),l.$clonedHeader.css({display:"none",opacity:0}),l.$originalHeader.addClass("tableFloatingHeaderOriginal"),l.$originalHeader.after(l.$clonedHeader),l.$printStyle=s('<style type="text/css" media="print">.tableFloatingHeader{display:none !important;}.tableFloatingHeaderOriginal{position:static !important;}</style>'),l.$head.append(l.$printStyle)}),l.$clonedHeader.find("input, select").attr("disabled",!0),l.updateWidth(),l.toggleHeaders(),l.bind()},l.destroy=function(){l.$el.unbind("destroyed",l.teardown),l.teardown()},l.teardown=function(){l.isSticky&&l.$originalHeader.css("position","static"),s.removeData(l.el,"plugin_"+r),l.unbind(),l.$clonedHeader.remove(),l.$originalHeader.removeClass("tableFloatingHeaderOriginal"),l.$originalHeader.css("visibility","visible"),l.$printStyle.remove(),l.el=null,l.$el=null},l.bind=function(){l.$scrollableArea.on("scroll."+r,l.toggleHeaders),l.isWindowScrolling||(l.$window.on("scroll."+r+l.id,l.setPositionValues),l.$window.on("resize."+r+l.id,l.toggleHeaders)),l.$scrollableArea.on("resize."+r,l.toggleHeaders),l.$scrollableArea.on("resize."+r,l.updateWidth)},l.unbind=function(){l.$scrollableArea.off("."+r,l.toggleHeaders),l.isWindowScrolling||(l.$window.off("."+r+l.id,l.setPositionValues),l.$window.off("."+r+l.id,l.toggleHeaders)),l.$scrollableArea.off("."+r,l.updateWidth)},l.debounce=function(t,o){var n=null;return function(){var e=this,i=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(e,i)},o)}},l.toggleHeaders=l.debounce(function(){l.$el&&l.$el.each(function(){var e,i=s(this),t=l.isWindowScrolling?isNaN(l.options.fixedOffset)?l.options.fixedOffset.outerHeight():l.options.fixedOffset:l.$scrollableArea.offset().top+(isNaN(l.options.fixedOffset)?0:l.options.fixedOffset),o=i.offset(),n=l.$scrollableArea.scrollTop()+t,d=l.$scrollableArea.scrollLeft(),a=l.isWindowScrolling?n>o.top:t>o.top;a&&(e=l.options.cacheHeaderHeight?l.cachedHeaderHeight:l.$clonedHeader.height(),e=(l.isWindowScrolling?n:0)<o.top+i.height()-e-(l.isWindowScrolling?0:t)),a&&e?(d=o.left-d+l.options.leftOffset,l.$originalHeader.css({position:"fixed",background:"rgba(25,12,53,.92)","box-shadow":"0px 1px 8px rgba(0, 0, 0, 0.4)","margin-top":l.options.marginTop,top:0,left:d,"z-index":l.options.zIndex}),l.leftOffset=d,l.topOffset=t,l.$clonedHeader.css("display",""),l.isSticky||(l.isSticky=!0,l.updateWidth(),i.trigger("enabledStickiness."+r)),l.setPositionValues()):l.isSticky&&(l.$originalHeader.css({position:"static",background:"none","box-shadow":"none"}),l.$clonedHeader.css("display","none"),l.isSticky=!1,l.resetWidth(s("td,th",l.$clonedHeader),s("td,th",l.$originalHeader)),i.trigger("disabledStickiness."+r))})},0),l.setPositionValues=l.debounce(function(){var e=l.$window.scrollTop(),i=l.$window.scrollLeft();!l.isSticky||e<0||e+l.$window.height()>l.$document.height()||i<0||i+l.$window.width()>l.$document.width()||l.$originalHeader.css({top:l.topOffset-(l.isWindowScrolling?0:e),left:l.leftOffset-(l.isWindowScrolling?0:i)})},0),l.updateWidth=l.debounce(function(){var e;l.isSticky&&(l.$originalHeaderCells||(l.$originalHeaderCells=s("th,td",l.$originalHeader)),l.$clonedHeaderCells||(l.$clonedHeaderCells=s("th,td",l.$clonedHeader)),e=l.getWidth(l.$clonedHeaderCells),l.setWidth(e,l.$clonedHeaderCells,l.$originalHeaderCells),l.$originalHeader.css("width",l.$clonedHeader.width()),l.options.cacheHeaderHeight&&(l.cachedHeaderHeight=l.$clonedHeader.height()))},0),l.getWidth=function(e){var d=[];return e.each(function(e){var i,t,o,n=s(this);n="border-box"===n.css("box-sizing")?(o=n[0].getBoundingClientRect()).width||o.right-o.left:"collapse"===s("th",l.$originalHeader).css("border-collapse")?a.getComputedStyle?parseFloat(a.getComputedStyle(this,null).width):(i=parseFloat(n.css("padding-left")),t=parseFloat(n.css("padding-right")),o=parseFloat(n.css("border-width")),n.outerWidth()-i-t-o):n.width(),d[e]=n}),d},l.setWidth=function(t,e,o){e.each(function(e){var i=t[e];o.eq(e).css({"min-width":i,"max-width":i})})},l.resetWidth=function(e,t){e.each(function(e){var i=s(this);t.eq(e).css({"min-width":i.css("min-width"),"max-width":i.css("max-width")})})},l.setOptions=function(e){l.options=s.extend({},n,e),l.$window=s(l.options.objWindow),l.$head=s(l.options.objHead),l.$document=s(l.options.objDocument),l.$scrollableArea=s(l.options.scrollableArea),l.isWindowScrolling=l.$scrollableArea[0]===l.$window[0]},l.updateOptions=function(e){l.setOptions(e),l.unbind(),l.bind(),l.updateWidth(),l.toggleHeaders()}
1,l.init()}var r,o,n;1024<=s(a).width()&&(r="stickyTableHeaders",n={fixedOffset:o=0,leftOffset:0,marginTop:0,objDocument:document,objHead:"head",objWindow:a,scrollableArea:a,cacheHeaderHeight:!1,zIndex:9999},s.fn[r]=function(i){return this.each(function(){var e=s.data(this,"plugin_"+r);e?"string"==typeof i?e[i].apply(e):e.updateOptions(i):"destroy"!==i&&s.data(this,"plugin_"+r,new t(this,i))})},s(".sticky-table-header").stickyTableHeaders())}(jQuery,window);

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.