"use strict";

var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) {
    void 0 === k2 && (k2 = k);
    var desc = Object.getOwnPropertyDescriptor(m, k);
    desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = {
        enumerable: !0,
        get: function() {
            return m[k];
        }
    }), Object.defineProperty(o, k2, desc);
} : function(o, m, k, k2) {
    void 0 === k2 && (k2 = k), o[k2] = m[k];
}), __exportStar = this && this.__exportStar || function(m, exports) {
    for (var p in m) "default" === p || Object.prototype.hasOwnProperty.call(exports, p) || __createBinding(exports, m, p);
};

Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.registerForVrender = void 0;

const vrender_components_1 = require("@visactor/vrender-components");

require("@visactor/vrender-core");

const vrender_core_1 = require("@visactor/vrender-core"), vrender_kits_1 = require("@visactor/vrender-kits");

let registed = !1;

function registerForVrender() {
    registed || (registed = !0, (0, vrender_core_1.preLoadAllModule)(), (0, vrender_core_1.isBrowserEnv)() ? (0, 
    vrender_kits_1.loadBrowserEnv)(vrender_core_1.container) : (0, vrender_core_1.isNodeEnv)() && (0, 
    vrender_kits_1.loadNodeEnv)(vrender_core_1.container), (0, vrender_kits_1.registerArc)(), 
    (0, vrender_kits_1.registerCircle)(), (0, vrender_kits_1.registerGroup)(), (0, vrender_kits_1.registerImage)(), 
    (0, vrender_kits_1.registerLine)(), (0, vrender_kits_1.registerRect)(), (0, vrender_kits_1.registerRichtext)(), 
    (0, vrender_kits_1.registerShadowRoot)(), (0, vrender_kits_1.registerSymbol)(), 
    (0, vrender_kits_1.registerText)(), (0, vrender_core_1.registerFlexLayoutPlugin)(), 
    (0, vrender_components_1.loadPoptip)(), (0, vrender_core_1.registerFlexLayoutPlugin)());
}

exports.registerForVrender = registerForVrender, __exportStar(require("@visactor/vrender-core"), exports), 
__exportStar(require("@visactor/vrender-kits"), exports), __exportStar(require("@visactor/vrender-components"), exports), 
__exportStar(require("@visactor/vrender-animate"), exports);
//# sourceMappingURL=vrender.js.map