(function(){return function(e,r,t){var a=Scanner.fromMessage(e);a.setLocale(r);var n,i=a.getSpan(),o=0,p=[];n=i.innerCapture(regExpFormatted(/\1(.*)/,t.reservationId_prefix),1).allInnerTagsFiltered("td3"),p=i.innerCapture(regExpFormatted(/\1[\n]{0,2}(.*)/,t.passengers),1).allInnerTagsFiltered("td3");var l=i.innerCapture(regExpFormatted(/\1[\n]{0,2}(.*)/,t.destinationFlight),1),d=i.innerCapture(regExpFormatted(/\1[\n]{0,2}(.*)/,t.returnFlight),1),s=/.*\((.*)\)\s*>\s*.*\((.*)\)/,g=/\d\d?\.\s*(.*)/,m="",c="",u="td",h="tr",v=u+(p.length-1+3),f=h+(p.length-1+3),C=/.*\]\s+(\d+:\d+)\s+-\s+(\d+:\d+)/,F=/(\d+):\d+/;l.isNullSpan_||o++,d.isNullSpan_||o++,0==o&&CONTINUE;for(var N=[],T=function(e){var r={},t=e.allInnerTagsFiltered(v),a=e.allInnerTagsFiltered(f),n=t[1],i=a[1],o=i.replace(C,"$1"),p=i.replace(C,"$2"),l=(o.replace(F,"$1"),p.replace(F,"$1"),combineDateAndTime(n,o)),d=combineDateAndTime(n,p),g=t[4];m=t[0].replace(s,"$1"),c=t[0].replace(s,"$2");var u=t[3].split(" "),h=u[1],N=u[0];return r.dateGoing=l,r.dateLanding=d,r.airlineName=g,r.from=m,r.to=c,r.flightNum=h,r.airlineCode=N,r},E=i.innerCapture(regExpFormatted(/\1(.*)/,t.price_prefix),1).tagContents().innerRegExp(/\d+.?\d+/),x=0;x<p.length;x++){p[x]=p[x].replace(g,"$1");for(var S=[],y=0;y<o;y++){0==y?S.push(T(l)):1==y&&S.push(T(d)),ASSERT(S[y].from,S[y].to,S[y].dateGoing,S[y].dateLanding);N.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:S[y].airlineName,airlineCode:S[y].airlineCode,flightNumber:S[y].flightNum,departureAirportCode:S[y].from,departureTime:S[y].dateGoing,arrivalAirportCode:S[y].to,arrivalTime:S[y].dateLanding},underName:{"@type":"http://schema.org/Person",name:p[x]},reservationId:n[0],reservationStatus:"http://schema.org/ReservationConfirmed",totalPrice:E,priceCurrency:"EUR",reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:"",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:"",seatingType:""}}})}}return N.length>=1?N:CONTINUE}}).call();