'use strict'
!(function(require, directRequire) {
  async function a(a, b) {
    let { api: d, args: e, callbackID: f, runtimeID: g } = b
    return (
      a({ type: c.WEBDEBUGGER_SET_RIGHTBTN, data: !1 }), { errMsg: `${d}:ok` }
    )
  }
  async function b(a, b) {
    let { api: d, args: e, callbackID: f, runtimeID: g } = b
    return (
      a({ type: c.WEBDEBUGGER_SET_RIGHTBTN, data: !0 }), { errMsg: `${d}:ok` }
    )
  }
  const c = require('./822bc5aa1823c9aa222d9ffad72e7f17.js')
  module.exports = {
    hideOptionMenu: a,
    hideMenuItems: a,
    hideAllNonBaseMenuItem: a,
    showOptionMenu: b,
    showMenuItems: b,
    showAllNonBaseMenuItem: b,
    sendAppMessage: async function(a, b) {
      let { api: d, args: e, callbackID: f, runtimeID: g } = b
      a({
        type: c.WEBDEBUGGER_SET_SHARE,
        data: {
          type: 'appmsg',
          title: e.title,
          desc: e.desc,
          link: e.link,
          imgUrl: e.img_url,
          dataUrl: e.data_url,
          callbackID: f,
          runtimeID: g,
          api: d
        }
      })
    },
    shareTimeline: async function(a, b) {
      let { api: d, args: e, callbackID: f, runtimeID: g } = b
      a({
        type: c.WEBDEBUGGER_SET_SHARE,
        data: {
          type: 'timeline',
          title: e.title,
          desc: e.title,
          link: e.link,
          imgUrl: e.img_url,
          dataUrl: e.data_url,
          callbackID: f,
          runtimeID: g,
          api: d
        }
      })
    }
  }
})(require('lazyload'), require)
