PageSourceSearch

https://flighthacks.com.au/_next/static/chunks/3784.1424f80dba473513.js

js flighthacks.com.au collected 2026-09-25 06:45:00 UTC 8,412 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3784],{3784:function(e,t,n){"use strict";let r,i;n.r(t),n.d(t,{default:function(){return I}});var l=n(26705),o=n(83299),s=n(72435),a=n(20955),f=n(29908);let c=new WeakMap;function u({target:e,contentRect:t,borderBoxSize:n}){var r;null===(r=c.get(e))||void 0===r||r.forEach(r=>{r({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})})}function d(e){e.forEach(u)}let g=new Set;var h=n(16384),p=n(92181);let v=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),m=()=>({time:0,x:v(),y:v()}),y={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function w(e,t,n,r){let i=n[t],{length:l,position:o}=y[t],s=i.current,a=n.time;i.current=e["scroll"+o],i.scrollLength=e["scroll"+l]-e["client"+l],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,h.Y)(0,i.scrollLength,i.current);let f=r-a;i.velocity=f>50?0:(0,p.R)(i.current-s,f)}let _={All:[[0,0],[1,1]]},x={start:0,center:.5,end:1};function E(e,t,n=0){let r=0;if(void 0!==x[e]&&(e=x[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}let W=[0,0];var L=n(43258),b=n(14594);let B={x:0,y:0};var S=n(31837);let N=new WeakMap,k=new WeakMap,z=new WeakMap,H=e=>e===document.documentElement?window:e;var P=n(45526);function A(e,t){(0,f.K)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let O=()=>({scrollX:(0,o.BX)(0),scrollY:(0,o.BX)(0),scrollXProgress:(0,o.BX)(0),scrollYProgress:(0,o.BX)(0)}),X=e=>e&&"object"==typeof e&&e.mix,Y=e=>X(e)?e.mix:void 0;var R=n(93449);function j(e,t){let n=function(e){let t=(0,s.h)(()=>(0,o.BX)(e)),{isStatic:n}=(0,a.useContext)(R._);if(n){let[,n]=(0,a.useState)(e);(0,a.useEffect)(()=>t.on("change",n),[])}return t}(t()),r=()=>n.set(t());return r(),(0,P.L)(()=>{let t=()=>S.Wi.update(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,S.Pn)(r)}}),n}function q(e,t){let n=(0,s.h)(()=>[]);return j(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}var T=n(53595),C=n(20703),M=n(17435),G=n(69733),Z=n.n(G),I=e=>{let{className:t,wrapperClassName:n,quality:u=80,priority:h=!1,placeholder:p="empty",ratio:v="auto",yMotion:y=20,customTransform:X}=e,R=(0,M.Z)(Z().container,Z()["ratio-".concat(v)],t),G=(0,a.useRef)(null),{scrollYProgress:I}=function({container:e,target:t,layoutEffect:n=!0,...l}={}){let o=(0,s.h)(O);return(n?P.L:a.useEffect)(()=>(A("target",t),A("container",e),function(e,{container:t=document.documentElement,...n}={}){let l=z.get(t);l||(l=new Set,z.set(t,l));let o=function(e,t,n,r={}){return{measure:()=>(function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight})(e,r.target,n),update:t=>{w(e,"x",n,t),w(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=_.All}=n,{target:i=e,axis:l="y"}=n,o="y"===l?"height":"width",s=i!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,l=r.parentNode;for(;!i;)"svg"===l.tagName&&(i=l),l=r.parentNode;r=i}else break;return n}(i,e):B,a=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},f={width:e.clientWidth,height:e.clientHeight};t[l].offset.length=0;let c=!t[l].interpolate,u=r.length;for(let e=0;e<u;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:W,l=0;
1return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,x[e]?e:"0"]),E(i[0],n,r)-E(i[1],t)}(r[e],f[o],a[o],s[l]);c||n===t[l].interpolatorOffsets[e]||(c=!0),t[l].offset[e]=n}c&&(t[l].interpolate=(0,L.s)(t[l].offset,(0,b.Y)(r)),t[l].interpolatorOffsets=[...t[l].offset]),t[l].progress=t[l].interpolate(t[l].current)}(e,n,r)},notify:()=>t(n)}}(t,e,m(),n);if(l.add(o),!N.has(t)){let e=()=>{for(let e of l)e.measure()},n=()=>{for(let e of l)e.update(S.frameData.timestamp)},o=()=>{for(let e of l)e.notify()},s=()=>{S.Wi.read(e,!1,!0),S.Wi.read(n,!1,!0),S.Wi.update(o,!1,!0)};N.set(t,s);let a=H(t);window.addEventListener("resize",s,{passive:!0}),t!==document.documentElement&&k.set(t,"function"==typeof t?(g.add(t),i||(i=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};g.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{g.delete(t),!g.size&&i&&(i=void 0)}):function(e,t){r||"undefined"==typeof ResizeObserver||(r=new ResizeObserver(d));let n=function(e,t,n){var r;if("string"==typeof e){let i=document;t&&((0,f.k)(!!t.current,"Scope provided, but no element detected."),i=t.current),n?(null!==(r=n[e])&&void 0!==r||(n[e]=i.querySelectorAll(e)),e=n[e]):e=i.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}(e);return n.forEach(e=>{let n=c.get(e);n||(n=new Set,c.set(e,n)),n.add(t),null==r||r.observe(e)}),()=>{n.forEach(e=>{let n=c.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==r||r.unobserve(e)})}}(t,s)),a.addEventListener("scroll",s,{passive:!0})}let s=N.get(t);return S.Wi.read(s,!1,!0),()=>{var e;(0,S.Pn)(s);let n=z.get(t);if(!n||(n.delete(o),n.size))return;let r=N.get(t);N.delete(t),r&&(H(t).removeEventListener("scroll",r),null===(e=k.get(t))||void 0===e||e(),window.removeEventListener("resize",r))}}(({x:e,y:t})=>{o.scrollX.set(e.current),o.scrollXProgress.set(e.progress),o.scrollY.set(t.current),o.scrollYProgress.set(t.progress)},{...l,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[e,t,JSON.stringify(l.offset)]),o}({target:G,offset:["start end","end start"]}),D=100+y+y/4,F=function(e,t,n,r){if("function"==typeof e)return function(e){o.S1.current=[],e();let t=j(o.S1.current,e);return o.S1.current=void 0,t}(e);let i="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],l=e[2+n],o=e[3+n],s=(0,L.s)(i,l,{mixer:Y(l[0]),...o});return t?s(r):s}(t,n,void 0);return Array.isArray(e)?q(e,i):q([e],([e])=>i(e))}(I,[0,1],X||["translateY(-".concat(y,"%) scale(").concat(D,"%)"),"translateY(".concat(y,"%) scale(").concat(D,"%)")]),K=()=>{if("asset"in e){var t,n,r,i,o,s;let{asset:a}=e;return(0,l.jsx)(C.default,{className:Z().image,src:null==a?void 0:a.url,alt:(null==a?void 0:a.altText)||"Image",width:null==a?void 0:null===(n=a.metadata)||void 0===n?void 0:null===(t=n.dimensions)||void 0===t?void 0:t.width,height:null==a?void 0:null===(i=a.metadata)||void 0===i?void 0:null===(r=i.dimensions)||void 0===r?void 0:r.height,quality:u,priority:h,blurDataURL:null==a?void 0:null===(o=a.metadata)||void 0===o?void 0:o.lqip,placeholder:(null==a?void 0:null===(s=a.metadata)||void 0===s?void 0:s.lqip)?"blur":p})}if("src"in e){let{src:t,alt:n,width:r,height:i,quality:o,priority:s}=e;return(0,l.jsx)(C.default,{className:Z().image,src:t,alt:n||"Image",width:r,height:i,quality:o,priority:s})}return null};return K?(0,l.jsx)("div",{className:(0,M.Z)(Z().wrapper,n),ref:G,children:(0,l.jsx)(T.E.div,{className:R,style:{transform:F},children:(0,l.jsx)(K,{})})}):null}},69733:function(e){e.exports={container:"styles_container__ygZRz","ratio-auto":"styles_ratio-auto__HTa9k",image:"styles_image__YlqPp","ratio-1-1":"styles_ratio-1-1__j4s6i","ratio-3-2":"styles_ratio-3-2__GNPkb","ratio_3-4":"styles_ratio_3-4__9I0dS","ratio-16-9":"styles_ratio-16-9__KPPFX",wrapper:"styles_wrapper__mnE6Z"}}}]);

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.