PageSourceSearch

https://www.tafensw.edu.au/_nuxt/CfDp_-k0.js

js tafensw.edu.au collected 2026-09-24 08:35:56 UTC 11,803 bytes, 1 lines download raw bytes

1import{n as R,t as I,u as ee,b as H,e as V,j as $,i as te,c as ne,g as oe,k as re,h as se}from"./mi83nMSE.js";import{r as g,i as W,ai as K,K as C,ak as ie,J as le,ap as ue,a_ as ae,ah as ce}from"./B83PSHD9.js";const T=ne?window:void 0;function A(e){var t;const n=I(e);return(t=n?.$el)!=null?t:n}function O(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=T):[t,n,r,a]=e,!t)return R;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const u=[],c=()=>{u.forEach(i=>i()),u.length=0},s=(i,o,v,l)=>(i.addEventListener(o,v,l),()=>i.removeEventListener(o,v,l)),m=C(()=>[A(t),I(a)],([i,o])=>{if(c(),!i)return;const v=se(o)?{...o}:o;u.push(...n.flatMap(l=>r.map(d=>s(i,l,d,v))))},{immediate:!0,flush:"post"}),f=()=>{m(),c()};return V(f),f}let U=!1;function Oe(e,t,n={}){const{window:r=T,ignore:a=[],capture:u=!0,detectIframe:c=!1}=n;if(!r)return R;te&&!U&&(U=!0,Array.from(r.document.body.children).forEach(l=>l.addEventListener("click",R)),r.document.documentElement.addEventListener("click",R));let s=!0;const m=l=>I(a).some(d=>{if(typeof d=="string")return Array.from(r.document.querySelectorAll(d)).some(w=>w===l.target||l.composedPath().includes(w));{const w=A(d);return w&&(l.target===w||l.composedPath().includes(w))}}),f=l=>{const d=A(e);if(!(!d||d===l.target||l.composedPath().includes(d))){if(l.detail===0&&(s=!m(l)),!s){s=!0;return}t(l)}};let i=!1;const o=[O(r,"click",l=>{i||(i=!0,setTimeout(()=>{i=!1},0),f(l))},{passive:!0,capture:u}),O(r,"pointerdown",l=>{const d=A(e);s=!m(l)&&!!(d&&!l.composedPath().includes(d))},{passive:!0}),c&&O(r,"blur",l=>{setTimeout(()=>{var d;const w=A(e);((d=r.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!w?.contains(r.document.activeElement)&&t(l)},0)})].filter(Boolean);return()=>o.forEach(l=>l())}function fe(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Te(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=T,eventName:u="keydown",passive:c=!1,dedupe:s=!1}=r,m=fe(t);return O(a,u,i=>{i.repeat&&I(s)||m(i)&&n(i)},c)}function de(){const e=g(!1),t=ue();return t&&le(()=>{e.value=!0},t),e}function J(e){const t=de();return W(()=>(t.value,!!e()))}function G(e,t,n={}){const{window:r=T,...a}=n;let u;const c=J(()=>r&&"MutationObserver"in r),s=()=>{u&&(u.disconnect(),u=void 0)},m=W(()=>{const v=I(e),l=(Array.isArray(v)?v:[v]).map(A).filter($);return new Set(l)}),f=C(()=>m.value,v=>{s(),c.value&&v.size&&(u=new MutationObserver(t),v.forEach(l=>u.observe(l,a)))},{immediate:!0,flush:"post"}),i=()=>u?.takeRecords(),o=()=>{f(),s()};return V(o),{isSupported:c,stop:o,takeRecords:i}}function ve(e={}){var t;const{window:n=T,deep:r=!0,triggerOnRemoval:a=!1}=e,u=(t=e.document)!=null?t:n?.document,c=()=>{var f;let i=u?.activeElement;if(r)for(;i?.shadowRoot;)i=(f=i?.shadowRoot)==null?void 0:f.activeElement;return i},s=g(),m=()=>{s.value=c()};return n&&(O(n,"blur",f=>{f.relatedTarget===null&&m()},!0),O(n,"focus",m,!0)),a&&G(u,f=>{f.filter(i=>i.removedNodes.length).map(i=>Array.from(i.removedNodes)).flat().forEach(i=>{i===s.value&&m()})},{childList:!0,subtree:!0}),m(),s}function me(e,t={}){const{window:n=T}=t,r=J(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let a;const u=g(!1),c=f=>{u.value=f.matches},s=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",c):a.removeListener(c))},m=ie(()=>{r.value&&(s(),a=n.matchMedia(I(e)),"addEventListener"in a?a.addEventListener("change",c):a.addListener(c),u.value=a.matches)});return V(()=>{m(),s(),a=void 0}),u}const k=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},F="__vueuse_ssr_handlers__",he=pe();function pe(){return F in k||(k[F]=k[F]||{}),k[F]}function we(e,t){return he[e]||t}function ge(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const be={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},q="vueuse-storage";function Ie(e,t,n,r={}){var a;const{flush:u="pre",deep:c=!0,listenToStorageChanges:s=!0,writeDefaults:m
1=!0,mergeDefaults:f=!1,shallow:i,window:o=T,eventFilter:v,onError:l=h=>{console.error(h)},initOnMounted:d}=r,w=(i?ae:g)(typeof t=="function"?t():t);if(!n)try{n=we("getDefaultStorage",()=>{var h;return(h=T)==null?void 0:h.localStorage})()}catch(h){l(h)}if(!n)return w;const y=I(t),E=ge(y),b=(a=r.serializer)!=null?a:be[E],{pause:P,resume:B}=re(w,()=>j(w.value),{flush:u,deep:c,eventFilter:v});o&&s&&H(()=>{n instanceof Storage?O(o,"storage",x):O(o,q,N),d&&x()}),d||x();function z(h,S){if(o){const _={key:e,oldValue:h,newValue:S,storageArea:n};o.dispatchEvent(n instanceof Storage?new StorageEvent("storage",_):new CustomEvent(q,{detail:_}))}}function j(h){try{const S=n.getItem(e);if(h==null)z(S,null),n.removeItem(e);else{const _=b.write(h);S!==_&&(n.setItem(e,_),z(S,_))}}catch(S){l(S)}}function p(h){const S=h?h.newValue:n.getItem(e);if(S==null)return m&&y!=null&&n.setItem(e,b.write(y)),y;if(!h&&f){const _=b.read(S);return typeof f=="function"?f(_,y):E==="object"&&!Array.isArray(_)?{...y,..._}:_}else return typeof S!="string"?S:b.read(S)}function x(h){if(!(h&&h.storageArea!==n)){if(h&&h.key==null){w.value=y;return}if(!(h&&h.key!==e)){P();try{h?.newValue!==b.write(w.value)&&(w.value=p(h))}catch(S){l(S)}finally{h?ce(B):B()}}}}function N(h){x(h.detail)}return w}function Z(e,t,n={}){const{window:r=T,...a}=n;let u;const c=J(()=>r&&"ResizeObserver"in r),s=()=>{u&&(u.disconnect(),u=void 0)},m=W(()=>{const o=I(e);return Array.isArray(o)?o.map(v=>A(v)):[A(o)]}),f=C(m,o=>{if(s(),c.value&&r){u=new ResizeObserver(t);for(const v of o)v&&u.observe(v,a)}},{immediate:!0,flush:"post"}),i=()=>{s(),f()};return V(i),{isSupported:c,stop:i}}function Ne(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:u=!0,updateTiming:c="sync"}=t,s=g(0),m=g(0),f=g(0),i=g(0),o=g(0),v=g(0),l=g(0),d=g(0);function w(){const E=A(e);if(!E){n&&(s.value=0,m.value=0,f.value=0,i.value=0,o.value=0,v.value=0,l.value=0,d.value=0);return}const b=E.getBoundingClientRect();s.value=b.height,m.value=b.bottom,f.value=b.left,i.value=b.right,o.value=b.top,v.value=b.width,l.value=b.x,d.value=b.y}function y(){c==="sync"?w():c==="next-frame"&&requestAnimationFrame(()=>w())}return Z(e,y),C(()=>A(e),E=>!E&&y()),G(e,y,{attributeFilter:["style","class"]}),a&&O("scroll",y,{capture:!0,passive:!0}),r&&O("resize",y,{passive:!0}),H(()=>{u&&y()}),{height:s,bottom:m,left:f,right:i,top:o,width:v,x:l,y:d,update:y}}function xe(e,t={width:0,height:0},n={}){const{window:r=T,box:a="content-box"}=n,u=W(()=>{var o,v;return(v=(o=A(e))==null?void 0:o.namespaceURI)==null?void 0:v.includes("svg")}),c=g(t.width),s=g(t.height),{stop:m}=Z(e,([o])=>{const v=a==="border-box"?o.borderBoxSize:a==="content-box"?o.contentBoxSize:o.devicePixelContentBoxSize;if(r&&u.value){const l=A(e);if(l){const d=l.getBoundingClientRect();c.value=d.width,s.value=d.height}}else if(v){const l=Array.isArray(v)?v:[v];c.value=l.reduce((d,{inlineSize:w})=>d+w,0),s.value=l.reduce((d,{blockSize:w})=>d+w,0)}else c.value=o.contentRect.width,s.value=o.contentRect.height},n);H(()=>{const o=A(e);o&&(c.value="offsetWidth"in o?o.offsetWidth:t.width,s.value="offsetHeight"in o?o.offsetHeight:t.height)});const f=C(()=>A(e),o=>{c.value=o?t.width:0,s.value=o?t.height:0});function i(){m(),f()}return{width:c,height:s,stop:i}}function ye(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:u=0,window:c=T,immediate:s=!0}=n,m=J(()=>c&&"IntersectionObserver"in c),f=W(()=>{const d=I(e);return(Array.isArray(d)?d:[d]).map(A).filter($)});let i=R;const o=g(s),v=m.value?C(()=>[f.value,A(r),o.value],([d,w])=>{if(i(),!o.value||!d.length)return;const y=new IntersectionObserver(t,{root:A(w),rootMargin:a,threshold:u});d.forEach(E=>E&&y.observe(E)),i=()=>{y.disconnect(),i=R}},{immediate:s,flush:"post"}):R,l=()=>{i(),v(),o.value=!1};return V(l),{isSupported:m,isActive:o,pause(){i(),o.value=!1},resume(){o.value=!0},stop:l}}function Me(e,t={}){const{window:n=T,scrollTarget:r,threshold:a=0}=t,u=g(!1);return ye(e,c=>{let s=u.value,m=0;for(const f of c)f.time>=m&&(m=f.time,s=f.isIntersecting);u.value=s},{root:r,window:n,threshold:a}),u}const Se="focusin",Ee="focusout";
1function We(e,t={}){const{window:n=T}=t,r=W(()=>A(e)),a=g(!1),u=W(()=>a.value),c=ve(t);return!n||!c.value?{focused:u}:(O(r,Se,()=>a.value=!0),O(r,Ee,()=>a.value=!1),{focused:u})}const Q=1;function Re(e,t={}){const{throttle:n=0,idle:r=200,onStop:a=R,onScroll:u=R,offset:c={left:0,right:0,top:0,bottom:0},eventListenerOptions:s={capture:!1,passive:!0},behavior:m="auto",window:f=T,onError:i=p=>{console.error(p)}}=t,o=g(0),v=g(0),l=W({get(){return o.value},set(p){w(p,void 0)}}),d=W({get(){return v.value},set(p){w(void 0,p)}});function w(p,x){var N,h,S,_;if(!f)return;const M=I(e);if(!M)return;(S=M instanceof Document?f.document.body:M)==null||S.scrollTo({top:(N=I(x))!=null?N:d.value,left:(h=I(p))!=null?h:l.value,behavior:I(m)});const D=((_=M?.document)==null?void 0:_.documentElement)||M?.documentElement||M;l!=null&&(o.value=D.scrollLeft),d!=null&&(v.value=D.scrollTop)}const y=g(!1),E=K({left:!0,right:!1,top:!0,bottom:!1}),b=K({left:!1,right:!1,top:!1,bottom:!1}),P=p=>{y.value&&(y.value=!1,b.left=!1,b.right=!1,b.top=!1,b.bottom=!1,a(p))},B=oe(P,n+r),z=p=>{var x;if(!f)return;const N=((x=p?.document)==null?void 0:x.documentElement)||p?.documentElement||A(p),{display:h,flexDirection:S}=getComputedStyle(N),_=N.scrollLeft;b.left=_<o.value,b.right=_>o.value;const M=Math.abs(_)<=(c.left||0),D=Math.abs(_)+N.clientWidth>=N.scrollWidth-(c.right||0)-Q;h==="flex"&&S==="row-reverse"?(E.left=D,E.right=M):(E.left=M,E.right=D),o.value=_;let L=N.scrollTop;p===f.document&&!L&&(L=f.document.body.scrollTop),b.top=L<v.value,b.bottom=L>v.value;const Y=Math.abs(L)<=(c.top||0),X=Math.abs(L)+N.clientHeight>=N.scrollHeight-(c.bottom||0)-Q;h==="flex"&&S==="column-reverse"?(E.top=X,E.bottom=Y):(E.top=Y,E.bottom=X),v.value=L},j=p=>{var x;if(!f)return;const N=(x=p.target.documentElement)!=null?x:p.target;z(N),y.value=!0,B(p),u(p)};return O(e,"scroll",n?ee(j,n,!0,!1):j,s),H(()=>{try{const p=I(e);if(!p)return;z(p)}catch(p){i(p)}}),O(e,"scrollend",P,s),{x:l,y:d,isScrolling:y,arrivedState:E,directions:b,measure(){const p=I(e);f&&p&&z(p)}}}function Le(e={}){const{window:t=T,behavior:n="auto"}=e;if(!t)return{x:g(0),y:g(0)};const r=g(t.scrollX),a=g(t.scrollY),u=W({get(){return r.value},set(s){scrollTo({left:s,behavior:n})}}),c=W({get(){return a.value},set(s){scrollTo({top:s,behavior:n})}});return O(t,"scroll",()=>{r.value=t.scrollX,a.value=t.scrollY},{capture:!1,passive:!0}),{x:u,y:c}}function Ce(e={}){const{window:t=T,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:u=!0,type:c="inner"}=e,s=g(n),m=g(r),f=()=>{t&&(c==="outer"?(s.value=t.outerWidth,m.value=t.outerHeight):u?(s.value=t.innerWidth,m.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,m.value=t.document.documentElement.clientHeight))};if(f(),H(f),O("resize",f,{passive:!0}),a){const i=me("(orientation: portrait)");C(i,()=>f())}return{width:s,height:m}}export{Ne as a,Te as b,Re as c,Z as d,Ie as e,ye as f,Me as g,A as h,Ce as i,xe as j,We as k,Oe as o,Le as u};

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.