(function(){return function(e,t,n){var a=Scanner.fromMessage(e);a.setLocale(t);var r,s,o,i,c,l,g,p,h,m,u,d,T=a.getSpan(),f=n.isConfirmation?"Confirmed":"Cancelled",C=[];r=T.nextText(n.personUnderNameSuffix).parentTag("td3").tagContents().innerCapture(regExpFormatted(/(.*?)\1/,n.personUnderNameSuffix),1);var v=T.nextText(n.eventDetailsBlockPrefix).nextTag("table2").allInnerTags("tr2");if([,s,o]=v[1].allInnerTags("td2")[2].tagContents().innerCapture(/(.*)\s<(.*?)>/),l=v[2].allInnerTags("td2")[2].tagContents().innerCapture(/(.*)\s<.*?>/,1),i=v[3].allInnerTags("td2")[2].innerDate(),T.nextText(n.ticketNumberHeader).parentTag("table2").allInnerTags("tr2").slice(1).forEach(function(e){var t=e.allInnerTags("td2");if(5===t.length){var n,a,T=t[0].tagContents().innerCapture(/(\D\d+)/,1);[,n,a]=t[4].tagContents().innerCapture(/([\d\,\.]+)\s?(\D)/),ASSERT(s,i)&&C.push({"@context":"http://schema.org","@type":"http://schema.org/EventReservation",name:r,totalPrice:n,priceCurrency:a,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:T,ticketToken:h,ticketedSeat:{"@type":"http://schema.org/Seat",seatNumber:m,seatSection:u,seatRow:d}},reservationFor:{"@type":"http://schema.org/Event",eventStatus:"http://schema.org/Event"+f,name:s,url:o,startDate:i,endDate:c,location:{"@type":"http://schema.org/Place",name:l,telephone:p,address:g}}})}}),C.length>0)return C}}).call();