(function(){return function(t,e,r){var a=Scanner.fromMessage(t);a.setLocale(e);var n,s,i,o,p,g,m=[],c=a.getSpan();c.next(/\w+\s\(\w+\).*?\w+\s+\(\w+\)/).innerCapture(/(\w+)\s\((\w+)\).*?(\w+)\s+\((\w+)\)/);n=c.next(r.name).nextTag("td1",9).tagContents(),s=c.next(r.reference).next(/[A-Z\d]{4,}/);for(var h=a.getSpan().next(r.depart);h.exists();){h.parentTag("td2");p=h.nextDate();var d=p.next(/\n[\w, ]+/).trim();g=p.nextDate();var u=g.next(/\n[\w, ]+/).trim();i=g.nextTag("td2",2).tagContents();var x=i.nextTag("td2",2).tagContents();o=x.nextTag("td2",2).tagContents(),x=""+x,ASSERT(s,n,g,p)&&m.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:i,airlineCode:x.substr(0,2),flightNumber:x.substr(2),departureAirportFuzzy:d,departureTime:p,arrivalAirportFuzzy:u,arrivalTime:g},underName:{"@type":"http://schema.org/Person",name:n},reservationId:s,reservationStatus:"http://schema.org/ReservationConfirmed",reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatingType:o}}}),!0,h=h.next(r.depart)}return m}}).call();