Neuroscience Continuing Medical Education Conference


Neuroscience Continuing Medical Education Conference | Holy Cross Hospital | Silver Spring, MD | Holy Cross Health

‘,i+=’

‘,i+=”

“+o.title+”

“,i+=”

“+o.address+”
“+o.city+”

“,i+=”

“,i+=”

“,i+=’

‘,i+='”,i+='”,i+=”

“;var r=new InfoBubble({map:t,content:i,position:e,hideCloseButton:!1,backgroundClassName:”info-window”,minHeight:325,minWidth:420,maxWidth:420,borderColor:”#fff”,closeSrc:”images/locations/close.png”});return holyCrossLocations.infoBubbles.push(r),r}function r(e,r){var s=new google.maps.LatLng(r.lat,r.lng),a=document.createElement(“DIV”),l=o(e,s,r);a.innerHTML=’

‘+r.location+”

“;var p=new RichMarker({map:e,position:s,draggable:!1,flat:!0,anchor:RichMarkerPosition.MIDDLE,content:a,zIndex:r.zIndex});return holyCrossLocations.markers[r.location]=p,google.maps.event.addListener(p,”click”,function(){for(i=0;i=500?l.open(e,p):e.setCenter(c));var o;o&&o.setZIndex(),o=this,this.setZIndex(google.maps.Marker.MAX_ZINDEX+1)}),p}function n(e){return””===e?(c=new google.maps.LatLng(39.0147079,-77.0369374),void 0):(t(“#map-landing”).length?enquire.register(“screen and (min-width:500px)”,{match:function(){c=new google.maps.LatLng(e.lat+.085,e.lng)},unmatch:function(){c=new google.maps.LatLng(e.lat,e.lng)},setup:function(){c=t(window).width()>=500?new google.maps.LatLng(e.lat+.085,e.lng):new google.maps.LatLng(e.lat,e.lng)},deferSetup:!1}):c=new google.maps.LatLng(e.lat+.085,e.lng),void 0)}function s(){for(var e=””,o=0;o‘,e+=’

‘,e+=’

‘+(o+1)+”

“,e+=’

‘,e+=’

‘+hospitals[o].address+’

‘+hospitals[o].city+”

“,e+=”

“,e+=”

“,e+='”,e+=”

“;t(“.hospital-list”).append(e),t(“.hospital-list .hospital .title”).click(function(){google.maps.event.trigger(holyCrossLocations.markers[t(this).data(“zi”)],”click”);var e=t(“#map-landing”);return t(window).width()’;r+=”,r+=’

‘,r+=”

“+i.title+”

“,r+=”

“+i.address+”
“+i.city+”

“,r+=”

“,r+=”

“,r+=’

‘,r+='”,r+='”,r+=”

“,e.once().append(r)}!function(t,e){var o=function(t,e,o){var i;return function(){function r(){o||t.apply(n,s),i=null}var n=this,s=arguments;i?clearTimeout(i):o&&t.apply(n,s),i=setTimeout(r,e||100)}};t.fn[e]=function(t){return t?this.bind(“resize”,o(t)):this.trigger(e)}}(jQuery,”smartresize”);var c;t(window).smartresize(function(){p.setCenter(c)});var p;t(“#map-landing”).length?p=e():enquire.register(“screen and (min-width:500px)”,{match:function(){p=a()},unmatch:function(){l()},setup:function(){t(window).width()i&&(o=e(t[i],i),o!==!1);i++);}function o(t){return”[object Array]”===Object.prototype.toString.apply(t)}function i(t){return”function”==typeof t}function r(t){this.options=t,!t.deferSetup&&this.setup()}function n(e,o){this.query=e,this.isUnconditional=o,this.handlers=[],this.mql=t(e);var i=this;this.listener=function(t){i.mql=t,i.assess()},this.mql.addListener(this.listener)}function s(){if(!t)throw new Error(“matchMedia not present, legacy browsers require a polyfill”);this.queries={},this.browserIsIncapable=!t(“only all”).matches}return r.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(t){return this.options===t||this.options.match===t}},n.prototype={addHandler:function(t){var e=new r(t);this.handlers.push(e),this.matches()&&e.on()},removeHandler:function(t){var o=this.handlers;e(o,function(e,i){return e.equals(t)?(e.destroy(),!o.splice(i,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){e(this.handlers,function(t){t.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var t=this.matches()?”on”:”off”;e(this.handlers,function(e){e[t]()})}},s.prototype={register:function(t,r,s){var a=this.queries,l=s&&this.browserIsIncapable;return a[t]||(a[t]=new n(t,l)),i(r)&&(r={match:r}),o(r)||(r=[r]),e(r,function(e){i(e)&&(e={match:e}),a[t].addHandler(e)}),this},unregister:function(t,e){var o=this.queries[t];return o&&(e?o.removeHandler(e):(o.clear(),delete this.queries[t])),this}},new s}),window.InfoBubble=InfoBubble,InfoBubble.prototype.ARROW_SIZE_=10,InfoBubble.prototype.ARROW_STYLE_=0,InfoBubble.prototype.SHADOW_STYLE_=0,InfoBubble.prototype.MIN_WIDTH_=50,InfoBubble.prototype.ARROW_POSITION_=50,InfoBubble.prototype.PADDING_=0,InfoBubble.prototype.BORDER_WIDTH_=0,InfoBubble.prototype.BORDER_COLOR_=”transparent”,InfoBubble.prototype.BORDER_RADIUS_=0,InfoBubble.prototype.BACKGROUND_COLOR_=”transparent”,InfoBubble.prototype.CLOSE_SRC_=”https://maps.gstatic.com/intl/en_us/mapfiles/iw_close.gif”,InfoBubble.prototype.extend=function(t,e){return function(t){for(var e in t.prototype)this.prototype[e]=t.prototype[e];return this}.apply(t,[e])},InfoBubble.prototype.buildDom_=function(){var t=this.bubble_=document.createElement(“DIV”);t.style.position=”absolute”,t.style.zIndex=this.baseZIndex_;var e=this.tabsContainer_=document.createElement(“DIV”);e.style.position=”relative”;var o=this.close_=document.createElement(“IMG”);o.className=”info-close”,o.style.position=”absolute”,o.style.border=0,o.style.zIndex=this.baseZIndex_+1,o.style.cursor=”pointer”,o.src=this.get(“closeSrc”);var i=this;google.maps.event.addDomListener(o,”click”,function(){i.close(),google.maps.event.trigger(i,”closeclick”)});var r=this.contentContainer_=document.createElement(“DIV”);r.style.overflowX=”auto”,r.style.overflowY=”auto”,r.style.cursor=”default”,r.style.clear=”both”,r.style.position=”relative”;var n=this.content_=document.createElement(“DIV”);r.appendChild(n);var s=this.arrow_=document.createElement(“DIV”);s.style.position=”relative”;var a=this.arrowOuter_=document.createElement(“DIV”),l=this.arrowInner_=document.createElement(“DIV”);l.className=”info-arrow”;var c=this.getArrowSize_();a.style.position=l.style.position=”absolute”,a.style.left=l.style.left=”50%”,a.style.height=l.style.height=”0″,a.style.width=l.style.width=”0″,a.style.marginLeft=this.px(-c),a.style.borderWidth=this.px(c),a.style.borderBottomWidth=0;var p=this.bubbleShadow_=document.createElement(“DIV”);p.style.position=”absolute”,t.style.display=p.style.display=”none”,t.appendChild(this.tabsContainer_),t.appendChild(o),t.appendChild(r),s.appendChild(a),s.appendChild(l),t.appendChild(s);var d=document.createElement(“style”);d.setAttribute(“type”,”text/css”),this.animationName_=”_ibani_”+Math.round(1e4*Math.random());var h=”.”+this.animationName_+”{-webkit-animation-name:”+this.animationName_+”;-webkit-animation-duration:0.25s;-webkit-animation-iteration-count:1;}@-webkit-keyframes “+this.animationName_+” {from {-webkit-transform: scale(0)}50% {-webkit-transform: scale(1)}90% {-webkit-transform: scale(1)}to {-webkit-transform: scale(1)}}”;d.textContent=h,document.getElementsByTagName(“head”)[0].appendChild(d)},InfoBubble.prototype.setBackgroundClassName=function(t){this.set(“backgroundClassName”,t)},InfoBubble.prototype.setBackgroundClassName=InfoBubble.prototype.setBackgroundClassName,InfoBubble.prototype.backgroundClassName_changed=function(){this.content_.className=this.get(“backgroundClassName”)},InfoBubble.prototype.backgroundClassName_changed=InfoBubble.prototype.backgroundClassName_changed,InfoBubble.prototype.setTabClassName=function(t){this.set(“tabClassName”,t)},InfoBubble.prototype.setTabClassName=InfoBubble.prototype.setTabClassName,InfoBubble.prototype.tabClassName_changed=function(){this.updateTabStyles_()},InfoBubble.prototype.tabClassName_changed=InfoBubble.prototype.tabClassName_changed,InfoBubble.prototype.getArrowStyle_=function(){return parseInt(this.get(“arrowStyle”),10)||0},InfoBubble.prototype.setArrowStyle=function(t){this.set(“arrowStyle”,t)},InfoBubble.prototype.setArrowStyle=InfoBubble.prototype.setArrowStyle,InfoBubble.prototype.arrowStyle_changed=function(){this.arrowSize_changed()},InfoBubble.prototype.arrowStyle_changed=InfoBubble.prototype.arrowStyle_changed,InfoBubble.prototype.getArrowSize_=function(){return parseInt(this.get(“arrowSize”),10)||0},InfoBubble.prototype.setArrowSize=function(t){this.set(“arrowSize”,t)},InfoBubble.prototype.setArrowSize=InfoBubble.prototype.setArrowSize,InfoBubble.prototype.arrowSize_changed=function(){this.borderWidth_changed()},InfoBubble.prototype.arrowSize_changed=InfoBubble.prototype.arrowSize_changed,InfoBubble.prototype.setArrowPosition=function(t){this.set(“arrowPosition”,t)},InfoBubble.prototype.setArrowPosition=InfoBubble.prototype.setArrowPosition,InfoBubble.prototype.getArrowPosition_=function(){return parseInt(this.get(“arrowPosition”),10)||0},InfoBubble.prototype.arrowPosition_changed=function(){var t=this.getArrowPosition_();this.arrowOuter_.style.left=this.arrowInner_.style.left=t+”%”,this.redraw_()},InfoBubble.prototype.arrowPosition_changed=InfoBubble.prototype.arrowPosition_changed,InfoBubble.prototype.setZIndex=function(t){this.set(“zIndex”,t)},InfoBubble.prototype.setZIndex=InfoBubble.prototype.setZIndex,InfoBubble.prototype.getZIndex=function(){return parseInt(this.get(“zIndex”),10)||this.baseZIndex_},InfoBubble.prototype.zIndex_changed=function(){var t=this.getZIndex();this.bubble_.style.zIndex=this.baseZIndex_=t,this.close_.style.zIndex=t+1},InfoBubble.prototype.zIndex_changed=InfoBubble.prototype.zIndex_changed,InfoBubble.prototype.setShadowStyle=function(t){this.set(“shadowStyle”,t)},InfoBubble.prototype.setShadowStyle=InfoBubble.prototype.setShadowStyle,InfoBubble.prototype.getShadowStyle_=function(){return parseInt(this.get(“shadowStyle”),10)||0},InfoBubble.prototype.shadowStyle_changed=function(){var t=this.getShadowStyle_(),e=””,o=””,i=””;switch(t){case 0:e=”none”;break;case 1:o=”40px 15px 10px rgba(33,33,33,0.3)”,i=”transparent”;break;case 2:o=”0 0 2px rgba(33,33,33,0.3)”,i=”rgba(33,33,33,0.35)”}this.bubbleShadow_.style.boxShadow=this.bubbleShadow_.style.webkitBoxShadow=this.bubbleShadow_.style.MozBoxShadow=o,this.bubbleShadow_.style.backgroundColor=i,this.isOpen_&&(this.bubbleShadow_.style.display=e,this.draw())},InfoBubble.prototype.shadowStyle_changed=InfoBubble.prototype.shadowStyle_changed,InfoBubble.prototype.showCloseButton=function(){this.set(“hideCloseButton”,!1)},InfoBubble.prototype.showCloseButton=InfoBubble.prototype.showCloseButton,InfoBubble.prototype.hideCloseButton=function(){this.set(“hideCloseButton”,!0)},InfoBubble.prototype.hideCloseButton=InfoBubble.prototype.hideCloseButton,InfoBubble.prototype.hideCloseButton_changed=function(){this.close_.style.display=this.get(“hideCloseButton”)?”none”:””},InfoBubble.prototype.hideCloseButton_changed=InfoBubble.prototype.hideCloseButton_changed,InfoBubble.prototype.setBackgroundColor=function(t){t&&this.set(“backgroundColor”,t)},InfoBubble.prototype.setBackgroundColor=InfoBubble.prototype.setBackgroundColor,InfoBubble.prototype.backgroundColor_changed=function(){var t=this.get(“backgroundColor”);this.contentContainer_.style.backgroundColor=t,this.arrowInner_.style.borderColor=t+” transparent transparent”,this.updateTabStyles_()},InfoBubble.prototype.backgroundColor_changed=InfoBubble.prototype.backgroundColor_changed,InfoBubble.prototype.setBorderColor=function(t){t&&this.set(“borderColor”,t)},InfoBubble.prototype.setBorderColor=InfoBubble.prototype.setBorderColor,InfoBubble.prototype.borderColor_changed=function(){var t=this.get(“borderColor”),e=this.contentContainer_,o=this.arrowOuter_;e.style.borderColor=t,o.style.borderColor=t+” transparent transparent”,e.style.borderStyle=o.style.borderStyle=this.arrowInner_.style.borderStyle=”solid”,this.updateTabStyles_()},InfoBubble.prototype.borderColor_changed=InfoBubble.prototype.borderColor_changed,InfoBubble.prototype.setBorderRadius=function(t){this.set(“borderRadius”,t)},InfoBubble.prototype.setBorderRadius=InfoBubble.prototype.setBorderRadius,InfoBubble.prototype.getBorderRadius_=function(){return parseInt(this.get(“borderRadius”),10)||0},InfoBubble.prototype.borderRadius_changed=function(){var t=this.getBorderRadius_(),e=this.getBorderWidth_();this.contentContainer_.style.borderRadius=this.contentContainer_.style.MozBorderRadius=this.contentContainer_.style.webkitBorderRadius=this.bubbleShadow_.style.borderRadius=this.bubbleShadow_.style.MozBorderRadius=this.bubbleShadow_.style.webkitBorderRadius=this.px(t),this.tabsContainer_.style.paddingLeft=this.tabsContainer_.style.paddingRight=this.px(t+e),this.redraw_()},InfoBubble.prototype.borderRadius_changed=InfoBubble.prototype.borderRadius_changed,InfoBubble.prototype.getBorderWidth_=function(){return parseInt(this.get(“borderWidth”),10)||0},InfoBubble.prototype.setBorderWidth=function(t){this.set(“borderWidth”,t)},InfoBubble.prototype.setBorderWidth=InfoBubble.prototype.setBorderWidth,InfoBubble.prototype.borderWidth_changed=function(){var t=this.getBorderWidth_();this.contentContainer_.style.borderWidth=this.px(t),this.tabsContainer_.style.top=this.px(t),this.updateArrowStyle_(),this.updateTabStyles_(),this.borderRadius_changed(),this.redraw_()},InfoBubble.prototype.borderWidth_changed=InfoBubble.prototype.borderWidth_changed,InfoBubble.prototype.updateArrowStyle_=function(){var t=this.getBorderWidth_(),e=this.getArrowSize_(),o=this.getArrowStyle_(),i=this.px(e),r=this.px(Math.max(0,e-t)),n=this.arrowOuter_,s=this.arrowInner_;this.arrow_.style.marginTop=this.px(-t),n.style.borderTopWidth=i,s.style.borderTopWidth=r,0==o||1==o?(n.style.borderLeftWidth=i,s.style.borderLeftWidth=r):n.style.borderLeftWidth=s.style.borderLeftWidth=0,0==o||2==o?(n.style.borderRightWidth=i,s.style.borderRightWidth=r):n.style.borderRightWidth=s.style.borderRightWidth=0,2>o?(n.style.marginLeft=this.px(-e),s.style.marginLeft=this.px(-(e-t))):n.style.marginLeft=s.style.marginLeft=0,n.style.display=0==t?”none”:””},InfoBubble.prototype.setPadding=function(t){this.set(“padding”,t)},InfoBubble.prototype.setPadding=InfoBubble.prototype.setPadding,InfoBubble.prototype.setCloseSrc=function(t){t&&this.close_&&(this.close_.src=t)},InfoBubble.prototype.setCloseSrc=InfoBubble.prototype.setCloseSrc,InfoBubble.prototype.getPadding_=function(){return parseInt(this.get(“padding”),10)||0},InfoBubble.prototype.padding_changed=function(){var t=this.getPadding_();this.contentContainer_.style.padding=this.px(t),this.updateTabStyles_(),this.redraw_()},InfoBubble.prototype.padding_changed=InfoBubble.prototype.padding_changed,InfoBubble.prototype.px=function(t){return t?t+”px”:t},InfoBubble.prototype.addEvents_=function(){var t=[“mousedown”,”mousemove”,”mouseover”,”mouseout”,”mouseup”,”mousewheel”,”DOMMouseScroll”,”touchstart”,”touchend”,”touchmove”,”dblclick”,”contextmenu”,”click”],e=this.bubble_;this.listeners_=[];for(var o,i=0;o=t[i];i++)this.listeners_.push(google.maps.event.addDomListener(e,o,function(t){t.cancelBubble=!0,t.stopPropagation&&t.stopPropagation()}))},InfoBubble.prototype.onAdd=function(){this.bubble_||this.buildDom_(),this.addEvents_();var t=this.getPanes();t&&(t.floatPane.appendChild(this.bubble_),t.floatShadow.appendChild(this.bubbleShadow_)),google.maps.event.trigger(this,”domready”)},InfoBubble.prototype.onAdd=InfoBubble.prototype.onAdd,InfoBubble.prototype.draw=function(){var t=this.getProjection();if(t){var e=this.get(“position”);if(!e)return this.close(),void 0;var o=0;this.activeTab_&&(o=this.activeTab_.offsetHeight);var i=this.getAnchorHeight_(),r=this.getArrowSize_(),n=this.getArrowPosition_();n/=100;var s=t.fromLatLngToDivPixel(e),a=this.contentContainer_.offsetWidth,l=this.bubble_.offsetHeight;if(a){var c=s.y-(l+r);i&&(c-=i);var p=s.x-a*n;this.bubble_.style.top=this.px(c),this.bubble_.style.left=this.px(p);var d=parseInt(this.get(“shadowStyle”),10);switch(d){case 1:this.bubbleShadow_.style.top=this.px(c+o-1),this.bubbleShadow_.style.left=this.px(p),this.bubbleShadow_.style.width=this.px(a),this.bubbleShadow_.style.height=this.px(this.contentContainer_.offsetHeight-r);break;case 2:a=.8*a,this.bubbleShadow_.style.top=i?this.px(s.y):this.px(s.y+r),this.bubbleShadow_.style.left=this.px(s.x-a*n),this.bubbleShadow_.style.width=this.px(a),this.bubbleShadow_.style.height=this.px(2)}}}},InfoBubble.prototype.draw=InfoBubble.prototype.draw,InfoBubble.prototype.onRemove=function(){this.bubble_&&this.bubble_.parentNode&&this.bubble_.parentNode.removeChild(this.bubble_),this.bubbleShadow_&&this.bubbleShadow_.parentNode&&this.bubbleShadow_.parentNode.removeChild(this.bubbleShadow_);for(var t,e=0;t=this.listeners_[e];e++)google.maps.event.removeListener(t)},InfoBubble.prototype.onRemove=InfoBubble.prototype.onRemove,InfoBubble.prototype.isOpen=function(){return this.isOpen_},InfoBubble.prototype.isOpen=InfoBubble.prototype.isOpen,InfoBubble.prototype.close=function(){this.bubble_&&(this.bubble_.style.display=”none”,this.bubble_.className=this.bubble_.className.replace(this.animationName_,””)),this.bubbleShadow_&&(this.bubbleShadow_.style.display=”none”,this.bubbleShadow_.className=this.bubbleShadow_.className.replace(this.animationName_,””)),this.isOpen_=!1},InfoBubble.prototype.close=InfoBubble.prototype.close,InfoBubble.prototype.open=function(t,e){var o=this;window.setTimeout(function(){o.open_(t,e)},0)},InfoBubble.prototype.open_=function(t,e){this.updateContent_(),t&&this.setMap(t),e&&(this.set(“anchor”,e),this.bindTo(“anchorPoint”,e),this.bindTo(“position”,e)),this.bubble_.style.display=this.bubbleShadow_.style.display=””;var o=!this.get(“disableAnimation”);o&&(this.bubble_.className+=” “+this.animationName_,this.bubbleShadow_.className+=” “+this.animationName_),this.redraw_(),this.isOpen_=!0;var i=!this.get(“disableAutoPan”);if(i){var r=this;window.setTimeout(function(){r.panToView()},200)}},InfoBubble.prototype.open=InfoBubble.prototype.open,InfoBubble.prototype.setPosition=function(t){t&&this.set(“position”,t)},InfoBubble.prototype.setPosition=InfoBubble.prototype.setPosition,InfoBubble.prototype.getPosition=function(){return this.get(“position”)},InfoBubble.prototype.getPosition=InfoBubble.prototype.getPosition,InfoBubble.prototype.position_changed=function(){this.draw()},InfoBubble.prototype.position_changed=InfoBubble.prototype.position_changed,InfoBubble.prototype.panToView=function(){var t=this.getProjection();if(t&&this.bubble_){var e=this.getAnchorHeight_(),o=this.bubble_.offsetHeight+e,i=this.get(“map”),r=i.getDiv(),n=r.offsetHeight,s=this.getPosition(),a=t.fromLatLngToContainerPixel(i.getCenter()),l=t.fromLatLngToContainerPixel(s),c=a.y-o,p=n-a.y,d=0>c,h=0;d&&(c*=-1,h=(c+p)/2),l.y-=h,s=t.fromContainerPixelToLatLng(l),i.getCenter()!=s&&i.panTo(s)}},InfoBubble.prototype.panToView=InfoBubble.prototype.panToView,InfoBubble.prototype.htmlToDocumentFragment_=function(t){t=t.replace(/^s*([Ss]*)bs*$/,”$1″);var e=document.createElement(“DIV”);if(e.innerHTML=t,1==e.childNodes.length)return e.removeChild(e.firstChild);for(var o=document.createDocumentFragment();e.firstChild;)o.appendChild(e.firstChild);return o},InfoBubble.prototype.removeChildren_=function(t){if(t)for(var e;e=t.firstChild;)t.removeChild(e)},InfoBubble.prototype.setContent=function(t){this.set(“content”,t)},InfoBubble.prototype.setContent=InfoBubble.prototype.setContent,InfoBubble.prototype.getContent=function(){return this.get(“content”)},InfoBubble.prototype.getContent=InfoBubble.prototype.getContent,InfoBubble.prototype.updateContent_=function(){if(this.content_){this.removeChildren_(this.content_);var t=this.getContent();if(t){“string”==typeof t&&(t=this.htmlToDocumentFragment_(t)),this.content_.appendChild(t);for(var e,o=this,i=this.content_.getElementsByTagName(“IMG”),r=0;e=i[r];r++)google.maps.event.addDomListener(e,”load”,function(){o.imageLoaded_()})}this.redraw_()}},InfoBubble.prototype.imageLoaded_=function(){var t=!this.get(“disableAutoPan”);this.redraw_(),!t||0!=this.tabs_.length&&0!=this.activeTab_.index||this.panToView()},InfoBubble.prototype.updateTabStyles_=function(){if(this.tabs_&&this.tabs_.length){for(var t,e=0;t=this.tabs_[e];e++)this.setTabStyle_(t.tab);this.activeTab_.style.zIndex=this.baseZIndex_;var o=this.getBorderWidth_(),i=this.getPadding_()/2;this.activeTab_.style.borderBottomWidth=0,this.activeTab_.style.paddingBottom=this.px(i+o)}},InfoBubble.prototype.setTabStyle_=function(t){var e=this.get(“backgroundColor”),o=this.get(“borderColor”),i=this.getBorderRadius_(),r=this.getBorderWidth_(),n=this.getPadding_(),s=this.px(-Math.max(n,i)),a=this.px(i),l=this.baseZIndex_;t.index&&(l-=t.index);var c={cssFloat:”left”,position:”relative”,cursor:”pointer”,backgroundColor:e,border:this.px(r)+” solid “+o,padding:this.px(n/2)+” “+this.px(n),marginRight:s,whiteSpace:”nowrap”,borderRadiusTopLeft:a,MozBorderRadiusTopleft:a,webkitBorderTopLeftRadius:a,borderRadiusTopRight:a,MozBorderRadiusTopright:a,webkitBorderTopRightRadius:a,zIndex:l,display:”inline”};for(var p in c)t.style[p]=c[p];var d=this.get(“tabClassName”);void 0!=d&&(t.className+=” “+d)},InfoBubble.prototype.addTabActions_=function(t){var e=this;t.listener_=google.maps.event.addDomListener(t,”click”,function(){e.setTabActive_(this)})},InfoBubble.prototype.setTabActive=function(t){var e=this.tabs_[t-1];e&&this.setTabActive_(e.tab)},InfoBubble.prototype.setTabActive=InfoBubble.prototype.setTabActive,InfoBubble.prototype.setTabActive_=function(t){if(!t)return this.setContent(“”),this.updateContent_(),void 0;var e=this.getPadding_()/2,o=this.getBorderWidth_();if(this.activeTab_){var i=this.activeTab_;i.style.zIndex=this.baseZIndex_-i.index,i.style.paddingBottom=this.px(e),i.style.borderBottomWidth=this.px(o)}t.style.zIndex=this.baseZIndex_,t.style.borderBottomWidth=0,t.style.marginBottomWidth=”-10px”,t.style.paddingBottom=this.px(e+o),this.setContent(this.tabs_[t.index].content),this.updateContent_(),this.activeTab_=t,this.redraw_()},InfoBubble.prototype.setMaxWidth=function(t){this.set(“maxWidth”,t)},InfoBubble.prototype.setMaxWidth=InfoBubble.prototype.setMaxWidth,InfoBubble.prototype.maxWidth_changed=function(){this.redraw_()},InfoBubble.prototype.maxWidth_changed=InfoBubble.prototype.maxWidth_changed,InfoBubble.prototype.setMaxHeight=function(t){this.set(“maxHeight”,t)},InfoBubble.prototype.setMaxHeight=InfoBubble.prototype.setMaxHeight,InfoBubble.prototype.maxHeight_changed=function(){this.redraw_()},InfoBubble.prototype.maxHeight_changed=InfoBubble.prototype.maxHeight_changed,InfoBubble.prototype.setMinWidth=function(t){this.set(“minWidth”,t)},InfoBubble.prototype.setMinWidth=InfoBubble.prototype.setMinWidth,InfoBubble.prototype.minWidth_changed=function(){this.redraw_()},InfoBubble.prototype.minWidth_changed=InfoBubble.prototype.minWidth_changed,InfoBubble.prototype.setMinHeight=function(t){this.set(“minHeight”,t)},InfoBubble.prototype.setMinHeight=InfoBubble.prototype.setMinHeight,InfoBubble.prototype.minHeight_changed=function(){this.redraw_()},InfoBubble.prototype.minHeight_changed=InfoBubble.prototype.minHeight_changed,InfoBubble.prototype.addTab=function(t,e){var o=document.createElement(“DIV”);
o.innerHTML=t,this.setTabStyle_(o),this.addTabActions_(o),this.tabsContainer_.appendChild(o),this.tabs_.push({label:t,content:e,tab:o}),o.index=this.tabs_.length-1,o.style.zIndex=this.baseZIndex_-o.index,this.activeTab_||this.setTabActive_(o),o.className=o.className+” “+this.animationName_,this.redraw_()},InfoBubble.prototype.addTab=InfoBubble.prototype.addTab,InfoBubble.prototype.updateTab=function(t,e,o){if(!(!this.tabs_.length||0>t||t>=this.tabs_.length)){var i=this.tabs_[t];void 0!=e&&(i.tab.innerHTML=i.label=e),void 0!=o&&(i.content=o),this.activeTab_==i.tab&&(this.setContent(i.content),this.updateContent_()),this.redraw_()}},InfoBubble.prototype.updateTab=InfoBubble.prototype.updateTab,InfoBubble.prototype.removeTab=function(t){if(!(!this.tabs_.length||0>t||t>=this.tabs_.length)){var e=this.tabs_[t];e.tab.parentNode.removeChild(e.tab),google.maps.event.removeListener(e.tab.listener_),this.tabs_.splice(t,1),delete e;for(var o,i=0;o=this.tabs_[i];i++)o.tab.index=i;e.tab==this.activeTab_&&(this.activeTab_=this.tabs_[t]?this.tabs_[t].tab:this.tabs_[t-1]?this.tabs_[t-1].tab:void 0,this.setTabActive_(this.activeTab_)),this.redraw_()}},InfoBubble.prototype.removeTab=InfoBubble.prototype.removeTab,InfoBubble.prototype.getElementSize_=function(t,e,o){var i=document.createElement(“DIV”);i.style.display=”inline”,i.style.position=”absolute”,i.style.visibility=”hidden”,”string”==typeof t?i.innerHTML=t:i.appendChild(t.cloneNode(!0)),document.body.appendChild(i);var r=new google.maps.Size(i.offsetWidth,i.offsetHeight);return e&&r.width>e&&(i.style.width=this.px(e),r=new google.maps.Size(i.offsetWidth,i.offsetHeight)),o&&r.height>o&&(i.style.height=this.px(o),r=new google.maps.Size(i.offsetWidth,i.offsetHeight)),document.body.removeChild(i),delete i,r},InfoBubble.prototype.redraw_=function(){this.figureOutSize_(),this.positionCloseButton_(),this.draw()},InfoBubble.prototype.figureOutSize_=function(){var t=this.get(“map”);if(t){var e=this.getPadding_(),o=(this.getBorderWidth_(),this.getBorderRadius_(),this.getArrowSize_()),i=t.getDiv(),r=2*o,n=i.offsetWidth-r,s=i.offsetHeight-r-this.getAnchorHeight_(),a=0,l=this.get(“minWidth”)||0,c=this.get(“minHeight”)||0,p=this.get(“maxWidth”)||0,d=this.get(“maxHeight”)||0;p=Math.min(n,p),d=Math.min(s,d);var h=0;if(this.tabs_.length)for(var u,g=0;u=this.tabs_[g];g++){var b=this.getElementSize_(u.tab,p,d),f=this.getElementSize_(u.content,p,d);la&&(a=b.height),ln&&(l=n),c>s&&(c=s-a),this.tabsContainer_&&(this.tabHeight_=a,this.tabsContainer_.style.width=this.px(h)),this.contentContainer_.style.width=this.px(l),this.contentContainer_.style.height=this.px(c)}},InfoBubble.prototype.getAnchorHeight_=function(){var t=this.get(“anchor”);if(t){var e=this.get(“anchorPoint”);if(e)return-1*e.y}return 0},InfoBubble.prototype.anchorPoint_changed=function(){this.draw()},InfoBubble.prototype.anchorPoint_changed=InfoBubble.prototype.anchorPoint_changed,InfoBubble.prototype.positionCloseButton_=function(){var t=(this.getBorderRadius_(),this.getBorderWidth_()),e=10,o=10;this.tabs_.length&&this.tabHeight_&&(o+=this.tabHeight_),o+=t,e+=t;var i=this.contentContainer_;i&&i.clientHeight‘).css(“padding”,fe).append(e.children()),N=t(”).css({width:z+”px”,height:O+”px”}).append(E).appendTo(e);else{if(e.css(“width”,””),b=X.stickToBottom&&R(),f=X.stickToRight&&x(),p=e.innerWidth()+me!=z||e.outerHeight()!=O,p&&(z=e.innerWidth()+me,O=e.innerHeight(),N.css({width:z+”px”,height:O+”px”})),!p&&ve==F&&E.outerHeight()==V)return void e.width(z);ve=F,E.css(“width”,””),e.width(z),N.find(“>.jspVerticalBar,>.jspHorizontalBar”).remove().end()}E.css(“overflow”,”auto”),F=o.contentWidth?o.contentWidth:E[0].scrollWidth,V=E[0].scrollHeight,E.css(“overflow”,””),q=F/z,G=V/O,Z=G>1,U=q>1,U||Z?(e.addClass(“jspScrollable”),n=X.maintainPosition&&($||ee),n&&(a=B(),c=C()),r(),s(),l(),n&&(I(f?F-z:a,!1),w(b?V-O:c,!1)),W(),M(),A(),X.enableKeyboardNavigation&&L(),X.clickOnTrack&&h(),j(),X.hijackInternalLinks&&P()):(e.removeClass(“jspScrollable”),E.css({top:0,left:0,width:N.width()-me}),S(),D(),H(),u()),X.autoReinitialise&&!be?be=setInterval(function(){i(X)},X.autoReinitialiseDelay):!X.autoReinitialise&&be&&clearInterval(be),d&&e.scrollTop(0)&&w(d,!1),g&&e.scrollLeft(0)&&I(g,!1),e.trigger(“jsp-initialised”,[U||Z])}function r(){Z&&(N.append(t(”).append(t(”),t(”).append(t(”).append(t(”),t(”))),t(”))),oe=N.find(“>.jspVerticalBar”),ie=oe.find(“>.jspTrack”),K=ie.find(“>.jspDrag”),X.showArrows&&(ae=t(”).bind(“mousedown.jsp”,p(0,-1)).bind(“click.jsp”,T),le=t(”).bind(“mousedown.jsp”,p(0,1)).bind(“click.jsp”,T),X.arrowScrollOnHover&&(ae.bind(“mouseover.jsp”,p(0,-1,ae)),le.bind(“mouseover.jsp”,p(0,1,le))),c(ie,X.verticalArrowPositions,ae,le)),ne=O,N.find(“>.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow”).each(function(){ne-=t(this).outerHeight()}),K.hover(function(){K.addClass(“jspHover”)},function(){K.removeClass(“jspHover”)}).bind(“mousedown.jsp”,function(e){t(“html”).bind(“dragstart.jsp selectstart.jsp”,T),K.addClass(“jspActive”);var o=e.pageY-K.position().top;return t(“html”).bind(“mousemove.jsp”,function(t){b(t.pageY-o,!1)}).bind(“mouseup.jsp mouseleave.jsp”,g),!1}),n())}function n(){ie.height(ne+”px”),$=0,re=X.verticalGutter+ie.outerWidth(),E.width(z-re-me);try{0===oe.position().left&&E.css(“margin-left”,re+”px”)}catch(t){}}function s(){U&&(N.append(t(”).append(t(”),t(”).append(t(”).append(t(”),t(”))),t(”))),ce=N.find(“>.jspHorizontalBar”),pe=ce.find(“>.jspTrack”),J=pe.find(“>.jspDrag”),X.showArrows&&(ue=t(”).bind(“mousedown.jsp”,p(-1,0)).bind(“click.jsp”,T),ge=t(”).bind(“mousedown.jsp”,p(1,0)).bind(“click.jsp”,T),X.arrowScrollOnHover&&(ue.bind(“mouseover.jsp”,p(-1,0,ue)),ge.bind(“mouseover.jsp”,p(1,0,ge))),c(pe,X.horizontalArrowPositions,ue,ge)),J.hover(function(){J.addClass(“jspHover”)},function(){J.removeClass(“jspHover”)}).bind(“mousedown.jsp”,function(e){t(“html”).bind(“dragstart.jsp selectstart.jsp”,T),J.addClass(“jspActive”);var o=e.pageX-J.position().left;return t(“html”).bind(“mousemove.jsp”,function(t){m(t.pageX-o,!1)}).bind(“mouseup.jsp mouseleave.jsp”,g),!1}),de=N.innerWidth(),a())}function a(){N.find(“>.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow”).each(function(){de-=t(this).outerWidth()}),pe.width(de+”px”),ee=0}function l(){if(U&&Z){var e=pe.outerHeight(),o=ie.outerWidth();ne-=e,t(ce).find(“>.jspCap:visible,>.jspArrow”).each(function(){de+=t(this).outerWidth()}),de-=o,O-=o,z-=e,pe.parent().append(t(”).css(“width”,e+”px”)),n(),a()}U&&E.width(N.outerWidth()-me+”px”),V=E.outerHeight(),G=V/O,U&&(he=Math.ceil(1/q*de),he>X.horizontalDragMaxWidth?he=X.horizontalDragMaxWidth:heX.verticalDragMaxHeight?se=X.verticalDragMaxHeight:sen)$-p>r?ye.scrollByY(-c):b(r);else{if(!(n>0))return void l();r>$+p?ye.scrollByY(c):b(r)}o=setTimeout(a,s?X.initialDelay:X.trackClickRepeatFreq),s=!1},l=function(){o&&clearTimeout(o),o=null,t(document).unbind(“mouseup.jsp”,l)};return a(),t(document).bind(“mouseup.jsp”,l),!1}}),U&&pe.bind(“mousedown.jsp”,function(e){if(void 0===e.originalTarget||e.originalTarget==e.currentTarget){var o,i=t(this),r=i.offset(),n=e.pageX-r.left-ee,s=!0,a=function(){var t=i.offset(),r=e.pageX-t.left-he/2,c=z*X.scrollPagePercent,p=te*c/(F-z);if(0>n)ee-p>r?ye.scrollByX(-c):m(r);else{if(!(n>0))return void l();r>ee+p?ye.scrollByX(c):m(r)}o=setTimeout(a,s?X.initialDelay:X.trackClickRepeatFreq),s=!1},l=function(){o&&clearTimeout(o),o=null,t(document).unbind(“mouseup.jsp”,l)};return a(),t(document).bind(“mouseup.jsp”,l),!1}})}function u(){pe&&pe.unbind(“mousedown.jsp”),ie&&ie.unbind(“mousedown.jsp”)}function g(){t(“html”).unbind(“dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp”),K&&K.removeClass(“jspActive”),J&&J.removeClass(“jspActive”)}function b(o,i){if(Z){0>o?o=0:o>Q&&(o=Q);var r=new t.Event(“jsp-will-scroll-y”);if(e.trigger(r,[o]),!r.isDefaultPrevented()){var n=o||0,s=0===n,a=n==Q,l=o/Q,c=-l*(V-O);void 0===i&&(i=X.animateScroll),i?ye.animate(K,”top”,o,f,function(){e.trigger(“jsp-user-scroll-y”,[-c,s,a])}):(K.css(“top”,o),f(o),e.trigger(“jsp-user-scroll-y”,[-c,s,a]))}}}function f(t){void 0===t&&(t=K.position().top),N.scrollTop(0),$=t||0;var o=0===$,i=$==Q,r=t/Q,n=-r*(V-O);(_e!=o||Ie!=i)&&(_e=o,Ie=i,e.trigger(“jsp-arrow-change”,[_e,Ie,we,ke])),y(o,i),E.css(“top”,n),e.trigger(“jsp-scroll-y”,[-n,o,i]).trigger(“scroll”)}function m(o,i){if(U){0>o?o=0:o>te&&(o=te);var r=new t.Event(“jsp-will-scroll-x”);if(e.trigger(r,[o]),!r.isDefaultPrevented()){var n=o||0,s=0===n,a=n==te,l=o/te,c=-l*(F-z);void 0===i&&(i=X.animateScroll),i?ye.animate(J,”left”,o,v,function(){e.trigger(“jsp-user-scroll-x”,[-c,s,a])}):(J.css(“left”,o),v(o),e.trigger(“jsp-user-scroll-x”,[-c,s,a]))}}}function v(t){void 0===t&&(t=J.position().left),N.scrollTop(0),ee=t||0;var o=0===ee,i=ee==te,r=t/te,n=-r*(F-z);(we!=o||ke!=i)&&(we=o,ke=i,e.trigger(“jsp-arrow-change”,[_e,Ie,we,ke])),_(o,i),E.css(“left”,n),e.trigger(“jsp-scroll-x”,[-n,o,i]).trigger(“scroll”)}function y(t,e){X.showArrows&&(ae[t?”addClass”:”removeClass”](“jspDisabled”),le[e?”addClass”:”removeClass”](“jspDisabled”))}function _(t,e){X.showArrows&&(ue[t?”addClass”:”removeClass”](“jspDisabled”),ge[e?”addClass”:”removeClass”](“jspDisabled”))}function w(t,e){var o=t/(V-O);b(o*Q,e)}function I(t,e){var o=t/(F-z);m(o*te,e)}function k(e,o,i){var r,n,s,a,l,c,p,d,h,u=0,g=0;try{r=t(e)}catch(b){return}for(n=r.outerHeight(),s=r.outerWidth(),N.scrollTop(0),N.scrollLeft(0);!r.is(“.jspPane”);)if(u+=r.position().top,g+=r.position().left,r=r.offsetParent(),/^body|html$/i.test(r[0].nodeName))return;a=C(),c=a+O,a>u||o?d=u-X.horizontalGutter:u+n>c&&(d=u-O+n+X.horizontalGutter),isNaN(d)||w(d,i),l=B(),p=l+z,l>g||o?h=g-X.horizontalGutter:g+s>p&&(h=g-z+s+X.horizontalGutter),isNaN(h)||I(h,i)}function B(){return-E.position().left}function C(){return-E.position().top}function R(){var t=V-O;return t>20&&t-C()20&&t-B()1){var e,o,i=escape(location.hash.substr(1));try{e=t(“#”+i+’, a[name=”‘+i+'”]’)}catch(r){return}e.length&&E.find(i)&&(0===N.scrollTop()?o=setInterval(function(){N.scrollTop()>0&&(k(e,!0),t(document).scrollTop(N.position().top),clearInterval(o))},50):(k(e,!0),t(document).scrollTop(N.position().top)))}}function P(){t(document.body).data(“jspHijack”)||(t(document.body).data(“jspHijack”,!0),t(document.body).delegate(‘a[href*=”#”]’,”click”,function(e){var o,i,r,n,s,a,l=this.href.substr(0,this.href.indexOf(“#”)),c=location.href;if(-1!==location.href.indexOf(“#”)&&(c=location.href.substr(0,location.href.indexOf(“#”))),l===c){o=escape(this.href.substr(this.href.indexOf(“#”)+1));try{i=t(“#”+o+’, a[name=”‘+o+'”]’)}catch(p){return}i.length&&(r=i.closest(“.jspScrollable”),n=r.data(“jsp”),n.scrollToElement(i,!0),r[0].scrollIntoView&&(s=t(window).scrollTop(),a=i.offset().top,(s>a||a>s+t(window).height())&&r[0].scrollIntoView()),e.preventDefault())}}))}function A(){var t,e,o,i,r,n=!1;N.unbind(“touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick”).bind(“touchstart.jsp”,function(s){var a=s.originalEvent.touches[0];t=B(),e=C(),o=a.pageX,i=a.pageY,r=!1,n=!0}).bind(“touchmove.jsp”,function(s){if(n){var a=s.originalEvent.touches[0],l=ee,c=$;return ye.scrollTo(t+o-a.pageX,e+i-a.pageY),r=r||Math.abs(o-a.pageX)>5||Math.abs(i-a.pageY)>5,l==ee&&c==$}}).bind(“touchend.jsp”,function(){n=!1}).bind(“click.jsp-touchclick”,function(){return r?(r=!1,!1):void 0})}function Y(){var t=C(),o=B();e.removeClass(“jspScrollable”).unbind(“.jsp”),E.unbind(“.jsp”),e.replaceWith(Be.append(E.children())),Be.scrollTop(t),Be.scrollLeft(o),be&&clearInterval(be)}var X,E,z,O,N,F,V,q,G,Z,U,K,Q,$,J,te,ee,oe,ie,re,ne,se,ae,le,ce,pe,de,he,ue,ge,be,fe,me,ve,ye=this,_e=!0,we=!0,Ie=!1,ke=!1,Be=e.clone(!1,!1).empty(),Ce=t.fn.mwheelIntent?”mwheelIntent.jsp”:”mousewheel.jsp”;”border-box”===e.css(“box-sizing”)?(fe=0,me=0):(fe=e.css(“paddingTop”)+” “+e.css(“paddingRight”)+” “+e.css(“paddingBottom”)+” “+e.css(“paddingLeft”),me=(parseInt(e.css(“paddingLeft”),10)||0)+(parseInt(e.css(“paddingRight”),10)||0)),t.extend(ye,{reinitialise:function(e){e=t.extend({},X,e),i(e)},scrollToElement:function(t,e,o){k(t,e,o)},scrollTo:function(t,e,o){I(t,o),w(e,o)},scrollToX:function(t,e){I(t,e)},scrollToY:function(t,e){w(t,e)},scrollToPercentX:function(t,e){I(t*(F-z),e)},scrollToPercentY:function(t,e){w(t*(V-O),e)},scrollBy:function(t,e,o){ye.scrollByX(t,o),ye.scrollByY(e,o)},scrollByX:function(t,e){var o=B()+Math[0>t?”floor”:”ceil”](t),i=o/(F-z);m(i*te,e)},scrollByY:function(t,e){var o=C()+Math[0>t?”floor”:”ceil”](t),i=o/(V-O);b(i*Q,e)},positionDragX:function(t,e){m(t,e)},positionDragY:function(t,e){b(t,e)},animate:function(t,e,o,i,r){var n={};n[e]=o,t.animate(n,{duration:X.animateDuration,easing:X.animateEase,queue:!1,step:i,complete:r})},getContentPositionX:function(){return B()},getContentPositionY:function(){return C()},getContentWidth:function(){return F},getContentHeight:function(){return V},getPercentScrolledX:function(){return B()/(F-z)},getPercentScrolledY:function(){return C()/(V-O)},getIsScrollableH:function(){return U},getIsScrollableV:function(){return Z},getContentPane:function(){return E},scrollToBottom:function(t){b(Q,t)},hijackInternalLinks:t.noop,destroy:function(){Y()}}),i(o)}return e=t.extend({},t.fn.jScrollPane.defaults,e),t.each([“arrowButtonSpeed”,”trackClickSpeed”,”keyboardSpeed”],function(){e[this]=e[this]||e.speed}),this.each(function(){var i=t(this),r=i.data(“jsp”);r?r.reinitialise(e):(t(“script”,i).filter(‘[type=”text/javascript”],:not([type])’).remove(),r=new o(i,e),i.data(“jsp”,r))})},t.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:void 0,animateScroll:!1,animateDuration:300,animateEase:”linear”,hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:”split”,horizontalArrowPositions:”split”,enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8}}),MapLabel.prototype=new google.maps.OverlayView,window.MapLabel=MapLabel,MapLabel.prototype.changed=function(t){switch(t){case”fontFamily”:case”fontSize”:case”fontColor”:case”strokeWeight”:case”strokeColor”:case”align”:case”text”:return this.drawCanvas_();case”maxZoom”:case”minZoom”:case”position”:return this.draw()}},MapLabel.prototype.drawCanvas_=function(){var t=this.canvas_;if(t){var e=t.style;e.zIndex=this.get(“zIndex”);var o=t.getContext(“2d”);o.clearRect(0,0,t.width,t.height),o.strokeStyle=this.get(“strokeColor”),o.fillStyle=this.get(“fontColor”),o.font=this.get(“fontSize”)+”px “+this.get(“fontFamily”);var i=Number(this.get(“strokeWeight”)),r=this.get(“text”);if(r){i&&(o.lineWidth=i,o.strokeText(r,i,i)),o.fillText(r,i,i);var n=o.measureText(r),s=n.width+i;e.marginLeft=this.getMarginLeft_(s)+”px”,e.marginTop=”-0.4em”}}},MapLabel.prototype.onAdd=function(){var t=this.canvas_=document.createElement(“canvas”),e=t.style;e.position=”absolute”;var o=t.getContext(“2d”);o.lineJoin=”round”,o.textBaseline=”top”,this.drawCanvas_();var i=this.getPanes();i&&i.mapPane.appendChild(t)},MapLabel.prototype.onAdd=MapLabel.prototype.onAdd,MapLabel.prototype.getMarginLeft_=function(t){switch(this.get(“align”)){case”left”:return 0;case”right”:return-t}return t/-2},MapLabel.prototype.draw=function(){var t=this.getProjection();if(t&&this.canvas_){var e=this.get(“position”);if(e){var o=t.fromLatLngToDivPixel(e),i=this.canvas_.style;i.top=o.y+”px”,i.left=o.x+”px”,i.visibility=this.getVisible_()}}},MapLabel.prototype.draw=MapLabel.prototype.draw,MapLabel.prototype.getVisible_=function(){var t=this.get(“minZoom”),e=this.get(“maxZoom”);if(void 0===t&&void 0===e)return””;var o=this.getMap();if(!o)return””;var i=o.getZoom();return t>i||i>e?”hidden”:””},MapLabel.prototype.onRemove=function(){var t=this.canvas_;t&&t.parentNode&&t.parentNode.removeChild(t)},MapLabel.prototype.onRemove=MapLabel.prototype.onRemove,RichMarker.prototype=new google.maps.OverlayView,window.RichMarker=RichMarker,RichMarker.prototype.getVisible=function(){return this.get(“visible”)},RichMarker.prototype.getVisible=RichMarker.prototype.getVisible,RichMarker.prototype.setVisible=function(t){this.set(“visible”,t)},RichMarker.prototype.setVisible=RichMarker.prototype.setVisible,RichMarker.prototype.visible_changed=function(){this.ready_&&(this.markerWrapper_.style.display=this.getVisible()?””:”none”,this.draw())},RichMarker.prototype.visible_changed=RichMarker.prototype.visible_changed,RichMarker.prototype.setFlat=function(t){this.set(“flat”,!!t)},RichMarker.prototype.setFlat=RichMarker.prototype.setFlat,RichMarker.prototype.getFlat=function(){return this.get(“flat”)},RichMarker.prototype.getFlat=RichMarker.prototype.getFlat,RichMarker.prototype.getWidth=function(){return this.get(“width”)},RichMarker.prototype.getWidth=RichMarker.prototype.getWidth,RichMarker.prototype.getHeight=function(){return this.get(“height”)},RichMarker.prototype.getHeight=RichMarker.prototype.getHeight,RichMarker.prototype.setShadow=function(t){this.set(“shadow”,t),this.flat_changed()},RichMarker.prototype.setShadow=RichMarker.prototype.setShadow,RichMarker.prototype.getShadow=function(){return this.get(“shadow”)},RichMarker.prototype.getShadow=RichMarker.prototype.getShadow,RichMarker.prototype.flat_changed=function(){this.ready_&&(this.markerWrapper_.style.boxShadow=this.markerWrapper_.style.webkitBoxShadow=this.markerWrapper_.style.MozBoxShadow=this.getFlat()?””:this.getShadow())},RichMarker.prototype.flat_changed=RichMarker.prototype.flat_changed,RichMarker.prototype.setZIndex=function(t){this.set(“zIndex”,t)},RichMarker.prototype.setZIndex=RichMarker.prototype.setZIndex,RichMarker.prototype.getZIndex=function(){return this.get(“zIndex”)},RichMarker.prototype.getZIndex=RichMarker.prototype.getZIndex,RichMarker.prototype.zIndex_changed=function(){this.getZIndex()&&this.ready_&&(this.markerWrapper_.style.zIndex=this.getZIndex())},RichMarker.prototype.zIndex_changed=RichMarker.prototype.zIndex_changed,RichMarker.prototype.getDraggable=function(){return this.get(“draggable”)},RichMarker.prototype.getDraggable=RichMarker.prototype.getDraggable,RichMarker.prototype.setDraggable=function(t){this.set(“draggable”,!!t)},RichMarker.prototype.setDraggable=RichMarker.prototype.setDraggable,RichMarker.prototype.draggable_changed=function(){this.ready_&&(this.getDraggable()?this.addDragging_(this.markerWrapper_):this.removeDragListeners_())},RichMarker.prototype.draggable_changed=RichMarker.prototype.draggable_changed,RichMarker.prototype.getPosition=function(){return this.get(“position”)},RichMarker.prototype.getPosition=RichMarker.prototype.getPosition,RichMarker.prototype.setPosition=function(t){this.set(“position”,t)},RichMarker.prototype.setPosition=RichMarker.prototype.setPosition,RichMarker.prototype.position_changed=function(){this.draw()},RichMarker.prototype.position_changed=RichMarker.prototype.position_changed,RichMarker.prototype.getAnchor=function(){return this.get(“anchor”)},RichMarker.prototype.getAnchor=RichMarker.prototype.getAnchor,RichMarker.prototype.setAnchor=function(t){this.set(“anchor”,t)},RichMarker.prototype.setAnchor=RichMarker.prototype.setAnchor,RichMarker.prototype.anchor_changed=function(){this.draw()},RichMarker.prototype.anchor_changed=RichMarker.prototype.anchor_changed,RichMarker.prototype.htmlToDocumentFragment_=function(t){var e=document.createElement(“DIV”);if(e.innerHTML=t,1==e.childNodes.length)return e.removeChild(e.firstChild);for(var o=document.createDocumentFragment();e.firstChild;)o.appendChild(e.firstChild);return o},RichMarker.prototype.removeChildren_=function(t){if(t)for(var e;e=t.firstChild;)t.removeChild(e)},RichMarker.prototype.setContent=function(t){this.set(“content”,t)},RichMarker.prototype.setContent=RichMarker.prototype.setContent,RichMarker.prototype.getContent=function(){return this.get(“content”)},RichMarker.prototype.getContent=RichMarker.prototype.getContent,RichMarker.prototype.content_changed=function(){if(this.markerContent_){this.removeChildren_(this.markerContent_);var t=this.getContent();if(t){“string”==typeof t&&(t=t.replace(/^s*([Ss]*)bs*$/,”$1”),t=this.htmlToDocumentFragment_(t)),this.markerContent_.appendChild(t);for(var e,o=this,i=this.markerContent_.getElementsByTagName(“IMG”),r=0;e=i[r];r++)google.maps.event.addDomListener(e,”mousedown”,function(t){o.getDraggable()&&(t.preventDefault&&t.preventDefault(),t.returnValue=!1)}),google.maps.event.addDomListener(e,”load”,function(){o.draw()});google.maps.event.trigger(this,”domready”)}this.ready_&&this.draw()}},RichMarker.prototype.content_changed=RichMarker.prototype.content_changed,RichMarker.prototype.setCursor_=function(t){if(this.ready_){var e=””;-1!==navigator.userAgent.indexOf(“Gecko/”)?(“dragging”==t&&(e=”-moz-grabbing”),”dragready”==t&&(e=”-moz-grab”),”draggable”==t&&(e=”pointer”)):((“dragging”==t||”dragready”==t)&&(e=”move”),”draggable”==t&&(e=”pointer”)),this.markerWrapper_.style.cursor!=e&&(this.markerWrapper_.style.cursor=e)}},RichMarker.prototype.startDrag=function(t){if(this.getDraggable()&&!this.dragging_){this.dragging_=!0;var e=this.getMap();this.mapDraggable_=e.get(“draggable”),e.set(“draggable”,!1),this.mouseX_=t.clientX,this.mouseY_=t.clientY,this.setCursor_(“dragready”),this.markerWrapper_.style.MozUserSelect=”none”,this.markerWrapper_.style.KhtmlUserSelect=”none”,this.markerWrapper_.style.WebkitUserSelect=”none”,this.markerWrapper_.unselectable=”on”,this.markerWrapper_.onselectstart=function(){return!1},this.addDraggingListeners_(),google.maps.event.trigger(this,”dragstart”)}},RichMarker.prototype.stopDrag=function(){this.getDraggable()&&this.dragging_&&(this.dragging_=!1,this.getMap().set(“draggable”,this.mapDraggable_),this.mouseX_=this.mouseY_=this.mapDraggable_=null,this.markerWrapper_.style.MozUserSelect=””,this.markerWrapper_.style.KhtmlUserSelect=””,this.markerWrapper_.style.WebkitUserSelect=””,this.markerWrapper_.unselectable=”off”,this.markerWrapper_.onselectstart=function(){},this.removeDraggingListeners_(),this.setCursor_(“draggable”),google.maps.event.trigger(this,”dragend”),this.draw())},RichMarker.prototype.drag=function(t){if(!this.getDraggable()||!this.dragging_)return this.stopDrag(),void 0;var e=this.mouseX_-t.clientX,o=this.mouseY_-t.clientY;this.mouseX_=t.clientX,this.mouseY_=t.clientY;var i=parseInt(this.markerWrapper_.style.left,10)-e,r=parseInt(this.markerWrapper_.style.top,10)-o;this.markerWrapper_.style.left=i+”px”,this.markerWrapper_.style.top=r+”px”;var n=this.getOffset_(),s=new google.maps.Point(i-n.width,r-n.height),a=this.getProjection();this.setPosition(a.fromDivPixelToLatLng(s)),this.setCursor_(“dragging”),google.maps.event.trigger(this,”drag”)},RichMarker.prototype.removeDragListeners_=function(){this.draggableListener_&&(google.maps.event.removeListener(this.draggableListener_),delete this.draggableListener_),this.setCursor_(“”)},RichMarker.prototype.addDragging_=function(t){if(t){var e=this;this.draggableListener_=google.maps.event.addDomListener(t,”mousedown”,function(t){e.startDrag(t)}),this.setCursor_(“draggable”)}},RichMarker.prototype.addDraggingListeners_=function(){var t=this;this.markerWrapper_.setCapture?(this.markerWrapper_.setCapture(!0),this.draggingListeners_=[google.maps.event.addDomListener(this.markerWrapper_,”mousemove”,function(e){t.drag(e)},!0),google.maps.event.addDomListener(this.markerWrapper_,”mouseup”,function(){t.stopDrag(),t.markerWrapper_.releaseCapture()},!0)]):this.draggingListeners_=[google.maps.event.addDomListener(window,”mousemove”,function(e){t.drag(e)},!0),google.maps.event.addDomListener(window,”mouseup”,function(){t.stopDrag()},!0)]},RichMarker.prototype.removeDraggingListeners_=function(){if(this.draggingListeners_){for(var t,e=0;t=this.draggingListeners_[e];e++)google.maps.event.removeListener(t);this.draggingListeners_.length=0}},RichMarker.prototype.getOffset_=function(){var t=this.getAnchor();if(“object”==typeof t)return t;var e=new google.maps.Size(0,0);if(!this.markerContent_)return e;var o=this.markerContent_.offsetWidth,i=this.markerContent_.offsetHeight;switch(t){case RichMarkerPosition.TOP_LEFT:break;case RichMarkerPosition.TOP:e.width=-o/2;break;case RichMarkerPosition.TOP_RIGHT:e.width=-o;break;case RichMarkerPosition.LEFT:e.height=-i/2;break;case RichMarkerPosition.MIDDLE:e.width=-o/2,e.height=-i/2;break;case RichMarkerPosition.RIGHT:e.width=-o,e.height=-i/2;break;case RichMarkerPosition.BOTTOM_LEFT:e.height=-i;break;case RichMarkerPosition.BOTTOM:e.width=-o/2,e.height=-i;break;case RichMarkerPosition.BOTTOM_RIGHT:e.width=-o,e.height=-i}return e},RichMarker.prototype.onAdd=function(){if(this.markerWrapper_||(this.markerWrapper_=document.createElement(“DIV”),this.markerWrapper_.style.position=”absolute”),this.getZIndex()&&(this.markerWrapper_.style.zIndex=this.getZIndex()),this.markerWrapper_.style.display=this.getVisible()?””:”none”,!this.markerContent_){this.markerContent_=document.createElement(“DIV”),this.markerWrapper_.appendChild(this.markerContent_);var t=this;google.maps.event.addDomListener(this.markerContent_,”click”,function(e){google.maps.event.trigger(t,”click”,e)}),google.maps.event.addDomListener(this.markerContent_,”mouseover”,function(e){google.maps.event.trigger(t,”mouseover”,e)}),google.maps.event.addDomListener(this.markerContent_,”mouseout”,function(e){google.maps.event.trigger(t,”mouseout”,e)})}this.ready_=!0,this.content_changed(),this.flat_changed(),this.draggable_changed();var e=this.getPanes();e&&e.overlayMouseTarget.appendChild(this.markerWrapper_),google.maps.event.trigger(this,”ready”)},RichMarker.prototype.onAdd=RichMarker.prototype.onAdd,RichMarker.prototype.draw=function(){if(this.ready_&&!this.dragging_){var t=this.getProjection();if(t){var e=this.get(“position”),o=t.fromLatLngToDivPixel(e),i=this.getOffset_();this.markerWrapper_.style.top=o.y+i.height+”px”,this.markerWrapper_.style.left=o.x+i.width+”px”;var r=this.markerContent_.offsetHeight,n=this.markerContent_.offsetWidth;n!=this.get(“width”)&&this.set(“width”,n),r!=this.get(“height”)&&this.set(“height”,r)}}},RichMarker.prototype.draw=RichMarker.prototype.draw,RichMarker.prototype.onRemove=function(){this.markerWrapper_&&this.markerWrapper_.parentNode&&this.markerWrapper_.parentNode.removeChild(this.markerWrapper_),this.removeDragListeners_()},RichMarker.prototype.onRemove=RichMarker.prototype.onRemove;var RichMarkerPosition={TOP_LEFT:1,TOP:2,TOP_RIGHT:3,LEFT:4,MIDDLE:5,RIGHT:6,BOTTOM_LEFT:7,BOTTOM:8,BOTTOM_RIGHT:9};window.RichMarkerPosition=RichMarkerPosition,function(t){“function”==typeof define&&define.amd?define([“jquery”],t):”object”==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var s=e||window.event,a=l.call(arguments,1),c=0,d=0,h=0,u=0,g=0,b=0;if(e=t.event.fix(s),e.type=”mousewheel”,”detail”in s&&(h=-1*s.detail),”wheelDelta”in s&&(h=s.wheelDelta),”wheelDeltaY”in s&&(h=s.wheelDeltaY),”wheelDeltaX”in s&&(d=-1*s.wheelDeltaX),”axis”in s&&s.axis===s.HORIZONTAL_AXIS&&(d=-1*h,h=0),c=0===h?d:h,”deltaY”in s&&(h=-1*s.deltaY,c=h),”deltaX”in s&&(d=s.deltaX,0===h&&(c=-1*d)),0!==h||0!==d){if(1===s.deltaMode){var f=t.data(this,”mousewheel-line-height”);
c*=f,h*=f,d*=f}else if(2===s.deltaMode){var m=t.data(this,”mousewheel-page-height”);c*=m,h*=m,d*=m}if(u=Math.max(Math.abs(h),Math.abs(d)),(!n||n>u)&&(n=u,i(s,u)&&(n/=40)),i(s,u)&&(c/=40,d/=40,h/=40),c=Math[c>=1?”floor”:”ceil”](c/n),d=Math[d>=1?”floor”:”ceil”](d/n),h=Math[h>=1?”floor”:”ceil”](h/n),p.settings.normalizeOffset&&this.getBoundingClientRect){var v=this.getBoundingClientRect();g=e.clientX-v.left,b=e.clientY-v.top}return e.deltaX=d,e.deltaY=h,e.deltaFactor=n,e.offsetX=g,e.offsetY=b,e.deltaMode=0,a.unshift(e,c,d,h),r&&clearTimeout(r),r=setTimeout(o,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function o(){n=null}function i(t,e){return p.settings.adjustOldDeltas&&”mousewheel”===t.type&&e%120===0}var r,n,s=[“wheel”,”mousewheel”,”DOMMouseScroll”,”MozMousePixelScroll”],a=”onwheel”in document||document.documentMode>=9?[“wheel”]:[“mousewheel”,”DomMouseScroll”,”MozMousePixelScroll”],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=s.length;c;)t.event.fixHooks[s[–c]]=t.event.mouseHooks;var p=t.event.special.mousewheel={version:”3.1.12″,setup:function(){if(this.addEventListener)for(var o=a.length;o;)this.addEventListener(a[–o],e,!1);else this.onmousewheel=e;t.data(this,”mousewheel-line-height”,p.getLineHeight(this)),t.data(this,”mousewheel-page-height”,p.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var o=a.length;o;)this.removeEventListener(a[–o],e,!1);else this.onmousewheel=null;t.removeData(this,”mousewheel-line-height”),t.removeData(this,”mousewheel-page-height”)},getLineHeight:function(e){var o=t(e),i=o[“offsetParent”in t.fn?”offsetParent”:”parent”]();return i.length||(i=t(“body”)),parseInt(i.css(“fontSize”),10)||parseInt(o.css(“fontSize”),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind(“mousewheel”,t):this.trigger(“mousewheel”)},unmousewheel:function(t){return this.unbind(“mousewheel”,t)}})}),!function t(e,o,i){function r(s,a){if(!o[s]){if(!e[s]){var l=”function”==typeof require&&require;if(!a&&l)return l(s,!0);if(n)return n(s,!0);var c=new Error(“Cannot find module ‘”+s+”‘”);throw c.code=”MODULE_NOT_FOUND”,c}var p=o[s]={exports:{}};e[s][0].call(p.exports,function(t){var o=e[s][1][t];return r(o?o:t)},p,p.exports,t,e,o,i)}return o[s].exports}for(var n=”function”==typeof require&&require,s=0;s=0&&o.splice(i,1),t.className=o.join(” “)}o.add=function(t,e){t.classList?t.classList.add(e):i(t,e)},o.remove=function(t,e){t.classList?t.classList.remove(e):r(t,e)},o.list=function(t){return t.classList?Array.prototype.slice.apply(t.classList):t.className.split(” “)}},{}],3:[function(t,e){“use strict”;function o(t,e){return window.getComputedStyle(t)[e]}function i(t,e,o){return”number”==typeof o&&(o=o.toString()+”px”),t.style[e]=o,t}function r(t,e){for(var o in e){var i=e[o];”number”==typeof i&&(i=i.toString()+”px”),t.style[o]=i}return t}var n={};n.e=function(t,e){var o=document.createElement(t);return o.className=e,o},n.appendTo=function(t,e){return e.appendChild(t),t},n.css=function(t,e,n){return”object”==typeof e?r(t,e):”undefined”==typeof n?o(t,e):i(t,e,n)},n.matches=function(t,e){return”undefined”!=typeof t.matches?t.matches(e):”undefined”!=typeof t.matchesSelector?t.matchesSelector(e):”undefined”!=typeof t.webkitMatchesSelector?t.webkitMatchesSelector(e):”undefined”!=typeof t.mozMatchesSelector?t.mozMatchesSelector(e):”undefined”!=typeof t.msMatchesSelector?t.msMatchesSelector(e):void 0},n.remove=function(t){“undefined”!=typeof t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)},n.queryChildren=function(t,e){return Array.prototype.filter.call(t.childNodes,function(t){return n.matches(t,e)})},e.exports=n},{}],4:[function(t,e){“use strict”;var o=function(t){this.element=t,this.events={}};o.prototype.bind=function(t,e){“undefined”==typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e),this.element.addEventListener(t,e,!1)},o.prototype.unbind=function(t,e){var o=”undefined”!=typeof e;this.events[t]=this.events[t].filter(function(i){return o&&i!==e?!0:(this.element.removeEventListener(t,i,!1),!1)},this)},o.prototype.unbindAll=function(){for(var t in this.events)this.unbind(t)};var i=function(){this.eventElements=[]};i.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return”undefined”==typeof e&&(e=new o(t),this.eventElements.push(e)),e},i.prototype.bind=function(t,e,o){this.eventElement(t).bind(e,o)},i.prototype.unbind=function(t,e,o){this.eventElement(t).unbind(e,o)},i.prototype.unbindAll=function(){for(var t=0;tp?p=0:p>1&&(p=1),s(t,”top”,(e.contentHeight-e.containerHeight)*p),n(t),r.stopPropagation()}),e.settings.stopPropagationOnClick&&e.event.bind(e.scrollbarX,”click”,r),e.event.bind(e.scrollbarXRail,”click”,function(r){var a=i.toInt(e.scrollbarXWidth/2),l=e.railXRatio*(r.pageX-window.pageXOffset-o(e.scrollbarXRail).left-a),c=e.railXRatio*(e.railXWidth-e.scrollbarXWidth),p=l/c;0>p?p=0:p>1&&(p=1),s(t,”left”,(e.contentWidth-e.containerWidth)*p-e.negativeScrollAdjustment),n(t),r.stopPropagation()})}var i=t(“../../lib/helper”),r=t(“../instances”),n=t(“../update-geometry”),s=t(“../update-scroll”);e.exports=function(t){var e=r.get(t);o(t,e)}},{“../../lib/helper”:6,”../instances”:18,”../update-geometry”:19,”../update-scroll”:20}],11:[function(t,e){“use strict”;function o(t,e){function o(o){var n=i+o*e.railXRatio,s=Math.max(0,e.scrollbarXRail.getBoundingClientRect().left)+e.railXRatio*(e.railXWidth-e.scrollbarXWidth);e.scrollbarXLeft=0>n?0:n>s?s:n;var a=r.toInt(e.scrollbarXLeft*(e.contentWidth-e.containerWidth)/(e.containerWidth-e.railXRatio*e.scrollbarXWidth))-e.negativeScrollAdjustment;l(t,”left”,a)}var i=null,s=null,c=function(e){o(e.pageX-s),a(t),e.stopPropagation(),e.preventDefault()},p=function(){r.stopScrolling(t,”x”),e.event.unbind(e.ownerDocument,”mousemove”,c)};e.event.bind(e.scrollbarX,”mousedown”,function(o){s=o.pageX,i=r.toInt(n.css(e.scrollbarX,”left”))*e.railXRatio,r.startScrolling(t,”x”),e.event.bind(e.ownerDocument,”mousemove”,c),e.event.once(e.ownerDocument,”mouseup”,p),o.stopPropagation(),o.preventDefault()})}function i(t,e){function o(o){var n=i+o*e.railYRatio,s=Math.max(0,e.scrollbarYRail.getBoundingClientRect().top)+e.railYRatio*(e.railYHeight-e.scrollbarYHeight);e.scrollbarYTop=0>n?0:n>s?s:n;var a=r.toInt(e.scrollbarYTop*(e.contentHeight-e.containerHeight)/(e.containerHeight-e.railYRatio*e.scrollbarYHeight));l(t,”top”,a)}var i=null,s=null,c=function(e){o(e.pageY-s),a(t),e.stopPropagation(),e.preventDefault()},p=function(){r.stopScrolling(t,”y”),e.event.unbind(e.ownerDocument,”mousemove”,c)};e.event.bind(e.scrollbarY,”mousedown”,function(o){s=o.pageY,i=r.toInt(n.css(e.scrollbarY,”top”))*e.railYRatio,r.startScrolling(t,”y”),e.event.bind(e.ownerDocument,”mousemove”,c),e.event.once(e.ownerDocument,”mouseup”,p),o.stopPropagation(),o.preventDefault()})}var r=t(“../../lib/helper”),n=t(“../../lib/dom”),s=t(“../instances”),a=t(“../update-geometry”),l=t(“../update-scroll”);e.exports=function(t){var e=s.get(t);o(t,e),i(t,e)}},{“../../lib/dom”:3,”../../lib/helper”:6,”../instances”:18,”../update-geometry”:19,”../update-scroll”:20}],12:[function(t,e){“use strict”;function o(t,e){function o(o,i){var r=t.scrollTop;if(0===o){if(!e.scrollbarYActive)return!1;if(0===r&&i>0||r>=e.contentHeight-e.containerHeight&&0>i)return!e.settings.wheelPropagation}var n=t.scrollLeft;if(0===i){if(!e.scrollbarXActive)return!1;if(0===n&&0>o||n>=e.contentWidth-e.containerWidth&&o>0)return!e.settings.wheelPropagation}return!0}var n=!1;e.event.bind(t,”mouseenter”,function(){n=!0}),e.event.bind(t,”mouseleave”,function(){n=!1});var l=!1;e.event.bind(e.ownerDocument,”keydown”,function(c){if(!c.isDefaultPrevented||!c.isDefaultPrevented()){var p=r.matches(e.scrollbarX,”:focus”)||r.matches(e.scrollbarY,”:focus”);if(n||p){var d=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(d){if(“IFRAME”===d.tagName)d=d.contentDocument.activeElement;else for(;d.shadowRoot;)d=d.shadowRoot.activeElement;if(i.isEditable(d))return}var h=0,u=0;switch(c.which){case 37:h=-30;break;case 38:u=30;break;case 39:h=30;break;case 40:u=-30;break;case 33:u=90;break;case 32:u=c.shiftKey?90:-90;break;case 34:u=-90;break;case 35:u=c.ctrlKey?-e.contentHeight:-e.containerHeight;break;case 36:u=c.ctrlKey?t.scrollTop:e.containerHeight;break;default:return}a(t,”top”,t.scrollTop-u),a(t,”left”,t.scrollLeft+h),s(t),l=o(h,u),l&&c.preventDefault()}}})}var i=t(“../../lib/helper”),r=t(“../../lib/dom”),n=t(“../instances”),s=t(“../update-geometry”),a=t(“../update-scroll”);e.exports=function(t){var e=n.get(t);o(t,e)}},{“../../lib/dom”:3,”../../lib/helper”:6,”../instances”:18,”../update-geometry”:19,”../update-scroll”:20}],13:[function(t,e){“use strict”;function o(t,e){function o(o,i){var r=t.scrollTop;if(0===o){if(!e.scrollbarYActive)return!1;if(0===r&&i>0||r>=e.contentHeight-e.containerHeight&&0>i)return!e.settings.wheelPropagation}var n=t.scrollLeft;if(0===i){if(!e.scrollbarXActive)return!1;if(0===n&&0>o||n>=e.contentWidth-e.containerWidth&&o>0)return!e.settings.wheelPropagation}return!0}function i(t){var e=t.deltaX,o=-1*t.deltaY;return(“undefined”==typeof e||”undefined”==typeof o)&&(e=-1*t.wheelDeltaX/6,o=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,o*=10),e!==e&&o!==o&&(e=0,o=t.wheelDelta),[e,o]}function s(e,o){var i=t.querySelector(“textarea:hover, .ps-child:hover”);if(i){if(“TEXTAREA”!==i.tagName&&!window.getComputedStyle(i).overflow.match(/(scroll|auto)/))return!1;var r=i.scrollHeight-i.clientHeight;if(r>0&&!(0===i.scrollTop&&o>0||i.scrollTop===r&&0>o))return!0;var n=i.scrollLeft-i.clientWidth;if(n>0&&!(0===i.scrollLeft&&0>e||i.scrollLeft===n&&e>0))return!0}return!1}function a(a){var c=i(a),p=c[0],d=c[1];s(p,d)||(l=!1,e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(d?n(t,”top”,t.scrollTop-d*e.settings.wheelSpeed):n(t,”top”,t.scrollTop+p*e.settings.wheelSpeed),l=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(p?n(t,”left”,t.scrollLeft+p*e.settings.wheelSpeed):n(t,”left”,t.scrollLeft-d*e.settings.wheelSpeed),l=!0):(n(t,”top”,t.scrollTop-d*e.settings.wheelSpeed),n(t,”left”,t.scrollLeft+p*e.settings.wheelSpeed)),r(t),l=l||o(p,d),l&&(a.stopPropagation(),a.preventDefault()))}var l=!1;”undefined”!=typeof window.onwheel?e.event.bind(t,”wheel”,a):”undefined”!=typeof window.onmousewheel&&e.event.bind(t,”mousewheel”,a)}var i=t(“../instances”),r=t(“../update-geometry”),n=t(“../update-scroll”);e.exports=function(t){var e=i.get(t);o(t,e)}},{“../instances”:18,”../update-geometry”:19,”../update-scroll”:20}],14:[function(t,e){“use strict”;function o(t,e){e.event.bind(t,”scroll”,function(){r(t)})}var i=t(“../instances”),r=t(“../update-geometry”);e.exports=function(t){var e=i.get(t);o(t,e)}},{“../instances”:18,”../update-geometry”:19}],15:[function(t,e){“use strict”;function o(t,e){function o(){var t=window.getSelection?window.getSelection():document.getSelection?document.getSelection():””;return 0===t.toString().length?null:t.getRangeAt(0).commonAncestorContainer}function a(){c||(c=setInterval(function(){return r.get(t)?(s(t,”top”,t.scrollTop+p.top),s(t,”left”,t.scrollLeft+p.left),void n(t)):void clearInterval(c)},50))}function l(){c&&(clearInterval(c),c=null),i.stopScrolling(t)}var c=null,p={top:0,left:0},d=!1;e.event.bind(e.ownerDocument,”selectionchange”,function(){t.contains(o())?d=!0:(d=!1,l())}),e.event.bind(window,”mouseup”,function(){d&&(d=!1,l())}),e.event.bind(window,”mousemove”,function(e){if(d){var o={x:e.pageX,y:e.pageY},r={left:t.offsetLeft,right:t.offsetLeft+t.offsetWidth,top:t.offsetTop,bottom:t.offsetTop+t.offsetHeight};o.xr.right-3?(p.left=5,i.startScrolling(t,”x”)):p.left=0,o.yr.bottom-3?(p.top=o.y-r.bottom+3s){if(0>i&&r===e.contentHeight-e.containerHeight||i>0&&0===r)return!e.settings.swipePropagation}else if(s>a&&(0>o&&n===e.contentWidth-e.containerWidth||o>0&&0===n))return!e.settings.swipePropagation;return!0}function l(e,o){s(t,”top”,t.scrollTop-o),s(t,”left”,t.scrollLeft-e),n(t)}function c(){_=!0}function p(){_=!1}function d(t){return t.targetTouches?t.targetTouches[0]:t}function h(t){return t.targetTouches&&1===t.targetTouches.length?!0:t.pointerType&&”mouse”!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE?!0:!1}function u(t){if(h(t)){w=!0;var e=d(t);f.pageX=e.pageX,f.pageY=e.pageY,m=(new Date).getTime(),null!==y&&clearInterval(y),t.stopPropagation()}}function g(t){if(!w&&e.settings.swipePropagation&&u(t),!_&&w&&h(t)){var o=d(t),i={pageX:o.pageX,pageY:o.pageY},r=i.pageX-f.pageX,n=i.pageY-f.pageY;l(r,n),f=i;var s=(new Date).getTime(),c=s-m;c>0&&(v.x=r/c,v.y=n/c,m=s),a(r,n)&&(t.stopPropagation(),t.preventDefault())}}function b(){!_&&w&&(w=!1,clearInterval(y),y=setInterval(function(){return r.get(t)?Math.abs(v.x)<.01 clearinterval="" f="{},m=0,v={},y=null,_=!1,w=!1;o&&(e.event.bind(window,"touchstart",c),e.event.bind(window,"touchend",p),e.event.bind(t,"touchstart",u),e.event.bind(t,"touchmove",g),e.event.bind(t,"touchend",b)),i&&(window.PointerEvent?(e.event.bind(window,"pointerdown",c),e.event.bind(window,"pointerup",p),e.event.bind(t,"pointerdown",u),e.event.bind(t,"pointermove",g),e.event.bind(t,"pointerup",b)):window.MSPointerEvent&&(e.event.bind(window,"MSPointerDown",c),e.event.bind(window,"MSPointerUp",p),e.event.bind(t,"MSPointerDown",u),e.event.bind(t,"MSPointerMove",g),e.event.bind(t,"MSPointerUp",b)))}var" i="t("../../lib/helper"),r=t("../instances"),n=t("../update-geometry"),s=t("../update-scroll");e.exports=function(t){if(i.env.supportsTouch||i.env.supportsIePointer){var" e="r.get(t);o(t,e,i.env.supportsTouch,i.env.supportsIePointer)}}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],17:[function(t,e){"use" strict="" o="t("../lib/helper"),i=t("../lib/class"),r=t("./instances"),n=t("./update-geometry"),s={"click-rail":t("./handler/click-rail"),"drag-scrollbar":t("./handler/drag-scrollbar"),keyboard:t("./handler/keyboard"),wheel:t("./handler/mouse-wheel"),touch:t("./handler/touch"),selection:t("./handler/selection")},a=t("./handler/native-scroll");e.exports=function(t,e){e="object"==typeof" l="r.add(t);l.settings=o.extend(l.settings,e),i.add(t,"ps-theme-"+l.settings.theme),l.settings.handlers.forEach(function(e){s[e](t)}),a(t),n(t)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],18:[function(t,e,o){"use" t.scrollleft="-1,o=t.scrollLeft<0,t.scrollLeft=e,o}(),i.negativeScrollAdjustment=i.isNegativeScroll?t.scrollWidth-t.clientWidth:0,i.event=new" d="" r="" t.getattribute="" n="" s="" a="t("../lib/helper"),l=t("../lib/class"),c=t("./default-setting"),p=t("../lib/dom"),d=t("../lib/event-manager"),h=t("../lib/guid"),u={};o.add=function(t){var" u="" t.settings.minscrollbarlength="" c="">0&&c.forEach(function(t){s.remove(t)}),s.appendTo(e.scrollbarXRail,t)),t.contains(e.scrollbarYRail)||(c=s.queryChildren(t,”.ps-scrollbar-y-rail”),c.length>0&&c.forEach(function(t){s.remove(t)}),s.appendTo(e.scrollbarYRail,t)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),i(t,e),e.scrollbarXActive?n.add(t,”ps-active-x”):(n.remove(t,”ps-active-x”),e.scrollbarXWidth=0,e.scrollbarXLeft=0,l(t,”left”,0)),e.scrollbarYActive?n.add(t,”ps-active-y”):(n.remove(t,”ps-active-y”),e.scrollbarYHeight=0,e.scrollbarYTop=0,l(t,”top”,0))}},{“../lib/class”:2,”../lib/dom”:3,”../lib/helper”:6,”./instances”:18,”./update-scroll”:20}],20:[function(t,e){“use strict”;var o,i,r=t(“./instances”),n=document.createEvent(“Event”),s=document.createEvent(“Event”),a=document.createEvent(“Event”),l=document.createEvent(“Event”),c=document.createEvent(“Event”),p=document.createEvent(“Event”),d=document.createEvent(“Event”),h=document.createEvent(“Event”),u=document.createEvent(“Event”),g=document.createEvent(“Event”);n.initEvent(“ps-scroll-up”,!0,!0),s.initEvent(“ps-scroll-down”,!0,!0),a.initEvent(“ps-scroll-left”,!0,!0),l.initEvent(“ps-scroll-right”,!0,!0),c.initEvent(“ps-scroll-y”,!0,!0),p.initEvent(“ps-scroll-x”,!0,!0),d.initEvent(“ps-x-reach-start”,!0,!0),h.initEvent(“ps-x-reach-end”,!0,!0),u.initEvent(“ps-y-reach-start”,!0,!0),g.initEvent(“ps-y-reach-end”,!0,!0),e.exports=function(t,e,b){if(“undefined”==typeof t)throw”You must provide an element to the update-scroll function”;if(“undefined”==typeof e)throw”You must provide an axis to the update-scroll function”;if(“undefined”==typeof b)throw”You must provide a value to the update-scroll function”;”top”===e&&0>=b&&(t.scrollTop=b=0,t.dispatchEvent(u)),”left”===e&&0>=b&&(t.scrollLeft=b=0,t.dispatchEvent(d));var f=r.get(t);”top”===e&&b>=f.contentHeight-f.containerHeight&&(b=f.contentHeight-f.containerHeight,b-t.scrollTop=f.contentWidth-f.containerWidth&&(b=f.contentWidth-f.containerWidth,b-t.scrollLeftb&&t.dispatchEvent(n),”top”===e&&b>o&&t.dispatchEvent(s),”left”===e&&i>b&&t.dispatchEvent(a),”left”===e&&b>i&&t.dispatchEvent(l),”top”===e&&(t.scrollTop=o=b,t.dispatchEvent(c)),”left”===e&&(t.scrollLeft=i=b,t.dispatchEvent(p))}},{“./instances”:18}],21:[function(t,e){“use strict”;var o=t(“../lib/helper”),i=t(“../lib/dom”),r=t(“./instances”),n=t(“./update-geometry”),s=t(“./update-scroll”);e.exports=function(t){var e=r.get(t);e&&(e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,i.css(e.scrollbarXRail,”display”,”block”),i.css(e.scrollbarYRail,”display”,”block”),e.railXMarginWidth=o.toInt(i.css(e.scrollbarXRail,”marginLeft”))+o.toInt(i.css(e.scrollbarXRail,”marginRight”)),e.railYMarginHeight=o.toInt(i.css(e.scrollbarYRail,”marginTop”))+o.toInt(i.css(e.scrollbarYRail,”marginBottom”)),i.css(e.scrollbarXRail,”display”,”none”),i.css(e.scrollbarYRail,”display”,”none”),n(t),s(t,”top”,t.scrollTop),s(t,”left”,t.scrollLeft),i.css(e.scrollbarXRail,”display”,””),i.css(e.scrollbarYRail,”display”,””))}},{“../lib/dom”:3,”../lib/helper”:6,”./instances”:18,”./update-geometry”:19,”./update-scroll”:20}]},{},[1]);

Comments 0

Your email address will not be published. Required fields are marked *

Neuroscience Continuing Medical Education Conference

reset password

Back to
log in

sign up

Captcha!
Back to
log in
Choose A Format
Personality quiz
Trivia quiz
Poll
Story
List
Open List
Ranked List
Meme
Video
Audio
Image