1!function(e){"use strict";var t=e(window),a=e(document),i=e("#masthead.site-header"),d=e("#content"),o=(e("body"),e("#wpadminbar"),i.find(".site-header-main")),s={},h=e("#page"),r=i.attr("data-sticky-status"),n=e("#sticky-site-header"),l=!1,c=i.hasClass("site-header-layout-default")&&i.hasClass("overlap-header"),y=n.length||o.length,o=o.length?o:i;n.length?l=!0:n=i,s={init:function(){var s;i.length&&d.length&&y&&((s=this).maybeStickySiteHeader(patiotimeParseInt(t.scrollTop()),!1),t.one("load",function(){s.maybeStickySiteHeader(patiotimeParseInt(t.scrollTop()),!1),a.on("scrolling.patiotime.window",function(e,t){t&&s.maybeStickySiteHeader(patiotimeParseInt(t.top),t.goUp)}).on("resize.patiotime.window",function(e,t){t&&(i.removeAttr("data-sticky-threhhold"),s.maybeStickySiteHeader(patiotimeParseInt(t.top),t.goUp))})}))},getStickyThreshold:function(){if(i.hasClass("hide"))return 0;if(i.data("sticky-threhhold"))return i.data("sticky-threhhold");var e=parseInt(i.outerHeight(!0,!0),10)+patiotimeParseInt(h.offset().top);return i.data("sticky-threhhold",e),e},maybeStickySiteHeader:function(e,t){var s,a;"disable"!=r&&(s=this.getStickyThreshold(),a=o.outerHeight(!0,!0),"always-enable"==r?!n.hasClass("sticky")&&s<=e?(n.addClass("sticky"),l?(a="",n.removeClass("hide")):c&&(a=""),d.css("padding-top",a)):n.hasClass("sticky")&&e<s&&(n.removeClass("sticky"),l&&n.addClass("hide"),d.css("padding-top","")):!n.hasClass("is-sticky")&&s<=e?(n.addClass("is-sticky"),l?(a="",n.removeClass("hide")):c&&(a=""),d.css("padding-top",a)):!t&&n.hasClass("is-sticky")?n.removeClass("show-header").addClass("hide-header"):t&&n.hasClass("is-sticky")&&s<=e?n.removeClass("hide-header").addClass("show-header"):n.hasClass("is-sticky")&&e<s&&(n.removeClass("is-sticky show-header hide-header"),l&&(a="",n.addClass("hide")),d.css("padding-top","")))}},a.on("patiotime.init",function(){s.init()})}(jQuery);
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.