{"version":3,"file":"refapp-storelocator.umd.js","sources":["../../../../node_modules/.pnpm/mitt@3.0.1/node_modules/mitt/dist/mitt.mjs","../../../../node_modules/.pnpm/@refapp+eventbus-js@0.2.0/node_modules/@refapp/eventbus-js/dist/eventbus-js.esm.js","../../src/components/widget/current-location/rfp-storelocator-currentLocation.vue","../../src/components/widget/mixins/utils.js","../../src/components/widget/location-search/rfp-storelocator-locationsearch.vue","../../src/components/widget/promotion/promotion-banner-event.js","../../src/components/widget/pagination/rfp-storelocator-pagination.vue","../../src/components/widget/social-links/rfp-storelocator-social-links.vue","../../src/components/widget/store-attributes/rfp-storelocator-store-attributes.vue","../../src/components/widget/mixins/constants.js","../../src/components/widget/store-list/rfp-storelocator-storelist.vue","../../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js","../../../../node_modules/.pnpm/kdbush@4.0.2/node_modules/kdbush/index.js","../../../../node_modules/.pnpm/supercluster@8.0.1/node_modules/supercluster/index.js","../../../../node_modules/.pnpm/@googlemaps+markerclusterer@2.5.3/node_modules/@googlemaps/markerclusterer/dist/index.esm.js","../../src/components/widget/mixins/google-api-event.js","../../src/components/widget/mixins/rfp-storelocator-google-api.js","../../src/components/widget/mixins/datalayer-mixin.js","../../src/components/widget/map-popup/rfp-storelocator-map-popup.vue","../../src/components/widget/google-map/rfp-storelocator-google-map.vue","../../src/components/widget/promotion/promotion-banner.vue","../../src/components/widget/promotion/promotion-list.vue","../../src/components/widget/loading/rfp-storelocator-loading.vue","../../src/components/widget/privacy-text/rfp-storelocator-privacy-text.vue","../../src/components/widget/summary/rfp-storelocator-summary.vue","../../src/widget.js"],"sourcesContent":["export default function(n){return{all:n=n||new Map,on:function(t,e){var i=n.get(t);i?i.push(e):n.set(t,[e])},off:function(t,e){var i=n.get(t);i&&(e?i.splice(i.indexOf(e)>>>0,1):n.set(t,[]))},emit:function(t,e){var i=n.get(t);i&&i.slice().map(function(n){n(e)}),(i=n.get(\"*\"))&&i.slice().map(function(n){n(t,e)})}}}\n//# sourceMappingURL=mitt.mjs.map\n","import mitt from 'mitt';\n\nfunction _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}\n\nvar WHITELISTED_METHODS = ['on', 'off', 'emit'];\nfunction prefixMethods(api) {\n if (!api) throw new TypeError(\"eventbus-js#prefixMethods/error: Cannot prefix API methods\");\n var prefixedAPI = WHITELISTED_METHODS.reduce(function (accumulator, methodName) {\n var prefixedMethodName = \"$\" + methodName;\n if (!(prefixedMethodName in api)) {\n accumulator[prefixedMethodName] = api[methodName];\n }\n return accumulator;\n }, {});\n return prefixedAPI;\n}\n\nvar mockEventEmit = function mockEventEmit() {\n global.restoreEventEmit();\n window.eventBus = window.eventBus || {};\n window.eventBus.emit = jest.fn();\n return window.eventBus.emit;\n};\nvar restoreEventEmit = function restoreEventEmit() {\n if (window.eventBus && window.eventBus.emit) {\n window.eventBus.emit = undefined;\n }\n};\nvar mockEventOn = function mockEventOn() {\n global.restoreEventOn();\n window.eventBus = window.eventBus || {};\n window.eventBus.on = jest.fn();\n return window.eventBus.on;\n};\nvar restoreEventOn = function restoreEventOn() {\n if (window.eventBus && window.eventBus.on) {\n window.eventBus.on = undefined;\n }\n};\nvar mittInstanceStub = {\n on: function on() {\n return true;\n },\n emit: function emit() {\n return true;\n },\n off: function off() {\n return true;\n }\n};\nvar eventBus = /*#__PURE__*/_extends({}, /*#__PURE__*/prefixMethods(mittInstanceStub), mittInstanceStub);\nObject.defineProperty(window, 'eventBus', {\n value: eventBus,\n writable: true\n});\nvar stub = (function () {\n global.mockEventEmit = mockEventEmit;\n global.mockEventOn = mockEventOn;\n global.restoreEventEmit = restoreEventEmit;\n global.restoreEventOn = restoreEventOn;\n});\n\nvar mittInstance = /*#__PURE__*/mitt();\nvar eventBus$1 = /*#__PURE__*/_extends({}, /*#__PURE__*/prefixMethods(mittInstance), mittInstance);\nfunction exposeGlobals() {\n window.eventBus = eventBus$1;\n}\n\nexport default eventBus$1;\nexport { eventBus$1 as eventBus, exposeGlobals, stub as stubEventBus };\n//# sourceMappingURL=eventbus-js.esm.js.map\n","\n\n\n\n\n","export const isString = (value) => typeof value === 'string';\n\nexport const isBoolean = (value) => typeof value === 'boolean';\n\nexport const isObject = (value) => typeof value === 'object';\n\n// eslint-disable-next-line no-prototype-builtins\nexport const has = (object, key) => isObject(object) && object.hasOwnProperty(key);\n\n// eslint-disable-next-line no-confusing-arrow\nexport const get = (object, key, defaultValue) => (has(object, key) ? object[key] : defaultValue);\n\nexport const px = (value) => `${value}px`;\n\nexport const translate = (x, y) => `translate(${x}, ${y})`;\n\nexport const tryParseJson = (jsonString) => {\n try {\n return JSON.parse(jsonString);\n } catch (e) {\n return {};\n }\n};\n","\n\n\n\n\n","export default {\n BannerEnabled: 'promotion-banner-enabled',\n BannerClosed: 'promotion-banner-close',\n BannerFilter: 'promotion-banner-filter',\n RefreshMapOptions: 'refresh-google-map-options',\n ListQueryParams: 'promotion-banner-list-query-params',\n QueryParams: 'promotion-query-params',\n List: 'promotion-banner-list',\n ListCollection: 'pormotion-list-collection',\n};\n","\n\n\n\n\n\n\n\n","\n\n\n","\n\n\n","export const DisplayMode = {\n List: 'list',\n Map: 'map',\n Mixed: 'mixed',\n};\n","\n\n\n","'use strict';\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nmodule.exports = function equal(a, b) {\n if (a === b) return true;\n\n if (a && b && typeof a == 'object' && typeof b == 'object') {\n if (a.constructor !== b.constructor) return false;\n\n var length, i, keys;\n if (Array.isArray(a)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (!equal(a[i], b[i])) return false;\n return true;\n }\n\n\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n for (i = length; i-- !== 0;) {\n var key = keys[i];\n\n if (!equal(a[key], b[key])) return false;\n }\n\n return true;\n }\n\n // true if both NaN, false otherwise\n return a!==a && b!==b;\n};\n","\nconst ARRAY_TYPES = [\n Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array,\n Int32Array, Uint32Array, Float32Array, Float64Array\n];\n\n/** @typedef {Int8ArrayConstructor | Uint8ArrayConstructor | Uint8ClampedArrayConstructor | Int16ArrayConstructor | Uint16ArrayConstructor | Int32ArrayConstructor | Uint32ArrayConstructor | Float32ArrayConstructor | Float64ArrayConstructor} TypedArrayConstructor */\n\nconst VERSION = 1; // serialized format version\nconst HEADER_SIZE = 8;\n\nexport default class KDBush {\n\n /**\n * Creates an index from raw `ArrayBuffer` data.\n * @param {ArrayBuffer} data\n */\n static from(data) {\n if (!(data instanceof ArrayBuffer)) {\n throw new Error('Data must be an instance of ArrayBuffer.');\n }\n const [magic, versionAndType] = new Uint8Array(data, 0, 2);\n if (magic !== 0xdb) {\n throw new Error('Data does not appear to be in a KDBush format.');\n }\n const version = versionAndType >> 4;\n if (version !== VERSION) {\n throw new Error(`Got v${version} data when expected v${VERSION}.`);\n }\n const ArrayType = ARRAY_TYPES[versionAndType & 0x0f];\n if (!ArrayType) {\n throw new Error('Unrecognized array type.');\n }\n const [nodeSize] = new Uint16Array(data, 2, 1);\n const [numItems] = new Uint32Array(data, 4, 1);\n\n return new KDBush(numItems, nodeSize, ArrayType, data);\n }\n\n /**\n * Creates an index that will hold a given number of items.\n * @param {number} numItems\n * @param {number} [nodeSize=64] Size of the KD-tree node (64 by default).\n * @param {TypedArrayConstructor} [ArrayType=Float64Array] The array type used for coordinates storage (`Float64Array` by default).\n * @param {ArrayBuffer} [data] (For internal use only)\n */\n constructor(numItems, nodeSize = 64, ArrayType = Float64Array, data) {\n if (isNaN(numItems) || numItems < 0) throw new Error(`Unpexpected numItems value: ${numItems}.`);\n\n this.numItems = +numItems;\n this.nodeSize = Math.min(Math.max(+nodeSize, 2), 65535);\n this.ArrayType = ArrayType;\n this.IndexArrayType = numItems < 65536 ? Uint16Array : Uint32Array;\n\n const arrayTypeIndex = ARRAY_TYPES.indexOf(this.ArrayType);\n const coordsByteSize = numItems * 2 * this.ArrayType.BYTES_PER_ELEMENT;\n const idsByteSize = numItems * this.IndexArrayType.BYTES_PER_ELEMENT;\n const padCoords = (8 - idsByteSize % 8) % 8;\n\n if (arrayTypeIndex < 0) {\n throw new Error(`Unexpected typed array class: ${ArrayType}.`);\n }\n\n if (data && (data instanceof ArrayBuffer)) { // reconstruct an index from a buffer\n this.data = data;\n this.ids = new this.IndexArrayType(this.data, HEADER_SIZE, numItems);\n this.coords = new this.ArrayType(this.data, HEADER_SIZE + idsByteSize + padCoords, numItems * 2);\n this._pos = numItems * 2;\n this._finished = true;\n } else { // initialize a new index\n this.data = new ArrayBuffer(HEADER_SIZE + coordsByteSize + idsByteSize + padCoords);\n this.ids = new this.IndexArrayType(this.data, HEADER_SIZE, numItems);\n this.coords = new this.ArrayType(this.data, HEADER_SIZE + idsByteSize + padCoords, numItems * 2);\n this._pos = 0;\n this._finished = false;\n\n // set header\n new Uint8Array(this.data, 0, 2).set([0xdb, (VERSION << 4) + arrayTypeIndex]);\n new Uint16Array(this.data, 2, 1)[0] = nodeSize;\n new Uint32Array(this.data, 4, 1)[0] = numItems;\n }\n }\n\n /**\n * Add a point to the index.\n * @param {number} x\n * @param {number} y\n * @returns {number} An incremental index associated with the added item (starting from `0`).\n */\n add(x, y) {\n const index = this._pos >> 1;\n this.ids[index] = index;\n this.coords[this._pos++] = x;\n this.coords[this._pos++] = y;\n return index;\n }\n\n /**\n * Perform indexing of the added points.\n */\n finish() {\n const numAdded = this._pos >> 1;\n if (numAdded !== this.numItems) {\n throw new Error(`Added ${numAdded} items when expected ${this.numItems}.`);\n }\n // kd-sort both arrays for efficient search\n sort(this.ids, this.coords, this.nodeSize, 0, this.numItems - 1, 0);\n\n this._finished = true;\n return this;\n }\n\n /**\n * Search the index for items within a given bounding box.\n * @param {number} minX\n * @param {number} minY\n * @param {number} maxX\n * @param {number} maxY\n * @returns {number[]} An array of indices correponding to the found items.\n */\n range(minX, minY, maxX, maxY) {\n if (!this._finished) throw new Error('Data not yet indexed - call index.finish().');\n\n const {ids, coords, nodeSize} = this;\n const stack = [0, ids.length - 1, 0];\n const result = [];\n\n // recursively search for items in range in the kd-sorted arrays\n while (stack.length) {\n const axis = stack.pop() || 0;\n const right = stack.pop() || 0;\n const left = stack.pop() || 0;\n\n // if we reached \"tree node\", search linearly\n if (right - left <= nodeSize) {\n for (let i = left; i <= right; i++) {\n const x = coords[2 * i];\n const y = coords[2 * i + 1];\n if (x >= minX && x <= maxX && y >= minY && y <= maxY) result.push(ids[i]);\n }\n continue;\n }\n\n // otherwise find the middle index\n const m = (left + right) >> 1;\n\n // include the middle item if it's in range\n const x = coords[2 * m];\n const y = coords[2 * m + 1];\n if (x >= minX && x <= maxX && y >= minY && y <= maxY) result.push(ids[m]);\n\n // queue search in halves that intersect the query\n if (axis === 0 ? minX <= x : minY <= y) {\n stack.push(left);\n stack.push(m - 1);\n stack.push(1 - axis);\n }\n if (axis === 0 ? maxX >= x : maxY >= y) {\n stack.push(m + 1);\n stack.push(right);\n stack.push(1 - axis);\n }\n }\n\n return result;\n }\n\n /**\n * Search the index for items within a given radius.\n * @param {number} qx\n * @param {number} qy\n * @param {number} r Query radius.\n * @returns {number[]} An array of indices correponding to the found items.\n */\n within(qx, qy, r) {\n if (!this._finished) throw new Error('Data not yet indexed - call index.finish().');\n\n const {ids, coords, nodeSize} = this;\n const stack = [0, ids.length - 1, 0];\n const result = [];\n const r2 = r * r;\n\n // recursively search for items within radius in the kd-sorted arrays\n while (stack.length) {\n const axis = stack.pop() || 0;\n const right = stack.pop() || 0;\n const left = stack.pop() || 0;\n\n // if we reached \"tree node\", search linearly\n if (right - left <= nodeSize) {\n for (let i = left; i <= right; i++) {\n if (sqDist(coords[2 * i], coords[2 * i + 1], qx, qy) <= r2) result.push(ids[i]);\n }\n continue;\n }\n\n // otherwise find the middle index\n const m = (left + right) >> 1;\n\n // include the middle item if it's in range\n const x = coords[2 * m];\n const y = coords[2 * m + 1];\n if (sqDist(x, y, qx, qy) <= r2) result.push(ids[m]);\n\n // queue search in halves that intersect the query\n if (axis === 0 ? qx - r <= x : qy - r <= y) {\n stack.push(left);\n stack.push(m - 1);\n stack.push(1 - axis);\n }\n if (axis === 0 ? qx + r >= x : qy + r >= y) {\n stack.push(m + 1);\n stack.push(right);\n stack.push(1 - axis);\n }\n }\n\n return result;\n }\n}\n\n/**\n * @param {Uint16Array | Uint32Array} ids\n * @param {InstanceType} coords\n * @param {number} nodeSize\n * @param {number} left\n * @param {number} right\n * @param {number} axis\n */\nfunction sort(ids, coords, nodeSize, left, right, axis) {\n if (right - left <= nodeSize) return;\n\n const m = (left + right) >> 1; // middle index\n\n // sort ids and coords around the middle index so that the halves lie\n // either left/right or top/bottom correspondingly (taking turns)\n select(ids, coords, m, left, right, axis);\n\n // recursively kd-sort first half and second half on the opposite axis\n sort(ids, coords, nodeSize, left, m - 1, 1 - axis);\n sort(ids, coords, nodeSize, m + 1, right, 1 - axis);\n}\n\n/**\n * Custom Floyd-Rivest selection algorithm: sort ids and coords so that\n * [left..k-1] items are smaller than k-th item (on either x or y axis)\n * @param {Uint16Array | Uint32Array} ids\n * @param {InstanceType} coords\n * @param {number} k\n * @param {number} left\n * @param {number} right\n * @param {number} axis\n */\nfunction select(ids, coords, k, left, right, axis) {\n\n while (right > left) {\n if (right - left > 600) {\n const n = right - left + 1;\n const m = k - left + 1;\n const z = Math.log(n);\n const s = 0.5 * Math.exp(2 * z / 3);\n const sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);\n const newLeft = Math.max(left, Math.floor(k - m * s / n + sd));\n const newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));\n select(ids, coords, k, newLeft, newRight, axis);\n }\n\n const t = coords[2 * k + axis];\n let i = left;\n let j = right;\n\n swapItem(ids, coords, left, k);\n if (coords[2 * right + axis] > t) swapItem(ids, coords, left, right);\n\n while (i < j) {\n swapItem(ids, coords, i, j);\n i++;\n j--;\n while (coords[2 * i + axis] < t) i++;\n while (coords[2 * j + axis] > t) j--;\n }\n\n if (coords[2 * left + axis] === t) swapItem(ids, coords, left, j);\n else {\n j++;\n swapItem(ids, coords, j, right);\n }\n\n if (j <= k) left = j + 1;\n if (k <= j) right = j - 1;\n }\n}\n\n/**\n * @param {Uint16Array | Uint32Array} ids\n * @param {InstanceType} coords\n * @param {number} i\n * @param {number} j\n */\nfunction swapItem(ids, coords, i, j) {\n swap(ids, i, j);\n swap(coords, 2 * i, 2 * j);\n swap(coords, 2 * i + 1, 2 * j + 1);\n}\n\n/**\n * @param {InstanceType} arr\n * @param {number} i\n * @param {number} j\n */\nfunction swap(arr, i, j) {\n const tmp = arr[i];\n arr[i] = arr[j];\n arr[j] = tmp;\n}\n\n/**\n * @param {number} ax\n * @param {number} ay\n * @param {number} bx\n * @param {number} by\n */\nfunction sqDist(ax, ay, bx, by) {\n const dx = ax - bx;\n const dy = ay - by;\n return dx * dx + dy * dy;\n}\n","\nimport KDBush from 'kdbush';\n\nconst defaultOptions = {\n minZoom: 0, // min zoom to generate clusters on\n maxZoom: 16, // max zoom level to cluster the points on\n minPoints: 2, // minimum points to form a cluster\n radius: 40, // cluster radius in pixels\n extent: 512, // tile extent (radius is calculated relative to it)\n nodeSize: 64, // size of the KD-tree leaf node, affects performance\n log: false, // whether to log timing info\n\n // whether to generate numeric ids for input features (in vector tiles)\n generateId: false,\n\n // a reduce function for calculating custom cluster properties\n reduce: null, // (accumulated, props) => { accumulated.sum += props.sum; }\n\n // properties to use for individual points when running the reducer\n map: props => props // props => ({sum: props.my_value})\n};\n\nconst fround = Math.fround || (tmp => ((x) => { tmp[0] = +x; return tmp[0]; }))(new Float32Array(1));\n\nconst OFFSET_ZOOM = 2;\nconst OFFSET_ID = 3;\nconst OFFSET_PARENT = 4;\nconst OFFSET_NUM = 5;\nconst OFFSET_PROP = 6;\n\nexport default class Supercluster {\n constructor(options) {\n this.options = Object.assign(Object.create(defaultOptions), options);\n this.trees = new Array(this.options.maxZoom + 1);\n this.stride = this.options.reduce ? 7 : 6;\n this.clusterProps = [];\n }\n\n load(points) {\n const {log, minZoom, maxZoom} = this.options;\n\n if (log) console.time('total time');\n\n const timerId = `prepare ${ points.length } points`;\n if (log) console.time(timerId);\n\n this.points = points;\n\n // generate a cluster object for each point and index input points into a KD-tree\n const data = [];\n\n for (let i = 0; i < points.length; i++) {\n const p = points[i];\n if (!p.geometry) continue;\n\n const [lng, lat] = p.geometry.coordinates;\n const x = fround(lngX(lng));\n const y = fround(latY(lat));\n // store internal point/cluster data in flat numeric arrays for performance\n data.push(\n x, y, // projected point coordinates\n Infinity, // the last zoom the point was processed at\n i, // index of the source feature in the original input array\n -1, // parent cluster id\n 1 // number of points in a cluster\n );\n if (this.options.reduce) data.push(0); // noop\n }\n let tree = this.trees[maxZoom + 1] = this._createTree(data);\n\n if (log) console.timeEnd(timerId);\n\n // cluster points on max zoom, then cluster the results on previous zoom, etc.;\n // results in a cluster hierarchy across zoom levels\n for (let z = maxZoom; z >= minZoom; z--) {\n const now = +Date.now();\n\n // create a new set of clusters for the zoom and index them with a KD-tree\n tree = this.trees[z] = this._createTree(this._cluster(tree, z));\n\n if (log) console.log('z%d: %d clusters in %dms', z, tree.numItems, +Date.now() - now);\n }\n\n if (log) console.timeEnd('total time');\n\n return this;\n }\n\n getClusters(bbox, zoom) {\n let minLng = ((bbox[0] + 180) % 360 + 360) % 360 - 180;\n const minLat = Math.max(-90, Math.min(90, bbox[1]));\n let maxLng = bbox[2] === 180 ? 180 : ((bbox[2] + 180) % 360 + 360) % 360 - 180;\n const maxLat = Math.max(-90, Math.min(90, bbox[3]));\n\n if (bbox[2] - bbox[0] >= 360) {\n minLng = -180;\n maxLng = 180;\n } else if (minLng > maxLng) {\n const easternHem = this.getClusters([minLng, minLat, 180, maxLat], zoom);\n const westernHem = this.getClusters([-180, minLat, maxLng, maxLat], zoom);\n return easternHem.concat(westernHem);\n }\n\n const tree = this.trees[this._limitZoom(zoom)];\n const ids = tree.range(lngX(minLng), latY(maxLat), lngX(maxLng), latY(minLat));\n const data = tree.data;\n const clusters = [];\n for (const id of ids) {\n const k = this.stride * id;\n clusters.push(data[k + OFFSET_NUM] > 1 ? getClusterJSON(data, k, this.clusterProps) : this.points[data[k + OFFSET_ID]]);\n }\n return clusters;\n }\n\n getChildren(clusterId) {\n const originId = this._getOriginId(clusterId);\n const originZoom = this._getOriginZoom(clusterId);\n const errorMsg = 'No cluster with the specified id.';\n\n const tree = this.trees[originZoom];\n if (!tree) throw new Error(errorMsg);\n\n const data = tree.data;\n if (originId * this.stride >= data.length) throw new Error(errorMsg);\n\n const r = this.options.radius / (this.options.extent * Math.pow(2, originZoom - 1));\n const x = data[originId * this.stride];\n const y = data[originId * this.stride + 1];\n const ids = tree.within(x, y, r);\n const children = [];\n for (const id of ids) {\n const k = id * this.stride;\n if (data[k + OFFSET_PARENT] === clusterId) {\n children.push(data[k + OFFSET_NUM] > 1 ? getClusterJSON(data, k, this.clusterProps) : this.points[data[k + OFFSET_ID]]);\n }\n }\n\n if (children.length === 0) throw new Error(errorMsg);\n\n return children;\n }\n\n getLeaves(clusterId, limit, offset) {\n limit = limit || 10;\n offset = offset || 0;\n\n const leaves = [];\n this._appendLeaves(leaves, clusterId, limit, offset, 0);\n\n return leaves;\n }\n\n getTile(z, x, y) {\n const tree = this.trees[this._limitZoom(z)];\n const z2 = Math.pow(2, z);\n const {extent, radius} = this.options;\n const p = radius / extent;\n const top = (y - p) / z2;\n const bottom = (y + 1 + p) / z2;\n\n const tile = {\n features: []\n };\n\n this._addTileFeatures(\n tree.range((x - p) / z2, top, (x + 1 + p) / z2, bottom),\n tree.data, x, y, z2, tile);\n\n if (x === 0) {\n this._addTileFeatures(\n tree.range(1 - p / z2, top, 1, bottom),\n tree.data, z2, y, z2, tile);\n }\n if (x === z2 - 1) {\n this._addTileFeatures(\n tree.range(0, top, p / z2, bottom),\n tree.data, -1, y, z2, tile);\n }\n\n return tile.features.length ? tile : null;\n }\n\n getClusterExpansionZoom(clusterId) {\n let expansionZoom = this._getOriginZoom(clusterId) - 1;\n while (expansionZoom <= this.options.maxZoom) {\n const children = this.getChildren(clusterId);\n expansionZoom++;\n if (children.length !== 1) break;\n clusterId = children[0].properties.cluster_id;\n }\n return expansionZoom;\n }\n\n _appendLeaves(result, clusterId, limit, offset, skipped) {\n const children = this.getChildren(clusterId);\n\n for (const child of children) {\n const props = child.properties;\n\n if (props && props.cluster) {\n if (skipped + props.point_count <= offset) {\n // skip the whole cluster\n skipped += props.point_count;\n } else {\n // enter the cluster\n skipped = this._appendLeaves(result, props.cluster_id, limit, offset, skipped);\n // exit the cluster\n }\n } else if (skipped < offset) {\n // skip a single point\n skipped++;\n } else {\n // add a single point\n result.push(child);\n }\n if (result.length === limit) break;\n }\n\n return skipped;\n }\n\n _createTree(data) {\n const tree = new KDBush(data.length / this.stride | 0, this.options.nodeSize, Float32Array);\n for (let i = 0; i < data.length; i += this.stride) tree.add(data[i], data[i + 1]);\n tree.finish();\n tree.data = data;\n return tree;\n }\n\n _addTileFeatures(ids, data, x, y, z2, tile) {\n for (const i of ids) {\n const k = i * this.stride;\n const isCluster = data[k + OFFSET_NUM] > 1;\n\n let tags, px, py;\n if (isCluster) {\n tags = getClusterProperties(data, k, this.clusterProps);\n px = data[k];\n py = data[k + 1];\n } else {\n const p = this.points[data[k + OFFSET_ID]];\n tags = p.properties;\n const [lng, lat] = p.geometry.coordinates;\n px = lngX(lng);\n py = latY(lat);\n }\n\n const f = {\n type: 1,\n geometry: [[\n Math.round(this.options.extent * (px * z2 - x)),\n Math.round(this.options.extent * (py * z2 - y))\n ]],\n tags\n };\n\n // assign id\n let id;\n if (isCluster || this.options.generateId) {\n // optionally generate id for points\n id = data[k + OFFSET_ID];\n } else {\n // keep id if already assigned\n id = this.points[data[k + OFFSET_ID]].id;\n }\n\n if (id !== undefined) f.id = id;\n\n tile.features.push(f);\n }\n }\n\n _limitZoom(z) {\n return Math.max(this.options.minZoom, Math.min(Math.floor(+z), this.options.maxZoom + 1));\n }\n\n _cluster(tree, zoom) {\n const {radius, extent, reduce, minPoints} = this.options;\n const r = radius / (extent * Math.pow(2, zoom));\n const data = tree.data;\n const nextData = [];\n const stride = this.stride;\n\n // loop through each point\n for (let i = 0; i < data.length; i += stride) {\n // if we've already visited the point at this zoom level, skip it\n if (data[i + OFFSET_ZOOM] <= zoom) continue;\n data[i + OFFSET_ZOOM] = zoom;\n\n // find all nearby points\n const x = data[i];\n const y = data[i + 1];\n const neighborIds = tree.within(data[i], data[i + 1], r);\n\n const numPointsOrigin = data[i + OFFSET_NUM];\n let numPoints = numPointsOrigin;\n\n // count the number of points in a potential cluster\n for (const neighborId of neighborIds) {\n const k = neighborId * stride;\n // filter out neighbors that are already processed\n if (data[k + OFFSET_ZOOM] > zoom) numPoints += data[k + OFFSET_NUM];\n }\n\n // if there were neighbors to merge, and there are enough points to form a cluster\n if (numPoints > numPointsOrigin && numPoints >= minPoints) {\n let wx = x * numPointsOrigin;\n let wy = y * numPointsOrigin;\n\n let clusterProperties;\n let clusterPropIndex = -1;\n\n // encode both zoom and point index on which the cluster originated -- offset by total length of features\n const id = ((i / stride | 0) << 5) + (zoom + 1) + this.points.length;\n\n for (const neighborId of neighborIds) {\n const k = neighborId * stride;\n\n if (data[k + OFFSET_ZOOM] <= zoom) continue;\n data[k + OFFSET_ZOOM] = zoom; // save the zoom (so it doesn't get processed twice)\n\n const numPoints2 = data[k + OFFSET_NUM];\n wx += data[k] * numPoints2; // accumulate coordinates for calculating weighted center\n wy += data[k + 1] * numPoints2;\n\n data[k + OFFSET_PARENT] = id;\n\n if (reduce) {\n if (!clusterProperties) {\n clusterProperties = this._map(data, i, true);\n clusterPropIndex = this.clusterProps.length;\n this.clusterProps.push(clusterProperties);\n }\n reduce(clusterProperties, this._map(data, k));\n }\n }\n\n data[i + OFFSET_PARENT] = id;\n nextData.push(wx / numPoints, wy / numPoints, Infinity, id, -1, numPoints);\n if (reduce) nextData.push(clusterPropIndex);\n\n } else { // left points as unclustered\n for (let j = 0; j < stride; j++) nextData.push(data[i + j]);\n\n if (numPoints > 1) {\n for (const neighborId of neighborIds) {\n const k = neighborId * stride;\n if (data[k + OFFSET_ZOOM] <= zoom) continue;\n data[k + OFFSET_ZOOM] = zoom;\n for (let j = 0; j < stride; j++) nextData.push(data[k + j]);\n }\n }\n }\n }\n\n return nextData;\n }\n\n // get index of the point from which the cluster originated\n _getOriginId(clusterId) {\n return (clusterId - this.points.length) >> 5;\n }\n\n // get zoom of the point from which the cluster originated\n _getOriginZoom(clusterId) {\n return (clusterId - this.points.length) % 32;\n }\n\n _map(data, i, clone) {\n if (data[i + OFFSET_NUM] > 1) {\n const props = this.clusterProps[data[i + OFFSET_PROP]];\n return clone ? Object.assign({}, props) : props;\n }\n const original = this.points[data[i + OFFSET_ID]].properties;\n const result = this.options.map(original);\n return clone && result === original ? Object.assign({}, result) : result;\n }\n}\n\nfunction getClusterJSON(data, i, clusterProps) {\n return {\n type: 'Feature',\n id: data[i + OFFSET_ID],\n properties: getClusterProperties(data, i, clusterProps),\n geometry: {\n type: 'Point',\n coordinates: [xLng(data[i]), yLat(data[i + 1])]\n }\n };\n}\n\nfunction getClusterProperties(data, i, clusterProps) {\n const count = data[i + OFFSET_NUM];\n const abbrev =\n count >= 10000 ? `${Math.round(count / 1000) }k` :\n count >= 1000 ? `${Math.round(count / 100) / 10 }k` : count;\n const propIndex = data[i + OFFSET_PROP];\n const properties = propIndex === -1 ? {} : Object.assign({}, clusterProps[propIndex]);\n return Object.assign(properties, {\n cluster: true,\n cluster_id: data[i + OFFSET_ID],\n point_count: count,\n point_count_abbreviated: abbrev\n });\n}\n\n// longitude/latitude to spherical mercator in [0..1] range\nfunction lngX(lng) {\n return lng / 360 + 0.5;\n}\nfunction latY(lat) {\n const sin = Math.sin(lat * Math.PI / 180);\n const y = (0.5 - 0.25 * Math.log((1 + sin) / (1 - sin)) / Math.PI);\n return y < 0 ? 0 : y > 1 ? 1 : y;\n}\n\n// spherical mercator to longitude/latitude\nfunction xLng(x) {\n return (x - 0.5) * 360;\n}\nfunction yLat(y) {\n const y2 = (180 - y * 360) * Math.PI / 180;\n return 360 * Math.atan(Math.exp(y2)) / Math.PI - 90;\n}\n","import equal from 'fast-deep-equal';\nimport SuperCluster from 'supercluster';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\n\n/**\n * Copyright 2023 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * util class that creates a common set of convenience functions to wrap\n * shared behavior of Advanced Markers and Markers.\n */\nclass MarkerUtils {\n static isAdvancedMarkerAvailable(map) {\n return (google.maps.marker &&\n map.getMapCapabilities().isAdvancedMarkersAvailable === true);\n }\n static isAdvancedMarker(marker) {\n return (google.maps.marker &&\n marker instanceof google.maps.marker.AdvancedMarkerElement);\n }\n static setMap(marker, map) {\n if (this.isAdvancedMarker(marker)) {\n marker.map = map;\n }\n else {\n marker.setMap(map);\n }\n }\n static getPosition(marker) {\n // SuperClusterAlgorithm.calculate expects a LatLng instance so we fake it for Adv Markers\n if (this.isAdvancedMarker(marker)) {\n if (marker.position) {\n if (marker.position instanceof google.maps.LatLng) {\n return marker.position;\n }\n // since we can't cast to LatLngLiteral for reasons =(\n if (marker.position.lat && marker.position.lng) {\n return new google.maps.LatLng(marker.position.lat, marker.position.lng);\n }\n }\n return new google.maps.LatLng(null);\n }\n return marker.getPosition();\n }\n static getVisible(marker) {\n if (this.isAdvancedMarker(marker)) {\n /**\n * Always return true for Advanced Markers because the clusterer\n * uses getVisible as a way to count legacy markers not as an actual\n * indicator of visibility for some reason. Even when markers are hidden\n * Marker.getVisible returns `true` and this is used to set the marker count\n * on the cluster. See the behavior of Cluster.count\n */\n return true;\n }\n return marker.getVisible();\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nclass Cluster {\n constructor({ markers, position }) {\n this.markers = markers;\n if (position) {\n if (position instanceof google.maps.LatLng) {\n this._position = position;\n }\n else {\n this._position = new google.maps.LatLng(position);\n }\n }\n }\n get bounds() {\n if (this.markers.length === 0 && !this._position) {\n return;\n }\n const bounds = new google.maps.LatLngBounds(this._position, this._position);\n for (const marker of this.markers) {\n bounds.extend(MarkerUtils.getPosition(marker));\n }\n return bounds;\n }\n get position() {\n return this._position || this.bounds.getCenter();\n }\n /**\n * Get the count of **visible** markers.\n */\n get count() {\n return this.markers.filter((m) => MarkerUtils.getVisible(m)).length;\n }\n /**\n * Add a marker to the cluster.\n */\n push(marker) {\n this.markers.push(marker);\n }\n /**\n * Cleanup references and remove marker from map.\n */\n delete() {\n if (this.marker) {\n MarkerUtils.setMap(this.marker, null);\n this.marker = undefined;\n }\n this.markers.length = 0;\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Returns the markers visible in a padded map viewport\n *\n * @param map\n * @param mapCanvasProjection\n * @param markers The list of marker to filter\n * @param viewportPaddingPixels The padding in pixel\n * @returns The list of markers in the padded viewport\n */\nconst filterMarkersToPaddedViewport = (map, mapCanvasProjection, markers, viewportPaddingPixels) => {\n const extendedMapBounds = extendBoundsToPaddedViewport(map.getBounds(), mapCanvasProjection, viewportPaddingPixels);\n return markers.filter((marker) => extendedMapBounds.contains(MarkerUtils.getPosition(marker)));\n};\n/**\n * Extends a bounds by a number of pixels in each direction\n */\nconst extendBoundsToPaddedViewport = (bounds, projection, numPixels) => {\n const { northEast, southWest } = latLngBoundsToPixelBounds(bounds, projection);\n const extendedPixelBounds = extendPixelBounds({ northEast, southWest }, numPixels);\n return pixelBoundsToLatLngBounds(extendedPixelBounds, projection);\n};\n/**\n * Gets the extended bounds as a bbox [westLng, southLat, eastLng, northLat]\n */\nconst getPaddedViewport = (bounds, projection, pixels) => {\n const extended = extendBoundsToPaddedViewport(bounds, projection, pixels);\n const ne = extended.getNorthEast();\n const sw = extended.getSouthWest();\n return [sw.lng(), sw.lat(), ne.lng(), ne.lat()];\n};\n/**\n * Returns the distance between 2 positions.\n *\n * @hidden\n */\nconst distanceBetweenPoints = (p1, p2) => {\n const R = 6371; // Radius of the Earth in km\n const dLat = ((p2.lat - p1.lat) * Math.PI) / 180;\n const dLon = ((p2.lng - p1.lng) * Math.PI) / 180;\n const sinDLat = Math.sin(dLat / 2);\n const sinDLon = Math.sin(dLon / 2);\n const a = sinDLat * sinDLat +\n Math.cos((p1.lat * Math.PI) / 180) *\n Math.cos((p2.lat * Math.PI) / 180) *\n sinDLon *\n sinDLon;\n const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n return R * c;\n};\n/**\n * Converts a LatLng bound to pixels.\n *\n * @hidden\n */\nconst latLngBoundsToPixelBounds = (bounds, projection) => {\n return {\n northEast: projection.fromLatLngToDivPixel(bounds.getNorthEast()),\n southWest: projection.fromLatLngToDivPixel(bounds.getSouthWest()),\n };\n};\n/**\n * Extends a pixel bounds by numPixels in all directions.\n *\n * @hidden\n */\nconst extendPixelBounds = ({ northEast, southWest }, numPixels) => {\n northEast.x += numPixels;\n northEast.y -= numPixels;\n southWest.x -= numPixels;\n southWest.y += numPixels;\n return { northEast, southWest };\n};\n/**\n * @hidden\n */\nconst pixelBoundsToLatLngBounds = ({ northEast, southWest }, projection) => {\n const sw = projection.fromDivPixelToLatLng(southWest);\n const ne = projection.fromDivPixelToLatLng(northEast);\n return new google.maps.LatLngBounds(sw, ne);\n};\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @hidden\n */\nclass AbstractAlgorithm {\n constructor({ maxZoom = 16 }) {\n this.maxZoom = maxZoom;\n }\n /**\n * Helper function to bypass clustering based upon some map state such as\n * zoom, number of markers, etc.\n *\n * ```typescript\n * cluster({markers, map}: AlgorithmInput): Cluster[] {\n * if (shouldBypassClustering(map)) {\n * return this.noop({markers})\n * }\n * }\n * ```\n */\n noop({ markers, }) {\n return noop(markers);\n }\n}\n/**\n * Abstract viewport algorithm proves a class to filter markers by a padded\n * viewport. This is a common optimization.\n *\n * @hidden\n */\nclass AbstractViewportAlgorithm extends AbstractAlgorithm {\n constructor(_a) {\n var { viewportPadding = 60 } = _a, options = __rest(_a, [\"viewportPadding\"]);\n super(options);\n this.viewportPadding = 60;\n this.viewportPadding = viewportPadding;\n }\n calculate({ markers, map, mapCanvasProjection, }) {\n if (map.getZoom() >= this.maxZoom) {\n return {\n clusters: this.noop({\n markers,\n }),\n changed: false,\n };\n }\n return {\n clusters: this.cluster({\n markers: filterMarkersToPaddedViewport(map, mapCanvasProjection, markers, this.viewportPadding),\n map,\n mapCanvasProjection,\n }),\n };\n }\n}\n/**\n * @hidden\n */\nconst noop = (markers) => {\n const clusters = markers.map((marker) => new Cluster({\n position: MarkerUtils.getPosition(marker),\n markers: [marker],\n }));\n return clusters;\n};\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * The default Grid algorithm historically used in Google Maps marker\n * clustering.\n *\n * The Grid algorithm does not implement caching and markers may flash as the\n * viewport changes. Instead use {@link SuperClusterAlgorithm}.\n */\nclass GridAlgorithm extends AbstractViewportAlgorithm {\n constructor(_a) {\n var { maxDistance = 40000, gridSize = 40 } = _a, options = __rest(_a, [\"maxDistance\", \"gridSize\"]);\n super(options);\n this.clusters = [];\n this.state = { zoom: -1 };\n this.maxDistance = maxDistance;\n this.gridSize = gridSize;\n }\n calculate({ markers, map, mapCanvasProjection, }) {\n const state = { zoom: map.getZoom() };\n let changed = false;\n if (this.state.zoom >= this.maxZoom && state.zoom >= this.maxZoom) ;\n else {\n changed = !equal(this.state, state);\n }\n this.state = state;\n if (map.getZoom() >= this.maxZoom) {\n return {\n clusters: this.noop({\n markers,\n }),\n changed,\n };\n }\n return {\n clusters: this.cluster({\n markers: filterMarkersToPaddedViewport(map, mapCanvasProjection, markers, this.viewportPadding),\n map,\n mapCanvasProjection,\n }),\n };\n }\n cluster({ markers, map, mapCanvasProjection, }) {\n this.clusters = [];\n markers.forEach((marker) => {\n this.addToClosestCluster(marker, map, mapCanvasProjection);\n });\n return this.clusters;\n }\n addToClosestCluster(marker, map, projection) {\n let maxDistance = this.maxDistance; // Some large number\n let cluster = null;\n for (let i = 0; i < this.clusters.length; i++) {\n const candidate = this.clusters[i];\n const distance = distanceBetweenPoints(candidate.bounds.getCenter().toJSON(), MarkerUtils.getPosition(marker).toJSON());\n if (distance < maxDistance) {\n maxDistance = distance;\n cluster = candidate;\n }\n }\n if (cluster &&\n extendBoundsToPaddedViewport(cluster.bounds, projection, this.gridSize).contains(MarkerUtils.getPosition(marker))) {\n cluster.push(marker);\n }\n else {\n const cluster = new Cluster({ markers: [marker] });\n this.clusters.push(cluster);\n }\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Noop algorithm does not generate any clusters or filter markers by the an extended viewport.\n */\nclass NoopAlgorithm extends AbstractAlgorithm {\n constructor(_a) {\n var options = __rest(_a, []);\n super(options);\n }\n calculate({ markers, map, mapCanvasProjection, }) {\n return {\n clusters: this.cluster({ markers, map, mapCanvasProjection }),\n changed: false,\n };\n }\n cluster(input) {\n return this.noop(input);\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A very fast JavaScript algorithm for geospatial point clustering using KD trees.\n *\n * @see https://www.npmjs.com/package/supercluster for more information on options.\n */\nclass SuperClusterAlgorithm extends AbstractAlgorithm {\n constructor(_a) {\n var { maxZoom, radius = 60 } = _a, options = __rest(_a, [\"maxZoom\", \"radius\"]);\n super({ maxZoom });\n this.state = { zoom: -1 };\n this.superCluster = new SuperCluster(Object.assign({ maxZoom: this.maxZoom, radius }, options));\n }\n calculate(input) {\n let changed = false;\n const state = { zoom: input.map.getZoom() };\n if (!equal(input.markers, this.markers)) {\n changed = true;\n // TODO use proxy to avoid copy?\n this.markers = [...input.markers];\n const points = this.markers.map((marker) => {\n const position = MarkerUtils.getPosition(marker);\n const coordinates = [position.lng(), position.lat()];\n return {\n type: \"Feature\",\n geometry: {\n type: \"Point\",\n coordinates,\n },\n properties: { marker },\n };\n });\n this.superCluster.load(points);\n }\n if (!changed) {\n if (this.state.zoom <= this.maxZoom || state.zoom <= this.maxZoom) {\n changed = !equal(this.state, state);\n }\n }\n this.state = state;\n if (changed) {\n this.clusters = this.cluster(input);\n }\n return { clusters: this.clusters, changed };\n }\n cluster({ map }) {\n return this.superCluster\n .getClusters([-180, -90, 180, 90], Math.round(map.getZoom()))\n .map((feature) => this.transformCluster(feature));\n }\n transformCluster({ geometry: { coordinates: [lng, lat], }, properties, }) {\n if (properties.cluster) {\n return new Cluster({\n markers: this.superCluster\n .getLeaves(properties.cluster_id, Infinity)\n .map((leaf) => leaf.properties.marker),\n position: { lat, lng },\n });\n }\n const marker = properties.marker;\n return new Cluster({\n markers: [marker],\n position: MarkerUtils.getPosition(marker),\n });\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * A very fast JavaScript algorithm for geospatial point clustering using KD trees.\n *\n * @see https://www.npmjs.com/package/supercluster for more information on options.\n */\nclass SuperClusterViewportAlgorithm extends AbstractViewportAlgorithm {\n constructor(_a) {\n var { maxZoom, radius = 60, viewportPadding = 60 } = _a, options = __rest(_a, [\"maxZoom\", \"radius\", \"viewportPadding\"]);\n super({ maxZoom, viewportPadding });\n this.superCluster = new SuperCluster(Object.assign({ maxZoom: this.maxZoom, radius }, options));\n this.state = { zoom: -1, view: [0, 0, 0, 0] };\n }\n calculate(input) {\n const state = {\n zoom: Math.round(input.map.getZoom()),\n view: getPaddedViewport(input.map.getBounds(), input.mapCanvasProjection, this.viewportPadding),\n };\n let changed = !equal(this.state, state);\n if (!equal(input.markers, this.markers)) {\n changed = true;\n // TODO use proxy to avoid copy?\n this.markers = [...input.markers];\n const points = this.markers.map((marker) => {\n const position = MarkerUtils.getPosition(marker);\n const coordinates = [position.lng(), position.lat()];\n return {\n type: \"Feature\",\n geometry: {\n type: \"Point\",\n coordinates,\n },\n properties: { marker },\n };\n });\n this.superCluster.load(points);\n }\n if (changed) {\n this.clusters = this.cluster(input);\n this.state = state;\n }\n return { clusters: this.clusters, changed };\n }\n cluster({ map, mapCanvasProjection }) {\n /* recalculate new state because we can't use the cached version. */\n const state = {\n zoom: Math.round(map.getZoom()),\n view: getPaddedViewport(map.getBounds(), mapCanvasProjection, this.viewportPadding),\n };\n return this.superCluster\n .getClusters(state.view, state.zoom)\n .map((feature) => this.transformCluster(feature));\n }\n transformCluster({ geometry: { coordinates: [lng, lat], }, properties, }) {\n if (properties.cluster) {\n return new Cluster({\n markers: this.superCluster\n .getLeaves(properties.cluster_id, Infinity)\n .map((leaf) => leaf.properties.marker),\n position: { lat, lng },\n });\n }\n const marker = properties.marker;\n return new Cluster({\n markers: [marker],\n position: MarkerUtils.getPosition(marker),\n });\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Provides statistics on all clusters in the current render cycle for use in {@link Renderer.render}.\n */\nclass ClusterStats {\n constructor(markers, clusters) {\n this.markers = { sum: markers.length };\n const clusterMarkerCounts = clusters.map((a) => a.count);\n const clusterMarkerSum = clusterMarkerCounts.reduce((a, b) => a + b, 0);\n this.clusters = {\n count: clusters.length,\n markers: {\n mean: clusterMarkerSum / clusters.length,\n sum: clusterMarkerSum,\n min: Math.min(...clusterMarkerCounts),\n max: Math.max(...clusterMarkerCounts),\n },\n };\n }\n}\nclass DefaultRenderer {\n /**\n * The default render function for the library used by {@link MarkerClusterer}.\n *\n * Currently set to use the following:\n *\n * ```typescript\n * // change color if this cluster has more markers than the mean cluster\n * const color =\n * count > Math.max(10, stats.clusters.markers.mean)\n * ? \"#ff0000\"\n * : \"#0000ff\";\n *\n * // create svg url with fill color\n * const svg = window.btoa(`\n * \n * \n * \n * \n * \n * `);\n *\n * // create marker using svg icon\n * return new google.maps.Marker({\n * position,\n * icon: {\n * url: `data:image/svg+xml;base64,${svg}`,\n * scaledSize: new google.maps.Size(45, 45),\n * },\n * label: {\n * text: String(count),\n * color: \"rgba(255,255,255,0.9)\",\n * fontSize: \"12px\",\n * },\n * // adjust zIndex to be above other markers\n * zIndex: 1000 + count,\n * });\n * ```\n */\n render({ count, position }, stats, map) {\n // change color if this cluster has more markers than the mean cluster\n const color = count > Math.max(10, stats.clusters.markers.mean) ? \"#ff0000\" : \"#0000ff\";\n // create svg literal with fill color\n const svg = `\n\n\n\n${count}\n`;\n const title = `Cluster of ${count} markers`, \n // adjust zIndex to be above other markers\n zIndex = Number(google.maps.Marker.MAX_ZINDEX) + count;\n if (MarkerUtils.isAdvancedMarkerAvailable(map)) {\n // create cluster SVG element\n const parser = new DOMParser();\n const svgEl = parser.parseFromString(svg, \"image/svg+xml\").documentElement;\n svgEl.setAttribute(\"transform\", \"translate(0 25)\");\n const clusterOptions = {\n map,\n position,\n zIndex,\n title,\n content: svgEl,\n };\n return new google.maps.marker.AdvancedMarkerElement(clusterOptions);\n }\n const clusterOptions = {\n position,\n zIndex,\n title,\n icon: {\n url: `data:image/svg+xml;base64,${btoa(svg)}`,\n anchor: new google.maps.Point(25, 25),\n },\n };\n return new google.maps.Marker(clusterOptions);\n }\n}\n\n/**\n * Copyright 2019 Google LLC. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * Extends an object's prototype by another's.\n *\n * @param type1 The Type to be extended.\n * @param type2 The Type to extend with.\n * @ignore\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction extend(type1, type2) {\n /* istanbul ignore next */\n // eslint-disable-next-line prefer-const\n for (let property in type2.prototype) {\n type1.prototype[property] = type2.prototype[property];\n }\n}\n/**\n * @ignore\n */\nclass OverlayViewSafe {\n constructor() {\n // MarkerClusterer implements google.maps.OverlayView interface. We use the\n // extend function to extend MarkerClusterer with google.maps.OverlayView\n // because it might not always be available when the code is defined so we\n // look for it at the last possible moment. If it doesn't exist now then\n // there is no point going ahead :)\n extend(OverlayViewSafe, google.maps.OverlayView);\n }\n}\n\n/**\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar MarkerClustererEvents;\n(function (MarkerClustererEvents) {\n MarkerClustererEvents[\"CLUSTERING_BEGIN\"] = \"clusteringbegin\";\n MarkerClustererEvents[\"CLUSTERING_END\"] = \"clusteringend\";\n MarkerClustererEvents[\"CLUSTER_CLICK\"] = \"click\";\n})(MarkerClustererEvents || (MarkerClustererEvents = {}));\nconst defaultOnClusterClickHandler = (_, cluster, map) => {\n map.fitBounds(cluster.bounds);\n};\n/**\n * MarkerClusterer creates and manages per-zoom-level clusters for large amounts\n * of markers. See {@link MarkerClustererOptions} for more details.\n *\n */\nclass MarkerClusterer extends OverlayViewSafe {\n constructor({ map, markers = [], algorithmOptions = {}, algorithm = new SuperClusterAlgorithm(algorithmOptions), renderer = new DefaultRenderer(), onClusterClick = defaultOnClusterClickHandler, }) {\n super();\n this.markers = [...markers];\n this.clusters = [];\n this.algorithm = algorithm;\n this.renderer = renderer;\n this.onClusterClick = onClusterClick;\n if (map) {\n this.setMap(map);\n }\n }\n addMarker(marker, noDraw) {\n if (this.markers.includes(marker)) {\n return;\n }\n this.markers.push(marker);\n if (!noDraw) {\n this.render();\n }\n }\n addMarkers(markers, noDraw) {\n markers.forEach((marker) => {\n this.addMarker(marker, true);\n });\n if (!noDraw) {\n this.render();\n }\n }\n removeMarker(marker, noDraw) {\n const index = this.markers.indexOf(marker);\n if (index === -1) {\n // Marker is not in our list of markers, so do nothing:\n return false;\n }\n MarkerUtils.setMap(marker, null);\n this.markers.splice(index, 1); // Remove the marker from the list of managed markers\n if (!noDraw) {\n this.render();\n }\n return true;\n }\n removeMarkers(markers, noDraw) {\n let removed = false;\n markers.forEach((marker) => {\n removed = this.removeMarker(marker, true) || removed;\n });\n if (removed && !noDraw) {\n this.render();\n }\n return removed;\n }\n clearMarkers(noDraw) {\n this.markers.length = 0;\n if (!noDraw) {\n this.render();\n }\n }\n /**\n * Recalculates and draws all the marker clusters.\n */\n render() {\n const map = this.getMap();\n if (map instanceof google.maps.Map && map.getProjection()) {\n google.maps.event.trigger(this, MarkerClustererEvents.CLUSTERING_BEGIN, this);\n const { clusters, changed } = this.algorithm.calculate({\n markers: this.markers,\n map,\n mapCanvasProjection: this.getProjection(),\n });\n // Allow algorithms to return flag on whether the clusters/markers have changed.\n if (changed || changed == undefined) {\n // Accumulate the markers of the clusters composed of a single marker.\n // Those clusters directly use the marker.\n // Clusters with more than one markers use a group marker generated by a renderer.\n const singleMarker = new Set();\n for (const cluster of clusters) {\n if (cluster.markers.length == 1) {\n singleMarker.add(cluster.markers[0]);\n }\n }\n const groupMarkers = [];\n // Iterate the clusters that are currently rendered.\n for (const cluster of this.clusters) {\n if (cluster.marker == null) {\n continue;\n }\n if (cluster.markers.length == 1) {\n if (!singleMarker.has(cluster.marker)) {\n // The marker:\n // - was previously rendered because it is from a cluster with 1 marker,\n // - should no more be rendered as it is not in singleMarker.\n MarkerUtils.setMap(cluster.marker, null);\n }\n }\n else {\n // Delay the removal of old group markers to avoid flickering.\n groupMarkers.push(cluster.marker);\n }\n }\n this.clusters = clusters;\n this.renderClusters();\n // Delayed removal of the markers of the former groups.\n requestAnimationFrame(() => groupMarkers.forEach((marker) => MarkerUtils.setMap(marker, null)));\n }\n google.maps.event.trigger(this, MarkerClustererEvents.CLUSTERING_END, this);\n }\n }\n onAdd() {\n this.idleListener = this.getMap().addListener(\"idle\", this.render.bind(this));\n this.render();\n }\n onRemove() {\n google.maps.event.removeListener(this.idleListener);\n this.reset();\n }\n reset() {\n this.markers.forEach((marker) => MarkerUtils.setMap(marker, null));\n this.clusters.forEach((cluster) => cluster.delete());\n this.clusters = [];\n }\n renderClusters() {\n // Generate stats to pass to renderers.\n const stats = new ClusterStats(this.markers, this.clusters);\n const map = this.getMap();\n this.clusters.forEach((cluster) => {\n if (cluster.markers.length === 1) {\n cluster.marker = cluster.markers[0];\n }\n else {\n // Generate the marker to represent the group.\n cluster.marker = this.renderer.render(cluster, stats, map);\n // Make sure all individual markers are removed from the map.\n cluster.markers.forEach((marker) => MarkerUtils.setMap(marker, null));\n if (this.onClusterClick) {\n cluster.marker.addListener(\"click\", \n /* istanbul ignore next */\n (event) => {\n google.maps.event.trigger(this, MarkerClustererEvents.CLUSTER_CLICK, cluster);\n this.onClusterClick(event, cluster, map);\n });\n }\n }\n MarkerUtils.setMap(cluster.marker, map);\n });\n }\n}\n\nexport { AbstractAlgorithm, AbstractViewportAlgorithm, Cluster, ClusterStats, DefaultRenderer, GridAlgorithm, MarkerClusterer, MarkerClustererEvents, MarkerUtils, NoopAlgorithm, SuperClusterAlgorithm, SuperClusterViewportAlgorithm, defaultOnClusterClickHandler, distanceBetweenPoints, extendBoundsToPaddedViewport, extendPixelBounds, filterMarkersToPaddedViewport, getPaddedViewport, noop, pixelBoundsToLatLngBounds };\n//# sourceMappingURL=index.esm.js.map\n","export default {\n DisableOverlay: 'rfp-storelocator-disable-overlay',\n StoresFound: 'rfp-stores-found',\n};\n","/* eslint-disable array-callback-return */\n/* global google */\nimport { MarkerClusterer } from '@googlemaps/markerclusterer';\nimport eventBus from '@refapp/eventbus-js';\nimport mapStyleOptions from './map-style-options.json';\nimport PromotionBannerEvent from '../promotion/promotion-banner-event';\nimport Event from './google-api-event';\nimport { tryParseJson } from './utils';\n\nexport default {\n methods: {\n /**\n * @function bindGMapListeners\n * @desc bindGMapListeners for listen the google map event.\n */\n bindGMapListeners(data) {\n const map = this.map;\n let status = data;\n const self = this;\n this.infoWindow = new google.maps.InfoWindow();\n google.maps.event.addListener(this.infoWindow, 'close', () => {\n // clear the location id whenever the infowindow closes for whatever reason\n this.infoWindowLocationId = null;\n });\n if (this.showToggle && data) {\n this.getRadius();\n } else {\n google.maps.event.addListener(map, 'idle', () => {\n if (status) {\n self.getRadius();\n status = false;\n }\n });\n }\n },\n getWebsiteBaseData(urls) {\n return new URL(urls).origin;\n },\n async getRadius() {\n if (this.latupgrade !== this.lat || this.lonupgrade !== this.lon) {\n await this.initMap();\n }\n\n /**\n * NOTE: THE ARGUMENTS (ELEMENTS OF THIS ARRAY) ARE **POSITIONAL**!\n *\n * They must be specified in the same order they should be received, as individual parameters,\n * by the `triggerSearchApi` function.\n *\n * Removing or adding an argument form the function's signature, should be reflected in these two arrays.\n *\n */\n let args = [\n this.lat,\n this.lon,\n this.distances,\n 'ALL',\n this.distanceTypes,\n this.zip,\n this.upcCode,\n 1,\n '',\n this.productGroupId,\n this.filterByAttribute,\n ];\n\n if (this.distanceEnabled || this.categoryEnabled) {\n args = [\n this.lat,\n this.lon,\n this.distances,\n this.typemodel,\n this.distanceTypes,\n this.zip,\n this.upcCode,\n this.pageNo ?? 1,\n '',\n this.productGroupId,\n this.filterByAttribute,\n ];\n }\n\n await this.triggerSearchApi(...args);\n },\n getParameter(paramName) {\n var searchString = window.location.search.substring(1),\n i,\n val,\n params = searchString.split('&');\n\n for (i = 0; i < params.length; i++) {\n val = params[i].split('=');\n if (val[0] == paramName) {\n return val[1];\n }\n }\n return '';\n },\n async triggerSearchApi(\n lat,\n lon,\n distance,\n categorys,\n distanceTypes,\n zip,\n upc,\n pages,\n promotionData,\n productGroupId,\n filterByAttribute,\n ) {\n try {\n this.apiDatas = {\n lat: lat,\n lon: lon,\n distance: distance,\n categorys: categorys,\n distanceTypes: distanceTypes,\n zip: zip,\n upc: upc,\n promotionData: promotionData,\n productGroupId: productGroupId,\n };\n eventBus.emit('rfp_get_promotion_banner_info');\n if (this.iriEnabled) {\n this.getStoreList(\n lat,\n lon,\n distance,\n categorys,\n distanceTypes,\n zip,\n upc,\n pages,\n promotionData,\n productGroupId,\n );\n } else {\n eventBus.emit('rfp-storelocator-enable-overlay');\n let radiusDatas = '';\n if (distance === undefined) {\n radiusDatas = 0;\n } else {\n radiusDatas = distance;\n }\n eventBus.emit('pagination_new_count');\n let attributeFilterQueryStr = this.getAttributeFilterQueryString(filterByAttribute);\n if (!this.updateGoogleMapData) {\n fetch(\n `/refapp/Storefinder/gettotalstorecount?latitude=${lat}&longitude=${lon}&radius=${radiusDatas}&category=${categorys}&distanceMetric=${distanceTypes}&promotion=${\n promotionData || this.getParameter('promotion')\n }${attributeFilterQueryStr}`,\n )\n .then((resp) => resp.text())\n .then((resp) => {\n this.TotalStoreCount = tryParseJson(resp);\n if (this.TotalStoreCount.TotalStoreCount > 0) {\n eventBus.emit(Event.StoresFound);\n this.getStoreList(\n lat,\n lon,\n distance,\n categorys,\n distanceTypes,\n zip,\n upc,\n pages,\n promotionData,\n productGroupId,\n filterByAttribute,\n );\n eventBus.emit('pagination_record_count', {\n currentPage: 1,\n lastPage: Math.ceil(this.TotalStoreCount.TotalStoreCount / this.storesPerPage),\n TotalStoreCount: this.TotalStoreCount.TotalStoreCount,\n });\n } else {\n eventBus.emit('storeData', { value: [], page: 0 });\n eventBus.emit(Event.DisableOverlay);\n eventBus.emit('pagination_record_count', {\n currentPage: 0,\n lastPage: 0,\n TotalStoreCount: this.TotalStoreCount.TotalStoreCount,\n });\n eventBus.off(Event.StoresFound);\n }\n })\n .catch((error) => {\n eventBus.emit('storeData', { value: [], page: 0 });\n this.resetMarkers();\n eventBus.emit(Event.DisableOverlay);\n eventBus.off(Event.StoresFound);\n throw new Error(error);\n });\n }\n }\n } catch (error) {\n eventBus.emit(Event.DisableOverlay);\n throw new Error(error);\n }\n },\n getStoreList(\n lat,\n lon,\n distance,\n categorys,\n distanceTypes,\n zip,\n upc,\n pages,\n promotionData,\n productGroupId,\n filterByAttribute,\n ) {\n if (!this.productGroupEnabled) {\n productGroupId = '';\n }\n\n this.objMarker = [];\n this.gmarkers = [];\n this.distanceUpgrade = distance;\n this.latupgrade = lat;\n this.lonupgrade = lon;\n eventBus.emit(PromotionBannerEvent.QueryParams, this.getParameter('promotion'));\n let radiusDatas = '';\n if (distance === undefined) {\n radiusDatas = 0;\n } else {\n radiusDatas = distance;\n }\n let attributeFilterQueryStr = this.getAttributeFilterQueryString(filterByAttribute);\n if (!this.updateGoogleMapData) {\n eventBus.emit('rfp-storelocator-enable-overlay');\n eventBus.emit('rfp-distanceMatric', distanceTypes);\n fetch(\n `/refapp/Storefinder/search?latitude=${lat}&longitude=${lon}&radius=${radiusDatas}&category=${categorys}&distanceMetric=${distanceTypes}&zip=${zip}&upc=${this.getParameter(\n upc,\n )}&pageNo=${pages}&promotion=${\n promotionData ? promotionData : this.getParameter('promotion')\n }&productGroupId=${productGroupId}${attributeFilterQueryStr}`,\n )\n .then((resp) => resp.text())\n .then((resp) => {\n this.objMarker = tryParseJson(resp);\n let labelIndex = 1;\n this.iridatass = [];\n if (this.objMarker.length === 0) {\n eventBus.emit('storeData', { value: [], page: 0 });\n this.resetMarkers();\n eventBus.emit(Event.DisableOverlay);\n eventBus.emit('pagination_record_count', {\n currentPage: 0,\n lastPage: 0,\n TotalStoreCount: 0,\n });\n eventBus.off(Event.StoresFound);\n } else {\n eventBus.emit(Event.StoresFound);\n if (this.iriEnabled) {\n eventBus.emit('pagination_record_count', {\n currentPage: pages,\n lastPage: Math.ceil(this.objMarker[0].TotalStoreCount / this.storesPerPage),\n TotalStoreCount: this.objMarker[0].TotalStoreCount,\n });\n (async () => {\n await this.FindLatLong(this.objMarker, pages);\n })();\n } else {\n Object.keys(this.objMarker).map((object) => {\n this.objMarker[object].id = `${labelIndex++}`;\n });\n this.updateGoogleMapCenterPlace(\n this.objMarker[0].Latitude,\n this.objMarker[0].Longitude,\n );\n eventBus.emit('pagination_current_page', pages);\n eventBus.emit('storeData', { value: this.objMarker, page: pages });\n eventBus.emit(PromotionBannerEvent.ListCollection, this.objMarker);\n eventBus.emit(Event.DisableOverlay);\n }\n }\n })\n .catch((error) => {\n eventBus.emit('storeData', { value: [], page: 0 });\n eventBus.emit('salonListEmpty', pages);\n this.resetMarkers();\n eventBus.emit(Event.DisableOverlay);\n eventBus.emit('pagination_record_count', {\n currentPage: 0,\n lastPage: 0,\n TotalStoreCount: 0,\n });\n eventBus.off(Event.StoresFound);\n throw new Error(error);\n });\n }\n },\n getAttributeFilterQueryString(filters) {\n let str = this.serializeAttributeFilter(filters);\n if (str.length > 0) {\n str = '&' + str;\n }\n\n return str;\n },\n serializeAttributeFilter(filters) {\n if (!filters) {\n return '';\n }\n\n var str = [];\n for (var f in filters) {\n if (Object.prototype.hasOwnProperty.call(filters, f) && filters[f].length) {\n str.push('attr=' + encodeURIComponent(filters[f]));\n }\n }\n\n return str.join('&');\n },\n async initMap() {\n const { Map } = await google.maps.importLibrary('maps');\n const center = new google.maps.LatLng(this.lat, this.lon);\n const mapConfig = {\n ...this.mapConfig,\n center,\n mapTypeId: google.maps.MapTypeId.ROADMAP,\n gestureHandling: 'greedy',\n navigationControlOptions: {\n style: google.maps.NavigationControlStyle.SMALL,\n },\n styles: mapStyleOptions,\n };\n\n if (window.__WSF_GLOBALS__ && window.__WSF_GLOBALS__.GOOGLE_MAP_ID) {\n delete mapConfig.styles;\n mapConfig.mapId = window.__WSF_GLOBALS__.GOOGLE_MAP_ID;\n }\n\n try {\n this.map = new Map(document.getElementById('map'), mapConfig);\n this.markerClusterer = new MarkerClusterer({ markers: [], map: this.map });\n } catch (e) {\n throw new Error('rfp-storelocator-google-API/ERROR: Unable to initialize map', e);\n }\n },\n FindLatLong(datas, pages) {\n if (!datas) {\n return;\n }\n datas.forEach((n) => {\n if (n.Name != 'عينة') {\n const geocoder = new google.maps.Geocoder();\n let address = '';\n if (n.Address2 != null) {\n address = `${n.Address1},${n.Address2},${n.City},${n.Country},${n.PostalCode}`;\n } else {\n address = `${n.Address1},${n.City},${n.Country},${n.PostalCode}`;\n }\n geocoder.geocode(\n {\n address: address,\n },\n (results, status) => {\n const isValidLocation =\n status === google.maps.GeocoderStatus.OK || status === 'OVER_QUERY_LIMIT';\n\n if (isValidLocation && results != null) {\n n['Latitude'] = results[0].geometry.location.lat();\n n['Longitude'] = results[0].geometry.location.lng();\n }\n this.iridatass.push(n);\n\n if (this.objMarker.length === this.iridatass.length) {\n // Sort list by number\n this.iridatass.sort((a, b) => (a.Number > b.Number ? 1 : -1));\n\n // Only update the map if Google finds directions\n if (isValidLocation) {\n this.updateGoogleMapCenterPlace(\n this.iridatass[0].Latitude,\n this.iridatass[0].Longitude,\n );\n }\n eventBus.emit('pagination_current_page', pages);\n eventBus.emit('storeData', { value: this.iridatass, page: pages });\n eventBus.emit(PromotionBannerEvent.ListCollection, this.iridatass);\n eventBus.emit(Event.DisableOverlay);\n }\n },\n );\n }\n });\n },\n resetMarkers() {\n this.gmarkers = [];\n if (!this.markerClusterer) {\n this.markerClusterer = new MarkerClusterer({ markers: [], map: this.map });\n return;\n }\n this.markerClusterer.clearMarkers();\n // Reset render popup flag to make sure it is in a closed state before updateing markers\n this.renderPopup = false;\n },\n updateMarker(data) {\n this.resetMarkers();\n const infoWin = new google.maps.InfoWindow();\n\n google.maps.event.addListener(infoWin, 'closeclick', this.resetPopupContent);\n\n const markers = data.map((location) => {\n const latlng = new google.maps.LatLng(location.Latitude, location.Longitude);\n\n if (this.iriEnabled) {\n this.serialNumbers = location.Number.toString();\n } else {\n this.serialNumbers = location.id;\n }\n const marker = this.updateGmapMarkers(latlng, this.serialNumbers);\n google.maps.event.addListener(marker, 'click', () => {\n // prevent opening a duplicate infowindow for this marker\n if (this.infoWindowLocationId === location.Id) {\n return;\n }\n eventBus.emit('rfpTaggingStoreClick', location.Name);\n eventBus.on('mapPopupUpdated', () => {\n eventBus.off('mapPopupUpdated');\n this.infoWindowLocationId = location.Id;\n infoWin.setContent(this.getPopupContent());\n infoWin.open(this.map, marker);\n });\n this.location = location;\n this.renderPopup = true;\n });\n return marker;\n });\n\n this.markerClusterer.addMarkers(markers);\n\n setTimeout(() => {\n this.bindGMapListeners(false);\n }, 500);\n },\n updateGmapMarkers(latlng, ids) {\n const marks = new google.maps.Marker({\n map: this.map,\n position: latlng,\n label: ids,\n });\n this.gmarkers.push(marks);\n return marks;\n },\n updateGoogleMapCenterPlace(Latitude, Longitude) {\n const newCenter = new google.maps.LatLng(Latitude, Longitude);\n\n this.map.panTo(newCenter);\n },\n getPopupContent() {\n return document.getElementById('map-popup-content');\n },\n resetPopupContent() {\n this.infoWindowLocationId = null;\n this.location = {};\n this.renderPopup = false;\n },\n },\n /**\n * @function created\n * @desc on mounting , listen the other component Event\n */\n created() {\n eventBus.on('get-store-list-from-pagination', (value) => {\n this.getStoreList(\n this.apiDatas.lat,\n this.apiDatas.lon,\n this.apiDatas.distance,\n this.apiDatas.categorys,\n this.apiDatas.distanceTypes,\n this.apiDatas.zip,\n this.apiDatas.upc,\n value,\n this.apiDatas.promotionData,\n this.apiDatas.productGroupId,\n );\n });\n eventBus.on(PromotionBannerEvent.BannerFilter, async (promotionData) => {\n await this.triggerSearchApi(\n this.apiDatas.lat,\n this.apiDatas.lon,\n this.apiDatas.distance,\n this.apiDatas.categorys,\n this.apiDatas.distanceTypes,\n this.apiDatas.zip,\n this.apiDatas.upc,\n 1,\n promotionData,\n this.apiDatas.productGroupId,\n );\n });\n eventBus.on('updateMarker', this.updateMarker);\n eventBus.on('map-options', (value) => {\n this.map = value;\n });\n eventBus.on('refresh-google-map-options', this.initMap);\n eventBus.on('update-google-map-center-place', (values) => {\n if (\n values.lat != '' &&\n values.lat != undefined &&\n values.long != '' &&\n values.long != undefined\n ) {\n this.updateGoogleMapCenterPlace(values.lat, values.long);\n }\n });\n eventBus.on('updateGoogleMapDatas', (value) => {\n this.updateGoogleMapData = value;\n });\n eventBus.on('latlangUpdate', (value) => {\n this.lat = value.lat;\n this.lon = value.lon;\n });\n const resetDistanceUpgrade = () => (this.distanceUpgrade = 0);\n eventBus.on('defaultDistanceEmpty', resetDistanceUpgrade);\n eventBus.on('pageChangedEvent', (value) => {\n eventBus.emit('pageNavigationNextPrev', value);\n });\n eventBus.on('enableMap', () => {\n this.resetMarkers();\n });\n eventBus.on('rfp-distanceMatric', (value) => {\n this.distanceType = value;\n });\n },\n /**\n * @function data\n * @desc init the data when the component mount\n */\n data() {\n return {\n infoWindow: '',\n infoWindowLocationId: null,\n lat: '',\n lon: '',\n map: '',\n r: '',\n gmarkers: [],\n objMarker: [],\n distanceUpgrade: 0,\n latupgrade: '',\n lonupgrade: '',\n mapConfig: {\n zoom: 0,\n gestureHandling: 'cooperative',\n mapTypeControl: false,\n componentRestrictions: {\n country: 'us',\n },\n },\n serialNumbers: '',\n updateGoogleMapData: false,\n iridatas: [],\n iridatass: [],\n apiDatas: {},\n };\n },\n};\n","import eventBus from '@refapp/eventbus-js';\nimport { tryParseJson } from './utils';\n\nexport default {\n methods: {\n getKeyByValue(object, value) {\n return Object.keys(object).find((key) => object[key] === value);\n },\n eventPropertiesReplacer(eventProperties, matchPatterns) {\n let eventPropertiesAsString = JSON.stringify(eventProperties);\n\n for (const [key, replaceValue] of Object.entries(matchPatterns)) {\n eventPropertiesAsString = eventPropertiesAsString.replaceAll(key, replaceValue);\n }\n return tryParseJson(eventPropertiesAsString);\n },\n pushToDataLayer(eventProperties, eventData) {\n if (!eventData) return false;\n\n // if (!window.wsf) {\n // window.wsf = {};\n // }\n // const { ecommerce } = window.wsf;\n\n const matchPatterns = {\n '[zipcode or city]': eventData.zipcodeOrCity\n ? eventData.zipcodeOrCity.toLocaleLowerCase()\n : '',\n '[marker popup location]': eventData.markerPopupLocation\n ? eventData.markerPopupLocation\n : '',\n '[store name]': eventData.storeName ? eventData.storeName.toLocaleLowerCase() : '',\n '[keyword]': eventData.storeName ? eventData.storeName.toLocaleLowerCase() : '',\n '[socialNetwork]': eventData.socialNetwork\n ? eventData.socialNetwork.toLocaleLowerCase()\n : '',\n '[socialTarget]': eventData.socialTarget ? eventData.socialTarget.toLocaleLowerCase() : '',\n };\n\n // if (this.getKeyByValue(eventProperties, '[ecommerce]') !== undefined) {\n // eventProperties[this.getKeyByValue(eventProperties, '[ecommerce]')] = ecommerce\n // ? ecommerce\n // : '';\n // }\n\n if (!window.dataLayer) return false;\n\n window.dataLayer.push(this.eventPropertiesReplacer(eventProperties, matchPatterns));\n return true;\n },\n },\n created() {\n eventBus.on('rfpTaggingPushToDatalayer', (data) => {\n if (!data || !data.tags || !data.values) {\n return;\n }\n this.pushToDataLayer(data.tags, data.values);\n });\n },\n};\n","\n \n

\n \n \n

\n {{ location.Distance }}\n {{ distanceType }}\n

\n {{ getDirections }}\n \n \n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","import rfpStorelocatorCurrentLocation from './components/widget/current-location/rfp-storelocator-currentLocation.vue';\nimport rfpStorelocatorLocationsearch from './components/widget/location-search/rfp-storelocator-locationsearch.vue';\nimport rfpStorelocatorStorelist from './components/widget/store-list/rfp-storelocator-storelist.vue';\nimport rfpStorelocatorGoogleMap from './components/widget/google-map/rfp-storelocator-google-map.vue';\nimport rfpStorelocatorPromotionBanner from './components/widget/promotion/promotion-banner.vue';\nimport rfpStorelocatorPromotionList from './components/widget/promotion/promotion-list.vue';\nimport rfpStorelocatorLoading from './components/widget/loading/rfp-storelocator-loading.vue';\nimport rfpStorelocatorPrivacyText from './components/widget/privacy-text/rfp-storelocator-privacy-text.vue';\nimport rfpStorelocatorSocialLinks from './components/widget/social-links/rfp-storelocator-social-links.vue';\nimport rfpStorelocatorMapPopup from './components/widget/map-popup/rfp-storelocator-map-popup.vue';\nimport rfpStorelocatorStoreAttributes from './components/widget/store-attributes/rfp-storelocator-store-attributes.vue';\nimport rfpStorelocatorSummary from './components/widget/summary/rfp-storelocator-summary.vue';\n\nimport './styles/widget/entry.scss';\n\nexport default {\n install(app) {\n const components = [\n rfpStorelocatorCurrentLocation,\n rfpStorelocatorLocationsearch,\n rfpStorelocatorStorelist,\n rfpStorelocatorGoogleMap,\n rfpStorelocatorPromotionBanner,\n rfpStorelocatorPromotionList,\n rfpStorelocatorLoading,\n rfpStorelocatorPrivacyText,\n rfpStorelocatorSocialLinks,\n rfpStorelocatorMapPopup,\n rfpStorelocatorStoreAttributes,\n rfpStorelocatorSummary,\n ];\n\n components.forEach((c) => app.component(c.name, c));\n },\n};\n"],"names":["mitt","n","i","_extends","target","source","key","WHITELISTED_METHODS","prefixMethods","api","prefixedAPI","accumulator","methodName","prefixedMethodName","mittInstanceStub","eventBus","mittInstance","eventBus$1","taggingData","tags","zip","DEFAULT_ZIP_TEXT","value","isZipCodeField","position","lat","lng","latlon","gcode","latLng","results","status","resultWithPostalCode","result","el","postalCodeComponent","postalCode","data","location","tryParseJson","jsonString","productGroups","filterPresetAlias","filterPreset","preset","pageNo","zipValue","geocoder","zipCode","countryCode","geocodeFilters","isQueryLimitExceeded","handleStoresFound","obj","objData","$event","filterType","filterId","paramName","searchString","val","params","filterByAttributesModels","item","filterByTypeDatasParsed","filterByTypeModelValue","categoryFilterOption","f","filterByDistanceDatasParsed","filterByDistanceModelValue","distanceFilterOption","Event$1","_sfc_main","l","storeName","socialNetwork","socialTarget","storeAttributeOptions","a","DisplayMode","rfpStlcPagination","rfpStlcSocialLinks","rfpStlcStoreAttributes","page","PromotionBannerEvent","values","currentPage","direction","urls","fastDeepEqual","equal","b","length","keys","ARRAY_TYPES","VERSION","HEADER_SIZE","KDBush","magic","versionAndType","version","ArrayType","nodeSize","numItems","arrayTypeIndex","coordsByteSize","idsByteSize","padCoords","x","y","index","numAdded","sort","minX","minY","maxX","maxY","ids","coords","stack","axis","right","left","m","qx","qy","r","r2","sqDist","select","k","z","s","sd","newLeft","newRight","t","j","swapItem","swap","arr","tmp","ax","ay","bx","by","dx","dy","defaultOptions","props","fround","OFFSET_ZOOM","OFFSET_ID","OFFSET_PARENT","OFFSET_NUM","OFFSET_PROP","Supercluster","options","points","log","minZoom","maxZoom","timerId","lngX","latY","tree","now","bbox","zoom","minLng","minLat","maxLng","maxLat","easternHem","westernHem","clusters","id","getClusterJSON","clusterId","originId","originZoom","errorMsg","children","limit","offset","leaves","z2","extent","radius","p","top","bottom","tile","expansionZoom","skipped","child","isCluster","px","py","getClusterProperties","reduce","minPoints","nextData","stride","neighborIds","numPointsOrigin","numPoints","neighborId","wx","wy","clusterProperties","clusterPropIndex","numPoints2","clone","original","clusterProps","xLng","yLat","count","abbrev","propIndex","properties","sin","y2","__rest","e","MarkerUtils","map","marker","Cluster","markers","bounds","AbstractAlgorithm","noop","SuperClusterAlgorithm","_a","SuperCluster","input","changed","state","feature","leaf","ClusterStats","clusterMarkerCounts","clusterMarkerSum","DefaultRenderer","stats","svg","title","zIndex","svgEl","clusterOptions","extend","type1","type2","property","OverlayViewSafe","MarkerClustererEvents","defaultOnClusterClickHandler","_","cluster","MarkerClusterer","algorithmOptions","algorithm","renderer","onClusterClick","noDraw","removed","singleMarker","groupMarkers","event","Event","GoogleAPI","self","args","lon","distance","categorys","distanceTypes","upc","pages","promotionData","productGroupId","filterByAttribute","radiusDatas","attributeFilterQueryStr","resp","error","labelIndex","object","filters","str","Map","center","mapConfig","mapStyleOptions","datas","address","isValidLocation","infoWin","latlng","marks","Latitude","Longitude","newCenter","resetDistanceUpgrade","datalayerMixin","eventProperties","matchPatterns","eventPropertiesAsString","replaceValue","eventData","eventName","eventParams","snItem","__default__","rfpStorelocatorMapPopup","script","defaultCountryCode","autocomplete","uri","re","separator","newUrl","element","variable","query","vars","pair","sParam","url","sPageURL","sURLVariables","sParameterName","storeDetails","selectedOption","app","rfpStorelocatorCurrentLocation","rfpStorelocatorLocationsearch","rfpStorelocatorStorelist","rfpStorelocatorGoogleMap","rfpStorelocatorPromotionBanner","rfpStorelocatorPromotionList","rfpStorelocatorLoading","rfpStorelocatorPrivacyText","rfpStorelocatorSocialLinks","rfpStorelocatorStoreAttributes","rfpStorelocatorSummary","c"],"mappings":";2CAAe,SAAAA,EAASC,EAAE,CAAC,MAAM,CAAC,IAAIA,EAAEA,GAAG,IAAI,IAAI,GAAG,SAAS,EAAE,EAAE,CAAC,IAAIC,EAAED,EAAE,IAAI,CAAC,EAAEC,EAAEA,EAAE,KAAK,CAAC,EAAED,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,IAAI,SAAS,EAAE,EAAE,CAAC,IAAIC,EAAED,EAAE,IAAI,CAAC,EAAEC,IAAI,EAAEA,EAAE,OAAOA,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,EAAED,EAAE,IAAI,EAAE,EA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,uBAAwB,CACtB,KAAK,kBAAoB,GACzB,KAAK,YAAa,CACnB,CACF,CACH,qsBClNawB,EAAgBC,GAAe,CAC1C,GAAI,CACF,OAAO,KAAK,MAAMA,CAAU,CAC7B,MAAW,CACV,MAAO,CAAE,CACb,CACA,mBC+Ge,CAKb,KAAM,mCACN,MAAO,CAKL,UAAW,CACT,KAAM,OACN,SAAU,EACX,EAKD,aAAc,CACZ,KAAM,OACN,SAAU,EACX,EAKD,MAAO,CACL,KAAM,OACN,SAAU,EACX,EACD,kBAAmB,CACjB,KAAM,OACN,SAAU,EACX,EACD,0BAA2B,CACzB,KAAM,OACN,SAAU,EACX,EACD,gCAAiC,CAC/B,KAAM,OACN,SAAU,EACX,EACD,wBAAyB,CACvB,KAAM,OACN,SAAU,EACX,EACD,4BAA6B,CAC3B,KAAM,OACN,SAAU,EACX,EACD,aAAc,CACZ,KAAM,OACN,SAAU,GACV,QAAS,EACV,EACD,sBAAuB,CACrB,KAAM,OACN,SAAU,EACX,EACD,kBAAmB,CACjB,KAAM,OACN,SAAU,EACX,EACD,0BAA2B,CACzB,KAAM,OACN,SAAU,EACX,EACD,sBAAuB,CACrB,KAAM,OACN,SAAU,EACX,EACD,uBAAwB,CACtB,KAAM,QACN,SAAU,EACX,EACD,mBAAoB,CAClB,KAAM,QACN,SAAU,EACX,EACD,2BAA4B,CAC1B,KAAM,QACN,SAAU,EACX,EACD,qCAAsC,CACpC,KAAM,QACN,SAAU,EACX,EACD,aAAc,CACZ,KAAM,OACN,SAAU,GACV,QAAS,EACV,EACD,yBAA0B,CACxB,KAAM,OACN,SAAU,GACV,QAAS,EACV,EACD,oBAAqB,CACnB,KAAM,OACN,SAAU,GACV,QAAS,EACV,EACD,WAAY,CACV,KAAM,QACN,QAAS,EACV,EACD,mBAAoB,CAClB,KAAM,OACN,QAAS,sBACV,EACD,IAAK,CACH,KAAM,OACN,SAAU,GACV,QAAS,EACV,EACD,gBAAiB,CACf,KAAM,OACN,SAAU,EACX,EACD,c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