// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){if(!e||!t||!n)return CONTINUE;var r=Scanner.fromMessage(e);r.setLocale(t);var a,o,s,i,p,g,x,m,d,h;return i=r.getSpan().innerCapture(regExpFormatted(/\1 : (\d+)/,n.person),1),o=r.getSpan().innerCapture(regExpFormatted(/\1: (\w+)/,n.reservation),1),a=r.getSpan().nextText(n.reserved).collapseToEnd().withEnd(r.getSpan().nextText(n.reserved).nextText(n.phone).getStart()).trim().innerCapture(/^\w+ (.*)/,1),x=r.getSpan().nextText(n.phone).nextPhoneNumber,m=r.getSpan().nextText(n.confirmation).nextAddress(),g=r.getSpan().nextText(n.confirmation).nextDate(),s=r.getSpan().nextTag("table2").nextTag("table2").firstTag("tr2").nextTag("tr2").firstTag("td2").nextTag("td2").tagContents().innerCapture(regExpFormatted(/(.*)$/,n.yourtable),1).trim(),d=r.getSpan().nextText(n.cancel).nextLink(),ASSERT(i,s,g,a)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",partySize:i,reservationId:o,reservationStatus:"http://schema.org/ReservationConfirmed",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:s,url:p,telephone:x,address:m},startTime:g,bookingAgent:{"@type":"http://schema.org/Organization",name:"RestoBookings",url:"http://www.restobookings.be/"},underName:{"@type":"http://schema.org/Person",name:a},cancelReservationUrl:d,modifyReservationUrl:h}]:CONTINUE}}).call();