// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,n,t){var a=Scanner.fromMessage(e);a.setLocale(n);var r,o,c,s,i,g,l,p,m,h,C,u,v;if(r=a.getSpan().nextRegExp(t.nameCancel).tagContents().innerCapture(t.nameCancel,1),i=a.getSpan().nextRegExp(t.reservationIdCancel).tagContents().innerCapture(t.reservationIdCancel,1),m=a.getSpan().nextRegExp(t.hotelNameCancel).tagContents().innerCapture(t.hotelNameCancel,1),g=a.getSpan().nextRegExp(t.hotelNameCancel).tagContents().innerDate(),ASSERT(g,m))return[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:r,email:o},totalPrice:c,priceCurrency:s,checkinTime:g,checkoutTime:l,modifyReservationUrl:u,cancelReservationUrl:v,reservationStatus:"http://schema.org/ReservationCancelled",reservationId:i,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:m,url:p,telephone:h,address:C}}]}}).call();