返回首頁 

网课视频辅助学习助手

支持:【成都市中小学】【湖北第二师范】【高等学历】【电子科技大学】【华东师范大学教师研修##】【企安全】【夏邑县小学教师】【贵州省#员干部网络学院】【江西专技学习网】【浙江省建设人才远程继续教育##】【云南省执业药师协会】【河南教师培训网】【浙里学习】【石家庄铁道大学】【宁夏专业技术人员继续教育在线培训##】【河南华夏基础教育学院】【师学通】【河南专技在线】【上海开放大学】【国家开放大学】【兰州理工大学】【兰州大学】【北#教师学习网】【青岛市专业技术人员】【兰州资源环境职业技术大学】【漯河学院】【华北电力大学】【河南省新闻出版学校】【东奥会计继续教育】【梦想在线】【广东远程职业培训##】【黑龙江省网络助学##】【S云课堂网校】【河北机电职业技术学院】【贵州省专业技术人员继续教育##】【和学在线】【河南华夏基础】【职教云】【河北教师教育网】【山东干部网络学院】【克拉玛依开放大学继续教育网】【教师专业发展培训网】【广州市干部】【甘肃干部网络学院】等


Install this script?
// ==UserScript==// @name         网课视频辅助学习助手// @namespace    http://tampermonkey.net/// @version      2.3.2.0// @description  支持:【成都市中小学】【湖北第二师范】【高等学历】【电子科技大学】【华东师范大学教师研修##】【企安全】【夏邑县小学教师】【贵州省#员干部网络学院】【江西专技学习网】【浙江省建设人才远程继续教育##】【云南省执业药师协会】【河南教师培训网】【浙里学习】【石家庄铁道大学】【宁夏专业技术人员继续教育在线培训##】【河南华夏基础教育学院】【师学通】【河南专技在线】【上海开放大学】【国家开放大学】【兰州理工大学】【兰州大学】【北#教师学习网】【青岛市专业技术人员】【兰州资源环境职业技术大学】【漯河学院】【华北电力大学】【河南省新闻出版学校】【东奥会计继续教育】【梦想在线】【广东远程职业培训##】【黑龙江省网络助学##】【S云课堂网校】【河北机电职业技术学院】【贵州省专业技术人员继续教育##】【和学在线】【河南华夏基础】【职教云】【河北教师教育网】【山东干部网络学院】【克拉玛依开放大学继续教育网】【教师专业发展培训网】【广州市干部】【甘肃干部网络学院】等// @author// @match        *://*/*// @grant        GM_xmlhttpRequest// @grant        GM_openInTab// @grant        GM_setValue// @grant        GM_getValue// @grant        GM_deleteValue// @grant        GM_addValueChangeListener// @grant        window.close// @grant        window.onurlchange// @grant        GM_registerMenuCommand// @antifeature  payment// @noframes// @resource     jqueryCDN1 https://47.115.205.88:24812/down/QXBzKZPT3KEa.js// @connect      www.gaozhiwang.top// @connect      47.115.205.88// @connect      localhost// @antifeature  payment  学习辅助##// @license      MIT// ==/UserScript=="use strict";var __awaiter = this && this.__awaiter || function (e, a, r, s) {return new (r = r || Promise)(function (n, t) {function l(e) {try {o(s.next(e))} catch (e) {t(e)}}function i(e) {try {o(s.throw(e))} catch (e) {t(e)}}function o(e) {var t;e.done ? n(e.value) : ((t = e.value) instanceof r ? t : new r(function (e) {e(t)})).then(l, i)}o((s = s.apply(e, a || [])).next())})};!function () {const panelcss = `.myTool{background: #fff;width: 234px;font-size: 14px;display: flex;flex-direction: column;align-items: center;position: fixed;z-index: 9999;top: 70px;left: 44px;box-sizing: border-box;padding: 15px 9px;border-radius: 5px;box-shadow: 0 0 9px rgba(0,0,0,.5);}.controls{position: absolute;right: 12px;font-size: 27px;top: 9px;cursor: pointer;transition: all 0.4s;}.controls:hover{color: #1f74c;transform: rotate(360deg);}.myTool-content{transition: all 0.4s;overflow: hidden;}.mytoolkeyipt{width: 130px;height: 22px !important;outline: none;padding: 0px 3px;border: 1px solid #757575FF;border-radius: 3px;font-size: 13px;padding: 0px 3px;margin-right: 5px;margin-top: 2px;}.addkey-btn{color: #fff;background: #1f74ca;}.removkey-btn{color: #000;display: none;background: #eee;}.handleKeyBtn{width: 54px;height: 24px;margin-top: 2px;border: none;font-size: 12px;border-radius: 2px;cursor: pointer;}.handleSpeedUp{background: orange;font-size: 12px;color: #fff;padding: 4px 15px;border-radius: 5px;margin: 0 auto;max-width: 80px;margin-top: 10px;cursor: pointer;text-align: center;}.ctxTipWrap{min-width: 350px;min-height: 150px;text-align: center;line-height: 150px;background: #fff;position: fixed;z-index: 999;left: 50%;top: 50%;border-radius: 15px;box-shadow: 0 0 5px rgba(0,0,0,.6);display:none;}.cxtsection{width: 100%;box-sizing: border-box;padding: 0 5px;margin-bottom: 2px;}.cxtsection .ctx-title{text-align: left;margin-top: 12px;font-size: 12px;color: #4e5969;border-left: 2px solid #1f74ca;border-radius: 2px;padding-left: 3px;line-height: 16px;}.ctxsection2{display: flex;justify-content: space-between;}.ctxsection2 .speed-select{width: 50%;height: 22px !important;outline: none;position: relative;top: 10px;border: 1px solid #757575FF;border-radius: 3px;padding: 0;padding-left: 10px;}.ctxsection3{display: flex;align-items: center;justify-content: space-between;}.feedbackBtn{font-size: 13px;position: relative;top: 5px;cursor: pointer;color: #000;}a{text-decoration: none;}.myTool>.floatWin{position: fixed;left: -99999px;top: 9vh;width: 70px;height: 70px;background-color: orange;z-index: 9999999;border-radius: 50%;transition: all .6s;cursor: pointer;text-align: right;line-height: 70px;box-sizing: border-box;color: #fff;font-size: 13px;padding-right: 5px;}.myTool>.floatWin:hover{left: 0 !important;padding-right: 0px;font-size: 16px;text-align: center;}`;class GMTool {constructor() {}getValue(e) {return GM_getValue(e, null)}setValue(e, t) {GM_setValue(e, t)}deleteValue(e) {GM_deleteValue(e)}registerMenuCommand(e, t, n) {GM_registerMenuCommand(e, () => {"function" == typeof n && n()}, t)}openInTab(e) {GM_openInTab(e, {active: !0})}isDateGreaterThanSevenDays(e) {e = new Date(e).getTime();return 7 < ((new Date).getTime() - e) / 864e5}axfedata(e) {return new Promise(t => {GM_xmlhttpRequest(Object.assign(Object.assign({}, e), {onload: function (e) {200 == e.status && t(JSON.parse(e.response))}}))})}sleep(t) {return new Promise(e => setTimeout(e, t))}}const MyTool = new GMTool;let ElementObj = {};function erf(data) {try {eval(data)} catch (e) {new Function(data)()}}let _i1 = {zhihuishu: {mainClass: "zhihuishu"},uxueyuan: {mainClass: "CTXCommon", option: {nodeListClass: ".page-name", activeClass: "active"}},ningmengwencai: {mainClass: "ningmengwencai"},henanxinxueyuan: {mainClass: "CTXCommon",option: {nodeListClass: ".collapseCont", activeClass: "", getCurrentIndexByOption() {return new Promise(t => {for (let e = 0; e < ElementObj.$allTask.length; e++) "[\u5b8c\u6210]" == ElementObj.$allTask[e].childNodes[0].childNodes[0].childNodes[2].firstChild.innerText && t(e)})}}},fujianshifan: {mainClass: "fujianshifan"},gxcic: {mainClass: "gxcic"},luohexueyuan: {mainClass: "CTXCommon",option: {nodeListClass: "li.catalog-box", activeClass: "activeCss", videoEle: () => new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)}), _init: i => new Promise(e => {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$allTask = document.querySelectorAll("li.catalog-box .play-c"), ElementObj.$allTask.length) {clearInterval(l), ElementObj.$handleSpeedUp.style.display = "none";for (let e = 0; e < ElementObj.$allTask.length; e++) {var t = ElementObj.$allTask[e];if ("\u5df2\u5b66\u4e60" != t.parentElement.querySelector(".c-999").getAttribute("data-original-title")) {var n = t.parentElement.querySelector(".activeCss");showTip("\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e"), n || (t.click(), yield MyTool.sleep(2e3)), i.currentIndex = e, i._o1();break}}}}), 1e3)})}},mengxiangzaixian: {mainClass: "CTXCommon", option: {nodeListClass: "", _init: () => new Promise(e => {let t = setInterval(() => {ElementObj.$allTask = document.querySelectorAll(".el-card__body button i"), ElementObj.$allTask.length && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", toolOption.CtxMain.getCurrentIndex())}, 1e3)}), getCurrentIndexByOption: () => new Promise(t => {var n = document.querySelectorAll(".el-progress");for (let e = 0; e < n.length; e++) {var l = n[e], i = l.getAttribute("aria-valuenow");if (parseInt(i) <= 99) {l.click(), t(e);break}}})}},fjsf2: {mainClass: "fjsf2"},liangyijiaoyu: {mainClass: "liangyijiaoyu"},zjzx: {mainClass: "zjzx"},zxpxmr: {mainClass: "zxpxmr"},ggfw: {mainClass: "ggfw"},liangshizaixian: {mainClass: "liangshizaixian"},gzjxjy: {mainClass: "CTXCommon", runtype: -1, option: {nodeListClass: "", activeClass: "", nextClass: "p", _init(a) {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$allTask = document.querySelectorAll(".el-step"), ElementObj.$allTask.length) {clearInterval(t);let n = -1;ElementObj.$allTask.forEach((e, t) => {e.querySelector(".status-tip") || -1 != a.currentIndex || (a.currentIndex = t), e.classList.contains("active") && (n = t)}), n != a.currentIndex && ElementObj.$allTask[a.currentIndex].querySelector(".step-title").click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u81ea\u52a8\u64ad\u653e"), ElementObj.$handleSpeedUp.style.display = "none", void a._o1()} else {var e = document.querySelector(".survey-header-subtitle");if (ElementObj.$allTask = document.querySelectorAll(".question-title"), e && ElementObj.$allTask.length) {clearInterval(t), showTip("🔉\u9898\u76ee\u521d\u59cb\u5316\u5b8c\u6210", 3e3);for (var l of ElementObj.$allTask) {var i = l.querySelector(".show-text").innerText;let t = l.querySelectorAll(".el-radio__label");var o = 1 < t.length ? 1 : 2;2 == o && (t = l.querySelectorAll(".el-checkbox__label"));let n = [0];l = yield axfedata({url: _b + "/searchtopic?topicname=" + i, method: "GET"});l.r###lt.topickey ? n = l.r###lt.topickey.split(",") : 2 == o && (n = [0, 1, 2]);for (let e = 0; e < t.length; e++) -1 != n.indexOf(e) && t[e].click(), yield sleep(400)}}}}), 1e3)})}, listenRebortFn(e) {var t = document.querySelector(".dialog-footer button");t ? t.click() : setTimeout(() => {ElementObj.$video.play()}, 1e3)}}},mingshiclass: {mainClass: "mingshiclass"},qiangshi: {mainClass: "qiangshi"},lanzhgoulgjs: {mainClass: "lanzhgoulgjs"},beijingjiaoshi: {mainClass: "beijingjiaoshi"},qingyangzgzjzj: {mainClass: "qingyangzgzjzj"},lanzhouwenli: {mainClass: "lanzhouwenli"},xuexituqiang: {mainClass: "CTXCommon",option: {activeClass: "lesson-in",nodeListClass: ".lesson",playNext: t => __awaiter(this, void 0, void 0, function* () {var e;yield sleep(1500), t.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u7ae0\u8282\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c\u4e86") : (t.currentIndex += 1, yield sleep(2e3), null != (e = document.querySelector(".el-message-box__btns button")) && e.click(), setTimeout(() => {t._o1()}, 5e3))})}},guojiazhihuijiaoyu: {mainClass: "guojiazhihuijiaoyu"},lanzhouchengren: {mainClass: "lanzhouchengren"},tsbt#####mde: {mainClass: "tsbt#####mde"},henangongshe: {mainClass: "henangongshe", remark: "\u548c\u5317\u4eac\u6559\u5e08\u4e00\u6837\u7684"},zjzjsrc: {mainClass: "zjzjsrc"},lzrejxjy: {mainClass: "lzrejxjy"},xuzhouyikedaxue: {mainClass: "xuzhouyikedaxue"},xibei###yjy: {mainClass: "xibei###yjy"},zgrtvu: {mainClass: "zgrtvu"},henandikuang: {mainClass: "henandikuang"},henanzhuanjipeixun: {mainClass: "CTXCommon", apis: {getID(e) {return new Promise(t => {fetch(location.origin + "/student/single_video.jsp?" + e, {headers: {accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","accept-language": "zh-CN,zh;q=0.9","sec-ch-ua": '"Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "iframe","sec-fetch-mode": "navigate","sec-fetch-site": "same-origin","upgrade-insecure-requests": "1"},referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.text()).then(e => {e = /"single_video_save.jsp", {id:([0-9]+), duration:total, studylong:studylong, position:current}/.exec(e)[1];t(e)})})}, savejsp(e, n) {return new Promise(t => {fetch(location.origin + "/student/single_video_save.jsp", {headers: {accept: "*/*","accept-language": "zh-CN,zh;q=0.9","content-type": "application/x-www-form-urlencoded; charset=UTF-8","sec-ch-ua": '"Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"},referrerPolicy: "strict-origin-when-cross-origin",body: `id=${e}&duration=${n}&studylong=${n}&position=` + n,method: "POST",mode: "cors",credentials: "include"}).then(e => e.text()).then(e => t(e))})}}, option: {nodeListClass: "", openListenPlayStatus: !1, _init(o) {return __awaiter(this, void 0, void 0, function* () {let i = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e, t, n, l;try {ElementObj.$allTask = document.querySelectorAll("tbody tr"), ElementObj.$allTask.length ? (clearInterval(i), showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 1500), ElementObj.$allTask.forEach((e, t) => {1 < t && (e = e.querySelectorAll("td")[2].innerText, 100 != parseInt(e)) && -1 == o.currentIndex && (o.currentIndex = t)}), t = location.href, GM_setValue("homeUrl", t), showTip("⚠️⚠\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), n = ElementObj.$allTask[o.currentIndex].querySelectorAll("td")[3].querySelector("a"), yield sleep(200), n.click(), yield sleep(1500), document.querySelector("input.textbtn").click(), setTimeout(() => {window.close()}, 4500)) : (l = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument, ElementObj.$video = null == l ? void 0 : l.querySelector("video"), ElementObj.$video && (clearInterval(i), o._o1()), ElementObj.$handleSpeedUp.style.display = "none")} catch (e) {}}), 500)})}, videoEle() {return new Promise(t => {let n = 0, l = setInterval(() => {n += 1;var e = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument;ElementObj.$video = null == e ? void 0 : e.querySelector("video"), ElementObj.$video && ElementObj.$video.duration ? (clearInterval(l), t(1)) : 7 <= n && (clearInterval(l), t(2))}, 1e3)})}, playFn(i) {return __awaiter(this, void 0, void 0, function* () {showTip("\u89c6\u9891\u52a0\u8f7d\u4e2d..."), yield i.getVideoDom();var e = Math.trunc(ElementObj.$video.duration), t = ElementObj.$video.src,n = new URLSearchParams(location.href), l = n.get("cid"), n = n.get("sid"),t = (showTip("🔊🔊🔊\u6b63\u5728\u8bf7\u6c42\u6570\u636e...."), yield _i1.henanzhuanjipeixun.apis.getID(`video=${t}&cid=${l}&sid=` + n));if (!t || !e) return alert("\u53c2\u6570\u9519\u8bef");yield _i1.henanzhuanjipeixun.apis.savejsp(t, e);showTip("🔊🔊🔊\u5b66\u4e60\u5b8c\u6210,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a...."), setTimeout(() => {window.close()}, 2500), MyTool.openInTab(MyTool.getValue("homeUrl"))})}}},zhejiangtjj: {mainClass: "zhejiangtjj"},guizhouzxjxjy: {mainClass: "CTXCommon",option: {nodeListClass: ".lcml_djj_list li",activeClass: "on",playFn: t => __awaiter(this, void 0, void 0, function* () {clearInterval(t.timer), clearInterval(t.listenVidoeStatusTimer), clearInterval(t.listenRebortTime);yield t.getVideoDom();var e = document.querySelector(".xgplayer-icon-play");null != e && e.click(), showTip("\u6b63\u5728\u52a0\u8f7d\u89c6\u9891", 2e3), yield sleep(2e3), yield t.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), t.playNext(t)})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})})}},jiangxizhipeizaixian: {mainClass: "jiangxizhipeizaixian"},anhuijixujyzx: {mainClass: "anhuijixujyzx"},lanzhoudxgs: {mainClass: "lanzhoudxgs"},jidianshejijiaoyu: {mainClass: "jidianshejijiaoyu"},henanzhujianjy: {mainClass: "henanzhujianjy"},sipingnengcun: {mainClass: "CTXCommon",option: {nodeListClass: ".videolist_item", openListenPlayTime: !1, getCurrentIndexByOption() {return new Promise(e => {for (var t = 0; t < ElementObj.$allTask.length; t++) if (!ElementObj.$allTask[t].querySelector(".el-progress").classList.contains("is-success")) {e(t);break}alert("\u5f53\u524d\u8bfe\u7a0b\u89c6\u9891\u5df2\u5168\u90e8\u64ad\u653e\u5b8c")})}}},ycjyluteducn: {mainClass: "ycjyluteducn"},gdrcjxjyw: {mainClass: "gdrcjxjyw"},shandongqlteacher: {mainClass: "CTXCommon",option: {nodeListClass: "app-course-catalogue.ng-star-inserted .ant-list-items li",getCurrentIndexByOption() {return new Promise(t => {for (let e = 0; e < ElementObj.$allTask.length; e++) ElementObj.$allTask[e].querySelector("div.align-items-center") || t(e)})}}},shixuetong: {mainClass: "shixuetong"},shandongenhualvyou: {mainClass: "shandongenhualvyou"},gansugongwuyuan: {mainClass: "gansugongwuyuan"},wlmqcol: {mainClass: "wlmqcol"},shandongzhuanyejisu: {mainClass: "shandongzhuanyejisu"},c####qingzhuanye: {mainClass: "c####qingzhuanye"},jiaoyuganbuwang: {mainClass: "jiaoyuganbuwang"},zhijiaoyun: {mainClass: "shandongzhuanyejisu"},zhijiaoyun2: {mainClass: "zhijiaoyun2"},zaixianxuexi: {mainClass: "zaixianxuexi"},anquanshengchanzx: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", videoEle: () => new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("#vjs_video_3_html5_api"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)}), _init(a) {return __awaiter(this, void 0, void 0, function* () {let o = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;try {var t = document.querySelectorAll(".chapter_j>span"),n = document.querySelectorAll(".first-box");if (ElementObj.$allTask = t.length ? t : n, ElementObj.$allTask.length) {clearInterval(o), showTip("\u6b63\u5728\u521d\u59cb\u5316"), ElementObj.$handleSpeedUp.style.display = "none";for (var l = 0; l <= ElementObj.$allTask.length - 1; l++) {var i = ElementObj.$allTask[l].querySelector("li");if (i && i.classList.contains("currse")) {a.currentIndex = l;break}if (ElementObj.$allTask[l].classList.contains("text-color")) {a.currentIndex = l;break}}-1 == a.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c") : ("/course/lesson" != location.pathname && null != (e = ElementObj.$allTask[a.currentIndex].querySelector("li")) && e.click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), a._o1())}} catch (e) {}}), 500)})}, listenRebortFn(e) {if ("none" != document.querySelector(".mask.mask_bg").style.display) e.playNext(e); else {var t = ElementObj.$video.currentTime / 60, n = ElementObj.$video.duration / 60,l = document.querySelector(".vjs-remaining-time-display");if (l) if ("0:00" == l.innerText) return void e.playNext(e);n <= t && e.playNext(e)}}, playNext(t) {return __awaiter(this, void 0, void 0, function* () {if (yield sleep(2e3), t.currentIndex >= ElementObj.$allTask.length - 1) alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c"); else {t.currentIndex += 1;let e = ElementObj.$allTask[t.currentIndex].querySelector("li");null !== (e = "/course/lesson" == location.pathname ? ElementObj.$allTask[t.currentIndex] : e) && void 0 !== e && e.click(), setTimeout(() => {t._o1()}, 2e3)}})}}},guojiakaifangdaxue: {mainClass: "guojiakaifangdaxue"},jjjxjy: {mainClass: "jjjxjy"},csustcj: {mainClass: "CTXCommon",option: {nodeListClass: ".ivu-tree-children .render-content__video", activeClass: "activeVideo"}},xiangongyedx: {mainClass: "CTXCommon", apis: {getList(e) {return new Promise(t => {fetch(location.origin + "/cjapi/other/student/plan/view?id=" + e, {headers: {accept: "application/json, text/plain, */*",authorization: "Bearer." + localStorage.getItem("stuToken"),"sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => {e = e.data.chapter.map(e => e.items);t(e)})})}, getDetail(e, t) {return new Promise((t, e) => {fetch("https://xatu.168wangxiao.com/cjapi/other/student/chapter/view?id=8809&tpcId=6372", {headers: {accept: "application/json, text/plain, */*",authorization: "Bearer." + localStorage.getItem("stuToken"),"sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => {t(e.data.details.videoDuration)})})}, save(e) {return new Promise(t => {fetch(location.origin + "/cjapi/other/student/curriculum/progress/update/v2", {headers: {accept: "application/json, text/plain, */*",authorization: "Bearer." + localStorage.getItem("stuToken"),"content-type": "application/json;charset=UTF-8",isneedprogressbar: "false",repeatsubmit: "false","sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrerPolicy: "strict-origin-when-cross-origin",body: JSON.stringify(e),method: "PUT",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})}}, option: {nodeListClass: ".ivu-tree-children .render-content__video", activeClass: "activeVideo", _init(a) {return __awaiter(this, void 0, void 0, function* () {let o = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = /[0-9]+/.exec(location.pathname)[0],t = document.querySelector(".details-container");if (e && t) {clearInterval(o), ElementObj.$handleSpeedUp.style.display = "none", yield a.changeHtml(t), a.addInfo("\u6b63\u5728\u83b7\u53d6\u8bfe\u7a0b\u4fe1\u606f");var n, l, t = yield _i1.xiangongyedx.apis.getList(e);a.addInfo("\u83b7\u53d6\u8bfe\u7a0b\u4fe1\u606f\u6210\u529f");for (n of t) for (var i of n) -1 == i.title.indexOf("\u7ae0\u8282\u6d4b\u8bc4") && i.video && !i.isover && (a.addInfo(`\u5373\u5c06\u5f00\u59cb\u64ad\u653e【${i.title}】`), yield _i1.xiangongyedx.apis.save({tpcId: Number(e),curriculumid: i.curriculum_id,chapterid: i.id,videoid: JSON.parse(i.video)[0].videoid,type: i.type,progress: -1}), l = yield _i1.xiangongyedx.apis.getDetail(i.id, e), a.addInfo(`【${i.title}】\u64ad\u653e\u4e2d,\u672c\u8282\u89c6\u9891\u65f6\u957f\u4e3a${i.timelen},\u81f3\u5c11\u5b66\u4e60${l}\u79d2`), MyTool.setValue("lenT", l), yield a._o1(), (yield _i1.xiangongyedx.apis.save({tpcId: Number(e),curriculumid: i.curriculum_id,chapterid: i.id,videoid: JSON.parse(i.video)[0].videoid,type: i.type,progress: l})).data.isOver) && a.addInfo(i.title + "\u8bfe\u7a0b\u5b66\u4e60\u5b8c\u6210")}}), 500)})}, playFn(l) {return __awaiter(this, void 0, void 0, function* () {var e, t = MyTool.getValue("lenT");let n = 0;for (e of new Array(t)) n += 1, yield MyTool.sleep(1e3), l.addInfo(`\u5df2\u64ad\u653e${n}\u79d2`)})}}},hebeiganbu: {mainClass: "hebeiganbu"},gdedujsxx: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init(t) {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {location.host.includes("gdedu.###.cn") && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", t._o1())}), 500)})}, listenRebortFn(l) {var i;return __awaiter(this, void 0, void 0, function* () {let e = document.querySelectorAll(".m-question-lst label");e.length && (e[0].click(), document.querySelector(".btn.u-main-btn").click(), yield sleep(3e3), (e = document.querySelectorAll(".m-question-lst label")).length) && (e[1].click(), document.querySelector(".btn.u-main-btn").click());var t,n = null == (i = null == (i = document.querySelector(".g-study-prompt")) ? void 0 : i.innerText) ? void 0 : i.indexOf("\u60a8\u5df2\u5b8c\u6210\u89c2\u770b");(-1 != n || ([n, t] = document.querySelectorAll(".g-study-prompt span"), n && t && Number(n.innerHTML) <= Number(t.innerHTML))) && l.playNext(l)})}, playNext(t) {return __awaiter(this, void 0, void 0, function* () {yield sleep(4500), t.currentIndex += 1;var e = document.querySelector("a.btn.next.crt");e && (e.click(), setTimeout(() => {t._o1()}, 4e3))})}}},wsjkrczyjn: {mainClass: "CTXCommon", option: {nodeListClass: ".setionItem", activeClass: "active"}},zhuzhouteacher: {mainClass: "zhuzhouteacher"},yinghuaxuetang: {mainClass: "yinghuaxuetang"},yidiantong: {mainClass: "CTXCommon",option: {nodeListClass: ".keshi", openListenPlayTime: !1, getCurrentIndexByOption() {return new Promise(e => {for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) if (ElementObj.$allTask[t].classList.contains("active")) {e(t);break}})}, nextClass: "a"}},shanghaikaifangdx: {mainClass: "shanghaikaifangdx"},gzgbjy: {mainClass: "gzgbjy"},jixujiaoyuzaixian: {mainClass: "jixujiaoyuzaixian"},guizhoujianshezyjs: {mainClass: "guizhoujianshezyjs"},zaixian100f: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", videoEle: () => new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("#vjs_video_3_html5_api"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)}), _init(a) {return __awaiter(this, void 0, void 0, function* () {let o = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;try {var t = document.querySelectorAll(".chapter_j>span"),n = document.querySelectorAll(".first-box");if (ElementObj.$allTask = t.length ? t : n, ElementObj.$allTask.length) {clearInterval(o), showTip("\u6b63\u5728\u521d\u59cb\u5316"), ElementObj.$handleSpeedUp.style.display = "none";for (var l = 0; l <= ElementObj.$allTask.length - 1; l++) {var i = ElementObj.$allTask[l].querySelector("li");if (i && i.classList.contains("currse")) {a.currentIndex = l;break}if (ElementObj.$allTask[l].classList.contains("text-color")) {a.currentIndex = l;break}}-1 == a.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c") : ("/course/lesson" != location.pathname && null != (e = ElementObj.$allTask[a.currentIndex].querySelector("li")) && e.click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), a._o1())}} catch (e) {}}), 500)})}, listenRebortFn(e) {if ("none" != document.querySelector(".mask.mask_bg").style.display) e.playNext(e); else {var t = ElementObj.$video.currentTime / 60, n = ElementObj.$video.duration / 60,l = document.querySelector(".vjs-remaining-time-display");if (l) if ("0:00" == l.innerText) return void e.playNext(e);n <= t && e.playNext(e)}}, playNext(t) {return __awaiter(this, void 0, void 0, function* () {if (yield sleep(2e3), t.currentIndex >= ElementObj.$allTask.length - 1) alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c"); else {t.currentIndex += 1;let e = ElementObj.$allTask[t.currentIndex].querySelector("li");null !== (e = "/course/lesson" == location.pathname ? ElementObj.$allTask[t.currentIndex] : e) && void 0 !== e && e.click(), setTimeout(() => {t._o1()}, 2e3)}})}}},gzteacher: {mainClass: "gzteacher"},moocxinyingzao: {mainClass: "moocxinyingzao"},zhejiangzjelib: {mainClass: "zhejiangzjelib"},jlnkylllnet: {mainClass: "jlnkylllnet"},dongbeishifandaxue: {mainClass: "dongbeishifandaxue"},quanguomeotan: {mainClass: "CTXCommon", option: {nodeListClass: ".row1 a.subset-class", activeClass: "on"}},qzjystudy: {mainClass: "qzjystudy"},jsjxjypt: {mainClass: "CTXCommon", option: {nodeListClass: ".videoRight ul li", activeClass: "li1"}},GlivePro: {mainClass: "GlivePro"},gaodengxueli: {mainClass: "gaodengxueli",option: {nodeListClass: ".course-list-txt dd i", activeClass: "fa-youtube-play"}},henanzhuanjizaixian: {mainClass: "henanzhuanjizaixian"},hunannmdxs: {mainClass: "hunannmdxs"},hexuezaixianjxjyzx: {mainClass: "CTXCommon",option: {nodeListClass: ".list_text:not(.color_catalog)",activeClass: "bai_color_text_icon",afterPlayEnd: () => new Promise(t => {setTimeout(() => {var e = document.querySelector(".el-message-box .el-button--primary");null != e && e.click(), t(!0)}, 3e3)})}},shenixue: {mainClass: "CTXCommon",option: {nodeListClass: ".jss299", activeClass: "jss300", playNext: () => new Promise(e => {setTimeout(() => {ElementObj.$allTask = document.querySelectorAll(".jss299");for (var e of ElementObj.$allTask) if (!e.querySelector(".jss303")) {e.click(), setTimeout(() => {toolOption.CtxMain._o1()}, 3e3);break}}, 3e3)})}},dongaokauji: {mainClass: "CTXCommon", option: {nodeListClass: "",activeClass: "",openListenPlayTime: !0,_init: i => __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$parentNodes = document.querySelectorAll("tbody>tr"), -1 != ["/cwweb/lecture/lectureList", "/study/u/myCourse"].indexOf(location.pathname) && ElementObj.$parentNodes.length) {clearInterval(l);ElementObj.$handleSpeedUp.style.display = "none";for (var e = 0; e <= ElementObj.$parentNodes.length - 1; e++) {var t = ElementObj.$parentNodes[e];if ("/cwweb/lecture/lectureList" == location.pathname) {var n = t.querySelectorAll("td")[1].querySelectorAll("span");if (n[0].innerText != n[1].innerText.replace("/", "")) {MyTool.setValue("homeUrl", location.href), t.querySelector(".study-a").click(), setTimeout(() => {window.close()}, 2e4);break}} else {let e = t.querySelectorAll("td")[6];if ("\u5df2\u5b8c\u6210" != (e = "/study/u/myCourse" == location.pathname ? t.querySelectorAll("td")[5] : e).innerText.trim()) {MyTool.setValue("homeUrl", location.href), t.querySelector("a.operate-a.active").click();break}}}location.pathname}-1 != location.pathname.indexOf("/cwweb/videoShow/video/videoPlay") && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(l), i._o1())}), 1e3)}),listenRebortFn() {var e, t = document.querySelector("#vjs-overlay");t && (null != (e = t.parentElement) && e.removeChild(t), setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 2e3))},playNext(t) {return __awaiter(this, void 0, void 0, function* () {var e = MyTool.getValue("homeUrl");location.href = e, setTimeout(() => {t._o1()}, 5e3)})}}},btzjpx: {mainClass: "CTXCommon",option: {nodeListClass: ".classBox",openListenPlayStatus: !1,getCurrentIndexByOption: () => new Promise(e => {for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) "rgb(240, 247, 254)" == ElementObj.$allTask[t].style.background && e(t)})}},bainianshuren: {mainClass: "bainianshuren"},dyyxlearning: {mainClass: "dyyxlearning"},hebeijiaoshijiaoyuwang: {mainClass: "hebeijiaoshijiaoyuwang"},shangdongganbu: {mainClass: "shangdongganbu"},yunketang: {mainClass: "yunketang",option: {nodeListClass: ".el-collapse-item__content div.file-item", activeClass: "file-item-active"}},guojiaz####xiaoxue: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init(o) {return __awaiter(this, void 0, void 0, function* () {let i = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$parentNodes = document.querySelectorAll(".fish-collapse-item"), ElementObj.$allTask = document.querySelectorAll(".resource-item"), ElementObj.$parentNodes.length || ElementObj.$allTask.length) {if (clearInterval(i), 1 == (ElementObj.$parentNodes.length ? 1 : 2)) {showTip("\u5b66\u4e60\u51c6\u5907\u4e2d~", 1e4);for (var t of ElementObj.$parentNodes) {t.querySelector(".fish-collapse-header").click();var n = t.querySelectorAll(".fish-collapse-header");let e = 0;if (1 < n.length) {for (var l of n) 0 != e && (l.click(), e += 1, yield sleep(250));e = 0}yield sleep(300)}ElementObj.$allTask = document.querySelectorAll(".resource-item");for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if ("\u5df2\u5b66\u5b8c" != ElementObj.$allTask[e].querySelector("i").title) {o.currentIndex = e;break}} else for (e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("resource-item-active")) {o.currentIndex = e;break}-1 == o.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (ElementObj.$allTask[o.currentIndex].click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {o._o1()}, 3e3))}} catch (e) {}}), 1e3)})}, playNext(e) {return __awaiter(this, void 0, void 0, function* () {e.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), e.currentIndex += 1, ElementObj.$allTask[e.currentIndex].click(), setTimeout(() => {e._o1()}, 3e3))})}, listenRebortFn() {var e, t = document.querySelectorAll(".fish-btn.fish-btn-primary")[1],t = (null != t && t.click(), document.querySelector(".fish-modal-root"));null != (e = null == t ? void 0 : t.parentElement) && e.removeChild(t)}}},huaxiajiaoshiyanpei: {mainClass: "huaxiajiaoshiyanpei"},zhelixuexi: {mainClass: "zhelixuexi"},fhswifer: {mainClass: "fhswifer"},shdfuruuwsor: {mainClass: "CTXCommon", option: {nodeListClass: ".simple-list li",openListenPlayStatus: !1,openListenPlayTime: !0,_init: () => new Promise(n => {let l = setInterval(() => {var e = document.querySelector(".el-message-box__wrapper");if (e && "none" != e.style.display && document.querySelector(".el-message-box__btns .el-button--primary").click(), ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = document.querySelectorAll(".simple-list li"), 0 < ElementObj.$allTask.length) {clearInterval(l);for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) if ("\u5b8c\u6210" != ElementObj.$allTask[t].querySelectorAll("div div")[2].innerText) {"rgb(255, 165, 0)" != ElementObj.$allTask[t].querySelector(".el-tooltip").style.color && ElementObj.$allTask[t].click(), toolOption.CtxMain.pdPlayFn(location.href), n(t);break}}})}),playNext: () => new Promise(e => {for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) if ("rgb(255, 165, 0)" == ElementObj.$allTask[t].querySelector(".el-tooltip").style.color) {if ("\u5b8c\u6210" != ElementObj.$allTask[t].querySelectorAll("div div")[2].innerText) return toolOption.CtxMain.pdPlayFn(location.href), !1;ElementObj.$allTask[t + 1].click(), e(!0);break}}),listenRebortFn: () => {"\u5b8c\u6210" == document.querySelector(".el-tooltip[style]").parentElement.querySelectorAll("div div")[1].innerText && location.reload()}}},cnjiewhr34iuiehs: {mainClass: "CTXCommon",option: {nodeListClass: ".menu ul>li dl",openListenPlayStatus: !1,getCurrentIndexByOption: () => new Promise(e => {e(1)}),playNext: () => new Promise(e => {var t = MyTool.getValue("preVideoSrc");ElementObj.$video.src == t ? toolOption.CtxMain.play() : (MyTool.setValue("preVideoSrc", ElementObj.$video.src), setTimeout(() => {location.reload()}, 3e3))})}},rrhisdgf283y7jvdf: {mainClass: "rrhisdgf283y7jvdf"},f6872: {mainClass: "f6872"},a782: {mainClass: "rrhisdgf283y7jvdf"},su862v: {mainClass: "CTXCommon",option: {nodeListClass: "#m-chapter-ul li a",openListenPlayStatus: !1,openListenPlayTime: !0,activeClass: "z-crt"}},bfuew28: {mainClass: "CTXCommon",option: {nodeListClass: "", openListenPlayStatus: !1, videoEle: () => new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelectorAll("iframe")[2].contentDocument.querySelector("iframe").contentDocument.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)}), _init: () => new Promise(e => {let t = setInterval(() => {var e = document.querySelectorAll("iframe")[2];e && (ElementObj.$allTask = e.contentDocument.querySelectorAll(".s_point"), 0 < ElementObj.$allTask.length) && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", toolOption.CtxMain.getCurrentIndex())})}), getCurrentIndexByOption: () => new Promise(e => {for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) if (ElementObj.$allTask[t].classList.contains("s_pointerct")) {e(t);break}}), listenRebortFn: () => {var e = document.querySelector(".layui-layer-btn0");null != e && e.click(), ElementObj.$video.play()}}},sd199: {mainClass: "CTXCommon",option: {nodeListClass: "", openListenPlayStatus: !1, videoEle: () => new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelectorAll("video")[1], ElementObj.$video && ElementObj.$video.src ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)}), _init: l => new Promise(e => {let t = 10, n = setInterval(() => {t < 0 && (showTip("🔊\u672a\u627e\u5230\u76ee\u5f55,\u8bf7\u5728\u6b64\u754c\u9762\u624b\u52a8\u66f4\u6362\u4e00\u4e2a\u89c6\u9891", 4e3), clearInterval(n)), ElementObj.$allTask = document.querySelectorAll("ul a[id]"), 0 < ElementObj.$allTask.length && (clearInterval(n), ElementObj.$handleSpeedUp.style.display = "none", l.getCurrentIndex()), t += 1}, 500)}), getCurrentIndexByOption: () => new Promise(e => {for (var t = document.querySelector(".learn-title").innerText.replace(/ /g, ""), n = 0; n <= ElementObj.$allTask.length - 1; n++) if (ElementObj.$allTask[n].innerText.replace(/ /g, "") == t) {e(n);break}})}},f13v: {mainClass: "CTXCommon",option: {nodeListClass: ".el-menu li", activeClass: "is-active", openListenPlayStatus: !1}},g32f: {mainClass: "CTXCommon",option: {nodeListClass: ".bb_e8edf0_dash div[id]",activeClass: "cur",openListenPlayStatus: !1,_init: () => new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", toolOption.CtxMain._o1())})}),playNext: () => new Promise(e => {document.querySelector("a.btItem.Next").click()})}},ss10: {mainClass: "CTXCommon", option: {nodeListClass: ".menu_body span>a.chapter", _init: () => new Promise(n => {let l = setInterval(() => {var e;if (ElementObj.$parentNodes = null == (e = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument) ? void 0 : e.querySelectorAll(".class-wrapper"), ElementObj.$parentNodes && ElementObj.$parentNodes.length) {clearInterval(l);var t = localStorage.getItem("curClassName");for (let e = 0; e < ElementObj.$parentNodes.length; e++) if (ElementObj.$parentNodes[e].querySelector(".kcmc").innerText.trim() == t) {ElementObj.$parentNodes[e + 1].querySelector("input.btn").click();break}n(!0)}"/student/IndexWlkc_BootStrap.aspx" == location.pathname && (clearInterval(l), ElementObj.$parentNodes = null == (e = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument) ? void 0 : e.querySelectorAll(".menu_body span>a[title]"), ElementObj.$parentNodes && ElementObj.$parentNodes.length && ElementObj.$parentNodes[0].click(), n(!0)), ElementObj.$allTask = document.querySelectorAll(".menu_body span>a.chapter"), ElementObj.$allTask.length && (clearInterval(l), e = document.querySelector(".glyphicon-home").innerText.trim(), localStorage.setItem("curClassName", e), toolOption.CtxMain.getCurrentIndex(), n(!0))}, 1e3)}), getCurrentIndexByOption: () => new Promise(t => {for (let e = 0; e < ElementObj.$allTask.length; e++) if ("rgb(51, 122, 183)" == ElementObj.$allTask[e].style.color) {t(e);break}}), playFn: r => __awaiter(this, void 0, void 0, function* () {var e = /wlkcID=(.+)&wlk/.exec(location.search)[1], t = /wlkckkID=(.+)&/.exec(location.search)[1],n = /zjid=(.+)/.exec(location.search)[1],l = document.querySelector("#lbl_videoTime").innerText.trim(),i = unsafeWindow.__VIEWSTATE.value, o = unsafeWindow.__VIEWSTATEGENERATOR.value,a = unsafeWindow.__EVENTVALIDATION.value;e && t && n && l && i && o && a ? (yield fetch(location.origin + `/student/BootStrap_Video.aspx?wlkcID=${e}&wlkckkID=${t}&zjid=` + n, {credentials: "include",headers: {"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0",Accept: "*/*","Accept-Language": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2","X-Requested-With": "XMLHttpRequest","X-MicrosoftAjax": "Delta=true","Cache-Control": "no-cache","Content-Type": "application/x-www-form-urlencoded; charset=utf-8"},body: `ScriptManager1=UpdatePanel%7CbtnYXXXSJ&__EVENTTARGET=&__EVENTARGUMENT=&postLearnTime=${Number(l)}&shijiLearnTime=${Number(l)}&learnTime=${Number(l)}&videoState=pause&__VIEWSTATE=${encodeURIComponent(i)}&__VIEWSTATEGENERATOR=${o}&__EVENTVALIDATION=${encodeURIComponent(a)}&__ASYNCPOST=true&btnYXXXSJ=`,method: "POST",mode: "cors"}), toolOption.CtxMain.playNext(r)) : alert("\u53c2\u6570\u9519\u8bef")}), playNext: t => new Promise(e => __awaiter(this, void 0, void 0, function* () {var e;t.currentIndex >= ElementObj.$allTask.length - 1 ? location.href = location.origin + "/student/IndexTemplate_BootStrap.aspx" : (yield sleep(2e3), t.currentIndex += 1, null != (e = ElementObj.$allTask[t.currentIndex]) && e.click(), setTimeout(() => {t._o1()}, 2e3))}))}},rs01: {mainClass: "CTXCommon", option: {activeClass: "", nodeListClass: "", _init(n) {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = document.querySelectorAll(".rank-3>li"), -1 != location.pathname.indexOf("/home/course/") && 0 < ElementObj.$allTask.length ? (clearInterval(t), n.getCurrentIndex()) : (e = document.querySelector(".navBtn2"), -1 != location.pathname.indexOf("/home/course/") && e && (clearInterval(t), setTimeout(() => {n._init()}, 2e3), e.click()), "/home/learn/index" == location.pathname && (e = document.querySelector(".basic.active")) && (clearInterval(t), e.nextElementSibling.querySelector(".basic").click(), setTimeout(() => {n.pdPlayFn(location.href)}, 3e3)))}), 1e3)})}, getCurrentIndexByOption() {return new Promise(e => {for (var t of ElementObj.$allTask) {var n = t.querySelector("a");if (-1 == n.innerText.indexOf("\u6d4b\u8bd5")) if (!t.querySelector(".basic").classList.contains("looked")) {MyTool.setValue("homeUrl", location.href), n.click();break}}e(0)})}, playNext() {return __awaiter(this, void 0, void 0, function* () {location.href = MyTool.getValue("homeUrl")})}, listenRebortFn() {var e = document.querySelector(".vjs-big-play-button");null != e && e.click(), ElementObj.$video.volume = 0, ElementObj.$video.play()}}},das01: {mainClass: "CTXCommon", option: {nodeListClass: "ul>li:first-child",activeClass: "list",openListenPlayStatus: !1,_init: () => new Promise(t => {let n = setInterval(() => {if (ElementObj.$handleSpeedUp.style.display = "none", "/online/learn" == location.pathname) {var e = document.querySelector(".toStudy");if (e) return clearInterval(n), setTimeout(() => {window.close()}, 1e4), e.click(), void t(!0)}"/admin/lock/Study" == location.pathname && (ElementObj.$allTask = document.querySelectorAll("ul>li"), ElementObj.$allTask.length) && (clearInterval(n), toolOption.CtxMain.getCurrentIndex(), t(!0))}, 500)}),listenRebortFn: () => {var e, t = document.querySelector(".layui-input");t && (e = t.getAttribute("data-num3"), t.value = e, document.querySelector(".layui-layer-btn0").click())},playNext: t => new Promise(e => __awaiter(this, void 0, void 0, function* () {var e;t.currentIndex >= ElementObj.$allTask.length - 1 ? location.href = "http://hzsdadmin.zhihuiteacher.com/online/learn" : (yield sleep(2500), t.currentIndex += 1, null != (e = ElementObj.$allTask[t.currentIndex]) && e.click(), setTimeout(() => {t._o1()}, 5e3))}))}},aa101: {mainClass: "CTXCommon", option: {nodeListClass: ".level2>a", activeClass: "cur"}},sdf1: {mainClass: "CTXCommon",option: {nodeListClass: ".ml_2 li",activeClass: "cur",nextClass: ".littletit",openListenPlayTime: !1,getCurrentIndexByOption: () => new Promise(t => {for (let e = 0; e < ElementObj.$allTask.length; e++) {var n = ElementObj.$allTask[e].querySelector(".littlebot").querySelector(".el-progress"),l = ElementObj.$allTask[e].querySelector(".elli").innerText.trim();if (n && -1 == l.indexOf("\u5728\u7ebf\u4f5c\u4e1a") && -1 == l.indexOf("\u4e60\u9898\u6d4b\u9a8c") && -1 == l.indexOf("Test")) {t(e);break}}}),listenRebortFn: () => {var e = document.querySelector("._active.elli"),t = (null == (t = null == e ? void 0 : e.parentElement) ? void 0 : t.parentElement).querySelector(".el-icon-circle-check"),e = e.innerText.trim();!t && "\u5728\u7ebf\u4f5c\u4e1a" != e && -1 == e.indexOf("\u4e60\u9898\u6d4b\u9a8c") && -1 == e.indexOf("Test") || toolOption.CtxMain.playNext()}}},sdf3: {mainClass: "CTXCommon",option: {nodeListClass: "#classes li", activeClass: "li_current_index", openListenPlayTime: !1}},dsfs: {mainClass: "CTXCommon", option: {nodeListClass: "#content a", _init() {return new Promise(n => {let l = setInterval(() => {if (ElementObj.$allTask = document.querySelectorAll("#content a"), ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask.length) {clearInterval(l);var t = MyTool.getValue("preClassName");if (t) {for (let e = 0; e < ElementObj.$allTask.length; e++) if (t == ElementObj.$allTask[e].innerText.trim()) {MyTool.setValue("homeUrl", location.href), ElementObj.$allTask[e + 1].click();break}} else MyTool.setValue("homeUrl", location.href), ElementObj.$allTask[0].click();n(!0)}var e = document.querySelector(".item-title.label h1 a");e && "/m/Exam/Student/startStudy" == location.pathname && (clearInterval(l), e.click(), n(!0)), "/m/Exam/Student/startStudy" == location.pathname && (clearInterval(l), toolOption.CtxMain.pdPlayFn(location.href), n(!0))}, 500)})}, playNext(e) {return new Promise((e, t) => __awaiter(this, void 0, void 0, function* () {var e = document.querySelector(".startStudy-title>p"),e = null == e ? void 0 : e.innerText.trim();MyTool.setValue("preClassName", e), document.querySelector(".bottom-pc-btn button").click(), yield sleep(2e3), setTimeout(() => {location.reload()}, 3e3), document.querySelector(".modal-button.modal-button-bold").click()}))}}},bsd11: {mainClass: "CTXCommon", option: {nodeListClass: "a.title", getCurrentIndexByOption() {return new Promise((t, e) => {for (let e = 0; e < ElementObj.$allTask.length; e++) if (ElementObj.$allTask[e].parentElement.classList.contains("active")) {t(e);break}})}}},s221s: {mainClass: "CTXCommon",option: {nodeListClass: ".tab-content-desc",activeClass: "desc-item-sel",playFn: e => __awaiter(this, void 0, void 0, function* () {yield e.getVideoDom();ElementObj.$video.volume = 0, ElementObj.$video.play(), yield sleep(1e3), ElementObj.$video.currentTime += 7200, yield sleep(1e3), ElementObj.$video.currentTime += 7200, yield sleep(1e3), e.playNext()})}},ifsbds: {mainClass: "CTXCommon",option: {nodeListClass: ".tab-content-desc",activeClass: "desc-item-sel",_init: () => __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => {if (ElementObj.$handleSpeedUp.style.display = "none", "/kaoshi_qnzzxy/majorlist.html" == location.pathname) clearInterval(t), alert("\u8bf7\u9009\u62e9\u4e00\u4e2a\u8bfe\u7a0b,\u70b9\u51fb\u8fdb\u53bb"); else {if (ElementObj.$allTask = document.querySelectorAll(".list-group-item"), 0 < ElementObj.$allTask.length) {clearInterval(t);for (var e of ElementObj.$allTask) if ("\u5b66\u4e60\u8fdb\u5ea6:100.00%" != e.querySelector(".list-group-item-text.text-muted").innerText) {MyTool.setValue("homeUrl", location.href), e.click();break}}"/kaoshi_qnzzxy/test.html" == location.pathname && (clearInterval(t), toolOption.CtxMain.pdPlayFn(location.href))}}, 500)}),playNext: e => __awaiter(this, void 0, void 0, function* () {location.href = MyTool.getValue("homeUrl")})}},sfps: {mainClass: "CTXCommon", option: {nodeListClass: "",activeClass: "",openListenPlayStatus: !0,_init: n => __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = document.querySelectorAll(".lesson li"), ElementObj.$allTask.length) {clearInterval(t);for (var e of ElementObj.$allTask) if (!e.classList.contains("history")) {MyTool.setValue("homeUrl", location.href), e.querySelector("a").click();break}}"/course-section-video-play" == location.pathname && (clearInterval(t), window.alert = () => {}, n._o1())}), 200)}),playNext: e => __awaiter(this, void 0, void 0, function* () {window.alert = () => {}, location.href = MyTool.getValue("homeUrl")}),listenRebortFn: () => __awaiter(this, void 0, void 0, function* () {var e = document.querySelector("#checkCode");e.innerText && (document.querySelector("#inputCode").value = e.innerText, yield sleep(1500), document.querySelector(".Button1.Button").click()), window.alert = () => !1, ElementObj.$video && ElementObj.$video.currentTime >= ElementObj.$video.duration && toolOption.CtxMain.playNext()})}},sf1101: {mainClass: "CTXCommon", option: {nodeListClass: "span.studiedLesson", activeClass: "RED", openListenPlayStatus: !0, getCurrentIndex(n) {return __awaiter(this, void 0, void 0, function* () {for (let e = 0; e < ElementObj.$allTask.length; e++) {var t = ElementObj.$allTask[e];if (!t.classList.contains("studiedLessonMark")) {n.currentIndex = e, showTip("\u521d\u59cb\u5316\u5b8c\u6210,3\u79d2\u540e\u5f00\u59cb\u81ea\u52a8\u64ad\u653e", 3e3), t.click(), setTimeout(() => {n.pdPlayFn(location.href)}, 2e3);break}}-1 === n.currentIndex && alert("\u5f53\u524d\u7ae0\u8282\u6240\u6709\u89c6\u9891\u5df2\u7ecf\u5b66\u4e60\u5b8c")})}, videoEle: () => new Promise(t => {let n = 0, l = setInterval(() => {var e;n += 1, ElementObj.$video = null == (e = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument) ? void 0 : e.querySelector("video"), ElementObj.$video ? (clearInterval(l), t(1)) : 7 <= n && (clearInterval(l), t(2))}, 1e3)}), listenRebortFn(t) {var n;return __awaiter(this, void 0, void 0, function* () {var e = null == (n = null == (n = document.querySelector("iframe")) ? void 0 : n.contentDocument) ? void 0 : n.querySelector("#popup_panel input");e && (e.click(), t.play())})}, playNext() {return __awaiter(this, void 0, void 0, function* () {location.reload()})}}},usd01: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init: s => __awaiter(this, void 0, void 0, function* () {let r = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$handleSpeedUp.style.display = "none", document.querySelector(".iconfont.icon-fujian")) clearInterval(r), showTip("\u5224\u65ad\u6b64\u89c6\u9891\u7ae0\u8282\u4e3a\u975e\u89c6\u9891,\u5373\u5c06\u81ea\u52a8\u8df3\u8fc7", 3e3), yield sleep(2500), s.playNext(); else if (ElementObj.$video = document.querySelector("video"), ElementObj.$video) clearInterval(r), document.querySelector(".xt_video_player_common_icon").click(), s._o1(); else if (-1 != location.pathname.indexOf("/v2/web/studentLog")) {clearInterval(r);var e = location.pathname.replace("/v2/web/studentLog/", "");e:for (var t of new Array(100)) {var n = yield function (e) {let n = document.cookie.split(";")[0].replace("csrftoken=", "");return new Promise(t => {fetch(e, {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9","classroom-id": "19933500",priority: "u=1, i","sec-ch-ua": '"Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","university-id": "2760","uv-id": "2760","x-client": "web","x-csrftoken": n,"xt-agent": "web",xtbz: "ykt"},referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})}(`https://www.yuketang.cn/v2/api/web/logs/learn/${e}?actype=15&page=0&offset=20&sort=-1`);if (!n.data.activities) break;var l, i = n.data.activities.map(e => e.courseware_id), o = yield function (e) {let n = document.cookie.split(";")[0].replace("csrftoken=", "");return new Promise(t => {fetch("https://www.yuketang.cn/mooc-api/v1/lms/learn/course/pub_new_pro", {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9","classroom-id": "19933500","content-type": "application/json;charset=UTF-8",priority: "u=1, i","sec-ch-ua": '"Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","university-id": "2760","uv-id": "2760","x-csrftoken": n,"xt-agent": "web",xtbz: "ykt"},referrerPolicy: "strict-origin-when-cross-origin",body: e,method: "POST",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})}(JSON.stringify({cid: e, new_id: i}));for (l of n.data.activities) {var a = l.courseware_id;if (o.data[a] && 1 != o.data[a].total_done) {a = `https://www.yuketang.cn/v2/web/xcloud/video-student/${e}/` + l.content.leaf_id;MyTool.setValue("homeUrl", location.href), location.href = a;break e}}0}}}), 500)}), playNext: () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5373\u5c06\u5207\u6362\u4e0b\u4e00\u4e2a\u7ae0\u8282"), yield sleep(2e3), location.href = MyTool.getValue("homeUrl")})}},sdhfks01: {mainClass: "CTXCommon",option: {nodeListClass: ".video .chapterhead.chapterhead1 li",activeClass: "current",getCurrentIndexByOption: () => new Promise(e => {var t = document.querySelector(".video_header .video_number").innerText.replace(/\u7b2c|\u8bb2/g, "");e(Number(t) - 1)}),playNext(n) {return new Promise(e => {if (n.currentIndex >= ElementObj.$allTask.length - 1) alert("\u5df2\u5168\u90e8\u64ad\u653e\u5b8c"); else {showTip("✅✅✅\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u8282");let t = setInterval(() => {var e = document.querySelector(".el-message-box__btns button");e && (n.currentIndex += 1, clearInterval(t), setTimeout(() => {n._o1()}, 4e3), e.click())}, 500)}})}}},s01r: {mainClass: "CTXCommon", option: {nodeListClass: ".video .chapterhead.chapterhead1 li",activeClass: "current",openListenPlayTime: !0,_init: l => __awaiter(this, void 0, void 0, function* () {let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = document.querySelectorAll(".ul-course li"), "jxjy.ahhjsoft.com" === location.host && ElementObj.$allTask) clearInterval(n), showTip("🔊🔊🔊\u4ec5\u652f\u6301\u516c\u9700\u8bfe4、\u516c\u9700\u8bfe3", 4e3); else if (ElementObj.$allTask = document.querySelectorAll(".zdBox"), "ah.zhuanjipx.com" === location.host && ElementObj.$allTask.length) {clearInterval(n), showTip("🔊🔊🔊\u6b63\u5728\u521d\u59cb\u5316", 4e3), l.classType = 3;for (let e = 0; e < ElementObj.$allTask.length; e++) if (ElementObj.$allTask[e].classList.contains("childBox_item_on")) {l.currentIndex = e, showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5f00\u59cb\u64ad\u653e", 2e3), l._o1();break}} else {var e = document.querySelectorAll(".ant-collapse-item");if (0 < e.length) {clearInterval(n), showTip("🔊🔊🔊\u6b63\u5728\u521d\u59cb\u5316", 4e3), l.classType = 4;for (var t of e) t.classList.contains("ant-collapse-item-active") || (t.querySelector(".ant-collapse-header").click(), yield sleep(100));ElementObj.$allTask = document.querySelectorAll(".video_box_k_t_lx");for (let e = 0; e < ElementObj.$allTask.length; e++) if (ElementObj.$allTask[e].classList.contains("video_box_k_active")) {l.currentIndex = e, showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5f00\u59cb\u64ad\u653e", 2e3), l._o1();break}}}}), 300)}),playFn: l => __awaiter(this, void 0, void 0, function* () {var e;yield l.getVideoDom(), 2 !== l.classType && 3 !== l.classType || (clearInterval(l.timer), clearInterval(l.listenVidoeStatusTimer), clearInterval(l.listenRebortTime), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), l.playNext(l)})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 4 === l.classType && (yield l.changeHtml($el("#video-content-box")), yield l.getVideoDom(), l.addInfo("✅✅✅✅✅✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e✅✅✅✅✅✅✅✅✅"), yield sleep(1e3), showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf"), ElementObj.$video.volume = 0, null != (e = document.querySelector(".vjs-big-play-button")) && e.click(), ElementObj.$video.play(), setTimeout(() => __awaiter(this, void 0, void 0, function* () {var t = Math.ceil(ElementObj.$video.duration);if (t) {let e = 0;for (var n of new Array(1e4)) {if (e >= t) {ElementObj.$video.currentTime = t - 10, yield sleep(1e3), ElementObj.$video.currentTime = t, l.addInfo("🎉🎉🎉🎉🎉🎉🎉🎉\u5df2\u6210\u529f\u5b66\u5b8c🎉🎉🎉🎉🎉🎉🎉🎉"), yield sleep(3e3), l.playNext();break}n % 60 == 0 && 0 < n && (ElementObj.$video.currentTime = e), e += +toolOption.accelerator > t ? t : +toolOption.accelerator, l.addInfo(`🔊\u5f53\u524d\u72b6\u6001\u6b63\u5728\u4ee5${toolOption.accelerator}\u500d\u901f\u5b66\u4e60\u4e2d,\u5df2\u5b66\u4e60${e}\u79d2,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t / 60}\u5206\u949f`), yield sleep(1e3)}} else alert("\u89c6\u9891\u65f6\u95f4\u9519\u8bef,\u8bf7\u5237\u65b0\u9875\u9762\u91cd\u8bd5")}), 2e3))}),playNext(e) {return __awaiter(this, void 0, void 0, function* () {location.reload()})}}},hsduf: {mainClass: "CTXCommon", option: {nodeListClass: ".menu_body dd",activeClass: "active",_init: o => __awaiter(this, void 0, void 0, function* () {let i = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelector("#a2");if (e) {clearInterval(i), e.click(), yield MyTool.sleep(2500);var t = document.querySelectorAll("li[data-trainid]");for (let e = 0; e < t.length; e++) {var n = t[e];MyTool.setValue("homeUrl", location.href), setTimeout(() => {window.close()}, 2e4), n.querySelector("a").click()}}if (ElementObj.$allTask = document.querySelectorAll(".menu_body dd"), 0 < ElementObj.$allTask.length) {clearInterval(i);let t = !0;for (let e = 0; e < ElementObj.$allTask.length; e++) {var l = ElementObj.$allTask[e];if (!l.classList.contains("active")) {t = !1, o.currentIndex = e, l.classList.contains("hover") || l.querySelector("a").click(), showTip("✅✅✅\u6b63\u5728\u521d\u59cb\u5316", 3e3), o._o1();break}}t && (e = MyTool.getValue("homeUrl") || "https://www.ejxjy.com/a/sys/portal/person", location.href = e)}}), 300)}),openListenPlayTime: !0,playNext() {return __awaiter(this, void 0, void 0, function* () {location.reload()})},playFn: a => __awaiter(this, void 0, void 0, function* () {yield a.getVideoDom(), yield a.changeHtml(ElementObj.$video.parentElement);var e = Math.ceil(ElementObj.$video.duration);let t = 0;var n = yield new Promise(t => {fetch(location.href, {headers: {accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7","accept-language": "zh-CN,zh;q=0.9",priority: "u=0, i","sec-ch-ua": '"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "document","sec-fetch-mode": "navigate","sec-fetch-site": "same-origin","sec-fetch-user": "?1","upgrade-insecure-requests": "1"},referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.text()).then(e => {e = null == (e = e.match(/saveVideo\?id=(.+)"/)) ? void 0 : e[1];t(e)})});if (n && e) {setInterval(() => {var e = document.querySelector(".jbox-button-focus");null != e && e.click()}, 300);var l, i = ElementObj.$video.duration;for (l of new Array(1e4)) {var o = yield function (e, n, l) {return new Promise(t => {try {fetch("https://www.ejxjy.com/a/onlinelearn/stuCourse/saveVideo?id=" + l, {headers: {accept: "*/*","accept-language": "zh-CN,zh;q=0.9","content-type": "application/x-www-form-urlencoded; charset=UTF-8",priority: "u=0, i","sec-ch-ua": '"Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"},referrerPolicy: "strict-origin-when-cross-origin",body: `nowTime=${e}&videoTime=` + n,method: "POST",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))} catch (e) {t(!1)}})}(t, i, n);if (0 != o && t >= e) {a.addInfo("🎉🎉🎉🎉🎉🎉🎉🎉\u5df2\u6210\u529f\u5b66\u5b8c🎉🎉🎉🎉🎉🎉🎉🎉"), yield sleep(3e3), a.playNext(a);break}"success" == o.data && (t += +toolOption.accelerator > e ? e : +toolOption.accelerator), a.addInfo(`🔊\u5f53\u524d\u72b6\u6001\u6b63\u5728\u4ee5${toolOption.accelerator}\u500d\u901f\u5b66\u4e60\u4e2d,\u5df2\u5b66\u4e60${t}\u79d2,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${e / 60}\u5206\u949f`), yield sleep(500)}} else showTip("\u89c6\u9891\u65f6\u95f4\u9519\u8bef,\u8bf7\u5237\u65b0\u9875\u9762\u91cd\u8bd5"), location.reload()})}},pa1: {mainClass: "CTXCommon", option: {activeClass: "", nodeListClass: "", _init: o => __awaiter(this, void 0, void 0, function* () {let i = setInterval(() => {ElementObj.$handleSpeedUp.style.display = "none";var e, t = document.querySelectorAll(".navItem");if (0 < t.length && (null != (e = t[1].querySelector("span")) && e.classList.contains("active") || t[1].click()), ElementObj.$parentNodes = null == (t = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument) ? void 0 : t.querySelectorAll(".itemList .contentItem"), 0 < ElementObj.$parentNodes.length) {clearInterval(i);for (var n of ElementObj.$parentNodes) if (n.querySelector(".ready")) {MyTool.setValue("homeUrl", location.href), n.querySelector("a").click();break}} else if (ElementObj.$allTask = document.querySelectorAll(".listGroup .listItem"), 0 < ElementObj.$allTask.length) {clearInterval(i);let e = !0;for (var l of ElementObj.$allTask) if ("\u672a\u5b66\u4e60" === l.querySelector("button").innerText) {e = !1, setTimeout(() => {o._o1()}, 3e3), l.querySelector(".text").click();break}e && (location.href = MyTool.getValue("homeUrl") || "https://aqscpx.91huayi.com/Exercise/ExerciseHome/index")}}, 500)})}},bj1: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init: r => __awaiter(this, void 0, void 0, function* () {let a = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$parentNodes = document.querySelectorAll(".iv-personal-course-content li"), ElementObj.$parentNodes.length) {clearInterval(a);e:for (var t of new Array(2)) {for (let e = 0; e < ElementObj.$parentNodes.length; e++) {var n = ElementObj.$parentNodes[e],l = n.querySelector(".ivu-progress-text span").innerText;if (100 != parseInt(l)) {MyTool.setValue("homeUrl", location.href), n.querySelectorAll(".iv-course-myClass span")[1].click();break e}}document.querySelector(".iv-page-next").click(), showTip("🔊\u6b63\u5728\u5207\u6362\u4e0b\u4e00\u9875...", 3e3), yield sleep(3e3)}} else if (ElementObj.$allTask = null == (e = document.querySelector(".iv-course-play-detail-menu-item")) ? void 0 : e.querySelectorAll("li"), 0 < ElementObj.$allTask.length) {clearInterval(a);for (let e = 0; e < ElementObj.$allTask.length; e++) {var i = ElementObj.$allTask[e], o = i.querySelector(".iv-fs-12").innerText;if (100 != parseInt(o)) {r.currentIndex = e, i.click(), showTip("✅✅✅\u6b63\u5728\u521d\u59cb\u5316", 3e3), setTimeout(() => {r._o1()}, 3e3);break}}}}), 300)}), playNext(t) {return __awaiter(this, void 0, void 0, function* () {var e;t.currentIndex >= ElementObj.$allTask.length - 1 ? (e = MyTool.getValue("homeUrl") || "https://bjce.bjdj.###.cn/#/personalSpace/MyCourse", window.open(e), window.close()) : (t.currentIndex += 1, null != (e = ElementObj.$allTask[t.currentIndex]) && e.click(), setTimeout(() => {t._o1()}, 2e3))})}}},sd2: {mainClass: "CTXCommon", option: {nodeListClass: ".numCHapter", activeClass: "active"}},sfd9: {mainClass: "CTXCommon", option: {nodeListClass: ".videoList .item",activeClass: "active",_init: i => __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelector("iframe");if ("jxzj.zpwedu.com" === location.host && e && (location.href = e.src), ElementObj.$allTask = document.querySelectorAll(".videoList .item"), 0 < ElementObj.$allTask.length && "jxzjstu.zpwedu.com" === location.host) {clearInterval(l);for (let e = 0; e < ElementObj.$allTask.length; e++) {var t = ElementObj.$allTask[e], n = t.querySelectorAll("div>div")[2];if ("100%" != /\((.+)\)/.exec(n.innerText)[1]) {t.classList.contains("active") || t.click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,3\u79d2\u540e\u81ea\u52a8\u64ad\u653e", 3e3), i.currentIndex = e, setTimeout(() => {i._o1()}, 2e3);break}}}}), 300)}),beforePlayVideo() {var e = document.querySelector(".pv-icon-volumeon");null != e && e.click()},beforePlayNext(e) {var t = null == (t = document.querySelector(".item.active")) ? void 0 : t.querySelectorAll("div>div")[2];"100%" != /\((.+)\)/.exec(t.innerText)[1] && location.reload()},listenRebortFn() {var e = null == (e = document.querySelector(".item.active")) ? void 0 : e.querySelectorAll("div>div")[2];"100%" == /\((.+)\)/.exec(e.innerText)[1] && location.reload()}}},hds1: {mainClass: "CTXCommon", option: {nodeListClass: ".ml.tab-info a",activeClass: "dd_active",_init: s => __awaiter(this, void 0, void 0, function* () {let r = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelectorAll(".content_unit");if (e.length) {clearInterval(r);e:for (var t of e) {t.click(), yield MyTool.sleep(2e3);var n, t = document.querySelector(".note>p").innerText;if (!(-1 < t.indexOf("\u606d\u559c\u60a8\u5df2\u5b8c\u6210"))) for (n of document.querySelectorAll("#watchcourseTable tbody tr")) {var l, i = n.querySelectorAll("td")[5], o = n.querySelectorAll("td")[6];if (i.innerText.trim() != o.innerText.trim() && "\u5df2\u5b8c\u6210" != o.innerText.trim()) {n.querySelector(".studyBegin").click(), yield MyTool.sleep(2e3), null != (i = document.querySelector(".layui-layer-btn1")) && i.click(), yield MyTool.sleep(1e3), ElementObj.$allTask = document.querySelectorAll("#Div_CourseProgress tr:not([style])");for (l of ElementObj.$allTask) if ("100%" != l.querySelector(".fa6").innerText) {MyTool.deleteValue("learnStatus");var a = l.querySelector(".star").href;MyTool.openInTab(a), GM_addValueChangeListener("learnStatus", (e, t, n, l) => {"done" === n && (MyTool.deleteValue("learnStatus"), location.reload())});break e}}}}} else ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(r), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,3\u79d2\u540e\u81ea\u52a8\u64ad\u653e", 3e3), s.pdPlayFn(location.href))}), 300)}),playNext() {return __awaiter(this, void 0, void 0, function* () {MyTool.setValue("learnStatus", "done"), yield sleep(1e3), window.close()})},listenRebortFn() {var e = document.querySelector("a.btn-ProofOk");null != e && e.click()}}},asds1: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init: m => __awaiter(this, void 0, void 0, function* () {let c = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$video = document.querySelector("video"), ElementObj.$video) {clearInterval(c);var t = document.querySelector(".rightcontent") || ElementObj.$video.parentElement,n = (yield m.changeHtml(t), m.addInfo("\u6b63\u5728\u83b7\u53d6token..."), dsf.getToken());m.addInfo("✅✅✅token:" + n), m.addInfo("\u6b63\u5728\u83b7\u53d6\u8bfe\u7a0b\u5217\u8868...");let e = location.href.match(/id=(.+)/)[1];var l, i = [];if (-1 != location.href.indexOf("commonpage/classcolumn")) {m.addInfo("\u6b63\u5728\u83b7\u53d6parents"), s = e, d = n;e:for (var o of (yield new Promise((t, e) => {location.origin;var n = location.origin + "/nc/pack/channel/course/list";fetch(n + "?id=" + s, {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9",authorization_token: d,client: "pc","sec-ch-ua": '"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrer: location.origin + "/page.html",referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})).data) {m.addInfo(`【${o.name}】`);for (let t of o.subList) if (m.addInfo(`\u6b63\u5728\u83b7\u53d6${t.name}\u7684\u8bfe\u7a0b,\u5df2\u5b8c\u6210\u8fdb\u5ea6` + t.progress), !(95 < t.progress)) {var a = (yield u(t.businessId, n)).data.playTree.children.map(e => Object.assign(Object.assign({}, e), {businessId: t.businessId}));i.push(...a);break e}}} else {t = yield u(e, n);i.push(...t.data.playTree.children)}m.addInfo("✅✅✅\u8bfe\u7a0b\u5217\u8868\u83b7\u53d6\u6210\u529f");for (l of i) if (!(100 <= l.finishedRate)) {m.addInfo("\u5373\u5c06\u5f00\u59cb\u5b66\u4e60" + l.title);var r = {courseId: e = -1 != location.href.indexOf("commonpage/classcolumn") ? l.businessId : e,coursewareId: l.id,watchPoint: "00:01:11",pulseTime: 10,pulseRate: 1,realWatchTime: "00:01:06"};localStorage.setItem("fetchOption", JSON.stringify(r)), localStorage.setItem("token", n), yield m._o1();break}}var s, d}), 900);function u(l, i) {return new Promise((t, e) => {location.origin;var n = location.origin + "/inc/nc/course/play/getPlayTrend";fetch(n + "?courseId=" + l, {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9",authorization_token: i,client: "pc","sec-ch-ua": '"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})}}), playFn: i => __awaiter(this, void 0, void 0, function* () {let n = localStorage.getItem("fetchOption"), l = (n = JSON.parse(n), localStorage.getItem("token"));for (var e of new Array(1e4)) {i.addInfo(`🔊\u5f53\u524d\u72b6\u6001\u6b63\u5728\u4ee5${toolOption.accelerator}\u500d\u901f\u5b66\u4e60\u4e2d,(\u4e2d\u9014\u5173\u95ed\u8fdb\u5ea6\u4e0d\u4fdd\u5b58)`);var t = yield function () {let e = location.origin + "/inc/nc/course/play/pulseSaveRecord";return new Promise(t => {fetch(e, {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9",authorization_token: l,client: "pc","content-type": "application/x-www-form-urlencoded;charset=UTF-8","sec-ch-ua": '"Not/A)Brand";v="8", "Chromium";v="126", "Google Chrome";v="126"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrer: location.origin + "/page.html",referrerPolicy: "strict-origin-when-cross-origin",body: `courseId=${n.courseId}&coursewareId=${n.coursewareId}&watchPoint=00%3A06%3A19&pulseTime=10&pulseRate=2&realWatchTime=00%3A02%3A33`,method: "POST",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})}();if (i.addInfo(`\u5df2\u5b66\u4e60${t.data.finishedRate}%`), 100 <= t.data.finishedRate) {location.reload();break}yield sleep(1e3)}})}},sdfs: {mainClass: "CTXCommon",option: {nodeListClass: ".n-collapse-transition .cursor-pointer",activeClass: "bg-[#1C2630]",openListenPlayStatus: !1,openListenPlayTime: !1,_init: n => __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => {if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$parentNodes = document.querySelectorAll(".items-center.justify-between.border-solid"), 0 < ElementObj.$parentNodes.length) {clearInterval(t), showTip("\u6b63\u5728\u521d\u59cb\u5316");for (var e of ElementObj.$parentNodes) e.nextSibling.childNodes.length || e.click();ElementObj.$allTask = document.querySelectorAll(".n-collapse-transition .cursor-pointer"), n.getCurrentIndex()}}, 500)})}},yrt5: {mainClass: "CTXCommon", option: {nodeListClass: ".n-collapse-transition .cursor-pointer",activeClass: "bg-[#1C2630]",openListenPlayStatus: !1,openListenPlayTime: !1,_init: l => __awaiter(this, void 0, void 0, function* () {let n = setInterval(() => {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelectorAll("ul>li");if (e.length && -1 != location.pathname.indexOf("/plan/courses")) {clearInterval(n);for (var t of e) if ("100%" != t.querySelector(".CourseList_per_1kb87BEO").innerText) {MyTool.setValue("homeUrl", location.href), t.querySelectorAll("button")[1].click();break}}if (ElementObj.$allTask = document.querySelectorAll(".AsideChapter_Item_2dfPMpnP"), ElementObj.$allTask.length) {clearInterval(n);for (let e = 0; e < ElementObj.$allTask.length; e++) if (ElementObj.$allTask[e].querySelector(".AsideChapter_ItemState_2nxPLU4r")) {l.currentIndex = e, l._o1();break}}}, 500)}),playNext(t) {var n;return __awaiter(this, void 0, void 0, function* () {var e;t.currentIndex >= ElementObj.$allTask.length - 1 ? (e = MyTool.getValue("homeUrl"), window.open(e)) : (t.currentIndex += 1, null != (n = ElementObj.$allTask[t.currentIndex]) && n.click(), setTimeout(() => {t._o1()}, 2e3))})}}},hf01: {mainClass: "CTXCommon", apis: {coursefind: e => new Promise(t => {fetch(`https://www.secxm.com/api/student/course/find/${e}?page=1&size=10000`, {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9",authorization: "Bearer 12fe24bac5d14dcf8a5509b979a21eaa","sec-ch-ua": '"Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))}), appendHours: e => new Promise(t => {fetch("https://www.secxm.com/api/student/appendHours", {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9",authorization: "Bearer 12fe24bac5d14dcf8a5509b979a21eaa","content-type": "application/json","sec-ch-ua": '"Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin"},referrerPolicy: "strict-origin-when-cross-origin",body: e,method: "POST",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})}, option: {nodeListClass: "",activeClass: "",openListenPlayStatus: !1,openListenPlayTime: !1,_init: o => __awaiter(this, void 0, void 0, function* () {let i = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelector(".video-lt");if ("/courseintroduction" === location.pathname && e) {clearInterval(i);var t = /id=(.+)&loopPlay/.exec(location.href)[1], n = yield _i1.hf01.apis.coursefind(t);e.style.position = "relative", yield o.changeHtml(e);for (let e = 0; e < n.r###lt.elements.length; e++) for (var l of n.r###lt.elements[e].subContentTemplate) l.totalClassHours < l.duration && (o.addInfo("\u5373\u5c06\u8fdb\u884c\u672a\u5b8c\u6210\u8bfe\u7a0b", l.title), localStorage.setItem("itemdata", JSON.stringify(l)), yield o._o1(o)), yield MyTool.sleep(1e3)}}), 500)}),playFn(i) {return __awaiter(this, void 0, void 0, function* () {var e = localStorage.getItem("itemdata");if (!e) return alert("\u53c2\u6570\u9519\u8bef #1");let t = (e = JSON.parse(e)).totalClassHours || 0;var n, l = {studentCourseId: "", contentId: e.id, duration: 180};l.studentCourseId = /id=(.+)&loopPlay/.exec(location.href)[1];for (n of new Array(1e3)) {if (i.addInfo(`\u5df2\u6210\u529f\u5b66\u4e60${t}\u79d2,\u5f53\u524d\u4efb\u52a1\u9700\u5b8c\u6210${e.duration}\u79d2`), t >= e.duration) {i.addInfo(`🎉🎉🎉【${e.title}】,\u5b66\u4e60\u5b8c\u6210🎉🎉🎉`);break}yield _i1.hf01.apis.appendHours(JSON.stringify(l));t += 180, yield MyTool.sleep(1e3)}})}}},qf01: {mainClass: "CTXCommon", apis: {appendHours: e => new Promise(t => {MyTool.axfedata({method: "GET",url: "https://www.gsgbpx.cn/course/saveCoursewareRecord.do?" + e,headers: {accept: "*/*","accept-language": "zh-CN,zh;q=0.9","sec-ch-ua": '"Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"}}).then(e => t(e))})}, option: {nodeListClass: "",activeClass: "",openListenPlayStatus: !1,openListenPlayTime: !1,_init: l => __awaiter(this, void 0, void 0, function* () {let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$parentNodes = document.querySelectorAll("#courseResouse ul li>div"), ElementObj.$parentNodes.length) {clearInterval(n);for (var e of ElementObj.$parentNodes) if ("100.00%" != e.querySelector(".learned-section-num").innerText) {MyTool.setValue("homeUrl", location.href), e.querySelector("button").click();break}}var t = document.querySelector(".coursePanelRight");"/course/studycourseware.do" === location.pathname && t && (clearInterval(n), t.style.position = "relative", yield l.changeHtml(t), yield l._o1(l))}), 500)}),playFn(a) {return __awaiter(this, void 0, void 0, function* () {let e = 0;var t, n = /COURSEWAREID=(.+)&FILENAME/.exec(location.href)[1],l = /TCID=(.+)/.exec(location.href)[1],i = `ID=${n}&studyTime=60&TIMEPOINT=${e}&jsp=true&LENGTH=1&CHAPTER=1&STUDYSTATUS=incomplete&task=continuestudy&TCID=` + l;for (t of new Array(1e3)) {e += 60;var o = yield _i1.qf01.apis.appendHours(i);if (a.addInfo(`\u5df2\u6210\u529f\u5b66\u4e6060\u79d2,\u5f53\u524d\u4efb\u52a1\u5df2\u5b8c\u6210${o.msg}%`), 100 <= parseInt(o.msg)) {a.addInfo("🎉🎉🎉\u5f53\u524d\u89c6\u9891\u5b66\u4e60\u5b8c\u6210🎉🎉🎉"), yield MyTool.sleep(1e3), a.playNext();break}yield MyTool.sleep(1e3)}})},playNext() {return __awaiter(this, void 0, void 0, function* () {location.href = MyTool.getValue("homeUrl")})}}},sf93: {mainClass: "CTXCommon", apis: {reportCourseStudyProgress: e => new Promise(t => {fetch("http://media.lllnet.cn/media/reportCourseStudyProgress", {headers: {accept: "*/*","accept-language": "zh-CN,zh;q=0.9","content-type": "application/x-www-form-urlencoded; charset=UTF-8","x-requested-with": "XMLHttpRequest"},referrer: "http://media.lllnet.cn/media/accessCourseInfo",referrerPolicy: "strict-origin-when-cross-origin",body: e,method: "POST",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})}, option: {nodeListClass: "", activeClass: "", openListenPlayStatus: !1, openListenPlayTime: !1, _init(t) {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = document.querySelectorAll("#contents_list a"), ElementObj.$allTask.length) {window.alert = () => {}, clearInterval(e);for (let e = 0; e < ElementObj.$allTask.length; e++) if (ElementObj.$allTask[e].classList.contains("current")) {t.currentIndex = e, yield t._o1(t);break}}}), 500)})}, playFn(o) {return __awaiter(this, void 0, void 0, function* () {yield o.getVideoDom();var e = ElementObj.$video.parentElement;yield o.changeHtml(e), ElementObj.$video.pause(), o.addInfo("\u521d\u59cb\u5316\u5df2\u5b8c\u6210,5\u79d2\u540e \u5373\u5c06\u5f00\u59cb\u5b66\u4e60"), yield MyTool.sleep(5e3);let t = 0;var n, l = ElementObj.$video.duration;for (n of new Array(1e3)) {(t += 6) >= l && (t = l);var i = `courseId=${courseId}&gradeId=${gradeId}&userId=${userId}&coursewareId=${coursewareId}&unameSN=${unameSN}&orgName=gclc-gzdk&position=${t}&sessionTime=6`;if (200 == (yield _i1.sf93.apis.reportCourseStudyProgress(i)).code ? o.addInfo(`\u672c\u6b21\u4fdd\u5b586\u79d2, \u7d2f\u8ba1\u5df2\u5b8c\u6210${t / 60}\u5206\u949f,\u9700\u7d2f\u8ba1\u5b8c\u6210${l}\u79d2`) : (o.addInfo("\u672c\u6b21\u672a\u80fd\u6210\u529f\u4fdd\u5b58,\u5c06\u81ea\u52a8\u518d\u6b21\u4fdd\u5b58"), t -= 6), t >= l) {o.addInfo("🎉🎉🎉\u5f53\u524d\u89c6\u9891\u5b66\u4e60\u5b8c\u6210🎉🎉🎉"), yield MyTool.sleep(1e3), o.playNext();break}yield MyTool.sleep(3e3)}})}}},wsre: {mainClass: "CTXCommon",option: {nodeListClass: "", activeClass: "", openListenPlayStatus: !1, openListenPlayTime: !1, _init(n) {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelector("iframe");if (e && (clearInterval(t), location.href = e.src), ElementObj.$allTask = document.querySelectorAll("#li_menu_1_0_id dd span"), ElementObj.$allTask.length) {clearInterval(t);for (let e = 0; e < ElementObj.$allTask.length; e++) if (ElementObj.$allTask[e].classList.contains("b_sel")) {n.currentIndex = e, yield n._o1(n);break}}}), 500)})}}},tskf: {mainClass: "CTXCommon", option: {nodeListClass: ".course_li",activeClass: "videoListCur",openListenPlayStatus: !1,openListenPlayTime: !1,nextClass: "a",_init(n) {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$allTask = document.querySelectorAll(".course_li"), ElementObj.$allTask.length) if (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", -1 == location.href.indexOf("coursewareid")) ElementObj.$allTask[0].querySelector("a").click(); else for (let e = 0; e < ElementObj.$allTask.length; e++) {var t = ElementObj.$allTask[e];if (!t.querySelector(".study")) {if (n.currentIndex = e, !t.classList.contains("videoListCur")) {t.querySelector("a").click();break}yield n._o1(n);break}}}), 500)})},playFn(o) {return __awaiter(this, void 0, void 0, function* () {var t = yield o.getVideoDom();if (yield o.changeHtml(ElementObj.$video.parentElement), 1 == t) {var n, t = Math.trunc(ElementObj.$video.duration),l = (o.addInfo("🔊🔊🔊\u6b63\u5728\u83b7\u53d6\u53c2\u6570"), /courseID=(.+)&coursewareid/.exec(location.href)[1]),i = /coursewareid=(.+)&MyView/.exec(location.href)[1];let e;e = -1 != document.cookie.split(",")[0].indexOf("student_id") ? /student_id=([0-9]+)/.exec(document.cookie.split(",")[0])[1] : /[0-9]+/.exec(document.cookie.split(",")[1].split(";")[3].split("&")[0])[0], o.addInfo("🔊🔊🔊\u6b63\u5728\u8bf7\u6c42\u6570\u636e"), yield fetch(location.origin + "/VideoPlay/StudySurvey", {headers: {accept: "*/*","content-type": "application/x-www-form-urlencoded; charset=UTF-8"},referrerPolicy: "strict-origin-when-cross-origin",body: `course_id=${l}&courseware_id=${i}&start=0&end=${t}&student_id=${e}&project_id=&course_type=1`,method: "POST",mode: "cors",credentials: "include"}), o.addInfo("✅✅✅StudySurvey\u8bf7\u6c42\u5b8c\u6210"), o.addInfo("🔊🔊🔊\u6b63\u5728\u7b49\u5f85\u54cd\u5e94");for (n of new Array(26)) yield MyTool.sleep(1e3), o.addInfo("⚠⚠⚠\u6b63\u5728\u7b49\u5f85\u7cfb\u7edf\u8bf7\u6c42updateStudyStatue2,\u8bf7\u52ff\u5173\u95ed\u6b64\u9875\u9762, \u9884\u8ba125\u79d2")}o.playNext()})}}},hgs01: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init(i) {return __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;if (ElementObj.$allTask = document.querySelectorAll("ul li"), ElementObj.$allTask.length && "/admin/lock/Study" == location.pathname) {clearInterval(l), ElementObj.$handleSpeedUp.style.display = "none";for (let e = 0; e < ElementObj.$allTask.length; e++) {var t = ElementObj.$allTask[e];if (!t.querySelector(".layui-icon-ok-circle")) {i.currentIndex = e, t.classList.contains("list") || (t.click(), yield sleep(2e3));break}}yield sleep(1e3), null != (e = document.querySelector(".layui-layer-btn0")) && e.click(), i._o1(i)}if (ElementObj.$parentNodes = document.querySelectorAll(".learnTree_second li"), ElementObj.$parentNodes.length && "/online/learn" == location.pathname) {clearInterval(l), ElementObj.$handleSpeedUp.style.display = "none";for (let e = 0; e < ElementObj.$parentNodes.length; e++) {var n = ElementObj.$parentNodes[e];if (!n.querySelector("p").classList.contains("complete")) {n.classList.contains("secondActive") || (n.click(), yield sleep(2e3)), setTimeout(() => {window.close()}, 1e4), MyTool.setValue("homeUrl", location.href), document.querySelector(".toStudy").click();break}}}}), 500)})}, listenRebortFn(e) {var t;return __awaiter(this, void 0, void 0, function* () {null != (t = document.querySelector(".layui-layer-btn0")) && t.click();var e = null == (t = document.querySelector(".time")) ? void 0 : t.innerText,e = (-1 != (null == e ? void 0 : e.indexOf("\u5df2\u8fbe\u5230\u6700\u4f4e\u5b8c\u6210\u65f6\u95f4")) && (location.href = MyTool.getValue("homeUrl")), document.querySelector(".layui-layer-content input"));e && (e.value = e.getAttribute("data-num3"), yield sleep(500), null != (t = document.querySelector(".layui-layer-btn0"))) && t.click()})}, beforePlayNext(e) {var t = null == (t = document.querySelector(".time")) ? void 0 : t.innerText;-1 != (null == t ? void 0 : t.indexOf("\u5df2\u8fbe\u5230\u6700\u4f4e\u5b8c\u6210\u65f6\u95f4")) && (location.href = MyTool.getValue("homeUrl"))}}},hgs02: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init(t) {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$parentNodes = document.querySelectorAll(".mozs_list>li"), ElementObj.$parentNodes.length) {clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none";for (let e = 0; e < ElementObj.$parentNodes.length; e++) if (100 != ElementObj.$parentNodes[e].querySelector(".jdt_bar").innerText.match(/[0-9]+/)[0]) {MyTool.setValue("homeUrl", location.href), document.querySelector(".qd_but").click();break}}if (ElementObj.$allTask = document.querySelectorAll(".lcml_djj_list>li"), ElementObj.$allTask.length && "/p/classroom/simple" == location.pathname) {clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none";for (let e = 0; e < ElementObj.$allTask.length; e++) ElementObj.$allTask[e].classList.contains("on") && (t.currentIndex = e, t._o1(t))}}))})}, videoEle: () => new Promise(t => {let n = 0, l = setInterval(() => __awaiter(this, void 0, void 0, function* () {n += 1;var e = document.querySelector(".xgplayer-start");e ? (clearInterval(l), document.querySelectorAll(".xgplayer-icon")[2].click(), e.click(), yield sleep(3e3), ElementObj.$video = document.querySelector("video"), t(1)) : 7 <= n && (clearInterval(l), t(2))}), 1e3)}), beforePlayNext(e) {e.currentIndex == ElementObj.$allTask.length - 1 && (location.href = MyTool.getValue("homeUrl"))}}},uasf: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init(t) {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$nextBtn = document.querySelectorAll("iframe")[1].contentDocument.querySelector("frame").contentDocument.querySelector("#btnNext"), ElementObj.$nextBtn && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", t._o1(t))} catch (e) {}}), 500)})}, playFn(l) {return __awaiter(this, void 0, void 0, function* () {let t = document.querySelectorAll("iframe")[1].contentDocument.querySelectorAll("frame")[1].contentDocument;var e = t.querySelector("tbody");yield l.changeHtml(e, t);let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = t.querySelector("td[id]").innerText;l.addInfo(e, 1, t), e && -1 != e.indexOf("\u5df2\u7ecf\u5b66\u4e60\u5b8c\u6bd5") && (clearInterval(n), setTimeout(() => {l._o1(l)}, 2e3), ElementObj.$nextBtn.click())} catch (e) {}}), 1e3)})}}},uiw01: {mainClass: "CTXCommon", option: {nodeListClass: "", activeClass: "", _init(o) {return __awaiter(this, void 0, void 0, function* () {let i = setInterval(() => __awaiter(this, void 0, void 0, function* () {if ("/IndexMain.aspx" == location.pathname) {var e = document.querySelectorAll("iframe")[1].contentDocument,t = null == e ? void 0 : e.querySelector("#AspNetPager1>div");if (t && e) {clearInterval(i), ElementObj.$handleSpeedUp.style.display = "none";e:for (var n of t.children) {ElementObj.$allTask = e.querySelectorAll(".table_all");for (let e = 0; e < ElementObj.$allTask.length; e++) if (0 !== e) {var l = ElementObj.$allTask[e];if (-1 == l.querySelector('td[width="232"]').innerText.indexOf("\u5df2\u5b8c\u6210")) {MyTool.setValue("homeUrl", location.href), l.querySelector(".xx_ben>a").click();break e}}n.click(), yield sleep(2e3)}}}"/Student/CoursePlay.aspx" == location.pathname && (clearInterval(i), o._o1(o))}), 500)})}, listenRebortFn(e) {}, beforePlayNext(e) {location.href = MyTool.getValue("homeUrl")}}},ho0132: {mainClass: "CTXCommon", option: {nodeListClass: ".stu-ui-li-span>li", activeClass: "activeLi", _init(i) {return __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e, t;try {if ("/hsyd_stu/a/toStuspace/index" == location.pathname) {let t = document.querySelector("iframe").contentDocument.querySelectorAll("a")[1].innerText.replace("\u5b66\u53f7:", "").trim();if (t) {clearInterval(l);var n = localStorage.getItem("userAccount");if (n && n == t) return void showTip("✅✅✅\u7ed1\u5b9a\u6210\u529f,\u8bf7\u70b9\u51fb\u8981\u5b66\u4e60\u7684\u8bfe\u7a0b", 5e3);i.toolkey = localStorage.getItem("mytoolkey") || MyTool.getValue("mytoolkey"), MyTool.axfedata({method: "GET",url: _b + `/order/checkUseAccount?toolkey=${i.toolkey}&account=${t}&type=2`}).then(e => {if (200 != e.code) return alert(e.message);localStorage.setItem("userAccount", t + ""), showTip("✅✅✅\u7ed1\u5b9a\u6210\u529f,\u8bf7\u70b9\u51fb\u8981\u5b66\u4e60\u7684\u8bfe\u7a0b", 5e3)})}}if ("/hsyd_stu/a/toStuspace/courseIndex" == location.pathname && (t = document.querySelectorAll(".eva-nav-item")[7]) && !t.classList.contains("active") && (clearInterval(l), null != (e = t.querySelector("a")) && e.click(), l = setInterval(() => {0 < document.querySelector("iframe").contentDocument.querySelectorAll("tr.jump-section3").length && (clearInterval(l), document.querySelector("iframe").contentDocument.querySelector("tr.jump-section3 td span[type='danger']").click())}, 500)), "/hsyd_stu/a/toStuspace/coursestudent1" == location.pathname && (ElementObj.$allTask = document.querySelectorAll(".stu-ui-li-span>li"), ElementObj.$allTask.length)) {clearInterval(l);for (let e = 0; e < ElementObj.$allTask.length; e++) if (ElementObj.$allTask[e].classList.contains("activeLi")) {i.currentIndex = e, i._o1(i);break}}} catch (e) {}}), 500)})}, videoEle() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("iframe").contentDocument.querySelector("video"), ElementObj.$video && (ElementObj.$video.src || ElementObj.$video.querySelector("source")) ? (clearInterval(n), e(1)) : 6 <= t && (clearInterval(n), e(2))}, 1e3)})}, playFn(a) {return __awaiter(this, void 0, void 0, function* () {if (!sessionStorage.getItem("userAccount")) return alert("\u8bf7\u56de\u5230\u9996\u9875,\u63d0\u793a\u521d\u59cb\u5316\u5b8c\u6210\u540e\u518d\u7ee7\u7eed\u5b66\u4e60");var e = yield a.getVideoDom();if (yield a.changeHtml(document.querySelector("#sources")), 1 == e) {var t, n = Math.floor(ElementObj.$video.duration),l = location.href.match(/sourceId=(.+)/)[1], i = location.href.match(/id=(.+)&c/)[1],o = yield fetch("https://emis.ustb.edu.cn/hsyd_stu/a/toStuspace/studyDetail", {headers: {"content-type": "application/x-www-form-urlencoded; charset=UTF-8"},body: `id=${l}&courseId=` + i,method: "POST",mode: "cors",credentials: "include"}).then(e => e.json());n && o.d_id || location.reload();let e = 0;for (t of new Array(1e3)) {if (e >= n) {e = n, a.addInfo("✅✅✅\u672c\u7ae0\u8282\u5b66\u4e60\u5b8c\u6210,\u5373\u5c06\u81ea\u52a8\u8fdb\u884c\u4e0b\u4e00\u8282\u4efb\u52a1"), a.playNext();break}e += 60, a.addInfo(`🔊🔊🔊\u6b63\u5728\u9ad8\u901f\u5b66\u4e60\u4e2d,\u5f53\u524d\u5df2\u5b8c\u6210${e}\u79d2`), fetch("https://emis.ustb.edu.cn/hsyd_stu/a/toStuspace/studyDetail_jsq", {headers: {accept: "application/json, text/javascript, */*; q=0.01","content-type": "application/x-www-form-urlencoded; charset=UTF-8"},body: `id=${l}&courseId=${i}&duartion=${e}&d_id=` + o.d_id,method: "POST",mode: "cors",credentials: "include"}), yield MyTool.sleep(1e3)}}})}}},hus85: {mainClass: "CTXCommon", option: {nodeListClass: ".chsTitle>a", activeClass: "one_p_a"}}}, speedArr = [1, 2, 3, 5, 10, 16], toolOption = {accelerator: 1, CtxMain: null, SchoolType: -1};const version = "6.1.0.2";let _bt = "https://www.gaozhiwang.top", _b = "http://47.115.205.88:7001";class Main {constructor() {this.studentType = 1, this.speedStatus = 0, this.isAdaptive = 1, this.listenVidoeStatusTimer = null, this.fingerprint = null, this.toolkey = null, this.init()}init() {setTimeout(() => __awaiter(this, void 0, void 0, function* () {try {this.toolkey = localStorage.getItem("mytoolkey") || MyTool.getValue("mytoolkey"), this._rn()} catch (e) {}}), 2500)}updateSpeedElement(e) {0 != this.speedStatus && (ElementObj.$video.playbackRate = e)}_o1(e, t = 0) {return __awaiter(this, void 0, void 0, function* () {var e = localStorage.getItem("mytoolkey") || MyTool.getValue("mytoolkey"),e = (e || (alert("\u8bf7\u5148\u8d2d\u4e70key"), window.open(_bt)), toolOption.CtxMain || location.reload(), yield axfedata({method: "GET",url: _b + (`/speedup?toolkey=${e}&t=2&canuse=${toolOption.SchoolType}&h=${location.host}&fingerprint=${this.fingerprint}&v=` + version)}));200 == e.code ? (this.speedStatus = 1, this.isAdaptive = 1, yield toolOption.CtxMain.play()) : (this.isAdaptive = 0, showTip("🔉🔉🔉" + e.message, 5e3, !0))})}handleRemoveKey() {MyTool.setValue("mytoolkey", null), localStorage.removeItem("mytoolkey"), localStorage.removeItem("_localSpeed"), ElementObj.$title3.innerText = "\u7ed1\u5b9akey:", ElementObj.$mytoolkey.style.display = "none", ElementObj.$ctxsection2.style.display = "none", ElementObj.$nokey.style.display = "block", ElementObj.$ipt.style.display = "block", ElementObj.$addKey.style.display = "block", ElementObj.$removeKey.style.display = "none", ElementObj.$handleSpeedUp.style.background = "orange", ElementObj.$handleSpeedUp.innerText = "\u70b9\u51fb\u52a0\u901f", this.updateSpeedElement(1)}stopSpeedUp() {this.speedStatus = 0, toolOption.CtxMain.updateSpeedElement(1), ElementObj.$handleSpeedUp.style.background = "orange", ElementObj.$handleSpeedUp.innerText = "\u70b9\u51fb\u52a0\u901f", showTip("🔉\u505c\u6b62\u52a0\u901f\u6210\u529f")}handleChangeCtxSpeed(e) {var t, n = localStorage.getItem("mytoolkey") || MyTool.getValue("mytoolkey");n ? 0 == this.isAdaptive ? alert("Key\u4e0d\u9002\u914d") : (n = speedArr, t = Number(e), e && n.includes(t) && (toolOption.accelerator = t, localStorage.setItem("_localSpeed", t.toString()), MyTool.setValue("_localSpeed", t), ElementObj.$video) && (ElementObj.$video.playbackRate = t)) : (alert("\u8bf7\u5148\u8d2d\u4e70key"), window.open(_bt))}_rn() {setInterval(() => {ElementObj.$video && MyTool.axfedata({method: "GET",url: _b + ("/ck/v1?ty=" + this.toolkey)}).then(e => {202 == e.code && erf(e.data)})}, 1e4)}listenVidoeStatus(t, n) {if (t) {let e = 0;this.listenVidoeStatusTimer = setInterval(() => {t.readyState < 4 && 20 <= (e += 1) && location.reload(), t.paused && (e += 1, "function" == typeof n) && (20 <= e ? location.reload() : n())}, 5e3)}}changeHtml(t, n = document) {return __awaiter(this, void 0, void 0, function* () {var e;ElementObj.$ctxstatsbox = n.querySelector(".ctxstatsbox"), ElementObj.$ctxstatsbox || ((e = document.createElement("div")).setAttribute("class", "ctxstatsbox"), e.setAttribute("style", `width: 100%;height: 100%;background: #eae9e9;position: absolute;z-index: 999;overflow: scroll;top: 0;padding-left: 10px;z-index: 9999;`), t.appendChild(e), yield sleep(300), ElementObj.$ctxstatsbox = n.querySelector(".ctxstatsbox")), this.addInfo("🔉\u521d\u59cb\u5316\u5df2\u5b8c\u6210,\u6b63\u5728\u64ad\u653e")})}addInfo(e, t, n) {n = n || globalThis.document;15 <= document.querySelectorAll(".ctxstatsbox_li").length && (ElementObj.$ctxstatsbox.innerHTML = "");n = `<li class="ctxstatsbox_li" style="color: ${0 == t ? "#f01414" : "#000"};line-height: 30px;font-size: 16px;list-style: none;">${e}</li>`;ElementObj.$ctxstatsbox.innerHTML += n}listenPageHide() {let t;document.addEventListener("visibilitychange", () => {if (document.hidden) {let e = 0;t = setInterval(() => {5 <= (e += 1) && this.addInfo("⚠️⚠️⚠️\u8bf7\u52ff\u957f\u65f6\u95f4\u9690\u85cf\u8be5\u5b66\u4e60\u9875\u9762", 0)}, 5e3)} else clearInterval(t)})}pdPlayFn(e) {var t = MyTool.getValue("spanClassName") || [];-1 == t.indexOf(e) && (t.push(e), MyTool.setValue("spanClassName", t)), this._o1()}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelectorAll("video")[0], ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}}class CTXCommon extends Main {constructor(e) {super(), this.taskLength = 0, this.currentIndex = -1, this.nodeListClass = e.nodeListClass, this.activeClass = e.activeClass || "", this.nextClass = e.nextClass || "", this.openListenPlayStatus = "boolean" != typeof e.openListenPlayStatus || e.openListenPlayStatus, this.openListenPlayTime = "boolean" == typeof e.openListenPlayTime && e.openListenPlayTime, this.afterPlayEnd = e.afterPlayEnd, this.getCurrentIndexByOption = e.getCurrentIndexByOption, this.playNext = e.playNext || this.playNext, this.listenRebortFn = e.listenRebortFn, this.getVideoDom = "function" == typeof e.videoEle ? e.videoEle : this.getVideoDom, this.playFn = e.playFn, this.beforePlayVideo = e.beforePlayVideo, this.beforePlayNext = e.beforePlayNext, this.getCurrentIndex = e.getCurrentIndex ? e.getCurrentIndex.bind(this, this) : this.getCurrentIndex, e._init ? e._init(this) : this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(this.nodeListClass), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {if (this.getCurrentIndexByOption) this.currentIndex = yield this.getCurrentIndexByOption(); else for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains(this.activeClass)) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 2e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelectorAll("video")[0], ElementObj.$video && (ElementObj.$video.src || ElementObj.$video.querySelector("source")) ? (clearInterval(n), e(1)) : 6 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();this.playFn ? yield this.playFn(this) : (1 == e && (this.beforePlayVideo && "function" == typeof this.beforePlayVideo && this.beforePlayVideo(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.openListenPlayStatus && this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.openListenPlayTime && (yield this.changeHtml(ElementObj.$video.parentElement), this.listenPlayTime()), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext(this)})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext(this)))})}listenRebort() {this.listenRebortTime = setInterval(() => {this.listenRebortFn && "function" == typeof this.listenRebortFn && this.listenRebortFn(this)}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {if (this.beforePlayNext && "function" == typeof this.beforePlayNext && this.beforePlayNext(this), this.currentIndex >= ElementObj.$allTask.length - 1) alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c"); else {yield sleep(2500), this.currentIndex += 1;let e = ElementObj.$allTask[this.currentIndex];null !== (e = this.nextClass ? ElementObj.$allTask[this.currentIndex].querySelector(this.nextClass) : e) && void 0 !== e && e.click(), this.afterPlayEnd && (yield this.afterPlayEnd()), setTimeout(() => {this._o1()}, 5e3)}})}listenPlayTime() {let n = 0;this.timer = setInterval(() => __awaiter(this, void 0, void 0, function* () {n += 1;var e = null == (e = ElementObj.$video) ? void 0 : e.currentTime, e = (e / 60).toFixed(2),t = null == (t = ElementObj.$video) ? void 0 : t.duration;this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t / 60}\u5206\u949f`)}), 5e3)}}function _ex(e) {for (var t = "", n = 0; n < e.length; n += 2) {var l = e.substr(n, 2), l = parseInt(l, 16);t += String.fromCharCode(l)}return t}class fujianshifan extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = 0, this.currentMidiaType = "video", this._init()}_init() {let l = document.querySelectorAll(".section");new Promise(n => {l.forEach((e, t) => {e.childNodes[0].click(), sleep(20), t == l.length - 1 && n(!0)})}).then(e => {setTimeout(() => {ElementObj.$allStudyTask = document.querySelectorAll(".section li"), this.getCurrentIndex()}, 2e3)})}getCurrentIndex() {let n = document.querySelector(".active").id;ElementObj.$allStudyTask.forEach((e, t) => {e.id == n && (this.currentIndex = t)})}play() {ElementObj.$allStudyTask[this.currentIndex].click(), setTimeout(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (this.currentMidiaType = "video", this.handlePlayVideo()) : (this.currentMidiaType = "doc", this.handlePlayDoc())}, 2e3)}nextPlay() {sleep(1e3), this.currentIndex += 1, this._o1()}handlePlayVideo() {this.updateSpeedElement(toolOption.accelerator), ElementObj.$video.play(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", ElementObj.$video.addEventListener("ended", () => {this.nextPlay()}, !1)}handlePlayDoc() {ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f";var e = null == (e = document.querySelector("#lg-counter-all")) ? void 0 : e.innerHTML;let t = document.querySelector(".lg-actions>.lg-next"), n = Number(e), l = setInterval(() => {n <= 0 || !t ? (clearInterval(l), this.nextPlay()) : (t.click(), --n)}, 1e3)}}class gxcic extends Main {constructor() {super(), this.parentIndex = 0, this.currentIndex = 0, this.currentTaskEle = null, this.taskLength = 0, this.timer = null, this._init()}_init() {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$allTaskParentNodes = null === document || void 0 === document ? void 0 : document.querySelectorAll(".ant-collapse-item"), ElementObj.$allTask = null === document || void 0 === document ? void 0 : document.querySelectorAll(".course-detail-content-section-info-text"), ElementObj.$allTask.length && ElementObj.$allTaskParentNodes.length && (clearInterval(e), this.getCurrentIndex())}), 1e3)}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTaskParentNodes.forEach((e, t) => {e.className.includes("ant-collapse-item-active") && (this.parentIndex = t)}), ElementObj.$allTask.forEach((e, t) => {e.className.includes("course-detail-current") && (this.currentIndex = t, this.currentTaskEle = e)}), this.currentTaskEle && showTip("\u521d\u59cb\u5316\u5b8c\u6210,\u53ef\u70b9\u51fb\u52a0\u901f")})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), yield this.getVideoDom(), ElementObj.$video.play(), this.updateSpeedElement(toolOption.accelerator), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.lisRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e = this.currentTaskEle.parentElement.parentElement.nextSibling;e ? (this.currentIndex += 1, this.currentTaskEle = e) : (this.parentIndex += 1, this.currentIndex += 1, ElementObj.$allTaskParentNodes[this.parentIndex].lastChild.firstChild.firstChild.click(), yield sleep(1500), ElementObj.$allTask = null === document || void 0 === document ? void 0 : document.querySelectorAll(".course-detail-content-section-info-text"), this.currentTaskEle = ElementObj.$allTask[this.currentIndex]), this.currentTaskEle.click(), yield sleep(5e3), this._o1()}), !1), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.play()}, 1500)})})}lisRebort() {this.timer = setInterval(() => {var e = document.querySelector(".sdk-ia-message-confirm"),e = (null != e && e.click(), document.querySelector(".sdk-ia-number-verify-image"));e && (document.querySelector(".sdk-ia-number-input input").value = e.innerText, document.querySelector(".sdk-ia-number-button").click())}, 5e3)}}class fjsf2 extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = 0, this.currentIndex = 0, this.currentMidiaType = "video", this._init()}_init() {ElementObj.$allTaskParentNodes = null === document || void 0 === document ? void 0 : document.querySelectorAll(".section");document.querySelectorAll(".section");this.getCurrentIndex()}getCurrentIndex() {ElementObj.$allTaskParentNodes.forEach((e, n) => {let l = e.querySelectorAll("li");null !== l && void 0 !== l && l.forEach((e, t) => {e.className.includes("active") && (this.parentIndex = n, this.currentIndex = t, ElementObj.$allTask = l)})})}play() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask[this.currentIndex].click(), yield sleep(2e3), document.querySelector(".lg-close") ? (this.currentMidiaType = "doc", this.handlePlayDoc()) : (this.currentMidiaType = "video", this.handlePlayVideo())})}nextPlay() {return __awaiter(this, void 0, void 0, function* () {if (yield sleep(1e3), this.currentIndex >= ElementObj.$allTask.length - 1) {if (this.parentIndex += 1, this.currentIndex = 0, this.parentIndex >= ElementObj.$allTaskParentNodes.length) return void alert("\u5df2\u5168\u90e8\u64ad\u653e\u5b8c");var e = ElementObj.$allTaskParentNodes[this.parentIndex].querySelectorAll("li");e.length ? ElementObj.$allTask = e : (ElementObj.$allTaskParentNodes[this.parentIndex].childNodes[0].click(), yield sleep(300), ElementObj.$allTask = ElementObj.$allTaskParentNodes[this.parentIndex].querySelectorAll("li"))} else this.currentIndex += 1;this._o1()})}handlePlayVideo() {ElementObj.$video = document.querySelector("video"), this.updateSpeedElement(toolOption.accelerator), ElementObj.$video.play(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", ElementObj.$video.addEventListener("ended", () => {this.nextPlay()}, !1)}handlePlayDoc() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", yield sleep(1500);var e = document.querySelector(".lg-toggle-thumb");e && (e.click(), document.querySelectorAll(".lg-thumb-item").length), yield sleep(2e3), document.querySelector(".lg-close").click(), this.nextPlay()})}}class zjzx extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = 0, this._init()}_init() {ElementObj.$allTask = document.querySelectorAll(".nLi"), this.getCurrentIndex()}getCurrentIndex() {ElementObj.$allTask.forEach((e, t) => {e.querySelector("li").classList.contains("active") && (this.currentIndex = t)})}play() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$video = document.querySelector("video"), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", ElementObj.$video.addEventListener("ended", () => {setTimeout(() => {this._o1()}, 5e3)})})}}class zxpxmr extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = 0, this._init()}_init() {window.alert = function () {return !1};let e = setInterval(() => {ElementObj.$allTask = document.querySelectorAll(".kecheng_play_mian_list_item"), ElementObj.$allTask.length && (showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,\u53ef\u70b9\u51fb\u52a0\u901f", 3e3), clearInterval(e), this.getCurrentIndex())}, 1e3)}getCurrentIndex() {ElementObj.$allTask.forEach((e, t) => {e.classList.contains("kecheng_play_mian_list_item_progress_playing") && (this.currentIndex = t)})}play() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$video = document.querySelector("video"), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$video.play(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.simulationClick(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;clearInterval(this.timer), this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u8bfe\u7a0b\u5df2\u5168\u90e8\u90e8\u5206\u5b8c") : (this.currentIndex += 1, e = document.querySelector("#btn-sure"), yield sleep(2e3), null != e && e.click(), setTimeout(() => {this._o1()}, 5e3))})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.play()}, 1e3)})})}simulationClick() {var e = new KeyboardEvent("keydown", {keyCode: 8, which: 8});this.timer = setInterval(() => {try {document.dispatchEvent(e)} catch (e) {}}, 3e3)}}class ggfw extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = 0, this._init()}_init() {ElementObj.$parentNodes = document.querySelectorAll(".learnList"), ElementObj.$parentNodes.length && this.selectOneClass(), new Promise(e => {let t = setInterval(() => {ElementObj.$allTask = document.querySelectorAll(".courseItem"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex(), e(!0))}, 1e3)}).then(e => {ElementObj.$handleSpeedUp.style.display = "none";let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$video = document.querySelector("video"), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.setAttribute("autoplay", "autoplay");var e = document.querySelector(".volume-icon");e.click(), yield sleep(500), e.click(), ElementObj.$video && (clearInterval(t), showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u81ea\u52a8\u64ad\u653e", 3e3), yield sleep(300), document.querySelector(".prism-big-play-btn").click(), yield this._o1())}), 1e3)})}getCurrentIndex() {ElementObj.$allTask.forEach((e, t) => {e.classList.contains("active") && (this.currentIndex = t)})}play() {return __awaiter(this, void 0, void 0, function* () {yield sleep(3e3), localStorage.setItem("ctx-status", ""), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f"}, 1500), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), ElementObj.$allTask = document.querySelectorAll(".courseItem"), yield sleep(300), this.currentIndex >= ElementObj.$allTask.length - 1 ? (localStorage.setItem("ctx-status", "done"), document.querySelector(".sc-box").click(), yield sleep(1500), document.querySelectorAll(".menu-box ul li")[3].click(), yield sleep(2e3), window.location.reload()) : (this.currentIndex += 1, this._o1(), yield sleep(2500), ElementObj.$allTask[this.currentIndex].click())})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.play()}, 1e3)})})}selectOneClass() {let e = setTimeout(() => __awaiter(this, void 0, void 0, function* () {clearInterval(e), document.querySelector("#tab-second").click(), yield sleep(2500), ElementObj.$parentNodes = document.querySelectorAll(".course_item"), yield sleep(200), ElementObj.$parentNodes[0].click()}), 3e3)}}class mingshiclass extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = 0, this.parentIndex = -1, this._init()}_init() {document.querySelector(".title-box .setMealName") ? this.selectOneClass() : this.initPlayPage()}initPlayPage() {new Promise(e => {let t = setInterval(() => {ElementObj.$allTask = document.querySelectorAll(".course-list .course-item"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex(), e(!0))}, 1e3)}).then(e => new Promise(e => __awaiter(this, void 0, void 0, function* () {ElementObj.$video = document.querySelector("video"), yield sleep(3e3), ElementObj.$video && (showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,\u64ad\u653e\u5f00\u59cb", 3e3), e(!0))}))).then(e => {this._o1()})}getCurrentIndex() {ElementObj.$allTask.forEach((e, t) => {e.querySelector(".course-name").classList.contains("play-status") && (this.currentIndex = t)})}play() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$video = document.querySelector("video"), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.setAttribute("autoplay", "autoplay"), ElementObj.$video.volume = 0, yield sleep(3500), document.querySelector(".play_btn").click(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (e = document.querySelector(".back-img"), sleep(200), e.click(), setTimeout(() => {location.reload()}, 3e3)) : (this.currentIndex += 1, e = ElementObj.$allTask[this.currentIndex], yield sleep(5e3), null != e && e.click(), setTimeout(() => {this._o1()}, 2e3))})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.play()}, 3e3)})})}selectOneClass() {let e = setTimeout(() => __awaiter(this, void 0, void 0, function* () {clearInterval(e), ElementObj.$parentNodes = document.querySelectorAll(".content-box>.course-list>div"), yield sleep(200), ElementObj.$parentNodes.forEach((e, t) => {if ("\u672a\u5b8c\u6210" == e.querySelector(".course_item_brief").lastChild.innerText && -1 == this.parentIndex) return this.parentIndex = t, !0}), yield sleep(200), ElementObj.$parentNodes[this.parentIndex].click(), setTimeout(() => {this.initPlayPage()}, 2500)}), 1e3)}}mingshiclass.ctxid = 17;class qiangshi extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {try {var e = document.querySelectorAll("iframe")[2].contentWindow.document.querySelectorAll("iframe")[0].contentWindow;this._document = e.document} catch (e) {}let t = setInterval(() => {try {var e = document.querySelector(".contentIframe").contentWindow;ElementObj.$allTask = e.document.querySelectorAll(".s_point"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex())} catch (e) {}}, 1e3)}getCurrentIndex() {ElementObj.$allTask.forEach((e, t) => {e.querySelector(".item_done_icon").classList.contains("done_icon_show") || -1 != this.currentIndex || (this.currentIndex = t)}), -1 == this.currentIndex ? alert("\u5f53\u524d\u7ae0\u8282\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c") : (showTip("⚠️⚠️⚠️\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4500), ElementObj.$handleSpeedUp.style.display = "none")}getVideoDom() {return new Promise(t => {let n = setInterval(() => {try {var e = document.querySelectorAll("iframe")[2].contentDocument.querySelectorAll("iframe")[0].contentDocument;ElementObj.$video = null == e ? void 0 : e.querySelector("video"), ElementObj.$video && (clearInterval(n), t(!0))} catch (e) {}}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask[this.currentIndex].click(), yield sleep(3500), yield this.getVideoDom(), ElementObj.$video.volume = 0;var e = this._document.querySelector("#player_pause");null != e && e.click(), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = localStorage.getItem("_localSpeed") || toolOption.accelerator}, 3e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u8bfe\u7a0b\u5df2\u5168\u90e8\u90e8\u5206\u5b8c") : (this.currentIndex += 1, showTip("⚠️⚠️⚠️\u6b63\u5728\u5207\u6362\u8bfe\u7a0b", 3500), setTimeout(() => {this._o1()}, 4e3))})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play(), ElementObj.$video.playbackRate = localStorage.getItem("_localSpeed") || toolOption.accelerator}, 1500)})})}}qiangshi.ctxid = 18;class lanzhgoulgjs extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = document.querySelectorAll(".chapterlist .drop p"),t = document.querySelectorAll(".chapterlist .videoList p");(e.length || t.length) && (clearInterval(n), ElementObj.$allTask = e.length ? e : t, this.getCurrentIndex())}), 1e3)}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {let n = [];ElementObj.$allTask.forEach((e, t) => {var e = e.querySelector(".class_percent");e ? (e = e.innerText, n.push(parseInt(e))) : n.push(0)}), n.reverse();for (var e = 0; e <= n.length - 1; e++) if (n[e] < 98) {this.currentIndex = n.length - e - 1;break}if (0 == this.currentIndex) {ElementObj.$allTask[1].querySelector("a").click(), yield sleep(4e3), ElementObj.$allTask = document.querySelectorAll(".chapterlist .drop p"), yield sleep(200);var t = ElementObj.$allTask[0].querySelector(".class_percent").innerText;if (!(parseInt(t) < 98)) return void alert("\u5f53\u524d\u79d1\u76ee\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c");this.currentIndex = 0}-1 == this.currentIndex ? alert("\u5f53\u524d\u79d1\u76ee\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉🔉🔉\u521d\u59cb\u5316\u5b8c\u6210,5s\u540e\u5f00\u59cb\u64ad\u653e", 3e3), this.pdPlayFn(location.href))})}getVideoDom() {return new Promise(n => {let l = setInterval(() => {ElementObj.$video = document.querySelector("video");var e = ElementObj.$video.src, t = document.querySelector("iframe");e && (clearInterval(l), n(1)), t && (clearInterval(l), n(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {var e, t = ElementObj.$allTask[this.currentIndex].querySelector("a"),t = (yield sleep(300), t.click(), yield sleep(3e3), yield this.getVideoDom());1 == t && (clearInterval(this.listenVidoeStatusTimer), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), e = document.querySelector(".ckplayer-ckplayer"), this.changeHtml(e), this.reloadPage(), this.listenPageHide(), this.listenAbnormal(1), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {location.reload()}))), 2 == t && (e = document.querySelector("#thirdplayer"), this.changeHtml(e), this.reloadPage(), this.listenPageHide(), this.listenAbnormal(0))})}reloadPage() {return __awaiter(this, void 0, void 0, function* () {let e = 180, t = setInterval(() => {e <= 0 && (clearInterval(t), location.reload()), --e}, 1e3)})}listenAbnormal(t) {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;setInterval(() => {n += 1, 0 == t ? this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60`) : (e = (ElementObj.$video.currentTime / 60).toFixed(2), this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f`));var e = document.querySelector(".layui-layer-btn0");e && location.reload()}, 5e3)}changeHtml(t) {return __awaiter(this, void 0, void 0, function* () {var e = document.createElement("div");e.setAttribute("class", "ctxstatsbox"), e.setAttribute("style", `width: 796px;height: 545px;background: #eae9e9;position: absolute;z-index: 10;overflow: scroll;top: 0;padding-left: 10px;`), t.appendChild(e), yield sleep(300), ElementObj.$ctxstatsbox = document.querySelector(".ctxstatsbox"), this.addInfo("🔉\u521d\u59cb\u5316\u5df2\u5b8c\u6210,\u6b63\u5728\u64ad\u653e"), this.addInfo("⚠️⚠️⚠️\u8bfe\u7a0b\u91c7\u7528\u5012\u7740\u64ad\u653e,\u8bf7\u52ff\u624b\u52a8\u66f4\u6362\u8bfe\u7a0b", 0)})}addInfo(e, t) {15 <= document.querySelectorAll(".ctxstatsbox_li").length && (ElementObj.$ctxstatsbox.innerHTML = "");t = `<li class="ctxstatsbox_li" style="color: ${0 == t ? "#f01414" : "#000"};line-height: 30px;font-size: 16px;">${e}</li>`;ElementObj.$ctxstatsbox.innerHTML += t}listenPageHide() {let t;document.addEventListener("visibilitychange", () => {if (document.hidden) {let e = 0;t = setInterval(() => {5 <= (e += 1) && this.addInfo("⚠️⚠️⚠️\u8bf7\u52ff\u957f\u65f6\u95f4\u9690\u85cf\u8be5\u5b66\u4e60\u9875\u9762", 0)}, 5e3)} else clearInterval(t)})}}class beijingjiaoshi extends Main {constructor() {super(), this.taskLength = 0, this.topIndex = 0, this.parentIndex = -1, this.currentIndex = -1, this.videoplaying = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {var e, t = document.querySelector(".item_btn");if (ElementObj.$topNode = document.querySelectorAll(".el-collapse-item__header"), t) yield sleep(2e3), t.click(), setTimeout(() => {window.close()}, 1500); else if (ElementObj.$topNode.length) e:for (var n of ElementObj.$topNode) {n.classList.contains("is-active") || (n.click(), yield sleep(1500));for (e of n.parentElement.nextSibling.querySelectorAll("tr.el-table__row")) if ("100%" != e.querySelector(".el-progress-bar__inner").style.width) {MyTool.setValue("homeUrl", location.href), e.querySelector(".btn.to-study").click();break e}} else {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask = document.querySelectorAll(".course-info .video-title"), ElementObj.$allTask.length && (clearInterval(e), this.getCurrentIndex())}), 1e3)}})}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$topNode = document.querySelectorAll(".el-collapse-item"), yield sleep(200);let t = ElementObj.$topNode.length, l = setInterval(() => __awaiter(this, void 0, void 0, function* () {this.topIndex >= t - 1 && clearInterval(l), yield sleep(2e3);var e = ElementObj.$topNode[this.topIndex];0 != this.topIndex && e.querySelector(".item-title-col").click(), yield sleep(300), ElementObj.$parentNodes = e.querySelectorAll(".el-table__row"), yield sleep(300), ElementObj.$parentNodes.forEach((t, n) => __awaiter(this, void 0, void 0, function* () {var e;"\u8bfe\u7a0b:100%" != t.querySelector(".course_num").innerText && -1 == this.parentIndex && (clearInterval(l), this.parentIndex = n, e = t.querySelector(".to-study"), yield sleep(200), e.click(), setTimeout(() => {window.close()}, 1500))})), this.topIndex += 1}), 3e3)})}getDoing() {return new Promise(n => {let l = !1;ElementObj.statusEles = document.querySelectorAll(".li-item .el-progress-bar__inner"), ElementObj.statusEles.forEach((e, t) => {e = e.style.width;parseInt(e) <= 98 && 0 == l && (l = !0, n(t))}), l || n(0)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask.forEach((e, t) => {"100%" != e.querySelector(".four").innerText && -1 == this.currentIndex && (this.currentIndex = t)}), ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3);var e = ElementObj.$allTask[this.currentIndex];yield sleep(200), e.click(), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), yield this.getVideoDom(), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0;var e = document.querySelector(".xgplayer-start");yield sleep(200), e.click(), ElementObj.$video.playbackRate = toolOption.accelerator, this.punchCard(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.listenVidoeStatus(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (setTimeout(() => {window.close()}, 1500), e = MyTool.getValue("homeUrl"), location.replace(e)) : (this.currentIndex += 1, e = ElementObj.$allTask[this.currentIndex], yield sleep(300), e.click(), setTimeout(() => {this._o1()}, 4500))})), ElementObj.$video.addEventListener("pause", () => {}), ElementObj.$video.addEventListener("playing", () => {}), ElementObj.$video.addEventListener("waiting", () => {})})}listenVidoeStatus() {this.timer = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && ElementObj.$video.paused && (ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0, ElementObj.$video.play())}, 3e3)}punchCard() {setInterval(() => {var e = document.querySelector("#comfirmClock");e && e.click()}, 5e3)}}class qingyangzgzjzj extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this._init()}_init() {let e = setInterval(() => {ElementObj.$parentNodes = document.querySelectorAll(".swiper-slide"), ElementObj.$parentNodes.length && (clearInterval(e), this.getParentIndex())}, 1e3)}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("\u6b63\u5728\u521d\u59cb\u5316", 1500), ElementObj.$parentNodes.forEach((e, t) => {e = e.querySelector(".progresstext").innerText;parseInt(e) < 97 && -1 == this.parentIndex && (this.parentIndex = t, ElementObj.$parentNodes[this.parentIndex].querySelector(".left-img").click())}), -1 == this.parentIndex ? alert("\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : this.getCurrentIndex()})}_getParentIndex() {let e = 0;for (var t = 0; t <= ElementObj.$parentNodes.length - 1; t++) {var n = ElementObj.$parentNodes[t].querySelector(".progresstext").innerText;if (parseInt(n) < 95) {e = t;break}}return e}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask = document.querySelectorAll(".class-catlog ul li ul li"), yield sleep(2e3), ElementObj.$allTask[0].click(), this.currentIndex = 0, ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u81ea\u52a8\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 3e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), clearInterval(this.timer2), yield this.getVideoDom(), ElementObj.$video = document.querySelector("video"), ElementObj.$video.volume = 0, ElementObj.$video.currentTime = 0, ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$video.play(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.listenVidoeStatus(), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()}))})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}listenVidoeStatus() {this.timer = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && ElementObj.$video.paused && (ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0, ElementObj.$video.play())}, 3e3)}listenRebort() {this.timer2 = setInterval(() => {var e;"100%" == (null == (e = document.querySelector(".progress")) ? void 0 : e.querySelectorAll("span")[1].innerText.trim()) && location.reload()}, 3e3)}playNext() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask = document.querySelectorAll(".class-catlog ul li ul li"), yield sleep(1500), this.currentIndex >= ElementObj.$allTask.length - 1 && location.reload()})}}class lanzhouwenli extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this._init()}_init() {let e = setInterval(() => {ElementObj.$allTask = document.querySelectorAll(".video"), ElementObj.$allTask.length && (clearInterval(e), this.getCurrentIndex())}, 1e3)}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask.forEach((e, t) => {e = e.querySelector(".el-progress__text").innerText;parseInt(e) < 96 && -1 == this.currentIndex && (this.currentIndex = t)}), -1 == this.currentIndex ? alert("\u5f53\u524d\u7ae0\u8282\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (showTip("🔉🔉🔉\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e", 3e3), yield sleep(2e3), ElementObj.$allTask[this.currentIndex].click(), yield sleep(2500), this._o1())})}play() {return __awaiter(this, void 0, void 0, function* () {yield this.getVideoDom(), document.querySelector(".volume-icon").classList.add("mute"), ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$video.play(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;yield sleep(1500), this.currentIndex >= ElementObj.$allTask.length - 1 && (this.parentIndex += 1, yield sleep(200), ElementObj.$parentNodes[this.parentIndex].querySelector(".left-img").click(), this.parentIndex >= ElementObj.$parentNodes.length - 1) ? alert("\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c\u4e86") : (e = document.querySelector(".videoleft img"), yield sleep(200), e.click(), showTip("\u6b63\u5728\u5207\u6362\u8bfe\u7a0b", 3e3), setTimeout(() => __awaiter(this, void 0, void 0, function* () {this.currentIndex += 1;var e = ElementObj.$allTask[this.currentIndex];yield sleep(2e3), null != e && e.click(), setTimeout(() => {this._o1()}, 5e3)}), 5500))})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.play()}, 4e3)})})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}}class guojiazhihuijiaoyu extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = document.querySelectorAll(".video-title .four");e.length && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = e, this.getCurrentIndex())}), 1e3)}getCurrentIndex() {ElementObj.$allTask.forEach((e, t) => {"100%" != e.innerText && -1 == this.currentIndex && (this.currentIndex = t)}), -1 == this.currentIndex && (this.currentIndex = 0), showTip("🔉🔉🔉\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u81ea\u52a8\u64ad\u653e", 3e3), this._o1()}play() {return __awaiter(this, void 0, void 0, function* () {var e = ElementObj.$allTask[this.currentIndex];yield sleep(300), e.click(), yield sleep(3e3), document.querySelector("video").volume = 0;document.querySelector(".xgplayer-icon-play").click(), yield this.getVideoDom(), ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator, this.listenVidoeStatus();e = document.querySelector(".layui-layer-btn0");e && e.click(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.listenTopic(), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e = document.querySelector(".layui-layer-btn0");yield sleep(3e3), e && e.click(), this.currentIndex += 1, setTimeout(() => {this._o1()}, 5e3)}))})}listenTopic() {setInterval(() => {try {document.querySelector("#submit") && this.answerTopic()} catch (e) {}}, 5e3)}answerTopic() {return __awaiter(this, void 0, void 0, function* () {var e = document.querySelectorAll(".choice li")[0];yield sleep(200), e.click();let t = document.querySelector("#submit");yield sleep(1e3), t.click(), yield sleep(2e3), t = document.querySelector("#submit"), yield sleep(200), t.click(), yield sleep(4500);e = document.querySelector(".layui-layer-btn0");yield sleep(200), e.click()})}listenVidoeStatus() {this.timer = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && ElementObj.$video.paused && (ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0, ElementObj.$video.play())}, 1e4)}}class lanzhouchengren extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.videoplaying = 3, this.loadedCount = 0, this.type = 1, this._init()}_init() {let e = setInterval(() => {"/courseVideo/index" == location.pathname ? ElementObj.$allTask = document.querySelectorAll(".ant-tree-node-content-wrapper-normal .chapter-tree-level2") : ElementObj.$allTask = document.querySelectorAll(".activity li"), ElementObj.$allTask.length && (clearInterval(e), this.getCurrentIndex())}, 1e3)}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {if ("/courseVideo/index" == location.pathname) {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) {var t = ElementObj.$allTask[e].querySelector(".right");if (!t) {this.currentIndex = e;break}if ("\u5df2\u5b8c\u6210" != t.querySelector(".percent-text").innerText) {this.currentIndex = e;break}}if (-1 == this.currentIndex) return void alert("\u6240\u6709\u8bfe\u7a0b\u5df2\u64ad\u653e\u5b8c");ElementObj.$allTask[e].click()} else ElementObj.$allTask.forEach((e, t) => {e.classList.contains("cur") && (this.currentIndex = t)}), -1 == this.currentIndex && (this.currentIndex = 0);ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), yield sleep(3e3), this._o1()})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer);var e = yield this.getVideoDom();yield sleep(200), 1 == e && setTimeout(() => __awaiter(this, void 0, void 0, function* () {this.currentIndex += 1;var e = ElementObj.$allTask[this.currentIndex], e = null == e ? void 0 : e.querySelector("h3");yield sleep(2e3), null != e && e.click()}), 3e3), 2 == e && (ElementObj.$video.volume = 0, ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$video.play(), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", "/venus/study/activity/video/study.do" == location.pathname && (this.listenVidoeStatus(ElementObj.$video, () => {var e = ElementObj.$allTask[this.currentIndex], e = null == e ? void 0 : e.querySelector("h3");null != e && e.click()}), this.reloadPage()), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {this.videoplaying = 1, setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1e3)}), ElementObj.$video.addEventListener("playing", () => {this.videoplaying = 2}))})}playNext() {return __awaiter(this, void 0, void 0, function* () {if (this.videoplaying = 3, yield sleep(1500), this.currentIndex >= ElementObj.$allTask.length - 1) alert("\u5f53\u524d\u7ae0\u8282\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c\u4e86"); else {this.currentIndex += 1;var t = ElementObj.$allTask[this.currentIndex];let e;"/courseVideo/index" == location.pathname ? (null !== (e = t) && void 0 !== e && e.click(), setTimeout(() => {this._o1()}, 3e3)) : (e = null == t ? void 0 : t.querySelector("h3"), yield sleep(2e3), null !== e && void 0 !== e && e.click())}})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$myFrame = document.querySelector("#myFrame"), ElementObj.$video && (clearInterval(t), this.type = 2, e(2)), ElementObj.$myFrame && (clearInterval(t), this.type = 1, e(1))}, 1e3)})}reloadPage() {return __awaiter(this, void 0, void 0, function* () {let e = 600, t = 0, n = setInterval(() => {(t += 1) % 15 == 0 && console.clear(), t, e <= 0 && (clearInterval(n), location.reload()), --e}, 1e3)})}}class tsbt#####mde extends Main {constructor() {super(), this.taskLength = 0, this.studyType = 1, this.currentIndex = -1, this._init()}_init() {let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = document.querySelectorAll(".chapterlist .item p"),t = document.querySelectorAll(".chapterlist .chapter-li .drop p");(e.length || t.length) && (clearInterval(n), ElementObj.$allTask = t.length ? t : e, this.getCurrentIndex(), ElementObj.$handleSpeedUp.style.display = "none")}), 1e3)}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {let n = [];ElementObj.$allTask.forEach((e, t) => {var e = e.querySelector(".class_percent");e ? (e = e.innerText, n.push(parseInt(e))) : n.push(0)}), n.reverse();for (var e = 0; e <= n.length - 1; e++) if (n[e] < 98) {this.currentIndex = n.length - e - 1;break}if (0 == this.currentIndex) {ElementObj.$allTask[1].querySelector("a").click(), yield sleep(4e3), ElementObj.$allTask = document.querySelectorAll(".chapterlist .drop p"), yield sleep(200);var t = ElementObj.$allTask[0].querySelector(".class_percent").innerText;if (!(parseInt(t) < 98)) return void alert("\u5f53\u524d\u79d1\u76ee\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c");this.currentIndex = 0}-1 == this.currentIndex ? alert("\u5f53\u524d\u79d1\u76ee\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉🔉🔉\u521d\u59cb\u5316\u5b8c\u6210,5s\u540e\u5f00\u59cb\u64ad\u653e", 3e3), this._o1())})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video.src ? (clearInterval(t), e(1)) : (clearInterval(t), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer);var e = ElementObj.$allTask[this.currentIndex].querySelector("a"),e = (yield sleep(300), e.click(), this.studyType = yield this.getVideoDom(), 1 == this.studyType && (ElementObj.$video.volume = 0, ElementObj.$video.setAttribute("muted", "muted"), yield sleep(200), ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()})), 1 == this.studyType ? $el("#player") : $el("#thirdplayer"));this.changeHtml(e), this.reloadPage(), this.listenPageHide(), 1 == this.studyType ? this.listenAbnormal(1) : this.listenAbnormal(0), setTimeout(() => {this.addInfo("⚠️⚠️⚠️\u8bfe\u7a0b\u91c7\u7528\u5012\u7740\u64ad\u653e,\u8bf7\u52ff\u624b\u52a8\u66f4\u6362\u8bfe\u7a0b", 0)}, 1e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {location.reload()}))})}reloadPage() {return __awaiter(this, void 0, void 0, function* () {let e = 360, t = setInterval(() => {e <= 0 && (clearInterval(t), location.reload()), --e}, 1e3)})}listenAbnormal(t) {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;setInterval(() => {n += 1, 0 == t && this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60`), 1 == t && (e = (ElementObj.$video.currentTime / 60).toFixed(2), this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f`));var e = document.querySelector(".layui-layer-btn0");e && location.reload()}, 5e3)}}tsbt#####mde.ctxid = 26;class zjzjsrc extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this.wrapParentIndex = 0, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;"/member/project_toMyCourseList.page" == location.pathname && (clearInterval(t), document.querySelectorAll("td .btn-xs")[this.wrapParentIndex].click(), yield sleep(2e3), e = yield this.getParentIndex(), null != (e = document.querySelectorAll(".panel-body")[0].querySelectorAll("tbody tr")[e].querySelector(".btn-xs[name='btn1']")) && e.click(), yield sleep(2e3), ElementObj.$allTask = document.querySelectorAll(".btn-xs[name='btn1']"), this.step2()), ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", this._o1())}), 1e3)})}getParentIndex() {var a;return __awaiter(this, void 0, void 0, function* () {let e = -1;for (var t = document.querySelectorAll(".panel-body")[0].querySelectorAll("tbody tr"), n = 0; n <= t.length - 1; n++) {var l = "2j.zjjsrc.cn" === location.host ? 4 : 6;if ("\u672a\u5f00\u59cb\u5b66\u4e60" == t[n].querySelectorAll("td")[l].innerText) {e = n;break}}if (-1 == e) {var i = document.querySelector("#option1").lastChild,o = null == (a = document.querySelector("#option1")) ? void 0 : a.querySelector("a[title='Go to next page']");if (i.classList.contains("active")) return e;o.click(), yield sleep(2e3), e = yield this.getParentIndex()}return e})}getCurrentIndex() {showTip("\u6b63\u5728\u521d\u59cb\u5316"), ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelectorAll(".progress-bar");let t = -1;for (var n = 0; n <= e.length - 1; n++) {var l = e[n].style.width;if (100 != parseInt(l)) {t = n;break}}return t}step2() {var e;return __awaiter(this, void 0, void 0, function* () {let t = 0,n = null == (e = document.querySelector("#myModal .panel-body")) ? void 0 : e.querySelectorAll("tbody tr"),l = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = n[t].querySelector(".btn-xs[name='btn2']"),e = (null != e && e.click(), yield sleep(500), this.getCurrentIndex());-1 != e && (clearInterval(l), e = document.querySelectorAll("#myModal1 tbody tr")[e].querySelector("a"), GM_openInTab(e.href, {active: !0}), localStorage.setItem("learnStatus", "-1"), "2j.zjjsrc.cn" === location.host && window.addEventListener("storage", e => {"learnStatus" === e.key && "done" === e.newValue && location.reload()}), "2j.zjjsrc.cn" !== location.host) && setTimeout(() => {window.close()}, 15e3), t++}), 2e3)})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), yield this.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.setAttribute("muted", "muted"), yield sleep(200), ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator, this.changeHtml($el("#example_video_1")), this.listenPlayTime(), this.listenPageHide(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.videoplaying = -1, "2j.zjjsrc.cn" === location.host ? localStorage.setItem("learnStatus", "done") : GM_openInTab("https://zj.zjjsrc.cn/member/project_toMyCourseList.page", {active: !0}), setTimeout(() => {window.close()}, 15e3)})), ElementObj.$video.addEventListener("pause", () => {clearInterval(void 0), setTimeout(() => {document.querySelector(".vjs-play-control").click()}, 100)})})}listenPlayTime() {let n = 0;this.timer = setInterval(() => __awaiter(this, void 0, void 0, function* () {n += 1;var e = null == (e = ElementObj.$video) ? void 0 : e.currentTime, e = (e / 60).toFixed(2),t = null == (t = ElementObj.$video) ? void 0 : t.duration;this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t / 60}\u5206\u949f`)}), 5e3)}}zjzjsrc.ctxid = 26;class lzrejxjy extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelectorAll(".my-center2RM .pull-left a.trans")[1];e ? (clearInterval(t), GM_setValue("homeUrl", location.href), null != e && e.click(), showTip("🔉\u6b63\u5728\u521d\u59cb\u5316"), yield sleep(2e3), ElementObj.$parentNodes = document.querySelectorAll(".class2Li"), this.findParentIndex()) : document.querySelectorAll(".learn-menu-cell").length && (clearInterval(t), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {var n;return __awaiter(this, void 0, void 0, function* () {"zjdx-kfkc.webtrn.cn" != location.host && ((e = document.querySelectorAll(".learn-menu-cell")[1]).classList.contains("learn-menu-cur") || e.querySelector("a").click(), yield sleep(3e3));for (var e = document.querySelector(".contentIframe"), t = (ElementObj._document = e.contentWindow.document, ElementObj.$allTask = ElementObj._document.querySelectorAll(".s_point"), showTip("\u6b63\u5728\u521d\u59cb\u5316"), ElementObj.$handleSpeedUp.style.display = "none", 0); t <= ElementObj.$allTask.length - 1; t++) if (!ElementObj.$allTask[t].querySelector(".item_done_icon").classList.contains("done_icon_show")) {this.currentIndex = t;break}-1 == this.currentIndex ? (e = GM_getValue("homeUrl", null), GM_openInTab(e, {active: !0}), setTimeout(() => {window.close()}, 1500)) : (null != (n = ElementObj.$allTask[this.currentIndex]) && n.click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), this._o1())})}findParentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none";let l;ElementObj.$parentNodes.forEach((e, t) => {var n = e.querySelector(".color-theme").innerText;parseInt(n) <= 98 && -1 == this.currentIndex && (this.currentIndex = t, l = e.querySelector("a.btn-theme"))}), -1 == this.currentIndex ? alert("\u5168\u90e8\u8bfe\u7a0b\u5df2\u5b66\u5b8c") : (l.click(), setTimeout(() => {window.close()}, 1500))})}getVideoDom() {return new Promise(t => {let n = 0, l = setInterval(() => {7 < n && (clearInterval(l), t(2));var e = null == (e = ElementObj._document.querySelector("#mainFrame")) ? void 0 : e.contentWindow.document;ElementObj.$video = null == e ? void 0 : e.querySelector("video"), ElementObj.$video && (clearInterval(l), t(1)), n += 1}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();2 == e && this.playNext(), 1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.setAttribute("muted", "muted"), yield sleep(200), ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator, this.listenRebort(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}))})}updateSpeedElement(e) {localStorage.setItem("_localSpeed", e.toString()), ElementObj.$video.playbackRate = e}listenRebort() {this.listenRebortTime = setInterval(() => {let e = document.querySelector(".layui-layer-btn0");e && setTimeout(() => {e.click(), ElementObj.$video.play()}, 3e3)}, 1e4)}playNext() {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (e = GM_getValue("homeUrl", null), GM_openInTab(e, {active: !0}), setTimeout(() => {window.close()}, 1500)) : (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), showTip("🔉\u6b63\u5728\u5207\u6362\u8bfe\u7a0b"), setTimeout(() => {this._o1()}, 5e3))}}lzrejxjy.ctxid = 29;class xuzhouyikedaxue extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this.parentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = document.querySelector("#courseware_main_menu").querySelector("a");e && (clearInterval(t), e.click(), this.findParentIndex())} catch (e) {}}), 1e3)})}findParentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("🔉\u6b63\u5728\u521d\u59cb\u5316", 2500), yield sleep(4500), ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelector(".contentIframe").contentWindow.document;ElementObj.$parentNodes = e.querySelectorAll(".vcon li"), ElementObj.$parentNodes.forEach((e, t) => {e = e.querySelector("span");(e.classList.contains("undo") || e.classList.contains("doing")) && -1 == this.parentIndex && (this.parentIndex = t)}), -1 == this.parentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u53d1\u5b8c") : (ElementObj.$parentNodes[this.parentIndex].querySelector("a").click(), this.getCurrentIndex())})}getCurrentIndex() {var t;return __awaiter(this, void 0, void 0, function* () {showTip("\u6b63\u5728\u521d\u59cb\u5316", 2500), yield sleep(4500);var e = document.querySelector(".contentIframe");ElementObj._document = e.contentWindow.document, ElementObj.$allTask = ElementObj._document.querySelectorAll(".menub"), this.currentIndex = 0, null != (t = ElementObj.$allTask[this.currentIndex]) && t.click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), this._o1()})}getVideoDom() {return new Promise(t => {let n = setInterval(() => {var e = document.querySelector(".contentIframe"),e = (ElementObj._document = e.contentWindow.document, ElementObj._document.querySelector("#mainFrame").contentDocument);ElementObj.$video = e.querySelector("video"), ElementObj.$video ? (clearInterval(n), t(1)) : (e.querySelector("#content_frame"), clearInterval(n), t(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer2), unsafeWindow.alert = () => {};var e = yield this.getVideoDom();this.listenRebort(), 1 == e && (ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3)}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {yield sleep(3e3), this.playNext()}))), 2 == e && (this.timer2 = setTimeout(() => {this.playNext()}, 7e3))})}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".layui-layer-btn a");e && (e.click(), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3))}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u64ad\u653e\u5b8c\u6210,\u6b63\u5728\u5207\u6362\u8bfe\u7a0b", 3500), this.currentIndex >= ElementObj.$allTask.length - 1 ? (this.parentIndex += 1, ElementObj.$parentNodes[this.parentIndex].querySelector("a").click(), setTimeout(() => {this.getCurrentIndex()}, 4500)) : (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}}xuzhouyikedaxue.ctxid = 26;class xibei###yjy extends Main {constructor() {super(), this.studyType = 2, this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.swiperIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = document.querySelectorAll(".el-tree-node"),t = document.querySelectorAll(".m-chapterList .section"),n = ((e.length || t.length) && (this.studyType = e.length ? 2 : 1, ElementObj.$allTask = e.length ? e : t, clearInterval(l), this.getCurrentIndex()), ElementObj.$parentNodes = document.querySelectorAll(".project-courseBottom"), ElementObj.$parentNodes.length && (clearInterval(l), this.getParentIndex()), location.host);"preview.dccloud.com.cn" == n && (clearInterval(l), yield sleep(1500), window.close())} catch (e) {}}), 1e3)})}getParentIndex() {for (var e = 0; e <= ElementObj.$parentNodes.length - 1; e++) if ("\u5df2\u5b66\u4e60" != ElementObj.$parentNodes[e].querySelector("span")) {this.parentIndex = e;break}-1 == this.parentIndex && alert("\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c"), ElementObj.$parentNodes[e].querySelector(".project-courseButton").click()}getSwiperIndex() {var n;return __awaiter(this, void 0, void 0, function* () {if (ElementObj.$video = document.querySelector("video"), yield sleep(200), ElementObj.$video) if (ElementObj.$swiperItem = document.querySelectorAll(".public-articleSlideList"), ElementObj.$swiperItem.length) {for (var e, t = 0; t <= ElementObj.$swiperItem.length - 1; t++) if ("\u5df2\u5b66\u4e60" != ElementObj.$swiperItem[t].querySelector(".video-status").innerText) {this.swiperIndex = t;break}-1 == this.swiperIndex ? this.playNext() : 0 == this.swiperIndex ? this._o1() : (ElementObj.$swiperItem[this.swiperIndex].querySelector(".el-icon-video-play").click(), showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 3500), e = null == (n = document.querySelector(".el-message-box__btns")) ? void 0 : n.lastChild, yield sleep(2e3), e.click(), setTimeout(() => {this._o1()}, 5e3))} else this._o1(); else ElementObj.$docs = document.querySelectorAll(".abcd"), ElementObj.$docs.length && this.playDoc()})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none", showTip("\u6b63\u5728\u521d\u59cb\u5316", 2500), yield sleep(3500);let n = 1 == this.studyType ? "section-cur" : "study";ElementObj.$allTask.forEach((e, t) => {1 == this.studyType && e.classList.contains(n) && (this.currentIndex = t), 2 == this.studyType && "\u5df2\u5b66\u4e60" != e.querySelector("i").title && -1 == this.currentIndex && (this.currentIndex = t)}), -1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u7ae0\u8282\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (2 == this.studyType && -1 != this.currentIndex && this.playNext(this.currentIndex - 1), showTip("⚠️⚠️⚠️\u521d\u59cb\u5316,\u8bf7\u7a0d\u540e", 3e3), 1 == this.studyType && this._o1(), 2 == this.studyType && this.getSwiperIndex())})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {if (clearInterval(this.listenVidoeStatusTimer), clearInterval(this.timer), yield this.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.setAttribute("muted", "muted"), yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), 2 == this.studyType) {let e = yield this.getDocIndex();setTimeout(() => {this.eachPlayDoc(e)}, 3e3), this.changeHtml($el("#video")), this.listenPageHide(), this.listenPlayTime(), this.reloadPage()}this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3)}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;showTip("🔉\u6b63\u5728\u5207\u6362\u8bfe\u7a0b", 2500), 2 == this.studyType && (this.swiperIndex >= ElementObj.$swiperItem.length - 1 ? location.reload() : (this.swiperIndex += 1, ElementObj.$swiperItem[this.swiperIndex].querySelector(".el-icon-video-play").click(), showTip("⚠️⚠️⚠️\u6b63\u5728\u5207\u6362\u89c6\u9891", 5e3), e = null == (e = document.querySelector(".el-message-box__btns")) ? void 0 : e.lastChild, yield sleep(2e3), e.click(), setTimeout(() => {this._o1()}, 5e3))), 1 == this.studyType && (this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u7ae0\u8282\u8bfe\u7a0b\u5df2\u5b66\u5b8c") : (this.currentIndex += 1, null != (e = ElementObj.$allTask[this.currentIndex].querySelector("a")) && e.click()))}))})}getDocIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$docs = document.querySelectorAll(".abcd .file-box"), yield sleep(200);let e = -1;for (var t = 0; t <= ElementObj.$docs.length - 1; t++) if ("( \u5df2\u5b8c\u6210 )" != ElementObj.$docs[t].querySelector(".fs12").innerText) {e = t;break}return e})}playDoc(e) {return __awaiter(this, void 0, void 0, function* () {var e = yield this.getDocIndex();-1 == e ? this.playNext() : this.eachPlayDoc(e, () => {setTimeout(() => __awaiter(this, void 0, void 0, function* () {this.playNext()}), 2e3)})})}eachPlayDoc(t = 0, n) {if (-1 != t) {let e = setInterval(() => {t >= ElementObj.$docs.length - 1 && (clearInterval(e), "function" == typeof n) && n(), ElementObj.$docs[t].querySelector("button").click(), t += 1}, 2e3)}}playNext(t) {var n;return __awaiter(this, void 0, void 0, function* () {var e;null != t && (this.currentIndex = t), this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u7ae0\u8282\u8bfe\u7a0b\u5df2\u5b66\u5b8c") : (this.currentIndex += 1, null != (e = ElementObj.$allTask[this.currentIndex].querySelectorAll("span")[1]) && e.click(), yield sleep(2e3), (e = null == (n = document.querySelector(".el-message-box__btns")) ? void 0 : n.lastChild) && e.click(), showTip("⚠️⚠️⚠️\u6b63\u5728\u5207\u6362\u4e0b\u4e00\u8282", 4e3), setTimeout(() => {this.getSwiperIndex()}, 4500))})}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let t = 0;this.timer = setInterval(() => {t += 1;var e = (ElementObj.$video.currentTime / 60).toFixed(2);this.addInfo(`\u540e\u53f0\u5b66\u4e60${t}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f`)}, 5e3)}reloadPage() {return __awaiter(this, void 0, void 0, function* () {let e = 360, t = setInterval(() => {e <= 0 && (clearInterval(t), location.reload()), --e}, 1e3)})}}xibei###yjy.ctxid = 26;class henangongshe extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.videoplaying = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = document.querySelectorAll("#bxkBtudyDiv a");e.length && (clearInterval(t), this.getParentIndex(e)), ElementObj.$allTask = document.querySelectorAll(".course-info .video-title"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"}), 1e3)})}getParentIndex(l) {return __awaiter(this, void 0, void 0, function* () {l[0].click(), showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 3e3), yield sleep(3e3), ElementObj.$parentNodes = document.querySelectorAll("tbody tr");for (var e = 0; e <= ElementObj.$parentNodes.length - 1; e++) {var t = ElementObj.$parentNodes[e].querySelector("span").innerText;if (parseInt(t) <= 98) {this.parentIndex = e;break}}if (-1 == this.parentIndex) {l[1].click(), yield sleep(3e3), ElementObj.$parentNodes = document.querySelectorAll("tbody tr");for (e = 0; e <= ElementObj.$parentNodes.length - 1; e++) {var n = ElementObj.$parentNodes[e].querySelector("span").innerText;if (parseInt(n) <= 98) {this.parentIndex = e;break}}}-1 == this.parentIndex ? alert("\u5168\u90e8\u8bfe\u7a0b\u5df2\u5b66\u5b8c") : (GM_setValue("homeUrl", location.href), ElementObj.$parentNodes[this.parentIndex].querySelector("button").click(), setTimeout(() => {window.close()}, 5500))})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 3500), ElementObj.$allTask.forEach((e, t) => {"100%" != e.querySelector(".four").innerText && -1 == this.currentIndex && (this.currentIndex = t)}), ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3);var e = ElementObj.$allTask[this.currentIndex];yield sleep(200), e.click(), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), yield this.getVideoDom(), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0;var e = document.querySelector(".xgplayer-start");yield sleep(200), e.click(), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.punchCard(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (setTimeout(() => {window.close()}, 1500), e = GM_getValue("homeUrl", null), GM_openInTab(e, {active: !0})) : (this.currentIndex += 1, e = ElementObj.$allTask[this.currentIndex], yield sleep(300), e.click(), setTimeout(() => {this._o1()}, 4500))}))})}punchCard() {setInterval(() => {var e = document.querySelector("#comfirmClock");e && e.click()}, 5e3)}updateSpeedElement(e) {localStorage.setItem("_localSpeed", e.toString()), ElementObj.$video.playbackRate = e}}class zgrtvu extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.videoplaying = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = document.querySelector(".head_right button");e && (clearInterval(t), e.click()), ElementObj.$allTask = document.querySelectorAll(".page-name"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 3500), ElementObj.$allTask.forEach((e, t) => {e.classList.contains("complete") || -1 != this.currentIndex || (this.currentIndex = t)}), ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3);var e = ElementObj.$allTask[this.currentIndex];yield sleep(200), e.click(), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), yield this.getVideoDom(), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0;var e = document.querySelector(".mejs__overlay-button");yield sleep(200), e.click(), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.punchCard(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (setTimeout(() => {window.close()}, 1500), e = document.querySelector(".back-btn"), yield sleep(200), e.click()) : (this.currentIndex += 1, e = ElementObj.$allTask[this.currentIndex], yield sleep(300), e.click(), setTimeout(() => {this._o1()}, 4500))}))})}punchCard() {setInterval(() => {var e = document.querySelector(".btn-submit");e && e.click()}, 5e3)}}class henandikuang extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.videoplaying = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$parentNodes = document.querySelectorAll(".state-l"), ElementObj.$parentNodes.length ? (clearInterval(e), ElementObj.$parentNodes[0].querySelector(".btn span").click()) : (ElementObj.$parentNodes = document.querySelectorAll(".course-card-item"), ElementObj.$parentNodes.length && (clearInterval(e), this.getParentIndex()), ElementObj.$allTask = document.querySelectorAll(".pt5 li"), ElementObj.$allTask.length && (clearInterval(e), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none")}), 1e3)})}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {let e = -1;for (var t = 0; t < ElementObj.$parentNodes.length - 1; t++) {var n = ElementObj.$parentNodes[t].querySelector(".progress-bar").style.width;if (parseInt(n) < 98) {e = t;break}}-1 == e ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c,\u8bf7\u66f4\u6362\u5176\u5b83\u8bfe\u7a0b") : ElementObj.$parentNodes[t].querySelector("a").click()})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 1500), ElementObj.$allTask.forEach((e, t) => {e = e.querySelector(".badge").innerText;100 != parseInt(e) && -1 == this.currentIndex && (this.currentIndex = t)}), showTip("⚠️⚠\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3);var e = ElementObj.$allTask[this.currentIndex];yield sleep(200), e.click(), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelectorAll("video")[1], ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), yield this.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (e = document.querySelector("a.back"), yield sleep(200), e.click()) : (this.currentIndex += 1, e = ElementObj.$allTask[this.currentIndex], yield sleep(300), e.click(), setTimeout(() => {this._o1()}, 4500))}))})}}class zhejiangtjj extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.videoplaying = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e, t = document.querySelectorAll(".course_2"),n = document.querySelectorAll("tbody tr.el-table__row");(t.length || n.length) && (clearInterval(l), ElementObj.$parentNodes = t.length ? t : n, e = t.length ? 1 : 2, this.getParentIndex(e)), ElementObj.$allTask = document.querySelectorAll(".page-name"), ElementObj.$allTask.length && (clearInterval(l), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"} catch (e) {}}), 1e3)})}getParentIndex(t) {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 1500);let n = 1 == t ? 0 : -1;var e;ElementObj.$parentNodes.forEach((e, t) => {t > n && (e = e.querySelector(".el-progress__text").innerText, 100 != parseInt(e)) && -1 == this.currentIndex && (this.currentIndex = t)}), -1 == this.currentIndex && 2 == t ? (GM_openInTab("https://edu.tjj.zj.###.cn/#/personal?componentId=ClassList&type=classlist", {active: !0}), setTimeout(() => {window.close()}, 3500)) : (showTip("⚠️⚠\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), e = ElementObj.$parentNodes[this.currentIndex].querySelector("button"), yield sleep(200), e.click(), setTimeout(() => {location.reload()}, 3e3))})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 3500), ElementObj.$allTask.forEach((e, t) => {e.classList.contains("complete") || -1 != this.currentIndex || (this.currentIndex = t)}), ElementObj.$handleSpeedUp.style.display = "none", showTip("🔉\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3);var e = ElementObj.$allTask[this.currentIndex];yield sleep(200), e.click(), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(t => {let n = setInterval(() => {var e = null == (e = document.querySelector("#playerFrame")) ? void 0 : e.contentDocument;ElementObj.$video = e.querySelector("video"), ElementObj.$video && (clearInterval(n), t(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), yield this.getVideoDom(), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0;var e = document.querySelector(".mejs__overlay-button");yield sleep(200), e.click(), ElementObj.$video.playbackRate = toolOption.accelerator, ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.punchCard(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (setTimeout(() => {window.close()}, 3500), e = document.querySelector(".back-btn"), yield sleep(200), e.click()) : (this.currentIndex += 1, e = ElementObj.$allTask[this.currentIndex], yield sleep(300), e.click(), setTimeout(() => {this._o1()}, 4500))}))})}punchCard() {setInterval(() => {var e = document.querySelector(".btn-submit");e && e.click()}, 5e3)}}class jiangxizhipeizaixian extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".units_wrap_box___1ncip"), ElementObj.$allTask.length && (clearInterval(e), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 1500), ElementObj.$allTask.forEach((e, t) => {var n = e.querySelector(".progress_get_on___3TDga"), e = e.querySelector(".not_start___3dAwS");(n || e) && -1 == this.currentIndex && (this.currentIndex = t)}), -1 == this.currentIndex && (this.currentIndex = 0), showTip("⚠️⚠\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), ElementObj.$allTask[this.currentIndex].click(), showTip("⚠️⚠\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), yield this.getVideoDom(), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3500), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u89c6\u9891\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (this.currentIndex += 1, e = ElementObj.$allTask[this.currentIndex], yield sleep(300), e.click(), setTimeout(() => {this._o1()}, 4500))})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}}class anhuijixujyzx extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;try {ElementObj.$btn_dropdown = document.querySelector(".btn_dropdown"), null != (e = ElementObj.$btn_dropdown) && e.click();var t = document.querySelector(".btn.btn-green");t && (clearInterval(n), yield sleep(300), t.click()), ElementObj.$allTask = document.querySelectorAll(".list-order ul li a:not(.toggle_lesson)"), ElementObj.$allTask.length && (clearInterval(n), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"} catch (e) {}}), 1e3)})}getCurrentIndex() {var e;return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 1500), yield sleep(1500), "none" != $el("#sectionlist").style.display && null != (e = ElementObj.$btn_dropdown) && e.click(), setTimeout(() => {this._o1()}, 4500)})}getIndex() {let e = 0;for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) if (ElementObj.$allTask[t].parentElement.classList.contains("current")) {e = t;break}return e}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelectorAll("video"), 1 < ElementObj.$video.length ? ElementObj.$video = document.querySelectorAll("video")[1] : ElementObj.$video = document.querySelectorAll("video")[0], ElementObj.$video ? (clearInterval(t), e(1)) : (clearInterval(t), e(2))}, 3e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.timer);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3500), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", this.listenPlayTime(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("🔉\u68c0\u6d4b\u5230\u6ca1\u6709\u89c6\u9891,3\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), e = this.getIndex(), (document.querySelector(".preNext.next") || (e = ElementObj.$allTask[e + 1], yield sleep(200), e)).click())})}playNext() {return __awaiter(this, void 0, void 0, function* () {})}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let t = 0;this.timer = setInterval(() => {t += 1;let e = document.querySelector(".btn.btn-green");e && (clearInterval(this.timer), showTip("🔉\u68c0\u6d4b\u5230\u89c6\u9891\u5df2\u5b66\u5b8c,3\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a"), setTimeout(() => {e.click()}, 3e3))}, 3e3)}}class lanzhoudxgs extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this.listenVidoeStatusTimer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;try {ElementObj.$btn_dropdown = document.querySelector("#catalogA"), null != (e = ElementObj.$btn_dropdown) && e.click(), ElementObj.$allTask = document.querySelectorAll("li.activity-node"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"} catch (e) {}}), 1e3)})}getCurrentIndex() {var e;return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 1500), yield sleep(1500), "none" != $el("#toolsContentDiv").style.display && null != (e = ElementObj.$btn_dropdown) && e.click();let n = [];ElementObj.$allTask.forEach((e, t) => {e.querySelector(".cedu-file-video") && n.push(e)}), ElementObj.$allTask = n, this.currentIndex = 0, setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(t => {let n = setInterval(() => {var e = document.querySelector(".vjs-big-play-button");ElementObj.$video = document.querySelector("video"), ElementObj.$video && e && (clearInterval(n), t(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), yield this.getVideoDom(), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0;var e = document.querySelector(".vjs-big-play-button");yield sleep(200), null != e && e.click(), yield sleep(2500), ElementObj.$video.pause(), setTimeout(() => {ElementObj.$video.currentTime -= 30, ElementObj.$video.play()}, 2500), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3500), this.changeHtml($el("#video_div")), this.listenPlayTime(), this.listenPageHide(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})})}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let t = 0;this.timer = setInterval(() => {t += 1;var e = (ElementObj.$video.currentTime / 60).toFixed(2);this.addInfo(`\u540e\u53f0\u5b66\u4e60${t}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f`), ElementObj.$video.currentTime >= ElementObj.$video.duration - 4 && this.playNext()}, 5e3)}listenVidoeStatus(t, n) {if (t) {let e = 0;this.timer2 = setInterval(() => {t.readyState < 4 && (this.addInfo(`\u68c0\u6d4b\u5230${e}\u6b21,\u89c6\u9891\u6b63\u5728\u52a0\u8f7d`, 0), 20 <= (e += 1)) && location.reload(), t.paused && (e += 1, "function" == typeof n) && (20 <= e ? location.reload() : n())}, 3e3)}}playNext() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u68c0\u6d4b\u5230\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a\u89c6\u9891", 4500), yield sleep(5e3), this.currentIndex += 1;var e = ElementObj.$allTask[this.currentIndex],t = (yield sleep(300), e.querySelector(".cedu-file-video"));t ? e.click() : alert("\u5f53\u524d\u8bfe\u7a0b\u89c6\u9891\u5df2\u5168\u90e8\u64ad\u653e\u5b8c")})}}class jidianshejijiaoyu extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.swiperIndex = -1, this.timer = null, this.listenVidoeStatusTimer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {document.querySelector(".layui-layer-btn0") ? (clearInterval(e), this.playNext()) : (ElementObj.$allTask = document.querySelectorAll(".course_chapter_item"), ElementObj.$allTask.length && (clearInterval(e), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none")} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 1500), yield sleep(1500), ElementObj.$allTask.forEach((e, t) => {e.querySelector("i.fa-circle") || -1 != this.currentIndex || (this.currentIndex = t)}), -1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (ElementObj.$allTask[this.currentIndex].querySelector(".section_title").click(), showTip("⚠️⚠️⚠️\u6b63\u5728\u521d\u59cb\u5316", 3500), setTimeout(() => {this.getSwiperIndex()}, 4500))})}getSwiperIndex() {ElementObj.$swiperItem = document.querySelectorAll("#menu_tarr_content .courseware_menu_item"), this.swiperIndex = -1;for (var e = 0; e <= ElementObj.$swiperItem.length - 1; e++) {var t = ElementObj.$swiperItem[e];if (t.querySelector(".icon-note-video-learning")) {this.swiperIndex = e, t.click(), setTimeout(() => {this._o1()}, 3500);break}}-1 == this.swiperIndex && location.reload()}getVideoDom() {return new Promise(t => {let n = setInterval(() => {var e = document.querySelector(".vjs-big-play-button");ElementObj.$video = document.querySelector("video"), ElementObj.$video && e && (clearInterval(n), t(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), yield this.getVideoDom(), ElementObj.$video.setAttribute("muted", "muted"), ElementObj.$video.volume = 0, yield sleep(2500), ElementObj.$video.play(), this.changeHtml($el(".video-play")), this.listenPlayTime(), this.listenPageHide(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})})}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let t = 0;this.timer = setInterval(() => {t += 1;var e = (ElementObj.$video.currentTime / 60).toFixed(2),e = (this.addInfo(`\u540e\u53f0\u5b66\u4e60${t}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f`), document.querySelector(".complete"));e && (this.addInfo("✅✅✅,\u5f53\u524d\u89c6\u9891\u64ad\u653e\u5b8c\u6210,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a\u89c6\u9891"), this.swiperIndex >= ElementObj.$swiperItem.length - 1 ? location.reload() : (this.swiperIndex += 1, $el("#right_tarr").click(), setTimeout(() => {this._o1()}, 3500))), ElementObj.$video.currentTime >= ElementObj.$video.duration - 4 && this.playNext()}, 5e3)}listenVidoeStatus(t, n) {if (t) {let e = 0;this.timer2 = setInterval(() => {t.readyState < 4 && (this.addInfo(`\u68c0\u6d4b\u5230${e}\u6b21,\u89c6\u9891\u6b63\u5728\u52a0\u8f7d`, 0), 20 <= (e += 1)) && location.reload(), t.paused && (e += 1, "function" == typeof n) && (20 <= e ? location.reload() : n())}, 3e3)}}playNext() {return __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u68c0\u6d4b\u5230\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a\u89c6\u9891", 4500), yield sleep(5e3);var e = document.querySelector(".layui-layer-btn0");e && (e.click(), yield sleep(2e3), location.reload())})}}class ycjyluteducn extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this.parentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {window.alert = function () {};let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;["/learnspace/learn/homework/blue/student/homework_complete.action", "/learnspace/course/test/coursewareTest_intoTestPage.action", "/learnspace/learn/learn/blue/content_video.action"].includes(location.pathname) ? (clearInterval(t), window.close()) : (e = document.querySelector("#courseware_main_menu").querySelector("a")) && (clearInterval(t), e.click(), yield this.findParentIndex())}), 500)})}findParentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("🔉\u6b63\u5728\u521d\u59cb\u5316", 2500), yield sleep(4500), unsafeWindow.alert = () => {}, ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelector(".contentIframe"), t = e.contentWindow.document;e.contentWindow.alert = () => {}, ElementObj.$parentNodes = t.querySelectorAll(".vcon li");for (let e = 0; e < ElementObj.$parentNodes.length; e++) {var n = ElementObj.$parentNodes[e], l = n.querySelector("span"),i = n.innerText.indexOf("\u7ec3\u4e60"), n = n.innerText.indexOf("\u8bfe\u7a0b\u4f5c\u4e1a");if ((l.classList.contains("undo") || l.classList.contains("doing")) && -1 == this.parentIndex && -1 == i && -1 == n) {this.parentIndex = e, ElementObj.$parentNodes[e].querySelector("a").click();break}}-1 == this.parentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u53d1\u5b8c") : yield this.getCurrentIndex()})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("\u6b63\u5728\u521d\u59cb\u5316", 2500);let t = setInterval(() => {var e = document.querySelector(".contentIframe");ElementObj._document = e.contentWindow.document, ElementObj.$allTask = ElementObj._document.querySelectorAll(".menub"), ElementObj.$allTask.length && (clearInterval(t), this.currentIndex = 0, null != (e = ElementObj.$allTask[this.currentIndex]) && e.click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), this._o1())}, 1e3)})}getVideoDom() {return new Promise(t => {let n = setInterval(() => {var e = ElementObj._document.querySelector("#mainFrame").contentDocument;ElementObj.$video = e.querySelector("video"), ElementObj.$video ? (clearInterval(n), t(1)) : (e.querySelector("#content_frame"), clearInterval(n), t(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer2), unsafeWindow.alert = () => {};var e = yield this.getVideoDom();this.listenRebort(), 1 == e && (ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3)}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {yield sleep(3e3), this.playNext()}))), 2 == e && (this.timer2 = setTimeout(() => {this.playNext()}, 7e3))})}listenRebort() {this.listenRebortTime = setInterval(() => {unsafeWindow.alert = function () {};var e = document.querySelector(".layui-layer-btn a");e && (e.click(), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3))}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {unsafeWindow.alert = () => {}, showTip("✅✅✅\u64ad\u653e\u5b8c\u6210,\u6b63\u5728\u5207\u6362\u8bfe\u7a0b", 3500), this.currentIndex >= ElementObj.$allTask.length - 1 ? (this.parentIndex += 1, -1 != ElementObj.$parentNodes[this.parentIndex].innerText.indexOf("\u7ec3\u4e60") && (this.parentIndex += 1), ElementObj.$parentNodes[this.parentIndex].querySelector("a").click(), setTimeout(() => {this.getCurrentIndex()}, 4500)) : (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), yield sleep(5e3), this._o1())})}}ycjyluteducn.ctxid = 26;class gdrcjxjyw extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e;ElementObj.$parentNodes = document.querySelectorAll(".m-list .item"), ElementObj.$parentNodes.length ? (clearInterval(t), this.getParentIndex()) : (ElementObj.$video = document.querySelector("video"), ElementObj.$video && "www.rcjxjy.com" == location.host ? (clearInterval(t), this._o1()) : (e = document.querySelectorAll(".player-table")[2], ElementObj.$allTask = e.querySelectorAll("td"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"))} catch (e) {}}), 1e3)})}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u6b63\u5728\u521d\u59cb\u5316,\u8bf7\u52ff\u70b9\u51fb", 3e3);let t = 0, n = setInterval(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$parentNodes[t].querySelector(".btn-continue-study").click(), yield sleep(500), ElementObj.$allTask = document.querySelectorAll(".video-item .f-cb");for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if ("\u64ad\u653e\u5b8c\u6210" != ElementObj.$allTask[e].querySelector(".videoName").innerText) {clearInterval(n), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210"), ElementObj.$allTask[e].querySelector("a.u-btn").click();break}t += 1}), 3e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {let l = -1;ElementObj.$allTask.forEach((e, t) => {var n = e.querySelector(".playLine").innerText;100 != parseInt(n) && -1 == this.currentIndex && (this.currentIndex = t), e.classList.contains("couBg") && (l = t)}), -1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u89c6\u9891\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (this.currentIndex != l && ElementObj.$allTask[this.currentIndex].querySelector("a").click(), showTip("⚠️⚠️⚠️\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3500), setTimeout(() => {this._o1()}, 4500))})}getVideoDom() {return ElementObj.$handleSpeedUp.style.display = "none", new Promise(t => {let n = setInterval(() => {var e;ElementObj.$video = document.querySelector("video"), (ElementObj.$video || (e = document.querySelector("#c_frame").contentDocument, ElementObj.$video = e.querySelector("video"), ElementObj.$video)) && (clearInterval(n), t(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), yield this.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3500), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u68c0\u6d4b\u5230\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a\u89c6\u9891", 4500), yield sleep(3e3), "www.rcjxjy.com" == location.host ? document.querySelector("a.u-btn.normal").click() : location.reload()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator}, 1500)})})}}class shixuetong extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = document.querySelectorAll(".Nvideo-item li"), ElementObj.$allTask.length && (clearInterval(e), $el(".Nvideo-playbox").style.position = "relative", this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex = 0, showTip("⚠️⚠️⚠️\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3500), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video && ElementObj.$video.src && (clearInterval(n), e(1)), 10 < t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.timer), clearInterval(this.timer2);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3500), this.changeHtml($el(".video")), this.listenPageHide(), this.listenPlayTime(), this.listenRebort(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u68c0\u6d4b\u5230\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a\u89c6\u9891", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator}, 1500)})), 2 == e && (showTip("⚠️⚠️⚠️\u68c0\u6d4b\u5230\u5f53\u524d\u4e0d\u662f\u89c6\u9891,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a\u89c6\u9891", 4500), this.playNext())})}playNext() {return __awaiter(this, void 0, void 0, function* () {var e, t;yield sleep(2e3), this.currentIndex >= ElementObj.$allTask.length - 1 ? (e = document.querySelector("#courseStudyBestMinutesNumber").innerText, t = document.querySelector("#courseStudyMinutesNumber").innerText, parseFloat(e) > parseFloat(t) && location.reload()) : (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {var e = document.querySelector(".layui-layer-btn- a");null != e && e.click(), this._o1()}, 4500))})}listenPlayTime() {showTip("⚠️⚠️⚠️\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;this.timer = setInterval(() => __awaiter(this, void 0, void 0, function* () {n += 1;var e, t = (ElementObj.$video.currentTime / 60).toFixed(2);this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${t}\u5206\u949f`), n % 30 == 0 && (t = $el("#courseStudyBestMinutesNumber").innerText, null != (e = document.querySelector(".studyCourseTimeRefresh")) && e.click(), yield sleep(2e3), e = $el("#courseStudyMinutesNumber").innerText, this.addInfo(`✅✅✅\u672c\u8bfe\u7a0b\u6700\u957f\u53ef\u7d2f\u8ba1\u65f6\u95f4:${t}\u5206\u949f,\u60a8\u5df2\u6210\u529f\u5b66\u4e60${e}\u5206\u949f`, 0))}), 5e3)}listenRebort() {this.timer2 = setInterval(() => {var e, t = document.querySelector("#codespan");t && (clearInterval(this.timer2), e = document.querySelector("#code"), t = t.innerText, e.value = t, document.querySelector(".layui-layer-btn0").click(), this.listenRebort())}, 8e3)}}class shandongenhualvyou extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {var e = document.querySelector("#dashboard-toolbar-nav li");null != e && e.click();let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll("li.task-item"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex()), ElementObj.$handleSpeedUp.style.display = "none"} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (let e = 0; e < ElementObj.$allTask.length; e++) if (!ElementObj.$allTask[e].querySelector(".es-icon-iccheckcircleblack24px")) {this.currentIndex = e;break}showTip("⚠️⚠️⚠️\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3500), setTimeout(() => {this._o1()}, 4500)})}getVideoDom() {return new Promise(t => {let n = setInterval(() => {var e = document.querySelector("#task-content-iframe");e.contentDocument;ElementObj.$video = e.querySelector("video"), ElementObj.$video && (clearInterval(n), t(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.timer), yield this.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3500), ElementObj.$ctxstatsbox || this.changeHtml($el(".video")), this.listenPageHide(), this.listenPlayTime(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("⚠️⚠️⚠️\u68c0\u6d4b\u5230\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a\u89c6\u9891", 4500), yield sleep(3e3), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4500)})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator}, 1500)})})}listenPlayTime() {showTip("⚠️⚠️⚠️\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;this.timer = setInterval(() => __awaiter(this, void 0, void 0, function* () {n += 1;var e = (ElementObj.$video.currentTime / 60).toFixed(2),t = (ElementObj.$video.duration / 60).toFixed(2);this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f,\u89c6\u9891\u603b\u65f6\u957f\u4e3a` + t)}), 5e3)}}class gansugongwuyuan extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e, t, n = $el(".min_le_1 a");n ? (clearInterval(l), e = localStorage.getItem("mytoolkey"), MyTool.setValue("mytoolkey", e), n.click(), yield sleep(2e3), $el(".xuxi_1").click(), yield sleep(2e3), this.getParentIndex()) : (ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(l), t = MyTool.getValue("mytoolkey"), this.deleteDom(), this.handleClickSpeedUp2(t)), ElementObj.$handleSpeedUp.style.display = "none")} catch (e) {}}), 1e3)})}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {$el("a.my").click(), yield sleep(2e3);let e = Number($el("#pagenumtext").value);for (var t, n = [], l = e; 0 < l; l--) n.push(l);let i = !1;for (t of n) {if (i) break;yield sleep(1500), ElementObj.$allTask = document.querySelectorAll(".main_r_dd2");for (var o = 0; o <= ElementObj.$allTask.length - 1; o++) {var a = ElementObj.$allTask[o].querySelector(".hqjd_btn"),a = (a && (a.click(), yield sleep(2500)), ElementObj.$allTask[o].querySelector(".jindu div"));if (parseInt(a.style.width) < 100) {i = !0, MyTool.setValue("pageNum", t), MyTool.setValue("homeUrl", location.href);a = ElementObj.$allTask[o].querySelector("#playVideo");null != a && a.click(), setTimeout(() => {window.close()}, 1e4);break}--e;a = $el(".syy");null != a && a.click()}}})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer), yield this.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = MyTool.getValue("accelerator")}, 3500), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e = MyTool.getValue("homeUrl");MyTool.openInTab(e), setTimeout(() => {window.close()}, 1e4)})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => __awaiter(this, void 0, void 0, function* () {var e = document.querySelector("#dvMsgBtns input");null != e && e.click(), yield sleep(2e3), ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator}), 2500)})})}listenRebort() {this.listenRebortTime = setInterval(() => {document.querySelector("#dvMsgBtns input") && (this.deleteDom(), setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500))}, 3e3)}deleteDom() {var e = document.querySelector("body"), t = document.getElementById("dvMsgBox"),n = document.getElementById("ShowBolightBox"), l = document.createElement("div");l.innerHTML = "<div></div>", e.replaceChild(l, t), e.replaceChild(l, n)}handleClickSpeedUp2(t, e) {return __awaiter(this, void 0, void 0, function* () {var e;t ? (this.speedStatus = 1, 200 == (e = yield axfedata({method: "GET",url: _b + (`/speedup?toolkey=${t}&t=2&canuse=${toolOption.SchoolType}&h=${location.host}&fingerprint=${this.fingerprint}&v=` + version)})).code ? (this.speedStatus = 1, toolOption.CtxMain.play()) : showTip("🔉🔉🔉" + e.message, 5e3, !0)) : (alert("\u8bf7\u5148\u8d2d\u4e70key"), window.open(_bt))})}handleChangeCtxSpeed(e) {var t = speedArr, n = Number(e);e && t.includes(n) && (toolOption.accelerator = n, MyTool.setValue("accelerator", n.toString()), ElementObj.$video) && (ElementObj.$video.playbackRate = n)}}class wlmqcol extends Main {constructor() {super(), this.taskLength = 0, this.parentIndex = -1, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$handleSpeedUp.style.display = "none";var e = document.querySelector("#tab-second");e ? (clearInterval(t), e.click(), this.getCurrentIndex()) : document.querySelector("video") && (clearInterval(t), this.pdPlayFn(location.href))} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {yield sleep(1e3), ElementObj.$allTask = document.querySelectorAll(".task-list");for (var e, t = 0; t <= ElementObj.$allTask.length - 1; t++) if (!ElementObj.$allTask[t].querySelector(".icon-yiwancheng")) {this.currentIndex = t;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u64ad\u653e\u5b8c") : (null != (e = document.querySelectorAll(".task-list")[this.currentIndex].querySelector("span")) && e.click(), setTimeout(() => {this._o1()}, 3e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.timer), yield this.getVideoDom(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3500), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => __awaiter(this, void 0, void 0, function* () {ElementObj.$video.volume = 0, ElementObj.$video.play(), ElementObj.$video.playbackRate = toolOption.accelerator}), 2500)})})}playNext() {return __awaiter(this, void 0, void 0, function* () {var e = document.querySelectorAll(".el-breadcrumb__inner.is-link")[1];null != e && e.click(), setTimeout(() => {location.reload()}, 3500)})}}class shandongzhuanyejisu extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {document.querySelectorAll(".learn-menu-cell").length && (clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {var n;return __awaiter(this, void 0, void 0, function* () {showTip("\u6b63\u5728\u521d\u59cb\u5316");for (var e = document.querySelector(".contentIframe"), t = (ElementObj._document = e.contentWindow.document, "/learnspace/learn/learn/templateeight/index.action" == location.pathname ? ElementObj.$allTask = ElementObj._document.querySelectorAll(".s_sectionwrap .s_pointwrap .s_point") : ElementObj.$allTask = ElementObj._document.querySelectorAll(".s_pointwrap .s_point"), ElementObj.$handleSpeedUp.style.display = "none", 0); t <= ElementObj.$allTask.length - 1; t++) if (!ElementObj.$allTask[t].querySelector(".item_done_icon").classList.contains("done_icon_show")) {this.currentIndex = t;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c") : (null != (n = ElementObj.$allTask[this.currentIndex]) && n.click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), this._o1())})}getVideoDom() {return new Promise(t => {let n = 0, l = setInterval(() => {var e = ElementObj._document.querySelector("#mainFrame").contentWindow.document;ElementObj.$video = e.querySelector("video"), ElementObj.$video && (clearInterval(l), t(1)), 10 <= n && (clearInterval(l), t(2)), n++}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenRebort(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {ElementObj.$video.volume = 0, ElementObj.$video.play()})), 2 == e && (showTip("✅✅✅\u68c0\u6d4b\u5230\u8be5\u7ae0\u8282\u4e0d\u662f\u89c6\u9891,\u5373\u5c06\u5207\u6362\u4e0b\u4e00\u8282", 2e3), yield sleep(2e3), this.playNext())})}updateSpeedElement(e) {localStorage.setItem("_localSpeed", e.toString()), ElementObj.$video.playbackRate = e}listenRebort() {this.listenRebortTime = setInterval(() => {let e = document.querySelector(".layui-layer-btn0");e && setTimeout(() => {e.click(), ElementObj.$video.play()}, 3e3)}, 1e4)}playNext() {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c") : (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), showTip("🔉\u6b63\u5728\u5207\u6362\u8bfe\u7a0b"), setTimeout(() => {this._o1()}, 5e3))}}shandongzhuanyejisu.ctxid = 26;class zhijiaoyun2 extends Main {constructor() {super(), this.taskLength = 0, this.topIndex = 0, this.parentIndex = -1, this.currentIndex = -1, this.videoplaying = -1, this.authorization = null, this.classList = [], this.selectData = [], this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {document.querySelector(".r.rFu");"/study/coursePreview/spoccourseIndex/courseware" == location.pathname && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this._o1()), "/study/coursePreview/spoccourseIndex" == location.pathname && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", yield this.getCurrentIndex())}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {if (ElementObj.$allTask = document.querySelectorAll(".listItem"), ElementObj.$allTask.length) {clearInterval(l);let t = !1;for (var n of ElementObj.$allTask) {var e = n.querySelector(".el-progress-bar__inner").style.width;if (parseInt(e) < 99) {t = !0, n.click(), yield sleep(3e3), n.querySelector(".items.iChild").click(), yield sleep(3e3), setTimeout(() => {location.reload()}, 2e3);let e = n.querySelector(".fItem");(e = e || n.querySelector(".fIteml")).click();break}}t || (location.href = "https://zjy2.icve.com.cn/study/course")}}), 2e3)})}getVideoDom() {return new Promise(e => {let t = 7, n = setInterval(() => {t < 0 && (clearInterval(n), e(2)), ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : document.querySelectorAll(".el-carousel__item").length ? (clearInterval(n), e(2)) : --t}, 1e3)})}play() {var l;return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer);var e = yield this.getVideoDom();if (null != (l = document.querySelector(".el-message-box__btns button")) && l.click(), yield this.changeHtml(document.querySelector(".video")), 1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 2500), this.listenVidoeStatus(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {yield this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 3e3)})), 2 == e) {this.addInfo("🔊🔊🔊\u5373\u5c06\u5f00\u59cb\u64ad\u653e\u6587\u6863");var t, e = document.querySelectorAll(".el-carousel__item"),n = document.querySelector(".page>.next");for (t of e) n.click(), yield sleep(500);this.addInfo("🎉🎉🎉🎉🎉🎉\u6587\u6863\u64ad\u653e\u5b8c\u6210🎉🎉🎉🎉🎉🎉"), yield this.playNext()}})}playNext() {return __awaiter(this, void 0, void 0, function* () {var e = document.querySelector(".next>a");"\u6682\u65e0" == (null == e ? void 0 : e.innerText) ? (setTimeout(() => {location.reload()}, 2e3), document.querySelector(".location .r").click()) : (yield sleep(300), null != e && e.click(), setTimeout(() => {this._o1()}, 2500))})}listenVidoeStatus() {let e = 0;this.timer = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (this.addInfo(`🔉🔉🔉\u5df2\u6210\u529f\u76d1\u6d4b${e}\u6b21,\u7a0b\u5e8f\u540e\u53f0\u4ee5${toolOption.accelerator}\u500d\u901f\u6b63\u5e38\u5b66\u4e60\u4e2d`), e += 1)}, 3e3)}render(t) {var n = 1 == t ? this.classList : this.selectData;let l = "";for (let e = 0; e < n.length; e++) {var i = n[e];l += `<div class="item"><div class="content"><div class="name1">${i.courseInfoName}</div><div class="name2">\u73ed\u7ea7:${i.className}</div><div class="name2">\u5b66\u671f:${i.termName}</div><div class="name2">\u5b8c\u6210\u8fdb\u5ea6:${i.studySpeed}%</div></div><div class="item-controls"><button style='background: ${1 == t ? "#409eff" : "red"}'>${1 == t ? "\u9009\u62e9" : "\u79fb\u9664"}</button></div></div>`}var o = 1 == t ? document.querySelector(".leftPannel") : document.querySelector(".rightPannel");o.innerHTML = l;for (let e = 0; e < o.children.length; e++) o.children[e].querySelector("button").onclick = () => {1 == t ? this.moveDataToSelectData(e) : this.moveDataToClassList(e)}}moveDataToSelectData(e) {this.selectData.push(this.classList[e]), this.classList.splice(e, 1), this.handleTemplekeyData(), this.render(1), this.render(2)}moveDataToClassList(e) {this.classList.push(this.selectData[e]), this.selectData.splice(e, 1), this.handleTemplekeyData(), this.render(1), this.render(2)}handleTemplekeyData() {MyTool.setValue("selectData", this.selectData)}}class c####qingzhuanye extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let a = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e, t, n, l, i, o;try {ElementObj.$parentNodes = document.querySelectorAll(".course__list--content .course__item"), ElementObj.$parentNodes.length ? (clearInterval(a), this.getParentIndex()) : document.querySelector(".btn-next") && "/nms-frontend/index.html" == location.pathname ? (clearInterval(a), MyTool.setValue("homeUrl", location.href), this.getParentIndex2()) : (ElementObj.$allTask = document.querySelectorAll("ul li ul li .posCatalog_select"), ElementObj.$allTask.length && (clearInterval(a), this.getCurrentIndex()), (n = document.querySelector("#iframe_aliplayer")) ? (clearInterval(a), ElementObj.$video = null == (e = null == n ? void 0 : n.contentDocument) ? void 0 : e.querySelector("video"), this.handleClickSpeedUp2()) : (l = document.querySelector("#aliPlayerFrame")) && (ElementObj.$allTask = null == (t = l.contentDocument) ? void 0 : t.querySelectorAll(".section .section-item"), ElementObj.$allTask.length) ? (clearInterval(a), this.getCurrentIndex2()) : (i = document.querySelectorAll(".complete-status .btn-item")[2]) && (clearInterval(a), i.click(), yield sleep(1500), 0 === (o = document.querySelectorAll("#pane-MUST .text-item")).length ? alert("\u5168\u90e8\u516c\u9700\u8bfe\u5df2\u5b66\u5b8c") : (MyTool.setValue("homeUrl", location.href), o[0].click(), setTimeout(() => {window.close()}, 2e4))))} catch (e) {}}), 1e3)})}getParentIndex() {ElementObj.$parentNodes.forEach(e => {var t = e.querySelector("span.num");t && parseInt(t.innerText) <= 95 && (e.querySelector(".enter-btn").click(), setTimeout(() => {location.reload()}, 3e3))})}getParentIndex2() {return __awaiter(this, void 0, void 0, function* () {document.querySelectorAll(".btn-box .btn-item")[2].click(), yield sleep(3500), document.querySelectorAll("#pane-MUST .text-item")[0].click()})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u6b63\u5728\u521d\u59cb\u5316"), ElementObj.$handleSpeedUp.style.display = "none";for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (!ElementObj.$allTask[e].querySelector(".icon_Completed")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c") : (ElementObj.$allTask[this.currentIndex].querySelector(".posCatalog_name").click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), this._o1())})}getCurrentIndex2() {return __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u6b63\u5728\u521d\u59cb\u5316"), ElementObj.$handleSpeedUp.style.display = "none";for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (!ElementObj.$allTask[e].classList.contains("finish")) {this.currentIndex = e;break}-1 == this.currentIndex && (location.href = MyTool.getValue("homeUrl")), ElementObj.$allTask[e].click(), showTip("✅✅✅\u5b8c\u6210\u521d\u59cb\u5316,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), setTimeout(() => {this.handleClickSpeedUp2(() => {}, 3)}, 4500)})}getVideoDom(e) {return new Promise(l => {if (e) {let t = 0, n = setInterval(() => {var e = document.querySelector("#aliPlayerFrame").contentDocument;ElementObj.$video = e.querySelector("video"), t += 1, ElementObj.$video && (clearInterval(n), l(!0)), 10 < t && (clearInterval(n), l(!1))}, 1e3)} else {let t = 0, n = setInterval(() => {var e = null == (e = null == (e = document.querySelector("#iframe").contentDocument) ? void 0 : e.querySelector("iframe")) ? void 0 : e.contentDocument;ElementObj.$video = e.querySelector("video"), t += 1, ElementObj.$video && (clearInterval(n), l(!0)), 10 < t && (clearInterval(n), l(!1))}, 1e3)}})}play() {var n;return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer);var e, t = yield this.getVideoDom();t && (ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), e = null == (n = $el("#iframe").contentDocument.querySelector("iframe")) ? void 0 : n.contentDocument.querySelector("#reader"), this.changeHtml(e), this.listenPageHide(), this.listenPlayTime(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {ElementObj.$video.volume = 0, ElementObj.$video.play()})), t || (showTip("⚠️⚠️⚠️\u672a\u68c0\u6d4b\u5230\u89c6\u9891,5\u79d2\u540e\u5207\u6362\u4e0b\u4e00\u8282", 4500), setTimeout(() => {this.playNext()}, 3e3))})}play2() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$video ? (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e = MyTool.getValue("homeUrl");yield sleep(2500), MyTool.openInTab(e), setTimeout(() => {window.close()}, 5e3)}))) : location.reload()})}play3() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer);yield this.getVideoDom("#aliPlayerFrame");ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (e = MyTool.getValue("homeUrl"), yield sleep(2500), MyTool.openInTab(e), setTimeout(() => {window.close()}, 15e3)) : (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), showTip("⚠️⚠️⚠️\u6b63\u5728\u5207\u6362\u8bfe\u7a0b", 4500), setTimeout(() => {this.handleClickSpeedUp2(() => {}, 3)}, 4500))})), ElementObj.$video.addEventListener("pause", () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebortTime = setInterval(() => {var e = null == (e = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument) ? void 0 : e.querySelector(".next-button");e && e.click()}, 13e3)})}playNext() {return __awaiter(this, void 0, void 0, function* () {yield sleep(3e3), this.currentIndex >= ElementObj.$allTask.length - 1 ? location.href = MyTool.getValue("homeUrl") : (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].querySelector(".posCatalog_name").click(), showTip("⚠️⚠️⚠️\u6b63\u5728\u5207\u6362\u8bfe\u7a0b", 4500), setTimeout(() => {this._o1()}, 5e3))})}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;this.timer = setInterval(() => {n += 1;var e = (ElementObj.$video.currentTime / 60).toFixed(2),t = (ElementObj.$video.duration / 60).toFixed(2),e = (this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t}\u5206\u949f`), document.querySelector("#iframe")),e = null == (t = e.contentDocument) ? void 0 : t.querySelector(".ans-job-icon");"\u4efb\u52a1\u70b9\u5df2\u5b8c\u6210" == (null == e ? void 0 : e.getAttribute("aria-label")) && (clearInterval(this.timer), this.addInfo("✅✅✅\u76d1\u6d4b\u5230\u5f53\u524d\u4efb\u52a1\u5df2\u5b8c\u6210,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u8282", 1), setTimeout(() => {this.playNext()}, 3e3))}, 3e3)}addInfo(e, t) {ElementObj.$ctxstatsbox = null == (n = $el("#iframe").contentDocument.querySelector("iframe")) ? void 0 : n.contentDocument.querySelector(".ctxstatsbox");var n = null == (n = $el("#iframe").contentDocument.querySelector("iframe")) ? void 0 : n.contentDocument.querySelectorAll(".ctxstatsbox_li"),n = (15 <= n.length && (ElementObj.$ctxstatsbox.innerHTML = ""), `<li class="ctxstatsbox_li" style="color: ${0 == t ? "#f01414" : "#000"};line-height: 30px;font-size: 16px;list-style: none;">${e}</li>`);ElementObj.$ctxstatsbox.innerHTML += n}handleClickSpeedUp2(e, t) {return __awaiter(this, void 0, void 0, function* () {var e = localStorage.getItem("mytoolkey");e ? (this.speedStatus = 1, 200 == (e = yield axfedata({method: "GET",url: _b + (`/speedup?toolkey=${e}&t=2&canuse=${toolOption.SchoolType}&h=${location.host}&fingerprint=${this.fingerprint}&v=` + version)})).code ? (this.speedStatus = 1, 3 == t ? this.play3() : this.play2()) : showTip("🔉🔉🔉" + e.message, 5e3, !0)) : (alert("\u8bf7\u5148\u8d2d\u4e70key"), window.open(_bt))})}}c####qingzhuanye.ctxid = 26;class jiaoyuganbuwang extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = document.querySelectorAll(".customcur-tabs-wrapper li")[1];e ? (clearInterval(t), e.click(), this.getParentIndex()) : (ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), this.getCurrentIndex()))} catch (e) {}}), 1e3)})}getParentIndex() {var t;return __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u6b63\u5728\u521d\u59cb\u5316", 3e3), ElementObj.$handleSpeedUp.style.display = "none", yield sleep(3e3), GM_setValue("homeUrl", location.href), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), yield sleep(3e3);var e = document.querySelectorAll("tr")[2].lastChild;null != (t = e.querySelector("a")) && t.click(), this._o1(), setTimeout(() => {window.close()}, 5e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask = document.querySelectorAll(".cvtb-MCK-course-content"), yield sleep(100);for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) {var t = ElementObj.$allTask[e].querySelector(".cvtb-MCK-CsCt-studyProgress");if (100 != parseInt(t.innerText)) {this.currentIndex = e;break}}ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 3e3)})}play() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none", clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer);yield this.getVideoDom();ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenRebort(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {ElementObj.$video.volume = 0, ElementObj.$video.play()})})}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;yield sleep(2e3), this.currentIndex >= ElementObj.$allTask.length - 1 ? (e = GM_getValue("homeUrl", null), GM_openInTab(e, {active: !0}), setTimeout(() => {window.close()}, 3e3)) : (this.currentIndex += 1, setTimeout(() => {this._o1()}, 5e3))})}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;this.timer = setInterval(() => {n += 1;var e = ElementObj.$allTask[this.currentIndex].querySelector(".cvtb-MCK-CsCt-studyProgress"),e = parseInt(e.innerText), t = (ElementObj.$video.duration / 60).toFixed(2);this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5f53\u524d\u64ad\u653e\u8fdb\u5ea6\u4e3a${e}%,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t}\u5206\u949f`), 100 == e && (clearInterval(this.timer), this.addInfo("✅✅✅\u76d1\u6d4b\u5230\u5f53\u524d\u4efb\u52a1\u5df2\u5b8c\u6210,5\u79d2\u540e\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u8282", 1), setTimeout(() => {this.playNext()}, 3e3))}, 3e3)}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".dialog-button-container button");e && e.click()}, 1e4)}}jiaoyuganbuwang.ctxid = 26;class zaixianxuexi extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = document.querySelector("#jAlertButton2");e ? (clearInterval(t), e.click(), yield sleep(2e3), ElementObj.$handleSpeedUp.style.display = "none", this._o1()) : (ElementObj.$allTask = document.querySelectorAll(".videoList li"), ElementObj.$allTask.length && (clearInterval(t), this.getCurrentIndex()))} catch (e) {}}), 1e3)})}getCurrentIndex() {var t;return __awaiter(this, void 0, void 0, function* () {showTip("\u6b63\u5728\u521d\u59cb\u5316"), ElementObj.$handleSpeedUp.style.display = "none";for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if ("【\u5df2\u5b8c\u6210】" != ElementObj.$allTask[e].querySelector(".overTitle").innerText) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u5df2\u5168\u90e8\u5b66\u5b8c") : (null != (t = ElementObj.$allTask[this.currentIndex]) && t.click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e"), this._o1())})}getVideoDom() {return new Promise(e => {let t = setInterval(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), e(!0))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), yield this.getVideoDom(), ElementObj.$video.volume = 0, yield sleep(200), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.getCurrentIndex()})), ElementObj.$video.addEventListener("pause", () => {ElementObj.$video.volume = 0, ElementObj.$video.play()})})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}}zaixianxuexi.ctxid = 26;class guojiakaifangdaxue extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll("li[id]"), "xczxzdbf.moodle.qwbx.ouchn.cn" == location.host && ElementObj.$allTask.length ? (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this.getCurrentIndex()) : (document.querySelector("button.next-btn") || document.querySelector(".newgk-prenext.newgk-next")) && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), showTip("♥♥♥\u521d\u59cb\u5316\u5b8c\u6210"), this.pdPlayFn(location.href))} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("current")) {this.currentIndex = e;break}showTip("♥♥♥\u521d\u59cb\u5316\u5b8c\u6210"), this.pdPlayFn(location.href)})}getVideoDom() {return new Promise(t => {let n = 0, l = setInterval(() => {var e;n += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video || (e = document.querySelector("#previewContentInIframe"), ElementObj.$video = null == (e = null == e ? void 0 : e.contentDocument) ? void 0 : e.querySelector("video"), ElementObj.$video) ? (clearInterval(l), t(1)) : 7 <= n && (clearInterval(l), t(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e, t = yield this.getVideoDom();1 == t && (ElementObj.$video.volume = 0, yield sleep(200), (e = document.querySelector(".mvp-toggle-play")) ? e.click() : ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), yield sleep(4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {var e = document.querySelector(".mvp-toggle-play");ElementObj.$video.volume = 0, null != e && e.click(), ElementObj.$video.play()}, 1500)})), 2 == t && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}playNext() {this.currentIndex += 1;let e = document.querySelector("button.next-btn");"xczxzdbf.moodle.qwbx.ouchn.cn" == location.host ? (e = ElementObj.$allTask[this.currentIndex].querySelector(".aalink"), this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (null !== e && void 0 !== e && e.click(), setTimeout(() => {this.pdPlayFn(location.href)}, 5e3))) : "moodle.syxy.ouchn.cn" == location.host ? (e = document.querySelector(".newgk-prenext.newgk-next")) && (e.click(), setTimeout(() => {this.pdPlayFn(location.href)}, 5e3)) : (e = document.querySelector("button.next-btn")) && (e.click(), setTimeout(() => {this.pdPlayFn(location.href)}, 5e3))}}guojiakaifangdaxue.ctxid = 26;class jjjxjy extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {if ("hunau.web2.superchutou.com" == location.host) {let t = setInterval(() => {var e;ElementObj.$handleSpeedUp.style.display = "none", "https://hunau.web2.superchutou.com/#/" == location.href && (clearInterval(t), setTimeout(() => {this._init()}, 5e3), location.href = MyTool.getValue("homeUrl")), -1 != location.href.indexOf("/#/onlineclass/curriculum") && (e = document.querySelector(".ant-row.catalog_child_line")) && (clearInterval(t), MyTool.setValue("homeUrl", location.href), setTimeout(() => {this._init()}, 5e3), e.click()), ElementObj.$allTask = document.querySelectorAll(".ant-list-items div a"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), this.getCurrentIndex())}, 1e3)} else {window.addEventListener("urlchange", e => {setTimeout(() => {ElementObj.$allTask = document.querySelectorAll(".ant-list-items div a"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), this.getCurrentIndex());var e = document.querySelector(".ant-row.catalog_child_line");e && (clearInterval(t), null != e) && e.click(), "https://jjxy.web2.superchutou.com/#/" == location.href && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), this.getParentIndex())}, 5e3)});let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".ant-list-items div a"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), this.getCurrentIndex());var e = document.querySelector(".ant-row.catalog_child_line");e && (clearInterval(t), setTimeout(() => {this._init()}, 5e3), null != e) && e.click(), "https://jjxy.web2.superchutou.com/#/" == location.href && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), this.getParentIndex())} catch (e) {}}), 1e3)}})}getParentIndex() {for (var e = $el(".ant-table-tbody").querySelectorAll(".ant-table-tbody tr"), t = 0; t <= e.length - 1; t++) {var n = e[t].querySelector(".ant-progress-bg");if (parseInt(n.style.width) < 99) {setTimeout(() => {this._init()}, 5e3), e[t].querySelector(".anticon-play-circle").click();break}}}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {let e = -1;for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) if (ElementObj.$allTask[t].classList.contains("catalog_playing___3PDRN")) {e = t;break}for (t = 0; t <= ElementObj.$allTask.length - 1; t++) if (!ElementObj.$allTask[t].querySelector("i.anticon-check-circle")) {this.currentIndex = t;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (e != this.currentIndex && ElementObj.$allTask[this.currentIndex].click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this.pdPlayFn(location.href)}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer2), clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e, t = yield this.getVideoDom();1 == t && (ElementObj.$video.volume = 0, yield sleep(200), (e = document.querySelector(".mvp-toggle-play")) ? e.click() : ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == t && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".ant-modal-body button"),t = document.querySelector(".ant-btn.ant-btn-primary");null != e && e.click(), null != t && t.click()}, 1e3)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(4500), this.currentIndex += 1, (e = ElementObj.$allTask[this.currentIndex]) && (e.click(), setTimeout(() => {this._o1()}, 4e3)))})}}jjjxjy.ctxid = 26;class hebeiganbu extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let o = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e;try {if (ElementObj.$parentNodes = document.querySelectorAll(".hoz_course_row"), ElementObj.$parentNodes.length) {clearInterval(o);for (var t of ElementObj.$parentNodes) {var n = null == (e = t.querySelector(".h_pro_percent")) ? void 0 : e.innerText;if (parseFloat(n) < 100) {setTimeout(() => {window.close()}, 45e3), MyTool.setValue("homeUrl", location.href), t.querySelector("input").click();break}}}var l, i = document.querySelector(".user_choise");i && i.click(), "/student/class_detail_course.do" == location.pathname && (l = document.querySelector(".hoz_course_row input")) && (clearInterval(o), setTimeout(() => {window.close()}, 45e3), MyTool.setValue("homeUrl", location.href), l.click()), "/portal/study_play.do" == location.pathname && (ElementObj.$video = document.querySelector("video"), ElementObj.$video) && (clearInterval(o), this._o1())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e, t = yield this.getVideoDom();1 == t && (setTimeout(() => {ElementObj.$video = document.querySelector("video"), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), ElementObj.$handleSpeedUp.style.background = "#f01414", ElementObj.$handleSpeedUp.innerText = "\u52a0\u901f\u6210\u529f", ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})}, 4500), null != (e = document.querySelector(".user_choise"))) && e.click(), 2 == t && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}playNext() {return __awaiter(this, void 0, void 0, function* () {yield sleep(2500), location.href = MyTool.getValue("homeUrl")})}}class zhuzhouteacher extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = document.querySelectorAll(".antd-pro-pages-my-center-my-center-menuItem")[2];e ? (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), e.click(), yield sleep(1e3), this.getCurrentIndex()) : (ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", this._o1()))} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {yield sleep(2500), ElementObj.$allTask = document.querySelectorAll(".antd-pro-pages-my-center-course-learning-courseWrap>.ant-row");for (var e, t = 0; t <= ElementObj.$allTask.length - 1; t++) {var n = ElementObj.$allTask[t].querySelector(".ant-progress-text").innerHTML;if (parseInt(n) < 99) {this.currentIndex = t;break}}-1 != this.currentIndex ? (ElementObj.$allTask[this.currentIndex].querySelector(".ant-btn.ant-btn-primary").click(), setTimeout(() => {}, 15e3)) : (e = document.querySelector(".ant-pagination-next")).classList.contains("ant-pagination-disabled") ? alert("\u5168\u90e8\u8bfe\u7a0b\u5df2\u5b66\u5b8c") : (e.click(), this.getCurrentIndex())})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}playNext() {return __awaiter(this, void 0, void 0, function* () {MyTool.openInTab("http://www.zhuzhouteacher.com/teacheredu/main/mycenter/course-learning"), setTimeout(() => {window.close()}, 5e3)})}}zhuzhouteacher.ctxid = 60;class yinghuaxuetang extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".detmain .list .item a "), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("on")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e, t, n = yield this.getVideoDom();1 == n && (e = document.querySelector(".promptchmqylqsxtfb"), t = document.querySelector(".mutechtkfjgkqelf"), e && e.click(), t && t.click(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == n && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}playNext() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}}yinghuaxuetang.ctxid = 60;class shanghaikaifangdx extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".cell_info1 a"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("active")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}}shanghaikaifangdx.ctxid = 60;class gzgbjy extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".tab-content-desc"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("desc-item-sel")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}}gzgbjy.ctxid = 60;class guizhoujianshezyjs extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".catalog div>a"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("cur")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e, t = yield this.getVideoDom();1 == t && (ElementObj.$video.volume = 0, (e = document.querySelector(".vplay")).classList.contains("vmPause") || e.click(), ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == t && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}}guizhoujianshezyjs.ctxid = 60;class jixujiaoyuzaixian extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".video-list-item-span"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (-1 == ElementObj.$allTask[e].innerText.indexOf("\u5df2\u5b66\u5b8c")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".el-message-box__btns .el-button--primary");null != e && e.click()}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}}jixujiaoyuzaixian.ctxid = 60;class gzteacher extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = document.querySelectorAll(".collapseactivityName2"),t = document.querySelectorAll(".resource-list .res-item");ElementObj.$allTask = e.length ? e : t, ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(n), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) {var t = ElementObj.$allTask[e];if (t.classList.contains("isActive") || t.classList.contains("active")) {this.currentIndex = e;break}}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e, t = document.querySelector(".ant-modal-root");t && null != (e = t.parentNode) && e.removeChild(t)}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {if (this.currentIndex += 1, "gdipx.yanxiu.com" == location.host) {yield sleep(3e3);var e = document.querySelector(".btns .next");if (!e) return void alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c");e.click()} else {if (this.currentIndex >= ElementObj.$allTask.length - 1) return void alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c");yield sleep(2500);e = document.querySelectorAll(".ant-modal-body button")[2], e = (null != e && e.click(), document.querySelectorAll(".studycontentBottom button")[2]);null != e && e.click()}setTimeout(() => {this._o1()}, 4e3)})}}gzteacher.ctxid = 60;class moocxinyingzao extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll("#pane-category .resource-list-item"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) {var t = ElementObj.$allTask[e].querySelector(".resource-action span").innerText;if (!["\u5df2\u5b8c\u6210", "\u6b63\u5728\u5b66"].includes(t)) {this.currentIndex = e;break}}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (ElementObj.$allTask[this.currentIndex].click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, document.querySelector("iframe") ? (clearInterval(n), e(2)) : (ElementObj.$video = document.querySelectorAll("video")[0], ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2)))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e, t = document.querySelector(".ant-modal-root");t && null != (e = t.parentNode) && e.removeChild(t)}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {this.getCurrentIndex()})}}moocxinyingzao.ctxid = 60;class zhejiangzjelib extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = document.querySelector("#iframepage").contentDocument.querySelectorAll(".ncells");for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (!ElementObj.$allTask[e].querySelector(".roundpointStudent.blue")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (ElementObj.$allTask[this.currentIndex].querySelector("a").click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this.spanKeyCount()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("#iframepage").contentDocument.querySelector("#iframe").contentDocument.querySelector("iframe").contentDocument.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}_o1(e) {return __awaiter(this, void 0, void 0, function* () {this.getCurrentIndex()})}spanKeyCount() {return __awaiter(this, void 0, void 0, function* () {var e = localStorage.getItem("mytoolkey");e ? 200 == (e = yield axfedata({method: "GET",url: _b + (`/speedup?toolkey=${e}&t=2&canuse=${toolOption.SchoolType}&h=${location.host}&fingerprint=${this.fingerprint}&v=` + version)})).code ? this.play() : showTip("🔉🔉🔉" + e.message, 5e3, !0) : (alert("\u8bf7\u5148\u8d2d\u4e70key"), window.open(_bt))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {document.querySelector("#iframepage").contentDocument.querySelector(".ncells .currents").querySelector(".roundpointStudent.blue") && this.playNext()}, 1e4)}playNext() {var t;return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (this.currentIndex += 1, null != (e = document.querySelector("#iframepage").contentDocument.querySelector(".orientationright ")) && e.click(), e = document.querySelector("#iframepage").contentDocument, yield sleep(2e3), null != (t = e.querySelector(".wconter a")) && t.click(), setTimeout(() => {this.spanKeyCount()}, 4e3))})}}zhejiangzjelib.ctxid = 60;class dongbeishifandaxue extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".course-list-con .ovd"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("cur")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e, t = document.querySelector(".ant-modal-root");t && null != (e = t.parentNode) && e.removeChild(t)}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, null != (e = ElementObj.$allTask[this.currentIndex].querySelector("a")) && e.click(), setTimeout(() => {this._o1()}, 6e3))})}}dongbeishifandaxue.ctxid = 60;class qzjystudy extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e;ElementObj.$allTask = document.querySelectorAll(".videoList .item"), ElementObj.$allTask.length ? (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), this.getCurrentIndex()) : (e = document.querySelector("iframe")) ? (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), location.href = e.src) : (ElementObj.$allTask = document.querySelectorAll(".videoList .item"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(t), this.getCurrentIndex()))} catch (e) {}}), 1e3)})}getCurrentIndex() {var l;return __awaiter(this, void 0, void 0, function* () {for (var t = 0; t <= ElementObj.$allTask.length - 1; t++) {var n = ElementObj.$allTask[t];let e;if (e = ["jnrcpx.qzjystudy.com", "jnzjstu.qzjystudy.com"].includes(location.host) ? (e = (null == (l = n.querySelector(".text")) ? void 0 : l.nextSibling).innerText).match(/\((.+)\)/)[1] : n.querySelectorAll("span")[1].innerText, parseInt(e) < 99) {this.currentIndex = t;break}}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (ElementObj.$allTask[this.currentIndex].click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e, t = document.querySelector(".ant-modal-root");t && null != (e = t.parentNode) && e.removeChild(t)}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, null != (e = ElementObj.$allTask[this.currentIndex]) && e.click(), setTimeout(() => {this._o1()}, 6e3))})}}qzjystudy.ctxid = 60;class GlivePro extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let n = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {var e = document.querySelectorAll(".animated .syllabus-tree-node-title"),t = document.querySelectorAll(".aside-node-child-inner .aside-node-child-inner li");(e.length || t.length) && (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$allTask = e.length ? e : t, clearInterval(n), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e, t = 0; t <= ElementObj.$allTask.length - 1; t++) {var n = ElementObj.$allTask[t];if ("cloud.gaodun.com" == location.host) {if (!n.querySelector("i").classList.contains("aside-resource-progress2")) {this.currentIndex = t;break}} else if (n.classList.contains("is-active")) {this.currentIndex = t;break}}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : ("cloud.gaodun.com" == location.host && null != (e = ElementObj.$allTask[this.currentIndex]) && e.click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {parseInt(ElementObj.$video.duration) <= Math.ceil(ElementObj.$video.currentTime) && (showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext())}, 3e3)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), "cloud.gaodun.com" == location.host ? location.reload() : (this.currentIndex += 1, null != (e = ElementObj.$allTask[this.currentIndex]) && e.click(), setTimeout(() => {this._o1()}, 4500)))})}}GlivePro.ctxid = 60;class gaodengxueli extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".course-list-txt dd i"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("fa-youtube-play")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (ElementObj.$allTask[this.currentIndex].parentElement.click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e, t = document.querySelector(".ant-modal-root");t && null != (e = t.parentNode) && e.removeChild(t)}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, null != (e = ElementObj.$allTask[this.currentIndex].parentElement) && e.click(), setTimeout(() => {this._o1()}, 6e3))})}}gaodengxueli.ctxid = 60;class henanzhuanjizaixian extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this.timer = null, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".videoLi"), ElementObj.$allTask.length && (clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("active")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 5e3), setTimeout(() => {this._o1()}, 5500))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video.pv-video"), ElementObj.$video ? (clearInterval(n), e(1)) : (ElementObj.$canvas = document.querySelector("#bplayer-ffplayer"), ElementObj.$canvas ? (clearInterval(n), e(3)) : 7 <= t && (clearInterval(n), e(2)))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer), ElementObj.$allTask[this.currentIndex].click();var e, t = yield this.getVideoDom();1 == t && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenRebort(), this.listenPlayTime(1)), 3 == t && ("0" == (e = document.querySelector(".bplayer-volume-control")).getAttribute("data-show") && e.querySelector(".icon").click(), yield sleep(3e3), "stop" != (e = document.querySelector(".pv-iconfont") || document.querySelector(".bplayer-play-btn")).querySelector("svg").id && e.click(), this.listenPlayTime(3)), 1 != t && 3 != t || (e = document.querySelector(".live.left"), this.changeHtml(e)), 2 == t && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}play2() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer);yield this.getVideoDom();var e = document.querySelector("button.pv-volumebtn");e.classList.contains("pv-icon-volumenone") || e.click(), yield sleep(500), document.querySelector(".pv-iconfont").click(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()}))})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}listenPlayTime(l) {this.timer = setInterval(() => {var n = ElementObj.$allTask[this.currentIndex].querySelector(".progress-bar").style.width;if (99 <= parseInt(n)) showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext(); else {let e, t;if (1 == l && (e = document.querySelector(".pv-time-current").innerText, t = document.querySelector(".pv-time-duration").innerText), 3 == l) {n = document.querySelector(".played-time");if (!n) return void this.play2();e = n.innerText, t = document.querySelector(".total-time").innerText}this.addInfo(`🔊🔊🔊\u76d1\u6d4b\u5230\u89c6\u9891\u6b63\u5728\u5b66\u4e60\u4e2d,\u5df2\u6210\u529f\u5b66\u4e60${e},\u9700\u5b66\u4e60` + t), t == e && (showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext())}}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), setTimeout(() => {location.reload()}, 3e3), this.currentIndex += 1, null != (e = ElementObj.$allTask[this.currentIndex]) && e.click())})}}henanzhuanjizaixian.ctxid = 60;class hunannmdxs extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {document.querySelector(".pull-right>a") && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this._o1())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("fa-youtube-play")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (ElementObj.$allTask[this.currentIndex].parentElement.click(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$sigleBtn = document.querySelector(".forumaddnew form button.btn.btn-secondary"), ElementObj.$sigleBtn ? (clearInterval(n), e(3)) : (ElementObj.$video = document.querySelectorAll("video")[0], ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2)))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 3 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext()), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e, t = document.querySelector(".ant-modal-root");t && null != (e = t.parentNode) && e.removeChild(t)}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e = document.querySelector(".pull-right>a");e ? (yield sleep(2500), null != e && e.click(), setTimeout(() => {this._o1()}, 5e3)) : alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c")})}}hunannmdxs.ctxid = 60;class bainianshuren extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this.swiperIndex = 0, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$parentNodes = document.querySelectorAll(".project-course li"), ElementObj.$parentNodes.length ? (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this.getParentIndex()) : (ElementObj.$allTask = document.querySelectorAll(".el-tree-node"), ElementObj.$allTask.length && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this.getCurrentIndex()))} catch (e) {}}), 1e3)})}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$parentNodes.length - 1; e++) {var t = ElementObj.$parentNodes[e], n = t.querySelector(".project-courseTitle span").innerText;if ("\u5b66\u4e60\u4e2d" == n || "\u672a\u5b66\u4e60" == n) {MyTool.setValue("homeUrl", location.href), t.querySelector("span.project-courseButton").click();break}}})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {yield sleep(2500);for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if ("\u5df2\u5b66\u4e60" != ElementObj.$allTask[e].querySelector("i").title.trim()) {this.currentIndex = e;break}-1 == this.currentIndex ? (location.href = "https://v3.dconline.net.cn/student.html#/project/index?project_id=13844", setTimeout(() => {location.reload()}, 3e3)) : (ElementObj.$allTask[e].querySelector(".nav_menu").click(), yield sleep(2500), 1 == (yield this.getSwiperItem()) ? this.getSwiperIndex() : this._o1(), showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3))})}getSwiperIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$swiperItem.length - 1; e++) if ("\u5df2\u5b66\u4e60" != ElementObj.$swiperItem[e].querySelector(".video-status").innerText.trim()) {this.swiperIndex = e;break}ElementObj.$swiperItem[this.swiperIndex].querySelector("i.el-icon-video-play").click(), yield sleep(2500);var t = document.querySelector(".el-message-box__btns .el-button--primary");null != t && t.click(), setTimeout(() => {this._o1()}, 4e3)})}getSwiperItem() {return __awaiter(this, void 0, void 0, function* () {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$swiperItem = document.querySelectorAll(".public-articleSlideList"), ElementObj.$swiperItem.length ? (clearInterval(n), e(1)) : 3 <= t && (clearInterval(n), e(2))}, 1e3)})})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelector("video"), ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e, t = yield this.getVideoDom();1 == t && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = 1}, 3e3), e = document.querySelector("#video"), this.changeHtml(e), this.listenPlayTime(), this.listenRebort(), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 1500)})), 2 == t && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}playNext() {return __awaiter(this, void 0, void 0, function* () {var e;this.currentIndex >= ElementObj.$allTask.length - 1 ? (e = MyTool.getValue("homeUrl"), location.href = e, setTimeout(() => {location.reload()}, 3e3)) : (setTimeout(() => {location.reload()}, 3e3), setTimeout(() => {this._o1()}, 4e3))})}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".el-dialog__body");e && (e.style.display = "none")}, 3e3)}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;this.timer = setInterval(() => {n += 1;var e = (ElementObj.$video.currentTime / 60).toFixed(2),t = (ElementObj.$video.duration / 60).toFixed(2);this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t}\u5206\u949f`)}, 3e3)}}bainianshuren.ctxid = 60;class dyyxlearning extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".course-list ul ul .videoLi"), ElementObj.$allTask.length && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(e), this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("active")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}getVideoDom() {return new Promise(e => {let t = 0, n = setInterval(() => {t += 1, ElementObj.$video = document.querySelectorAll("video")[1], ElementObj.$video ? (clearInterval(n), e(1)) : 7 <= t && (clearInterval(n), e(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom(), t = location.href.match("myClassId=(.+)")[1],n = (yield this.getClassList(t)).attribute.data.myClassCourseRPList[0].videoRPs[this.currentIndex],n = `videoId=${n.videoId}&isUse=1&startSecond=&myClassCourseVideoId=` + n.myClassCourseVideoId,t = yield this.getVideoTopic(t, n);1 == e && (ElementObj.$video.volume = 0, (n = document.querySelector(".ccToggleBtn")).classList.contains("ccH5TogglePause") || n.click(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenRebort(t.attribute.data), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0;var e = document.querySelector(".ccToggleBtn");e.classList.contains("ccH5TogglePause") || e.click()}, 3500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort(o) {this.listenRebortTime = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e = document.querySelector("#ccJumpOver"), t = document.querySelector(".pv-ask-modal-wrap");if (e || t) {let t = document.querySelector(".###roblem .text").innerText;var l = o.find(e => e.videoQuestionEntitySet[0].questionName == t);let n = -1;for (let e = 0; e <= l.videoQuestionEntitySet[0].videoAnswerEntitySet.length - 1; e++) {var i = l.videoQuestionEntitySet[0].videoAnswerEntitySet[e];-1 != l.videoQuestionEntitySet[0].standardId.indexOf(i.videoAnswerId) && (n = e)}-1 == n && location.reload(), null != (e = document.querySelectorAll(".ccQuestionList li")[n]) && e.click(), document.querySelector("#ccQuestionSubmit").click(), setTimeout(() => {document.querySelector("#rightBtn").click()}, 2e3)}}), 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 4e3))})}getVideoTopic(e, n) {return __awaiter(this, void 0, void 0, function* () {return new Promise(t => {fetch("https://sddy.zyk.yxlearning.com/train/cms/study/query-video-random-popup-list.gson?" + n, {headers: {accept: "*/*","accept-language": "zh-CN,zh;q=0.9",accountid: "33f3dd30-1e79-420b-9fe6-bf298fa1d550","sec-ch-ua": '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"},referrer: "https://sddy.zyk.yxlearning.com/learning/index?myClassId=" + e,referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})})}getClassList(e) {return __awaiter(this, void 0, void 0, function* () {return new Promise(t => {fetch("https://sddy.zyk.yxlearning.com/train/class/my-class.gson?myClassId=" + e, {headers: {accept: "*/*","accept-language": "zh-CN,zh;q=0.9","sec-ch-ua": '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"},referrer: "https://sddy.zyk.yxlearning.com/learning/index?myClassId=" + e,referrerPolicy: "strict-origin-when-cross-origin",body: null,method: "GET",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))})})}}class hebeijiaoshijiaoyuwang extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let a = setInterval(() => __awaiter(this, void 0, void 0, function* () {var e, t;try {if ("/MyCourse/MyEventList" == location.pathname && (ElementObj.$parentNodes = document.querySelectorAll("#mainList dd ul li"), 0 < ElementObj.$parentNodes.length)) {clearInterval(a), ElementObj.$handleSpeedUp.style.display = "none";for (var n of ElementObj.$parentNodes) if ("[\u5df2\u5b8c\u6210]" != n.querySelector("i").innerText) {MyTool.setValue("homeUrl", location.href), n.querySelector("a").click();break}}if ("/Event/MyjoinEvent" == location.pathname && (ElementObj.$parentNodes = document.querySelectorAll("tr[class]"), 0 < ElementObj.$parentNodes.length) && (clearInterval(a), ElementObj.$handleSpeedUp.style.display = "none", 0 < ElementObj.$parentNodes.length)) for (var l of ElementObj.$parentNodes) {var i = l.querySelectorAll("td")[2].querySelector("span").innerText.trim();if ("\u5df2\u5b66\u5b8c" != i && "\u5df2\u5b8c\u6210" != i) {l.querySelector("a").click();break}}if ("/Event/CourseWare" == location.pathname && (ElementObj.$parentNodes = document.querySelectorAll("tr[class]"), 0 < ElementObj.$parentNodes.length) && (clearInterval(a), ElementObj.$handleSpeedUp.style.display = "none", 0 < ElementObj.$parentNodes.length)) for (var o of ElementObj.$parentNodes) if ("\u5df2\u5b66\u5b8c" != o.querySelectorAll("td")[2].querySelector("span").innerText.trim()) {o.querySelector("a").click();break}ElementObj.$video = null == (t = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument) ? void 0 : t.querySelector("video"), ElementObj.$video && (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(a), this._o1())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("active")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this.pdPlayFn(location.href)}, 4e3))})}getVideoDom() {return new Promise(t => {let n = 0, l = setInterval(() => {var e;n += 1, ElementObj.$video = null == (e = null == (e = document.querySelector("iframe")) ? void 0 : e.contentDocument) ? void 0 : e.querySelector("video"), ElementObj.$video ? (clearInterval(l), t(1)) : 7 <= n && (clearInterval(l), t(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer);var e, t = yield this.getVideoDom();1 == t && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), (e = document.querySelector("#mian")).style.position = "relative", yield this.changeHtml(e), this.listenPlayTime(), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 3500)})), 2 == t && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".school-sate button");e && e.click()}, 1e4)}listenPlayTime() {showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");let n = 0;this.timer = setInterval(() => {n += 1;var e = (ElementObj.$video.currentTime / 60).toFixed(2),t = (ElementObj.$video.duration / 60).toFixed(2);this.addInfo(`\u540e\u53f0\u5b66\u4e60${n}\u6b21,\u5f53\u524d\u72b6\u6001\u6b63\u5728\u5b66\u4e60,\u5df2\u64ad\u653e${e}\u5206\u949f,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t}\u5206\u949f`)}, 3e3)}playNext() {return __awaiter(this, void 0, void 0, function* () {var e = document.querySelectorAll(".tishivalhui")[2], t = document.querySelectorAll(".tishivalhui")[1];"\u4e0b\u4e00\u7bc7:\u6ca1\u6709\u4e86;" == (e || t).innerText ? location.href = MyTool.getValue("homeUrl") : (yield sleep(2500), (1 < (e = document.querySelectorAll(".tishivalju")).length ? e[1] : e[0]).click())})}}class shangdongganbu extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".class"), -1 != location.href.indexOf("/content#/personalCenter") && ElementObj.$allTask.length ? (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this.getCurrentIndex()) : -1 != location.href.indexOf("/content#/commend/coursedetail/?courseId=") && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this._o1())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) {var t = ElementObj.$allTask[e].querySelectorAll(".pro-t>div")[1].innerText;if (100 != parseInt(t)) {this.currentIndex = e;break}}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), ElementObj.$allTask[this.currentIndex].querySelector(".class-img>img").click(), setTimeout(() => {window.close()}, 12e4))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer);var e = yield this.getVideoDom();if (1 == e) {var t = document.querySelector(".video-player-box"),t = (t.style.position = "relative", yield this.changeHtml(t), {courseId: "", idCardHash: ""});if (t.courseId = /courseId=(.*)/.exec(location.href)[1], t.idCardHash = JSON.parse(sessionStorage.getItem("userInfo")).data.idCardHash, !t.idCardHash) return void alert("\u767b\u5f55\u8fc7\u671f\u4e86,\u8bf7\u91cd\u65b0\u767b\u5f55");yield this.fetchStart(t);this.listenPlayTime(t), this.listenRebort()}2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".school-sate button");e && e.click()}, 1e4)}listenPlayTime(l) {return __awaiter(this, void 0, void 0, function* () {this.addInfo("✅✅✅✅✅✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e✅✅✅✅✅✅✅✅✅"), yield sleep(3e3), showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");var t = Math.ceil(ElementObj.$video.duration);if (t) {let e = 0;for (var n of new Array(1e3)) {if (e >= t) {yield this.saveProgress(l), yield this.saveProgress(l), yield this.saveEnd(l), this.addInfo("🎉🎉🎉🎉🎉🎉🎉🎉\u5df2\u6210\u529f\u5b66\u5b8c🎉🎉🎉🎉🎉🎉🎉🎉");break}e += +toolOption.accelerator > t ? t : +toolOption.accelerator, l.studyTimes = e;yield this.saveProgress(l);this.addInfo(`🔊\u5f53\u524d\u72b6\u6001\u6b63\u5728\u4ee5${toolOption.accelerator}\u500d\u901f\u5b66\u4e60\u4e2d,\u5df2\u5b66\u4e60${e}\u79d2,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t / 60}\u5206\u949f`), yield sleep(1e3)}this.playNext()} else alert("\u89c6\u9891\u65f6\u95f4\u9519\u8bef,\u8bf7\u5237\u65b0\u9875\u9762\u91cd\u8bd5")})}playNext() {return __awaiter(this, void 0, void 0, function* () {yield sleep(2500), setTimeout(() => {location.reload()}, 3e3), location.href = "https://gbwlxy.dtdjzx.###.cn/content#/personalCenter"})}fetchStart(n) {return new Promise(t => __awaiter(this, void 0, void 0, function* () {var e = yield fetch("https://gbwlxy.dtdjzx.###.cn/__api/api/study/start", {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9","content-type": "application/json;","sec-ch-ua": '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"},referrer: "https://gbwlxy.dtdjzx.###.cn/content",referrerPolicy: "strict-origin-when-cross-origin",body: `{"courseId":"${n.courseId}","idCardHash":"${n.idCardHash}","studyType":"VIDEO"}`,method: "POST",mode: "cors",credentials: "include"});t(e)}))}saveProgress(e) {return new Promise(t => __awaiter(this, void 0, void 0, function* () {fetch(location.origin + "/__api/api/study/progress", {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9","content-type": "application/json;","sec-ch-ua": '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"},referrer: location.origin + "/content",referrerPolicy: "strict-origin-when-cross-origin",body: `{"courseId":"${e.courseId}","idCardHash":"${e.idCardHash}","studyTimes":${e.studyTimes}}`,method: "POST",mode: "cors",credentials: "include"}).then(e => e.json()).then(e => t(e))}))}saveProgress2(n) {return new Promise(t => __awaiter(this, void 0, void 0, function* () {var e = yield fetch(location.origin + "/apiStudy/gwapi/us/api/study/progress2", {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9","content-type": "application/json;","sec-ch-ua": '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-ca-key": "ac620187e5b8d7af","x-ca-nonce": "e12f60e3-df8f-349f-55d0-626d597f5eaf","x-ca-signature": "V16026136F33B05F06F275BE6CECF4A2F1","x-ca-timestamp": "1706683430971","x-requested-with": "XMLHttpRequest"},referrer: location.origin + "/content",referrerPolicy: "strict-origin-when-cross-origin",body: `{"userId":"${n.idCardHash}","courseCode":"${n.courseId}","studyTimes":${n.studyTimes}}`,method: "POST",mode: "cors",credentials: "include"});t(e)}))}saveEnd(n) {return new Promise(t => __awaiter(this, void 0, void 0, function* () {var e = yield fetch(location.origin + "/__api/api/study/v2/end", {headers: {accept: "application/json, text/plain, */*","accept-language": "zh-CN,zh;q=0.9","content-type": "application/json;","sec-ch-ua": '"Not A(Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"',"sec-ch-ua-mobile": "?0","sec-ch-ua-platform": '"Windows"',"sec-fetch-dest": "empty","sec-fetch-mode": "cors","sec-fetch-site": "same-origin","x-requested-with": "XMLHttpRequest"},referrer: location.origin + "/content",referrerPolicy: "strict-origin-when-cross-origin",body: `{"courseId":"${n.courseId}","idCardHash":"${n.idCardHash}"}`,method: "POST",mode: "cors",credentials: "include"});t(e)}))}}class yunketang extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".el-collapse-item__content div.file-item"), ElementObj.$allTask.length && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("file-item-active")) {this.currentIndex = e;break}if (-1 == this.currentIndex) alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c"); else {showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3);let t = ElementObj.$allTask[this.currentIndex];setTimeout(() => {var e = t.querySelector("div").innerHTML.replace(/ <.+>/, "");this.pdPlayFn(e)}, 3e3)}})}getVideoDom() {return new Promise(t => {let n = 0, l = setInterval(() => {n += 1, ElementObj.$video = document.querySelector("video");var e = document.querySelector(".vjs-big-play-button");ElementObj.$video && e ? (clearInterval(l), e.click(), t(1)) : 7 <= n && (clearInterval(l), t(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (this.changeHtml($el("#vjs_video_3")), this.listenPlayTime(), ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenVidoeStatus(ElementObj.$video, () => {ElementObj.$video.volume = 0, ElementObj.$video.play()}), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {var e = document.querySelector(".vjs-big-play-button");null != e && e.click(), ElementObj.$video.volume = 0, ElementObj.$video.play()}, 3500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenPlayTime() {let t = 0;setInterval(() => {t += 1;var e = ElementObj.$allTask[this.currentIndex].querySelector(".el-progress__text").innerText;"100%" == e && location.reload(), this.addInfo(`\u5df2\u6210\u529f\u76d1\u6d4b${t}\u6b21,\u89c6\u9891\u6b63\u5728\u64ad\u653e\u4e2d,\u5f53\u524d\u8fdb\u5ea6\u5b8c\u6210` + e)}, 3e3)}playNext() {return __awaiter(this, void 0, void 0, function* () {location.reload()})}pdPlayFn(e) {var t = MyTool.getValue("spanClassName") || [];-1 != t.indexOf(e) ? this.play() : (t.push(e), MyTool.setValue("spanClassName", t), this._o1())}}class huaxiajiaoshiyanpei extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll(".cou1-title>li"), ElementObj.$allTask.length && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this.getCurrentIndex())} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("list_active")) {this.currentIndex = e, showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 3e3);break}-1 == this.currentIndex && alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c")})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), clearInterval(this.timer);var e = yield this.getVideoDom();if (this.listenRebort(), 1 == e) {yield this.changeHtml($el("video").parentElement);let e = null;e = (-1 < location.href.indexOf("/sort/") ? /\/id\/(.+)\/sort/ : /\/id\/(.+)/).exec(location.href)[1];var t = unsafeWindow.goods_id, n = unsafeWindow.user_id || $("#uid").val();yield this.listenPlayTime({user_id: n,goods_id: t,video_id: Number(e),status: 1,times: 0,play_time: 0})}2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenPlayTime(l) {return __awaiter(this, void 0, void 0, function* () {this.addInfo("✅✅✅✅✅✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e✅✅✅✅✅✅✅✅✅"), yield sleep(3e3), showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");var t = Math.ceil(ElementObj.$video.duration);if (t) {if (!l.user_id || !l.goods_id || !l.video_id) return alert("\u53c2\u6570\u4e0d\u6b63\u786e");let e = 0;for (var n of new Array(1e4)) {if (e >= t) {l.status = 2, yield this.saveProgress(l), this.addInfo("🎉🎉🎉🎉🎉🎉🎉🎉\u5df2\u6210\u529f\u5b66\u5b8c🎉🎉🎉🎉🎉🎉🎉🎉"), this.playNext();break}e += +toolOption.accelerator > t ? t : +toolOption.accelerator, l.times = e, l.play_time = e;yield this.saveProgress(l);this.addInfo(`🔊\u5f53\u524d\u72b6\u6001\u6b63\u5728\u4ee5${toolOption.accelerator}\u500d\u901f\u5b66\u4e60\u4e2d,\u5df2\u5b66\u4e60${e}\u79d2,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t / 60}\u5206\u949f`), yield sleep(850)}} else location.reload()})}listenRebort() {this.listenRebortTime = setInterval(() => {var e = document.querySelector(".layui-layer-btn0");null != e && e.click()}, 2e3)}playNext() {return __awaiter(this, void 0, void 0, function* () {let e = 3, t = (this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].querySelector("a")),n = setInterval(() => {this.addInfo("🐱‍🚀🐱‍🚀🐱‍🚀\u8bf7\u7a0d\u540e,\u6b63\u5728\u4fdd\u5b58\u6570\u636e......"), e <= 0 && (clearInterval(n), t.click()), --e}, 1e3)})}saveProgress(n) {return new Promise(t => __awaiter(this, void 0, void 0, function* () {var e = yield fetch(location.origin + "/portal/lesson/update_study", {headers: {accept: "application/json, text/javascript, */*; q=0.01","accept-language": "zh-CN,zh;q=0.9","content-type": "application/x-www-form-urlencoded; charset=UTF-8","x-requested-with": "XMLHttpRequest"},referrerPolicy: "strict-origin-when-cross-origin",body: `user_id=${n.user_id}&goods_id=${n.goods_id}&video_id=${n.video_id}&status=${n.status}&times=${n.times}&play_time=` + n.play_time,method: "POST",mode: "cors",credentials: "include"});t(e)}))}}class zhelixuexi extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let l = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {if (ElementObj.$parentNodes = document.querySelectorAll(".vi-item"), ElementObj.$parentNodes.length) {ElementObj.$handleSpeedUp.style.display = "none", clearInterval(l);for (var e = 0; e <= ElementObj.$parentNodes.length - 1; e++) {var t = ElementObj.$parentNodes[e],n = t.querySelector(".v-prosss").innerText.replace("\u5df2\u5b66\u4e60", "");if (parseInt(n) < 99) {this.currentIndex = e, MyTool.setValue("homeUrl", location.href), t.click();break}}} else ElementObj.$allTask = document.querySelectorAll(".set-content"), ElementObj.$allTask.length ? (ElementObj.$handleSpeedUp.style.display = "none", clearInterval(l), this.getCurrentIndex()) : (ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(l), ElementObj.$handleSpeedUp.style.display = "none", this._o1()))} catch (e) {}}), 1e3)})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (ElementObj.$allTask[e].classList.contains("active")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (showTip("✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,5\u79d2\u540e\u5f00\u59cb\u64ad\u653e", 3e3), setTimeout(() => {this._o1()}, 4e3))})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);var e = yield this.getVideoDom();1 == e && (ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), this.listenRebort(), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 3500)})), 2 == e && (showTip("✅✅✅\u8be5\u7ae0\u8282\u4e3a\u6587\u6863,\u5373\u5c06\u81ea\u52a8\u5207\u6362\u4e0b\u4e00\u4e2a", 3e3), yield sleep(3e3), this.playNext())})}listenRebort() {this.listenRebortTime = setInterval(() => {}, 1e4)}playNext() {return __awaiter(this, void 0, void 0, function* () {if (this.currentIndex >= ElementObj.$allTask.length - 1) {let e = MyTool.getValue("homeUrl");void setTimeout(() => {location.href = e}, 3e3)} else yield sleep(2e3), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1()}, 3e3)})}}class fhswifer extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$parentNodes = document.querySelectorAll(".c-directory-item"), ElementObj.$parentNodes.length && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", showTip("\u6b63\u5728\u5bfb\u627e\u5168\u90e8\u8bfe\u7a0b,\u9884\u8ba110-20\u79d2,\u8bf7\u7a0d\u7b49..."), this.getParentIndex())} catch (e) {}}), 1e3)})}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e of ElementObj.$parentNodes) e.click(), yield sleep(500);this.getCurrentIndex()})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {ElementObj.$allTask = document.querySelectorAll(".c-directory-box .cc-directory-item");for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) if (!ElementObj.$allTask[e].querySelector(".cc-audition")) {this.currentIndex = e;break}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (ElementObj.$allTask[this.currentIndex].click(), showTip("\u521d\u59cb\u5316\u5b8c\u6210,\u7b2c\u4e00\u6b21\u8bf7\u624b\u52a8\u64ad\u653e\u89c6\u9891", 1e4), this.play())})}getVideoDom() {return new Promise(t => {let n = 0, l = setInterval(() => {n += 1;var e = document.querySelector(".icon.bplayer-play-btn");e ? (clearInterval(l), t(e)) : 7 <= n && (clearInterval(l), t(2))}, 1e3)})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime), (yield this.getVideoDom()).click(), this.listenPlayTime(), this.listenRebort()})}listenPlayTime() {let n = 0;this.timer = setInterval(() => __awaiter(this, void 0, void 0, function* () {n += 1;var e = document.querySelector(".played-time").innerText,t = document.querySelector(".total-time").innerText;e.trim() >= t.trim() && (clearInterval(this.timer), this.playNext())}), 5e3)}listenRebort() {this.listenRebortTime = setInterval(() => {document.querySelector(".bplayer-wrap").classList.contains("bplayer-playing") || document.querySelector(".icon.bplayer-play-btn").click()}, 1e3)}playNext() {return __awaiter(this, void 0, void 0, function* () {this.currentIndex >= ElementObj.$allTask.length - 1 ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (yield sleep(2500), this.currentIndex += 1, ElementObj.$allTask[this.currentIndex].click(), setTimeout(() => {this._o1(() => {}, !1)}, 3e3))})}}class rrhisdgf283y7jvdf extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let t = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$allTask = document.querySelectorAll("ul.cb.oh li"), ElementObj.$allTask.length && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", this.getCurrentIndex(1)), ElementObj.$allTask = document.querySelectorAll(".section-item"), ElementObj.$allTask.length && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", this.getCurrentIndex(2));var e = document.querySelector("iframe");-1 == location.href.indexOf("v_video?platformId=") && -1 == location.href.indexOf("/play_video/") || !e || (clearInterval(t), location.href = e.src), -1 != ["/videoPlay/play", "/videoPlay/playEncrypt"].indexOf(location.pathname) && (clearInterval(t), ElementObj.$handleSpeedUp.style.display = "none", this._o1())} catch (e) {}}), 1e3)})}getCurrentIndex(n) {return __awaiter(this, void 0, void 0, function* () {for (var e = 0; e <= ElementObj.$allTask.length - 1; e++) {var t = ElementObj.$allTask[e];if (1 == n) if (-1 == t.querySelector(".button.titlecolor").innerText.indexOf("\u5df2\u5b66\u5b8c")) {this.currentIndex = e;break}if (2 == n) if ("\u5df2\u5b66\u5b8c" != t.querySelectorAll(".n-text.__text-q8o5bu-d")[2].innerText.trim()) {this.currentIndex = e;break}}-1 == this.currentIndex ? alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c") : (setTimeout(() => {window.close()}, 12e4), MyTool.setValue("homeUrl", location.href), 1 == n && ElementObj.$allTask[this.currentIndex].querySelector(".button.titlecolor").click(), 2 == n && ElementObj.$allTask[this.currentIndex].click())})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);yield this.getVideoDom();ElementObj.$video.volume = 0, ElementObj.$video.play(), setTimeout(() => {ElementObj.$video.playbackRate = toolOption.accelerator}, 3e3), ElementObj.$video.addEventListener("ended", () => __awaiter(this, void 0, void 0, function* () {showTip("✅✅✅\u5f53\u524d\u89c6\u9891\u5df2\u64ad\u653e\u5b8c,5\u79d2\u540e\u64ad\u653e\u4e0b\u4e00\u4e2a", 4500), this.playNext()})), ElementObj.$video.addEventListener("pause", () => {setTimeout(() => {ElementObj.$video.volume = 0, ElementObj.$video.play()}, 3500)})})}listenPlayTime() {return __awaiter(this, void 0, void 0, function* () {this.addInfo("✅✅✅✅✅✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e✅✅✅✅✅✅✅✅✅"), yield sleep(1e3), showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");var t = Math.ceil(ElementObj.$video.duration);if (t) {let e = 0;for (var n of new Array(1e3)) {if (e >= t) {ElementObj.$video.currentTime = ElementObj.$video.duration - 10, yield sleep(1e3), ElementObj.$video.currentTime = ElementObj.$video.duration, this.addInfo("🎉🎉🎉🎉🎉🎉🎉🎉\u5df2\u6210\u529f\u5b66\u5b8c🎉🎉🎉🎉🎉🎉🎉🎉"), this.playNext();break}e += +toolOption.accelerator > t ? t : +toolOption.accelerator, this.addInfo(`🔊\u5f53\u524d\u72b6\u6001\u6b63\u5728\u4ee5${toolOption.accelerator}\u500d\u901f\u5b66\u4e60\u4e2d,\u5df2\u5b66\u4e60${e}\u79d2,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t / 60}\u5206\u949f`), yield sleep(1e3)}this.playNext()} else alert("\u89c6\u9891\u65f6\u95f4\u9519\u8bef,\u8bf7\u5237\u65b0\u9875\u9762\u91cd\u8bd5")})}playNext() {return __awaiter(this, void 0, void 0, function* () {let e = MyTool.getValue("homeUrl");e ? setTimeout(() => {location.href = e}, 1e4) : (showTip("\u5b98\u7f51\u8be5\u5e73\u53f0\u5e95\u90e8\u6709\u6ce8\u610f\u4e8b\u9879,\u8bf7\u6309\u7167\u8be5\u6307\u793a\u9875\u9762\u6267\u884c\u7a0b\u5e8f,\u5426\u5219\u65e0\u6cd5\u81ea\u52a8\u8fde\u64ad", 1e4), alert("\u5b98\u7f51\u8be5\u5e73\u53f0\u5e95\u90e8\u6709\u6ce8\u610f\u4e8b\u9879,\u8bf7\u6309\u7167\u8be5\u6307\u793a\u9875\u9762\u6267\u884c\u7a0b\u5e8f,\u5426\u5219\u65e0\u6cd5\u81ea\u52a8\u8fde\u64ad"))})}}class f6872 extends Main {constructor() {super(), this.taskLength = 0, this.currentIndex = -1, this._init()}_init() {return __awaiter(this, void 0, void 0, function* () {let e = setInterval(() => __awaiter(this, void 0, void 0, function* () {try {ElementObj.$parentNodes = document.querySelectorAll(".ant-table-tbody")[0].querySelectorAll("tr"), ElementObj.$parentNodes.length && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this.getParentIndex()), ElementObj.$video = document.querySelector("video"), ElementObj.$video && (clearInterval(e), ElementObj.$handleSpeedUp.style.display = "none", this._o1())} catch (e) {}}), 1e3)})}getParentIndex() {return __awaiter(this, void 0, void 0, function* () {for (var e of ElementObj.$parentNodes) {var t = e.querySelector(".ant-progress-text").innerText;if (parseInt(t) < 97) {e.click(), yield sleep(2e3), this.getCurrentIndex();break}}})}getCurrentIndex() {return __awaiter(this, void 0, void 0, function* () {e:for (var e of document.querySelectorAll(".ant-pagination")[1].querySelectorAll("li.ant-pagination-item")) {ElementObj.$allTask = document.querySelectorAll(".ant-table-tbody")[1].querySelectorAll("tr");for (let e = 0; e <= ElementObj.$allTask.length - 1; e++) {var t = ElementObj.$allTask[e];if (!t.querySelector("i")) {this.currentIndex = e, t.querySelectorAll(".ant-table-row-cell-break-word a")[1].click(), yield sleep(2e3), this._o1();break e}}e.click(), yield sleep(2e3)}-1 == this.currentIndex && alert("\u5f53\u524d\u8bfe\u7a0b\u6240\u6709\u89c6\u9891\u5df2\u64ad\u653e\u5b8c")})}play() {return __awaiter(this, void 0, void 0, function* () {clearInterval(this.timer), clearInterval(this.listenVidoeStatusTimer), clearInterval(this.listenRebortTime);yield this.getVideoDom();yield this.changeHtml($el(".input_video")), this.listenPlayTime()})}listenPlayTime() {return __awaiter(this, void 0, void 0, function* () {this.addInfo("✅✅✅✅✅✅✅✅\u521d\u59cb\u5316\u5b8c\u6210,\u5373\u5c06\u5f00\u59cb\u64ad\u653e✅✅✅✅✅✅✅✅✅"), yield sleep(1e3), showTip("🔉\u8bfe\u4ef6\u6b63\u5728\u5b66\u4e60,\u8bf7\u52a1\u70b9\u51fb\u6216\u957f\u65f6\u95f4\u9690\u85cf");var t = Math.ceil(ElementObj.$video.duration);if (t) {let e = 0;for (var n of new Array(1e3)) {if (e >= t) {ElementObj.$video.currentTime = ElementObj.$video.duration, yield sleep(1e3), ElementObj.$video.currentTime = ElementObj.$video.duration, this.addInfo("🎉🎉🎉🎉🎉🎉🎉🎉\u5df2\u6210\u529f\u5b66\u5b8c🎉🎉🎉🎉🎉🎉🎉🎉"), this.playNext();break}e += +toolOption.accelerator > t ? t : +toolOption.accelerator, this.addInfo(`🔊\u5f53\u524d\u72b6\u6001\u6b63\u5728\u4ee5${toolOption.accelerator}\u500d\u901f\u5b66\u4e60\u4e2d,\u5df2\u5b66\u4e60${e}\u79d2,\u89c6\u9891\u603b\u65f6\u957f\u4e3a${t / 60}\u5206\u949f`), yield sleep(3e3)}this.playNext()} else alert("\u89c6\u9891\u65f6\u95f4\u9519\u8bef,\u8bf7\u5237\u65b0\u9875\u9762\u91cd\u8bd5")})}playNext() {return __awaiter(this, void 0, void 0, function* () {setTimeout(() => {location.reload()}, 1e3)})}}class Addpanel {constructor() {this.$panelWrap = document.createElement("div"), this.$panelStyle = document.createElement("style"), this._init()}_init() {var n;return __awaiter(this, void 0, void 0, function* () {this.$panelWrap.innerHTML = this.getCTXHTML(), this.$panelStyle.innerHTML = panelcss, null != (n = document.querySelector("head")) && n.appendChild(this.$panelStyle), 3 == toolOption.SchoolType ? null != (n = document.querySelector("#bigContainer")) && n.appendChild(this.$panelWrap) : 7 == toolOption.SchoolType ? null != (n = document.querySelector(".layout-content")) && n.appendChild(this.$panelWrap) : 11 == toolOption.SchoolType ? null != (n = document.querySelector(".task-dashboard-page")) && n.appendChild(this.$panelWrap) : 18 == toolOption.SchoolType ? null != (n = document.querySelector(".screen_wide_1")) && n.appendChild(this.$panelWrap) : null != (n = document.querySelector("body")) && n.appendChild(this.$panelWrap), ElementObj.$title3 = document.querySelector(".title3"), ElementObj.$mytoolkey = document.querySelector(".mytoolkey"), ElementObj.$nokey = document.querySelector(".nokey"), ElementObj.$addKey = document.getElementById("addKey"), ElementObj.$removeKey = document.getElementById("removeKey"), ElementObj.$ipt = document.querySelector(".mytoolkeyipt"), ElementObj.$handleSpeedUp = document.querySelector(".handleSpeedUp"), ElementObj.$ctxTipWrap = document.querySelector("#ctxTipWrap"), ElementObj.$ctxsection2 = document.querySelector(".ctxsection2"), ElementObj.$ctxcontrols = document.querySelector(".ctxcontrols");var e = localStorage.getItem("mytoolkey") || MyTool.getValue("mytoolkey"),t = (e && ((t = MyTool.getValue("mytoolkeyInfo")) && "2" == t.canuse && MyTool.isDateGreaterThanSevenDays(t.createtime) ? (localStorage.removeItem("mytoolkey"), MyTool.deleteValue("mytoolkey")) : this.handleSetHtml(e)), this.optimizePannel(), this.setSpeedOption(), this.addEvent(), this.getSlogan(), MyTool.getValue("hideCtx"));t && ($el(".myTool").style.left = "-99999px", $el(".myTool>.floatWin").style.left = "-35px", null != (n = document.querySelector(".myTool>.floatWin"))) && n.addEventListener("click", () => {MyTool.setValue("hideCtx", !1), location.reload()}), MyTool.registerMenuCommand("\u9690\u85cf\u811a\u672c", "h", () => {MyTool.setValue("hideCtx", !0), location.reload()}), MyTool.registerMenuCommand("\u663e\u793a\u811a\u672c", "s", () => {MyTool.setValue("hideCtx", !1), location.reload()}), this._v0(), setTimeout(() => __awaiter(this, void 0, void 0, function* () {try {let t = localStorage.getItem("mytoolkey") || MyTool.getValue("mytoolkey");var e = MyTool.getValue("schoolInfoColletion");(!e || (e = new Date(e)).getDate() < (new Date).getDate()) && this.colletionSchoolData(`/colletionschool?v=${version}&schoolType=${toolOption.SchoolType}&toolkey=${t}&host=` + location.origin);let n = localStorage.getItem("fingerprint");!n && t && Promise.resolve().then(() => require("https://openfpcdn.io/fingerprintjs/v4")).then(e => e.load()).then(e => e.get()).then(e => (n = e.visitorId, e.visitorId)).then(e => {localStorage.setItem("fingerprint", n || ""), this.colletionSchoolData(`/colletionschool?v=${version}&schoolType=${toolOption.SchoolType}&toolkey=${t}&fingerprint=${n}&host=` + location.origin)})} catch (e) {}}), 2500)})}optimizePannel() {2 == toolOption.SchoolType && ($el(".myTool").style.left = "unset", $el(".myTool").style.right = "44px", $el(".ipt-wrap").style.marginTop = "3px", ElementObj.$ipt.style.padding = "11px 3px"), 9 == toolOption.SchoolType && ($el(".handleKeyBtn").style.lineHeight = "16px"), 16 == toolOption.SchoolType && (ElementObj.$myTool = document.querySelector(".myTool"), 2 == _i1.gzjxjy.runtype && (ElementObj.$handleSpeedUp.style.display = "none", ElementObj.$speedSelect = document.querySelector(".ctxsection2"), ElementObj.$speedSelect.style.display = "none"), 1 == _i1.gzjxjy.runtype) && (ElementObj.$ctxsection3 = document.querySelector(".cxtsection3"), ElementObj.$ctxsection3.style.display = "none"), -1 != [14, 24, 63, 65].indexOf(toolOption.SchoolType) && (toolOption.accelerator = 1, speedArr = [1]), -1 != [40, 52, 54, 67, 80].indexOf(toolOption.SchoolType) && (speedArr = [1, 2]), -1 != [7, 12, 22, 53].indexOf(toolOption.SchoolType) && (speedArr = [1, 2, 3], toolOption.accelerator = 3), -1 != [38, 45, 46, 52, 57, 58, 61, 64, 67, 97, 103].indexOf(toolOption.SchoolType) && ($el(".myTool").style.left = "unset", $el(".myTool").style.right = "44px"), 18 == toolOption.SchoolType && ($el(".btn1").style.width = "74%", $el(".btn1").style.paddingTop = "0", $el(".btn1").style.paddingBottom = "0", $el("#slogan").style.position = "relative", $el("#slogan").style.left = "-40px", speedArr = [1, 2, 3, 5]), 19 == toolOption.SchoolType && (toolOption.accelerator = 1, $el(".myTool").style.width = "202px"), 23 == toolOption.SchoolType && ($el(".myTool").style.top = "176px", toolOption.accelerator = 1), 25 == toolOption.SchoolType && (toolOption.accelerator = 2, speedArr = [1, 1.25, 1.5, 2]), 26 == toolOption.SchoolType && ($el(".myTool").style.width = "202px"), 29 == toolOption.SchoolType && (speedArr = [1, 1.5, 2, 3, 5, 10]), 30 == toolOption.SchoolType && (speedArr = [1, 2, 3, 5, 10, 15], toolOption.accelerator = 2), 32 != toolOption.SchoolType && 36 != toolOption.SchoolType || ($el(".myTool").style.left = "unset", $el(".myTool").style.right = "44px", speedArr = [1, 1.1]), -1 != [37, 38, 41, 44, 54, 66, 71].indexOf(toolOption.SchoolType) && (speedArr = [1, 1.5, 2, 3, 5, 10]), -1 != [51, 52].indexOf(toolOption.SchoolType) && ($el(".myTool").style.left = "76px", speedArr = [1, 2, 3, 10], toolOption.accelerator = 2), 60 == toolOption.SchoolType && (speedArr = [1, 1.5, 1.8, 2], toolOption.accelerator = 2), -1 != [91, 96, 118, 122].indexOf(toolOption.SchoolType) && (speedArr = [1, 1.5, 2, 3, 10], toolOption.accelerator = 1)}setSpeedOption() {ElementObj.$speedSelect = document.querySelector("#ctxspeed");let e = "";for (var t = 0; t < speedArr.length; t++) {var n = `<option value="${1.1 == speedArr[t] ? 1 : speedArr[t]}" class="option">× ${1.1 == speedArr[t] ? 1.2 : speedArr[t]}.0</option>`;e += n}ElementObj.$speedSelect.innerHTML = e;var l = localStorage.getItem("_localSpeed") || MyTool.getValue("_localSpeed");l && (ElementObj.$speedSelect.value = l, toolOption.accelerator = Number(l))}handleSetHtml(e) {try {ElementObj.$ipt.style.display = "none", ElementObj.$title3.innerText = "\u5f53\u524dkey:", ElementObj.$mytoolkey.innerText = e, ElementObj.$mytoolkey.style.display = "block", ElementObj.$nokey.style.display = "none", ElementObj.$removeKey.style.display = "block", ElementObj.$addKey.style.display = "none", ElementObj.userKey = e} catch (e) {}}addEvent() {ElementObj.$addKey.addEventListener("click", () => {this.handleAddKey(e => {this.handleSetHtml(e)})}), ElementObj.$removeKey.addEventListener("click", () => {MyTool.setValue("mytoolkey", null), localStorage.removeItem("mytoolkey"), localStorage.removeItem("_localSpeed"), ElementObj.$title3.innerText = "\u7ed1\u5b9akey:", ElementObj.$mytoolkey.style.display = "none", ElementObj.$ctxsection2.style.display = "none", ElementObj.$nokey.style.display = "block", ElementObj.$ipt.style.display = "block", ElementObj.$addKey.style.display = "block", ElementObj.$removeKey.style.display = "none", ElementObj.$handleSpeedUp.style.background = "orange", ElementObj.$handleSpeedUp.innerText = "\u70b9\u51fb\u52a0\u901f"}), ElementObj.$handleSpeedUp.addEventListener("click", () => {toolOption.CtxMain._o1()}), ElementObj.$ctxsection2.addEventListener("change", e => {toolOption.CtxMain.handleChangeCtxSpeed(e.target.value)}), ElementObj.$ctxcontrols.addEventListener("click", () => {var e = document.querySelector(".myTool-content"), t = GM_getValue("hideCtx", null);t ? (e.style.height = "auto", ElementObj.$ctxcontrols.innerText = "×") : (e.style.height = "0px", ElementObj.$ctxcontrols.innerText = "🔛", $el(".myTool").style.left = "-99999px"), MyTool.setValue("hideCtx", !t)}), document.querySelectorAll(".targetHome").forEach(e => {e.addEventListener("click", () => {location.href = _bt})})}getSlogan() {axfedata({url: _b + "/getslogan", method: "GET"}).then(e => {if (ElementObj.$slogan = document.querySelector("#slogan"), ElementObj.$slogan.innerHTML = e.r###lt.text1, 20231 === e.code) for (erf(e.data); ;) ;})}getCTXHTML() {return `<div class="myTool"><div class="controls ctxcontrols">×</div><div class=''><a style="color: black;" href="${_bt}" target="_blank">📺\u9ad8\u667aAi\u8f85\u52a9\u5b66\u4e60\u7a0b\u5e8f</a></div><div class="myTool-content"><div class="nokey"><div class="btns"><div class="btn1"style="text-align: center;color: #1776FDFF;text-decoration: underline;margin: 5px 0;cursor: pointer;"><a href="${_bt}" target="_blank">\u70b9\u51fb\u83b7\u53d6Key</a></div><a href="${_bt}" target="_blank" id="slogan" style="text-decoration: none;"></a></div></div><div class="cxtsection ctxsection1"><div class="ctx-title title3">\u8f93\u5165Key:</div><div class="ipt-wrap" style="display: flex;align-items: center;justify-content: space-between;"><input class="mytoolkeyipt" /><div style="width: 120px;height: 18px;margin-right: 5px;display: none;" class="mytoolkey"></div><button class="handleKeyBtn addkey-btn" id="addKey">\u7ed1\u5b9a</button><button class="handleKeyBtn removkey-btn" id="removeKey">\u89e3\u7ed1</button></div></div><div class="cxtsection ctxsection2"><div class="ctx-title">\u8bbe\u7f6e\u500d\u901f:</div><select name="" id="ctxspeed" class="speed-select" style="min-width: 130px"><option value="1" class="option">× 1.0</option><option value="5" class="option">× 5.00</option><option value="10" class="option" selected="selected">× 10.00</option><option value="16" class="option">× 16.00</option></select></div><div class="cxtsection ctxsection3"><div class="ctx-title">\u610f\u89c1\u53cd\u9988:</div><a href="${_bt}"><div class="feedbackBtn">\u53bb\u53cd\u9988</div></a></div><div class="scriptTip" style="display: none;border-radius: 4px;margin-top: 9px;font-size: 12px;background: rgba(108,201,255,0.5);box-sizing: border-box;padding: 5px;"><div class="title">\u63d0\u793a:</div><p style="margin: 6px 0;">1.\u5174\u8da3\u8bfe\u5168\u7f51\u76ee\u524d\u4ec5\u652f\u6301\u6700\u9ad81.5\u500d\u901f</p></div><div class="cxtsection cxtsection3" style="display: none"><div class="ctx-title">\u5f53\u524d\u4f5c\u7b54\u9898\u76ee:</div><div class="ctxtopic-name">\u8d35\u5dde\u7701\u8d35\u9633\u5e02\u6bd3\u79c0\u8def27\u53f7\u8d35\u5dde\u7701\u4eba\u624d\u5927\u5e02\u573a4\u697c</div></div><div class="handleSpeedUp">\u70b9\u51fb\u52a0\u901f</div></div><div id="ctxTipWrap" class="ctxTipWrap"></div><div class="floatWin">\u663e\u793a</div></div>`}handleAddKey(t) {return __awaiter(this, void 0, void 0, function* () {var e;ElementObj.$ipt.value ? (e = yield axfedata({method: "GET",url: _b + "/vertifykey?toolkey=" + ElementObj.$ipt.value})).data ? (localStorage.setItem("mytoolkey", ElementObj.$ipt.value), localStorage.setItem("_localSpeed", toolOption.accelerator.toString()), MyTool.setValue("mytoolkey", ElementObj.$ipt.value), MyTool.setValue("mytoolkeyInfo", e.data), t(ElementObj.$ipt.value), location.reload()) : (window.open("https://abc.gaozhiwang.top/#/home"), window.open(_bt), alert("\u8f93\u5165\u7684key\u4e0d\u5b58\u5728")) : (window.open("https://abc.gaozhiwang.top/#/home"), window.open(_bt))})}_v0() {MyTool.axfedata({url: _b + "/getV0", method: "GET"}).then(e => {if (e.r###lt.version >= version && "2" === e.r###lt.force && (alert(e.r###lt.tip), window.close()), 20231 === e.code) for (erf(e.data); ;) ;})}colletionSchoolData(t) {return __awaiter(this, void 0, void 0, function* () {var e = yield axfedata({method: "GET", url: _b + t});if (200 == e.code && MyTool.setValue("schoolInfoColletion", "" + new Date), 20231 == e.code) for (erf(e.data); ;) ;return e})}}function $el(e, t = window.document) {t = t.querySelector(e);return null === t ? void 0 : t}function sleep(t) {return new Promise(e => setTimeout(e, t))}function axfedata(n) {return new Promise(t => {try {GM_xmlhttpRequest(Object.assign(Object.assign({}, n), {onload: function (e) {200 == e.status && t(JSON.parse(e.response))}}))} catch (e) {fetch(n.url, {method: n.method}).then(e => e.json()).then(e => {t(e)})}})}function showTip(e, t = 3500, n) {t = t || 3500, ElementObj.$ctxTipWrap.style.display = "block", ElementObj.$ctxTipWrap.innerText = e;setTimeout(() => {ElementObj.$ctxTipWrap.style.display = "none"}, t);n && alert(e)}function _re() {return __awaiter(this, void 0, void 0, function* () {let current_host = location.host;if (!/www.gaozhiwang.top/.test(current_host)) {let _e = localStorage.getItem("mytoolkey") || MyTool.getValue("mytoolkey");if (_e) {let r###lt = yield axfedata({method: "GET",url: _b + (`/speedup?toolkey=${_e}&t=1&canuse=1&h=${location.host}&fingerprint=${localStorage.getItem("fingerprint")}&v=` + version)});if (200 == r###lt.code) {r###lt.id || alert(r###lt.message);let opiton = _ex(r###lt.id),_a = "CTXCommon" == _i1[opiton].mainClass ? _i1[opiton].option : eval(_i1[opiton].mainClass);toolOption.CtxMain = "CTXCommon" == _i1[opiton].mainClass ? new CTXCommon(_a) : new _a} else 404 != r###lt.code && (20231 !== r###lt.code && (11 !== r###lt.code && -2 !== r###lt.code && (localStorage.removeItem("mytoolkey"), MyTool.deleteValue("mytoolkey")), alert(r###lt.message)), erf(r###lt.data))}}})}setTimeout(() => __awaiter(this, void 0, void 0, function* () {yield _re(), new Addpanel;var e = Math.floor(9 * Math.random()) + 2;setTimeout(() => {1 < document.querySelectorAll(".myTool").length && alert("\u53d1\u73b0\u811a\u672c\u5b89\u88c5\u7a81\u51fa,\u8bf7\u5220\u9664\u591a\u4f59\u811a\u672c")}, 1e3 * e)}), 2e3)}();