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