{"version":3,"file":"Map.bundle.js","sources":["../../../Static/src/react/components/map/settings.js","../../../Static/src/react/components/map/GoogleMapsLink/GoogleMapsLink.jsx","../../../Static/src/react/components/map/Filters/FilterButton/FilterButton.jsx","../../../Static/src/react/components/map/Filters/Filters.jsx","../../../Static/src/react/components/Accordion/AccordionContent/AccordionContent.jsx","../../../Static/src/react/components/Accordion/AccordionTrigger/AccordionTrigger.jsx","../../../Static/src/react/components/Accordion/AccordionSection/AccordionSection.jsx","../../../Static/src/react/components/Accordion/Accordion.jsx","../../../Static/src/react/components/map/Map.jsx"],"sourcesContent":["/*\r\n * Web api settings\r\n */\r\n\r\nexport const locationsAPIurls = {\r\n single: '/api/mapLocations/findlocation',\r\n all: '/api/mapLocations/findalllocations',\r\n info: '/ContactData/',\r\n};\r\n\r\nexport const requestNamesMap = {\r\n latitude: 'Latitude',\r\n longitude: 'Longitude',\r\n type: 'Type',\r\n id: 'Guid',\r\n name: 'Name',\r\n country: 'Country',\r\n url: 'Url',\r\n};\r\n\r\n/*\r\n * Google maps settings\r\n */\r\n\r\nexport const googleMapsAPIurl =\r\n 'https://maps.googleapis.com/maps/api/js?key=AIzaSyAURrPQGSKNcWhRPaO8UVq4A5EZ3V6QAXw';\r\n\r\nexport const googleMapsWebUrl =\r\n 'https://www.google.com/maps/search/?api=1&query=';\r\n\r\nexport const markerStyleTypeMap = {\r\n office: 'office',\r\n Port: 'port',\r\n 'ShipAgencyOffice': 'office',\r\n 'HeadOffice': 'office',\r\n 'ShipManagementOffice': 'office',\r\n 'MaritimeLogisticsOffice': 'office',\r\n 'CrewRecruitmentOffice': 'office',\r\n};\r\n\r\nexport const officeNameMap = {\r\n office: 'Office',\r\n Port: 'Port',\r\n 'ShipAgencyOffice': 'Port Services Office',\r\n 'HeadOffice': 'Headquarter',\r\n 'ShipManagementOffice': 'Ship Management Office',\r\n 'MaritimeLogisticsOffice': 'Maritime Logistics Office',\r\n 'CrewRecruitmentOffice': 'Manning Services Office',\r\n};\r\n\r\nexport const officeIconClassMap = {\r\n office: 'sa',\r\n Port: 'port',\r\n 'Port Agency Office': 'sa',\r\n 'Headquarter': 'hq',\r\n 'Ship Management Office': 'sm',\r\n 'Maritime Logistics Office': 'ml',\r\n 'Manning Services Office': 'ms',\r\n};\r\n\r\nexport const markerStyles = {\r\n office: {\r\n path: 'M12 0C5.383 0 0 5.083 0 11.333c0 6.013 10.91 21.685 11.374 22.348A.766.766 0 0 0 12 34c.252 0 .486-.12.626-.319C13.09 33.018 24 17.346 24 11.333 24 5.084 18.617 0 12 0zm0 16c-2.757 0-5-2.244-5-5s2.243-5 5-5 5 2.244 5 5-2.243 5-5 5z',\r\n fillColor: '#345888',\r\n fillOpacity: 1,\r\n scale: 1,\r\n strokeWeight: 1,\r\n strokeColor: '#ffffff',\r\n anchor: {x: 12, y: 34},\r\n },\r\n port: {\r\n path: 'M12 0C5.383 0 0 5.083 0 11.333c0 6.013 10.91 21.685 11.374 22.348A.766.766 0 0 0 12 34c.252 0 .486-.12.626-.319C13.09 33.018 24 17.346 24 11.333 24 5.084 18.617 0 12 0zm0 16c-2.757 0-5-2.244-5-5s2.243-5 5-5 5 2.244 5 5-2.243 5-5 5z',\r\n fillColor: '#ffffff',\r\n fillOpacity: 1,\r\n scale: 1,\r\n strokeWeight: 1,\r\n strokeColor: '#345888',\r\n anchor: {x: 12, y: 34},\r\n },\r\n};\r\n\r\nexport const mapStyles = [\r\n {\r\n featureType: 'all',\r\n stylers: [\r\n {\r\n saturation: '-60',\r\n },\r\n ],\r\n },\r\n {\r\n featureType: 'poi',\r\n elementType: 'labels',\r\n stylers: [\r\n {\r\n visibility: 'off',\r\n },\r\n ],\r\n },\r\n {\r\n featureType: 'road',\r\n elementType: 'labels',\r\n stylers: [\r\n {\r\n visibility: 'off',\r\n },\r\n ],\r\n },\r\n {\r\n featureType: 'transit',\r\n elementType: 'labels',\r\n stylers: [\r\n {\r\n visibility: 'off',\r\n },\r\n ],\r\n },\r\n];\r\n\r\nexport const mapZoom = {\r\n small: 10,\r\n large: 4,\r\n};\r\n\r\nexport const clusterStyles = [{\r\n textColor: 'white',\r\n textSize: 12,\r\n url: '/Static/prod/images/Contacts-locations/Pin--aggregated.png',\r\n height: 30,\r\n width: 38,\r\n anchor: {x: 19, y: 0},\r\n scale: 1,\r\n strokeWeight: 1,\r\n strokeColor: '#ffffff',\r\n}];\r\n\r\nexport const clusterOptions = {\r\n gridSize: 100,\r\n styles: clusterStyles,\r\n minZoom: mapZoom.large,\r\n maxZoom: mapZoom.small,\r\n};\r\n\r\nexport const delay = 0;","import React, {Component} from 'react';\r\nimport * as settings from '../settings';\r\n\r\nexport default class GoogleMapsLink extends Component {\r\n constructor(props) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n Show in Google Maps\r\n \r\n )\r\n }\r\n}","import React, {Component} from 'react';\r\n\r\nexport default class FilterButton extends Component {\r\n constructor(props) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n let filterInput = ;\r\n\r\n let filterLabel = ;\r\n\r\n return (\r\n
\r\n {marker.type}\r\n
\r\n