PageSourceSearch

https://orchestremetropolitain.com/wp-content/themes/om/dist/js/sr…map_index_js.25beb4b0c0dd65b6948c.bundle.js

js orchestremetropolitain.com collected 2026-10-02 02:45:50 UTC 5,433 bytes, 2 lines download raw bytes

1(self.webpackChunkom=self.webpackChunkom||[]).push([["src_js_modules_google-map_index_js"],{
vendor: 737 bytes, line 1
1"./node_modules/load-google-maps-api/index.js":e=>{const n="__googleMapsApiOnLoadCallback",t=["channel","client","key","language","region","v"];let o=null;e.exports=function(e={}){return o=o||new Promise((function(o,r){const i=setTimeout((function(){window[n]=function(){},r(new Error("Could not load the Google Maps API"))}),e.timeout||1e4);window[n]=function(){null!==i&&clearTimeout(i),o(window.google.maps),delete window[n]};const a=document.createElement("script"),l=[`callback=${n}`];t.forEach((function(n){e[n]&&l.push(`${n}=${e[n]}`)})),e.libraries&&e.libraries.length&&l.push(`libraries=${e.libraries.join(",")}`),a.src=`${e.apiUrl||"https://maps.googleapis.com/maps/api/js"}?${l.join("&")}`,document.body.appendChild(a)})),o}},
1"./src/js/modules/google-map/index.js":(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>j,instance:()=>w});var o=t("./src/js/utils/dom.js"),r=t("./src/js/modules/module/Module.js"),i=t("./node_modules/load-google-maps-api/index.js"),a=t.n(i);function l(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var s={zoom:16,markers:null},c=null,f=function(){function e(n){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.el=n,this.options=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),o.forEach((function(n){u(e,n,t[n])}))}return e}({},s,JSON.parse(this.el.dataset.googleMap)||{}),this._initialized=!0,a()({key:"XXXXXX",language:"fr-CA",region:"CA"}).then(this._onGoogleMapsApiLoaded.bind(this))}var n,t,o;return n=e,(t=[{key:"destroy",value:function(){this.el=null,this.options=null,this._initialized=null}},{key:"addMarker",value:function(e,n){var t=this.map;if(t){var o={lat:parseFloat(e),lng:parseFloat(n)},r=new c.Marker({position:o,map:t});t.markers.push(r)}}},{key:"center",value:function(){var e=this.map;if(e){var n=new c.LatLngBounds;e.markers.forEach((function(e){n.extend({lat:e.position.lat(),lng:e.position.lng()})})),1==e.markers.length?e.setCenter(n.getCenter()):e.fitBounds(n)}}},{key:"_onGoogleMapsApiLoaded",value:function(e){var n,t=this;c=e,this._initialized&&(this.map=new c.Map(this.el,this.options),null===(n=this.options)||void 0===n||n.markers.forEach((function(e){var n=e.lat,o=e.lng;return t.addMarker(n,o)})),this.center())}}])&&l(n.prototype,t),o&&l(n,o),e}();const p=f;function d(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,n){return!n||"object"!==b(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function y(e,n){return y=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},y(e,n)}function g(e){return function(e){if(Array.isArray(e)){for(var n=0,t=new Array(e.length);n<e.length;n++)t[n]=e[n];return t}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var b=function(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},v=function(e){function n(e){var t,o=void 0!==e&&e;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(t=m(this,h(n).call(this))).initialized=!1,t.items=null,o&&t.init(),t}var t,r,i;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&y(e,n)}(n,e),t=n,(r=[{key:"name",get:function(){return"GoogleMap"}},{key:"init",value:function(){this.initialized=!0,this.items=g((0,o.$$)("[data-google-map]")).map((function(e){return new p(e)}))}},{key:"destroy",value:function(){this.items&&this.items.forEach((function(e){return e.destroy()})),this.initialized=!1,this.items=null}}])&&d(t.prototype,r),i&&d(t,i),n}(r.Z);var w=new v;const j={instance:w}},
1"./src/js/modules/module/Module.js":(e,n,t)=>{"use strict";function o(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}t.d(n,{Z:()=>r});const r=function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t,r;return n=e,(t=[{key:"init",value:function(){}},{key:"start",value:function(){}},{key:"stop",value:function(){}},{key:"destroy",value:function(){}},{key:"name",get:function(){return null}}])&&o(n.prototype,t),r&&o(n,r),e}()}
1}]);
2//# sourceMappingURL=src_js_modules_google-map_index_js.25beb4b0c0dd65b6948c.bundle.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.