//Thu May 29 2025 08:16:12 GMT+0000 (Coordinated Universal Time) //Base:https://github.com/echo094/decode-js //Modify:https://github.com/smallfawn/decode_action var EC = { "isSlid": true, "Width": $(window).width(), "Init": function () { EC.Init.LazyLoad = new LazyLoad({}); EC.Style.Footer(); $(".gen-search").click(function () { $(".pop-1").addClass("show").siblings(".box-bg2").show(); $("body").css({ "height": "100%", "width": "100%", "overflow": "hidden" }); }); $(".gen-history").click(function () { $(".pop-2").addClass("show").siblings(".box-bg2").show(); EC.Init.LazyLoad.update(); $("body").css({ "height": "100%", "width": "100%", "overflow": "hidden" }); }); $(".pop-bj").click(function () { $(".pop-list-body").removeClass("show").siblings(".box-bg2").hide(); $("body").css({ "height": "", "width": "", "overflow": "" }); }); $(".pop-2 span").click(function () { $(this).addClass("on").siblings().removeClass("on"); let _0x2a0be0 = $(".pop-2 span").index(this), _0x4fe4c1 = $(".history").eq(_0x2a0be0); _0x4fe4c1.fadeIn(800).siblings().hide(); _0x4fe4c1.addClass("check").siblings().removeClass("check"); if (EC.Empty(EC.Cookie.Get("user_id"))) { $(".user-history").html("
\""" + language["0"] + "
" + "" + language["1"] + ""); } else $(".user-history li").length === 0 && EC.Ajax(maccms.path + "/index.php/api/history", "post", "json", "", function (_0x3d6181) { if (_0x3d6181.code === 1) { { let _0x5364ef = ""; $.each(_0x3d6181.list, function (_0x58b1b2, _0x2d5569) { _0x5364ef += "
  • \""" + "
    " + _0x2d5569.data.name + "
    " + _0x2d5569.data.type.type_name + "
  • "; }); $(".user-history ul").html(_0x5364ef); EC.Init.LazyLoad.update(); Number($(".lang-bnt").length) === 1 && zh_tranBody(); } } else $(".user-history ul").html(EC.History.Msg); }); }); $(".user-share-button").click(function () { EC.Pop.Show($(".user-share-html").html(), language["3"], function () {}); }); setTimeout(function () { $(".gen-loading").fadeOut("slow"); }, 200); $(".head-more-a").hover(function () { $(".nav-more").html(""); $(".head-more").show(); }, function () { $(".nav-more").html(""); $(".head-more").hide(); }); let _0x314e31 = null, _0xc6cc19 = $(".head"), _0x136af1 = $(".row-2 .tim-box"), _0x51494c = null; _0xc6cc19.length > 0 && (_0x314e31 = _0xc6cc19.offset().top); _0x136af1.length > 0 && (_0x51494c = _0x136af1.eq(_0x136af1.length - 1).offset().top); $(window).scroll(EC.debounce(function () { let _0x5f3b75 = $(this).scrollTop(); _0xc6cc19.toggleClass("head-b", _0x5f3b75 > _0x314e31).css("position", _0x5f3b75 > _0x314e31 ? "fixed" : ""); _0x5f3b75 > 300 ? $(".top").fadeIn(600) : $(".top").fadeOut(600); _0x5f3b75 > _0x51494c ? _0x136af1.eq(_0x136af1.length - 1).css({ "position": "fixed", "top": "100px", "width": $(".row-2").width() }) : _0x136af1.eq(_0x136af1.length - 1).css({ "position": "", "top": "", "width": "" }); }, 50)); $(".top").click(function () { $("html,body").animate({ "scrollTop": 0 }, 500); _0xc6cc19.removeClass("head-b").css({ "position": "" }); }); if (Number($(".slid-e").length) === 1) { let _0x6f8487 = new Swiper(".swiper3", { "loop": true, "slidesPerView": 1, "pagination": { "el": ".swiper-pagination" }, "on": { "slideChangeTransitionStart": function () { _0x327bc1(); $(".muted").off("click"); $(".toReplay").off("click"); $(".slid-e-video").removeClass("v-show"); $(".slid-e-bj").removeClass("v-hidden"); }, "slideChangeTransitionEnd": function () { $(".wap-hide").is(":hidden") == false && EC.isSlid && (EC.isSlid = false, setTimeout(function () { EC.isSlid = true; _0x2eec86(); }, 1000)); } } }); function _0x327bc1() { let _0x1aae48 = Array.from(document.getElementsByClassName("preview")); for (let _0x7f6eb8 = 0; _0x7f6eb8 < _0x1aae48.length; _0x7f6eb8++) { const _0x32dbbb = _0x1aae48[_0x7f6eb8]; _0x32dbbb.pause(); _0x32dbbb.currentTime = 0; } } let _0x5829c6 = 0; function _0x2eec86() { let _0x246170 = document.querySelector(".slid-e").querySelector(".swiper-slide-active").querySelector("video"), _0x437bcc = $(".slid-e .swiper-slide-active"); ~~_0x246170.duration > 10 ? (_0x437bcc.find(".slid-e-video").addClass("v-show"), _0x437bcc.find(".slid-e-bj").addClass("v-hidden"), _0x246170.muted ? $(".muted .fa").removeClass("ds-shengyin").addClass("ds-liulan") : $(".muted .fa").removeClass("ds-liulan").addClass("ds-shengyin"), $(".muted").click(function () { { if (_0x246170.muted) $(".muted .fa").removeClass("ds-liulan").addClass("ds-shengyin"), _0x246170.muted = false, _0x5829c6 = 1;else { $(".muted .fa").removeClass("ds-shengyin").addClass("ds-liulan"); _0x246170.muted = true; _0x5829c6 = 0; } } }), _0x5829c6 === 1 && ($(".muted .fa").removeClass("ds-liulan").addClass("ds-shengyin"), _0x246170.muted = false), $(".toReplay").click(function () { _0x437bcc.find(".slid-e-video").addClass("v-show"); _0x437bcc.find(".slid-e-bj").addClass("v-hidden"); _0x246170.currentTime = 0; _0x246170.play(); }), _0x246170.play(), _0x246170.addEventListener("ended", function () { _0x437bcc.find(".slid-e-video").removeClass("v-show"); _0x437bcc.find(".slid-e-bj").removeClass("v-hidden"); _0x6f8487.slideNext(); })) : setTimeout(function () { _0x6f8487.slideNext(); }, 6000); } } let _0x4489f3 = $("#height_limit"); _0x4489f3.height() >= 80 && (_0x4489f3.addClass("occlusion"), $(".text-open").show()); $(".tim-bnt").click(function () { _0x4489f3.hasClass("height_rel") ? ($(".tim-bnt").html("" + language["4"]), _0x4489f3.removeClass("height_rel"), _0x4489f3.addClass("occlusion")) : ($(".tim-bnt").html("" + language["4"]), _0x4489f3.addClass("height_rel"), _0x4489f3.removeClass("occlusion")); }); EC.Swiper.Navs(); EC.Swiper.Slide(); EC.Swiper.Roll(); EC.Actor.Detail(); $(".gen-left-list").click(function () { let _0x553d0d = $(".head-more").html(), _0x4dc890 = "bold0", _0x57f48b = "wap-show1", _0x175ad8 = $(".head-nav"); _0x175ad8.hasClass("bold1") && (_0x4dc890 = "bold1"); if (_0x175ad8.hasClass("wap-show0")) { _0x57f48b = "wap-show0"; } EC.Pop.Drawer("
    " + _0x553d0d + "
    ", function () { let _0x3a8930 = $(".gen-account-menu").html(); $(".drawer-list-box").prepend("
    " + _0x3a8930 + "
    "); }); }); $(".playBut").click(function () { let _0x2a2bf1 = $(this).attr("data-url"); $(".play-advance .topfadeInUp").html(""); $(".play-advance").show(); }); $(".play-advance .box-bg,.play-advance .mfp-close").click(function () { let _0x2d2b0d = document.getElementById("xkPlayer"); _0x2d2b0d.currentTime = 0; _0x2d2b0d.pause(); $(".play-advance").hide(); $(".mfp-iframe").remove(); }); $(".deployment").click(function () { { let _0x39e728 = $(".info-parameter").html(); EC.Pop.Drawer(_0x39e728, function () { $(".drawer-list-box").addClass("drawer-list-b bj3"); $(document).on("click", ".drawer-of", function () { EC.Pop.DrawerDel(); }); }); } }); $(".wap-diy-vod-e .vod-link").hover(function () { $(this).addClass("box"); $(this).children(".vod-no-dom-show").hide(); $(this).children(".vod-no-dom").show(); }, function () { $(this).removeClass("box"); $(this).children(".vod-no-dom-show").show(); $(this).children(".vod-no-dom").hide(); }); $("#BuyPopEdom").click(function () { { let _0x49b920 = $(this); _0x49b920.attr("data-id") && confirm(language["6"]) && EC.Ajax(maccms.path + "/index.php/user/ajax_buy_popedom.html?id=" + _0x49b920.attr("data-id") + "&mid=" + _0x49b920.attr("data-mid") + "&sid=" + _0x49b920.attr("data-sid") + "&nid=" + _0x49b920.attr("data-nid") + "&type=" + _0x49b920.attr("data-type"), "get", "json", "", function (_0x34cbd7) { _0x49b920.addClass("disabled"); _EC.Pop.Msg(_0x34cbd7.msg); Number(_0x34cbd7.code) === 1 && top.location.reload(); _0x49b920.removeClass("disabled"); }); } }); $("#check").click(function () { let _0x479f8c = $(this); _0x479f8c.attr("data-id") && EC.Ajax(maccms.path + "/index.php/ajax/pwd.html?id=" + _0x479f8c.attr("data-id") + "&mid=" + _0x479f8c.attr("data-mid") + "&type=" + _0x479f8c.attr("data-type") + "&pwd=" + _0x479f8c.parents("form").find("input[name=\"pwd\"]").val(), "get", "json", "", function (_0x56c6cd) { _0x479f8c.addClass("disabled"); _EC.Pop.Msg(_0x56c6cd.msg); Number(_0x56c6cd.code) === 1 && location.reload(); _0x479f8c.removeClass("disabled"); }); }); switch (maccms.aid) { case "12": case "11": let _0x49034e = $("#dataList"); if (_0x49034e.length > 0) { let _0x4f4d23 = _0x49034e.data(), _0x5c434e = { "type": _0x4f4d23.type, "class": _0x4f4d23.class, "area": _0x4f4d23.area, "lang": _0x4f4d23.lang, "version": _0x4f4d23.version, "state": _0x4f4d23.state, "letter": _0x4f4d23.letter }; $(".ec-casc-list .swiper-slide").click(function () { $(this).addClass("nav-dt").siblings().removeClass("nav-dt"); EC.Swiper.Navs(); _0x5c434e[$(this).data("type")] = $(this).data("val"); if (EC.Empty($(this).data("type"))) return; _0x49034e.html(""); HTML.Skeleton(_0x49034e, 3, _0x4f4d23.tpl); EC.flow.get(_0x5c434e, _0x49034e, _0x4f4d23, function () {}); }); $(".site-tabs a").click(function () { $(this).addClass("active").siblings().removeClass("active"); if (Number($("#dataList .null").length) === 1) return; _0x5c434e.by = $(this).data("type"); _0x49034e.html(""); HTML.Skeleton(_0x49034e, 3, _0x4f4d23.tpl); EC.flow.get(_0x5c434e, _0x49034e, _0x4f4d23, function () {}); }); HTML.Skeleton(_0x49034e, 3, _0x4f4d23.tpl); _0x5c434e[$(this).data("type")] = $(this).data("val"); EC.flow.get(_0x5c434e, _0x49034e, _0x4f4d23, function () {}); } break; case "14": case "104": case "15": $(".anthology-tab a").click(function () { { $(this).addClass("on nav-dt").siblings().removeClass("on nav-dt"); let _0x1ef41d = $(".anthology-tab a").index(this), _0x5752eb = $(".anthology-list .none").eq(_0x1ef41d); _0x5752eb.fadeIn(800).siblings().hide(); _0x5752eb.addClass("dx").siblings().removeClass("dx"); EC.Swiper.Navs(); } }); $("#zxdaoxu").each(function () { $(this).on("click", function (_0x447e1d) { _0x447e1d.preventDefault(); $(".dx").each(function () { let _0x537e00 = $(this).find("li"); for (let _0x473c36 = 0, _0x45590c = _0x537e00.length - 1; _0x473c36 < _0x45590c;) { let _0x9105f8 = _0x537e00.eq(_0x473c36).clone(true), _0x353c7b = _0x537e00.eq(_0x45590c).replaceWith(_0x9105f8); _0x537e00.eq(_0x473c36).replaceWith(_0x353c7b); ++_0x473c36; --_0x45590c; } }); }); }); $("#role .public-list-box").click(function () { { let _0x3a68a9 = $(this).index(), _0x1e0c8e = $("#role .cor5").eq(_0x3a68a9).text(), _0x1c4bad = $("#role .time-title").eq(_0x3a68a9).text(), _0x10c735 = $("#role .lazy").eq(_0x3a68a9).data(), _0x26a911 = _0x10c735.text; _0x26a911.length < 1 && (_0x26a911 = language["7"]); let _0x1ec399 = "
    \""
    \n" + "

    " + _0x1c4bad + "

    " + _0x1e0c8e + "

    \n" + "

    " + language["8"] + "

    " + _0x26a911 + "
    "; EC.Pop.Show(_0x1ec399, language["9"], function () {}); } }); $(".vod-detail .vod-detail-bnt .button").click(function () { location.href = $(".anthology-list-play a").eq(0).attr("href"); }); $(".player-button-ac").click(function () { $(".anthology-list").toggleClass("player-list-ac"); }); $(".play-tips-bnt").click(function () { $(".tips-box").slideToggle(); $(".charge,.player-share-box").hide(); }); $(".ec-report").click(function () { let _0x2e62f0 = $(this).data(); EC.Gbook.Report(_0x2e62f0); }); $(".charge-button").click(function () { $(".charge").fadeToggle(); $(".player-share-box,.tips-box").hide(); }); $(".player-comment").click(function () { $(".comment-form").length < 1 && (EC.Comment.Login = $(this).data().login, EC.Comment.Verify = $(this).data().verify, EC.Comment.Init(), EC.Comment.Show(1)); }); maccms.player_style && $(".comment-form").length < 1 && (EC.Comment.Login = $(this).data().login, EC.Comment.Verify = $(this).data().verify, EC.Comment.Init(), EC.Comment.Show(1)); $("#expand_details").click(function () { $(".player-vod-box").hide(); $(".player-list-box").hide(); $(".player-details-box").show(); }); $(".player-close").click(function () { $(".player-vod-box").show(); $(".player-list-box").show(); $(".player-details-box").hide(); $(".player-return .none").hide(); $(".player-vod-no1").show(); $(".player-vod-no2").html("
    ").hide(); }); $(".player-vod-no1 .public-list-box").click(function () { $(".player-return .none").show(); $(".player-vod-no1").hide(); $(".player-vod-no2").show(); EC.Ajax(maccms.path + "/index.php/api/actor_vod_player_api?id=" + $(this).attr("data-id"), "get", "json", "", function (_0x446373) { if (Number(_0x446373.code) === 1) { let _0x55d878 = ""; $.each(_0x446373.list, function (_0x4491ca, _0x18ecdc) { _0x55d878 = _0x55d878 + "
    " + "\""\n" + "
    \n" + "
    " + _0x18ecdc.name + "
    "; }); $(".player-vod-no2").html("
    " + _0x446373.html + "
    " + language["11"] + "
    " + _0x55d878 + "
    "); EC.Init.LazyLoad.update(); } else _EC.Pop.Msg(language["12"], "", "error"); }); }); $(".player-return .none").click(function () { $(this).hide(); $(".player-vod-no1").show(); $(".player-vod-no2").html("
    ").hide(); }); if (Number(maccms.jx) === 1) { let _0x1871b4 = $(".line-switch"); EC.player.player_jx(_0x1871b4.attr("data-api"), _0x1871b4.attr("data-url")); $(".vod-playerUrl").click(function () { _0x1871b4.html(""); EC.player.player_jx(_0x1871b4.attr("data-api"), $(this).attr("data-form")); }); $(document).on("click", ".line-switch a", function () { $(this).addClass("bj2").siblings().removeClass("bj2"); maccms.jx_index = $(this).index(); $("#playleft iframe").attr("src", $(this).attr("data-api") + MacPlayer.PlayUrl); _EC.Pop.Msg(language["13"], "", "success"); }); } break; case "4": EC.Gbook.Init(); break; case "24": $(".tim-content img").touchTouch(); let _0x2c9bcf = $(".ds-comment"); if (Number(_0x2c9bcf.length) === 1) { EC.Comment.Login = _0x2c9bcf.data().login; EC.Comment.Verify = _0x2c9bcf.data().verify; EC.Comment.Init(); EC.Comment.Show(1); } break; case "21": let _0x561505 = $("#dataList"); if (_0x561505.length > 0) { let _0x227bfa = _0x561505.data(); HTML.Skeleton(_0x561505, 3, _0x227bfa.tpl); let _0x18dc6f = { "type": _0x227bfa.type }; EC.flow.get(_0x18dc6f, _0x561505, _0x227bfa, function () { EC.Swiper.Roll(); }); } break; case "23": let _0xed8cf5 = $("#dataList"); if (_0xed8cf5.length > 0) { let _0x387d91 = _0xed8cf5.data(); HTML.Skeleton(_0xed8cf5, 3, _0x387d91.tpl); let _0x111027 = { "wd": _0x387d91.type, "tag": _0x387d91.wdtag }; EC.flow.get(_0x111027, _0xed8cf5, _0x387d91, function () { EC.Swiper.Roll(); }); } break; case "84": $(".art-so-tag").click(function () { let _0x27412a = $("#dataList"), _0x529c0b = _0x27412a.data(); _0x27412a.html(""); HTML.Skeleton(_0x27412a, 3, _0x529c0b.tpl); let _0x39c853 = { "wd": _0x529c0b.type, "tag": _0x529c0b.wdtag }; EC.flow.get(_0x39c853, _0x27412a, _0x529c0b, function () { EC.Swiper.Roll(); }); }); break; case "82": let _0x320127 = $("#dataList"); if (_0x320127.length > 0) { { let _0x3c577e = _0x320127.data(), _0x12f5cc = { "type": _0x3c577e.type }; $(".ec-casc-list .swiper-slide").click(function () { $(this).addClass("nav-dt").siblings().removeClass("nav-dt"); EC.Swiper.Navs(); _0x12f5cc[$(this).data("type")] = $(this).data("val"); _0x320127.html(""); HTML.Skeleton(_0x320127, 3, _0x3c577e.tpl); EC.flow.get(_0x12f5cc, _0x320127, _0x3c577e, function () {}); }); HTML.Skeleton(_0x320127, 3, _0x3c577e.tpl); _0x12f5cc[$(this).data("type")] = $(this).data("val"); EC.flow.get(_0x12f5cc, _0x320127, _0x3c577e, function () {}); } } break; case "302": let _0x2dc71c = $("#dataList"); if (_0x2dc71c.length > 0) { { let _0xaa8c90 = _0x2dc71c.data(), _0x22dcec = {}; $(".ec-casc-list .swiper-slide").click(function () { $(".swiper-slide").removeClass("nav-dt"); $(this).addClass("nav-dt"); EC.Swiper.Navs(); _0x22dcec.type = $(this).data("id"); _0x2dc71c.html(""); HTML.Skeleton(_0x2dc71c, 3, _0xaa8c90.tpl); EC.flow.get(_0x22dcec, _0x2dc71c, _0xaa8c90, function () {}); }); HTML.Skeleton(_0x2dc71c, 3, _0xaa8c90.tpl); _0x22dcec[$(this).data("type")] = $(this).data("val"); EC.flow.get(_0x22dcec, _0x2dc71c, _0xaa8c90, function () {}); } } break; } Number(maccms.mid) === 11 && ($(".web-so-btn").click(function () { let _0x265e6a = $(".website-val").val(); if (_0x265e6a) { window.open($(".website-filter-grid .action").attr("data-url") + _0x265e6a); } else _EC.Pop.Msg(language["14"], "", "error"); }), $(".website-filter-grid .icon").click(function () { $(".website-filter-grid .action").removeClass("action"); $(this).addClass("action"); }), $(".togo").click(function () { { let _0x5dff14 = $(this).attr("data-id"), _0x221a4f = $(this).attr("data-mi"); Number(_0x221a4f) === 1 ? _EC.Pop.Msg(language["15"], "", "error") : EC.Ajax(maccms.path + "/index.php/api/website?id=" + _0x5dff14, "get", "json", "", function (_0x59506e) { { if (_0x59506e.smg === 1) EC.Pop.Show("
    " + _0x59506e.data.website_name + "

    " + _0x59506e.data.website_blurb + "

    " + _0x59506e.data.website_content + "

    " + _0x59506e.data.website_tag + "
    ", language["20"], function () {});else { _EC.Pop.Msg(language["15"], "", "error"); } } }); } }), $("#tou_gao").click(function () { if (Number(EC.User.IsLogin) === 0) { EC.User.Login(); return; } EC.Pop.Show("

    " + language["16"] + "

    \n" + "\n" + "
    \n" + "\""
    \n" + "
    ", language["18"], function () { $(".tg-submit").click(function () { EC.Gbook.Tg(); }); }); })); $("#website_user").click(function () { $.ajax({ "url": window.location.href + "&pdw=" + $("#website_password").val(), "type": "post", "dataType": "json", "success": function (_0x5596fe) { Number(_0x5596fe.smg) === 1 ? window.location.replace(_0x5596fe.url) : window.location.replace("https://www.kugou.com/song/#hash=8C1A6044DDF1650A82B42769C47FD645&album_id=501600"); } }); }); $(".jp-download").click(function () { let _0xebfb01 = "

    " + language["21"] + "

    \n" + ""; EC.Pop.Show(_0xebfb01, language["25"], function () { $(document).on("click", ".copyBtn", function () { _EC.Pop.Msg(language["26"], "", "success"); $(".window").remove(); }); }); }); $(".ds-pop").length > 0 && EC.Empty(EC.Cookie.Get("ecPopup")) && (EC.Cookie.Set("ecPopup", 1, 1), $("#notice").show(), $("#notice .box-bg,#notice .button").click(function () { $("#notice").hide(); })); $(".player-switch").click(function () { let _0x4b8fd8 = $(".player"); _0x4b8fd8.hasClass("player-switch-box") ? ($(this).html(""), _0x4b8fd8.removeClass("player-switch-box")) : ($(this).html(""), _0x4b8fd8.addClass("player-switch-box")); }); const _0x5a4566 = " %c 短视主题 by 草根® %c QQ602524950|906259831(严禁利用主题建设违法网站)"; console.log("\n" + _0x5a4566 + "\n", "color: #fadfa3; background: #030307; padding:5px 0; font-size:18px;", "background: #fadfa3; padding:5px 0; font-size:18px;"); if ($(".week-title").length > 0) { let _0x2291dc = ["一", "二", "三", "四", "五", "六", "日"], _0x3393b0 = new Date().getDay(); _0x3393b0 === 0 && (_0x3393b0 = 7); let _0x21882a = $("#week-list" + _0x3393b0), _0x2573e2 = _0x21882a.children(); _0x21882a.show(); $(".week-bj").addClass("week-" + _0x3393b0); $(".week-key" + _0x3393b0).addClass("tim"); let _0x159c3d = $("#dataList"), _0x275c58 = _0x159c3d.data(), _0x375ef5 = { "weekday": _0x2291dc[_0x3393b0 - 1], "num": _0x275c58.num, "by": _0x275c58.by, "type": _0x275c58.type }; HTML.Skeleton(_0x2573e2, 3, "vod"); _0x1bfb33(_0x375ef5, _0x2573e2, _0x275c58); $(".week-title .week-select a").click(function () { { $(this).addClass("tim").siblings().removeClass("tim"); let _0x1da00f = $(this).data(); $(".week-bj").removeClass("week-1 week-2 week-3 week-4 week-5 week-6 week-7").addClass("week-" + _0x1da00f.index); $(".animated").hide(); _0x21882a = $("#week-list" + _0x1da00f.index); _0x21882a.show(); _0x2573e2 = _0x21882a.children(); if (_0x2573e2.html().length > 50) return; _0x375ef5.weekday = _0x1da00f.val; HTML.Skeleton(_0x2573e2, 3, "vod"); _0x1bfb33(_0x375ef5, _0x2573e2, _0x275c58); } }); } function _0x1bfb33(_0x294bab, _0x106d1a, _0x53a1b7) { setTimeout(function () { let _0x44e83b = [], _0x3cc225 = Math.round(new Date() / 1000), _0x5de48c = _0x294bab; _0x5de48c.time = _0x3cc225; _0x5de48c.key = EC.Md5(_0x3cc225); EC.Ajax(_0x53a1b7.api, "post", "json", _0x5de48c, function (_0x46b9c2) { { if (Number(_0x46b9c2.code) === 1) { { _0x44e83b = HTML.Art(_0x46b9c2, _0x53a1b7); if (EC.flow.empty(_0x46b9c2.list.length, _0x106d1a)) return; _0x106d1a.html(_0x44e83b.join("")); EC.Init.LazyLoad.update(); EC.Style.Footer(); $(".lang-bnt").length === 1 && zh_tranBody(); } } else Number(_0x46b9c2.code) === 2 ? $(".flow-more").html(_0x46b9c2.msg) : _EC.Pop.Msg(language["27"] + _0x46b9c2.msg, "", "error"); } }, function () { _EC.Pop.Msg(language["28"], "", "error"); }); }, 100); } }, "Style": { "Init": function () { let _0x2eea7b = $(".theme-style"), _0x842070 = EC.Cookie.Get("ec-wap_style"); !EC.Empty(_0x842070) && ($("body").attr("class", _0x842070), _0x842070 === "theme1" ? _0x2eea7b.html("").attr("data-id", 1) : _0x2eea7b.html("").attr("data-id", 2)); _0x2eea7b.click(function () { EC.Style.Switch(_0x2eea7b); }); }, "Set": function (_0x3ffd71) { EC.Cookie.Set("ec-wap_style", _0x3ffd71); }, "Switch": function (_0x4d5b85) { let _0x11c166 = _0x4d5b85.attr("data-id"); Number(_0x11c166) === 1 ? ($("body").attr("class", "theme2"), _0x4d5b85.html("").attr("data-id", 2), EC.Style.Set("theme2")) : ($("body").attr("class", "theme1"), _0x4d5b85.html("").attr("data-id", 1), EC.Style.Set("theme1")); }, "Footer": function () { $(document.body).height() < $(window).height() ? $(".footer").addClass("footerLess") : $(".footer").removeClass("footerLess"); } }, "Cookie": { "Set": function (_0x4f15b3, _0xa8a3b7, _0x3c2e78) { let _0x580816 = new Date(); _0x580816.setTime(_0x580816.getTime() + _0x3c2e78 * 24 * 60 * 60 * 1000); document.cookie = _0x4f15b3 + "=" + encodeURIComponent(_0xa8a3b7) + ";path=/;expires=" + _0x580816.toUTCString(); }, "Get": function (_0x1a3e87) { let _0x3d9156 = document.cookie.match(new RegExp("(^| )" + _0x1a3e87 + "=([^;]*)(;|$)")); if (_0x3d9156 != null) return decodeURIComponent(_0x3d9156[2]); }, "Del": function (_0x3a402a) { let _0x49675b = new Date(); _0x49675b.setTime(_0x49675b.getTime() - 1); let _0x4c6ab5 = this.Get(_0x3a402a); _0x4c6ab5 != null && (document.cookie = _0x3a402a + "=" + encodeURIComponent(_0x4c6ab5) + ";path=/;expires=" + _0x49675b.toUTCString()); } }, "Empty": function (_0xd119b7) { return _0xd119b7 == null || _0xd119b7 === ""; }, "debounce": function (_0x2ddae6, _0x36917d) { let _0x31c408 = null; return function () { { let _0x2d8e55 = this, _0x44e1f1 = arguments; clearTimeout(_0x31c408); _0x31c408 = setTimeout(function () { _0x2ddae6.apply(_0x2d8e55, _0x44e1f1); }, _0x36917d); } }; }, "GoBack": function () { let _0x3c54cc = document.domain; document.referrer.indexOf(_0x3c54cc) > 0 ? history.back() : window.location = "//" + _0x3c54cc; }, "Ajax": function (_0xb711c1, _0x2eddcb, _0xcacc03, _0x3f9c20, _0x51e990, _0x42ad24, _0x3ef1a0) { _0x2eddcb = _0x2eddcb || "get"; _0xcacc03 = _0xcacc03 || "json"; _0x3f9c20 = _0x3f9c20 || ""; _0x42ad24 = _0x42ad24 || ""; _0x3ef1a0 = _0x3ef1a0 || ""; $.ajax({ "url": _0xb711c1, "type": _0x2eddcb, "dataType": _0xcacc03, "data": _0x3f9c20, "timeout": 5000, "beforeSend": function (_0x260271) {}, "error": function (_0x527ad3, _0x1eab60, _0x5bd066) { if (_0x42ad24) _0x42ad24(_0x527ad3, _0x1eab60, _0x5bd066); }, "success": function (_0x55cca3) { _0x51e990(_0x55cca3); }, "complete": function (_0x69550c, _0x4536d5) { { if (_0x3ef1a0) _0x3ef1a0(_0x69550c, _0x4536d5); } } }); }, "flow": { "load": function (_0x2cd477) { _0x2cd477 = _0x2cd477 || {}; let _0x2bde71 = this, _0x330fb3 = 0, _0x210d53, _0x2b40f5, _0x15c668, _0x51dcea = $(_0x2cd477.elem); if (!_0x51dcea[0]) return; let _0x3ba347 = $(_0x2cd477.scrollElem || document), _0x3459e0 = _0x2cd477.mb || 50, _0x29801e = "isAuto" in _0x2cd477 ? _0x2cd477.isAuto : true, _0x3903ad = _0x2cd477.end || language["29"], _0x14496c = _0x2cd477.scrollElem && _0x2cd477.scrollElem !== document, _0x154752 = "" + language["30"], _0x5d9798 = $("
    " + _0x154752 + "
    "); !_0x51dcea.find(".flow-more")[0] && _0x51dcea.append(_0x5d9798); let _0x1e6cfc = function (_0x5b1a25, _0x7b6a06) { Number(_0x330fb3) === 1 && $(".flow-more").siblings().remove(); _0x5b1a25 = $(_0x5b1a25); _0x5d9798.before(_0x5b1a25); _0x7b6a06 = Number(_0x7b6a06) === 0 ? true : null; _0x7b6a06 ? _0x5d9798.html(_0x3903ad) : _0x5d9798.find("a").html(_0x154752); _0x2b40f5 = _0x7b6a06; _0x210d53 = null; EC.Init.LazyLoad.update(); }, _0x445c62 = function () { _0x210d53 = true; _0x5d9798.find("a").html("" + language["31"]); typeof _0x2cd477.done === "function" && _0x2cd477.done(++_0x330fb3, _0x1e6cfc, _0x51dcea); }; _0x445c62(); _0x5d9798.find("a").on("click", function () { if (_0x2b40f5) return; _0x210d53 || _0x445c62(); }); if (!_0x29801e) return _0x2bde71; _0x3ba347.off("scroll"); _0x3ba347.on("scroll", function () { { let _0x48e0c7 = $(this), _0x42d854 = _0x48e0c7.scrollTop(); if (_0x15c668) clearTimeout(_0x15c668); if (_0x2b40f5 || !_0x51dcea.width()) return; _0x15c668 = setTimeout(function () { let _0x48a6a5 = _0x14496c ? _0x48e0c7.height() : $(window).height(), _0x1702ca = _0x14496c ? _0x48e0c7.prop("scrollHeight") : document.documentElement.scrollHeight; _0x1702ca - _0x42d854 - _0x48a6a5 <= _0x3459e0 && (_0x210d53 || _0x445c62()); }, 100); } }); return _0x2bde71; }, "empty": function (_0x1ac0a4, _0x144c44) { if (Number(_0x1ac0a4) === 0) return _0x144c44.html("
    \""" + language["32"] + "
    "), true; return false; }, "get": function (_0xb8a7f8, _0x138814, _0x33d01e, _0xada6f8) { _0x138814.length > 0 && EC.flow.load({ "elem": "#dataList", "isAuto": _0x33d01e.pattern, "end": _0x33d01e.txt, "done": function (_0x132c28, _0x1ee7a7, _0x5abca4) { setTimeout(function () { let _0x1c70e0 = [], _0x26ff0c = Math.ceil(new Date().getTime() / 1000), _0x360f58 = $.extend(_0xb8a7f8, { "page": _0x132c28, "time": _0x26ff0c, "key": EC.Md5(_0x26ff0c) }); EC.Ajax(_0x33d01e.api, "post", "json", _0x360f58, function (_0x17af93) { if (Number(_0x17af93.code) === 1) { if (EC.flow.empty(_0x17af93.list.length, _0x5abca4)) return; _0x1c70e0 = HTML.Art(_0x17af93, _0x33d01e); _0x1ee7a7(_0x1c70e0.join(""), _0x132c28 < _0x17af93.pagecount); _0xada6f8(); EC.Style.Footer(); $(".lang-bnt").length === 1 && zh_tranBody(); } else Number(_0x17af93.code) === 2 ? $(".flow-more").html(_0x17af93.msg) : _EC.Pop.Msg(language["27"] + _0x17af93.msg, "", "error"); }, function () { _EC.Pop.Msg(language["28"], "", "error"); }); }, 100); } }); } }, "Copy": { "Init": function () { EC.Width < 767 ? ($(".play-score").click(function () { EC.Pop.Show($("#rating").prop("outerHTML"), language["33"], function () {}); }), $(".vod-detail-share").click(function () { { $(".vod-detail .share-box").remove(); let _0x193124 = "
    " + language["34"] + "" + window.location.href + $(document).attr("title") + "
    "; EC.Pop.Show(_0x193124, language["18"], function () { $(document).on("click", ".copyBtn", function () { _EC.Pop.Msg(language["36"], "", "success"); $(".window").remove(); }); }); new ClipboardJS(".copyBtn"); } })) : ($(".share-url").html(window.location.href + $(document).attr("title")), new ClipboardJS(".copyBtn"), EC.Copy.Qrcode(), $(".vod-detail-share").hover(function () { $(".vod-detail .share-box").show(); $(document).on("click", ".copyBtn", function () { $(".vod-detail .share-box").hide(); _EC.Pop.Msg(language["36"], "", "success"); }); }, function () { $(".vod-detail .share-box").hide(); })); $(".player-share-button").click(function () { $(".player-share-box").fadeToggle(); $(".charge,.tips-box").hide(); $(".player-share-box .copyBtn").click(function () { _EC.Pop.Msg(language["36"], "", "success"); $(".player-share-box").slideUp(); }); }); let _0x1c1d15 = new ClipboardJS(".CopyUel"); $(".CopyUel").click(function () { _0x1c1d15.on("success", function () { _EC.Pop.Msg(language["37"], "", "success"); }); _0x1c1d15.on("error", function () { _EC.Pop.Msg(language["38"], "", "error"); }); }); }, "Qrcode": function () { $(".hl-cans").each(function () { if ($(this).length) { $(this).qrcode({ "width": 120, "height": 120, "text": encodeURI(window.location.href) }); function _0x322e06(_0x4609a3) { { let _0x11faf4 = new Image(); _0x11faf4.src = _0x4609a3.toDataURL("image/png"); return _0x11faf4; } } let _0x24b256 = $("canvas")[0], _0x125738 = _0x322e06(_0x24b256); $(this).next(".share-pic").append(_0x125738); } }); } }, "Swiper": { "Navs": function () { new Swiper(".nav-swiper", { "observer": true, "freeMode": true, "slidesPerView": "auto", "direction": "horizontal", "on": { "init": function () { EC.Swiper.Nav(this.$el, this.$wrapperEl, this.virtualSize); }, "observerUpdate": function () { EC.Swiper.Nav(this.$el, this.$wrapperEl, this.virtualSize); } } }); }, "Nav": function (_0x12b7c3, _0x37873c, _0x1a8843) { if (_0x12b7c3.find(".nav-dt").length > 0) { { let _0x4f67e9 = _0x12b7c3.find(".nav-dt").outerWidth(true), _0x45d4a9 = _0x12b7c3.find(".nav-dt")[0].offsetLeft, _0x5dbf70 = _0x37873c.parent().outerWidth(true), _0x34225f = parseInt(_0x1a8843); _0x37873c.transition(300); if (_0x45d4a9 < (_0x5dbf70 - parseInt(_0x4f67e9)) / 2) _0x37873c.transform("translate3d(0px,0px,0px)");else { if (_0x45d4a9 > _0x34225f - (parseInt(_0x4f67e9) + _0x5dbf70) / 2) _0x37873c.transform("translate3d(" + (_0x5dbf70 - _0x34225f) + "px,0px,0px)");else { _0x37873c.transform("translate3d(" + ((_0x5dbf70 - parseInt(_0x4f67e9)) / 2 - _0x45d4a9) + "px,0px,0px)"); } } } } }, "Slide": function () { new Swiper(".slide-swiper", { "autoplay": true, "loop": true, "slidesPerView": 1 }); new Swiper(".mySwiper", { "loop": true, "autoplay": true, "clickable": true, "slidesPerView": 1, "pagination": { "el": ".swiper-pagination" } }); new Swiper(".slide-swiper2", { "autoplay": { "disableOnInteraction": false }, "loop": true, "slidesPerView": 1, "on": { "init": function () { { let _0x2ee4fd = $(".lazy-p").eq(1).css("backgroundImage"); $(".slide-time-ios").css("backgroundImage", _0x2ee4fd); } }, "slideChangeTransitionEnd": function () { { let _0x22948b = $(".lazy-p").eq(this.realIndex - 1).css("backgroundImage"); $(".slide-time-ios").css("backgroundImage", _0x22948b); } } } }); let _0x29ed28 = new Swiper(".you-ku", { "loop": true, "slidesPerView": 1, "autoplay": { "disableOnInteraction": false }, "pagination": { "el": ".swiper-pagination" }, "on": { "slideNextTransitionEnd": function () { $(".slide-nav-list li").eq(this.realIndex).addClass("on").siblings().removeClass("on"); _0x48d41d(); } } }); $(".slide-nav-list li").hover(function () { _0x29ed28.slideTo($(".slide-nav-list li").index(this) + 1, 1000, false); $(this).addClass("on").siblings().removeClass("on"); _0x48d41d(); }); function _0x48d41d() { { let _0x555efa = $(".slid-g .swiper-slide-active .this-100").html(); $(".slide-nav-link").html("
    " + _0x555efa + "
    "); } } }, "Roll": function () { new Swiper(".roll", { "paginationClickable": true, "slidesPerView": "auto" }); } }, "Actor": { "Detail": function () { new Swiper(".list-swiper", { "slidesPerView": 3, "slidesPerGroup": 3, "observer": true, "navigation": { "nextEl": ".swiper-button-next", "prevEl": ".swiper-button-prev" }, "breakpoints": { 2200: { "slidesPerView": 10, "slidesPerGroup": 10 }, 1934: { "slidesPerView": 9, "slidesPerGroup": 9 }, 1692: { "slidesPerView": 8, "slidesPerGroup": 8 }, 1330: { "slidesPerView": 7, "slidesPerGroup": 7 }, 767: { "freeMode": true, "slidesPerView": "auto", "slidesPerGroup": 1 } } }); let _0xc0c90b = $(".star-works .actor-api"); _0xc0c90b.length > 0 && ($(".star-works .public-list-box").length > 0 ? _0x414f74($(".star-active").attr("data-actor")) : $(".star-works").hide()); $(".star-works-top .public-list-box").click(function () { $(this).addClass("star-active").siblings().removeClass("star-active"); _0x414f74($(this).attr("data-actor")); }); function _0x414f74(_0x49529a) { let _0x12d3aa = ""; for (let _0xcc8c8c = 0; _0xcc8c8c < 9; _0xcc8c8c++) { _0x12d3aa = _0x12d3aa + "
    " + "
    " + "
    " + "
    "; } _0xc0c90b.html(_0x12d3aa); EC.Ajax(maccms.path + "/index.php/api/actor_vod_api?name=" + _0x49529a, "get", "json", "", function (_0x345444) { Number(_0x345444.code) === 1 ? (_0x12d3aa = "", $.each(_0x345444.list, function (_0x374e44, _0x58dff1) { _0x12d3aa = _0x12d3aa + "
    \n" + "
    \n" + " \n" + " \""" + " \n" + " \n" + " \n" + "
    \n" + "
    " + _0x58dff1.name + "
    " + "
    "; }), _0xc0c90b.html(_0x12d3aa), EC.Init.LazyLoad.update(), $(".lang-bnt").length === 1 && zh_tranBody()) : _EC.Pop.Msg(language["39"], "", "error"); }); } } }, "Pop": { "Uid": "DCC147D11943AF75", "Drawer": function (_0x543b38, _0x5346a2) { if ($(".drawer-list").length > 0) { _EC.Pop.Msg(language["40"], "", "error"); return; } $("body").append("
    "); $(".drawer-list-box").html(_0x543b38); _0x5346a2(); setTimeout(function () { $(".drawer-list-bg").css({ "display": "block" }); $("body").css({ "height": "100%", "width": "100%", "overflow": "hidden" }); $(".drawer-list").addClass("drawer-show"); }, 0); $(".drawer-list-bg").on("click", function () { EC.Pop.DrawerDel(); }).on("touchmove", function () { EC.Pop.DrawerDel(); }); }, "DrawerDel": function () { $(".drawer-list-box").addClass("drawer-out"); $("body").css({ "height": "", "width": "", "overflow": "" }); $(".drawer-list-bg").css({ "display": "none" }); setTimeout(function () { $(".drawer-list").remove(); }, 100); }, "Show": function (_0x218ec2, _0x48c631, _0x2a1029) { Number($(".window").length) !== 1 && EC.Pop.RemoveWin(); $("body").append("

    "); $(".window .subscript").html(_0x48c631); $(".window-content").html(_0x218ec2); $(".window-box").addClass("window-show"); $(document).on("click", ".box-bg", function () { $(this).parent().remove(); }); $(document).on("click", ".window-off", function () { $(this).parent().parent().parent().parent().remove(); }); _0x2a1029(); }, "RemoveWin": function () { $(".window").remove(); } }, "Toggle": function () { $(".switch-button a").click(function () { $(this).addClass("selected").siblings().removeClass("selected"); let _0x7c617c = $(".switch-button a").index(this), _0x32fcff = $(".switch-box .check").eq(_0x7c617c); _0x32fcff.fadeIn(800).siblings().hide(); _0x32fcff.addClass("selected").siblings().removeClass("selected"); }); }, "player": { "player_jx": function (_0xdebfa, _0x2d91dc) { let _0x42c98e = {}, _0x2040b0 = EC.Cookie.Get("player_api"); if (!EC.Empty(_0x2040b0)) _0x42c98e = JSON.parse(_0x2040b0);else { { let _0x4e4ba3 = _0xdebfa.split("#"); for (let _0x45b131 = 0; _0x45b131 < _0x4e4ba3.length; _0x45b131++) { let _0x135770 = _0x4e4ba3[_0x45b131].split("$"), _0x17d24e = _0x135770[1].split(","); for (let _0xb2cdbe = 0; _0xb2cdbe < _0x17d24e.length; _0xb2cdbe++) { _0x42c98e.hasOwnProperty(_0x17d24e[_0xb2cdbe]) ? _0x42c98e[_0x17d24e[_0xb2cdbe]][Object.keys(_0x42c98e[_0x17d24e[_0xb2cdbe]]).length] = { "name": _0x135770[0], "api": _0x135770[2] } : _0x42c98e[_0x17d24e[_0xb2cdbe]] = { 0: { "name": _0x135770[0], "api": _0x135770[2] } }; } } EC.Cookie.Set("player_api", JSON.stringify(_0x42c98e)); } } let _0x2ac570 = ""; for (let _0xdf4e94 in _0x42c98e) { { if (_0xdf4e94 == _0x2d91dc) { { let _0xd91b01 = _0x42c98e[_0xdf4e94]; for (let _0x23d79e = 0; _0x23d79e < Object.keys(_0xd91b01).length; _0x23d79e++) { !EC.Empty(maccms.jx_index) && _0x23d79e == maccms.jx_index ? _0x2ac570 = _0x2ac570 + "" + _0xd91b01[_0x23d79e].name + "" : _0x2ac570 = _0x2ac570 + "" + _0xd91b01[_0x23d79e].name + ""; } } } } } _0x2ac570.length > 1 && $(".line-switch").html(_0x2ac570); } }, "User": { "BoxShow": 0, "IsLogin": 0, "Init": function () { !EC.Empty(EC.Cookie.Get("user_id")) && (EC.User.IsLogin = 1); $(document).on("click", ".head-user", function () { EC.Empty(EC.Cookie.Get("user_id")) ? EC.User.Login() : window.location.href = $(this).attr("data-url"); }); $(document).on("click", ".head-user-out", function () { EC.User.Logout(); }); }, "Login": function () { EC.Ajax(maccms.path + "/index.php/user/ajax_login", "post", "json", "", function (_0x6a3dcc) { EC.Pop.Show(_0x6a3dcc, language["41"], function () { $("body").on("click", "#wp-submit", function () { $(this).unbind("click"); EC.Ajax(maccms.path + "/index.php/user/login", "post", "json", $(".login-form").serialize(), function (_0x134cad) { _EC.Pop.Msg(_0x134cad.msg, "", "error"); Number(_0x134cad.code) === 1 && location.reload(); }); }); }); }, function () { _EC.Pop.Msg(language["42"], "", "error"); }); }, "Logout": function () { $(this).unbind("click"); EC.Ajax(maccms.path + "/index.php/user/logout", "post", "json", "", function (_0x197ff4) { _EC.Pop.Msg(_0x197ff4.msg); Number(_0x197ff4.code) === 1 && location.reload(); }); }, "Collection": function () { $("body").on("click", ".collection", function () { if (Number(EC.User.IsLogin) === 0) { { EC.User.Login(); return; } } let _0x43337f = $(this); _0x43337f.attr("data-id") && EC.Ajax(maccms.path + "/index.php/user/ajax_ulog/?ac=set&mid=" + _0x43337f.attr("data-mid") + "&id=" + _0x43337f.attr("data-id") + "&type=" + _0x43337f.attr("data-type"), "get", "json", "", function () { _EC.Pop.Msg("收藏成功"); }); }); } }, "Ulog": { "Init": function () { EC.Ulog.Set(); }, "Set": function () { let _0x2edb22 = $(".ds-log-set"); _0x2edb22.attr("data-mid") && $.get(maccms.path + "/index.php/api/ulog/?ac=set&mid=" + _0x2edb22.attr("data-mid") + "&id=" + _0x2edb22.attr("data-id") + "&sid=" + _0x2edb22.attr("data-sid") + "&nid=" + _0x2edb22.attr("data-nid") + "&type=" + _0x2edb22.attr("data-type")); } }, "Hits": { "Init": function () { let _0xc965b6 = $(".ds-hits"); if (Number(_0xc965b6.length) === 0) { return; } EC.Ajax(maccms.path + "/index.php/ajax/hits?mid=" + _0xc965b6.attr("data-mid") + "&id=" + _0xc965b6.attr("data-id") + "&type=update", "get", "json", "", function (_0xf19a88) { Number(_0xf19a88.code) === 1 && $(".ds-hits").each(function (_0x43894b) { { let _0x154d7e = $(".ds-hits").eq(_0x43894b).attr("data-type"); _0x154d7e !== "insert" && $("." + _0x154d7e).html(eval("(r.data." + _0x154d7e + ")")); } }); }); } }, "Md5": function (_0x1a1b4d) { return hex_md5("DS" + _0x1a1b4d + EC.Pop.Uid); }, "Score": function () { let _0x13feef = 0; $(document).on("click", "#rating li", function () { if (_0x13feef > 0) _EC.Pop.Msg(language["43"]);else { { let _0x129950 = $("#rating").data(); EC.Ajax(maccms.path + "/index.php/ajax/score?mid=" + _0x129950.mid + "&id=" + _0x129950.id + "&score=" + $(this).attr("val") * 2, "post", "json", "", function (_0x4a22b9) { _EC.Pop.Msg(_0x4a22b9.msg); _0x13feef = 1; }, function () { _EC.Pop.Msg(language["44"], "", "error"); }); } } $(this).nextAll().removeClass("active"); $(this).prevAll().addClass("active"); $(this).addClass("active"); }); }, "Suggest": { "Init": function (_0x16b609, _0x575c8f) { if (Number(maccms.so_off) === 1) try { $(_0x16b609).autocomplete(maccms.path + "/index.php/ajax/suggest?mid=" + _0x575c8f, { "inputClass": "search-input", "resultsClass": "results", "loadingClass": "loading", "appendTo": ".completion", "minChars": 1, "matchSubset": 0, "cacheLength": 10, "multiple": false, "matchContains": true, "autoFill": false, "dataType": "json", "parse": function (_0x339b25) { if (Number(_0x339b25.code) === 1) { let _0x23292b = []; $.each(_0x339b25.list, function (_0xfc4dae, _0x97700f) { _0x97700f.url = _0x339b25.url; _0x23292b[_0xfc4dae] = { "data": _0x97700f }; }); return _0x23292b; } else { return { "data": "" }; } }, "formatItem": function (_0x485280) { return _0x485280.name; }, "formatResult": function (_0x30dc2b) { return _0x30dc2b.text; } }).result(function (_0x46f774, _0x386a3b) { { $(_0x16b609).val(_0x386a3b.name); let _0x400267 = _0x386a3b.url.replace("mac_wd", encodeURIComponent(_0x386a3b.name)); EC.Records.Set(_0x386a3b.name, _0x400267); location.href = _0x400267; } }); } catch (_0x51a360) {} } }, "History": { "BoxShow": 0, "Limit": 30, "Days": 7, "Json": "", "Msg": "
    \""" + language["45"] + "
    ", "Init": function () { let _0xb720de = []; if (this.Json) _0xb720de = this.Json;else { { let _0x83bfd0 = EC.Cookie.Get("mac_history"); !EC.Empty(_0x83bfd0) && (_0xb720de = eval(_0x83bfd0)); } } let _0xea2303 = ""; if (_0xb720de.length > 0) { for (let _0x212e86 = 0; _0x212e86 < _0xb720de.length; _0x212e86++) { _0xea2303 += "
  • \""" + "
    " + _0xb720de[_0x212e86].name + "
    " + _0xb720de[_0x212e86].mid + "
  • "; } } else _0xea2303 += this.Msg; $(".locality-history ul").html(_0xea2303); $("#l_history").click(function () { EC.History.Clear(); }); let _0x1604d0 = $(".ds-history-set"); _0x1604d0.attr("data-name") && EC.History.Set(_0x1604d0.attr("data-name"), _0x1604d0.attr("data-link"), _0x1604d0.attr("data-pic"), _0x1604d0.attr("data-mid")); }, "Set": function (_0x5444d1, _0x4bf85b, _0x2bdde0, _0x5bda15) { !_0x4bf85b && (_0x4bf85b = document.URL); let _0x3fe158 = EC.Cookie.Get("mac_history"), _0x982858 = ""; if (!EC.Empty(_0x3fe158)) { this.Json = eval(_0x3fe158); for (let _0x42a068 = 0; _0x42a068 < this.Json.length; _0x42a068++) { if (this.Json[_0x42a068].link === _0x4bf85b) return false; } _0x982858 = "{log:[{\"name\":\"" + _0x5444d1 + "\",\"link\":\"" + _0x4bf85b + "\",\"pic\":\"" + _0x2bdde0 + "\",\"mid\":\"" + _0x5bda15 + "\"},"; for (let _0x4dbf0a = 0; _0x4dbf0a < this.Json.length; _0x4dbf0a++) { { if (_0x4dbf0a <= this.Limit && this.Json[_0x4dbf0a]) { let _0x1f7585 = this.Json[_0x4dbf0a].name; if (_0x1f7585 === _0x5444d1) {} else _0x982858 += "{\"name\":\"" + this.Json[_0x4dbf0a].name + "\",\"link\":\"" + this.Json[_0x4dbf0a].link + "\",\"pic\":\"" + this.Json[_0x4dbf0a].pic + "\",\"mid\":\"" + this.Json[_0x4dbf0a].mid + "\"},"; } else break; } } _0x982858 = _0x982858.substring(0, _0x982858.lastIndexOf(",")); _0x982858 += "]}"; } else { _0x982858 = "{log:[{\"name\":\"" + _0x5444d1 + "\",\"link\":\"" + _0x4bf85b + "\",\"pic\":\"" + _0x2bdde0 + "\",\"mid\":\"" + _0x5bda15 + "\"}]}"; } this.Json = eval(_0x982858); EC.Cookie.Set("mac_history", _0x982858, this.Days); }, "Clear": function () { EC.Cookie.Del("mac_history"); $(".locality-history ul").html(this.Msg); } }, "Records": { "Limit": 8, "Days": 7, "Json": "", "Init": function () { EC.Records.Click(); let _0x2a917c = []; if (this.Json) _0x2a917c = this.Json;else { let _0x4eafe6 = EC.Cookie.Get("DS_Records"); !EC.Empty(_0x4eafe6) && (_0x2a917c = eval(_0x4eafe6)); } if (_0x2a917c.length > 0) { { let _0x17ba4f = ""; for (let _0x346b64 = 0; _0x346b64 < _0x2a917c.length; _0x346b64++) { _0x17ba4f += "" + _0x2a917c[_0x346b64].name + ""; } $(".records-list").html(_0x17ba4f); } } else $(".records-list").html("" + language["46"] + ""); $(document).on("click", "#re_del", function () { EC.Records.Clear(); }); }, "Set": function (_0x195772, _0x15d300) { let _0x282981 = EC.Cookie.Get("DS_Records"), _0x27e22c = {}; if (!EC.Empty(_0x282981)) { { this.Json = eval(_0x282981); for (let _0x283607 = 0; _0x283607 < this.Json.length; _0x283607++) { if (this.Json[_0x283607].name === _0x195772) return false; } _0x27e22c = "{log:[{\"name\":\"" + _0x195772 + "\",\"url\":\"" + _0x15d300 + "\"},"; for (let _0xadbb5e = 0; _0xadbb5e < this.Json.length; _0xadbb5e++) { if (_0xadbb5e <= this.Limit && this.Json[_0xadbb5e]) { let _0x471bcf = this.Json[_0xadbb5e].name; if (_0x471bcf === _0x195772) {} else _0x27e22c += "{\"name\":\"" + this.Json[_0xadbb5e].name + "\",\"url\":\"" + this.Json[_0xadbb5e].url + "\"},"; } else { break; } } _0x27e22c = _0x27e22c.substring(0, _0x27e22c.lastIndexOf(",")); _0x27e22c += "]}"; } } else { _0x27e22c = "{log:[{\"name\":\"" + _0x195772 + "\",\"url\":\"" + _0x15d300 + "\"}]}"; } this.Json = eval(_0x27e22c); EC.Cookie.Set("DS_Records", _0x27e22c, this.Days); }, "Clear": function () { EC.Cookie.Del("DS_Records"); $(".records-list").html("" + language["47"] + ""); }, "Click": function () { $(".head .this-select").click(function () { if ($(this).attr("data-id") === "1") { $(this).attr("data-id", "0").find("i").html(""); let _0xd3429e = $(".select-list .ease").html(); $(".head .this-search").append("
    " + _0xd3429e + "
    "); } else $(this).attr("data-id", "1").find("i").html(""), $(".head .this-search-select").remove(); }); $("body").on("click", ".head .this-search-select span", function () { { let _0x5c89d5 = $(this).data(); $(".head .this-select").html(_0x5c89d5.name + "").attr("data-id", "1"); $("#search2").attr("action", _0x5c89d5.url); $(".head .this-search-select").remove(); } }); $(".head .this-search .ds-sousuo").click(function () { let _0x3b8919 = $(".head .this-input").val(), _0x37fc99 = $("#search2").attr("action"); if (EC.Empty(_0x3b8919)) event.preventDefault(), _EC.Pop.Msg(language["48"], "", "error");else { if ($(".lang-bnt").length === 1) { const _0x1e663a = transChinese(_0x3b8919); $(".head .this-input").val(_0x1e663a); _0x3b8919 = _0x1e663a; } EC.Records.Set(_0x3b8919, _0x37fc99); } }); $(".head .this-input").click(function () { let _0x2cedbe = $(".public-list-new").html(), _0x4767c5 = $(".pop-list-body .wap-diy-vod-e").html(); $(".head .this-search").append("
    " + _0x2cedbe + "
    " + "
    " + _0x4767c5 + "
    " + "
    "); }).keydown(function () { $(".head .this-search-get").remove(); }); $(".head .this-search").mouseleave(function () { $(".head .this-search-get").remove(); }); $(".select-name").click(function () { $(this).attr("data-id") === "1" ? ($(this).attr("data-id", "0").children().html(""), $(".select-list").show()) : ($(this).attr("data-id", "1").children().html(""), $(".select-list").hide()); }); $(".select-list span").click(function () { { let _0x509e3c = $(this).data(); $(".select-name").html(_0x509e3c.name + "").attr("data-id", "1"); $("#search").attr("action", _0x509e3c.url); $(".select-list").hide(); } }); $(".search-input-sub").click(function () { { let _0xa421e = $(".search-input").val(), _0x52465c = $("#search").attr("action"); if (EC.Empty(_0xa421e)) event.preventDefault(), _EC.Pop.Msg(language["48"], "", "error");else { { if ($(".lang-bnt").length === 1) { const _0x107674 = transChinese(_0xa421e); $(".search-input").val(_0x107674); _0xa421e = _0x107674; } EC.Records.Set(_0xa421e, _0x52465c); } } } }); } }, "Remaining": function (_0x228bc1, _0x192b99, _0x57d11b) { let _0x4ea7dc = _0x192b99 - $(_0x228bc1).val().length; _0x4ea7dc < 0 && (_0x4ea7dc = 0, $(_0x228bc1).val($(_0x228bc1).val().substr(0, 200))); $(_0x57d11b).text(_0x4ea7dc); }, "Digg": function () { $("body").on("click", ".digg-link", function () { let _0x5d044a = $(this); _0x5d044a.attr("data-id") && EC.Ajax(maccms.path + "/index.php/ajax/digg.html?mid=" + _0x5d044a.attr("data-mid") + "&id=" + _0x5d044a.attr("data-id") + "&type=" + _0x5d044a.attr("data-type"), "get", "json", "", function (_0x77d1da) { _0x5d044a.addClass("disabled"); Number(_0x77d1da.code) === 1 ? _0x5d044a.attr("data-type") === "up" ? _0x5d044a.find(".digg-num").html(_0x77d1da.data.up) : _0x5d044a.find(".digg-num").html(_0x77d1da.data.down) : _EC.Pop.Msg(_0x77d1da.msg); }); }); }, "Gbook": { "Login": 0, "Verify": 0, "Init": function () { let _0x4bd68d = $(".gbook-form").data(); EC.Gbook.Login = _0x4bd68d.login; EC.Gbook.Verify = _0x4bd68d.verify; let _0x9a7af2 = $("body"); _0x9a7af2.on("keyup", ".gbook-content", function () { EC.Remaining($(this), 200, ".gbook_remaining"); }); _0x9a7af2.on("focus", ".gbook-content", function () { Number(EC.Gbook.Login) === 1 && Number(EC.User.IsLogin) !== 1 && EC.User.Login(); }); _0x9a7af2.on("click", ".gbook-submit", function () { EC.Gbook.Submit(); }); }, "Show": function (_0x4d5300) { EC.Ajax(maccms.path + "/index.php/gbook/index?page=" + _0x4d5300, "post", "json", "", function (_0x191f1c) { $(".mac_gbook_box").html(_0x191f1c); }, function () { $(".mac_gbook_box").html(language["49"]); }); }, "Submit": function () { if (EC.Empty($(".gbook-content").val())) { _EC.Pop.Msg(language["50"], "", "error"); return false; } EC.Ajax(maccms.path + "/index.php/gbook/saveData", "post", "json", $(".gbook-form").serialize(), function (_0xb92ae6) { _EC.Pop.Msg(_0xb92ae6.msg); Number(_0xb92ae6.code) === 1 ? location.reload() : Number(EC.Gbook.Verify) === 1 && EC.Verify.Refresh(); }); }, "Tg": function () { if (EC.Empty($(".tg-content").val())) return _EC.Pop.Msg(language["51"], "", "error"), false; EC.Ajax(maccms.path + "/index.php/api/tougao", "post", "json", $(".tg-form").serialize(), function (_0x1b9a69) { _EC.Pop.Msg(_0x1b9a69.msg); Number(_0x1b9a69.code) === 1 ? location.reload() : EC.Verify.Refresh(); }); }, "Report": function (_0x4807c0) { EC.Ajax(maccms.path + "/index.php/gbook/report.html?id=" + _0x4807c0.id + "&name=" + encodeURIComponent(_0x4807c0.url + location.href), "post", "json", "", function (_0x284ebb) { EC.Pop.Show(_0x284ebb, language["52"], function () { let _0x6dc4d = $(".gbook-form").data(); EC.Gbook.Login = _0x6dc4d.login; EC.Gbook.Verify = _0x6dc4d.verify; EC.Gbook.Init(); }); }, function () { _EC.Pop.Msg(language["49"], "", "error"); }); } }, "Comment": { "Login": 0, "Verify": 0, "Init": function () { let _0x21414e = $("body"); _0x21414e.on("click", ".comment-face-box img", function () { { let _0x46292a = $(this).parent().parent().parent().parent().find(".comment-content"); $(_0x46292a).val($(_0x46292a).val() + "[em:" + $(this).attr("data-id") + "]"); } }); _0x21414e.on("click", ".comment-face-panel", function () { $(this).parent().parent().find(".comment-face-box").fadeToggle(); }); _0x21414e.on("click", ".face-close", function () { $(".comment-face-box").hide(); }); _0x21414e.on("click", ".comment-page", function () { EC.Comment.Show($(this).attr("data-page")); }); _0x21414e.on("keyup", ".comment-content", function () { EC.Remaining($(this), 200, $(".comment-remaining")); }); _0x21414e.on("focus", ".comment-content", function () { Number(EC.Comment.Login) === 1 && Number(EC.User.IsLogin) !== 1 && EC.User.Login(); }); _0x21414e.on("click", ".comment-report", function () { let _0x98a888 = $(this); $(this).attr("data-id") && EC.Ajax(maccms.path + "/index.php/comment/report.html?id=" + _0x98a888.attr("data-id"), "get", "json", "", function (_0x3b8ba9) { _0x98a888.addClass("disabled"); _EC.Pop.Msg(language["53"], "", "success"); }); }); _0x21414e.on("click", ".comment-reply-button", function () { { let _0xead986 = $(this); if (_0xead986.attr("data-id")) { let _0x38a022 = _0xead986.html(); $(".comment-reply-form").remove(); if (_0x38a022 === language["54"]) return _0xead986.html(""), false; let _0x1ca706 = $(".comment-form").prop("outerHTML"), _0x47f0d3 = $(_0x1ca706); _0x47f0d3.addClass("comment-reply-form"); _0x47f0d3.find("input[name=\"comment_pid\"]").val(_0xead986.attr("data-id")); _0xead986.parent().parent().after(_0x47f0d3); $(".comment-reply-button").html(""); _0xead986.html(language["54"]); } } }); _0x21414e.on("click", ".comment-submit", function () { let _0x40ad90 = $(this); EC.Comment.Submit(_0x40ad90); }); }, "Show": function (_0x297077) { let _0x5e2320 = $(".ds-comment"); _0x5e2320.length > 0 && EC.Ajax(maccms.path + "/index.php/comment/ajax.html?rid=" + _0x5e2320.attr("data-id") + "&mid=" + _0x5e2320.attr("data-mid") + "&page=" + _0x297077, "get", "json", "", function (_0x1fe7f3) { $(".ds-comment").html(_0x1fe7f3); $(".lang-bnt").length === 1 && zh_tranBody(); }, function () { _EC.Pop.Msg(language["49"], "", "error"); }); }, "Submit": function (_0xd2bcc7) { let _0x5df98e = _0xd2bcc7.parents("form"); if ($(_0x5df98e).find(".comment-content").val() === "") { _EC.Pop.Msg(language["55"], "", "error"); return false; } let _0x1fad40 = $(".ds-comment").data(); if (EC.Empty(_0x1fad40.mid)) { _EC.Pop.Msg(language["56"], "", "error"); return false; } if (EC.Empty(_0x1fad40.id)) return _EC.Pop.Msg(language["57"], "", "error"), false; EC.Ajax(maccms.path + "/index.php/comment/saveData", "post", "json", $(_0x5df98e).serialize() + "&comment_mid=" + _0x1fad40.mid + "&comment_rid=" + _0x1fad40.id, function (_0xbf37b9) { _EC.Pop.Msg(_0xbf37b9.msg); if (Number(_0xbf37b9.code) === 1) { EC.Comment.Show(1); } else { if (Number(EC.Comment.Verify) === 1) { EC.Verify.Refresh(); } } }); } }, "Verify": { "Init": function () { EC.Verify.Click(); $(".verify-submit").click(function () { { let _0x50141f = $("input[name=\"verify\"]").val(); EC.Ajax(maccms.path + "/index.php/ajax/verify_check?type=" + $(this).data("type") + "&verify=" + _0x50141f, "post", "json", "", function (_0x206cc3) { if (Number(_0x206cc3.code) === 1) location.reload();else { _EC.Pop.Msg(_0x206cc3.msg); EC.Verify.Refresh(); } }, function () { _EC.Pop.Msg(language["58"], "", "error"); EC.Verify.Refresh(); }); } }); }, "Click": function () { $("body").on("click", "img.ds-verify-img", function () { $(this).attr("src", maccms.path + "/index.php/verify/index.html?r=" + Math.random()); }); }, "Refresh": function () { $(".ds-verify-img").attr("src", maccms.path + "/index.php/verify/index.html?r=" + Math.random()); }, "Show": function () { return "\"""; } }, "QiAnDao": { "Fun": function (_0x1b7080) { let _0x432ae7 = $("#qiAnDao-list"), _0x5540a6 = "", _0x1f2719 = new Date(), _0x44f2d3 = new Date(_0x1f2719.getFullYear(), parseInt(_0x1f2719.getMonth()), 1).getDay(), _0x5cec52 = new Date(_0x1f2719.getFullYear(), parseInt(_0x1f2719.getMonth() + 1), 0), _0x225fdb = _0x5cec52.getDate(); $(".qiAnDao-bj").text(_0x1f2719.getMonth() + 1); for (let _0xc0aef3 = 0; _0xc0aef3 < 42; _0xc0aef3++) { _0x5540a6 += "
  • "; } _0x432ae7.html(_0x5540a6); let _0x5beed4 = _0x432ae7.find("li"); for (let _0x10e8b6 = 0; _0x10e8b6 < _0x225fdb; _0x10e8b6++) { let _0xf0c23 = parseInt(_0x10e8b6 + 1); _0x5beed4.eq(_0x10e8b6 + _0x44f2d3).html("" + _0xf0c23 + "").addClass("date" + _0xf0c23); if (_0x1b7080.length > 0) for (let _0x55d661 = 0; _0x55d661 < _0x1b7080.length; _0x55d661++) { _0xf0c23 === _0x1b7080[_0x55d661] && _0x5beed4.eq(_0x10e8b6 + _0x44f2d3).addClass("nav-dt"); } } $(".qiAnDao-con").after("").addClass("qiAnDao-show"); $(".date" + _0x1f2719.getDate() + ":not(.nav-dt)").addClass("able-qiAnDao"); $(".qiAnDao-top,.able-qiAnDao").click(function () { EC.Ajax(maccms.path + "/index.php/qian/sign", "get", "json", "", function (_0x1b3743) { Number(_0x1b3743.code) === 0 ? _EC.Pop.Msg(_0x1b3743.msg, "", "error") : (_EC.Pop.Msg(language["60"] + _0x1b3743.reward, "", "success"), $(".able-qiAnDao").addClass("nav-dt"), $(".qiAnDao-top").addClass("nav-dt")); }, function () { _EC.Pop.Msg(r.msg, "", "error"); }); }); $(".qiAnDao-gz-bnt").click(function () { $(".qiAnDao-bottom").show(); }); $(".qiAnDao-bottom a").click(function () { $(".qiAnDao-bottom").hide(); }); $(".qiAnDao-gz-off").click(function () { $(".qiAnDao-con").hide(); }); }, "Init": function () { $("#qiAnDao_bnt").click(function () { if (Number(EC.User.IsLogin) === 0) { { EC.User.Login(); return; } } if (Number($(".qiAnDao-show").length) === 0) $("#qiAnDao_2,.qiAnDao-top").hide(), $("#qiAnDao_1,.qiAnDao-con").show(), EC.Ajax(maccms.path + "/index.php/qian/days", "get", "json", "", function (_0x18b956) { if (Number(_0x18b956.code) === 1) { EC.QiAnDao.Fun(_0x18b956.data); setTimeout(function () { $("#qiAnDao_2,.qiAnDao-top").show(); $("#qiAnDao_1").hide(); }, 1000); } else { $(".qiAnDao-con").hide(); _EC.Pop.Msg(_0x18b956.msg, "", "error"); } }, function () { $("#qiAnDao_1").html(language["42"]); });else { $(".qiAnDao-show").show(); } }); } } }; $(function () { EC.Style.Init(); EC.Init(); EC.Verify.Init(); EC.User.Init(); EC.Records.Init(); EC.Suggest.Init(".mac_wd", 1, ""); EC.History.Init(); EC.Digg(); EC.Score(); EC.Copy.Init(); EC.User.Collection(); EC.Ulog.Init(); EC.Hits.Init(); EC.Toggle(); EC.QiAnDao.Init(); });