text: (function(e, n, o) {
    var t = 'https://mi.qiangka.com/api', r = {}, a = {
      getAdvInfo: t + '/open/adv/',
      getBroadBandInfo: t + '/open/adv/getBroadBandInfo/',
      statisticsCount: t + '/open/adv/statisticsCount/',
      errorOorderSubmit: t + '/open/v1/orderTrade/errorOorderSubmit',
      summitOrder: + '/home/public/index.php/index/Receive/xingka_access?r=order_submit.php',
      queryPhone: '/home/api/selectPhones',
      smsUrl: 'https://mi.qiangka.com/dianxin_c1/sendSms.php?',
      staticFile: t + '/open',
      get: function(e, o, t, r) {
        n.ajax({
          url: e, method: 'GET', data: o, dataType: 'json', success: function(e) {
            t(e)
          }, error: function(e, n, o) {
            'function' == typeof r ? r(n, o) : (console.log('status:' + n), console.log('error:' + o))
          }
        })
      },
      post: function(e, o, t, a) {
        if (!r[e]) {
          r[e] = 1
          n.ajax({
            url: e,
            method: 'POST',
            data: o,
            dataType: 'json',
            contentType: 'application/json; charset=utf-8',
            success: function(n) {
              t(n), r[e] = null
            },
            error: function(n, o, t) {
              'function' == typeof a ? a(n,o, t) : (console.log('status:' + o), console.log('error:' + t)), r[e] = null
            }
          })
        }
      },
      getQuery: function(e) {
        return location.href.match(new RegExp('[?#&]' + e + '=([^?#&]+)', 'i')) ? RegExp.$1 : ''
      },
      getLang: function() {
        var e = ['en', 'zh'], n = this.getQuery('lang')
        if (n && e.indexOf(n) > -1) return n
        var o = Cookie.get('locale')
        if (o) return o.indexOf('zh') > -1 ? 'zh' : 'en'
        try {
          var t = navigator.browserLanguage ? navigator.browserLanguage : navigator.languages[0]
          return t.indexOf('zh') > -1 ? 'zh' : 'en'
        } catch (e) {
          return 'zh'
        }
      }
    }
    e.Api || (e.Api = {}), n.extend(e.Api, a)
  })(window, jQuery)
  