(function(){return function(e,t,n){var r=Scanner.fromMessage(e);r.setLocale(t);var a,i,p,o,s,d,x,g,m,c,f,h,l,T,y,u=r.getSpan(),A="Confirmed";if(o=u.next(n.pickUpDateTime_prefix).nextAnyTag("td").innerDate(),m=u.next(n.dropOffDateTime_prefix).nextAnyTag("td").innerDate(),s=u.next(n.address_prefix).nextAnyTag("td").innerAddress(),s!==r.getNullSpan()?c=s:(s=u.next(n.pickUpDateTime_prefix).nextAnyTag("td").innerAddress(),c=u.next(n.dropOffDateTime_prefix).nextAnyTag("td").innerAddress()),s===r.getNullSpan()&&(s=u.next(n.address_prefix).nextAnyTag("td").tagContents()),l=u.next(n.reservationId_prefix).nextAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1.*\n\n(.*)/,n.reservationId_prefix),1),y=r.getSpan().next(n.providerName_prefix).nextAnyTag("td").tagContents(),a=u.next(n.underPersonName_prefix).nextAnyTag("td").tagContents().innerCapture(regExpFormatted(/\1.*\n\n(.*)/,n.underPersonName_prefix),1),ASSERT(s,o))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:l,reservationStatus:"http://schema.org/Reservation"+A,checkinUrl:T,modifyReservationUrl:f,cancelReservationUrl:h,underName:{"@type":"http://schema.org/Person",name:a,email:i},provider:{"@type":"http://schema.org/Organization",name:y},pickupTime:o,pickupLocation:{"@type":"http://schema.org/Place",name:p,telephone:d,address:s},dropoffTime:m,dropoffLocation:{"@type":"http://schema.org/Place",name:x,telephone:g,address:c}}]}}).call();