text: ($WP="undefined"!=typeof $WP?$WP:[]).push({id:"@ta/maps.zoom-control",d:["vendor-react-libs","@ta/public.maps","ta-platform"],e:["./packages/maps/zoom-control/ZoomControl.jsx"],x:{"./packages/maps/zoom-control/ZoomControl.jsx":["default"]},m:{"./packages/maps/zoom-control/ZoomControl.jsx":function(o,t,a){"use strict";a.r(t);var e=a("react"),n=a("@ta/public.maps"),m=a("@ta/common.tracking"),c=a.n(m);t.default=e.memo(function o(){var t=e.useContext(n.MapContext).map,a=e.useCallback(function(){if(t){c()({module:"map_move",action:"zoom_in_button"});var o=t.getZoom();t.setZoom(o+1,!0)}},[t]),m=e.useCallback(function(){if(t){c()({module:"map_move",action:"zoom_out_button"});var o=t.getZoom();t.setZoom(o-1,!0)}},[t]);return e.createElement("div",{className:"_2gSE87OX"},e.createElement("div",{className:"_1GQC-py1",role:"button",tabIndex:"-1",onClick:a},"+"),e.createElement("div",{className:"_1qggtnLh",role:"button",tabIndex:"-2",onClick:m},"–"))})}}});
  //# sourceMappingURL=maps.zoom-control.23731a7a48.js.map