-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0.5fd22982b2d7b2a18c8f.chunk.js
1 lines (1 loc) · 6.49 KB
/
0.5fd22982b2d7b2a18c8f.chunk.js
1
webpackJsonp([0,4],{"1knq":function(t,n,e){"use strict";var l=e("YZf4"),u=e("5oXY");e.d(n,"a",function(){return r});var r=function(){function t(t,n,e){this.taskService=t,this.route=n,this.router=e}return t.prototype.ngOnInit=function(){var t=this;this.route.params.forEach(function(n){t.token=n.token,t.taskService.list(t.token).subscribe(function(n){t.tasks=n.tasks})})},t.ctorParameters=function(){return[{type:l.a},{type:u.v},{type:u.j}]},t}()},Q9WL:function(t,n,e){"use strict";function l(t){return i.E(0,[(t()(),i.F(0,null,null,4,"div",[["class","kubik-tasks__item kubik-task"]],null,null,null,null,null)),(t()(),i.G(null,["\n ","\n "])),(t()(),i.F(0,null,null,1,"div",[["class","button success"]],null,null,null,null,null)),(t()(),i.G(null,["\n ","\n "])),(t()(),i.G(null,["\n "]))],null,function(t,n){t(n,1,0,n.context.$implicit.description),t(n,3,0,n.context.$implicit.title)})}function u(t){return i.E(0,[(t()(),i.F(0,null,null,16,"div",[["class","kubik-app-task kubik-app__page kubik-page"]],null,null,null,null,null)),(t()(),i.G(null,["\n "])),(t()(),i.F(0,null,null,4,"header",[["class","kubik-page__header"]],null,null,null,null,null)),(t()(),i.G(null,["\n "])),(t()(),i.F(0,null,null,1,"h3",[["class","text-center"]],null,null,null,null,null)),(t()(),i.G(null,["\n Список квестов\n "])),(t()(),i.G(null,["\n "])),(t()(),i.G(null,["\n "])),(t()(),i.F(0,null,null,7,"section",[["class","kubik-page__content"]],null,null,null,null,null)),(t()(),i.G(null,["\n "])),(t()(),i.F(0,null,null,4,"div",[["class","kubik-tasks"]],null,null,null,null,null)),(t()(),i.G(null,["\n "])),(t()(),i.H(8388608,null,null,1,null,l)),i.I(401408,null,0,o.h,[i.J,i.K,i.w],{ngForOf:[0,"ngForOf"]},null),(t()(),i.G(null,["\n "])),(t()(),i.G(null,["\n "])),(t()(),i.G(null,["\n"])),(t()(),i.G(null,["\n"]))],function(t,n){t(n,13,0,n.component.tasks)},null)}function r(t){return i.E(0,[(t()(),i.F(0,null,null,1,"ng-component",[],null,null,null,u,p)),i.I(57344,null,0,s.a,[_.a,a.v,a.j],null,null)],function(t,n){t(n,1,0)},null)}var i=e("3j3K"),o=e("2Je8"),s=e("1knq"),_=e("YZf4"),a=e("5oXY");e.d(n,"a",function(){return h});var c=[],p=i.D({encapsulation:2,styles:c,data:{}}),h=i.L("ng-component",s.a,r,{},{},[])},YZf4:function(t,n,e){"use strict";var l=e("Fzro"),u=e("rCTf"),r=(e.n(u),e("ZH2T")),i=e("S/3E"),o=e("Gvdl");e.n(o);e.d(n,"a",function(){return s});var s=function(){function t(t){this.http=t}return t.prototype.list=function(t){return this.http.get(i.a.protocol+"://"+i.a.base+"/list-quest?t="+t).map(function(t){return{tasks:t.json().quests.map(function(t){return new r.a(t.quest_id,t.description,t.link,t.title)}),token:t.json().t}}).catch(this.handleError)},t.prototype.handleError=function(t){var n=t.message?t.message:t.status?t.status+" - "+t.statusText:"Server error";return u.Observable.throw(n)},t.ctorParameters=function(){return[{type:l.k}]},t}()},ZH2T:function(t,n,e){"use strict";e.d(n,"a",function(){return l});var l=function(){function t(t,n,e,l){this.quest_id=t,this.description=n,this.link=e,this.title=l}return t}()},gqPC:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var l=e("3j3K"),u=e("hC1Q"),r=e("2Je8"),i=e("Fzro"),o=e("NVOs"),s=e("5oXY"),_=e("YZf4"),a=e("Q9WL"),c=e("1knq");e.d(n,"TaskModuleNgFactory",function(){return f});var p=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function l(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}(),h=function(t){function n(n){return t.call(this,n,[a.a],[])||this}return p(n,t),Object.defineProperty(n.prototype,"_NgLocalization_6",{get:function(){return null==this.__NgLocalization_6&&(this.__NgLocalization_6=new r.a(this.parent.get(l.c))),this.__NgLocalization_6},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_BrowserXhr_7",{get:function(){return null==this.__BrowserXhr_7&&(this.__BrowserXhr_7=new i.a),this.__BrowserXhr_7},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_ResponseOptions_8",{get:function(){return null==this.__ResponseOptions_8&&(this.__ResponseOptions_8=new i.b),this.__ResponseOptions_8},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_XSRFStrategy_9",{get:function(){return null==this.__XSRFStrategy_9&&(this.__XSRFStrategy_9=i.c()),this.__XSRFStrategy_9},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_XHRBackend_10",{get:function(){return null==this.__XHRBackend_10&&(this.__XHRBackend_10=new i.d(this._BrowserXhr_7,this._ResponseOptions_8,this._XSRFStrategy_9)),this.__XHRBackend_10},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_RequestOptions_11",{get:function(){return null==this.__RequestOptions_11&&(this.__RequestOptions_11=new i.e),this.__RequestOptions_11},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_Http_12",{get:function(){return null==this.__Http_12&&(this.__Http_12=i.f(this._XHRBackend_10,this._RequestOptions_11)),this.__Http_12},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_ɵi_13",{get:function(){return null==this.__ɵi_13&&(this.__ɵi_13=new o.a),this.__ɵi_13},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_TaskService_15",{get:function(){return null==this.__TaskService_15&&(this.__TaskService_15=new _.a(this._Http_12)),this.__TaskService_15},enumerable:!0,configurable:!0}),n.prototype.createInternal=function(){return this._CommonModule_0=new r.b,this._HttpModule_1=new i.g,this._ɵba_2=new o.b,this._FormsModule_3=new o.c,this._RouterModule_4=new s.q(this.parent.get(s.r,null),this.parent.get(s.j,null)),this._TaskModule_5=new u.a,this._ROUTES_14=[[{path:"list/:token",component:c.a}]],this._TaskModule_5},n.prototype.getInternal=function(t,n){return t===r.b?this._CommonModule_0:t===i.g?this._HttpModule_1:t===o.b?this._ɵba_2:t===o.c?this._FormsModule_3:t===s.q?this._RouterModule_4:t===u.a?this._TaskModule_5:t===r.g?this._NgLocalization_6:t===i.a?this._BrowserXhr_7:t===i.h?this._ResponseOptions_8:t===i.i?this._XSRFStrategy_9:t===i.d?this._XHRBackend_10:t===i.j?this._RequestOptions_11:t===i.k?this._Http_12:t===o.a?this._ɵi_13:t===s.u?this._ROUTES_14:t===_.a?this._TaskService_15:n},n.prototype.destroyInternal=function(){},n}(l.B),f=new l.C(h,u.a)},hC1Q:function(t,n,e){"use strict";e.d(n,"a",function(){return l});var l=function(){function t(){}return t}()}});