// Copyright 2014 Apple Inc.  All Rights Reserved.
new ReverseTemplateList([new ReverseTemplate("venere-confirmation-en",function(e){return/Venere\.com booking confirmation/.test(e.subject)},function(e){if(/Venere\.com booking confirmation/.test(e.subject)){var t="en_US",n=loadHelper("venere-schemaorg-parser.js"),a=n(e);if(a){var r=Scanner.fromMessage(e);r.setLocale(t);var c=r.getSpan(),o=(""+c.next(/Check in/).nextAnyTag("td").tagContents()).replace(/[\(\)]/g,"");a[0].checkinTime=getFuzzyDate(r.getDetachedSpan(o).firstDate());var i=(""+c.next(/Check out/).nextAnyTag("td").tagContents()).replace(/[\(\)]/g,"");return a[0].checkoutTime=getFuzzyDate(r.getDetachedSpan(i).firstDate()),a}}},"0/1/2/3/4/5/651/879/882","SG2699cf84"),new ReverseTemplate("venere-confirmation-it",function(e){return/Conferma della prenotazione Venere\.com/.test(e.subject)},function(e){if(/Conferma della prenotazione Venere\.com/.test(e.subject)){var t="it_IT",n=loadHelper("venere-schemaorg-parser.js"),a=n(e);if(a){var r=Scanner.fromMessage(e);r.setLocale(t);var c=r.getSpan(),o=(""+c.next(/Arrivo/).nextAnyTag("td").tagContents()).replace(/[\(\)]/g,"");a[0].checkinTime=getFuzzyDate(r.getDetachedSpan(o).firstDate());var i=(""+c.next(/Partenza/).nextAnyTag("td").tagContents()).replace(/[\(\)]/g,"");return a[0].checkoutTime=getFuzzyDate(r.getDetachedSpan(i).firstDate()),a}}},"0/1/2/3/4/5/651/879/883","SGf8c7f5c7")]);