/*!
 * Copyright (c) 2015-2019 Cisco Systems, Inc. See LICENSE file.
 */

import '@webex/plugin-authorization-browser-first-party';
import '@webex/internal-plugin-avatar';
import '@webex/internal-plugin-board';
import '@webex/internal-plugin-calendar';
import '@webex/internal-plugin-conversation';
import '@webex/internal-plugin-encryption';
import '@webex/internal-plugin-feature';
import '@webex/internal-plugin-flag';
import '@webex/plugin-logger';
import '@webex/internal-plugin-mercury';
import '@webex/internal-plugin-metrics';
import '@webex/internal-plugin-presence';
import '@webex/internal-plugin-search';
import '@webex/internal-plugin-support';
import '@webex/internal-plugin-team';
import '@webex/internal-plugin-user';
import '@webex/internal-plugin-lyra';
import '@webex/internal-plugin-wdm';
import '@webex/plugin-people';

import config from './config';
import WebexCore from '@webex/webex-core';
import {merge} from 'lodash';

/**
 * @param {Object} attrs
 * @param {Object} attrs.config
 * @returns {Webex}
 */
export default function Webex(attrs) {
  attrs = attrs || {};
  attrs.config = merge(config, attrs.config);

  return new WebexCore(attrs);
}

@@ -800,11 +800,14 @@
 gin-
-wdm
+device
 ';%0Ai
@@ -841,39 +841,9 @@
 ';%0A%0A
-import config from './config';
 %0A
+
 impo
@@ -877,24 +877,24 @@
 ebex-core';%0A
-
 import %7Bmerg
@@ -912,16 +912,48 @@
 dash';%0A%0A
+import config from './config';%0A%0A
 /**%0A * @

migrate to device