new ReverseTemplateList([new ReverseTemplate("ceair-change-zh",function(){return!0},function(e){if(!/\u3010\u4e1c\u65b9\u822a\u7a7a\u3011/.test(e.plain))return CONTINUE;if(!/(?:\u5347\u8231\u5df2\u6210\u529f\uff0c\u60a8\u5347\u8231\u540e\u7684\u65b0\u8231\u4f4d\u4e3aY\u8231\uff0c\u822a\u73ed\u4fe1\u606f\u4e3a|\u6539\u671f\u64cd\u4f5c\u5df2\u6210\u529f\uff0c\u60a8\u6539\u671f\u540e\u7684\u822a\u73ed\u4fe1\u606f\u4e3a)\uff1a/.test(e.plain))return CONTINUE;var r=Scanner.fromMessage(e);r.setLocale("zh_Hans_CN");for(var t,a=r.getSpan(),i=[],n=[],p=[],o=/\uff1a(.+?)\u5230(.+?)\uff0c.*?([0-9A-Z]{2})(\d{3,4})\u822a\u73ed\uff0c\u8d77\u98de\u65f6\u95f4\uff1a(\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{2})/,u=a.nextRegExp(o);u!==r.getNullSpan();u=u.nextRegExp(o))(t=u.innerCapture(o))&&6===t.length&&i.push({departureDateTime:t[5].innerDate(),airlineCode:t[3],flightNumber:t[4],departureAirport:t[1],arrivalAirport:t[2]});var h=/\u65c5\u5ba2:(.+?),\u7968\u53f7:([\d\-]+)/;for(u=a.nextRegExp(h);u!==r.getNullSpan();u=u.nextRegExp(h))t=u.innerCapture(h),n.push({name:t[1],ticketNumber:t[2]});return n.forEach(function(e){i.forEach(function(r){ASSERT(r.airlineCode,r.flightNumber,r.departureAirport,r.departureDateTime,r.arrivalAirport)&&p.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineCode:r.airlineCode,flightNumber:r.flightNumber,departureAirportFuzzy:r.departureAirport,departureTime:r.departureDateTime,arrivalAirportFuzzy:r.arrivalAirport},underName:{"@type":"http://schema.org/Person",name:e.name},reservationStatus:"http://schema.org/ReservationConfirmed",reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:e.ticketNumber,ticketedSeat:{"@type":"http://schema.org/Seat"}}})})}),p.length>=1?p:CONTINUE},"0/1/2/3/4/5/1486/152/1497/1498","SG530721d5"),new ReverseTemplate("ceair-confirmation-zh",function(){return!0},function(e){if(!/\u3010\u4e1c\u65b9\u822a\u7a7a\u3011/.test(e.plain))return CONTINUE;if(/\u6539\u671f\u64cd\u4f5c\u5df2\u6210\u529f\uff0c\u60a8\u6539\u671f\u540e\u7684\u822a\u73ed\u4fe1\u606f\u4e3a\uff1a/.test(e.plain))return CONTINUE;var r=Scanner.fromMessage(e);r.setLocale("zh_Hans_CN");for(var t,a=r.getSpan(),i=[],n=[],p=[],o=/\u4ece(.+?)\u5230(.+?)\uff0c.*?([0-9A-Z]{2})(\d{3,4})\u822a\u73ed\uff0c\u8d77\u98de\u65f6\u95f4\uff1a(\d{4}-\d{1,2}-\d{1,2} \d{1,2}:\d{2})/,u=a.nextRegExp(o);u!==r.getNullSpan();u=u.nextRegExp(o))(t=u.innerCapture(o))&&6===t.length&&i.push({departureDateTime:t[5].innerDate(),airlineCode:t[3],flightNumber:t[4],departureAirport:t[1],arrivalAirport:t[2]});var h=/\u65c5\u5ba2[:\uff1a](.+?)[,|\uff0c]\u7968\u53f7[:\uff1a]([\d\-]+)/;for(u=a.nextRegExp(h);u!==r.getNullSpan();u=u.nextRegExp(h))t=u.innerCapture(h),n.push({name:t[1],ticketNumber:t[2]});return n.forEach(function(e){i.forEach(function(r){ASSERT(r.airlineCode,r.flightNumber,r.departureAirport,r.departureDateTime,r.arrivalAirport)&&p.push({"@context":"http://schema.org","@type":"http://schema.org/FlightReservation",reservationFor:{"@type":"http://apple.com/FuzzyFlight",airlineCode:r.airlineCode,flightNumber:r.flightNumber,departureAirportFuzzy:r.departureAirport,departureTime:r.departureDateTime,arrivalAirportFuzzy:r.arrivalAirport},underName:{"@type":"http://schema.org/Person",name:e.name},reservationStatus:"http://schema.org/ReservationConfirmed",reservedTicket:{"@type":"http://schema.org/Ticket",ticketNumber:e.ticketNumber,ticketedSeat:{"@type":"http://schema.org/Seat"}}})})}),p.length>=1?p:CONTINUE},"0/1/2/3/4/5/1486/152/1497/1499","SGd5cf12ff")]);