(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,o,s,d,i,g,p,x,h,l;g=n.getSpan().innerCapture(regExpFormatted(/\1\s(\D+\d+)/,r.reservationIdPrefix),1),a=n.getSpan().nextText(r.underPersonNamePrefix).parentTag("td5").tagContents().innerCapture(regExpFormatted(/\1\s(.*)/,r.underPersonNamePrefix),1);var u=n.getSpan().innerCapture(regExpFormatted(/\1\s(.*?)\s\2\s(.*?)\s/,r.checkInDatePrefix,r.checkOutDatePrefix));p=u[1],x=u[2],p=n.getDetachedSpan(""+p).innerDate(),x=n.getDetachedSpan(""+x).innerDate(),o=n.getSpan().nextText(r.hotelNamePrefix).parentTag("td5").tagContents().innerCapture(regExpFormatted(/\1\s(.*)/,r.hotelNamePrefix),1),s=n.getSpan().nextText(r.hotelPhonePrefix).parentTag("td5").tagContents().innerCapture(regExpFormatted(/\1\s(.*)/,r.hotelPhonePrefix),1),d=n.getSpan().nextText(r.hotelAddress.addressPrefix).parentTag("td5").tagContents().innerCapture(regExpFormatted(/\1\s(.*)/,r.hotelAddress.addressPrefix),1);var m=(""+n.getSpan().nextText(r.hotelAddress.townPrefix).parentTag("td5").tagContents().innerCapture(regExpFormatted(/\1\s(.*)/,r.hotelAddress.townPrefix),1)).trim();return m!==""+n.getNullSpan()&&(d=n.getDetachedSpan(d+", "+m)),i=n.getSpan().nextText(r.hotelGeoCoordinates.prefix).parentTag("td5").tagContents().innerCapture(regExpFormatted(/\1\s([\+\-]?\d+\.\d+)\s\2\s([\+\-]?\d+\.\d+)\./,r.hotelGeoCoordinates.latitudePrefix,r.hotelGeoCoordinates.longitudePrefix)),ASSERT(a,d,p)?[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:a},totalPrice:h,priceCurrency:l,checkinTime:p,checkoutTime:x,reservationStatus:"http://schema.org/ReservationConfirmed",reservationId:g,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:o,telephone:s,address:d,geo:null!==i&&"number"==typeof i.length&&3===i.length?{"@type":"http://schema.org/GeoCoordinates",latitude:i[1],longitude:i[2]}:null}}]:CONTINUE}}).call();