PageSourceSearch

https://wyncoteacademy.org/scCenterLogoLayout.js

js wyncoteacademy.org collected 2026-10-05 09:42:28 UTC 1,624 bytes, 1 lines download raw bytes

1!function(d,l,e,t){var h,g,c,u,s,n=l(d),v=l("body"),f=l(".headerAndNavContainer"),p=l(".headerContainer"),C=l(".headerContent"),m=l(".navContainer"),A=l(".navContent"),W=l("#navTopLevel"),N=W.children();function b(){h.css("margin-right",""),W.css("left",""),f.removeClass("useSplitNav").css("padding",""),v.trigger("updateFixedNav")}function y(e,s,t){var n=0;return e.each(function(e,t){n+=l(t).outerWidth()+s}),n<=t}function a(){if(0===h.length||N.length<=1)return b();var e=d.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=A.outerWidth(),s=C.outerWidth(),n=s+2*u,a=0,i=t/2-s/2;if(2<N.length&&(u=parseInt(N.first().css("margin-right"),10)),l.each(N,function(e,t){l(t).outerWidth()+(0<e?u:0)}),e<768)return b(),!1;if(y(g,u,i)&&y(c,u,i)){f.addClass("useSplitNav"),h.css("margin-right",n+"px"),W.css("left","");var r=h.offset().left+h.outerWidth(),o=p.offset().left;W.css("left",-1*(r-o+u)),p.outerHeight()>m.outerHeight()?(a=p.outerHeight()-m.outerHeight(),(p.hasClass("vAlign1")||p.hasClass("vAlign2"))&&(p.hasClass("vAlign1")&&(a=Math.floor(a/2)),f.css("padding-top",a)),f.hasClass("propHeight")&&(p.hasClass("vAlign0")||p.hasClass("vAlign1"))&&f.css("padding-bottom",a)):f.css("padding",""),v.trigger("updateFixedNav")}else b()}l("html").hasClass("no-csstransforms")?f.removeClass("useSplitNav"):(s=0,2<=N.length&&(s=Math.ceil(N.length/2)-1),u=parseInt(N.first().css("margin-right"),10),h=N.eq(s).addClass("navSplitPoint"),g=h.prevAll().addBack(),c=h.nextAll(),n.on("resize",l.debounce(250,a)).on("fontsLoaded",a),l("body").on("mobileNavDestroyed cssUpdated",a),a())}(this,jQuery,Modernizr);

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.