index-legacy-8ffc92b8.js 11 KB

1
  1. !function(){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,r,e){t[r]=e.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(S){s=function(t,r,e){return t[r]=e}}function f(t,r,e,n){var o=r&&r.prototype instanceof v?r:v,a=Object.create(o.prototype),c=new Y(n||[]);return i(a,"_invoke",{value:j(t,e,c)}),a}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(S){return{type:"throw",arg:S}}}e.wrap=f;var d={};function v(){}function p(){}function g(){}var y={};s(y,c,(function(){return this}));var w=Object.getPrototypeOf,m=w&&w(w(A([])));m&&m!==n&&o.call(m,c)&&(y=m);var _=g.prototype=v.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function N(r,e){function n(i,a,c,u){var l=h(r[i],r,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var a;i(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return a=a?a.then(o,o):o()}})}function j(t,r,e){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return k()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=x(a,e);if(c){if(c===d)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=h(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}function x(t,r){var e=r.method,n=t.iterator[e];if(void 0===n)return r.delegate=null,"throw"===e&&t.iterator.return&&(r.method="return",r.arg=void 0,x(t,r),"throw"===r.method)||"return"!==e&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+e+"' method")),d;var o=h(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function E(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function L(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function Y(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function A(t){if(t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(o.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return n.next=n}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=g,i(_,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:p,configurable:!0}),p.displayName=s(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,l,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},b(N.prototype),s(N.prototype,u,(function(){return this})),e.AsyncIterator=N,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new N(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(_),s(_,l,"Generator"),s(_,c,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=A,Y.prototype={constructor:Y,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return a.type="throw",a.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),d},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),L(e),d}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;L(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:A(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),d}},e}function e(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(l){return void e(l)}c.done?r(u):Promise.resolve(u).then(n,o)}System.register(["./index-legacy-fff8b745.js","./index-legacy-49aff192.js","./index-legacy-c55612ee.js"],(function(t,n){"use strict";var o,i,a,c,u,l,s,f;return{setters:[function(t){o=t.d,i=t.q,a=t.a,c=t.S,u=t.D,l=t.E},function(t){s=t.M},function(t){f=t.I}],execute:function(){var h=document.createElement("style");h.textContent="._woringBook_dw358_1{min-height:100vh;background:url("+new URL("woring-bg-f6d25b0e.png",n.meta.url).href+') no-repeat top center;background-size:contain}._woringHeader_dw358_6{display:flex;align-items:center;height:var(--van-nav-bar-height)}._woringHeader_dw358_6 ._leftArrow_dw358_11{padding:0 var(--k-padding-md)}._woringHeader_dw358_6 ._title_dw358_14{position:relative;z-index:1}._woringHeader_dw358_6 ._title_dw358_14 i{width:1.6rem;height:.53333rem;display:inline-block;background:url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K66fr/BeIU824lQXiy3HpiWr/f6TbW0aFvMCMQjj/XSOaHwr6jWaj8Q7GKz0eJRblJNsClFNPMUBtRlz1yyvcpqxLhXk0MRWTLFhMMVd7jvVNg0Y94elwRDfPrUV95ExungkbGlRvQKSOT5tEofIiOSl+IM+8WtixIEQh4vFYsnEK5qQ2ib5yqOT6FBNYtHRTqo422+KoC2rRcF+bKtyovQhX1u3MQPiHZ4/iQOwQSaLOBZ3vVPEoEWs7rDu0SMwwT74gQsu5m8nuaV9vBLP3CdrOe1cvidEEWO1TbF8bBtT3JJcg98Ti2W8vxLfRQLYiAteiNO34szleK/EHj7OFPHukOWvxZHYq92cXpvY5vcxxNvB2UNIuya4v0PV4JfX8/HuDJoILMWPhPw3/ALfNqFjdLNr1QAAAABJRU5ErkJggg==) no-repeat center;background-size:contain}._woringHeader_dw358_6 ._title_dw358_14:after{content:" ";display:inline-block;position:absolute;left:0;bottom:-.05333rem;width:1.28rem;height:.16rem;background:linear-gradient(270deg,rgba(119,255,239,.59) 0%,#42CDFF 100%);z-index:-1}._woringSecgtion_dw358_36{min-height:calc(100vh - var(--header-height) - 3.2rem);margin-top:3.2rem;background:#FFFFFF;border-radius:.42667rem .42667rem 0 0;padding:.53333rem .37333rem}._woringSecgtion_dw358_36 ._woringImg_dw358_43{margin-bottom:.42667rem;width:100%}\n',document.head.appendChild(h);var d="_woringBook_dw358_1",v="_woringHeader_dw358_6",p="_leftArrow_dw358_11",g="_title_dw358_14",y="_woringSecgtion_dw358_36",w="_woringImg_dw358_43",m=""+new URL("ai-exam-ac155650.png",n.meta.url).href,_=""+new URL("woring-practice-5f4735ad.png",n.meta.url).href,b=""+new URL("woring-stat-fe2f9a06.png",n.meta.url).href;t("default",o({name:"wroing-book",setup:function(){var t=i(),n=function(){var n,o=(n=r().mark((function e(){var n;return r().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,u.post("/edu-app/studentUnitExamination/errorEdition",{hideLoading:!1,data:{page:1,rows:50}});case 3:n=r.sent,(n.data||{}).total>0?t.push({path:"/error-question-mode"}):setTimeout((function(){l("暂无错题")}),100),r.next=11;break;case 9:r.prev=9,r.t0=r.catch(0);case 11:case"end":return r.stop()}}),e,null,[[0,9]])})),function(){var t=this,r=arguments;return new Promise((function(o,i){var a=n.apply(t,r);function c(t){e(a,o,i,c,u,"next",t)}function u(t){e(a,o,i,c,u,"throw",t)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();return function(){return a("div",{class:d},[a(s,{position:"top"},{default:function(){return[a(c,{border:!1,background:"transparent"},{content:function(){return a("div",{class:v},[a("i",{onClick:function(){return t.back()},class:["van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow",p]},null),a("span",{class:g},[a("i",null,null)])])}})]}}),a("div",{class:y},[a(f,{lazyLoad:!0,src:b,class:w,onClick:function(){return t.push("wroing-stat")}},null),a(f,{lazyLoad:!0,src:_,class:w,onClick:n},null),a(f,{lazyLoad:!0,src:m,class:w,onClick:function(){return t.push("ai-exam")}},null)])])}}}))}}}))}();