new ReverseTemplateList([new ReverseTemplate("juneyao-confirmation-zh",function(e){return/\u5df2\u51fa\u7968/.test(e.subject)},function(e){if(!/\u5df2\u51fa\u7968/.test(e.subject))return CONTINUE;var t=Scanner.fromMessage(e);t.setLocale("zh_Hans_CN");for(var r=[],a=t.getSpan().allInnerTags("table5")[1].allInnerTagsFiltered("td5"),n=a[1].split(" ")[0],i=(a[2].innerCapture(/(.+)-(.+)\(/),a[3]),s="RMB",p=t.getSpan().nextText("\u822a\u73ed\u4fe1\u606f\u5982\u4e0b").nextTag("table5").nextTag("table5").allInnerTags("tr5"),o=t.getSpan().nextText("\u4e58\u5ba2\u4fe1\u606f\u5982\u4e0b").nextTag("table5").nextTag("table5").allInnerTags("tr5"),l=0;l<o.length;l++){var c=o[l].allInnerTagsFiltered("td5");if(c&&0!==c.length)for(var g=c[0],h=c[3],u=0;u<p.length;u++){var m=p[u].allInnerTagsFiltered("td5");if(m&&0!==m.length){var d,v,T=m[0];[,d,v]=m[1].innerCapture(/(\w{2})(\d+)/);var S=m[2].split("\n\u8d77\u98de\u65f6\u95f4\uff1a"),y=S[0],f=S[1],z=combineDateAndTime(T,f),F=m[3].split("\n\u62b5\u8fbe\u65f6\u95f4\uff1a"),b=F[0],C=F[1],I=combineDateAndTime(T,C);if(unSpanDate_(z)>unSpanDate_(I)&&(I=unSpanDate_(modifyDate(I,1))),ASSERT(g,a,m)){var R={"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineCode:d,flightNumber:v,departureAirportFuzzy:y,departureTime:z,arrivalAirportFuzzy:b,arrivalTime:I},underName:{"@type":"http://schema.org/Person",name:g},reservationId:n,reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:h,ticketedSeat:{"@type":"http://schema.org/Seat"}},totalPrice:i,priceCurrency:s,reservationStatus:"http://schema.org/ReservationConfirmed"};r.push(R)}}}}return r.length?r:void 0},"0/1/2/3/4/5/6/152/708/709","SGaf927c9a"),new ReverseTemplate("juneyao-pending-zh",function(e){return/\u5df2\u751f\u6210/.test(e.subject)},function(e){if(!/\u5df2\u751f\u6210/.test(e.subject))return CONTINUE;var t=Scanner.fromMessage(e);t.setLocale("zh_Hans_CN");var r=[],a=t.getSpan().innerCapture(/\u5c0a\u656c\u7684 (.+), /,1),n=t.getSpan().allInnerTags("table5")[1].allInnerTagsFiltered("td5"),i=n[1].split(" ")[0],s=n[2].innerCapture(/(.+)-(.+)\(/),p=s[1],o=s[2],l=n[3];ASSERT(a,n)&&r.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",departureAirportFuzzy:p,arrivalAirportFuzzy:o},underName:{"@type":"http://schema.org/Person",name:a},reservationId:i,reservedTicket:{"@type":"http://schema.org/Ticket",ticketedSeat:{"@type":"http://schema.org/Seat"}},totalPrice:l,priceCurrency:"RMB",reservationStatus:"http://schema.org/ReservationPending"});return r.length?r:void 0},"0/1/2/3/4/5/6/152/708/710","SG6905b9d1")]);