(function(){return function(e,t,n){var r=Scanner.fromMessage(e);r.setLocale(t);var a,o,i,x,s,c,g,h,d,l,T,m=r.getSpan(),f="Confirmed";return g=m.nextText(n.reservationIdPrefix).nextAnyTag("td").tagContents().innerCapture(/(\d+)/,1),d=m.nextText(n.hotelReservationCancelUrlPrefix).nextLink(),a=m.innerCapture(regExpFormatted(/\1\s(.+),/,n.underPersonNamePrefix),1),l=m.nextText(n.checkInDatePrefix).nextAnyTag("td").innerDate(),T=m.nextText(n.checkOutDatePrefix).nextAnyTag("td").innerDate(),m=m.nextText(n.hotelDetailsPrefix),i=m.nextText(n.hotelNamePrefix).nextAnyTag("td").tagContents(),x=m.nextText(n.hotelPhonePrefix).nextAnyTag("td").tagContents(),c=m.nextText(n.hotelAddressPrefix).nextAnyTag("td").tagContents().replace(/\n/g,", "),ASSERT(a,i,l)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:a,email:o},checkinTime:l,checkoutTime:T,reservationStatus:"http://schema.org/Reservation"+f,reservationId:g,modifyReservationUrl:h,cancelReservationUrl:d,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:i,url:s,telephone:x,address:c}}]:CONTINUE}}).call();