// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,o,i,p,c,u,g,s;if(s=n.getSpan().innerCapture(regExpFormatted(r.checkin),1),u=n.getDetachedSpan(""+s).innerDate(),c=n.getSpan().innerCapture(regExpFormatted(r.confirmation),1),o=n.getSpan().innerCapture(regExpFormatted(r.totalPrice),1),i=o.innerCapture(/([\d,.]+)/,1),p=o.innerCapture(/([^\d,.]+)/,1).trim(),a=n.getSpan().innerCapture(regExpFormatted(r.guestName),1),g=n.getSpan().innerCapture(regExpFormatted(r.hotelName),1),ASSERT(a,u,g))return[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:a},totalPrice:i,priceCurrency:p,checkinTime:u,checkoutTime:null,modifyReservationUrl:null,reservationStatus:"http://schema.org/ReservationCancelled",reservationId:c,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:g,url:null,telephone:null,address:null}}]}}).call();