1import{_ as w}from"./CExDJokl.js";import{_ as A,a as S,b as P}from"./BzLj1yqW.js";import{_ as D}from"./nMYIDDuq.js";import{_ as E}from"./21QjA-Ma.js";import{J as x,K as O,e as o,j as k,t as N,l as e,o as u,i as a,v as V,L as G,a as K,b as L,k as n,c as M}from"./COojkf4v.js";import{_ as R}from"./DTUrENHh.js";import"./B8HABC_Y.js";import"./Dp1F3dtN.js";import"./DLT3HeG_.js";import"./C2cJ1d9n.js";import"./DlAUqK2U.js";import"./s6bINlFn.js";import"./Mbkusumr.js";import"./3pjpMM3x.js";import"./Bhp-mUPz.js";import"./CU_hpAAX.js";import"./CA0Rsttx.js";const U={key:0},W=["src"],j=null,J={__name:"TrabberTracker",setup(T){const m=window.location.hostname,t=x(),r=O(),f=o(()=>t.totalPassengerCount),i=o(()=>t.getTotalAmountWithTax),s=o(()=>r.getTrabberCookie);return(g,v)=>e(s)?(u(),k("div",U,[a("img",{src:`https://www.trabber.com/admin/trtr.nocache.gif?hostname=${e(m)}&cookie=${e(s)}&order_id=${j}&product=flight&price=${e(i).toFormat("0.00")}&pax=${e(f)}¤cy=${e(i).getCurrency()}`,alt:""},null,8,W)])):N("",!0)}},q={class:"mb-6"},z={class:"text-gray-800 font-body w-11/12 max-container-wrapper mx-auto mb-10 md:mb-16"},H={key:0,class:"flex flex-col md:flex-row md:gap-6 transition duration-500 ease-in-out"},Q={class:"flex flex-col lg:w-8/12"},X={class:"lg:hidden space-y-4"},Y={class:"hidden lg:block lg:w-4/12"},Z={class:"sticky top-20 space-y-4"},he={__name:"index",setup(T){const m=V(!1),t=x(),r=G(),{trackPurchase:f}=L(),i=o(()=>t.getFlightOffer),s=o(()=>t.getReferenceId),g=o(()=>t.getTravelers),v=o(()=>t.getBillerEmail),C=o(()=>t.getBillerAddress),c=o(()=>t.getTotalPaidAmount);K(()=>{var _,d;m.value=!0;const y=r.getSource,B=r.getMedium,p=r.getReferrer,h=r.getAffiliateId;if(s.value){const l=`ga4_purchase_sent_${s.value}`;sessionStorage.getItem(l)||(f({transactionId:s.value,value:(_=c.value)!=null&&_.toUnit?c.value.toUnit():void 0,currency:(d=c.value)!=null&&d.getCurrency?c.value.getCurrency():void 0,numTravelers:t.totalPassengerCount,utm_source:y,utm_medium:B,utm_affiliate_id:h,utm_referrer:p}),sessionStorage.setItem(l,"1"))}r.clearActionAllData()});const b=o(()=>t.getDirectory);return(y,B)=>{const p=w,h=A,_=S,d=P,l=D,$=E,F=J,I=R;return u(),k("div",null,[a("div",q,[n(p,{currentStep:3})]),a("div",z,[e(m)?(u(),k("div",H,[a("div",Q,[n(h,{referenceId:e(s)},null,8,["referenceId"]),n(_,{travelers:e(g)},null,8,["travelers"]),n(d,{address:e(C),travelers:e(g),billerEmail:e(v),totalPaidAmount:e(c)},null,8,["address","travelers","billerEmail","totalPaidAmount"]),a("div",X,[n(l,{flightOffer:e(i),directory:e(b)},null,8,["flightOffer","directory"]),n($)])]),a("div",Y,[a("div",Z,[n(l,{flightOffer:e(i),directory:e(b)},null,8,["flightOffer","directory"]),n($)])]),n(F)])):(u(),M(I,{key:1}))])])}}};export{he as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.