(function(){return function(e,t,r){var a=Scanner.fromMessage(e);a.setLocale(t);var n,i,p,o,s,c,m,h,x,g,u,f,d,l,v,S=a.getSpan();n=S.innerCapture(regExpFormatted(/\1 (.*)\n/,r.reservationUnderName_prefix),1),x=S.innerCapture(regExpFormatted(/\1(.*)\n/,r.eventName_prefix),2).trim();S.nextText(r.startDate_prefix).firstDate();if(u=S.nextText(r.startDate_prefix).firstDate(),u===a.getNullSpan()&&(u=S.innerCapture(regExpFormatted(/\1(.*) -(.*)\n/,r.startDate_prefix),1).trim()),d=S.innerCapture(regExpFormatted(/\1(.*)\n/,r.placeName_prefix),1).trim(),ASSERT(u,x))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:n,totalPrice:i,priceCurrency:p,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:o,ticketToken:s,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:c,seatRow:m,seatSection:h}},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:x,url:g,startDate:u,endDate:f,location:{"@type":"http://schema.org/Place",name:d,telephone:l,address:v}}}]}}).call();