(function(){return function(e,t,n){if(!e||!t||!n)return CONTINUE;var a=Scanner.fromMessage(e);a.setLocale(t);var r,g,s,o,p,i,x,d,h,S,m,l;return r=a.getSpan().nextText(n.person).collapseToEnd().withEnd(a.getSpan().nextText(n.person).nextText(n.name).getStart()).trim(),S=a.getSpan().withStart(a.getSpan().nextText(n.number).getEnd()).withEnd(a.getSpan().nextText(n.number).nextText("\u25a0"+n.restaurant).getStart()).trim(),g=a.getSpan().withStart(a.getSpan().nextText(n.number).nextText(n.restaurant).getEnd()).withEnd(a.getSpan().nextText("\u25a0"+n.date).getStart()).trim(),p=a.getSpan().nextText(n.phone).nextPhoneNumber().innerCapture(/([\d\s-,\.]+)/,1).trim(),i=a.getSpan().nextText(n.address).nextAddress().split("\n")[0],o=a.getSpan().innerCapture(regExpFormatted(/\1\uff1a(.+)/,n.underName),1),m=a.getSpan().nextText(n.date),l=a.getSpan().withInterval(m.nextText("\n").getEnd(),m.nextText("\n").nextText("\n").getStart()).allInnerDates(),l.length>0&&(l=a.getSpan().withStart(l[0].getStart()).withEnd(l[l.length-1].getEnd()),s=getFuzzyDate(a.getDetachedSpan((""+l).replace(/[^\d\sa-zA-z:]+/g," ").replace(/\s+/g," ").replace(/^(\d+)\s(\d+)\s/,"$1/$2 ")))),o=a.getDetachedSpan(" "),ASSERT(r,g,s,o)?[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",partySize:r,reservationId:S,reservationStatus:"http://schema.org/ReservationConfirmed",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:g,url:h,telephone:p,address:i},startTime:s,bookingAgent:{"@type":"http://schema.org/Organization",name:"Tabelog",url:"http://www.tabelog.com/"},underName:{"@type":"http://schema.org/Person",name:o},cancelReservationUrl:x,modifyReservationUrl:d}]:CONTINUE}}).call();