// Copyright 2014 Apple Inc.  All Rights Reserved.
(function(){return function(e,t,n,r){var a=Scanner.fromMessage(e);a.setLocale(t);var i,o,x,s,g,c,p,d,u,m,T,f,h,l,v,C,_,k,y=a.getSpan();i=y.nextText(n.underNameName_prefix).nextTag("td3").tagContents(),o=y.nextText(n.underNameBlock_prefix).nextText(n.underNameEmail_prefix).nextTag("td3").tagContents();var D=y.nextText(n.totalPrice_prefix).nextTag("td3").tagContents();if([,s,x]=/^(.*) (.*)$/.exec(D),c=y.nextText(n.checkinDate_prefix).nextTag("td3").tagContents(),g=y.nextText(n.checkinTime_prefix).nextTag("td3").tagContents().innerCapture(regExpFormatted(/ ([0-9]+.[0-9]+)/),1),p=(""+c).replace(/-/g," ")+" "+(""+g).replace(/\./g,":"),p=getFuzzyDate(a.getDetachedSpan(p).firstDate()),u=y.nextText(n.checkoutDate_prefix).nextTag("td3").tagContents(),d=y.nextText(n.checkoutTime_prefix).nextTag("td3").tagContents().innerCapture(regExpFormatted(/ ([0-9]+.[0-9]+)/),1),m=(""+u).replace(/-/g," ")+" "+(""+d).replace(/\./g,":"),m=getFuzzyDate(a.getDetachedSpan(m).firstDate()),T=y.nextText(n.modifyReservationUrl_suffix).previousLink(),h=y.innerCapture(regExpFormatted(/\1 \xa0([0-9]+)/,n.reservationId_prefix),1),l=y.firstText(n.reservationFor_suffix).previousTag("td3").previousTag("td3").tagContents(),[,v,C,k,_]=/(.*)\<(.*)\> \n([\s\S]*)\n(.*)\n/.exec(l),ASSERT(p,m,v))return[{"@context":"http://schema.org","@type":"http://schema.org/LodgingReservation",underName:{"@type":"http://schema.org/Person",name:i,email:o},totalPrice:x,priceCurrency:s,checkinTime:p,checkoutTime:m,modifyReservationUrl:T,cancelReservationUrl:f,reservationStatus:"http://schema.org/Reservation"+r,reservationId:h,reservationFor:{"@type":"http://schema.org/LodgingBusiness",name:v,url:C,telephone:_,address:k}}]}}).call();