"use strict";(self["webpackChunkclassroom"]=self["webpackChunkclassroom"]||[]).push([[679],{5740:function(t,e,r){r.r(e),r.d(e,{default:function(){return Z}});r(7658);var n,i=r(3396),a=r(9242),o=r(7139),s=r.p+"img/xiaoren.2a64c2db.png",u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAABKCAMAAADDjodoAAAAnFBMVEUAAAD4tgD4tgD3tQD4tgD5tgD6swD4tgD4tgD4tQD8uAD3tQD4tQD3tQD4tgD4tQD5twD5tgD5tgD4twD2tAD8tgD4tQD4tQD4tQD4tgD4tgD5tgD2tgD/wwD3tQD3tgD3tQD4tQD3tgD3tgD4tgD5twD3tgD4tgD4tgD3tQD3tQD4tgD4tQD4tQD4tQD4tQD4tQD4tgD2tAD3tQA0rRmlAAAAM3RSTlMA9QjudSkZwbiUH+uhg31jV1E/JRAM8dzRzFwwFAT56OO7tKiXTuHFsa2NiWtIRkPX1ToqOS2NAAABlUlEQVRIx53X6XKCMBSG4URc2EFRQaDuW63Wtt/931vTYeogEpKT5/87mmNCkMkNmIG+STQyaFzLIBqjR48CuPTIxoQerRDR5wB8GMwBW4M54EiONgCm1GgO4JPYDCCExCiCYBMjHwInbqQ1/tzoSwIc2gGsohXtAEIgDn24RGVH/3bAcqgfZfgXaDcTPFja+++MB+1DVaCGu7R5A/obMMazSOc3shrRXP1Qf9ugKVVOcI9XG8URCdHG7qwCtLNn8vU4kPlOZHMbQc4atzaHFTq9D18/ZgcVq/+8sl7fggavnkVHaOL+vfqUawoCHosm+QKF7Va/zngLXV5eu/Yuc+jwS1Y3DdXjS++sqXSW6OS07tpi0bWam2zDBpA5dTw1D5KB7DoPVOGhxV51M3nkRvjhaDgztbzRZDO9S7qOD5iO2Ro1V8bID+YF+coVJga32tbgdie9kh6IK6qsZXeT+iLgU1KUVA9VRrOAEBOjPoTS4H00Y1QpcCFHDhCb/AVIyFEJzuiyk0Hk+AZRHhpESc4MFEziF2lPwlhLsd09AAAAAElFTkSuQmCC",A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAAByCAMAAACr1DW7AAAAn1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8Kd3m4AAAANHRSTlMA/NUF+Kbsd/GQVEEb5ttJFQ8J9LOUax/Qy8K+e2Q8MSPgt09gNikMxp6XimgurquEc4Zci79tpwAAAxhJREFUaN7N2+eS2jAUBeDjiik2xhTTe1uWZDfZ8/7PlklxEgeDLZAu+f4zGmt8dSRfgYc4eJJz6HoxnuGFJKMU8t75g32AtKbFn14gLFkx04asKX+LHEhKu/xjCkmf+ZduC3LazPEgxrGZN4eUGv8xhJBWwH+dIcPjBb8DCXMW6EPCkAWsTzBvwEITGBf7LNaAaSdesUpg1sJijuBSfmSO4FL+wRzBpfwQMkdwKX/lTSMYs3d52xamrFki7MCMDUu9wggnYil3CRNqrKAHA1pdVtGEfh4rsR3oNmdFA+g2ZEV+DL1mrKwPrTo+K7P20KfVfqOC4ybF45zFtj7xqSwY12e75P5HrXm2xQdYtldrt6Ai2c2yR9XAn9S3Cwellpvpm21RO/fWBHTmg9MxoDnZBCT5Yc/eilIs+7RBphZQmN3MckGe28jOUPKCFMCKT/EOtPgck+cNPX7ehL9muz1x7h6Ac+QT1PBdHFHcS5YZIYWtHfyyCChqdMBvTZeCotyetWFRTLhEzoxSgk+XHQUZbhMX6pRgNYpbZgLO1xoaxk1RzJnQsDquOYxolIfrYpsG9Rzc0IpozDhBMeNRMuygxN6nEVGMUruABoQpKmh2qZ2/RyVtl5oFO5QwFaFuE5VttY5tbaBgoHPkD+3fYo19PnzXF1bK6roOOOocixr4uMOSWhygrk0tPiEjXl8bPO01+wJ1PWrRhzqbWqyhzqUWEZSl1MOFsiY1Sc31WfT33L5SkxlUvVGTr1A1oiYeVPnUZARFHWbEY3PBjHhsNpgRj80vzIjHZp8Z8dhcU5u+QGRqujnRZbngdbBiORtKYpYKax3A2dos04WSHUtEMycrwyFLxDrLetTI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90eKePXLzTZz/e6kMo//Py+QFATk+w+J/WLwAAAABJRU5ErkJggg==",g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAkCAMAAAAKJxydAAAAk1BMVEUAAAD5vg/6vg3/vAD6vg75vg36vg76vw76vg76vw36vw7+wA37wAz/xQ/6vw76vg75vg36vw75vg76vw76vw37vw/7wA37wA39vw/6wQr5vw76vw76vw75vg75vg77vw37wA78wA37vw/6vw76vg74uwvyvA34vg75vg76vw76vw/6vw75vw/5vg75vQ76vw35vg4Z1sJGAAAAMHRSTlMAneoH/PjebvDPxSUeDfr05NSkmHhWPzkhGLixrZWJYFlKRDQtFhMR18m+u4uBgGQwV+J7AAABA0lEQVRIx7XVyXLCMBREUWJjA8bGE9hmhjBlTv//16UqLEhXF/QqZ3tV2khP6l21oz5+TcptjzxoJB3ipn7Y7pnir2Vomt8Cydk11UUgL6lr6nkIUhxdU8cYZNi4pk4JSDRzTYUVSH9gm/oC+7BN7SKQKnRNtQHIe+aa6kqQ0dw1lS1A4rFtag0StLapQZ/W5Xvb1A5k8m2amo/AiottbByDlalt7BCAJRfXdOrZKrSNzSKwtW16nmxqmvgEm2xNEzVYvreNhSuw4GAby94gQ2Sau5KvJ9tYF4MtMttYWoBVoWliCbZxTQXyxJumEvloTFNNflsVNKbdMd48XdWDs2n/4QckcMMPeLRnqAAAAABJRU5ErkJggg==",l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAkCAMAAAAKJxydAAAAkFBMVEUAAAD5vg76vg38wQT5vg76vg76vg33vg35vg36vg76vg77vw3/yAD6vg35vg36vg75vg77vw36vw37vw77vw75vxH6vg38wgv7vwz5vg75vg/5vg75vw75vw76vw76vw76vg/6vw76vw36wQ/8wQ74vg75vg36vw75vg76vg/6vw75vw/8wA38vg77wA35vg5sflPtAAAAL3RSTlMAnfwK7NmXDvnwyTsF9eanhnVkXEMsIBcU4b+5tKqRjnpqTTEl4NDCoZ5vV1FLPY+dDHIAAAD1SURBVEjHrdW3cgJREERRsd6yBpYFSVghb/r//04BAWr1VnXCSe/LXs3MnRpnES7yJDRt2rDB1ZtvqozwRxC6pr5q8DPT1DEAaUxTLdhDapp4B0tME+EjSPBhmlgXIPm3aWIVg2wG08TTHKQYTRPLHGQbmiYWGUhrmupAsoVpagcS/Zgmqi1IfDZNpPcgcWqa6vHPwTXVB2A719SpBmsq23RRyRybps7PYMXaNDW+gMUr0/zXYj6YpqoGLCpdU3uw+uSa6gKQrHfNjzw61/ziwd41v/6QuOaXMJau+VNwcM0fpE/TpiW4erVtWtnOLpJjZdqN/AKPF79N4uuL0AAAAABJRU5ErkJggg==",d=r(3332),m=r(3954),w=r(4870),p=function(){return p=Object.assign||function(t){for(var e,r=1,n=arguments.length;re.MAX_VERSION)throw new RangeError("Version value out of range");if(a<-1||a>7)throw new RangeError("Mask value out of range");this.size=4*t+17;for(var o=[],s=0;s7)throw new RangeError("Invalid value");var v,f;for(v=o;;v++){var c=8*e.getNumDataCodewords(v,n),h=a.getTotalBits(t,v);if(h<=c){f=h;break}if(v>=s)throw new RangeError("Data too long")}for(var g=0,l=[e.Ecc.MEDIUM,e.Ecc.QUARTILE,e.Ecc.HIGH];g>>3]|=t<<7-(7&e)})),new e(v,n,N,u)},e.prototype.getModule=function(t,e){return 0<=t&&t>>9);var o=21522^(e<<10|r);i(o>>>15==0);for(a=0;a<=5;a++)this.setFunctionModule(8,a,n(o,a));this.setFunctionModule(8,7,n(o,6)),this.setFunctionModule(8,8,n(o,7)),this.setFunctionModule(7,8,n(o,8));for(a=9;a<15;a++)this.setFunctionModule(14-a,8,n(o,a));for(a=0;a<8;a++)this.setFunctionModule(this.size-1-a,8,n(o,a));for(a=8;a<15;a++)this.setFunctionModule(8,this.size-15+a,n(o,a));this.setFunctionModule(8,this.size-8,!0)},e.prototype.drawVersion=function(){if(!(this.version<7)){for(var t=this.version,e=0;e<12;e++)t=t<<1^7973*(t>>>11);var r=this.version<<12|t;i(r>>>18==0);for(e=0;e<18;e++){var a=n(r,e),o=this.size-11+e%3,s=Math.floor(e/3);this.setFunctionModule(o,s,a),this.setFunctionModule(s,o,a)}}},e.prototype.drawFinderPattern=function(t,e){for(var r=-4;r<=4;r++)for(var n=-4;n<=4;n++){var i=Math.max(Math.abs(n),Math.abs(r)),a=t+n,o=e+r;0<=a&&a=u)&&d.push(e[t])}))};for(c=0;c=1;a-=2){6==a&&(a=5);for(var o=0;o>>3],7-(7&r)),r++)}}i(r==8*t.length)},e.prototype.applyMask=function(t){if(t<0||t>7)throw new RangeError("Mask value out of range");for(var e=0;e5&&t++):(this.finderPenaltyAddHistory(a,o),n||(t+=this.finderPenaltyCountPatterns(o)*e.PENALTY_N3),n=this.modules[r][s],a=1);t+=this.finderPenaltyTerminateAndCount(n,a,o)*e.PENALTY_N3}for(s=0;s5&&t++):(this.finderPenaltyAddHistory(u,o),n||(t+=this.finderPenaltyCountPatterns(o)*e.PENALTY_N3),n=this.modules[r][s],u=1);t+=this.finderPenaltyTerminateAndCount(n,u,o)*e.PENALTY_N3}for(r=0;re.MAX_VERSION)throw new RangeError("Version number out of range");var r=(16*t+128)*t+64;if(t>=2){var n=Math.floor(t/7)+2;r-=(25*n-10)*n-55,t>=7&&(r-=36)}return i(208<=r&&r<=29648),r},e.getNumDataCodewords=function(t,r){return Math.floor(e.getNumRawDataModules(t)/8)-e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][t]*e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][t]},e.reedSolomonComputeDivisor=function(t){if(t<1||t>255)throw new RangeError("Degree out of range");for(var r=[],n=0;n>>8!=0||e>>>8!=0)throw new RangeError("Byte out of range");for(var r=0,n=7;n>=0;n--)r=r<<1^285*(r>>>7),r^=(e>>>n&1)*t;return i(r>>>8==0),r},e.prototype.finderPenaltyCountPatterns=function(t){var e=t[1];i(e<=3*this.size);var r=e>0&&t[2]==e&&t[3]==3*e&&t[4]==e&&t[5]==e;return(r&&t[0]>=4*e&&t[6]>=e?1:0)+(r&&t[6]>=4*e&&t[0]>=e?1:0)},e.prototype.finderPenaltyTerminateAndCount=function(t,e,r){return t&&(this.finderPenaltyAddHistory(e,r),e=0),e+=this.size,this.finderPenaltyAddHistory(e,r),this.finderPenaltyCountPatterns(r)},e.prototype.finderPenaltyAddHistory=function(t,e){0==e[0]&&(t+=this.size),e.pop(),e.unshift(t)},e.MIN_VERSION=1,e.MAX_VERSION=40,e.PENALTY_N1=3,e.PENALTY_N2=3,e.PENALTY_N3=40,e.PENALTY_N4=10,e.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],e.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e}();function r(t,e,r){if(e<0||e>31||t>>>e!=0)throw new RangeError("Value out of range");for(var n=e-1;n>=0;n--)r.push(t>>>n&1)}function n(t,e){return 0!=(t>>>e&1)}function i(t){if(!t)throw new Error("Assertion error")}t.QrCode=e;var a=function(){function t(t,e,r){if(this.mode=t,this.numChars=e,this.bitData=r,e<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return t.makeBytes=function(e){for(var n=[],i=0,a=e;i=1<-1}}}),y=(0,i.aZ)({name:"QRCodeSvg",props:N,setup:function(t){var e=(0,w.iH)(0),r=(0,w.iH)(""),n=function(){var n=t.value,i=t.level,a=t.margin,o=E.QrCode.encodeText(n,M[i]).getModules();e.value=o.length+2*a,r.value=D(o,a)};return n(),(0,i.ic)(n),function(){return(0,i.h)("svg",{width:t.size,height:t.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(e.value," ").concat(e.value)},[(0,i.h)("path",{fill:t.background,d:"M0,0 h".concat(e.value,"v").concat(e.value,"H0z")}),(0,i.h)("path",{fill:t.foreground,d:r.value})])}}}),S=(0,i.aZ)({name:"QRCodeCanvas",props:N,setup:function(t){var e=(0,w.iH)(null),r=function(){var r=t.value,n=t.level,i=t.size,a=t.margin,o=t.background,s=t.foreground,u=e.value;if(u){var A=u.getContext("2d");if(A){var v=E.QrCode.encodeText(r,M[n]).getModules(),f=v.length+2*a,c=window.devicePixelRatio||1,h=i/f*c;u.height=u.width=i*c,A.scale(h,h),A.fillStyle=o,A.fillRect(0,0,f,f),A.fillStyle=s,C?A.fill(new Path2D(D(v,a))):v.forEach((function(t,e){t.forEach((function(t,r){t&&A.fillRect(r+a,e+a,1,1)}))}))}}};return(0,i.bv)(r),(0,i.ic)(r),function(){return(0,i.h)("canvas",{ref:e,style:{width:"".concat(t.size,"px"),height:"".concat(t.size,"px")}})}}}),Q=(0,i.aZ)({name:"Qrcode",render:function(){var t=this.$props,e=t.renderAs,r=t.value,n=t.size,a=t.margin,o=t.level,s=t.background,u=t.foreground,A=n>>>0,v=a>>>0,f=R(o)?o:P;return(0,i.h)("svg"===e?y:S,{value:r,size:A,margin:v,level:f,background:s,foreground:u})},props:B}),x=r(2529),F=r(2483),k=r(4673);const I=t=>((0,i.dD)("data-v-92fb9f6a"),t=t(),(0,i.Cn)(),t),U={class:"login"},b={class:"loginCon"},z=(0,i.uE)('
',1),O={class:"loginBox"},H={class:"scanned",src:c},L={class:"qrcodeBox"},Y={class:"dsc"},T=I((()=>(0,i._)("img",{src:g},null,-1))),V=I((()=>(0,i._)("img",{src:l},null,-1)));var K=(0,i.aZ)({__name:"login",setup(t){const e=(0,x.Z)(),r=(0,F.tv)(),n=(0,w.iH)(""),s=(0,i.Fl)((()=>JSON.stringify({action:"login",uuid:n.value}))),u=(0,w.iH)(1);let A;function v(){(0,m.hk)(d.M$,n.value).then((t=>{200===t.code&&(n.value=t.data.uuid,f())}))}function f(){(0,m.hk)(d.VB,n.value).then((t=>{if(200===t.code){const{status:n}=t.data;if("FINISH"===n)return void e.login(t.data).then((()=>{const e=t.data.appKey,n={GYT:d.uq,GYM:d.Rm,KLX:d.nP};(0,m.gx)(n[e]).then((t=>{511===t.code?(0,k.Z)({onCancel(){r.push({path:"/"})}}):r.push({path:"/"})}))}));if("SCANNED"===n)u.value=2;else if("VERIFIED"===n)u.value=2;else{if("EXPIRED"===n)return void(u.value=3);"NOT_SCAN"===n&&(u.value=1)}A=setTimeout((()=>{clearTimeout(A),f()}),3e3)}else 5440===t.code&&(u.value=3)}))}function c(){A&&clearTimeout(A),v()}return v(),(t,e)=>{const r=(0,i.Q2)("loading");return(0,i.wg)(),(0,i.iD)("div",U,[(0,i._)("div",b,[z,(0,i._)("div",O,[(0,i.wy)((0,i._)("img",H,null,512),[[a.F8,2===u.value]]),(0,i.wy)(((0,i.wg)(),(0,i.iD)("div",L,[(0,i._)("div",{class:(0,o.C_)(["qrCodeCon",{refresh:3===u.value}])},[n.value?((0,i.wg)(),(0,i.j4)(Q,{key:0,class:"qrCode",value:s.value},null,8,["value"])):(0,i.kq)("",!0),(0,i._)("img",{onClick:c,src:h})],2)])),[[a.F8,2!==u.value],[r,!n.value]]),(0,i._)("div",Y,[T,(0,i._)("div",null,(0,o.zw)(2===u.value?"扫码完成,请在手机上操作":"使用客户端扫描二维码登录乐教通"),1),V]),(0,i._)("div",{class:"refreshBtn",onClick:c},(0,o.zw)(2===u.value?"重新扫码":"刷新二维码"),1)])])])}}}),J=r(89);const q=(0,J.Z)(K,[["__scopeId","data-v-92fb9f6a"]]);var j=q,Z=j}}]);