'use strict'
!(function(require, directRequire) {
  'use strict'
  const a = {
    preVerifyJSAPI: 'PREVERIFY_SDK',
    checkJsApi: 'BASE_SDK',
    shareTimeline: 'SHARE_SDK',
    sendAppMessage: 'SHARE_SDK',
    shareQQ: 'SHARE_SDK',
    shareWeiboApp: 'SHARE_SDK',
    shareQZone: 'SHARE_SDK',
    'menu:share:appmessage': 'REGISTER_SDK',
    'menu:share:timeline': 'REGISTER_SDK',
    'menu:share:qq': 'REGISTER_SDK',
    'menu:share:weiboApp': 'REGISTER_SDK',
    'menu:share:QZone': 'REGISTER_SDK',
    onVoiceRecordEnd: 'REGISTER_SDK',
    onVoicePlayEnd: 'REGISTER_SDK',
    onNavigationBarRightButtonClick: 'REGISTER_SDK',
    onPageStateChange: 'REGISTER_SDK',
    imagePreview: 'IMAGE_SDK',
    chooseImage: 'IMAGE_SDK',
    uploadImage: 'IMAGE_SDK',
    downloadImage: 'IMAGE_SDK',
    startRecord: 'VOICE_SDK',
    stopRecord: 'VOICE_SDK',
    playVoice: 'VOICE_SDK',
    pauseVoice: 'VOICE_SDK',
    stopVoice: 'VOICE_SDK',
    uploadVoice: 'VOICE_SDK',
    downloadVoice: 'VOICE_SDK',
    translateVoice: 'VOICE_SDK',
    getNetworkType: 'OSINFO_SDK',
    geoLocation: 'LOCATION_SDK',
    openLocation: 'LOCATION_SDK',
    hideOptionMenu: 'INTERFACE_SDK',
    showOptionMenu: 'INTERFACE_SDK',
    closeWindow: 'INTERFACE_SDK',
    hideMenuItems: 'INTERFACE_SDK',
    showMenuItems: 'INTERFACE_SDK',
    hideAllNonBaseMenuItem: 'INTERFACE_SDK',
    showAllNonBaseMenuItem: 'INTERFACE_SDK',
    scanQRCode: 'SCAN_SDK',
    batchAddCard: 'CARD_SDK',
    chooseCard: 'CARD_SDK',
    batchViewCard: 'CARD_SDK',
    showPickerView: 'INTERFACE_ASYNC_SDK',
    showMultiPickerView: 'INTERFACE_ASYNC_SDK',
    updateMultiPickerView: 'INTERFACE_ASYNC_SDK',
    showDatePickerView: 'INTERFACE_ASYNC_SDK',
    initReady: 'INTERFACE_ASYNC_SDK',
    getUserAutoFillData: 'AUTO_FILL',
    setUserAutoFillData: 'AUTO_FILL',
    deleteUserAutoFillData: 'AUTO_FILL',
    getRegionData: 'AUTO_FILL',
    requestAuthUserAutoFillData: 'AUTO_FILL',
    getPhoneNumber: 'PHONE_SDK'
  }
  var b = {
      preVerifyJSAPI: !0,
      onVoiceRecordEnd: !0,
      onVoicePlayEnd: !0,
      getNetworkType: !0,
      cache: !0
    },
    c = {
      shareTimeline: 'menu:share:timeline',
      sendAppMessage: 'menu:share:appmessage',
      shareQQ: 'menu:share:qq',
      shareWeiboApp: 'menu:share:weiboApp',
      shareQZone: 'menu:share:QZone',
      publish: 'dispatchEvent'
    }
  module.exports = {
    notExistWording:
      '\u6CA1\u6709\u6B64SDK\u6216\u6682\u4E0D\u652F\u6301\u6B64SDK\u6A21\u62DF',
    failWording: 'fail, the permission value is offline verifying',
    defaultPurview: b,
    hasDefaultPurview: function(a) {
      return b[a]
    },
    getSdkType: function(b) {
      return a[b]
    },
    getRealName: function(a) {
      return c[a] || a
    }
  }
})(require('lazyload'), require)
