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