PageSourceSearch

https://online.populationassociation.org/iprd/libraries/apex/minif…get.stickyTableHeader.min.js?v=20.2.0.00.20

js populationassociation.org collected 2026-09-24 17:46:33 UTC 3,035 bytes, 1 lines download raw bytes

1!function(t,e){"use strict";var i=!1;function r(i,r){var a,n,d=i.find("div.t-fht-thead"),l=i.find("div.t-fht-tbody"),s=d.find("table th:last-child").first();0===d.find("th.t-fht-thead-scroll").length&&((a=t(document.createElement("th"))).addClass("t-fht-thead-scroll"),n=e.getScrollbarSize().width,s.after(a),a.css({width:n,"min-width":n,"max-width":n,margin:"0px",padding:"0px"}),l.height(r))}function a(t,e,i){var r,a;function n(t,e){var i;return t.length>=1&&(i=window.getComputedStyle(t.get(0)).getPropertyValue(e)),i}return(r=parseInt(n(i,"height")))||(r=i.height()),a=r+("collapse"===n(e,"border-collapse")?1:0),-1!==t&&e.height()-a>t}t.fn.setTableHeadersAsFixed=function(e){var n,d,l=/MSIE \d/.test(navigator.userAgent),s=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),h=l||s;if(i||(t("head").append('<style type="text/css">.t-fht-cell { height: 1px; overflow: hidden; } .t-fht-wrapper { width: 100%; overflow: hidden; position: relative; } .t-fht-thead { overflow: hidden; position: relative; } .t-fht-tbody { overflow: auto; } </style>'),i=!0),window.getComputedStyle||(window.getComputedStyle=function(t,e){return this.el=t,this.getPropertyValue=function(e){var i=/(\-([a-z]){1})/g;return"float"==e&&(e="styleFloat"),i.test(e)&&(e=e.replace(i,(function(){return arguments[2].toUpperCase()}))),t.currentStyle[e]?t.currentStyle[e]:null},this}),(n=this).is("table")||(n=this.find("table")),n.length>0)return e=t.extend({},{maxHeight:-1},e),d=0,n.each((function(i,n){var l,s,o,f,c,u,p,g,m,v=e.maxHeight,w=t(n);d+=1,-1==v&&(w.hasClass("mxh480")?v=480:w.hasClass("mxh320")?v=320:w.hasClass("mxh480")&&(v=640)),(l=w.find("tr").first()).find("th").each((function(){t(this).append(t(document.createElement("div")).addClass("t-fht-cell"))})),s=t(document.createElement("div")).addClass("t-fht-wrapper"),(o=t(document.createElement("div")).addClass("t-fht-thead")).attr("id","stickyTableHeader_"+d),o.addClass("js-stickyTableHeader"),c=w.wrap(t(document.createElement("div")).addClass("t-fht-tbody")).parent(),u=w.clone().empty().append(l.clone(!0)).attr("role","presentation").removeAttr("summary").removeAttr("aria-label"),o.append(u),c.before(o),s=o.add(c).wrapAll(s).parent(),a(v,w,l)&&r(s,v),c.scroll((function(){o.scrollLeft(this.scrollLeft)})),o.scroll((function(){c.scrollLeft(this.scrollLeft)})),p=o.find("tr").first().find("th"),g=w.find("tr").first(),m=g.find("td"),f=w.find("td"),w.attr("id",w.attr("id")+"_orig"),m.length<1&&(m=g.find("th")),m.each((function(){t(this).removeAttr("id").find("a").removeAttr("href").attr("role","presentation")})),f.each((function(){t(this).attr("aria-labelledby",t(this).attr("headers"))}));var y=function(){t(".js-stickyTableHeader").next().width("auto"),m.children(".t-fht-cell").each((function(t){var e=this.getBoundingClientRect().width;h&&(t+1)%6==0&&(e-=1),p.eq(t).find(".t-fht-cell").width(e),t++})),w.css("margin-top",-w.find("tr").first().height()),a(v,w,l)&&r(s,v)};t(window).on("apexwindowresized",y),o.on("forceresize",y),y()})),this}}(apex.jQuery,apex.util);

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.