You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
52 KiB
4 lines
52 KiB
(self["webpackChunkeatwhat"]=self["webpackChunkeatwhat"]||[]).push([[279],{79096:function(t){function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}t.exports=e,t.exports.__esModule=!0,t.exports["default"]=t.exports},29889:function(t){function e(t){if(Array.isArray(t))return t}t.exports=e,t.exports.__esModule=!0,t.exports["default"]=t.exports},45620:function(t,e,n){function i(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done);a=!0)if(r.push(i.value),e&&r.length===e)break}catch(A){s=!0,o=A}finally{try{a||null==n["return"]||n["return"]()}finally{if(s)throw o}}return r}}n(47699),n(95129),n(42359),n(17742),n(73196),n(63402),t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},19939:function(t,e,n){function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n(5764),t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},59135:function(t,e,n){var i=n(29889),o=n(45620),r=n(94269),a=n(19939);function s(t,e){return i(t)||o(t,e)||r(t,e)||a()}t.exports=s,t.exports.__esModule=!0,t.exports["default"]=t.exports},94269:function(t,e,n){n(7716),n(42359),n(39897),n(71205),n(73196),n(23685),n(95701);var i=n(79096);function o(t,e){if(t){if("string"===typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}t.exports=o,t.exports.__esModule=!0,t.exports["default"]=t.exports},71205:function(t,e,n){var i=n(95197),o=n(70923),r=n(21440),a=!r((function(t){Array.from(t)}));i({target:"Array",stat:!0,forced:a},{from:o})},98741:function(t,e,n){var i=n(93016);i("asyncIterator")},15647:function(t,e,n){var i,o,r;t=n.nmd(t);var a=n(59135)["default"],s=n(87085)["default"];n(42359),n(95604),n(61739),n(80487),n(90131),n(5764),n(7669),n(67827),n(7945),n(61727),n(5855),n(47699),n(95129),n(90771),n(30404),n(27706),n(28973),n(16842),function(n,a){"object"==s(e)&&"object"==s(t)?t.exports=a():(o=[],i=a,r="function"===typeof i?i.apply(e,o):i,void 0===r||(t.exports=r))}(0,(function(){return function(){"use strict";var t={358:function(t,e,n){var i=n(81),o=n.n(i),r=n(645),a=n.n(r)()(o());a.push([t.id,".vue-puzzle-vcode {\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.3);\n z-index: 999;\n opacity: 0;\n pointer-events: none;\n -webkit-transition: opacity 200ms;\n transition: opacity 200ms;\n}\n.vue-puzzle-vcode.show_ {\n opacity: 1;\n pointer-events: auto;\n}\n.vue-auth-box_ {\n position: absolute;\n top: 40%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n padding: 20px;\n background: #fff;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n border-radius: 3px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);\n}\n.vue-auth-box_ .auth-body_ {\n position: relative;\n overflow: hidden;\n border-radius: 3px;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.8);\n z-index: 20;\n opacity: 1;\n -webkit-transition: opacity 200ms;\n transition: opacity 200ms;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n}\n.vue-auth-box_ .auth-body_ .loading-box_.hide_ {\n opacity: 0;\n pointer-events: none;\n}\n.vue-auth-box_ .auth-body_ .loading-box_.hide_ .loading-gif_ span {\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ {\n -webkit-box-flex: 0;\n -webkit-flex: none;\n flex: none;\n height: 5px;\n line-height: 0;\n}\n@-webkit-keyframes load {\n0% {\n opacity: 1;\n -webkit-transform: scale(1.3);\n transform: scale(1.3);\n}\n100% {\n opacity: 0.2;\n -webkit-transform: scale(0.3);\n transform: scale(0.3);\n}\n}\n@keyframes load {\n0% {\n opacity: 1;\n -webkit-transform: scale(1.3);\n transform: scale(1.3);\n}\n100% {\n opacity: 0.2;\n -webkit-transform: scale(0.3);\n transform: scale(0.3);\n}\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span {\n display: inline-block;\n width: 5px;\n height: 100%;\n margin-left: 2px;\n border-radius: 50%;\n background-color: #888;\n -webkit-animation: load 1.04s ease infinite;\n animation: load 1.04s ease infinite;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(1) {\n margin-left: 0;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(2) {\n -webkit-animation-delay: 0.13s;\n animation-delay: 0.13s;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(3) {\n -webkit-animation-delay: 0.26s;\n animation-delay: 0.26s;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(4) {\n -webkit-animation-delay: 0.39s;\n animation-delay: 0.39s;\n}\n.vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(5) {\n -webkit-animation-delay: 0.52s;\n animation-delay: 0.52s;\n}\n.vue-auth-box_ .auth-body_ .info-box_ {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 24px;\n line-height: 24px;\n text-align: center;\n overflow: hidden;\n font-size: 13px;\n background-color: #83ce3f;\n opacity: 0;\n -webkit-transform: translateY(24px);\n transform: translateY(24px);\n -webkit-transition: all 200ms;\n transition: all 200ms;\n color: #fff;\n z-index: 10;\n}\n.vue-auth-box_ .auth-body_ .info-box_.show {\n opacity: 0.95;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n}\n.vue-auth-box_ .auth-body_ .info-box_.fail {\n background-color: #ce594b;\n}\n.vue-auth-box_ .auth-body_ .auth-canvas2_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 60px;\n height: 100%;\n z-index: 2;\n}\n.vue-auth-box_ .auth-body_ .auth-canvas3_ {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n -webkit-transition: opacity 600ms;\n transition: opacity 600ms;\n z-index: 3;\n}\n.vue-auth-box_ .auth-body_ .auth-canvas3_.show {\n opacity: 1;\n}\n.vue-auth-box_ .auth-body_ .flash_ {\n position: absolute;\n top: 0;\n left: 0;\n width: 30px;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.1);\n z-index: 3;\n}\n.vue-auth-box_ .auth-body_ .flash_.show {\n -webkit-transition: -webkit-transform 600ms;\n transition: -webkit-transform 600ms;\n transition: transform 600ms;\n transition: transform 600ms, -webkit-transform 600ms;\n}\n.vue-auth-box_ .auth-body_ .reset_ {\n position: absolute;\n top: 2px;\n right: 2px;\n width: 35px;\n height: auto;\n z-index: 12;\n cursor: pointer;\n -webkit-transition: -webkit-transform 200ms;\n transition: -webkit-transform 200ms;\n transition: transform 200ms;\n transition: transform 200ms, -webkit-transform 200ms;\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n.vue-auth-box_ .auth-body_ .reset_:hover {\n -webkit-transform: rotate(-90deg);\n transform: rotate(-90deg);\n}\n.vue-auth-box_ .auth-control_ .range-box {\n position: relative;\n width: 100%;\n background-color: #eef1f8;\n margin-top: 20px;\n border-radius: 3px;\n box-shadow: 0 0 8px rgba(240, 240, 240, 0.6) inset;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-text {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n font-size: 14px;\n color: #b7bcd1;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n text-align: center;\n width: 100%;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider {\n position: absolute;\n height: 100%;\n width: 50px;\n background-color: rgba(106, 160, 255, 0.8);\n border-radius: 3px;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn {\n position: absolute;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n right: 0;\n width: 50px;\n height: 100%;\n background-color: #fff;\n border-radius: 3px;\n box-shadow: 0 0 4px #ccc;\n cursor: pointer;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn > div {\n width: 0;\n height: 40%;\n -webkit-transition: all 200ms;\n transition: all 200ms;\n border: solid 1px #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn > div:nth-child(2) {\n margin: 0 4px;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:first-child,\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:first-child {\n border: solid 4px transparent;\n height: 0;\n border-right-color: #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(2),\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(2) {\n border-width: 3px;\n height: 0;\n border-radius: 3px;\n margin: 0 6px;\n border-right-color: #6aa0ff;\n}\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(3),\n.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(3) {\n border: solid 4px transparent;\n height: 0;\n border-left-color: #6aa0ff;\n}\n.vue-puzzle-overflow {\n overflow: hidden !important;\n}\n",""]),e.Z=a},645:function(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,o,r){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var A=this[s][0];null!=A&&(a[A]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);i&&a[u[0]]||(void 0!==r&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),e.push(u))}},e}},81:function(t){t.exports=function(t){return t[1]}},379:function(t){var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var r={},a=[],s=0;s<t.length;s++){var A=t[s],l=i.base?A[0]+i.base:A[0],u=r[l]||0,c="".concat(l," ").concat(u);r[l]=u+1;var h=n(c),d={css:A[1],media:A[2],sourceMap:A[3],supports:A[4],layer:A[5]};if(-1!==h)e[h].references++,e[h].updater(d);else{var f=o(d,i);i.byIndex=s,e.splice(s,0,{identifier:c,updater:f,references:1})}a.push(c)}return a}function o(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var r=i(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<r.length;a++){var s=n(r[a]);e[s].references--}for(var A=i(t,o),l=0;l<r.length;l++){var u=n(r[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}r=A}}},569:function(t){var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},216:function(t){t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},565:function(t,e,n){t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},795:function(t){t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,o&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var r=n.sourceMap;r&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},589:function(t){t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={id:i,exports:{}};return t[i](r,r.exports,n),r.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return function(){n.r(i),n.d(i,{default:function(){return x}});var t=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["vue-puzzle-vcode",{show_:t.show}],on:{mousedown:t.onCloseMouseDown,mouseup:t.onCloseMouseUp,touchstart:t.onCloseMouseDown,touchend:t.onCloseMouseUp}},[n("div",{staticClass:"vue-auth-box_",on:{mousedown:function(t){t.stopPropagation()},touchstart:function(t){t.stopPropagation()}}},[n("div",{staticClass:"auth-body_",style:"height: "+t.canvasHeight+"px"},[n("canvas",{ref:"canvas1",style:"width:"+t.canvasWidth+"px;height:"+t.canvasHeight+"px",attrs:{width:t.canvasWidth,height:t.canvasHeight}}),t._v(" "),n("canvas",{ref:"canvas3",class:["auth-canvas3_",{show:t.isSuccess}],style:"width:"+t.canvasWidth+"px;height:"+t.canvasHeight+"px",attrs:{width:t.canvasWidth,height:t.canvasHeight}}),t._v(" "),n("canvas",{ref:"canvas2",staticClass:"auth-canvas2_",style:"width:"+t.puzzleBaseSize+"px;height:"+t.canvasHeight+"px;transform:translateX("+(t.styleWidth-t.sliderBaseSize-(t.puzzleBaseSize-t.sliderBaseSize)*((t.styleWidth-t.sliderBaseSize)/(t.canvasWidth-t.sliderBaseSize)))+"px)",attrs:{width:t.puzzleBaseSize,height:t.canvasHeight}}),t._v(" "),n("div",{class:["loading-box_",{hide_:!t.loading}]},[t._m(0)]),t._v(" "),n("div",{class:["info-box_",{show:t.infoBoxShow},{fail:t.infoBoxFail}]},[t._v("\n "+t._s(t.infoText)+"\n ")]),t._v(" "),n("div",{class:["flash_",{show:t.isSuccess}],style:"transform: translateX("+(t.isSuccess?t.canvasWidth+.578*t.canvasHeight+"px":"-"+.578*t.canvasHeight+"px")+") skew(-30deg, 0);"}),t._v(" "),n("img",{staticClass:"reset_",attrs:{src:t.resetSvg},on:{click:t.reset}})]),t._v(" "),n("div",{staticClass:"auth-control_"},[n("div",{staticClass:"range-box",style:"height:"+t.sliderBaseSize+"px"},[n("div",{staticClass:"range-text"},[t._v(t._s(t.sliderText))]),t._v(" "),n("div",{ref:"range-slider",staticClass:"range-slider",style:"width:"+t.styleWidth+"px"},[n("div",{class:["range-btn",{isDown:t.mouseDown}],style:"width:"+t.sliderBaseSize+"px",on:{mousedown:function(e){return t.onRangeMouseDown(e)},touchstart:function(e){return t.onRangeMouseDown(e)}}},[n("div"),t._v(" "),n("div"),t._v(" "),n("div")])])])])])])};t._withStripped=!0;var e={props:{canvasWidth:{type:Number,default:310},canvasHeight:{type:Number,default:160},show:{type:Boolean,default:!1},puzzleScale:{type:Number,default:1},sliderSize:{type:Number,default:50},range:{type:Number,default:10},imgs:{type:Array},successText:{type:String,default:"验证通过!"},failText:{type:String,default:"验证失败,请重试"},sliderText:{type:String,default:"拖动滑块完成拼图"}},data:function(){return{mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:null,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1,resetSvg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfj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pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII="}},mounted:function(){document.body.appendChild(this.$el),document.addEventListener("mousemove",this.onRangeMouseMove,!1),document.addEventListener("mouseup",this.onRangeMouseUp,!1),document.addEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.addEventListener("touchend",this.onRangeMouseUp,!1),this.show&&(document.body.classList.add("vue-puzzle-overflow"),this.reset())},beforeDestroy:function(){clearTimeout(this.timer1),document.body.removeChild(this.$el),document.removeEventListener("mousemove",this.onRangeMouseMove,!1),document.removeEventListener("mouseup",this.onRangeMouseUp,!1),document.removeEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onRangeMouseUp,!1)},watch:{show:function(t){t?(document.body.classList.add("vue-puzzle-overflow"),this.reset()):(this.isSubmting=!1,this.isSuccess=!1,this.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))}},computed:{styleWidth:function(){var t=this.startWidth+this.newX-this.startX;return t<this.sliderBaseSize?this.sliderBaseSize:t>this.canvasWidth?this.canvasWidth:t},puzzleBaseSize:function(){return Math.round(52.5*Math.max(Math.min(this.puzzleScale,2),.2)+6)},sliderBaseSize:function(){return Math.max(Math.min(Math.round(this.sliderSize),Math.round(.5*this.canvasWidth)),10)}},methods:{onClose:function(){this.mouseDown||(clearTimeout(this.timer1),this.$emit("close"))},onCloseMouseDown:function(){this.closeDown=!0},onCloseMouseUp:function(){this.closeDown&&this.onClose(),this.closeDown=!1},onRangeMouseDown:function(t){this.isCanSlide&&(this.mouseDown=!0,this.startWidth=this.$refs["range-slider"].clientWidth,this.newX=t.clientX||t.changedTouches[0].clientX,this.startX=t.clientX||t.changedTouches[0].clientX)},onRangeMouseMove:function(t){this.mouseDown&&(t.preventDefault(),this.newX=t.clientX||t.changedTouches[0].clientX)},onRangeMouseUp:function(){this.mouseDown&&(this.mouseDown=!1,this.submit())},init:function(t){var e=this;if(!this.loading||t){this.loading=!0,this.isCanSlide=!1;var n=this.$refs.canvas1,i=this.$refs.canvas2,o=this.$refs.canvas3,r=n.getContext("2d"),s=i.getContext("2d"),A=o.getContext("2d"),l=navigator.userAgent.indexOf("Firefox")>=0&&navigator.userAgent.indexOf("Windows")>=0,u=document.createElement("img");if(r.fillStyle="rgba(255,255,255,1)",A.fillStyle="rgba(255,255,255,1)",r.clearRect(0,0,this.canvasWidth,this.canvasHeight),s.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.pinX=this.getRandom(this.puzzleBaseSize,this.canvasWidth-this.puzzleBaseSize-20),this.pinY=this.getRandom(20,this.canvasHeight-this.puzzleBaseSize-20),u.crossOrigin="anonymous",u.onload=function(){var t=e.makeImgSize(u),n=a(t,4),i=n[0],o=n[1],c=n[2],h=n[3];r.save(),e.paintBrick(r),r.closePath(),l?(r.clip(),r.save(),r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.restore()):(r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.clip()),r.drawImage(u,i,o,c,h),A.fillRect(0,0,e.canvasWidth,e.canvasHeight),A.drawImage(u,i,o,c,h),r.globalCompositeOperation="source-atop",e.paintBrick(r),r.arc(e.pinX+Math.ceil(e.puzzleBaseSize/2),e.pinY+Math.ceil(e.puzzleBaseSize/2),1.2*e.puzzleBaseSize,0,2*Math.PI,!0),r.closePath(),r.shadowColor="rgba(255, 255, 255, .8)",r.shadowOffsetX=-1,r.shadowOffsetY=-1,r.shadowBlur=Math.min(Math.ceil(8*e.puzzleScale),12),r.fillStyle="#ffffaa",r.fill();var d=r.getImageData(e.pinX-3,e.pinY-20,e.pinX+e.puzzleBaseSize+5,e.pinY+e.puzzleBaseSize+5);s.putImageData(d,0,e.pinY-20),r.restore(),r.clearRect(0,0,e.canvasWidth,e.canvasHeight),r.save(),e.paintBrick(r),r.globalAlpha=.8,r.fillStyle="#ffffff",r.fill(),r.restore(),r.save(),r.globalCompositeOperation="source-atop",e.paintBrick(r),r.arc(e.pinX+Math.ceil(e.puzzleBaseSize/2),e.pinY+Math.ceil(e.puzzleBaseSize/2),1.2*e.puzzleBaseSize,0,2*Math.PI,!0),r.shadowColor="#000",r.shadowOffsetX=2,r.shadowOffsetY=2,r.shadowBlur=16,r.fill(),r.restore(),r.save(),r.globalCompositeOperation="destination-over",r.drawImage(u,i,o,c,h),r.restore(),e.loading=!1,e.isCanSlide=!0},u.onerror=function(){e.init(!0)},!t&&this.imgs&&this.imgs.length){var c=this.getRandom(0,this.imgs.length-1);c===this.imgIndex&&(c===this.imgs.length-1?c=0:c++),this.imgIndex=c,u.src=this.imgs[c]}else u.src=this.makeImgWithCanvas()}},getRandom:function(t,e){return Math.ceil(Math.random()*(e-t)+t)},makeImgSize:function(t){var e=t.width/t.height,n=0,i=0,o=0,r=0;return e>this.canvasWidth/this.canvasHeight?(r=this.canvasHeight,o=e*r,i=0,n=(this.canvasWidth-o)/2):(o=this.canvasWidth,r=o/e,n=0,i=(this.canvasHeight-r)/2),[n,i,o,r]},paintBrick:function(t){var e=Math.ceil(15*this.puzzleScale);t.beginPath(),t.moveTo(this.pinX,this.pinY),t.lineTo(this.pinX+e,this.pinY),t.arcTo(this.pinX+e,this.pinY-e/2,this.pinX+e+e/2,this.pinY-e/2,e/2),t.arcTo(this.pinX+e+e,this.pinY-e/2,this.pinX+e+e,this.pinY,e/2),t.lineTo(this.pinX+e+e+e,this.pinY),t.lineTo(this.pinX+e+e+e,this.pinY+e),t.arcTo(this.pinX+e+e+e+e/2,this.pinY+e,this.pinX+e+e+e+e/2,this.pinY+e+e/2,e/2),t.arcTo(this.pinX+e+e+e+e/2,this.pinY+e+e,this.pinX+e+e+e,this.pinY+e+e,e/2),t.lineTo(this.pinX+e+e+e,this.pinY+e+e+e),t.lineTo(this.pinX,this.pinY+e+e+e),t.lineTo(this.pinX,this.pinY+e+e),t.arcTo(this.pinX+e/2,this.pinY+e+e,this.pinX+e/2,this.pinY+e+e/2,e/2),t.arcTo(this.pinX+e/2,this.pinY+e,this.pinX,this.pinY+e,e/2),t.lineTo(this.pinX,this.pinY)},makeImgWithCanvas:function(){var t=document.createElement("canvas"),e=t.getContext("2d");t.width=this.canvasWidth,t.height=this.canvasHeight,e.fillStyle="rgb(".concat(this.getRandom(100,255),",").concat(this.getRandom(100,255),",").concat(this.getRandom(100,255),")"),e.fillRect(0,0,this.canvasWidth,this.canvasHeight);for(var n=0;n<12;n++)if(e.fillStyle="rgb(".concat(this.getRandom(100,255),",").concat(this.getRandom(100,255),",").concat(this.getRandom(100,255),")"),e.strokeStyle="rgb(".concat(this.getRandom(100,255),",").concat(this.getRandom(100,255),",").concat(this.getRandom(100,255),")"),this.getRandom(0,2)>1)e.save(),e.rotate(this.getRandom(-90,90)*Math.PI/180),e.fillRect(this.getRandom(-20,t.width-20),this.getRandom(-20,t.height-20),this.getRandom(10,t.width/2+10),this.getRandom(10,t.height/2+10)),e.restore();else{e.beginPath();var i=this.getRandom(-Math.PI,Math.PI);e.arc(this.getRandom(0,t.width),this.getRandom(0,t.height),this.getRandom(10,t.height/2+10),i,i+1.5*Math.PI),e.closePath(),e.fill()}return t.toDataURL("image/png")},submit:function(){var t=this;this.isSubmting=!0;var e=Math.abs(this.pinX-(this.styleWidth-this.sliderBaseSize)+(this.puzzleBaseSize-this.sliderBaseSize)*((this.styleWidth-this.sliderBaseSize)/(this.canvasWidth-this.sliderBaseSize))-3);e<this.range?(this.infoText=this.successText,this.infoBoxFail=!1,this.infoBoxShow=!0,this.isCanSlide=!1,this.isSuccess=!0,clearTimeout(this.timer1),this.timer1=setTimeout((function(){t.isSubmting=!1,t.$emit("success",e)}),800)):(this.infoText=this.failText,this.infoBoxFail=!0,this.infoBoxShow=!0,this.isCanSlide=!1,this.$emit("fail",e),clearTimeout(this.timer1),this.timer1=setTimeout((function(){t.isSubmting=!1,t.reset()}),800))},resetState:function(){this.infoBoxFail=!1,this.infoBoxShow=!1,this.isCanSlide=!1,this.isSuccess=!1,this.startWidth=this.sliderBaseSize,this.startX=0,this.newX=0},reset:function(){this.isSubmting||(this.resetState(),this.init())}}},o=n(379),r=n.n(o),s=n(795),A=n.n(s),l=n(569),u=n.n(l),c=n(565),h=n.n(c),d=n(216),f=n.n(d),p=n(589),g=n.n(p),m=n(358),v={};v.styleTagTransform=g(),v.setAttributes=h(),v.insert=u().bind(null,"head"),v.domAPI=A(),v.insertStyleElement=f(),r()(m.Z,v),m.Z&&m.Z.locals&&m.Z.locals;var b=function(t,e,n,i,o,r,a,s){var A,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"loading-gif_"},[n("span"),t._v(" "),n("span"),t._v(" "),n("span"),t._v(" "),n("span"),t._v(" "),n("span")])}],l._compiled=!0),A)if(l.functional){l._injectStyles=A;var u=l.render;l.render=function(t,e){return A.call(e),u(t,e)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,A):[A]}return{exports:t,options:l}}(e,t);b.options.__file="src/app.vue";var x=b.exports}(),i}()}))},80279:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return d}});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"loginBoxRef",staticClass:"login-container"},[n("Vcode",{attrs:{show:t.isShowValid,successText:t.validSuccessText},on:{success:t.success,close:t.close}}),t._m(0),n("div",{staticClass:"login-box"},[t._m(1),n("div",{staticClass:"form"},[n("el-tabs",{model:{value:t.loginType,callback:function(e){t.loginType=e},expression:"loginType"}},[n("el-tab-pane",{attrs:{label:"账号密码",name:"loginPassword"}},[n("el-form",{ref:"loginFormRef",attrs:{"status-icon":"","label-width":"40px",model:t.loginForm,rules:t.loginFormRules,"hide-required-asterisk":!0}},[n("el-form-item",{attrs:{label:"电话",prop:"userNumb"}},[n("el-input",{attrs:{autocomplete:"off","prefix-icon":"el-icon-user",size:"medium",clearable:"",placeholder:"电话"},on:{"~focus":function(e){return t.showClearBox.apply(null,arguments)}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.loginByPassword.apply(null,arguments)}},model:{value:t.loginForm.userNumb,callback:function(e){t.$set(t.loginForm,"userNumb",e)},expression:"loginForm.userNumb"}})],1),n("el-form-item",{attrs:{label:"密码",prop:"userPwd"}},[n("el-input",{attrs:{type:"password","prefix-icon":"el-icon-lock",autocomplete:"off",clearable:"","validate-event":"",size:"medium",placeholder:"请输入您的密码","show-password":!0},on:{"~focus":function(e){return t.showClearBox.apply(null,arguments)}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.loginByPassword.apply(null,arguments)}},model:{value:t.loginForm.userPwd,callback:function(e){t.$set(t.loginForm,"userPwd",e)},expression:"loginForm.userPwd"}})],1),n("el-form-item",[n("div",{staticClass:"login-btn"},[n("div",[n("el-button",{attrs:{type:"warning",size:"small",round:"",icon:"el-icon-question"},on:{click:t.forgetPassword}},[t._v("忘记密码")]),n("el-button",{attrs:{type:"info",size:"small",round:"",icon:"el-icon-delete"},on:{click:t.resetLoginForm}},[t._v("重置")]),n("el-button",{attrs:{type:"primary",size:"small",round:"",icon:"el-icon-check"},on:{click:t.loginByPassword}},[t._v("登录")])],1)])])],1)],1),n("el-tab-pane",{attrs:{label:"注册",name:"regist"}},[n("el-form",{ref:"registerFormRef",attrs:{"status-icon":"","label-width":"40px",model:t.registerForm,rules:t.registerFormRules,"hide-required-asterisk":!0}},[n("el-form-item",{attrs:{label:"电话",prop:"userNumb"}},[n("el-input",{attrs:{autocomplete:"off","prefix-icon":"el-icon-user",size:"medium",clearable:"",placeholder:"请输入您的电话号码"},on:{"~focus":function(e){return t.showClearBox.apply(null,arguments)}},model:{value:t.registerForm.userNumb,callback:function(e){t.$set(t.registerForm,"userNumb",e)},expression:"registerForm.userNumb"}})],1),n("el-form-item",{attrs:{label:"密码",prop:"userPwd"}},[n("el-input",{attrs:{type:"password","prefix-icon":"el-icon-lock",autocomplete:"off",clearable:"","validate-event":"",size:"medium",placeholder:"请输入您的密码","show-password":!0},on:{"~focus":function(e){return t.showClearBox.apply(null,arguments)}},model:{value:t.registerForm.userPwd,callback:function(e){t.$set(t.registerForm,"userPwd",e)},expression:"registerForm.userPwd"}})],1),n("el-form-item",[n("div",{staticClass:"login-btn"},[n("div",[n("el-button",{attrs:{type:"info",size:"small",round:"",icon:"el-icon-delete"},on:{click:t.registerFormReset}},[t._v("重置")]),n("el-button",{attrs:{type:"primary",size:"small",round:"",icon:"el-icon-check"},on:{click:function(e){t.isShowValid=!0}}},[t._v("注册")])],1)])])],1)],1)],1)],1),n("div",{staticClass:"btns"},[n("el-checkbox",{model:{value:t.autoLogin,callback:function(e){t.autoLogin=e},expression:"autoLogin"}},[t._v("7天免登录")])],1),t._m(2)])],1)},o=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"login-img"},[i("img",{attrs:{src:n(25703),width:"100%"}})])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title"},[n("i",{staticClass:"el-icon-present"},[t._v("今天吃啥❓")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"logo"},[i("div",{staticClass:"logo-img"},[i("img",{attrs:{src:n(44831),width:"100%"}})]),i("div",{staticClass:"right"},[i("span",[t._v("本网站除图片素材外纯原创")]),i("span",[t._v("仅供学习交流请勿用作其他用途")]),i("span",[t._v("联系方式: 2631667689(QQ)")])])])}],r=n(49835),a=n(70972),s=(n(42359),n(43219),n(5855),n(23685),n(32460),n(31077),n(60061),n(15647)),A=n.n(s),l={name:"Login",components:{Vcode:A()},data:function(){return{loginType:"loginPassword",isShowValid:!1,loginForm:{userNumb:"",userPwd:""},registerForm:{userNumb:"",userPwd:"",userId:""},registerFormRules:{userNumb:[{required:!0,message:"请输入电话号码",trigger:"blur"},{pattern:/^((1[3,5,8][0-9])|(14[5,7])|(17[0,6,7,8])|(19[7]))\d{8}$/,message:"手机号码格式不符合",trigger:"blur"}],userPwd:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,max:13,message:"长度在 6 到 13 个字符",trigger:"blur"}],uid:[{required:!0,message:"请输入您的网易云9-10位id",trigger:"blur"},{min:9,max:10,message:"长度为9-10个字符",trigger:"blur"}]},loginFormRules:{userNumb:[{required:!0,message:"请输入手机号码",trigger:"blur"},{pattern:/^((1[3,5,8][0-9])|(14[5,7])|(17[0,6,7,8])|(19[7]))\d{8}$/,message:"手机号码格式不符合",trigger:"blur"}],userPwd:[{required:!0,message:"请输入登录密码",trigger:"blur"},{min:6,max:13,message:"长度在 6 到 13 个字符",trigger:"blur"}]},autoLogin:!0,validSuccessText:"你太棒了"}},methods:{success:function(t){this.validSuccessText="只用了".concat(parseInt(t),"秒 你太快了"),this.isShowValid=!1,this.register()},close:function(){this.isShowValid=!1},resetLoginForm:function(){this.$refs.loginFormRef.resetFields(),this.loginForm.userNumb="",this.loginForm.userPwd=""},loginByPassword:function(){var t=this;""!==this.loginForm.userNumb&&""!==this.loginForm.userPwd?this.$refs.loginFormRef.validate(function(){var e=(0,a.Z)((0,r.Z)().mark((function e(n){var i,o,a,s,A;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.$http.get("user");case 4:if(i=e.sent,o=i.data,a=!1,o.forEach((function(e){e.userNumb===t.loginForm.userNumb&&(a=!0)})),a){e.next=11;break}return t.$message.warning("该账号尚未注册 请先注册后再进行登录"),e.abrupt("return");case 11:return e.next=13,t.$http.get("user/login/"+t.loginForm.userNumb);case 13:if(s=e.sent,A=s.data,A=A[0],A.userPwd===t.loginForm.userPwd){e.next=19;break}return t.$message.warning("密码错误 请重试"),e.abrupt("return");case 19:t.autoLogin&&t.$cookies.set("token",A,"7d"),window.sessionStorage.setItem("user",JSON.stringify(A)),t.$router.push("/home"),t.$message.success("✨欢迎你 ".concat(A.userName||"神秘人"));case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):this.$message.info("电话号码或密码不得为空哦")},register:function(){var t=this;this.$refs.registerFormRef.validate(function(){var e=(0,a.Z)((0,r.Z)().mark((function e(n){var i,o,a,s,A;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.$http.get("user");case 4:if(i=e.sent,o=i.data,a=!1,o.forEach((function(e){e.userNumb===t.registerForm.userNumb&&(a=!0)})),!a){e.next=11;break}return t.$message.warning("该账号已注册"),e.abrupt("return");case 11:return t.registerForm.userId=t.guid(),e.next=14,t.$http.post("user/register",t.registerForm);case 14:if(s=e.sent,A=s.data,1===A.status){e.next=19;break}return t.$message.error("注册失败 请重试"),e.abrupt("return");case 19:t.$message.success("注册成功"),t.$notify({title:"欢迎来到吃啥-智能菜谱推荐系统",message:"请牢记您的密码: ".concat(t.registerForm.userPwd),position:"top-left",type:"success",duration:5e3}),t.loginForm.userNumb=t.registerForm.userNumb,t.loginForm.userPwd=t.registerForm.userPwd,t.autoLogin=!0,t.loginByPassword();case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())},showClearBox:function(){this.$refs.loginBoxRef.style.opacity=1},registerFormReset:function(){this.registerForm.userNumb="",this.registerForm.userPwd="",this.$refs.registerFormRef.resetFields()},guid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0,n="x"==t?e:3&e|8;return n.toString(16)}))},forgetPassword:function(){var t=this;this.$prompt("请输入电话号码","忘记密码",{confirmButtonText:"确定",cancelButtonText:"取消",closeOnClickModal:!1,inputPattern:/^((1[3,5,8][0-9])|(14[5,7])|(17[0,6,7,8])|(19[7]))\d{8}$/,inputErrorMessage:"电话格式不正确"}).then(function(){var e=(0,a.Z)((0,r.Z)().mark((function e(n){var i,o,a,s,A,l;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=n.value,e.next=3,t.$http.get("user");case 3:if(o=e.sent,a=o.data,s=!1,a.forEach((function(t){t.userNumb===i&&(s=!0)})),!s){e.next=15;break}return e.next=10,t.$http.get("user/login/forgetpass/"+i);case 10:A=e.sent,l=A.data,t.$message({message:"你的密码是: ".concat(l[0].userPwd),center:!0,showClose:!0,duration:0}),e.next=16;break;case 15:t.$message.warning("账号不存在");case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},mounted:function(){this.$refs.loginBoxRef.style.opacity=.7}},u=l,c=n(35471),h=(0,c.Z)(u,i,o,!1,null,null,null),d=h.exports},44831:function(t){"use strict";t.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QCCRXhpZgAATU0AKgAAAAgABQEAAAQAAAABAAABkAEBAAQAAAABAAABkIdpAAQAAAABAAAASgESAAMAAAABAAAAAAEyAAIAAAABAAAAAAAAAAAAAZIIAAQAAAABAAAAAAAAAAAAAgESAAMAAAABAAAAAAEyAAIAAAABAAAAAAAAAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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//EAB0RAQACAwADAQAAAAAAAAAAAAEgMAAQEUBQYEH/2gAIAQMBAT8A+UX1652obX2L6cbG4o7nfAJr4RnZO2YY0kWoxl+bItjc0G2BAk0G2BAklB4fIc0QTA07KnRU6CzmHzv/2Q=="},25703:function(t,e,n){"use strict";t.exports=n.p+"img/shaomai.23adacac.png"},70972:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});n(42359);function i(t,e,n,i,o,r,a){try{var s=t[r](a),A=s.value}catch(l){return void n(l)}s.done?e(A):Promise.resolve(A).then(i,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,r){var a=t.apply(e,n);function s(t){i(a,o,r,s,A,"next",t)}function A(t){i(a,o,r,s,A,"throw",t)}s(void 0)}))}}},49835:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});n(47699),n(95129),n(42359),n(17742),n(73196),n(63402),n(98741),n(90771),n(30404),n(27706),n(5764),n(98959),n(43219),n(39897),n(7716);var i=n(96677);function o(){
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",A=r.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(Q){l=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var o=e&&e.prototype instanceof d?e:d,r=Object.create(o.prototype),a=new k(i||[]);return r._invoke=function(t,e,n){var i="suspendedStart";return function(o,r){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===o)throw r;return E()}for(n.method=o,n.arg=r;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var A=c(t,e,n);if("normal"===A.type){if(i=n.done?"completed":"suspendedYield",A.arg===h)continue;return{value:A.arg,done:n.done}}"throw"===A.type&&(i="completed",n.method="throw",n.arg=A.arg)}}}(t,n,a),r}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(Q){return{type:"throw",arg:Q}}}t.wrap=u;var h={};function d(){}function f(){}function p(){}var g={};l(g,a,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(C([])));v&&v!==e&&n.call(v,a)&&(g=v);var b=p.prototype=d.prototype=Object.create(g);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(r,a,s,A){var l=c(t[r],t,a);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==(0,i.Z)(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){o("next",t,s,A)}),(function(t){o("throw",t,s,A)})):e.resolve(h).then((function(t){u.value=t,s(u)}),(function(t){return o("throw",t,s,A)}))}A(l.arg)}var r;this._invoke=function(t,n){function i(){return new e((function(e,i){o(t,n,e,i)}))}return r=r?r.then(i,i):i()}}function y(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=void 0,y(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=c(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function B(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 M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(B,this),this.reset(!0)}function C(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 i=-1,o=function e(){for(;++i<t.length;)if(n.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return f.prototype=p,l(b,"constructor",p),l(p,"constructor",f),f.displayName=l(p,A,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,A,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(w.prototype),l(w.prototype,s,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,i,o,r){void 0===r&&(r=Promise);var a=new w(u(e,n,i,o),r);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),l(b,A,"Generator"),l(b,a,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=C,k.prototype={constructor:k,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(M),!t)for(var e in this)"t"===e.charAt(0)&&n.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 i(n,i){return a.type="throw",a.arg=t,e.next=n,i&&(e.method="next",e.arg=void 0),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],a=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var s=n.call(r,"catchLoc"),A=n.call(r,"finallyLoc");if(s&&A){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!A)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,h):this.complete(a)},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),h},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),M(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}}}]);
|
|
//# sourceMappingURL=279-legacy.3f18867e.js.map
|