/* globals jQuery */
/**
 * ext-overview_window.js
 *
 * @license MIT
 *
 * @copyright 2013 James Sacksteder
 *
 */
export default {
  name: 'overview_window',
  init ({isChrome, isIE}) {
    const $ = jQuery;
    const overviewWindowGlobals = {};
    // Disabled in Chrome 48-, see https://github.com/SVG-Edit/svgedit/issues/26 and
    // https://code.google.com/p/chromium/issues/detail?id=565120.
    if (isChrome()) {
      const verIndex = navigator.userAgent.indexOf('Chrome/') + 7;
      const chromeVersion = parseInt(navigator.userAgent.substring(verIndex), 10);
      if (chromeVersion < 49) {
        return;
      }
    }
    // Define and insert the base html element.
    const propsWindowHtml =
      '
' +
        '
' +
          '
' +
            '
' +
            '
' +
            '
' +
          '
' +
        '
' +
      '