// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){if(!e||!t||!n)return CONTINUE;var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,s,g,x,p,d,m,i,h,c,u;return r=a.getSpan().nextText(n.size).nextAnyTag("td").tagContents(),o=a.getSpan().nextText(n.number).nextAnyTag("td").tagContents(),m=a.getSpan().nextText(n.name).nextAnyTag("td").tagContents().innerCapture(regExpFormatted(/^[a-zA-Z]+\s(.+)/),1),p=a.getSpan().nextText(n.address).nextAddress(),x=a.getSpan().nextText(n.address).nextPhoneNumber(),c=a.getSpan().nextText(n.date).nextDate(),u=c.nextDate(),d=getFuzzyDate(a.getDetachedSpan(c+" "+u)),s=a.getSpan().nextText(n.number).nextText(n.restaurant).nextAnyTag("td").tagContents(),ASSERT(s,d,m,r)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",partySize:r,reservationId:o,reservationStatus:"http://schema.org/ReservationCancelled",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:s,url:g,telephone:x,address:p},startTime:d,bookingAgent:{"@type":"http://schema.org/Organization",name:"Bookarestaurant",url:"http://www.bookarestaurant.com/"},underName:{"@type":"http://schema.org/Person",name:m},cancelReservationUrl:i,modifyReservationUrl:h}]:CONTINUE}}).call();