index-legacy-4b59f6b6.js 16 KB

1
  1. !function(){function t(e){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(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},a=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function h(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(L){h=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,c=Object.create(o.prototype),a=new F(r||[]);return i(c,"_invoke",{value:x(t,n,a)}),c}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(L){return{type:"throw",arg:L}}}n.wrap=s;var d={};function p(){}function g(){}function v(){}var y={};h(y,a,(function(){return this}));var m=Object.getPrototypeOf,_=m&&m(m(N([])));_&&_!==r&&o.call(_,a)&&(y=_);var w=v.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function A(e,n){function r(i,c,a,l){var u=f(e[i],e,c);if("throw"!==u.type){var h=u.arg,s=h.value;return s&&"object"==t(s)&&o.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,a,l)}),(function(t){r("throw",t,a,l)})):n.resolve(s).then((function(t){h.value=t,a(h)}),(function(t){return r("throw",t,a,l)}))}l(u.arg)}var c;i(this,"_invoke",{value:function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return c=c?c.then(o,o):o()}})}function x(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var a=j(c,n);if(a){if(a===d)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function j(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,j(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var o=f(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function N(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(o.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:S}}function S(){return{value:void 0,done:!0}}return g.prototype=v,i(w,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:g,configurable:!0}),g.displayName=h(v,u,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,h(t,u,"GeneratorFunction")),t.prototype=Object.create(w),t},n.awrap=function(t){return{__await:t}},b(A.prototype),h(A.prototype,l,(function(){return this})),n.AsyncIterator=A,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var c=new A(s(t,e,r,o),i);return n.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},b(w),h(w,u,"Generator"),h(w,a,(function(){return this})),h(w,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=N,F.prototype={constructor:F,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(E),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=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 e=this;function n(n,r){return c.type="throw",c.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(c)},complete:function(t,e){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&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},n}function n(t,e,n,r,o,i,c){try{var a=t[i](c),l=a.value}catch(u){return void n(u)}a.done?e(l):Promise.resolve(l).then(r,o)}System.register(["./index-legacy-fff8b745.js","./index-legacy-49aff192.js","./index-legacy-994b382c.js","./index-legacy-c8da8776.js","./index-legacy-f6b7c75c.js","./index-legacy-c55612ee.js","./Checker-legacy-a655b8d7.js"],(function(t,r){"use strict";var o,i,c,a,l,u,h,s,f,d,p,g,v,y,m,_,w,b,A,x;return{setters:[function(t){o=t.k,i=t.d,c=t.q,a=t.r,l=t.x,u=t.y,h=t.a,s=t.S,f=t.A,d=t.a0,p=t.C,g=t.a1,v=t.D,y=t.E},function(t){m=t.M},function(t){_=t.s,w=t.C},function(t){b=t.C},function(t){A=t.C},function(t){x=t.I},null],execute:function(){var j=document.createElement("style");j.textContent="._woringBook_1ch6t_1{position:relative;min-height:100vh;background:url("+new URL("wroing-bg-4aca84ea.png",r.meta.url).href+') no-repeat top center;background-size:contain;overflow:hidden;background-color:#fff}._woringHeader_1ch6t_9{display:flex;align-items:center;height:var(--van-nav-bar-height)}._woringHeader_1ch6t_9 ._leftArrow_1ch6t_14{padding:0 var(--k-padding-md)}._woringHeader_1ch6t_9 ._title_1ch6t_17{position:relative;z-index:1}._woringHeader_1ch6t_9 ._title_1ch6t_17 i{width:2.10667rem;height:.53333rem;display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJ4AAAAoCAMAAAA4yLMhAAAAilBMVEUAAAA4NzczMzM6MzM4NjY3Nzc4NjY4NjY4NTU5NjY2NjY4Nzc3NTU4Nzc4NjY4NjY3NjY4NjY4NjY5NjY5Nzc4NjY0MzM4NjYyMDA4NjY4NjY4NTU4NjY4NjY4NjY3NjY3Nzc0NDQ3NjY4NjY4NjY3NTU4NjY4NjY4NjY4NjY4NTU4NjY3NjY4NjZByH+1AAAALXRSTlMArQodhGZ61plRPeBco/W3MszrRyj7FHAG8GrSu8Z2SzgP59tiIY5WnoeUi7LwzSMKAAAD7UlEQVRYw+WX3ZKiMBBGO0QRFQERFFDxfxx18v6vt6QTAxnAYGHVbtWem/kCU3BidToB/nkyu+ACnbhEnAQ+zn5YsIc6EStI6fIJwHKhU/nfmBWcnnqUcSyosXIKKBjZsIKApy+evngKeNrAkwfTiWDMdEDh43gMjXoTFyTLmE8C48+8xqQyDVZg63o2TyuQJGF3vQUOt9CgZw3XzAFJXr5hymqMK7WCz9P1tjypWruy7nprHAbUKzgmFb3JPWUM9ZSTdzDpXV3XTfmFcxF8HvwinLHWinAFzqa73hBHM6m5eOrtnCP+VXo7PvgGk57HXuKJikF+8MUYLaF39DlVPQstPApw4+GBeiWlHj4s6K9X4vALA5GFHsFY1Rvg4ManxMPot95prBdUqedSyeltvSmCNZCK3Kw3zMTj8qI/ZdhfqKa32YHkhkbWqmAh9FRrGr2tx2o067Eaw1JvPohAawVhcsayfKV3HlbY4BSrV8499YjUI+clVHCxBLA/TOGFXonWWEp66qVJ066BXvElwIb7ovYsnTsruFs6vOA5G1k/ODDolUyEXkSfqD3Jx7UWL1+sXNYBQOiMSWZUrdy1zaksjToBZTqqB8R3D2fYX+/gEo8pPOIe6m25jQa9Q+Vhiw/oxTJutzLEzXoX8puopqfvkSP4gJ5MJLF+ZGzWC+ql16QHuxOTrJTeaS7xSj0fCbGO/Aq4YYYiP/XSDM+l6bt6oY7oe7l4jLcEMDUWyn1jqhVMLHZOCZ+cLRvX0j5xm2ig06rXwiUWRwez3rfqESVEHCgkfq4doYPchxpKLw4FMeq1nZbPeHlv0FOFSmwNghevIElGBpJSbwSCeYMefTyqd9dg1As81ooXgMBiBqwuensSMwcqZZBV9JyV5FjV26XsBenufb10Jgh1PZpzX9RTjXkSBEHyorFYt5i1sMY78c3qpmdoLPm2PI7qjZm26+2PDDmyOk4m7+2VnjNowDHrIZpexrroDUXOfdUhy7cQsBkyVHoRNBC9peeLtbrurue54v5O3yY3AFcP9cy/nrn2EO8uJzhhdb1vWxJqevNIvvwiPkULsueij7ao13vlohs5H1Sn9UpovbGUemGmuqnYE9iTqSiS4/t6lkDTcxYJtNCut8ssdbQe/dLzAEmyXf+Vi/ff16t+/RGpp1DTVXq520DeR+8QTcx6pPyAPRCFqpRPrFxbIawWZ9vx1yljIdh2Wl8aMzsAzdeFFkq9DWlgY9TT0UqF67FmhvAkxnfPGtm/valNJ4LRh/Qi9gK355Ggv974L+rFa6OebdZLiIH2896S6KBePN2Sx2q8p/zw0ow6Z88Mep+Hwn/EH+/xKMQKxYvBAAAAAElFTkSuQmCC) no-repeat center;background-size:contain}._woringHeader_1ch6t_9 ._title_1ch6t_17: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_1ch6t_39{height:calc(100vh - var(--header-height) - var(--bottom-height) - .96rem);overflow-y:auto;margin-top:.96rem;background:#FFFFFF;border-radius:.42667rem .42667rem 0 0;padding:0 .4rem .32rem}._woringSecgtion_1ch6t_39 ._emptyContainer_1ch6t_47{height:calc(100vh - var(--header-height) - var(--bottom-height) - 2.45333rem)}._woringSecgtion_1ch6t_39 ._title_1ch6t_17{display:flex;align-items:center;font-size:.45333rem;font-weight:600;color:#333;line-height:.64rem;position:sticky;top:0;left:0;z-index:99;padding-top:.32rem;padding-bottom:.21333rem;background-color:#fff}._woringSecgtion_1ch6t_39 ._title_1ch6t_17:before{content:" ";display:inline-block;margin-right:.16rem;width:.10667rem;height:.37333rem;border-radius:.10667rem;background:linear-gradient(128deg,#259CFE 0%,#5BECFF 100%)}._woringSecgtion_1ch6t_39 ._cell_1ch6t_74{padding:.48rem 0}._woringSecgtion_1ch6t_39 ._cell_1ch6t_74 ._iconImg_1ch6t_77{width:1.04rem;height:1.04rem;margin-right:.37333rem}._woringSecgtion_1ch6t_39 ._cell_1ch6t_74 ._cellTitle_1ch6t_82{font-size:.45333rem;font-weight:600;color:#333;line-height:.64rem;max-width:5.86667rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._woringSecgtion_1ch6t_39 ._cell_1ch6t_74 ._cellContent_1ch6t_92{font-size:.37333rem;color:#777;line-height:.53333rem}._woringSecgtion_1ch6t_39 ._cell_1ch6t_74 ._cellContent_1ch6t_92 span{color:#ff5a56;padding-right:.13333rem}._woringSecgtion_1ch6t_39 ._cell_1ch6t_74 .van-cell__label{margin-top:0}\n',document.head.appendChild(j);var k=o(_),E="_woringBook_1ch6t_1",F="_woringHeader_1ch6t_9",N="_leftArrow_1ch6t_14",S="_title_1ch6t_17",L="_woringSecgtion_1ch6t_39",Y="_emptyContainer_1ch6t_47",P="_cell_1ch6t_74",z="_iconImg_1ch6t_77",M="_cellTitle_1ch6t_82",T="_cellContent_1ch6t_92";t("default",i({name:"wroing-book",setup:function(){var t=c(),r=a([]),o=l({list:[],checked:[]}),i=function(){var t,r=(t=e().mark((function t(){var n,r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,v.post("/edu-app/knowledgePoint/studentPage");case 3:n=t.sent,r=n.data,o.list=r||[],t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var e=this,r=arguments;return new Promise((function(o,i){var c=t.apply(e,r);function a(t){n(c,o,i,a,l,"next",t)}function l(t){n(c,o,i,a,l,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}(),_=function(){try{if(console.log(o.checked),o.checked.length<=0)return void y("请选择练习知识点");t.push({path:"/examination-mode",query:{type:"ai",knowledgePointIds:o.checked.join(",")}})}catch(e){}};return u((function(){i()})),function(){var e;return h("div",{class:E},[h(m,{position:"top"},{default:function(){return[h(s,{border:!1,background:"transparent"},{content:function(){return h("div",{class:F},[h("i",{onClick:function(){return t.back()},class:["van-badge__wrapper van-icon van-icon-arrow-left van-nav-bar__arrow",N]},null),h("span",{class:S},[h("i",null,null)])])}})]}}),h("div",{class:L},[h("div",{class:S},[f("请选择练习知识点")]),h(b,{border:!1},{default:function(){return[h(k,{modelValue:o.checked,"onUpdate:modelValue":function(t){return o.checked=t}},(t=e=o.list.map((function(t,e){return h(A,{center:!0,onClick:function(){return function(t){r.value[t].toggle()}(e)},class:P},{icon:function(){return h(x,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAABOCAMAAAC5dNAvAAABX1BMVEUAAADn8//w6er//+3869v/6tXn9P/n9P/n8//o8//+69fn8//96tfq9f//7Njo9f/+69ro9f/77d3/6tTn8//96tb67Nz/6tPo8//n8/8crPH669zl8v7769r86tj+6tb/6dT269/u8PL47ODy7+ro8v3v8PD27eP369707ujv7+3s8ffq8vj5697/so//tpT/wqL/qIPt8fTz7eX17eX/yKn/wJ/q8vr/o3z/qoX/tJH/vp3/oXr/pH/o8fn////x7+3/uJb/xqb/vJv/rYn/n3j/xKT/p4D+nnf/rIj/upjm8vzK3uP/sIz/r4v/u5r/yav6075Jrd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E736PQHV1F4q9B4Js7Fuq7jxzEXz/O8c/J+UYmY63TgkiVx57GSaa4B96Y77nbHZAmuSbgmRhKaubZt6aHBmWEws4Idf2eOEveJE4Frs2JOV2xF4K4fWV3BbVWKC8Stbp8Z3VbEhYTb/C6Ayw3cRhYKdX6c4yT3Er6/8rWfVucghUEYiALoR5ONiEhL24WkMbjJxpv0FqWu295/0XGosUkQgs1zmIl+Mvh4husMBo8x71tgWm5PYfI2ZgiE62Kv6c6ml4mlr4ulrLO/b9aaL0t4Ul9F+WD9+7CzcWH3cdchRk/nsfND030f6bitEzhEK7jcEur8Eltz54Bzl9EZ7TyUorYpPW9RCpWNKIFaZVMDKOj3ro4i3pl6ai4KkOaaSQNWbcSa0SEtr/B10hmc4FT6bxV+NFL3uqfSPF3jwRXkXGsmG3iKWva7ybpAqGwvR7lj1fHSllh8AMtbwifpv+6wAAAAAElFTkSuQmCC",class:z},null)},title:function(){return h("div",{class:M},[t.name])},label:function(){return h("p",{class:T},[h("span",null,[t.questionNum]),f("道错题")])},"right-icon":function(){return h(w,{name:t.pointId,ref:function(t){return r.value[e]=t},onClick:function(t){return t.stopPropagation()}},null)}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!g(t)?e:{default:function(){return[e]}})),o.list.length<=0&&h("div",{class:Y},[h(d,null,null)])];var t}})]),h(m,{position:"bottom",varName:"--bottom-height"},{default:function(){return[h("div",{class:"btnGroup"},[h(p,{round:!0,block:!0,type:"primary",onClick:_},{default:function(){return[f("确认")]}})])]}})])}}}))}}}))}();