! function e(t, n, r) {
function i(s, a) {
if (!n[s]) {
if (!t[s]) {
var u = "function" == typeof require && require;
if (!a && u) return u(s, !0);
if (o) return o(s, !0);
var l = new error("cannot find module '" + s + "'");
throw l.code = "module_not_found", l
}
var c = n[s] = {
exports: {}
};
t[s][0].call(c.exports, function (e) {
var n = t[s][1][e];
return i(n ? n : e)
}, c, c.exports, e, t, n, r)
}
return n[s].exports
}
for (var o = "function" == typeof require && require, s = 0; s < r.length; s++) i(r[s]);
return i
}({
1: [function (e, t, n) {
"use strict";
var r = {
getquerystring: function (e) {
$(".g-bd").css("min-height", $(window).height() - $(".g-hd").height() - $(".g-ft").height());
var t = new regexp("(^|&)" + e + "=([^&]*)(&|$)", "i"),
n = window.location.search.substr(1).match(t);
return null != n ? encodeuri(n[2]) : null
},
userinfo: null,
islogin: function (e, t) {
$.ajax({
type: "get",
async: !1,
url: "./index.php?g=user&m=login&a=ajaxcheck",
datatype: "json",
success: function (t) {
e && e(t)
},
error: function () {
t && t()
}
})
},
getthumbs: function (e, t, n) {
$.ajax({
type: "get",
url: "./index.php?g=portal&m=favorites&a=do_like",
datatype: "json",
data: {
id: e
},
success: function (e) {
t && t(e)
},
error: function () {
n && n()
}
})
},
cancelthumbs: function (e, t, n) {
$.ajax({
type: "get",
url: "./index.php?g=portal&m=favorites&a=undo_like",
datatype: "json",
data: {
id: e
},
success: function (e) {
t && t(e)
},
error: function () {
n && n()
}
})
},
getcollection: function (e, t, n) {
$.ajax({
type: "get",
url: "./index.php?g=portal&m=collection&a=do_collection",
datatype: "json",
data: {
id: e
},
success: function (e) {
t && t(e)
},
error: function () {
n && n()
}
})
},
cancelcollection: function (e, t, n) {
$.ajax({
type: "get",
url: "./index.php?g=portal&m=collection&a=undo_collection",
datatype: "json",
data: {
id: e
},
success: function (e) {
t && t(e)
},
error: function () {
n && n()
}
})
}
};
t.exports = r
}, {}],
2: [function (e, t, n) {
"use strict";
t.exports = function () {
$(".g-bd").css("min-height", $(window).height() - $("#g-hd").height() - $("#g-ft").height()), $(window).resize(function () {
$(".g-bd").css("min-height", $(window).height() - $("#g-hd").height() - $("#g-ft").height())
}), $("#g-ft .wx_icon").mouseover(function () {
$("#g-ft .code").show()
}), $("#g-ft .wx_icon").mouseout(function () {
$("#g-ft .code").hide()
})
}
}, {}],
3: [function (e, t, n) {
"use strict";
var r = e("./base.js");
t.exports = function () {
function e() {
$("#login_code img").prop("src", "./index.php?g=api&m=checkcode&a=index&t=" + math.random())
}
return $("#login_inter").click(function () {
$("#black, #login_box").show()
}), $("#login_close").click(function () {
$("#black, #login_box").hide(), $("#username,#userpsw").val("")
}), e(), $("#code_change").click(function () {
e()
}), r.islogin(function (e) {
e.status ? ($(".live_btn").css("right", "275px"), r.userinfo = e.userinfo, $("#login_info, #g-hd #publish_btn, #g-hd #fav_btn").show(), $("#login_info .name").text(e.userinfo.username), $("#login_info .head").attr("src", e.userinfo.avatar), $("#login_inter").hide(), $("#fav_btn,#login_info .name").click(function () {
window.open(e.center_url)
}), 3 == e.userinfo.level ? ($("#login_info .root").show(), $("#login_info .root").attr("src", "./themes/simplebootx/public/images/index/big_m.png")) : 2 == e.userinfo.level ? ($("#login_info .root").show(), $("#login_info .root").attr("src", "./themes/simplebootx/public/images/index/big_v.png")) : $("#login_info .root").hide()) : ($("#login_info, #g-hd #publish_btn, #g-hd #fav_btn").hide(), $("#login_inter").show())
}), $("#login_btn").click(function () {
var t = $("#username").val(),
n = $("#userpsw").val(),
r = $("#usercode").val(),
i = $("#autologin").is(":checked");
var username, password
if (typeof rsakey !== 'undefined') {
var rsa = new rsakey();
var modulus = "d1d12730837cde644118bcaf8a2b729890e8788840fc63c0f51507c6eddbe9c5b0c5b29874fdc6adbaab77671040dd692bdcfa7e5306e1391795ae4fbb10ce57462e75ce904b42825cf6740904dccebc58b74b7030af1981d50e5c73bcb3ac031941fab8294c38747e6518af51fa8fa007b4e6ab456644a3418a6065cefbd095";
var exponent = "10001";
rsa.setpublic(modulus, exponent);
username = rsa.encrypt(t);
password = rsa.encrypt(n);
}
else {
username = t
password = n
}
return "" !== t && ("" !== n && ("" !== r && void $.ajax({
type: "get",
url: "./index.php?g=user&m=login&a=dologin",
datatype: "json",
data: {
username: username,
password: password,
remember: i,
verify: r
},
success: function (t) {
"";
alert(t.info), t.status ? window.location.reload() : e()
}
})))
}), $("#login_exit").click(function () {
$.ajax({
type: "get",
url: "./index.php?g=user&m=login&a=logout",
datatype: "json",
success: function (e) {
alert(e.info), e.status && window.location.reload()
}
})
}), {
base: r
}
}
}, {
"./base.js": 1
}],
4: [function (e, t, n) {
"use strict";
var r = e("jquery"),
i = e("./common/nav"),
o = e("./common/foot"),
s = e("./common/base");
e("unslider");
r(function () {
i(), o(), r(".m-swiper").unslider({
dots: !0
}), r(".m-detail .btn").click(function () {
var e = r(this).attr("data-type"),
t = r(this).attr("class").split(" ")[2];
t ? (r("." + e).hide(), r(this).removeclass("btn_zrt")) : (r("." + e).show().siblings(".list").hide(), r(this).addclass("btn_zrt").siblings(".btn").removeclass("btn_zrt"))
});
var e = decodeuri(decodeuri(s.getquerystring("id"))),
t = null;
r("#docollect").click(function () {
s.getcollection(e, function (e) {
if (1 == e.status) {
var n = '';
r("#icollect").html(n), t = !0, alert("你已成功收藏")
}
})
}), r("#undocollect").click(function () {
s.cancelcollection(e, function (e) {
if (1 == e.status) {
var n = '
';
r("#icollect").html(n), t = !1, alert("你已成功取消收藏")
}
})
}), r("#icollect").click(function () {
null != t && (1 == t ? s.cancelcollection(e, function (e) {
if (1 == e.status) {
var n = '
';
r("#icollect").html(n), t = !1, alert("你已成功取消收藏")
}
}) : 0 == t && s.getcollection(e, function (e) {
if (1 == e.status) {
var n = '
';
r("#icollect").html(n), t = !0, alert("你已成功收藏")
}
}))
})
})
}, {
"./common/base": 1,
"./common/foot": 2,
"./common/nav": 3,
jquery: 5,
unslider: 6
}],
5: [function (e, t, n) {
(function (e) {
(function (e, t, n, r, i) {
"use strict";
var o = "function" == typeof symbol && "symbol" == typeof symbol.iterator ? function (e) {
return typeof e
} : function (e) {
return e && "function" == typeof symbol && e.constructor === symbol ? "symbol" : typeof e
};
! function (e, t) {
function n(e) {
var t = e.length,
n = ce.type(e);
return !ce.iswindow(e) && (!(1 !== e.nodetype || !t) || ("array" === n || "function" !== n && (0 === t || "number" == typeof t && t > 0 && t - 1 in e)))
}
function i(e) {
var t = ke[e] = {};
return ce.each(e.match(de) || [], function (e, n) {
t[n] = !0
}), t
}
function s(e, n, r, i) {
if (ce.acceptdata(e)) {
var s, a, u = ce.expando,
l = "string" == typeof n,
c = e.nodetype,
f = c ? ce.cache : e,
d = c ? e[u] : e[u] && u;
if (d && f[d] && (i || f[d].data) || !l || r !== t) return d || (c ? e[u] = d = te.pop() || ce.guid++ : d = u), f[d] || (f[d] = {}, c || (f[d].tojson = ce.noop)), ("object" == ("undefined" == typeof n ? "undefined" : o(n)) || "function" == typeof n) && (i ? f[d] = ce.extend(f[d], n) : f[d].data = ce.extend(f[d].data, n)), s = f[d], i || (s.data || (s.data = {}), s = s.data), r !== t && (s[ce.camelcase(n)] = r), l ? (a = s[n], null == a && (a = s[ce.camelcase(n)])) : a = s, a
}
}
function a(e, t, n) {
if (ce.acceptdata(e)) {
var r, i, o, s = e.nodetype,
a = s ? ce.cache : e,
u = s ? e[ce.expando] : ce.expando;
if (a[u]) {
if (t && (o = n ? a[u] : a[u].data)) {
ce.isarray(t) ? t = t.concat(ce.map(t, ce.camelcase)) : t in o ? t = [t] : (t = ce.camelcase(t), t = t in o ? [t] : t.split(" "));
for (r = 0, i = t.length; i > r; r++) delete o[t[r]];
if (!(n ? l : ce.isemptyobject)(o)) return
}(n || (delete a[u].data, l(a[u]))) && (s ? ce.cleandata([e], !0) : ce.support.deleteexpando || a != a.window ? delete a[u] : a[u] = null)
}
}
}
function u(e, n, r) {
if (r === t && 1 === e.nodetype) {
var i = "data-" + n.replace(se, "-$1").tolowercase();
if (r = e.getattribute(i), "string" == typeof r) {
try {
r = "true" === r || "false" !== r && ("null" === r ? null : +r + "" === r ? +r : ee.test(r) ? ce.parsejson(r) : r)
} catch (e) {}
ce.data(e, n, r)
} else r = t
}
return r
}
function l(e) {
var t;
for (t in e)
if (("data" !== t || !ce.isemptyobject(e[t])) && "tojson" !== t) return !1;
return !0
}
function c() {
return !0
}
function f() {
return !1
}
function d(e, t) {
do e = e[t]; while (e && 1 !== e.nodetype);
return e
}
function p(e, t, n) {
if (t = t || 0, ce.isfunction(t)) return ce.grep(e, function (e, r) {
var i = !!t.call(e, r, e);
return i === n
});
if (t.nodetype) return ce.grep(e, function (e) {
return e === t === n
});
if ("string" == typeof t) {
var r = ce.grep(e, function (e) {
return 1 === e.nodetype
});
if (xe.test(t)) return ce.filter(t, r, !n);
t = ce.filter(t, r)
}
return ce.grep(e, function (e) {
return ce.inarray(e, t) >= 0 === n
})
}
function h(e) {
var t = qe.split("|"),
n = e.createdocumentfragment();
if (n.createelement)
for (; t.length;) n.createelement(t.pop());
return n
}
function g(e, t) {
return e.getelementsbytagname(t)[0] || e.appendchild(e.ownerdocument.createelement(t))
}
function m(e) {
var t = e.getattributenode("type");
return e.type = (t && t.specified) + "/" + e.type, e
}
function y(e) {
var t = st.exec(e.type);
return t ? e.type = t[1] : e.removeattribute("type"), e
}
function v(e, t) {
for (var n, r = 0; null != (n = e[r]); r++) ce._data(n, "globaleval", !t || ce._data(t[r], "globaleval"))
}
function b(e, t) {
if (1 === t.nodetype && ce.hasdata(e)) {
var n, r, i, o = ce._data(e),
s = ce._data(t, o),
a = o.events;
if (a) {
delete s.handle, s.events = {};
for (n in a)
for (r = 0, i = a[n].length; i > r; r++) ce.event.add(t, n, a[n][r])
}
s.data && (s.data = ce.extend({}, s.data))
}
}
function x(e, t) {
var n, r, i;
if (1 === t.nodetype) {
if (n = t.nodename.tolowercase(), !ce.support.nocloneevent && t[ce.expando]) {
i = ce._data(t);
for (r in i.events) ce.removeevent(t, r, i.handle);
t.removeattribute(ce.expando)
}
"script" === n && t.text !== e.text ? (m(t).text = e.text, y(t)) : "object" === n ? (t.parentnode && (t.outerhtml = e.outerhtml), ce.support.html5clone && e.innerhtml && !ce.trim(t.innerhtml) && (t.innerhtml = e.innerhtml)) : "input" === n && rt.test(e.type) ? (t.defaultchecked = t.checked = e.checked, t.value !== e.value && (t.value = e.value)) : "option" === n ? t.defaultselected = t.selected = e.defaultselected : ("input" === n || "textarea" === n) && (t.defaultvalue = e.defaultvalue)
}
}
function w(e, n) {
var r, i, s = 0,
a = o(e.getelementsbytagname) !== y ? e.getelementsbytagname(n || "*") : o(e.queryselectorall) !== y ? e.queryselectorall(n || "*") : t;
if (!a)
for (a = [], r = e.childnodes || e; null != (i = r[s]); s++) !n || ce.nodename(i, n) ? a.push(i) : ce.merge(a, w(i, n));
return n === t || n && ce.nodename(e, n) ? ce.merge([e], a) : a
}
function t(e) {
rt.test(e.type) && (e.defaultchecked = e.checked)
}
function c(e, t) {
if (t in e) return t;
for (var n = t.charat(0).touppercase() + t.slice(1), r = t, i = et.length; i--;)
if (t = et[i] + n, t in e) return t;
return r
}
function n(e, t) {
return e = t || e, "none" === ce.css(e, "display") || !ce.contains(e.ownerdocument, e)
}
function k(e, t) {
for (var n, r, i, o = [], s = 0, a = e.length; a > s; s++) r = e[s], r.style && (o[s] = ce._data(r, "olddisplay"), n = r.style.display, t ? (o[s] || "none" !== n || (r.style.display = ""), "" === r.style.display && n(r) && (o[s] = ce._data(r, "olddisplay", a(r.nodename)))) : o[s] || (i = n(r), (n && "none" !== n || !i) && ce._data(r, "olddisplay", i ? n : ce.css(r, "display"))));
for (s = 0; a > s; s++) r = e[s], r.style && (t && "none" !== r.style.display && "" !== r.style.display || (r.style.display = t ? o[s] || "" : "none"));
return e
}
function e(e, t, n) {
var r = bt.exec(t);
return r ? math.max(0, r[1] - (n || 0)) + (r[2] || "px") : t
}
function s(e, t, n, r, i) {
for (var o = n === (r ? "border" : "content") ? 4 : "width" === t ? 1 : 0, s = 0; 4 > o; o += 2) "margin" === n && (s += ce.css(e, n + kt[o], !0, i)), r ? ("content" === n && (s -= ce.css(e, "padding" + kt[o], !0, i)), "margin" !== n && (s -= ce.css(e, "border" + kt[o] + "width", !0, i))) : (s += ce.css(e, "padding" + kt[o], !0, i), "padding" !== n && (s += ce.css(e, "border" + kt[o] + "width", !0, i)));
return s
}
function j(e, t, n) {
var r = !0,
i = "width" === t ? e.offsetwidth : e.offsetheight,
o = dt(e),
s = ce.support.boxsizing && "border-box" === ce.css(e, "boxsizing", !1, o);
if (0 >= i || null == i) {
if (i = pt(e, t, o), (0 > i || null == i) && (i = e.style[t]), xt.test(i)) return i;
r = s && (ce.support.boxsizingreliable || i === e.style[t]), i = parsefloat(i) || 0
}
return i + s(e, t, n || (s ? "border" : "content"), r, o) + "px"
}
function a(e) {
var t = j,
n = tt[e];
return n || (n = d(e, t), "none" !== n && n || (ft = (ft || ce("").css("csstext", "display:block !important")).appendto(t.documentelement), t = (ft[0].contentwindow || ft[0].contentdocument).document, t.write("
t |