(function(){return function(t,e,n){var a=Scanner.fromMessage(t);a.setLocale(e);var r=a.getSpan().next(regExpFormatted(/\1\s(\d+)/,n.reservationIdPrefix),1),s=r.nextTag("table5").allInnerTagsFiltered("td5").some(function(t){return n.hasFlightPrefix.test(t.getString())}),g=[];s&&(g=parseMicrodata(t.html));var o=r.next(n.travelers).nextTag("table5").nextTag("td5").tagContents();o=o.replace(/\s\+\s\d.+/,""),r=r.next(n.travelers).nextAnyTag("table").nextAnyTag("table");var i=a.getSpan().withInterval(r.next(n.hotel).nextTag("table4").getStart(),r.next(n.neccessary).parentTag("table4").getStart());if(!i.exists())return g;var l=i.next(n.hotelConfirmation).next(/\d[\d -]+/).trim(),c=i.nextTag("td4").tagContents(),x=c.nextTag("table5"),h=a.getSpan().withInterval(c.getStart(),x.getStart()).replace(/\[td4\]/,"");h=h.replace(/\n/g,"").trim();var d=i.nextTag("td5").nextTag("td5").tagContents().innerCapture(/([^<]+)/,1).trim(),p=i.next(n.checkin).nextDate(),m=i.next(n.checkout).nextDate();return ASSERT(o,l,p,m,d)?(g.push({"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:o},checkinTime:p,checkoutTime:m,reservationStatus:"http://schema.org/ReservationConfirmed",reservationId:l,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:h,telephone:null,address:d}}),g):void 0}}).call();