PageSourceSearch

https://www.unsw.edu.au/etc.clientlibs/unsw-common/clientlibs/clie…/cmp-event-agenda-b090ac0bb80133bda011.js

js unsw.edu.au collected 2026-10-01 07:23:50 UTC 2,792 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkunsw_common_ui_frontend=self.webpackChunkunsw_common_ui_frontend||[]).push([[9791],{2314:(function(_,h,i){var l=i(2138),m=i(2413);class c extends l.A{constructor(t){super(),this.$el=t,this.init(),this.onAemUpdate=()=>this.init()}init(){const t=this.$el.querySelectorAll(".cmp-event-agenda__tab");function s(e,n){var o;if(!n.classList.contains("active")){e.forEach(f=>f.classList.remove("active")),n==null||n.classList.add("active");const d=(o=n==null?void 0:n.parentElement)==null?void 0:o.parentElement,u=d==null?void 0:d.querySelectorAll(".cmp-event-agenda__tab-panel");u==null||u.forEach(f=>f.classList.remove("active"));const w=n==null?void 0:n.getAttribute("data-click_id"),b=d==null?void 0:d.querySelector(`.cmp-event-agenda__tab-panel[data-panel_id="${w}"]`);b==null||b.classList.add("active")}}for(let e=0;e<t.length;e++)t[e].addEventListener("click",o=>{const v=o.target;s(t,v)});t.forEach(e=>{e.addEventListener("keypress",n=>{n.key==="Enter"&&s(t,e)})}),(()=>{const e=window.location.hash.replace("#","");if(e.length){const n=document.querySelector(".accordion [data-hash='"+e+"']");if(n){const o=n.closest(".cmp-event-agenda__tab-panel"),v=o.getAttribute("data-panel_id"),u=o.closest(".cmp-event-agenda-container").querySelector(`.cmp-event-agenda__tab[data-click_id='${v}']`);u&&s(t,u)}else{const o=document.querySelector(".cmp-event-agenda__tab[data-hash='"+e+"']");o&&(s(t,o),setTimeout(()=>{(0,m.P)(o)},800))}}})()}}document.querySelectorAll('[data-cmp-is="cmp-event-agenda"]').forEach(r=>{new c(r)})}),2138:(function(_,h,i){i.d(h,{A:function(){return l}});class l{constructor(){this.selector="",this.onAemUpdate=()=>{}}observe(){if(!this.selector)throw new Error("A selector needs to be assigned");const c=window.MutationObserver,a=document.querySelector("body");new c(t=>{t.forEach(s=>{const p=[].slice.call(s.addedNodes);p.length>0&&p.forEach(e=>{e instanceof Element&&e.matches(this.selector)&&this.onAemUpdate(e),e.querySelectorAll&&[].slice.call(e.querySelectorAll(this.selector)).forEach(o=>{this.onAemUpdate(o)})})})}).observe(a,{subtree:!0,childList:!0,characterData:!0})}}}),2413:(function(_,h,i){i.d(h,{L:function(){return m},P:function(){return l}});const l=c=>{let a=0;if(Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>959){const s=document.querySelector("header");s.classList.contains("sticky")&&(a=s.offsetHeight)}const t=c.getBoundingClientRect().top+window.scrollY-a;window.scrollTo({top:t,behavior:"smooth"})},m=c=>{let a=0;if(Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>959){const s=document.querySelector("header");s.classList.contains("sticky")&&(a=s.offsetHeight)}const t=c.getBoundingClientRect().top+window.scrollY-a-60;window.scrollTo({top:t,behavior:"smooth"})}})}]);

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.