require("../sub-vendors.js"), (wx.webpackJsonp = wx.webpackJsonp || []).push([
  [9565], {
    3886: function (n, a, e) {
      var t = e(4160),
        i = e(5652),
        r = e(2555),
        c = e(2573),
        o = e.n(c),
        l = e(4269),
        s = e(1209),
        u = e(3816),
        f = e(7422),
        g = e(4911),
        d = e(6070),
        h = function () {
          (0, c.useReady)((function () {
            (0, c.showToast)({
              title: "登录中...",
              icon: "none"
            }), a()
          }));
          var n = function () {
              var n = (0, r.A)((0, i.A)().m((function n() {
                var a;
                return (0, i.A)().w((function (n) {
                  for (;;) switch (n.n) {
                    case 0:
                      a = "https://ai-alimebot.lydaas.com/intl/index.htm?from=Jp2JQIj08T&spm=".concat(f.A.spmA, ".").concat("alicarelanding", ".button.dlogin"), g.A.navTo(a, {}, {
                        redirect: !0
                      });
                    case 1:
                      return n.a(2)
                  }
                }), n)
              })));
              return function () {
                return n.apply(this, arguments)
              }
            }(),
            a = function () {
              u.A.isLogin().then((function (a) {
                a ? n() : u.A.login().then(function () {
                  var a = (0, r.A)((0, i.A)().m((function a(e) {
                    return (0, i.A)().w((function (a) {
                      for (;;) switch (a.n) {
                        case 0:
                          null != e && e.success ? n() : (0, c.showToast)({
                            title: "登录失败，请稍后重试",
                            icon: "none"
                          });
                        case 1:
                          return a.a(2)
                      }
                    }), a)
                  })));
                  return function (n) {
                    return a.apply(this, arguments)
                  }
                }())
              }))
            };
          return (0, d.jsxs)(l.Ss, {
            className: "alicare-landing-container bui-default-light",
            children: [(0, d.jsx)(l.EY, {
              className: "alicare-landing-tip",
              children: "点击登录后，即可咨询麦小蜜哦～"
            }), (0, d.jsx)(s.A, {
              className: "alicare-landing-login-btn",
              variant: "contained",
              color: "primary",
              size: "full",
              onClick: function () {
                a()
              },
              children: "立即登录"
            }), (0, d.jsx)(s.A, {
              className: "alicare-landing-no-login-btn",
              variant: "text",
              onClick: function () {
                getCurrentPages().length > 1 ? o().navigateBack({
                  delta: 1
                }) : o().exitMiniProgram()
              },
              children: "暂不登录"
            })]
          })
        };
      h.enableShareAppMessage = !0, Page((0, t.eU)(h, "subPackages/alicare-landing/index", {
        root: {
          cn: []
        }
      }, {
        enablePullDownRefresh: !1,
        enableShareAppMessage: !0,
        navigationBarTitleText: "大麦",
        navigationBarTextStyle: "black",
        backgroundTextStyle: "light",
        navigationBarBackgroundColor: "#ffffff"
      } || {}))
    }
  },
  function (n) {
    n.O(0, [6907, 8096, 2076], (function () {
      return a = 3886, n(n.s = a);
      var a
    })), n.O()
  }
]);
