// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,r){if(!e||!t||!r)return CONTINUE;var a=Scanner.fromMessage(e);a.setLocale(t);var n,o,s,i,p,g,m,c,d,h;return n=a.getSpan().innerCapture(regExpFormatted(/\1(.*),/,r.dear),1).trim(),h=a.getSpan().innerCapture(regExpFormatted(/\1(.*)/,r.reference),1).trim(),i=a.getSpan().nextText(r.guest).previousRegExp(regExpFormatted(/\d+/)),o=a.getDetachedSpan(e.subject).innerCapture(regExpFormatted(/\1(.*)/,r.at),1).trim(),s=a.getSpan().nextTag("table3").innerLink(),m=a.getSpan().nextTag("table3").nextAddress(),p=a.getSpan().nextText(r.booking).nextDate(),ASSERT(o,p,n)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",reservationId:h,partySize:i,reservationStatus:"http://schema.org/ReservationCancelled",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:o,url:s,telephone:g,address:m},startTime:p,bookingAgent:{"@type":"http://schema.org/Organization",name:"Resdiary",url:"http://www.resdiary.com"},underName:{"@type":"http://schema.org/Person",name:n},cancelReservationUrl:d,modifyReservationUrl:c}]:CONTINUE}}).call();