(function(){return function(e,n,t){var a=Scanner.fromMessage(e);a.setLocale(n);var r,i,c,o,l,s,g,u,m,p;p=""+a.getSpan().nextTag("table4").nextTag("table4").allInnerTags("td4")[2].tagContents();var h=a.getSpan().nextTag("table4").nextTag("table4"),d=h.innerCapture(t.dates),S=h.innerCapture(t.times);if(l=""+d.$checkin,o=""+S.$checkin,u=""+d.$checkout,g=""+S.$checkout,s=combineDateAndTime(a.getDetachedSpan(l).innerDate(),a.getDetachedSpan(o).innerDate()),m=combineDateAndTime(a.getDetachedSpan(u).innerDate(),a.getDetachedSpan(g).innerDate()),i=a.getSpan().next(t.confirmation).innerCapture(t.confirmation,1),r=a.getSpan().next(t.guestName).innerCapture(t.guestName,1),t.isCancelled.test(e.subject)&&(c="Cancelled"),ASSERT(r,p,s,m))return[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r,email:null},totalPrice:null,priceCurrency:null,checkinTime:s,checkoutTime:m,modifyReservationUrl:null,reservationStatus:"http://schema.org/Reservation"+(c||"Confirmed"),reservationId:i,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:p,url:null,telephone:null,address:null}}]}}).call();