(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,i,o,p,g,s,c,u,x,d,l,h,m,T,f,C,v,y,S=a.getSpan();n=S.nextText(r.underPerson_prefix).nextText(r.underPersonName_prefix).nextTag("td3").tagContents(),i=S.nextText(r.reservationId_prefix).nextTag("td3").tagContents(),[,o,p]=S.nextText(r.priceInfo_prefix).nextTag("td3").tagContents().innerCapture(regExpFormatted(/(.*) (.*)/));var z=S.nextText(r.flightInfo_prefix).nextTag("table3").nextTag("tr3").nextTag("tr3").allInnerTags("td3"),F=z[0].tagContents();h=F.split("\xa0\xa0\xa0")[0],(m=getFuzzyDate(a.getDetachedSpan(""+F).firstDate()))===a.getNullSpan()&&(m=F);var N=z[4].tagContents();if(C=getFuzzyDate(a.getDetachedSpan(h+" "+N).firstDate()),C===a.getNullSpan()&&(C=N),[,u,x]=z[1].tagContents().innerCapture(regExpFormatted(/(.*)\xa0(\d{3,4})/)),T=z[2].tagContents(),v=z[3].tagContents(),ASSERT(m,C,T,v))return[{"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineName:c,airlineCode:u,flightNumber:x,departureAirportFuzzy:T,departureAirportCode:f,departureTime:m,arrivalAirportFuzzy:v,arrivalAirportCode:y,arrivalTime:C},underName:{"@type":"http://schema.org/Person",name:n},checkinUrl:s,reservationId:i,reservationStatus:"http://schema.org/ReservationConfirmed",totalPrice:o,priceCurrency:p,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:g,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:d,seatingType:l}}}]}}).call();