/*
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 { Base, fromEnum, typeCast, String_$type, markType, getInstanceType } from "igniteui-angular-core";
import { ISupportSetProperty_$type } from "./ISupportSetProperty";
import { CT_Clear } from "./CT_Clear";
/**
 * @hidden
 */
var CT_GeoCache = /** @class */ (function (_super) {
    tslib_1.__extends(CT_GeoCache, _super);
    function CT_GeoCache() {
        var _this = _super.call(this) || this;
        _this.d = null;
        _this.b = null;
        _this.a = null;
        return _this;
    }
    Object.defineProperty(CT_GeoCache.prototype, "c", {
        get: function () {
            return this.d;
        },
        set: function (a) {
            this.d = a;
        },
        enumerable: true,
        configurable: true
    });
    CT_GeoCache.f = function (a, b) {
        var e_1, _a;
        b = null;
        try {
            for (var _b = tslib_1.__values(fromEnum(a.ab.u)), _c = _b.next(); !_c.done; _c = _b.next()) {
                var c = _c.value;
                switch (c.a.e(a.d)) {
                    case "provider":
                        b = c.d;
                        break;
                    default: break;
                }
            }
        }
        catch (e_1_1) { e_1 = { error: e_1_1 }; }
        finally {
            try {
                if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
            }
            finally { if (e_1) throw e_1.error; }
        }
        ;
        return {
            p1: b
        };
    };
    CT_GeoCache.g = function (a, b, c) {
        a.ad.p(b, "cx");
        var d = null;
        var e = null;
        if (c != null) {
            e = "provider";
            d = c;
            a.ad.h(e, d);
        }
        ;
    };
    CT_GeoCache.prototype.setProperty = function (a, b) {
        switch (a) {
            case 1917:
                this.b = typeCast(String_$type, b);
                break;
            case 1918:
                this.a = typeCast(CT_Clear.$, b);
                break;
            default: break;
        }
    };
    CT_GeoCache.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_GeoCache.$t = markType(CT_GeoCache, 'CT_GeoCache', Base.$, [ISupportSetProperty_$type]);
    return CT_GeoCache;
}(Base));
export { CT_GeoCache };
//# sourceMappingURL=CT_GeoCache.js.map