(function(){return function(e,t,a){var n=Scanner.fromMessage(e);n.setLocale(t);var r,s,i,o,p,d,g,c,h,f,l=n.getSpan();i=l.next(a.hotelAddress_preffix).previousDate().parentAnyTag("table").firstTag("td5").tagContents(),r=(""+l.next(a.underPersonName_preffix).nextAnyTag("td").nextAnyTag("td").tagContents()).split("\n")[0].trim();var m=""+l.next(a.hotelAddress_preffix).previousDate().parentAnyTag("td").tagContents(),u=m.split("-");g=u[0],g=getFuzzyDate(n.getDetachedSpan(g).firstDate()),c=u[1],c=getFuzzyDate(n.getDetachedSpan(c).firstDate()),d=l.innerCapture(regExpFormatted(/\1 (.*) </,a.reservationId_preffix),1);var x=""+l.next(a.hotelAddress_preffix).parentAnyTag("td").tagContents();p=n.getDetachedSpan(x).firstAddress(),""+p||(p=n.getDetachedSpan(x).innerCapture(/>\s*?(.+?)</,1).trim()),o=/Tel: (.*),/.exec(x)[1];var v=a.hotelCancelled.test(e.plain)?"Cancelled":"Confirmed";if(ASSERT(i,p,g))return[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r,email:s},totalPrice:h,priceCurrency:f,checkinTime:g,checkoutTime:c,reservationStatus:"http://schema.org/Reservation"+v,reservationId:d,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:i,telephone:o,address:p}}]}}).call();