var isChange,RunPickup,FromAeroporto,ToAeroporto,Transfer1,Transfer2,Shuttle,PickupTime1,PickupTime2,Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t,r,n,o,a,s,i,l="",u=0;for(e=Base64._utf8_encode(e);u>2,a=(3&t)<<4|r>>4,s=(15&r)<<2|n>>6,i=63&n,isNaN(r)?s=i=64:isNaN(n)&&(i=64),l=l+this._keyStr.charAt(o)+this._keyStr.charAt(a)+this._keyStr.charAt(s)+this._keyStr.charAt(i);return l},decode:function(e){var t,r,n,o,a,s,i,l="",u=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");u>4,r=(15&a)<<4|s>>2,n=(3&s)<<6|i,l+=String.fromCharCode(t),64!=s&&(l+=String.fromCharCode(r)),64!=i&&(l+=String.fromCharCode(n));return Base64._utf8_decode(l)},_utf8_encode:function(e){e=e.replace(/rn/g,"n");for(var t="",r=0;r127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},_utf8_decode:function(e){for(var t="",r=0,n=c1=c2=0;r191&&n<224?(t+=String.fromCharCode((31&n)<<6|63&(c2=e.charCodeAt(r+1))),r+=2):(t+=String.fromCharCode((15&n)<<12|(63&(c2=e.charCodeAt(r+1)))<<6|63&(c3=e.charCodeAt(r+2))),r+=3);return t}};function animacao(){tjq("html, body").animate({scrollTop:tjq("#blockPersonalDetails").offset().top-600},1e3)}tjq(document).ready(function(){tjq(".select2").select2({tags:!1}),isChange=""!=tjq("#ref").val(),RunPickup=""==tjq("#ref").val(),tjq(".toscroll").click(function(){tjq("html, body").animate({scrollTop:340},500)}),tjq(".toscroll2").click(function(){tjq("html, body").animate({scrollTop:220},500)}),tjq(".toscroll").click(function(){tjq("html, body").animate({scrollTop:340},500)}),tjq(".toscroll3").click(function(){tjq("html, body").animate({scrollTop:600},500)});var e=tjq("input:radio[name=type]");!1===e.is(":checked")&&e.filter("[value=private]").prop("checked",!0).change(),tjq(".change-pickup").on("change",function(e){RunPickup=!0,GetResult(getPickup())}),tjq(".change-pickup1").on("change",function(e){RunPickup=!0;var t=getPickup();1!=t&&(t=0),GetResult(t)}),tjq(".change-pickup2").on("change",function(e){RunPickup=!0;var t=getPickup();2!=t&&(t=0),GetResult(t)}),"destination"!=document.getElementById("to").value&&setTimeout(function(){GetResult(getPickup())},100),tjq(".modal-pickup").click(function(){ModalPickup()});var t=tjq("#original_pickup_time").val();if(void 0!==t&&""!=t){var r=t.split(".")[0],n=t.split(".")[1];userpikH=r,userpikM=n,FromAeroporto?(tjq("#labelPickupTime2").html(translate("LANG_PICKUP_TIME")+" at "+r+"h"+n+"m"),tjq("#calculatedPickupTime2").html(translate("LANG_SAVED_PICKUP_TIME_INFO")+": "+r+":"+n+" Hours"),tjq("#CalSavPickupTime2").html(translate("LANG_PICKUP_INFO_SAVED")),tjq("#userpikH2").val(r),tjq("#userpikH2").parent().children(".custom-select").text(tjq("#userpikH2 :selected").text()),tjq("#userpikM2").val(n),tjq("#userpikM2").parent().children(".custom-select").text(tjq("#userpikM2 :selected").text()),tjq("#divPickupTime2").show(),tjq("#divPickup2").hide()):ToAeroporto&&(tjq("#labelPickupTime1").html(translate("LANG_PICKUP_TIME")+": "+r+"h"+n+"m"),tjq("#calculatedPickupTime1").html(translate("LANG_SAVED_PICKUP_TIME_INFO")+": "+r+":"+n+" Hours"),tjq("#CalSavPickupTime1").html(translate("LANG_PICKUP_INFO_SAVED")),tjq("#userpikH1").val(r),tjq("#userpikH1").parent().children(".custom-select").text(tjq("#userpikH1 :selected").text()),tjq("#userpikM1").val(n),tjq("#userpikM1").parent().children(".custom-select").text(tjq("#userpikM1 :selected").text()),tjq("#divPickupTime1").show(),tjq("#divPickup1").hide())}else userpikH="H";DeleteCookie("quote_from"),DeleteCookie("quote_to"),DeleteCookie("quote_adult"),DeleteCookie("quote_children"),DeleteCookie("quote_infant"),DeleteCookie("quote_retorno"),DeleteCookie("quote_dur"),DeleteCookie("quote_dist"),"/"!=window.location.pathname&&setTimeout(function(){RunPickup="H"==userpikH},2e3),!0==isChange&&show_vat()});var userpikH="",userpikM="";function Teste(){""==tjq("#ref").val()&&(tjq("#from").val("Faro Airport"),tjq("#to").val("Alvor"),tjq("#retorno").val("0"),tjq("#date1").val("2018-01-30"),tjq("#arr_flight_number_1").val("EK123"),tjq("#hora1").val(10),tjq("#minutos1").val(10),tjq("#address").text("Rua do Crime"),tjq("#booking_name").val("Bruno Silva"),tjq("#email").val("bfsilva@gmail.com"),tjq("#mobile").val("123456789"),tjq("#adults").val("2"),UpdateCombo("from"),UpdateCombo("to"),UpdateCombo("retorno"),UpdateCombo("hora1"),UpdateCombo("minutos1"),UpdateCombo("adults"))}function getPickup(){FromAeroporto=!1,0==tjq("#from_findoption").val()&&(FromAeroporto="airport"==tjq("#from :selected").parent().attr("label").toLowerCase()),ToAeroporto=!1,void 0!==tjq("#to :selected").parent().attr("label")&&(ToAeroporto="airport"==tjq("#to :selected").parent().attr("label").toLowerCase()&&0==tjq("#to_findoption").val());var e=1==tjq("#retorno").val();return FromAeroporto&&e?2:ToAeroporto?1:(tjq("#divPickup1").hide(),tjq("#divPickup2").hide(),tjq("#divPickupTime1").hide(),tjq("#divPickupTime2").hide(),0)}function ModalPickup(){var e=tjq('[name="journeytime"]').val();tjq("#modal-journeytime1").html(e),tjq("#modal-journeytime2").html(e),tjq("#modal_pickup_info").modal("show")}function UpdateCombo(e){tjq("#"+e+" :selected").text().length>0?tjq("#"+e).parent().children(".custom-select").text(tjq("#"+e+" :selected").text()):tjq("#"+e).parent().children(".custom-select").text(tjq("#"+e).children("option:selected").text())}function labelFromTo(){tjq("#divShuttleInfo1").hide(),tjq("#divShuttleInfo2").hide(),tjq("#FlightNum-transfer1").hide(),tjq("#FlightNum-transfer2").hide(),FromAeroporto=!1,0==tjq("#from_findoption").val()&&(FromAeroporto="airport"==tjq("#from :selected").parent().attr("label").toLowerCase()),ToAeroporto=!1,void 0!==tjq("#to :selected").parent().attr("label")&&(ToAeroporto="airport"==tjq("#to :selected").parent().attr("label").toLowerCase()&&0==tjq("#to_findoption").val());var e,t,r=1==tjq("#retorno").val();e=""!=tjq("#from_find").val()?tjq("#from_find").val():"destination"!=tjq("#from").val()?tjq("#from :selected").text():"...",tjq(".transfer-from").text(e),t=""!=tjq("#to_find").val()?tjq("#to_find").val():"destination"!=tjq("#to").val()?tjq("#to :selected").text():"...",tjq(".transfer-to").text(t),Transfer1=!1,Transfer2=!1,FromAeroporto?(tjq("#labelTime-transfer1").text(translate("LANG_LANDING_IN")+" "+e+" "+translate("LANG_AT")+":"),tjq("#FlightNum-transfer1").show(),tjq("#info-transfer1").hide(),r&&(tjq("#labelTime-transfer2").text(translate("LANG_FLIGHT_DEPARTS")+" "+e+" "+translate("LANG_AT")+":"),tjq("#info-transfer2").show(),tjq("#info-transfer2").attr("href","#modal_departure_info"),Shuttle?tjq("#divShuttleInfo2").show():PickupTime2=!0,Transfer2=!0),tjq("#address").attr("placeholder",translate("LANG_ENTER_DESTINATION_HERE")),tjq("#arr_flight_number_1").attr("name","arr_flight_number"),tjq("#arr_flight_number_2").removeAttr("name")):ToAeroporto?(tjq("#labelTime-transfer1").text(translate("LANG_FLIGHT_DEPARTS")+" "+t+" "+translate("LANG_AT")+":"),tjq("#info-transfer1").show(),tjq("#info-transfer2").hide(),tjq("#info-transfer1").attr("href","#modal_departure_info"),Shuttle?tjq("#divShuttleInfo1").show():PickupTime1=!0,Transfer1=!0,r&&(tjq("#labelTime-transfer2").text(translate("LANG_LANDING_IN")+" "+t+" "+translate("LANG_AT")+":"),tjq("#FlightNum-transfer2").show(),tjq("#info-transfer2").hide()),tjq("#address").attr("placeholder",translate("LANG_ENTER_PICKUP_ADDRESS")),tjq("#arr_flight_number_1").removeAttr("name"),tjq("#arr_flight_number_2").attr("name","arr_flight_number")):(tjq("#labelTime-transfer1").text(translate("LANG_PICKUP_TIME_AT")+":"),tjq("#labelTime-transfer2").text(translate("LANG_PICKUP_TIME_AT")+":"),tjq("#info-transfer1").hide(),tjq("#info-transfer2").hide(),tjq("#address").attr("placeholder",translate("LANG_ENTER_ADDRESS_HERE")),tjq("#arr_flight_number_1").removeAttr("name"),tjq("#arr_flight_number_2").removeAttr("name")),FromAeroporto||tjq("#address").attr("placeholder",translate("LANG_ENTER_PICKUP_ADDRESS")),r||(tjq("#hora2").val("H"),tjq("#minutos2").val("M"),tjq("#userpikH2").val("H"),tjq("#userpikM2").val("M"),UpdateCombo("hora2"),UpdateCombo("minutos2"),UpdateCombo("userpikH2"),UpdateCombo("userpikM2"),document.trans.hora_2.value="H",document.trans.minutos_2.value="M"),r?FromAeroporto||ToAeroporto?!FromAeroporto&&ToAeroporto?(tjq("#trans_type").val("Return Journey2"),tjq("#placeTosearch").val(tjq("#from").val())):(tjq("#trans_type").val("Return Journey"),tjq("#placeTosearch").val(tjq("#to").val())):(tjq("#trans_type").val("return sem air"),tjq("#placeTosearch").val(tjq("#from").val())):(FromAeroporto&&!ToAeroporto&&(tjq("#trans_type").val("one way from airport"),tjq("#placeTosearch").val(tjq("#to").val())),FromAeroporto&&ToAeroporto&&(tjq("#trans_type").val("one way airport to airport"),tjq("#placeTosearch").val(tjq("#from").val())),!FromAeroporto&&ToAeroporto&&(tjq("#trans_type").val("one way to airport"),tjq("#placeTosearch").val(tjq("#from").val())),FromAeroporto||ToAeroporto||(tjq("#trans_type").val("one way resort to resort"),tjq("#placeTosearch").val(tjq("#to").val()))),PickupTime1&&void 0!==PickupTime1||(tjq("#divPickup1").hide(),tjq("#divPickupTime1").hide()),PickupTime2&&void 0!==PickupTime2||(tjq("#divPickup2").hide(),tjq("#divPickupTime2").hide())}function SwapFromTo(){1==tjq("#to_findoption").val()?(tjq("#div_to_find").hide(),tjq("#selector_to").show(),tjq("#to_findoption").val(0),tjq("#to").val(tjq("#from").val()),tjq("#div_from_find").show(),tjq("#selector_from").hide(),tjq("#from_findoption").val(1),tjq("#from_find").val(tjq("#to_find").val()),tjq("#to_find").val(""),tjq("#from").val("destination")):(tjq("#div_to_find").show(),tjq("#selector_to").hide(),tjq("#to_findoption").val(1),tjq("#to_find").val(tjq("#from_find").val()),tjq("#from_find").val(""),tjq("#div_from_find").hide(),tjq("#selector_from").show(),tjq("#from_findoption").val(0),tjq("#from").val(tjq("#to").val()),tjq("#to").val("destination")),tjq("#from :selected").text().length>0?tjq("#from").parent().children(".custom-select").text(tjq("#from :selected").text()):tjq("#from").parent().children(".custom-select").text(tjq("#from").children("option:selected").text()),tjq("#to :selected").text().length>0?tjq("#to").parent().children(".custom-select").text(tjq("#to :selected").text()):tjq("#to").parent().children(".custom-select").text(tjq("#to").children("option:selected").text()),GetResult()}function ChangeType(e){var t=tjq("input:radio[name=selector]");(Shuttle="shuttle"==e.value)?(tjq("#age").show(),tjq("#showdirections").hide(),t.filter("[value=pay_cash]").prop("disabled",!0).change(),t.filter("[value=pay_pal]").prop("checked",!0).change(),(1==tjq("#from_findoption").val()||1==tjq("#to_findoption").val())&&findplace(""),tjq("#select-map").hide(),tjq("#address-hotel-info").show()):""!=tjq("#agent").val()?(tjq("#showdirections").hide(),(1==tjq("#from_findoption").val()||1==tjq("#to_findoption").val())&&findplace(""),tjq("#select-map").show(),tjq("#address-hotel-info").hide()):(tjq("#age").hide(),tjq("#showdirections").show(),t.filter("[value=pay_cash]").prop("disabled",!1).change(),t.filter("[value=pay_cash]").prop("checked",!0).change(),tjq("#select-map").show(),tjq("#address-hotel-info").hide()),tjq("#service").val(e.value),GetResult()}function progress(){tjq(".travel-time").html('
')}function no_pax_quo(e){document.trans.no_4_pax_cars.value=0,document.trans.no_6_pax_cars.value=0,document.trans.no_12_pax_cars.value=0,document.trans.no_16_pax_cars.value=0,document.trans.no_5_pax_cars.value=0,document.trans.no_8_pax_cars.value=0,document.trans.no_24_pax_cars.value=0,document.trans.no_40_pax_cars.value=0,document.trans.no_49_pax_cars.value=0;var t=0,r=0,n=0;return(n=parseInt(document.trans.no_5_pax_cars.value),t=parseInt(document.trans.adults.value),r=parseInt(document.trans.children.value),isadmin=document.getElementById("showprice").value,totpax="park"==e?parseInt(document.trans.adults.value)+parseInt(document.trans.children.value)+parseInt(document.trans.seniors.value)+parseInt(document.trans.infants.value):parseInt(document.trans.adults.value)+parseInt(document.trans.children.value)+parseInt(document.trans.infants.value),document.trans.no_of_pax.value=totpax,"quote"==document.trans.service.value||("shuttle"==tjq("#service").val()?(pic="",document.trans.service.value="shuttle",pic='Myttaxi fleet',(n=document.getElementById("age")).innerHTML="Infants age: 0 to 2, free.",pay_way()):tjq("#service").val()),totpax>16&&0==isadmin)?(parseInt(document.trans.no_4_pax_cars.value="n"),!1):(totpax>0&&totpax<5&&parseInt(document.trans.no_4_pax_cars.value=1),totpax>4&&totpax<6&&parseInt(document.trans.no_5_pax_cars.value=1),totpax>5&&totpax<7&&parseInt(document.trans.no_6_pax_cars.value=1),totpax>6&&totpax<9&&parseInt(document.trans.no_8_pax_cars.value=1),totpax>8&&totpax<13&&(parseInt(document.trans.no_8_pax_cars.value=1),parseInt(document.trans.no_4_pax_cars.value=1)),totpax>12&&totpax<17&&parseInt(document.trans.no_6_pax_cars.value=2),"private"!=document.trans.service.value&&tjq("#fleet").html(pic),!0)}function showdirmap(){document.getElementById("map_canvas_home").style.height="400px";var e,t=new google.maps.DirectionsService;directionsDisplay=new google.maps.DirectionsRenderer;var r=new google.maps.LatLng(37.01639656101281,-7.968694185790977),n={zoom:9,mapTypeId:google.maps.MapTypeId.ROADMAP,center:r};e=new google.maps.Map(document.getElementById("map_canvas_home"),n),directionsDisplay.setMap(e);var t=new google.maps.DirectionsService,o=document.getElementById("from").value;"Faro Airport"==o&&(o="37.021769527618005, -7.966896591750305");var a=document.getElementById("to").value;"Faro Airport"==a&&(a="37.021189339443914, -7.968862704643674");var s={origin:o,destination:a,travelMode:google.maps.TravelMode.DRIVING};t.route(s,function(t,r){r==google.maps.DirectionsStatus.OK&&(directionsDisplay.setDirections(t),tjq("#modal_map_canvas_home").on("shown.bs.modal",function(){google.maps.event.trigger(e,"resize");var r=t.routes[0].bounds;e.fitBounds(r),e.setCenter(r.getCenter())}),tjq("#modal_map_canvas_home").modal("show"))})}function KmScript(e=1){var t=tjq("#agency").val(),r=document.getElementsByTagName("html")[0].getAttribute("lang");if("sv"==r&&(r="se"),t!=r&&"taxi"==tjq("#quote").val())return tjq("#modal_translation_info").modal("show"),!1;tjq("#divTransfer2").hide(),1==document.trans.retorno.value&&tjq("#divTransfer2").show(),document.trans.opt_from.value=document.trans.from.options[parseInt(document.trans.from.selectedIndex)].parentNode.label,document.trans.opt_to.value=document.trans.to.options[parseInt(document.trans.to.selectedIndex)].parentNode.label,document.trans.nom_from.value=document.getElementById("from").options[document.getElementById("from").selectedIndex].text,document.trans.nom_to.value=document.getElementById("to").options[document.getElementById("to").selectedIndex].text;var n=document.getElementById("from").value,o=document.getElementById("to").value;if("Faro Airport"==n?(tjq("#meeting_faro").show(),tjq("#meeting_lisbon").hide()):"Lisbon Airport"==n?(tjq("#meeting_faro").hide(),tjq("#meeting_lisbon").show()):(tjq("#meeting_faro").hide(),tjq("#meeting_lisbon").hide()),1==document.getElementById("from_findoption").value&&(n=document.getElementById("from_find").value,document.trans.opt_from.value="",document.trans.nom_from.value=""),""==n&&(n="destination"),1==document.getElementById("to_findoption").value&&(o=document.getElementById("to_find").value,document.trans.opt_to.value="",document.trans.nom_to.value=""),"destination"!=o){if("Faro Airport"==n)s="37.021769527618005, -7.966896591750305";else var a,s=n;if("Faro Airport"==o)i="37.021189339443914, -7.968862704643674";else var i=o;var l=new google.maps.DirectionsService,u=new google.maps.DirectionsRenderer,a=!1,c={origin:s,destination:i,travelMode:google.maps.DirectionsTravelMode.DRIVING,avoidTolls:a};l.route(c,function(e,t){t==google.maps.DirectionsStatus.OK&&(u.setDirections(e),(dist_km=(e.routes[0].legs[0].distance.value/1e3).toFixed(0))<30&&(a=!0))}),"Airport"!=document.trans.from.options[parseInt(document.trans.from.selectedIndex)].parentNode.label&&"Airport"!=document.trans.to.options[parseInt(document.trans.to.selectedIndex)].parentNode.label&&(a=!0),setTimeout(function(){var t={origin:s,destination:i,travelMode:google.maps.TravelMode.DRIVING,avoidTolls:a,avoidHighways:a};l.route(t,function(t,r){if(r==google.maps.DirectionsStatus.OK){u.setDirections(t);var a=t.routes[0].legs[0].distance.value/1e3,s=t.routes[0].legs[0].duration.value/60;return s=s.toFixed(0),a=a.toFixed(0),document.trans.dur.value=s,document.trans.dist.value=a,tjq("#showdirections-map").show(),tjq("#showdirections-info").hide(),pickup(e),getprice(n,o,a,s),1}return tjq("#showdirections-map").hide(),getprice(n,o,a,s),1})},300)}else tjq("#showdirections-map").hide(),getprice(n,"destination",0,0);return 1}function Inint_AJAX(){try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new XMLHttpRequest}catch(r){}return alert("XMLHttpRequest not supported"),null}function horas(e,t,r,n){var e,t,r,n;document.trans.hora_1.value=e,document.trans.minutos_1.value=t,document.trans.hora_2.value=r,document.trans.minutos_2.value=n}function getprice(e,t,r,n){var o=tjq("#ref").val(),a=tjq("#showprice").val(),s=tjq("#quote").val();void 0===s&&(s="taxi");var i="/templates/transfers/getprice.php?no_6_pax_cars="+document.trans.no_6_pax_cars.value+"&lang="+document.trans.agency.value+"&no_4_pax_cars="+document.trans.no_4_pax_cars.value+"&from_nom="+document.getElementById("from").options[document.getElementById("from").selectedIndex].text+"&to_nom="+document.getElementById("to").options[document.getElementById("to").selectedIndex].text+"&from="+e+"&to="+t+"&golfbag="+document.trans.golfbag.value+"&no_12_pax_cars="+document.trans.no_12_pax_cars.value+"&no_16_pax_cars="+document.trans.no_16_pax_cars.value+"&no_24_pax_cars="+document.trans.no_24_pax_cars.value+"&no_40_pax_cars="+document.trans.no_40_pax_cars.value+"&no_49_pax_cars="+document.trans.no_49_pax_cars.value+"&no_5_pax_cars="+document.trans.no_5_pax_cars.value+"&service="+document.trans.service.value+"&adults="+document.trans.adults.value+"&children="+document.trans.children.value+"&infants="+document.trans.infants.value+"&totalpax="+document.trans.no_of_pax.value+"&no_8_pax_cars="+document.trans.no_8_pax_cars.value+""e="+s+"&retorno="+document.trans.retorno.value+"&dist="+r+"&dur="+n+"&hora_1="+document.trans.hora_1.value+"&minutos_1="+document.trans.minutos_1.value+"&hora_2="+document.trans.hora_2.value+"&minutos_2="+document.trans.minutos_2.value+"&date1="+document.trans.date1.value+"&date2="+document.trans.date2.value+"&opt_from="+document.trans.opt_from.value+"&opt_to="+document.trans.opt_to.value+"&from_findoption="+document.trans.from_findoption.value+"&to_findoption="+document.trans.to_findoption.value+"&userpikH="+userpikH+"&userpikM="+userpikM+"&verification_code="+o+"&showprice="+a+"&file="+Math.floor(99999999999999*Math.random()+1e13)+" rel='nofollow'";tjq.ajax({url:i,type:"GET",contentType:!1,cache:!1,processData:!1,async:!0,success:function(e){document.body.contains(document.getElementById("priceMobile"))&&tjq("#priceMobile").is(":visible")?document.getElementById("priceMobile").innerHTML=e:document.body.contains(document.getElementById("priceHome"))&&tjq("#priceHome").is(":visible")?(document.getElementById("priceHome").innerHTML=e,"park"==(s=tjq("#quote").val())&&totalprice()):document.body.contains(document.getElementById("price"))&&tjq("#price").is(":visible")&&(document.getElementById("price").innerHTML=e),tjq(".quote_date").each(function(){var e=tjq(this).data("min-date");void 0===e&&(e=0),tjq(this).datepicker({showOn:"button",buttonImage:"/assets/inotec/images/icon/blank.png",buttonText:"",buttonImageOnly:!0,changeYear:!1,minDate:e,dateFormat:"yy-mm-dd",dayNamesMin:["S","M","T","W","T","F","S"],beforeShow:function(e,t){var r=tjq(e).parent().attr("class").replace("datepicker-wrap","");tjq("#ui-datepicker-div").attr("class",""),tjq("#ui-datepicker-div").addClass("ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"),tjq("#ui-datepicker-div").addClass(r)},onClose:function(e){}})})},error:function(e,t,r){alert(r)}})}function pay_way(e){"cash"==e?(tjq("#sendpay_cash").show(),tjq("#sendpay_pal").hide(),tjq("#sendpay_iban").hide()):"pal"==e?(tjq("#sendpay_cash").hide(),tjq("#sendpay_pal").show(),tjq("#sendpay_iban").hide()):(tjq("#sendpay_cash").hide(),tjq("#sendpay_pal").hide(),tjq("#sendpay_iban").show())}function getprice_pax(e){"pickup1"==e?(userpikH=tjq("#userpikH1").val(),userpikM=tjq("#userpikM1").val(),KmScript(0)):"pickup2"==e&&(userpikH=tjq("#userpikH2").val(),userpikM=tjq("#userpikM2").val(),KmScript(0))}function pickup(e){if(void 0!==e&&0!=e&&!Shuttle&&RunPickup){file=Math.floor(99999999999999*Math.random()+1e13),Transfer1?(t=document.trans.hora1.value,r=document.trans.minutos1.value):Transfer2?(t=document.trans.hora2.value,r=document.trans.minutos2.value):(t="H",r="M");var t,r,n=document.trans.dur.value,o=document.getElementById("from").options[document.getElementById("from").selectedIndex].text,a=document.getElementById("to").options[document.getElementById("to").selectedIndex].text;"H"!=t&&"M"!=r&&""!=n?tjq.ajax({url:"/templates/transfers/pickup_time.php?hora="+t+"&minutos="+r+"&dur="+n+"&from="+o+"&to="+a+"&file="+file+" rel='nofollow'",type:"GET",contentType:!1,cache:!1,processData:!1,async:!0,success:function(t){var r=jQuery.parseJSON(t);"H"!=r.hours&&"M"!=r.minutes?Transfer1&&PickupTime1&&1==e?(tjq("#labelPickupTime1").html(translate("LANG_PICKUP_TIME")+": "+r.hours+":"+r.minutes+" Hours"),tjq("#calculatedPickupTime1").html(translate("LANG_CALCULATED_PICKUP_TIME_INFO")+": "+r.hours+":"+r.minutes+" Hours"),tjq("#CalSavPickupTime1").html(translate("LANG_PICKUP_INFO_CALCULATED")),tjq("#userpikH1").val(r.hours),tjq("#userpikH1").parent().children(".custom-select").text(tjq("#userpikH1 :selected").text()),tjq("#userpikM1").val(r.minutes),tjq("#userpikM1").parent().children(".custom-select").text(tjq("#userpikM1 :selected").text()),tjq("#divPickupTime1").show(),tjq("#divPickup1").hide(),tjq("#divPickup2").hide(),tjq("#divPickupTime2").hide(),getprice_pax("pickup1")):Transfer2&&PickupTime2&&2==e&&(tjq("#labelPickupTime2").html(translate("LANG_PICKUP_TIME")+": "+r.hours+":"+r.minutes+" Hours"),tjq("#calculatedPickupTime2").html(translate("LANG_CALCULATED_PICKUP_TIME_INFO")+": "+r.hours+":"+r.minutes+" Hours"),tjq("#CalSavPickupTime2").html(translate("LANG_PICKUP_INFO_CALCULATED")),tjq("#userpikH2").val(r.hours),tjq("#userpikH2").parent().children(".custom-select").text(tjq("#userpikH2 :selected").text()),tjq("#userpikM2").val(r.minutes),tjq("#userpikM2").parent().children(".custom-select").text(tjq("#userpikM2 :selected").text()),tjq("#divPickupTime2").show(),tjq("#divPickup2").hide(),tjq("#divPickup1").hide(),tjq("#divPickupTime1").hide(),getprice_pax("pickup2")):Transfer1&&PickupTime1&&1==e?(tjq("#divPickup1").show(),tjq("#divPickupTime1").hide()):Transfer2&&PickupTime2&&2==e&&(tjq("#divPickup2").show(),tjq("#divPickupTime2").hide())},error:function(e,t,r){alert(r)}}):Transfer1&&PickupTime1&&1==e?(tjq("#divPickup1").show(),tjq("#divPickupTime1").hide(),tjq("#divPickup2").hide()):Transfer2&&PickupTime2&&2==e?(tjq("#divPickup2").show(),tjq("#divPickupTime2").hide(),tjq("#divPickup1").hide()):(tjq("#divPickup1").hide(),tjq("#divPickup2").hide(),tjq("#divPickupTime1").hide(),tjq("#divPickupTime2").hide())}}function SendQuoteForm(e){SetCookie("quote_from",tjq("#from").val()),SetCookie("quote_to",tjq("#to").val()),SetCookie("quote_retorno",tjq("#retorno").val()),SetCookie("quote_adult",tjq("#adults").val()),SetCookie("quote_children",tjq("#children").val()),SetCookie("quote_infant",tjq("#infants").val()),SetCookie("quote_dur",tjq("#dur").val()),SetCookie("quote_dist",tjq("#dist").val()),SetCookie("meta_title","Online Bookings Faro Airport Transfers "+tjq("#nom_to").val()),SetCookie("meta_description","Ttaxi Travel "+tjq("#nom_to").val()+" bookings book online and get your taxi transfer "+tjq("#nom_to").val()+" confirmation in seconds"),location.href=e}function sendquote(e,t,r,n,o,a,s,i,l,u,c,d,p,h,f){file=Math.floor(99999999999999*Math.random()+1e13);var m=Inint_AJAX();m.onreadystatechange=function(){4==m.readyState&&200==m.status&&(document.getElementById("price").innerHTML=m.responseText)};var v="/templates/transfers/quotehome.php?service="+document.trans.service.value+"&from="+document.trans.from.value+"&to="+document.trans.to.value+"&dur="+document.trans.dur.value+"&adults="+document.trans.adults.value+"&children="+document.trans.children.value+"&infants="+document.trans.infants.value+"&email="+e+"&fast_book="+t+"&retorno="+document.trans.retorno.value+"&dist="+document.trans.dist.value+""e_price="+document.trans.cost.value+"&name="+r+"&mobile="+n+"&pickup_time="+o+"&pickup_address="+a+"&flight_number="+s+"&flight_time="+i+"&requests="+l+"&nom_from="+document.trans.nom_from.value+"&nom_to="+document.trans.nom_to.value+"&no_6_pax_cars="+document.trans.no_6_pax_cars.value+"&no_4_pax_cars="+document.trans.no_4_pax_cars.value+"&no_12_pax_cars="+document.trans.no_12_pax_cars.value+"&no_16_pax_cars="+document.trans.no_16_pax_cars.value+"&no_24_pax_cars="+document.trans.no_24_pax_cars.value+"&no_40_pax_cars="+document.trans.no_40_pax_cars.value+"&no_49_pax_cars="+document.trans.no_49_pax_cars.value+"&no_5_pax_cars="+document.trans.no_5_pax_cars.value+"&totalpax="+document.trans.no_of_pax.value+"&no_8_pax_cars="+document.trans.no_8_pax_cars.value+"&arrday="+u+"&arrmonth="+c+"&arryear="+d+"&depday="+p+"&depmonth="+h+"&depyear="+f+"&file="+file;m.open("POST",v+" rel='nofollow'",!0),m.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=iso-8859-1"),m.setRequestHeader("robots","nofollow, noindex"),m.send(null)}function Clearemail(){clear="",tjq("#progress").html(clear)}function SendQuoteNew(e,t=0){var r,n=tjq("#quote_email").val(),o=tjq("#quote_mobile").val();if("busquote"==e){var a=document.trans,s=a.name.value.replace(/^\s+|\s+$/,"");if(""==a.name.value||0==s.length||(reg=/^[a-zA-Z0-9 ]+$/,!a.name.value.match(reg)))return a.name.classList.add("form-error"),setTimeout(function(){a.name.classList.remove("form-error")},5e3),!1;var s=n.replace(/^\s+|\s+$/,"");if(""==n||0==s.length){tjq("#quote_email").addClass("form-error");var i=1}else if(reg=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,""!=n&&!n.match(reg))return a.email.classList.add("form-error"),!1;var s=o.replace(/^\s+|\s+$/,"");if(""==o||0==s.length){tjq("#quote_mobile").addClass("form-error");var i=1}if(""==tjq("#quote_date1").val()){tjq("#quote_date1").addClass("form-error");var i=1}if(""==tjq("#quote_date2").val()&&1==tjq("#retorno").val()){tjq("#quote_date2").addClass("form-error");var i=1}if(1==i)return setTimeout(function(){a.name.classList.remove("form-error"),a.quote_email.classList.remove("form-error"),a.quote_mobile.classList.remove("form-error"),a.quote_date1.classList.remove("form-error"),a.quote_date2.classList.remove("form-error")},3e3),!1;r=Base64.encode(document.trans.requests.value)}else if(tjq("#quote_email").length){if(reg=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,""!=n&&!n.match(reg))return progress=''+translate("LANG_INVALID_EMAIL_ADDRESS")+"",tjq("#progress").html(progress),!1;reg=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,""!=n&&n.match(reg)&&(progress='

'+translate("LANG_PLEASE_WAIT_SENDING_QUOTE")+"
",tjq("#progress").html(progress))}file=Math.floor(99999999999999*Math.random()+1e13);var l=Inint_AJAX();l.onreadystatechange=function(){4==l.readyState&&200==l.status&&(document.body.contains(document.getElementById("priceMobile"))&&tjq("#priceMobile").is(":visible")&&(document.getElementById("priceMobile").innerHTML=l.responseText),document.body.contains(document.getElementById("priceHome"))&&tjq("#priceHome").is(":visible")&&(document.getElementById("priceHome").innerHTML=l.responseText),document.body.contains(document.getElementById("price"))&&tjq("#price").is(":visible")&&(document.getElementById("price").innerHTML=l.responseText))};var u=new Date(tjq("#quote_date1").val()),c=u.getUTCDate(),d=u.getUTCMonth()+1,p=u.getUTCFullYear(),h=(u=new Date(tjq("#quote_date2").val())).getUTCDate(),f=u.getUTCMonth()+1,m=u.getUTCFullYear();document.trans.nom_from.value=document.getElementById("from").options[document.getElementById("from").selectedIndex].text,document.trans.nom_to.value=document.getElementById("to").options[document.getElementById("to").selectedIndex].text;var v="/templates/transfers/quotehome.php?service="+document.trans.service.value+"&from="+document.trans.from.value+"&to="+document.trans.to.value+"&dur="+document.trans.dur.value+"&adults="+document.trans.adults.value+"&children="+document.trans.children.value+"&infants="+document.trans.infants.value+"&email="+n+"&fast_book="+e+"&retorno="+document.trans.retorno.value+"&dist="+document.trans.dist.value+""e_price="+t+"&name="+document.trans.name.value+"&mobile="+o+"&requests="+r+"&nom_from="+document.trans.nom_from.value+"&nom_to="+document.trans.nom_to.value+"&no_6_pax_cars="+document.trans.no_6_pax_cars.value+"&no_4_pax_cars="+document.trans.no_4_pax_cars.value+"&no_12_pax_cars="+document.trans.no_12_pax_cars.value+"&no_16_pax_cars="+document.trans.no_16_pax_cars.value+"&no_24_pax_cars="+document.trans.no_24_pax_cars.value+"&no_40_pax_cars="+document.trans.no_40_pax_cars.value+"&no_49_pax_cars="+document.trans.no_49_pax_cars.value+"&no_5_pax_cars="+document.trans.no_5_pax_cars.value+"&totalpax="+document.trans.no_of_pax.value+"&no_8_pax_cars="+document.trans.no_8_pax_cars.value+"&arrday="+c+"&arrmonth="+d+"&arryear="+p+"&depday="+h+"&depmonth="+f+"&depyear="+m+"&file="+file;l.open("POST",v+" rel='nofollow'"),l.setRequestHeader("Content-Type","application/x-www-form-urlencoded;charset=iso-8859-1"),l.setRequestHeader("robots","nofollow, noindex"),l.send(null)}function findplace(e){if(""==e){tjq("#div_from_find").hide(),tjq("#div_to_find").hide(),tjq("#selector_from").show(),tjq("#selector_to").show(),tjq("#from_findoption").val(0),tjq("#to_findoption").val(0),tjq("#from_find").val(""),tjq("#to_find").val(""),tjq("#showdirections-custom").show(),tjq("#showdirections-info").hide();var t=new FormData;t.append("action","transfers.SELECTTransfersPlaces"),t.append("default","Faro Airport"),tjq.ajax({url:"/includes/functions.ajax.php",type:"POST",data:t,contentType:!1,cache:!1,processData:!1,async:!1,success:function(e){tjq("#from").html(e),tjq("#from").val("Faro Airport"),tjq("#from :selected").text().length>0?tjq("#from").parent().children(".custom-select").text(tjq("#from :selected").text()):tjq("#from").parent().children(".custom-select").text(tjq("#from").children("option:selected").text()),tjq("#to").html(e),tjq("#to").val("destination"),tjq("#to :selected").text().length>0?tjq("#to").parent().children(".custom-select").text(tjq("#to :selected").text()):tjq("#to").parent().children(".custom-select").text(tjq("#to").children("option:selected").text())}})}else tjq("#div_to_find").show(),tjq("#selector_to").hide(),tjq("#to_findoption").val(1),tjq("#showdirections-custom").hide(),tjq("#showdirections-info").show(),tjq("#from").children().remove("optgroup[label='Spain']"),tjq("#to").children().remove("optgroup[label='Spain']"),tjq("#from").children().remove("optgroup[label='Portugal']"),tjq("#to").children().remove("optgroup[label='Portugal']"),tjq("#from").children().remove("optgroup[label='Algarve Golf']"),tjq("#to").children().remove("optgroup[label='Algarve Golf']"),tjq("#from option[value='Beja Airport']").remove(),tjq("#from option[value='Lisbon Airport']").remove(),tjq("#from option[value='Seville Airport']").remove(),tjq("#to option[value='Beja Airport']").remove(),tjq("#to option[value='Lisbon Airport']").remove(),tjq("#to option[value='Seville Airport']").remove(),tjq("#from").val("Faro Airport"),tjq("#from :selected").text().length>0?tjq("#from").parent().children(".custom-select").text(tjq("#from :selected").text()):tjq("#from").parent().children(".custom-select").text(tjq("#from").children("option:selected").text()),tjq("#to").val("destination"),tjq("#to :selected").text().length>0?tjq("#to").parent().children(".custom-select").text(tjq("#to :selected").text()):tjq("#to").parent().children(".custom-select").text(tjq("#to").children("option:selected").text());GetResult()}function ButtonFindPlace(){progress(),no_pax_quo("trans"),labelFromTo(),KmScript()}function GetResult(e=0){if(progress='
',tjq("#progress").html(progress),horas(document.trans.hora1.value,document.trans.minutos1.value,document.trans.hora2.value,document.trans.minutos2.value),0==document.getElementById("to_findoption").value&&""!=tjq("#to option:selected").attr("gps")){var t=tjq("#to option:selected").attr("gps");if(null!=t){var r=t.split(","),n=new google.maps.LatLng(parseFloat(r[0]),parseFloat(r[1]));new google.maps.Geocoder().geocode({latLng:n},function(e){e&&e.length>0&&tjq("#address").val(e[0].formatted_address)})}labelFromTo()}no_pax_quo(tjq("#quote").val()),KmScript(e)}function removeredBorder(){var e=document.trans;e.arr_flight_number_1.classList.remove("form-error"),e.arr_flight_number_2.classList.remove("form-error"),e.address.classList.remove("form-error"),e.booking_name.classList.remove("form-error"),e.email.classList.remove("form-error"),e.mobile.classList.remove("form-error")}function send_booking(){var e=document.trans,t=parseInt(e.infants.value)+parseInt(e.children.value);if(parseInt(e.boosters_seats.value)+parseInt(e.baby_seats.value)>t)return tjq("#transAlert").html(translate("LANG_CHILDREN_CHECK")),tjq("#modal_send_booking_alert").modal("show"),!1;if(parseInt(e.baby_seats.value)>parseInt(e.infants.value)||parseInt(e.boosters_seats.value)>parseInt(e.children.value))return tjq("#transAlert").html(translate("LANG_CHILDREN_CHECK_CH_INF")),tjq("#modal_send_booking_alert").modal("show"),!1;if(tjq("#baby_seats").val(parseInt(e.infants.value)).change(),"n"==document.trans.no_4_pax_cars.value)return tjq("#transAlert").html(translate("LANG_FOR_THIS_NUMBER_OF_PERSONS")),tjq("#modal_send_booking_alert").modal("show"),!1;if(3==e.confirmacao.value||9==e.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_INVALID_DATES")),tjq("#modal_send_booking_alert").modal("show"),!1;if(1==e.please_wait.value)return tjq("#transAlert").html(translate("LANG_PLEASE_WAIT")),tjq("#modal_send_booking_alert").modal("show"),!1;if(2==e.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_FROM_SAME_TO")),tjq("#modal_send_booking_alert").modal("show"),!1;if(3==e.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_MUST_START_FINISH_ALGARVE")),tjq("#modal_send_booking_alert").modal("show"),!1;if(4==e.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_AIRPORT_RETURN_NO")),tjq("#modal_send_booking_alert").modal("show"),!1;if(5==document.trans.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_SHERED_TRANSFERS_ONLY_FARO_AIRPORT")),tjq("#modal_send_booking_alert").modal("show"),!1;if(6==document.trans.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_SHERED_TRANSFERS_NOT_THIS_PLACE")),tjq("#modal_send_booking_alert").modal("show"),!1;if(7==document.trans.confirmacao_reserva.value)return tjq("#transAlert").html("At this time, there is no transfers available!"),tjq("#modal_send_booking_alert").modal("show"),!1;if(8==document.trans.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_NO_COACH_TRANSFERS_AVAILABLE_THIS_TIME")),tjq("#modal_send_booking_alert").modal("show"),!1;if(9==e.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_WE_CANNOT_CONFIRM_BOOKING_THIS_DATES")),tjq("#modal_send_booking_alert").modal("show"),!1;if(10==e.confirmacao_reserva.value)return tjq("#transAlert").html(translate("LANG_MONTIJO_AIRPORT_UNDER_CONSTRUCTION")),tjq("#modal_send_booking_alert").modal("show"),!1;if(0==e.to_findoption.value){if("destination"==e.to.value)return tjq("#transAlert").html(translate("LANG_SELECT_DESTINATION_ST")),tjq("#modal_send_booking_alert").modal("show"),!1}else if(""==e.to_find.value){e.to_find.classList.add("form-error");var r=1}if(1==e.from_findoption.value&&""==e.from_find.value){e.from_find.classList.add("form-error");var r=1}if(0==e.adults.value)return tjq("#transAlert").html(translate("LANG_SELECT_NUMBER_OF_PERSONS")),tjq("#modal_send_booking_alert").modal("show"),!1;var n=e.booking_name.value.replace(/^\s+|\s+$/,"");if(""==e.booking_name.value||0==n.length){e.booking_name.classList.add("form-error");var r=1}var n=e.email.value.replace(/^\s+|\s+$/,"");if(""==e.email.value||0==n.length){e.email.classList.add("form-error");var r=1}else if(reg=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,""!=e.email.value&&!e.email.value.match(reg))return tjq("#transAlert").html(translate("LANG_INVALID_EMAIL_ADDRESS")),tjq("#modal_send_booking_alert").modal("show"),e.email.classList.add("form-error"),!1;var n=e.mobile.value.replace(/^\s+|\s+$/,"");if(""==e.mobile.value||0==n.length){e.mobile.classList.add("form-error");var r=1}if("Return Journey"==e.trans_type.value||"Return Journey2"==e.trans_type.value){if(""==e.date1.value){e.date1.classList.add("form-error");var r=1}else if(""==e.arr_flight_number.value){e.arr_flight_number.classList.add("form-error");var r=1}else if("H"==e.hora1.value)return tjq("#transAlert").html(translate("LANG_LANDING_TAKEOFF_TIMES_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos1.value)return tjq("#transAlert").html(translate("LANG_LANDING_TAKEOFF_TIMES_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;if(""==e.date2.value){e.date2.classList.add("form-error");var r=1}else if("H"==e.hora2.value)return tjq("#transAlert").html(translate("LANG_LANDING_TAKEOFF_TIMES_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos2.value)return tjq("#transAlert").html(translate("LANG_LANDING_TAKEOFF_TIMES_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;if("Return Journey"==e.trans_type.value){if("H"!=e.hora2.value&&"M"!=e.minutos2.value&&("H"==e.userpikH2.value||""==e.userpikH2.value||"M"==e.userpikM2.value||""==e.userpikM2.value))return tjq("#transAlert").html(translate("LANG_MISSING_PICKUP_TIME_ENTER_DEPARTURE_TIME")),tjq("#modal_send_booking_alert").modal("show"),!1}else if("H"!=e.hora1.value&&"M"!=e.minutos1.value&&("H"==e.userpikH1.value||""==e.userpikH1.value||"M"==e.userpikM1.value||""==e.userpikM1.value))return tjq("#transAlert").html(translate("LANG_MISSING_PICKUP_TIME_ENTER_DEPARTURE_TIME")),tjq("#modal_send_booking_alert").modal("show"),!1;if(""==e.address.value){e.address.classList.add("form-error");var r=1}var n=e.address.value.replace(/^\s+|\s+$/,"");if(0==n.length){e.address.classList.add("form-error");var r=1}}if("return sem air"==e.trans_type.value){if(""==e.date1.value){e.date1.classList.add("form-error");var r=1}else if("H"==e.hora1.value)return tjq("#transAlert").html(translate("LANG_PICKUP_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos1.value)return tjq("#transAlert").html(translate("LANG_PICKUP_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;if(""==e.date2.value){e.date2.classList.add("form-error");var r=1}else if("H"==e.hora2.value)return tjq("#transAlert").html(translate("LANG_PICKUP_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos2.value)return tjq("#transAlert").html(translate("LANG_PICKUP_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;if(""==e.address.value){e.address.classList.add("form-error");var r=1}var n=e.address.value.replace(/^\s+|\s+$/,"");if(0==n.length){e.address.classList.add("form-error");var r=1}}if("one way from airport"==e.trans_type.value){if(""==e.date1.value){e.date1.classList.add("form-error");var r=1}else if(""==e.arr_flight_number.value){e.arr_flight_number.classList.add("form-error");var r=1}else if("H"==e.hora1.value)return tjq("#transAlert").html(translate("LANG_LANDING_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos1.value)return tjq("#transAlert").html(translate("LANG_LANDING_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;if(console.log(r),""==e.address.value){e.address.classList.add("form-error");var r=1}var n=e.address.value.replace(/^\s+|\s+$/,"");if(0==n.length){e.address.classList.add("form-error");var r=1}}if("one way airport to airport"==e.trans_type.value){if(""==e.date1.value){e.date1.classList.add("form-error");var r=1}else if(""==e.arr_flight_number.value){e.arr_flight_number.classList.add("form-error");var r=1}else if("H"==e.hora1.value)return tjq("#transAlert").html(translate("LANG_LANDING_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos1.value)return tjq("#transAlert").html(translate("LANG_LANDING_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1}if("one way to airport"==e.trans_type.value){if(""==e.date1.value){e.date1.classList.add("form-error");var r=1}else if("H"==e.hora1.value)return tjq("#transAlert").html(translate("LANG_TAKE_OFF_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos1.value)return tjq("#transAlert").html(translate("LANG_TAKE_OFF_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;if(("H"==e.userpikH1.value||""==e.userpikH1.value||"M"==e.userpikM1.value||""==e.userpikM1.value)&&"H"!=e.hora1.value&&"H"!=e.minutos1.value)return tjq("#transAlert").html(translate("LANG_MISSING_PICKUP_TIME_ENTER_DEPARTURE_TIME")),tjq("#modal_send_booking_alert").modal("show"),!1;if(""==e.address.value){e.address.classList.add("form-error");var r=1}var n=e.address.value.replace(/^\s+|\s+$/,"");if(0==n.length){e.address.classList.add("form-error");var r=1}tjq("input[name=hora2]").val(document.trans.hora1.value),tjq("input[name=minutos2]").val(document.trans.minutos1.value)}if("one way resort to resort"==e.trans_type.value){if(""==e.date1.value){e.date1.classList.add("form-error");var r=1}else if("H"==e.hora1.value)return tjq("#transAlert").html(translate("LANG_PICKUP_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;else if("M"==e.minutos1.value)return tjq("#transAlert").html(translate("LANG_PICKUP_TIME_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;if(""==e.address.value){e.address.classList.add("form-error");var r=1}var n=e.address.value.replace(/^\s+|\s+$/,"");if(0==n.length){e.address.classList.add("form-error");var r=1}}if("yes"==e.vatinvoice.value){if(0==e.vatname.value.replace(/^\s+|\s+$/,"").length){e.vatname.classList.add("form-error");var r=1}if(0==e.vataddress.value.replace(/^\s+|\s+$/,"").length){e.vataddress.classList.add("form-error");var r=1}if(0==e.postcode.value.replace(/^\s+|\s+$/,"").length){e.postcode.classList.add("form-error");var r=1}if(0==e.city.value.replace(/^\s+|\s+$/,"").length){e.city.classList.add("form-error");var r=1}if(0==e.contry.value.replace(/^\s+|\s+$/,"").length)return tjq("#transAlert").html(translate("LANG_SELECT_VAT_COUNTRY")),tjq("#modal_send_booking_alert").modal("show"),!1;if(0==e.vatnumber.value.replace(/^\s+|\s+$/,"").length){e.vatnumber.classList.add("form-error");var r=1}}if(1==r)return tjq("#transAlert").html(translate("LANG_RED_FIELDS_REQUIRED")),tjq("#modal_send_booking_alert").modal("show"),!1;var o=parseInt(e.children.value),a=parseInt(e.infants.value),s=parseInt(e.boosters_seats.value),i=parseInt(e.baby_seats.value),l=o+a,u=parseInt(s+i);if(l>0&&u<1&&!0!=confirm(translate("LANG_YOU_HAVE_SELECT")+" "+l+" "+translate("LANG_CHILDREN_SEATS_MISSING")))return!1;send_booking_ok()}function send_booking_ok(){var e=document.trans;if(!0==isChange&&("Return Journey2"==(transtype=tjq("#trans_type").val())||"one way to airport"==transtype?(userpikH=tjq("#userpikH1").val(),userpikM=tjq("#userpikM1").val()):"Return Journey"==transtype&&(userpikH=tjq("#userpikH2").val(),userpikM=tjq("#userpikM2").val())),tjq("input[name=userpikH]").val(userpikH),tjq("input[name=userpikM]").val(userpikM),""!=tjq("#ref").val()){var t='
'+translate("LANG_PLEASE_WAIT_UPDATE_BOOKING");return tjq("#prog").html(t),tjq("#modal_send_booking").modal("show"),document.trans.action="/templates/transfers/private_cash.php",setTimeout(function(){document.trans.submit()},2e3),!0}if(1==e.confirmacao_reserva.value){if("private"==e.service.value||"buspay"==e.service.value?service="PRIVATE TRANSFER":"shuttle"==e.service.value?service="SHERED SHUTTLE":"fastshuttle"==e.service.value&&(service="SPEEDY SHUTTLE"),1==document.getElementById("pay_cash").checked){document.trans.please_wait.value=1;var t='
'+translate("LANG_PLEASE_WAIT_SENDING_BOOKING");tjq("#prog").html(t),tjq("#infonextpage").html(translate("LANG_PLEASE_WAIT_NEXT_PAGE_INFO_CASH")),tjq("#modal_send_booking").modal("show"),document.trans.action="/templates/transfers/private_cash.php"}else{document.getElementById("progress"),document.trans.please_wait.value=1;var t='
'+translate("LANG_PLEASE_WAIT_CONNECTING_PAYPAL");tjq("#prog").html(t),tjq("#infonextpage").html(translate("LANG_PLEASE_WAIT_NEXT_PAGE_INFO_PAYPAL")),tjq("#modal_send_booking").modal("show"),document.trans.action="/templates/transfers/private_paypal.php"}setTimeout(function(){document.trans.submit()},2e3)}else if("private"==e.service.value||"buspay"==e.service.value?service="PRIVATE TRANSFER":"shuttle"==e.service.value?service="SHERED SHUTTLE":"fastshuttle"==e.service.value&&(service="SPEEDY SHUTTLE"),1==document.getElementById("pay_cash").checked){var t='
'+translate("LANG_PLEASE_WAIT_SENDING_BOOKING");tjq("#prog").html(t),tjq("#transAlert").html(translate("LANG_BOOKING_READY_TO_SEND_BUT_NOT_CONFIRMED")),tjq("#modal_send_booking_alert").modal("show"),tjq("#ok_alert_button").off("click").on("click",function(){tjq("#modal_send_booking").modal("show"),document.trans.action="/templates/transfers/private_cash.php",setTimeout(function(){document.trans.submit()},2e3)})}else{tjq("#transAlert").html(translate("LANG_ONLINE_PAYMENT_NOT_AVAILABLE_BOOKING_NOT_CONFIRMED")),tjq("#modal_send_booking_alert").modal("show");var t='
'+translate("LANG_PLEASE_WAIT_SENDING_BOOKING");tjq("#prog").html(t),tjq("#ok_alert_button").off("click").on("click",function(){tjq("#modal_send_booking").modal("show"),document.trans.action="/templates/transfers/private_cash.php",setTimeout(function(){document.trans.submit()},2e3)})}}tjq(".userpikH1").on("change",function(e){tjq(".travel-time").html('
'),getprice_pax("pickup1")}),tjq(".userpikH2").on("change",function(e){tjq(".travel-time").html('
'),getprice_pax("pickup2")}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t,t=e.fn.select2.amd;return function(){if(!t||!t.requirejs){var e,r,n;t?r=t:t={},function(t){var o,a,s,i,l={},u={},c={},d={},p=Object.prototype.hasOwnProperty,h=[].slice,f=/\.js$/;function m(e,t){return p.call(e,t)}function v(e,t){var r,n,o,a,s,i,l,u,d,p,h,m=t&&t.split("/"),v=c.map,g=v&&v["*"]||{};if(e&&"."===e.charAt(0)){if(t){for(s=(e=e.split("/")).length-1,c.nodeIdCompat&&f.test(e[s])&&(e[s]=e[s].replace(f,"")),e=m.slice(0,m.length-1).concat(e),d=0;d0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2))}if((m||g)&&v){for(d=(r=e.split("/")).length;d>0;d-=1){if(n=r.slice(0,d).join("/"),m){for(p=m.length;p>0;p-=1)if((o=v[m.slice(0,p).join("/")])&&(o=o[n])){a=o,i=d;break}}if(a)break;!l&&g&&g[n]&&(l=g[n],u=d)}!a&&l&&(a=l,i=u),a&&(r.splice(0,i,a),e=r.join("/"))}return e}function g(e,r){return function(){var n=h.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),a.apply(t,n.concat([e,r]))}}function y(e){return function(t){l[e]=t}}function A(e){if(m(u,e)){var r=u[e];delete u[e],d[e]=!0,o.apply(t,r)}if(!m(l,e)&&!m(d,e))throw Error("No "+e);return l[e]}function _(e){var t,r=e?e.indexOf("!"):-1;return r>-1&&(t=e.substring(0,r),e=e.substring(r+1,e.length)),[t,e]}s=function(e,t){var r,n,o=_(e),a=o[0];return(e=o[1],a&&(n=A(a=v(a,t))),a)?e=n&&n.normalize?n.normalize(e,(r=t,function(e){return v(e,r)})):v(e,t):(e=v(e,t),a=(o=_(e))[0],e=o[1],a&&(n=A(a))),{f:a?a+"!"+e:e,n:e,pr:a,p:n}},i={require:function(e){return g(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){var t;return{id:e,uri:"",exports:l[e],config:(t=e,function(){return c&&c.config&&c.config[t]||{}})}}},o=function(e,r,n,o){var a,c,p,h,f,v,_=[],b=typeof n;if(o=o||e,"undefined"===b||"function"===b){for(f=0,r=!r.length&&n.length?["require","exports","module"]:r;f0&&(r.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}t.displayName=e.displayName,a.prototype=new function e(){this.constructor=a};for(var s=0;s":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},t.appendMany=function(t,r){if("1.7"===e.fn.jquery.substr(0,3)){var n=e();e.map(r,function(e){n=n.add(e)}),r=n}t.append(r)},t}),t.define("select2/results",["jquery","./utils"],function(e,t){function r(e,t,n){this.$element=e,this.data=n,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var t=e('
    ');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},r.prototype.clear=function(){this.$results.empty()},r.prototype.displayMessage=function(t){var r=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=e('
  • '),o=this.options.get("translations").get(t.message);n.append(r(o(t.args))),n[0].className+=" select2-results__message",this.$results.append(n)},r.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},r.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length){0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"});return}e.results=this.sort(e.results);for(var r=0;r0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},r.prototype.setClasses=function(){var t=this;this.data.current(function(r){var n=e.map(r,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var t=e(this),r=e.data(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&e.inArray(o,n)>-1?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},r.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},r=this.option(t);r.className+=" loading-results",this.$results.prepend(r)},r.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},r.prototype.option=function(t){var r=document.createElement("li");r.className="select2-results__option";var n={role:"treeitem","aria-selected":"false"};for(var o in t.disabled&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==t.id&&delete n["aria-selected"],null!=t._resultId&&(r.id=t._resultId),t.title&&(r.title=t.title),t.children&&(n.role="group",n["aria-label"]=t.text,delete n["aria-selected"]),n){var a=n[o];r.setAttribute(o,a)}if(t.children){var s=e(r),i=document.createElement("strong");i.className="select2-results__group",e(i),this.template(t,i);for(var l=[],u=0;u",{class:"select2-results__options select2-results__options--nested"});p.append(l),s.append(i),s.append(p)}else this.template(t,r);return e.data(r,"data",t),r},r.prototype.bind=function(t,r){var n=this,o=t.id+"-results";this.$results.attr("id",o),t.on("results:all",function(e){n.clear(),n.append(e.data),t.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),t.on("results:append",function(e){n.append(e.data),t.isOpen()&&n.setClasses()}),t.on("query",function(e){n.hideMessages(),n.showLoading(e)}),t.on("select",function(){t.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(n.setClasses(),n.highlightFirstItem())}),t.on("open",function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()}),t.on("close",function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=n.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=n.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?n.trigger("close",{}):n.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),r=t.index(e);if(0!==r){var o=r-1;0===e.length&&(o=0);var a=t.eq(o);a.trigger("mouseenter");var s=n.$results.offset().top,i=a.offset().top,l=n.$results.scrollTop()+(i-s);0===o?n.$results.scrollTop(0):i-s<0&&n.$results.scrollTop(l)}}),t.on("results:next",function(){var e=n.getHighlightedResults(),t=n.$results.find("[aria-selected]"),r=t.index(e)+1;if(!(r>=t.length)){var o=t.eq(r);o.trigger("mouseenter");var a=n.$results.offset().top+n.$results.outerHeight(!1),s=o.offset().top+o.outerHeight(!1),i=n.$results.scrollTop()+s-a;0===r?n.$results.scrollTop(0):s>a&&n.$results.scrollTop(i)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){n.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=n.$results.scrollTop(),r=n.$results.get(0).scrollHeight-t+e.deltaY,o=e.deltaY>0&&t-e.deltaY<=0,a=e.deltaY<0&&r<=n.$results.height();o?(n.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):a&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var r=e(this),o=r.data("data");if("true"===r.attr("aria-selected")){n.options.get("multiple")?n.trigger("unselect",{originalEvent:t,data:o}):n.trigger("close",{});return}n.trigger("select",{originalEvent:t,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var r=e(this).data("data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:r,element:e(this)})})},r.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},r.prototype.destroy=function(){this.$results.remove()},r.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),r=this.$results.offset().top,n=e.offset().top,o=this.$results.scrollTop()+(n-r),a=n-r;o-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(a>this.$results.outerHeight()||a<0)&&this.$results.scrollTop(o)}},r.prototype.template=function(t,r){var n=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),a=n(t,r);null==a?r.style.display="none":"string"==typeof a?r.innerHTML=o(a):e(r).append(a)},r}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,r){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},n.prototype.bind=function(e,t){var n=this;e.id;var o=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===r.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",o),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),e.on("disable",function(){n.$selection.attr("tabindex","-1")})},n.prototype._handleBlur=function(t){var r=this;window.setTimeout(function(){!(document.activeElement==r.$selection[0]||e.contains(r.$selection[0],document.activeElement))&&r.trigger("blur",t)},1)},n.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.select2."+t.id,function(t){var r=e(t.target).closest(".select2");e(".select2.select2-container--open").each(function(){var t=e(this);this!=r[0]&&t.data("element").select2("close")})})},n.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},n.prototype.position=function(e,t){t.find(".selection").append(e)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(e){throw Error("The `update` method must be defined in child classes.")},n}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,r,n){function o(){o.__super__.constructor.apply(this,arguments)}return r.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html(''),e},o.prototype.bind=function(e,t){var r=this;o.__super__.bind.apply(this,arguments);var n=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(e){1===e.which&&r.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("focus",function(t){e.isOpen()||r.$selection.focus()}),e.on("selection:update",function(e){r.update(e.data)})},o.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},o.prototype.display=function(e,t){var r=this.options.get("templateSelection");return this.options.get("escapeMarkup")(r(e,t))},o.prototype.selectionContainer=function(){return e("")},o.prototype.update=function(e){if(0===e.length){this.clear();return}var t=e[0],r=this.$selection.find(".select2-selection__rendered"),n=this.display(t,r);r.empty().append(n),r.prop("title",t.title||t.text)},o}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,r){function n(e,t){n.__super__.constructor.apply(this,arguments)}return r.Extend(n,t),n.prototype.render=function(){var e=n.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('
      '),e},n.prototype.bind=function(t,r){var o=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){o.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!o.options.get("disabled")){var r=e(this).parent().data("data");o.trigger("unselect",{originalEvent:t,data:r})}})},n.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},n.prototype.display=function(e,t){var r=this.options.get("templateSelection");return this.options.get("escapeMarkup")(r(e,t))},n.prototype.selectionContainer=function(){return e('
    • ×
    • ')},n.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n1||r)return e.call(this,t);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},t}),t.define("select2/selection/allowClear",["jquery","../keys"],function(e,t){function r(){}return r.prototype.bind=function(e,t,r){var n=this;e.call(this,t,r),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){n._handleClear(e)}),t.on("keypress",function(e){n._handleKeyboardClear(e,t)})},r.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){t.stopPropagation();for(var n=r.data("data"),o=0;o0)&&0!==r.length){var n=e('×');n.data("data",r),this.$selection.find(".select2-selection__rendered").prepend(n)}},r}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,r){function n(e,t,r){e.call(this,t,r)}return n.prototype.render=function(t){var r=e('');this.$searchContainer=r,this.$search=r.find("input");var n=t.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(e,t,n){var o=this;e.call(this,t,n),t.on("open",function(){o.$search.trigger("focus")}),t.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),t.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),t.on("disable",function(){o.$search.prop("disabled",!0)}),t.on("focus",function(e){o.$search.trigger("focus")}),t.on("results:focus",function(e){o.$search.attr("aria-activedescendant",e.id)}),this.$selection.on("focusin",".select2-search--inline",function(e){o.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){o._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===r.BACKSPACE&&""===o.$search.val()){var t=o.$searchContainer.prev(".select2-selection__choice");if(t.length>0){var n=t.data("data");o.searchRemoveChoice(n),e.preventDefault()}}});var a=document.documentMode,s=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){if(s){o.$selection.off("input.search input.searchcheck");return}o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(s&&"input"===e.type){o.$selection.off("input.search input.searchcheck");return}var t=e.which;t!=r.SHIFT&&t!=r.CTRL&&t!=r.ALT&&t!=r.TAB&&o.handleSearch(e)})},n.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},n.prototype.update=function(e,t){var r=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),r&&this.$search.focus()},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").innerWidth():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},n}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,r,n){var o=this,a=["open","opening","close","closing","select","selecting","unselect","unselecting"],s=["opening","closing","selecting","unselecting"];t.call(this,r,n),r.on("*",function(t,r){if(-1!==e.inArray(t,a)){r=r||{};var n=e.Event("select2:"+t,{params:r});o.$element.trigger(n),-1!==e.inArray(t,s)&&(r.prevented=n.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function r(e){this.dict=e||{}}return r.prototype.all=function(){return this.dict},r.prototype.get=function(e){return this.dict[e]},r.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},r._cache={},r.loadPath=function(e){if(!(e in r._cache)){var n=t(e);r._cache[e]=n}return new r(r._cache[e])},r}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A",A:"A",À:"A",Á:"A",Â:"A",Ầ:"A",Ấ:"A",Ẫ:"A",Ẩ:"A",Ã:"A",Ā:"A",Ă:"A",Ằ:"A",Ắ:"A",Ẵ:"A",Ẳ:"A",Ȧ:"A",Ǡ:"A",Ä:"A",Ǟ:"A",Ả:"A",Å:"A",Ǻ:"A",Ǎ:"A",Ȁ:"A",Ȃ:"A",Ạ:"A",Ậ:"A",Ặ:"A",Ḁ:"A",Ą:"A",Ⱥ:"A",Ɐ:"A",Ꜳ:"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE",Ꜵ:"AO",Ꜷ:"AU",Ꜹ:"AV",Ꜻ:"AV",Ꜽ:"AY","Ⓑ":"B",B:"B",Ḃ:"B",Ḅ:"B",Ḇ:"B",Ƀ:"B",Ƃ:"B",Ɓ:"B","Ⓒ":"C",C:"C",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",Ç:"C",Ḉ:"C",Ƈ:"C",Ȼ:"C",Ꜿ:"C","Ⓓ":"D",D:"D",Ḋ:"D",Ď:"D",Ḍ:"D",Ḑ:"D",Ḓ:"D",Ḏ:"D",Đ:"D",Ƌ:"D",Ɗ:"D",Ɖ:"D",Ꝺ:"D",DZ:"DZ",DŽ:"DZ",Dz:"Dz",Dž:"Dz","Ⓔ":"E",E:"E",È:"E",É:"E",Ê:"E",Ề:"E",Ế:"E",Ễ:"E",Ể:"E",Ẽ:"E",Ē:"E",Ḕ:"E",Ḗ:"E",Ĕ:"E",Ė:"E",Ë:"E",Ẻ:"E",Ě:"E",Ȅ:"E",Ȇ:"E",Ẹ:"E",Ệ:"E",Ȩ:"E",Ḝ:"E",Ę:"E",Ḙ:"E",Ḛ:"E",Ɛ:"E",Ǝ:"E","Ⓕ":"F",F:"F",Ḟ:"F",Ƒ:"F",Ꝼ:"F","Ⓖ":"G",G:"G",Ǵ:"G",Ĝ:"G",Ḡ:"G",Ğ:"G",Ġ:"G",Ǧ:"G",Ģ:"G",Ǥ:"G",Ɠ:"G",Ꞡ:"G",Ᵹ:"G",Ꝿ:"G","Ⓗ":"H",H:"H",Ĥ:"H",Ḣ:"H",Ḧ:"H",Ȟ:"H",Ḥ:"H",Ḩ:"H",Ḫ:"H",Ħ:"H",Ⱨ:"H",Ⱶ:"H",Ɥ:"H","Ⓘ":"I",I:"I",Ì:"I",Í:"I",Î:"I",Ĩ:"I",Ī:"I",Ĭ:"I",İ:"I",Ï:"I",Ḯ:"I",Ỉ:"I",Ǐ:"I",Ȉ:"I",Ȋ:"I",Ị:"I",Į:"I",Ḭ:"I",Ɨ:"I","Ⓙ":"J",J:"J",Ĵ:"J",Ɉ:"J","Ⓚ":"K",K:"K",Ḱ:"K",Ǩ:"K",Ḳ:"K",Ķ:"K",Ḵ:"K",Ƙ:"K",Ⱪ:"K",Ꝁ:"K",Ꝃ:"K",Ꝅ:"K",Ꞣ:"K","Ⓛ":"L",L:"L",Ŀ:"L",Ĺ:"L",Ľ:"L",Ḷ:"L",Ḹ:"L",Ļ:"L",Ḽ:"L",Ḻ:"L",Ł:"L",Ƚ:"L",Ɫ:"L",Ⱡ:"L",Ꝉ:"L",Ꝇ:"L",Ꞁ:"L",LJ:"LJ",Lj:"Lj","Ⓜ":"M",M:"M",Ḿ:"M",Ṁ:"M",Ṃ:"M",Ɱ:"M",Ɯ:"M","Ⓝ":"N",N:"N",Ǹ:"N",Ń:"N",Ñ:"N",Ṅ:"N",Ň:"N",Ṇ:"N",Ņ:"N",Ṋ:"N",Ṉ:"N",Ƞ:"N",Ɲ:"N",Ꞑ:"N",Ꞥ:"N",NJ:"NJ",Nj:"Nj","Ⓞ":"O",O:"O",Ò:"O",Ó:"O",Ô:"O",Ồ:"O",Ố:"O",Ỗ:"O",Ổ:"O",Õ:"O",Ṍ:"O",Ȭ:"O",Ṏ:"O",Ō:"O",Ṑ:"O",Ṓ:"O",Ŏ:"O",Ȯ:"O",Ȱ:"O",Ö:"O",Ȫ:"O",Ỏ:"O",Ő:"O",Ǒ:"O",Ȍ:"O",Ȏ:"O",Ơ:"O",Ờ:"O",Ớ:"O",Ỡ:"O",Ở:"O",Ợ:"O",Ọ:"O",Ộ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Ɔ:"O",Ɵ:"O",Ꝋ:"O",Ꝍ:"O",Ƣ:"OI",Ꝏ:"OO",Ȣ:"OU","Ⓟ":"P",P:"P",Ṕ:"P",Ṗ:"P",Ƥ:"P",Ᵽ:"P",Ꝑ:"P",Ꝓ:"P",Ꝕ:"P","Ⓠ":"Q",Q:"Q",Ꝗ:"Q",Ꝙ:"Q",Ɋ:"Q","Ⓡ":"R",R:"R",Ŕ:"R",Ṙ:"R",Ř:"R",Ȑ:"R",Ȓ:"R",Ṛ:"R",Ṝ:"R",Ŗ:"R",Ṟ:"R",Ɍ:"R",Ɽ:"R",Ꝛ:"R",Ꞧ:"R",Ꞃ:"R","Ⓢ":"S",S:"S",ẞ:"S",Ś:"S",Ṥ:"S",Ŝ:"S",Ṡ:"S",Š:"S",Ṧ:"S",Ṣ:"S",Ṩ:"S",Ș:"S",Ş:"S",Ȿ:"S",Ꞩ:"S",Ꞅ:"S","Ⓣ":"T",T:"T",Ṫ:"T",Ť:"T",Ṭ:"T",Ț:"T",Ţ:"T",Ṱ:"T",Ṯ:"T",Ŧ:"T",Ƭ:"T",Ʈ:"T",Ⱦ:"T",Ꞇ:"T",Ꜩ:"TZ","Ⓤ":"U",U:"U",Ù:"U",Ú:"U",Û:"U",Ũ:"U",Ṹ:"U",Ū:"U",Ṻ:"U",Ŭ:"U",Ü:"U",Ǜ:"U",Ǘ:"U",Ǖ:"U",Ǚ:"U",Ủ:"U",Ů:"U",Ű:"U",Ǔ:"U",Ȕ:"U",Ȗ:"U",Ư:"U",Ừ:"U",Ứ:"U",Ữ:"U",Ử:"U",Ự:"U",Ụ:"U",Ṳ:"U",Ų:"U",Ṷ:"U",Ṵ:"U",Ʉ:"U","Ⓥ":"V",V:"V",Ṽ:"V",Ṿ:"V",Ʋ:"V",Ꝟ:"V",Ʌ:"V",Ꝡ:"VY","Ⓦ":"W",W:"W",Ẁ:"W",Ẃ:"W",Ŵ:"W",Ẇ:"W",Ẅ:"W",Ẉ:"W",Ⱳ:"W","Ⓧ":"X",X:"X",Ẋ:"X",Ẍ:"X","Ⓨ":"Y",Y:"Y",Ỳ:"Y",Ý:"Y",Ŷ:"Y",Ỹ:"Y",Ȳ:"Y",Ẏ:"Y",Ÿ:"Y",Ỷ:"Y",Ỵ:"Y",Ƴ:"Y",Ɏ:"Y",Ỿ:"Y","Ⓩ":"Z",Z:"Z",Ź:"Z",Ẑ:"Z",Ż:"Z",Ž:"Z",Ẓ:"Z",Ẕ:"Z",Ƶ:"Z",Ȥ:"Z",Ɀ:"Z",Ⱬ:"Z",Ꝣ:"Z","ⓐ":"a",a:"a",ẚ:"a",à:"a",á:"a",â:"a",ầ:"a",ấ:"a",ẫ:"a",ẩ:"a",ã:"a",ā:"a",ă:"a",ằ:"a",ắ:"a",ẵ:"a",ẳ:"a",ȧ:"a",ǡ:"a",ä:"a",ǟ:"a",ả:"a",å:"a",ǻ:"a",ǎ:"a",ȁ:"a",ȃ:"a",ạ:"a",ậ:"a",ặ:"a",ḁ:"a",ą:"a",ⱥ:"a",ɐ:"a",ꜳ:"aa",æ:"ae",ǽ:"ae",ǣ:"ae",ꜵ:"ao",ꜷ:"au",ꜹ:"av",ꜻ:"av",ꜽ:"ay","ⓑ":"b",b:"b",ḃ:"b",ḅ:"b",ḇ:"b",ƀ:"b",ƃ:"b",ɓ:"b","ⓒ":"c",c:"c",ć:"c",ĉ:"c",ċ:"c",č:"c",ç:"c",ḉ:"c",ƈ:"c",ȼ:"c",ꜿ:"c",ↄ:"c","ⓓ":"d",d:"d",ḋ:"d",ď:"d",ḍ:"d",ḑ:"d",ḓ:"d",ḏ:"d",đ:"d",ƌ:"d",ɖ:"d",ɗ:"d",ꝺ:"d",dz:"dz",dž:"dz","ⓔ":"e",e:"e",è:"e",é:"e",ê:"e",ề:"e",ế:"e",ễ:"e",ể:"e",ẽ:"e",ē:"e",ḕ:"e",ḗ:"e",ĕ:"e",ė:"e",ë:"e",ẻ:"e",ě:"e",ȅ:"e",ȇ:"e",ẹ:"e",ệ:"e",ȩ:"e",ḝ:"e",ę:"e",ḙ:"e",ḛ:"e",ɇ:"e",ɛ:"e",ǝ:"e","ⓕ":"f",f:"f",ḟ:"f",ƒ:"f",ꝼ:"f","ⓖ":"g",g:"g",ǵ:"g",ĝ:"g",ḡ:"g",ğ:"g",ġ:"g",ǧ:"g",ģ:"g",ǥ:"g",ɠ:"g",ꞡ:"g",ᵹ:"g",ꝿ:"g","ⓗ":"h",h:"h",ĥ:"h",ḣ:"h",ḧ:"h",ȟ:"h",ḥ:"h",ḩ:"h",ḫ:"h",ẖ:"h",ħ:"h",ⱨ:"h",ⱶ:"h",ɥ:"h",ƕ:"hv","ⓘ":"i",i:"i",ì:"i",í:"i",î:"i",ĩ:"i",ī:"i",ĭ:"i",ï:"i",ḯ:"i",ỉ:"i",ǐ:"i",ȉ:"i",ȋ:"i",ị:"i",į:"i",ḭ:"i",ɨ:"i",ı:"i","ⓙ":"j",j:"j",ĵ:"j",ǰ:"j",ɉ:"j","ⓚ":"k",k:"k",ḱ:"k",ǩ:"k",ḳ:"k",ķ:"k",ḵ:"k",ƙ:"k",ⱪ:"k",ꝁ:"k",ꝃ:"k",ꝅ:"k",ꞣ:"k","ⓛ":"l",l:"l",ŀ:"l",ĺ:"l",ľ:"l",ḷ:"l",ḹ:"l",ļ:"l",ḽ:"l",ḻ:"l",ſ:"l",ł:"l",ƚ:"l",ɫ:"l",ⱡ:"l",ꝉ:"l",ꞁ:"l",ꝇ:"l",lj:"lj","ⓜ":"m",m:"m",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m",ɯ:"m","ⓝ":"n",n:"n",ǹ:"n",ń:"n",ñ:"n",ṅ:"n",ň:"n",ṇ:"n",ņ:"n",ṋ:"n",ṉ:"n",ƞ:"n",ɲ:"n",ʼn:"n",ꞑ:"n",ꞥ:"n",nj:"nj","ⓞ":"o",o:"o",ò:"o",ó:"o",ô:"o",ồ:"o",ố:"o",ỗ:"o",ổ:"o",õ:"o",ṍ:"o",ȭ:"o",ṏ:"o",ō:"o",ṑ:"o",ṓ:"o",ŏ:"o",ȯ:"o",ȱ:"o",ö:"o",ȫ:"o",ỏ:"o",ő:"o",ǒ:"o",ȍ:"o",ȏ:"o",ơ:"o",ờ:"o",ớ:"o",ỡ:"o",ở:"o",ợ:"o",ọ:"o",ộ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",ɔ:"o",ꝋ:"o",ꝍ:"o",ɵ:"o",ƣ:"oi",ȣ:"ou",ꝏ:"oo","ⓟ":"p",p:"p",ṕ:"p",ṗ:"p",ƥ:"p",ᵽ:"p",ꝑ:"p",ꝓ:"p",ꝕ:"p","ⓠ":"q",q:"q",ɋ:"q",ꝗ:"q",ꝙ:"q","ⓡ":"r",r:"r",ŕ:"r",ṙ:"r",ř:"r",ȑ:"r",ȓ:"r",ṛ:"r",ṝ:"r",ŗ:"r",ṟ:"r",ɍ:"r",ɽ:"r",ꝛ:"r",ꞧ:"r",ꞃ:"r","ⓢ":"s",s:"s",ß:"s",ś:"s",ṥ:"s",ŝ:"s",ṡ:"s",š:"s",ṧ:"s",ṣ:"s",ṩ:"s",ș:"s",ş:"s",ȿ:"s",ꞩ:"s",ꞅ:"s",ẛ:"s","ⓣ":"t",t:"t",ṫ:"t",ẗ:"t",ť:"t",ṭ:"t",ț:"t",ţ:"t",ṱ:"t",ṯ:"t",ŧ:"t",ƭ:"t",ʈ:"t",ⱦ:"t",ꞇ:"t",ꜩ:"tz","ⓤ":"u",u:"u",ù:"u",ú:"u",û:"u",ũ:"u",ṹ:"u",ū:"u",ṻ:"u",ŭ:"u",ü:"u",ǜ:"u",ǘ:"u",ǖ:"u",ǚ:"u",ủ:"u",ů:"u",ű:"u",ǔ:"u",ȕ:"u",ȗ:"u",ư:"u",ừ:"u",ứ:"u",ữ:"u",ử:"u",ự:"u",ụ:"u",ṳ:"u",ų:"u",ṷ:"u",ṵ:"u",ʉ:"u","ⓥ":"v",v:"v",ṽ:"v",ṿ:"v",ʋ:"v",ꝟ:"v",ʌ:"v",ꝡ:"vy","ⓦ":"w",w:"w",ẁ:"w",ẃ:"w",ŵ:"w",ẇ:"w",ẅ:"w",ẘ:"w",ẉ:"w",ⱳ:"w","ⓧ":"x",x:"x",ẋ:"x",ẍ:"x","ⓨ":"y",y:"y",ỳ:"y",ý:"y",ŷ:"y",ỹ:"y",ȳ:"y",ẏ:"y",ÿ:"y",ỷ:"y",ẙ:"y",ỵ:"y",ƴ:"y",ɏ:"y",ỿ:"y","ⓩ":"z",z:"z",ź:"z",ẑ:"z",ż:"z",ž:"z",ẓ:"z",ẕ:"z",ƶ:"z",ȥ:"z",ɀ:"z",ⱬ:"z",ꝣ:"z",Ά:"Α",Έ:"Ε",Ή:"Η",Ί:"Ι",Ϊ:"Ι",Ό:"Ο",Ύ:"Υ",Ϋ:"Υ",Ώ:"Ω",ά:"α",έ:"ε",ή:"η",ί:"ι",ϊ:"ι",ΐ:"ι",ό:"ο",ύ:"υ",ϋ:"υ",ΰ:"υ",ω:"ω",ς:"σ"}}),t.define("select2/data/base",["../utils"],function(e){function t(e,r){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,r){var n=t.id+"-result-";return n+=e.generateChars(4),null!=r.id?n+="-"+r.id.toString():n+="-"+e.generateChars(4),n},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,r){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,e),n.prototype.current=function(e){var t=[],n=this;this.$element.find(":selected").each(function(){var e=r(this),o=n.item(e);t.push(o)}),e(t)},n.prototype.select=function(e){var t=this;if(e.selected=!0,r(e.element).is("option")){e.element.selected=!0,this.$element.trigger("change");return}if(this.$element.prop("multiple"))this.current(function(n){var o=[];(e=[e]).push.apply(e,n);for(var a=0;a=0){var c=o.filter(i(u)),d=this.item(c),p=r.extend(!0,{},u,d),h=this.option(p);c.replaceWith(h);continue}var f=this.option(u);if(u.children){var m=this.convertToOptions(u.children);t.appendMany(f,m)}s.push(f)}return s},n}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,r){function n(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,e,t)}return t.Extend(n,e),n.prototype._applyDefaults=function(e){return r.extend({},{data:function(e){return r.extend({},e,{q:e.term})},transport:function(e,t,n){var o=r.ajax(e);return o.then(t),o.fail(n),o}},e,!0)},n.prototype.processResults=function(e){return e},n.prototype.query=function(e,t){var n=this;null!=this._request&&(r.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=r.extend({type:"GET"},this.ajaxOptions);function a(){var a=o.transport(o,function(o){var a=n.processResults(o,e);n.options.get("debug")&&window.console&&console.error&&(!a||!a.results||!r.isArray(a.results))&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),t(a)},function(){(!a.status||"0"!==a.status)&&n.trigger("results:message",{message:"errorLoading"})});n._request=a}"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(a,this.ajaxOptions.delay)):a()},n}),t.define("select2/data/tags",["jquery"],function(e){function t(t,r,n){var o=n.get("tags"),a=n.get("createTag");void 0!==a&&(this.createTag=a);var s=n.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,r,n),e.isArray(o))for(var i=0;i0&&t.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}});return}e.call(this,t,r)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,r){this.maximumSelectionLength=r.get("maximumSelectionLength"),e.call(this,t,r)}return e.prototype.query=function(e,t,r){var n=this;this.current(function(o){var a=null!=o?o.length:0;if(n.maximumSelectionLength>0&&a>=n.maximumSelectionLength){n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}});return}e.call(n,t,r)})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var t=e('');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},r.prototype.bind=function(){},r.prototype.position=function(e,t){},r.prototype.destroy=function(){this.$dropdown.remove()},r}),t.define("select2/dropdown/search",["jquery","../utils"],function(e,t){function r(){}return r.prototype.render=function(t){var r=t.call(this),n=e('');return this.$searchContainer=n,this.$search=n.find("input"),r.prepend(n),r},r.prototype.bind=function(t,r,n){var o=this;t.call(this,r,n),this.$search.on("keydown",function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){o.handleSearch(e)}),r.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),r.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),r.on("focus",function(){r.isOpen()&&o.$search.focus()}),r.on("results:all",function(e){(null==e.query.term||""===e.query.term)&&(o.showSearch(e)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},r.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},r.prototype.showSearch=function(e,t){return!0},r}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,r,n){this.placeholder=this.normalizePlaceholder(r.get("placeholder")),e.call(this,t,r,n)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var r=t.slice(0),n=t.length-1;n>=0;n--){var o=t[n];this.placeholder.id===o.id&&r.splice(n,1)}return r},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,r,n){this.lastParams={},e.call(this,t,r,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,r,n){var o=this;t.call(this,r,n),r.on("query",function(e){o.lastParams=e,o.loading=!0}),r.on("query:append",function(e){o.lastParams=e,o.loading=!0}),this.$results.on("scroll",function(){var t,r=e.contains(document.documentElement,o.$loadingMore[0]);if(!o.loading&&r){o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore()}})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('
    • '),r=this.options.get("translations").get("loadingMore");return t.html(r(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function r(t,r,n){this.$dropdownParent=n.get("dropdownParent")||e(document.body),t.call(this,r,n)}return r.prototype.bind=function(e,t,r){var n=this,o=!1;e.call(this,t,r),t.on("open",function(){n._showDropdown(),n._attachPositioningHandler(t),o||(o=!0,t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),t.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},r.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},r.prototype.position=function(e,t,r){t.attr("class",r.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=r},r.prototype.render=function(t){var r=e(""),n=t.call(this);return r.append(n),this.$dropdownContainer=r,r},r.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},r.prototype._attachPositioningHandler=function(r,n){var o=this,a="scroll.select2."+n.id,s="resize.select2."+n.id,i="orientationchange.select2."+n.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(a,function(t){var r=e(this).data("select2-scroll-position");e(this).scrollTop(r.y)}),e(window).on(a+" "+s+" "+i,function(e){o._positionDropdown(),o._resizeDropdown()})},r.prototype._detachPositioningHandler=function(r,n){var o="scroll.select2."+n.id,a="resize.select2."+n.id,s="orientationchange.select2."+n.id;this.$container.parents().filter(t.hasScroll).off(o),e(window).off(o+" "+a+" "+s)},r.prototype._positionDropdown=function(){var t=e(window),r=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),o=null,a=this.$container.offset();a.bottom=a.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=a.top,s.bottom=a.top+s.height;var i={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},u=l.topa.bottom+i.height,d={left:a.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h=p.offset();d.top-=h.top,d.left-=h.left,r||n||(o="below"),c||!u||r?!u&&c&&r&&(o="below"):o="above",("above"==o||r&&"below"!==o)&&(d.top=s.top-h.top-i.height),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},r.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},r.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},r}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,r,n){this.minimumResultsForSearch=r.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,r,n)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var r=0,n=0;n0&&(d.dataAdapter=u.Decorate(d.dataAdapter,g)),d.maximumInputLength>0&&(d.dataAdapter=u.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=u.Decorate(d.dataAdapter,A)),d.tags&&(d.dataAdapter=u.Decorate(d.dataAdapter,m)),(null!=d.tokenSeparators||null!=d.tokenizer)&&(d.dataAdapter=u.Decorate(d.dataAdapter,v)),null!=d.query){var L=t(d.amdBase+"compat/query");d.dataAdapter=u.Decorate(d.dataAdapter,L)}if(null!=d.initSelection){var C=t(d.amdBase+"compat/initSelection");d.dataAdapter=u.Decorate(d.dataAdapter,C)}}if(null==d.resultsAdapter&&(d.resultsAdapter=r,null!=d.ajax&&(d.resultsAdapter=u.Decorate(d.resultsAdapter,x)),null!=d.placeholder&&(d.resultsAdapter=u.Decorate(d.resultsAdapter,E)),d.selectOnClose&&(d.resultsAdapter=u.Decorate(d.resultsAdapter,k))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=_;else{var S=u.Decorate(_,b);d.dropdownAdapter=S}if(0!==d.minimumResultsForSearch&&(d.dropdownAdapter=u.Decorate(d.dropdownAdapter,w)),d.closeOnSelect&&(d.dropdownAdapter=u.Decorate(d.dropdownAdapter,I)),null!=d.dropdownCssClass||null!=d.dropdownCss||null!=d.adaptDropdownCssClass){var N=t(d.amdBase+"compat/dropdownCss");d.dropdownAdapter=u.Decorate(d.dropdownAdapter,N)}d.dropdownAdapter=u.Decorate(d.dropdownAdapter,T)}if(null==d.selectionAdapter){if(d.multiple?d.selectionAdapter=o:d.selectionAdapter=n,null!=d.placeholder&&(d.selectionAdapter=u.Decorate(d.selectionAdapter,a)),d.allowClear&&(d.selectionAdapter=u.Decorate(d.selectionAdapter,s)),d.multiple&&(d.selectionAdapter=u.Decorate(d.selectionAdapter,i)),null!=d.containerCssClass||null!=d.containerCss||null!=d.adaptContainerCssClass){var P=t(d.amdBase+"compat/containerCss");d.selectionAdapter=u.Decorate(d.selectionAdapter,P)}d.selectionAdapter=u.Decorate(d.selectionAdapter,l)}if("string"==typeof d.language){if(d.language.indexOf("-")>0){var D=d.language.split("-")[0];d.language=[d.language,D]}else d.language=[d.language]}if(e.isArray(d.language)){var O=new c;d.language.push("en");for(var R=d.language,M=0;M0){for(var a=e.extend(!0,{},o),s=o.children.length-1;s>=0;s--)null==r(n,o.children[s])&&a.children.splice(s,1);return a.children.length>0?a:r(n,a)}var i=t(o.text).toUpperCase(),l=t(n.term).toUpperCase();return i.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},C.prototype.set=function(t,r){var n=e.camelCase(t),o={};o[n]=r;var a=u._convertData(o);e.extend(this.defaults,a)},new C}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,r,n){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),this.options=r.apply(this.options),o&&o.is("input")){var a=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,a)}}return o.prototype.fromElement=function(e){var r=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),e.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),e.data("data",e.data("select2Tags")),e.data("tags",!0)),e.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var o={};o=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var a=t.extend(!0,{},o);for(var s in a=n._convertData(a))!(t.inArray(s,r)>-1)&&(t.isPlainObject(this.options[s])?t.extend(this.options[s],a[s]):this.options[s]=a[s]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,r,n){var o=function(e,r){null!=e.data("select2")&&e.data("select2").destroy(),this.$element=e,this.id=this._generateId(e),r=r||{},this.options=new t(r,e),o.__super__.constructor.call(this);var n=e.attr("tabindex")||0;e.data("old-tabindex",n),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var s=this.render();this._placeContainer(s);var i=this.options.get("selectionAdapter");this.selection=new i(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get("resultsAdapter");this.results=new u(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var c=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){c.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("select2",this)};return r.Extend(o,r.Observable),o.prototype._generateId=function(e){var t="";return"select2-"+(t=(t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+r.generateChars(2):r.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,""))},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var r=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var n=this._resolveWidth(e,"style");return null!=n?n:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==t){var a=e.attr("style");if("string"!=typeof a)return null;for(var s=a.split(";"),i=0,l=s.length;i=1)return u[1]}return null}return t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=r.bind(this._syncAttributes,this),this._syncS=r.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(r){e.each(r,t._syncA),e.each(r,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,r){e.trigger(t,r)})},o.prototype._registerSelectionEvents=function(){var t=this,r=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(n,o){-1===e.inArray(n,r)&&t.trigger(n,o)})},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,r){e.trigger(t,r)})},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,r){e.trigger(t,r)})},o.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(r){e.trigger("results:all",{data:r,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(r){e.trigger("results:append",{data:r,query:t})})}),this.on("keypress",function(t){var r=t.which;e.isOpen()?r===n.ESC||r===n.TAB||r===n.UP&&t.altKey?(e.close(),t.preventDefault()):r===n.ENTER?(e.trigger("results:select",{}),t.preventDefault()):r===n.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):r===n.UP?(e.trigger("results:previous",{}),t.preventDefault()):r===n.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(r===n.ENTER||r===n.SPACE||r===n.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._syncSubtree=function(e,t){var r=!1,n=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t){if(t.addedNodes&&t.addedNodes.length>0)for(var o=0;o0&&(r=!0)}else r=!0;r&&this.dataAdapter.current(function(e){n.trigger("selection:update",{data:e})})}},o.prototype.trigger=function(e,t){var r=o.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(void 0===t&&(t={}),e in n){var a=n[e],s={prevented:!1,name:e,args:t};if(r.call(this,a,s),s.prevented){t.prevented=!0;return}}r.call(this,e,t)},o.prototype.toggleDropdown=function(){!this.options.get("disabled")&&(this.isOpen()?this.close():this.open())},o.prototype.open=function(){!this.isOpen()&&this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(e){!this.hasFocus()&&(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==e||0===e.length)&&(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},o.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var r=t[0];e.isArray(r)&&(r=e.map(r,function(e){return e.toString()})),this.$element.val(r).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),t.data("element",this.$element),t},o}),t.define("jquery-mousewheel",["jquery"],function(e){return e}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(e,t,r,n){if(null==e.fn.select2){var o=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var n=e.extend(!0,{},t);new r(e(this),n)}),this;if("string"==typeof t){var n,a=Array.prototype.slice.call(arguments,1);return(this.each(function(){var r=e(this).data("select2");null==r&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=r[t].apply(r,a)}),e.inArray(t,o)>-1)?this:n}throw Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=n),r}),{define:t.define,require:t.require}}(),r=t.require("jquery.select2");return e.fn.select2.amd=t,r});

      Faro Flughafen transfers to Lagos

      Lagos
      • West Algarve
      • Lagos Portugal
      • Mon 19:06
      • Euro
      • Portuguese

      Faro Flughafen transfers Zu Lagos

      Weitere Ziele in der Nähe Lagos

      Die unten angegebenen Preise sind privat und in eine Richtung.
      Weitere Informationen finden Sie unter Informationen und Bedingungen.

      Resort 4 Pax 5 Pax 6 Pax 8 Pax 12 Pax 16 Pax
      Budens 87 € 100 € 104 € 108 € 195 € 216 €
      Burgau Portugal 76 € 88 € 92 € 95 € 171 € 190 €
      Lagos Portugal 70 € 79 € 82 € 85 € 155 € 170 €
      Sagres 112 € 134 € 140 € 145 € 257 € 290 €
      Salema Algarve 88 € 102 € 106 € 110 € 198 € 220 €
      Werben Sie für Ihr Unternehmen in Lagos Portugal Kontaktiere uns Kontaktiere uns
      Lagos

      Lagos Zoo Verbringen Sie einen fantastischen Tag unter etwa 150 Tierarten in naturalistischen Lebensräumen.

      Werben Sie für Ihr Unternehmen in Lagos Portugal Kontaktiere uns Kontaktiere uns
      Werben Sie für Ihr Unternehmen in Lagos Portugal Kontaktiere uns Kontaktiere uns

      Golf transfers

      Lagos

      Drei miteinander verbundene 9-Loch-Golfplätze. Der Platz führt hinunter zum Meer und bietet allen Praktizierenden die Möglichkeit, die natürliche Schönheit und Herausforderung der 27 Löcher zu bestaunen.

      Lagos

      Lagos, eine der beliebtesten Städte an der Algarve, hat ihre traditionellen Merkmale bewahrt und sich zu einer kosmopolitischen Stadt entwickelt, die das ganze Jahr über erstklassige Touristen willkommen heißt. Die Attraktivität von Lagos liegt in seinen Stränden und seiner Schönheit, in der Menge der Aktivitäten, die durchgeführt werden können, und in der Menge des Angebots, in den engen Gassen und in den kleinen konventionellen Geschäften, in den typischen Restaurants und den Aromen seines Meeres. in den Höhlen und in seiner Größe, an den historischen Orten und in der zeitgenössischen Umgebung, die dort gelebt wird.

      Lagos ist eine Stadt, die jetzt ein enormes Wachstum im Tourismus verzeichnet und die Integration der Bewohner in dieses Wachstum fördert. Sie hat einen der schönsten Strände der Welt, Praia da Dona Ana, und ist auch eine Option für diejenigen, die dies möchten Golf üben. Die Strände von Lagos sind ideal für Wassersport. Bei Sonnenuntergang können Sie die Atmosphäre von Lagos Marina genießen. Nach Sonnenuntergang ist das Nachtleben von Lagos auch eine Attraktion dieser Stadt. Es gibt 4 große Supermärkte, aber auch andere kleinere.

      Das nächste Einkaufszentrum befindet sich 23 km entfernt. In Portimao befindet sich das Einkaufszentrum Aqua Portimao.

      Wasserparks wie Slide e Splash und Zoomarine sind ca. 45 Minuten entfernt.

      Der Lagos Zoo ist nur 20 Minuten entfernt

      Golf in der Nähe von Lagos: - Boavista Course | Palmares Golfplatz | Penina Golfplatz Alvor | Morgado Golfplatz Portimao

       

      Niedrige Preise, günstige Preise Preise Faro nach Lagos Portugal und andere Orte in der Umgebung:

      Faro Airport Transfer Algarve To Travel Distance Price per Vehicle from
      Lagos 90 Km 59 mins 68€
      Porto de Mos 92 Km 60 mins 68€
      Meia Praia 84 Km 59 mins 68€
      Praia da Luz 95 Km 62 mins 69€
      Odeaxere 86 Km 59 mins 68€