PageSourceSearch

https://visitlodi.com/dist/scripts/ListingsMap.d25ffc1d603c6152c37a.min.js

js visitlodi.com collected 2026-10-02 07:36:25 UTC 5,914 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[429],{1106:function(e,t,n){n.d(t,{lo:function(){return o},En:function(){return a},Br:function(){return i},Qs:function(){return r},m1:function(){return s}});var o={url:"/svg/imap/marker.svg",scaledSize:{width:23,height:32}},i={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"}]}]},r={path:[],geodesic:!0,strokeColor:"#801944",strokeWeight:4,editable:!1,strokeOpacity:0,icons:[{icon:{path:"M 0,-1 0,1",strokeOpacity:1,scale:3.5},offset:"10px",repeat:"20px"}]},s={path:[],geodesic:!0,strokeColor:"#D1B366",strokeOpacity:1,strokeWeight:4,editable:!1,icons:[{icon:{path:0,strokeColor:"#D1B366",fillColor:"#D1B366",fillOpacity:1,strokeOpacity:1,strokeWeight:5},offset:"100%"}]},a={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}},4706:function(e,t,n){n.r(t),n.d(t,{default:function(){return M}});var o=n(6252),i=n(9963),r={class:"listings-map",ref:"root","v-bind":"$attrs"},s=[(0,o._)("div",{class:"listings-map__map bg--dark-primary","data-map":""},null,-1)];var a=n(9713),l=n.n(a),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(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){l()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=null,b=null,k=".map-infowindow a",w={inheritAttrs:!1,components:{InfoWindow:(0,o.RC)((function(){return n.e(5436).then(n.bind(n,1154))}))},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 e=this;return u()(f().mark((function t(){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.isEnabled){t.next=2;break}return t.abrupt("return",!1);case 2:if(!e.isMapSetUp){t.next=5;break}return v.changePoints(e.mapPointsWithCustomIcon),t.abrupt("return",!1);case 5:return e,t.next=8,n.e(2671).then(n.bind(n,4808)).then((function(t){var n=t.default;e.isMapSetUp=!0;var o=e;v=new n({outerEl:e.$refs.root,points:(0,d.IU)(e.mapPointsWithCustomIcon),onMapReady:function(e){b=new google.maps.InfoWindow({maxWidth:320,content:""}),v.updateMapBounds(!0),v.centerMap(),google.maps.event.addListener(e,"click",(function(){b.close()})),google.maps.event.hasListeners(e,"rightclick")||google.maps.event.addListener(e,"rightclick",(function(e){o.canSetNearMePoint&&!0===confirm("Would you like to change your location to this point?")&&o.$emit("customNearMeLocationPicked",{lat:e.latLng.lat(),lng:e.latLng.lng()})}))},onMarkerClick:function(e,t){var n;null!==(n=e.point)&&void 0!==n&&n.isNearMePoint?(b.close(),o.selectedMarkerItem=null):(o.selectedMarkerItem=e.point,o.$nextTick((function(){b.setContent(o.$refs.infoWindow.$el.innerHTML),b.open({anchor:e,map:t})})))},onMarkerDragEnd:function(e){var t=e.getPosition();o.$emit("customNearMeLocationPicked",{lat:(null==t?void 0:t.lat())||null,lng:(null==t?void 0:t.lng())||null})}})}));case 8:case"end":return t.stop()}}),t)})))()}},computed:{mapPointsWithCustomIcon:function(){var e=this;return this.customIcon?this.mapPoints.map((function(t){return g(g({},t),{},{icon:null!=t&&t.isNearMePoint?e.customNearMeIcon:e.customIcon,isDraggable:!(null==t||!t.isNearMePoint)})}
1)):this.mapPoints}},created:function(){var e,t;this.listenerBoss=new h.Z,this.customIcon={path:m.En.path,fillColor:(null===(e=window)||void 0===e?void 0:e.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=g(g({},(0,d.IU)(this.customIcon)),{},{fillColor:(null===(t=window)||void 0===t?void 0:t.mapMarkerNearMeColor)||"#0000ff"})},destroyed:function(){v=null,this.isMapSetUp=!1,this.listenerBoss.removeAll()},watch:{mapPoints:function(){this.loadMap()}},mounted:function(){var e=this;this.loadMap(),this.listenerBoss.register(this.$refs.root,"click",(function(t){(t.target.matches(k)||t.target.closest(k))&&e.$refs.root.dispatchEvent(new CustomEvent("listingClick",{detail:{item:e.selectedMarkerItem,eventName:"Marker Listing Clicked"},bubbles:!0}))}))}};var M=(0,n(3744).Z)(w,[["render",function(e,t,n,a,l,c){var u=(0,o.up)("InfoWindow");return(0,o.wg)(),(0,o.iD)(o.HY,null,[(0,o._)("div",r,s,512),(0,o.wy)((0,o.Wm)(u,{item:l.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.