(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r=loadHelper("europcar-microdata-parser.js"),o=r(e);if(o)return o;var s,i,p,c,g,m,d,x,h,l,u,T,C,v,S,f,y,R,I,P;a.getSpan().nextText(n.reservationId).exists()&&(p=a.getSpan().nextText(n.reservationId).nextTag("td3").tagContents().trim()),a.getSpan().nextText(n.inquiryId).exists()&&(p=a.getSpan().nextText(n.inquiryId).nextTag("td3").tagContents().trim()),l=a.getSpan().nextText(n.car).nextTag("td3").tagContents().trim(),l=(""+l).replace(/\n/," "),a.getSpan().nextText(n.guestName).exists()&&(s=a.getSpan().nextText(n.guestName).nextTag("td3").tagContents(),i=/mailto/.test(a.getSpan().nextText(n.guestEmail).nextTag("td3").tagContents())?(""+a.getSpan().nextText(n.guestEmail).nextTag("td3").tagContents()).match(/(.+) (<mailto?)/)[1]:a.getSpan().nextText(n.guestEmail).nextTag("td3").tagContents().trim());var k=a.getSpan().next(n.pickup).nextTag("td3").tagContents();P=k.innerDate(),R=a.getSpan().next(n.address).nextAddress(),R&&R.exists()||(R=(""+k).match(/([\w\s]+?)(,|\n)/)[1]),I=a.getSpan().nextText(n.pickupAddress).nextTag("td3").tagContents().innerPhoneNumber(),f=a.getSpan().next(n.dropoff).nextTag("td3").tagContents().innerDate(),(v=a.getSpan().next(n.address).nextAddress())&&v.exists()||(v=(""+k).match(/([\w\s]+?)(,|\n)/)[1]);var E=a.getSpan().nextText(n.price).nextTag("td3").tagContents(),N=E.innerCapture(/^(.+)\(/,1);if(0===(""+E).length&&(E=N),n.priceInner){0!==(""+E.innerCapture(n.priceInner,1)).length&&(E=E.innerCapture(n.priceInner,1))}return x=E.innerCapture(/([\d,.]+)/,1),h=E.innerCapture(/([^\d,.]+)/,1).trim(),ASSERT(p,P,f,R,v)?l?[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:x,priceCurrency:h,reservationId:p,reservationStatus:"http://schema.org/Reservation"+(c||"Confirmed"),checkinUrl:g,modifyReservationUrl:m,cancelReservationUrl:d,underName:{"@type":"http://schema.org/Person",name:s,email:i},provider:{"@type":"http://schema.org/Organization",name:"Europcar"},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:l},license:u,color:T},pickupTime:P,pickupLocation:{"@type":"http://schema.org/Place",name:y,telephone:I,address:R},dropoffTime:f,dropoffLocation:{"@type":"http://schema.org/Place",name:C,telephone:S,address:v}}]:[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:x,priceCurrency:h,reservationId:p,reservationStatus:"http://schema.org/Reservation"+(c||"Confirmed"),checkinUrl:g,modifyReservationUrl:m,cancelReservationUrl:d,underName:{"@type":"http://schema.org/Person",name:s,email:i},provider:{"@type":"http://schema.org/Organization",name:"Europcar"},pickupTime:P,pickupLocation:{"@type":"http://schema.org/Place",name:y,telephone:I,address:R},dropoffTime:f,dropoffLocation:{"@type":"http://schema.org/Place",name:C,telephone:S,address:v}}]:CONTINUE}}).call();