Commit 5b3af485 by zhanghaozhe

微信授权登录

parent 0b1995a1
......@@ -86,8 +86,8 @@
"myorders.js": "/mrstatic/js/myorders.3113d077.chunk.js",
"myorders.js.map": "/mrstatic/js/myorders.3113d077.chunk.js.map",
"newyear-2019-landing.css": "/mrstatic/css/newyear-2019-landing.f51c79d9.chunk.css",
"newyear-2019-landing.js": "/mrstatic/js/newyear-2019-landing.e0852eef.chunk.js",
"newyear-2019-landing.js.map": "/mrstatic/js/newyear-2019-landing.e0852eef.chunk.js.map",
"newyear-2019-landing.js": "/mrstatic/js/newyear-2019-landing.e17bcf8e.chunk.js",
"newyear-2019-landing.js.map": "/mrstatic/js/newyear-2019-landing.e17bcf8e.chunk.js.map",
"newyear-yearIndex.css": "/mrstatic/css/newyear-yearIndex.b02991f9.chunk.css",
"newyear-yearIndex.js": "/mrstatic/js/newyear-yearIndex.ff545b12.chunk.js",
"newyear-yearIndex.js.map": "/mrstatic/js/newyear-yearIndex.ff545b12.chunk.js.map",
......@@ -97,8 +97,8 @@
"purchased.css": "/mrstatic/css/purchased.dd7556e0.chunk.css",
"purchased.js": "/mrstatic/js/purchased.2bba0bda.chunk.js",
"purchased.js.map": "/mrstatic/js/purchased.2bba0bda.chunk.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.c03901e0.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.c03901e0.js.map",
"runtime~main.js": "/mrstatic/js/runtime~main.2f23cb09.js",
"runtime~main.js.map": "/mrstatic/js/runtime~main.2f23cb09.js.map",
"search.css": "/mrstatic/css/search.fab97849.chunk.css",
"search.js": "/mrstatic/js/search.941032bf.chunk.js",
"search.js.map": "/mrstatic/js/search.941032bf.chunk.js.map",
......@@ -186,6 +186,6 @@
"mrstatic/media/iconfont.css": "/mrstatic/media/iconfont.e0655d4d.woff",
"mrstatic/media/kanjia_cg_icon.png": "/mrstatic/media/kanjia_cg_icon.81a489ac.png",
"mrstatic/media/video.scss": "/mrstatic/media/progress-share-bg.80011994.png",
"precache-manifest.3a039c296631a40f97b16f7c865bdc93.js": "/precache-manifest.3a039c296631a40f97b16f7c865bdc93.js",
"precache-manifest.9fd856c2bff950148cfdfee53b341e9f.js": "/precache-manifest.9fd856c2bff950148cfdfee53b341e9f.js",
"service-worker.js": "/service-worker.js"
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/41.101ce5f8.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.aebaefb8.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(f){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],i=0,d=[];i<n.length;i++)t=n[i],l[t]&&d.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(f[r]=a[r]);for(p&&p(e);d.length;)d.shift()();return s.push.apply(s,o||[]),c()}function c(){for(var e,r=0;r<s.length;r++){for(var t=s[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(s.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={34:0},l={34:0},s=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[s]&&e.push(u[s]=new Promise(function(e,n){for(var r="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"d9fb2595",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"f51c79d9",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[s]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var i=(f=t[o]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(i===r||i===a))return e()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){var f;if((i=(f=d[o]).getAttribute("data-href"))===r||i===a)return e()}var c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.onload=e,c.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],c.parentNode.removeChild(c),n(t)},c.href=a,document.getElementsByTagName("head")[0].appendChild(c)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"e0852eef",31:"ff545b12",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"7f350fe2",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[s]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(i);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+s+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[s]=void 0}};var i=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=f,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;c()}([])</script><script src="/mrstatic/js/41.80e3375b.chunk.js"></script><script src="/mrstatic/js/main.5bc8a076.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>七月在线 - 国内领先的人工智能教育平台</title><link href="/mrstatic/css/41.101ce5f8.chunk.css" rel="stylesheet"><link href="/mrstatic/css/main.aebaefb8.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="/api.js"></script><script>!function(f){function e(e){for(var r,t,n=e[0],a=e[1],o=e[2],i=0,d=[];i<n.length;i++)t=n[i],l[t]&&d.push(l[t][0]),l[t]=0;for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(f[r]=a[r]);for(p&&p(e);d.length;)d.shift()();return s.push.apply(s,o||[]),c()}function c(){for(var e,r=0;r<s.length;r++){for(var t=s[r],n=!0,a=1;a<t.length;a++){var o=t[a];0!==l[o]&&(n=!1)}n&&(s.splice(r--,1),e=b(b.s=t[0]))}return e}var t={},u={34:0},l={34:0},s=[];function b(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return f[e].call(r.exports,r,r.exports,b),r.l=!0,r.exports}b.e=function(s){var e=[];u[s]?e.push(u[s]):0!==u[s]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[s]&&e.push(u[s]=new Promise(function(e,n){for(var r="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"d9fb2595",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"f51c79d9",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[s]+".chunk.css",a=b.p+r,t=document.getElementsByTagName("link"),o=0;o<t.length;o++){var i=(f=t[o]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(i===r||i===a))return e()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){var f;if((i=(f=d[o]).getAttribute("data-href"))===r||i===a)return e()}var c=document.createElement("link");c.rel="stylesheet",c.type="text/css",c.onload=e,c.onerror=function(e){var r=e&&e.target&&e.target.src||a,t=new Error("Loading CSS chunk "+s+" failed.\n("+r+")");t.request=r,delete u[s],c.parentNode.removeChild(c),n(t)},c.href=a,document.getElementsByTagName("head")[0].appendChild(c)}).then(function(){u[s]=0}));var t=l[s];if(0!==t)if(t)e.push(t[2]);else{var r=new Promise(function(e,r){t=l[s]=[e,r]});e.push(t[2]=r);var n,o=document.createElement("script");o.charset="utf-8",o.timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.src=b.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[s]||s)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"e17bcf8e",31:"ff545b12",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"7f350fe2",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[s]+".chunk.js",n=function(e){o.onerror=o.onload=null,clearTimeout(i);var r=l[s];if(0!==r){if(r){var t=e&&("load"===e.type?"missing":e.type),n=e&&e.target&&e.target.src,a=new Error("Loading chunk "+s+" failed.\n("+t+": "+n+")");a.type=t,a.request=n,r[1](a)}l[s]=void 0}};var i=setTimeout(function(){n({type:"timeout",target:o})},12e4);o.onerror=o.onload=n,document.head.appendChild(o)}return Promise.all(e)},b.m=f,b.c=t,b.d=function(e,r,t){b.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},b.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.t=function(r,e){if(1&e&&(r=b(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)b.d(t,n,function(e){return r[e]}.bind(null,n));return t},b.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(r,"a",r),r},b.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},b.p="/",b.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var a=0;a<r.length;a++)e(r[a]);var p=n;c()}([])</script><script src="/mrstatic/js/41.80e3375b.chunk.js"></script><script src="/mrstatic/js/main.5bc8a076.chunk.js"></script></body></html>
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{1202:function(e,t,a){},1205:function(e,t,a){},1266:function(e,t,a){"use strict";a.r(t);a(154);var n=a(35),c=a.n(n),r=(a(39),a(12)),s=a.n(r),i=a(5),o=a(7),l=a(6),u=a(8),m=a(9),p=a(73),d=a(0),h=a.n(d),b=(a(1202),function(e){function t(){return Object(i.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(d.Component)),g=a(27),v=a(22),y=a(802),E=a(803),j=(a(1205),a(3)),f=a(587),w=a.n(f),_=a(804),S=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,c=new Array(n),r=0;r<n;r++)c[r]=arguments[r];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.shareTipPopup=null,a.swiper=null,a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(j.c)("origin"),treasure_code:Object(j.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(j.c)("origin")},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,r=void 0===c?a.state.treasure_code:c,i=a.props.location;j.d.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:r,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(j.c)("origin"),activityEnd:5==n.status}),j.b.isWeixin&&Object(j.i)({title:"@".concat(n.member[0].user_name," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"});var o=new URLSearchParams(window.location.search);"1"!==o.get("origin")||j.b.isWeixin||(o.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(o.toString()))),a.showSharePromptWithParam()}else s.a.info(r,2,null,!1)})},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;j.d.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:s.a.info(r,2,null,!1)}else s.a.info(r,2,null,!1)})}},a.handleToMyTreasure=function(e){var t=a.props.history;a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(j.c)("version")?t.push("/year/yearTreasure?id=".concat(e,"&version=").concat(Object(j.c)("version"))):t.push("/year/yearTreasure?id=".concat(e))},a.joinSuccess=function(e){var t=e.id,n=e.status,c=e.my_team,r=c.team_num,s=c.lack_member,i=c.is_team,o=c.treasure_code;a.joinSuccessPopup=Object(g.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===n?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":i?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,r),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,s),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===n?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif",alt:"",onClick:a.handleToMyTreasure.bind(Object(p.a)(Object(p.a)(a)),t)}):i?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(p.a)(Object(p.a)(a)),o)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,r=t.user,s=t.location;if(Object(j.c)("version")){var i={title:"@".concat(r.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(s.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(j.a)("toShare",i)}sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return j.d.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,r=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(g.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(p.a)(Object(p.a)(a)),r)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",r)}})})},a.saveImage=function(e){var t=Object(j.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?s.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(j.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;j.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){w.a.toDataURL(c).then(function(r){Object(g.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:r,alt:""}),j.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(p.a)(Object(p.a)(a)),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;j.b.isAndroidApp||j.b.isIOSApp?Object(j.a)("toShare",{title:"@".concat(t.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.shareTipPopup=Object(g.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(j.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(j.c)("treasure_code"),1)})}})},a.showOpenInBrowserTip=function(){Object(g.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||j.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,r=t.msg;200==c?a.createTeamSuccess(n):s.a.info(r,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history;if(e.user.hasError)return t.push("/passport"),!0},a.toSquare=function(){var e=a.props.history;Object(j.c)("version")?e.push("/year/yearindex?version="+Object(j.c)("version")):e.push("/year/yearindex")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create")}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData()}},{key:"componentWillUnmount",value:function(){this.shareTipPopup&&this.shareTipPopup.remove()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,r=t.status,s=t.lack_member,i=t.team_num,o=t.prize_info,l=t.my_team,u=e.activityEnd,m=e.isCaptain;return h.a.createElement("div",{id:"landing"},h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u6d3b\u52a8\u4f1a\u573a\uff0c\u4eab\u66f4\u591a\u798f\u5229\uff01 >>")),h.a.createElement(b,null,h.a.createElement("i",{className:"snow-deco"}),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===r?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,i),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",s," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),4===r&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),2===r&&!u&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!u&&!m&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u6b21\u5fc5\u4e2d ",o[0].name),u&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(_.a,{getSum:function(){}})))}}]),t}(d.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(S)}}]);
//# sourceMappingURL=newyear-2019-landing.e0852eef.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/newyear-2019/box-container/container.js","components/activity/newyear-2019/landing/index.js"],"names":["Container","react_default","a","createElement","className","this","props","children","Component","Landing","closeIcon","createTeamSuccessPopup","joinSuccessPopup","shareTipPopup","swiper","state","teamData","member","origin","sessionStorage","getItem","getParam","treasure_code","activityEnd","notices","rule","isCaptain","fetchPageData","_ref","arguments","length","undefined","_ref$origin","_this","_ref$treasure_code","location","http","post","concat","API","home","then","res","_res$data","data","code","msg","setState","status","browser","isWeixin","wxShare","title","user_name","desc","link","window","pathname","imgUrl","searchParams","URLSearchParams","search","get","set","setItem","history","replaceState","toString","showSharePromptWithParam","toast_default","info","showShareTip","joinTeam","requiredLogin","_res$data2","joinSuccess","handleToMyTreasure","id","remove","push","_ref2","_ref2$my_team","my_team","team_num","lack_member","is_team","Popup","src","alt","content","Fragment","style","width","marginTop","onClick","bind","Object","assertThisInitialized","type","inviteMembers","createMyTeam","close","getFollowStatus","isFollow","remind","_this$props","match","user","username","SendMessageToApp","replace","url","_res$data3","createTeamSuccess","_ref3","Array","fill","map","item","index","_member","key","afterClose","saveImage","version","slice","parseInt","uid","text","QRCode","toDataURL","isAndroidApp","_this$props2","isIOSApp","closable","removeItem","hasError","showOpenInBrowserTip","_res$data4","_this$props3","toSquare","showFollowAlert","prevProps","_this$state","_this$state$teamData","head_img","prize_info","href","container","prizes","showSystemNotices","user_bullet_screen","is_captain","stage_no","name","white_space_default","size","YearCourse","getSum","connect"],"mappings":"iQAceA,4LAVX,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAW,iBACdH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,aACZC,KAAKC,MAAMC,kBALEC,4FCWlBC,6MAGJC,UAAY,+EACZC,uBAAyB,OACzBC,iBAAmB,OACnBC,cAAgB,OAChBC,OAAS,OAGTC,MAAQ,CACNC,SAAU,CACRC,OAAQ,IAEVC,OAAQC,eAAeC,QAAQ,aAAe,EAAIC,YAAS,UAC3DC,cAAeD,YAAS,iBACxBE,aAAa,EACbC,QAAS,GACTC,KAAM,GACNC,UAAiC,GAAtBL,YAAS,aAmBtBM,cAAgB,WAAiF,IAAAC,EAAAC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAP,GAAOG,EAAAJ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ACAF,EAAAC,EAAAC,cAAA,OAAKoF,IAAI,kFAAkFC,IAAI,KAC/FvF,EAAAC,EAAAC,cAAA,sEAMLuB,GACDzB,EAAAC,EAAAC,cAAAF,EAAAC,EAAAwF,SAAA,KACEzF,EAAAC,EAAAC,cAAAwJ,EAAAzJ,EAAA,CAAY0J,KAAM,OAClB3J,EAAAC,EAAAC,cAAC0J,EAAA,EAAD,CAAYC,OAAQ,wBA1gBVtJ,aAmhBPuJ,sBACb,SAAAhJ,GAAK,MAAK,CAAC4F,KAAM5F,EAAM4F,OACvB,KAFaoD,CAGbtJ","file":"mrstatic/js/newyear-2019-landing.e0852eef.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './box-container.scss'\nclass Container extends Component {\n render() {\n return (\n <div className={'box-container'}>\n <div className=\"image-box\">\n {this.props.children}\n </div>\n </div>\n )\n }\n}\n\nexport default Container\n","import React, { Component } from 'react'\nimport BoxContainer from '../box-container/container'\nimport { Toast, WhiteSpace } from \"antd-mobile\"\nimport { Popup } from \"@common/index\"\nimport { connect } from \"react-redux\"\nimport Prizes from \"@components/activity/newyear-2019/common/prizes\"\nimport BulletScreen from \"@components/activity/newyear-2019/common/user-bullet-screen\"\nimport './landing.scss'\nimport { browser, getParam, http, wxShare, SendMessageToApp } from \"@/utils\"\nimport QRCode from \"qrcode\"\nimport YearCourse from '../preheat/YearCourse'\n\n\nclass Landing extends Component {\n\n\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n createTeamSuccessPopup = null\n joinSuccessPopup = null\n shareTipPopup = null\n swiper = null\n\n\n state = {\n teamData: {\n member: []\n },\n origin: sessionStorage.getItem('isCaptain') ? 1 : getParam('origin'),\n treasure_code: getParam('treasure_code'),\n activityEnd: false,\n notices: [],\n rule: '',\n isCaptain: getParam('origin') == 1\n }\n\n componentDidMount() {\n this.fetchPageData()\n window.showFollowAlert = this.remind.bind(this, 'create')\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.user.hasError !== this.props.user.hasError && !this.props.user.hasError) {\n this.fetchPageData()\n }\n }\n\n componentWillUnmount() {\n this.shareTipPopup && this.shareTipPopup.remove()\n }\n\n\n fetchPageData = ({origin = this.state.origin, treasure_code = this.state.treasure_code} = {}) => {\n const {location} = this.props\n http.post(`${API.home}/sys/treasure/team`, {\n treasure_code,\n origin\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.setState({\n teamData: data,\n isCaptain: sessionStorage.getItem('isCaptain') ? sessionStorage.getItem('isCaptain') : getParam('origin') == 1,\n activityEnd: data.status == 5\n })\n\n if (browser.isWeixin) {\n wxShare({\n title: `@${data.member[0].user_name} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n // history.replace(`${match.url}?treasure_code=${getParam('treasure_code')}&origin=2`)\n }\n\n let searchParams = new URLSearchParams(window.location.search)\n if (searchParams.get('origin') === '1' && !browser.isWeixin) {\n searchParams.set('origin', '2')\n sessionStorage.setItem('isCaptain', '1')\n window.history.replaceState(null, '', `landing?${searchParams.toString()}`)\n }\n\n this.showSharePromptWithParam()\n\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n showSharePromptWithParam = () => {\n if (sessionStorage.getItem('showShareTip')) {\n this.showShareTip()\n }\n }\n\n joinTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n const {treasure_code} = this.state\n http.post(`${API.home}/sys/treasure/joinTeam`, {\n treasure_code\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code === 200) {\n\n /*\n * status\n * 1-成功加入\n * 2-成功加入组队成功\n * 3-已加入当前队伍\n * 4-已加入其他队伍\n * */\n\n switch (data.status) {\n case 1:\n case 2:\n this.joinSuccess(data)\n break\n default:\n Toast.info(msg, 2, null, false)\n }\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n handleToMyTreasure = id => {\n const {history} = this.props\n this.joinSuccessPopup && this.joinSuccessPopup.remove()\n if (getParam('version')) {\n history.push(`/year/yearTreasure?id=${id}&version=${getParam('version')}`)\n } else {\n history.push(`/year/yearTreasure?id=${id}`)\n }\n }\n\n joinSuccess = ({id, status, my_team: {team_num, lack_member, is_team, treasure_code}}) => {\n this.joinSuccessPopup = Popup({\n title: <div className={'join-success'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png\" alt=\"\"/>\n <div>成功加入队伍</div>\n </div>,\n className: 'landing-join-success-wrapper',\n content: <div>\n <div className={'tip'}>\n {\n status === 2\n ? '组队成功,恭喜你获得一个宝箱!'\n : is_team\n ? <>您的{<span>{team_num}</span>}号队伍还差{<span>{lack_member}</span>}人即可获得宝箱</>\n : '自己当队长,宝箱内有专属奖品哦~'\n }\n </div>\n {\n status === 2\n ? <img style={{width: '150px', marginTop: '23px'}}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif\"\n alt=\"\"\n onClick={this.handleToMyTreasure.bind(this, id)}\n />\n : is_team\n ? <button type='button'\n onClick={this.inviteMembers.bind(this, treasure_code)}>继续组队</button>\n : <button type=\"button\" onClick={this.createMyTeam}>创建我的队伍</button>\n }\n </div>,\n closeIcon: this.closeIcon,\n close: () => {\n this.fetchPageData()\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('join', this.state.treasure_code, 2)\n })\n }\n })\n }\n\n inviteMembers = treasure_code => {\n const {history, match, user, location} = this.props\n if (getParam('version')) {\n let data = {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n }\n SendMessageToApp(\"toShare\", data)\n }\n sessionStorage.setItem('showShareTip', '1')\n history.replace(`${match.url}?treasure_code=${treasure_code}&origin=${1}`)\n this.createTeamSuccessPopup && this.createTeamSuccessPopup.remove() && (this.createTeamSuccessPopup = null)\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.fetchPageData({treasure_code, origin: 1})\n this.setState({\n isCaptain: true\n })\n }\n\n getFollowStatus = () => http.get(`${API.home}/sys/user/isFollowWeChat`)\n .then(res => {\n const {code, data} = res.data\n return code === 200 && data['is_follow']\n })\n\n createTeamSuccess = ({member, team_num, lack_member, treasure_code}) => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.getFollowStatus()\n .then(isFollow => {\n this.createTeamSuccessPopup = Popup({\n title: '创建成功',\n className: 'landing-create-success',\n content: <div>\n <div className=\"tip\">{<span>{team_num}</span>}号队伍 还差{<span>{lack_member}</span>}名队员即可获得宝箱哦~</div>\n <img className={'treasure-box'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\"/>\n <ul className='members'>\n {\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return <li key={index}>\n {_member && _member['is_captain'] && <sup>队长</sup>}\n <img\n className={'avatar'}\n src={\n _member\n ? _member['head_img']\n : \"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png\"\n }\n alt=\"\"/>\n </li>\n })\n }\n </ul>\n <button type={'button'} onClick={this.inviteMembers.bind(this, treasure_code)}>邀请好友加入队伍</button>\n </div>,\n closeIcon: this.closeIcon,\n afterClose: () => {\n if (!isFollow) {\n this.remind('create', treasure_code)\n }\n }\n })\n\n })\n }\n\n // 安卓手机保存二维码\n saveImage = url => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', url)\n }\n }\n\n\n remind = (type = 'create', treasure_code, origin = 1) => {\n const {user} = this.props\n http.get(`${API[\"base-api\"]}/wx/user_temporary_qrcode/${user.data.uid}`)\n .then(res => {\n const {data} = res.data\n return data.url\n }).then(text => {\n QRCode.toDataURL(text)\n .then(url => {\n Popup({\n title: '提醒服务',\n className: 'landing-remind',\n closeIcon: this.closeIcon,\n content: <div>\n <div className=\"des\">{type === 'create' ? '有好友加入队伍后第一时间通知我~' : '获得宝箱时第一时间通知我~'}</div>\n <img src={url} alt=\"\"/>\n {browser.isAndroidApp ? <div>\n <button className={'android-qr-code-btn'} onClick={this.saveImage.bind(this, text)}>保存二维码</button>\n </div> : null}\n <div className=\"des\">长按识别/扫码 关注【七月在线】服务号即可预约</div>\n </div>,\n close: () => {\n // history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)\n this.fetchPageData({\n treasure_code,\n origin\n })\n }\n })\n })\n })\n\n }\n\n showShareTip = () => {\n const {user, location} = this.props\n if (browser.isAndroidApp || browser.isIOSApp) {\n\n SendMessageToApp('toShare', {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n\n } else {\n this.shareTipPopup = Popup({\n title: <div>还差<span>{this.state.teamData.lack_member}</span>名队友即可获得宝箱 快分享给好友吧~</div>,\n className: `landing-share-tip ${browser.isWeixin ? 'wechat' : ''}`,\n closable: false,\n close: () => {\n sessionStorage.removeItem('showShareTip')\n if (!user.hasError) {\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('create', getParam('treasure_code'), 1)\n })\n }\n }\n })\n }\n }\n\n showOpenInBrowserTip = () => {\n Popup({\n title: <div>点击右上角,选择“在浏览器打开”</div>,\n className: 'landing-open-in-browser-tip',\n closable: false,\n })\n }\n\n createMyTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n http.get(`${API.home}/sys/treasure/createMyTeam`)\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.createTeamSuccess(data)\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n requiredLogin = () => {\n const {history, user} = this.props\n\n if (user.hasError) {\n history.push('/passport')\n return true\n }\n }\n\n toSquare = () => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push('/year/yearindex')\n } else {\n history.push('/year/yearindex?version=' + getParam('version'))\n }\n }\n\n\n render() {\n const {\n teamData: {\n head_img,\n member,\n status,\n lack_member,\n team_num,\n prize_info,\n my_team\n },\n activityEnd,\n isCaptain\n } = this.state\n /*\n * status\n * 1-自己的队伍\n * 2-未加入队伍\n * 3-已加入当前队伍\n * 4-已加入别的队伍\n * */\n\n return (\n <div id={'landing'}>\n <div id=\"to-square\">\n <a href='javascript:' onClick={this.toSquare}>前往活动会场,享更多福利! >></a>\n </div>\n <BoxContainer>\n <i className=\"snow-deco\"/>\n <img className='main-avatar'\n src={head_img} alt=\"\"/>\n {\n status === 1\n ? <div className=\"des\">邀请好友加入队伍,开宝箱领取丰厚奖品~</div>\n : <div className=\"des\">加入我的<span>{team_num}</span>号队伍,一起开宝箱领取丰厚奖品~</div>\n }\n <Prizes showSystemNotices={false}/>\n <BulletScreen/>\n <div className=\"group\">\n <ul className={'member'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return (\n _member\n ? <li key={index}>\n <div className='avatar-wrapper'>\n {\n _member.is_captain ? <sup>队长</sup> : null\n }\n <img\n src={_member.head_img}\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n :\n <li key={index}>\n <div className=\"avatar-wrapper\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\"\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n )\n })\n }\n </ul>\n <ul className={'bars'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n return (\n <li key={index} className={`${index < member.length ? 'active' : ''}`}/>\n )\n })\n }\n </ul>\n {\n status === 1 && !activityEnd &&\n <>\n <div className=\"group-des\">\n 还差 {lack_member} 名队员即可获得当前宝箱哦~\n </div>\n <button type='button' className={'invite-btn'} onClick={this.showShareTip}>\n 邀请好友加入队伍\n </button>\n </>\n }\n {\n status === 3 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入当前队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 4 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入其他队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}>\n 同意加入队伍\n </button>\n }\n {\n prize_info && prize_info.length !== 0 && !activityEnd && !isCaptain && <div className=\"certainly-prompt\">\n 第{prize_info[0].stage_no}次必中 {prize_info[0].name}\n </div>\n }\n {\n activityEnd &&\n <div className='activity-end'>\n <div>活动已结束</div>\n <div>关注【七月在线】服务号了解更多活动信息</div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\" alt=\"\"/>\n <div>长按识别 / 微信扫码</div>\n </div>\n }\n </div>\n </BoxContainer>\n {\n !isCaptain &&\n <>\n <WhiteSpace size={'xl'}/>\n <YearCourse getSum={() => {\n }}/>\n </>\n }\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Landing)\n"],"sourceRoot":""}
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{1202:function(e,t,a){},1205:function(e,t,a){},1266:function(e,t,a){"use strict";a.r(t);a(154);var n=a(35),c=a.n(n),s=(a(39),a(12)),r=a.n(s),i=a(5),o=a(7),l=a(6),u=a(8),m=a(9),p=a(73),d=a(0),h=a.n(d),b=(a(1202),function(e){function t(){return Object(i.a)(this,t),Object(l.a)(this,Object(u.a)(t).apply(this,arguments))}return Object(m.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return h.a.createElement("div",{className:"box-container"},h.a.createElement("div",{className:"image-box"},this.props.children))}}]),t}(d.Component)),g=a(27),v=a(22),y=a(802),E=a(803),j=(a(1205),a(3)),f=a(587),w=a.n(f),_=a(804),S=function(e){function t(){var e,a;Object(i.a)(this,t);for(var n=arguments.length,c=new Array(n),s=0;s<n;s++)c[s]=arguments[s];return(a=Object(l.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(c)))).closeIcon="https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png",a.createTeamSuccessPopup=null,a.joinSuccessPopup=null,a.shareTipPopup=null,a.swiper=null,a.state={teamData:{member:[]},origin:sessionStorage.getItem("isCaptain")?1:Object(j.c)("origin"),treasure_code:Object(j.c)("treasure_code"),activityEnd:!1,notices:[],rule:"",isCaptain:1==Object(j.c)("origin")},a.fetchPageData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.origin,n=void 0===t?a.state.origin:t,c=e.treasure_code,s=void 0===c?a.state.treasure_code:c,i=a.props.location;j.d.post("".concat(API.home,"/sys/treasure/team"),{treasure_code:s,origin:n}).then(function(e){var t=e.data,n=t.data,c=t.code,s=t.msg;if(200==c){a.setState({teamData:n,isCaptain:sessionStorage.getItem("isCaptain")?sessionStorage.getItem("isCaptain"):1==Object(j.c)("origin"),activityEnd:5==n.status}),j.b.isWeixin&&Object(j.i)({title:"@".concat(n.member[0].user_name," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(i.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"});var o=new URLSearchParams(window.location.search);"1"!==o.get("origin")||j.b.isWeixin||(o.set("origin","2"),sessionStorage.setItem("isCaptain","1"),window.history.replaceState(null,"","landing?".concat(o.toString()))),a.showSharePromptWithParam()}else r.a.info(s,2,null,!1)})},a.showSharePromptWithParam=function(){sessionStorage.getItem("showShareTip")&&!sessionStorage.getItem("closedRemind")&&a.showShareTip()},a.joinTeam=function(){if(!a.requiredLogin()){var e=a.state.treasure_code;j.d.post("".concat(API.home,"/sys/treasure/joinTeam"),{treasure_code:e}).then(function(e){var t=e.data,n=t.data,c=t.code,s=t.msg;if(200===c)switch(n.status){case 1:case 2:a.joinSuccess(n);break;default:r.a.info(s,2,null,!1)}else r.a.info(s,2,null,!1)})}},a.handleToMyTreasure=function(e){var t=a.props.history;a.joinSuccessPopup&&a.joinSuccessPopup.remove(),Object(j.c)("version")?t.push("/year/yearTreasure?id=".concat(e,"&version=").concat(Object(j.c)("version"))):t.push("/year/yearTreasure?id=".concat(e))},a.joinSuccess=function(e){var t=e.id,n=e.status,c=e.my_team,s=c.team_num,r=c.lack_member,i=c.is_team,o=c.treasure_code;a.joinSuccessPopup=Object(g.h)({title:h.a.createElement("div",{className:"join-success"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png",alt:""}),h.a.createElement("div",null,"\u6210\u529f\u52a0\u5165\u961f\u4f0d")),className:"landing-join-success-wrapper",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},2===n?"\u7ec4\u961f\u6210\u529f\uff0c\u606d\u559c\u4f60\u83b7\u5f97\u4e00\u4e2a\u5b9d\u7bb1\uff01":i?h.a.createElement(h.a.Fragment,null,"\u60a8\u7684",h.a.createElement("span",null,s),"\u53f7\u961f\u4f0d\u8fd8\u5dee",h.a.createElement("span",null,r),"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1"):"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~"),2===n?h.a.createElement("img",{style:{width:"150px",marginTop:"23px"},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif",alt:"",onClick:a.handleToMyTreasure.bind(Object(p.a)(Object(p.a)(a)),t)}):i?h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(p.a)(Object(p.a)(a)),o)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",onClick:a.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),closeIcon:a.closeIcon,close:function(){a.fetchPageData(),a.getFollowStatus().then(function(e){!e&&a.remind("join",a.state.treasure_code,2)})}})},a.inviteMembers=function(e){var t=a.props,n=t.history,c=t.match,s=t.user,r=t.location;if(Object(j.c)("version")){var i={title:"@".concat(s.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(r.pathname,"?treasure_code=").concat(e,"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"};Object(j.a)("toShare",i)}sessionStorage.setItem("showShareTip","1"),n.replace("".concat(c.url,"?treasure_code=").concat(e,"&origin=",1)),a.createTeamSuccessPopup&&a.createTeamSuccessPopup.remove()&&(a.createTeamSuccessPopup=null),a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.fetchPageData({treasure_code:e,origin:1}),a.setState({isCaptain:!0})},a.getFollowStatus=function(){return j.d.get("".concat(API.home,"/sys/user/isFollowWeChat")).then(function(e){var t=e.data,a=t.code,n=t.data;return 200===a&&n.is_follow})},a.createTeamSuccess=function(e){var t=e.member,n=e.team_num,c=e.lack_member,s=e.treasure_code;a.joinSuccessPopup&&a.joinSuccessPopup.remove()&&(a.joinSuccessPopup=null),a.getFollowStatus().then(function(e){a.createTeamSuccessPopup=Object(g.h)({title:"\u521b\u5efa\u6210\u529f",className:"landing-create-success",content:h.a.createElement("div",null,h.a.createElement("div",{className:"tip"},h.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",h.a.createElement("span",null,c),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),h.a.createElement("img",{className:"treasure-box",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),h.a.createElement("ul",{className:"members"},new Array(5).fill("a").map(function(e,a){var n=t[a];return h.a.createElement("li",{key:a},n&&n.is_captain&&h.a.createElement("sup",null,"\u961f\u957f"),h.a.createElement("img",{className:"avatar",src:n?n.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),h.a.createElement("button",{type:"button",onClick:a.inviteMembers.bind(Object(p.a)(Object(p.a)(a)),s)},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),closeIcon:a.closeIcon,afterClose:function(){e||a.remind("create",s)}})})},a.saveImage=function(e){var t=Object(j.c)("version");(t="string"===typeof t?t.replace(".","").replace(".","").slice(0,3):"")&&parseInt(t)<451?r.a.info("\u5f53\u524d\u4e0d\u652f\u6301\u6b64\u529f\u80fd\uff0c\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672capp\u53ef\u4ee5\u70b9\u51fb\u4fdd\u5b58\u4e8c\u7ef4\u7801\uff01",3,null,!1):Object(j.a)("generateQRCode",e)},a.remind=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"create",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,c=a.props.user;j.d.get("".concat(API["base-api"],"/wx/user_temporary_qrcode/").concat(c.data.uid)).then(function(e){return e.data.data.url}).then(function(c){w.a.toDataURL(c).then(function(s){Object(g.h)({title:"\u63d0\u9192\u670d\u52a1",className:"landing-remind",closeIcon:a.closeIcon,content:h.a.createElement("div",null,h.a.createElement("div",{className:"des"},"create"===e?"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~":"\u83b7\u5f97\u5b9d\u7bb1\u65f6\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),h.a.createElement("img",{src:s,alt:""}),j.b.isAndroidApp?h.a.createElement("div",null,h.a.createElement("button",{className:"android-qr-code-btn",onClick:a.saveImage.bind(Object(p.a)(Object(p.a)(a)),c)},"\u4fdd\u5b58\u4e8c\u7ef4\u7801")):null,h.a.createElement("div",{className:"des"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6")),close:function(){sessionStorage.setItem("closedRemind","1"),a.fetchPageData({treasure_code:t,origin:n})}})})})},a.showShareTip=function(){var e=a.props,t=e.user,n=e.location;j.b.isAndroidApp||j.b.isIOSApp?Object(j.a)("toShare",{title:"@".concat(t.data.username," \u9080\u60a8\u4e00\u8d77\u7ec4\u961f\u62ff\u8c6a\u793c\uff01"),desc:"\u52a0\u5165\u6211\u7684\u961f\u4f0d\uff0c\u673a\u68b0\u952e\u76d8\uff0c\u7eb8\u8d28\u4e66\u7c4d\u7b49\u8d85\u591a\u5956\u54c1\u7b49\u4f60\u62ff\uff01",link:"".concat(window.location.origin).concat(n.pathname,"?treasure_code=").concat(Object(j.c)("treasure_code"),"&origin=2"),imgUrl:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png"}):a.shareTipPopup=Object(g.h)({title:h.a.createElement("div",null,"\u8fd8\u5dee",h.a.createElement("span",null,a.state.teamData.lack_member),"\u540d\u961f\u53cb\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1 \u5feb\u5206\u4eab\u7ed9\u597d\u53cb\u5427~"),className:"landing-share-tip ".concat(j.b.isWeixin?"wechat":""),closable:!1,close:function(){sessionStorage.removeItem("showShareTip"),t.hasError||a.getFollowStatus().then(function(e){!e&&a.remind("create",Object(j.c)("treasure_code"),1)})}})},a.showOpenInBrowserTip=function(){Object(g.h)({title:h.a.createElement("div",null,"\u70b9\u51fb\u53f3\u4e0a\u89d2\uff0c\u9009\u62e9\u201c\u5728\u6d4f\u89c8\u5668\u6253\u5f00\u201d"),className:"landing-open-in-browser-tip",closable:!1})},a.createMyTeam=function(){a.requiredLogin()||j.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.data,c=t.code,s=t.msg;200==c?a.createTeamSuccess(n):r.a.info(s,2,null,!1)})},a.requiredLogin=function(){var e=a.props,t=e.history;if(e.user.hasError)return j.b.isWeixin?window.location.assign("https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=".concat(encodeURIComponent(window.location.href+"&aa=bb"),"&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect")):t.push("/passport"),!0},a.toSquare=function(){var e=a.props.history;Object(j.c)("version")?e.push("/year/yearindex?version="+Object(j.c)("version")):e.push("/year/yearindex")},a}return Object(m.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchPageData(),window.showFollowAlert=this.remind.bind(this,"create")}},{key:"componentDidUpdate",value:function(e){e.user.hasError===this.props.user.hasError||this.props.user.hasError||this.fetchPageData()}},{key:"componentWillUnmount",value:function(){this.shareTipPopup&&this.shareTipPopup.remove()}},{key:"render",value:function(){var e=this.state,t=e.teamData,a=t.head_img,n=t.member,s=t.status,r=t.lack_member,i=t.team_num,o=t.prize_info,l=t.my_team,u=e.activityEnd,m=e.isCaptain;return h.a.createElement("div",{id:"landing"},h.a.createElement("div",{id:"to-square"},h.a.createElement("a",{href:"javascript:",onClick:this.toSquare},"\u524d\u5f80\u6d3b\u52a8\u4f1a\u573a\uff0c\u4eab\u66f4\u591a\u798f\u5229\uff01 >>")),h.a.createElement(b,null,h.a.createElement("i",{className:"snow-deco"}),h.a.createElement("img",{className:"main-avatar",src:a,alt:""}),1===s?h.a.createElement("div",{className:"des"},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d\uff0c\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"):h.a.createElement("div",{className:"des"},"\u52a0\u5165\u6211\u7684",h.a.createElement("span",null,i),"\u53f7\u961f\u4f0d\uff0c\u4e00\u8d77\u5f00\u5b9d\u7bb1\u9886\u53d6\u4e30\u539a\u5956\u54c1~"),h.a.createElement(y.a,{showSystemNotices:!1}),h.a.createElement(E.a,null),h.a.createElement("div",{className:"group"},h.a.createElement("ul",{className:"member"},n&&n.length&&new Array(5).fill("a").map(function(e,t){var a=n[t];return a?h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},a.is_captain?h.a.createElement("sup",null,"\u961f\u957f"):null,h.a.createElement("img",{src:a.head_img,alt:"",className:"avatar"}))):h.a.createElement("li",{key:t},h.a.createElement("div",{className:"avatar-wrapper"},h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:"",className:"avatar"})))})),h.a.createElement("ul",{className:"bars"},n&&n.length&&new Array(5).fill("a").map(function(e,t){return h.a.createElement("li",{key:t,className:"".concat(t<n.length?"active":"")})})),1===s&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},"\u8fd8\u5dee ",r," \u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5f53\u524d\u5b9d\u7bb1\u54e6~"),h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.showShareTip},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d")),3===s&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5f53\u524d\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),4===s&&!u&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",{className:"group-des"},h.a.createElement("p",null,"\u5df2\u52a0\u5165\u5176\u4ed6\u961f\u4f0d"),l.is_team?h.a.createElement("p",null,"\u60a8\u7684",l.team_num,"\u53f7\u961f\u4f0d\u8fd8\u5dee",l.lack_member,"\u4eba\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1~"):h.a.createElement("p",null,"\u81ea\u5df1\u5f53\u961f\u957f\uff0c\u5b9d\u7bb1\u5185\u6709\u4e13\u5c5e\u5956\u54c1\u54e6~")),l.is_team?h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.inviteMembers.bind(this,l.treasure_code)},"\u7ee7\u7eed\u7ec4\u961f"):h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.createMyTeam},"\u521b\u5efa\u6211\u7684\u961f\u4f0d")),2===s&&!u&&h.a.createElement("button",{type:"button",className:"invite-btn",onClick:this.joinTeam},"\u540c\u610f\u52a0\u5165\u961f\u4f0d"),o&&0!==o.length&&!u&&!m&&h.a.createElement("div",{className:"certainly-prompt"},"\u7b2c",o[0].stage_no,"\u6b21\u5fc5\u4e2d ",o[0].name),u&&h.a.createElement("div",{className:"activity-end"},h.a.createElement("div",null,"\u6d3b\u52a8\u5df2\u7ed3\u675f"),h.a.createElement("div",null,"\u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u4e86\u89e3\u66f4\u591a\u6d3b\u52a8\u4fe1\u606f"),h.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png",alt:""}),h.a.createElement("div",null,"\u957f\u6309\u8bc6\u522b / \u5fae\u4fe1\u626b\u7801")))),!m&&h.a.createElement(h.a.Fragment,null,h.a.createElement(c.a,{size:"xl"}),h.a.createElement(_.a,{getSum:function(){}})))}}]),t}(d.Component);t.default=Object(v.b)(function(e){return{user:e.user}},null)(S)}}]);
//# sourceMappingURL=newyear-2019-landing.e17bcf8e.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["components/activity/newyear-2019/box-container/container.js","components/activity/newyear-2019/landing/index.js"],"names":["Container","react_default","a","createElement","className","this","props","children","Component","Landing","closeIcon","createTeamSuccessPopup","joinSuccessPopup","shareTipPopup","swiper","state","teamData","member","origin","sessionStorage","getItem","getParam","treasure_code","activityEnd","notices","rule","isCaptain","fetchPageData","_ref","arguments","length","undefined","_ref$origin","_this","_ref$treasure_code","location","http","post","concat","API","home","then","res","_res$data","data","code","msg","setState","status","browser","isWeixin","wxShare","title","user_name","desc","link","window","pathname","imgUrl","searchParams","URLSearchParams","search","get","set","setItem","history","replaceState","toString","showSharePromptWithParam","toast_default","info","showShareTip","joinTeam","requiredLogin","_res$data2","joinSuccess","handleToMyTreasure","id","remove","push","_ref2","_ref2$my_team","my_team","team_num","lack_member","is_team","Popup","src","alt","content","Fragment","style","width","marginTop","onClick","bind","Object","assertThisInitialized","type","inviteMembers","createMyTeam","close","getFollowStatus","isFollow","remind","_this$props","match","user","username","SendMessageToApp","replace","url","_res$data3","createTeamSuccess","_ref3","Array","fill","map","item","index","_member","key","afterClose","saveImage","version","slice","parseInt","uid","text","QRCode","toDataURL","isAndroidApp","_this$props2","isIOSApp","closable","removeItem","hasError","showOpenInBrowserTip","_res$data4","_this$props3","assign","encodeURIComponent","href","toSquare","showFollowAlert","prevProps","_this$state","_this$state$teamData","head_img","prize_info","container","prizes","showSystemNotices","user_bullet_screen","is_captain","stage_no","name","white_space_default","size","YearCourse","getSum","connect"],"mappings":"iQAceA,4LAVX,OACEC,EAAAC,EAAAC,cAAA,OAAKC,UAAW,iBACdH,EAAAC,EAAAC,cAAA,OAAKC,UAAU,aACZC,KAAKC,MAAMC,kBALEC,4FCWlBC,6MAGJC,UAAY,+EACZC,uBAAyB,OACzBC,iBAAmB,OACnBC,cAAgB,OAChBC,OAAS,OAGTC,MAAQ,CACNC,SAA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AS9F,UAAW,aAAc0F,QAASzF,KAAK+F,cAA7D,yCAOG,IAAXpD,IAAiBzB,GAAetB,EAAAC,EAAAC,cAAA,UAAS+F,KAAK,SAAS9F,UAAW,aAAc0F,QAASzF,KAAKmE,UAA9D,wCAKhC6E,GAAoC,IAAtBA,EAAWvH,SAAiBP,IAAgBG,GAAazB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,oBAAf,SACnEiJ,EAAW,GAAGM,SADqD,sBACvCN,EAAW,GAAGO,MAI9CrI,GACAtB,EAAAC,EAAAC,cAAA,OAAKC,UAAU,gBACbH,EAAAC,EAAAC,cAAA,6CACAF,EAAAC,EAAAC,cAAA,iIACAF,EAAAC,EAAAC,cAAA,OAAKoF,IAAI,kFAAkFC,IAAI,KAC/FvF,EAAAC,EAAAC,cAAA,sEAMLuB,GACDzB,EAAAC,EAAAC,cAAAF,EAAAC,EAAAwF,SAAA,KACEzF,EAAAC,EAAAC,cAAA0J,EAAA3J,EAAA,CAAY4J,KAAM,OAClB7J,EAAAC,EAAAC,cAAC4J,EAAA,EAAD,CAAYC,OAAQ,wBA/gBVxJ,aAwhBPyJ,sBACb,SAAAlJ,GAAK,MAAK,CAAC4F,KAAM5F,EAAM4F,OACvB,KAFasD,CAGbxJ","file":"mrstatic/js/newyear-2019-landing.e17bcf8e.chunk.js","sourcesContent":["import React, { Component } from 'react'\nimport './box-container.scss'\nclass Container extends Component {\n render() {\n return (\n <div className={'box-container'}>\n <div className=\"image-box\">\n {this.props.children}\n </div>\n </div>\n )\n }\n}\n\nexport default Container\n","import React, { Component } from 'react'\nimport BoxContainer from '../box-container/container'\nimport { Toast, WhiteSpace } from \"antd-mobile\"\nimport { Popup } from \"@common/index\"\nimport { connect } from \"react-redux\"\nimport Prizes from \"@components/activity/newyear-2019/common/prizes\"\nimport BulletScreen from \"@components/activity/newyear-2019/common/user-bullet-screen\"\nimport './landing.scss'\nimport { browser, getParam, http, wxShare, SendMessageToApp } from \"@/utils\"\nimport QRCode from \"qrcode\"\nimport YearCourse from '../preheat/YearCourse'\n\n\nclass Landing extends Component {\n\n\n closeIcon = 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/close-btn.png'\n createTeamSuccessPopup = null\n joinSuccessPopup = null\n shareTipPopup = null\n swiper = null\n\n\n state = {\n teamData: {\n member: []\n },\n origin: sessionStorage.getItem('isCaptain') ? 1 : getParam('origin'),\n treasure_code: getParam('treasure_code'),\n activityEnd: false,\n notices: [],\n rule: '',\n isCaptain: getParam('origin') == 1\n }\n\n componentDidMount() {\n this.fetchPageData()\n window.showFollowAlert = this.remind.bind(this, 'create')\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.user.hasError !== this.props.user.hasError && !this.props.user.hasError) {\n this.fetchPageData()\n }\n }\n\n componentWillUnmount() {\n this.shareTipPopup && this.shareTipPopup.remove()\n }\n\n\n fetchPageData = ({origin = this.state.origin, treasure_code = this.state.treasure_code} = {}) => {\n const {location} = this.props\n http.post(`${API.home}/sys/treasure/team`, {\n treasure_code,\n origin\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.setState({\n teamData: data,\n isCaptain: sessionStorage.getItem('isCaptain') ? sessionStorage.getItem('isCaptain') : getParam('origin') == 1,\n activityEnd: data.status == 5\n })\n\n if (browser.isWeixin) {\n wxShare({\n title: `@${data.member[0].user_name} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n // history.replace(`${match.url}?treasure_code=${getParam('treasure_code')}&origin=2`)\n }\n\n let searchParams = new URLSearchParams(window.location.search)\n if (searchParams.get('origin') === '1' && !browser.isWeixin) {\n searchParams.set('origin', '2')\n sessionStorage.setItem('isCaptain', '1')\n window.history.replaceState(null, '', `landing?${searchParams.toString()}`)\n }\n\n this.showSharePromptWithParam()\n\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n showSharePromptWithParam = () => {\n if (sessionStorage.getItem('showShareTip') && !sessionStorage.getItem('closedRemind')) {\n this.showShareTip()\n }\n }\n\n joinTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n const {treasure_code} = this.state\n http.post(`${API.home}/sys/treasure/joinTeam`, {\n treasure_code\n })\n .then(res => {\n const {data, code, msg} = res.data\n if (code === 200) {\n\n /*\n * status\n * 1-成功加入\n * 2-成功加入组队成功\n * 3-已加入当前队伍\n * 4-已加入其他队伍\n * */\n\n switch (data.status) {\n case 1:\n case 2:\n this.joinSuccess(data)\n break\n default:\n Toast.info(msg, 2, null, false)\n }\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n handleToMyTreasure = id => {\n const {history} = this.props\n this.joinSuccessPopup && this.joinSuccessPopup.remove()\n if (getParam('version')) {\n history.push(`/year/yearTreasure?id=${id}&version=${getParam('version')}`)\n } else {\n history.push(`/year/yearTreasure?id=${id}`)\n }\n }\n\n joinSuccess = ({id, status, my_team: {team_num, lack_member, is_team, treasure_code}}) => {\n this.joinSuccessPopup = Popup({\n title: <div className={'join-success'}>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/check-icon.png\" alt=\"\"/>\n <div>成功加入队伍</div>\n </div>,\n className: 'landing-join-success-wrapper',\n content: <div>\n <div className={'tip'}>\n {\n status === 2\n ? '组队成功,恭喜你获得一个宝箱!'\n : is_team\n ? <>您的{<span>{team_num}</span>}号队伍还差{<span>{lack_member}</span>}人即可获得宝箱</>\n : '自己当队长,宝箱内有专属奖品哦~'\n }\n </div>\n {\n status === 2\n ? <img style={{width: '150px', marginTop: '23px'}}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/treasure-split.gif\"\n alt=\"\"\n onClick={this.handleToMyTreasure.bind(this, id)}\n />\n : is_team\n ? <button type='button'\n onClick={this.inviteMembers.bind(this, treasure_code)}>继续组队</button>\n : <button type=\"button\" onClick={this.createMyTeam}>创建我的队伍</button>\n }\n </div>,\n closeIcon: this.closeIcon,\n close: () => {\n this.fetchPageData()\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('join', this.state.treasure_code, 2)\n })\n }\n })\n }\n\n inviteMembers = treasure_code => {\n const {history, match, user, location} = this.props\n if (getParam('version')) {\n let data = {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${treasure_code}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n }\n SendMessageToApp(\"toShare\", data)\n }\n sessionStorage.setItem('showShareTip', '1')\n history.replace(`${match.url}?treasure_code=${treasure_code}&origin=${1}`)\n this.createTeamSuccessPopup && this.createTeamSuccessPopup.remove() && (this.createTeamSuccessPopup = null)\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.fetchPageData({treasure_code, origin: 1})\n this.setState({\n isCaptain: true\n })\n }\n\n getFollowStatus = () => http.get(`${API.home}/sys/user/isFollowWeChat`)\n .then(res => {\n const {code, data} = res.data\n return code === 200 && data['is_follow']\n })\n\n createTeamSuccess = ({member, team_num, lack_member, treasure_code}) => {\n this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)\n this.getFollowStatus()\n .then(isFollow => {\n this.createTeamSuccessPopup = Popup({\n title: '创建成功',\n className: 'landing-create-success',\n content: <div>\n <div className=\"tip\">{<span>{team_num}</span>}号队伍 还差{<span>{lack_member}</span>}名队员即可获得宝箱哦~</div>\n <img className={'treasure-box'}\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png\" alt=\"\"/>\n <ul className='members'>\n {\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return <li key={index}>\n {_member && _member['is_captain'] && <sup>队长</sup>}\n <img\n className={'avatar'}\n src={\n _member\n ? _member['head_img']\n : \"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png\"\n }\n alt=\"\"/>\n </li>\n })\n }\n </ul>\n <button type={'button'} onClick={this.inviteMembers.bind(this, treasure_code)}>邀请好友加入队伍</button>\n </div>,\n closeIcon: this.closeIcon,\n afterClose: () => {\n if (!isFollow) {\n this.remind('create', treasure_code)\n }\n }\n })\n\n })\n }\n\n // 安卓手机保存二维码\n saveImage = url => {\n let version = getParam('version')\n version = typeof version === 'string' ? version.replace('.', '').replace('.', '').slice(0, 3) : ''\n if (version && parseInt(version) < 451) {\n Toast.info('当前不支持此功能,升级到最新版本app可以点击保存二维码!', 3, null, false)\n } else {\n SendMessageToApp('generateQRCode', url)\n }\n }\n\n\n remind = (type = 'create', treasure_code, origin = 1) => {\n const {user} = this.props\n http.get(`${API[\"base-api\"]}/wx/user_temporary_qrcode/${user.data.uid}`)\n .then(res => {\n const {data} = res.data\n return data.url\n }).then(text => {\n QRCode.toDataURL(text)\n .then(url => {\n Popup({\n title: '提醒服务',\n className: 'landing-remind',\n closeIcon: this.closeIcon,\n content: <div>\n <div className=\"des\">{type === 'create' ? '有好友加入队伍后第一时间通知我~' : '获得宝箱时第一时间通知我~'}</div>\n <img src={url} alt=\"\"/>\n {browser.isAndroidApp ? <div>\n <button className={'android-qr-code-btn'} onClick={this.saveImage.bind(this, text)}>保存二维码</button>\n </div> : null}\n <div className=\"des\">长按识别/扫码 关注【七月在线】服务号即可预约</div>\n </div>,\n close: () => {\n // history.replace(`${match.path}?treasure_code=${treasure_code}&origin=1`)\n sessionStorage.setItem('closedRemind', '1')\n this.fetchPageData({\n treasure_code,\n origin\n })\n }\n })\n })\n })\n\n }\n\n showShareTip = () => {\n const {user, location} = this.props\n if (browser.isAndroidApp || browser.isIOSApp) {\n\n SendMessageToApp('toShare', {\n title: `@${user.data.username} 邀您一起组队拿豪礼!`,\n desc: `加入我的队伍,机械键盘,纸质书籍等超多奖品等你拿!`,\n link: `${window.location.origin}${location.pathname}?treasure_code=${getParam('treasure_code')}&origin=2`,\n imgUrl: 'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/wx-share-icon.png'\n })\n\n } else {\n this.shareTipPopup = Popup({\n title: <div>还差<span>{this.state.teamData.lack_member}</span>名队友即可获得宝箱 快分享给好友吧~</div>,\n className: `landing-share-tip ${browser.isWeixin ? 'wechat' : ''}`,\n closable: false,\n close: () => {\n sessionStorage.removeItem('showShareTip')\n if (!user.hasError) {\n this.getFollowStatus()\n .then(isFollow => {\n !isFollow && this.remind('create', getParam('treasure_code'), 1)\n })\n }\n }\n })\n }\n }\n\n showOpenInBrowserTip = () => {\n Popup({\n title: <div>点击右上角,选择“在浏览器打开”</div>,\n className: 'landing-open-in-browser-tip',\n closable: false,\n })\n }\n\n createMyTeam = () => {\n if (this.requiredLogin()) {\n return\n }\n http.get(`${API.home}/sys/treasure/createMyTeam`)\n .then(res => {\n const {data, code, msg} = res.data\n if (code == 200) {\n\n this.createTeamSuccess(data)\n\n } else {\n Toast.info(msg, 2, null, false)\n }\n })\n }\n\n requiredLogin = () => {\n const {history, user} = this.props\n\n if (user.hasError) {\n if (browser.isWeixin) {\n window.location.assign(`https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=${encodeURIComponent(window.location.href + '&aa=bb')}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`)\n } else {\n history.push('/passport')\n }\n return true\n }\n }\n\n toSquare = () => {\n const {history} = this.props\n if (!getParam('version')) {\n history.push('/year/yearindex')\n } else {\n history.push('/year/yearindex?version=' + getParam('version'))\n }\n }\n\n\n render() {\n const {\n teamData: {\n head_img,\n member,\n status,\n lack_member,\n team_num,\n prize_info,\n my_team\n },\n activityEnd,\n isCaptain\n } = this.state\n /*\n * status\n * 1-自己的队伍\n * 2-未加入队伍\n * 3-已加入当前队伍\n * 4-已加入别的队伍\n * */\n\n return (\n <div id={'landing'}>\n <div id=\"to-square\">\n <a href='javascript:' onClick={this.toSquare}>前往活动会场,享更多福利! >></a>\n </div>\n <BoxContainer>\n <i className=\"snow-deco\"/>\n <img className='main-avatar'\n src={head_img} alt=\"\"/>\n {\n status === 1\n ? <div className=\"des\">邀请好友加入队伍,开宝箱领取丰厚奖品~</div>\n : <div className=\"des\">加入我的<span>{team_num}</span>号队伍,一起开宝箱领取丰厚奖品~</div>\n }\n <Prizes showSystemNotices={false}/>\n <BulletScreen/>\n <div className=\"group\">\n <ul className={'member'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n const _member = member[index]\n return (\n _member\n ? <li key={index}>\n <div className='avatar-wrapper'>\n {\n _member.is_captain ? <sup>队长</sup> : null\n }\n <img\n src={_member.head_img}\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n :\n <li key={index}>\n <div className=\"avatar-wrapper\">\n <img\n src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png\"\n alt=\"\"\n className=\"avatar\"/>\n </div>\n </li>\n )\n })\n }\n </ul>\n <ul className={'bars'}>\n {\n member && member.length &&\n new Array(5).fill('a').map((item, index) => {\n return (\n <li key={index} className={`${index < member.length ? 'active' : ''}`}/>\n )\n })\n }\n </ul>\n {\n status === 1 && !activityEnd &&\n <>\n <div className=\"group-des\">\n 还差 {lack_member} 名队员即可获得当前宝箱哦~\n </div>\n <button type='button' className={'invite-btn'} onClick={this.showShareTip}>\n 邀请好友加入队伍\n </button>\n </>\n }\n {\n status === 3 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入当前队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 4 && !activityEnd &&\n <>\n <div className=\"group-des\">\n <p>已加入其他队伍</p>\n {\n my_team['is_team']\n ? <p>您的{my_team['team_num']}号队伍还差{my_team['lack_member']}人即可获得宝箱~</p>\n : <p>自己当队长,宝箱内有专属奖品哦~</p>\n }\n </div>\n {\n my_team['is_team'] ?\n <button type='button' className={'invite-btn'}\n onClick={this.inviteMembers.bind(this, my_team['treasure_code'])}>\n 继续组队\n </button>\n : <button type='button' className={'invite-btn'} onClick={this.createMyTeam}>\n 创建我的队伍\n </button>\n }\n </>\n }\n {\n status === 2 && !activityEnd && < button type='button' className={'invite-btn'} onClick={this.joinTeam}>\n 同意加入队伍\n </button>\n }\n {\n prize_info && prize_info.length !== 0 && !activityEnd && !isCaptain && <div className=\"certainly-prompt\">\n 第{prize_info[0].stage_no}次必中 {prize_info[0].name}\n </div>\n }\n {\n activityEnd &&\n <div className='activity-end'>\n <div>活动已结束</div>\n <div>关注【七月在线】服务号了解更多活动信息</div>\n <img src=\"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/tinypng-common/right_weixin.png\" alt=\"\"/>\n <div>长按识别 / 微信扫码</div>\n </div>\n }\n </div>\n </BoxContainer>\n {\n !isCaptain &&\n <>\n <WhiteSpace size={'xl'}/>\n <YearCourse getSum={() => {\n }}/>\n </>\n }\n </div>\n )\n }\n}\n\nexport default connect(\n state => ({user: state.user}),\n null\n)(Landing)\n"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,a,f=r[0],d=r[1],c=r[2],s=0,l=[];s<f.length;s++)a=f[s],o[a]&&l.push(o[a][0]),o[a]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(u&&u(r);l.length;)l.shift()();return i.push.apply(i,c||[]),t()}function t(){for(var e,r=0;r<i.length;r++){for(var t=i[r],n=!0,a=1;a<t.length;a++){var d=t[a];0!==o[d]&&(n=!1)}n&&(i.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},a={34:0},o={34:0},i=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"d9fb2595",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"f51c79d9",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[e]+".chunk.css",o=f.p+n,i=document.getElementsByTagName("link"),d=0;d<i.length;d++){var c=(u=i[d]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(c===n||c===o))return r()}var s=document.getElementsByTagName("style");for(d=0;d<s.length;d++){var u;if((c=(u=s[d]).getAttribute("data-href"))===n||c===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.request=n,delete a[e],l.parentNode.removeChild(l),t(i)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var i,d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=function(e){return f.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"e0852eef",31:"ff545b12",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"7f350fe2",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[e]+".chunk.js"}(e),i=function(r){d.onerror=d.onload=null,clearTimeout(c);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,i=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");i.type=n,i.request=a,t[1](i)}o[e]=void 0}};var c=setTimeout(function(){i({type:"timeout",target:d})},12e4);d.onerror=d.onload=i,document.head.appendChild(d)}return Promise.all(r)},f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],c=d.push.bind(d);d.push=r,d=d.slice();for(var s=0;s<d.length;s++)r(d[s]);var u=c;t()}([]);
//# sourceMappingURL=runtime~main.c03901e0.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,f=r[0],d=r[1],c=r[2],s=0,l=[];s<f.length;s++)a=f[s],o[a]&&l.push(o[a][0]),o[a]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(u&&u(r);l.length;)l.shift()();return i.push.apply(i,c||[]),t()}function t(){for(var e,r=0;r<i.length;r++){for(var t=i[r],n=!0,a=1;a<t.length;a++){var d=t[a];0!==o[d]&&(n=!1)}n&&(i.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},a={34:0},o={34:0},i=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,9:1,10:1,11:1,13:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,29:1,30:1,31:1,32:1,33:1,35:1,36:1,37:1,38:1,39:1,40:1,42:1,43:1,44:1,45:1,46:1,47:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"d9fb2595",3:"5ed15c7e",4:"a74b39fb",5:"fc53c3d0",6:"f2f19957",7:"16a64650",8:"85889ffd",9:"2e7d81ca",10:"f2cc3163",11:"a74b39fb",12:"31d6cfe0",13:"35f475a1",14:"31d6cfe0",15:"e5315535",16:"b279d085",17:"bb7c3056",18:"278ad3b1",19:"3a4dbb7a",20:"ca49c1cb",21:"951fd27d",22:"f16046f0",23:"b92d0394",24:"ff6280ad",25:"6f3a01ca",26:"039d87dd",27:"e318ce59",29:"3c41b358",30:"f51c79d9",31:"b02991f9",32:"55e46fc9",33:"dd7556e0",35:"fab97849",36:"f09a5959",37:"b002c899",38:"08df3d15",39:"49988cae",40:"1f56370b",42:"50547718",43:"2471f477",44:"0bb224f2",45:"ecbb6f9a",46:"18c88f1f",47:"eb90513f"}[e]+".chunk.css",o=f.p+n,i=document.getElementsByTagName("link"),d=0;d<i.length;d++){var c=(u=i[d]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(c===n||c===o))return r()}var s=document.getElementsByTagName("style");for(d=0;d<s.length;d++){var u;if((c=(u=s[d]).getAttribute("data-href"))===n||c===o)return r()}var l=document.createElement("link");l.rel="stylesheet",l.type="text/css",l.onload=r,l.onerror=function(r){var n=r&&r.target&&r.target.src||o,i=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");i.request=n,delete a[e],l.parentNode.removeChild(l),t(i)},l.href=o,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=o[e]=[r,n]});r.push(t[2]=n);var i,d=document.createElement("script");d.charset="utf-8",d.timeout=120,f.nc&&d.setAttribute("nonce",f.nc),d.src=function(e){return f.p+"mrstatic/js/"+({4:"Activity",5:"BargainMiddlePage",6:"Classify",7:"Country",8:"CourseList",9:"DrawDocument",10:"Examination",11:"Invite",12:"MyEdit",13:"Order",14:"Orderinfo",15:"PayOrder",16:"Preferential",17:"SearchResult",18:"ShareCourse",19:"ShopCart",20:"aist-share",21:"blessing-getPrize",22:"blessing-preheat",23:"blessing-rank",24:"coupons",25:"deposit-order",26:"deposit-pay-order",27:"detail",29:"myorders",30:"newyear-2019-landing",31:"newyear-yearIndex",32:"prize-winner-list",33:"purchased",35:"search",36:"shareposter",37:"study",38:"system-notices",39:"togroup",40:"video"}[e]||e)+"."+{0:"b10ff0c0",1:"1f6f7e8d",2:"20d812c7",3:"8a29b502",4:"18a190eb",5:"14123d42",6:"b1df8cc8",7:"5cf684c9",8:"34861d84",9:"36f3a7f4",10:"19ee9f02",11:"0b5b5a4f",12:"b2640394",13:"1a1ef2d0",14:"61a73f31",15:"fec4c498",16:"25d20b41",17:"cfce13e0",18:"6a15c8a8",19:"9686142e",20:"23651e74",21:"20f3bb2a",22:"216591ab",23:"9a88cde3",24:"d3617beb",25:"5808a539",26:"4b200da8",27:"e4fa14fa",29:"3113d077",30:"e17bcf8e",31:"ff545b12",32:"63687f61",33:"2bba0bda",35:"941032bf",36:"9a0b00d8",37:"d3ec9cb4",38:"7f350fe2",39:"796a80ad",40:"72f1b799",42:"93b5c631",43:"8a6b5308",44:"5846c94e",45:"94dd8b4e",46:"5e9e1e20",47:"a2871adb"}[e]+".chunk.js"}(e),i=function(r){d.onerror=d.onload=null,clearTimeout(c);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,i=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");i.type=n,i.request=a,t[1](i)}o[e]=void 0}};var c=setTimeout(function(){i({type:"timeout",target:d})},12e4);d.onerror=d.onload=i,document.head.appendChild(d)}return Promise.all(r)},f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/",f.oe=function(e){throw console.error(e),e};var d=window.webpackJsonp=window.webpackJsonp||[],c=d.push.bind(d);d.push=r,d=d.slice();for(var s=0;s<d.length;s++)r(d[s]);var u=c;t()}([]);
//# sourceMappingURL=runtime~main.2f23cb09.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH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AAC,aACAjI,OAAA4H,eAAAvG,EAAA2G,OAAAC,YAAA,CAAwDC,MAAA,WAExDlI,OAAA4H,eAAAvG,EAAA,cAAiD6G,OAAA,KAQjDlH,EAAAmH,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAAlH,EAAAkH,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAtI,OAAAuI,OAAA,MAGA,GAFAvH,EAAA+G,EAAAO,GACAtI,OAAA4H,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAlH,EAAAwG,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAtH,EAAA0H,EAAA,SAAApH,GACA,IAAAoG,EAAApG,KAAA+G,WACA,WAA2B,OAAA/G,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAAwG,EAAAE,EAAA,IAAAA,GACAA,GAIA1G,EAAA2G,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5I,OAAAC,UAAAC,eAAAC,KAAAwI,EAAAC,IAGtD5H,EAAA4D,EAAA,IAGA5D,EAAA6H,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.c03901e0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"b10ff0c0\",\"1\":\"1f6f7e8d\",\"2\":\"20d812c7\",\"3\":\"8a29b502\",\"4\":\"18a190eb\",\"5\":\"14123d42\",\"6\":\"b1df8cc8\",\"7\":\"5cf684c9\",\"8\":\"34861d84\",\"9\":\"36f3a7f4\",\"10\":\"19ee9f02\",\"11\":\"0b5b5a4f\",\"12\":\"b2640394\",\"13\":\"1a1ef2d0\",\"14\":\"61a73f31\",\"15\":\"fec4c498\",\"16\":\"25d20b41\",\"17\":\"cfce13e0\",\"18\":\"6a15c8a8\",\"19\":\"9686142e\",\"20\":\"23651e74\",\"21\":\"20f3bb2a\",\"22\":\"216591ab\",\"23\":\"9a88cde3\",\"24\":\"d3617beb\",\"25\":\"5808a539\",\"26\":\"4b200da8\",\"27\":\"e4fa14fa\",\"29\":\"3113d077\",\"30\":\"e0852eef\",\"31\":\"ff545b12\",\"32\":\"63687f61\",\"33\":\"2bba0bda\",\"35\":\"941032bf\",\"36\":\"9a0b00d8\",\"37\":\"d3ec9cb4\",\"38\":\"7f350fe2\",\"39\":\"796a80ad\",\"40\":\"72f1b799\",\"42\":\"93b5c631\",\"43\":\"8a6b5308\",\"44\":\"5846c94e\",\"45\":\"94dd8b4e\",\"46\":\"5e9e1e20\",\"47\":\"a2871adb\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"d9fb2595\",\"3\":\"5ed15c7e\",\"4\":\"a74b39fb\",\"5\":\"fc53c3d0\",\"6\":\"f2f19957\",\"7\":\"16a64650\",\"8\":\"85889ffd\",\"9\":\"2e7d81ca\",\"10\":\"f2cc3163\",\"11\":\"a74b39fb\",\"12\":\"31d6cfe0\",\"13\":\"35f475a1\",\"14\":\"31d6cfe0\",\"15\":\"e5315535\",\"16\":\"b279d085\",\"17\":\"bb7c3056\",\"18\":\"278ad3b1\",\"19\":\"3a4dbb7a\",\"20\":\"ca49c1cb\",\"21\":\"951fd27d\",\"22\":\"f16046f0\",\"23\":\"b92d0394\",\"24\":\"ff6280ad\",\"25\":\"6f3a01ca\",\"26\":\"039d87dd\",\"27\":\"e318ce59\",\"29\":\"3c41b358\",\"30\":\"f51c79d9\",\"31\":\"b02991f9\",\"32\":\"55e46fc9\",\"33\":\"dd7556e0\",\"35\":\"fab97849\",\"36\":\"f09a5959\",\"37\":\"b002c899\",\"38\":\"08df3d15\",\"39\":\"49988cae\",\"40\":\"1f56370b\",\"42\":\"50547718\",\"43\":\"2471f477\",\"44\":\"0bb224f2\",\"45\":\"ecbb6f9a\",\"46\":\"18c88f1f\",\"47\":\"eb90513f\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","34","exports","module","l","e","promises","2","3","4","5","6","7","8","9","10","11","13","15","16","17","18","19","20","21","22","23","24","25","26","27","29","30","31","32","33","35","36","37","38","39","40","42","43","44","45","46","47","Promise","resolve","reject","href","12","14","0","1","fullhref","p","existingLinkTags","document","getElementsByTagName","dataHref","tag","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","parentNode","removeChild","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","jsonpScriptSrc","clearTimeout","chunk","errorType","realSrc","error","undefined","setTimeout","head","all","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,E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C,aACAjI,OAAA4H,eAAAvG,EAAA2G,OAAAC,YAAA,CAAwDC,MAAA,WAExDlI,OAAA4H,eAAAvG,EAAA,cAAiD6G,OAAA,KAQjDlH,EAAAmH,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAAlH,EAAAkH,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAtI,OAAAuI,OAAA,MAGA,GAFAvH,EAAA+G,EAAAO,GACAtI,OAAA4H,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAlH,EAAAwG,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAtH,EAAA0H,EAAA,SAAApH,GACA,IAAAoG,EAAApG,KAAA+G,WACA,WAA2B,OAAA/G,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAAwG,EAAAE,EAAA,IAAAA,GACAA,GAIA1G,EAAA2G,EAAA,SAAAgB,EAAAC,GAAsD,OAAA5I,OAAAC,UAAAC,eAAAC,KAAAwI,EAAAC,IAGtD5H,EAAA4D,EAAA,IAGA5D,EAAA6H,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhJ,KAAA0I,KAAAM,GACAA,EAAAhJ,KAAAX,EACA2J,IAAAG,QACA,QAAAvJ,EAAA,EAAgBA,EAAAoJ,EAAAlJ,OAAuBF,IAAAP,EAAA2J,EAAApJ,IACvC,IAAAU,EAAA4I,EAIAxI","file":"mrstatic/js/runtime~main.2f23cb09.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t34: 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t34: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"mrstatic/js/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"b10ff0c0\",\"1\":\"1f6f7e8d\",\"2\":\"20d812c7\",\"3\":\"8a29b502\",\"4\":\"18a190eb\",\"5\":\"14123d42\",\"6\":\"b1df8cc8\",\"7\":\"5cf684c9\",\"8\":\"34861d84\",\"9\":\"36f3a7f4\",\"10\":\"19ee9f02\",\"11\":\"0b5b5a4f\",\"12\":\"b2640394\",\"13\":\"1a1ef2d0\",\"14\":\"61a73f31\",\"15\":\"fec4c498\",\"16\":\"25d20b41\",\"17\":\"cfce13e0\",\"18\":\"6a15c8a8\",\"19\":\"9686142e\",\"20\":\"23651e74\",\"21\":\"20f3bb2a\",\"22\":\"216591ab\",\"23\":\"9a88cde3\",\"24\":\"d3617beb\",\"25\":\"5808a539\",\"26\":\"4b200da8\",\"27\":\"e4fa14fa\",\"29\":\"3113d077\",\"30\":\"e17bcf8e\",\"31\":\"ff545b12\",\"32\":\"63687f61\",\"33\":\"2bba0bda\",\"35\":\"941032bf\",\"36\":\"9a0b00d8\",\"37\":\"d3ec9cb4\",\"38\":\"7f350fe2\",\"39\":\"796a80ad\",\"40\":\"72f1b799\",\"42\":\"93b5c631\",\"43\":\"8a6b5308\",\"44\":\"5846c94e\",\"45\":\"94dd8b4e\",\"46\":\"5e9e1e20\",\"47\":\"a2871adb\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"2\":1,\"3\":1,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"13\":1,\"15\":1,\"16\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"29\":1,\"30\":1,\"31\":1,\"32\":1,\"33\":1,\"35\":1,\"36\":1,\"37\":1,\"38\":1,\"39\":1,\"40\":1,\"42\":1,\"43\":1,\"44\":1,\"45\":1,\"46\":1,\"47\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"mrstatic/css/\" + ({\"4\":\"Activity\",\"5\":\"BargainMiddlePage\",\"6\":\"Classify\",\"7\":\"Country\",\"8\":\"CourseList\",\"9\":\"DrawDocument\",\"10\":\"Examination\",\"11\":\"Invite\",\"12\":\"MyEdit\",\"13\":\"Order\",\"14\":\"Orderinfo\",\"15\":\"PayOrder\",\"16\":\"Preferential\",\"17\":\"SearchResult\",\"18\":\"ShareCourse\",\"19\":\"ShopCart\",\"20\":\"aist-share\",\"21\":\"blessing-getPrize\",\"22\":\"blessing-preheat\",\"23\":\"blessing-rank\",\"24\":\"coupons\",\"25\":\"deposit-order\",\"26\":\"deposit-pay-order\",\"27\":\"detail\",\"29\":\"myorders\",\"30\":\"newyear-2019-landing\",\"31\":\"newyear-yearIndex\",\"32\":\"prize-winner-list\",\"33\":\"purchased\",\"35\":\"search\",\"36\":\"shareposter\",\"37\":\"study\",\"38\":\"system-notices\",\"39\":\"togroup\",\"40\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"d9fb2595\",\"3\":\"5ed15c7e\",\"4\":\"a74b39fb\",\"5\":\"fc53c3d0\",\"6\":\"f2f19957\",\"7\":\"16a64650\",\"8\":\"85889ffd\",\"9\":\"2e7d81ca\",\"10\":\"f2cc3163\",\"11\":\"a74b39fb\",\"12\":\"31d6cfe0\",\"13\":\"35f475a1\",\"14\":\"31d6cfe0\",\"15\":\"e5315535\",\"16\":\"b279d085\",\"17\":\"bb7c3056\",\"18\":\"278ad3b1\",\"19\":\"3a4dbb7a\",\"20\":\"ca49c1cb\",\"21\":\"951fd27d\",\"22\":\"f16046f0\",\"23\":\"b92d0394\",\"24\":\"ff6280ad\",\"25\":\"6f3a01ca\",\"26\":\"039d87dd\",\"27\":\"e318ce59\",\"29\":\"3c41b358\",\"30\":\"f51c79d9\",\"31\":\"b02991f9\",\"32\":\"55e46fc9\",\"33\":\"dd7556e0\",\"35\":\"fab97849\",\"36\":\"f09a5959\",\"37\":\"b002c899\",\"38\":\"08df3d15\",\"39\":\"49988cae\",\"40\":\"1f56370b\",\"42\":\"50547718\",\"43\":\"2471f477\",\"44\":\"0bb224f2\",\"45\":\"ecbb6f9a\",\"46\":\"18c88f1f\",\"47\":\"eb90513f\"}[chunkId] + \".chunk.css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\tvar error = new Error('Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')');\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
......@@ -80,8 +80,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/Examination.19ee9f02.chunk.js"
},
{
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
},
{
"revision": "7ed3b0b062dd73187af6",
......@@ -92,8 +92,8 @@ self.__precacheManifest = [
"url": "/mrstatic/js/MyEdit.b2640394.chunk.js"
},
{
"revision": "258b4b114d3d9be3018cd113b2470a13",
"url": "/mrstatic/media/iconfont.258b4b11.ttf"
"revision": "7aa984cefad739ea18edb76c541aa1fd",
"url": "/mrstatic/media/iconfont.7aa984ce.eot"
},
{
"revision": "0a2b26c2a2351f8f0c9a",
......@@ -224,12 +224,12 @@ self.__precacheManifest = [
"url": "/mrstatic/js/myorders.3113d077.chunk.js"
},
{
"revision": "5831a640dce06c12bb6c",
"url": "/mrstatic/js/runtime~main.c03901e0.js"
"revision": "eefdb9e2b00d78f7570b",
"url": "/mrstatic/js/runtime~main.2f23cb09.js"
},
{
"revision": "d86144a9776bd409a0e1",
"url": "/mrstatic/js/newyear-2019-landing.e0852eef.chunk.js"
"revision": "ed3d21d3fb5df5ee50b4",
"url": "/mrstatic/js/newyear-2019-landing.e17bcf8e.chunk.js"
},
{
"revision": "9cbc00576e5053acae74",
......@@ -300,7 +300,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/newyear-yearIndex.b02991f9.chunk.css"
},
{
"revision": "d86144a9776bd409a0e1",
"revision": "ed3d21d3fb5df5ee50b4",
"url": "/mrstatic/css/newyear-2019-landing.f51c79d9.chunk.css"
},
{
......@@ -412,7 +412,7 @@ self.__precacheManifest = [
"url": "/mrstatic/css/2.d9fb2595.chunk.css"
},
{
"revision": "a8c69998e339ab3c2a193399fd55155d",
"revision": "e6bc92d7b3b1597c86bf14f0ebf5b37b",
"url": "/index.html"
}
];
\ No newline at end of file
......@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts(
"/precache-manifest.3a039c296631a40f97b16f7c865bdc93.js"
"/precache-manifest.9fd856c2bff950148cfdfee53b341e9f.js"
);
workbox.clientsClaim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment