// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var r=Scanner.fromMessage(e);r.setLocale(t);var a,i,o,c,p,s,m,g,x,h,d,u,v,l,y,f,T=r.getSpan();g=T.innerCapture(regExpFormatted(/\1(.*)\n/,n.ticketNumber_prefix),1),a=T.innerCapture(regExpFormatted(/\1(.*)\n/,n.underName_prefix),1);var x=(""+T.next(n.eventDetails_prefix).nextAnyTag("td").tagContents()).split("\n");c=x[0],h=x[1],o=T.next(n.eventDetails_prefix).nextAnyTag("td").nextAnyTag("td").innerDate();var S=(""+T.next(n.totalPrice_prefix).nextAnyTag("td").tagContents()).trim();return S=/(.*)(.)/.exec(S),i=S[1],f=S[2],ASSERT(o,c)?[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:a,totalPrice:i,priceCurrency:f,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:p,seatRow:y,seatSection:s},ticketToken:m,ticketNumber:g},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:c,url:d,startDate:o,endDate:l,location:{"@type":"http://schema.org/Place",name:u,telephone:v,address:h}}}]:CONTINUE}}).call();