Bienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.

  • 2022-01-05Date de collecte
  • 2022-02-15Mise à jour
Bienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.
  • Adresse du site Web:sydneyairport.com.au
  • IP du serveur:20.211.72.121
  • Description du site:Bienvenue à l'aéroport de Sydney. Trouvez des informations sur les vols, le stationnement, l'hôtel, le shopping, la restauration et d'autres informations pour les passagers internationaux et nationaux.

nom de domaine:sydneyairport.com.auÉvaluation

sur 5000~500000

nom de domaine:sydneyairport.com.aucouler

175

nom de domaine:sydneyairport.com.auBon ou Mauvais

Les catastrophes sont infinies. difficile à réussir féroce

site Internet:Bienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.Poids

1

site Internet:Bienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.IP

20.211.72.121

site Internet:Bienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.teneur

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':newDate().getTime(),event:'gtm.js'});varf=d.getElementsByTName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-PF8D4M6');WelcometoSydneyAirport-FlightInfo,Parking,Hotels,Shoppingandmorevargooglet=googlet||{};googlet.cmd=googlet.cmd||[];googlet.cmd.push(function(){googlet.enableServices();});var_sj=_sj||[];_sj.push(['company','jeeva']);_sj.push(['collection','sacl']);(function(){varsj=document.createElement('script');sj.type='text/jascript';sj.async=true;sj.src='//cdn.sajari.cBienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.om/js/sj.js';vars=document.getElementsByTName('script')[0];s.parentNode.insertBefore(sj,s);})();varmaps=[];varredrawThunks=[];varlevelSwitcher={};//mapid=>func(levelId)functionaddMap(f){maps.push(f)}functionsetLevelSwitcher(mapId,cb){levelSwitcher[mapId]=cb;}functionswitchLevel(mapId,levelId){if(levelSwitcher[mapId]){levelSwitcher[mapId](levelId);}}functioninitMap(){for(vari=0;iCloseFlightsFlightsFlightdetailsAirlineinformationBgeinformationParking&TransportParking&TransportParkinginformationBookparkingParkingsupportPassengerpick-upPassengerdrop-offParkingmapsTransportoptionsCarhireAirportguideAirportguidePreparetotrelSecurityscreeningDineandshopTerminalmapsTerminaltransfersAssistanceFacilitiesandservicesatT1FacilitiesandservicesatT2FacilitiesandservicesatT3Shop,Dine&StayShop,Dine&StayShopDineStayOffersDutyfreeclickandcollectExchangecurrencyTouristrefundschemeDiscoverDiscoverSYDHubAirportupgradesCommunityHubtripsimSYDStoriesx4e2d;x6587;SearchAccessibilityLangueTrellingovertheholidayperiod?Here'ssomeusefulinformationtohelpyouprepare.FindoutmorevaralertDismissalStoreKey="sydneyairport.alertBannerDismissal";varALERT_DISMISSAL_STORE_KEY="sydneyairport.alertDismissal";varALERT_DISMISSAL_VERSION=1.1;varalertDismissDuration=.0;//SesalerttolocalstorefunctionseAlert(o){try{localStore.setItem(ALERT_DISMISSAL_STORE_KEY,JSON.stringify(o));}catch(e){console.log("Couldnotstorealertdismissal:"+e);}}//Getsthealertdismissalstoreobjectorinitializesit.//Doanymigrationhereifneeded.functiongetOrInitStore(){try{varo=JSON.parse(localStore.getItem(ALERT_DISMISSAL_STORE_KEY));}catch(e){console.log("Couldnotretrievealertdismissalfromlocalstore:"+e);}//Makeinitialobjectifwedon'theoneorifweheanewalertoriftheversionsdiffervarcurrentAlertHash="c7c5a32b196ca1e0598b2d8ed";if(!o||o.alertHash!=currentAlertHash||o.version!==ALERT_DISMISSAL_VERSION){console.log("Initializingalertdismissalstore");o={version:ALERT_DISMISSAL_VERSION,dismissedAt:0//millisecondssinceepoch.};}//StoreitseAlert(o);returno;}functionsetAlertDismissed(alertHash,isDismissed){if(!alertHash){thrownewError("Noalerttextspecified");}varo=getOrInitStore();o.alertHash=alertHash;//OnlyupdatedismissedAtifthealertwasdismissed.if(isDismissed){o.dismissedAt=newDate().getTime();}seAlert(o);}functionisAlertDismissed(){varo=getOrInitStore();returno.dismissedAt+alertDismissDuration*1000>newDate().getTime();//Showanydismissedalertsainafter1day}functiondismissAlert(alertHash){$(".alert-banner").removeClass("");$(".alert-banner").addClass("alert-banner_dismissed");$(".alert-banner").addClass("");setAlertDismissed(alertHash,true);}functionshowAlert(alertHash){$(".alert-banner").removeClass("alert-banner_dismissed");$(".alert-banner").removeClass("alert-banner_hidden");$(".alert-banner").removeClass("");$(".alert-banner").addClass("");setAlertDismissed(alertHash,false);}functionhideAlert(){$(".alert-banner").removeClass("");$(".alert-banner").addClass("alert-banner_hidden");$(".alert-banner").addClass("");}//Initiallythealertishiddenthenshowitdependingonwhetherithasalreadybeendismissed$(document).ready(functionsetCssClassesOnLoad(){var$alertBanner=$('.alert-banner');if($alertBanner.length){varcurrentAlertHash="c7c5a32b196ca1e0598b2d8ed";if(false/*hideAlert*/){return;}varalertDismissed=isAlertDismissed(currentAlertHash);varalwaysShow=window.location.search.indexOf("showAlert=true")!=-1;if(alwaysShow||!alertDismissed){showAlert(currentAlertHash);}}});SecurityWaitTimesT1International0-5minsT2Domestic0-5minsT3Domestic0-5minsWaittimescurrentlyunailable.Weapologisefortheinconvenience.Currentlyclosed.Securitylaneswillre-openat04:00AMAESTFindoutmoreContactusAccessibilityLangueEnglishx4e2d;x6587;x939;x93f;x928;x94d;x926;x940;x65e5;x672c;x8a9e;MediaPartnerwithusJoinusCorporateFlightsFlightdetailsAirlineinformationBgeinformationParking&TransportParkinginformationBookparkingParkingsupportPassengerpick-upPassengerdrop-offParkingmapsTransportoptionsCarhireAirportguidePreparetotrelSecurityscreeningDineandshopTerminalmapsTerminaltransfersAssistanceFacilitiesandservicesatT1FacilitiesandservicesatT2FacilitiesandservicesatT3Shop,Dine&StayShopDineStayOffersDutyfreeclickandcollectExchangecurrencyTouristrefundschemeDiscoverSYDHubAirportupgradesCommunityHubtripsimSYDStoriesx4e2d;x6587;SearchMenu$('document').ready(function(){varbackClickFl=false;//flifthebackbuttononmobileisclicked$(".mobile-menu-toggle").click(function(){$(".mobile-menu").toggleClass("show-mobile-menu");$("body").toggleClass("overflow-hidden");});$('.submenu').on('click',function(){if(backClickFl){backClickFl=false;return;}var$this=$(this);$this.addClass('active');});$('.mobile-menu-back').on('click',function(){backClickFl=true;varsubmenu=$(this).closest('.submenu');submenu.removeClass('active');});});$(document).ready(function(){constSECURITY_WAIT_TIMES_STORE_KEY="sydneyairport.minimisedSecurityWaiTimes";letrequireFetchDataClickMinimisedButton=false;const$liveBlip=$('.live-blip');const$terminals=$(".terminals");const$prevButton=$(".prev");const$nextButton=$(".next");const$toggleT=$('.toggle-security-wait-time');const$terminalsWrapper=$('.terminals-wapper,.cta');const$securityWaitTimes=$('.security-wait-times');$liveBlip.on('click',function(){conststore=getOrInitStore();constnewShowStatus=!store.isShow;toggleSecurityWaitTime(newShowStatus);updateStore({isShow:newShowStatus});if(requireFetchDataClickMinimisedButton){showLoadingSecurityWaitTimes();fetchData();requireFetchDataClickMinimisedButton=false;}});$nextButton.on('click',()=>{$terminals.each(function(){const$this=$(this);$this.animate({scrollLeft:$this[0].scrollWidth},"fast");});});$prevButton.on('click',()=>{$terminals.each(function(){const$this=$(this);$this.animate({scrollLeft:0},"fast");});});functiontoggleSecurityWaitTime(isShow){if(isShow){$toggleT.removeClass("toggled").css('transform','rotate(0deg)');$terminalsWrapper.css('margin-top',"0px");$securityWaitTimes.removeClass("toggled");}else{$toggleT.addClass("toggled").css('transform','rotate(180deg)');$securityWaitTimes.addClass("toggled");$terminalsWrapper.css('margin-top',"1000px");}}functionfetchData(){moment.tz.setDefault('Australia/Sydney');constcurrentTime=moment();constairportOpenHour=moment('04:00','HH:mm');constairportCloseHour=moment('23:00','HH:mm');conststore=getOrInitStore();if(!store.isShow){requireFetchDataClickMinimisedButton=true;toggleSecurityWaitTime(store.isShow);}constisInOpenTime=currentTime.isBetween(airportOpenHour,airportCloseHour);if(!isInOpenTime){showClosed();constisAEDT=currentTime.isDST();$('.time-zone').html(isAEDT?'AEDT':'AEST');}if(document.visibilityState==='visible'&&isInOpenTime&&store.isShow){$.ajax({url:"api.sydneyairport.com.au/external/GetSecurityWaitTime",type:'GET',headers:{'Subscription-Key':"09af684d342cc24ea76f3aeee"},success:(data)=>{loadData(data);setScrollEvents();hideLoadingSecurityWaitTimes();},error:(err)=>{showError();if(nigator.onLine&&err.status!==0){setTimeout(fetchData,);}setScrollEvents();hideLoadingSecurityWaitTimes();}});return;}if(document.visibilityState!=='visible'){document.addEventListener("visibilitychange",fetchData,{once:true});}else{setTimeout(fetchData,);}setTimeout(()=>{hideLoadingSecurityWaitTimes();},400);}functionsetScrollEvents(){$terminals.on("scroll",function(){handleScroll($(this));});$(window).resize(function(){$terminals.each(function(){handleScroll($(this));});});$terminals.each(function(){hBienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.andleScroll($(this));});}functionloadData(data){if(typeofdata==="string"){data=JSON.parse(data);}data=Array.isArray(data)?data:[];data=filterDataByTerminalailability(data);constailableItems=data.filter(x=>x.data&&(x.data.value===0||x.data.value));constunailableText='Waittimescurrentlyunailable';constunailableTextT1='Unailableduetoupgrades';if(ailableItems.length===0){showError();setTimeout(fetchData,);return;}showTerminals();if(ailableItems.length===1){displaySingleTerminalData(ailableItems[0],unailableText,unailableTextT1);setTimeout(fetchData,);return;}if(ailableItems.length===2){displayTwoTerminalData(ailableItems,unailableText,unailableTextT1);}ailableItems.forEach(x=>{constclassName=`.${getClassNameByTerminal(x.terminal)}`;constterminalNumber=getTerminalNumberByTerminal(x.terminal);updateTerminalData(className,terminalNumber,x.data.value);});setTimeout(fetchData,);}functionfilterDataByTerminalailability(data){constenabledTerminals={T1:'false'.toUpperCase()!=='FALSE',T2:'true'.toUpperCase()!=='FALSE',T3:'true'.toUpperCase()!=='FALSE',};returndata.filter(x=>{vara=getTerminalNumberByTerminal(x.terminal);returnenabledTerminals[a]});}functiondisplaySingleTerminalData(item,unailableText,unailableTextT1){$('.t-2').hide();$('.t-1').addClass('item-unailable');updateTerminalErrorText('.t-1',unailableText,"");constterminalNumber=getTerminalNumberByTerminal(item.terminal);$('.t-3.terminal-number').html(terminalNumber);constunailableTerminals=['T1','T2','T3'].filter(x=>x!==terminalNumber);constunailableTerminalNumberText=unailableTerminals.map(t=>`${t}`).join('');$('.t-1.terminal-number').remove();$('.t-1').prepend(unailableTerminalNumberText);updateTerminalTime('.t-3',getTerminalInfoText(item.data.value));}functiondisplayTwoTerminalData(items,unailableText,unailableTextT1){constunailableTerminal=getUnailableTerminal(items);constterminalNumber=getTerminalNumberByTerminal(unailableTerminal);constclassName=getClassNameByTerminal(unailableTerminal);if($(`.${className}.terminal-number`).length>1){$(`.${className}.terminal-number`).slice(1).remove();$(`.${className}.terminal-number`).html(terminalNumber);}updateTerminalErrorText(`.${className}`,unailableText,unailableTextT1);$(`.${className}`).addClass('item-unailable');}functiongetUnailableTerminal(items){constterminals=['Terminal1','Terminal2','Terminal3'];constailableTerminals=items.map(x=>x.terminal);returnterminals.find(t=>!ailableTerminals.includes(t));}functionupdateTerminalErrorText(className,text,textT1){className=className.startsWith('.')?className:`.${className}`;if(className==='.t-1'&&textT1){$(`${className}`).css('order','3');$(`${className}.terminal-info.error-status`).html(textT1);}else{$(`${className}`).css('order','revert');$(`${className}.terminal-info.error-status`).html(text);}$(`${className}.terminal-type`).hide();$(`${className}.time`).hide();$(`${className}.error-status`).show();}functionupdateTerminalData(className,terminalNumber,value){className=className.startsWith('.')?className:`.${className}`;$(`${className}.terminal-number`).html(terminalNumber);if($(`${className}.terminal-number`).length>1){$(`${className}.terminal-number`).slice(1).remove();}updateTerminalTime(className,getTerminalInfoText(value));$(`${className}`).css('display','inline-flex').removeClass('item-unailable');$(`${className}.terminal-type`).show();$(`${className}.time`).show();$(`${className}.error-status`).hide();}functionupdateTerminalTime(className,text){className=className.startsWith('.')?className:`.${className}`;$(`${className}.time`).html(text);}functiongetTerminalInfoText(value){constviewDetailsText=`Viewdetails`;constalertWarningIcon=``;consttimeStart=Math.floor(value/5)*5;consttimeEnd=timeStart+5;if(value>120)return`${alertWarningIcon}120+mins${viewDetailsText}`;if(value>30)return`${alertWarningIcon}${timeStart}-${timeEnd}mins${viewDetailsText}`;return`${timeStart}-${timeEnd}mins`;}functiongetClassNameByTerminal(terminal){returnterminal.includes('Terminal1')?'t-1':terminal.includes('Terminal2')?'t-2':'t-3';}functiongetTerminalNumberByTerminal(terminal){returnterminal.includes('Terminal1')?'T1':terminal.includes('Terminal2')?'T2':'T3';}functionshowError(){$('.blip-icon.active').removeClass('active');$('.t-1,.t-2,.t-3,.t-closed').hide();$('.t-error').css('display','inline-flex');}functionshowClosed(){$('.blip-icon').addClass('active');$('.t-1,.t-2,.t-3,.t-error').hide();$('.t-closed').css('display','inline-flex');}functionshowTerminals(){$('.blip-icon').addClass('active');$('.t-closed,.t-error').hide();$('.t-1,.t-2,.t-3').css('display','inline-flex');}functionshowLoadingSecurityWaitTimes(){$('.terminals-wapper').hide();$('.terminals').hide();$('.loading-terminals').css('display','initial');}functionhideLoadingSecurityWaitTimes(){$('.terminals-wapper').show();$('.terminals').show();$('.loading-terminals').hide();}functionhandleScroll($this){constisAtLeftmostPosition=$this.scrollLeft()===0;constisAtRightmostPosition=$this.scrollLeft()+$this.innerWidth()+0.5>=$this[0].scrollWidth;$prevButton.toggle(!isAtLeftmostPosition);$nextButton.toggle(!isAtRightmostPosition);}functiongetOrInitStore(){letstore;try{store=JSON.parse(localStore.getItem(SECURITY_WAIT_TIMES_STORE_KEY));}catch(e){console.log("CouldnotretrieveminimisedSecurityWaiTimesfromlocalstore:"+e);}if(!store){console.log("InitializingalertminimisedSecurityWaiTimesstore");store={isShow:true};}try{localStore.setItem(SECURITY_WAIT_TIMES_STORE_KEY,JSON.stringify(store));}catch(e){console.log("CouldnotstoreminimisedSecurityWaiTimes:"+e);}returnstore;}functionupdateStore(data){try{localStore.setItem(SECURITY_WAIT_TIMES_STORE_KEY,JSON.stringify(data));}catch(e){console.log("CouldnotstoreminimisedSecurityWaiTimes:"+e);}}showLoadingSecurityWaitTimes();fetchData();});WelcometoSydneyAirportFlightsParkingHotelsDutyFreeSelectaterminalDepartures-DomesticDepartures-InternationalArrivals-DomesticArrivals-International/***Dropdownelementsonthepe*/$('.form-select').each(function(){vardropdown=$(this);//checkifdropdownheadefaultvaluetoenableselectedstatevarselectedItem=$(dropdown.find('.form-select__dropdown-value'));dropdown.toggleClass('form-select--option-selected',!selectedItem.is(':empty'));//Onlylistenforclicksonnon-disableddropdowndropdown.not('.form-select--disabled').on('click',function(e){//e.stopPropation();varoptionList=$(dropdown.find('.form-select__list'));varformValue=$(dropdown.find('input[name="flightType--terminalType"]'));formSelect_CloseAll();dropdown.toggleClass('form-select--open');optionList.toggle();optionList.children().each(function(){varoption=$(this);option.on('click',function(e){e.stopPropation();formSelect_CloseAll();varselectedValue=option.data('value');selectedItem.html(selectedValue);//NotifyjQueryofachangeonahiddeninput.trigger('change')formValue.val(selectedValue).trigger('change');dropdown.toggleClass('form-select--option-selected',!selectedItem.is(':empty'));});});});});/***Closedropdownswhenclickoutsideofdropdowns*/$(document).click(function(event){$('.form-select').each(function(){if(!$(event.target).closest(this).length){//formSelect_CloseAll();$($(this).find('.form-select__list')).hide();$(this).toggleClass('form-select--open',false);}})});functionformSelect_CloseAll(){$('.form-select__list').hide();$('.form-select').toggleClass('form-select--open',false);}Enterflight#,cityorairline/***Checkifform-inputarefilledandtoggleclass**/functionformInput__openFilled(){$('.form-input__field').each(function(){varformField=$(this);var$parent=$(formField.parent());formField.toggleClass('form-input--open',formField.val()!=='');formField.on('input',function(){formField.toggleClass('form-input--open',formField.val()!=='');});formField.on('focus',function(){$parent.addClass('form-input--focus');});formField.on('blur',function(){$parent.removeClass('form-input--focus');});});}//Ensurethatifavalueispersistedinthefieldthatitwillcallthe//associatedmethodoncethepehasfinishedrendering.$(window).on("peshow",function(){formInput__openFilled();})functionflightform_redirectWithParams(e){varsubmittedFormElement=e.target;varsubmittedForm=$(submittedFormElement);varformInputs=form_getFormInputs(submittedForm);for(varindexinformInputs){form_addEventListenerAndCheckValidity(formInputs[index]);}for(varindexinformInputs){if(form_isInputObjectValid(formInputs[index])){if(form_checkInputValidForRedirect(formInputs[index].elementToCheck)){if(formInputs[index].elementToCheck.attr('name')=="flightType--terminalType"){//ExtractqueryparamsfromselectorvarqueryParamValues=formInputs[index].elementToCheck.val().toLowerCase().split("-");queryParamValues[0]=queryParamValues[0].substring(0,queryParamValues[0].length-1);varflightInput=document.createElement("input");flightInput.setAttribute("type","hidden");flightInput.setAttribute("name","flightType");flightInput.setAttribute("value",queryParamValues[0]);varterminalType=document.createElement("input");terminalType.setAttribute("type","hidden");terminalType.setAttribute("name","terminalType");terminalType.setAttribute("value",queryParamValues[1]);submittedFormElement.appendChild(flightInput);submittedFormElement.appendChild(terminalType);}else{//Attachanyadditionalfieldsasqueryparamsvarinput=document.createElement("input");input.setAttribute("type","hidden");input.setAttribute("name",formInputs[index].elementToCheck.attr("id"));input.setAttribute("value",formInputs[index].elementToCheck.val());submittedFormElement.appendChild(input);}}}}}functionflight_form_applyIconsToFields(){varterminalLabel=$("input[name='flightType--terminalType']").siblings(".form-select__label");terminalLabel.append("");}$(function(){flight_form_applyIconsToFields();})Thankyouforcompletingtheform.Oops!itlookslikeweareexperiencinganissuewithourforms,pleasetryainlaterorcall133SYD(133793)or+61296676111outsideAustraliaLocation*InternationalT1DomesticT2DomesticT3/***Dropdownelementsonthepe*/$('.form-select').each(function(){vardropdown=$(this);//checkifdropdownheadefaultvaluetoenableselectedstatevarselectedItem=$(dropdown.find('.form-select__dropdown-value'));dropdown.toggleClass('form-select--option-selected',!selectedItem.is(':empty'));//Onlylistenforclicksonnon-disableddropdowndropdown.not('.form-select--disabled').on('click',function(e){//e.stopPropation();varoptionList=$(dropdown.find('.form-select__list'));varformValue=$(dropdown.find('input[name="terminal"]'));formSelect_CloseAll();dropdown.toggleClass('form-select--open');optionList.toggle();optionList.children().each(function(){varoption=$(this);option.on('click',function(e){e.stopPropation();formSelect_CloseAll();varselectedValue=option.data('value');selectedItem.html(selectedValue);//NotifyjQueryofachangeonahiddeninput.trigger('change')formValue.val(selectedValue).trigger('change');dropdown.toggleClass('form-select--option-selected',!selectedItem.is(':empty'));});});});});/***Closedropdownswhenclickoutsideofdropdowns*/$(document).click(function(event){$('.form-select').each(function(){if(!$(event.target).closest(this).length){//formSelect_CloseAll();$($(this).find('.form-select__list')).hide();$(this).toggleClass('form-select--open',false);}})});functionformSelect_CloseAll(){$('.form-select__list').hide();$('.form-select').toggleClass('form-select--open',false);}EntryDate*//checkifelementisvisibleonviewportfunctionisElementInViewport(el){if(typeofjQuery==="function"&&elinstanceofjQuery){el=el[0];}varrect=el.getBoundingClientRect();return(rect.top>=0&&rect.left>=0&&rect.bottom/***Checkifform-inputarefilledandtoggleclass**/functionformInput__openFilled(){$('.form-input__field').each(function(){varformField=$(this);var$parent=$(formField.parent());formField.toggleClass('form-input--open',formField.val()!=='');formField.on('input',function(){formField.toggleClass('form-input--open',formField.val()!=='');});formField.on('focus',function(){$parent.addClass('form-input--focus');});formField.on('blur',function(){$parent.removeClass('form-input--focus');});});}//Ensurethatifavalueispersistedinthefieldthatitwillcallthe//associatedmethodoncethepehasfinishedrendering.$(window).on("peshow",function(){formInput__openFilled();})Pleasecompletethecaptchafield/***Mainfuncitontohandleformsubmissionandvalidation*@parame:formsubmitevent*/functionform_validateAndSubmit(e,scrollToErrorOnSubmit){//stopdefaultformsubmite.preventDefault();//onlyvalidateoneformifmultipleonthepevarsubmittedFormElement=e.target;varsubmittedForm=$(submittedFormElement);varformInputs=form_getFormInputs(submittedForm);for(varindexinformInputs){form_addEventListenerAndCheckValidity(formInputs[index]);}if(form_checkClientFormInputsValidity(formInputs)){varformData=newFormData(submittedFormElement);varformAction=submittedForm.attr('action');varformMethod=submittedForm.attr('method');varsubmitButton=$(submittedForm.find('input[type=submit]'));varsubmitLoader=$(submittedForm.find('.form__submit-loader'));varformRedirectUrlValue=$(submittedForm.find('input[name=_redirect]')).val();varformMesse=submittedForm.prev();$.ajax({url:formAction,type:formMethod,data:formData,contentType:false,processData:false,beforeSend:function(){//Disabledsubmitbutton+showloadersubmitButton.prop('disabled',true);submitLoader.show();}}).done(function(){varcurrentLocation=window.location.pathname;if(formRedirectUrlValue.length>0&&formRedirectUrlValue!==currentLocation){window.location=formRedirectUrlValue;}else{form_showSuccessMesseAndHideForm(submittedForm,formMesse);}}).fail(function(xhr){varheaderErrorCode=xhr.getResponseHeader('errorCode');varheaderStatusCode=xhr.status;//IfRedirectUrlisinvalid,showsuccessmesseonthesamepe.if(headerStatusCode===404){form_showSuccessMesseAndHideForm(submittedForm,formMesse);//stopherereturn;}if(headerErrorCode==='CAPTCHA_FAILED'){//captchaseterrorformInputs[1].forceFail=true;formInputs[1].elementToScrollTo=$(submittedForm.find('.form__captcha-error'));}else{//formseterrorformInputs[0].forceFail=true;formInputs[0].elementToScrollTo=$(submittedForm.find('.form__submission'));}}).always(function(){//Enabledsubmitbutton+removeloadersubmitButton.prop('disabled',false);submitLoader.hide();form_checkInputsAndToggleErrors(formInputs,scrollToErrorOnSubmit);});}else{form_checkInputsAndToggleErrors(formInputs,scrollToErrorOnSubmit);}}functionform_redirectWithParams(e,scrollToErrorOnSubmit){varsubmittedFormElement=e.target;varsubmittedForm=$(submittedFormElement);varformInputs=form_getFormInputs(submittedForm);for(varindexinformInputs){form_addEventListenerAndCheckValidity(formInputs[index]);}if(form_checkClientFormInputsValidity(formInputs)){for(varindexinformInputs){if(form_isInputObjectValid(formInputs[index])){if(form_checkInputValidForRedirect(formInputs[index].elementToCheck)){varinputName=formInputs[index].elementToCheck.attr("id");varinputVal=formInputs[index].elementToCheck.val();varexistingInput=submittedForm.find("input[name~='"+inputName+"']");if(existingInput.length!=0){existingInput.val(inputVal);}else{varinput=document.createElement("input");input.setAttribute("type","hidden");input.setAttribute("name",inputName);input.setAttribute("value",inputVal);submittedFormElement.appendChild(input);}}}}}else{e.preventDefault();form_checkInputsAndToggleErrors(formInputs,scrollToErrorOnSubmit);}}/***Willcheckall**formInputs**andtoggleerrors*@paramformInputsAllforminput,includingtheformitselfandthecaptcha*/functionform_checkInputsAndToggleErrors(formInputs,scrollToErrorOnSubmit){varelementToScrollTo;formInputs.forEach(function(input){varisInputValid=form_isInputObjectValid(input);//showError:ifinputisinvalidORforceFailform_toggleInputErrors(input.elementToToggleClass,!isInputValid||input.forceFail);//Getthefirstelementweshouldscrollto.if(!elementToScrollTo){elementToScrollTo=input.elementToScrollTo;}});//Onlyscrollifthereisanelementtogoto.if(elementToScrollTo&&scrollToErrorOnSubmit){form_scrollToElement(elementToScrollTo);}}/***ValidatesaninputObject,*setstheelementtoelementToScrollToincaseoferror*removes(null)theelementtoelementToScrollToincaseofvalid**@paraminputObjectObject={*elementToCheck:jqueryObject,*elementToScrollTo:jqueryObject*elementToToggleClass:jqueryObject,*eventsToCheck:listofstringspaceseparated->'keyupmouseenter'*forceFail:boolean,*regexExpression:regex,*}*@returnstrueifinputObjectisvalid,falseotherwise.*/functionform_isInputObjectValid(inputObject){if(!isDefined(inputObject)){returntrBienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.ue;}if(inputObject.forceFail){returnfalse;}if(!isDefined(inputObject.elementToCheck)){returntrue;}if(inputObject.elementToCheck.prop('readonly')||inputObject.elementToCheck.prop('disabled')){//Permitdatepickerstobereadonlyif(inputObject.elementToCheck.attr('class')!=='form-date-picker__fieldhasDatepicker'){returntrue;}}if(inputObject.elementToCheck.attr('minlength')&&inputObject.elementToCheck.val().lengthinputObject.elementToCheck.attr('maxlength')){form_writeErrorToInput(inputObject,"Youcannotspecifymorethan"+inputObject.elementToCheck.attr('maxlength')+"characters");returnfalse;}if(inputObject.elementToCheck.attr('type')==='file'){if(!inputObject.elementToCheck.prop('required')){returntrue;}//Checkingonlythe1stfileatfiles[0]onthefileinputfieldvarfile=inputObject.elementToCheck[0].files[0];inputObject.elementToScrollTo=inputObject.elementToCheck;returnisDefined(file);}if(inputObject.regexExpression){varregex=newRegExp(inputObject.regexExpression);if(inputObject.elementToCheck.prop('required')&&(inputObject.elementToCheck.val()===''||!inputObject.elementToCheck.val().match(regex))){inputObject.elementToScrollTo=inputObject.elementToCheck;form_writeErrorToInput(inputObject,inputObject.regexErrorMesse);returnfalse;}elseif(inputObject.elementToCheck.val()!==''&&!inputObject.elementToCheck.val().match(regex)){inputObject.elementToScrollTo=inputObject.elementToCheck;form_writeErrorToInput(inputObject,inputObject.regexErrorMesse);returnfalse;}else{inputObject.elementToScrollTo=null;returntrue;}}else{if((inputObject.elementToCheck.prop('required')||inputObject.elementToCheck.attr('id')==='g-recaptcha-response')&&inputObject.elementToCheck.val()===''){inputObject.elementToScrollTo=inputObject.elementToCheck;returnfalse;}else{inputObject.elementToScrollTo=null;returntrue;}}}/***Writetoerrormesseofinputobject*/functionform_writeErrorToInput(inputObject,errorMesse){varerror=inputObject.elementToToggleClass.find("[class$='__error']");error.text(errorMesse);}/***Toggleerrorclassonelements**@paramelementToToggleClassjqueryElementtotoogleis-validclass*@paramshowErrorbooleantrue->add|false->removeclass*/functionform_toggleInputErrors(elementToToggleClass,showError){elementToToggleClass.toggleClass('is-invalid',showError);}/***Willreturnfalse(invalid)ifoneforminputisinvalid*/functionform_checkClientFormInputsValidity(formInputs){for(vari=0;i0){//clearthetextratherthanhidingaswewanttopreservethelayoutfromthespanelementsubmittedFormModal.find(".ui-dialog-title").text("");}}/***Helpertocheckifelementisdefined*@paramelemany*@returnstrueifelementisdefined,falseotherwise.*/functionisDefined(elem){returnelem!==undefined&&elem!=null&&elem!=='';}/***CallbackforcaptchaSuccessValidationdata-callback*Willhidecaptchaerrors.*/functioncaptchalidated(){$('.form__captcha-error').toggleClass('is-invalid',false);}/***CallbackforcaptchaOnLoad?onload*Willenablesubmitbuttons.*/functioncaptchaHasLoaded(){$('input[type=submit]').prop('disabled',false);}/***Findsthefollowingelementforaformandmovefocustofield*onceaninputhasbeencompleted*/functionform_attachNextFocusToField(){varform=$(".form");varformFields=form.children('div[class^="form-"]');for(vari=0;i{$("#btn-submit").click();});}}}//ticketchep.atlassian.net/browse/SAC0012-158//thisfunctionadjustdropdownissuebycalculating//thecontentheightanddropDownbuttonheight//andadjustpaddingbasedonmobilescreensizefunctioncheckForFormSelectLabelStyles(){//rightnowthisupdateisonlyapplicableto/signuppeform//otherformsdonotfollowthesamepattern//Note:Thefollowing(appropiate)solutiondonotworkbecauseofnothingacommonpattern//constselectLabelValue=label.siblings('div.form-select__list').find('.form-select__list-item:first').attr('data-value');//if(!selectLabelValue)return;constpathname=window.location.pathname;if(pathname!=='/signup')return;//defaultvaluearebasedonthecurrentcss//flip/src/au/com/sydneyairport/sass/_form-select.scssconstdefaultTop="-10px";constdefaultPaddingTop="0px";constdefaultDropDownButtontPaddingTop=16;constdefaultFormSelectHeightValue=48;constupdatedTop="-20px";constupdatedPaddingTop="5px";constMOBILE_SCREEN_SIZE=550;constLABEL_SELECTER=".form-select__label";constVALUE_SELECTER=".form-select__dropdown-value";constCURRENT_SCREEN_SIZE=$(window).width();constlabel=$(LABEL_SELECTER);constlabelContent=label?.text();constspan=$(VALUE_SELECTER);constformSelect=label.closest('.form-select');constdropDownButton=$('.form-select__dropdown');letnewTop=defaultTop;letnewPaddingTop=defaultPaddingTop;if(CURRENT_SCREEN_SIZE

Placer:Bienvenue à l'aéroport de Sydney - informations de vol, parking, hôtel, shopping, etc.Signaler

En cas de violation du site, veuillez cliquer sur SignalerSignaler