// Copyright 2014 Apple Inc.  All Rights Reserved.
new ReverseTemplateList([new ReverseTemplate("billiger-mietwagen.de-receipt-de",function(e){return/Eingang Ihrer (?:Buchung|Reservierung) bei billiger-mietwagen\.de/.test(e.subject)},function(e){if(!/Eingang Ihrer (?:Buchung|Reservierung) bei billiger-mietwagen\.de/.test(e.subject))return CONTINUE;var t="de_DE",r={};r.reservationIdPrefix="Buchungsnummer",r.underPersonNameRegExp=/Sehr geehrter?\s(?:Frau|Herr)\s(.+),/,r.carProviderPrefix="Vermieter",r.carBrandSuffix="Leistung",r.pickUpDetailsPrefix="Abholung",r.dropOffDetailsPrefix="R\xfcckgabe",r.pricePrefix="Preis";var n=Scanner.fromMessage(e);n.setLocale(t);var a,i,o,s,g,p,c,u,m,d,h=n.getSpan(),x="Confirmed";i=h.nextText(r.reservationIdPrefix).nextAnyTag("td").tagContents(),a=h.innerCapture(r.underPersonNameRegExp,1),o=h.nextText(r.carProviderPrefix).nextAnyTag("td").tagContents(),s=h.nextText(r.carBrandSuffix).previousAnyTag("td").tagContents();var f=h.nextText(r.pickUpDetailsPrefix).nextAnyTag("td").tagContents().innerCapture(/(.+)\n(.+)/);f&&3===f.length&&(p=f[1].innerDate(),g=f[2]);var v=h.nextText(r.dropOffDetailsPrefix).nextAnyTag("td").tagContents().innerCapture(/(.+)\n(.+)/);return v&&3===v.length&&(u=v[1].innerDate(),c=v[2]),ASSERT(i,g,p)?[{"@context":"http://schema.org","@type":"http://schema.org/RentalCarReservation",totalPrice:m,priceCurrency:d,reservationStatus:"http://schema.org/Reservation"+x,reservationId:i,underName:{"@type":"http://schema.org/Person",name:a},provider:{"@type":"http://schema.org/Organization",name:o},reservationFor:{"@type":"http://schema.org/Car",brand:{"@type":"http://schema.org/Organization",name:s}},pickupTime:p,pickupLocation:{"@type":"http://schema.org/Place",name:g},dropoffTime:u,dropoffLocation:{"@type":"http://schema.org/Place",name:c}}]:void 0},"0/1/2/3/4/5/6/63/64","SGe02e4c38")]);