(function(){return function(e,r,t){var a=Scanner.fromMessage(e);a.setLocale(r);for(var n=a.getSpan(),i=[],o=n.next(t.reservationId).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\uff1a?\s*(.+)/,t.reservationId),1),s=[],p=n.next(t.travelInfo).nextTag("table5"),l=p.allInnerTags("tr5"),g=1;g<l.length-1;g++){var d=l[g].allInnerTags("td5");if(!(d.length<6)){var m=d[0].tagContents().innerCapture(/(.+?)\s?\-\-?\s?(.+)/),h=m[1],v=m[2],u=d[1].tagContents().innerCapture(/([A-Z]{2})(\d{3,4})/),T=u[1],C=u[2],c=d[2].innerDate(),f=d[3].innerDate(),A=d[4].innerDate(),D=combineDateAndTime(c,f),I=combineDateAndTime(c,A);Date.parse(D)>Date.parse(I)&&(I=modifyDate(I,1)),ASSERT(h,v,D,I)&&s.push({departureTime:D,arrivalTime:I,departureAirportCode:h,arrivalAirportCode:v,airlineCode:T,flightNumber:C})}}for(var b=[],x=n.next(t.passengers).nextTag("table5"),y=x.allInnerTags("tr5"),g=1;g<y.length;g++){b.push(y[g].allInnerTags("td5")[0].tagContents().trim())}for(var g=0;g<s.length;g++)for(var d=s[g],F=0;F<b.length;F++){var S={"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineCode:d.airlineCode,flightNumber:d.flightNumber,departureTime:d.departureTime,departureAirportCode:d.departureAirportCode,arrivalTime:d.arrivalTime,arrivalAirportCode:d.arrivalAirportCode},underName:{"@type":"http://schema.org/Person",name:b[F]},reservationId:o,reservedTicket:{"@type":"http://schema.org/Ticket"},reservationStatus:"http://schema.org/ReservationConfirmed"};i.push(S)}if(i.length)return i}}).call();