/*
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 { ShapeSeriesBase } from "./ShapeSeriesBase";
import { ShapeAxisInfoCache } from "./ShapeAxisInfoCache";
import { StyleSelector } from "./StyleSelector";
import { DependencyProperty } from "igniteui-angular-core";
import { Style } from "igniteui-angular-core";
import { MarkerType_$type } from "./MarkerType";
import { DataTemplate } from "igniteui-angular-core";
import { Brush } from "igniteui-angular-core";
import { CollisionAvoidanceType_$type } from "./CollisionAvoidanceType";
import { MarkerOutlineMode_$type } from "./MarkerOutlineMode";
import { MarkerFillMode_$type } from "./MarkerFillMode";
import { Rect } from "igniteui-angular-core";
import { ScalerParams } from "./ScalerParams";
import { Base, runOn, enumGetBox, Number_$type, typeCast, fromEnum, markType, markDep, PointUtil } from "igniteui-angular-core";
import { Dictionary$2 } from "igniteui-angular-core";
import { OwnedPoint } from "./OwnedPoint";
import { ShapeSeriesViewBase } from "./ShapeSeriesViewBase";
import { Marker } from "./Marker";
import { MarkerSeries } from "./MarkerSeries";
import { BrushUtil } from "igniteui-angular-core";
import { DataContext } from "igniteui-angular-core";
import { HashPool$2 } from "igniteui-angular-core";
import { List$1 } from "igniteui-angular-core";
import { SeriesPointOfInterest } from "./SeriesPointOfInterest";
import { RectUtil } from "igniteui-angular-core";
import { PropertyMetadata } from "igniteui-angular-core";
import { DeviceUtils } from "igniteui-angular-core";
import { isNaN_, isInfinity } from "igniteui-angular-core";
import { NumericMarkerManager } from "./NumericMarkerManager";
import { DataTemplateMeasureInfo } from "igniteui-angular-core";
import { Size } from "igniteui-angular-core";
import { Defaults } from "./Defaults";
import { DataTemplatePassInfo } from "igniteui-angular-core";
import { DataTemplateRenderInfo } from "igniteui-angular-core";
import { MarkerVisualData } from "./MarkerVisualData";
import { stringIsNullOrEmpty } from "igniteui-angular-core";
/**
 * @hidden
 */
export let ScatterPolygonSeries = /*@__PURE__*/ (() => {
    class ScatterPolygonSeries extends ShapeSeriesBase {
        constructor() {
            super();
            this.s9 = null;
            this.s6 = new ScalerParams(1, ScatterPolygonSeries.uf, ScatterPolygonSeries.uf, false);
            this.s7 = new ScalerParams(1, ScatterPolygonSeries.uf, ScatterPolygonSeries.uf, false);
            this.tv = null;
            this.s1 = 1;
            this.sx = 1;
            this.ab = ScatterPolygonSeries.$;
        }
        get_d8() {
            return true;
        }
        get_d3() {
            return true;
        }
        rg() {
            return this.tb();
        }
        sf(a) {
            let b = a;
            b.cv(this.uh);
            b.cw(this.ta);
            super.sf(a);
            if (this.cx(a)) {
                return;
            }
            let c, d;
            let e = a.getViewInfo(c, d);
            c = e.p0;
            d = e.p1;
            let f = this.getEffectiveViewport1(a);
            this.s6 = new ScalerParams(1, d, c, this.qp.cg);
            this.s6.c = f;
            this.s7 = new ScalerParams(1, d, c, this.qr.cg);
            this.s7.c = f;
            if (c.width < 1 || c.height < 1) {
                return;
            }
            this.s9 = ((() => {
                let $ret = new ShapeAxisInfoCache();
                $ret.a = this.qp;
                $ret.b = this.qr;
                $ret.e = this.qp.cg;
                $ret.f = this.qr.cg;
                $ret.d = this.ck;
                $ret.c = this.qz;
                return $ret;
            })());
            if (this.tb()) {
                let g = new Dictionary$2(Base.$, OwnedPoint.$, 0);
                b.dd.l(g, 400, d, c, this.fv);
                b.dd.j(g, false);
                if (this.re()) {
                    this.ts(a);
                }
            }
        }
        ts(a) {
            a.dh = true;
            this.qw.aw(this, this.re(), runOn(this, this.qe));
            let b = this.qw.d;
            let c = b != null;
            let d = this.getEffectiveViewport1(a);
            let e = this.ck == null ? 0 : this.ck.count;
            a.dt((f) => {
                if (f._visibility == 0) {
                    let g = f.ak;
                    let h = f.content;
                    if (h == null) {
                        h = new DataContext();
                        f.content = h;
                    }
                    if (c) {
                        this.sa(g, e, a.q);
                    }
                    this.qw.ac(f, h);
                }
            });
        }
        tb() {
            return this.tv != null && ((this.s5 != 1 && this.s5 != 0) || this.tw != null);
        }
        bx() {
            return new ScatterPolygonSeriesView(this);
        }
        l2(a) {
            super.l2(a);
            this.s8 = a;
        }
        get_hasMarkers() {
            return true;
        }
        pa() {
            return this.ub;
        }
        pb() {
            return this.uc;
        }
        nh() {
            return this.tu;
        }
        i0() {
            return this.i1(this, this.tv);
        }
        f4() {
            return this.td;
        }
        get s2() {
            return this.s1;
        }
        set s2(a) {
            this.s1 = a;
        }
        s4() {
            if (this.s3 == 0) {
                return 1;
            }
            return this.s3;
        }
        m3(a) {
            super.m3(a);
            this.s3 = a;
        }
        get sy() {
            return this.sx;
        }
        set sy(a) {
            this.sx = a;
        }
        s0() {
            if (this.sz == 0) {
                return 2;
            }
            return this.sz;
        }
        m2(a) {
            super.m2(a);
            this.sz = a;
        }
        m4(a) {
            super.m4(a);
            this.td = a;
        }
        mz() {
            super.mz();
            if (this.index < 0) {
                return;
            }
            if (this.tw != null) {
                this.s8.ds();
                this.s8.dp();
            }
            else {
                let a = MarkerSeries.qi(this, this.s5);
                let b = MarkerSeries.qq(a);
                if (b == null) {
                    this.tu = MarkerSeries.q4;
                }
                else {
                    this.s8.dl(b);
                }
            }
            if (this.ud != null && this.s5 != 13) {
                this.s8.dq();
                this.s8.dm();
            }
            else {
                if (this.s5 == 13) {
                    this.ub = this.b0.bq();
                }
                else {
                    if (this.sy != 2) {
                        if (this.cd != null) {
                            let c = this.cd.sk(this.index);
                            if (!isNaN_(this.fu) && this.fu != 1) {
                                c = BrushUtil.o(c, this.fu);
                            }
                            this.ub = c;
                        }
                        else {
                            this.ub = null;
                        }
                    }
                }
            }
            if (this.ue != null) {
                this.s8.dr();
                this.s8.dn();
            }
            else {
                if (this.s5 == 13) {
                    this.uc = this.b0.bq();
                }
                else {
                    if (this.s3 == 2) {
                        this.uc = this.ub;
                    }
                    else {
                        this.uc = this.cd == null ? null : this.cd.sl(this.index);
                    }
                }
            }
            if (this.sy == 2 && this.ud == null && this.s5 != 13) {
                if (this.uc != null) {
                    let d = this.uc;
                    if (!isNaN_(this.fu) && this.fu != 1) {
                        d = BrushUtil.o(d, this.fu);
                    }
                    this.ub = d;
                }
                else {
                    this.ub = null;
                }
            }
        }
        lx() {
            super.lx();
            this.s2 = this.s4();
            this.sy = this.s0();
        }
        l7(a, b, c, d) {
            super.l7(a, b, c, d);
            switch (b) {
                case ScatterPolygonSeries.$$p[3]:
                case ScatterPolygonSeries.$$p[11]:
                case ScatterPolygonSeries.$$p[7]:
                case ScatterPolygonSeries.$$p[9]:
                case ScatterPolygonSeries.$$p[10]:
                    this.mz();
                    this.l4();
                    break;
                case ScatterPolygonSeries.$$p[6]:
                    this.s2 = this.s4();
                    this.mz();
                    this.l4();
                    break;
                case ScatterPolygonSeries.$$p[5]:
                    this.sy = this.s0();
                    this.mz();
                    this.l4();
                    break;
                case ScatterPolygonSeries.$$p[2]:
                    this.tv = d;
                    if (c == MarkerSeries.q4 || d == MarkerSeries.q4 || (c == null || d != null)) {
                        this.s8.du();
                        this.ml(false);
                    }
                    this.b0.bj();
                    if (this.toolTip != null && this.d0) {
                        this.a6.a$aj(this, this.toolTip);
                    }
                    this.ml(false);
                    this.ls();
                    break;
                case ScatterPolygonSeries.$$p[12]:
                    this.s8.cv(this.uh);
                    this.ml(false);
                    this.ls();
                    break;
                case ScatterPolygonSeries.$$p[13]:
                    this.s8.cw(this.ta);
                    this.ml(false);
                    this.ls();
                    break;
                case ScatterPolygonSeries.$$p[4]:
                    this.ml(false);
                    this.ls();
                    break;
                case ScatterPolygonSeries.$$p[0]:
                case ScatterPolygonSeries.$$p[1]:
                    if (this.tb()) {
                        this.ml(false);
                    }
                    break;
            }
        }
        at(a, b) {
            let c = this.s8.b1(a);
            let d = null;
            if (c != null) {
                d = c.content;
            }
            if (d != null) {
                return d;
            }
            return super.at(a, b);
        }
        tt(a, b) {
            let c = new List$1(Base.$, 0);
            for (let d of fromEnum(b.c)) {
                if (!a.containsKey(d)) {
                    c.add1(d);
                }
            }
            for (let e of fromEnum(c)) {
                b.h(e);
            }
        }
        c1(a, b, c, d) {
            if (!this.hasMarkers) {
                return false;
            }
            let e = this.qp;
            let f = new ScalerParams(1, this.cd.s9, this.p3, e.cg);
            f.c = this.getEffectiveViewport1(this.b0);
            let g = this.qr;
            let h = new ScalerParams(1, this.cd.s9, this.p3, g.cg);
            h.c = this.getEffectiveViewport1(this.b0);
            a.clear();
            this.s8.dt((i) => {
                if (i._visibility == 0) {
                    let j = new SeriesPointOfInterest();
                    let k = i.n;
                    let l = i.o;
                    if (k < this.p3.left || k > this.p3.right || l < this.p3.top || l > this.p3.bottom) {
                        return;
                    }
                    j.b = e.el(k, f);
                    j.c = g.el(l, h);
                    j.a = i.content;
                    a.add(j);
                }
            });
            return true;
        }
        sv(a, b, c, d, e) {
            if (c == null || c.length != this.s9.d.count) {
                c = new Array(this.s9.d.count);
                for (let f = 0; f < this.s9.d.count; f++) {
                    c[f] = PointUtil.create();
                }
            }
            let g = ((() => {
                let $ret = new ScalerParams(1, d, e, this.qp.cg);
                $ret.c = this.getEffectiveViewport1(a);
                return $ret;
            })());
            let h = ((() => {
                let $ret = new ScalerParams(1, d, e, this.qr.cg);
                $ret.c = this.getEffectiveViewport1(a);
                return $ret;
            })());
            let i = this.pv(a);
            let j = this.s9.a.el(i.left, g);
            let k = this.s9.a.el(i.right, g);
            let l = this.s9.b.el(i.bottom, h);
            let m = this.s9.b.el(i.top, h);
            if (this.s9.e) {
                let n = j;
                j = k;
                k = n;
            }
            if (this.s9.f) {
                let o = l;
                l = m;
                m = o;
            }
            let p = this.s9;
            let q = p.a;
            let r = p.b;
            let s;
            let t;
            let u = g.d.left;
            let v = g.d.right;
            let w = h.d.top;
            let x = h.d.bottom;
            for (let y = 0; y < this.s9.d.count; y++) {
                s = 0;
                t = 0;
                let z = null;
                let aa = a.b9.tryGetValue(y, z);
                z = aa.p1;
                if (z == null) {
                    c[y].x = NaN;
                    c[y].y = NaN;
                }
                else {
                    let ab = z.c;
                    let ac = RectUtil.l(ab);
                    s = ac.x;
                    t = ac.y;
                    if (s >= u && s <= v && t >= w && t <= x) {
                        c[y].x = s;
                        c[y].y = t;
                    }
                    else {
                        c[y].x = NaN;
                        c[y].y = NaN;
                    }
                }
            }
            return c;
        }
        tc(a, b) {
            if (b == null) {
                b = new List$1(Number_$type, 2, a.e);
            }
            else {
                b.clear();
            }
            let c = 0;
            let d = this.ck;
            for (let e of fromEnum(a.c)) {
                b.add(d.indexOf(e));
                c++;
            }
            return b;
        }
    }
    ScatterPolygonSeries.$t = markType(ScatterPolygonSeries, 'ScatterPolygonSeries', ShapeSeriesBase.$);
    ScatterPolygonSeries.uf = new Rect(0, 0, 0, 1, 1);
    ScatterPolygonSeries.$$p = markDep(DependencyProperty, PropertyMetadata, ScatterPolygonSeries, 'raisePropertyChanged', ['ActualMarkerBrush:ub:tx', [Brush.$], 'ActualMarkerOutline:uc:ty', [Brush.$], 'ActualMarkerTemplate:tu:tz', [DataTemplate.$, null], 'MarkerBrush:ud:t0', [Brush.$], 'MarkerCollisionAvoidance:sw:t1', [CollisionAvoidanceType_$type, enumGetBox(CollisionAvoidanceType_$type, 0)], 'MarkerFillMode:sz:t2', [MarkerFillMode_$type, enumGetBox(MarkerFillMode_$type, 0)], 'MarkerOutlineMode:s3:t3', [MarkerOutlineMode_$type, enumGetBox(MarkerOutlineMode_$type, 0)], 'MarkerOutline:ue:t4', [Brush.$], 'MarkerStyle:ug:t5', [Style.$], 'MarkerTemplate:tw:t6', [DataTemplate.$, null], 'MarkerThickness:td:t7', [1, DeviceUtils.g(2)], 'MarkerType:s5:t8', [MarkerType_$type, enumGetBox(MarkerType_$type, 1)], 'ShapeStyle:uh:t9', [Style.$, null], 'ShapeStyleSelector:ta:ua', [StyleSelector.$, null]]);
    return ScatterPolygonSeries;
})();
/**
 * @hidden
 */
export let ScatterPolygonSeriesView = /*@__PURE__*/ (() => {
    class ScatterPolygonSeriesView extends ShapeSeriesViewBase {
        constructor(a) {
            super(a);
            this.dh = false;
            this.c8 = null;
            this.dj = null;
            this.de = null;
            this.dc = null;
            this.dg = false;
            this.df = null;
            this.dk = null;
            this.c9 = new Marker();
            this.d1 = null;
            this.c9 = new Marker();
            this.c9.content = new DataContext();
            this.de = a;
            this.df = new HashPool$2(Base.$, Marker.$);
            this.dk = new List$1(Marker.$, 0);
            this.dv(this.df);
            this.dc = new NumericMarkerManager(1, (b) => this.df.item(b), (b) => this.de.s9.d.item(b), runOn(this, this.dz), runOn(this, this.c7), runOn(this, this.di), () => this.de.sw);
            this.dc.q = runOn(this, this.d2);
        }
        as() {
            super.as();
            if (!this.q) {
                this.de.ue = Defaults.am;
                this.de.g1 = Defaults.z;
                this.de.td = Defaults.y;
                this.de.s5 = Defaults.f;
                this.de.sz = Defaults.b;
            }
        }
        get dd() {
            return this.dc;
        }
        dz(a) {
            this.de.tt(a, this.df);
        }
        c7() {
            this.c8 = this.de.sv(this, this.df, this.c8, this.bv, this.bu);
            return this.c8;
        }
        di() {
            this.dj = this.de.tc(this.df, this.dj);
            return this.dj;
        }
        c2(a, b) {
            return this.c3(a, b, true);
        }
        cj(a, b, c) {
            super.cj(a, b, c);
            ShapeSeriesViewBase.ci(this, a, b);
        }
        ch(a, b) {
            let c = a;
            if (c == null) {
                return;
            }
            c.ak = b;
        }
        dt(a) {
            this.df.f(a);
        }
        dv(a) {
            a.create = runOn(this, this.db);
            a.destroy = runOn(this, this.dx);
            a.activate = runOn(this, this.dw);
            a.disactivate = runOn(this, this.dy);
        }
        db() {
            let a = new Marker();
            if (!this.dg) {
                a.content = ((() => {
                    let $ret = new DataContext();
                    $ret.series = this.e;
                    return $ret;
                })());
            }
            a.ah = this.e.tu;
            this.dk.add(a);
            return a;
        }
        b1(a) {
            let b = this.da(a, 0);
            if (b == null) {
                b = this.da(a, 3);
            }
            return b;
        }
        da(a, b) {
            let c;
            let d;
            let e;
            let f;
            for (let g = this.dk.count - 1; g >= 0; g--) {
                let h = this.dk._inner[g];
                if (h._visibility == 1 || h._opacity == 0) {
                    continue;
                }
                c = (h.m / 2) + b;
                d = (h.l / 2) + b;
                e = h.ai;
                f = h.aj;
                if ((h.n + e) - c <= a.x && (h.n + e) + c >= a.x && (h.o + f) - d <= a.y && (h.o + f) + d >= a.y) {
                    return h;
                }
            }
            return null;
        }
        dx(a) {
            a.content = null;
            this.dk.remove(a);
        }
        dw(a) {
            a._visibility = 0;
        }
        dy(a) {
            if (a.content != null) {
                (typeCast(DataContext.$, a.content)).item = null;
            }
            a._visibility = 1;
        }
        d0(a) {
            this.dg = a;
        }
        bh(a, b) {
            super.bh(a, b);
            if (!this.dh) {
                let c = a;
                let d = c.content;
                if (d != null) {
                    if (this.de.ub != null) {
                        d.actualItemBrush = this.de.ub;
                    }
                    else {
                        d.actualItemBrush = this.b3.o3;
                    }
                    if (this.de.ub != null) {
                        d.outline = this.de.uc;
                    }
                    else {
                        d.outline = this.b3.o6;
                    }
                    d.thickness = this.de.td;
                }
            }
        }
        bi(a, b) {
            super.bi(a, b);
            let c = a;
            this.c9._visibility = c._visibility;
            this.c9.ah = c.ah;
            this.c9.width = c.width;
            this.c9.height = c.height;
            this.c9.m = c.m;
            this.c9.l = c.l;
            this.c9.n = c.n;
            this.c9.o = c.o;
            let d = this.bp(b);
            let e = this.c9.content;
            let f = c.content;
            e.item = f.item;
            e.series = f.series;
            e.thickness = f.thickness;
            if (e != null) {
                e.actualItemBrush = d;
                e.outline = d;
                e.thickness = this.de.td + 3;
            }
        }
        a5(a, b) {
            super.a5(a, b);
            let c = new DataTemplatePassInfo();
            c.isHitTestRender = b;
            c.context = a.h();
            c.viewportTop = this.bu.top;
            c.viewportLeft = this.bu.left;
            c.viewportWidth = this.bu.width;
            c.viewportHeight = this.bu.height;
            c.passID = "Markers";
            let d = new DataTemplateRenderInfo();
            d.passInfo = c;
            d.isHitTestRender = b;
            let e = new DataTemplateMeasureInfo();
            e.passInfo = c;
            let f = false;
            let g = a.h();
            e.context = g;
            d.context = g;
            let h = 0;
            let i = 0;
            if (this.de.tu != null && this.de.tu.passStarting != null) {
                this.de.tu.passStarting(c);
            }
            for (let j = 0; j < this.dk.count; j++) {
                let k = this.dk._inner[j];
                if (k._visibility == 1) {
                    continue;
                }
                this.bg(k, j, b);
                if (b) {
                    k = this.c9;
                }
                if (!f) {
                    e.width = k.width;
                    e.height = k.height;
                    e.renderOffsetX = 0;
                    e.renderOffsetY = 0;
                    e.renderContext = a;
                    let l = k.ah;
                    if (l.measure != null) {
                        e.data = k.content;
                        l.measure(e);
                        f = e.isConstant;
                        if (f) {
                            h = e.width;
                            i = e.height;
                        }
                    }
                    d.availableWidth = e.width;
                    d.availableHeight = e.height;
                    d.renderOffsetX = e.renderOffsetX;
                    d.renderOffsetY = e.renderOffsetY;
                    d.renderContext = a;
                }
                else {
                    d.availableWidth = h;
                    d.availableHeight = i;
                }
                if (!isNaN_(k.width) && !isInfinity(k.width)) {
                    d.availableWidth = k.width;
                }
                if (!isNaN_(k.height) && !isInfinity(k.height)) {
                    d.availableHeight = k.height;
                }
                a.q(d, k);
                k.m = d.availableWidth;
                k.l = d.availableHeight;
                k.ai = d.renderOffsetX;
                k.aj = d.renderOffsetY;
            }
            if (this.de.tu != null && this.de.tu.passCompleted != null) {
                this.de.tu.passCompleted(c);
            }
        }
        ds() {
            this.de.tu = null;
        }
        dp() {
            this.de.tu = null;
            this.de.tu = this.de.tw;
        }
        dq() {
            this.de.ub = null;
        }
        dm() {
            this.de.ub = null;
            if (!isNaN_(this.e.fu) && this.e.fu != 1) {
                let a = BrushUtil.o(this.de.ud, this.e.fu);
                this.de.ub = a;
            }
            else {
                this.de.ub = this.de.ud;
            }
        }
        dr() {
            this.de.uc = null;
        }
        dn() {
            this.de.uc = null;
            this.de.uc = this.de.ue;
        }
        dl(a) {
            switch (a) {
                case "CircleMarkerTemplate":
                    this.de.tu = this.de.cd.pl;
                    break;
                case "TriangleMarkerTemplate":
                    this.de.tu = this.de.cd.pu;
                    break;
                case "PyramidMarkerTemplate":
                    this.de.tu = this.de.cd.pr;
                    break;
                case "SquareMarkerTemplate":
                    this.de.tu = this.de.cd.ps;
                    break;
                case "DiamondMarkerTemplate":
                    this.de.tu = this.de.cd.pm;
                    break;
                case "PentagonMarkerTemplate":
                    this.de.tu = this.de.cd.pp;
                    break;
                case "HexagonMarkerTemplate":
                    this.de.tu = this.de.cd.pn;
                    break;
                case "TetragramMarkerTemplate":
                    this.de.tu = this.de.cd.pp;
                    break;
                case "PentagramMarkerTemplate":
                    this.de.tu = this.de.cd.pq;
                    break;
                case "HexagramMarkerTemplate":
                    this.de.tu = this.de.cd.po;
                    break;
            }
        }
        du() {
            for (let a of fromEnum(this.dk)) {
                a.ah = this.de.tu;
            }
            this.aq();
        }
        d2(a) {
            if (this.d1 == null) {
                this.d1 = new DataTemplateMeasureInfo();
                this.d1.context = this.k.h();
            }
            this.d1.width = a.width;
            this.d1.height = a.height;
            this.d1.data = a.content;
            let b = a.ah;
            if (b.measure != null) {
                b.measure(this.d1);
            }
            return new Size(1, this.d1.width, this.d1.height);
        }
        al(a) {
            let b = a;
            super.al(b);
            for (let c of fromEnum(this.df.c)) {
                let d = this.df.item(c);
                if (d._visibility != 1) {
                    let e = typeCast(ScatterPolygonSeries.$, this.e);
                    let f = this.e.a8.getMarkerVisualData(e, d, e.tu);
                    b.markerShapes.add(typeCast(MarkerVisualData.$, f));
                }
            }
        }
        getDefaultTooltipTemplate() {
            let a = "<div class='ui-chart-default-tooltip-content'><span";
            let b = this.e.a6.a$r(this.e);
            if (!stringIsNullOrEmpty(b)) {
                a += " style='color:" + b + "'";
            }
            a += ">" + this.de.title + "</span><br/>";
            a += "</div>";
            return a;
        }
    }
    ScatterPolygonSeriesView.$t = markType(ScatterPolygonSeriesView, 'ScatterPolygonSeriesView', ShapeSeriesViewBase.$);
    return ScatterPolygonSeriesView;
})();
