1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15862,40827,59466,63208,66199,88580,93127],{40808:(e,t,n)=>{n.d(t,{A9:()=>p,Gl:()=>o,k2:()=>d,ko:()=>x,nl:()=>c,r4:()=>m});var i,a,r,l,s,o=((i={}).contain="contain",i.fit="fit",i.cover="cover",i.none="none",i.scaleDown="scale-down",i),d=((a={}).center="center",a),p=((r={}).center="center",r["space-between"]="space-between",r["flex-start"]="flex-start",r["flex-end"]="flex-end",r["space-around"]="space-around",r["space-evenly"]="space-evenly",r.undefined="undefined",r),c=((l={}).flex="flex",l.none="none",l.table="table",l.block="block",l.inline="inline",l.grid="grid",l);let m={ar:"es-AR",au:"en-AU",be:"fr-BE",br:"pt-BR",ca:"en-CA","ca-fr":"fr-CA",de:"de-DE",es:"es-ES",fr:"fr-FR",ie:"en-IE",it:"it-IT",nl:"nl-NL",nz:"en-NZ",at:"de-AT",pl:"pl-PL",pt:"pt-PT",ch:"de-CH",za:"en-ZA","ch-fr":"fr-FR",uk:"en-GB",us:"en-US"};var x=((s={})[s.H1=1]="H1",s[s.H2=2]="H2",s[s.H3=3]="H3",s[s.H4=4]="H4",s[s.H5=5]="H5",s)},43650:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(76381);
1let a=["assets.live.dxp.maginfrastructure.com","a2.storyblok.com","assets.live.dxp.maginfrastructure.com"],r=(e,{width:t=0,height:n=0,quality:r=80,format:l="webp"}={},s=!1)=>{if(!e)return;if(!i.OptimizeImages&&!s||!(null!=e&&a.some(t=>e.includes(t)))||e.includes("/m/"))return e;let o=e.replace("//assets.live.dxp.maginfrastructure.com","//a2.storyblok.com");if("original"===l&&100===r&&0===t&&0===n)return o;let d=["original"!==l?`format(${l})`:"",100!==r?`quality(${r})`:""].filter(Boolean).join(":"),p=d?`/filters:${d}`:"",c=Number.isNaN(Number(t))?0:Math.round(Number(t)),m=Number.isNaN(Number(n))?0:Math.round(Number(n));return`${o}/m/${c}x${m}${p}`}},51627:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var i=n(37876);n(14232);var a=n(54587),r=n.n(a),l=n(93127);let s=({customClassName:e,imageSrc:t,alt:n,loading:a="lazy",draggable:s="false",imageWidth:o,fixWidth:d,height:p,imageQuality:c=75,priority:m=!1,sizes:x="(max-width: 1280px) 100vw, 1280px",optimiseImage:u=!1})=>{let h=t.includes(".svg"),f=l.vv.create({image:{position:"relative !important",height:"100%",width:"100%"}}),g=e=>e?.includes("{{")?"":e?.includes("http")?e:`https:${e}`;return t&&!t?.includes("{{")&&(0,i.jsx)(r(),{loader:({src:e,width:t,quality:n})=>
1{if((e.includes("assets.live.dxp.maginfrastructure.com")||e.includes("assets.live.dxp.maginfrastructure.com"))&&!h&&u){let i=t?`${d||t||"0"}x0`:"";return`${g(e)}/m/${i}/filters:quality(${n})`}return g(e)},fill:!o,sizes:x,width:o,height:p,className:[(0,l.AH)([f.image]),e].join(" "),src:g(t),alt:n||"",loading:a,draggable:s,quality:c,priority:m,unoptimized:h||!u})}},59466:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return a}});let i=n(14232);function a(e,t){let n=(0,i.useRef)(null),a=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let e=n.current;e&&(n.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(n.current=r(e,i)),t&&(a.current=r(t,i))},[e,t])}function r(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},88580:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var i=n(37876);n(14232);var a=n(93127);let r=({size:e="64px",borderWidth:t="8px",theme:n,ThemeContainer:r,classKey:l,color:s="var(--blue-dark)"})=>{let o=(({color:e})=>a.vv.create({loadingSpinner:{display:"inline-block",position:"relative",width:"80px",height:"80px",justifyContent:"center",alignItems:"center",":nth-child(1n) div":{boxSizing:"border-box",display:"block",position:"absolute",width:"100%",height:"100%",border:"8px solid var(--blue-dark)",borderRadius:"50%",animationName:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},animationDuration:"1.4s",animationIterationCount:"infinite",borderColor:`${e} transparent transparent transparent`,":nth-child(1n)":{animationDelay:"-0.45s"},":nth-child(2n)":{animationDelay:"-0.3s"},":nth-child(3n)":{animationDelay:"-0.15s"}}}}))({color:s}),d=()=>(0,i.jsxs)("div",{className:(0,a.AH)(o.loadingSpinner),style:{width:e,height:e},children:[(0,i.jsx)("div",{style:{borderWidth:t}}),(0,i.jsx)("div",{style:{borderWidth:t}}),(0,i.jsx)("div",{style:{borderWidth:t}}),(0,i.jsx)("div",{style:{borderWidth:t}})]});return r?(0,i.jsx)(r,{classKey:n||l,stylesheet:o,children:(0,i.jsx)(d,{})}):(0,i.jsx)(d,{})}},93127:(e,t,n)=>{n.d(t,{xy:()=>U,Js:()=>R,KN:()=>L,gX:()=>G,dY:()=>Z,OH:()=>Q,M1:()=>P,vv:()=>M,AH:()=>D});var i,a,r,l,s,o,d,p,c,m,x,u,h,f,g={};n.r(g),n.d(g,{FontSize:()=>H,FontWeight:()=>A,Fonts:()=>S,Spacing:()=>w});var b={};n.r(b),n.d(b,{FontSize:()=>F,FontWeight:()=>z,Fonts:()=>C,Spacing:()=>k});var v={};n.r(v),n.d(v,{FontSize:()=>W,FontWeight:()=>I,Fonts:()=>$,Spacing:()=>T});var y={};n.r(y),n.d(y,{FontSize:()=>q,FontWeight:()=>O,Fonts:()=>E,Spacing:()=>B});var _=n(50941),j=n(100),N=n(67334),w=((i={}).s10="10px",i.s12="12px",i),S=((a={})["sans-serif"]="sans-serif",a["font-family"]="sans-serif",a),A=((r={})[r.thin=300]="thin",r[r.regular=400]="regular",r[r.demiBold=600]="demiBold",r[r.bold=700]="bold",r),H=((l={}).small="12px",l.reg="14px",l.large="16px",l.xlarge="46px",l.stepper="24px",l.h1="32px",l.h2="24px",l.h3="18px",l.h4="16px",l.h5="16px",l),k=((s={}).s10="10px",s.s12="12px",s.s17="17px",s),C=((o={})["sans-serif"]="sans-serif",o["font-family"]="sans-serif",o),z=((d={})[d.thin=300]="thin",d[d.regular=400]="regular",d[d.demiBold=600]="demiBold",d[d.bold=700]="bold",d),F=((p={}).small="12px",p.reg="14px",p.large="16px",p.xlarge="46px",p.stepper="24px",p.h1="32px",p.h2="24px",p.h3="18px",p.h4="16px",p.h5="16px",p),T=((c={}).s10="10px",c.s12="12px",c.s17="17px",c),$=((m={})["sans-serif"]="sans-serif",m["font-family"]="sans-serif",m),I=((x={})[x.thin=300]="thin",x[x.regular=400]="regular",x[x.demiBold=600]="demiBold",x[x.bold=700]="bold",x),W=((u={}).small="12px",u.reg="14px",u.large="16px",u.xlarge="46px",u.stepper="24px",u.h1="32px",u.h2="24px",u.h3="18px",u.h4="16px",u.h5="16px",u),B=((h={}).s10="10px",h.s12="12px",h.s17="17px",h);let E={"sans-serif":"sans-serif","font-family":"sans-serif"};var O=((f={})[f.thin=300]="thin",f[f.regular=400]="regular",f[f.demiBold=600]="demiBold",f[f.bold=700]="bold",f);let q={small:"12px",reg:"14px",large:"16px",xlarge:"46px",stepper:"24px",h1:"32px",h2:"24px",h3:"18px",h4:"16px",h5:"16px"},{StyleSheet:M,css:D}=_.StyleSheet.extend([{selectorHandler:(e,t,n)=>{let i=[];return e.split(",").map((a,r)=>
1{if("&"===e[0]){let e=0===r?a.slice(1):a,l=n(`${t} ${e}`.replace(/ +(?= )/g,""));i.push(l)}}),i.length>0?(0,j.Bq)(i):null}}]),R={mobileApps:"mobile_apps_theme_container",kiosks:"kiosks_theme_container",careers:"careers_theme_container",looking4:"l4_theme_container",mag:"mag_theme_container",mansecurity:"man_security_theme_container",default:"default",admin:"admin_theme_container",magAirportsStyles:"mag_airport_theme_container",magTech:"mag_tech_theme_container",magPropertyStyles:"mag_property_theme_container",stnCommuterStyles:"stn_commuter_theme_container",awr:"awr_website",brandPortal:"brand_portal_theme_container",cpa:"cpa_theme_container",awrForms:"awr_forms_theme_container"},P={mag_theme_container:N,default:N,careers:g,kiosks_theme_container:b,mobile_apps_theme_container:v,cpa_theme_container:y},U=(e,t,n,i)=>{let a=P[t||"mag_theme_container"];if(i?.length>0){let n=i.find(e=>e.themeName===t);if(n?.themeName)return n?.theme({...e,SiteStyles:a})}return n({...e,SiteStyles:a})},L=(e,t)=>M.create({...e,...t}),Q=(e,t=1280)=>{let n=e;return(String(n).indexOf("rem")>=0&&(n=e.replace("rem","")),Number(n)*(.78125*t/100))?`${Number(n)*(.78125*t/100)}px`:null},G=e=>{let{cssObjectValue:t="string"==typeof e&&e,dvbMultiplier:n=.78125,defaultScreenHeight:i=1280,defaultScreenWidth:a=1920,isImportant:r=!1,useScreenWidth:l=!1}=e;return String(t).indexOf("rem")>0?t:`${String(t).split(" ").map(e=>{if(""===e)return"";let t=e;return/^[a-zA-Z]+$/.test(t)||(e.replace(/[^0-9.]/g,""),t=`${Number(e.replace(/[^0-9.]/g,"")/(l?a*n/100:i*n/100)).toFixed(2)}rem`),`${"-"===e.charAt(0)?"-":""}${t}`}).join(" ")} ${r?"!important":""}`},Z=(e,t)=>{var n;let i=((n={})[n.flex=0]="flex",n[n.boxShadow=1]="boxShadow",n[n.borderBottomColor=2]="borderBottomColor",n[n.borderColor=3]="borderColor",n),a=e=>Object.keys(e).reduce((n,r)=>{let l=e[r];return"object"==typeof l?{...n,[r]:a(l)}:String(l).indexOf("px")>0&&!i[r]?(l?.indexOf("!important"),l=l.replace("!important",""),{...n,[r]:G({cssObjectValue:l,...t})}):{...n,[r]:l}},[]);return Object.keys(e).reduce((t,n)=>({...t,[n]:a(e[n])}),[])}},95253:(e,t,n)=>{n.r(t),n.d(t,{default:()=>x});var i=n(37876);n(14232);var a=n(40808),r=n(93127),l=n(67334);let s=e=>r.vv.create((({backgroundColor:e="var(--blue-dark)",titleColor:t,titleBackgroundColor:n,footerTextColor:i,footerBackgroundColor:s})=>(0,r.dY)({immigrationContainer:{display:"flex",height:"100vh",flexDirection:"column"},title:{alignItems:a.k2.center,color:t,backgroundColor:n,display:"flex",justifyContent:"space-between",padding:"18px",fontWeight:l.FontWeight.demiBold},titleText:{fontSize:"24px","@media screen and (max-width: 1080px)":{fontSize:"14px"}},lastUpdated:{fontSize:"14px","@media screen and (max-width: 1080px)":{fontSize:"8px"}},queuesContainer:{color:"var(--white)",backgroundColor:e,display:"flex",justifyContent:a.A9["space-evenly"],flex:1,position:"relative","@media screen and (max-width: 1080px)":{flexDirection:"column",paddingTop:"60px"}},queueItem:{overflow:"hidden",flex:1,padding:"60px 40px",display:"flex",flexDirection:"column",justifyContent:"space-between","@media screen and (max-width: 1080px)":{padding:"0px 18px",flex:"unset"}},timeTextContainerOuter:{"@media screen and (max-width: 1080px)":{display:"flex",justifyContent:"space-between",alignItems:"center"}},timeTextContainer:{display:"flex",alignItems:"center",gap:"12px",fontSize:"26px",textTransform:"uppercase"},timeText:{fontSize:"130px",display:"flex",justifyContent:a.A9.center,alignItems:a.k2.center,fontWeight:l.FontWeight.bold,"@media screen and (max-width: 1080px)":{fontSize:"24px",letterSpacing:"3px"}},queueText:{position:"relative",fontSize:"40px",textAlign:"right"},mobileQueueText:{position:"relative",width:"100%",display:"flex",justifyContent:"space-between",textAlign:"end",alignItems:"center","& img":{width:"170px",objectFit:"contain"}},logoContainer:{fontSize:"20px",fontWeight:l.FontWeight.demiBold,boxSizing:"border-box",position:"absolute",top:"32px",width:"100%",padding:"0px 18px","@media screen and (max-width: 1080px)":{fontWeight:l.FontWeight.thin}},separator:{border:"0.1rem solid white",margin:"24px 0","@media screen and (max-width: 1080px)":{margin:"18px"}},horLine:{border:"0.1rem solid white",flex:1},queueName:{textAlign:"end",fontSize:"38px",fontWeight:l.FontWeight.demiBold,"@media screen and (max-width: 1080px)":{fontSize:"24px",fontWeight:l.FontWeight.thin,paddingRight:"10px",whiteSpace:"normal",wordWrap:"break-word",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"40rem"}},footer:{display:"flex",color:i,backgroundColor:s,height:"100px",padding:"24px",boxSizing:"border-box"},footerImage:{flex:"0 1 35rem"},fasttrack:{flex:1,display:"flex",alignItems:a.k2.center,fontSize:"38px"},loading:{display:"flex",alignItems:a.k2.center}},{defaultScreenWidth:720,useScreenWidth:!0}))(e));var o=n(63605),d=n(88580),p=n(100),c=n(51627),m=n(43650);let x=({airportLogo:e,liveData:t,apiUrl:n,withQueryStringQueues:a,showLastUpdated:l,title:x,titleColor:u,titleBackgroun
1dColor:h,backgroundColor:f,hideFooter:g,footerIcon:b,footerText:v,footerBackgroundColor:y,footerTextColor:_,loading:j,siteOptions:N,SiteStyles:w,theme:S,classKey:A,ThemeContainer:H,$t:k})=>{let C={siteOptions:N,SiteStyles:w,theme:S,classKey:A,ThemeContainer:H,$t:k},z=(0,r.xy)({backgroundColor:f,titleColor:u,titleBackgroundColor:h,footerTextColor:_,footerBackgroundColor:y},S||N?.theme||A,s,[]),F=(0,p.R5)().width<=1080;return(0,i.jsxs)("div",{className:(0,r.AH)(z.immigrationContainer),children:[(0,i.jsxs)("div",{className:(0,r.AH)(z.title),children:[(0,i.jsx)("div",{className:(0,r.AH)(z.titleText),children:x}),l&&t?.last_updated_timestamp_local&&(0,i.jsxs)("div",{className:(0,r.AH)(z.lastUpdated),children:["Last updated:"," ",(0,o.GP)(new Date(t.last_updated_timestamp_local),"HH:mm")]})]}),(0,i.jsxs)("div",{className:(0,r.AH)(z.queuesContainer),children:[(0,i.jsx)("div",{className:(0,r.AH)(z.logoContainer),children:(0,i.jsxs)("div",{className:(0,r.AH)(z.mobileQueueText),children:[e?.filename&&(0,i.jsx)("img",{src:(0,m.A)(e.filename)}),F&&(0,i.jsxs)(i.Fragment,{children:["ESTIMATED",(0,i.jsx)("br",{})," QUEUE TIMES"]})]})}),j?(0,i.jsx)("div",{className:(0,r.AH)(z.loading),children:(0,i.jsx)(d.default,{color:"white",...C})}):t?.immigration?.zones?.map((e,t)=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:(0,r.AH)(z.queueItem),children:[!F&&(0,i.jsxs)("div",{className:(0,r.AH)(z.queueText),children:[(0,i.jsx)("div",{className:(0,r.AH)(z.queueName),children:e.name}),(0,i.jsxs)("div",{children:["ESTIMATED",(0,i.jsx)("br",{})," QUEUE"]})]}),(0,i.jsxs)("div",{className:(0,r.AH)(z.timeTextContainerOuter),children:[!F&&(0,i.jsxs)("span",{className:(0,r.AH)(z.timeTextContainer),children:[(0,i.jsx)("span",{children:60*e.hours+e.minutes>5?"BETWEEN":"LESS THAN"}),(0,i.jsx)("span",{className:(0,r.AH)(z.horLine)})]}),F&&(0,i.jsx)("div",{className:(0,r.AH)(z.queueName),children:e.name}),(0,i.jsxs)("span",{className:(0,r.AH)(z.timeText),children:[e.display,F&&"MINS"]}),!F&&(0,i.jsxs)("span",{className:(0,r.AH)(z.timeTextContainer),children:[(0,i.jsx)("span",{className:(0,r.AH)(z.horLine)}),(0,i.jsx)("span",{children:"Minutes"})]})]})]}),0!==t&&(0,i.jsx)("span",{className:(0,r.AH)(z.separator)})]})).reverse()]}),!g&&(0,i.jsxs)("div",{className:(0,r.AH)(z.footer),children:[b.filename&&(0,i.jsx)("div",{className:(0,r.AH)(z.footerImage),children:(0,i.jsx)(c.default,{imageSrc:b.filename})}),(0,i.jsx)("span",{className:(0,r.AH)(z.separator),style:{margin:"0 2rem"}}),(0,i.jsx)("div",{className:(0,r.AH)(z.fasttrack),children:j?(0,i.jsx)("div",{className:(0,r.AH)(z.loading),children:(0,i.jsx)(d.default,{color:"white",...C})}):(0,p.$F)(v||"{{display}} MINS",t.immigration?.fasttrack)})]})]})}}}]);
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.