(function(){return function(e,t,_){if(!e||!t||!_)return CONTINUE;var n=Scanner.fromMessage(e);n.setLocale(t);var r,a,o,p,g,i,c,s,x,d,h,m,S,l,u,E,T;r=n.getSpan().innerCapture(regExpFormatted(/\1: (.*)/,_.order),1),p=n.getSpan().innerCapture(regExpFormatted(/\1: (.*)/,_.total),1),a=p.innerCapture(regExpFormatted(/([\d\.,]+)/),1),g=p.innerCapture(regExpFormatted(/([^\d\.,]+)/),1),x=n.getSpan().innerCapture(regExpFormatted(/\1: (.*),?/,_.location),1),h=n.getSpan().innerCapture(regExpFormatted(/\1 (([\w\s\/-]+))\./,_.purchase),1),o=n.getSpan().nextText("_____________________________________________________________________________________________").nextText("\n"),""+n.getSpan().withInterval(o.getEnd(),o.nextText("\n").getStart()).trim()==""&&(o=o.nextText("\n")),c=n.getSpan().withInterval(o.getEnd(),o.nextText("\n").getStart()).trim();var v=n.getSpan().withInterval(c.nextText("\n").nextText("\n").getEnd(),c.nextText(_.order).getStart()),D=v.allInnerDates();if(D.length>0){i=n.getDetachedSpan(D.join(" ")).innerDate(),n.getDateDD(i).endIso8601?E=n.getDateDD(i).endIso8601:D>1&&(E=v.lastInnerDate())}return l=n.getSpan().withInterval(c.nextText("\n").getEnd(),v.previousText("\n").getStart()),ASSERT(i,c)?[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:r,totalPrice:a,priceCurrency:g,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:s,seatRow:T,seatSection:x},ticketToken:d,ticketNumber:h},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:c,url:S,startDate:i,endDate:E,location:{"@type":"http://schema.org/Place",name:l,telephone:u,address:m}}}]:CONTINUE}}).call();