PageSourceSearch

https://www.uts.edu.au/dist/assets/js/Block/ExploreHub/Block__ExploreHub.js

js uts.edu.au collected 2026-09-24 07:17:45 UTC 2,782 bytes, 1 lines download raw bytes

1!function(){"use strict";"function"==typeof SuppressedError&&SuppressedError,document.querySelectorAll(".exploreHub").forEach((function(t){var e="data-current-hovered-hub-item-number",r="exploreHub";if(t&&1!==window.getComputedStyle(t).getPropertyValue("grid-template-columns").split(" ").length){var i=t.querySelector(".".concat(r,"__column-2-container")),n=t.querySelector(".".concat(r,"__hub-default-image-container")),a=t.querySelectorAll(".".concat(r,"__hub-image-container")),o=t.querySelectorAll(".".concat(r,"__hub-item-container")),c=t.querySelectorAll(".".concat(r,"__hub-item-title"));if(i&&n&&a.length&&o.length&&c.length){var u=function(t){var o,c=t.target.closest(".".concat(r,"__hub-item-container"));if(c){var u=null!==(o=c.getAttribute("data-hub-item-number"))&&void 0!==o?o:"1";i.setAttribute(e,u),n.classList.toggle("".concat(r,"__hub-default-image-container--is-active")),n.setAttribute("aria-hidden",n.classList.contains("".concat(r,"__hub-default-image-container--is-active"))?"false":"true"),a.forEach((function(t){var e,i=null!==(e=t.getAttribute("data-hub-image-number"))&&void 0!==e?e:"1";i===u?(t.classList.add("".concat(r,"__hub-image-").concat(u,"-container--is-active")),t.setAttribute("aria-hidden","false")):(t.classList.remove("".concat(r,"__hub-image-").concat(i,"-container--is-active")),t.setAttribute("aria-hidden","true"))}));var l=c.querySelector(".".concat(r,"__hub-item-title"));null==l||l.classList.toggle("".concat(r,"__hub-item-title--is-active"))}},l=function(){a.forEach((function(t,e){t.classList.remove("".concat(r,"__hub-image-").concat(e+1,"-container--is-active")),t.setAttribute("aria-hidden","true")})),c.forEach((function(t){return t.classList.remove("".concat(r,"__hub-item-title--is-active"))})),i.setAttribute(e,"")};o.forEach((function(t){t.addEventListener("mouseenter",u),t.addEventListener("mouseleave",l);var e=t.querySelector("a");e&&(e.addEventListener("focusin",u),e.addEventListener("blur",l))})),new MutationObserver((function(t){var a,o,c;if(!(null===(c=i.getAttribute(e))||void 0===c?void 0:c.length))try{for(var u=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),l=u.next();!l.done;l=u.next()){var s=l.value,d=s.attributeName,b=s.type;if("data-current-hovered-hub-item-number"===d&&"attributes"===b)return n.classList.add("".concat(r,"__hub-default-image-container--is-active")),void n.setAttribute("aria-hidden","false")}}catch(t){a={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(a)throw a.error}}})).observe(i,{attributes:!0})}}}))}();

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.