chunk-da064406.0a83c700.js 54 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-da064406"],{"01ea":function(t,e,i){"use strict";var n=i("1412"),r=i.n(n);r.a},"0481":function(t,e,i){"use strict";var n=i("23e7"),r=i("a2bf"),o=i("7b0b"),a=i("50c4"),s=i("a691"),c=i("65f0");n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),i=a(e.length),n=c(e,0);return n.length=r(n,e,e,i,0,void 0===t?1:s(t)),n}})},"07ac":function(t,e,i){var n=i("23e7"),r=i("6f53").values;n({target:"Object",stat:!0},{values:function(t){return r(t)}})},1412:function(t,e,i){},"29d1":function(t,e,i){"use strict";i.d(e,"c",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return a})),i.d(e,"d",(function(){return s})),i.d(e,"e",(function(){return c}));var n=i("1e04");function r(t){return n["a"].post("/print/getPaperWithTopicsDetails",t)}function o(t){return n["a"].post("/third/getOnlinePdf",t)}function a(t){return n["a"].post("/third/getCardStatusByGrade",t)}function s(t){return n["a"].post("/print/saveCardOnline",t)}function c(t){return n["a"].post("/print/sendCreateOnlineAllStudents",t)}},"3c99":function(t,e,i){},4069:function(t,e,i){var n=i("44d2");n("flat")},"4a37":function(t,e,i){!function(e,i){t.exports=i()}(0,(function(){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){"use strict";t.exports=i(3)},function(t,e){"use strict";!function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(void 0!==n&&null!==n){n=Object(n);for(var r=Object.keys(Object(n)),o=0,a=r.length;o<a;o++){var s=r[o],c=Object.getOwnPropertyDescriptor(n,s);void 0!==c&&c.enumerable&&(e[s]=n[s])}}}return e}})}()},function(t,e){"use strict";t.exports=function(){var t={utf16to8:function(t){var e,i,n,r;for(e="",n=t.length,i=0;i<n;i++)r=t.charCodeAt(i),r>=1&&r<=127?e+=t.charAt(i):r>2047?(e+=String.fromCharCode(224|r>>12&15),e+=String.fromCharCode(128|r>>6&63),e+=String.fromCharCode(128|r>>0&63)):(e+=String.fromCharCode(192|r>>6&31),e+=String.fromCharCode(128|r>>0&63));return e},utf8to16:function(t){var e,i,n,r,o,a;for(e="",n=t.length,i=0;i<n;)switch(r=t.charCodeAt(i++),r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e+=t.charAt(i-1);break;case 12:case 13:o=t.charCodeAt(i++),e+=String.fromCharCode((31&r)<<6|63&o);break;case 14:o=t.charCodeAt(i++),a=t.charCodeAt(i++),e+=String.fromCharCode((15&r)<<12|(63&o)<<6|(63&a)<<0)}return e}};return t}()},function(t,e,i){"use strict";i(1),i(4);var n=i(2),r=function(){function t(t){var e=new QRCode(t.typeNumber,t.correctLevel);e.addData(t.text),e.make();var i=document.createElement("canvas");i.width=t.width,i.height=t.height;var n=i.getContext("2d"),r=(t.width-2*t.padding)/e.getModuleCount(),o=(t.height-2*t.padding)/e.getModuleCount();if(t.reverse){var a="rgba(0, 0, 0, 0)";n.fillStyle=a,t.foreground=a}else n.fillStyle=t.background;n.fillRect(0,0,i.width,i.height);for(var s=0;s<e.getModuleCount();s++)for(var c=0;c<e.getModuleCount();c++){n.fillStyle=e.isDark(s,c)?t.foreground:t.background;var u=Math.ceil((c+1)*r)-Math.floor(c*r),l=Math.ceil((s+1)*r)-Math.floor(s*r);n.fillRect(Math.round(c*r)+t.padding,Math.round(s*o)+t.padding,u,l)}return i}var e={getQrBase64:function(e,i){"string"!=typeof e&&(e=""),"string"==typeof i?i={text:i}:"object"!=typeof i&&(i={}),i=Object.assign({padding:10,width:256,height:256,typeNumber:-1,correctLevel:QRErrorCorrectLevel.H,reverse:!1,background:"#ffffff",foreground:"#000000"},i);try{i.text=n.utf16to8(e)}catch(t){i.text=""+t}var r=t(i);return r.toDataURL()}};return e.QRErrorCorrectLevel=QRErrorCorrectLevel,e}();!window.jrQrcode&&(window.jrQrcode=r),t.exports=r},function(t,e){function i(t){this.mode=s.MODE_8BIT_BYTE,this.data=t}function n(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}function r(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var i=0;i<t.length&&0==t[i];)i++;this.num=new Array(t.length-i+e);for(var n=0;n<t.length-i;n++)this.num[n]=t[n+i]}function o(t,e){this.totalCount=t,this.dataCount=e}function a(){this.buffer=new Array,this.length=0}i.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},n.prototype={addData:function(t){var e=new i(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=o.getRSBlocks(t,this.errorCorrectLevel),i=new a,n=0,r=0;r<e.length;r++)n+=e[r].dataCount;for(r=0;r<this.dataList.length;r++){var s=this.dataList[r];i.put(s.mode,4),i.put(s.getLength(),l.getLengthInBits(s.mode,t)),s.write(i)}if(i.getLengthInBits()<=8*n)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++)this.modules[i][r]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=n.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var i=-1;i<=7;i++)if(!(t+i<=-1||this.moduleCount<=t+i))for(var n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+i][e+n]=0<=i&&i<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==i||6==i)||2<=i&&i<=4&&2<=n&&n<=4)},getBestMaskPattern:function(){for(var t=0,e=0,i=0;i<8;i++){this.makeImpl(!0,i);var n=l.getLostPoint(this);(0==i||t>n)&&(t=n,e=i)}return e},createMovieClip:function(t,e,i){var n=t.createEmptyMovieClip(e,i),r=1;this.make();for(var o=0;o<this.modules.length;o++)for(var a=o*r,s=0;s<this.modules[o].length;s++){var c=s*r,u=this.modules[o][s];u&&(n.beginFill(0,100),n.moveTo(c,a),n.lineTo(c+r,a),n.lineTo(c+r,a+r),n.lineTo(c,a+r),n.endFill())}return n},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=l.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var i=0;i<t.length;i++){var n=t[e],r=t[i];if(null==this.modules[n][r])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[n+o][r+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=l.getBCHTypeNumber(this.typeNumber),i=0;i<18;i++){var n=!t&&1==(e>>i&1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=n}for(i=0;i<18;i++){n=!t&&1==(e>>i&1);this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=n}},setupTypeInfo:function(t,e){for(var i=this.errorCorrectLevel<<3|e,n=l.getBCHTypeInfo(i),r=0;r<15;r++){var o=!t&&1==(n>>r&1);r<6?this.modules[r][8]=o:r<8?this.modules[r+1][8]=o:this.modules[this.moduleCount-15+r][8]=o}for(r=0;r<15;r++){o=!t&&1==(n>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=o:r<9?this.modules[8][15-r-1+1]=o:this.modules[8][15-r-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var i=-1,n=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[n][a-s]){var c=!1;o<t.length&&(c=1==(t[o]>>>r&1));var u=l.getMask(e,n,a-s);u&&(c=!c),this.modules[n][a-s]=c,r--,-1==r&&(o++,r=7)}if(n+=i,n<0||this.moduleCount<=n){n-=i,i=-i;break}}}},n.PAD0=236,n.PAD1=17,n.createData=function(t,e,i){for(var r=o.getRSBlocks(t,e),s=new a,c=0;c<i.length;c++){var u=i[c];s.put(u.mode,4),s.put(u.getLength(),l.getLengthInBits(u.mode,t)),u.write(s)}var d=0;for(c=0;c<r.length;c++)d+=r[c].dataCount;if(s.getLengthInBits()>8*d)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*d+")");for(s.getLengthInBits()+4<=8*d&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;;){if(s.getLengthInBits()>=8*d)break;if(s.put(n.PAD0,8),s.getLengthInBits()>=8*d)break;s.put(n.PAD1,8)}return n.createBytes(s,r)},n.createBytes=function(t,e){for(var i=0,n=0,o=0,a=new Array(e.length),s=new Array(e.length),c=0;c<e.length;c++){var u=e[c].dataCount,d=e[c].totalCount-u;n=Math.max(n,u),o=Math.max(o,d),a[c]=new Array(u);for(var f=0;f<a[c].length;f++)a[c][f]=255&t.buffer[f+i];i+=u;var p=l.getErrorCorrectPolynomial(d),h=new r(a[c],p.getLength()-1),g=h.mod(p);s[c]=new Array(p.getLength()-1);for(f=0;f<s[c].length;f++){var m=f+g.getLength()-s[c].length;s[c][f]=m>=0?g.get(m):0}}var v=0;for(f=0;f<e.length;f++)v+=e[f].totalCount;var C=new Array(v),b=0;for(f=0;f<n;f++)for(c=0;c<e.length;c++)f<a[c].length&&(C[b++]=a[c][f]);for(f=0;f<o;f++)for(c=0;c<e.length;c++)f<s[c].length&&(C[b++]=s[c][f]);return C};for(var s={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},c={L:1,M:0,Q:3,H:2},u={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},l={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;l.getBCHDigit(e)-l.getBCHDigit(l.G15)>=0;)e^=l.G15<<l.getBCHDigit(e)-l.getBCHDigit(l.G15);return(t<<10|e)^l.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;l.getBCHDigit(e)-l.getBCHDigit(l.G18)>=0;)e^=l.G18<<l.getBCHDigit(e)-l.getBCHDigit(l.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return l.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,i){switch(t){case u.PATTERN000:return(e+i)%2==0;case u.PATTERN001:return e%2==0;case u.PATTERN010:return i%3==0;case u.PATTERN011:return(e+i)%3==0;case u.PATTERN100:return(Math.floor(e/2)+Math.floor(i/3))%2==0;case u.PATTERN101:return e*i%2+e*i%3==0;case u.PATTERN110:return(e*i%2+e*i%3)%2==0;case u.PATTERN111:return(e*i%3+(e+i)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new r([1],0),i=0;i<t;i++)e=e.multiply(new r([1,d.gexp(i)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case s.MODE_NUMBER:return 10;case s.MODE_ALPHA_NUM:return 9;case s.MODE_8BIT_BYTE:return 8;case s.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case s.MODE_NUMBER:return 12;case s.MODE_ALPHA_NUM:return 11;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case s.MODE_NUMBER:return 14;case s.MODE_ALPHA_NUM:return 13;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),i=0,n=0;n<e;n++)for(var r=0;r<e;r++){for(var o=0,a=t.isDark(n,r),s=-1;s<=1;s++)if(!(n+s<0||e<=n+s))for(var c=-1;c<=1;c++)r+c<0||e<=r+c||0==s&&0==c||a==t.isDark(n+s,r+c)&&o++;o>5&&(i+=3+o-5)}for(n=0;n<e-1;n++)for(r=0;r<e-1;r++){var u=0;t.isDark(n,r)&&u++,t.isDark(n+1,r)&&u++,t.isDark(n,r+1)&&u++,t.isDark(n+1,r+1)&&u++,0!=u&&4!=u||(i+=3)}for(n=0;n<e;n++)for(r=0;r<e-6;r++)t.isDark(n,r)&&!t.isDark(n,r+1)&&t.isDark(n,r+2)&&t.isDark(n,r+3)&&t.isDark(n,r+4)&&!t.isDark(n,r+5)&&t.isDark(n,r+6)&&(i+=40);for(r=0;r<e;r++)for(n=0;n<e-6;n++)t.isDark(n,r)&&!t.isDark(n+1,r)&&t.isDark(n+2,r)&&t.isDark(n+3,r)&&t.isDark(n+4,r)&&!t.isDark(n+5,r)&&t.isDark(n+6,r)&&(i+=40);var l=0;for(r=0;r<e;r++)for(n=0;n<e;n++)t.isDark(n,r)&&l++;var d=Math.abs(100*l/e/e-50)/5;return i+10*d}},d={glog:function(t){if(t<1)throw new Error("glog("+t+")");return d.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},f=0;f<8;f++)d.EXP_TABLE[f]=1<<f;for(f=8;f<256;f++)d.EXP_TABLE[f]=d.EXP_TABLE[f-4]^d.EXP_TABLE[f-5]^d.EXP_TABLE[f-6]^d.EXP_TABLE[f-8];for(f=0;f<255;f++)d.LOG_TABLE[d.EXP_TABLE[f]]=f;r.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),i=0;i<this.getLength();i++)for(var n=0;n<t.getLength();n++)e[i+n]^=d.gexp(d.glog(this.get(i))+d.glog(t.get(n)));return new r(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=d.glog(this.get(0))-d.glog(t.get(0)),i=new Array(this.getLength()),n=0;n<this.getLength();n++)i[n]=this.get(n);for(n=0;n<t.getLength();n++)i[n]^=d.gexp(d.glog(t.get(n))+e);return new r(i,0).mod(t)}},o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(t,e){var i=o.getRsBlockTable(t,e);if(void 0==i)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var n=i.length/3,r=new Array,a=0;a<n;a++)for(var s=i[3*a+0],c=i[3*a+1],u=i[3*a+2],l=0;l<s;l++)r.push(new o(c,u));return r},o.getRsBlockTable=function(t,e){switch(e){case c.L:return o.RS_BLOCK_TABLE[4*(t-1)+0];case c.M:return o.RS_BLOCK_TABLE[4*(t-1)+1];case c.Q:return o.RS_BLOCK_TABLE[4*(t-1)+2];case c.H:return o.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},a.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var i=0;i<e;i++)this.putBit(1==(t>>>e-i-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},window.QRCode=n,window.QRErrorCorrectLevel=c;try{t.exports={QRCode:n,QRErrorCorrectLevel:c}}catch(t){}}])}))},"50dc":function(t,e,i){t.exports=i.p+"img/code.bcb5f484.png"},5530:function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));i("a4d3"),i("4de4"),i("4160"),i("e439"),i("dbb4"),i("b64b"),i("159b");var n=i("ade3");function r(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?r(Object(i),!0).forEach((function(e){Object(n["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}},"6f53":function(t,e,i){var n=i("83ab"),r=i("df75"),o=i("fc6a"),a=i("d1e7").f,s=function(t){return function(e){var i,s=o(e),c=r(s),u=c.length,l=0,d=[];while(u>l)i=c[l++],n&&!a.call(s,i)||d.push(t?[i,s[i]]:s[i]);return d}};t.exports={entries:s(!0),values:s(!1)}},"8a6d":function(t,e,i){"use strict";i("99af"),i("0481"),i("4160"),i("caad"),i("4069"),i("159b");var n=i("2909");e["a"]=function(t,e,i){for(var r=JSON.parse(JSON.stringify(t)).flat(),o={},a=[],s=[],c=[],u=function(t){if(o[r[t].modelId])if(r[t].isQuestionText){if(o["".concat(r[t].modelId,"_1")]){var i,a;if(s=o["".concat(r[t].modelId,"_1")].questions,c=JSON.parse(JSON.stringify(r[t].questions)),s.length>0&&s[s.length-1].alias==c[0].alias)(a=s[s.length-1].queOptions).push.apply(a,Object(n["a"])(JSON.parse(JSON.stringify(c[0].queOptions)))),c.shift();(i=o["".concat(r[t].modelId,"_1")].questions).push.apply(i,Object(n["a"])(JSON.parse(JSON.stringify(c))))}else o["".concat(r[t].modelId,"_1")]=JSON.parse(JSON.stringify(r[t]));o["".concat(r[t].modelId,"_1")].orderNo=t}else if([7,17,27,77].includes(r[t].questionTypeId))if(17===r[t].questionTypeId&&r[t].QuestionTextList){var u=o[r[t].modelId].QuestionTextList[o[r[t].modelId].QuestionTextList.length-1];r[t].QuestionTextList.forEach((function(i){u.alias!==i.alias||e?o[r[t].modelId].QuestionTextList.push(JSON.parse(JSON.stringify(i))):u.contentHtml=u.contentHtml+i.contentHtml})),r[t].questions.length>0&&(o[r[t].modelId].questions=r[t].questions)}else{var l=o[r[t].modelId].questions[o[r[t].modelId].questions.length-1];r[t].questions.forEach((function(i){var n=!0;17==r[t].questionTypeId&&(n=!(!l||l.ChooseArea!=i.ChooseArea)),l&&77==r[t].questionTypeId&&(l.isShowArticleCn=!0),l&&l.alias===i.alias&&n&&!e?(l.TopicAreaHeight=l.TopicAreaHeight+i.TopicAreaHeight,l.contentHtml=l.contentHtml+i.contentHtml,l.endPositionNumber=i.endPositionNumber):o[r[t].modelId].questions.push(JSON.parse(JSON.stringify(i)))}))}else o[r[t].modelId].questions=o[r[t].modelId].questions.concat(JSON.parse(JSON.stringify(r[t].questions))),o[r[t].modelId].orderNo=t;else o[r[t].modelId]=JSON.parse(JSON.stringify(r[t])),o[r[t].modelId].orderNo=t},l=0;l<r.length;l++)u(l);var d=0;for(var f in o)d++,o[f].isLast=1===d&&i?o[f].isLast:null,a.push(o[f]);return a.sort((function(t,e){return t.orderNo<e.orderNo})),a}},a2bf:function(t,e,i){"use strict";var n=i("e8b5"),r=i("50c4"),o=i("0366"),a=function(t,e,i,s,c,u,l,d){var f,p=c,h=0,g=!!l&&o(l,d,3);while(h<s){if(h in i){if(f=g?g(i[h],h,e):i[h],u>0&&n(f))p=a(t,e,f,r(f.length),p,u-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[p]=f}p++}h++}return p};t.exports=a},a434:function(t,e,i){"use strict";var n=i("23e7"),r=i("23cb"),o=i("a691"),a=i("50c4"),s=i("7b0b"),c=i("65f0"),u=i("8418"),l=i("1dde"),d=i("ae40"),f=l("splice"),p=d("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,g=Math.min,m=9007199254740991,v="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!f||!p},{splice:function(t,e){var i,n,l,d,f,p,C=s(this),b=a(C.length),_=r(t,b),T=arguments.length;if(0===T?i=n=0:1===T?(i=0,n=b-_):(i=T-2,n=g(h(o(e),0),b-_)),b+i-n>m)throw TypeError(v);for(l=c(C,n),d=0;d<n;d++)f=_+d,f in C&&u(l,d,C[f]);if(l.length=n,i<n){for(d=_;d<b-n;d++)f=d+n,p=d+i,f in C?C[p]=C[f]:delete C[p];for(d=b;d>b-n+i;d--)delete C[d-1]}else if(i>n)for(d=b-n;d>_;d--)f=d+n-1,p=d+i-1,f in C?C[p]=C[f]:delete C[p];for(d=0;d<i;d++)C[d+_]=arguments[d+2];return C.length=b-n+i,l}})},ab12:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"to-pdf-html",style:"width:"+t.calcPaperSize+"mm"},t._l(t.paperArr,(function(e,n){return i("Side",{key:n,attrs:{pageIndex:n,paper:e,totalPageNum:t.pageArr.length}})})),1)},r=[],o=(i("4160"),i("159b"),i("5530")),a=i("2f62"),s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"side"},[t._l(t.paper,(function(e,n){return i("paperItem",{key:n,attrs:{content:e,totalPageNum:t.totalPageNum,pageIndex:e.pageIndex}})})),t._l(5,(function(e){return i("span",{key:"dot_"+e,class:["main-dot","dox-"+e,0==t.pageIndex?"page-front":"page-back",t.cardSetting.hasBindingLine?"has-line":""],attrs:{"data-option":"bl"}})}))],2)},c=[],u=(i("a9e3"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-item",style:{width:t.calcPaperSize.width+"mm",height:t.calcPaperSize.height+"mm"}},[!t.cardSetting.hasBindingLine||0!=t.pageIndex&&t.pageIndex!=2*t.cardSetting.column-1?t._e():i("paper-line",{attrs:{pageIndex:t.pageIndex}}),i("paper-content",t._g(t._b({attrs:{PaperLineFlag:t.cardSetting.hasBindingLine,pageIndex:t.pageIndex}},"paper-content",t.$attrs,!1),t.$listeners)),i("div",{staticClass:"page-num"},[t._v("第"+t._s(t.pageIndex+1)+"页 共"+t._s(t.totalPageNum)+"页")])],1)}),l=[],d=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:["paper-line",{"line-left":0==t.pageIndex,"line-right":t.pageIndex==2*t.cardSetting.column-1}]},[1===t.cardSetting.hasBindingLine&&0==t.pageIndex?i("div",{staticClass:"examinee-info"},[!t.cardSetting.examinationNumberType.includes(1)&&t.cardSetting.examinationNumberType.includes(2)?i("div",{staticClass:"item"},[i("span",{staticClass:"red bineLineClassName"}),t._m(0)]):t._e(),i("div",{staticClass:"item"},[i("span",{staticClass:"red bindLineExamineeName"},[t.cardSetting.useQrCode?t._l("系统自动生成姓名信息",(function(e){return i("b",{key:e},[t._v(t._s(e))])})):t._e()],2),t._m(1)]),i("div",{staticClass:"item"},[i("span",{staticClass:"red bineLineClassName"},[t.cardSetting.useQrCode?t._l("系统自动生成班级信息",(function(e){return i("b",{key:e},[t._v(t._s(e))])})):t._e()],2),t._m(2)])]):t._e(),t._m(3)])},f=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("em",[i("i",[t._v(":")]),i("i",[t._v("号")]),i("i",[t._v("考")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("em",[i("i",[t._v(":")]),i("i",[t._v("名")]),i("i",[t._v("姓")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("em",[i("i",[t._v(":")]),i("i",[t._v("级")]),i("i",[t._v("班")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"line"},[i("span",[t._v("线")]),i("span",[t._v("订")]),i("span",[t._v("装")])])}],p={name:"PaperLine",props:{pageIndex:{type:Number,default:null}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"]))},h=p,g=i("2877"),m=Object(g["a"])(h,d,f,!1,null,"ef1d94e2",null),v=m.exports,C=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:["paper-content",{"line-left":t.PaperLineFlag&&0===t.pageIndex,"line-right":t.PaperLineFlag&&t.pageIndex==2*t.cardSetting.column-1}]},[0==t.pageIndex?i("paper-info"):t._e(),i("paper-topic",t._g(t._b({attrs:{pageIndex:t.pageIndex}},"paper-topic",t.$attrs,!1),t.$listeners))],1)},b=[],_=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-info"},[i("PaperTitle"),0==t.cardSetting.hasBindingLine?i("GradeAndName"):t._e(),t.cardSetting.hasPaperMsg?i("PaperInfo"):t._e(),i("PaperAttention"),i("PaperCard")],1)},T=[],S=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-title"},[i("div",{staticClass:"dtkName",attrs:{id:"dtkName"}},[t._v(t._s(t.cardSetting.title))])])},y=[],A=i("60a6"),I={name:"PaperTitle",computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),methods:Object(o["a"])(Object(o["a"])({},Object(a["c"])("answerSheet",{setCardSetting:A["c"]})),{},{setTitle:function(){this.setCardSetting(this.cardSetting)}})},x=I,O=Object(g["a"])(x,S,y,!1,null,"255f0350",null),w=O.exports,P=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-grade clearfix"},[i("div",{staticClass:"item"},[i("em",[t._v("班级:")]),i("span",{staticClass:"red className"},[t._v(t._s(t.cardSetting.useQrCode?"系统自动生成班级信息":""))])]),i("div",{staticClass:"item"},[i("em",[t._v("姓名:")]),i("span",{staticClass:"red examineeName"},[t._v(t._s(t.cardSetting.useQrCode?"系统自动生成姓名信息":""))])]),!t.cardSetting.examinationNumberType.includes(1)&&t.cardSetting.examinationNumberType.includes(2)?i("div",{staticClass:"item"},[i("em",[t._v("考号:")]),i("span",{staticClass:"red examineeName"})]):t._e()])},E=[],L={name:"GradeAndName",computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"]))},N=L,j=Object(g["a"])(N,P,E,!1,null,null,null),B=j.exports,D=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-info exam-info clearfix"},t._l(t.infoList,(function(e){return i("span",{key:e.id},[t._v(t._s(e.name)+":"),i("span",{staticClass:"input-paper-info",class:{number:e.id<2}},[t._v(t._s(e.text))]),t._v(t._s(e.units))])})),0)},k=[],M=i("2909"),H={name:"PaperInfo",data:function(){return{paperInfoDialog:!1,checkedTempInfo:[0,1,2,3],checkedInfo:[0,1,2,3],cardSettingTemp:{examInfoConfig:[]}}},computed:Object(o["a"])(Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),{},{infoList:function(){var t=[];return this.cardSetting.examInfoConfig.forEach((function(e){e.isShow&&t.push(e)})),t}}),methods:Object(o["a"])(Object(o["a"])({},Object(a["c"])("answerSheet",{setCardSetting:A["c"]})),{},{editInfo:function(){this.paperInfoDialog=!0,this.cardSettingTemp=JSON.parse(JSON.stringify(this.cardSetting))},setInfoList:function(){this.setCardSetting(this.cardSetting)},confirm:function(){this.paperInfoDialog=!1,this.setCardSetting(this.cardSettingTemp)},cancel:function(){this.paperInfoDialog=!1,this.checkedTempInfo=Object(M["a"])(this.checkedInfo)}})},q=H,R=Object(g["a"])(q,D,k,!1,null,"4d9f8054",null),$=R.exports,z=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-attention"},[i("div",{class:["notice-info","page-width-"+(t.calcPaperSize.width>165?"default":"small")]},[i("i",{staticClass:"simple-border right"}),i("i",{staticClass:"simple-border"}),i("div",{staticClass:"tips-info"},[t._m(0),i("div",{staticClass:"notice-detail"},[t.isShowAttention(0)?i("p",[t._v("1、考生务必正确书写班级、姓名,请填涂系统准考证号。")]):t._e(),t.isShowAttention(1)?i("p",[t._v("1、考生务必正确书写班级、姓名,请填涂学校准考证号。")]):t._e(),t._l(t.attentionList,(function(e,n){return i("p",{key:n},[t._v(t._s(t.cardSetting.useQrCode?n+1:n+2)+"、"+t._s(e))])}))],2)]),i("div",{staticClass:"warming-info"},[i("div",{staticClass:"notice-ewm"},[t.cardSetting.useQrCode?i("i",{staticClass:"cover red"},[t._v("系统生成"),i("br"),t._v("考生二维码")]):t._e(),t.cardSetting.useQrCode?t._e():i("img",{staticClass:"dtk-ewm",attrs:{src:t.codeImg,id:"dtk-ewm"}})]),t._m(1)])])])},J=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("h3",{staticClass:"notice-title"},[i("i",[t._v("注")]),i("i",[t._v("意")]),i("i",[t._v("事")]),i("i",[t._v("项")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"noticeLose"},[i("h4",[t._v("缺考标记 "),i("i",{staticClass:"absent-mark"})]),i("p",[t._v("考生禁止填涂缺考标记!")]),i("p",[t._v("只能由监考老师负责填涂。")])])}],Q=i("f35d"),F=i("4a37"),W=i.n(F),G={name:"PaperAttention",data:function(){return{attentionOne:["考生务必正确书写班级、姓名,请填涂系统准考证号。","考生务必正确书写班级、姓名,请填涂学校准考证号。"],attentionList:["考生务必用2B铅笔填涂。","考生务必在答题卡指定位置作答,并保持卷面整洁。","如需要条形码,则考生务必要在指定位置正确贴好条形码。","教师务必使用红笔阅卷。"],codeImg:"",img:i("50dc")}},methods:{isShowAttention:function(t){return 0===t?!this.cardSetting.useQrCode&&0==this.cardSetting.cardStatus:1!==t||!this.cardSetting.useQrCode&&1==this.cardSetting.cardStatus}},mixins:[Q["a"]],mounted:function(){this.codeImg=W.a.getQrBase64("刘峰")}},K=G,X=Object(g["a"])(K,z,J,!1,null,"0a6343b1",null),U=X.exports,Y=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-card"},[t.cardSetting.examinationNumberType.includes(1)?i("div",{staticClass:"exam-id card-flex"},[i("div",{staticClass:"card-id clearfix"},t._l(Number(t.cardSetting.cardLength),(function(e){return i("div",{key:"id_"+e,staticClass:"fl"},[i("span",{staticClass:"square"}),i("ul",t._l(10,(function(t){return i("li",{key:t},[i("span",{class:["iconfont","iconnum_"+(t-1)]})])})),0)])})),0),t.cardSetting.examinationNumberType.includes(2)&&([1,2].includes(this.cardSetting.paperSize)||t.cardSetting.cardLength<13&&[3,4,5].includes(t.cardSetting.paperSize))?i("div",{staticClass:"card-code clearfix"},[t._m(0)]):t._e()]):t._e(),!t.cardSetting.examinationNumberType.includes(1)&&t.cardSetting.examinationNumberType.includes(2)?i("div",{staticClass:"exam-code card-flex"},[t._m(1)]):t._e()])},V=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"code-img fr"},[i("div",{staticClass:"code-words"},[i("i",[t._v("条")]),i("i",[t._v("形")]),i("i",[t._v("码")])])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"card-code clearfix"},[i("div",{staticClass:"code-img fl"},[i("div",{staticClass:"code-words cross-code"},[i("i",[t._v("条")]),i("i",[t._v("形")]),i("i",[t._v("码")])])])])}],Z={name:"PaperCard",computed:Object(o["a"])(Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),{},{calcFlex:function(){return 3==this.cardSetting.paperSize||Number(this.cardSetting.cardLength)>9?2==this.cardSetting.direction?"flex":"block":3!=this.cardSetting.column&&1==this.cardSetting.direction?"flex":"block"}}),mixins:[Q["a"]]},tt=Z,et=Object(g["a"])(tt,Y,V,!1,null,null,null),it=et.exports,nt={name:"PaperInfoIndex",components:{PaperTitle:w,GradeAndName:B,PaperInfo:$,PaperAttention:U,PaperCard:it},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),filters:{},props:{hasPaperTitle:{type:Boolean,default:!1},hasPaperGrade:{type:Boolean,default:!1},hasPaperInfo:{type:Boolean,default:!1},hasPaperAttention:{type:Boolean,default:!1},hasPaperCard:{type:Boolean,default:!1}},data:function(){return{}},mounted:function(){},methods:{}},rt=nt,ot=Object(g["a"])(rt,_,T,!1,null,"425bcce1",null),at=ot.exports,st=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-topic"},t._l(t.content,(function(e,n){return i("div",{key:"topic_"+n,class:["content-"+n,"paper-topic-content"]},[e.isLast?t._e():i("TopicTitle",{attrs:{titleInfo:t.setTopicTitle(e),txt:e}}),e.isQuestionText?t._e():[[1,2,11].includes(e.questionTypeId)?i("TopicChoice",t._g(t._b({class:"topic-"+e.questionTypeId,attrs:{topicInfo:e.questions,modelId:e.modelId,setConfig:e.topicConfigureData}},"TopicChoice",t.$attrs,!1),t.$listeners)):t._e(),5==e.questionTypeId?i("TopicFill",t._g(t._b({attrs:{topicInfo:e.questions,modelId:e.modelId,setConfig:e.topicConfigureData}},"TopicFill",t.$attrs,!1),t.$listeners)):t._e()],[7,17,27].includes(e.questionTypeId)?[17===e.questionTypeId&&e.QuestionTextList?i("ChooseTopic",{attrs:{topic:e.QuestionTextList}}):t._e(),t._l(e.questions,(function(n){return i("TopicExplain",t._g({key:""+n.alias+n.ChooseArea+n.cutId+Math.random(),attrs:{topicInfo:n,setConfig:e}},t.$listeners))}))]:t._e(),1===t.answerCardType&&1==e.isQuestionText?t._l(e.questions,(function(t,e){return i("Topic",{key:e,attrs:{topicContent:t}})})):t._e(),[77].includes(e.questionTypeId)&&9==t.subject?t._l(e.questions,(function(n){return i("TopicExplain",t._g(t._b({key:""+n.alias+n.cutId+Math.random(),attrs:{topicInfo:n,setConfig:e}},"TopicExplain",t.$attrs,!1),t.$listeners))})):t._e(),[77].includes(e.questionTypeId)&&8==t.subject?t._l(e.questions,(function(n){return i("TopicExplain",t._g(t._b({key:""+n.alias+n.cutId+Math.random(),attrs:{topicInfo:n,setConfig:e}},"TopicExplain",t.$attrs,!1),t.$listeners))})):t._e(),999===e.questionTypeId?i("BlankPage",t._b({},"BlankPage",t.$attrs,!1)):t._e()],2)})),0)},ct=[],ut=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("h3",{staticClass:"topic-title big-topic-title",staticStyle:{height:"auto"}},[t._v(t._s(t.titleInfo.topicTitleText)),i("span",[t._v(t._s(t.titleInfo.topicSubTitleText))])])},lt=[],dt={name:"TopicTitle",data:function(){return{}},props:{titleInfo:{type:Object,default:function(){return{}}}}},ft=dt,pt=Object(g["a"])(ft,ut,lt,!1,null,null,null),ht=pt.exports,gt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"topic-choice clearfix",class:["flex-direction-"+t.form.direction,{"topic-box-border":t.optionsArr.length>0}]},t._l(t.optionsArr,(function(e,n){return i("ul",{key:n,staticClass:"single-option clearfix"},t._l(e,(function(e,n){return i("li",{key:n,staticClass:"clearfix"},[i("em",[t._v(t._s(e.alias))]),t._l(parseInt(e.optionCount),(function(t,e){return i("span",{key:e,class:["iconfont","iconwords_"+e]})}))],2)})),0)})),0)},mt=[],vt=(i("d81d"),i("8a6d")),Ct=i("fbd4"),bt={name:"TopicChoice",mixins:[Ct["a"]],props:{topicInfo:{type:Array,default:function(){return[]}},setConfig:{type:Object,default:function(){return{}}},modelId:{type:String},pageIndex:{type:Number,default:null}},watch:{topicInfo:{handler:function(t){this.isMounted&&this.sortOptions(t)},deep:!0}},data:function(){return{optionsArr:[],topicSetDialog:!1,form:{direction:0,tempDirection:0,infoList:[{id:0,name:"横向"},{id:1,name:"纵向"}]},isMounted:!1}},created:function(){this.form.direction=this.setConfig.direction||0,this.form.tempDirection=this.setConfig.direction||0},mounted:function(){this.sortOptions(this.topicInfo),this.isMounted=!0},methods:{sortOptions:function(t){var e=this;this.optionsArr=[],t.forEach((function(t,i){e.optionsArr[parseInt(i/5)]||(e.optionsArr[parseInt(i/5)]=[]),e.optionsArr[parseInt(i/5)].push(t)}))},openSet:function(){0!==this.paperSource?this.topicSetDialog=!0:this.$emit("showEditBigTopic",this.modelId)},confirm:function(){var t=this;if(this.topicSetDialog=!1,this.form.direction=this.form.tempDirection,1==this.paperSource){var e=[];e=Object(vt["a"])(this.bigTopicPageArr),e=e.map((function(e){return e.modelId==t.modelId&&(e.topicConfigureData.direction=t.form.direction),e})),this.setBigTopicPageArr([e]),this.setInitPageFlag(!this.initPageFlag)}},cancel:function(){this.topicSetDialog=!1,this.form.tempDirection=this.form.direction}}},_t=bt,Tt=Object(g["a"])(_t,gt,mt,!1,null,"6dff197c",null),St=Tt.exports,yt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"topic-fill",class:[{"topic-box-border":t.topicInfo.length>0}]},[i("div",{staticClass:"subjectCol clearfix ",class:["","col-"+(t.setConfig.columns||1)]},t._l(t.topicInfo,(function(e,n){return i("div",{key:n,staticClass:"fill-item clearfix",style:{height:(t.setConfig.rowLineHeight||40)+"px"}},[i("span",[t._v(t._s(e.alias)+"、")]),i("em",{style:{height:(t.setConfig.rowLineHeight||40)+"px"}}),i("strong",t._l(t.form.scoreArr,(function(e){return i("i",{key:e},[t._v(t._s(e))])})),0)])})),0)])},At=[],It=(i("ac1f"),i("1276"),{name:"TopicFill",mixins:[Ct["a"]],props:{topicInfo:{type:Array,default:function(){return[]}},setConfig:{type:Object,default:function(){return{}}},modelId:{type:String},pageIndex:{type:Number,default:null}},watch:{setConfig:{handler:function(){this.isMounted&&this.initFill()},deep:!0}},data:function(){return{topicSetDialog:!1,form:{columnCount:1,rowLineHeight:40,scoreBoxCount:0,columnCountArr:[1,2,3],rowHieightArr:[25,30,35,40,45,50],scoreBoxArr:[{id:1,label:"空白方框"},{id:2,label:"2/3/5"},{id:3,label:"2/3/4/6"},{id:4,label:"2/4"}],scoreArr:[2,3,5]},isMounted:!1}},mounted:function(){this.initFill(),this.isMounted=!0},methods:{initFill:function(){var t=this;this.form.scoreBoxArr.forEach((function(e,i){e.id==t.setConfig.scoreStyle&&(t.form.scoreBoxCount=i)})),this.form.scoreArr=0==this.form.scoreBoxCount?[""]:this.form.scoreBoxArr[this.form.scoreBoxCount].label.split("/")}}}),xt=It,Ot=Object(g["a"])(xt,yt,At,!1,null,"6a79b9e5",null),wt=Ot.exports,Pt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"topic-item topic-explain"},[t.isArticleChOver?t._e():i("div",{ref:"topicModule",staticClass:"module"},[1===t.topicInfo.cutId?i("div",{staticClass:"scoring-box"},[t._l(t.topicScore,(function(e,n){return i("span",{key:n},[t._v(t._s(e))])})),t.isShowNoScoring?i("span",{staticClass:"no-scoring",style:{width:t.noScoringW+"px"}},[t._v("禁打分区")]):t._e()],2):t._e(),17===t.topicInfo.questionTypeId&&1===t.topicInfo.cutId?i("div",{staticClass:"optional-box"},t._l(t.ChooseOptData,(function(t,e){return i("span",{key:"opt_"+t,class:["iconfont","optional-span","iconwords_"+e]})})),0):t._e(),i("div",{staticClass:"topic-answer-area",style:{height:t.TopicAreaHeight+"px"}},[i("div",{staticClass:"topic-content",attrs:{height:t.TopicAreaHeight},domProps:{innerHTML:t._s(t.topicInfo.contentHtml)}})])]),77===t.setConfig.questionTypeId&&9===t.topicInfo.subject&&t.topicInfo.isShowArticleCn?i("ArticleCh",{attrs:{wordsCountCh:t.setWordsCountCh,pageIndex:t.pageIndex}}):t._e()],1)},Et=[],Lt=(i("99af"),i("c975"),i("07ac"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"article-chinese",style:{padding:t.rectPadding/2+"px"}},[i("svg",{staticClass:"article-svg",style:{height:t.totalRowsArr.length/2*(t.squareSize.h+10)-t.squareSize.h-10+"px"},attrs:{xmlns:"http://www.w3.org/2000/svg",version:"1.1"}},[i("rect",{ref:"rect",staticClass:"article-rect",attrs:{width:"100%",height:"100%"}}),t._l(t.textArr,(function(e,n){return i("text",{key:"text_"+n,attrs:{x:e.x,y:e.y,fill:"#000"}},[t._v(t._s(e.count))])})),t._l(t.totalRowsArr,(function(e,n){return i("line",{directives:[{name:"show",rawName:"v-show",value:n!=t.totalRowsArr.length-1,expression:"index!=totalRowsArr.length-1"}],key:"total_"+n,staticStyle:{stroke:"rgb(0,0,0)","stroke-width":"0.8"},attrs:{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2}})})),t._l(t.lineArr,(function(t,e){return i("line",{key:e,staticStyle:{stroke:"rgb(0,0,0)","stroke-width":"0.8"},attrs:{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2}})}))],2)])}),Nt=[],jt=(i("a630"),i("3ca3"),{name:"ArticleCh",mixins:[Q["a"]],props:{wordsCountCh:{type:Object,default:function(){return{start:1,end:1}}},pageIndex:Number},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["squareSize"])),watch:{},data:function(){return{svgWidth:0,lineArr:[],totalRowsArr:[],textArr:[],rectPadding:0,isMounted:!1}},methods:{startX:function(){var t=parseInt(this.svgWidth/this.squareSize.w);if(t<1)return!1;this.rectPadding=this.svgWidth-this.squareSize.w*t;var e=Math.ceil((this.wordsCountCh.end-this.wordsCountCh.start+1)/t);this.totalRowsArr=[];for(var i=0;i<e+1;i++)this.totalRowsArr.push({x1:0,y1:i*(this.squareSize.h+10)-10,x2:this.svgWidth,y2:i*(this.squareSize.h+10)-10}),this.totalRowsArr.push({x1:0,y1:i*(this.squareSize.h+10),x2:this.svgWidth,y2:i*(this.squareSize.h+10)});for(var n=0;n<t*e;n++)if(this.lineArr.push({x1:parseInt(n%t)*this.squareSize.w,y1:0===n?parseInt(n/t)*this.squareSize.h:parseInt(n/t)*(this.squareSize.h+10),x2:parseInt(n%t)*this.squareSize.w,y2:0===n?parseInt(n/t)*this.squareSize.h+this.squareSize.h:parseInt(n/t)*(this.squareSize.h+10)+this.squareSize.h}),(n+this.wordsCountCh.start)%100==0){var r=void 0,o=void 0;r=n%t*this.squareSize.w,o=Math.ceil(n/t)*(this.squareSize.h+10),this.textArr.push({x:r,y:o,count:n+this.wordsCountCh.start})}}},mounted:function(){var t=document.querySelectorAll(".to-pdf-html")[0],e=Array.from(t.querySelectorAll(".article-chinese"));this.cardSetting.hasBindingLine?this.pageIndex==this.bigTopicPageArr.length-1?this.svgWidth=e[e.length-1].offsetWidth:(this.pageIndex,this.svgWidth=e[0].offsetWidth):this.svgWidth=document.querySelector(".article-chinese").offsetWidth,this.isMounted=!0,this.startX()}}),Bt=jt,Dt=Object(g["a"])(Bt,Lt,Nt,!1,null,"2657a1f3",null),kt=Dt.exports,Mt={name:"TopicExplain",props:{topicInfo:{type:Object,default:function(){return[]}},setConfig:{type:Object,default:function(){return{}}},pageIndex:{type:Number,default:null}},components:{ArticleCh:kt},data:function(){return{dialogVisibleIsAddTopic:!1,TopicAreaHeight:200,modelId:"",isMove:!1,bit:[0,1,2,3,4,5,6,7,8,9],scoreLimitMap:{16:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],15:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],29:{tenPlace:[1,2]},49:{tenPlace:[1,2,3,4]},69:{tenPlace:[1,2,3,4,5,6]}},scoreLimitMapArr:[15,16,29,49],noScoringW:48,ChooseOptData:[]}},computed:Object(o["a"])(Object(o["a"])({},Object(a["b"])("answerSheet",["bigTopicArr","bigTopicPageArr","paperListData","initPageFlag","paperSource"])),{},{topicScore:function(){var t=0,e=this.topicInfo.fullScore,i=!1;1===this.paperSource?(t=this.topicInfo.scoreLimit,i=1==this.topicInfo.point):(t=this.setConfig.topicConfigureData.scoreLimit,i=this.setConfig.topicConfigureData.hasHalfScore);var n=[];if(t<17)if(e>15)n=this.scoreLimitMap[t];else for(var r=0;r<e+1;r++)n.push(r);else n.push("十位"),n=n.concat(this.scoreLimitMap[t].tenPlace),n.push("个位"),n=n.concat(this.bit);return i&&n.push("0.5"),n},isShowNoScoring:function(){var t=0,e=this.topicInfo.fullScore;return t=1===this.paperSource?this.topicInfo.scoreLimit:this.setConfig.topicConfigureData.scoreLimit,t<17&&e<t},isArticleChOver:function(){return this.topicInfo.TopicAreaHeight<1&&77===this.setConfig.questionTypeId&&9===this.topicInfo.subject},setWordsCountCh:function(){return{start:this.topicInfo.startPositionNumber||1,end:this.topicInfo.endPositionNumber}}}),watch:{topicInfo:{handler:function(){this.getDefaultData()},deep:!0}},created:function(){this.getDefaultData()},mounted:function(){this.setNoScoringW()},methods:Object(o["a"])(Object(o["a"])({},Object(a["c"])("answerSheet",{setBigTopicArr:A["b"],setPaperListData:A["k"],setBigTopicPageArr:A["j"],setInitPageFlag:A["f"]})),{},{getDefaultData:function(){this.TopicAreaHeight=this.topicInfo.TopicAreaHeight,17==this.setConfig.questionTypeId&&this.getChooseOptData()},getChooseOptData:function(){this.ChooseOptData=[];for(var t=this.setConfig.topicConfigureData.topicTypeArr[0].chooseOption,e=0;e<t;e++){var i=String.fromCharCode(65+e);this.ChooseOptData.push(i)}},setNoScoringW:function(){if(void 0===this.$refs.topicModule)return!1;var t=this.$refs.topicModule.offsetWidth;this.noScoringW=(16-this.topicInfo.fullScore)*(t/18),this.noScoringW<48&&(this.noScoringW=48)},setTopicAreaHeight:function(){77===this.setConfig.questionTypeId&&8===this.setConfig.topicConfigureData.subject&&(this.TopicAreaHeight=this.$refs.ueCard.ue.body.scrollHeight,this.topicInfo.TopicAreaHeight=this.TopicAreaHeight)},moveTopicAreaHeight:function(t){var e=this,i=[],n=0;this.$refs.ueCard.ue.body.querySelectorAll("img").forEach((function(t){-1===t.className.indexOf("mathType")&&i.push(t.offsetTop+t.offsetHeight)})),this.$refs.ueCard.ue.body.querySelectorAll("p").forEach((function(t){n=t.offsetHeight+n}));var r=Math.max.apply(Math,i),o=r>n?r:n;o<20&&(o=20);var a=e.TopicAreaHeight,s=t.pageY,c=0;this.isMove=!0,document.addEventListener("mousemove",(function(t){if(e.isMove){c=t.pageY-s;var i=a+c;e.TopicAreaHeight=i>o?i:o}})),document.addEventListener("mouseup",this.stopMoveTopicAreaHeight)},stopMoveTopicAreaHeight:function(){this.isMove=!1,this.topicInfo.TopicAreaHeight=this.TopicAreaHeight,this.setInitPageFlag(!this.initPageFlag),document.removeEventListener("mouseup",this.stopMoveTopicAreaHeight)},handleCloseAddTopic:function(){this.dialogVisibleIsAddTopic=!1},showEditBigTopic:function(){this.modelId=this.setConfig.modelId,this.dialogVisibleIsAddTopic=!0},editTopicData:function(){var t,e=this,i=[],n=0,r="";this.bigTopicPageArr.forEach((function(t){t.forEach((function(t){e.setConfig.modelId===t.modelId&&t.questions.forEach((function(t){t.alias===e.topicInfo.alias&&i.push(t)}))}))})),i.forEach((function(t){n+=t.TopicAreaHeight,r+=t.contentHtml}));var o=JSON.parse(JSON.stringify(this.bigTopicArr));o[this.setConfig.modelId].questions.forEach((function(t){t.alias===e.topicInfo.alias&&(t.TopicAreaHeight=n,t.contentHtml=r)}));var a=[];a=(t=a).concat.apply(t,Object(M["a"])(Object.values(this.bigTopicArr))),this.setBigTopicPageArr([Object(M["a"])(JSON.parse(JSON.stringify(a)))]),this.setInitPageFlag(!this.initPageFlag)},delTopicOver:function(){},ueReady:function(){this.setTopicAreaHeight()},getAnswerMinScoreLimit:function(t){for(var e,i=16,n=0;e=this.scoreLimitMapArr[n++];)if(e>=t){i=e;break}return i},ueBlur:function(){}})},Ht=Mt,qt=Object(g["a"])(Ht,Pt,Et,!1,null,"0af0bfb7",null),Rt=qt.exports,$t=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"paper-topic-choice topic-box-border",style:{"line-height":(t.topicContent.rowLineHeight||30)+"px","font-size":(t.topicContent.fontSizeCount||14)+"px"}},[t.topicContent.isOnlyShowOption?t._e():i("div",{staticClass:"title",style:{"line-height":(t.topicContent.rowLineHeight||30)+"px"}},[i("span",{staticClass:"topic-no"},[t._v(t._s(t.topicContent.alias)+"、")]),i("div",{staticClass:"title-content",domProps:{innerHTML:t._s(t.topicContent.queBody)}})]),[1,2,11].includes(t.topicContent.questionTypeId)&&t.topicContent.queOptions.length>0?i("ol",{staticClass:"options"},t._l(t.topicContent.queOptions,(function(e,n){return i("li",{key:n,class:["option-item","list-style-"+t.topicContent.listType]},[i("span",{staticClass:"options-words"},[t._v(t._s(t.words[e.index])+".")]),i("span",{domProps:{innerHTML:t._s(e.content)}})])})),0):t._e()])},zt=[],Jt={name:"Topic",data:function(){return{topicSetDialog:!1,fillSetting:{columnCount:1,rowLineHeight:30,fontSizeCount:12},form:{columnCount:0,rowLineHeight:30,fontSizeCount:12,columnCountArr:[{id:0,label:1},{id:1,label:4},{id:2,label:2}],rowHieightArr:[25,30,35,40,45,50],fontSizeArr:[12,14,16,18]},words:["A","B","C","D","E","F","G","H","I","J","K","L","M"]}},props:{topicContent:{type:Object,default:function(){return{}}}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["paperSource","bigTopicPageArr","initPageFlag"])),mounted:function(){this.initTopic()},methods:Object(o["a"])(Object(o["a"])({},Object(a["c"])("answerSheet",{setBigTopicPageArr:A["j"],setInitPageFlag:A["f"]})),{},{initTopic:function(){this.form.columnCount=this.topicContent.listType,this.form.rowLineHeight=this.topicContent.rowLineHeight||30,this.form.fontSizeCount=this.topicContent.fontSizeCount||14},confirm:function(){this.topicSetDialog=!1,this.topicContent.listType=this.form.columnCountArr[this.form.columnCount].id,this.topicContent.rowLineHeight=this.form.rowLineHeight,this.topicContent.fontSizeCount=this.form.fontSizeCount,this.setBigTopicPageArr([Object(vt["a"])(this.bigTopicPageArr)]),this.setInitPageFlag(!this.initPageFlag)},cancel:function(){this.topicSetDialog=!1}})},Qt=Jt,Ft=(i("01ea"),Object(g["a"])(Qt,$t,zt,!1,null,"cfe6e3fc",null)),Wt=Ft.exports,Gt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"choose-topic"},t._l(t.topic,(function(e){return i("div",{key:e.alias,staticClass:"title"},[i("span",{staticClass:"topic-no"},[t._v(t._s(e.alias)+"、")]),i("div",{staticClass:"title-content clearfix",domProps:{innerHTML:t._s(e.queBody)}})])})),0)},Kt=[],Xt={name:"ChooseTopic",components:{},filters:{},props:{topic:Array},data:function(){return{}},computed:{},watch:{},created:function(){},mounted:function(){},methods:{}},Ut=Xt,Yt=Object(g["a"])(Ut,Gt,Kt,!1,null,"6d632cb8",null),Vt=Yt.exports,Zt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"blankPage",staticClass:"blank-page"},[t._v(" 此区域禁止作答 ")])},te=[],ee={name:"BlankPage",filters:{},props:{pageIndex:{type:Number,default:null}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"])),mounted:function(){this.$refs.blankPage.style.height=document.querySelectorAll(".paper-item")[0].offsetHeight-100+"px"}},ie=ee,ne=Object(g["a"])(ie,Zt,te,!1,null,null,null),re=ne.exports,oe={name:"PaperTopic",components:{TopicTitle:ht,TopicChoice:St,TopicFill:wt,TopicExplain:Rt,Topic:Wt,ChooseTopic:Vt,BlankPage:re},props:{content:{type:Array,default:function(){return[]}}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["answerCardType","subject","paperSource","bigTopicArr"])),methods:{setTopicTitle:function(t){var e=t.bigTitle,i="";return 1!=this.paperSource||t.isQuestionText||(i=t.subtitle),{topicTitleText:e,topicSubTitleText:i}}}},ae=oe,se=Object(g["a"])(ae,st,ct,!1,null,null,null),ce=se.exports,ue={name:"PaperContent",components:{PaperInfo:at,PaperTopic:ce},props:{PaperLineFlag:{type:Number,default:0},pageIndex:{type:Number,default:null}},data:function(){return{}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting"]))},le=ue,de=Object(g["a"])(le,C,b,!1,null,"6c792674",null),fe=de.exports,pe={name:"PaperIndex",components:{PaperLine:v,PaperContent:fe},mixins:[Q["a"]],props:{pageIndex:{type:Number,default:null},totalPageNum:{type:Number,default:null}}},he=pe,ge=Object(g["a"])(he,u,l,!1,null,"eac5901a",null),me=ge.exports,ve={name:"Side",components:{paperItem:me},filters:{},props:{paper:Array,totalPageNum:{type:Number,default:null},pageIndex:Number},data:function(){return{}},computed:Object(o["a"])({},Object(a["b"])("answerSheet",["cardSetting","bigTopicPageArr"])),watch:{},created:function(){},mounted:function(){},methods:{}},Ce=ve,be=Object(g["a"])(Ce,s,c,!1,null,"c12dbb88",null),_e=be.exports,Te={name:"toPdfHtml",components:{Side:_e},filters:{},props:{},data:function(){return{paperArr:[],pageArr:[],defaultBlankPage:{bigTitle:"",subtitle:"",questionTypeId:999,topicList:[],questions:[]}}},computed:Object(o["a"])(Object(o["a"])({},Object(a["b"])("answerSheet",["sizeConfig","bigTopicPageArr","cardSetting"])),{},{calcPaperSize:function(){var t=this.cardSetting.paperSize,e=this.cardSetting.direction,i=this.sizeConfig[t].width,n=this.sizeConfig[t].height,r=1===e?n:i;return r}}),watch:{},created:function(){},mounted:function(){this.getDefaultData()},methods:{getDefaultData:function(){var t=this;this.paperArr=[];var e=2*this.cardSetting.column;if(this.pageArr=JSON.parse(JSON.stringify(this.bigTopicPageArr)),this.pageArr.length<e)for(var i=e-this.pageArr.length,n=0;n<i;n++)this.pageArr.push([this.defaultBlankPage]);this.pageArr.forEach((function(e,i){var n=Math.floor(i/t.cardSetting.column);e.pageIndex=i,t.paperArr[n]?t.paperArr[n].push(e):t.paperArr[n]=[e]}))}}},Se=Te,ye=(i("dcfc"),Object(g["a"])(Se,n,r,!1,null,null,null));e["a"]=ye.exports},c740:function(t,e,i){"use strict";var n=i("23e7"),r=i("b727").findIndex,o=i("44d2"),a=i("ae40"),s="findIndex",c=!0,u=a(s);s in[]&&Array(1)[s]((function(){c=!1})),n({target:"Array",proto:!0,forced:c||!u},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(s)},d81d:function(t,e,i){"use strict";var n=i("23e7"),r=i("b727").map,o=i("1dde"),a=i("ae40"),s=o("map"),c=a("map");n({target:"Array",proto:!0,forced:!s||!c},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},dbb4:function(t,e,i){var n=i("23e7"),r=i("83ab"),o=i("56ef"),a=i("fc6a"),s=i("06cf"),c=i("8418");n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){var e,i,n=a(t),r=s.f,u=o(n),l={},d=0;while(u.length>d)i=r(n,e=u[d++]),void 0!==i&&c(l,e,i);return l}})},dcfc:function(t,e,i){"use strict";var n=i("3c99"),r=i.n(n);r.a},e439:function(t,e,i){var n=i("23e7"),r=i("d039"),o=i("fc6a"),a=i("06cf").f,s=i("83ab"),c=r((function(){a(1)})),u=!s||c;n({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},f35d:function(t,e,i){"use strict";var n=i("5530"),r=i("2f62");e["a"]={computed:Object(n["a"])(Object(n["a"])({},Object(r["b"])("answerSheet",["cardSetting","sizeConfig","bigTopicArr","bigTopicPageArr"])),{},{calcPaperSize:function(){var t=this.cardSetting.paperSize,e=this.cardSetting.direction,i=this.cardSetting.column,n=this.sizeConfig[t].width,r=this.sizeConfig[t].height,o=1===e?r/i:n/i,a=1===e?n:r;return{width:o,height:a}}})}},fbd4:function(t,e,i){"use strict";i("c740"),i("4160"),i("a434"),i("159b");var n=i("5530"),r=i("8a6d"),o=i("2f62"),a=i("60a6");e["a"]={data:function(){return{}},computed:Object(n["a"])({},Object(o["b"])("answerSheet",["paperSource","bigTopicPageArr","initPageFlag","cardSetting"])),methods:Object(n["a"])(Object(n["a"])({},Object(o["c"])("answerSheet",{setBigTopicPageArr:a["j"],setInitPageFlag:a["f"],setBigTopicArr:a["b"]})),{},{delTopic:function(){var t=this;this.$confirm("确定要删除当前题目吗?","提示",{cancelButtonText:"取消",confirmButtonText:"确定",callback:function(e){if("confirm"==e){var i,n=[];n=Object(r["a"])(t.bigTopicPageArr),i=n.findIndex((function(e){return e.modelId==t.modelId})),n.splice(i,1);var o=0;n.forEach((function(t){t.questions.forEach((function(t){o+=t.fullScore}))})),t.cardSetting.examInfoConfig.forEach((function(t){1===t.id&&(t.text=o)}));var a={};n.forEach((function(t){a[t.modelId]=JSON.parse(JSON.stringify(t))})),t.setBigTopicArr(a),t.setBigTopicPageArr([n]),t.setInitPageFlag(!t.initPageFlag),t.$message({type:"info",message:"删除成功"})}}})}})}}}]);