/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { ContentControl } from "igniteui-angular-core";
import { INotifyPropertyChanged_$type, Base, PropertyChangedEventArgs, delegateCombine, Point_$type, enumGetBox, markType, markDep } from "igniteui-angular-core";
import { SRProvider } from "igniteui-angular-core";
import { ISeriesVisualDataManager_$type } from "./ISeriesVisualDataManager";
import { DVContainer } from "igniteui-angular-core";
import { DependencyProperty } from "igniteui-angular-core";
import { Visibility_$type } from "igniteui-angular-core";
import { PointerTooltipPointerLocation_$type } from "./PointerTooltipPointerLocation";
import { PointCollection } from "igniteui-angular-core";
import { Polygon } from "igniteui-angular-core";
import { Polyline } from "igniteui-angular-core";
import { PropertyUpdatedEventArgs } from "igniteui-angular-core";
import { Size } from "igniteui-angular-core";
import { DeviceUtils } from "igniteui-angular-core";
import { PropertyMetadata } from "igniteui-angular-core";
import { RenderingContext } from "igniteui-angular-core";
import { Rectangle } from "igniteui-angular-core";
import { CanvasViewRenderer } from "igniteui-angular-core";
import { Brush } from "igniteui-angular-core";
import { Rect } from "igniteui-angular-core";
import { truncate, isNaN_ } from "igniteui-angular-core";
/**
 * @hidden
 */
var PointerTooltip = /** @class */ (function (_super) {
    tslib_1.__extends(PointerTooltip, _super);
    function PointerTooltip() {
        var _this = _super.call(this) || this;
        _this.aq = null;
        _this.ai = null;
        _this.am = null;
        _this.propertyChanged = null;
        _this.propertyUpdated = null;
        _this.bw = null;
        _this.cq = null;
        _this.cr = null;
        _this.au = false;
        _this.cf = { $type: Point_$type, x: NaN, y: NaN };
        _this.ak = 0;
        _this.aw = 0;
        _this.av = 0;
        _this.ao = null;
        _this.as = false;
        _this.ap = null;
        DVContainer.instance.registerIfLoaded("VisualDataFactoryManager");
        _this.ab = PointerTooltip.$;
        _this.propertyUpdated = delegateCombine(_this.propertyUpdated, function (a, b) { return _this.br(a, b.propertyName, b.oldValue, b.newValue); });
        _this.am = new PointerTooltipView(_this);
        return _this;
    }
    Object.defineProperty(PointerTooltip.prototype, "ar", {
        get: function () {
            if (this.aq == null) {
                this.aq = new SRProvider(this.am.j);
            }
            return this.aq;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(PointerTooltip.prototype, "aj", {
        get: function () {
            var _this = this;
            if (this.ai == null) {
                this.ai = DVContainer.instance.createInstance(ISeriesVisualDataManager_$type, function () { return _this.ar.q; });
            }
            return this.ai;
        },
        enumerable: true,
        configurable: true
    });
    PointerTooltip.prototype.bt = function (a, b, c) {
        if (this.propertyChanged != null) {
            this.propertyChanged(this, new PropertyChangedEventArgs(a));
        }
        if (this.propertyUpdated != null) {
            this.propertyUpdated(this, new PropertyUpdatedEventArgs(a, b, c));
        }
    };
    PointerTooltip.prototype.br = function (a, b, c, d) {
        switch (b) {
            case PointerTooltip.$$p[15]:
                this.bq();
                break;
            case PointerTooltip.$$p[16]:
                this.bq();
                break;
        }
    };
    PointerTooltip.prototype.bn = function () {
        if (this.am.d(this.content)) {
            this.bq();
        }
    };
    PointerTooltip.prototype.bq = function () {
        this.au = true;
    };
    PointerTooltip.prototype.at = function (a, b) {
        if (Math.abs(a - b) < 1E-05) {
            return true;
        }
        return false;
    };
    PointerTooltip.prototype.cs = function (a) {
        this.au = false;
        var b = 0;
        var c = 0;
        var d = this.am.x(a);
        b = d.width;
        c = d.height;
        if (this.ak == this.al && this.at(this.cf.x, this.cn.x) && this.at(this.cf.y, this.cn.y)) {
            this.a0 = b;
            this.az = c;
            if (this.ct == 0) {
                b += this.aw;
                c += this.av;
                this.ay = this.a0 + this.aw;
                this.ax = this.az + this.av;
            }
            return new Size(1, b, c);
        }
        var e = { $type: Point_$type, x: 0, y: 0 };
        var f = { $type: Point_$type, x: b * 0.5, y: 0 };
        var g = { $type: Point_$type, x: b, y: 0 };
        var h = { $type: Point_$type, x: b, y: c };
        var i = { $type: Point_$type, x: b * 0.5, y: c };
        var j = { $type: Point_$type, x: 0, y: c };
        var k = { $type: Point_$type, x: 0, y: c * 0.5 };
        var l = { $type: Point_$type, x: b, y: c * 0.5 };
        var m = b;
        var n = c;
        var o = b;
        var p = c;
        var q = { $type: Point_$type, x: 0, y: 0 };
        var r = { $type: Point_$type, x: 0, y: 0 };
        var s = { $type: Point_$type, x: 0, y: 0 };
        var t = { $type: Point_$type, x: 0, y: 0 };
        var u = this.a1;
        var v = this.a2;
        var w = this.al;
        var x = this.cn;
        var y = 0;
        var z = 0;
        var aa = Math.pow(e.x - x.x, 2) + Math.pow(e.y - x.y, 2);
        var ab = Math.pow(f.x - x.x, 2) + Math.pow(f.y - x.y, 2);
        var ac = Math.pow(g.x - x.x, 2) + Math.pow(g.y - x.y, 2);
        var ad = Math.pow(l.x - x.x, 2) + Math.pow(l.y - x.y, 2);
        var ae = Math.pow(h.x - x.x, 2) + Math.pow(h.y - x.y, 2);
        var af = Math.pow(i.x - x.x, 2) + Math.pow(i.y - x.y, 2);
        var ag = Math.pow(j.x - x.x, 2) + Math.pow(j.y - x.y, 2);
        var ah = Math.pow(k.x - x.x, 2) + Math.pow(k.y - x.y, 2);
        var ai = 1.7976931348623157E+308;
        ai = Math.min(ai, aa);
        ai = Math.min(ai, ab);
        ai = Math.min(ai, ac);
        ai = Math.min(ai, ad);
        ai = Math.min(ai, ae);
        ai = Math.min(ai, af);
        ai = Math.min(ai, ag);
        ai = Math.min(ai, ah);
        if (w == 0) {
            if (ai == aa) {
                w = 12;
                if (x.x >= e.x) {
                    w = 1;
                }
            }
            if (ai == ah) {
                w = 11;
            }
            if (ai == ag) {
                w = 10;
                if (x.x >= j.x) {
                    w = 9;
                }
            }
            if (ai == ac) {
                w = 4;
                if (x.x <= g.x) {
                    w = 3;
                }
            }
            if (ai == ad) {
                w = 5;
            }
            if (ai == ae) {
                w = 6;
                if (x.x <= h.x) {
                    w = 7;
                }
            }
            if (ai == ab) {
                w = 2;
            }
            if (ai == af) {
                w = 8;
            }
        }
        var aj = DeviceUtils.g(3);
        switch (w) {
            case 1:
                q = { $type: Point_$type, x: e.x + u, y: e.y };
                r = { $type: Point_$type, x: e.x + u + v, y: e.y };
                s = { $type: Point_$type, x: e.x + u, y: e.y + aj };
                t = { $type: Point_$type, x: e.x + u + v, y: e.y + aj };
                break;
            case 2:
                q = { $type: Point_$type, x: ((e.x + g.x) / 2) - (v / 2), y: e.y };
                r = { $type: Point_$type, x: ((e.x + g.x) / 2) + (v / 2), y: e.y };
                s = { $type: Point_$type, x: ((e.x + g.x) / 2) - (v / 2), y: e.y + aj };
                t = { $type: Point_$type, x: ((e.x + g.x) / 2) + (v / 2), y: e.y + aj };
                break;
            case 3:
                q = { $type: Point_$type, x: g.x - u, y: e.y };
                r = { $type: Point_$type, x: (g.x - u) - v, y: e.y };
                s = { $type: Point_$type, x: g.x - u, y: e.y + aj };
                t = { $type: Point_$type, x: (g.x - u) - v, y: e.y + aj };
                break;
            case 4:
                q = { $type: Point_$type, x: g.x, y: g.y + u };
                r = { $type: Point_$type, x: g.x, y: g.y + u + v };
                s = { $type: Point_$type, x: g.x - aj, y: g.y + u };
                t = { $type: Point_$type, x: g.x - aj, y: g.y + u + v };
                break;
            case 5:
                q = { $type: Point_$type, x: g.x, y: ((g.y + h.y) / 2) - (v / 2) };
                r = { $type: Point_$type, x: g.x, y: ((g.y + h.y) / 2) + (v / 2) };
                s = { $type: Point_$type, x: g.x - aj, y: ((g.y + h.y) / 2) - (v / 2) };
                t = { $type: Point_$type, x: g.x - aj, y: ((g.y + h.y) / 2) + (v / 2) };
                break;
            case 6:
                q = { $type: Point_$type, x: h.x, y: h.y - u };
                r = { $type: Point_$type, x: h.x, y: h.y - u - v };
                s = { $type: Point_$type, x: h.x - aj, y: h.y - u };
                t = { $type: Point_$type, x: h.x - aj, y: h.y - u - v };
                break;
            case 7:
                q = { $type: Point_$type, x: h.x - u, y: h.y };
                r = { $type: Point_$type, x: (h.x - u) - v, y: h.y };
                s = { $type: Point_$type, x: h.x - u, y: h.y - aj };
                t = { $type: Point_$type, x: (h.x - u) - v, y: h.y - aj };
                break;
            case 8:
                q = { $type: Point_$type, x: ((j.x + h.x) / 2) - (v / 2), y: h.y };
                r = { $type: Point_$type, x: ((j.x + h.x) / 2) + (v / 2), y: h.y };
                s = { $type: Point_$type, x: ((j.x + h.x) / 2) - (v / 2), y: h.y - aj };
                t = { $type: Point_$type, x: ((j.x + h.x) / 2) + (v / 2), y: h.y - aj };
                break;
            case 9:
                q = { $type: Point_$type, x: j.x + u, y: j.y };
                r = { $type: Point_$type, x: j.x + u + v, y: j.y };
                s = { $type: Point_$type, x: j.x + u, y: j.y - aj };
                t = { $type: Point_$type, x: j.x + u + v, y: j.y - aj };
                break;
            case 10:
                q = { $type: Point_$type, x: e.x, y: j.y - u };
                r = { $type: Point_$type, x: e.x, y: (j.y - u) - v };
                s = { $type: Point_$type, x: e.x + aj, y: j.y - u };
                t = { $type: Point_$type, x: e.x + aj, y: (j.y - u) - v };
                break;
            case 11:
                q = { $type: Point_$type, x: e.x, y: ((e.y + j.y) / 2) - (v / 2) };
                r = { $type: Point_$type, x: e.x, y: ((e.y + j.y) / 2) + (v / 2) };
                s = { $type: Point_$type, x: e.x + aj, y: ((e.y + j.y) / 2) - (v / 2) };
                t = { $type: Point_$type, x: e.x + aj, y: ((e.y + j.y) / 2) + (v / 2) };
                break;
            case 12:
                q = { $type: Point_$type, x: e.x, y: e.y + u };
                r = { $type: Point_$type, x: e.x, y: e.y + u + v };
                s = { $type: Point_$type, x: e.x + aj, y: e.y + u };
                t = { $type: Point_$type, x: e.x + aj, y: e.y + u + v };
                break;
        }
        var ak = { $type: Point_$type, x: x.x, y: x.y };
        if (ak.y < e.y) {
            var al = e.y - ak.y;
            ak = { $type: Point_$type, x: ak.x, y: 0 };
            p += al;
            e = { $type: Point_$type, x: e.x, y: e.y + al };
            g = { $type: Point_$type, x: g.x, y: g.y + al };
            j = { $type: Point_$type, x: j.x, y: j.y + al };
            h = { $type: Point_$type, x: h.x, y: h.y + al };
            q = { $type: Point_$type, x: q.x, y: q.y + al };
            r = { $type: Point_$type, x: r.x, y: r.y + al };
            s = { $type: Point_$type, x: s.x, y: s.y + al };
            t = { $type: Point_$type, x: t.x, y: t.y + al };
        }
        else {
            p = Math.max(ak.y, n);
        }
        if (ak.x < e.x) {
            var am = e.x - ak.x;
            ak = { $type: Point_$type, x: 0, y: ak.y };
            o += am;
            e = { $type: Point_$type, x: e.x + am, y: e.y };
            g = { $type: Point_$type, x: g.x + am, y: g.y };
            j = { $type: Point_$type, x: j.x + am, y: j.y };
            h = { $type: Point_$type, x: h.x + am, y: h.y };
            q = { $type: Point_$type, x: q.x + am, y: q.y };
            r = { $type: Point_$type, x: r.x + am, y: r.y };
            s = { $type: Point_$type, x: s.x + am, y: s.y };
            t = { $type: Point_$type, x: t.x + am, y: t.y };
        }
        else {
            o = Math.max(ak.x, m);
        }
        y = o - m;
        z = p - n;
        this.aw = y;
        this.av = z;
        this.ak = this.al;
        this.cf = this.cn;
        this.cm = ak;
        this.ck = q;
        this.cl = r;
        this.a0 = m;
        this.az = n;
        this.ay = o;
        this.ax = p;
        this.ci = e;
        this.cj = g;
        this.ch = h;
        this.cg = j;
        var an = new PointCollection(0);
        an.add(t);
        an.add(this.cl);
        an.add(this.cm);
        an.add(this.ck);
        an.add(s);
        this.cp = an;
        if (this.cq != null) {
            this.cq.ak = an;
        }
        var ao = new PointCollection(0);
        ao.add(this.cl);
        ao.add(this.cm);
        ao.add(this.ck);
        this.co = ao;
        if (this.cr != null) {
            this.cr.ak = ao;
        }
        if (this.ct == 1) {
            return new Size(1, b, c);
        }
        return new Size(1, o, p);
    };
    PointerTooltip.prototype.bo = function () {
        this.bv();
        this.am.r();
    };
    PointerTooltip.prototype.bp = function () {
        this._visibility = 1;
        this.am.s();
    };
    PointerTooltip.prototype.bu = function (a, b) {
        if (this.au) {
            this.cs(new Size(1, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY));
        }
        this.am.v(a, b);
    };
    PointerTooltip.prototype.bs = function (a) {
        this.am.u(a);
    };
    PointerTooltip.prototype.bm = function () {
        if (!this.as) {
            if (this.ao != null && this.am.l != null) {
                this.as = true;
                this.ao.ap(this.am.l, "pointerTooltip" + Base.getHashCodeStatic(this));
            }
        }
    };
    PointerTooltip.prototype.bv = function () {
        if (this.as) {
            if (this.ao != null && this.am.l != null) {
                this.as = false;
                this.ao.bb(this.am.l, "pointerTooltip" + Base.getHashCodeStatic(this));
            }
            this.ao = null;
        }
    };
    PointerTooltip.prototype.a3 = function () {
        if (this._visibility == 1) {
            return null;
        }
        return this.am.q();
    };
    PointerTooltip.$t = markType(PointerTooltip, 'PointerTooltip', ContentControl.$, [INotifyPropertyChanged_$type]);
    PointerTooltip.$$p = markDep(DependencyProperty, PropertyMetadata, PointerTooltip, 'bt', ['ActualBoxBottomLeftPosition:cg:bx', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'ActualBoxBottomRightPosition:ch:by', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'ActualBoxFullHeight:ax:bz', [1, 0], 'ActualBoxFullWidth:ay:b0', [1, 0], 'ActualBoxHeight:az:b1', [1, 0], 'ActualBoxTopLeftPosition:ci:b2', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'ActualBoxTopRightPosition:cj:b3', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'ActualBoxWidth:a0:b4', [1, 0], 'ActualPointerFirstPosition:ck:b5', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'ActualPointerSecondPosition:cl:b6', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'ActualPointerStartPosition:cm:b7', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'PointerInset:a1:b8', [1, DeviceUtils.g(7.5)], 'PointerLocation:al:b9', [PointerTooltipPointerLocation_$type, enumGetBox(PointerTooltipPointerLocation_$type, 0)], 'PointerOutlinePoints:co:ca', [PointCollection.$, null], 'PointerPoints:cp:cb', [PointCollection.$, null], 'PointerPosition:cn:cc', [Point_$type, { $type: Point_$type, x: 0, y: 0 }], 'PointerVisibility:ct:cd', [Visibility_$type, enumGetBox(Visibility_$type, 0)], 'PointerWidth:a2:ce', [1, DeviceUtils.g(5)]]);
    return PointerTooltip;
}(ContentControl));
export { PointerTooltip };
/**
 * @hidden
 */
var PointerTooltipView = /** @class */ (function (_super) {
    tslib_1.__extends(PointerTooltipView, _super);
    function PointerTooltipView(a) {
        var _this = _super.call(this) || this;
        _this.a = null;
        _this.n = null;
        _this.p = null;
        _this.o = null;
        _this.l = null;
        _this.k = null;
        _this.b = null;
        _this.m = null;
        _this.w = null;
        _this.c = false;
        _this.i = 0;
        _this.h = 0;
        _this.g = -1;
        _this.e = -1;
        _this.f = 1;
        _this.j = null;
        _this.a = a;
        _this.a.cq = new Polygon();
        _this.a.cr = new Polyline();
        _this.l = null;
        _this.t();
        return _this;
    }
    PointerTooltipView.prototype.t = function () {
        if (window.devicePixelRatio != undefined && window.devicePixelRatio != this.f) {
            this.f = window.devicePixelRatio;
        }
    };
    PointerTooltipView.prototype.x = function (a) {
        var b = this.a.content;
        b = b.clone();
        var c = new Size(1, 0, 0);
        if (this.n == null) {
            this.n = this.j.createElement("div");
            this.n.addClass("ui-chart-pointer-tooltip-container");
            this.n.setStyleProperty("position", "absolute");
            this.n.setStyleProperty("visibility", "hidden");
            this.n.setStyleProperty("top", "0px");
            this.n.setStyleProperty("left", "0px");
            this.p = this.j.createElement("div");
            this.p.setStyleProperty("position", "relative");
            this.o = this.j.createElement("div");
            this.o.addClass("ui-chart-pointer-tooltip-content-container");
            this.o.setStyleProperty("position", "absolute");
            this.o.setStyleProperty("top", "0px");
            this.o.setStyleProperty("left", "0px");
            this.n.append(this.p);
            this.p.append(this.o);
        }
        this.n.remove();
        this.j.appendToBody(this.n);
        this.o.append(b);
        c = new Size(1, this.o.outerWidthWithMargin(), this.o.outerHeightWithMargin());
        this.n.remove();
        b.remove();
        return c;
    };
    PointerTooltipView.prototype.v = function (a, b) {
        if (this.l == null) {
            this.l = this.j.createElement("div");
            this.l.addClass("ui-chart-pointer-tooltip-container");
            this.l.setStyleProperty("position", "absolute");
            this.l.setStyleProperty("top", "0px");
            this.l.setStyleProperty("left", "0px");
            var c = this.j.createElement("div");
            c.setStyleProperty("position", "relative");
            this.k = this.j.createElement("canvas");
            this.k.setStyleProperty("position", "absolute");
            this.k.setStyleProperty("top", "0px");
            this.k.setStyleProperty("left", "0px");
            this.m = this.j.createElement("div");
            this.m.addClass("ui-chart-pointer-tooltip-content-container");
            this.m.setStyleProperty("position", "absolute");
            this.m.setStyleProperty("top", "0px");
            this.m.setStyleProperty("left", "0px");
            c.append(this.k);
            c.append(this.m);
            this.l.append(c);
            this.b = new RenderingContext(new CanvasViewRenderer(), this.j.get2DCanvasContext(this.k));
            this.l.hide();
            this.j.appendToBody(this.l);
        }
        this.a.bm();
        if (this.a._visibility == 1 && this.c) {
            this.l.hide();
            this.c = false;
            return;
        }
        var d = null;
        if (this.a.content != null) {
            d = this.a.content;
            d.remove();
        }
        this.m.removeChildren();
        if (d != null) {
            var cont_ = this.m;
            var xPos_ = this.a.ci.x.toString() + "px";
            var yPos_ = this.a.ci.y.toString() + "px";
            cont_.setRawStyleProperty("left", xPos_);
            cont_.setRawStyleProperty("top", yPos_);
            this.m.append(d);
        }
        var e = this.a.ap;
        var f = 1;
        this.t();
        if (e != null) {
            f = !isNaN_(e.b) ? e.b : 1;
        }
        var g = truncate(Math.ceil(this.a.ay + (f * 2)));
        var h = truncate(Math.ceil(this.a.ax + (f * 2)));
        if (g != this.i || h != this.h) {
            this.k.setStyleProperty("width", g.toString() + "px");
            this.k.setStyleProperty("height", h.toString() + "px");
            this.k.setAttribute("width", (g * this.f).toString());
            this.k.setAttribute("height", (h * this.f).toString());
            this.i = g;
            this.h = h;
        }
        if (this.b.d && this.f != 1) {
            this.b.z();
            this.b.aa(this.f, this.f);
        }
        this.b.k(0, 0, this.i, this.h);
        var i = new Rectangle();
        i.width = this.a.a0;
        i.height = this.a.az;
        i.n = this.a.ci.x;
        i.o = this.a.ci.y;
        if (e != null) {
            i._fill = e.c != null ? e.c : ((function () {
                var $ret = new Brush();
                $ret.fill = "white";
                return $ret;
            })());
            i._stroke = e.d != null ? e.d : ((function () {
                var $ret = new Brush();
                $ret.fill = "black";
                return $ret;
            })());
            i.ac = !isNaN_(e.b) ? e.b : 1;
            i.am = !isNaN_(e.a) ? e.a : 0;
            i.an = !isNaN_(e.a) ? e.a : 0;
        }
        else {
            i._fill = ((function () {
                var $ret = new Brush();
                $ret.fill = "white";
                return $ret;
            })());
            i._stroke = ((function () {
                var $ret = new Brush();
                $ret.fill = "black";
                return $ret;
            })());
            i.ac = 1;
        }
        this.w = i;
        var j = this.a.cq;
        var k = this.a.cr;
        j._fill = i._fill;
        k._stroke = i._stroke;
        this.b.v(i);
        this.b.t(j);
        this.b.u(k);
        var x_ = a + "px";
        var y_ = b + "px";
        var container_ = this.l;
        container_.setRawStyleProperty("left", x_);
        container_.setRawStyleProperty("top", y_);
        if (this.a._visibility == 0 && !this.c) {
            this.l.show();
            this.c = true;
        }
        if (this.b.d && this.f != 1) {
            this.b.y();
        }
    };
    PointerTooltipView.prototype.q = function () {
        return this.a.aj.exportPointerTooltipData(this.a.cq, this.a.cr, this.w, new Rect(0, 0, 0, this.a.ay, this.a.ax));
    };
    PointerTooltipView.prototype.d = function (a) {
        var b = this.g;
        var c = this.e;
        var d = this.x(new Size(1, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY));
        if (d.width != b || d.height != c) {
            return true;
        }
        return false;
    };
    PointerTooltipView.prototype.r = function () {
        this.j = null;
        this.l.hide();
        this.l.remove();
        this.l = null;
        this.n = null;
        this.p = null;
        this.o = null;
        this.l = null;
        this.k = null;
        this.m = null;
    };
    PointerTooltipView.prototype.s = function () {
        this.l.hide();
    };
    PointerTooltipView.prototype.u = function (a) {
        this.j = a;
    };
    PointerTooltipView.$t = markType(PointerTooltipView, 'PointerTooltipView');
    return PointerTooltipView;
}(Base));
export { PointerTooltipView };
//# sourceMappingURL=PointerTooltip_combined.js.map