1// !(function () { 2// "use strict"; 3// function e(e, t) { 4// (null == t || t > e.length) && (t = e.length); 5// for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n]; 6// return a; 7// } 8// function t(t, n) { 9// var a; 10// if ("undefined" == typeof Symbol || null == t[Symbol.iterator]) { 11// if ( 12// Array.isArray(t) || 13// (a = (function (t, n) { 14// if (t) { 15// if ("string" == typeof t) return e(t, void 0); 16// var a = Object.prototype.toString.call(t).slice(8, -1); 17// return ( 18// "Object" === a && t.constructor && (a = t.constructor.name), 19// "Map" === a || "Set" === a 20// ? Array.from(t) 21// : "Arguments" === a || 22// /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a) 23// ? e(t, void 0) 24// : void 0 25// ); 26// } 27// })(t)) || 28// (n && t && "number" == typeof t.length) 29// ) { 30// a && (t = a); 31// var o = 0, 32// r = function () {}; 33// return { 34// s: r, 35// n: function () { 36// return o >= t.length ? { done: !0 } : { done: !1, value: t[o++] }; 37// }, 38// e: function (e) { 39// throw e; 40// }, 41// f: r, 42// }; 43// } 44// throw new TypeError( 45// "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." 46// ); 47// } 48// var i, 49// s = !0, 50// u = !1; 51// return { 52// s: function () { 53// a = t[Symbol.iterator](); 54// }, 55// n: function () { 56// var e = a.next(); 57// return (s = e.done), e; 58// }, 59// e: function (e) { 60// (u = !0), (i = e); 61// }, 62// f: function () { 63// try { 64// s || null == a.return || a.return(); 65// } finally { 66// if (u) throw i; 67// } 68// }, 69// }; 70// } 71// !(function () { 72// var e, 73// n = document.getElementById("site-navigation"), 74// a = document.getElementById("masthead"), 75// o = document.getElementsByClassName("iscbc-hero"), 76// r = n.getElementsByTagName("button")[0], 77// i = document.getElementById("searchButton"), 78// s = n.getElementsByTagName("ul")[0], 79// u = "ontouchstart" in window || navigator.msMaxTouchPoints; 80// if ( 81// n && 82// (0 === o.length && 83// (a.classList.add("reversed"), 84// (document.body.style.paddingTop = a.offsetHeight + "px")), 85// void 0 !== r) 86// ) 87// if (void 0 !== s) { 88// s.classList.contains("nav-menu") || s.classList.add("nav-menu"), 89// u || 90// document 91// .querySelectorAll( 92// "#primary-menu > .menu-item-object-mega_menu_panel > a" 93// ) 94// .forEach(function (e) { 95// e.addEventListener("click", function (e) { 96// if ((e.preventDefault(), window.innerWidth < 1200)) { 97// var n, 98// o = this.parentNode, 99// r = t(o.parentNode.children); 100// try { 101// for (r.s(); !(n = r.n()).done; ) { 102// var i = n.value; 103// o !== i && 104// (i.classList.remove("focus"), 105// a.classList.remove("mega-menu-open")); 106// } 107// } catch (e) { 108// r.e(e); 109// } finally { 110// r.f(); 111// } 112// o.classList.toggle("focus"); 113// } 114// }); 115// }), 116// document 117// .querySelectorAll("#primary-menu > li.menu-item") 118// .forEach(function (t) { 119// var n, 120// o = 121// ((n = t), 122// ".mega-menu", 123// [].some.call(n.children, function (e) { 124// return e.matches(".mega-menu"); 125// })); 126// t.addEventListener("mouseenter", function () { 127// clearTimeout(e), 128// d(t),
129// a.classList.add("mega-menu-open"), 130// o && t.classList.add("mega-menu-open"); 131// }), 132// o || 133// t.addEventListener("mouseleave", function () { 134// e = setTimeout(function () { 135// a.classList.remove("mega-menu-open"); 136// }, 500); 137// }); 138// }), 139// document.querySelectorAll(".mega-menu").forEach(function (t) { 140// t.addEventListener("mouseenter", function () { 141// clearTimeout(e); 142// }), 143// t.addEventListener("mouseleave", function () { 144// e = setTimeout(function () { 145// a.classList.remove("mega-menu-open"), d(); 146// }, 500); 147// }); 148// }), 149// i.addEventListener("click", function () { 150// i.classList.toggle("toggled"), a.classList.toggle("search-open"); 151// var e = document.getElementById("searchInput"); 152// "true" === i.getAttribute("aria-expanded") 153// ? i.setAttribute("aria-expanded", "false") 154// : (i.setAttribute("aria-expanded", "true"), 155// (e.value = ""), 156// e.focus()); 157// }), 158// r.addEventListener("click", function () { 159// n.classList.toggle("toggled"), 160// a.classList.toggle("toggled"), 161// "true" === r.getAttribute("aria-expanded") 162// ? (r.setAttribute("aria-expanded", "false"), 163// a.classList.remove("mega-menu-open")) 164// : r.setAttribute("aria-expanded", "true"); 165// }), 166// document.addEventListener("click", function (e) { 167// n.contains(e.target) || 168// (n.classList.remove("toggled"), 169// r.setAttribute("aria-expanded", "false"), 170// a.classList.remove("mega-menu-open")); 171// }), 172// s.getElementsByTagName("a"); 173// var c = s.querySelectorAll( 174// ".menu-item-has-children > a, .page_item_has_children > a" 175// ); 176// if (u) { 177// var l, 178// m = t(c); 179// try { 180// for (m.s(); !(l = m.n()).done; ) 181// l.value.addEventListener("touchstart", f, !1); 182// } catch (e) { 183// m.e(e); 184// } finally { 185// m.f(); 186// } 187// } 188// } else r.style.display = "none"; 189// function d(e) { 190// document 191// .querySelectorAll("#primary-menu > .menu-item") 192// .forEach(function (t) { 193// e !== t && t.classList.remove("mega-menu-open"); 194// }); 195// } 196// function f(e) { 197// if ((console.log("toggleFocus: " + e.type), "touchstart" === e.type)) { 198// var n, 199// o = this.parentNode, 200// r = t(o.parentNode.children); 201// try { 202// for (r.s(); !(n = r.n()).done; ) { 203// var i = n.value; 204// o !== i && 205// (i.classList.remove("focus"), 206// a.classList.remove("mega-menu-open")); 207// } 208// } catch (e) { 209// r.e(e); 210// } finally { 211// r.f(); 212// } 213// o.classList.toggle("focus"); 214// } 215// } 216// })(); 217// })(); 218//# sourceMappingURL=navigation.min.js.map 219 220jQuery(function ($) { 221 // Header Sub-menu show/hide 222 $("#primary-menu > li").on("mouseenter", function () { 223 $(this).children().siblings(".sub-menu").addClass("active"); 224 }); 225 226 $("#primary-menu > li").on("mouseleave", function () { 227 $(this).children().siblings(".sub-menu").removeClass("active"); 228 }); 229 230 // Follow us Show/Hide 231 $("#menu-secondary-menu li:last-child()").on("click", function (e) { 232 e.preventDefault(); 233 $(".menu-social-wrapper").toggleClass("so-hidden"); 234 }); 235 236 // Change Pagination in News Page 237 $(document).ready(function () { 238 $(".next.page-link").each(function () { 239 var text = $(this).text(); 240 if (text === "»") { 241 $(this).html("<i class='fa-solid fa-chevron-right'></i>"); 242 } 243 }); 244 $(".prev.page-link").each(function () { 245 var text = $(this).text(); 246 if (text === "«") { 247 $(this).html("<i class='fa-solid fa-chevron-left'></i>"); 248 } 249 }); 250 }); 251 252 // ACF Hero Gradient 253 // $(document).ready(function () { 254 // function adjustGradient() { 255 // var width = $(window).width(); 256 // var heroDiv = $(".page-hero-acf"); 257 // var imageUrl = heroDiv.css("background-image").split(",")[1]; // grab the image URL part 258 259 // if (width >= 1200) { 260 // heroDiv.css( 261 // "background-image", 262 // "linear-gradient(90deg, rgba(12, 20, 30, 0.72) 28%, rgba(10, 32, 57, 0) 100%), " + 263 // imageUrl 264 // ); 265 // } else { 266 // heroDiv.css( 267 // "background-image", 268 // "linear-gradient(180deg, rgba(12, 20, 30, 0.72) 28%, rgba(10, 32, 57, 0) 100%), " + 269 // imageUrl 270 // ); 271 // } 272 // } 273 274 // // Adjust gradient on window resize and on page load 275 // $(window).on("resize", adjustGradient); 276 // adjustGradient(); // call once at the beginning 277 // }); 278 279 // Check if page header 280 // $(document).ready(function () { 281 // if ($(".iscbc-hero").length > 0 || $(".page-hero-acf").length > 0) { 282 // $("#masthead.site-header").addClass("gradient"); 283 // } 284 // }); 285});
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.