(function(){return function(e,t,r){var n=Scanner.fromMessage(e);n.setLocale(t);var a,i,o,s,d,x,c,m,p,l,g,h,f,u,v=n.getSpan(),y="Confirmed";return d=v.next(r.reservationId_prefix).nextAnyTag("td").tagContents(),v.next(r.address_prefix).nextAddress(),x=v.next(r.dates_prefix).nextAnyTag("table").nextAnyTag("table").allDates(),m=x[0],c=x[1],p=v.innerCapture(regExpFormatted(/\1(.*)\./,r.hotelName_prefix),1).trim(),p="Airbnb, "+p,l=v.next(r.modifyReservationUrl_prefix).nextLink(),g=l,h=v.next(r.hotelUrl_prefix).nextLink(),u=v.next(r.hotelAddress_prefix).nextAddress(),ASSERT(m,c,p),[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",name:p,underName:{"@type":"http://schema.org/Person",name:a,email:i},totalPrice:o,priceCurrency:s,checkinTime:m,checkoutTime:c,modifyReservationUrl:l,cancelReservationUrl:g,reservationStatus:"http://schema.org/Reservation"+(y||"Confirmed"),reservationId:d,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:"",url:h,telephone:f,address:u}}]}}).call();