Index: imaps-frontend/node_modules/konva/lib/shapes/Arc.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Arc.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Arc.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -9,5 +9,5 @@
 class Arc extends Shape_1.Shape {
     _sceneFunc(context) {
-        const angle = Global_1.Konva.getAngle(this.angle()), clockwise = this.clockwise();
+        var angle = Global_1.Konva.getAngle(this.angle()), clockwise = this.clockwise();
         context.beginPath();
         context.arc(0, 0, this.outerRadius(), 0, angle, clockwise);
Index: imaps-frontend/node_modules/konva/lib/shapes/Arrow.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Arrow.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Arrow.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -10,14 +10,14 @@
     _sceneFunc(ctx) {
         super._sceneFunc(ctx);
-        const PI2 = Math.PI * 2;
-        const points = this.points();
-        let tp = points;
-        const fromTension = this.tension() !== 0 && points.length > 4;
+        var PI2 = Math.PI * 2;
+        var points = this.points();
+        var tp = points;
+        var fromTension = this.tension() !== 0 && points.length > 4;
         if (fromTension) {
             tp = this.getTensionPoints();
         }
-        const length = this.pointerLength();
-        const n = points.length;
-        let dx, dy;
+        var length = this.pointerLength();
+        var n = points.length;
+        var dx, dy;
         if (fromTension) {
             const lp = [
@@ -38,6 +38,6 @@
             dy = points[n - 1] - points[n - 3];
         }
-        const radians = (Math.atan2(dy, dx) + PI2) % PI2;
-        const width = this.pointerWidth();
+        var radians = (Math.atan2(dy, dx) + PI2) % PI2;
+        var width = this.pointerWidth();
         if (this.pointerAtEnding()) {
             ctx.save();
@@ -74,5 +74,5 @@
     }
     __fillStroke(ctx) {
-        const isDashEnabled = this.dashEnabled();
+        var isDashEnabled = this.dashEnabled();
         if (isDashEnabled) {
             this.attrs.dashEnabled = false;
Index: imaps-frontend/node_modules/konva/lib/shapes/Ellipse.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Ellipse.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Ellipse.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -8,5 +8,5 @@
 class Ellipse extends Shape_1.Shape {
     _sceneFunc(context) {
-        const rx = this.radiusX(), ry = this.radiusY();
+        var rx = this.radiusX(), ry = this.radiusY();
         context.beginPath();
         context.save();
Index: imaps-frontend/node_modules/konva/lib/shapes/Image.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Image.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Image.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -79,5 +79,5 @@
     }
     _hitFunc(context) {
-        const width = this.width(), height = this.height(), cornerRadius = this.cornerRadius();
+        var width = this.width(), height = this.height(), cornerRadius = this.cornerRadius();
         context.beginPath();
         if (!cornerRadius) {
@@ -99,7 +99,7 @@
     }
     static fromURL(url, callback, onError = null) {
-        const img = Util_1.Util.createImageElement();
+        var img = Util_1.Util.createImageElement();
         img.onload = function () {
-            const image = new Image({
+            var image = new Image({
                 image: img,
             });
Index: imaps-frontend/node_modules/konva/lib/shapes/Label.d.ts
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Label.d.ts	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Label.d.ts	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -30,5 +30,5 @@
         height: number;
     };
-    pointerDirection: GetSet<'left' | 'top' | 'right' | 'bottom' | 'up' | 'down', this>;
+    pointerDirection: GetSet<'left' | 'top' | 'right' | 'bottom', this>;
     pointerWidth: GetSet<number, this>;
     pointerHeight: GetSet<number, this>;
Index: imaps-frontend/node_modules/konva/lib/shapes/Label.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Label.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Label.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -7,5 +7,5 @@
 const Validators_1 = require("../Validators");
 const Global_1 = require("../Global");
-const ATTR_CHANGE_LIST = [
+var ATTR_CHANGE_LIST = [
     'fontFamily',
     'fontSize',
@@ -35,6 +35,6 @@
     }
     _addListeners(text) {
-        let that = this, n;
-        const func = function () {
+        var that = this, n;
+        var func = function () {
             that._sync();
         };
@@ -50,5 +50,5 @@
     }
     _sync() {
-        let text = this.getText(), tag = this.getTag(), width, height, pointerDirection, pointerWidth, x, y, pointerHeight;
+        var text = this.getText(), tag = this.getTag(), width, height, pointerDirection, pointerWidth, x, y, pointerHeight;
         if (text && tag) {
             width = text.width();
@@ -95,5 +95,5 @@
 class Tag extends Shape_1.Shape {
     _sceneFunc(context) {
-        const width = this.width(), height = this.height(), pointerDirection = this.pointerDirection(), pointerWidth = this.pointerWidth(), pointerHeight = this.pointerHeight(), cornerRadius = this.cornerRadius();
+        var width = this.width(), height = this.height(), pointerDirection = this.pointerDirection(), pointerWidth = this.pointerWidth(), pointerHeight = this.pointerHeight(), cornerRadius = this.cornerRadius();
         let topLeft = 0;
         let topRight = 0;
@@ -147,5 +147,5 @@
     }
     getSelfRect() {
-        let x = 0, y = 0, pointerWidth = this.pointerWidth(), pointerHeight = this.pointerHeight(), direction = this.pointerDirection(), width = this.width(), height = this.height();
+        var x = 0, y = 0, pointerWidth = this.pointerWidth(), pointerHeight = this.pointerHeight(), direction = this.pointerDirection(), width = this.width(), height = this.height();
         if (direction === UP) {
             y -= pointerHeight;
Index: imaps-frontend/node_modules/konva/lib/shapes/Line.d.ts
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Line.d.ts	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Line.d.ts	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -1,5 +1,5 @@
 import { Shape, ShapeConfig } from '../Shape.js';
+import { GetSet } from '../types.js';
 import { Context } from '../Context.js';
-import { GetSet } from '../types.js';
 export interface LineConfig extends ShapeConfig {
     points?: number[] | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array;
Index: imaps-frontend/node_modules/konva/lib/shapes/Line.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Line.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Line.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -3,15 +3,15 @@
 exports.Line = void 0;
 const Factory_1 = require("../Factory");
-const Global_1 = require("../Global");
 const Shape_1 = require("../Shape");
 const Validators_1 = require("../Validators");
+const Global_1 = require("../Global");
 function getControlPoints(x0, y0, x1, y1, x2, y2, t) {
-    const d01 = Math.sqrt(Math.pow(x1 - x0, 2) + Math.pow(y1 - y0, 2)), d12 = Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)), fa = (t * d01) / (d01 + d12), fb = (t * d12) / (d01 + d12), p1x = x1 - fa * (x2 - x0), p1y = y1 - fa * (y2 - y0), p2x = x1 + fb * (x2 - x0), p2y = y1 + fb * (y2 - y0);
+    var d01 = Math.sqrt(Math.pow(x1 - x0, 2) + Math.pow(y1 - y0, 2)), d12 = Math.sqrt(Math.pow(x2 - x1, 2) + Math.pow(y2 - y1, 2)), fa = (t * d01) / (d01 + d12), fb = (t * d12) / (d01 + d12), p1x = x1 - fa * (x2 - x0), p1y = y1 - fa * (y2 - y0), p2x = x1 + fb * (x2 - x0), p2y = y1 + fb * (y2 - y0);
     return [p1x, p1y, p2x, p2y];
 }
 function expandPoints(p, tension) {
-    const len = p.length, allPoints = [];
-    for (let n = 2; n < len - 2; n += 2) {
-        const cp = getControlPoints(p[n - 2], p[n - 1], p[n], p[n + 1], p[n + 2], p[n + 3], tension);
+    var len = p.length, allPoints = [], n, cp;
+    for (n = 2; n < len - 2; n += 2) {
+        cp = getControlPoints(p[n - 2], p[n - 1], p[n], p[n + 1], p[n + 2], p[n + 3], tension);
         if (isNaN(cp[0])) {
             continue;
@@ -34,5 +34,5 @@
     }
     _sceneFunc(context) {
-        let points = this.points(), length = points.length, tension = this.tension(), closed = this.closed(), bezier = this.bezier(), tp, len, n;
+        var points = this.points(), length = points.length, tension = this.tension(), closed = this.closed(), bezier = this.bezier(), tp, len, n;
         if (!length) {
             return;
@@ -85,5 +85,5 @@
     }
     _getTensionPointsClosed() {
-        const p = this.points(), len = p.length, tension = this.tension(), firstControlPoints = getControlPoints(p[len - 2], p[len - 1], p[0], p[1], p[2], p[3], tension), lastControlPoints = getControlPoints(p[len - 4], p[len - 3], p[len - 2], p[len - 1], p[0], p[1], tension), middle = expandPoints(p, tension), tp = [firstControlPoints[2], firstControlPoints[3]]
+        var p = this.points(), len = p.length, tension = this.tension(), firstControlPoints = getControlPoints(p[len - 2], p[len - 1], p[0], p[1], p[2], p[3], tension), lastControlPoints = getControlPoints(p[len - 4], p[len - 3], p[len - 2], p[len - 1], p[0], p[1], tension), middle = expandPoints(p, tension), tp = [firstControlPoints[2], firstControlPoints[3]]
             .concat(middle)
             .concat([
@@ -108,5 +108,5 @@
     }
     getSelfRect() {
-        let points = this.points();
+        var points = this.points();
         if (points.length < 4) {
             return {
@@ -129,10 +129,10 @@
             points = this.points();
         }
-        let minX = points[0];
-        let maxX = points[0];
-        let minY = points[1];
-        let maxY = points[1];
-        let x, y;
-        for (let i = 0; i < points.length / 2; i++) {
+        var minX = points[0];
+        var maxX = points[0];
+        var minY = points[1];
+        var maxY = points[1];
+        var x, y;
+        for (var i = 0; i < points.length / 2; i++) {
             x = points[i * 2];
             y = points[i * 2 + 1];
Index: imaps-frontend/node_modules/konva/lib/shapes/Path.d.ts
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Path.d.ts	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Path.d.ts	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -18,17 +18,17 @@
     getLength(): number;
     getPointAtLength(length: any): {
-        x: number;
-        y: number;
+        x: any;
+        y: any;
     } | null;
     data: GetSet<string, this>;
     static getLineLength(x1: any, y1: any, x2: any, y2: any): number;
     static getPathLength(dataArray: PathSegment[]): number;
-    static getPointAtLengthOfDataArray(length: number, dataArray: PathSegment[]): {
-        x: number;
-        y: number;
+    static getPointAtLengthOfDataArray(length: number, dataArray: any): {
+        x: any;
+        y: any;
     } | null;
-    static getPointOnLine(dist: number, P1x: number, P1y: number, P2x: number, P2y: number, fromX?: number, fromY?: number): {
-        x: number;
-        y: number;
+    static getPointOnLine(dist: any, P1x: any, P1y: any, P2x: any, P2y: any, fromX?: any, fromY?: any): {
+        x: any;
+        y: any;
     };
     static getPointOnCubicBezier(pct: any, P1x: any, P1y: any, P2x: any, P2y: any, P3x: any, P3y: any, P4x: any, P4y: any): {
Index: imaps-frontend/node_modules/konva/lib/shapes/Path.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Path.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Path.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -21,10 +21,10 @@
     }
     _sceneFunc(context) {
-        const ca = this.dataArray;
+        var ca = this.dataArray;
         context.beginPath();
-        let isClosed = false;
-        for (let n = 0; n < ca.length; n++) {
-            const c = ca[n].command;
-            const p = ca[n].points;
+        var isClosed = false;
+        for (var n = 0; n < ca.length; n++) {
+            var c = ca[n].command;
+            var p = ca[n].points;
             switch (c) {
                 case 'L':
@@ -67,11 +67,11 @@
     }
     getSelfRect() {
-        let points = [];
+        var points = [];
         this.dataArray.forEach(function (data) {
             if (data.command === 'A') {
-                const start = data.points[4];
-                const dTheta = data.points[5];
-                const end = data.points[4] + dTheta;
-                let inc = Math.PI / 180.0;
+                var start = data.points[4];
+                var dTheta = data.points[5];
+                var end = data.points[4] + dTheta;
+                var inc = Math.PI / 180.0;
                 if (Math.abs(start - end) < inc) {
                     inc = Math.abs(start - end);
@@ -100,10 +100,10 @@
             }
         });
-        let minX = points[0];
-        let maxX = points[0];
-        let minY = points[1];
-        let maxY = points[1];
-        let x, y;
-        for (let i = 0; i < points.length / 2; i++) {
+        var minX = points[0];
+        var maxX = points[0];
+        var minY = points[1];
+        var maxY = points[1];
+        var x, y;
+        for (var i = 0; i < points.length / 2; i++) {
             x = points[i * 2];
             y = points[i * 2 + 1];
@@ -135,5 +135,5 @@
     static getPathLength(dataArray) {
         let pathLength = 0;
-        for (let i = 0; i < dataArray.length; ++i) {
+        for (var i = 0; i < dataArray.length; ++i) {
             pathLength += dataArray[i].pathLength;
         }
@@ -141,5 +141,5 @@
     }
     static getPointAtLengthOfDataArray(length, dataArray) {
-        let points, i = 0, ii = dataArray.length;
+        var point, i = 0, ii = dataArray.length;
         if (!ii) {
             return null;
@@ -150,19 +150,19 @@
         }
         if (i === ii) {
-            points = dataArray[i - 1].points.slice(-2);
+            point = dataArray[i - 1].points.slice(-2);
             return {
-                x: points[0],
-                y: points[1],
+                x: point[0],
+                y: point[1],
             };
         }
         if (length < 0.01) {
-            points = dataArray[i].points.slice(0, 2);
+            point = dataArray[i].points.slice(0, 2);
             return {
-                x: points[0],
-                y: points[1],
+                x: point[0],
+                y: point[1],
             };
         }
-        const cp = dataArray[i];
-        const p = cp.points;
+        var cp = dataArray[i];
+        var p = cp.points;
         switch (cp.command) {
             case 'L':
@@ -221,6 +221,6 @@
             return (1 - t) * (1 - t) * (1 - t);
         }
-        const x = P4x * CB1(pct) + P3x * CB2(pct) + P2x * CB3(pct) + P1x * CB4(pct);
-        const y = P4y * CB1(pct) + P3y * CB2(pct) + P2y * CB3(pct) + P1y * CB4(pct);
+        var x = P4x * CB1(pct) + P3x * CB2(pct) + P2x * CB3(pct) + P1x * CB4(pct);
+        var y = P4y * CB1(pct) + P3y * CB2(pct) + P2y * CB3(pct) + P1y * CB4(pct);
         return {
             x: x,
@@ -238,6 +238,6 @@
             return (1 - t) * (1 - t);
         }
-        const x = P3x * QB1(pct) + P2x * QB2(pct) + P1x * QB3(pct);
-        const y = P3y * QB1(pct) + P2y * QB2(pct) + P1y * QB3(pct);
+        var x = P3x * QB1(pct) + P2x * QB2(pct) + P1x * QB3(pct);
+        var y = P3y * QB1(pct) + P2y * QB2(pct) + P1y * QB3(pct);
         return {
             x: x,
@@ -246,6 +246,6 @@
     }
     static getPointOnEllipticalArc(cx, cy, rx, ry, theta, psi) {
-        const cosPsi = Math.cos(psi), sinPsi = Math.sin(psi);
-        const pt = {
+        var cosPsi = Math.cos(psi), sinPsi = Math.sin(psi);
+        var pt = {
             x: rx * Math.cos(theta),
             y: ry * Math.sin(theta),
@@ -260,6 +260,6 @@
             return [];
         }
-        let cs = data;
-        const cc = [
+        var cs = data;
+        var cc = [
             'm',
             'M',
@@ -287,14 +287,14 @@
             cs = cs.replace(new RegExp(cc[n], 'g'), '|' + cc[n]);
         }
-        const arr = cs.split('|');
-        const ca = [];
-        const coords = [];
-        let cpx = 0;
-        let cpy = 0;
-        const re = /([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;
-        let match;
+        var arr = cs.split('|');
+        var ca = [];
+        var coords = [];
+        var cpx = 0;
+        var cpy = 0;
+        var re = /([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;
+        var match;
         for (n = 1; n < arr.length; n++) {
-            let str = arr[n];
-            let c = str.charAt(0);
+            var str = arr[n];
+            var c = str.charAt(0);
             str = str.slice(1);
             coords.length = 0;
@@ -302,11 +302,11 @@
                 coords.push(match[0]);
             }
-            const p = [];
-            for (let j = 0, jlen = coords.length; j < jlen; j++) {
+            var p = [];
+            for (var j = 0, jlen = coords.length; j < jlen; j++) {
                 if (coords[j] === '00') {
                     p.push(0, 0);
                     continue;
                 }
-                const parsed = parseFloat(coords[j]);
+                var parsed = parseFloat(coords[j]);
                 if (!isNaN(parsed)) {
                     p.push(parsed);
@@ -320,7 +320,7 @@
                     break;
                 }
-                let cmd = '';
-                let points = [];
-                const startX = cpx, startY = cpy;
+                var cmd = '';
+                var points = [];
+                var startX = cpx, startY = cpy;
                 var prevCmd, ctlPtx, ctlPty;
                 var rx, ry, psi, fa, fs, x1, y1;
@@ -344,5 +344,5 @@
                         cmd = 'M';
                         if (ca.length > 2 && ca[ca.length - 1].command === 'z') {
-                            for (let idx = ca.length - 2; idx >= 0; idx--) {
+                            for (var idx = ca.length - 2; idx >= 0; idx--) {
                                 if (ca[idx].command === 'M') {
                                     cpx = ca[idx].points[0] + dx;
@@ -511,6 +511,6 @@
     }
     static calcLength(x, y, cmd, points) {
-        let len, p1, p2, t;
-        const path = Path;
+        var len, p1, p2, t;
+        var path = Path;
         switch (cmd) {
             case 'L':
@@ -551,14 +551,14 @@
     }
     static convertEndpointToCenterParameterization(x1, y1, x2, y2, fa, fs, rx, ry, psiDeg) {
-        const psi = psiDeg * (Math.PI / 180.0);
-        const xp = (Math.cos(psi) * (x1 - x2)) / 2.0 + (Math.sin(psi) * (y1 - y2)) / 2.0;
-        const yp = (-1 * Math.sin(psi) * (x1 - x2)) / 2.0 +
+        var psi = psiDeg * (Math.PI / 180.0);
+        var xp = (Math.cos(psi) * (x1 - x2)) / 2.0 + (Math.sin(psi) * (y1 - y2)) / 2.0;
+        var yp = (-1 * Math.sin(psi) * (x1 - x2)) / 2.0 +
             (Math.cos(psi) * (y1 - y2)) / 2.0;
-        const lambda = (xp * xp) / (rx * rx) + (yp * yp) / (ry * ry);
+        var lambda = (xp * xp) / (rx * rx) + (yp * yp) / (ry * ry);
         if (lambda > 1) {
             rx *= Math.sqrt(lambda);
             ry *= Math.sqrt(lambda);
         }
-        let f = Math.sqrt((rx * rx * (ry * ry) - rx * rx * (yp * yp) - ry * ry * (xp * xp)) /
+        var f = Math.sqrt((rx * rx * (ry * ry) - rx * rx * (yp * yp) - ry * ry * (xp * xp)) /
             (rx * rx * (yp * yp) + ry * ry * (xp * xp)));
         if (fa === fs) {
@@ -568,21 +568,21 @@
             f = 0;
         }
-        const cxp = (f * rx * yp) / ry;
-        const cyp = (f * -ry * xp) / rx;
-        const cx = (x1 + x2) / 2.0 + Math.cos(psi) * cxp - Math.sin(psi) * cyp;
-        const cy = (y1 + y2) / 2.0 + Math.sin(psi) * cxp + Math.cos(psi) * cyp;
-        const vMag = function (v) {
+        var cxp = (f * rx * yp) / ry;
+        var cyp = (f * -ry * xp) / rx;
+        var cx = (x1 + x2) / 2.0 + Math.cos(psi) * cxp - Math.sin(psi) * cyp;
+        var cy = (y1 + y2) / 2.0 + Math.sin(psi) * cxp + Math.cos(psi) * cyp;
+        var vMag = function (v) {
             return Math.sqrt(v[0] * v[0] + v[1] * v[1]);
         };
-        const vRatio = function (u, v) {
+        var vRatio = function (u, v) {
             return (u[0] * v[0] + u[1] * v[1]) / (vMag(u) * vMag(v));
         };
-        const vAngle = function (u, v) {
+        var vAngle = function (u, v) {
             return (u[0] * v[1] < u[1] * v[0] ? -1 : 1) * Math.acos(vRatio(u, v));
         };
-        const theta = vAngle([1, 0], [(xp - cxp) / rx, (yp - cyp) / ry]);
-        const u = [(xp - cxp) / rx, (yp - cyp) / ry];
-        const v = [(-1 * xp - cxp) / rx, (-1 * yp - cyp) / ry];
-        let dTheta = vAngle(u, v);
+        var theta = vAngle([1, 0], [(xp - cxp) / rx, (yp - cyp) / ry]);
+        var u = [(xp - cxp) / rx, (yp - cyp) / ry];
+        var v = [(-1 * xp - cxp) / rx, (-1 * yp - cyp) / ry];
+        var dTheta = vAngle(u, v);
         if (vRatio(u, v) <= -1) {
             dTheta = Math.PI;
Index: imaps-frontend/node_modules/konva/lib/shapes/Rect.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Rect.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Rect.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -9,5 +9,5 @@
 class Rect extends Shape_1.Shape {
     _sceneFunc(context) {
-        const cornerRadius = this.cornerRadius(), width = this.width(), height = this.height();
+        var cornerRadius = this.cornerRadius(), width = this.width(), height = this.height();
         context.beginPath();
         if (!cornerRadius) {
Index: imaps-frontend/node_modules/konva/lib/shapes/RegularPolygon.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/RegularPolygon.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/RegularPolygon.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -11,5 +11,5 @@
         context.beginPath();
         context.moveTo(points[0].x, points[0].y);
-        for (let n = 1; n < points.length; n++) {
+        for (var n = 1; n < points.length; n++) {
             context.lineTo(points[n].x, points[n].y);
         }
@@ -21,5 +21,5 @@
         const radius = this.attrs.radius || 0;
         const points = [];
-        for (let n = 0; n < sides; n++) {
+        for (var n = 0; n < sides; n++) {
             points.push({
                 x: radius * Math.sin((n * 2 * Math.PI) / sides),
@@ -31,8 +31,8 @@
     getSelfRect() {
         const points = this._getPoints();
-        let minX = points[0].x;
-        let maxX = points[0].y;
-        let minY = points[0].x;
-        let maxY = points[0].y;
+        var minX = points[0].x;
+        var maxX = points[0].y;
+        var minY = points[0].x;
+        var maxY = points[0].y;
         points.forEach((point) => {
             minX = Math.min(minX, point.x);
Index: imaps-frontend/node_modules/konva/lib/shapes/Ring.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Ring.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Ring.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -6,5 +6,5 @@
 const Validators_1 = require("../Validators");
 const Global_1 = require("../Global");
-const PIx2 = Math.PI * 2;
+var PIx2 = Math.PI * 2;
 class Ring extends Shape_1.Shape {
     _sceneFunc(context) {
Index: imaps-frontend/node_modules/konva/lib/shapes/Sprite.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Sprite.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Sprite.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -12,5 +12,5 @@
         this._updated = true;
         this.anim = new Animation_1.Animation(() => {
-            const updated = this._updated;
+            var updated = this._updated;
             this._updated = false;
             return updated;
@@ -31,5 +31,5 @@
     }
     _sceneFunc(context) {
-        const anim = this.animation(), index = this.frameIndex(), ix4 = index * 4, set = this.animations()[anim], offsets = this.frameOffsets(), x = set[ix4 + 0], y = set[ix4 + 1], width = set[ix4 + 2], height = set[ix4 + 3], image = this.image();
+        var anim = this.animation(), index = this.frameIndex(), ix4 = index * 4, set = this.animations()[anim], offsets = this.frameOffsets(), x = set[ix4 + 0], y = set[ix4 + 1], width = set[ix4 + 2], height = set[ix4 + 3], image = this.image();
         if (this.hasFill() || this.hasStroke()) {
             context.beginPath();
@@ -40,5 +40,5 @@
         if (image) {
             if (offsets) {
-                const offset = offsets[anim], ix2 = index * 2;
+                var offset = offsets[anim], ix2 = index * 2;
                 context.drawImage(image, x, y, width, height, offset[ix2 + 0], offset[ix2 + 1], width, height);
             }
@@ -49,9 +49,9 @@
     }
     _hitFunc(context) {
-        const anim = this.animation(), index = this.frameIndex(), ix4 = index * 4, set = this.animations()[anim], offsets = this.frameOffsets(), width = set[ix4 + 2], height = set[ix4 + 3];
+        var anim = this.animation(), index = this.frameIndex(), ix4 = index * 4, set = this.animations()[anim], offsets = this.frameOffsets(), width = set[ix4 + 2], height = set[ix4 + 3];
         context.beginPath();
         if (offsets) {
-            const offset = offsets[anim];
-            const ix2 = index * 2;
+            var offset = offsets[anim];
+            var ix2 = index * 2;
             context.rect(offset[ix2 + 0], offset[ix2 + 1], width, height);
         }
@@ -66,5 +66,5 @@
     }
     _setInterval() {
-        const that = this;
+        var that = this;
         this.interval = setInterval(function () {
             that._updateIndex();
@@ -75,5 +75,5 @@
             return;
         }
-        const layer = this.getLayer();
+        var layer = this.getLayer();
         this.anim.setLayers(layer);
         this._setInterval();
@@ -88,5 +88,5 @@
     }
     _updateIndex() {
-        const index = this.frameIndex(), animation = this.animation(), animations = this.animations(), anim = animations[animation], len = anim.length / 4;
+        var index = this.frameIndex(), animation = this.animation(), animations = this.animations(), anim = animations[animation], len = anim.length / 4;
         if (index < len - 1) {
             this.frameIndex(index + 1);
Index: imaps-frontend/node_modules/konva/lib/shapes/Star.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Star.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Star.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -8,11 +8,11 @@
 class Star extends Shape_1.Shape {
     _sceneFunc(context) {
-        const innerRadius = this.innerRadius(), outerRadius = this.outerRadius(), numPoints = this.numPoints();
+        var innerRadius = this.innerRadius(), outerRadius = this.outerRadius(), numPoints = this.numPoints();
         context.beginPath();
         context.moveTo(0, 0 - outerRadius);
-        for (let n = 1; n < numPoints * 2; n++) {
-            const radius = n % 2 === 0 ? outerRadius : innerRadius;
-            const x = radius * Math.sin((n * Math.PI) / numPoints);
-            const y = -1 * radius * Math.cos((n * Math.PI) / numPoints);
+        for (var n = 1; n < numPoints * 2; n++) {
+            var radius = n % 2 === 0 ? outerRadius : innerRadius;
+            var x = radius * Math.sin((n * Math.PI) / numPoints);
+            var y = -1 * radius * Math.cos((n * Math.PI) / numPoints);
             context.lineTo(x, y);
         }
Index: imaps-frontend/node_modules/konva/lib/shapes/Text.d.ts
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Text.d.ts	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Text.d.ts	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -38,17 +38,17 @@
     getTextWidth(): number;
     getTextHeight(): number;
-    measureSize(text: string): {
-        actualBoundingBoxAscent: number;
-        actualBoundingBoxDescent: number;
-        actualBoundingBoxLeft: number;
-        actualBoundingBoxRight: number;
-        alphabeticBaseline: number;
-        emHeightAscent: number;
-        emHeightDescent: number;
-        fontBoundingBoxAscent: number;
-        fontBoundingBoxDescent: number;
-        hangingBaseline: number;
-        ideographicBaseline: number;
-        width: number;
+    measureSize(text: any): {
+        actualBoundingBoxAscent: any;
+        actualBoundingBoxDescent: any;
+        actualBoundingBoxLeft: any;
+        actualBoundingBoxRight: any;
+        alphabeticBaseline: any;
+        emHeightAscent: any;
+        emHeightDescent: any;
+        fontBoundingBoxAscent: any;
+        fontBoundingBoxDescent: any;
+        hangingBaseline: any;
+        ideographicBaseline: any;
+        width: any;
         height: number;
     };
Index: imaps-frontend/node_modules/konva/lib/shapes/Text.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Text.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Text.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -1,6 +1,5 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.Text = void 0;
-exports.stringToArray = stringToArray;
+exports.Text = exports.stringToArray = void 0;
 const Util_1 = require("../Util");
 const Factory_1 = require("../Factory");
@@ -10,21 +9,8 @@
 const Global_2 = require("../Global");
 function stringToArray(string) {
-    return [...string].reduce((acc, char, index, array) => {
-        if (/\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?(?:\u200D\p{Emoji_Presentation})+/u.test(char)) {
-            acc.push(char);
-        }
-        else if (/\p{Regional_Indicator}{2}/u.test(char + (array[index + 1] || ''))) {
-            acc.push(char + array[index + 1]);
-        }
-        else if (index > 0 && /\p{Mn}|\p{Me}|\p{Mc}/u.test(char)) {
-            acc[acc.length - 1] += char;
-        }
-        else {
-            acc.push(char);
-        }
-        return acc;
-    }, []);
-}
-const AUTO = 'auto', CENTER = 'center', INHERIT = 'inherit', JUSTIFY = 'justify', CHANGE_KONVA = 'Change.konva', CONTEXT_2D = '2d', DASH = '-', LEFT = 'left', TEXT = 'text', TEXT_UPPER = 'Text', TOP = 'top', BOTTOM = 'bottom', MIDDLE = 'middle', NORMAL = 'normal', PX_SPACE = 'px ', SPACE = ' ', RIGHT = 'right', RTL = 'rtl', WORD = 'word', CHAR = 'char', NONE = 'none', ELLIPSIS = '…', ATTR_CHANGE_LIST = [
+    return Array.from(string);
+}
+exports.stringToArray = stringToArray;
+var AUTO = 'auto', CENTER = 'center', INHERIT = 'inherit', JUSTIFY = 'justify', CHANGE_KONVA = 'Change.konva', CONTEXT_2D = '2d', DASH = '-', LEFT = 'left', LTR = 'ltr', TEXT = 'text', TEXT_UPPER = 'Text', TOP = 'top', BOTTOM = 'bottom', MIDDLE = 'middle', NORMAL = 'normal', PX_SPACE = 'px ', SPACE = ' ', RIGHT = 'right', RTL = 'rtl', WORD = 'word', CHAR = 'char', NONE = 'none', ELLIPSIS = '…', ATTR_CHANGE_LIST = [
     'direction',
     'fontFamily',
@@ -57,5 +43,5 @@
         .join(', ');
 }
-let dummyContext;
+var dummyContext;
 function getDummyContext() {
     if (dummyContext) {
@@ -86,5 +72,5 @@
         this._partialTextX = 0;
         this._partialTextY = 0;
-        for (let n = 0; n < attrChangeListLen; n++) {
+        for (var n = 0; n < attrChangeListLen; n++) {
             this.on(ATTR_CHANGE_LIST[n] + CHANGE_KONVA, this._setTextData);
         }
@@ -92,14 +78,14 @@
     }
     _sceneFunc(context) {
-        const textArr = this.textArr, textArrLen = textArr.length;
+        var textArr = this.textArr, textArrLen = textArr.length;
         if (!this.text()) {
             return;
         }
-        let padding = this.padding(), fontSize = this.fontSize(), lineHeightPx = this.lineHeight() * fontSize, verticalAlign = this.verticalAlign(), direction = this.direction(), alignY = 0, align = this.align(), totalWidth = this.getWidth(), letterSpacing = this.letterSpacing(), fill = this.fill(), textDecoration = this.textDecoration(), shouldUnderline = textDecoration.indexOf('underline') !== -1, shouldLineThrough = textDecoration.indexOf('line-through') !== -1, n;
+        var padding = this.padding(), fontSize = this.fontSize(), lineHeightPx = this.lineHeight() * fontSize, verticalAlign = this.verticalAlign(), direction = this.direction(), alignY = 0, align = this.align(), totalWidth = this.getWidth(), letterSpacing = this.letterSpacing(), fill = this.fill(), textDecoration = this.textDecoration(), shouldUnderline = textDecoration.indexOf('underline') !== -1, shouldLineThrough = textDecoration.indexOf('line-through') !== -1, n;
         direction = direction === INHERIT ? context.direction : direction;
-        let translateY = lineHeightPx / 2;
-        let baseline = MIDDLE;
+        var translateY = lineHeightPx / 2;
+        var baseline = MIDDLE;
         if (Global_1.Konva._fixTextRendering) {
-            const metrics = this.measureSize('M');
+            var metrics = this.measureSize('M');
             baseline = 'alphabetic';
             translateY =
@@ -136,5 +122,5 @@
                 context.save();
                 context.beginPath();
-                const yOffset = Global_1.Konva._fixTextRendering
+                let yOffset = Global_1.Konva._fixTextRendering
                     ? Math.round(fontSize / 4)
                     : Math.round(fontSize / 2);
@@ -156,5 +142,5 @@
                 context.save();
                 context.beginPath();
-                const yOffset = Global_1.Konva._fixTextRendering ? -Math.round(fontSize / 4) : 0;
+                let yOffset = Global_1.Konva._fixTextRendering ? -Math.round(fontSize / 4) : 0;
                 context.moveTo(lineTranslateX, translateY + lineTranslateY + yOffset);
                 spacesNumber = text.split(' ').length - 1;
@@ -173,7 +159,7 @@
             if (direction !== RTL && (letterSpacing !== 0 || align === JUSTIFY)) {
                 spacesNumber = text.split(' ').length - 1;
-                const array = stringToArray(text);
-                for (let li = 0; li < array.length; li++) {
-                    const letter = array[li];
+                var array = stringToArray(text);
+                for (var li = 0; li < array.length; li++) {
+                    var letter = array[li];
                     if (letter === ' ' && !lastLine && align === JUSTIFY) {
                         lineTranslateX += (totalWidth - padding * 2 - width) / spacesNumber;
@@ -202,5 +188,5 @@
     }
     _hitFunc(context) {
-        const width = this.getWidth(), height = this.getHeight();
+        var width = this.getWidth(), height = this.getHeight();
         context.beginPath();
         context.rect(0, 0, width, height);
@@ -209,5 +195,5 @@
     }
     setText(text) {
-        const str = Util_1.Util._isString(text)
+        var str = Util_1.Util._isString(text)
             ? text
             : text === null || text === undefined
@@ -218,9 +204,9 @@
     }
     getWidth() {
-        const isAuto = this.attrs.width === AUTO || this.attrs.width === undefined;
+        var isAuto = this.attrs.width === AUTO || this.attrs.width === undefined;
         return isAuto ? this.getTextWidth() + this.padding() * 2 : this.attrs.width;
     }
     getHeight() {
-        const isAuto = this.attrs.height === AUTO || this.attrs.height === undefined;
+        var isAuto = this.attrs.height === AUTO || this.attrs.height === undefined;
         return isAuto
             ? this.fontSize() * this.textArr.length * this.lineHeight() +
@@ -237,5 +223,5 @@
     measureSize(text) {
         var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
-        let _context = getDummyContext(), fontSize = this.fontSize(), metrics;
+        var _context = getDummyContext(), fontSize = this.fontSize(), metrics;
         _context.save();
         _context.font = this._getContextFont();
@@ -272,5 +258,5 @@
             line = line.trim();
         }
-        const width = this._getTextWidth(line);
+        var width = this._getTextWidth(line);
         return this.textArr.push({
             text: line,
@@ -280,22 +266,22 @@
     }
     _getTextWidth(text) {
-        const letterSpacing = this.letterSpacing();
-        const length = text.length;
+        var letterSpacing = this.letterSpacing();
+        var length = text.length;
         return (getDummyContext().measureText(text).width +
             (length ? letterSpacing * (length - 1) : 0));
     }
     _setTextData() {
-        let lines = this.text().split('\n'), fontSize = +this.fontSize(), textWidth = 0, lineHeightPx = this.lineHeight() * fontSize, width = this.attrs.width, height = this.attrs.height, fixedWidth = width !== AUTO && width !== undefined, fixedHeight = height !== AUTO && height !== undefined, padding = this.padding(), maxWidth = width - padding * 2, maxHeightPx = height - padding * 2, currentHeightPx = 0, wrap = this.wrap(), shouldWrap = wrap !== NONE, wrapAtWord = wrap !== CHAR && shouldWrap, shouldAddEllipsis = this.ellipsis();
+        var lines = this.text().split('\n'), fontSize = +this.fontSize(), textWidth = 0, lineHeightPx = this.lineHeight() * fontSize, width = this.attrs.width, height = this.attrs.height, fixedWidth = width !== AUTO && width !== undefined, fixedHeight = height !== AUTO && height !== undefined, padding = this.padding(), maxWidth = width - padding * 2, maxHeightPx = height - padding * 2, currentHeightPx = 0, wrap = this.wrap(), shouldWrap = wrap !== NONE, wrapAtWord = wrap !== CHAR && shouldWrap, shouldAddEllipsis = this.ellipsis();
         this.textArr = [];
         getDummyContext().font = this._getContextFont();
-        const additionalWidth = shouldAddEllipsis ? this._getTextWidth(ELLIPSIS) : 0;
-        for (let i = 0, max = lines.length; i < max; ++i) {
-            let line = lines[i];
-            let lineWidth = this._getTextWidth(line);
+        var additionalWidth = shouldAddEllipsis ? this._getTextWidth(ELLIPSIS) : 0;
+        for (var i = 0, max = lines.length; i < max; ++i) {
+            var line = lines[i];
+            var lineWidth = this._getTextWidth(line);
             if (fixedWidth && lineWidth > maxWidth) {
                 while (line.length > 0) {
-                    let low = 0, high = line.length, match = '', matchWidth = 0;
+                    var low = 0, high = line.length, match = '', matchWidth = 0;
                     while (low < high) {
-                        const mid = (low + high) >>> 1, substr = line.slice(0, mid + 1), substrWidth = this._getTextWidth(substr) + additionalWidth;
+                        var mid = (low + high) >>> 1, substr = line.slice(0, mid + 1), substrWidth = this._getTextWidth(substr) + additionalWidth;
                         if (substrWidth <= maxWidth) {
                             low = mid + 1;
@@ -310,6 +296,6 @@
                         if (wrapAtWord) {
                             var wrapIndex;
-                            const nextChar = line[match.length];
-                            const nextIsSpaceOrDash = nextChar === SPACE || nextChar === DASH;
+                            var nextChar = line[match.length];
+                            var nextIsSpaceOrDash = nextChar === SPACE || nextChar === DASH;
                             if (nextIsSpaceOrDash && matchWidth <= maxWidth) {
                                 wrapIndex = match.length;
@@ -330,5 +316,5 @@
                         textWidth = Math.max(textWidth, matchWidth);
                         currentHeightPx += lineHeightPx;
-                        const shouldHandleEllipsis = this._shouldHandleEllipsis(currentHeightPx);
+                        var shouldHandleEllipsis = this._shouldHandleEllipsis(currentHeightPx);
                         if (shouldHandleEllipsis) {
                             this._tryToAddEllipsisToLastLine();
@@ -371,16 +357,16 @@
     }
     _shouldHandleEllipsis(currentHeightPx) {
-        const fontSize = +this.fontSize(), lineHeightPx = this.lineHeight() * fontSize, height = this.attrs.height, fixedHeight = height !== AUTO && height !== undefined, padding = this.padding(), maxHeightPx = height - padding * 2, wrap = this.wrap(), shouldWrap = wrap !== NONE;
+        var fontSize = +this.fontSize(), lineHeightPx = this.lineHeight() * fontSize, height = this.attrs.height, fixedHeight = height !== AUTO && height !== undefined, padding = this.padding(), maxHeightPx = height - padding * 2, wrap = this.wrap(), shouldWrap = wrap !== NONE;
         return (!shouldWrap ||
             (fixedHeight && currentHeightPx + lineHeightPx > maxHeightPx));
     }
     _tryToAddEllipsisToLastLine() {
-        const width = this.attrs.width, fixedWidth = width !== AUTO && width !== undefined, padding = this.padding(), maxWidth = width - padding * 2, shouldAddEllipsis = this.ellipsis();
-        const lastLine = this.textArr[this.textArr.length - 1];
+        var width = this.attrs.width, fixedWidth = width !== AUTO && width !== undefined, padding = this.padding(), maxWidth = width - padding * 2, shouldAddEllipsis = this.ellipsis();
+        var lastLine = this.textArr[this.textArr.length - 1];
         if (!lastLine || !shouldAddEllipsis) {
             return;
         }
         if (fixedWidth) {
-            const haveSpace = this._getTextWidth(lastLine.text + ELLIPSIS) < maxWidth;
+            var haveSpace = this._getTextWidth(lastLine.text + ELLIPSIS) < maxWidth;
             if (!haveSpace) {
                 lastLine.text = lastLine.text.slice(0, lastLine.text.length - 3);
Index: imaps-frontend/node_modules/konva/lib/shapes/TextPath.d.ts
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/TextPath.d.ts	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/TextPath.d.ts	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -29,6 +29,6 @@
     _getTextPathLength(): number;
     _getPointAtLength(length: number): {
-        x: number;
-        y: number;
+        x: any;
+        y: any;
     } | null;
     _readDataAttribute(): void;
Index: imaps-frontend/node_modules/konva/lib/shapes/TextPath.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/TextPath.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/TextPath.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -9,5 +9,5 @@
 const Validators_1 = require("../Validators");
 const Global_1 = require("../Global");
-const EMPTY_STRING = '', NORMAL = 'normal';
+var EMPTY_STRING = '', NORMAL = 'normal';
 function _fillFunc(context) {
     context.fillText(this.partialText, 0, 0);
@@ -51,14 +51,14 @@
         context.setAttr('textAlign', 'left');
         context.save();
-        const textDecoration = this.textDecoration();
-        const fill = this.fill();
-        const fontSize = this.fontSize();
-        const glyphInfo = this.glyphInfo;
+        var textDecoration = this.textDecoration();
+        var fill = this.fill();
+        var fontSize = this.fontSize();
+        var glyphInfo = this.glyphInfo;
         if (textDecoration === 'underline') {
             context.beginPath();
         }
-        for (let i = 0; i < glyphInfo.length; i++) {
+        for (var i = 0; i < glyphInfo.length; i++) {
             context.save();
-            const p0 = glyphInfo[i].p0;
+            var p0 = glyphInfo[i].p0;
             context.translate(p0.x, p0.y);
             context.rotate(glyphInfo[i].rotation);
@@ -82,11 +82,11 @@
     _hitFunc(context) {
         context.beginPath();
-        const glyphInfo = this.glyphInfo;
+        var glyphInfo = this.glyphInfo;
         if (glyphInfo.length >= 1) {
-            const p0 = glyphInfo[0].p0;
+            var p0 = glyphInfo[0].p0;
             context.moveTo(p0.x, p0.y);
         }
-        for (let i = 0; i < glyphInfo.length; i++) {
-            const p1 = glyphInfo[i].p1;
+        for (var i = 0; i < glyphInfo.length; i++) {
+            var p1 = glyphInfo[i].p1;
             context.lineTo(p1.x, p1.y);
         }
@@ -109,9 +109,9 @@
     }
     _getTextSize(text) {
-        const dummyCanvas = this.dummyCanvas;
-        const _context = dummyCanvas.getContext('2d');
+        var dummyCanvas = this.dummyCanvas;
+        var _context = dummyCanvas.getContext('2d');
         _context.save();
         _context.font = this._getContextFont();
-        const metrics = _context.measureText(text);
+        var metrics = _context.measureText(text);
         _context.restore();
         return {
@@ -141,5 +141,5 @@
         const charArr = (0, Text_1.stringToArray)(this.text());
         let offsetToGlyph = offset;
-        for (let i = 0; i < charArr.length; i++) {
+        for (var i = 0; i < charArr.length; i++) {
             const charStartPoint = this._getPointAtLength(offsetToGlyph);
             if (!charStartPoint)
@@ -188,5 +188,5 @@
             };
         }
-        const points = [];
+        var points = [];
         this.glyphInfo.forEach(function (info) {
             points.push(info.p0.x);
@@ -195,10 +195,10 @@
             points.push(info.p1.y);
         });
-        let minX = points[0] || 0;
-        let maxX = points[0] || 0;
-        let minY = points[1] || 0;
-        let maxY = points[1] || 0;
-        let x, y;
-        for (let i = 0; i < points.length / 2; i++) {
+        var minX = points[0] || 0;
+        var maxX = points[0] || 0;
+        var minY = points[1] || 0;
+        var maxY = points[1] || 0;
+        var x, y;
+        for (var i = 0; i < points.length / 2; i++) {
             x = points[i * 2];
             y = points[i * 2 + 1];
@@ -208,5 +208,5 @@
             maxY = Math.max(maxY, y);
         }
-        const fontSize = this.fontSize();
+        var fontSize = this.fontSize();
         return {
             x: minX - fontSize / 2,
Index: imaps-frontend/node_modules/konva/lib/shapes/Transformer.d.ts
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Transformer.d.ts	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Transformer.d.ts	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -95,5 +95,5 @@
         attrs: any;
         className: string;
-        children?: Array<any>;
+        children?: any[] | undefined;
     };
     clone(obj?: any): this;
Index: imaps-frontend/node_modules/konva/lib/shapes/Transformer.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/shapes/Transformer.js	(revision 0c6b92add4cfaedcb91bcd37b45849f142f7d152)
+++ imaps-frontend/node_modules/konva/lib/shapes/Transformer.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
@@ -11,6 +11,6 @@
 const Validators_1 = require("../Validators");
 const Global_2 = require("../Global");
-const EVENTS_NAME = 'tr-konva';
-const ATTR_CHANGE_LIST = [
+var EVENTS_NAME = 'tr-konva';
+var ATTR_CHANGE_LIST = [
     'resizeEnabledChange',
     'rotateAnchorOffsetChange',
@@ -31,6 +31,6 @@
     .map((e) => e + `.${EVENTS_NAME}`)
     .join(' ');
-const NODES_RECT = 'nodesRect';
-const TRANSFORM_CHANGE_STR = [
+var NODES_RECT = 'nodesRect';
+var TRANSFORM_CHANGE_STR = [
     'widthChange',
     'heightChange',
@@ -45,5 +45,5 @@
     'strokeWidthChange',
 ];
-const ANGLES = {
+var ANGLES = {
     'top-left': -45,
     'top-center': 0,
@@ -61,5 +61,5 @@
     }
     rad += Util_1.Util.degToRad(ANGLES[anchorName] || 0);
-    const angle = ((Util_1.Util.radToDeg(rad) % 360) + 360) % 360;
+    var angle = ((Util_1.Util.radToDeg(rad) % 360) + 360) % 360;
     if (Util_1.Util._inRange(angle, 315 + 22.5, 360) || Util_1.Util._inRange(angle, 0, 22.5)) {
         return 'ns-resize';
@@ -91,5 +91,5 @@
     }
 }
-const ANCHORS_NAMES = [
+var ANCHORS_NAMES = [
     'top-left',
     'top-center',
@@ -101,5 +101,5 @@
     'bottom-right',
 ];
-const MAX_SAFE_INTEGER = 100000000;
+var MAX_SAFE_INTEGER = 100000000;
 function getCenter(shape) {
     return {
@@ -208,5 +208,5 @@
         });
         this._resetTransformCache();
-        const elementsCreated = !!this.findOne('.top-left');
+        var elementsCreated = !!this.findOne('.top-left');
         if (elementsCreated) {
             this.update();
@@ -270,13 +270,13 @@
     }
     __getNodeShape(node, rot = this.rotation(), relative) {
-        const rect = node.getClientRect({
+        var rect = node.getClientRect({
             skipTransform: true,
             skipShadow: true,
             skipStroke: this.ignoreStroke(),
         });
-        const absScale = node.getAbsoluteScale(relative);
-        const absPos = node.getAbsolutePosition(relative);
-        const dx = rect.x * absScale.x - node.offsetX() * absScale.x;
-        const dy = rect.y * absScale.y - node.offsetY() * absScale.y;
+        var absScale = node.getAbsoluteScale(relative);
+        var absPos = node.getAbsolutePosition(relative);
+        var dx = rect.x * absScale.x - node.offsetX() * absScale.x;
+        var dy = rect.y * absScale.y - node.offsetY() * absScale.y;
         const rotation = (Global_1.Konva.getAngle(node.getAbsoluteRotation()) + Math.PI * 2) %
             (Math.PI * 2);
@@ -294,5 +294,5 @@
     }
     __getNodeRect() {
-        const node = this.getNode();
+        var node = this.getNode();
         if (!node) {
             return {
@@ -311,5 +311,5 @@
                 skipStroke: this.ignoreStroke(),
             });
-            const points = [
+            var points = [
                 { x: box.x, y: box.y },
                 { x: box.x + box.width, y: box.y },
@@ -317,7 +317,7 @@
                 { x: box.x, y: box.y + box.height },
             ];
-            const trans = node.getAbsoluteTransform();
+            var trans = node.getAbsoluteTransform();
             points.forEach(function (point) {
-                const transformed = trans.point(point);
+                var transformed = trans.point(point);
                 totalPoints.push(transformed);
             });
@@ -325,7 +325,7 @@
         const tr = new Util_1.Transform();
         tr.rotate(-Global_1.Konva.getAngle(this.rotation()));
-        let minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
+        var minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
         totalPoints.forEach(function (point) {
-            const transformed = tr.point(point);
+            var transformed = tr.point(point);
             if (minX === undefined) {
                 minX = maxX = transformed.x;
@@ -367,5 +367,5 @@
     }
     _createAnchor(name) {
-        const anchor = new Rect_1.Rect({
+        var anchor = new Rect_1.Rect({
             stroke: 'rgb(0, 161, 255)',
             fill: 'white',
@@ -376,5 +376,5 @@
             hitStrokeWidth: TOUCH_DEVICE ? 10 : 'auto',
         });
-        const self = this;
+        var self = this;
         anchor.on('mousedown touchstart', function (e) {
             self._handleMouseDown(e);
@@ -388,7 +388,7 @@
         });
         anchor.on('mouseenter', () => {
-            const rad = Global_1.Konva.getAngle(this.rotation());
-            const rotateCursor = this.rotateAnchorCursor();
-            const cursor = getCursor(name, rad, rotateCursor);
+            var rad = Global_1.Konva.getAngle(this.rotation());
+            var rotateCursor = this.rotateAnchorCursor();
+            var cursor = getCursor(name, rad, rotateCursor);
             anchor.getStage().content &&
                 (anchor.getStage().content.style.cursor = cursor);
@@ -403,5 +403,5 @@
     }
     _createBack() {
-        const back = new Shape_1.Shape({
+        var back = new Shape_1.Shape({
             name: 'back',
             width: 0,
@@ -409,6 +409,6 @@
             draggable: true,
             sceneFunc(ctx, shape) {
-                const tr = shape.getParent();
-                const padding = tr.padding();
+                var tr = shape.getParent();
+                var padding = tr.padding();
                 ctx.beginPath();
                 ctx.rect(-padding, -padding, shape.width() + padding * 2, shape.height() + padding * 2);
@@ -423,5 +423,5 @@
                     return;
                 }
-                const padding = this.padding();
+                var padding = this.padding();
                 ctx.beginPath();
                 ctx.rect(-padding, -padding, shape.width() + padding * 2, shape.height() + padding * 2);
@@ -449,8 +449,8 @@
         }
         this._movingAnchorName = e.target.name().split(' ')[0];
-        const attrs = this._getNodeRect();
-        const width = attrs.width;
-        const height = attrs.height;
-        const hypotenuse = Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2));
+        var attrs = this._getNodeRect();
+        var width = attrs.width;
+        var height = attrs.height;
+        var hypotenuse = Math.sqrt(Math.pow(width, 2) + Math.pow(height, 2));
         this.sin = Math.abs(height / hypotenuse);
         this.cos = Math.abs(width / hypotenuse);
@@ -462,6 +462,6 @@
         }
         this._transforming = true;
-        const ap = e.target.getAbsolutePosition();
-        const pos = e.target.getStage().getPointerPosition();
+        var ap = e.target.getAbsolutePosition();
+        var pos = e.target.getStage().getPointerPosition();
         this._anchorDragOffset = {
             x: pos.x - ap.x,
@@ -475,7 +475,7 @@
     }
     _handleMouseMove(e) {
-        let x, y, newHypotenuse;
-        const anchorNode = this.findOne('.' + this._movingAnchorName);
-        const stage = anchorNode.getStage();
+        var x, y, newHypotenuse;
+        var anchorNode = this.findOne('.' + this._movingAnchorName);
+        var stage = anchorNode.getStage();
         stage.setPointersPositions(e);
         const pp = stage.getPointerPosition();
@@ -494,5 +494,5 @@
         }
         if (this._movingAnchorName === 'rotater') {
-            const attrs = this._getNodeRect();
+            var attrs = this._getNodeRect();
             x = anchorNode.x() - attrs.width / 2;
             y = -anchorNode.y() + attrs.height / 2;
@@ -501,5 +501,5 @@
                 delta -= Math.PI;
             }
-            const oldRotation = Global_1.Konva.getAngle(this.rotation());
+            var oldRotation = Global_1.Konva.getAngle(this.rotation());
             const newRotation = oldRotation + delta;
             const tol = Global_1.Konva.getAngle(this.rotationSnapTolerance());
@@ -510,6 +510,6 @@
             return;
         }
-        const shiftBehavior = this.shiftBehavior();
-        let keepProportion;
+        var shiftBehavior = this.shiftBehavior();
+        var keepProportion;
         if (shiftBehavior === 'inverted') {
             keepProportion = this.keepRatio() && !e.shiftKey;
@@ -630,10 +630,10 @@
         var centeredScaling = this.centeredScaling() || e.altKey;
         if (centeredScaling) {
-            const topLeft = this.findOne('.top-left');
-            const bottomRight = this.findOne('.bottom-right');
-            const topOffsetX = topLeft.x();
-            const topOffsetY = topLeft.y();
-            const bottomOffsetX = this.getWidth() - bottomRight.x();
-            const bottomOffsetY = this.getHeight() - bottomRight.y();
+            var topLeft = this.findOne('.top-left');
+            var bottomRight = this.findOne('.bottom-right');
+            var topOffsetX = topLeft.x();
+            var topOffsetY = topLeft.y();
+            var bottomOffsetX = this.getWidth() - bottomRight.x();
+            var bottomOffsetY = this.getHeight() - bottomRight.y();
             bottomRight.move({
                 x: -topOffsetX,
@@ -645,9 +645,9 @@
             });
         }
-        const absPos = this.findOne('.top-left').getAbsolutePosition();
+        var absPos = this.findOne('.top-left').getAbsolutePosition();
         x = absPos.x;
         y = absPos.y;
-        const width = this.findOne('.bottom-right').x() - this.findOne('.top-left').x();
-        const height = this.findOne('.bottom-right').y() - this.findOne('.top-left').y();
+        var width = this.findOne('.bottom-right').x() - this.findOne('.top-left').x();
+        var height = this.findOne('.bottom-right').y() - this.findOne('.top-left').y();
         this._fitNodesInto({
             x: x,
@@ -674,5 +674,5 @@
                 window.removeEventListener('touchend', this._handleMouseUp, true);
             }
-            const node = this.getNode();
+            var node = this.getNode();
             activeTransformersCount--;
             this._fire('transformend', { evt: e, target: node });
@@ -689,5 +689,5 @@
     }
     _fitNodesInto(newAttrs, evt) {
-        const oldAttrs = this._getNodeRect();
+        var oldAttrs = this._getNodeRect();
         const minSize = 1;
         if (Util_1.Util._inRange(newAttrs.width, -this.padding() * 2 - minSize, minSize)) {
@@ -699,5 +699,5 @@
             return;
         }
-        const t = new Util_1.Transform();
+        var t = new Util_1.Transform();
         t.rotate(Global_1.Konva.getAngle(this.rotation()));
         if (this._movingAnchorName &&
@@ -816,12 +816,12 @@
     update() {
         var _a;
-        const attrs = this._getNodeRect();
+        var attrs = this._getNodeRect();
         this.rotation(Util_1.Util._getRotation(attrs.rotation));
-        const width = attrs.width;
-        const height = attrs.height;
-        const enabledAnchors = this.enabledAnchors();
-        const resizeEnabled = this.resizeEnabled();
-        const padding = this.padding();
-        const anchorSize = this.anchorSize();
+        var width = attrs.width;
+        var height = attrs.height;
+        var enabledAnchors = this.enabledAnchors();
+        var resizeEnabled = this.resizeEnabled();
+        var padding = this.padding();
+        var anchorSize = this.anchorSize();
         const anchors = this.find('._anchor');
         anchors.forEach((node) => {
@@ -918,5 +918,5 @@
         if (this._transforming) {
             this._removeEvents();
-            const anchorNode = this.findOne('.' + this._movingAnchorName);
+            var anchorNode = this.findOne('.' + this._movingAnchorName);
             if (anchorNode) {
                 anchorNode.stopDrag();
@@ -937,5 +937,5 @@
     }
     clone(obj) {
-        const node = Node_1.Node.prototype.clone.call(this, obj);
+        var node = Node_1.Node.prototype.clone.call(this, obj);
         return node;
     }
