"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "createRendererAdapter", {
    enumerable: true,
    get: function() {
        return createRendererAdapter;
    }
});
const _browser = require("../../../../../../helpers/browser");
const _differBasedRendererAdapter = require("./differBasedRendererAdapter");
const _directDomRendererAdapter = require("./directDomRendererAdapter");
function createRendererAdapter(orderView) {
    if ((0, _browser.isFirefox)()) {
        return new _directDomRendererAdapter.DirectDomRendererAdapter(orderView);
    }
    return new _differBasedRendererAdapter.DifferBasedRendererAdapter(orderView);
}
