import{__extends as t}from"tslib";import*as i from"@msign/angularis";import{EventEmitter as e}from"events";export var PickModeEvents;!function(t){t.t="intersect"}(PickModeEvents||(PickModeEvents={}));var n=function(e){function n(t,n){var r=e.call(this)||this;return r.i=!1,r.s=function(t){var e=r.o;if(r.u){var n=t.x,s=t.y,c=(t.target,new i.h(n,s)),o=e.m.l.v,a=e.m.l.g(e.p.k(c),e.m),u=o.M(a),f=i.Math.P(u.latitude),h=i.Math.P(u.longitude);console.log("click",{screen:{x:n,y:s},m:{j:a,A:u,O:{q:f,B:h}}}),r.C(PickModeEvents.t,[])}},r.D=t,r.o=n,r}return t(n,e),n.prototype.F=function(){this.i||(this.D.G("click",this.s),this.i=!0)},n.prototype.H=function(){},Object.defineProperty(n.prototype,"u",{get:function(){return this.i},set:function(t){this.D;t!==this.i&&(t?this.F():this.H())},I:!0,J:!0}),n}(e);export default n;