!function(e,t,i){e.tapHandling=!1;var n=function(i){return i.each(function(){function i(e){t(e.target).trigger("tap",[e,t(e.target).attr("href")]),e.stopImmediatePropagation()}function n(e){var t=e.originalEvent||e,i=t.touches||t.targetTouches;return i?[i[0].pageX,i[0].pageY]:null}function a(e){if(e.touches&&e.touches.length>1||e.targetTouches&&e.targetTouches.length>1)return!1;var t=n(e);o=t[0],r=t[1]}function s(e){if(!c){var t=n(e);t&&(Math.abs(r-t[1])>f||Math.abs(o-t[0])>f)&&(c=!0)}}function l(t){if(clearTimeout(d),d=setTimeout(function(){e.tapHandling=!1,c=!1},1e3),!(t.which&&t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey)){if(t.preventDefault(),c||e.tapHandling&&e.tapHandling!==t.type)return void(c=!1);e.tapHandling=t.type,i(t)}}var d,r,o,c,u=t(this),f=10;u.bind("touchstart.tappy MSPointerDown.tappy",a).bind("touchmove.tappy MSPointerMove.tappy",s).bind("touchend.tappy MSPointerUp.tappy",l).bind("click.tappy",l)})},a=function(e){return e.unbind(".tappy")};if(t.event&&t.event.special)t.event.special.tap={add:function(e){n(t(this))},remove:function(e){a(t(this))}};else{var s=t.fn.bind,l=t.fn.unbind;t.fn.bind=function(e){return/(^| )tap( |$)/.test(e)&&n(this),s.apply(this,arguments)},t.fn.unbind=function(e){return/(^| )tap( |$)/.test(e)&&a(this),l.apply(this,arguments)}}}(this,jQuery);var AreaAmenities={settings:{legend:$(".legend"),map:$(".map")},init:function(){var e=this.settings;AreaAmenities.toggleLegend(e);var t=window.location.hash.split("#");t.length>1&&$("html").hasClass("ieOld")?(e.legendNav.find(".active").add(e.directory.find(".active")).removeClass("active"),e.legendNav.find('a[href$="'+t[1]+'"]').add(e.directory.find(e.legendNav.find('a[href$="'+t[1]+'"]').attr("href"))).addClass("active"),AreaAmenities.popultateMap(e)):e.legend.find("h2")[0].click()},toggleLegend:function(e){e.legend.find("h2").bind("click",function(t){t.preventDefault(),$("html").hasClass("ieOld")?(window.location.hash=$(this).attr("href"),location.reload()):(e.legend.find(".active").removeClass("active"),$(this).parent().addClass("active"),AreaAmenities.popultateMap(e))})},popultateMap:function(e){e.map.find(".markers, .dups").remove();var t=e.legend.find(".active li:not(.dup)"),i=0;e.map.append('