PageSourceSearch

https://www.unsw.edu.au/etc.clientlibs/unsw-common/clientlibs/clie…/pathway-card-b92aaec57b6df0a6c5ff.js

js unsw.edu.au collected 2026-09-24 06:56:05 UTC 4,131 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkunsw_common_ui_frontend=self.webpackChunkunsw_common_ui_frontend||[]).push([[8746],{3750:(function(E,o,a){a.d(o,{o:function(){return c}});var t=a(4579);const c=(l,i)=>{const r=new t.s$().update(Uint8Array.from(i.split("").map(n=>n.charCodeAt(0)))).digest();return`${l}-${r}`}}),5343:(function(E,o,a){a.r(o),a.d(o,{PathwayCardComponent:function(){return e}});var t=a(5338),c=a(6540),l=a(2138),i=a(7758);class e extends l.A{constructor(){super(),this.$els=null,this.selector='[data-cmp-is="pathway-card"]',this.$appRoot=".pathway-card",this.init(),this.observe(),this.onAemUpdate=()=>this.init()}init(){this.$els=document.querySelectorAll(this.selector),this.$els.forEach(n=>{n.removeAttribute("data-cmp-is");const m=n.querySelector(this.$appRoot);if(m){const s=(0,t.createRoot)(m),h=n.dataset.dialogProps?JSON.parse(n.dataset.dialogProps):{};s.render(c.createElement(c.StrictMode,null,c.createElement(i.A,{card:h})))}})}}new e}),7758:(function(E,o,a){a.d(o,{A:function(){return i}});var t=a(6540),c=a(3750),l=a(1995);function i({card:e,index:r,totalCards:n,onFocus:m,onBlur:s,isFocused:h}){var u;const f=Math.floor(r/3)+1,v=r%3+1,d=!!e.buttonLink,y=`Pathway card ${r+1} of ${n}: ${e.title}`,g=e.buttonTarget==="_blank"?"noopener noreferrer":void 0,w=t.createElement("div",{className:"pathway-card__content-wrapper"},t.createElement("div",{className:"pathway-card__tags-section"},e.tags&&e.tags.map((_,p)=>t.createElement("div",{key:p,className:"pathway-card__tag pathway-card__tag--primary"},t.createElement("span",{className:"pathway-card__tag-text"},_)))),t.createElement("div",{className:"pathway-card__info-section"},t.createElement("h3",{className:"pathway-card__title"},e.title),t.createElement("span",{className:"pathway-card__description"},e.description),e.proofPoints&&e.proofPoints.length>0&&t.createElement("div",{className:"pathway-card__features-list"},e.proofPoints.map((_,p)=>t.createElement("div",{key:p,className:"pathway-card__feature-item"},t.createElement("div",{className:"pathway-card__feature-icon"},t.createElement("i",{className:"fa-regular fa-circle-check","aria-hidden":"true"})),t.createElement("div",{className:"pathway-card__feature-text"},_)))),e.personas&&e.personas.length>0&&t.createElement("div",{className:"pathway-card__applicants-section"},t.createElement("div",{className:"pathway-card__applicants-label"},"Open for:"),t.createElement("div",{className:"pathway-card__applicants-tags"},e.personas.map((_,p)=>t.createElement("div",{key:p,className:"pathway-card__tag pathway-card__tag--secondary"},t.createElement("span",{className:"pathway-card__tag-text"},_)))))),e.buttonLink&&e.buttonText&&t.createElement("div",{className:"pathway-card__action-button","aria-hidden":"true"},t.createElement("span",{className:"pathway-card__button-text"},e.buttonText),t.createElement("i",{className:"fa fa-arrow-right-long"}))),A=!d&&h?"pathway-component--focused":"",b=d?void 0:m,P=d?void 0:s;return t.createElement("div",{className:`pathway-component ${A}`,"data-tags":((u=e.tags)==null?void 0:u.join(","))||"",role:"gridcell","aria-rowindex":f,"aria-colindex":v,tabIndex:d?-1:0,"aria-label":d?void 0:y,onFocus:b,onBlur:P},d&&e.buttonLink?t.createElement("a",{className:"pathway-card pathway-card--clickable",href:e.buttonLink,target:e.buttonTarget,rel:g,"aria-label":y,onClick:_=>(0,l.MP)(_.currentTarget),"data-click_name":e.buttonText||e.title,"data-click_id":(0,c.o)("pathway-card",`${window.location.pathname}-${e.title}`)},w):t.createElement("div",{className:"pathway-card"},w))}}),2138:(function(E,o,a){a.d(o,{A:function(){return t}});class t{constructor(){this.selector="",this.onAemUpdate=()=>{}}observe(){if(!this.selector)throw new Error("A selector needs to be assigned");const l=window.MutationObserver,i=document.querySelector("body");new l(r=>{r.forEach(n=>{const m=[].slice.call(n.addedNodes);m.length>0&&m.forEach(s=>{s instanceof Element&&s.matches(this.selector)&&this.onAemUpdate(s),s.querySelectorAll&&[].slice.call(s.querySelectorAll(this.selector)).forEach(u=>{this.onAemUpdate(u)})})})}).observe(i,{subtree:!0,childList:!0,characterData:!0}
1)}}})}]);

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.