//tealium universal tag - utag.346 ut4.0.202504161005, Copyright 2025 Tealium.com Inc. All Rights Reserved. try{(function(id,loader){var u={"id":id};utag.o[loader].sender[id]=u;u.ev={"view":1,"link":1};u.map={"anc_asr_paid_purchases_counter":"purchase.paid_purchases_counter","anc_asr_purchases_counter":"purchase.purchases_counter","anc_baggage_purchases_counter":"purchase.baggage_purchases_counter","anc_insurance_purchases_counter":"purchase.insurance_purchases_counter","anc_upgrade_purchases_counter":"purchase.upgrade_purchases_counter","booking_counter":"purchase.booking_counter","cart.price.total":"event.cart_price_total","clean.url":"config.page_location","consent_timestamp":"event.cmp_consent_time_stamp","consent_value":"event.cmp_consent_value","conversion.funnel.funnelName":"event.conversion_funnel_funnelName","conversion.funnel.funnelStep":"event.conversion_funnel_funnelStep","daysUntilDep":"event.daysUntilDep","debug_string":"event.debug_string","error.errorInfo.elementName":"error_evt.error_element_name,error_view_inline_message.error_element_name,error_view_error_message.error_element_name","error.errorInfo.errorCode":"error_evt.error_code,error_view_inline_message.error_code,error_view_error_message.error_code","error.errorInfo.message":"error_evt.error_message,error_view_inline_message.error_message,error_view_error_message.error_message","error.errorInfo.type":"error_evt.error_type,error_view_inline_message.error_type,error_view_error_message.error_type","error_counter":"error_evt.error_count,error_view_inline_message.error_count,error_view_error_message.error_count","estimated_trip_reason":"event.estimated_trip_reason","filter.element.elementName":"event.filter_element_elementName","filter.element.elementType":"event.filter_element_elementType","filter.element.elementValue":"event.filter_element_elementValue","filter.element.userInput":"event.filter_element_userInput","ga_hs_adult":"event.hs_adult","ga_hs_all_origins":"event.hs_all_origins","ga_hs_anchor":"event.hs_anchor","ga_hs_arrival":"event.hs_arrival","ga_hs_booking_class":"event.hs_booking_class","ga_hs_bundle":"event.hs_bundle","ga_hs_child":"event.hs_child","ga_hs_departure":"event.hs_departure","ga_hs_destination":"event.hs_destination","ga_hs_farebase":"event.hs_farebase","ga_hs_infant":"event.hs_infant","ga_hs_origin":"event.hs_origin","ga_hs_pax":"event.hs_pax","ga_hs_paymentCity":"event.hs_paymentCity","ga_hs_paymentCountry":"event.hs_paymentCountry","ga_hs_paymentMethod":"event.hs_paymentType","ga_hs_querystring":"event.hs_querystring","ga_hs_triptype":"event.hs_triptype","ga_loginStatus":"event.loginStatus","ga_ss_clientId":"set.user_properties.ss_clientID","intcamp":"event.intcamp","metadata.entity":"event.metadata_entity","metadata.platform":"event.metadata_platform","page.pageInfo.city":"event.page_pageInfo_city","page.pageInfo.country":"event.page_pageInfo_country","page.pageInfo.language":"event.page_pageInfo_language","page.pageInfo.pageId":"event.page_pageInfo_pageId","page.pageInfo.pageName":"event.page_pageInfo_pageName","partner.attributes.destination":"event.partner_attributes_destination","transaction.total.conversionFees":"purchase.transaction_total_conversionFees","transaction.total.currency_ORIG":"purchase.transaction_total_currency_ORIG","transaction.total.fees":"purchase.transaction_total_fees","transaction.total.netFare":"purchase.transaction_total_netFare","transaction.total.netFare_EUR":"purchase.transaction_total_netFare_EUR","transaction.total.opc":"purchase.transaction_total_opc","transaction.total.surcharge":"purchase.transaction_total_surcharge","transaction.total.transactionTotal_ORIG":"purchase.transaction_total_transactionTotal_ORIG","user.profile.loginType":"event.user_profile_loginType","user.profile.membership.status":"event.user_profile_membership_status","user.profile.segment.segmentId":"event.user_profile_segment_segmentId","js_page.mmPageID":"event.page_mmPageID","js_page.navigator.userAgent":"event.page_navigator_userAgent","page.attributes.htmlTitle":"config.page_title","ga_pathname_cleaned_pageID":"config.page_path","ga_displayfeatures":"config.allow_google_signals","ga_ss_sessionId":"event.ss_sessionId","_sm_346_71":"event.tealium_profile_name","utm_content":"utm_content","utm_campaign":"utm_campaign","utm_term":"utm_term","utm_medium":"utm_medium","utm_source":"utm_source","ga4_event_name:ga4_teaser_stage_click":"teaser_stage_click","ga4_event_name:ga4_begin_checkout":"begin_checkout","ga4_event_name:ga4_purchase":"purchase","ga4_event_name:ga4_teaser_fare_dynamic_click":"teaser_fare_dynamic_click","ga4_event_name:ga4_consent_view":"consent_view","ga4_event_name:ga4_consent_submit_selection":"consent_submit_selection","ga4_event_name:ga4_consent_submit_all":"consent_submit_all","ga4_event_name:ga4_consent_change_all":"consent_change_all","ga4_event_name:ga4_consent_change_selection":"consent_change_selection","ga4_event_name:ga4_next_flight_click":"next_flight_click,next_flight_click","ga4_event_name:ga4_error":"error_evt","ga4_event_name:ga4_teaser_next_flight_click":"teaser_next_flight_click","ga4_event_name:ga4_next_flight_view_regular":"next_flight_view_regular","ga4_event_name:ga4_next_flight_click_regular":"next_flight_click_regular","ga4_event_name:ga4_next_flight_view_regular_monitor":"next_flight_view_regular_monitor","ga4_event_name:ga4_next_flight_view_irregular_monitor":"next_flight_view_irregular_monitor","ga4_event_name:ga4_next_flight_click_regular_monitor":"next_flight_click_regular_monitor","ga4_event_name:ga4_next_flight_click_irregular_monitor":"next_flight_click_irregular_monitor","ga4_event_name:ga4_add_shipping_info":"add_shipping_info","ga4_event_name:ga4_add_payment_info":"add_payment_info","ga4_event_name:ga4_account_login":"account_login","ga4_event_name:ga4_account_login_attempt":"account_login_attempt","ga4_event_name:ga4_account_creation":"account_creation","ga4_event_name:ga4_flightmanager_search_car":"flightmanager_search_car","ga4_event_name:ga4_flightmanager_search_hotel":"flightmanager_search_hotel","ga4_event_name:ga4_flightmanager_submit_search":"flightmanager_submit_search","ga4_event_name:ga4_teaser_booking_flow_view_co2":"teaser_booking_flow_view_co2","ga4_event_name:ga4_flightmanager_click_flighttab":"flightmanager_click_flighttab","ga4_event_name:ga4_flightmanager_click_hoteltab":"flightmanager_click_hoteltab","ga4_event_name:ga4_flightmanager_click_cartab":"flightmanager_click_cartab","ga4_event_name:ga4_flightmanager_click_holidaytab":"flightmanager_click_holidaytab","ga4_event_name:ga4_recent_searches_click_submit":"recent_searches_click_submit","ga4_event_name:ga4_recent_searches_click_delete":"recent_searches_click_delete","ga4_event_name:ga4_refund_voucher_change_ticket_selection":"refund_voucher_change_ticket_selection","ga4_event_name:ga4_refund_voucher_fetch_ticket_fail":"refund_voucher_fetch_ticket_fail","ga4_event_name:ga4_refund_voucher_fetch_ticket_successful":"refund_voucher_fetch_ticket_successful","ga4_event_name:ga4_refund_voucher_summary":"refund_voucher_summary","ga4_event_name:ga4_refund_voucher_request_pdf":"refund_voucher_request_pdf","ga4_event_name:ga4_refund_voucher_fetch_voucher_fail":"refund_voucher_fetch_voucher_fail","ga4_event_name:ga4_refund_voucher_fetch_voucher_successful":"refund_voucher_fetch_voucher_successful","ga4_event_name:ga4_flight_results_shown":"flight_results_shown","ga4_event_name:ga4_login_portlet_open":"login_portlet_open","ga4_event_name:ga4_login_portlet_close":"login_portlet_close","ga4_event_name:ga4_login_portlet_registerlhid":"login_portlet_registerlhid","ga4_event_name:ga4_flightmanager_search_holiday":"flightmanager_search_holiday","ga4_event_name:ga4_teaser_image_click":"teaser_image_click","ga4_event_name:ga4_digital_doc_check_show":"digital_doc_check_show","ga4_event_name:ga4_digital_doc_check_click":"digital_doc_check_click","ga4_event_name:ga4_digital_doc_check_error":"digital_doc_check_error","ga4_event_name:ga4_teaser_fare_od_click":"teaser_fare_od_click","ga4_event_name:ga4_teaser_fare_static_click":"teaser_fare_static_click","ga4_event_name:ga4_consent_submit_none":"consent_submit_none","ga4_event_name:ga4_consent_change_none":"consent_change_none","ga4_event_name:ga4_external_link_click":"external_link_click","ga4_event_name:ga4_account_activation":"account_activation","ga4_event_name:ga4_oneid_login_click":"oneid_login_click","ga4_event_name:ga4_destination-recommender-visibility_view":"destination-recommender-visibility_view","ga4_event_name:ga4_exp_campaign":"exp_campaign","ga4_event_name:ga4_error_view_inline_message":"error_view_inline_message","ga4_event_name:ga4_error_view_error_message":"error_view_error_message","ga4_event_name:ga4_click_topic_in_service_guidance_list":"click_topic_in_service_guidance_list","cart.item.attributes.brand":"product_brand","cart.item.attributes.quantity":"product_quantity","cart.item.attributes.variant":"product_variant","cart.item.categoryAll":"product_category","cart.item.price.basePrice":"product_unit_price","cart.item.productInfo.productId":"product_id","cart.item.productInfo.productName":"product_name","transaction.item.attributes.quantity":"product_quantity","transaction.item.attributes.variant":"product_variant","transaction.item.categoryAll":"product_category","transaction.item.price.basePrice":"product_unit_price","transaction.item.productInfo.productId":"product_id","transaction.item.productInfo.productName":"product_name","transaction.total.currency":"order_currency","transaction.total.tax":"order_tax","transaction.total.transactionTotal":"order_total","transaction.total.voucher.voucherId":"order_coupon_code","transaction.transactionId":"order_id","ga_eventPromoId":"next_flight_view_regular.promotion_id,next_flight_click_regular.promotion_id,next_flight_view_regular_monitor.promotion_id,next_flight_click.promotion_id,next_flight_view_irregular_monitor.promotion_id,next_flight_click_irregular_monitor.promotion_id,next_flight_click_regular_monitor.promotion_id","ga_eventPromoName":"next_flight_view_regular.promotion_name,next_flight_click_regular.promotion_name,next_flight_view_regular_monitor.promotion_name,next_flight_click.promotion_name,next_flight_view_irregular_monitor.promotion_name,next_flight_click_irregular_monitor.promotion_name,next_flight_click_regular_monitor.promotion_name","ga_eventPromoCreative":"next_flight_view_regular.creative_name,next_flight_click_regular.creative_name,next_flight_view_regular_monitor.creative_name,next_flight_click.creative_name,next_flight_view_irregular_monitor.creative_name,next_flight_click_irregular_monitor.creative_name,next_flight_click_regular_monitor.creative_name","ga_eventPromoPosition":"next_flight_view_regular.creative_slot,next_flight_click_regular.creative_slot,next_flight_view_regular_monitor.creative_slot,next_flight_click.creative_slot,next_flight_view_irregular_monitor.creative_slot,next_flight_click_irregular_monitor.creative_slot,next_flight_click_regular_monitor.creative_slot","ga4_account_persistence":"account_login.persistence","ga4_account_permission":"account_creation.lhid_permission","ut.event:view":"page_view","user.profile.profileInfo.profileId":"customer_id","ga4_teaser_stage_id":"teaser_stage_click.teaser_id","ga4_teaser_image_id":"teaser_image_click.teaser_id","ga4_teaser_fare_dynamic_interaction":"teaser_fare_dynamic_click.teaser_interaction","ga4_teaser_fare_od_interaction":"teaser_fare_od_click.teaser_interaction","ga4_teaser_fare_static_interaction":"teaser_fare_static_click.teaser_interaction","ga4_digital_doc_check_interaction_show":"digital_doc_check_show.digital_doc_check_interaction","ga4_digital_doc_check_interaction_click":"digital_doc_check_click.digital_doc_check_interaction","ga4_digital_doc_check_interaction_error":"digital_doc_check_error.digital_doc_check_interaction","ga4_account_persistence_attempt":"account_login_attempt.persistence","ga4_external_url":"external_link_click.external_url","ga_hs_paxAgeGroup_B1":"event.hs_paxAgeGroup","ga4_user_scope_id":"set.user_properties.userid","transaction.item.attributes.brand":"product_brand","ga4origin_and_destination":"event.origin_and_destination","ga_hs_all_destinations":"event.hs_all_destinations","ga_hs_paymentType":"event.hs_paymentMethod","user.profile.profileInfo.permissions":"event.user_profile_permissions","ga_datasource":"event.data_source","ga_nonInteraction":"event.non_interaction","ga_webview_session":"config.client_id","meta.lh_app_referrer":"event.app_referrer","ga_referrer":"config.page_referrer","ga4_debug":"event.ga4_debug_log","_sm_346_127":"config.cookie_domain","ga4_measurement_id":"measurement_id","ga4_monetate_campaign_name":"event.ab_testing_campaign_name","ga4_monetate_campaign_type":"event.ab_testing_campaign_type","page.category.category1":"event.page_category_category1","page.category.category2":"event.page_category_category2","page.category.category3":"event.page_category_category3","page.category.category4":"event.page_category_category4","page.category.category5":"event.page_category_category5","ga_hs_price":"event.hs_price","ga_hs_componentId":"event.hs_componentId","ga_hs_order":"event.hs_order","ga_hs_flowtype":"event.hs_flowtype","topic_1":"event.ga4_topic_1","topic_2":"event.ga4_topic_2","topic_3":"event.ga4_topic_3","optionType":"event.ga4_optionType","recommendation":"event.ga4_recommendation","ga_journeyLength":"event.journeyLength","ga_hs_trip_reason":"event.estimated_trip_reason","ga_hs_cabin":"event.hs_cabin","ga_hs_couponStatus":"event.hs_couponStatus","ga_ffamily_code":"event.hs_ff","cp.cognigy_session_id":"all_events.cognigy_session_id","decisionId":"event.descision_id","session.platformSessionId":"event.platformSessionId","event_product":"event.event_product","pnrSelected":"event.ga4_pnr_selected","teaser_id":"event.teaser_id"};u.extend=[function(a,b){try{b['_sm_346_127']=utag.cfg.domain;}catch(e){utag.DB(e);} try{b['_sm_346_71']="main";}catch(e){utag.DB(e);}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()||b['platformId'].toString().toLowerCase()=='lh0'.toLowerCase()){if(b.ga_eventCategory==='stage teaser'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_teaser_stage_click';b.ga4_teaser_stage_id=b.ga_eventLabel;}else if(b.ga_eventCategory==='image teaser'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_teaser_image_click';b.ga4_teaser_image_id=b.ga_eventLabel;}else if(b.ga_eventCategory==='stage teaser'&&b.ga_eventAction==='view'){b.ga4_event_name='ga4_teaser_stage_view';b.ga4_teaser_stage_id=b.ga_eventLabel;}else if(b.ga_checkoutStep===1&&b["ut.event"]==="view"){b.ga4_event_name='ga4_begin_checkout';}else if(b.ga_checkoutStep===2&&b["ut.event"]==="view"){b.ga4_event_name='ga4_add_shipping_info';}else if(b.ga_checkoutStep===3&&b["ut.event"]==="view"){b.ga4_event_name='ga4_add_payment_info';}else if(b.ga_enh_productAction==='purchase'){b.ga4_event_name='ga4_purchase';}else if(b.ga_eventCategory==='next flight teaser'){b.ga4_event_name='ga4_teaser_next_flight_click';}else if(b.ga_eventCategory==='destination-recommender-visibility'&&b.ga_eventAction==='view'){b.ga4_event_name='ga4_destination-recommender-visibility_view';}else if(b.ga_eventCategory==='fare teaser od'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_teaser_fare_od_claick';b.ga4_teaser_fare_od_interaction=b.ga_eventLabel;}else if(b.ga_eventCategory==='fare teaser static'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_teaser_fare_static_click';b.ga4_teaser_fare_static_interaction=b.ga_eventLabel;}else if(b.ga_eventCategory==='consent manager'){b.ga4_event_name='ga4_consent_'+b.ga_eventAction.replace(/ /g,'_');b.ga4_consent_status=b.ga_eventLabel;}else if(b.ga_eventCategory==='next flight component'){b.ga4_event_name='ga4_next_flight_'+b.ga_eventAction.replace(/( next)? flight/,'').replace(/ /g,'_');b.ga4_next_flight_component_interaction=b.ga_eventLabel;}else if(b.ga_eventCategory==='error'&&b.ga_eventAction==='view inline message'){b.ga4_event_name='ga4_error_view_inline_message';}else if(b.ga_eventCategory==='error'&&b.ga_eventAction==='view error message'){b.ga4_event_name='ga4_error_view_error_message';}else if(b.ga_eventCategory==='user account'&&b.ga_eventAction==='log in'){b.ga4_event_name='ga4_account_login';b.ga4_account_persistence=b.ga_eventLabel;}else if(b.ga_eventCategory==='user account'&&b.ga_eventAction==='log in attempt'){b.ga4_event_name='ga4_account_login_attempt';b.ga4_account_persistence_attempt=b.ga_eventLabel;}else if(b.ga_eventCategory==='account enrolment'&&b.ga_eventAction==='create profile'){b.ga4_event_name='ga4_account_creation';b.ga4_account_permission=b.ga_eventLabel;}else if(b.ga_eventCategory==='flightmanager'&&b.ga_eventAction==='search'&&b.ga_eventLabel==='car'){b.ga4_event_name='ga4_flightmanager_search_car';}else if(b.ga_eventCategory==='flightmanager'&&b.ga_eventAction==='search'&&b.ga_eventLabel==='holiday'){b.ga4_event_name='ga4_flightmanager_search_holiday';}else if(b.ga_eventCategory==='flightmanager'&&b.ga_eventAction==='search'&&b.ga_eventLabel==='hotel'){b.ga4_event_name='ga4_flightmanager_search_hotel';}else if(b.ga_eventCategory==='flightmanager'&&b.ga_eventAction==='submit'&&b.ga_eventLabel==='search flights'){b.ga4_event_name='ga4_flightmanager_submit_search';}else if(b.ga_eventCategory==='booking flow teaser'&&b.ga_eventAction==='view'){b.ga4_event_name='ga4_teaser_booking_flow_view_co2';}else if(b.ga_eventCategory==='recent searches'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_recent_searches_click_'+b.ga_eventLabel;}else if(b.ga_eventCategory==='refund voucher'){b.ga4_event_name='ga4_refund_voucher_'+b.ga_eventLabel.replace(/ /g,'_');}else if(b.ga_eventCategory==='login portlet'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_login_portlet_'+b.ga_eventLabel.toLowerCase();}else if(b.ga_eventCategory==='digital doc check'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_digital_doc_check_click';b.ga4_digital_doc_check_interaction_click=b.ga_eventLabel.toLowerCase();}else if(b.ga_eventCategory==='digital doc check'&&b.ga_eventAction==='show'){b.ga4_event_name='ga4_digital_doc_check_show';b.ga4_digital_doc_check_interaction_show=b.ga_eventLabel.toLowerCase();}else if(b.ga_eventCategory==='digital doc check'&&b.ga_eventAction==='error'){b.ga4_event_name='ga4_digital_doc_check_error';b.ga4_digital_doc_check_interaction_error=b.ga_eventLabel.toLowerCase();}else if(b.ga_eventCategory==='external link'){b.ga4_event_name='ga4_external_link_click';b.ga4_external_url=b.ga_eventLabel.toLowerCase();}else if((!b.ga_eventCategory)&&(!b.ga_eventAction)&&b.mmPageID_firstPart==='FFPP'&&b.tealium_event==="view"){b.ga4_event_name='ga4_flight_results_shown';}else if(b.ga_eventCategory==='oneid login'){b.ga4_event_name='ga4_oneid_login_click';} else if(b.action_type&&b.action_type.indexOf("b2t")===0&&b.ga_eventCategory.indexOf('monetate')==-1){var event_category=b.ga_eventCategory!==undefined&&b.ga_eventCategory!==null&&b.ga_eventCategory!=="(not set)"?b.ga_eventCategory.trim().replaceAll(' ','_').toLowerCase():"",event_action=b.ga_eventAction!==undefined&&b.ga_eventAction!==null&&b.ga_eventAction!=="(not set)"?b.ga_eventAction.trim().replaceAll(' ','_').toLowerCase():"";if(event_category){if(event_action){var ga4EventName="ga4_event_name:ga4_"+event_category+'_'+event_action;var qmEventValue=event_category+'_'+event_action;b.ga4_event_name='ga4_'+event_category+'_'+event_action;u.map[ga4EventName]=event_category+'_'+event_action;b.ga4_event_label=(b.ga_eventLabel!==undefined&&b.ga_eventLabel!==null&&b.ga_eventLabel!=="(not set)"?b.ga_eventLabel.trim().replaceAll(' ','_').toLowerCase():"");u.map['ga4_event_label']='event.ga4_eventLabel' if(b.ga_eventCategory.toLowerCase()=="error"){u.map['ga_errorCode']='event.error_code';u.map['ga_errorMessage']='event.error_message';u.map['ga_errorType']='event.error_type';u.map['ga_errorDetail']='event.errorDetail';u.map['error.errorInfo.elementName']='event.error_element_name';u.map['error_counter']='event.error_count';} if(typeof QuantumMetricAPI!=='undefined'&&QuantumMetricAPI.sendEvent){QuantumMetricAPI.sendEvent(241,0,qmEventValue);} }}} else if(b.ga_eventCategory==='flightmanager'&&b.ga_eventAction==='click'){b.ga4_event_name='ga4_flightmanager_click_'+b.ga_eventLabel.replace("open | ","");} else if(b.ga_eventCategory==='error'){if(b.ga_eventAction){b.ga4_event_name='ga4_'+b.ga_eventCategory+'_'+b.ga_eventAction;}else{b.ga4_event_name='ga4_'+b.ga_eventCategory}} else if(b.ga_eventCategory&&b.ga_eventCategory!=''){var event_category=b.ga_eventCategory!==undefined&&b.ga_eventCategory!==null&&b.ga_eventCategory!=="(not set)"?b.ga_eventCategory.trim().replaceAll(' ','_').toLowerCase():"",event_action=b.ga_eventAction!==undefined&&b.ga_eventAction!==null&&b.ga_eventAction!=="(not set)"?b.ga_eventAction.trim().replaceAll(' ','_').toLowerCase():"";if(event_category==="exp"){event_action="campaign";} if(event_category){if(event_action){var ga4EventName="ga4_event_name:ga4_"+event_category+'_'+event_action;b.ga4_event_name='ga4_'+event_category+'_'+event_action;u.map[ga4EventName]=event_category+'_'+event_action;b.ga4_event_label=(b.ga_eventLabel!==undefined&&b.ga_eventLabel!==null&&b.ga_eventLabel!=="(not set)"?b.ga_eventLabel.trim().replaceAll(' ','_').toLowerCase():"");u.map['ga4_event_label']='event.ga4_eventLabel'}}} b.consent_value=b.consent_value||"(not set)";b.consent_timestamp=b.consent_timestamp||"(not set)";function cleanProfileId(inputString){return inputString?.toLowerCase().replace(/[^a-z0-9 ]/g,'').replace(/hash/g,'')||'';} let inputString=b['user.profile.profileInfo.profileId'];if(inputString){let newInputString=inputString.toLowerCase();if(newInputString.includes('hash')){inputString=cleanProfileId(newInputString);b.ga4_user_scope_id=inputString;b['user.profile.profileInfo.profileId']=inputString;}else{b.ga4_user_scope_id=b['user.profile.profileInfo.profileId'];}} b.ga_loginStatus=b.logged_in;var lckeys=["user.profile.loginType","user.profile.membership.status"];for(var i=0;i=0){do_ti=false;delete b['transaction.transactionId'];delete b['transaction.transactionId'];delete b['booking_counter'];delete b['transaction.total.opc'];delete b['transaction.total.surcharge'];delete b['transaction.total.fees'];delete b['transaction.total.conversionFees'];delete b['transaction.total.netFare'];delete b['transaction.total.transactionTotal_ORIG'];delete b['transaction.total.priceBreakdown.baseFarePrice.amount_EURO'];b['transaction.transactionId']=null;b['booking_counter']=null;b['transaction.total.opc']=null;b['transaction.total.surcharge']=null;b['transaction.total.fees']=null;b['transaction.total.conversionFees']=null;b['transaction.total.netFare']=null;b['transaction.total.transactionTotal_ORIG']=null;b['transaction.total.priceBreakdown.baseFarePrice.amount_EURO']=null;} if(do_ti){if((b.mmPageID_firstPart==='BKCO'&&(!b.booking_type||b.booking_type==='sale'))||b.mmPageID_firstPart==='REPC'){b.booking_counter=1;} }} var no_error=b['dom.domain'].includes('once')&&(!b.ga_eventCategory||b.ga_eventCategory!=='error');var no_exclude=true;var excluded_errors=['46142','7076','7073','8703','7075','8183','7071'];if(b['mmPageID_firstPart']==='BKGD'){excluded_errors.push('3006');excluded_errors.push('4000');}else if(b['mmPageID_firstPart']==='CKPT'){excluded_errors.push('8104');}else if(b['mmPageID_firstPart']==='RBCO'||b['mmPageID_firstPart']==='EBCO'){excluded_errors.push('4000');} if(!no_error&&b['error.errorInfo.errorCode']&&b['error.errorInfo.errorCode']!=='(no lhgdata)'&&b['error.errorInfo.errorCode']!=='(not set)'){for(var i_error in b['error.errorInfo.errorCode']){if(excluded_errors.indexOf(b['error.errorInfo.errorCode'][i_error])>=0){no_exclude=false;}else{no_exclude=true;break;}} if(no_exclude){b.error_counter=1;}else if(a==='link'){u.all('set','metric12','');}}else if(a==='link'||no_error){u.all('set','metric12','');} if(b['conversion.funnel.funnelStep']){var funnelStep=b['conversion.funnel.funnelStep'].toLowerCase();var checkout=new RegExp(/^(itco|alpi|purf)$/i);if(checkout.test(funnelStep)){b.ga_enh_productAction='checkout';} if(funnelStep==='itco'){b.ga_checkoutStep=1;} else if(funnelStep==='alpi'){b.ga_checkoutStep=2;} else if(funnelStep==='purf'){b.ga_checkoutStep=3;}} b.ga_loginStatus=b.logged_in;b.consent_value=b.consent_value||"(not set)";b.consent_timestamp=b.consent_timestamp||"(not set)";}}catch(e){utag.DB(e)}},function(a,b){try{if(b['LH_FRONTEND_URL'].toString().toLowerCase().indexOf('www-dcep-'.toLowerCase())>-1||b['dom.domain'].toString().toLowerCase().indexOf('wav.'.toLowerCase())>-1){try{b["anc_baggage_purchases_counter"]=null;b["anc_insurance_purchases_counter"]=null;b["anc_upgrade_purchases_counter"]=null;b["anc_asr_paid_purchases_counter"]=null;b["anc_asr_purchases_counter"]=null;if(b['transaction.transactionId']&&b['transaction.transactionId']!==''){if(b["anc_baggage"]==='yes')b["anc_baggage_purchases_counter"]=Math.min(1,b["anc_amt_baggage"]);if(b["anc_insu"]==='yes')b["anc_insurance_purchases_counter"]=Math.min(1,b["anc_amt_insu"]);if(b["anc_upgrade"]==='yes')b["anc_upgrade_purchases_counter"]=Math.min(1,b["anc_amt_upgrade"]);if(b["anc_seat"]==='yes'){if(b["anc_amt_seat_cost"]>0)b["anc_asr_paid_purchases_counter"]=Math.min(1,b["anc_amt_seat_cost"]);if(b["anc_amt_seat_free"]>0)b["anc_asr_purchases_counter"]=Math.min(1,b["anc_amt_seat_free"]);}}} catch(ex){} }}catch(e){utag.DB(e)}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()){b.ga_referrer=b['clean.referrer'];if(b.ga_referrer&&b.ga_referrer!==''){if(b.mmPageID_firstPart==='BKCO'||b.mmPageID_firstPart==='BKGD'||b.mmPageID_firstPart==='RBCO'||b.mmPageID_firstPart==='REPC'||b.mmPageID_firstPart==='UPCO'||b.mmPageID_firstPart==='UPCC'||b.mmPageID_firstPart==='RFCO'){let regex=new RegExp("^\\w+:\/\/www\.([^\/:]+)[\\w\\W]*$");let ref=b.ga_referrer.replace(regex,'$1');let patt=new RegExp(/(pay|bank|vb|vr|rb|secure|cash|raif|kasse|raiba|hypo|americanexpress|barclaycard|voba|skb|dkb|gls|visa|sofort|adyen|transaction|auth|card|transfer)/);if(patt.test(ref)){b.ga_referrer='https://www.paymentprovider.com';}}}}}catch(e){utag.DB(e)}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()){if(b['conversion.funnel.funnelStep']){b.ga_pathname_cleaned_pageID=b.ga_pathname_cleaned_pageID.concat(b['conversion.funnel.funnelStep']+'/');}else{var ga_pageID=window.mmPageID.split('_')[0];if(ga_pageID.length==4){b.ga_pathname_cleaned_pageID=b.ga_pathname_cleaned_pageID.concat(ga_pageID.toLowerCase()+'/');}}}}catch(e){utag.DB(e)}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()){var pax_age_arr_b1=[];var step=false;var legs=-1;var flights=-1;var arrival='',booking_class='',bundle='',departure='',origin='',destination='',paymentMethod='',paymentCity='',paymentCountry='',paymentType='',adult='',child='',infant='',pax='',allOrigins='',allDestinations='',triptype='',farebase='';if(b['cart.item.categoryAll']){step='cart';}else if(b['transaction.item.categoryAll']){step='transaction';} if(b['filter.element.elementName']&&b['filter.element.userInput']){origin=b['filter.element.userInput'][b['filter.element.elementName'].indexOf('origin')];destination=b['filter.element.userInput'][b['filter.element.elementName'].indexOf('destination')];adult=b['filter.element.userInput'][b['filter.element.elementName'].indexOf('adults')];child=b['filter.element.userInput'][b['filter.element.elementName'].indexOf('children')];infant=b['filter.element.userInput'][b['filter.element.elementName'].indexOf('infants')];departure=b['filter.element.userInput'][b['filter.element.elementName'].indexOf('outbound-date')];arrival=b['filter.element.userInput'][b['filter.element.elementName'].indexOf('inbound-date')];pax=parseInt(adult)+parseInt(child)+parseInt(infant);} if(step!==false){if(b[step+'.item.categoryAll']){if(b[step+'.item.categoryAll'][0].indexOf('multistop')>=0){triptype='multistop';}else if(b[step+'.item.categoryAll'][0].indexOf('oneway')>=0){triptype='oneway';}else if(b[step+'.item.categoryAll'][0].indexOf('roundtrip')>=0){triptype='roundtrip';}else if(b[step+'.item.categoryAll'][0].indexOf('openjaw')>=0){triptype='openjaw';}else{triptype='other';}} if(b[step+'.item.productInfo.segment.number']){var highest=0;var index;var len=b[step+'.item.productInfo.segment.number'].length;for(var i=0;ihighest)highest=index;} legs=highest;} if(b[step+'.item.productInfo.segment.flightAssociation']){var highest=0;var index;var len=b[step+'.item.productInfo.segment.flightAssociation'].length;for(var i=0;ihighest)highest=index;} flights=highest;} if(triptype!=='other'){if(b[step+'.item.productInfo.departure']){departure=b[step+'.item.productInfo.departure'][0].split(' ')[0];} if(b[step+'.item.productInfo.origin']){origin=b[step+'.item.productInfo.origin'][0];} if(triptype!=='oneway'&&b[step+'.item.productInfo.departure']&&flights>1){let lastFlight=flights-1;arrival=b[step+'.item.productInfo.departure'][lastFlight].split(' ')[0];} if(triptype!=='openjaw'&&triptype!=='multistop'){if(typeof b[step+'.item.productInfo.segment.class']!=='undefined'){for(var i=0;i0){b['ga_hs_paxAgeGroup_B1']=pax_age_arr_b1.join('|');} if(pax){b['ga_hs_pax']=pax;} if(allOrigins){b['ga_hs_all_origins']=allOrigins;} if(allDestinations){b['ga_hs_all_destinations']=allDestinations;} if(farebase){b['ga_hs_farebase']=farebase;} if(paymentMethod){b['ga_hs_paymentMethod']=paymentMethod;} if(paymentCity){b['ga_hs_paymentCity']=paymentCity;} if(paymentCountry){b['ga_hs_paymentCountry']=paymentCountry;} if(paymentType){b['ga_hs_paymentType']=paymentType;}}}catch(e){utag.DB(e)}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()){if(b.ga_eventCategory&&b.ga_eventCategory==='consent manager'&&b.ga_eventAction&&b.ga_eventAction.indexOf('submit')>=0&&window.GA_ConsentManagerTSDiff){b.ga_consentManagerTSDiff=window.GA_ConsentManagerTSDiff;delete window.GA_ConsentManagerTSDiff;delete window.GA_ConsentManagerViewTS;delete window.GA_ConsentManagerSubmitTS;}else{u.all('set','metric15','');}}}catch(e){utag.DB(e)}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()){var txt='(not set)';if(b['transaction.attributes.payment.paymentType']){txt=b['transaction.attributes.payment.paymentType'];} }}catch(e){utag.DB(e)}},function(a,b){try{if((typeof b['cp.CONSENTMGR']!='undefined'&&b['cp.CONSENTMGR'].toString().toLowerCase().indexOf('c4:1'.toLowerCase())>-1)){b['ga_displayfeatures']='true'}}catch(e){utag.DB(e);}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()){var na='(not set)';b['error.errorInfo.elementName']=b['error.errorInfo.elementName']||na;b['error.errorInfo.type']=b['error.errorInfo.type']||na;b['error.errorInfo.errorCode']=b['error.errorInfo.errorCode']||na;b['error.errorInfo.message']=b['error.errorInfo.message']||na;var blockedKeys={'booking_counter':1,'error_counter':1,'cart.price.total':1,'cart.item.attributes.brand':1,'cart.item.attributes.quantity':1,'cart.item.attributes.variant':1,'cart.item.categoryAll':1,'cart.item.price.basePrice':1,'cart.item.productInfo.productId':1,'cart.item.productInfo.productName':1,'ga_checkoutStep':1,'ga_enh_productAction':1,'ga_eventAction':1,'ga_eventCategory':1,'ga_eventLabel':1,'ga_nonInteraction':1,'ga_pathname_cleaned_pageID':1,'ga_referrer':1,'ga_webview_session':1,'google_analytics_tracking_id':1,'page.attributes.htmlTitle':1,'page.category.category1':1,'page.category.category2':1,'page.category.category3':1,'page.category.category4':1,'page.category.category5':1,'transaction.item.attributes.brand':1,'transaction.item.attributes.quantity':1,'transaction.item.attributes.variant':1,'transaction.item.categoryAll':1,'transaction.item.price.basePrice':1,'transaction.item.productInfo.productId':1,'transaction.item.productInfo.productName':1,'transaction.total.currency':1,'transaction.total.tax':1,'transaction.total.opc':1,'transaction.total.surcharge':1,'transaction.total.fees':1,'transaction.total.conversionFees':1,'transaction.total.netFare':1,'transaction.total.transactionTotal':1,'transaction.transactionId':1,'user.profile.profileInfo.profileId':1,'ga_ss_userId':1,'ga_ss_clientId':1,'utm_campaign':1,'utm_content':1,'utm_medium':1,'utm_source':1,'utm_term':1};for(var key in b){if(b.hasOwnProperty(key)&&!blockedKeys.hasOwnProperty(key)){if(typeof b[key]==='string'&&(b[key]===''||b[key]===' '))b[key]=na;}}}}catch(e){utag.DB(e)}},function(a,b){try{if(b['platformId'].toString().toLowerCase()=='adcb1'.toLowerCase()){var ga4_random_client_id;var ga4_login_status;function getRandomInt(max){return Math.floor(Math.random()*max);} if(b.ga_ss_clientId==="1.null"||b.ga_ss_clientId==="2.null"){ga4_login_status=b.ga_loginStatus;ga4_random_client_id=getRandomInt(90000000000) b.ga_ss_clientId=ga4_random_client_id;b.ga_webview_session=ga4_random_client_id;b.ga4_debug=b["dom.domain"].concat('|',ga4_login_status);}}}catch(e){utag.DB(e)}},function(a,b){try{if(1){b.ga4_custom_userID=b["ga_profileId"];if(b["user.profile.profileInfo.profileId"]==="(no lhgdata)"){b["user.profile.profileInfo.profileId"]=undefined;} if(b["ga_ss_userId"]==="(no lhgdata)"){b["ga_ss_userId"]=undefined;} if(b["ga4_user_scope_id"]==="(no lhgdata)"){b["ga4_user_scope_id"]=undefined;} if(b["ga_profileId"]==="(no lhgdata)"){b["ga_profileId"]=undefined;}}}catch(e){utag.DB(e)}},function(a,b){try{if(typeof b['cp.CONSENTMGR']=='undefined'||b['cp.CONSENTMGR'].toString().toLowerCase().indexOf('c2:0'.toLowerCase())>-1){b.ga_ss_sessionId=undefined;b["user.profile.profileInfo.profileId"]=undefined;b.ga4_user_scope_id=undefined;b.ga_ss_clientId=undefined;b.ga_ss_clientId=undefined;b.ga_profileId=undefined;b["digitalTouchpoint.touchpointInfo.sessionID"]=undefined;}}catch(e){utag.DB(e)}}];u.send=function(utag_event,data_layer){if(u.ev[utag_event]||u.ev.all!==undefined){utag.DB("send:346");utag.DB(data_layer);var a,b,c,d,i,j,has_purchase=false,prop;a=utag_event;b=data_layer;u.data={"base_url":"https://www.googletagmanager.com/gtag/js?id=##utag_measurement_id##","measurement_id":"G-F287RDQGED","clear_global_vars":"true","data_layer_name":"","send_page_view":"false","order_id":"","order_total":"","order_subtotal":"","order_shipping":"","order_tax":"","order_store":"","order_currency":"","order_coupon_code":"","product_id":[],"product_name":[],"product_brand":[],"product_category":[],"product_subcategory":[],"product_addcategory3":[],"product_addcategory4":[],"product_addcategory5":[],"product_quantity":[],"product_unit_price":[],"product_discount":[],"product_coupon":[],"product_variant":[],"product_promotion_id":[],"product_promotion_name":[],"product_creative_name":[],"product_creative_slot":[],"product_location_id":[],"product_index":[],"product_item_list_name":[],"product_item_list_id":[],"product_affiliation":[],"event_queue":[],"config":{},"set":{"developer_id.dYmQxMT":true,"user_properties":{}},"event":{},"items":[]};for(c=0;c0){mapFunc(arr,obj[i],item);}else{obj[i]=item;}} function toBoolean(val){val=val||"";return val===true||val.toLowerCase()==="true"||val.toLowerCase()==="on";} function hasgtagjs(){window.gtagRename=window.gtagRename||""||"gtag";if(utag.ut.gtagScriptRequested){return true;} var i,s=document.getElementsByTagName("script");for(i=0;i=0&&(s[i].id&&s[i].id.indexOf("utag")>-1)){return true;}} var data_layer_name=""||"dataLayer";window[data_layer_name]=window[data_layer_name]||[];if(typeof window[window.gtagRename]!=="function"){window[window.gtagRename]=function(){window[data_layer_name].push(arguments);};var cross_track=toBoolean(""),cross_track_domains="";if(cross_track&&cross_track_domains!==""){window[window.gtagRename]("set","linker",{domains:cross_track_domains.split(","),accept_incoming:true});} window[window.gtagRename]("js",new Date());} return false;} u.scriptrequested=hasgtagjs();u.initialized=false;u.o=window[window.gtagRename];function setGlobalProperties(data,reset,custom_property){var map={"user_id":{"name":"user_id","type":"exists","reset":true},"page_path":{"name":"page_path","type":"exists","reset":true},"page_title":{"name":"page_title","type":"exists","reset":true},"page_location":{"name":"page_location","type":"exists","reset":false},"developer_id.dYmQxMT":{"name":"developer_id.dYmQxMT","type":"exists","reset":false},"user_properties":{"name":"user_properties","type":"object","reset":true}},prop,subProp,g={};if(custom_property&&reset){g[custom_property]="";} for(prop in utag.loader.GV(map)){if(reset&&map[prop].reset){if(map[prop].name==="user_properties"){for(subProp in data[prop]){if(!g[map[prop].name]){g[map[prop].name]={};} g[map[prop].name][subProp]="";}}else{g[map[prop].name]="";}}else{if(map[prop].type==="bool"){if(data[prop]==true||data[prop]==="true"){g[map[prop].name]=true;}} else if(map[prop].type==="exists"||map[prop].type==="object"){if(data[prop]){g[map[prop].name]=data[prop];}}}} if(!utag.ut.isEmptyObject(g)){u.o("set",g);}} function getItems(length){var g={},i,items=[];length=length||u.data.product_id.length||u.data.product_name.length;for(i=0;i