Index: imaps-frontend/node_modules/konva/lib/Shape.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/Shape.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
+++ imaps-frontend/node_modules/konva/lib/Shape.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
@@ -9,9 +9,9 @@
 const Global_2 = require("./Global");
 const PointerEvents = require("./PointerEvents");
-var HAS_SHADOW = 'hasShadow';
-var SHADOW_RGBA = 'shadowRGBA';
-var patternImage = 'patternImage';
-var linearGradient = 'linearGradient';
-var radialGradient = 'radialGradient';
+const HAS_SHADOW = 'hasShadow';
+const SHADOW_RGBA = 'shadowRGBA';
+const patternImage = 'patternImage';
+const linearGradient = 'linearGradient';
+const radialGradient = 'radialGradient';
 let dummyContext;
 function getDummyContext() {
@@ -105,5 +105,5 @@
     __getFillPattern() {
         if (this.fillPatternImage()) {
-            var ctx = getDummyContext();
+            const ctx = getDummyContext();
             const pattern = ctx.createPattern(this.fillPatternImage(), this.fillPatternRepeat() || 'repeat');
             if (pattern && pattern.setTransform) {
@@ -133,11 +133,11 @@
     }
     __getLinearGradient() {
-        var colorStops = this.fillLinearGradientColorStops();
+        const colorStops = this.fillLinearGradientColorStops();
         if (colorStops) {
-            var ctx = getDummyContext();
-            var start = this.fillLinearGradientStartPoint();
-            var end = this.fillLinearGradientEndPoint();
-            var grd = ctx.createLinearGradient(start.x, start.y, end.x, end.y);
-            for (var n = 0; n < colorStops.length; n += 2) {
+            const ctx = getDummyContext();
+            const start = this.fillLinearGradientStartPoint();
+            const end = this.fillLinearGradientEndPoint();
+            const grd = ctx.createLinearGradient(start.x, start.y, end.x, end.y);
+            for (let n = 0; n < colorStops.length; n += 2) {
                 grd.addColorStop(colorStops[n], colorStops[n + 1]);
             }
@@ -149,11 +149,11 @@
     }
     __getRadialGradient() {
-        var colorStops = this.fillRadialGradientColorStops();
+        const colorStops = this.fillRadialGradientColorStops();
         if (colorStops) {
-            var ctx = getDummyContext();
-            var start = this.fillRadialGradientStartPoint();
-            var end = this.fillRadialGradientEndPoint();
-            var grd = ctx.createRadialGradient(start.x, start.y, this.fillRadialGradientStartRadius(), end.x, end.y, this.fillRadialGradientEndRadius());
-            for (var n = 0; n < colorStops.length; n += 2) {
+            const ctx = getDummyContext();
+            const start = this.fillRadialGradientStartPoint();
+            const end = this.fillRadialGradientEndPoint();
+            const grd = ctx.createRadialGradient(start.x, start.y, this.fillRadialGradientStartRadius(), end.x, end.y, this.fillRadialGradientEndRadius());
+            for (let n = 0; n < colorStops.length; n += 2) {
                 grd.addColorStop(colorStops[n], colorStops[n + 1]);
             }
@@ -168,5 +168,5 @@
             return;
         }
-        var rgba = Util_1.Util.colorToRGBA(this.shadowColor());
+        const rgba = Util_1.Util.colorToRGBA(this.shadowColor());
         if (rgba) {
             return ('rgba(' +
@@ -216,5 +216,5 @@
     }
     intersects(point) {
-        var stage = this.getStage();
+        const stage = this.getStage();
         if (!stage) {
             return false;
@@ -269,5 +269,5 @@
     }
     getSelfRect() {
-        var size = this.size();
+        const size = this.size();
         return {
             x: this._centroid ? -size.width / 2 : 0,
@@ -318,8 +318,8 @@
     }
     drawScene(can, top, bufferCanvas) {
-        var layer = this.getLayer();
-        var canvas = can || layer.getCanvas(), context = canvas.getContext(), cachedCanvas = this._getCanvasCache(), drawFunc = this.getSceneFunc(), hasShadow = this.hasShadow(), stage, bufferContext;
-        var skipBuffer = canvas.isCache;
-        var cachingSelf = top === this;
+        const layer = this.getLayer();
+        let canvas = can || layer.getCanvas(), context = canvas.getContext(), cachedCanvas = this._getCanvasCache(), drawFunc = this.getSceneFunc(), hasShadow = this.hasShadow(), stage, bufferContext;
+        const skipBuffer = canvas.isCache;
+        const cachingSelf = top === this;
         if (!this.isVisible() && !cachingSelf) {
             return this;
@@ -327,5 +327,5 @@
         if (cachedCanvas) {
             context.save();
-            var m = this.getAbsoluteTransform(top).getMatrix();
+            const m = this.getAbsoluteTransform(top).getMatrix();
             context.transform(m[0], m[1], m[2], m[3], m[4], m[5]);
             this._drawCachedSceneCanvas(context);
@@ -348,5 +348,5 @@
             drawFunc.call(this, bufferContext, this);
             bufferContext.restore();
-            var ratio = bc.pixelRatio;
+            const ratio = bc.pixelRatio;
             if (hasShadow) {
                 context._applyShadow(this);
@@ -376,5 +376,5 @@
             return this;
         }
-        var layer = this.getLayer(), canvas = can || layer.hitCanvas, context = canvas && canvas.getContext(), drawFunc = this.hitFunc() || this.sceneFunc(), cachedCanvas = this._getCanvasCache(), cachedHitCanvas = cachedCanvas && cachedCanvas.hit;
+        const layer = this.getLayer(), canvas = can || layer.hitCanvas, context = canvas && canvas.getContext(), drawFunc = this.hitFunc() || this.sceneFunc(), cachedCanvas = this._getCanvasCache(), cachedHitCanvas = cachedCanvas && cachedCanvas.hit;
         if (!this.colorKey) {
             Util_1.Util.warn('Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. If you want to reuse shape you should call remove() instead of destroy()');
@@ -382,5 +382,5 @@
         if (cachedHitCanvas) {
             context.save();
-            var m = this.getAbsoluteTransform(top).getMatrix();
+            const m = this.getAbsoluteTransform(top).getMatrix();
             context.transform(m[0], m[1], m[2], m[3], m[4], m[5]);
             this._drawCachedHitCanvas(context);
@@ -395,5 +395,5 @@
         const selfCache = this === top;
         if (!selfCache) {
-            var o = this.getAbsoluteTransform(top).getMatrix();
+            const o = this.getAbsoluteTransform(top).getMatrix();
             context.transform(o[0], o[1], o[2], o[3], o[4], o[5]);
         }
@@ -403,5 +403,5 @@
     }
     drawHitFromCache(alphaThreshold = 0) {
-        var cachedCanvas = this._getCanvasCache(), sceneCanvas = this._getCachedSceneCanvas(), hitCanvas = cachedCanvas.hit, hitContext = hitCanvas.getContext(), hitWidth = hitCanvas.getWidth(), hitHeight = hitCanvas.getHeight(), hitImageData, hitData, len, rgbColorKey, i, alpha;
+        let cachedCanvas = this._getCanvasCache(), sceneCanvas = this._getCachedSceneCanvas(), hitCanvas = cachedCanvas.hit, hitContext = hitCanvas.getContext(), hitWidth = hitCanvas.getWidth(), hitHeight = hitCanvas.getHeight(), hitImageData, hitData, len, rgbColorKey, i, alpha;
         hitContext.clear();
         hitContext.drawImage(sceneCanvas._canvas, 0, 0, hitWidth, hitHeight);
