// Copyright 2014 Apple Inc.  All Rights Reserved.
new ReverseTemplateList([new ReverseTemplate("hotwire.com-flight-confirmation-en",function(e){return!(int(e.epoch)<1356998400)&&(/^Your Hotwire Trip to/.test(e.subject)||/^Hotwire Flight Purchase Confirmation/.test(e.subject)||/^Hotwire travel confirmation/.test(e.subject))},function(e){if(int(e.epoch)<1356998400)return CONTINUE;var r="en_US",t={};if((/^Your Hotwire Trip to/.test(e.subject)||/^Hotwire Flight Purchase Confirmation/.test(e.subject))&&/flight is confirmed/.test(e.plain)){t.customerInformationHeader="Customer Information",t.passengerNamePrefix="Passenger name",t.tripSummaryHeader="Trip Details",t.spans="Flight",t.flightSummaryHeader="Flight",t.ticketNumberPrefix="Ticket number",t.flightNumberPrefix="Flight",t.fromPrefix="From:",t.toPrefix="To:",t.departureDTPrefix="Departs:",t.reservationIdPrefix="Hotwire Itinerary:",t.frequentFlyerPrefix="Frequent flyer program",t.pricePrefix="Trip total:";var i=loadHelper("hotwire.com-flight-confirmation-skeleton.js");return i(e,r,t)}if(/^Hotwire travel confirmation/.test(e.subject)){t.travellers=/Travell?er Information/,t.priceSummary="Price Summary",t.totalPrice="Total:",t.priceCurrency="All prices quoted in",t.reservationId="Itinerary #",t.cancelled=/This reservation has been fully cancell?ed/,t.noProgramName="No frequent flyer details provided",t.ticketNumber="Ticket #",t.totalTravelTime="Total travel time",t.seat="Seat";var o=loadHelper("hotwire.com-flight-confirmation-skeleton-alternative.js");return o(e,r,t)}},"0/1/2/3/4/5/939/1039/1041","SGca6790a8"),new ReverseTemplate("hotwire.com-itinerary-confirmation-en",function(e){return/^Your Hotwire Trip/.test(e.subject)||/Hotwire Reservation Confirmation/.test(e.subject)},function(e){if(/^Your\s+Hotwire\s+Trip/.test(e.subject)||/Hotwire Reservation Confirmation/.test(e.subject)){var r,t="en_US",i={};return/Your car/.test(e.html)?(i.reservationIdPrefix="Hotwire itinerary",i.providerNameRegExp=/You do not need to reconfirm with (.*) or Hotwire\./,i.underPersonNameSuffix=/(?:, you got a great deal|, Your trip is coming up)/,i.pickUpTimePrefix="Pick up",i.dropOffTimePrefix="Drop off",i.sameDropOffLocation="Pick-up/drop-off must be the same location.",i.totalPriceRegExp=/(Trip total|Estimated trip total)/,r=loadHelper("hotwire.com-itinerary-car-confirmation-skeleton-S24.js")):/Your hotel/.test(e.html)&&(i.confirmation_id="Hotwire itinerary",i.underPersonName_suffix=", Your trip is coming up!",i.hotelName_prefix="Your hotel",i.hotelPhone_prefix="See ratings guide",i.checkInDateTime_prefix=/Check in/i,i.checkOutDateTime_prefix=/Check out/i,r=loadHelper("hotwire.com-itinerary-hotel-confirmation-skeleton-S24.js")),r(e,t,i)}},"0/1/2/3/4/5/939/1039/1044","SG291bc37b")]);