new ReverseTemplateList([new ReverseTemplate("opentable.co.uk-restaurant-invitation-en",function(e){return/^Restaurant invitation from/.test(e.subject)},function(e){if(/^Restaurant invitation from/.test(e.subject)){var t=Scanner.fromMessage(e);t.setLocale("en_GB");if(loadHelper("opentable-restaurant-invitation-check.js")(e))return STOP;var n,a,r,o,i,s,u,p,l,c,d;if(r=t.getSpan().nextDate(),d=t.getSpan().nextText("Restaurant:").nextTag("td3").tagContents().innerCapture(/($<name>.*)\n($<address>[^]+?)\s+($<phoneNumber>[\d +]+)\s+See menus, map & more/),d||(d=t.getSpan().innerCapture(/Restaurant:\s+($<name>.*)\s+($<address>[\s\S]*?)\s+($<phoneNumber>[\d\s]+)\s+See menus/)),d&&(a=d.$name,p=d.$address,s=d.$phoneNumber),n=t.getSpan().nextText("No. of diners:").nextTag("td3").tagContents(),n.exists()||(n=t.getSpan().innerCapture(/Table for (\d+) on/,1)),o=t.getSpan().innerCapture(/\n(.*?) has sent you an invitation!/,1),ASSERT(n,a,r,o))return[{"@context":"http://schema.org","@type":"http://schema.org/FoodEstablishmentReservation",partySize:n,reservationId:u,reservationStatus:"http://schema.org/ReservationConfirmed",reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:a,url:i,telephone:s,address:p},startTime:r,bookingAgent:{"@type":"http://schema.org/Organization",name:"OpenTable",url:"https://www.opentable.co.uk"},underName:{"@type":"http://schema.org/Person",name:o},cancelReservationUrl:l,modifyReservationUrl:c}]}},"0/1/2/3/4/5/6/33/39/1359","SGa3dab59f"),new ReverseTemplate("opentable.com-restaurant-invitation-en",function(e){return/^Restaurant Invitation (?:from|to)/.test(e.subject)},function(e){if(/^Restaurant Invitation (?:from|to)/.test(e.subject)){var t="en_US",n={};if(n.nameCapture=/(.*) has invited you to dine!/,n.partySizeCapture=/\bfor (\d+) people/,int(e.epoch)<1388534400)return STOP;if(loadHelper("opentable-restaurant-invitation-check.js")(e))return STOP;return loadHelper("opentable-restaurant-invitation-skeleton-2015.js")(e,t,n)}},"0/1/2/3/4/5/6/33/39/1366","SGbd57ea90"),new ReverseTemplate("opentable.com-restaurant-invitation-es",function(e){return/^Invitaci\xf3n al restaurante/.test(e.subject)},function(e){if(/^Invitaci\xf3n al restaurante/.test(e.subject)){var t={};t.hour="Hora",t.restaurant="estaurante",t.phone="N\xfamero de tel\xe9fono:",t.person="Grupo de",t.invitation="le ha enviado una invitaci\xf3n";return loadHelper("opentable.com-restauration-invitation-skeleton.js")(e,"es_MX",t,"www.opentable.com.mx")}},"0/1/2/3/4/5/6/33/39/1367","SG61042de3"),new ReverseTemplate("opentable.de-restaurant-invitation-de",function(e){return/^Restauranteinladung/.test(e.subject)},function(e){if(/^Restauranteinladung/.test(e.subject)){var t={},n="de_DE";if(loadHelper("opentable-restaurant-invitation-check.js")(e))return STOP;if(/Machen Sie eine Reservierung/.test(e.plain)){t.nameCapture=/(.*)\s+hat Sie zum Essen eingeladen!/,t.partySizeCapture=/\bf\xfcr\s+(\d+)\s+Personen/i;return loadHelper("opentable-restaurant-invitation-skeleton-2015.js")(e,n,t)}t.hour="Uhrzeit",t.restaurant="Restaurant",t.phone="Telefon",t.person="Personen",t.invitation="hat Ihnen eine Einladung gesendet";return loadHelper("opentable.com-restauration-invitation-skeleton.js")(e,n,t,"www.opentable.de")}},"0/1/2/3/4/5/6/33/39/1372","SG8d160e30"),new ReverseTemplate("opentable.jp-restaurant-invitation-jp",function(e){return/\u69d8\u304b\u3089\u306e/.test(e.subject)},function(e){if(/\u69d8\u304b\u3089\u306e/.test(e.subject)){var t="ja_JP",n={};if(/\u69d8\u304b\u3089\u306e/.test(e.plain))return n.nameCapture=/(.*)\u69d8\u304b\u3089\u306e/,n.partySizeCapture=/(\d+)\u540d\u69d8/,loadHelper("opentable-restaurant-invitation-skeleton-2015.js")(e,t,n);n.hour="\u65e5\u6642",n.restaurant="\u30ec\u30b9\u30c8\u30e9\u30f3",n.phone="\u96fb\u8a71\u756a\u53f7",n.person="\u540d\u69d8",n.invitation="\u69d8\u3088\u308a\u3001\u304a\u98df\u4e8b\u4f1a\u306e\u3054\u6848\u5185\u3067\u3059";return loadHelper("opentable.com-restauration-invitation-skeleton.js")(e,t,n,"www.opentable.jp")}},"0/1/2/3/4/5/6/33/39/1376","SG9965eff9")]);