'use strict'
var _extends =
  Object.assign ||
  function(a) {
    for (var b, c = 1; c < arguments.length; c++)
      for (var d in ((b = arguments[c]), b))
        Object.prototype.hasOwnProperty.call(b, d) && (a[d] = b[d])
    return a
  }
!(function(require, directRequire) {
  const a = require('./53ec6a2d71bd5a4846662679c61fe819.js'),
    b = require('./1fcc6bd55b687d154a4247e57fe3011d.js'),
    c = require('./a8c87029da0fa06e986298d447ab0fe2.js'),
    d = require('react'),
    e = require('redux'),
    f = require('./d3976cc01aeebc5b09e11c4135b6bd8d.js'),
    { connect: g } = require('react-redux')
  class h extends d.Component {
    onConfirmCallback(a) {
      this.props.windowActions.setMask(!1),
        'function' == typeof this.props.callback && this.props.callback(a),
        this.props.infoActions.setConfirmInfo({ show: !1 })
    }
    componentDidMount() {
      this.props.windowActions.setMask(!0)
    }
    render() {
      let b = this.props
      return b.show
        ? d.createElement(
            a,
            _extends({}, this.props, {
              callback: this.onConfirmCallback.bind(this)
            })
          )
        : null
    }
  }
  module.exports = g(
    a => {
      let b = a.info.confirmInfo || {}
      return _extends({}, b)
    },
    a => {
      return {
        infoActions: f.bindActionCreators(b, a),
        windowActions: f.bindActionCreators(c, a)
      }
    }
  )(h)
})(require('lazyload'), require)
