(function(){return function(e,t,r){if(!e||!t||!r)return CONTINUE;var a=Scanner.fromMessage(e);a.setLocale(t);for(var n,o,c=a.getSpan(),s=c.next(r.ticketNumber).parentAnyTag("table").allInnerTagsFiltered("td3"),i=c.next(r.reservationId).nextRegExp(/[A-Z\d]{5,}/),p=[],h=0;h<s.length;h++)h%2==0?n=s[h]:h%2==1&&(o=s[h].innerCapture(regExpFormatted(/\1\s(\d+)/,r.eTic),1),ASSERT(n,i)&&p.push({name:n,ticketNo:o}));for(var g=[],h=0;h<p.length;h++)g.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationStatus:"http://schema.org/ReservationCancelled",reservationFor:{"@type":"http://apple.com/FuzzyFlight"},underName:{"@type":"http://schema.org/Person",name:p[h].name},reservationId:i,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:p[h].ticketNo,ticketedSeat:{"@type":"http://schema.org/Seat"}}});return g}}).call();