PageSourceSearch

https://www.unsw.edu.au/etc.clientlibs/unsw-common/clientlibs/unsw…/resources/mosaic-0ba7abcc3f7a261836ba.js

js unsw.edu.au collected 2026-10-01 07:19:39 UTC 1,617 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkuds_styleguide=self.webpackChunkuds_styleguide||[]).push([[9931],{8302:(function(d,a,r){var c=r(9493);const n=960;class e{constructor(t){this.element=t,this.sections=this.element.querySelector(".sections"),this.init()}init(){window.addEventListener("resize",()=>this.updateSlick()),this.updateSlick()}updateSlick(){const t=s();if(!this.sections||!t)return;const l=t(this.sections),u=l.hasClass("slick-slider");if(window.innerWidth<n&&!u){l.slick({adaptiveHeight:!0,autoplay:!1,dots:!0,focusOnSelect:!0,infinite:!1,nextArrow:t(`#${this.element.id} .next`),prevArrow:t(`#${this.element.id} .prev`),respondTo:"min",responsive:[{breakpoint:600,settings:{slidesToShow:1.1}},{breakpoint:n,settings:{slidesToShow:2.1}}],slidesToShow:2,slidesToScroll:1,swipeToSlide:!0,variableWidth:!1});return}window.innerWidth>=n&&u&&l.slick("unslick")}}function s(){const i=window;return i.jQuery||i.$}const o=new c.q('[data-cmp-is="mosaic"]',i=>new e(i));o.init(),o.observe()}),9493:(function(d,a,r){r.d(a,{q:function(){return c}});class c{constructor(e,s){this.selector=e,this.createComponent=s}init(e=document){e.querySelectorAll(this.selector).forEach(s=>{this.initElement(s)})}observe(){const e=document.querySelector("body");if(!e)return;new MutationObserver(o=>{o.forEach(i=>{Array.from(i.addedNodes).forEach(t=>{this.initNode(t)})})}).observe(e,{childList:!0,subtree:!0})}initNode(e){if(e instanceof Element){e.matches(this.selector)&&this.initElement(e),this.init(e);return}e instanceof DocumentFragment&&this.init(e)}initElement(e){e.removeAttribute("data-cmp-is"),this.createComponent(e)}}})}]);

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.