'use strict'
!(function(require, directRequire) {
  const a = 'darwin' === process.platform,
    b = a ? 'Menlo' : 'Consolas'
  let c = 12
  const d = a ? 'cmd' : 'ctrl'
  try {
    nw.Screen.Init(), (c = 1600 <= nw.Screen.screens[0].bounds.width ? 14 : 12)
  } catch (a) {}
  module.exports = {
    settings: {
      show: !1,
      currentCategory: 'proxy',
      compiler: { clusterCompile: !0, liveReload: !1 },
      appearance: {
        theme: 'white',
        fontFamily: b,
        fontSize: c,
        lineHeight: 18
      },
      edit: {
        tabSize: 2,
        insertSpaces: !0,
        wrap: 'on',
        minimap: !1,
        gitIgnoreWindowsReturn: !0,
        alwaysOpenFileInNewTab: !1,
        autoSave: !1,
        autoRefresh: !0,
        saveBeforeCompile: !0
      },
      proxy: { proxyType: 'SYSTEM' },
      notification: { bbs: !0, sys: !0, alarm: !0 },
      geo: {
        enabled: !1,
        latitude: 39.92,
        longitude: 116.46,
        speed: -1,
        accuracy: 65,
        altitude: 0,
        verticalAccuracy: 65,
        horizontalAccuracy: 65
      },
      shortcuts: {
        _editingShortcuts: !1,
        toggleToolbar: { modifiers: [d, 'shift'], key: 'T' },
        toggleSimulatorWindow: { modifiers: [d, 'shift'], key: 'D' },
        toggleEditorWindow: { modifiers: [d, 'shift'], key: 'E' },
        toggleFileTree: { modifiers: [d, 'shift'], key: 'M' },
        toggleDebugWindow: { key: 'I', modifiers: [d, 'shift'] },
        rebuild: { key: 'B', modifiers: [d] },
        format: { key: 'F', modifiers: ['shift', 'alt'] },
        refresh: { key: 'R', modifiers: [d] },
        toggleForegroundBackgroundStatus: { key: '', modifiers: [] },
        gotoFile: { key: 'P', modifiers: [d] },
        gotoRecentFile: { key: 'E', modifiers: [d] },
        preview: { key: 'P', modifiers: ['shift', d] },
        upload: { key: 'U', modifiers: ['shift', d] }
      }
    },
    default_tourist_weapp_header:
      'https://mmbiz.qpic.cn/mmbiz_png/icTdbqWNOwNQ0ia79enzYJBsZ3CIkLQGe3VblqRE6xApDuP5c0QM7WSliagovfQ1jZ7044sCtApl9YsHW2hicSTMTw/0?wx_fmt=png',
    default_weapp_header:
      'https://mmbiz.qpic.cn/mmbiz_png/icTdbqWNOwNQ0ia79enzYJBsZ3CIkLQGe39qeOxbpT9oM9KaCthzBa0PF75xzBGjZQGlM69TDggxpNX7ACibCjjtw/0?wx_fmt=png'
  }
})(require('lazyload'), require)
