(function(){return function(e){if(e.html){var t=parseMicrodataAndJsonLd(e.html),r=[];if(t.length){for(var a=0;a<t.length;a++)switch(t[a]["@context"]="http://schema.org",t[a]["@type"]){case"http://schema.org/FoodEstablishmentReservation":var s=Scanner.fromMessage(e);s.setLocale("en_AU"),t[a].startTime=getFuzzyDate(s.getDetachedSpan(t[a].startTime).firstDate()),r.push({"@context":"http://schema.org",partySize:t[a].partySize,"@type":"http://schema.org/FoodEstablishmentReservation",reservationId:t[a].reservationId,reservationStatus:t[a].reservationStatus,reservationFor:{"@type":"http://schema.org/FoodEstablishment",name:t[a].reservationFor.name.trim(),telephone:t[a].reservationFor.telephone,address:{"@type":"http://schema.org/PostalAddress",postalCode:t[a].reservationFor.postalCode,streetAddress:t[a].reservationFor.streetAddress,addressLocality:t[a].reservationFor.addressLocality}},startTime:t[a].startTime,bookingAgent:{"@type":"http://schema.org/Organization",name:"Bookarestaurant",url:"http://www.bookarestaurant.com/"},underName:{"@type":"http://schema.org/Person",name:t[a].underName.name.trim()}})}return r.length>0?r:CONTINUE}}}}).call();