AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.15.18.80
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/bitrix/www/bitrix/js/location/google/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/bitrix/www/bitrix/js/location/google/dist/google.bundle.js.map
{"version":3,"file":"google.bundle.js","sources":["../src/loader.js","../src/autocompleteservice.js","../src/map.js","../src/mapmobile.js","../src/photoservice.js","../src/geocodingservice.js","../src/google.js"],"sourcesContent":["/**\n * Loads google source services\n */\nexport default class Loader\n{\n\tstatic #loadingPromise = null;\n\n\tstatic #createSrc(apiKey, languageId)\n\t{\n\t\treturn 'https://maps.googleapis.com/maps/api/js'\n\t\t\t+ `?key=${apiKey}`\n\t\t\t+ '&libraries=places'\n\t\t\t+ `&language=${languageId}`\n\t\t\t+ `&region=${this.#getRegion(languageId)}`;\n\t}\n\n\tstatic #getRegion(languageId: string): string\n\t{\n\t\tconst map = {\n\t\t\t'en': 'US',\n\t\t\t'uk': 'UA',\n\t\t\t'zh': 'CN',\n\t\t\t'ja': 'JP',\n\t\t\t'vi': 'VN',\n\t\t\t'ms': 'MY',\n\t\t\t'hi': 'IN'\n\t\t};\n\n\t\treturn typeof map[languageId] !== 'undefined' ? map[languageId] : languageId.toUpperCase();\n\t}\n\n\t/**\n\t * Loads google services\n\t * @param {string} apiKey\n\t * @param {string} languageId\n\t * @returns {Promise}\n\t */\n\tstatic load(apiKey: string, languageId: string): Promise\n\t{\n\t\tif (Loader.#loadingPromise === null)\n\t\t{\n\t\t\tLoader.#loadingPromise = new Promise((resolve) => {\n\n\t\t\t\tBX.load(\n\t\t\t\t\t[Loader.#createSrc(apiKey, languageId)],\n\t\t\t\t\t() => {\n\t\t\t\t\t\tresolve();\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\n\t\treturn Loader.#loadingPromise;\n\t}\n}","/* global google */\n\nimport {Loc} from 'main.core';\nimport {\n\tLocation,\n\tAutocompleteServiceBase,\n\tAutocompleteCache,\n\tLocationType\n} from 'location.core';\nimport type { AutocompleteServiceParams } from 'location.core';\nimport { Google } from './google';\n\nconst STATUS_OK = 'OK';\nconst STATUS_ZERO_RESULTS = 'ZERO_RESULTS';\n\nexport default class AutocompleteService extends AutocompleteServiceBase\n{\n\t/** {string} */\n\t#languageId;\n\t/** {google.maps.places.AutocompleteService} */\n\t#googleAutocompleteService;\n\t/** {Promise} */\n\t#loaderPromise;\n\t/** {GoogleSource} */\n\t#googleSource;\n\t/** {number} */\n\t#biasBoundRadius = 50000;\n\n\tconstructor(props)\n\t{\n\t\tsuper(props);\n\t\tthis.#languageId = props.languageId;\n\t\tthis.#googleSource = props.googleSource;\n\t\t// Because googleSource could still be in the process of loading\n\t\tthis.#loaderPromise = props.googleSource.loaderPromise\n\t\t\t.then(() => {\n\t\t\t\tthis.#initAutocompleteService();\n\t\t\t});\n\t}\n\n\t#getPredictionPromise(query: string, params: AutocompleteServiceParams)\n\t{\n\t\tconst queryPredictionsParams = {\n\t\t\tinput: query,\n\t\t};\n\n\t\tif (params.biasPoint)\n\t\t{\n\t\t\tqueryPredictionsParams.location = new google.maps.LatLng(\n\t\t\t\tparams.biasPoint.latitude,\n\t\t\t\tparams.biasPoint.longitude\n\t\t\t);\n\t\t\tqueryPredictionsParams.radius = this.#biasBoundRadius;\n\t\t}\n\n\t\tlet cachedResult = AutocompleteCache.get(Google.code, queryPredictionsParams);\n\t\tif (cachedResult !== null)\n\t\t{\n\t\t\treturn Promise.resolve(\n\t\t\t\tthis.#convertToLocationsList(\n\t\t\t\t\tcachedResult.data.result,\n\t\t\t\t\tcachedResult.data.status\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\treturn new Promise((resolve) => {\n\t\t\t\tthis.#googleAutocompleteService.getQueryPredictions(\n\t\t\t\t\tqueryPredictionsParams,\n\t\t\t\t\t(res, status) => {\n\t\t\t\t\t\tif (status === STATUS_OK || status === STATUS_ZERO_RESULTS)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tAutocompleteCache.set(\n\t\t\t\t\t\t\t\tGoogle.code,\n\t\t\t\t\t\t\t\tqueryPredictionsParams,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tstatus: status,\n\t\t\t\t\t\t\t\t\tresult: res,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\tthis.#convertToLocationsList(res, status)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t);\n\t}\n\n\t/**\n\t * Returns Promise witch  will transfer locations list\n\t * @param {string} query\n\t * @param {AutocompleteServiceParams} params\n\t * @returns {Promise}\n\t */\n\tautocomplete(query: string, params: AutocompleteServiceParams): Promise<Array<Location>, Error>\n\t{\n\t\tif (query === '')\n\t\t{\n\t\t\treturn new Promise((resolve) => {\n\t\t\t\tresolve([]);\n\t\t\t});\n\t\t}\n\n\t\t// Because google.maps.places.AutocompleteService could be still in the process of loading\n\t\treturn this.#loaderPromise\n\t\t\t.then(() => {\n\t\t\t\treturn this.#getPredictionPromise(query, params);\n\t\t\t},\n\t\t\t(error) => BX.debug(error)\n\t\t);\n\t}\n\n\t#initAutocompleteService()\n\t{\n\t\tif(typeof google === 'undefined' || typeof google.maps.places.AutocompleteService === 'undefined')\n\t\t{\n\t\t\tthrow new Error('google.maps.places.AutocompleteService must be defined');\n\t\t}\n\n\t\tthis.#googleAutocompleteService = new google.maps.places.AutocompleteService();\n\t}\n\n\t#convertToLocationsList(data, status)\n\t{\n\t\tif (status === STATUS_ZERO_RESULTS)\n\t\t{\n\t\t\treturn [];\n\t\t}\n\n\t\tif (!data || status !== STATUS_OK)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\n\t\tconst result = [];\n\n\t\tfor (const item of data)\n\t\t{\n\t\t\tif (item.place_id)\n\t\t\t{\n\t\t\t\tlet name;\n\n\t\t\t\tif (item.structured_formatting && item.structured_formatting.main_text)\n\t\t\t\t{\n\t\t\t\t\tname = item.structured_formatting.main_text;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tname = item.description;\n\t\t\t\t}\n\n\t\t\t\tconst location = new Location({\n\t\t\t\t\tsourceCode: this.#googleSource.sourceCode,\n\t\t\t\t\texternalId: item.place_id,\n\t\t\t\t\tname: name,\n\t\t\t\t\tlanguageId: this.#languageId\n\t\t\t\t});\n\n\t\t\t\tif (item.structured_formatting && item.structured_formatting.secondary_text)\n\t\t\t\t{\n\t\t\t\t\tlocation.setFieldValue(\n\t\t\t\t\t\tLocationType.TMP_TYPE_CLARIFICATION,\n\t\t\t\t\t\titem.structured_formatting.secondary_text\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tconst typeHint = this.#getTypeHint(item.types);\n\n\t\t\t\tif (typeHint)\n\t\t\t\t{\n\t\t\t\t\tlocation.setFieldValue(\n\t\t\t\t\t\tLocationType.TMP_TYPE_HINT,\n\t\t\t\t\t\tthis.#getTypeHint(item.types)\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tresult.push(location);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t#getTypeHint(types: Array): String\n\t{\n\t\tlet result = '';\n\n\t\tif (types.indexOf('locality') >= 0)\n\t\t{\n\t\t\tresult = Loc.getMessage('LOCATION_GOO_AUTOCOMPLETE_TYPE_LOCALITY');\n\t\t}\n\t\telse if (types.indexOf('sublocality') >= 0)\n\t\t{\n\t\t\tresult = Loc.getMessage('LOCATION_GOO_AUTOCOMPLETE_TYPE_SUBLOCAL');\n\t\t}\n\t\telse if (types.indexOf('store') >= 0)\n\t\t{\n\t\t\tresult = Loc.getMessage('LOCATION_GOO_AUTOCOMPLETE_TYPE_STORE');\n\t\t}\n\t\telse if (types.indexOf('restaurant') >= 0)\n\t\t{\n\t\t\tresult = Loc.getMessage('LOCATION_GOO_AUTOCOMPLETE_TYPE_RESTAURANT');\n\t\t}\n\t\telse if (types.indexOf('cafe') >= 0)\n\t\t{\n\t\t\tresult = Loc.getMessage('LOCATION_GOO_AUTOCOMPLETE_TYPE_CAFE');\n\t\t}\n\n\t\treturn result;\n\t}\n}\n","import {\n\tEvent,\n\tText\n} from 'main.core';\nimport {\n\tLocation,\n\tLocationRepository,\n\tControlMode,\n\tMapBase,\n\tErrorPublisher\n} from 'location.core';\n\n/**\n * Class for the autocomplete locations and addresses inputs\n */\nexport default class Map extends MapBase\n{\n\tstatic #onChangedEvent = 'onChanged';\n\tstatic #onStartChanging = 'onStartChanging';\n\tstatic #onEndChanging = 'onEndChanging';\n\tstatic #onMapViewChanged = 'onMapViewChanged';\n\n\t/** {string} */\n\t#languageId;\n\t/** {google.maps.Map} */\n\t#googleMap;\n\t/** {GoogleSource} */\n\t#googleSource;\n\t/** {number} */\n\t#zoom;\n\t/** {google.maps.Marker} */\n\t#locationMarker;\n\t/** {ControlMode} */\n\t#mode;\n\t/** Location */\n\t#location;\n\t#geocoder;\n\t#locationRepository;\n\t#timerId = null;\n\t#isUpdating = false;\n\t#changeDelay;\n\t#loaderPromise = null;\n\n\tconstructor(props)\n\t{\n\t\tsuper(props);\n\t\tthis.#languageId = props.languageId;\n\t\tthis.#googleSource = props.googleSource;\n\t\tthis.#locationRepository = props.locationRepository || new LocationRepository();\n\t\tthis.#changeDelay = props.changeDelay || 700;\n\t}\n\n\trender(props: Object): Promise\n\t{\n\t\tthis.#loaderPromise = this.#googleSource.loaderPromise.then(() => {\n\t\t\tthis.#initGoogleMap(props);\n\t\t});\n\n\t\treturn this.#loaderPromise;\n\t}\n\n\tget loaderPromise(): Promise\n\t{\n\t\treturn this.#loaderPromise;\n\t}\n\n\tset mode(mode: string)\n\t{\n\t\tthis.#mode = mode;\n\n\t\tif (this.#locationMarker)\n\t\t{\n\t\t\tthis.#locationMarker.setDraggable(mode === ControlMode.edit);\n\t\t}\n\t}\n\n\t#convertLocationToPosition(location: ?Location): Object\n\t{\n\t\tif (!location)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tif (typeof google === 'undefined' || typeof google.maps === 'undefined')\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\treturn new google.maps.LatLng(location.latitude, location.longitude);\n\t}\n\n\t#adjustZoom(): void\n\t{\n\t\tif (!this.#location)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tconst zoom = Map.getZoomByLocation(this.#location);\n\t\tif (zoom !== null && zoom !== this.#zoom)\n\t\t{\n\t\t\tthis.zoom = zoom;\n\t\t}\n\t}\n\n\tget zoom(): number\n\t{\n\t\treturn this.#zoom;\n\t}\n\n\tset zoom(zoom: number): void\n\t{\n\t\tthis.#zoom = zoom;\n\n\t\tif (this.#googleMap)\n\t\t{\n\t\t\tthis.#googleMap.setZoom(zoom);\n\t\t}\n\t}\n\n\t#getPositionToLocationPromise(position): Promise\n\t{\n\t\treturn new Promise( (resolve) => {\n\t\t\tthis.#geocoder.geocode({'location': position}, (results, status)  => {\n\t\t\t\tif (status === 'OK' && results[0])\n\t\t\t\t{\n\t\t\t\t\tresolve(results[0].place_id);\n\t\t\t\t}\n\t\t\t\telse if (status === 'ZERO_RESULTS')\n\t\t\t\t{\n\t\t\t\t\tresolve('');\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthrow Error('Geocoder failed due to: ' + status);\n\t\t\t\t}\n\t\t\t});\n\t\t})\n\t\t.then((placeId) => {\n\t\t\tlet result;\n\n\t\t\tif (placeId)\n\t\t\t{\n\t\t\t\tresult = this.#locationRepository.findByExternalId(\n\t\t\t\t\tplaceId,\n\t\t\t\t\tthis.#googleSource.sourceCode,\n\t\t\t\t\tthis.#languageId\n\t\t\t\t);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tresult = new Promise((resolve) => {\n\t\t\t\t\tresolve(null);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn result;\n\t\t});\n\t}\n\n\tset location(location: Location)\n\t{\n\t\tthis.#location = location;\n\n\t\tconst position = this.#convertLocationToPosition(location);\n\t\tif (position)\n\t\t{\n\t\t\tif (this.#locationMarker)\n\t\t\t{\n\t\t\t\tthis.#isUpdating = true;\n\t\t\t\tthis.#locationMarker.setPosition(position);\n\t\t\t\tthis.#isUpdating = false;\n\t\t\t}\n\n\t\t\tif (this.#googleMap)\n\t\t\t{\n\t\t\t\tif (!this.#locationMarker.getMap())\n\t\t\t\t{\n\t\t\t\t\tthis.#locationMarker.setMap(this.#googleMap);\n\t\t\t\t}\n\n\t\t\t\tthis.#googleMap.panTo(position);\n\t\t\t}\n\t\t}\n\t\telse\n\t\t{\n\t\t\tif (this.#locationMarker)\n\t\t\t{\n\t\t\t\tthis.#locationMarker.setMap(null);\n\t\t\t}\n\t\t}\n\n\t\tthis.#adjustZoom();\n\t}\n\n\tget location(): Location\n\t{\n\t\treturn this.#location;\n\t}\n\n\tonLocationChangedEventSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onChangedEvent, listener);\n\t}\n\n\tonStartChangingSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onStartChanging, listener);\n\t}\n\n\tonEndChangingSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onEndChanging, listener);\n\t}\n\n\tonMapViewChangedSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onMapViewChanged, listener);\n\t}\n\n\t#emitOnLocationChangedEvent(location: ?Location)\n\t{\n\t\tif (this.#mode === ControlMode.edit)\n\t\t{\n\t\t\tthis.emit(Map.#onChangedEvent, { location: location\t});\n\t\t}\n\t}\n\n\t#onMarkerUpdatePosition()\n\t{\n\t\tif (!this.#isUpdating && this.#mode === ControlMode.edit)\n\t\t{\n\t\t\tthis.#createTimer(this.#locationMarker.getPosition());\n\t\t}\n\t}\n\n\t#createTimer(position)\n\t{\n\t\tif (this.#timerId !== null)\n\t\t{\n\t\t\tclearTimeout(this.#timerId);\n\t\t}\n\n\t\tthis.#timerId = setTimeout(\n\t\t\t() => {\n\t\t\t\tconst requestId = Text.getRandom();\n\t\t\t\tthis.emit(Map.#onStartChanging, { requestId });\n\n\t\t\t\tthis.#timerId = null;\n\t\t\t\tthis.#googleMap.panTo(position);\n\t\t\t\tthis.#fulfillOnChangedEvent(position, requestId);\n\t\t\t},\n\t\t\tthis.#changeDelay\n\t\t);\n\t}\n\n\t#fulfillOnChangedEvent(position, requestId)\n\t{\n\t\tthis.#getPositionToLocationPromise(position)\n\t\t\t.then((location) => {\n\t\t\t\tthis.emit(Map.#onEndChanging, { requestId });\n\t\t\t\tthis.#emitOnLocationChangedEvent(location);\n\t\t\t})\n\t\t\t.catch((response) => {\n\t\t\t\tthis.emit(Map.#onEndChanging, { requestId });\n\t\t\t\tErrorPublisher.getInstance().notify(response.errors);\n\t\t\t});\n\t}\n\n\t#onMapClick(position)\n\t{\n\t\tif (this.#mode === ControlMode.edit)\n\t\t{\n\t\t\tif (!this.#locationMarker.getMap)\n\t\t\t{\n\t\t\t\tthis.#locationMarker.setMap(this.#googleMap);\n\t\t\t}\n\n\t\t\tthis.#locationMarker.setPosition(position);\n\t\t\tthis.#createTimer(position);\n\t\t}\n\t}\n\n\t#initGoogleMap(props): void\n\t{\n\t\tthis.#mode = props.mode;\n\t\tthis.#location = props.location || null;\n\n\t\tif (typeof google === 'undefined' || typeof google.maps.Map === 'undefined')\n\t\t{\n\t\t\tthrow new Error('google.maps.Map must be defined');\n\t\t}\n\n\t\tconst position = this.#convertLocationToPosition(this.#location);\n\n\t\tconst mapProps = {\n\t\t\tgestureHandling: 'greedy',\n\t\t\tdisableDefaultUI: true,\n\t\t\tzoomControl: BX.prop.getBoolean(props, 'zoomControl', true),\n\t\t\tzoomControlOptions: {\n\t\t\t\tposition: google.maps.ControlPosition.TOP_LEFT\n\t\t\t}\n\t\t};\n\n\t\tconst zoom = Map.getZoomByLocation(this.#location);\n\t\tif (zoom)\n\t\t{\n\t\t\tmapProps.zoom = zoom;\n\t\t}\n\n\t\tif (position)\n\t\t{\n\t\t\tmapProps.center = position;\n\t\t}\n\n\t\tthis.#googleMap = new google.maps.Map(\n\t\t\tprops.mapContainer,\n\t\t\tmapProps\n\t\t);\n\n\t\tthis.#googleMap.addListener('click', (e) => {\n\t\t\tthis.#onMapClick(e.latLng);\n\t\t});\n\n\t\tif (typeof google.maps.Marker === 'undefined')\n\t\t{\n\t\t\tthrow new Error('google.maps.Marker must be defined');\n\t\t}\n\n\t\tthis.#locationMarker = new google.maps.Marker({\n\t\t\tposition: position,\n\t\t\tmap: this.#googleMap,\n\t\t\tdraggable: this.#mode === ControlMode.edit\n\t\t});\n\n\t\tthis.#locationMarker.addListener('position_changed', () => {\n\t\t\tthis.#onMarkerUpdatePosition();\n\t\t});\n\n\t\tif (typeof google.maps.Geocoder === 'undefined')\n\t\t{\n\t\t\tthrow new Error('google.maps.Geocoder must be defined');\n\t\t}\n\n\t\tthis.#geocoder = new google.maps.Geocoder;\n\t}\n\n\tget googleMap(): ?Object\n\t{\n\t\treturn this.#googleMap;\n\t}\n\n\tdestroy()\n\t{\n\t\tEvent.unbindAll(this);\n\t\tthis.#googleMap = null;\n\t\tthis.#locationMarker = null;\n\t\tthis.#geocoder = null;\n\t\tthis.#timerId = null;\n\t\tthis.#loaderPromise = null;\n\t\tsuper.destroy();\n\t}\n}\n","import {\n\tEvent,\n\tText,\n\tTag,\n\tDom,\n} from 'main.core';\nimport {\n\tLocation,\n\tLocationRepository,\n\tControlMode,\n\tMapBase,\n\tErrorPublisher\n} from 'location.core';\n\n/**\n * Class for the autocomplete locations and addresses inputs\n */\nexport default class Map extends MapBase\n{\n\tstatic #onChangedEvent = 'onChanged';\n\tstatic #onStartChanging = 'onStartChanging';\n\tstatic #onEndChanging = 'onEndChanging';\n\tstatic #onMapViewChanged = 'onMapViewChanged';\n\n\t/** {string} */\n\t#languageId;\n\t/** {google.maps.Map} */\n\t#googleMap;\n\t/** {GoogleSource} */\n\t#googleSource;\n\t#markerNode;\n\t/** {google.maps.Marker} */\n\t#locationMarker;\n\n\t/** {number} */\n\t#zoom;\n\t/** {ControlMode} */\n\t#mode;\n\t/** Location */\n\t#location;\n\t#geocoder;\n\t#locationRepository;\n\t#timerId = null;\n\t#changeDelay;\n\t#loaderPromise = null;\n\t#isMapChanging = false;\n\n\tconstructor(props)\n\t{\n\t\tsuper(props);\n\t\tthis.#languageId = props.languageId;\n\t\tthis.#googleSource = props.googleSource;\n\t\tthis.#locationRepository = props.locationRepository || new LocationRepository();\n\t\tthis.#changeDelay = props.changeDelay || 700;\n\t}\n\n\trender(props: Object): Promise\n\t{\n\t\tthis.#loaderPromise = this.#googleSource.loaderPromise.then(() => {\n\t\t\tthis.#initGoogleMap(props);\n\t\t});\n\n\t\treturn this.#loaderPromise;\n\t}\n\n\tget loaderPromise(): Promise\n\t{\n\t\treturn this.#loaderPromise;\n\t}\n\n\tset mode(mode: string)\n\t{\n\t\tthis.#mode = mode;\n\t}\n\n\t#convertLocationToPosition(location: ?Location): Object\n\t{\n\t\tif (!location)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\tif (typeof google === 'undefined' || typeof google.maps === 'undefined')\n\t\t{\n\t\t\treturn null;\n\t\t}\n\n\t\treturn new google.maps.LatLng(location.latitude, location.longitude);\n\t}\n\n\t#adjustZoom(): void\n\t{\n\t\tif (!this.#location)\n\t\t{\n\t\t\treturn;\n\t\t}\n\n\t\tconst zoom = Map.getZoomByLocation(this.#location);\n\t\tif (zoom !== null && zoom !== this.#zoom)\n\t\t{\n\t\t\tthis.zoom = zoom;\n\t\t}\n\t}\n\n\tget zoom(): number\n\t{\n\t\treturn this.#zoom;\n\t}\n\n\tset zoom(zoom: number): void\n\t{\n\t\tthis.#zoom = zoom;\n\n\t\tif (this.#googleMap)\n\t\t{\n\t\t\tthis.#googleMap.setZoom(zoom);\n\t\t}\n\t}\n\n\t#getPositionToLocationPromise(position): Promise\n\t{\n\t\treturn new Promise( (resolve) => {\n\t\t\tthis.#geocoder.geocode({'location': position}, (results, status)  => {\n\t\t\t\tif (status === 'OK' && results[0])\n\t\t\t\t{\n\t\t\t\t\tresolve(results[0].place_id);\n\t\t\t\t}\n\t\t\t\telse if (status === 'ZERO_RESULTS')\n\t\t\t\t{\n\t\t\t\t\tresolve('');\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tthrow Error('Geocoder failed due to: ' + status);\n\t\t\t\t}\n\t\t\t});\n\t\t})\n\t\t.then((placeId) => {\n\t\t\tlet result;\n\n\t\t\tif (placeId)\n\t\t\t{\n\t\t\t\tresult = this.#locationRepository.findByExternalId(\n\t\t\t\t\tplaceId,\n\t\t\t\t\tthis.#googleSource.sourceCode,\n\t\t\t\t\tthis.#languageId\n\t\t\t\t);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tresult = new Promise((resolve) => {\n\t\t\t\t\tresolve(null);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn result;\n\t\t});\n\t}\n\n\tset location(location: Location)\n\t{\n\t\tthis.#location = location;\n\t\tconst position = this.#convertLocationToPosition(location);\n\n\t\tif (position && this.#googleMap)\n\t\t{\n\t\t\tthis.#googleMap.panTo(position);\n\t\t}\n\n\t\tthis.#adjustZoom();\n\t}\n\n\tpanTo(latitude: string, longitude: string): void\n\t{\n\t\tif (\n\t\t\ttypeof google !== 'undefined'\n\t\t\t&& typeof google.maps !== 'undefined'\n\t\t\t&& this.#googleMap\n\t\t)\n\t\t{\n\t\t\tthis.#googleMap.panTo(new google.maps.LatLng(latitude, longitude));\n\n\t\t\tthis.#adjustZoom();\n\t\t}\n\t}\n\n\tget location(): Location\n\t{\n\t\treturn this.#location;\n\t}\n\n\tonLocationChangedEventSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onChangedEvent, listener);\n\t}\n\n\tonStartChangingSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onStartChanging, listener);\n\t}\n\n\tonEndChangingSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onEndChanging, listener);\n\t}\n\n\tonMapViewChangedSubscribe(listener: function): void\n\t{\n\t\tthis.subscribe(Map.#onMapViewChanged, listener);\n\t}\n\n\t#emitOnLocationChangedEvent(location: ?Location)\n\t{\n\t\tif (this.#mode === ControlMode.edit)\n\t\t{\n\t\t\tthis.emit(Map.#onChangedEvent, { location: location\t});\n\t\t}\n\t}\n\n\t#createTimer()\n\t{\n\t\tif (this.#timerId !== null)\n\t\t{\n\t\t\tclearTimeout(this.#timerId);\n\t\t}\n\n\t\tthis.#timerId = setTimeout(\n\t\t\t() => {\n\t\t\t\tconst requestId = Text.getRandom();\n\t\t\t\tthis.emit(Map.#onStartChanging, { requestId });\n\n\t\t\t\tthis.#timerId = null;\n\t\t\t\tconst position = this.#googleMap.getCenter();\n\t\t\t\tthis.#fulfillOnChangedEvent(position, requestId);\n\t\t\t},\n\t\t\tthis.#changeDelay\n\t\t);\n\t}\n\n\t#fulfillOnChangedEvent(position, requestId)\n\t{\n\t\tthis.#getPositionToLocationPromise(position)\n\t\t\t.then((location) => {\n\t\t\t\tthis.emit(Map.#onEndChanging, { requestId });\n\t\t\t\tthis.#emitOnLocationChangedEvent(location);\n\t\t\t})\n\t\t\t.catch((response) => {\n\t\t\t\tthis.emit(Map.#onEndChanging, { requestId });\n\t\t\t\tErrorPublisher.getInstance().notify(response.errors);\n\t\t\t});\n\t}\n\n\t#onDrag()\n\t{\n\t\tif (this.#timerId !== null)\n\t\t{\n\t\t\tclearTimeout(this.#timerId);\n\t\t}\n\t}\n\n\t#onDragStart()\n\t{\n\t\tthis.#onMapChanging();\n\t\tthis.emit(Map.#onMapViewChanged);\n\t}\n\n\t#onZoomChanged()\n\t{\n\t\tthis.#onMapChanging();\n\t\tthis.emit(Map.#onMapViewChanged);\n\t}\n\n\t#onMapChanging()\n\t{\n\t\tif (this.#mode === ControlMode.edit)\n\t\t{\n\t\t\tthis.#isMapChanging = true;\n\n\t\t\tDom.addClass(this.#markerNode, 'location-map-mobile-center-marker-up');\n\t\t}\n\t}\n\n\t#onIdle()\n\t{\n\t\tif (this.#mode === ControlMode.edit)\n\t\t{\n\t\t\tif (this.#isMapChanging === false)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst upClass = 'location-map-mobile-center-marker-up';\n\t\t\tif (Dom.hasClass(this.#markerNode, upClass))\n\t\t\t{\n\t\t\t\tDom.removeClass(this.#markerNode, upClass);\n\t\t\t}\n\n\t\t\tthis.#createTimer();\n\t\t\tthis.#isMapChanging = false;\n\t\t}\n\t}\n\n\t#initGoogleMap(props): void\n\t{\n\t\tthis.#mode = props.mode;\n\t\tthis.#location = props.location || null;\n\n\t\tif (typeof google === 'undefined' || typeof google.maps.Map === 'undefined')\n\t\t{\n\t\t\tthrow new Error('google.maps.Map must be defined');\n\t\t}\n\n\t\tconst position = this.#convertLocationToPosition(this.#location);\n\n\t\tconst mapProps = {\n\t\t\tgestureHandling: 'greedy',\n\t\t\tdisableDefaultUI: true,\n\t\t\tzoomControl: BX.prop.getBoolean(props, 'zoomControl', true),\n\t\t\tzoomControlOptions: {\n\t\t\t\tposition: google.maps.ControlPosition.TOP_LEFT\n\t\t\t}\n\t\t};\n\n\t\tconst zoom = Map.getZoomByLocation(this.#location);\n\t\tif (zoom)\n\t\t{\n\t\t\tmapProps.zoom = zoom;\n\t\t}\n\n\t\tif (position)\n\t\t{\n\t\t\tmapProps.center = position;\n\t\t}\n\n\t\tthis.#googleMap = new google.maps.Map(\n\t\t\tprops.mapContainer,\n\t\t\tmapProps\n\t\t);\n\t\tif (this.#mode === ControlMode.edit)\n\t\t{\n\t\t\tthis.#markerNode = Tag.render`<div class=\"location-map-mobile-center-marker\"></div>`;\n\t\t\tthis.#googleMap.getDiv().appendChild(this.#markerNode);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.#locationMarker = new google.maps.Marker({\n\t\t\t\tposition: position,\n\t\t\t\tmap: this.#googleMap,\n\t\t\t\tdraggable: false,\n\t\t\t\ticon: '/bitrix/js/location/css/image/marker.png',\n\t\t\t});\n\t\t}\n\n\t\tthis.#googleMap.addListener('dragstart', () => this.#onDragStart());\n\t\tthis.#googleMap.addListener('idle', () => this.#onIdle());\n\t\tthis.#googleMap.addListener('drag', () => this.#onDrag());\n\t\tthis.#googleMap.addListener('zoom_changed', () => this.#onZoomChanged());\n\t\tif (typeof google.maps.Geocoder === 'undefined')\n\t\t{\n\t\t\tthrow new Error('google.maps.Geocoder must be defined');\n\t\t}\n\n\t\tthis.#geocoder = new google.maps.Geocoder;\n\n\t\tif (props.searchOnRender)\n\t\t{\n\t\t\tthis.#createTimer();\n\t\t}\n\t}\n\n\tget googleMap(): ?Object\n\t{\n\t\treturn this.#googleMap;\n\t}\n\n\tdestroy()\n\t{\n\t\tEvent.unbindAll(this);\n\t\tthis.#googleMap = null;\n\t\tthis.#geocoder = null;\n\t\tthis.#timerId = null;\n\t\tthis.#loaderPromise = null;\n\t\tsuper.destroy();\n\t}\n}\n","import {PhotoServiceBase, BasePhotoServiceRequestPhotosPropsType} from \"location.core\";\n\nexport default class PhotoService extends PhotoServiceBase\n{\n\t#map;\n\t#service;\n\t#googleSource;\n\t#loadingPromise;\n\n\tconstructor(props)\n\t{\n\t\tsuper(props);\n\t\tthis.#googleSource = props.googleSource;\n\t\tthis.#map = props.map;\n\t}\n\n\t#getLoaderPromise()\n\t{\n\t\tif(!this.#loadingPromise)\n\t\t{\n\t\t\t//map haven't rendered yet\t`\n\t\t\tif(this.#map.loaderPromise === null)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.#loadingPromise = this.#map.loaderPromise.then(() => {\n\t\t\t\tthis.#service = new google.maps.places.PlacesService(this.#map.googleMap);\n\t\t\t});\n\t\t}\n\n\t\treturn this.#loadingPromise;\n\t}\n\n\trequestPhotos(props: BasePhotoServiceRequestPhotosPropsType): Promise\n\t{\n\t\treturn new Promise((resolve) => {\n\n\t\t\tlet promise = this.#getLoaderPromise();\n\n\t\t\tif(!promise)\n\t\t\t{\n\t\t\t\tresolve([]);\n\t\t\t}\n\n\t\t\tlet loaderPromise = this.#getLoaderPromise();\n\n\t\t\tif(!loaderPromise)\n\t\t\t{\n\t\t\t\tresolve([]);\n\t\t\t}\n\n\t\t\tloaderPromise\n\t\t\t .then(() => {\n\t\t\t\tif(props.location.sourceCode !== this.#googleSource.sourceCode)\n\t\t\t\t{\n\t\t\t\t\tresolve([]);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif(props.location.externalId.length <= 0)\n\t\t\t\t{\n\t\t\t\t\tresolve([]);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tthis.#service.getDetails(\n\t\t\t\t\t{\n\t\t\t\t\t\tplaceId: props.location.externalId,\n\t\t\t\t\t\tfields: ['photos']\n\t\t\t\t\t},\n\t\t\t\t\tfunction(place, status)\n\t\t\t\t\t{\n\t\t\t\t\t\tlet resultPhotos = [];\n\n\t\t\t\t\t\tif (status === google.maps.places.PlacesServiceStatus.OK)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(Array.isArray(place.photos))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlet count = 0;\n\n\t\t\t\t\t\t\t\tfor(let gPhoto of place.photos)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tresultPhotos.push({\n\t\t\t\t\t\t\t\t\t\turl: gPhoto.getUrl(),\n\t\t\t\t\t\t\t\t\t\twidth: gPhoto.width,\n\t\t\t\t\t\t\t\t\t\theight: gPhoto.height,\n\t\t\t\t\t\t\t\t\t\tdescription: Array.isArray(gPhoto.html_attributions) ? gPhoto.html_attributions.join('<br>') : '',\n\t\t\t\t\t\t\t\t\t\tthumbnail: {\n\t\t\t\t\t\t\t\t\t\t\turl: gPhoto.getUrl({\n\t\t\t\t\t\t\t\t\t\t\t\tmaxHeight: props.thumbnailHeight,\n\t\t\t\t\t\t\t\t\t\t\t\tmaxWidth: props.thumbnailWidth\n\t\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t\twidth: props.thumbnailWidth,\n\t\t\t\t\t\t\t\t\t\t\theight: props.thumbnailHeight\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\tcount++;\n\n\t\t\t\t\t\t\t\t\tif(props.maxPhotoCount && count >= props.maxPhotoCount)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tresolve(resultPhotos);\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t});\n\t\t});\n\t}\n}","import {Location, AddressType, LocationType, GeocodingServiceBase} from 'location.core';\n\nexport default class GeocodingService extends GeocodingServiceBase\n{\n\t#map;\n\t#geocoder;\n\t#loadingPromise;\n\t#googleSource;\n\n\tconstructor(props)\n\t{\n\t\tsuper(props);\n\n\t\tthis.#map = props.map;\n\t\tthis.#googleSource = props.googleSource;\n\t}\n\n\t#getLoaderPromise()\n\t{\n\t\tif(!this.#loadingPromise)\n\t\t{\n\t\t\t//map haven't rendered yet\t`\n\t\t\tif(this.#googleSource.loaderPromise === null)\n\t\t\t{\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.#loadingPromise = this.#googleSource.loaderPromise.then(() => {\n\t\t\t\tthis.#geocoder = new google.maps.Geocoder();\n\t\t\t});\n\t\t}\n\n\t\treturn this.#loadingPromise;\n\t}\n\n\t#convertLocationType(types: Array)\n\t{\n\t\tlet typeMap = {\n\t\t\t'country': LocationType.COUNTRY,\n\t\t\t'locality': LocationType.LOCALITY,\n\t\t\t'postal_town': LocationType.LOCALITY,\n\t\t\t'route': LocationType.STREET,\n\t\t\t'street_address': LocationType.ADDRESS_LINE_1,\n\t\t\t'administrative_area_level_4': LocationType.ADM_LEVEL_4,\n\t\t\t'administrative_area_level_3': LocationType.ADM_LEVEL_3,\n\t\t\t'administrative_area_level_2': LocationType.ADM_LEVEL_2,\n\t\t\t'administrative_area_level_1': LocationType.ADM_LEVEL_1,\n\t\t\t'floor': LocationType.FLOOR,\n\t\t\t'postal_code': AddressType.POSTAL_CODE,\n\t\t\t'room': LocationType.ROOM,\n\t\t\t'sublocality': LocationType.SUB_LOCALITY,\n\t\t\t'sublocality_level_1': LocationType.SUB_LOCALITY_LEVEL_1,\n\t\t\t'sublocality_level_2': LocationType.SUB_LOCALITY_LEVEL_2,\n\t\t\t'street_number': LocationType.BUILDING\n\t\t};\n\n\t\tlet result = LocationType.UNKNOWN;\n\n\t\tfor (let item of types)\n\t\t{\n\t\t\tif(typeof typeMap[item] !== 'undefined')\n\t\t\t{\n\t\t\t\tresult = typeMap[item];\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t#convertResultToLocations(data: Array)\n\t{\n\t\tlet result = [];\n\n\t\tfor (let item of data)\n\t\t{\n\t\t\tlet location = new Location;\n\t\t\tlocation.sourceCode = this.#googleSource.sourceCode;\n\t\t\tlocation.languageId = this.#googleSource.languageId;\n\t\t\tlocation.externalId = item.place_id;\n\t\t\tlocation.type = this.#convertLocationType(item.types);\n\t\t\tlocation.name = item.formatted_address;\n\t\t\tlocation.latitude = item.geometry.location.lat();\n\t\t\tlocation.longitude = item.geometry.location.lng();\n\t\t\tresult.push(location);\n\t\t}\n\n\t\treturn result;\n\t}\n\n\tgeocodeConcrete(addressString: string): Promise\n\t{\n\t\treturn new Promise((resolve) => {\n\n\t\t\tconst loaderPromise = this.#getLoaderPromise();\n\n\t\t\tif(!loaderPromise)\n\t\t\t{\n\t\t\t\tresolve([]);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tloaderPromise\n\t\t\t\t.then(() => {\n\t\t\t\t\tthis.#geocoder.geocode({address: addressString}, (results, status) => {\n\t\t\t\t\t\tif(status === 'OK') {\n\t\t\t\t\t\t\tresolve(this.#convertResultToLocations(results));\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(status === 'ZERO_RESULTS')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tresolve([]);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tBX.debug(`Geocode was not successful for the following reason: ${status}`);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t});\n\t}\n}","import {Type} from 'main.core';\nimport {BaseSource, SourceCreationError} from 'location.core';\nimport Loader from './loader';\nimport AutocompleteService from './autocompleteservice';\nimport Map from './map';\nimport MapMobile from './mapmobile';\nimport PhotoService from './photoservice';\nimport GeocodingService from './geocodingservice';\n\nexport class Google extends BaseSource\n{\n\tstatic code = 'GOOGLE';\n\t#languageId = '';\n\t#sourceLanguageId = '';\n\t#loaderPromise = null;\n\t#map;\n\t#mapMobile;\n\t#photoService;\n\t#geocodingService;\n\t#autocompleteService;\n\n\tconstructor(props: Object)\n\t{\n\t\tsuper(props);\n\n\t\tif (!Type.isString(props.languageId) || props.languageId.trim() === '')\n\t\t{\n\t\t\tthrow new SourceCreationError('props.languageId must be a string');\n\t\t}\n\n\t\tthis.#languageId = props.languageId;\n\n\t\tif (!Type.isString(props.sourceLanguageId) || props.sourceLanguageId.trim() === '')\n\t\t{\n\t\t\tthrow new SourceCreationError('props.sourceLanguageId must be a string');\n\t\t}\n\n\t\tthis.#sourceLanguageId = props.sourceLanguageId;\n\n\t\tif (!Type.isString(props.apiKey) || props.apiKey.trim() === '')\n\t\t{\n\t\t\tthrow new SourceCreationError('props.apiKey must be a string');\n\t\t}\n\n\t\tthis.#loaderPromise = Loader.load(props.apiKey, props.sourceLanguageId);\n\n\t\tthis.#map = new Map({\n\t\t\tgoogleSource: this,\n\t\t\tlanguageId: this.#languageId,\n\t\t});\n\n\t\tthis.#mapMobile = new MapMobile({\n\t\t\tgoogleSource: this,\n\t\t\tlanguageId: this.#languageId,\n\t\t});\n\n\t\tthis.#autocompleteService = new AutocompleteService({\n\t\t\tgoogleSource: this,\n\t\t\tlanguageId: this.#languageId\n\t\t});\n\n\t\tthis.#photoService = new PhotoService({\n\t\t\tgoogleSource: this,\n\t\t\tmap: this.#map\n\t\t});\n\n\t\tthis.#geocodingService = new GeocodingService({\n\t\t\tgoogleSource: this,\n\t\t\tmap: this.#map\n\t\t});\n\t}\n\n\tget sourceCode(): string\n\t{\n\t\treturn Google.code;\n\t}\n\n\tget loaderPromise(): Promise\n\t{\n\t\treturn this.#loaderPromise;\n\t}\n\n\tget map()\n\t{\n\t\treturn this.#map;\n\t}\n\n\tget mapMobile()\n\t{\n\t\treturn this.#mapMobile;\n\t}\n\n\tget autocompleteService()\n\t{\n\t\treturn this.#autocompleteService;\n\t}\n\n\tget photoService()\n\t{\n\t\treturn this.#photoService;\n\t}\n\n\tget geocodingService()\n\t{\n\t\treturn this.#geocodingService;\n\t}\n\n\tget languageId()\n\t{\n\t\treturn this.#languageId;\n\t}\n}\n"],"names":["Loader","apiKey","languageId","Promise","resolve","BX","load","map","toUpperCase","STATUS_OK","STATUS_ZERO_RESULTS","AutocompleteService","props","googleSource","loaderPromise","then","query","params","error","debug","AutocompleteServiceBase","queryPredictionsParams","input","biasPoint","location","google","maps","LatLng","latitude","longitude","radius","cachedResult","AutocompleteCache","get","Google","code","data","result","status","getQueryPredictions","res","set","places","Error","item","place_id","name","structured_formatting","main_text","description","Location","sourceCode","externalId","secondary_text","setFieldValue","LocationType","TMP_TYPE_CLARIFICATION","typeHint","types","TMP_TYPE_HINT","push","indexOf","Loc","getMessage","Map","_classPrivateMethodInitSpec","_classPrivateFieldInitSpec","locationRepository","LocationRepository","changeDelay","_classPrivateMethodGet","listener","subscribe","Event","unbindAll","mode","setDraggable","ControlMode","edit","zoom","setZoom","position","setPosition","getMap","setMap","panTo","MapBase","getZoomByLocation","geocode","results","placeId","findByExternalId","emit","getPosition","clearTimeout","setTimeout","requestId","Text","getRandom","response","ErrorPublisher","getInstance","notify","errors","mapProps","gestureHandling","disableDefaultUI","zoomControl","prop","getBoolean","zoomControlOptions","ControlPosition","TOP_LEFT","center","mapContainer","addListener","e","latLng","Marker","draggable","Geocoder","getCenter","Dom","addClass","upClass","hasClass","removeClass","Tag","render","getDiv","appendChild","icon","searchOnRender","PhotoService","promise","length","getDetails","fields","place","resultPhotos","PlacesServiceStatus","OK","Array","isArray","photos","count","gPhoto","url","getUrl","width","height","html_attributions","join","thumbnail","maxHeight","thumbnailHeight","maxWidth","thumbnailWidth","maxPhotoCount","PhotoServiceBase","PlacesService","googleMap","GeocodingService","addressString","address","GeocodingServiceBase","typeMap","COUNTRY","LOCALITY","STREET","ADDRESS_LINE_1","ADM_LEVEL_4","ADM_LEVEL_3","ADM_LEVEL_2","ADM_LEVEL_1","FLOOR","AddressType","POSTAL_CODE","ROOM","SUB_LOCALITY","SUB_LOCALITY_LEVEL_1","SUB_LOCALITY_LEVEL_2","BUILDING","UNKNOWN","type","formatted_address","geometry","lat","lng","Type","isString","trim","SourceCreationError","sourceLanguageId","MapMobile","BaseSource"],"mappings":";;;;;;;;;;;;CAAA;CACA;CACA;CAFA,IAGqBA,MAAM;GAAA;KAAA;;GAAA;KAAA;;CA6B3B;CACA;CACA;CACA;CACA;KALC,qBAMYC,MAAc,EAAEC,UAAkB,EAC9C;OACC,IAAI,gCAAAF,MAAM,EApCSA,MAAM,uBAoCM,IAAI,EACnC;SACC,gCAAAA,MAAM,EAtCYA,MAAM,mBAsCC,IAAIG,OAAO,CAAC,UAACC,OAAO,EAAK;WAEjDC,EAAE,CAACC,IAAI,CACN,8BAACN,MAAM,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