1"use strict";(self.webpackChunkunsw_common_ui_frontend=self.webpackChunkunsw_common_ui_frontend||[]).push([[5657],{3659:(function(u,a,t){var n=t(2138),l=t(8221),i=t.n(l);class c extends n.A{constructor(e){super(),this.$el=e,this.init(),this.onAemUpdate=()=>this.init()}resizeImage(){const e=this.$el.querySelectorAll(".cmp-feature-hero__background-image img");for(const s of e)s.style.setProperty("height",`${this.$el.offsetTop+this.$el.offsetHeight}px`)}resizeOverlay(){this.$el.parentElement.classList.contains("cmp-feature-hero--image-gradient")&&this.$el.querySelector(".cmp-feature-hero__background-image").style.setProperty("--overlay-height",`${this.$el.offsetTop+this.$el.offsetHeight}px`)}init(){setTimeout(()=>{this.resizeImage(),this.resizeOverlay()}),window.addEventListener("resize",i()(()=>{this.resizeImage(),this.resizeOverlay()},100))}}document.querySelectorAll('[data-cmp-is="cmp-feature-hero"]').forEach(o=>{new c(o)})}),2138:(function(u,a,t){t.d(a,{A:function(){return n}});class n{constructor(){this.selector="",this.onAemUpdate=()=>{}}observe(){if(!this.selector)throw new Error("A selector needs to be assigned");const i=window.MutationObserver,c=document.querySelector("body");new i(o=>{o.forEach(e=>{const s=[].slice.call(e.addedNodes);s.length>0&&s.forEach(r=>{r instanceof Element&&r.matches(this.selector)&&this.onAemUpdate(r),r.querySelectorAll&&[].slice.call(r.querySelectorAll(this.selector)).forEach(m=>{this.onAemUpdate(m)})})})}).observe(c,{subtree:!0,childList:!0,characterData:!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.