(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,p,i,g,c,s,l,d,m,h,T;T=n.cancelled.test(e.subject)||n.cancelled.test(e.plain)?"Cancelled":"Confirmed",h=a.getSpan().next(n.pickUp).parentTag("table4"),g=h.nextTag("td5").tagContents();var f=a.getSpan().next(n.pickUp).parentAnyTag("table").allInnerTagsFiltered("td7"),b=a.getSpan().next(n.dropOff).parentAnyTag("table").allInnerTagsFiltered("td7"),v=a.getSpan().next(n.dropOff).nextTag("table6").allInnerTagsFiltered("td6");if(0!==v.length&&(c=v[1]),s=combineDateAndTime(f[2],f[1]),l=combineDateAndTime(b[2],b[1]),d=f[3],m=b[3],r=a.getSpan().next(n.booking).parentAnyTag("table").tagContents().innerCapture(regExpFormatted(/.*\1\s*#\s*([\w\d]+)/,n.booking),1),i=a.getSpan().next(n.booking).next(n.reserved).nextAnyTag("td").tagContents(),ASSERT(i,s))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:r,reservationStatus:"http://schema.org/Reservation"+T,modifyReservationUrl:o,cancelReservationUrl:p,underName:{"@type":"http://schema.org/Person",name:i},provider:{"@type":"http://schema.org/Organization",name:g},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:c}},pickupTime:s,pickupLocation:{"@type":"http://schema.org/Place",name:d},dropoffTime:l,dropoffLocation:{"@type":"http://schema.org/Place",name:m}}]}}).call();