(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,d,s,o,p,i,l,g,c,m=a.getSpan(),u=m.next(n.pickUp).nextAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+($<date>\d?\d?\s?[\w\.]{3,5}\s?\d?\d?),?\s($<time>\d?\d:\d\d(?:am|pm)?)\s[\n]+($<l>[\w\s\.\-\d]+),?\s\(?($<c>[a-zA-Z\s\.\-\,]+)\)?/i,n.pickUp));l=u?u.$date:null,s=u?u.$time:null,null!==s&&(s=combineDateAndTime(a.getDetachedSpan(""+l),a.getDetachedSpan(""+s))),o=u?u.$l:null,c=u?u.$c:null,null!==c&&(o=o+", "+c),u=m.next(n.dropOff).nextAnyTag("td").nextAnyTag("td").nextAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+($<date>\d?\d?\s?[\w\.]{3,5}\s?\d?\d?),?\s($<time>\d?\d:\d\d(?:am|pm)?)\s[\n]+($<l>[\w\s\.\-\d]+),?\s\(?($<c>[a-zA-Z\s\.\-\,]+)\)?/i,n.dropOff)),l=u?u.$date:null,p=u?u.$time:null,null!==p&&(p=combineDateAndTime(a.getDetachedSpan(""+l),a.getDetachedSpan(""+p))),c=u?u.$c:null,i=u?u.$l:null,null!==c&&(i=i+", "+c);var h=m.next(n.thanks).nextAnyTag("td").tagContents().innerCapture(/Your\s($<provider>.*)\sreservation/);g=h?h.$provider:null,n.checkForProvider.test(g)&&(g=m.next(n.car).nextTag("table9").allInnerTagsFiltered("td9")[0]),null!==g&&(g=a.getDetachedSpan((""+g).split(" ")[0])),d=m.next(n.itinerary).nextAnyTag("td").tagContents();var $=m.next(n.reserved).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+($<id>.*)/,n.reserved));r=$?$.$id:null;var x=m.next(n.type).parentAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1\s[\n]+[a-zA-Z\-\s\d]+\s[\n]+($<brand>[a-zA-Z\s\d,|-]+or similar)/,n.type)),y=x?x.$brand:null;if(ASSERT(r,s,o,i,d,y))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:d,reservationStatus:"http://schema.org/ReservationConfirmed",underName:{"@type":"http://schema.org/Person",name:r},provider:{"@type":"http://schema.org/Organization",name:g},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:y}},pickupTime:s,pickupLocation:{"@type":"http://schema.org/Place",name:o},dropoffTime:p,dropoffLocation:{"@type":"http://schema.org/Place",name:i}}]}}).call();