1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7ca1d0a4-223d-4bfb-9713-f707f7898223",e._sentryDebugIdIdentifier="sentry-dbid-7ca1d0a4-223d-4bfb-9713-f707f7898223")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"v276.0-0-gf58f8bf"};(globalThis.webpackChunk||=[]).push([[906],{7906(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _hotwired_stimulus__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2891);const __WEBPACK_DEFAULT_EXPORT__=class extends _hotwired_stimulus__WEBPACK_IMPORTED_MODULE_0__.xI{connect(){"true"===sessionStorage.getItem("dav-map-unblocked")&&this.loadScript()}activate(event){event.preventDefault(),sessionStorage.setItem("dav-map-unblocked","true"),this.loadScript()}loadScript(){if("undefined"!=typeof google)return void this.initMap();const scriptGoogleMapsJS=document.createElement("script");scriptGoogleMapsJS.setAttribute("src","https://maps.google.com/maps/api/js?key=AIzaSyCvjkw6CWKGYJnKO9faEvQ8N-EOMZ5XZf4"),scriptGoogleMapsJS.setAttribute("id","google-maps-js"),null==document.getElementById("google-maps-js")&&document.body.appendChild(scriptGoogleMapsJS),scriptGoogleMapsJS.onload=()=>{this.initMap()}}initMap(){const mapOptions={zoom:16,center:new google.maps.LatLng(this.element.dataset.latitude,this.element.dataset.longitude),backgroundColor:"#ffffff",panControl:!1,zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,overviewMapControl:!0,scrollwheel:!1,mapTypeId:google.maps.MapTypeId.ROADMAP},map=new google.maps.Map(this.element,mapOptions),bounds=new google.maps.LatLngBounds,iconMember=new google.maps.MarkerImage("/images/map/[email protected]",null,null,null,new google.maps.Size(60,87)),iconNoMember=new google.maps.MarkerImage("/images/map/[email protected]",null,null,null,new google.maps.Size(30,31)),pharmacies=[[this.element.dataset.homePharmacy,this.element.dataset.latitude,this.element.dataset.longitude,!0]].concat(JSON.parse(this.element.dataset.emergencyPharmacies));for(let i=0;i<pharmacies.length;i++){const pharmacy=pharmacies[i],pharmacyLoc=new google.maps.LatLng(pharmacy[1],pharmacy[2]);let iconImage=iconMember;void 0!==pharmacy[3]&&!1!==pharmacy[3]||(iconImage=iconNoMember),new google.maps.Marker({position:pharmacyLoc,map,icon:iconImage,title:pharmacy[0],zIndex:i}),bounds.extend(pharmacyLoc)}pharmacies.length>1&&map.fitBounds(bounds),null!==document.getElementById("google-maps-js")&&document.body.removeChild(document.getElementById("google-maps-js"))}};__webpack_require__.d(__webpack_exports__,["default",0,__WEBPACK_DEFAULT_EXPORT__])}}]); 2//# sourceMappingURL=906.0ff552c6.js.map
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.