/*

Elfsight Google Maps
Version: 1.1.0
Release date: Wed Dec 13 2017

https://elfsight.com

Copyright (c) 2017 Elfsight, LLC. ALL RIGHTS RESERVED

*/!function(o){function e(o){return o=o.replace("#",""),r=parseInt(o.substring(0,2),16),g=parseInt(o.substring(2,4),16),b=parseInt(o.substring(4,6),16),result="rgba("+r+","+g+","+b+",1)",result}for(var l={default:{colorGeometry:"",colorLabelsTextFill:"",colorLabelsTextStroke:"",colorAdministrativeGeometryStroke:"",colorAdministrativeLandParcel:"",colorLandscapeNaturalGeometry:"",colorPoiGeometry:"",colorPoiLabelsTextFill:"",colorPoiParkGeometryFill:"",colorPoiParkLabelsTextFill:"",colorRoadGeometry:"",colorRoadArterial:"",colorRoadHighway:"",colorRoadHighwayGeometryStroke:"",colorRoadHighwayControlledAccessGeometry:"",colorRoadHighwayControlledAccessGeometryStroke:"",colorRoadLocalLabelsTextFill:"",colorTransitLineGeometry:"",colorTransitLineLabelsTextFill:"",colorTransitLineLabelsTextStroke:"",colorTransitStationGeometry:"",colorWaterGeometryFill:"",colorWaterLabelTextFill:""},silver:{colorGeometry:e("#f5f5f5"),colorLabelsTextFill:e("#616161"),colorLabelsTextStroke:e("#f5f5f5"),colorAdministrativeGeometryStroke:"",colorAdministrativeLandParcel:e("#bdbdbd"),colorLandscapeNaturalGeometry:"",colorPoiGeometry:e("#eeeeee"),colorPoiLabelsTextFill:e("#757575"),colorPoiParkGeometryFill:e("#e5e5e5"),colorPoiParkLabelsTextFill:e("#9e9e9e"),colorRoadGeometry:e("#ffffff"),colorRoadArterial:e("#ffffff"),colorRoadHighway:e("#dadada"),colorRoadHighwayGeometryStroke:e("#dadada"),colorRoadHighwayControlledAccessGeometry:e("#ffffff"),colorRoadHighwayControlledAccessGeometryStroke:e("#ffffff"),colorRoadLocalLabelsTextFill:e("#9e9e9e"),colorTransitLineGeometry:e("#e5e5e5"),colorTransitLineLabelsTextFill:e("#616161"),colorTransitLineLabelsTextStroke:e("#f5f5f5"),colorTransitStationGeometry:e("#eeeeee"),colorWaterGeometryFill:e("#c9c9c9"),colorWaterLabelTextFill:e("#9e9e9e")},night:{colorGeometry:e("#242f3e"),colorLabelsTextFill:e("#746855"),colorLabelsTextStroke:e("#242f3e"),colorAdministrativeGeometryStroke:e("#d59563"),colorAdministrativeLandParcel:e("#d59563"),colorLandscapeNaturalGeometry:e("#242f3e"),colorPoiGeometry:e("#263c3f"),colorPoiLabelsTextFill:e("#d59563"),colorPoiParkGeometryFill:e("#263c3f"),colorPoiParkLabelsTextFill:e("#6b9a76"),colorRoadGeometry:e("#38414e"),colorRoadArterial:e("#746855"),colorRoadHighway:e("#746855"),colorRoadHighwayGeometryStroke:e("#1f2835"),colorRoadHighwayControlledAccessGeometry:e("#f3d19c"),colorRoadHighwayControlledAccessGeometryStroke:"",colorRoadLocalLabelsTextFill:e("#6b9a76"),colorTransitLineGeometry:e("#2f3948"),colorTransitLineLabelsTextFill:e("#d6d6d6"),colorTransitLineLabelsTextStroke:e("#d6d6d6"),colorTransitStationGeometry:e("#d59563"),colorWaterGeometryFill:e("#17263c"),colorWaterLabelTextFill:e("#515c6d")},retro:{colorGeometry:e("#ebe3cd"),colorLabelsTextFill:e("#523735"),colorLabelsTextStroke:e("#f5f1e6"),colorAdministrativeGeometryStroke:e("#c9b2a6"),colorAdministrativeLandParcel:e("#ae9e90"),colorLandscapeNaturalGeometry:e("#dfd2ae"),colorPoiGeometry:e("#dfd2ae"),colorPoiLabelsTextFill:e("#93817c"),colorPoiParkGeometryFill:e("#a5b076"),colorPoiParkLabelsTextFill:e("#447530"),colorRoadGeometry:e("#f5f1e6"),colorRoadArterial:e("#fdfcf8"),colorRoadHighway:e("#f8c967"),colorRoadHighwayGeometryStroke:e("#e9bc62"),colorRoadHighwayControlledAccessGeometry:e("#e98d58"),colorRoadHighwayControlledAccessGeometryStroke:e("#db8555"),colorRoadLocalLabelsTextFill:e("#806b63"),colorTransitLineGeometry:e("#dfd2ae"),colorTransitLineLabelsTextFill:e("#8f7d77"),colorTransitLineLabelsTextStroke:e("#ebe3cd"),colorTransitStationGeometry:e("#dfd2ae"),colorWaterGeometryFill:e("#b9d3c2"),colorWaterLabelTextFill:e("#92998d")},custom:{}},t=["colorGeometry","colorLabelsTextFill","colorLabelsTextStroke","colorAdministrativeGeometryStroke","colorAdministrativeLandParcel","colorLandscapeNaturalGeometry","colorPoiGeometry","colorPoiLabelsTextFill","colorPoiParkGeometryFill","colorPoiParkLabelsTextFill","colorRoadGeometry","colorRoadArterial","colorRoadHighway","colorRoadHighwayGeometryStroke","colorRoadHighwayControlledAccessGeometry","colorRoadHighwayControlledAccessGeometryStroke","colorRoadLocalLabelsTextFill","colorTransitLineLabelsTextStroke","colorTransitStationGeometry","colorWaterGeometryFill","colorWaterLabelTextFill"],a=[],c=0,i=t.length;c<i;c++)a.push("widget.data."+t[c]);var s,d=!0,n=!1;o.observer=function(o,e,r){o.$watch("widget.data.style",function(e,r){void 0!==e&&e!==r&&e in l&&(angular.extend(o.widget.data,l[e]),n=!0)}),o.$watchGroup(a,function(e,r){n||(d=!1),clearTimeout(s),s=setTimeout(function(){if(void 0!==e&&e!==r){if(d&&n||!d&&!n)for(var a=0,c=t.length;a<c;a++)l.custom[t[a]]=e[a];n||"custom"===o.widget.data.style||(o.widget.data.style="custom"),n=!1}},300)}),o.$watch("widget.data.markers",function(o,r){void 0!==o&&o!==r&&o.forEach(function(l,t){o[t]&&r[t]&&o[t].icon!==r[t].icon&&(e[0].complex.properties[2].visible="custom"===o[t].icon)})},!0),r&&r.$watch("currentComplex",function(){r.currentComplex&&("custom"===r.currentComplex.icon?m("iconUrl",!0,e):m("iconUrl",!1,e))},!0)};var m=function(o,e,r){r.forEach(function(l,t){if(l.id===o)return r[t].visible=e,!1;l&&l.properties&&m(o,e,l.properties),l.complex&&l.complex.properties&&m(o,e,l.complex.properties),l.subgroup&&l.subgroup.properties&&m(o,e,l.subgroup.properties)})}}(window.eapps=window.eapps||{});