'use strict'
!(function(require, directRequire) {
  const a = require('./08daeb1466202b05ac4b7f58871f83db.js'),
    b = require('./0634ee2ebd3e560d9d4804ecc960160f.js')
  module.exports = {
    drawCanvas: async function(b, c) {
      return (
        a.toWebview({ command: 'DRAW_CANVAS', data: c }),
        { errMsg: `${c.api}:ok` }
      )
    },
    setWidgetSize: async function(c, d) {
      let e = d.args || {}
      return (
        a.toWebview({ command: 'SET_CANVAS', data: { height: e.height } }),
        c({ type: b.SIMULATOR_SET_WIDGET, data: { height: e.height } }),
        { errMsg: `${d.api}:ok` }
      )
    }
  }
})(require('lazyload'), require)
