// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,p,o,s,c,g,i,m,d,h,u,S,x,y,T,l,C;if(g=a.getDetachedSpan(""+e.subject).innerCapture(regExpFormatted(/\1\s+(.*)/,n.reminder),1),x=a.getSpan().innerCapture(regExpFormatted(/\1 <(.*?)>/,""+g),1),S=a.getSpan().innerAddress(),u=a.getSpan().next(g).nextAnyTag("table").nextAnyTag("table").nextAnyTag("td").nextAnyTag("td").tagContents(),s=a.getSpan().nextDate().nextDate(),c=s.parentAnyTag("td").tagContents().innerCapture(/>\s+(.*)/,1),s=a.getDetachedSpan(""+s+" "+c).innerDate(),r=a.getSpan().innerCapture(regExpFormatted(/\1\s+(.+)\, .our/,n.name),1),d=a.getSpan().next(n.ticketToken).nextLink(),y=S.parentAnyTag("td").tagContents().innerCapture(/(.*?)(\s<|\n)/,1),ASSERT(s,g))return[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:r,totalPrice:p,priceCurrency:o,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:i,seatRow:C,seatSection:m},ticketToken:d,ticketNumber:h},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:g,url:x,startDate:s,endDate:l,location:{"@type":"http://schema.org/Place",name:y,telephone:T,address:S}}}]}}).call();