// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){if(int(e.epoch)>=1356998400){var a=Scanner.fromMessage(e);a.setLocale(t);var n,o,i,p,c,s,m,d,g,h,f,l,u,x,v,y,P,S,C;if(o=a.getSpan().innerCapture(regExpFormatted(/\b\1 (\w+)\s/,r.confirmationNumberPrefix),1),n=a.getSpan().innerCapture(regExpFormatted(/\b\1 (.*)\s/,r.namePrefix),1),f=a.getSpan().nextText(r.pickupLocationPrefix).parentTag("td3").tagContents(),P=f.innerAddress(),C=f.innerDate(),f=f.innerCapture(regExpFormatted(/\1\s+($<name>.*)\s+($<address>[^]+)\s+\2\s+($<date>.*)\s+/,r.pickupLocationPrefix,r.pickupDatePrefix)),f&&(y=f.$name,not(P)&&(P=f.$address.trim()),not(C)&&(C=a.getDetachedSpan(""+f.$date).innerDate())),"fr_FR"===t){C=(""+a.getSpan().innerCapture(regExpFormatted(/\1([\s\S]+)\2/,r.pickupDatePrefix,r.modifyReservationUrlPrefix),1)).trim(),C=C.replace(/.+\.\,/,""),C=C.replace(/[.,]/g,"").trim();var R=C.match(/\w+\s(\d+)/,1);C=C.replace(/\d+/,""),C=R[1]+" "+C,C=getFuzzyDate(a.getDetachedSpan(C))}if(p=a.getSpan().nextText(r.modifyReservationUrlPrefix).nextLink(),c=p,not(v)||(not(l)&&(l=y),not(u)&&(u=P),not(x)&&(x=S)),ASSERT(n,o,P,C)){var k={"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:s,priceCurrency:m,reservationId:o,reservationStatus:"http://schema.org/ReservationConfirmed",checkinUrl:i,modifyReservationUrl:p,cancelReservationUrl:c,underName:{"@type":"http://schema.org/Person",name:n},provider:{"@type":"http://schema.org/Organization",name:"Hertz"},pickupTime:C,pickupLocation:{"@type":"http://schema.org/Place",name:y,telephone:S,address:P}};return not(d)||(k.reservationFor={"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:d},license:g,color:h}),not(v)||not(u)||(k.dropoffTime=v,k.dropoffLocation={"@type":"http://schema.org/Place",name:l,telephone:x,address:u}),[k]}}}}).call();