(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,o,c,g="Cancelled",i=a.getSpan().next(r.booking).parentAnyTag("td").tagContents().replace(regExpFormatted(/\1\s*(.*)/,r.booking),"$1"),p=(""+a.getSpan()).match(regExpFormatted(/\1/g,r.ticket)).length,s=[];0!==p&&(n=a.getSpan().next(r.ticket).parentAnyTag("table"));for(var m=0;m<p;m++){for(var h=n.allInnerTagsFiltered("td5"),l=0;l<h.length;l++)if(0===l&&(o=h[l]),1===l){var u=h[l].innerCapture(regExpFormatted(/\1\s*($<ticketNumber>.*)/,r.ticket));c=u?u.$ticketNumber:null}ASSERT(o,c,i)&&s.push({name:o,ticketNumber:c,referanceId:i}),n=n.nextAnyTag("table")}for(var v=[],m=0;m<s.length;m++){var k=s[m];v.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight"},reservationStatus:"http://schema.org/Reservation"+g,reservationId:i,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:k.ticketNumber},underName:{"@type":"http://schema.org/Person",name:k.name}})}if(v)return v}}).call();