PageSourceSearch

https://www.visitshenandoahtx.com/dist/scripts/ListingsMap.a6c3d2b0c6fd876a8113.min.js

js visitshenandoahtx.com collected 2026-10-04 08:54:52 UTC 6,303 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[429],{1106:function(t,e,n){var o,i;n.d(e,{lo:function(){return r},En:function(){return c},Br:function(){return l},Qs:function(){return s},m1:function(){return a}});var r={url:"/svg/imap/marker.svg",scaledSize:{width:23,height:32}},l={mapId:(null===(o=window)||void 0===o||null===(i=o.MAP_CONFIG)||void 0===i?void 0:i.mapId)||null,center:{lat:40.326305486455766,lng:-98.33834443749998},zoom:11,scrollwheel:!1,disableDoubleClickZoom:!0,panControl:!1,streetViewControl:!1,mapTypeControl:!1,fullscreenControl:!1,zoomControl:!0,zoomControlOptions:{position:6},backgroundColor:"none",styles:[{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.neighborhood",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",stylers:[{visibility:"off"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"poi.government",stylers:[{visibility:"off"}]},{featureType:"poi.medical",stylers:[{visibility:"off"}]},{featureType:"poi.park",stylers:[{visibility:"on"}]},{featureType:"poi.place_of_worship",stylers:[{visibility:"off"}]},{featureType:"poi.school",stylers:[{visibility:"off"}]},{featureType:"poi.sports_complex",stylers:[{visibility:"off"}]}]},s={path:[],geodesic:!0,strokeColor:"#00a1df",strokeWeight:4,editable:!1,strokeOpacity:0,icons:[{icon:{path:"M 0,-1 0,1",strokeOpacity:1,scale:3.5},offset:"10px",repeat:"20px"}]},a={path:[],geodesic:!0,strokeColor:"#dd0031",strokeOpacity:1,strokeWeight:4,editable:!1,icons:[{icon:{path:0,strokeColor:"#dd0031",fillColor:"#dd0031",fillOpacity:1,strokeOpacity:1,strokeWeight:5},offset:"100%"}]},c={path:"M12.5,0c-6.892,0 -12.5,5.509 -12.5,12.28c0,2.87 1.007,5.512 2.691,7.605l9.809,12.115l9.809,-12.115c1.684,-2.093 2.691,-4.735 2.691,-7.605c0,-6.771 -5.608,-12.28 -12.5,-12.28Z",width:25,height:32,labelYOffset:13}},2062:function(t,e,n){n.r(e),n.d(e,{default:function(){return M}});var o=n(6252),i=n(9963),r={class:"listings-map",ref:"root","v-bind":"$attrs"},l=[(0,o._)("div",{class:"listings-map__map bg--dark-primary","data-map":""},null,-1)];var s=n(9713),a=n.n(s),c=n(8926),u=n.n(c),p=n(7757),f=n.n(p),d=n(2262),m=n(1106),h=n(7041);function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){a()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var g=null,b=null,k=".map-infowindow a",w={inheritAttrs:!1,components:{InfoWindow:(0,o.RC)((function(){return n.e(5436).then(n.bind(n,9931))}))},mixins:[],props:{mapPoints:{type:Array,default:function(){return[]}},isEnabled:{type:Boolean,default:!1},canSetNearMePoint:{type:Boolean,default:!1}},data:function(){return{isMapSetUp:!1,selectedMarkerItem:null,listenerBoss:null,customIcon:null,customNearMeIcon:null}},methods:{loadMap:function(){var t=this;return u()(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isEnabled){e.next=2;break}return e.abrupt("return",!1);case 2:if(!t.isMapSetUp){e.next=5;break}return g.changePoints(t.mapPointsWithCustomIcon),e.abrupt("return",!1);case 5:return t,e.next=8,n.e(2671).then(n.bind(n,4808)).then((function(e){var n,o,i=e.default;t.isMapSetUp=!0;var r=t;g=new i({outerEl:t.$refs.root,points:(0,d.IU)(t.mapPointsWithCustomIcon),mapOptions:{mapId:(null===(n=window)||void 0===n||null===(o=n.MAP_CONFIG)||void 0===o?void 0:o.mapId)||null},onMapReady:function(t){var e,n;b=new google.maps.InfoWindow({maxWidth:320,content:""});var o=null===(e=window)||void 0===e||null===(n=e.MAP_CONFIG)||void 0===n?void 0:n.placeId;o&&"function"==typeof g.highlightTownBoundary&&g.highlightTownBoundary(o),g.updateMapBounds(!0),g.centerMap(),google.maps.event.addListener(t,"click",(function(){b.close()})),google.maps.event.hasListeners(t,"rightclick")||google.maps.event.addListener(t,"rightclick",(function(t){r.canSetNearMePoint&&!0===confirm("Would you like to change your location to this point?")&&r.$emit("customNearMeLocationPicked",{lat:t.latLng.lat(),lng:t.latLng.lng()})}))},onMarkerClick:function(t,e){var n;null!==(n=t.point)&&void 0!==n&&n.isNearMePoint?(b.close(),r.selectedMarkerItem=null):(r.selectedMarkerItem=t.point,r.$nextTick((function(){b.setContent(r.$refs.infoWindow.$el.innerHTML),b.open({anchor:t,map:e})})))},onMarkerDragEnd:function(t){var e=t.getPosition();r.$emit("customNearMeLocationPicked",{lat:(null==e?void 0:e.lat())||null,lng:(null==e?void 0:e.lng())||null})}})}));case 8:case"end":return e.stop()}}),e)})))()}},computed:{mapPointsWithCustomIcon:function(){var t=this;return this.customIcon?this.mapPoints.map((function(e){return v(v({},e),{},{icon:null!=e&&e.isNearMePoint?t.customNearMeIcon:t.customIcon,isDraggable:!(null==e||!e.isNearMePoint)})}
1)):this.mapPoints}},created:function(){var t,e;this.listenerBoss=new h.Z,this.customIcon={path:m.En.path,fillColor:(null===(t=window)||void 0===t?void 0:t.mapMarkerColor)||"#ff0000",fillOpacity:1,strokeOpacity:1,strokeColor:"#fff",strokeWeight:2,scale:1,anchor:{x:.5*m.En.width,y:m.En.height},labelOrigin:{x:.5*m.En.width,y:m.En.labelYOffset}},this.customNearMeIcon=v(v({},(0,d.IU)(this.customIcon)),{},{fillColor:(null===(e=window)||void 0===e?void 0:e.mapMarkerNearMeColor)||"#0000ff"})},destroyed:function(){g=null,this.isMapSetUp=!1,this.listenerBoss.removeAll()},watch:{mapPoints:function(){this.loadMap()}},mounted:function(){var t=this;this.loadMap(),this.listenerBoss.register(this.$refs.root,"click",(function(e){(e.target.matches(k)||e.target.closest(k))&&t.$refs.root.dispatchEvent(new CustomEvent("listingClick",{detail:{item:t.selectedMarkerItem,eventName:"Marker Listing Clicked"},bubbles:!0}))}))}};var M=(0,n(3744).Z)(w,[["render",function(t,e,n,s,a,c){var u=(0,o.up)("InfoWindow");return(0,o.wg)(),(0,o.iD)(o.HY,null,[(0,o._)("div",r,l,512),(0,o.wy)((0,o.Wm)(u,{item:a.selectedMarkerItem,ref:"infoWindow"},null,8,["item"]),[[i.F8,!1]])],64)}]])}}]);

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.