// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r,n){var a=Scanner.fromMessage(e);a.setLocale(t);var o,p,i,s,c,m,l,g,h,d,f,u,v,x,y,C,R=a.getSpan();o=R.innerCapture(regExpFormatted(/\1 ([0-9]*) /,r.reservationId_prefix),1);var k=R.next(r.pickup_prefix).parentAnyTag("td").tagContents();p=k.innerDate(),i=(""+k).split("\n")[2],c=(""+k).split(i)[1].replace(/\n/g," ").trim();var S=R.next(r.dropoff_prefix).parentAnyTag("td").tagContents();if(m=S.innerDate(),l=(""+S).split("\n")[2],h=(""+S).split(l)[1].replace(/\n/g," ").trim(),v=R.next(r.modifyReservationUrl_prefix).nextLink(),y=R.innerCapture(regExpFormatted(/\1 (.*)\n/,r.underName_prefix),1),ASSERT(o,y,p,c))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:o,totalPrice:d,priceCurrency:f,reservationStatus:"http://schema.org/"+n,checkinUrl:u,modifyReservationUrl:v,cancelReservationUrl:x,underName:{"@type":"http://schema.org/Person",name:y},provider:{"@type":"http://schema.org/Organization",name:"Enterprise"},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:C},license:"",color:""},pickupTime:p,pickupLocation:{"@type":"http://schema.org/Place",name:i,telephone:s,address:c},dropoffTime:m,dropoffLocation:{"@type":"http://schema.org/Place",name:l,telephone:g,address:h}}]}}).call();