// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,a){var n=Scanner.fromMessage(e);n.setLocale(t);var r,o,p,i,c,s,g,h=n.getSpan(),m="Sixt",d="Confirmed";if(r=h.innerCapture(a.underPersonNameRegExp,1),o=h.nextText(a.carReservationIdPrefix).nextAnyTag("td").tagContents(),p=h.nextText(a.carBrandPrefix).nextAnyTag("td").innerCapture(/(.+),/,1).tagContents(),[c,i]=(""+h.nextText(a.pickUpBlockPrefix).nextAnyTag("td").tagContents()).replace(/\- /,"").replace(/,/,"").split("\n"),c=n.getDetachedSpan(c).firstDate(),i=n.getDetachedSpan(i).innerCapture(/(.+)\s</,1),[g,s]=(""+h.nextText(a.dropOffBlockPrefix).nextAnyTag("td").tagContents()).replace(/\- /,"").replace(/,/,"").split("\n"),g=n.getDetachedSpan(g).firstDate(),s=n.getDetachedSpan(s).innerCapture(/(.+)\s</,1),ASSERT(o,i,c))return[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",reservationStatus:"http://schema.org/Reservation"+d,reservationId:o,underName:{"@type":"http://schema.org/Person",name:r},provider:{"@type":"http://schema.org/Organization",name:m},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:p}},pickupTime:c,pickupLocation:{"@type":"http://schema.org/Place",name:i},dropoffTime:g,dropoffLocation:{"@type":"http://schema.org/Place",name:s}}]}}).call();