function asyncGeneratorStep(t,e,r,n,a,i,l){try{var o=t[i](l),s=o.value}catch(t){return void r(t)}o.done?e(s):Promise.resolve(s).then(n,a)}function _slicedToArray(t,e){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var r=[],n=!0,a=!1,i=void 0;try{for(var l,o=t[Symbol.iterator]();!(n=(l=o.next()).done)&&(r.push(l.value),!e||r.length!==e);n=!0);}catch(t){a=!0,i=t}finally{try{n||null==o.return||o.return()}finally{if(a)throw i}}return r}(t,e)||function _unsupportedIterableToArray(t,e){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(t,e)}(t,e)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&d.push({element:"line",attr:{id:a+"_vline_0",fill:"none",stroke:e,"stroke-width":r,"stroke-linecap":"round",x1:m,y1:p,x2:m,y2:p+(u+6)*(l.length-1)}}),s=n.addSVGElementFromJson({element:"g",attr:{id:a,class:"placemark",fontSize:u,maxlen:f,lines:l.length,x:t.start_x,y:t.start_y,px:t.start_x,py:t.start_y},children:d}),_(s.firstElementChild,i("#placemark_marker").attr("value")||"leftarrow"),{started:!0}}},mouseMove:function mouseMove(t){if(o&&"placemark"===n.getMode()){var e=t.mouse_x/n.getZoom(),r=t.mouse_y/n.getZoom(),a=i(s).attr(["fontSize","maxlen","lines","px","py"]),l=a.fontSize,c=a.maxlen,u=a.lines,m=a.px,p=a.py;return i(s).attr({x:e,y:r}),i(s).children().each((function(t,n){var a=_slicedToArray(n.id.split("_"),4),i=a[2],o=a[3],s=r+(l+6)*o,f=e+c*l*.5+l,d=e+(f-e)/2