PageSourceSearch

https://www.dmu.ac.uk/SiteElements/2019/scripts/dmu.ui.init.min.js?version=1475244&build=172184

js dmu.ac.uk collected 2026-10-01 08:42:01 UTC 6,477 bytes, 3 lines download raw bytes

1jQuery.event.special.touchstart={setup:function(_,a,b){this.addEventListener("touchstart",b,{passive:!a.includes("noPreventDefault")})}},jQuery.event.special.touchmove={setup:function(_,a,b){this.addEventListener("touchmove",b,{passive:!a.includes("noPreventDefault")})}},jQuery.event.special.wheel={setup:function(_,b,a){this.addEventListener("wheel",a,{passive:!0})}},jQuery.event.special.mousewheel={setup:function(_,b,a){this.addEventListener("mousewheel",a,{passive:!0})}};const observer=lozad();observer.observe(),function($){$(".search__wrapper,.fbSearch").is(":visible")&&($("input.fbSearch").autocompletion({datasets:{organic:{collection:"dmu-web",profile:"_default",program:"https://dmu-search.clients.uk.funnelback.com/s/suggest.json",show:"10"}},length:3,typeahead:{hint:!0,highlight:!0}}),$('[data-toggle="collapse"]').on("touchstart click",function(a){console.log($(this)+" clicked"),$(this).toggleClass("toggleOn");var b=$(this).data("target");$(b).toggleClass("show"),a.preventDefault()}))}(jQuery);var slideNo=$(".slideshow > div").length;$(".slideshow").cycle({startingSlide:Math.floor(Math.random()*slideNo)});var slides=$(".slideshow").children().length;if(slides<=1&&$(".cycle-pager").css("display","none"),Modernizr.placeholder||$("[placeholder]").focus(function(){var a=$(this);a.val()==a.attr("placeholder")&&(a.val(""),a.removeClass("placeholder"))}).blur(function(){var a=$(this);(""==a.val()||a.val()==a.attr("placeholder"))&&(a.addClass("formPlaceholder"),a.val(a.attr("placeholder")))}).blur().parents("form").submit(function(){$(this).find("[placeholder]").each(function(){var a=$(this);a.val()==a.attr("placeholder")&&a.val("")})}),$(".js-row-visibility").each(function(){var a=$(this),b=a.find(".column > h3:empty").length>0,c=a.find(".column > p:empty").length>0;b&&c&&a.remove()}),""==$.trim($(".details-description").text())&&$(".details-description").remove(),$("#Search_dropDownYear_input").attr("aria-label","result of year dropdown selection"),$("#leftNav").length>0&&$("#leftNav ul").not(":has(li)").remove(),$("p, h1, h2, h3, h4, h5, strong").each(function(){var a=$(this);a.is(":empty")&&a.remove(),0==a.html().replace(/\s|&nbsp;/g,"").length&&a.remove()}),$("#courselisting1_List, #dmu_list1_List").length>0&&($(".sys_itemslist .sys_col-three, .sys_subitem .sys_col-four").each(function(){var a=$(this).text();a=a.replace(/,(?=[^\s])/g,", "),$(this).text(a)}),$("#courselisting1_List table, #dmu_list1_List table").removeAttr("border").removeAttr("cellspacing").removeAttr("cellpadding"),$("#courselisting1_List td, #dmu_list1_List td").removeAttr("valign")),$("#facet-2").length>0&&$(".item-label__text").each(function(){var a=$(this).text();a=a.replace(/,(?=[^\s])/g,", "),$(this).text(a)}),$(".dmu-cards").length>0&&$(".js-event-track-card").on("click",function(){var a=$(this),c=a.closest(".dmu-card").find("a").attr("href");if(a.closest(".dmu-card").find(".dmu-card__header h4").length>0)var b=a.closest(".dmu-card").find(".dmu-card__header h4").text();else var b=a.closest(".dmu-card").find(".dmu-card__body").text();window.dataLayer.push({event:"uiCardClicked",eventCategory:"UI Card Click",eventAction:c,eventLabel:b,eventValue:"1"})}),$(".ui-cards").length>0&&$(".js-event-track-card-legacy").on("click",function(){var a=$(this),b=a.attr("href"),c=a.find(".ui-card__heading").text();window.dataLayer.push({event:"uiCardClicked",eventCategory:"UI Card Click",eventAction:b,eventLabel:c,eventValue:"1"})}),$(".panel--fwtp").length>0&&$(".js-event-track-panel").on("click",function(){var a=$(this),b=a.data("event-label"),c=a.data("event-action");window.dataLayer.push({event:"GAPushTriggered",eventCategory:"UI Panel Click",eventAction:c,eventLabel:b,eventValue:"1"})}),$(".panel--search").length>0&&$(".js-event-track-search").on("click",function(){var a=$(this).parent().find(".js-select-filter option:selected").val();null==a&&(a="No filter");var b=$("#courseQuery").val();window.dataLayer.push({event:"GAPushTriggered",eventCategory:"Course Search Click",eventAction:b,eventLabel:a,eventValue:"1"})}),$(".hero-banner__content").length>0&&$(".js-event-track-hero-btn").on("click",function(){var a=$(this),b="UI Hero Btn ("+a.data("btn-type")+") Clicked",c=document.title,d=a.text();window.dataLayer.push({event:"GAPushTriggered",eventCategory:b,eventAction:d,eventLabel:c,eventValue:"1"})}),$(".js-event-track-generic").on("click",function(){var a=$(this),b=a.data("event-category"),c=a.data("event-label"),d=a.data("event-action");void 0===b&&(b="Click"),window.dataLayer.push({event:"GAPushTriggered",eventCategory:b,eventAction:d,eventLabel:c,eventValue:"1"})}),$(".embed-youtube").each(function(f){var b=$(this).attr("href"),c=$(this).attr("title"),d=b.split("="),a=$("<div/>",{class:"ytVideoWrapper"}),e=$("<iframe/>",{title:c,width:"100%",height:"100%",frameborder:"0",src:"https://www.youtube.com/embed/"+d[1]});a.html(e),$(this).replaceWith(a)}),$(".js-create-yt-embed").on("keypress click",function(b){if(b.preventDefault(),13===b.which||"click"===b.type){var a=document.createElement("iframe");a.setAttribute("frameborder","0"),a.setAttribute("allowfullscreen",""),a.setAttribute("class","dmu-card__video-embed"),a.setAttribute("allow","autoplay"),a.setAttribute("title","This is a youtube embedded video"),a.setAttribute("src","https://www.youtube.com/embed/"+this.dataset.embed+"?rel=0&showinfo=0&autoplay=1"),this.innerHTML="",this.appendChild(a)}}),$(".dmu-tabs").tabslet({mouseevent:"click",attribute:"href",deeplinking:!1}),location.hash&&$(".dmu-tabs").length){var a=window.location.hash;$(".dmu-tabs").trigger("show",a),setTimeout(function(){window.scrollTo(0,0)},2)}$(window).load(function(){$('<nav aria-label="Return to top nav" class="js-top"><a href="#header-grid" class="return-top js-top" title="Return to top of page"><span class="visuallyhidden">Return to top</></a></nav>
1').insertBefore("#footer-grid").hide(),$("#unibuddy-popcard-iframe").length>0&&$(".js-top").css({right:"auto",left:"15px"}),$(window).scroll(function(){$(window).scrollTop()>2e3?$(".js-top").fadeIn(250):$(".js-top").fadeOut(250)})}),/*! Tablesaw - v3.1.1 - 2019-03-15
2* https://github.com/filamentgroup/tablesaw
3* Copyright (c) 2019 Filament Group; Licensed MIT */ function(a){"use strict";if(!("Tablesaw"in a))throw new Error("Tablesaw library not found.");if(!("init"in Tablesaw))throw new Error("Your tablesaw-init.js is newer than the core Tablesaw version.");Tablesaw.init()}("undefined"!=typeof window?window:this)

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.