'use strict'
!(function(require, directRequire) {
  const a = require('react'),
    b = require('./3b5f8e2469c474c8d433c1c6926d8999.js'),
    c = require('./3bfffbe88b3d923921f851c0697974fe.js'),
    d = require('./NavigationBar.js'),
    e = require('./4389a88e405d1d37f36c16fc0ec96540.js'),
    {
      enterBackground: f,
      enterForeground: g
    } = require('./a3959bb900db9f65ed2e9c5dfa6977b7.js')
  class h extends a.Component {
    constructor(a) {
      super(a)
    }
    componentDidMount() {
      f('addPhoneContact')
    }
    componentWillUnmount() {
      g('addPhoneContact')
    }
    render() {
      const b = this.props,
        {
          photoFilePath: c,
          nickName: f,
          lastName: g,
          middleName: h,
          firstName: i,
          remark: j,
          mobilePhoneNumber: k,
          weChatNumber: l,
          addressCountry: m,
          addressState: n,
          addressCity: o,
          addressStreet: p,
          addressPostalCode: q,
          organization: r,
          title: s,
          workFaxNumber: t,
          workPhoneNumber: u,
          hostNumber: v,
          email: w,
          url: x,
          workAddressCountry: y,
          workAddressState: z,
          workAddressCity: A,
          workAddressStreet: B,
          workAddressPostalCode: C,
          homeFaxNumber: D,
          homePhoneNumber: E,
          homeAddressCountry: F,
          homeAddressState: G,
          homeAddressCity: H,
          homeAddressStreet: I,
          homeAddressPostalCode: J
        } = b.contactData,
        K = a => (a ? `${a}` : '')
      let L
      return (
        (L = global.onlySimulator
          ? {
              top: 0,
              left: 0,
              display: b.show ? '' : 'none',
              width: b.screenWidth,
              height: b.screenHeight,
              transform: `scale(${b.deviceScale})`,
              transformOrigin: '50% 0'
            }
          : {
              display: b.show ? '' : 'none',
              width: b.screenWidth,
              height: b.screenHeight,
              marginLeft: -b.screenWidth / 2,
              transform: `scale(${b.deviceScale})`,
              transformOrigin: '50% 0'
            }),
        a.createElement(
          'div',
          { className: 'simulator', style: L },
          a.createElement(e, null),
          a.createElement(d, {
            frontColor: '#ffffff',
            backgroundColor: '#000000',
            showRightBtn: !0,
            onCustomRightClick: this.onRightButtonClick.bind(this),
            leftBtnText: '\u53D6\u6D88',
            rightBtnText: '\u786E\u5B9A',
            height: b.navigationbarHeight,
            showLeftBtn: !0,
            title: '\u65B0\u5EFA\u8054\u7CFB\u4EBA',
            onLeftBtnClick: this.onLeftButtonClick.bind(this)
          }),
          a.createElement(
            'div',
            { className: 'webview' },
            a.createElement(
              'div',
              { className: 'contact' },
              a.createElement(
                'div',
                { className: 'weui-cells__title' },
                '\u57FA\u672C\u4FE1\u606F'
              ),
              a.createElement(
                'div',
                { className: 'weui-cells weui-cells_form' },
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u6635\u79F0'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(f),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u59D3\u6C0F'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(g),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u4E2D\u95F4\u540D'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(h),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u540D\u5B57'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(i),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u5907\u6CE8'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(j),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u624B\u673A\u53F7'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(k),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u5FAE\u4FE1\u53F7'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(l),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                )
              ),
              a.createElement(
                'div',
                { className: 'weui-cells__title' },
                '\u8054\u7CFB\u5730\u5740'
              ),
              a.createElement(
                'div',
                { className: 'weui-cells weui-cells_form' },
                a.createElement(
                  'div',
                  {
                    className:
                      'weui-cell weui-cell_select weui-cell_select-after'
                  },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { htmlFor: '', className: 'weui-label' },
                      '\u56FD\u5BB6'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement(
                      'select',
                      {
                        disabled: !0,
                        className: 'weui-select',
                        name: 'select2'
                      },
                      a.createElement('option', { value: '1' }, K(m))
                    )
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u7701\u4EFD'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(n),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u57CE\u5E02'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(o),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u8857\u9053'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(p),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u90AE\u653F\u7F16\u7801'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(q),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                )
              ),
              a.createElement(
                'div',
                { className: 'weui-cells__title' },
                '\u5DE5\u4F5C'
              ),
              a.createElement(
                'div',
                { className: 'weui-cells weui-cells_form' },
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u516C\u53F8'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(r),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u804C\u4F4D'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(s),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u5DE5\u4F5C\u4F20\u771F'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(t),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u5DE5\u4F5C\u7535\u8BDD'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(t),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u516C\u53F8\u7535\u8BDD'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(v),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u7535\u5B50\u90AE\u4EF6'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(w),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u7F51\u7AD9'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(x),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                )
              ),
              a.createElement(
                'div',
                { className: 'weui-cells__title' },
                '\u5DE5\u4F5C\u5730\u5740'
              ),
              a.createElement(
                'div',
                { className: 'weui-cells weui-cells_form' },
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u56FD\u5BB6'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(y),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u7701\u4EFD'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(z),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u57CE\u5E02'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(A),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u8857\u9053'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(B),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u90AE\u653F\u7F16\u7801'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(C),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                )
              ),
              a.createElement(
                'div',
                { className: 'weui-cells__title' },
                '\u4F4F\u5B85'
              ),
              a.createElement(
                'div',
                { className: 'weui-cells weui-cells_form' },
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u4F20\u771F'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(D),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u7535\u8BDD'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: E,
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u56FD\u5BB6'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(F),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u7701\u4EFD'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(G),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u57CE\u5E02'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(H),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u8857\u9053'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(I),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                ),
                a.createElement(
                  'div',
                  { className: 'weui-cell' },
                  a.createElement(
                    'div',
                    { className: 'weui-cell__hd' },
                    a.createElement(
                      'label',
                      { className: 'weui-label' },
                      '\u90AE\u653F\u7F16\u7801'
                    )
                  ),
                  a.createElement(
                    'div',
                    { className: 'weui-cell__bd' },
                    a.createElement('input', {
                      value: K(J),
                      readOnly: !0,
                      className: 'weui-input',
                      type: 'text'
                    })
                  )
                )
              )
            )
          )
        )
      )
    }
    onLeftButtonClick() {
      this.props.hideAddPhoneContact &&
        this.props.hideAddPhoneContact.call(null, {
          confirm: !1,
          callbackID: this.props.callbackID,
          api: this.props.api
        })
    }
    onRightButtonClick() {
      this.props.hideAddPhoneContact &&
        this.props.hideAddPhoneContact.call(null, {
          confirm: !0,
          callbackID: this.props.callbackID,
          api: this.props.api
        })
    }
  }
  module.exports = h
})(require('lazyload'), require)
