PageSourceSearch

https://gblawllp.com/wp-content/cache/autoptimize/js/autoptimize_single_01e285c6d7930fc9367bcfd8fec02073.js

js gblawllp.com collected 2026-10-04 02:19:22 UTC 12,315 bytes, 35 lines download raw bytes

1/*!
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *       http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15function inherits(childCtor,parentCtor){function tempCtor(){}
16tempCtor.prototype=parentCtor.prototype;childCtor.superClass_=parentCtor.prototype;childCtor.prototype=new tempCtor();childCtor.prototype.constructor=childCtor;}
17function MarkerLabel_(marker,crossURL){this.marker_=marker;this.labelDiv_=document.createElement("div");this.labelDiv_.style.cssText="position: absolute; overflow: hidden;";this.eventDiv_=document.createElement("div");this.eventDiv_.style.cssText=this.labelDiv_.style.cssText;this.eventDiv_.setAttribute("onselectstart","return false;");this.eventDiv_.setAttribute("ondragstart","return false;");this.crossDiv_=MarkerLabel_.getSharedCross(crossURL);}
18inherits(MarkerLabel_,google.maps.OverlayView);MarkerLabel_.getSharedCross=function(crossURL){var div;if(typeof MarkerLabel_.getSharedCross.crossDiv==="undefined"){div=document.createElement("img");div.style.cssText="position: absolute; z-index: 1000002; display: none;";div.style.marginLeft="-8px";div.style.marginTop="-9px";div.src=crossURL;MarkerLabel_.getSharedCross.crossDiv=div;}
19return MarkerLabel_.getSharedCross.crossDiv;};MarkerLabel_.prototype.onAdd=function(){var me=this;this.getPanes().markerLayer.appendChild(this.labelDiv_);this.getPanes().overlayMouseTarget.appendChild(this.eventDiv_);if(typeof MarkerLabel_.getSharedCross.processed==="undefined"){this.getPanes().overlayImage.appendChild(this.crossDiv_);MarkerLabel_.getSharedCross.processed=true;}
20this.addMouseListeners();this.listeners2_=[google.maps.event.addListener(this.marker_,"clickable_changed",function(){me.setClickable();}),google.maps.event.addListener(this.marker_,"cursor_changed",function(){me.setCursor();}),google.maps.event.addListener(this.marker_,"draggable_changed",function(){me.setClickable();}),google.maps.event.addListener(this.marker_,"position_changed",function(){me.setPosition();}),google.maps.event.addListener(this.marker_,"visible_changed",function(){me.setVisible();}),google.maps.event.addListener(this.marker_,"title_changed",function(){me.setTitle();}),google.maps.event.addListener(this.marker_,"zindex_changed",function(){me.setZIndex();}),google.maps.event.addListener(this.marker_,"labelanchor_changed",function(){me.setAnchor();}),google.maps.event.addListener(this.marker_,"labelclass_changed",function(){me.setStyles();}),google.maps.event.addListener(this.marker_,"labelcontent_changed",function(){me.setContent();}),google.maps.event.addListener(this.marker_,"labelstyle_changed",function(){me.setStyles();}),google.maps.event.addListener(this.marker_,"labelvisible_changed",function(){me.setVisible();})];};MarkerLabel_.prototype.addMouseListeners=function(){var me=this;var cTouchScreen=false;var cMouseIsDown=false;var cDraggingLabel=false;var cIgnoreClick;var cLatOffset,cLngOffset;var cAbortEvent=function(e){e=e||window.event;if(e.stopPropagation){e.stopPropagation();}else{e.cancelBubble=true;}
21if(e.preventDefault){e.preventDefault();}else{e.returnValue=false;}};var cStopPropagation=function(e){e=e||window.event;if(e.stopPropagation){e.stopPropagation();}else{e.cancelBubble=true;}};this.listeners1_=[google.maps.event.addDomListener(this.eventDiv_,"mouseover",function(e){var mEvent={latLng:me.marker_.getPosition()};if(me.marker_.getClickable()||me.marker_.getDraggable()){if(!cTouchScreen){this.style.cursor=(me.marker_.getCursor()||"pointer");google.maps.event.trigger(me.marker_,"mouseover",mEvent);cAbortEvent(e);}}else{this.style.cursor=null;}}),google.maps.event.addDomListener(this.eventDiv_,"mouseout",function(e){var mEvent={latLng:me.marker_.getPosition()};if(me.marker_.getClickable()||me.marker_.getDraggable()){if(!cTouchScreen){google.maps.event.trigger(me.marker_,"mouseout",mEvent);cAbortEvent(e);}}}),google.maps.event.addDomListener(this.eventDiv_,"mousedown",function(e){var mEvent={latLng:me.marker_.getPosition()};cDraggingLabel=false;if(me.marker_.getClickable()||me.marker_.getDraggable()){cMouseIsDown=true;google.maps.event.trigger(me.marker_,"mousedown",mEvent);if(!cTouchScreen){cAbortEvent(e);}}}),google.maps.event.addDomListener(this.eventDiv_,"mouseup",function(e){var mEvent={latLng:me.marker_.getPosition()};if(cMouseIsDown){cMouseIsDown=false;google.maps.event.trigger(me.marker_,"mouseup",mEvent);if(cDraggingLabel){cDraggingLabel=false;me.crossDiv_.style.display="none";cIgnoreClick=true;google.maps.event.trigger(me.marker_,"dragend",mEvent);}
22if(!me.marker_.getDraggable()){cAbortEvent(e);}}}),google.maps.event.addDomListener(this.eventDiv_,"click",function(e){var mEvent={latLng:me.marker_.getPosition()};if(me.marker_.getClickable()||me.marker_.getDraggable()){if(cIgnoreClick){cIgnoreClick=false;}else{google.maps.event.trigger(me.marker_,"click",mEvent);}
23cAbortEvent(e);}}),google.maps.event.addDomListener(this.eventDiv_,"dblclick",function(e){var mEvent={latLng:me.marker_.getPosition()};if(me.marker_.getClickable()||me.marker_.getDraggable()){google.maps.event.trigger(me.marker_,"dblclick",mEvent);cAbortEvent(e);}}),google.maps.event.addListener(this.marker_.getMap(),"mousemove",function(mEvent){var position;if(cMouseIsDown&&me.marker_.getDraggable()){if(cDraggingLabel){mEvent.latLng=new google.maps.LatLng(mEvent.latLng.lat()-cLatOffset,mEvent.latLng.lng()-cLngOffset);if(me.marker_.get("crossOnDrag")){position=me.getProjection().fromLatLngToDivPixel(mEvent.latLng);me.crossDiv_.style.left=position.x+"px";me.crossDiv_.style.top=position.y+"px";me.crossDiv_.style.display="";}
24google.maps.event.trigger(me.marker_,"drag",mEvent);}else{cLatOffset=mEvent.latLng.lat()-me.marker_.getPosition().lat();cLngOffset=mEvent.latLng.lng()-me.marker_.getPosition().lng();cDraggingLabel=true;mEvent.latLng=me.marker_.getPosition();google.maps.event.trigger(me.marker_,"dragstart",mEvent);}}}),google.maps.event.addListener(this.marker_,"dragstart",function(mEvent){me.labelDiv_.style.zIndex=1000000+(this.get("labelInBackgroun
24d")?-1:+1);me.eventDiv_.style.zIndex=me.labelDiv_.style.zIndex;}),google.maps.event.addListener(this.marker_,"drag",function(mEvent){this.setPosition(mEvent.latLng);}),google.maps.event.addListener(this.marker_,"dragend",function(mEvent){me.setZIndex();}),google.maps.event.addDomListener(this.eventDiv_,"touchstart",function(e){cTouchScreen=true;cStopPropagation(e);}),google.maps.event.addDomListener(this.eventDiv_,"touchmove",function(e){cStopPropagation(e);}),google.maps.event.addDomListener(this.eventDiv_,"touchend",function(e){cStopPropagation(e);})];};MarkerLabel_.prototype.removeMouseListeners=function(){var i;if(this.listeners1_){for(i=0;i<this.listeners1_.length;i++){google.maps.event.removeListener(this.listeners1_[i]);}}};MarkerLabel_.prototype.onRemove=function(){var i;if(this.labelDiv_.parentNode){this.labelDiv_.parentNode.removeChild(this.labelDiv_);}
25if(this.eventDiv_.parentNode){this.eventDiv_.parentNode.removeChild(this.eventDiv_);}
26this.removeMouseListeners();if(this.listeners2_){for(i=0;i<this.listeners2_.length;i++){google.maps.event.removeListener(this.listeners2_[i]);}}};MarkerLabel_.prototype.draw=function(){this.setContent();this.setTitle();this.setStyles();};MarkerLabel_.prototype.setContent=function(){var content=this.marker_.get("labelContent");var previousContent=this.marker_._previousContent;if(previousContent!==content){this.marker_._previousContent=content;if(typeof content.nodeType==="undefined"){this.labelDiv_.innerHTML=content;this.eventDiv_.innerHTML=this.labelDiv_.innerHTML;}else{this.labelDiv_.innerHTML="";this.labelDiv_.appendChild(content);content=content.cloneNode(true);this.eventDiv_.innerHTML="";this.eventDiv_.appendChild(content);}}};MarkerLabel_.prototype.setTitle=function(){this.eventDiv_.title=this.marker_.getTitle()||"";};MarkerLabel_.prototype.setStyles=function(){var i,labelStyle;this.labelDiv_.className=this.marker_.get("labelClass");this.eventDiv_.className=this.labelDiv_.className;this.labelDiv_.style.cssText="";this.eventDiv_.style.cssText="";labelStyle=this.marker_.get("labelStyle");for(i in labelStyle){if(labelStyle.hasOwnProperty(i)){this.labelDiv_.style[i]=labelStyle[i];this.eventDiv_.style[i]=labelStyle[i];}}
27this.setMandatoryStyles();};MarkerLabel_.prototype.setMandatoryStyles=function(){this.labelDiv_.style.position="absolute";this.labelDiv_.style.overflow="hidden";if(typeof this.labelDiv_.style.opacity!=="undefined"&&this.labelDiv_.style.opacity!==""){this.labelDiv_.style.MsFilter="\"progid:DXImageTransform.Microsoft.Alpha(opacity="+(this.labelDiv_.style.opacity*100)+")\"";this.labelDiv_.style.filter="alpha(opacity="+(this.labelDiv_.style.opacity*100)+")";}
28this.eventDiv_.style.position=this.labelDiv_.style.position;this.eventDiv_.style.overflow=this.labelDiv_.style.overflow;this.eventDiv_.style.cursor="pointer";this.eventDiv_.style.opacity=0.01;this.eventDiv_.style.MsFilter="\"progid:DXImageTransform.Microsoft.Alpha(opacity=1)\"";this.eventDiv_.style.filter="alpha(opacity=1)";this.setAnchor();this.setPosition();this.setZIndex();this.setVisible();};MarkerLabel_.prototype.setAnchor=function(){var anchor=this.marker_.get("labelAnchor");this.labelDiv_.style.marginLeft=-anchor.x+"px";this.labelDiv_.style.marginTop=-anchor.y+"px";this.eventDiv_.style.marginLeft=-anchor.x+"px";this.eventDiv_.style.marginTop=-anchor.y+"px";};MarkerLabel_.prototype.setPosition=function(){var position=this.getProjection().fromLatLngToDivPixel(this.marker_.getPosition());this.labelDiv_.style.left=Math.round(position.x)+"px";this.labelDiv_.style.top=Math.round(position.y)+"px";this.eventDiv_.style.left=this.labelDiv_.style.left;this.eventDiv_.style.top=this.labelDiv_.style.top;};MarkerLabel_.prototype.setZIndex=function(){var zAdjust=(this.marker_.get("labelInBackground")?-1:+1);if(typeof this.marker_.getZIndex()==="undefined"){this.labelDiv_.style.zIndex=parseInt(this.labelDiv_.style.top,10)+zAdjust;this.eventDiv_.style.zIndex=this.labelDiv_.style.zIndex;}else{this.labelDiv_.style.zIndex=this.marker_.getZIndex()+zAdjust;this.eventDiv_.style.zIndex=this.labelDiv_.style.zIndex;}};MarkerLabel_.prototype.setClickable=function(){this.removeMouseListeners();this.eventDiv_.style.cursor=null;if(this.marker_.getClickable()||this.marker_.getDraggable()){this.addMouseListeners();}};
28MarkerLabel_.prototype.setCursor=function(){this.eventDiv_.style.cursor=this.marker_.getCursor();};MarkerLabel_.prototype.setVisible=function(){if(this.marker_.get("labelVisible")){this.labelDiv_.style.display=this.marker_.getVisible()?"block":"none";}else{this.labelDiv_.style.display="none";}
29this.eventDiv_.style.display=this.labelDiv_.style.display;};function MarkerWithLabel(opt_options){opt_options=opt_options||{};opt_options.labelContent=opt_options.labelContent||"";opt_options.labelAnchor=opt_options.labelAnchor||new google.maps.Point(0,0);opt_options.labelClass=opt_options.labelClass||"markerLabels";opt_options.labelStyle=opt_options.labelStyle||{};opt_options.labelInBackground=opt_options.labelInBackground||false;if(typeof opt_options.labelVisible==="undefined"){opt_options.labelVisible=true;}
30if(typeof opt_options.crossOnDrag==="undefined"){opt_options.crossOnDrag=true;}
31if(typeof opt_options.clickable==="undefined"){opt_options.clickable=true;}
32if(typeof opt_options.draggable==="undefined"){opt_options.draggable=false;}
33if(typeof opt_options.optimized==="undefined"){opt_options.optimized=false;}
34opt_options.crossImage=opt_options.crossImage||"//maps.gstatic.com/intl/en_us/mapfiles/drag_cross_67_16.png";opt_options.optimized=false;this.label=new MarkerLabel_(this,opt_options.crossImage);google.maps.Marker.apply(this,arguments);}
35inherits(MarkerWithLabel,google.maps.Marker);MarkerWithLabel.prototype.setMap=function(theMap){google.maps.Marker.prototype.setMap.apply(this,arguments);this.label.setMap(theMap);};var module=module||{};module.exports=MarkerWithLabel;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.