You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
73 KiB
1 line
73 KiB
5 years ago
|
webpackJsonp([17],{1304:function(e,t,r){e.exports=r(1486)},1393:function(e,t,r){"use strict";r.d(t,"f",function(){return E}),r.d(t,"d",function(){return C}),r.d(t,"g",function(){return j}),r.d(t,"e",function(){return T}),r.d(t,"c",function(){return S}),r.d(t,"b",function(){return D}),r.d(t,"i",function(){return P}),r.d(t,"p",function(){return I}),r.d(t,"m",function(){return B}),r.d(t,"n",function(){return M}),r.d(t,"q",function(){return U}),r.d(t,"a",function(){return L}),r.d(t,"j",function(){return R}),r.d(t,"l",function(){return N}),r.d(t,"h",function(){return G}),r.d(t,"o",function(){return F}),r.d(t,"k",function(){return q});var a=r(1304),o=r.n(a),n=r(12),u=r.n(n);function i(e){return function(){var u=e.apply(this,arguments);return new Promise(function(i,o){return function t(e,r){try{var a=u[e](r),n=a.value}catch(e){return void o(e)}if(!a.done)return Promise.resolve(n).then(function(e){t("next",e)},function(e){t("throw",e)});i(n)}("next")})}}var d,s,c,_,l,p,f,h,y,A,g,m,v,b,w,O,k,x,E=(d=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={},Object.keys(t).forEach(function(e){t[e]&&(r[e]=t[e])}),e.abrupt("return",u.a.get("/problems.json",{params:r}));case 4:case"end":return e.stop()}},e,this)})),function(e){return d.apply(this,arguments)}),C=(s=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/problems/"+t+".json",e.abrupt("return",u.a.delete(r));case 2:case"end":return e.stop()}},e,this)})),function(e){return s.apply(this,arguments)}),j=(c=i(o.a.mark(function e(t){var r,a,n,i;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.params,a=t.submitType,n=t.identifier,i="add"===a?"/problems.json":"/problems/"+n+".json",e.abrupt("return",n?u.a.put(i,r):u.a.post(i,r));case 3:case"end":return e.stop()}},e,this)})),function(e){return c.apply(this,arguments)}),T=(_=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/problems/"+t+"/edit.json",e.abrupt("return",u.a.get(r));case 2:case"end":return e.stop()}},e,this)})),function(e){return _.apply(this,arguments)}),S=(l=i(o.a.mark(function e(t,r){var a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a="/myproblems/"+t+"/code_debug.json",e.abrupt("return",u.a.get(a,{params:r}));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return l.apply(this,arguments)}),D=(p=i(o.a.mark(function e(t,r){var a;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a="/myproblems/"+t+"/result.json",e.abrupt("return",u.a.get(a,{params:r}));case 2:case"end":return e.stop()}},e,this)})),function(e,t){return p.apply(this,arguments)}),P=(f=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/problems/"+t+"/start.json",e.abrupt("return",u.a.get(r));case 2:case"end":return e.stop()}},e,this)})),function(e){return f.apply(this,arguments)}),I=(h=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/myproblems/"+t+".json",e.abrupt("return",u.a.get(r));case 2:case"end":return e.stop()}},e,this)})),function(e){return h.apply(this,arguments)}),B=(y=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/myproblems/"+t+"/submit_records.json",e.abrupt("return",u.a.get(r));case 3:case"end":return e.stop()}},e,this)})),function(e){return y.apply(this,arguments)}),M=(A=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={id:t},e.abrupt("return",u.a.get("/myproblems/record_detail.json",{params:r}));case 3:case"end":return e.stop()}},e,this)})),function(e){return A.apply(this,arguments)}),U=(g=i(o.a.mark(function e(t){var r;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r="/problems/"+t+"/publish.json",e.abrupt("return",u.a.post(r));case 2:case"end":return e.stop()}},e,this)})),function(e){return g.apply(this,arguments)}),L=(m=i(o.a.mark(function e(t){var r;ret
|