(function(){return function(e,r,t){var a=Scanner.fromMessage(e);a.setLocale(r);var i,n,o,p,m=a.getSpan(),u=[],d=[];return i=""+m.next(t.reservationId_prefix).parentAnyTag("td").tagContents(),i=/: (.*)/.exec(i)[1],t.leg_prefixes.forEach(function(e){var r,i,n,o,p,d,l,s,g,c,h="Volotea",A="V7",v=e;if(v===a.getNullSpan())return null;var N=v.nextAnyTag("td").nextAnyTag("td"),T=N.nextAnyTag("td"),n=T.nextAnyTag("td"),l=n.nextAnyTag("td"),y=l.nextAnyTag("td");N=/(.*) \xb7 (.*)/.exec(""+N.tagContents()),p=N[1],g=N[2],T=T.nextDate(),n=n.nextDate(),l=l.nextDate(),o=combineDateAndTime(T,n),s=combineDateAndTime(T,l),r=/V7 ([0-9]*)/.exec(""+y)[1];var b=m.next(t.passager);if(""+b!="")for(;""+b!="";){var x=b.nextAnyTag("td").tagContents();u.push({airlineName:h,airlineCode:A,flightNumber:r,departureDateTime:o,departureAirport:p,departureAirportCode:d,arrivalDateTime:s,arrivalAirport:g,arrivalAirportCode:c,ticketNumber:i,underPersonName:x}),b=b.next(t.passager)}else u.push({airlineName:h,airlineCode:A,flightNumber:r,departureDateTime:o,departureAirport:p,departureAirportCode:d,arrivalDateTime:s,arrivalAirport:g,arrivalAirportCode:c,ticketNumber:i})}),u.forEach(function(e){ASSERT(e.departureAirport,e.arrivalAirport,e.flightNumber,e.airlineName,e.arrivalDateTime,e.departureDateTime),d.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:e.airlineName,airlineCode:e.airlineCode,flightNumber:e.flightNumber,departureAirportFuzzy:e.departureAirport,departureAirportCode:e.departureAirportCode,departureTime:e.departureDateTime,arrivalAirportFuzzy:e.arrivalAirport,arrivalAirportCode:e.arrivalAirportCode,arrivalTime:e.arrivalDateTime},underName:{"@type":"http://schema.org/Person",name:e.underPersonName},checkinUrl:p,reservationId:i,reservationStatus:"http://schema.org/ReservationConfirmed",totalPrice:n,priceCurrency:o,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:e.ticketNumber,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:e.seatNumber,seatingType:e.seatType}},programMembershipUsed:{"@type":"http://schema.org/ProgramMembership",membershipNumber:e.membershipNumber,programName:e.programName}})}),d.length>=1?d:CONTINUE}}).call();