PageSourceSearch

https://www.kingschester.co.uk/wp-content/themes/rowan-child/js/child-app.js?ver=1.1.6

js kingschester.co.uk collected 2026-10-02 10:00:48 UTC 6,683 bytes, 4 lines download raw bytes

1!function (e) { "use strict"; var n = {}; n.defaults = { trigger: ".beefup__head", content: ".beefup__body", openClass: "is-open", animation: "slide", openSpeed: 200, closeSpeed: 200, scroll: !1, scrollSpeed: 400, scrollOffset: 0, openSingle: !1, stayOpen: null, selfClose: !1, selfBlock: !1, hash: !0, breakpoints: null, onInit: function () { }, onOpen: function () { }, onClose: function () { }, onScroll: function () { } }, n.methods = { getVars: function (t) { var o = e.extend(!0, {}, t.data("beefup"), t.data("beefup-options")); return o.breakpoints && (o = n.methods.getResponsiveVars(o)), o }, getResponsiveVars: function (n) { var t = window.innerWidth || e(window).width(); return n.breakpoints.sort(function (e, n) { return e.breakpoint < n.breakpoint ? -1 : e.breakpoint > n.breakpoint ? 1 : 0 }), e.each(n.breakpoints, function (o, s) { t > s.breakpoint && (n = e.extend({}, n, s.settings)) }), n }, animation: function (e, n, t, o) { switch (e) { case "slideDown": n.slideDown(t, o); break; case "slideUp": n.slideUp(t, o); break; case "fadeIn": n.fadeIn(t, o); break; case "fadeOut": n.fadeOut(t, o); break; case "show": n.show(t, o); break; case "hide": n.hide(t, o) } }, getStayOpen: function (e, n) { var t; return "number" == typeof n ? t = e.eq(n) : "string" == typeof n && (t = e.filter(n)), t }, selfClose: function (t, o) { e(document).on("click", function (s) { var i; e(s.target).closest(t).length || (i = t.filter("." + o.openClass), null !== o.stayOpen && (i = i.not(n.methods.getStayOpen(t, o.stayOpen))), i.length && t.close(i)) }) }, hash: function (n, t) { var o = function () { var e = n.filter(window.location.hash); e.length && !e.hasClass(t.openClass) && n.click(e) }; o(), e(window).on("hashchange", o) } }, e.fn.beefup = function (t) { var o = this; return this.open = function (t, s) { return t && t.length || (t = o), t.each(function () { var t = e(this), o = n.methods.getVars(t), i = t.find(o.content + ":first"), a = "slide" === o.animation ? "slideDown" : "fade" === o.animation ? "fadeIn" : "show"; n.methods.animation(a, i, o.openSpeed, function () { t.addClass(o.openClass), i.css("overflow", ""), s && "function" == typeof s && s(), o.onOpen && "function" == typeof o.onOpen && o.onOpen(t) }) }), o }, this.close = function (t, s) { return t && t.length || (t = o), t.each(function () { var t = e(this), o = n.methods.getVars(t), i = t.find(o.content + ":first"), a = "slide" === o.animation ? "slideUp" : "fade" === o.animation ? "fadeOut" : "hide"; n.methods.animation(a, i, o.closeSpeed, function () { t.removeClass(o.openClass), i.css("overflow", ""), s && "function" == typeof s && s(), o.onClose && "function" == typeof o.onClose && o.onClose(t) }) }), o }, this.scroll = function (t) { var s = n.methods.getVars(t); return e("html, body").animate({ scrollTop: t.offset().top + s.scrollOffset }, s.scrollSpeed).promise().done(function () { s.onScroll && "function" == typeof s.onScroll && s.onScroll(t) }), o }, this.click = function (e) { var t = n.methods.getVars(e); return t.openSingle && (null !== t.stayOpen ? o.close(o.not(e).not(n.methods.getStayOpen(o, t.stayOpen))) : o.close(o.not(e))), e.hasClass(t.openClass) ? t.selfBlock || o.close(e) : o.open(e, function () { t.scroll && o.scroll(e) }), o }, this.each(function (s, i) { var a = e(i), l = e.extend({}, n.defaults, t, a.data("beefup-options")); a.data("beefup") || (a.data("beefup", l), l.breakpoints && (l = n.methods.getResponsiveVars(l)), null !== l.stayOpen && a.is(n.methods.getStayOpen(o, l.stayOpen)) && a.addClass(l.openClass), a.not("." + l.openClass).find(l.content + ":first").hide(), l.onInit && "function" == typeof l.onInit && l.onInit(a), a.on("click", l.trigger + ":first", function (e) { e.preventDefault(), o.click(a) }), 0 === s && (l.hash && n.methods.hash(o, l), l.selfClose && n.methods.selfClose(o, l))) }) } }(jQuery);
2!function (t) { "use strict"; t.fn.fitVids = function (e) { var i = { customSelector: null, ignore: null }; if (!document.getElementById("fit-vids-style")) { var r = document.head || document.getElementsByTagName("head")[0], a = ".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}", d = document.createElement("div"); d.innerHTML = '<p>
2x</p><style id="fit-vids-style">' + a + "</style>", r.appendChild(d.childNodes[1]) } return e && t.extend(i, e), this.each(function () { var e = ['iframe[src*="player.vimeo.com"]', 'iframe[src*="youtube.com"]', 'iframe[src*="youtube-nocookie.com"]', 'iframe[src*="kickstarter.com"][src*="video.html"]', "object", "embed"]; i.customSelector && e.push(i.customSelector); var r = ".fitvidsignore"; i.ignore && (r = r + ", " + i.ignore); var a = t(this).find(e.join(",")); a = a.not("object object"), a = a.not(r), a.each(function () { var e = t(this); if (!(e.parents(r).length > 0 || "embed" === this.tagName.toLowerCase() && e.parent("object").length || e.parent(".fluid-width-video-wrapper").length)) { e.css("height") || e.css("width") || !isNaN(e.attr("height")) && !isNaN(e.attr("width")) || (e.attr("height", 9), e.attr("width", 16)); var i = "object" === this.tagName.toLowerCase() || e.attr("height") && !isNaN(parseInt(e.attr("height"), 10)) ? parseInt(e.attr("height"), 10) : e.height(), a = isNaN(parseInt(e.attr("width"), 10)) ? e.width() : parseInt(e.attr("width"), 10), d = i / a; if (!e.attr("name")) { var o = "fitvid" + t.fn.fitVids._count; e.attr("name", o), t.fn.fitVids._count++ } e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top", 100 * d + "%"), e.removeAttr("height").removeAttr("width") } }) }) }, t.fn.fitVids._count = 0 }(window.jQuery || window.Zepto);
3!function (t) { t(document).ready(function () { t(".beefup").beefup(), t(".beefup_inner").beefup(); const e = new Plyr("#theatre"); t(window).width() > 1024 && t(".theatre-container-playlist").css("height", t(".plyr").height() + "px"), t(window).on("resize", function () { t(this).width() > 1024 ? t(".theatre-container-playlist").css("height", t(".plyr").height() + "px") : t(".theatre-container-playlist").css("height", "auto") }), t(".theatre-container-playlist-item:not(:first-child)").on("click", function () { if (!t(this).hasClass("active")) { var i = t(this).data("video-id"), a = t(this).data("location"); e.source = { type: "video", sources: [{ src: i, provider: a }] }, t(".theatre-container-playlist-item").removeClass("active"), t(this).addClass("active") } }) }) }(jQuery);
4!function (i) { i(document).ready(function () { i(".fitvids").fitVids() }) }(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.