1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([[3157],{3157:function(e,t,o){o.r(t),o.d(t,{default:function(){return c}});var n=o(4692),r=o.n(n);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function l(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:String(t)}var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,o,n;return t=e,(o=[{key:"init",value:function(){this.officeArr=[],this.showMap=r()(".cmp-officelisting").data("showmap"),this.showMap&&(this.gatherOffices(),this.renderMap())}},{key:"gatherOffices",value:function(){var e=this;document.querySelectorAll(".cmp-officelisting .office a").forEach((function(t){e.officeArr.push({link:t.href,officeName:t.text,longitude:t.dataset.long,latitude:t.dataset.lat})}))}},{key:"renderMap",value:function(){var e=this;this.bounds=new google.maps.LatLngBounds;var t={lat:33.7042972,lng:-117.8428536},o=document.getElementById("directory-map");if(o&&0!=n){var n=this.officeArr.length,r=this.officeArr[0];1==n&&(t={lat:parseFloat(r.latitude),lng:parseFloat(r.longitude)}),this.map=new google.maps.Map(o,{center:t,zoom:15,mapId:"ceee131886988396",clickableIcons:!1,zoomControl:!0,zoomControlOptions:{position:google.maps.ControlPosition.TOP_RIGHT},disableDefaultUI:!1}),n>1?this.officeArr.forEach((function(t,o){e.addMapMarker(t,!0,o)})):e.addMapMarker(r,!1,0)}}},{key:"addMapMarker",value:function(e,t,o){var n="#0185C4",r=new google.maps.LatLng(e.latitude,e.longitude),i=new google.maps.marker.PinElement({background:n,borderColor:n,glyph:(o+1).toString(),glyphColor:"#FFFFFF"}),a=this.map,l=new google.maps.marker.AdvancedMarkerElement({map:a,position:r,title:e.officeName,gmpClickable:!0,content:i.element});l.addListener("gmp-click",(function(){document.location=e.link})),t&&(this.bounds.extend(l.position),a.fitBounds(this.bounds))}}])&&a(t.prototype,o),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();document.addEventListener("DOMContentLoaded",(function(){r()(".cmp-officelisting").length>0&&(new c).init()}))}}]);
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.