// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,o,p,s,c,i,g,m,x,d,u,l,h,T,C,v=a.getSpan();r=v.allInnerTags("table6"),r=r[4]?r[4].innerCapture(regExpFormatted(/\1 (.*) -/,n.thanks),1):null,c=e.subject.match(regExpFormatted(/\1 ([\s\S]*)/,n.eventName_preffix))[1].replace("\n","").replace("\r","");var y=v.nextText(n.total).nextAnyTag("table").nextAnyTag("table").nextAnyTag("td").tagContents();o=y.innerCapture(regExpFormatted(/([\d\s\.,]+)/),1),p=y.innerCapture(regExpFormatted(/([^\d\s\.,]+)/),1),x=v.innerCapture(regExpFormatted(/\1: ([\w\/-]+)/,n.ticketNumber_preffix),1),m=v.nextText(n.print).nextLink();var E=v.next(c);s=E.nextAnyTag("td").nextAnyTag("td").tagContents().innerDate(),d=E.nextAnyTag("td").tagContents().trim();var k=E.next(n.section).parentAnyTag("td").tagContents();return g=k.innerCapture(regExpFormatted(/\1 (\w*)/,n.section),1),C=k.innerCapture(regExpFormatted(/\1 (\w*)/,n.seatRow),1),i=k.innerCapture(regExpFormatted(/\1 (\w*)/,n.seatNumber),1),ASSERT(s,c)?[{"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:r,totalPrice:o,priceCurrency:p,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:i,seatRow:C,seatSection:g},ticketToken:m,ticketNumber:x},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/EventConfirmed",name:c,url:u,startDate:s,endDate:T,location:{"@type":"http://schema.org/Place",name:l,telephone:h,address:d}}}]:CONTINUE}}).call();