(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,p,o,i,g,x,c,m,d,s,u,E,h,l,S,f,F,y,C,v,R,k,T;if(a=n.getSpan().innerCapture(regExpFormatted(/\1(.*)/,r.price),1),a.innerCapture(/([\d\.,]+)/,1),a.innerCapture(/([^\d\.,]+)/,1).trim(),p=n.getDetachedSpan(e.subject).innerCapture(/(\d+)/,1),i=n.getSpan().next(r.manage).nextLink(),x=n.getSpan().innerCapture(regExpFormatted(/\1(.+),/,r.dear),1).trim(),m=n.getSpan().innerCapture(regExpFormatted(/\1(.+)/,r.provider),1).trim(),d=n.getSpan().innerCapture(regExpFormatted(/\1(.+)(\2)?/,r.group,r.similar),1).trim(),R=n.getSpan().nextText(r.pickUp).nextRegExp(regExpFormatted(/\1(.+)/,r.country)).innerCapture(regExpFormatted(/\1(.+)/,r.country),1),k=n.getSpan().nextText(r.pickUp).nextRegExp(regExpFormatted(/\1(.+)/,r.city)).innerCapture(regExpFormatted(/\1(.+)/,r.city),1),T=n.getSpan().nextText(r.pickUp).nextRegExp(regExpFormatted(/\1(.+)/,r.location)).innerCapture(regExpFormatted(/\1(.+)/,r.location),1),(T&&k&&R).exists()&&(T=T+", "+k+", "+R),y=n.getSpan().nextText(r.dropOff).nextRegExp(regExpFormatted(/\1(.+)/,r.country)).innerCapture(regExpFormatted(/\1(.+)/,r.country),1),C=n.getSpan().nextText(r.dropOff).nextRegExp(regExpFormatted(/\1(.+)/,r.city)).innerCapture(regExpFormatted(/\1(.+)/,r.city),1),v=n.getSpan().nextText(r.dropOff).nextRegExp(regExpFormatted(/\1(.+)/,r.location)).innerCapture(regExpFormatted(/\1(.+)/,r.location),1),(y&&v&&C).exists()&&(v=v+", "+C+", "+y),E=n.getSpan().next(r.pickUp).nextDate(),h=n.getSpan().next(r.dropOff).nextDate(),l=n.getSpan().next(r.pickUp).next(r.location),l=n.getSpan().withInterval(l.getEnd(),l.next("\n").getStart()).trim(),f=n.getSpan().next(r.dropOff).next(r.location),f=n.getSpan().withInterval(f.getEnd(),f.next("\n").getStart()).trim(),ASSERT(x,p,d,E))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationId:p,reservationStatus:"http://schema.org/ReservationConfirmed",checkinUrl:o,modifyReservationUrl:i,cancelReservationUrl:g,underName:{"@type":"http://schema.org/Person",name:x,email:c},provider:{"@type":"http://schema.org/Organization",name:m},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:d},license:s,color:u},pickupTime:E,pickupLocation:{"@type":"http://schema.org/Place",name:l,telephone:S,address:T.trim()},dropoffTime:h,dropoffLocation:{"@type":"http://schema.org/Place",name:f,telephone:F,address:v.trim()}}]}}).call();