1(function (e) { 2 "use strict"; 3 4 function t(e) { 5 var t = e.item.count - 1, 6 a = Math.round(e.item.index - e.item.count / 2 - .5); 7 a < 0 && (a = t), a > t && (a = 0), d.find(".owl-item").removeClass("current").eq(a).addClass("current"); 8 var n = d.find(".owl-item.active").length - 1, 9 o = d.find(".owl-item.active").first().index(), 10 i = d.find(".owl-item.active").last().index(); 11 a > i && d.data("owl.carousel").to(a, 100, !0), a < o && d.data("owl.carousel").to(a - n, 100, !0) 12 } 13 14 function a(e) { 15 if (u) { 16 var t = e.item.index; 17 r.data("owl.carousel").to(t, 100, !0) 18 } 19 } 20 21 function n() { 22 e("#blowOutMenu").animate({ 23 top: 0 24 }, 400), e("#bogradient").css("height", "100%"), e("body").addClass("no-scroll") 25 } 26 27 function o() { 28 e("#blowOutMenu").animate({ 29 top: "-100%" 30 }, 200), e("#bogradient").css("height", "auto"), e("body").removeClass("no-scroll") 31 } 32 33 function i() { 34 var t = e(window).height(), 35 a = (e("#masthead").height(), e(".home-nav").height(), t - 200); 36 l > 600 && e(".home-slider").height(a + "px") 37 } 38 39 function c(e) { 40 var t = new RegExp("[?&]" + e + "=([^&#]*)").exec(window.location.href); 41 return null == t ? null : t[1] || 0 42 } 43 var s = 0, 44 l = e(window).width(); 45 e(".home-slider").length && (i(), e(window).resize(function () { 46 i() 47 })), e('[data-toggle="popover"]').popover({ 48 trigger: "hover" 49 }), e(document).on("click", ".ext-link", function () { 50 var t = e(this).data("url"); 51 "" != t && null != t && (location.href = t) 52 }), e(document).mouseup(function (t) { 53 var a = e(".search-bar"); 54 a.is(t.target) || 0 !== a.has(t.target).length || (e(".search-bar").removeClass("open"), e('.search-bar input[name="search"]').val(""), e("search-bar .search-btn").html('Search <i class="fa fa-search" aria-hidden="true"></i>')); 55 a = e("#editmenu"); 56 var n = e(".edit-btn"); 57 a.is(t.target) || 0 !== a.has(t.target).length || n.is(t.target) || 0 !== n.has(t.target).length || (e("#editmenu").animate({ 58 top: "-250%" 59 }, 300), e("#editmenu").removeClass("open"), e("#eptext").removeClass("open")) 60 }); 61 var r = e("#big"), 62 d = e("#thumbs"), 63 u = !0; 64 r.owlCarousel({ 65 items: 1, 66 slideSpeed: 2e3, 67 nav: !1, 68 autoplay: 8e3, 69 dots: !1, 70 loop: !0, 71 video: !0, 72 lazyLoad: !0, 73 center: !0, 74 responsiveRefreshRate: 200, 75 autoplayHoverPause: !0, 76 autoplayTimeout: 8e3, 77 navText: ['<i class="fa fa-chevron-left" aria-hidden="true"></i>', '<i class="fa fa-chevron-right" aria-hidden="true"></i>'] 78 }).on("changed.owl.carousel", t), d.on("initialized.owl.carousel", function () { 79 d.find(".owl-item").eq(0).addClass("current") 80 }).owlCarousel({ 81 responsive: { 82 0: { 83 items: 1 84 }, 85 640: { 86 items: 4 87 } 88 }, 89 dots: !1, 90 nav: !1, 91 navText: ['<i class="fa fa-arrow-left" aria-hidden="true"></i>', '<i class="fa fa-arrow-right" aria-hidden="true"></i>'], 92 smartSpeed: 2e3, 93 slideSpeed: 5e3, 94 slideBy: 1, 95 responsiveRefreshRate: 100 96 }).on("changed.owl.carousel", a), d.on("click", ".owl-item", function (t) { 97 t.preventDefault(); 98 var a = e(this).index(); 99 r.data("owl.carousel").to(a, 300, !0) 100 }), d.on("mouseover", ".owl-item", function (t) { 101 t.preventDefault(); 102 var a = e(this).index(); 103 r.data("owl.carousel").to(a, 300, !0) 104 }), e(".spotlight-carousel").owlCarousel({ 105 loop: !0, 106 margin: 20, 107 responsiveClass: !0, 108 responsive: { 109 0: { 110 items: 1, 111 nav: !0 112 }, 113 600: { 114 items: 3, 115 nav: !1 116 }, 117 1000: { 118 items: 3, 119 nav: !0, 120 loop: !1 121 } 122 }, 123 navText: ['<i class="fa fa-caret-left" aria-hidden="true"></i>', '<i class="fa fa-caret-right" aria-hidden="true"></i>'] 124 }), e(document).on("click", ".openBlowOut", function () { 125 n() 126 }), e(document).on("click", ".closeBlowout", function () { 127 o() 128 }), e(".transitiona, a").each(function (t) { 129 e(this).addClass("transition-all") 130 }), e(document).on("click", ".search-bar", function () { 131 e(this).addClass("open"), e('.search-bar input[name="search"]').focus(), e(".search-btn").html('<i class="fa fa-search" aria-hidden="true"></i>') 132 }), e(document).on("click", ".page-edit-btn", function () { 133 e(this).hide(), e("#edit_page_container").show(), e("#page-content").hide() 134 }), e(document).on("click", ".cancelPageEditBtn", function () { 135 e(".page-edit-btn").show(), e("#edit_page_container").hide(), e("#page-content").show() 136 }), e(document).on("click", ".savePageEditBtn", function () { 137 e("#page_content_html").val(tinyMCE.get("edit_textarea").getContent()); 138 var t = e("#editPageFrm").serializeArray(); 139 t.push({ 140 name: "action", 141 value: "save_edit_page" 142 }), e(".savePageEditBtn").html('<i class="fa fa-spinner fa-pulse fa-lg fa-fw"></i> Saving'), e(".savePageEditBtn").prop("disabled", !0), e.ajax({ 143 type: "post", 144 url: oAjax.ajax_url, 145 data: t, 146 success: function (t) { 147 console.log(t); 148 var a = e.parseJSON(t); 149 1 == a.code && (e("#page-content").html(e("#page_content_html").val()), e(".page-edit-btn").show(), e("#edit_page_container").hide(), e("#page-content").show()), e(".savePageEditBtn").html("Save Changes"), e(".
149savePageEditBtn").prop("disabled", !1) 150 }, 151 error: function (t, a) { 152 console.log(t + " - " + a), e(".savePageEditBtn").html("Save Changes"), e(".savePageEditBtn").prop("disabled", !1) 153 } 154 }) 155 }), e(document).on("keyup", "[name=search_edit_pages]", function (t) { 156 var a = e(this).val(); 157 a.length > 2 && e.ajax({ 158 type: "post", 159 url: oAjax.ajax_url, 160 data: { 161 action: "edit_page_search", 162 val: a 163 }, 164 success: function (t) { 165 console.log(t); 166 var a = e.parseJSON(t); 167 if (null != a.pages && a.pages.length > 0) { 168 var n = ""; 169 e.each(a.pages, function (e, t) { 170 console.log(t.ID), n += '<div><a href="' + t.link + '"><h3 class="edit-section-title">' + t.post_title + "</h3><p>" + t.content + "</p></a></div>" 171 }), e(".edit-search-page-results").html(n) 172 } else e(".edit-search-page-results").html('<div class="no-results">No Results</div>') 173 }, 174 error: function (e, t) { 175 console.log(e + " - " + t) 176 } 177 }) 178 }), e(".navbar-nav li").each(function () { 179 e(this).height() > s && (s = e(this).height()) 180 }), l > 600 && e(".navbar-nav li").height(s), e(document).on("click", ".edit-btn", function () { 181 e("#editmenu").hasClass("open") ? (e("#editmenu").animate({ 182 top: "-250%" 183 }, 300), e("#editmenu").removeClass("open"), e("#eptext").removeClass("open")) : (e("#editmenu").animate({ 184 top: "45px" 185 }, 300), e(".edit-search-pages input").focus(), e("#editmenu").addClass("open"), e("#eptext").addClass("open")) 186 }), e(document).on("click", "#mobile-nav-open", function () { 187 e(".site-navigation").hasClass("open") ? (e(".site-navigation").removeClass("open"), e(".site-navigation ul").animate({ 188 left: "-100%" 189 })) : (e(".site-navigation").addClass("open"), e(".site-navigation ul").animate({ 190 left: "0" 191 })) 192 }), e(document).on("click", "#mobile-nav-close", function () { 193 e(".site-navigation").removeClass("open"), e(".site-navigation ul").animate({ 194 left: "-100%" 195 }) 196 }), e(document).on("click", ".chooseProgramLocation", function () { 197 var t = !1; 198 e(this).find(".dashicons-saved").length && (t = !0); 199 var a = e(this).text(), 200 n = window.location.search, 201 o = hccObj.site_url + "/programs/"; 202 window.location.href.indexOf("career-technical-programs") > -1 ? o += "career-technical-programs/" : window.location.href.indexOf("academic-programs") > -1 && (o += "academic-programs/"), o += window.location.search; 203 var i = "?"; 204 n.indexOf("?") > -1 && (i = "&"), -1 == n.indexOf("campus[]=" + a) && (o += i + "campus[]=" + a), 1 == t && (o = o.replace("&campus[]=" + a, "").replace("?campus[]=" + a + "&", "?").replace("?campus[]=" + a, "")), window.location.href = o 205 }), e("iframe").length && e("iframe").each(function (t) { 206 var a = e(this), 207 n = a.attr("src"), 208 //o = n.match(/youtube\.com.*(\?v=|\/embed\/)(.{11})/).pop(); 209 o = 1; 210 if (11 == o.length) { 211 var i = '<img src="//img.youtube.com/vi/' + o + '/0.jpg">'; 212 e(this).before('<div id="new_vid_' + t + '" class="new_vid_wrapper"></div>'), e(this).remove(), e("#new_vid_" + t).html('<a data-fancybox="" href="' + n + '">' + i + "</a>") 213 } 214 }), e("#thank-you-item").each(function () { 215 let t = c("interest"); 216 t = t.replace(/\+/g, " "), console.log(`paramIt: ${t}`); 217 let a = e(this).text().replace("with ", `with ${t}`); 218 e(this).text(a), gtag("event", "conversion", { 219 send_to: "AW-949448775/eEjECP6Yl90CEMfg3cQD" 220 }) 221 }); 222 var h = "https://hccapp.holmescc.edu/ruready_orientation/index.cfm"; 223 e(document).on("click", "#enroll-now", () => { 224 gtag("event", "click", { 225 event_category: "Button Click", 226 event_label: "Enroll", 227 value: 750, 228 event_callback: function () { 229 document.location = h 230 } 231 }), console.log("Event: Enroll Now") 232 }), e(document).on("click", "#mc-embedded-subscribe", () => { 233 gtag("event", "click", { 234 event_category: "Button Click", 235 event_label: "Request Info / MC", 236 value: 1 237 }), console.log("Request Info / MC") 238 }), e(document).on("click", "#crsAll", () => { 239 window.location = "./course-description/" 240 }), e(document).on("click", "#crsAcademic", () => { 241 window.location = "./course-description/?coll=a" 242 }), e(document).on("click", "#crsTechnical", () => { 243 window.location = "./course-description/?coll=t" 244 }), e(document).on("click", "#crsVocational", () => { 245 window.location = "./course-description/?coll=v" 246 }), e(document).on("click", "enrollNowBtn", () => { 247 var t = e(document).attr("title"); 248 console.log("Main BTN Clicked"), gtag("event", "enroll_now_ btn", { 249 debug_mode: !0, 250 page_title: t 251 }) 252 }) 253})(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.