// 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,i,m,p,c,g,u,h,d;return d=a.getSpan().next(n.confirm).nextTag("td3").tagContents().innerCapture(/($<name>.*)\n($<date>.*)\n($<size>.*)\n($<number>.*)/),d&&(r=d.$size,c=d.$number,i=d.$name,s=d.$date),p=a.getSpan().next(n.restaurant).nextPhoneNumber(),g=a.getSpan().next(n.restaurant).nextAddress(),o=a.getDetachedSpan(e.subject).innerCapture(regExpFormatted(/\1(.*)/,n.booking),1).trim(),u=a.getSpan().next(n.cancel).nextLink(),ASSERT(r,o,s,i)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",partySize:r,reservationId:c,reservationStatus:"http://schema.org/ReservationConfirmed",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:o,url:m,telephone:p,address:g},startTime:s,bookingAgent:{"@type":"http://schema.org/Organization",name:"LastMinute",url:"http://www.lastminute.com/"},underName:{"@type":"http://schema.org/Person",name:i},cancelReservationUrl:u,modifyReservationUrl:h}]:CONTINUE}}).call();