Commit d00de250 by FE

prize type is 5

parent e54a0d0f
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{1236:function(e,t,a){},1237:function(e,t,a){},1238:function(e,t,a){},1239:function(e,t,a){},1240:function(e,t,a){},1241:function(e,t,a){},1242:function(e,t,a){},1243:function(e,t,a){},1244:function(e,t,a){},1245:function(e,t,a){},1246:function(e,t,a){},1247:function(e,t,a){},1248:function(e,t,a){},1249:function(e,t,a){},1250:function(e,t,a){},1284:function(e,t,a){"use strict";a.r(t);var n=a(5),s=a(7),r=a(6),i=a(8),c=a(9),o=a(0),l=a.n(o),m=(a(1250),a(3)),u=a(660),d=a(659),p=a(49),h=function(e){function t(){var e,a;Object(n.a)(this,t);for(var s=arguments.length,c=new Array(s),o=0;o<s;o++)c[o]=arguments[o];return(a=Object(r.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(c)))).state={list:[],activityStage:1},a.fetchCourse=function(){m.d.get("".concat(API.home,"/activity/wish_course")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&a.setState({list:"{}"===JSON.stringify(s)?[]:s})})},a.getStage=function(){m.d.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&a.setState({activityStage:s.activity_stage})})},a.toCourse=function(e){var t=a.props.history;Object(m.c)("version")?Object(m.a)("toCourse",e):t.push("/detail?id=".concat(e))},a}return Object(c.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourse(),this.getStage()}},{key:"componentWillUpdate",value:function(){this.state.activityStage;document.title="\u4e03\u6708\u5728\u7ebf\u5e74\u7ec8\u5927\u56de\u9988\uff0c\u4eba\u6c14\u597d\u8bfe\u514d\u8d39\u5b66\uff0c\u7cbe\u54c1\u8bfe\u7a0b1\u5206\u62a2\uff01"}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.activityStage;return l.a.createElement("div",{className:"year-wish"},l.a.createElement("div",{className:"banner"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/xy_banner_bj.png",alt:""})),a.length>0?l.a.createElement(u.a,null,l.a.createElement("div",{className:"groupcourse course-box"},a&&a.length>0&&a.map(function(t){return l.a.createElement(d.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},4==t.type&&1!=t.is_buy&&l.a.createElement("div",{className:"group-num"},"\u9650\u91cf300\u4e2a"),l.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&l.a.createElement(l.a.Fragment,null,l.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),l.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"type"},0==t.type&&l.a.createElement(l.a.Fragment,null,l.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),l.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),(1==t.type||4==t.type)&&l.a.createElement(l.a.Fragment,null,l.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),l.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&l.a.createElement(l.a.Fragment,null,l.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),l.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),l.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",l.a.createElement("span",{className:"new-price"},4==t.type?"0.01":t.price2),l.a.createElement("span",{className:"old-price"}," \u73b0\u4ef7\uff1a",l.a.createElement("s",null,"\xa5",t.price1))),l.a.createElement("div",{className:"status"},l.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&l.a.createElement("a",{className:"status-btn add-wish"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&l.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id)},className:"status-btn add-wish-success"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))}))):l.a.createElement("div",{className:"notData"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-empty.png",alt:""}),1==n?l.a.createElement("p",null,"\u4f60\u7684\u5fc3\u613f\u5355\u76ee\u524d\u7a7a\u7a7a\u5982\u4e5f\uff0c",l.a.createElement("br",null),"\u5feb\u53bb\u6311\u9009\u66f4\u591a\u4f18\u60e0\u8bfe\u7a0b\u5427\uff5e"):l.a.createElement("p",null,"\u4f60\u7684\u5fc3\u613f\u5355\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c",l.a.createElement("br",null),"\u611f\u5174\u8da3\u7684\u8bfe\u7a0b\u53ef\u5728\u53cc\u65e6\u4e3b\u4f1a\u573a\u76f4\u63a5\u8d2d\u4e70\uff01")))}}]),t}(o.Component);t.default=Object(p.g)(h)},1288:function(e,t,a){"use strict";a.r(t);var n,s=a(5),r=a(7),i=a(6),c=a(8),o=a(9),l=a(0),m=a.n(l),u=a(22),d=a(28),p=(a(41),a(12)),h=a.n(p),f=a(19),_=a(3),v=a(20),b=(a(1241),function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).fetchUserAddress=function(){var e=a.state.addressInfo;_.d.get("".concat(API.home,"/sys/user_address_info")).then(function(t){var n=t.data,s=n.code,r=n.data;n.msg;200===s&&a.setState({addressInfo:Object.assign({},e,{name:r.name,phone:r.phone,address:r.address}),isLoading:!0})})},a.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props.successBindAddress;_.d.post("".concat(API.home,"/sys/update_address"),Object(f.a)({act_type:"treasure"},e)).then(function(e){var a=e.data,n=a.code,s=a.msg;200===n?t():h.a.info(s,2,null,!1)})},a.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,t=this.state,a=t.isLoading,n=t.addressInfo,s=this.props,r=s.tip,i=s.prize,c=s.skip,o=void 0===c?"default":c;return m.a.createElement(m.a.Fragment,null,a&&m.a.createElement(v.d,{initialValues:Object(f.a)({},n),validate:function(e){var t=e.name,a=e.phone,n=e.address,s={};return t||(s.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(a)||(s.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(s.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),s},validateOnBlur:!1,validateOnChange:!1,onSubmit:function(t){e.handleToSubmit(t)},render:function(e){var t=e.errors;return m.a.createElement(v.c,{className:"address-form","data-skip":o},m.a.createElement("h2",{className:"address-form__title"},"\u6536\u8d27\u4fe1\u606f"),i?m.a.createElement("p",{className:"address__prize"},"\u60a8\u62bd\u4e2d\u4e86",i,m.a.createElement("span",{style:{color:"#FF4000"}},"\u5b9e\u7269\u5956\u54c1")):null,r?m.a.createElement("div",{className:"address-form__subtitle"},r):m.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),m.a.createElement(v.b,{name:"name",render:function(e){var a=e.field;return m.a.createElement("div",{className:"address-form__item"},m.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),t.name&&m.a.createElement("p",{className:"address-form__tip"},t.name))}}),m.a.createElement(v.b,{name:"phone",render:function(e){var a=e.field;return m.a.createElement("div",{className:"address-form__item"},m.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),t.phone&&m.a.createElement("p",{className:"address-form__tip"},t.phone))}}),m.a.createElement(v.b,{name:"address",render:function(e){var a=e.field;return m.a.createElement("div",{className:"address-form__item"},m.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),t.address&&m.a.createElement("p",{className:"address-form__tip"},t.address))}}),m.a.createElement("button",{className:"address-form__submit","data-status":"do",type:"submit"},"\u63d0\u4ea4"))}}))}}]),t}(l.Component)),E=a(42),y=a(70),g=(a(1242),function(e){function t(e){var a;return Object(s.a)(this,t),a=Object(i.a)(this,Object(c.a)(t).call(this,e)),a.captchaInstance=null,a.initCountryInfo=function(){var e=a.props.country;a.setState({country:e})},a.toFetchCountryNum=function(){var e=a.props,t=e.history;(0,e.hideBindPhone)(),t.push("/country?from=bind")},a.getCaptchaInstance=function(e){a.captchaInstance=e},a.onVerify=function(e,t){e?console.log(e):a.setState({validate:t.validate})},a.handleToSend=function(e){var t=e.tel,n=(e.code,a.state),s=n.validate,r=n.seconds,i=n.isFirst,c=n.isTimer,o=n.country.num,l=void 0===o?"86":o;if(s){if(!i)return h.a.info("\u8bf7\u91cd\u65b0\u8fdb\u884c\u6ed1\u5757\u9a8c\u8bc1",2,null,!1),a.captchaInstance.refresh(),void a.setState({isFirst:!0});c||(t?/^\d+$/.test(t)?_.d.post("".concat(API["passport-api"],"/m/personal/bindPhoneSendCode"),{area_code:"00".concat(l),phone_num:t}).then(function(e){var t=e.data,n=t.errno,s=t.msg;200===n?(h.a.info("\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f",2,null,!1),a.timer=window.setInterval(function(){r<=0?(window.clearInterval(a.timer),a.setState({isTimer:!1,seconds:60})):a.setState({isTimer:!0,seconds:--r})},1e3),a.setState({isFirst:!1})):h.a.info(s,2,null,!1)}):h.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7\u7801",2,null,!1):h.a.info("\u624b\u673a\u53f7\u7801\u4e0d\u80fd\u4e3a\u7a7a",2,null,!1))}return!1},a.toBindPhone=function(){var e=a.state,t=e.accountInfo,n=t.tel,s=t.code,r=e.country.num,i=void 0===r?"86":r,c=a.props,o=c.handleToConfirmPhone,l=c.successBindPhone,m={area_code:"00".concat(i),mobile:n,code:s,act_type:"treasure"};_.d.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(f.a)({},m,{type:1,is_valid:1})).then(function(e){var t=e.data,a=t.code,n=t.data,s=t.msg;200===a?n.tip_info?o(m,n.tip_info):l():h.a.info(s,2,null,!1)})},a.state={validate:"",seconds:60,isFirst:!0,timer:null,isTimer:!1,accountInfo:{},bindInfo:{},country:{num:"86"}},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.initCountryInfo()}},{key:"render",value:function(){var e=this,t=this.props,a=t.desc,n=t.skip,s=void 0===n?"year":n,r=this.state,i=r.country,c=r.validate,o=r.isTimer,l=r.seconds;return m.a.createElement(v.d,{initialValues:{tel:"",code:""},validate:function(e){var t=e.tel,a=e.code,n={};return/^\d+$/.test(t)||(n.tel="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),/[0-9]{6}/.test(a)||(n.code="\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"),n},onSubmit:function(t,a){a.setStatus,a.setSubmitting;e.setState({accountInfo:Object(f.a)({},t)}),e.toBindPhone()},render:function(t){var n=t.values,r=n.tel,u=n.code,d=t.errors;return m.a.createElement(v.c,{className:"popup-form","data-skip":s},m.a.createElement("h2",{className:"popup-form__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),a&&m.a.createElement("div",{className:"poup-form__desc"},a),m.a.createElement("div",{className:"popup-form__item"},m.a.createElement("a",{className:"popup-form__button--num",onClick:e.toFetchCountryNum},"+",i.num,m.a.createElement("i",{className:"iconfont iconiconfront-69"})),m.a.createElement(v.b,{name:"tel",render:function(e){var t=e.field;return m.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt","data-type":"tel",type:"text",placeholder:"\u8bf7\u586b\u5199\u624b\u673a\u53f7"}))}})),m.a.createElement(y.a,{getInstance:e.getCaptchaInstance,onVerify:e.onVerify}),m.a.createElement("div",{className:"popup-form__item"},m.a.createElement(v.b,{name:"code",render:function(e){var t=e.field;return m.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt popup-form__ipt--left",type:"text",placeholder:"\u8f93\u5165\u9a8c\u8bc1\u7801"}))}}),m.a.createElement("button",{className:"popup-form__button--code","data-status":c&&!o?"do":"",type:"button",onClick:function(){return e.handleToSend({tel:r,code:u})}},o?"\u91cd\u65b0\u53d1\u9001".concat(l,"s"):"\u53d1\u9001\u9a8c\u8bc1\u7801")),m.a.createElement("button",{className:"popup-form__button--bundle","data-status":r&&u&&Object(E.isEmpty)(d)?"do":"done",type:"submit"},"\u5b8c\u6210\u7ed1\u5b9a"))}})}}]),t}(l.Component)),N=(a(1243),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r)))).continueBindPhone=function(){var e=a.props,t=e.data,n=e.successBindPhone;_.d.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(f.a)({},t,{type:1,is_valid:0})).then(function(e){var t=e.data,a=t.code,s=t.msg;200===a?n():h.a.info(s,2,null,!1)})},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.bindInfo,a=void 0===t?{}:t,n=e.desc,s=e.skip,r=void 0===s?"year":s,i=e.handleToCancle;return m.a.createElement("div",{className:"popup-bind","data-skip":r},m.a.createElement("h2",{className:"popup-bind__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),n?m.a.createElement("div",{className:"popup-bind__desc"},n):m.a.createElement("p",{className:"popup-bind__desc"},"\u8be5\u624b\u673a\u53f7\u5df2\u7ed1\u5b9a\u5230\u4ee5\u4e0b\u8d26\u53f7\uff0c\u7ee7\u7eed\u7ed1\u5b9a\u5c06\u89e3\u9664\u4ee5\u4e0b\u7ed1\u5b9a\u72b6\u6001"),m.a.createElement("ul",{className:"popup-bind__list"},a.email&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"mail"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.email)),a.wechat_nickname&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"wachat"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.wechat_nickname)),a.qq_nickname&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"qq"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.qq_nickname)),a.sina_nickname&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"sina"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.sina_nickname))),m.a.createElement("div",{className:"popup-bind__footer"},m.a.createElement("button",{className:"popup-bind__button popup-bind__button--cancle",onClick:i},"\u53d6\u6d88"),m.a.createElement("button",{className:"popup-bind__button popup-bind__button--confirm",onClick:this.continueBindPhone},"\u7ee7\u7eed\u7ed1\u5b9a")))}}]),t}(l.Component)),k=(a(1244),function(e){console.log(e);var t=e.data,a=t.team_num,n=void 0===a?1:a,s=t.lack_member,r=void 0===s?4:s,i=t.member,c=void 0===i?[]:i,o=e.handleToInvite,l=new Array(5).fill({});return m.a.createElement("div",{className:"team-success"},m.a.createElement("h2",{className:"team-success__title"},"\u521b\u5efa\u6210\u529f"),m.a.createElement("p",{className:"team-success__tip"},m.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",m.a.createElement("span",null,r),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),m.a.createElement("i",{className:"team-success__icon"}),m.a.createElement("ul",{className:"team-success__member members"},l.map(function(e,t){var a=c[t];return m.a.createElement("li",{className:"member-item",key:t},a&&a.is_captain&&m.a.createElement("sup",{className:"member-item__captain"},"\u961f\u957f"),m.a.createElement("img",{className:"member-item__avatar",src:a?a.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),m.a.createElement("button",{type:"button",className:"team-success__button",onClick:o},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d"))}),j=a(17),C=a.n(j),I=a(16),O=(a(1245),function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).initMemberInfo=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.data,s=t.userInfo,r="{}"!==JSON.stringify(e)?e:n,i=r.member,c=i.length-5;c<0;c++)i.push({});a.setState({team:Object.assign({},r,{member:i}),currentMember:s.uid?i.filter(function(e){return e.uid==s.uid})[0]:{}})},a.computedClass=function(e){var t=a.props.data.is_open,n=a.state.currentMember;return C()("team-member__item",{active:e===n.uid&&t})},a.computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.toCheckPrize=function(e){var t=a.state.team,n=t.is_open,s=t.member;if(n){var r=(void 0===s?[]:s).filter(function(t){return t.uid===e});a.setState({currentMember:r[0]})}},a.state={team:{},currentMember:{}},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.initMemberInfo()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.data,a=e.data;a.is_open!=t.is_open&&this.initMemberInfo(a)}},{key:"render",value:function(){var e=this,t=this.state,a=t.team,n=a.is_captain,s=a.status,r=a.team_num,i=a.lack_member,c=a.is_open,o=a.treasure_code,l=a.member,u=void 0===l?[]:l,d=t.currentMember,p=this.props,h=p.toSplitTreasure,f=p.userInfo,_=p.children;return m.a.createElement("div",{className:"team-container","data-skip":"team"},!n&&m.a.createElement("i",{className:"team-friend"},"\u53cb"),1===s?m.a.createElement("i",{className:"team-status"},"\u7ec4\u961f\u4e2d.."):m.a.createElement("i",{className:"team-decorate"}),n?m.a.createElement("h2",{className:"team-title"},r,"\u53f7\u961f\u4f0d"):m.a.createElement("h2",{className:"team-title"},"\u597d\u53cb\u961f\u4f0d"),1===s?m.a.createElement("p",{className:"team-desc"},"\u8fd8\u5dee",i,"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6\uff5e"):m.a.createElement("p",{className:"team-desc"},"\u7ec4\u961f\u6210\u529f"),m.a.createElement("div",{className:"team-member"},u.map(function(t,a){return m.a.createElement("div",{className:e.computedClass(t.uid),onClick:function(){return e.toCheckPrize(t.uid)},key:a,style:e.computedBg(t.head_img)},t.is_captain&&m.a.createElement("span",{className:"team-member__captain"},"\u961f\u957f"))})),m.a.createElement("div",{className:"team-footer","data-layout":c?"column":"row"},1===s&&m.a.createElement(m.a.Fragment,null,n?m.a.createElement(I.b,{className:"team-button",to:"/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=1")},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement(I.b,{className:"team-button",to:"/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=2")},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f")),2===s&&!c&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"team-icon","data-direction":"left"}),m.a.createElement("span",{className:"team-button--split",onClick:h}),m.a.createElement("span",{className:"team-icon","data-direction":"right"})),2===s&&c&&m.a.createElement(m.a.Fragment,null,d.prize_name?m.a.createElement("p",{className:"team-prize"},d.prize_name):m.a.createElement("p",{className:"team-prize"},"\u5c1a\u672a\u62c6\u5f00\u5b9d\u7bb1"),d.uid==f.uid?_:null)))}}]),t}(l.Component)),T=(a(1246),function(e){var t=e.data,a=t.bind_phone,n=t.bind_address,s=t.prize_type,r=e.handleToBindPhone,i=e.handleToBindAddress,c=e.toComposeCoupon,o=e.toUseCoupon,l=e.toCourseList,u=e.toFecthMoney;return m.a.createElement(m.a.Fragment,null,a&&m.a.createElement("a",{className:"team-result",onClick:r},m.a.createElement("span",null,"\u7ed1\u5b9a\u624b\u673a\u53f7")),!a&&n&&m.a.createElement("a",{className:"team-result",onClick:i},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&1===s&&m.a.createElement("a",{className:"team-result",onClick:i},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&6===s&&m.a.createElement("a",{className:"team-result",onClick:c},"\u53ef\u5408\u6210\u4ee3\u91d1\u5238\u5728\u8d2d\u8bfe\u65f6\u4f7f\u7528\uff0c",m.a.createElement("span",null,"\u53bb\u5408\u6210")),!a&&!n&&3===s&&m.a.createElement("a",{className:"team-result",onClick:o},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&4===s&&m.a.createElement("a",{className:"team-result",onClick:l},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&7===s&&m.a.createElement("a",{className:"team-result",onClick:u},"\u5df2\u5b58\u5165\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u63d0\u73b0")),!a&&!n&&2===s&&m.a.createElement("a",{className:"team-result"},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237"))}),S=(a(1247),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r)))).computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.continueSplitTreasure=function(){var e=a.props,t=e.ids,n=e.successSplitTreasure,s=e.handleToBindPhone,r=e.handleToBindAddress,i=t[0];_.d.post("".concat(API.home,"/sys/split_treasure"),i).then(function(e){var t=e.data,a=t.code,i=t.data;200===a?(n(i),i.bind_phone?setTimeout(function(){s(i.id)},500):i.bind_address&&setTimeout(function(){r(i.id)},500)):12e3===a?s():12001===a&&r()})},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.ids,n=t.data,s=n.member,r=void 0===s?[]:s,i=n.prize_img,c=n.prize_name,o=t.handleToInvite,l=t.children;return m.a.createElement("div",{"data-skip":"split"},m.a.createElement("h2",{className:"split-success__title"},"\u606d\u559c\u4f60\u83b7\u5f97"),m.a.createElement("div",{className:"split-success__image"},m.a.createElement("img",{src:i,alt:""})),m.a.createElement("p",{className:"split-success__prize"},c),l,m.a.createElement("div",{className:"split-success__member"},r.map(function(t,a){return m.a.createElement("div",{className:"member-item",key:a},m.a.createElement("span",{className:"member-item__avatar",style:e.computedBg(t.avatar)},t.is_captain&&m.a.createElement("i",{className:"member-item__captain"},"\u961f\u957f")),t.prize?m.a.createElement("span",{className:"member-item__prize"},t.prize):m.a.createElement("span",{className:"member-item__prize"},"\u5c1a\u672a\u62c6\u5f00\u5b9d\u7bb1"))})),a.length>0?m.a.createElement("button",{className:"split-success__jump",onClick:this.continueSplitTreasure},"\u7ee7\u7eed\u5f00\u5b9d\u7bb1"):m.a.createElement("button",{className:"split-success__jump",onClick:o},"\u7ee7\u7eed\u7ec4\u961f\u5f00\u5b9d\u7bb1"))}}]),t}(l.Component)),w=a(21),P=a.n(w),A=(a(1248),document.querySelector("body")),B=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).el||(a.el=document.createElement("div")),a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){A.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){A.removeChild(this.el)}},{key:"render",value:function(){var e=this.props,t=e.visible,a=e.handleToHide;return t?P.a.createPortal(m.a.createElement("div",{className:"mask"},m.a.createElement("div",{className:"mask-content"},this.props.children),m.a.createElement("div",{className:"mask-footer"},m.a.createElement("i",{className:"mask-button__close",onClick:a}))),this.el):null}}]),t}(l.Component),M=(a(1249),a(811),Object(u.b)(function(e){return{country:e.country,userInfo:e.user.data}})(n=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).popupInstance=null,a.initPrizeName=function(e){var t=a.fetchCurrentTeamId(e),n=e.filter(function(e){return e.id==t});n.length>0&&a.setState({prizeName:n[0].prize_name})},a.judgeIsHaveId=function(e){var t=Object(_.c)("id");if(t){var n=e.filter(function(e){return e.id==t});if(n.length>0){var s={team_num:n[0].team_num,owner_uid:n[0].captain_uid};a.toSplitTreasure(s)}}},a.fetchCurrentTeamId=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(function(e){return e.is_open&&(e.bind_phone||e.bind_address)});return e.length>0?e[0].id:""},a.isShowBindPhone=function(e){if(a.props.country.from){var t=a.fetchCurrentTeamId(e);a.handleToBindPhone(t)}},a.handleToBindPhone=function(e){a.setState({isPhone:!0})},a.handleToConfirmPhone=function(e,t){a.handleToHideWindow("isPhone"),a.setState({confirmInfo:{params:e,bindInfo:t},isConfirm:!0})},a.successBindPhone=function(){a.setState({isPhone:!1,isConfirm:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),r=t.map(function(e){return e.id==s?(e.bind_address&&a.handleToBindAddress(),Object.assign({},e,{bind_phone:!1})):e});a.setState({teams:r,splitInfo:Object.assign({},n,{bind_phone:!1})})},a.toSplitTreasure=function(e){_.d.post("".concat(API.home,"/sys/split_treasure"),e).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?(a.showSuccessSplit(s),a.successSplitTreasure(s),s.bind_phone?setTimeout(function(){a.handleToBindPhone(s.id)},500):s.bind_address&&setTimeout(function(){a.handleToBindAddress(s.id)},500)):12e3===n?a.handleToBindPhone():12001===n&&a.handleToBindAddress()})},a.successSplitTreasure=function(e){var t=a.props.userInfo,n=a.state.teams.map(function(a){return a.id==e.id?Object.assign({},a,{bind_phone:e.bind_phone,bind_address:e.bind_address,is_open:!0,prize_type:e.prize_type,prize_data:e.prize_data,member:a.member.map(function(a){return a.uid==t.uid?Object.assign({},a,{is_open:!0,prize_name:e.prize_name}):a})}):a});a.initNoSplitInfo(n),a.setState({teams:n,splitInfo:e,prizeName:e.prize_name})},a.showSuccessSplit=function(e){a.setState({isSplit:!0,splitInfo:e})},a.handleToBindAddress=function(e){a.setState({isAddress:!0})},a.successBindAddress=function(){a.setState({isAddress:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),r=t.map(function(e){return e.id==s?Object.assign({},e,{bind_address:!1}):e});a.setState({teams:r,splitInfo:Object.assign({},n,{bind_address:!1})})},a.fetchMyTreasure=function(){_.d.get("".concat(API.home,"/sys/treasure/my")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?(a.rule=s.rule,Array.isArray(s.team)&&s.team.length>0?(a.initNoSplitInfo(s.team),a.judgeIsHaveId(s.team),a.isShowBindPhone(s.team),a.initPrizeName(s.team),a.setState({isEmpty:!1,teams:s.team})):a.setState({isEmpty:!0})):4030!==n&&4040!==n||a.setState({isEmpty:!0})})},a.initNoSplitInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.length>0&&a.setState({ids:e.filter(function(e){return!e.is_open&&2===e.status}).map(function(e){return{team_num:e.team_num,owner_uid:e.captain_uid}})})},a.fetchActivityStatus=function(){_.d.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&a.setState({isEnd:0===s.treasure_stage})})},a.startCountDown=function(){var e=a.props.history,t=a.state.seconds;a.timer&&clearInterval(a.timer),a.setState({seconds:t--}),a.timer=setInterval(function(){a.setState({seconds:t--}),0===t&&(a.setState({seconds:0}),clearInterval(a.timer),e.push("/year/yearIndex"))},1e3)},a.handleToInvite=function(e){a.props.history.push("/activity/newyear-2019/landing?treasure_code=".concat(e,"&origin=1"))},a.toOrganizeTeam=function(){var e=a.props,t=e.history,n=e.userInfo.uid;""===(void 0===n?"":n)?t.push("/passport"):_.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){var r=[];r[0]=s,a.setState({isEmpty:!1,teams:r,isCreate:!0,createInfo:s})}})},a.toComposeCoupon=function(){a.props.history.push("/coupons/my-patch")},a.toUseCoupon=function(e){a.props.history.push("/detail?id=".concat(e))},a.toCourseList=function(){a.props.history.push("/classify")},a.toFecthMoney=function(){a.props.history.push("/scholarship")},a.handleToHideWindow=function(e){var t={};t[e]=!1,a.setState(t)},a.state={isEnd:!1,isEmpty:!1,seconds:3,teams:[],ids:[],bindInfo:{},isPhone:!1,isAddress:!1,isConfirm:!1,confirmInfo:{},isSplit:!1,isCreate:!1,createInfo:{},prizeName:""},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.state.isEnd&&this.startCountDown(),this.fetchMyTreasure(),this.fetchActivityStatus()}},{key:"render",value:function(){var e=this,t=this.props,a=t.history,n=t.userInfo,s=t.country,r=this.state,i=r.isEnd,c=r.isEmpty,o=r.seconds,l=r.teams,u=r.ids,p=r.isPhone,h=r.isAddress,f=r.isConfirm,_=r.isSplit,v=r.splitInfo,E=void 0===v?{}:v,y=r.confirmInfo,j=y.params,C=void 0===j?{}:j,I=y.bindInfo,w=void 0===I?{}:I,P=r.isCreate,A=r.createInfo,M=r.prizeName;return m.a.createElement("div",{"data-skip":"treasure"},m.a.createElement(d.e,{title:"\u6211\u7684\u5b9d\u7bb1",arrow:!0}),i&&m.a.createElement("p",{className:"activity-end__desc"},"\u6d3b\u52a8\u5df2\u7ed3\u675f",m.a.createElement("br",null),o,"s\u540e\u5c06\u81ea\u52a8\u8fd4\u56de\u9996\u9875"),!i&&c&&m.a.createElement(m.a.Fragment,null,m.a.createElement("i",{className:"team-empty__icon"}),m.a.createElement("p",{className:"team-empty__desc"},"\u60a8\u5f53\u524d\u8fd8\u6ca1\u6709\u5b9d\u7bb1\u54e6~"),m.a.createElement("p",{className:"team-empty__desc"},"\u5feb\u53bb\u7ec4\u961f\u9080\u8bf7\u597d\u53cb\u4e00\u8d77\u5f00\u5b9d\u7bb1\u5427\uff01"),m.a.createElement("button",{className:"team-empty__button",onClick:this.toOrganizeTeam},"\u7ec4\u961f\u5f00\u5b9d\u7bb1")),!i&&!c&&n.uid&&m.a.createElement("div",{className:"treasure-content"},l.map(function(t,s){return m.a.createElement(O,{data:t,key:s,userInfo:n,history:a,splitInstance:e.splitInstance,toSplitTreasure:function(){return e.toSplitTreasure({team_num:t.team_num,owner_uid:t.captain_uid})}},m.a.createElement(T,{data:{bind_phone:t.bind_phone,bind_address:t.bind_address,prize_type:t.prize_type},handleToBindPhone:e.handleToBindPhone,handleToBindAddress:e.handleToBindAddress,toComposeCoupon:e.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(t.prize_data)},toCourseList:e.toCourseList,toFecthMoney:e.toFecthMoney}))}),m.a.createElement(B,{visible:_,handleToHide:function(){return e.handleToHideWindow("isSplit")}},m.a.createElement(S,{ids:u,data:E,handleToInvite:this.handleToInvite,handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,successSplitTreasure:this.successSplitTreasure},m.a.createElement(T,{data:E,handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,toComposeCoupon:this.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(E.prize_data)},toCourseList:this.toCourseList,toFecthMoney:this.toFecthMoney}))),m.a.createElement(B,{visible:p,handleToHide:function(){return e.handleToHideWindow("isPhone")}},m.a.createElement(g,{history:a,country:s,hideBindPhone:function(){return e.handleToHideWindow("isPhone")},handleToConfirmPhone:this.handleToConfirmPhone,successBindPhone:this.successBindPhone,desc:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"phone-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 \u5956\u54c1\u540d\u79f0\uff08",M,"\uff09"),m.a.createElement("p",{className:"phone-treasure__notice"},"\u4e3a\u4e86\u60a8\u7684\u8d26\u6237\u5b89\u5168\uff0c\u8bf7\u4e8e2019\u5e7412\u670831\u65e5\u524d\u7ed1\u5b9a\u624b\u673a\u53f7\uff0c\u8fc7\u671f\u5c06\u5931\u6548"))})),m.a.createElement(B,{visible:f,handleToHide:function(){return e.handleToHideWindow("isConfirm")}},m.a.createElement(N,{data:C,bindInfo:w,handleToCancle:function(){return e.handleToHideWindow("isConfirm")},successBindPhone:this.successBindPhone})),m.a.createElement(B,{visible:h,handleToHide:function(){return e.handleToHideWindow("isAddress")}},m.a.createElement(b,{skip:"year",tip:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"address-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 \u5956\u54c1\u540d\u79f0\u5956\u54c1\u540d\u79f0\u5956\u54c1\u540d\u79f0"),m.a.createElement("p",{className:"address-treasure__notice"},"\u8bf7\u53ca\u65f6\u586b\u5199/\u786e\u8ba4\u6536\u8d27\u4fe1\u606f\uff0c\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4")),successBindAddress:this.successBindAddress})),m.a.createElement(B,{visible:P,handleToHide:function(){return e.handleToHideWindow("isCreate")}},m.a.createElement(k,{data:A,handleToInvite:function(){e.handleToInvite(A.treasure_code),e.handleToHideWindow("isCreate")}}))))}}]),t}(l.Component))||n);t.default=M},1290:function(e,t,a){"use strict";a.r(t);a(41);var n,s,r=a(12),i=a.n(r),c=a(5),o=a(7),l=a(6),m=a(8),u=a(9),d=a(0),p=a.n(d),h=(a(1236),a(1237),a(49)),f=a(3),_=a(660),v=a(739),b=a(22),E=(a(28),a(587)),y=a.n(E),g=Object(b.b)(function(e){return{user:e.user}})(n=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).getLiveInfo=function(){f.d.get("".concat(API.home,"/activity/get_live_info")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;200===n?a.setState({list:s}):i.a.info(r)})},a.subscribe=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.props.history.push("/passport/login"):f.d.get("".concat(API["base-api"],"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data,n=t.errno,s=t.data,r=t.msg;200===n?y.a.toDataURL(s.url,function(e,t){a.setState({showMark:!0,subUrl:t})}):i.a.info(r)})},a.tip=function(){i.a.info("\u4f60\u5df2\u9884\u7ea6\u8be5\u76f4\u64ad")},a.toLivingRoom=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.props.history.push("/passport/login"):window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.checkVideo=function(e){var t=a.props.user,n=t.hasError;t.data;if(n)a.props.history.push("/passport/login");else{var s=e.split("/")[0];history.push("/play/video?id=".concat(s))}},a.closePopup=function(){a.setState({showMark:!1}),a.getLiveInfo()},a.saveImage=function(){var e=Object(f.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.QRCodeUrl;e&&parseInt(e)<451?i.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",2,null,!1):Object(f.a)("generateQRCode",t)},a.state={list:[],showMark:!1,subUrl:""},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getLiveInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.showMark,s=t.subUrl;return p.a.createElement("div",{className:"live__container"},n&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"),p.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:s,alt:""}),f.b.isAndroidApp?p.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):null)),p.a.createElement(_.a,{title:"\u5927\u5496\u76f4\u64ad",id:"year-live"},p.a.createElement("ul",{className:"live__list"},a.length&&a.map(function(t,a){return p.a.createElement("li",{key:a,className:"live_room_item"},p.a.createElement("img",{className:"user__avatar",src:t.avatar,alt:""}),p.a.createElement("div",{className:"live__info"},p.a.createElement("div",{className:"theme"},p.a.createElement("span",null,"\u4e3b\u9898\uff1a"),p.a.createElement("p",null,t.title)),p.a.createElement("div",{className:"info__item"},p.a.createElement("span",null,"\u65f6\u95f4\uff1a"),p.a.createElement("p",null,t.date)),p.a.createElement("div",{className:"info__item"},p.a.createElement("span",null,"\u8bb2\u5e08\uff1a"),p.a.createElement("p",null,t.teacher)),0==t.on_live&&0==t.is_end&&0==t.is_subscribe&&p.a.createElement("span",{onClick:function(){return e.subscribe(t.live_id)},className:"order__btn"},"\u7acb\u5373\u9884\u7ea6"),0==t.on_live&&0==t.is_end&&1==t.is_subscribe&&p.a.createElement("span",{onClick:e.tip,className:"order__btn subscribed"},"\u5df2\u9884\u7ea6"),1==t.on_live&&0==t.is_end&&p.a.createElement("span",{onClick:function(){return e.toLivingRoom(t.room_url)},className:"order__btn living"},"\u6b63\u5728\u76f4\u64ad"),1==t.is_end&&""!=t.transcribe_url&&p.a.createElement("span",{onClick:function(){return e.checkVideo(t.transcribe_url)},className:"order__btn check__video"},"\u67e5\u770b\u56de\u653e")))}))))}}]),t}(d.Component))||n,N=Object(h.g)(g),k=a(819),j=(a(1238),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).fetchRankInfo=function(){f.d.get("".concat(API.home,"/sys/treasure/ranking")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&(s.length>5?a.setState({rank:s.filter(function(e,t){return t<5}),rankList:s,isMore:!0}):a.setState({rank:s,rankList:s,isMore:!1}))})},a.switchMoreRank=function(){var e=a.state,t=e.rankList;e.isMore?a.setState({rank:t,isMore:!1}):a.setState({rank:t.filter(function(e,t){return t<5}),isMore:!0})},a.state={rank:[],rankList:[],isMore:!1},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchRankInfo()}},{key:"render",value:function(){var e=this.state,t=e.rank,a=e.isMore;return p.a.createElement("div",{"data-skip":"rank"},p.a.createElement("div",{className:"rank-title"},p.a.createElement("i",{className:"rank-title__decorate"}),p.a.createElement("h2",{className:"rank-title__txt"},"\u5b9d\u7bb1\u8fbe\u4eba\u699c"),p.a.createElement("i",{className:"rank-title__decorate"})),p.a.createElement("p",{className:"rank-desc"},"\u5b9d\u7bb1\u6570\u91cf\u524d50\u540d\u53ef\u989d\u5916\u83b7\u5f97\u4e00\u4efd\u5956\u54c1\uff0c\u6570\u91cf\u76f8\u540c\u7684\u7528\u65f6\u77ed\u8005\u6392\u540d\u5728\u524d"),p.a.createElement("dl",{className:"rank-header"},p.a.createElement("dd",{className:"rank-column"},"\u6392\u540d"),p.a.createElement("dd",{className:"rank-column"},"\u7528\u6237"),p.a.createElement("dd",{className:"rank-column"},"\u5b9d\u7bb1\u6570\u91cf"),p.a.createElement("dd",{className:"rank-column"},"\u5956\u54c1")),p.a.createElement("div",{className:"rank-body"},t.map(function(e,t){return p.a.createElement("dl",{className:"rank-item",key:t},p.a.createElement("dd",{className:"rank-column"},t<=2?p.a.createElement("span",{className:"rank-column__number","data-num":t}):p.a.createElement("span",null,t+1)),p.a.createElement("dd",{className:"rank-column"},p.a.createElement("span",{className:"rank-column__name"},e.user_name)),p.a.createElement("dd",{className:"rank-column"},p.a.createElement("span",null,e.num)),p.a.createElement("dd",{className:"rank-column"},e.url?p.a.createElement("a",{className:"rank-column__txt",href:e.url},e.prize_name):p.a.createElement("span",{className:"rank-column__txt"},e.prize_name)))}),p.a.createElement("div",{className:"rank-more",onClick:this.switchMoreRank},p.a.createElement("span",{className:"rank-more__txt"},a?"\u5c55\u5f00":"\u6536\u8d77"),p.a.createElement("i",{className:"rank-more__icon","data-more":a}))))}}]),t}(d.Component)),C=(a(1239),a(25)),I=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).getTeamInfo=function(){f.d.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;if(200===n){var c=s.prize_info,o=s.is_my_team,l=s.info,m=s.member,u=s.removable_data,d=s.my_team;a.setState({prize_info:c,is_my_team:o,info:l,member:a.fillTeam(m),removable_data:u,my_team:d});var p=null;l.removable>0&&(p=u[0].id),a.props.getRemovable(l.removable,p)}else i.a.info(r)})},a.toYearTreasure=function(e){if(a.props.user.hasError)a.props.history.push("/passport/login");else{var t="";if(e){var n=a.state,s=n.removable_data;if(n.info.removable>0){var r=s[0];t="?id=".concat(r.id)}}a.props.history.push("/year/yearTreasure".concat(t))}},a.createTeam=function(){if(a.props.user.hasError)a.props.history.push("/passport/login");else{var e=a.state,t=e.is_my_team,n=e.my_team.treasure_code;t?a.props.history.push("/activity/newyear-2019/landing?origin=1&treasure_code="+n):f.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;if(200===n){var c=s.treasure_code;a.props.history.push("/activity/newyear-2019/landing?origin=1&treasure_code="+c)}else i.a.info(r)})}},a.fillTeam=function(e){for(var t=e.length,a=0;a<5-t;a++)e.push({head_img:"",user_name:"",nobody:!0});return e},a.state={is_my_team:!1,prize_info:[],info:{removable:0,total:0},member:[],removable_data:[],my_team:{}},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.prize_info,n=t.is_my_team,s=t.info,r=s.removable,i=s.total,c=t.member,o="",l=0;a.length>0&&(o=a[0].name,l=a[0].stage_no);var m="";return m=0===i?"\u6211\u7684\u5b9d\u7bb1":0===r?"\u5171".concat(i,"\u4e2a\u5b9d\u7bb1"):"\u5171".concat(i,"\u4e2a\u5b9d\u7bb1/").concat(r,"\u4e2a\u672a\u62c6"),p.a.createElement("div",{className:"team_info__container"},p.a.createElement("div",{className:"team__member"},p.a.createElement("ul",{className:"member__list"},c&&c.length>0&&c.map(function(e,t){return p.a.createElement("li",{key:t,className:"member__item"},p.a.createElement("div",{className:"avatar__container"},e.nobody?p.a.createElement("img",{className:"head__image",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:""}):p.a.createElement("img",{className:"head__image",src:e.head_img,alt:""}),0===t?p.a.createElement("img",{className:"caption__flag",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/caption.png",alt:""}):null,p.a.createElement("div",{className:"shadow"})),p.a.createElement("div",{className:"member__join ".concat(e.nobody?"":"join")}))})),p.a.createElement("div",{className:"box__number"},p.a.createElement("img",{onClick:function(){return e.toYearTreasure(!0)},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),p.a.createElement("p",{onClick:function(){return e.toYearTreasure(!1)},className:"box__text"},m),p.a.createElement("img",{className:"position__arrow",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/arrow_jinzhan.png",alt:""}),r>0&&p.a.createElement("div",{className:"position__number"},r))),p.a.createElement("div",{onClick:this.createTeam,className:"invite__btn"},n?"\u7ee7\u7eed\u7ec4\u961f":"\u7ec4\u961f\u5f00\u5b9d\u7bb1"),l>0&&o&&p.a.createElement("p",{className:"stage_prize"},"\u7b2c".concat(l,"\u6b21\u5fc5\u4e2d").concat(o)))}}]),t}(d.Component),O=Object(C.d)(Object(b.b)(function(e){return{user:e.user}},null),h.g)(I),T=a(817),S=a(818),w=function(e){function t(e){return Object(c.a)(this,t),Object(l.a)(this,Object(m.a)(t).call(this,e))}return Object(u.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return p.a.createElement(_.a,{id:"year-treasure",title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},p.a.createElement("div",{style:{textAlign:"center",fontSize:"12px",color:"#FFDC1E",marginTop:"10px"}},"\u9080\u8bf7\u597d\u53cb\u7ec4\u961f\u4e00\u8d77\u5f00\u5b9d\u7bb1\uff0c\u6ee15\u4eba\u540e\u5c06\u968f\u673a\u83b7\u5f97\u4ee5\u4e0b\u5956\u54c1~"),p.a.createElement(T.a,{showSystemNotices:!0}),p.a.createElement(S.a,null),p.a.createElement(O,{getRemovable:this.props.getRemovable}),p.a.createElement(j,null))}}]),t}(d.Component),P=a(17),A=a.n(P),B=(a(1240),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).initNav=function(e){var t=a.state.navs;0===e?a.setState({formatNavs:t.filter(function(e){return"year-treasure"!==e.id})}):a.setState({formatNavs:t})},a.calcNavActive=function(){var e=a.state.formatNavs,t=a.props.id,n=document.querySelector("#".concat(t));setTimeout(function(){var t=window.scrollY,s=e.length-1;for(a.setState({isFixed:t>=n.offsetHeight});s>-1;s--){var r=document.querySelector("#".concat(e[s].id));if(r&&t+200>=r.offsetTop){a.setState({curIndex:s});break}}},100)},a.selectToNav=function(e){var t=a.state.formatNavs,n="#".concat(t[e].id),s=document.querySelector(n);s&&(a.setState({curIndex:e}),window.scrollTo({top:s.offsetTop,left:0}))},a.state={isFixed:!1,curIndex:1,formatNavs:[],navs:[{id:"year-live",name:"\u5927\u5496\u76f4\u64ad"},{id:"year-treasure",name:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},{id:"year-course",name:"\u91cd\u78c5\u597d\u8bfe"},{id:"year-free",name:"\u514d\u8d39\u5b66"},{id:"year-group",name:"1\u5206\u62fc\u56e2"},{id:"year-discount",name:"\u6284\u4f4e\u4e13\u533a"}]},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.calcNavActive)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.calcNavActive)}},{key:"componentWillReceiveProps",value:function(e){this.initNav(e.treasure_stage)}},{key:"render",value:function(){var e=this,t=this.state,a=t.isFixed,n=t.curIndex,s=t.formatNavs;return p.a.createElement("div",{className:A()("treasure-nav",{fixed:a}),"data-skip":"nav"},s.map(function(t,a){return p.a.createElement("a",{href:"#".concat(t.id),className:A()("treasure-nav__item",{active:a===n}),key:t.id,onClick:function(){return e.selectToNav(a)}},t.name)}))}}]),t}(d.Component)),M=a(36),z=a.n(M),x=a(27),F=a(155);a.d(t,"default",function(){return L});var L=Object(b.b)(function(e){return{user:e.user}},{setCurrentUser:x.g,startFetchUser:x.h})(s=function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(a=Object(l.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(s)))).state={removable:0,currentOpenId:0,treasure_stage:0,active_stage:0,userInfoList:[],userInfo:{},isAppUpdate:!1,showMark:!1,banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_banner_bj%402x.png"},a.loginInfo=function(e){a.setState({userInfoList:e},function(){a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())})},a.appLogin=function(){var e=Object(F.addDays)(new Date,90);a.state.userInfoList.map(function(t,a){z.a.set("token",t.token,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("plat",t.plat,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("uid",t.uid,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("uname",t.uname,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:".julyedu.com"})}),z.a.get("token")&&z.a.get("uid")&&a.setState({isAppUpdate:!0}),a.props.setCurrentUser(a.transformUser(a.state.userInfoList))},a.transformUser=function(e){var t;return e.map(function(e,a){t={hasError:!1,data:{username:e.uname,avatar:e.avatar_file,token:e.token,uid:e.uid},isFetching:!1}}),t},a.closePopup=function(){a.setState({showMark:!1})},a.getRemovable=function(e,t){a.setState({removable:e,currentOpenId:t})},a.toBoxList=function(){var e=!a.props.user.hasError,t=a.state.currentOpenId,n="";t&&(n="?id=".concat(t)),e?a.props.history.push("/year/yearTreasure".concat(n)):Object(f.c)("version")?Object(f.a)("toLogin"):a.props.history.push("/passport/login")},a.getStage=function(){f.d.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;200===n?a.setState({treasure_stage:s.treasure_stage}):i.a.info(r,2)})},a.toYearWish=function(){!a.props.user.hasError?a.props.history.push("/year/yearWish"):Object(f.c)("version")?Object(f.a)("toLogin"):a.props.history.push("/passport/login")},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=this;window.loginInfo=function(t){e.loginInfo(t)},e.getStage()}},{key:"sonToPar",value:function(e){this.setState({txt1:e})}},{key:"render",value:function(){var e=this,t=this.state,a=t.banner,n=t.removable,s=t.treasure_stage;return p.a.createElement("div",{className:"year-index"},p.a.createElement("div",{className:"banner-treasure"},p.a.createElement("div",{id:"banner",className:"banner-treasure__header",style:{backgroundImage:"url(".concat(a,")")}}),p.a.createElement("div",{className:"banner-treasure__nav"},p.a.createElement(B,{id:"banner",treasure_stage:s})),p.a.createElement("div",{className:"banner-treasure__decorate"})),p.a.createElement("div",{className:"nav-right"},p.a.createElement("span",{onClick:this.toBoxList,className:"nav-right__link"},"\u672a\u62c6\u5b9d\u7bb1",n>0&&p.a.createElement("i",{className:"nav-right__number"},n)),p.a.createElement("a",{onClick:function(){return e.toYearWish()},className:"nav-right__link"},"\u5fc3\u613f\u5355",this.state.txt1>0&&p.a.createElement("i",{className:"nav-right__number"},this.state.txt1))),p.a.createElement(N,null),1===s&&p.a.createElement(w,{getRemovable:this.getRemovable}),p.a.createElement(k.a,{isAppUpdate:this.state.isAppUpdate,getSum:this.sonToPar.bind(this)}),this.state.showMark&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),p.a.createElement("p",{className:"sub__tip"},"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),p.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),p.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"))),this.state.showMark&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219"),p.a.createElement("p",{className:"sub__rule"},"1. \u6d3b\u52a8\u671f\u95f4\uff0812\u670818\u65e5-12\u670831\u65e5\uff09\u53ef\u968f\u65f6\u53c2\u4e0e\u5f00\u5b9d\u7bb1\uff1b",p.a.createElement("br",null),"2. \u5f53\u524d\u961f\u4f0d\u6ee1\u5458\u540e\u53ef\u7ee7\u7eed\u521b\u5efa\u65b0\u961f\u4f0d\uff1b",p.a.createElement("br",null),"3. \u6bcf\u4eba\u6709\u4e00\u6b21\u673a\u4f1a\u52a0\u5165\u597d\u53cb\u7684\u961f\u4f0d\uff1b",p.a.createElement("br",null),"4. \u961f\u4f0d\u6ee1\u5458\u540e\u6240\u6709\u6210\u5458\u5747\u53ef\u968f\u673a\u83b7\u5f97\u5b9d\u7bb1\u5185\u5956\u54c1\uff0c\u961f\u957f\u5956\u52b1\u66f4\u4e30\u539a\u54e6~",p.a.createElement("br",null),"5. \u4ee3\u91d1\u5238\u3001\u8bfe\u7a0b\u7b49\u865a\u62df\u5956\u54c1\u5c06\u76f4\u63a5\u53d1\u653e\u81f3\u8d26\u6237\uff0c\u5b9e\u7269\u5956\u54c1\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4\uff1b",p.a.createElement("br",null),"6. \u73b0\u91d1\u53ef\u63d0\u73b0\uff1a\u6211\u7684 \u2192 \u8d5a\u5956\u5b66\u91d1 \u2192 \u63d0\u73b0\u3002"))))}}]),t}(d.Component))||s}}]);
//# sourceMappingURL=newyear-yearIndex.3229c669.chunk.js.map
\ No newline at end of file
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{1236:function(e,t,a){},1237:function(e,t,a){},1238:function(e,t,a){},1239:function(e,t,a){},1240:function(e,t,a){},1241:function(e,t,a){},1242:function(e,t,a){},1243:function(e,t,a){},1244:function(e,t,a){},1245:function(e,t,a){},1246:function(e,t,a){},1247:function(e,t,a){},1248:function(e,t,a){},1249:function(e,t,a){},1250:function(e,t,a){},1284:function(e,t,a){"use strict";a.r(t);var n=a(5),s=a(7),r=a(6),i=a(8),c=a(9),o=a(0),l=a.n(o),m=(a(1250),a(3)),u=a(660),d=a(659),p=a(49),h=function(e){function t(){var e,a;Object(n.a)(this,t);for(var s=arguments.length,c=new Array(s),o=0;o<s;o++)c[o]=arguments[o];return(a=Object(r.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(c)))).state={list:[],activityStage:1},a.fetchCourse=function(){m.d.get("".concat(API.home,"/activity/wish_course")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&a.setState({list:"{}"===JSON.stringify(s)?[]:s})})},a.getStage=function(){m.d.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&a.setState({activityStage:s.activity_stage})})},a.toCourse=function(e){var t=a.props.history;Object(m.c)("version")?Object(m.a)("toCourse",e):t.push("/detail?id=".concat(e))},a}return Object(c.a)(t,e),Object(s.a)(t,[{key:"componentDidMount",value:function(){this.fetchCourse(),this.getStage()}},{key:"componentWillUpdate",value:function(){this.state.activityStage;document.title="\u4e03\u6708\u5728\u7ebf\u5e74\u7ec8\u5927\u56de\u9988\uff0c\u4eba\u6c14\u597d\u8bfe\u514d\u8d39\u5b66\uff0c\u7cbe\u54c1\u8bfe\u7a0b1\u5206\u62a2\uff01"}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.activityStage;return l.a.createElement("div",{className:"year-wish"},l.a.createElement("div",{className:"banner"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/xy_banner_bj.png",alt:""})),a.length>0?l.a.createElement(u.a,null,l.a.createElement("div",{className:"groupcourse course-box"},a&&a.length>0&&a.map(function(t){return l.a.createElement(d.a,{image:t.image_name,key:t.course_id,id:t.course_id,toCourse:e.toCourse},4==t.type&&1!=t.is_buy&&l.a.createElement("div",{className:"group-num"},"\u9650\u91cf300\u4e2a"),l.a.createElement("div",{className:"coupon-course__footer"},1==t.is_buy&&l.a.createElement(l.a.Fragment,null,l.a.createElement("p",{className:"course-title text-overflow-1"},t.course_title),l.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"btn to-study"},"\u5f00\u59cb\u5b66\u4e60")),0==t.is_buy&&l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"type"},0==t.type&&l.a.createElement(l.a.Fragment,null,l.a.createElement("span",{className:"tag"},"\u6d3b\u52a8\u4ef7"),l.a.createElement("span",{className:"time"},"12.23\u5f00\u59cb")),(1==t.type||4==t.type)&&l.a.createElement(l.a.Fragment,null,l.a.createElement("span",{className:"tag"},"\u62fc\u56e2\u4ef7"),l.a.createElement("span",{className:"time"},"12.23\u5f00\u56e2")),2==t.type&&l.a.createElement(l.a.Fragment,null,l.a.createElement("span",{className:"tag"},"\u597d\u53cb\u5e2e\u5e2e\u780d"),l.a.createElement("span",{className:"time"},"12.23\u5f00\u780d"))),l.a.createElement("div",{className:"price"},2==t.type?"\u5230\u624b\u6700\u4f4e:\xa5":"\xa5",l.a.createElement("span",{className:"new-price"},4==t.type?"0.01":t.price2),l.a.createElement("span",{className:"old-price"}," \u73b0\u4ef7\uff1a",l.a.createElement("s",null,"\xa5",t.price1))),l.a.createElement("div",{className:"status"},l.a.createElement("a",{onClick:function(){return e.toCourse(t.course_id)},className:"status-btn to-buy"},"\u76f4\u63a5\u8d2d\u4e70"),1==t.is_join&&l.a.createElement("a",{className:"status-btn add-wish"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/add-success.png",alt:""}),"\u5df2\u52a0\u5fc3\u613f\u5355"),0==t.is_join&&l.a.createElement("a",{onClick:function(){return e.addWishList(t.course_id)},className:"status-btn add-wish-success"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/like_icon.png",alt:""}),"\u52a0\u5165\u5fc3\u613f\u5355")))))}))):l.a.createElement("div",{className:"notData"},l.a.createElement("img",{src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/PC/icon-empty.png",alt:""}),1==n?l.a.createElement("p",null,"\u4f60\u7684\u5fc3\u613f\u5355\u76ee\u524d\u7a7a\u7a7a\u5982\u4e5f\uff0c",l.a.createElement("br",null),"\u5feb\u53bb\u6311\u9009\u66f4\u591a\u4f18\u60e0\u8bfe\u7a0b\u5427\uff5e"):l.a.createElement("p",null,"\u4f60\u7684\u5fc3\u613f\u5355\u6ca1\u6709\u8bfe\u7a0b\u54e6\uff0c",l.a.createElement("br",null),"\u611f\u5174\u8da3\u7684\u8bfe\u7a0b\u53ef\u5728\u53cc\u65e6\u4e3b\u4f1a\u573a\u76f4\u63a5\u8d2d\u4e70\uff01")))}}]),t}(o.Component);t.default=Object(p.g)(h)},1288:function(e,t,a){"use strict";a.r(t);var n,s=a(5),r=a(7),i=a(6),c=a(8),o=a(9),l=a(0),m=a.n(l),u=a(22),d=a(28),p=(a(41),a(12)),h=a.n(p),f=a(19),_=a(3),v=a(20),b=(a(1241),function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).fetchUserAddress=function(){var e=a.state.addressInfo;_.d.get("".concat(API.home,"/sys/user_address_info")).then(function(t){var n=t.data,s=n.code,r=n.data;n.msg;200===s&&a.setState({addressInfo:Object.assign({},e,{name:r.name,phone:r.phone,address:r.address}),isLoading:!0})})},a.handleToSubmit=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props.successBindAddress;_.d.post("".concat(API.home,"/sys/update_address"),Object(f.a)({act_type:"treasure"},e)).then(function(e){var a=e.data,n=a.code,s=a.msg;200===n?t():h.a.info(s,2,null,!1)})},a.state={isLoading:!1,addressInfo:{name:"",phone:"",address:""}},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.fetchUserAddress()}},{key:"render",value:function(){var e=this,t=this.state,a=t.isLoading,n=t.addressInfo,s=this.props,r=s.tip,i=s.prize,c=s.skip,o=void 0===c?"default":c;return m.a.createElement(m.a.Fragment,null,a&&m.a.createElement(v.d,{initialValues:Object(f.a)({},n),validate:function(e){var t=e.name,a=e.phone,n=e.address,s={};return t||(s.name="\u8bf7\u8f93\u5165\u6536\u4ef6\u4eba"),/^1[3-9]\d{9}$/.test(a)||(s.phone="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),n||(s.address="\u8bf7\u8f93\u5165\u6536\u8d27\u5730\u5740"),s},validateOnBlur:!1,validateOnChange:!1,onSubmit:function(t){e.handleToSubmit(t)},render:function(e){var t=e.errors;return m.a.createElement(v.c,{className:"address-form","data-skip":o},m.a.createElement("h2",{className:"address-form__title"},"\u6536\u8d27\u4fe1\u606f"),i?m.a.createElement("p",{className:"address__prize"},"\u60a8\u62bd\u4e2d\u4e86",i,m.a.createElement("span",{style:{color:"#FF4000"}},"\u5b9e\u7269\u5956\u54c1")):null,r?m.a.createElement("div",{className:"address-form__subtitle"},r):m.a.createElement("p",{className:"address-form__desc"},"\u8bf7\u53ca\u65f6\u586b\u5199\u6536\u8d27\u4fe1\u606f\uff0c\u83b7\u5f97\u5b9e\u7269\u5956\u54c1\u540e\u5c06\u7b2c\u4e00\u65f6\u95f4\u4e3a\u60a8\u90ae\u5bc4"),m.a.createElement(v.b,{name:"name",render:function(e){var a=e.field;return m.a.createElement("div",{className:"address-form__item"},m.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u4ef6\u4eba"})),t.name&&m.a.createElement("p",{className:"address-form__tip"},t.name))}}),m.a.createElement(v.b,{name:"phone",render:function(e){var a=e.field;return m.a.createElement("div",{className:"address-form__item"},m.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u8054\u7cfb\u65b9\u5f0f"})),t.phone&&m.a.createElement("p",{className:"address-form__tip"},t.phone))}}),m.a.createElement(v.b,{name:"address",render:function(e){var a=e.field;return m.a.createElement("div",{className:"address-form__item"},m.a.createElement("input",Object.assign({},a,{className:"address-form__ipt",type:"text",placeholder:"\u6536\u8d27\u5730\u5740"})),t.address&&m.a.createElement("p",{className:"address-form__tip"},t.address))}}),m.a.createElement("button",{className:"address-form__submit","data-status":"do",type:"submit"},"\u63d0\u4ea4"))}}))}}]),t}(l.Component)),E=a(42),y=a(70),g=(a(1242),function(e){function t(e){var a;return Object(s.a)(this,t),a=Object(i.a)(this,Object(c.a)(t).call(this,e)),a.captchaInstance=null,a.initCountryInfo=function(){var e=a.props.country;a.setState({country:e})},a.toFetchCountryNum=function(){var e=a.props,t=e.history;(0,e.hideBindPhone)(),t.push("/country?from=bind")},a.getCaptchaInstance=function(e){a.captchaInstance=e},a.onVerify=function(e,t){e?console.log(e):a.setState({validate:t.validate})},a.handleToSend=function(e){var t=e.tel,n=(e.code,a.state),s=n.validate,r=n.seconds,i=n.isFirst,c=n.isTimer,o=n.country.num,l=void 0===o?"86":o;if(s){if(!i)return h.a.info("\u8bf7\u91cd\u65b0\u8fdb\u884c\u6ed1\u5757\u9a8c\u8bc1",2,null,!1),a.captchaInstance.refresh(),void a.setState({isFirst:!0});c||(t?/^\d+$/.test(t)?_.d.post("".concat(API["passport-api"],"/m/personal/bindPhoneSendCode"),{area_code:"00".concat(l),phone_num:t}).then(function(e){var t=e.data,n=t.errno,s=t.msg;200===n?(h.a.info("\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f",2,null,!1),a.timer=window.setInterval(function(){r<=0?(window.clearInterval(a.timer),a.setState({isTimer:!1,seconds:60})):a.setState({isTimer:!0,seconds:--r})},1e3),a.setState({isFirst:!1})):h.a.info(s,2,null,!1)}):h.a.info("\u8bf7\u8f93\u5165\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7\u7801",2,null,!1):h.a.info("\u624b\u673a\u53f7\u7801\u4e0d\u80fd\u4e3a\u7a7a",2,null,!1))}return!1},a.toBindPhone=function(){var e=a.state,t=e.accountInfo,n=t.tel,s=t.code,r=e.country.num,i=void 0===r?"86":r,c=a.props,o=c.handleToConfirmPhone,l=c.successBindPhone,m={area_code:"00".concat(i),mobile:n,code:s,act_type:"treasure"};_.d.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(f.a)({},m,{type:1,is_valid:1})).then(function(e){var t=e.data,a=t.code,n=t.data,s=t.msg;200===a?n.tip_info?o(m,n.tip_info):l():h.a.info(s,2,null,!1)})},a.state={validate:"",seconds:60,isFirst:!0,timer:null,isTimer:!1,accountInfo:{},bindInfo:{},country:{num:"86"}},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.initCountryInfo()}},{key:"render",value:function(){var e=this,t=this.props,a=t.desc,n=t.skip,s=void 0===n?"year":n,r=this.state,i=r.country,c=r.validate,o=r.isTimer,l=r.seconds;return m.a.createElement(v.d,{initialValues:{tel:"",code:""},validate:function(e){var t=e.tel,a=e.code,n={};return/^\d+$/.test(t)||(n.tel="\u8bf7\u586b\u5199\u6b63\u786e\u683c\u5f0f\u7684\u624b\u673a\u53f7"),/[0-9]{6}/.test(a)||(n.code="\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"),n},onSubmit:function(t,a){a.setStatus,a.setSubmitting;e.setState({accountInfo:Object(f.a)({},t)}),e.toBindPhone()},render:function(t){var n=t.values,r=n.tel,u=n.code,d=t.errors;return m.a.createElement(v.c,{className:"popup-form","data-skip":s},m.a.createElement("h2",{className:"popup-form__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),a&&m.a.createElement("div",{className:"poup-form__desc"},a),m.a.createElement("div",{className:"popup-form__item"},m.a.createElement("a",{className:"popup-form__button--num",onClick:e.toFetchCountryNum},"+",i.num,m.a.createElement("i",{className:"iconfont iconiconfront-69"})),m.a.createElement(v.b,{name:"tel",render:function(e){var t=e.field;return m.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt","data-type":"tel",type:"text",placeholder:"\u8bf7\u586b\u5199\u624b\u673a\u53f7"}))}})),m.a.createElement(y.a,{getInstance:e.getCaptchaInstance,onVerify:e.onVerify}),m.a.createElement("div",{className:"popup-form__item"},m.a.createElement(v.b,{name:"code",render:function(e){var t=e.field;return m.a.createElement("input",Object.assign({},t,{className:"popup-form__ipt popup-form__ipt--left",type:"text",placeholder:"\u8f93\u5165\u9a8c\u8bc1\u7801"}))}}),m.a.createElement("button",{className:"popup-form__button--code","data-status":c&&!o?"do":"",type:"button",onClick:function(){return e.handleToSend({tel:r,code:u})}},o?"\u91cd\u65b0\u53d1\u9001".concat(l,"s"):"\u53d1\u9001\u9a8c\u8bc1\u7801")),m.a.createElement("button",{className:"popup-form__button--bundle","data-status":r&&u&&Object(E.isEmpty)(d)?"do":"done",type:"submit"},"\u5b8c\u6210\u7ed1\u5b9a"))}})}}]),t}(l.Component)),N=(a(1243),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r)))).continueBindPhone=function(){var e=a.props,t=e.data,n=e.successBindPhone;_.d.post("".concat(API.home,"/sys/v2/user/bindMobile"),Object(f.a)({},t,{type:1,is_valid:0})).then(function(e){var t=e.data,a=t.code,s=t.msg;200===a?n():h.a.info(s,2,null,!1)})},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.props,t=e.bindInfo,a=void 0===t?{}:t,n=e.desc,s=e.skip,r=void 0===s?"year":s,i=e.handleToCancle;return m.a.createElement("div",{className:"popup-bind","data-skip":r},m.a.createElement("h2",{className:"popup-bind__title"},"\u7ed1\u5b9a\u624b\u673a\u53f7"),n?m.a.createElement("div",{className:"popup-bind__desc"},n):m.a.createElement("p",{className:"popup-bind__desc"},"\u8be5\u624b\u673a\u53f7\u5df2\u7ed1\u5b9a\u5230\u4ee5\u4e0b\u8d26\u53f7\uff0c\u7ee7\u7eed\u7ed1\u5b9a\u5c06\u89e3\u9664\u4ee5\u4e0b\u7ed1\u5b9a\u72b6\u6001"),m.a.createElement("ul",{className:"popup-bind__list"},a.email&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"mail"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.email)),a.wechat_nickname&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"wachat"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.wechat_nickname)),a.qq_nickname&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"qq"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.qq_nickname)),a.sina_nickname&&m.a.createElement("li",{className:"popup-bind__account"},m.a.createElement("i",{className:"popup-bind__icon","data-plat":"sina"}),m.a.createElement("p",{className:"popup-bind__account--name"},a.sina_nickname))),m.a.createElement("div",{className:"popup-bind__footer"},m.a.createElement("button",{className:"popup-bind__button popup-bind__button--cancle",onClick:i},"\u53d6\u6d88"),m.a.createElement("button",{className:"popup-bind__button popup-bind__button--confirm",onClick:this.continueBindPhone},"\u7ee7\u7eed\u7ed1\u5b9a")))}}]),t}(l.Component)),k=(a(1244),function(e){console.log(e);var t=e.data,a=t.team_num,n=void 0===a?1:a,s=t.lack_member,r=void 0===s?4:s,i=t.member,c=void 0===i?[]:i,o=e.handleToInvite,l=new Array(5).fill({});return m.a.createElement("div",{className:"team-success"},m.a.createElement("h2",{className:"team-success__title"},"\u521b\u5efa\u6210\u529f"),m.a.createElement("p",{className:"team-success__tip"},m.a.createElement("span",null,n),"\u53f7\u961f\u4f0d \u8fd8\u5dee",m.a.createElement("span",null,r),"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6~"),m.a.createElement("i",{className:"team-success__icon"}),m.a.createElement("ul",{className:"team-success__member members"},l.map(function(e,t){var a=c[t];return m.a.createElement("li",{className:"member-item",key:t},a&&a.is_captain&&m.a.createElement("sup",{className:"member-item__captain"},"\u961f\u957f"),m.a.createElement("img",{className:"member-item__avatar",src:a?a.head_img:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/not-joined-placeholder.png",alt:""}))})),m.a.createElement("button",{type:"button",className:"team-success__button",onClick:o},"\u9080\u8bf7\u597d\u53cb\u52a0\u5165\u961f\u4f0d"))}),j=a(17),C=a.n(j),I=a(16),O=(a(1245),function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).initMemberInfo=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.props,n=t.data,s=t.userInfo,r="{}"!==JSON.stringify(e)?e:n,i=r.member,c=i.length-5;c<0;c++)i.push({});a.setState({team:Object.assign({},r,{member:i}),currentMember:s.uid?i.filter(function(e){return e.uid==s.uid})[0]:{}})},a.computedClass=function(e){var t=a.props.data.is_open,n=a.state.currentMember;return C()("team-member__item",{active:e===n.uid&&t})},a.computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.toCheckPrize=function(e){var t=a.state.team,n=t.is_open,s=t.member;if(n){var r=(void 0===s?[]:s).filter(function(t){return t.uid===e});a.setState({currentMember:r[0]})}},a.state={team:{},currentMember:{}},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.initMemberInfo()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.data,a=e.data;a.is_open!=t.is_open&&this.initMemberInfo(a)}},{key:"render",value:function(){var e=this,t=this.state,a=t.team,n=a.is_captain,s=a.status,r=a.team_num,i=a.lack_member,c=a.is_open,o=a.treasure_code,l=a.member,u=void 0===l?[]:l,d=t.currentMember,p=this.props,h=p.toSplitTreasure,f=p.userInfo,_=p.children;return m.a.createElement("div",{className:"team-container","data-skip":"team"},!n&&m.a.createElement("i",{className:"team-friend"},"\u53cb"),1===s?m.a.createElement("i",{className:"team-status"},"\u7ec4\u961f\u4e2d.."):m.a.createElement("i",{className:"team-decorate"}),n?m.a.createElement("h2",{className:"team-title"},r,"\u53f7\u961f\u4f0d"):m.a.createElement("h2",{className:"team-title"},"\u597d\u53cb\u961f\u4f0d"),1===s?m.a.createElement("p",{className:"team-desc"},"\u8fd8\u5dee",i,"\u540d\u961f\u5458\u5373\u53ef\u83b7\u5f97\u5b9d\u7bb1\u54e6\uff5e"):m.a.createElement("p",{className:"team-desc"},"\u7ec4\u961f\u6210\u529f"),m.a.createElement("div",{className:"team-member"},u.map(function(t,a){return m.a.createElement("div",{className:e.computedClass(t.uid),onClick:function(){return e.toCheckPrize(t.uid)},key:a,style:e.computedBg(t.head_img)},t.is_captain&&m.a.createElement("span",{className:"team-member__captain"},"\u961f\u957f"))})),m.a.createElement("div",{className:"team-footer","data-layout":c?"column":"row"},1===s&&m.a.createElement(m.a.Fragment,null,n?m.a.createElement(I.b,{className:"team-button",to:"/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=1")},"\u7ee7\u7eed\u9080\u8bf7\u961f\u53cb"):m.a.createElement(I.b,{className:"team-button",to:"/activity/newyear-2019/landing?treasure_code=".concat(o,"&origin=2")},"\u5e2e\u597d\u53cb\u5b8c\u6210\u7ec4\u961f")),2===s&&!c&&m.a.createElement(m.a.Fragment,null,m.a.createElement("span",{className:"team-icon","data-direction":"left"}),m.a.createElement("span",{className:"team-button--split",onClick:h}),m.a.createElement("span",{className:"team-icon","data-direction":"right"})),2===s&&c&&m.a.createElement(m.a.Fragment,null,d.prize_name?m.a.createElement("p",{className:"team-prize"},d.prize_name):m.a.createElement("p",{className:"team-prize"},"\u5c1a\u672a\u62c6\u5f00\u5b9d\u7bb1"),d.uid==f.uid?_:null)))}}]),t}(l.Component)),T=(a(1246),function(e){var t=e.data,a=t.bind_phone,n=t.bind_address,s=t.prize_type,r=e.handleToBindPhone,i=e.handleToBindAddress,c=e.toComposeCoupon,o=e.toUseCoupon,l=e.toCourseList,u=e.toFecthMoney;return m.a.createElement(m.a.Fragment,null,a&&m.a.createElement("a",{className:"team-result",onClick:r},m.a.createElement("span",null,"\u7ed1\u5b9a\u624b\u673a\u53f7")),!a&&n&&m.a.createElement("a",{className:"team-result",onClick:i},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&1===s&&m.a.createElement("a",{className:"team-result",onClick:i},m.a.createElement("span",null,"\u67e5\u770b/\u4fee\u6539\u6536\u8d27\u4fe1\u606f")),!a&&!n&&6===s&&m.a.createElement("a",{className:"team-result",onClick:c},"\u53ef\u5408\u6210\u4ee3\u91d1\u5238\u5728\u8d2d\u8bfe\u65f6\u4f7f\u7528\uff0c",m.a.createElement("span",null,"\u53bb\u5408\u6210")),!a&&!n&&3===s&&m.a.createElement("a",{className:"team-result",onClick:o},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&4===s&&m.a.createElement("a",{className:"team-result",onClick:l},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u4f7f\u7528")),!a&&!n&&7===s&&m.a.createElement("a",{className:"team-result",onClick:u},"\u5df2\u5b58\u5165\u60a8\u7684\u8d26\u6237\uff0c",m.a.createElement("span",null,"\u53bb\u63d0\u73b0")),!a&&!n&&2===s&&m.a.createElement("a",{className:"team-result"},"\u5df2\u53d1\u653e\u81f3\u60a8\u7684\u8d26\u6237"))}),S=(a(1247),function(e){function t(){var e,a;Object(s.a)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(a=Object(i.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(r)))).computedBg=function(e){return e?{backgroundImage:"url(".concat(e,")")}:{}},a.continueSplitTreasure=function(){var e=a.props,t=e.ids,n=e.successSplitTreasure,s=e.handleToBindPhone,r=e.handleToBindAddress,i=t[0];_.d.post("".concat(API.home,"/sys/split_treasure"),i).then(function(e){var t=e.data,a=t.code,i=t.data;200===a?(n(i),i.bind_phone?setTimeout(function(){s(i.id)},500):i.bind_address&&setTimeout(function(){r(i.id)},500)):12e3===a?s():12001===a&&r()})},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this,t=this.props,a=t.ids,n=t.data,s=n.member,r=void 0===s?[]:s,i=n.prize_img,c=n.prize_name,o=t.handleToInvite,l=t.children;return m.a.createElement("div",{"data-skip":"split"},m.a.createElement("h2",{className:"split-success__title"},"\u606d\u559c\u4f60\u83b7\u5f97"),m.a.createElement("div",{className:"split-success__image"},m.a.createElement("img",{src:i,alt:""})),m.a.createElement("p",{className:"split-success__prize"},c),l,m.a.createElement("div",{className:"split-success__member"},r.map(function(t,a){return m.a.createElement("div",{className:"member-item",key:a},m.a.createElement("span",{className:"member-item__avatar",style:e.computedBg(t.avatar)},t.is_captain&&m.a.createElement("i",{className:"member-item__captain"},"\u961f\u957f")),t.prize?m.a.createElement("span",{className:"member-item__prize"},t.prize):m.a.createElement("span",{className:"member-item__prize"},"\u5c1a\u672a\u62c6\u5f00\u5b9d\u7bb1"))})),a.length>0?m.a.createElement("button",{className:"split-success__jump",onClick:this.continueSplitTreasure},"\u7ee7\u7eed\u5f00\u5b9d\u7bb1"):m.a.createElement("button",{className:"split-success__jump",onClick:o},"\u7ee7\u7eed\u7ec4\u961f\u5f00\u5b9d\u7bb1"))}}]),t}(l.Component)),w=a(21),P=a.n(w),A=(a(1248),document.querySelector("body")),B=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).el||(a.el=document.createElement("div")),a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){A.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){A.removeChild(this.el)}},{key:"render",value:function(){var e=this.props,t=e.visible,a=e.handleToHide;return t?P.a.createPortal(m.a.createElement("div",{className:"mask"},m.a.createElement("div",{className:"mask-content"},this.props.children),m.a.createElement("div",{className:"mask-footer"},m.a.createElement("i",{className:"mask-button__close",onClick:a}))),this.el):null}}]),t}(l.Component),M=(a(1249),a(811),Object(u.b)(function(e){return{country:e.country,userInfo:e.user.data}})(n=function(e){function t(e){var a;return Object(s.a)(this,t),(a=Object(i.a)(this,Object(c.a)(t).call(this,e))).popupInstance=null,a.initPrizeName=function(e){var t=a.fetchCurrentTeamId(e),n=e.filter(function(e){return e.id==t});n.length>0&&a.setState({prizeName:n[0].prize_name})},a.judgeIsHaveId=function(e){var t=Object(_.c)("id");if(t){var n=e.filter(function(e){return e.id==t});if(n.length>0){var s={team_num:n[0].team_num,owner_uid:n[0].captain_uid};a.toSplitTreasure(s)}}},a.fetchCurrentTeamId=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(function(e){return e.is_open&&(e.bind_phone||e.bind_address)});return e.length>0?e[0].id:""},a.isShowBindPhone=function(e){if(a.props.country.from){var t=a.fetchCurrentTeamId(e);a.handleToBindPhone(t)}},a.handleToBindPhone=function(e){a.setState({isPhone:!0})},a.handleToConfirmPhone=function(e,t){a.handleToHideWindow("isPhone"),a.setState({confirmInfo:{params:e,bindInfo:t},isConfirm:!0})},a.successBindPhone=function(){a.setState({isPhone:!1,isConfirm:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),r=t.map(function(e){return e.id==s?(e.bind_address&&a.handleToBindAddress(),Object.assign({},e,{bind_phone:!1})):e});a.setState({teams:r,splitInfo:Object.assign({},n,{bind_phone:!1})})},a.toSplitTreasure=function(e){_.d.post("".concat(API.home,"/sys/split_treasure"),e).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?(a.showSuccessSplit(s),a.successSplitTreasure(s),s.bind_phone?setTimeout(function(){a.handleToBindPhone(s.id)},500):s.bind_address&&setTimeout(function(){a.handleToBindAddress(s.id)},500)):12e3===n?a.handleToBindPhone():12001===n&&a.handleToBindAddress()})},a.successSplitTreasure=function(e){var t=a.props.userInfo,n=a.state.teams.map(function(a){return a.id==e.id?Object.assign({},a,{bind_phone:e.bind_phone,bind_address:e.bind_address,is_open:!0,prize_type:e.prize_type,prize_data:e.prize_data,member:a.member.map(function(a){return a.uid==t.uid?Object.assign({},a,{is_open:!0,prize_name:e.prize_name}):a})}):a});a.initNoSplitInfo(n),a.setState({teams:n,splitInfo:e,prizeName:e.prize_name})},a.showSuccessSplit=function(e){a.setState({isSplit:!0,splitInfo:e})},a.handleToBindAddress=function(e){a.setState({isAddress:!0})},a.successBindAddress=function(){a.setState({isAddress:!1});var e=a.state,t=e.teams,n=e.splitInfo,s=a.fetchCurrentTeamId(t),r=t.map(function(e){return e.id==s?Object.assign({},e,{bind_address:!1}):e});a.setState({teams:r,splitInfo:Object.assign({},n,{bind_address:!1})})},a.fetchMyTreasure=function(){_.d.get("".concat(API.home,"/sys/treasure/my")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n?(a.rule=s.rule,Array.isArray(s.team)&&s.team.length>0?(a.initNoSplitInfo(s.team),a.judgeIsHaveId(s.team),a.isShowBindPhone(s.team),a.initPrizeName(s.team),a.setState({isEmpty:!1,teams:s.team})):a.setState({isEmpty:!0})):4030!==n&&4040!==n||a.setState({isEmpty:!0})})},a.initNoSplitInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.length>0&&a.setState({ids:e.filter(function(e){return!e.is_open&&2===e.status}).map(function(e){return{team_num:e.team_num,owner_uid:e.captain_uid}})})},a.fetchActivityStatus=function(){_.d.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&a.setState({isEnd:0===s.treasure_stage})})},a.startCountDown=function(){var e=a.props.history,t=a.state.seconds;a.timer&&clearInterval(a.timer),a.setState({seconds:t--}),a.timer=setInterval(function(){a.setState({seconds:t--}),0===t&&(a.setState({seconds:0}),clearInterval(a.timer),e.push("/year/yearIndex"))},1e3)},a.handleToInvite=function(e){a.props.history.push("/activity/newyear-2019/landing?treasure_code=".concat(e,"&origin=1"))},a.toOrganizeTeam=function(){var e=a.props,t=e.history,n=e.userInfo.uid;""===(void 0===n?"":n)?t.push("/passport"):_.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.code,s=t.data;if(200===n){var r=[];r[0]=s,a.setState({isEmpty:!1,teams:r,isCreate:!0,createInfo:s})}})},a.toComposeCoupon=function(){a.props.history.push("/coupons/my-patch")},a.toUseCoupon=function(e){a.props.history.push("/detail?id=".concat(e))},a.toCourseList=function(){a.props.history.push("/classify")},a.toFecthMoney=function(){a.props.history.push("/scholarship")},a.handleToHideWindow=function(e){var t={};t[e]=!1,a.setState(t)},a.state={isEnd:!1,isEmpty:!1,seconds:3,teams:[],ids:[],bindInfo:{},isPhone:!1,isAddress:!1,isConfirm:!1,confirmInfo:{},isSplit:!1,isCreate:!1,createInfo:{},prizeName:""},a}return Object(o.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.state.isEnd&&this.startCountDown(),this.fetchMyTreasure(),this.fetchActivityStatus()}},{key:"render",value:function(){var e=this,t=this.props,a=t.history,n=t.userInfo,s=t.country,r=this.state,i=r.isEnd,c=r.isEmpty,o=r.seconds,l=r.teams,u=r.ids,p=r.isPhone,h=r.isAddress,f=r.isConfirm,_=r.isSplit,v=r.splitInfo,E=void 0===v?{}:v,y=r.confirmInfo,j=y.params,C=void 0===j?{}:j,I=y.bindInfo,w=void 0===I?{}:I,P=r.isCreate,A=r.createInfo,M=r.prizeName;return m.a.createElement("div",{"data-skip":"treasure"},m.a.createElement(d.e,{title:"\u6211\u7684\u5b9d\u7bb1",arrow:!0}),i&&m.a.createElement("p",{className:"activity-end__desc"},"\u6d3b\u52a8\u5df2\u7ed3\u675f",m.a.createElement("br",null),o,"s\u540e\u5c06\u81ea\u52a8\u8fd4\u56de\u9996\u9875"),!i&&c&&m.a.createElement(m.a.Fragment,null,m.a.createElement("i",{className:"team-empty__icon"}),m.a.createElement("p",{className:"team-empty__desc"},"\u60a8\u5f53\u524d\u8fd8\u6ca1\u6709\u5b9d\u7bb1\u54e6~"),m.a.createElement("p",{className:"team-empty__desc"},"\u5feb\u53bb\u7ec4\u961f\u9080\u8bf7\u597d\u53cb\u4e00\u8d77\u5f00\u5b9d\u7bb1\u5427\uff01"),m.a.createElement("button",{className:"team-empty__button",onClick:this.toOrganizeTeam},"\u7ec4\u961f\u5f00\u5b9d\u7bb1")),!i&&!c&&n.uid&&m.a.createElement("div",{className:"treasure-content"},l.map(function(t,s){return m.a.createElement(O,{data:t,key:s,userInfo:n,history:a,splitInstance:e.splitInstance,toSplitTreasure:function(){return e.toSplitTreasure({team_num:t.team_num,owner_uid:t.captain_uid})}},m.a.createElement(T,{data:{bind_phone:t.bind_phone,bind_address:t.bind_address,prize_type:t.prize_type},handleToBindPhone:e.handleToBindPhone,handleToBindAddress:e.handleToBindAddress,toComposeCoupon:e.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(t.prize_data)},toCourseList:e.toCourseList,toFecthMoney:e.toFecthMoney}))}),m.a.createElement(B,{visible:_,handleToHide:function(){return e.handleToHideWindow("isSplit")}},m.a.createElement(S,{ids:u,data:E,handleToInvite:this.handleToInvite,handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,successSplitTreasure:this.successSplitTreasure},m.a.createElement(T,{data:E,handleToBindPhone:this.handleToBindPhone,handleToBindAddress:this.handleToBindAddress,toComposeCoupon:this.toComposeCoupon,toUseCoupon:function(){return e.toUseCoupon(E.prize_data)},toCourseList:this.toCourseList,toFecthMoney:this.toFecthMoney}))),m.a.createElement(B,{visible:p,handleToHide:function(){return e.handleToHideWindow("isPhone")}},m.a.createElement(g,{history:a,country:s,hideBindPhone:function(){return e.handleToHideWindow("isPhone")},handleToConfirmPhone:this.handleToConfirmPhone,successBindPhone:this.successBindPhone,desc:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"phone-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 \u5956\u54c1\u540d\u79f0\uff08",M,"\uff09"),m.a.createElement("p",{className:"phone-treasure__notice"},"\u4e3a\u4e86\u60a8\u7684\u8d26\u6237\u5b89\u5168\uff0c\u8bf7\u4e8e2019\u5e7412\u670831\u65e5\u524d\u7ed1\u5b9a\u624b\u673a\u53f7\uff0c\u8fc7\u671f\u5c06\u5931\u6548"))})),m.a.createElement(B,{visible:f,handleToHide:function(){return e.handleToHideWindow("isConfirm")}},m.a.createElement(N,{data:C,bindInfo:w,handleToCancle:function(){return e.handleToHideWindow("isConfirm")},successBindPhone:this.successBindPhone})),m.a.createElement(B,{visible:h,handleToHide:function(){return e.handleToHideWindow("isAddress")}},m.a.createElement(b,{skip:"year",tip:m.a.createElement(m.a.Fragment,null,m.a.createElement("p",{className:"address-treasure__desc"},"\u606d\u559c\u60a8\u83b7\u5f97 \u5956\u54c1\u540d\u79f0\u5956\u54c1\u540d\u79f0\u5956\u54c1\u540d\u79f0"),m.a.createElement("p",{className:"address-treasure__notice"},"\u8bf7\u53ca\u65f6\u586b\u5199/\u786e\u8ba4\u6536\u8d27\u4fe1\u606f\uff0c\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4")),successBindAddress:this.successBindAddress})),m.a.createElement(B,{visible:P,handleToHide:function(){return e.handleToHideWindow("isCreate")}},m.a.createElement(k,{data:A,handleToInvite:function(){e.handleToInvite(A.treasure_code),e.handleToHideWindow("isCreate")}}))))}}]),t}(l.Component))||n);t.default=M},1290:function(e,t,a){"use strict";a.r(t);a(41);var n,s,r=a(12),i=a.n(r),c=a(5),o=a(7),l=a(6),m=a(8),u=a(9),d=a(0),p=a.n(d),h=(a(1236),a(1237),a(49)),f=a(3),_=a(660),v=a(739),b=a(22),E=(a(28),a(587)),y=a.n(E),g=Object(b.b)(function(e){return{user:e.user}})(n=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).getLiveInfo=function(){f.d.get("".concat(API.home,"/activity/get_live_info")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;200===n?a.setState({list:s}):i.a.info(r)})},a.subscribe=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.props.history.push("/passport/login"):f.d.get("".concat(API["base-api"],"/sys/createLiveQrcode/").concat(e)).then(function(e){var t=e.data,n=t.errno,s=t.data,r=t.msg;200===n?y.a.toDataURL(s.url,function(e,t){a.setState({showMark:!0,subUrl:t})}):i.a.info(r)})},a.tip=function(){i.a.info("\u4f60\u5df2\u9884\u7ea6\u8be5\u76f4\u64ad")},a.toLivingRoom=function(e){var t=a.props.user,n=t.hasError;t.data;n?a.props.history.push("/passport/login"):window.location.href="".concat(window.location.protocol,"//www.julyedu.com/live/m_room/").concat(e)},a.checkVideo=function(e){var t=a.props.user,n=t.hasError;t.data;if(n)a.props.history.push("/passport/login");else{var s=e.split("/")[0];history.push("/play/video?id=".concat(s))}},a.closePopup=function(){a.setState({showMark:!1}),a.getLiveInfo()},a.saveImage=function(){var e=Object(f.c)("version");e="string"===typeof e?e.replace(".","").replace(".","").slice(0,3):"";var t=a.state.QRCodeUrl;e&&parseInt(e)<451?i.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",2,null,!1):Object(f.a)("generateQRCode",t)},a.state={list:[],showMark:!1,subUrl:""},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getLiveInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.list,n=t.showMark,s=t.subUrl;return p.a.createElement("div",{className:"live__container"},n&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u626b\u7801\u5173\u6ce8\u201c\u4e03\u6708\u5728\u7ebf\u201d\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"),p.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:s,alt:""}),f.b.isAndroidApp?p.a.createElement("button",{className:"save-image",onClick:this.saveImage},"\u4fdd\u5b58\u4e8c\u7ef4\u7801"):null)),p.a.createElement(_.a,{title:"\u5927\u5496\u76f4\u64ad",id:"year-live"},p.a.createElement("ul",{className:"live__list"},a.length&&a.map(function(t,a){return p.a.createElement("li",{key:a,className:"live_room_item"},p.a.createElement("img",{className:"user__avatar",src:t.avatar,alt:""}),p.a.createElement("div",{className:"live__info"},p.a.createElement("div",{className:"theme"},p.a.createElement("span",null,"\u4e3b\u9898\uff1a"),p.a.createElement("p",null,t.title)),p.a.createElement("div",{className:"info__item"},p.a.createElement("span",null,"\u65f6\u95f4\uff1a"),p.a.createElement("p",null,t.date)),p.a.createElement("div",{className:"info__item"},p.a.createElement("span",null,"\u8bb2\u5e08\uff1a"),p.a.createElement("p",null,t.teacher)),0==t.on_live&&0==t.is_end&&0==t.is_subscribe&&p.a.createElement("span",{onClick:function(){return e.subscribe(t.live_id)},className:"order__btn"},"\u7acb\u5373\u9884\u7ea6"),0==t.on_live&&0==t.is_end&&1==t.is_subscribe&&p.a.createElement("span",{onClick:e.tip,className:"order__btn subscribed"},"\u5df2\u9884\u7ea6"),1==t.on_live&&0==t.is_end&&p.a.createElement("span",{onClick:function(){return e.toLivingRoom(t.room_url)},className:"order__btn living"},"\u6b63\u5728\u76f4\u64ad"),1==t.is_end&&""!=t.transcribe_url&&p.a.createElement("span",{onClick:function(){return e.checkVideo(t.transcribe_url)},className:"order__btn check__video"},"\u67e5\u770b\u56de\u653e")))}))))}}]),t}(d.Component))||n,N=Object(h.g)(g),k=a(819),j=(a(1238),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).fetchRankInfo=function(){f.d.get("".concat(API.home,"/sys/treasure/ranking")).then(function(e){var t=e.data,n=t.code,s=t.data;200===n&&(s.length>5?a.setState({rank:s.filter(function(e,t){return t<5}),rankList:s,isMore:!0}):a.setState({rank:s,rankList:s,isMore:!1}))})},a.switchMoreRank=function(){var e=a.state,t=e.rankList;e.isMore?a.setState({rank:t,isMore:!1}):a.setState({rank:t.filter(function(e,t){return t<5}),isMore:!0})},a.state={rank:[],rankList:[],isMore:!1},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.fetchRankInfo()}},{key:"render",value:function(){var e=this.state,t=e.rank,a=e.isMore;return p.a.createElement("div",{"data-skip":"rank"},p.a.createElement("div",{className:"rank-title"},p.a.createElement("i",{className:"rank-title__decorate"}),p.a.createElement("h2",{className:"rank-title__txt"},"\u5b9d\u7bb1\u8fbe\u4eba\u699c"),p.a.createElement("i",{className:"rank-title__decorate"})),p.a.createElement("p",{className:"rank-desc"},"\u5b9d\u7bb1\u6570\u91cf\u524d50\u540d\u53ef\u989d\u5916\u83b7\u5f97\u4e00\u4efd\u5956\u54c1\uff0c\u6570\u91cf\u76f8\u540c\u7684\u7528\u65f6\u77ed\u8005\u6392\u540d\u5728\u524d"),p.a.createElement("dl",{className:"rank-header"},p.a.createElement("dd",{className:"rank-column"},"\u6392\u540d"),p.a.createElement("dd",{className:"rank-column"},"\u7528\u6237"),p.a.createElement("dd",{className:"rank-column"},"\u5b9d\u7bb1\u6570\u91cf"),p.a.createElement("dd",{className:"rank-column"},"\u5956\u54c1")),p.a.createElement("div",{className:"rank-body"},t.map(function(e,t){return p.a.createElement("dl",{className:"rank-item",key:t},p.a.createElement("dd",{className:"rank-column"},t<=2?p.a.createElement("span",{className:"rank-column__number","data-num":t}):p.a.createElement("span",null,t+1)),p.a.createElement("dd",{className:"rank-column"},p.a.createElement("span",{className:"rank-column__name"},e.user_name)),p.a.createElement("dd",{className:"rank-column"},p.a.createElement("span",null,e.num)),p.a.createElement("dd",{className:"rank-column"},e.url?p.a.createElement("a",{className:"rank-column__txt",href:e.url},e.prize_name):p.a.createElement("span",{className:"rank-column__txt"},e.prize_name)))}),p.a.createElement("div",{className:"rank-more",onClick:this.switchMoreRank},p.a.createElement("span",{className:"rank-more__txt"},a?"\u5c55\u5f00":"\u6536\u8d77"),p.a.createElement("i",{className:"rank-more__icon","data-more":a}))))}}]),t}(d.Component)),C=(a(1239),a(25)),I=function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).getTeamInfo=function(){f.d.get("".concat(API.home,"/sys/treasure/teamInfo")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;if(200===n){var c=s.prize_info,o=s.is_my_team,l=s.info,m=s.member,u=s.removable_data,d=s.my_team;a.setState({prize_info:c,is_my_team:o,info:l,member:a.fillTeam(m),removable_data:u,my_team:d});var p=null;l.removable>0&&(p=u[0].id),a.props.getRemovable(l.removable,p)}else i.a.info(r)})},a.toYearTreasure=function(e){if(a.props.user.hasError)a.props.history.push("/passport/login");else{var t="";if(e){var n=a.state,s=n.removable_data;if(n.info.removable>0){var r=s[0];t="?id=".concat(r.id)}}a.props.history.push("/year/yearTreasure".concat(t))}},a.createTeam=function(){if(a.props.user.hasError)a.props.history.push("/passport/login");else{var e=a.state,t=e.is_my_team,n=e.my_team.treasure_code;t?a.props.history.push("/activity/newyear-2019/landing?origin=1&treasure_code="+n):f.d.get("".concat(API.home,"/sys/treasure/createMyTeam")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;if(200===n){var c=s.treasure_code;a.props.history.push("/activity/newyear-2019/landing?origin=1&treasure_code="+c)}else i.a.info(r)})}},a.fillTeam=function(e){for(var t=e.length,a=0;a<5-t;a++)e.push({head_img:"",user_name:"",nobody:!0});return e},a.state={is_my_team:!1,prize_info:[],info:{removable:0,total:0},member:[],removable_data:[],my_team:{}},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.getTeamInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.prize_info,n=t.is_my_team,s=t.info,r=s.removable,i=s.total,c=t.member,o="",l=0;a.length>0&&(o=a[0].name,l=a[0].stage_no);var m="";return m=0===i?"\u6211\u7684\u5b9d\u7bb1":0===r?"\u5171".concat(i,"\u4e2a\u5b9d\u7bb1"):"\u5171".concat(i,"\u4e2a\u5b9d\u7bb1/").concat(r,"\u4e2a\u672a\u62c6"),p.a.createElement("div",{className:"team_info__container"},p.a.createElement("div",{className:"team__member"},p.a.createElement("ul",{className:"member__list"},c&&c.length>0&&c.map(function(e,t){return p.a.createElement("li",{key:t,className:"member__item"},p.a.createElement("div",{className:"avatar__container"},e.nobody?p.a.createElement("img",{className:"head__image",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/default-member-avatar.png",alt:""}):p.a.createElement("img",{className:"head__image",src:e.head_img,alt:""}),0===t?p.a.createElement("img",{className:"caption__flag",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/caption.png",alt:""}):null,p.a.createElement("div",{className:"shadow"})),p.a.createElement("div",{className:"member__join ".concat(e.nobody?"":"join")}))})),p.a.createElement("div",{className:"box__number"},p.a.createElement("img",{onClick:function(){return e.toYearTreasure(!0)},src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/treasure-box-icon.png",alt:""}),p.a.createElement("p",{onClick:function(){return e.toYearTreasure(!1)},className:"box__text"},m),p.a.createElement("img",{className:"position__arrow",src:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/arrow_jinzhan.png",alt:""}),r>0&&p.a.createElement("div",{className:"position__number"},r))),p.a.createElement("div",{onClick:this.createTeam,className:"invite__btn"},n?"\u7ee7\u7eed\u7ec4\u961f":"\u7ec4\u961f\u5f00\u5b9d\u7bb1"),l>0&&o&&p.a.createElement("p",{className:"stage_prize"},"\u7b2c".concat(l,"\u6b21\u5fc5\u4e2d").concat(o)))}}]),t}(d.Component),O=Object(C.d)(Object(b.b)(function(e){return{user:e.user}},null),h.g)(I),T=a(817),S=a(818),w=function(e){function t(e){return Object(c.a)(this,t),Object(l.a)(this,Object(m.a)(t).call(this,e))}return Object(u.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){return p.a.createElement(_.a,{id:"year-treasure",title:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},p.a.createElement("div",{style:{textAlign:"center",fontSize:"12px",color:"#FFDC1E",marginTop:"10px"}},"\u9080\u8bf7\u597d\u53cb\u7ec4\u961f\u4e00\u8d77\u5f00\u5b9d\u7bb1\uff0c\u6ee15\u4eba\u540e\u5c06\u968f\u673a\u83b7\u5f97\u4ee5\u4e0b\u5956\u54c1~"),p.a.createElement(T.a,{showSystemNotices:!0}),p.a.createElement(S.a,null),p.a.createElement(O,{getRemovable:this.props.getRemovable}),p.a.createElement(j,null))}}]),t}(d.Component),P=a(17),A=a.n(P),B=(a(1240),function(e){function t(e){var a;return Object(c.a)(this,t),(a=Object(l.a)(this,Object(m.a)(t).call(this,e))).initNav=function(e){var t=a.state.navs;0===e?a.setState({formatNavs:t.filter(function(e){return"year-treasure"!==e.id})}):a.setState({formatNavs:t})},a.calcNavActive=function(){var e=a.state.formatNavs,t=a.props.id,n=document.querySelector("#".concat(t));setTimeout(function(){var t=window.scrollY,s=e.length-1;for(a.setState({isFixed:t>=n.offsetHeight});s>-1;s--){var r=document.querySelector("#".concat(e[s].id));if(r&&t+200>=r.offsetTop){a.setState({curIndex:s});break}}},100)},a.selectToNav=function(e){var t=a.state.formatNavs,n="#".concat(t[e].id),s=document.querySelector(n);s&&(a.setState({curIndex:e}),window.scrollTo({top:s.offsetTop,left:0}))},a.state={isFixed:!1,curIndex:1,formatNavs:[],navs:[{id:"year-live",name:"\u5927\u5496\u76f4\u64ad"},{id:"year-treasure",name:"\u7ec4\u961f\u5f00\u5b9d\u7bb1"},{id:"year-course",name:"\u91cd\u78c5\u597d\u8bfe"},{id:"year-free",name:"\u514d\u8d39\u5b66"},{id:"year-group",name:"1\u5206\u62fc\u56e2"},{id:"year-discount",name:"\u6284\u5e95\u4e13\u533a"}]},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.calcNavActive)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.calcNavActive)}},{key:"componentWillReceiveProps",value:function(e){this.initNav(e.treasure_stage)}},{key:"render",value:function(){var e=this,t=this.state,a=t.isFixed,n=t.curIndex,s=t.formatNavs;return p.a.createElement("div",{className:A()("treasure-nav",{fixed:a}),"data-skip":"nav"},s.map(function(t,a){return p.a.createElement("a",{href:"#".concat(t.id),className:A()("treasure-nav__item",{active:a===n}),key:t.id,onClick:function(){return e.selectToNav(a)}},t.name)}))}}]),t}(d.Component)),M=a(36),z=a.n(M),x=a(27),F=a(155);a.d(t,"default",function(){return L});var L=Object(b.b)(function(e){return{user:e.user}},{setCurrentUser:x.g,startFetchUser:x.h})(s=function(e){function t(){var e,a;Object(c.a)(this,t);for(var n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return(a=Object(l.a)(this,(e=Object(m.a)(t)).call.apply(e,[this].concat(s)))).state={removable:0,currentOpenId:0,treasure_stage:0,active_stage:0,userInfoList:[],userInfo:{},isAppUpdate:!1,showMark:!1,banner:"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/newyear20/H5/m_banner_bj%402x.png"},a.loginInfo=function(e){a.setState({userInfoList:e},function(){a.state.userInfoList.length&&(a.props.startFetchUser(),a.appLogin())})},a.appLogin=function(){var e=Object(F.addDays)(new Date,90);a.state.userInfoList.map(function(t,a){z.a.set("token",t.token,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("plat",t.plat,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("uid",t.uid,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("uname",t.uname,{expires:e,path:"/",domain:".julyedu.com"}),z.a.set("avatar_file",t.avatar_file,{expires:e,path:"/",domain:".julyedu.com"})}),z.a.get("token")&&z.a.get("uid")&&a.setState({isAppUpdate:!0}),a.props.setCurrentUser(a.transformUser(a.state.userInfoList))},a.transformUser=function(e){var t;return e.map(function(e,a){t={hasError:!1,data:{username:e.uname,avatar:e.avatar_file,token:e.token,uid:e.uid},isFetching:!1}}),t},a.closePopup=function(){a.setState({showMark:!1})},a.getRemovable=function(e,t){a.setState({removable:e,currentOpenId:t})},a.toBoxList=function(){var e=!a.props.user.hasError,t=a.state.currentOpenId,n="";t&&(n="?id=".concat(t)),e?a.props.history.push("/year/yearTreasure".concat(n)):Object(f.c)("version")?Object(f.a)("toLogin"):a.props.history.push("/passport/login")},a.getStage=function(){f.d.get("".concat(API.home,"/activity/stage")).then(function(e){var t=e.data,n=t.code,s=t.data,r=t.msg;200===n?a.setState({treasure_stage:s.treasure_stage}):i.a.info(r,2)})},a.toYearWish=function(){!a.props.user.hasError?a.props.history.push("/year/yearWish"):Object(f.c)("version")?Object(f.a)("toLogin"):a.props.history.push("/passport/login")},a}return Object(u.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=this;window.loginInfo=function(t){e.loginInfo(t)},e.getStage()}},{key:"sonToPar",value:function(e){this.setState({txt1:e})}},{key:"render",value:function(){var e=this,t=this.state,a=t.banner,n=t.removable,s=t.treasure_stage;return p.a.createElement("div",{className:"year-index"},p.a.createElement("div",{className:"banner-treasure"},p.a.createElement("div",{id:"banner",className:"banner-treasure__header",style:{backgroundImage:"url(".concat(a,")")}}),p.a.createElement("div",{className:"banner-treasure__nav"},p.a.createElement(B,{id:"banner",treasure_stage:s})),p.a.createElement("div",{className:"banner-treasure__decorate"})),p.a.createElement("div",{className:"nav-right"},p.a.createElement("span",{onClick:this.toBoxList,className:"nav-right__link"},"\u672a\u62c6\u5b9d\u7bb1",n>0&&p.a.createElement("i",{className:"nav-right__number"},n)),p.a.createElement("a",{onClick:function(){return e.toYearWish()},className:"nav-right__link"},"\u5fc3\u613f\u5355",this.state.txt1>0&&p.a.createElement("i",{className:"nav-right__number"},this.state.txt1))),p.a.createElement(N,null),1===s&&p.a.createElement(w,{getRemovable:this.getRemovable}),p.a.createElement(k.a,{isAppUpdate:this.state.isAppUpdate,getSum:this.sonToPar.bind(this)}),this.state.showMark&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u63d0\u9192\u670d\u52a1"),p.a.createElement("p",{className:"sub__tip"},"\u6709\u597d\u53cb\u52a0\u5165\u961f\u4f0d\u540e\u7b2c\u4e00\u65f6\u95f4\u901a\u77e5\u6211~"),p.a.createElement("img",{className:"sub__qr_code",id:"live-qr-code",src:"//julyedu-cdn.oss-cn-beijing.aliyuncs.com/2018christyear/h5/qrcode.jpg",alt:""}),p.a.createElement("p",{className:"sub__tip"},"\u957f\u6309\u8bc6\u522b/\u626b\u7801 \u5173\u6ce8\u3010\u4e03\u6708\u5728\u7ebf\u3011\u670d\u52a1\u53f7\u5373\u53ef\u9884\u7ea6"))),this.state.showMark&&p.a.createElement(v.a,{top:50,closePopup:this.closePopup,mark:!0},p.a.createElement("div",{className:"sub__code_container"},p.a.createElement("p",{className:"sub__title"},"\u7ec4\u961f\u5f00\u5b9d\u7bb1\u6d3b\u52a8\u89c4\u5219"),p.a.createElement("p",{className:"sub__rule"},"1. \u6d3b\u52a8\u671f\u95f4\uff0812\u670818\u65e5-12\u670831\u65e5\uff09\u53ef\u968f\u65f6\u53c2\u4e0e\u5f00\u5b9d\u7bb1\uff1b",p.a.createElement("br",null),"2. \u5f53\u524d\u961f\u4f0d\u6ee1\u5458\u540e\u53ef\u7ee7\u7eed\u521b\u5efa\u65b0\u961f\u4f0d\uff1b",p.a.createElement("br",null),"3. \u6bcf\u4eba\u6709\u4e00\u6b21\u673a\u4f1a\u52a0\u5165\u597d\u53cb\u7684\u961f\u4f0d\uff1b",p.a.createElement("br",null),"4. \u961f\u4f0d\u6ee1\u5458\u540e\u6240\u6709\u6210\u5458\u5747\u53ef\u968f\u673a\u83b7\u5f97\u5b9d\u7bb1\u5185\u5956\u54c1\uff0c\u961f\u957f\u5956\u52b1\u66f4\u4e30\u539a\u54e6~",p.a.createElement("br",null),"5. \u4ee3\u91d1\u5238\u3001\u8bfe\u7a0b\u7b49\u865a\u62df\u5956\u54c1\u5c06\u76f4\u63a5\u53d1\u653e\u81f3\u8d26\u6237\uff0c\u5b9e\u7269\u5956\u54c1\u6d3b\u52a8\u7ed3\u675f\u540e\u7edf\u4e00\u90ae\u5bc4\uff1b",p.a.createElement("br",null),"6. \u73b0\u91d1\u53ef\u63d0\u73b0\uff1a\u6211\u7684 \u2192 \u8d5a\u5956\u5b66\u91d1 \u2192 \u63d0\u73b0\u3002"))))}}]),t}(d.Component))||s}}]);
//# sourceMappingURL=newyear-yearIndex.0a65a2f3.chunk.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],i=r[1],s=r[2],f=0,l=[];f<d.length;f++)a=d[f],c[a]&&l.push(c[a][0]),c[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(u&&u(r);l.length;)l.shift()();return o.push.apply(o,s||[]),t()}function t(){for(var e,r=0;r<o.length;r++){for(var t=o[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==c[i]&&(n=!1)}n&&(o.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={37:0},c={37:0},o=[];function d(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,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,15:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,36:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,46:1,47:1,48:1,49:1,50:1,51:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({6:"Activity",7:"BargainMiddlePage",8:"Classify",9:"Country",10:"CourseList",11:"DrawDocument",12:"Examination",13:"Invite",14:"MyEdit",15:"Order",16:"Orderinfo",17:"PayOrder",18:"Preferential",19:"SearchResult",20:"ShareCourse",21:"ShopCart",22:"aist-share",23:"blessing-getPrize",24:"blessing-preheat",25:"blessing-rank",26:"coupons",27:"deposit-order",28:"deposit-pay-order",29:"detail",31:"myorders",32:"newyear-2019-landing",33:"newyear-yearIndex",34:"prize-winner-list",35:"purchased",36:"python-class",38:"search",39:"shareposter",40:"study",41:"system-notices",42:"togroup",43:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"eaa7bc6f",3:"1133c967",4:"3c987934",5:"31d6cfe0",6:"08739942",7:"2a913483",8:"127d35ae",9:"400393b7",10:"fed92c83",11:"1bd3da48",12:"17af9370",13:"08739942",14:"31d6cfe0",15:"83a999aa",16:"31d6cfe0",17:"68a25070",18:"ccebc534",19:"6d7d1b77",20:"6e885738",21:"887eb690",22:"affb05d7",23:"32a9cccc",24:"5dc65c0d",25:"39fb77c8",26:"0ce3fd3d",27:"2e5f43c4",28:"e8363b32",29:"55b938da",31:"841d0cfb",32:"3376237c",33:"c7ce3364",34:"ce85cb83",35:"7558403e",36:"11408886",38:"efa1dd44",39:"cde549fc",40:"62b8863b",41:"4513204d",42:"ffd8be6c",43:"b3755c1b",45:"976b2058",46:"51412fcd",47:"e292ab6b",48:"37fb0c23",49:"bacf914e",50:"56b04545",51:"ce17075b"}[e]+".chunk.css",c=d.p+n,o=document.getElementsByTagName("link"),i=0;i<o.length;i++){var s=(u=o[i]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===n||s===c))return r()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){var u;if((s=(u=f[i]).getAttribute("data-href"))===n||s===c)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||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");o.request=n,delete a[e],l.parentNode.removeChild(l),t(o)},l.href=c,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=c[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=c[e]=[r,n]});r.push(t[2]=n);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.p+"mrstatic/js/"+({6:"Activity",7:"BargainMiddlePage",8:"Classify",9:"Country",10:"CourseList",11:"DrawDocument",12:"Examination",13:"Invite",14:"MyEdit",15:"Order",16:"Orderinfo",17:"PayOrder",18:"Preferential",19:"SearchResult",20:"ShareCourse",21:"ShopCart",22:"aist-share",23:"blessing-getPrize",24:"blessing-preheat",25:"blessing-rank",26:"coupons",27:"deposit-order",28:"deposit-pay-order",29:"detail",31:"myorders",32:"newyear-2019-landing",33:"newyear-yearIndex",34:"prize-winner-list",35:"purchased",36:"python-class",38:"search",39:"shareposter",40:"study",41:"system-notices",42:"togroup",43:"video"}[e]||e)+"."+{0:"fca6c57e",1:"79bef975",2:"cd610016",3:"887af415",4:"9345128a",5:"0fa85971",6:"2d5072de",7:"d06f09a5",8:"f764cc42",9:"1f4b0f24",10:"01bbeddb",11:"e533ae08",12:"c698c660",13:"5df25916",14:"354eb41e",15:"cc67d4ed",16:"b6a2c403",17:"125a3f26",18:"7c89d7b4",19:"416c7de9",20:"023facd9",21:"e43f92e4",22:"7de7c72f",23:"123f1c0f",24:"02349140",25:"b6741d1f",26:"c08aebb9",27:"bbd6611f",28:"f46d957f",29:"14aa5b70",31:"eb703921",32:"13e8f63c",33:"3229c669",34:"8fe3351f",35:"36cd23d7",36:"56d079a1",38:"b8aee097",39:"da46cef0",40:"30c323d2",41:"4b430a99",42:"76c66649",43:"bef5adae",45:"82d89373",46:"296ab055",47:"33a8c3bc",48:"8cced5a9",49:"3344ed4c",50:"6b937f7c",51:"94631494"}[e]+".chunk.js"}(e),o=function(r){i.onerror=i.onload=null,clearTimeout(s);var t=c[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,o=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");o.type=n,o.request=a,t[1](o)}c[e]=void 0}};var s=setTimeout(function(){o({type:"timeout",target:i})},12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var u=s;t()}([]);
//# sourceMappingURL=runtime~main.570cc4d2.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,a,d=r[0],i=r[1],s=r[2],f=0,l=[];f<d.length;f++)a=d[f],c[a]&&l.push(c[a][0]),c[a]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(u&&u(r);l.length;)l.shift()();return o.push.apply(o,s||[]),t()}function t(){for(var e,r=0;r<o.length;r++){for(var t=o[r],n=!0,a=1;a<t.length;a++){var i=t[a];0!==c[i]&&(n=!1)}n&&(o.splice(r--,1),e=d(d.s=t[0]))}return e}var n={},a={37:0},c={37:0},o=[];function d(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,d),t.l=!0,t.exports}d.e=function(e){var r=[];a[e]?r.push(a[e]):0!==a[e]&&{2:1,3:1,4:1,6:1,7:1,8:1,9:1,10:1,11:1,12:1,13:1,15:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,31:1,32:1,33:1,34:1,35:1,36:1,38:1,39:1,40:1,41:1,42:1,43:1,45:1,46:1,47:1,48:1,49:1,50:1,51:1}[e]&&r.push(a[e]=new Promise(function(r,t){for(var n="mrstatic/css/"+({6:"Activity",7:"BargainMiddlePage",8:"Classify",9:"Country",10:"CourseList",11:"DrawDocument",12:"Examination",13:"Invite",14:"MyEdit",15:"Order",16:"Orderinfo",17:"PayOrder",18:"Preferential",19:"SearchResult",20:"ShareCourse",21:"ShopCart",22:"aist-share",23:"blessing-getPrize",24:"blessing-preheat",25:"blessing-rank",26:"coupons",27:"deposit-order",28:"deposit-pay-order",29:"detail",31:"myorders",32:"newyear-2019-landing",33:"newyear-yearIndex",34:"prize-winner-list",35:"purchased",36:"python-class",38:"search",39:"shareposter",40:"study",41:"system-notices",42:"togroup",43:"video"}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"eaa7bc6f",3:"1133c967",4:"3c987934",5:"31d6cfe0",6:"08739942",7:"2a913483",8:"127d35ae",9:"400393b7",10:"fed92c83",11:"1bd3da48",12:"17af9370",13:"08739942",14:"31d6cfe0",15:"83a999aa",16:"31d6cfe0",17:"68a25070",18:"ccebc534",19:"6d7d1b77",20:"6e885738",21:"887eb690",22:"affb05d7",23:"32a9cccc",24:"5dc65c0d",25:"39fb77c8",26:"0ce3fd3d",27:"2e5f43c4",28:"e8363b32",29:"55b938da",31:"841d0cfb",32:"3376237c",33:"c7ce3364",34:"ce85cb83",35:"7558403e",36:"11408886",38:"efa1dd44",39:"cde549fc",40:"62b8863b",41:"4513204d",42:"ffd8be6c",43:"b3755c1b",45:"976b2058",46:"51412fcd",47:"e292ab6b",48:"37fb0c23",49:"bacf914e",50:"56b04545",51:"ce17075b"}[e]+".chunk.css",c=d.p+n,o=document.getElementsByTagName("link"),i=0;i<o.length;i++){var s=(u=o[i]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(s===n||s===c))return r()}var f=document.getElementsByTagName("style");for(i=0;i<f.length;i++){var u;if((s=(u=f[i]).getAttribute("data-href"))===n||s===c)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||c,o=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");o.request=n,delete a[e],l.parentNode.removeChild(l),t(o)},l.href=c,document.getElementsByTagName("head")[0].appendChild(l)}).then(function(){a[e]=0}));var t=c[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise(function(r,n){t=c[e]=[r,n]});r.push(t[2]=n);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,d.nc&&i.setAttribute("nonce",d.nc),i.src=function(e){return d.p+"mrstatic/js/"+({6:"Activity",7:"BargainMiddlePage",8:"Classify",9:"Country",10:"CourseList",11:"DrawDocument",12:"Examination",13:"Invite",14:"MyEdit",15:"Order",16:"Orderinfo",17:"PayOrder",18:"Preferential",19:"SearchResult",20:"ShareCourse",21:"ShopCart",22:"aist-share",23:"blessing-getPrize",24:"blessing-preheat",25:"blessing-rank",26:"coupons",27:"deposit-order",28:"deposit-pay-order",29:"detail",31:"myorders",32:"newyear-2019-landing",33:"newyear-yearIndex",34:"prize-winner-list",35:"purchased",36:"python-class",38:"search",39:"shareposter",40:"study",41:"system-notices",42:"togroup",43:"video"}[e]||e)+"."+{0:"fca6c57e",1:"79bef975",2:"cd610016",3:"887af415",4:"9345128a",5:"0fa85971",6:"2d5072de",7:"d06f09a5",8:"f764cc42",9:"1f4b0f24",10:"01bbeddb",11:"e533ae08",12:"c698c660",13:"5df25916",14:"354eb41e",15:"cc67d4ed",16:"b6a2c403",17:"125a3f26",18:"7c89d7b4",19:"416c7de9",20:"023facd9",21:"e43f92e4",22:"7de7c72f",23:"123f1c0f",24:"02349140",25:"b6741d1f",26:"c08aebb9",27:"bbd6611f",28:"f46d957f",29:"14aa5b70",31:"eb703921",32:"13e8f63c",33:"0a65a2f3",34:"8fe3351f",35:"36cd23d7",36:"56d079a1",38:"b8aee097",39:"da46cef0",40:"30c323d2",41:"4b430a99",42:"76c66649",43:"bef5adae",45:"82d89373",46:"296ab055",47:"33a8c3bc",48:"8cced5a9",49:"3344ed4c",50:"6b937f7c",51:"94631494"}[e]+".chunk.js"}(e),o=function(r){i.onerror=i.onload=null,clearTimeout(s);var t=c[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src,o=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");o.type=n,o.request=a,t[1](o)}c[e]=void 0}};var s=setTimeout(function(){o({type:"timeout",target:i})},12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(r)},d.m=e,d.c=n,d.d=function(e,r,t){d.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},d.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.t=function(e,r){if(1&r&&(e=d(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(d.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)d.d(t,n,function(r){return e[r]}.bind(null,n));return t},d.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(r,"a",r),r},d.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},d.p="/",d.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=r,i=i.slice();for(var f=0;f<i.length;f++)r(i[f]);var u=s;t()}([]);
//# sourceMappingURL=runtime~main.aa379b57.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","37","exports","module","l","e","promises","2","3","4","6","7","8","9","10","11","12","13","15","17","18","19","20","21","22","23","24","25","26","27","28","29","31","32","33","34","35","36","38","39","40","41","42","43","45","46","47","48","49","50","51","Promise","resolve","reject","href","14","16","0","1","5","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,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,EAAAQ,OAAApB,IAAA,GACAe,EAAAM,IAAAC,EAAAN,EAAA,KAGA,OAAAD,EAIA,IAAA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ACA,IAAAwG,EAAAxG,KAAAmH,WACA,WAA2B,OAAAnH,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAA4G,EAAAE,EAAA,IAAAA,GACAA,GAIA9G,EAAA+G,EAAA,SAAAgB,EAAAC,GAAsD,OAAAhJ,OAAAC,UAAAC,eAAAC,KAAA4I,EAAAC,IAGtDhI,EAAAgE,EAAA,IAGAhE,EAAAiI,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAApJ,KAAA8I,KAAAM,GACAA,EAAApJ,KAAAX,EACA+J,IAAAG,QACA,QAAA3J,EAAA,EAAgBA,EAAAwJ,EAAAtJ,OAAuBF,IAAAP,EAAA+J,EAAAxJ,IACvC,IAAAU,EAAAgJ,EAIA5I","file":"mrstatic/js/runtime~main.570cc4d2.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\t37: 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\t37: 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/\" + ({\"6\":\"Activity\",\"7\":\"BargainMiddlePage\",\"8\":\"Classify\",\"9\":\"Country\",\"10\":\"CourseList\",\"11\":\"DrawDocument\",\"12\":\"Examination\",\"13\":\"Invite\",\"14\":\"MyEdit\",\"15\":\"Order\",\"16\":\"Orderinfo\",\"17\":\"PayOrder\",\"18\":\"Preferential\",\"19\":\"SearchResult\",\"20\":\"ShareCourse\",\"21\":\"ShopCart\",\"22\":\"aist-share\",\"23\":\"blessing-getPrize\",\"24\":\"blessing-preheat\",\"25\":\"blessing-rank\",\"26\":\"coupons\",\"27\":\"deposit-order\",\"28\":\"deposit-pay-order\",\"29\":\"detail\",\"31\":\"myorders\",\"32\":\"newyear-2019-landing\",\"33\":\"newyear-yearIndex\",\"34\":\"prize-winner-list\",\"35\":\"purchased\",\"36\":\"python-class\",\"38\":\"search\",\"39\":\"shareposter\",\"40\":\"study\",\"41\":\"system-notices\",\"42\":\"togroup\",\"43\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"fca6c57e\",\"1\":\"79bef975\",\"2\":\"cd610016\",\"3\":\"887af415\",\"4\":\"9345128a\",\"5\":\"0fa85971\",\"6\":\"2d5072de\",\"7\":\"d06f09a5\",\"8\":\"f764cc42\",\"9\":\"1f4b0f24\",\"10\":\"01bbeddb\",\"11\":\"e533ae08\",\"12\":\"c698c660\",\"13\":\"5df25916\",\"14\":\"354eb41e\",\"15\":\"cc67d4ed\",\"16\":\"b6a2c403\",\"17\":\"125a3f26\",\"18\":\"7c89d7b4\",\"19\":\"416c7de9\",\"20\":\"023facd9\",\"21\":\"e43f92e4\",\"22\":\"7de7c72f\",\"23\":\"123f1c0f\",\"24\":\"02349140\",\"25\":\"b6741d1f\",\"26\":\"c08aebb9\",\"27\":\"bbd6611f\",\"28\":\"f46d957f\",\"29\":\"14aa5b70\",\"31\":\"eb703921\",\"32\":\"13e8f63c\",\"33\":\"3229c669\",\"34\":\"8fe3351f\",\"35\":\"36cd23d7\",\"36\":\"56d079a1\",\"38\":\"b8aee097\",\"39\":\"da46cef0\",\"40\":\"30c323d2\",\"41\":\"4b430a99\",\"42\":\"76c66649\",\"43\":\"bef5adae\",\"45\":\"82d89373\",\"46\":\"296ab055\",\"47\":\"33a8c3bc\",\"48\":\"8cced5a9\",\"49\":\"3344ed4c\",\"50\":\"6b937f7c\",\"51\":\"94631494\"}[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,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"13\":1,\"15\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"28\":1,\"29\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"36\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1,\"43\":1,\"45\":1,\"46\":1,\"47\":1,\"48\":1,\"49\":1,\"50\":1,\"51\":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/\" + ({\"6\":\"Activity\",\"7\":\"BargainMiddlePage\",\"8\":\"Classify\",\"9\":\"Country\",\"10\":\"CourseList\",\"11\":\"DrawDocument\",\"12\":\"Examination\",\"13\":\"Invite\",\"14\":\"MyEdit\",\"15\":\"Order\",\"16\":\"Orderinfo\",\"17\":\"PayOrder\",\"18\":\"Preferential\",\"19\":\"SearchResult\",\"20\":\"ShareCourse\",\"21\":\"ShopCart\",\"22\":\"aist-share\",\"23\":\"blessing-getPrize\",\"24\":\"blessing-preheat\",\"25\":\"blessing-rank\",\"26\":\"coupons\",\"27\":\"deposit-order\",\"28\":\"deposit-pay-order\",\"29\":\"detail\",\"31\":\"myorders\",\"32\":\"newyear-2019-landing\",\"33\":\"newyear-yearIndex\",\"34\":\"prize-winner-list\",\"35\":\"purchased\",\"36\":\"python-class\",\"38\":\"search\",\"39\":\"shareposter\",\"40\":\"study\",\"41\":\"system-notices\",\"42\":\"togroup\",\"43\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"eaa7bc6f\",\"3\":\"1133c967\",\"4\":\"3c987934\",\"5\":\"31d6cfe0\",\"6\":\"08739942\",\"7\":\"2a913483\",\"8\":\"127d35ae\",\"9\":\"400393b7\",\"10\":\"fed92c83\",\"11\":\"1bd3da48\",\"12\":\"17af9370\",\"13\":\"08739942\",\"14\":\"31d6cfe0\",\"15\":\"83a999aa\",\"16\":\"31d6cfe0\",\"17\":\"68a25070\",\"18\":\"ccebc534\",\"19\":\"6d7d1b77\",\"20\":\"6e885738\",\"21\":\"887eb690\",\"22\":\"affb05d7\",\"23\":\"32a9cccc\",\"24\":\"5dc65c0d\",\"25\":\"39fb77c8\",\"26\":\"0ce3fd3d\",\"27\":\"2e5f43c4\",\"28\":\"e8363b32\",\"29\":\"55b938da\",\"31\":\"841d0cfb\",\"32\":\"3376237c\",\"33\":\"c7ce3364\",\"34\":\"ce85cb83\",\"35\":\"7558403e\",\"36\":\"11408886\",\"38\":\"efa1dd44\",\"39\":\"cde549fc\",\"40\":\"62b8863b\",\"41\":\"4513204d\",\"42\":\"ffd8be6c\",\"43\":\"b3755c1b\",\"45\":\"976b2058\",\"46\":\"51412fcd\",\"47\":\"e292ab6b\",\"48\":\"37fb0c23\",\"49\":\"bacf914e\",\"50\":\"56b04545\",\"51\":\"ce17075b\"}[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","37","exports","module","l","e","promises","2","3","4","6","7","8","9","10","11","12","13","15","17","18","19","20","21","22","23","24","25","26","27","28","29","31","32","33","34","35","36","38","39","40","41","42","43","45","46","47","48","49","50","51","Promise","resolve","reject","href","14","16","0","1","5","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,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA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,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAA1I,OAAA2I,OAAA,MAGA,GAFA3H,EAAAmH,EAAAO,GACA1I,OAAAgI,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAtH,EAAA4G,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIA1H,EAAA8H,EAAA,SAAAxH,GACA,IAAAwG,EAAAxG,KAAAmH,WACA,WAA2B,OAAAnH,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAN,EAAA4G,EAAAE,EAAA,IAAAA,GACAA,GAIA9G,EAAA+G,EAAA,SAAAgB,EAAAC,GAAsD,OAAAhJ,OAAAC,UAAAC,eAAAC,KAAA4I,EAAAC,IAGtDhI,EAAAgE,EAAA,IAGAhE,EAAAiI,GAAA,SAAA/C,GAA8D,MAApBgD,QAAA7B,MAAAnB,GAAoBA,GAE9D,IAAAiD,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAApJ,KAAA8I,KAAAM,GACAA,EAAApJ,KAAAX,EACA+J,IAAAG,QACA,QAAA3J,EAAA,EAAgBA,EAAAwJ,EAAAtJ,OAAuBF,IAAAP,EAAA+J,EAAAxJ,IACvC,IAAAU,EAAAgJ,EAIA5I","file":"mrstatic/js/runtime~main.aa379b57.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\t37: 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\t37: 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/\" + ({\"6\":\"Activity\",\"7\":\"BargainMiddlePage\",\"8\":\"Classify\",\"9\":\"Country\",\"10\":\"CourseList\",\"11\":\"DrawDocument\",\"12\":\"Examination\",\"13\":\"Invite\",\"14\":\"MyEdit\",\"15\":\"Order\",\"16\":\"Orderinfo\",\"17\":\"PayOrder\",\"18\":\"Preferential\",\"19\":\"SearchResult\",\"20\":\"ShareCourse\",\"21\":\"ShopCart\",\"22\":\"aist-share\",\"23\":\"blessing-getPrize\",\"24\":\"blessing-preheat\",\"25\":\"blessing-rank\",\"26\":\"coupons\",\"27\":\"deposit-order\",\"28\":\"deposit-pay-order\",\"29\":\"detail\",\"31\":\"myorders\",\"32\":\"newyear-2019-landing\",\"33\":\"newyear-yearIndex\",\"34\":\"prize-winner-list\",\"35\":\"purchased\",\"36\":\"python-class\",\"38\":\"search\",\"39\":\"shareposter\",\"40\":\"study\",\"41\":\"system-notices\",\"42\":\"togroup\",\"43\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"fca6c57e\",\"1\":\"79bef975\",\"2\":\"cd610016\",\"3\":\"887af415\",\"4\":\"9345128a\",\"5\":\"0fa85971\",\"6\":\"2d5072de\",\"7\":\"d06f09a5\",\"8\":\"f764cc42\",\"9\":\"1f4b0f24\",\"10\":\"01bbeddb\",\"11\":\"e533ae08\",\"12\":\"c698c660\",\"13\":\"5df25916\",\"14\":\"354eb41e\",\"15\":\"cc67d4ed\",\"16\":\"b6a2c403\",\"17\":\"125a3f26\",\"18\":\"7c89d7b4\",\"19\":\"416c7de9\",\"20\":\"023facd9\",\"21\":\"e43f92e4\",\"22\":\"7de7c72f\",\"23\":\"123f1c0f\",\"24\":\"02349140\",\"25\":\"b6741d1f\",\"26\":\"c08aebb9\",\"27\":\"bbd6611f\",\"28\":\"f46d957f\",\"29\":\"14aa5b70\",\"31\":\"eb703921\",\"32\":\"13e8f63c\",\"33\":\"0a65a2f3\",\"34\":\"8fe3351f\",\"35\":\"36cd23d7\",\"36\":\"56d079a1\",\"38\":\"b8aee097\",\"39\":\"da46cef0\",\"40\":\"30c323d2\",\"41\":\"4b430a99\",\"42\":\"76c66649\",\"43\":\"bef5adae\",\"45\":\"82d89373\",\"46\":\"296ab055\",\"47\":\"33a8c3bc\",\"48\":\"8cced5a9\",\"49\":\"3344ed4c\",\"50\":\"6b937f7c\",\"51\":\"94631494\"}[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,\"6\":1,\"7\":1,\"8\":1,\"9\":1,\"10\":1,\"11\":1,\"12\":1,\"13\":1,\"15\":1,\"17\":1,\"18\":1,\"19\":1,\"20\":1,\"21\":1,\"22\":1,\"23\":1,\"24\":1,\"25\":1,\"26\":1,\"27\":1,\"28\":1,\"29\":1,\"31\":1,\"32\":1,\"33\":1,\"34\":1,\"35\":1,\"36\":1,\"38\":1,\"39\":1,\"40\":1,\"41\":1,\"42\":1,\"43\":1,\"45\":1,\"46\":1,\"47\":1,\"48\":1,\"49\":1,\"50\":1,\"51\":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/\" + ({\"6\":\"Activity\",\"7\":\"BargainMiddlePage\",\"8\":\"Classify\",\"9\":\"Country\",\"10\":\"CourseList\",\"11\":\"DrawDocument\",\"12\":\"Examination\",\"13\":\"Invite\",\"14\":\"MyEdit\",\"15\":\"Order\",\"16\":\"Orderinfo\",\"17\":\"PayOrder\",\"18\":\"Preferential\",\"19\":\"SearchResult\",\"20\":\"ShareCourse\",\"21\":\"ShopCart\",\"22\":\"aist-share\",\"23\":\"blessing-getPrize\",\"24\":\"blessing-preheat\",\"25\":\"blessing-rank\",\"26\":\"coupons\",\"27\":\"deposit-order\",\"28\":\"deposit-pay-order\",\"29\":\"detail\",\"31\":\"myorders\",\"32\":\"newyear-2019-landing\",\"33\":\"newyear-yearIndex\",\"34\":\"prize-winner-list\",\"35\":\"purchased\",\"36\":\"python-class\",\"38\":\"search\",\"39\":\"shareposter\",\"40\":\"study\",\"41\":\"system-notices\",\"42\":\"togroup\",\"43\":\"video\"}[chunkId]||chunkId) + \".\" + {\"0\":\"31d6cfe0\",\"1\":\"31d6cfe0\",\"2\":\"eaa7bc6f\",\"3\":\"1133c967\",\"4\":\"3c987934\",\"5\":\"31d6cfe0\",\"6\":\"08739942\",\"7\":\"2a913483\",\"8\":\"127d35ae\",\"9\":\"400393b7\",\"10\":\"fed92c83\",\"11\":\"1bd3da48\",\"12\":\"17af9370\",\"13\":\"08739942\",\"14\":\"31d6cfe0\",\"15\":\"83a999aa\",\"16\":\"31d6cfe0\",\"17\":\"68a25070\",\"18\":\"ccebc534\",\"19\":\"6d7d1b77\",\"20\":\"6e885738\",\"21\":\"887eb690\",\"22\":\"affb05d7\",\"23\":\"32a9cccc\",\"24\":\"5dc65c0d\",\"25\":\"39fb77c8\",\"26\":\"0ce3fd3d\",\"27\":\"2e5f43c4\",\"28\":\"e8363b32\",\"29\":\"55b938da\",\"31\":\"841d0cfb\",\"32\":\"3376237c\",\"33\":\"c7ce3364\",\"34\":\"ce85cb83\",\"35\":\"7558403e\",\"36\":\"11408886\",\"38\":\"efa1dd44\",\"39\":\"cde549fc\",\"40\":\"62b8863b\",\"41\":\"4513204d\",\"42\":\"ffd8be6c\",\"43\":\"b3755c1b\",\"45\":\"976b2058\",\"46\":\"51412fcd\",\"47\":\"e292ab6b\",\"48\":\"37fb0c23\",\"49\":\"bacf914e\",\"50\":\"56b04545\",\"51\":\"ce17075b\"}[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
......@@ -82,6 +82,12 @@ export default (props) => {
(!bind_phone && !bind_address && prize_type === 2) &&
<a className="team-result">已发放至您的账户</a>
}
{/* 第三:奖品,任意线上课程兑换券 */}
{
(!bind_phone && !bind_address && prize_type === 5) &&
<a className="team-result">文案待定</a>
}
</>
)
}
\ No newline at end of file
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