webpackJsonp([5],{1663:function(o,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=t(0),r=t(4),i=t(16),l=t(1840),s=t(1973),a=t(1972);t.d(e,"SettingsModule",function(){return c});var c=function(){function SettingsModule(o){}return SettingsModule}();c=__decorate([t.i(n.NgModule)({imports:[r.CommonModule,s.a,a.a],declarations:[l.a]}),__metadata("design:paramtypes",[i.Http])],c)},1821:function(o,e,t){"use strict";var n=t(0),r=t(6),i=t(22),l=t(204);t.d(e,"a",function(){return s});var s=function(){function ProfileComponent(o,e,t){this.router=o,this.profileService=e,this.broadcaster=t}return ProfileComponent.prototype.ngOnInit=function(){var o=this;this.profileService.current.subscribe(function(e){return o._profile=e})},ProfileComponent.prototype.save=function(){this.profileService.save(this._profile).subscribe(function(o){return console.log("Profile update")})},Object.defineProperty(ProfileComponent.prototype,"profile",{get:function(){return this._profile},enumerable:!0,configurable:!0}),ProfileComponent}();s=__decorate([t.i(n.Component)({selector:"alm-profile",template:t(2046),styles:[t(2080)]}),__metadata("design:paramtypes",[r.Router,l.a,i.a])],s)},1840:function(o,e,t){"use strict";var n=t(0),r=t(6);t.d(e,"a",function(){return i});var i=function(){function SettingsComponent(o){this.router=o}return SettingsComponent.prototype.ngOnInit=function(){},SettingsComponent}();i=__decorate([t.i(n.Component)({selector:"alm-code",template:t(2047),styles:[t(2081)]}),__metadata("design:paramtypes",[r.Router])],i)},1971:function(o,e,t){"use strict";var n=t(0),r=t(6),i=t(1821);t.d(e,"a",function(){return s});var l=[{path:"",component:i.a}],s=function(){function ProfileRoutingModule(){}return ProfileRoutingModule}();s=__decorate([t.i(n.NgModule)({imports:[r.RouterModule.forChild(l)],exports:[r.RouterModule]})],s)},1972:function(o,e,t){"use strict";var n=t(11),r=t(0),i=t(4),l=t(16),s=t(1821),a=t(1971);t.d(e,"a",function(){return c});var c=function(){function ProfileModule(o){}return ProfileModule}();c=__decorate([t.i(r.NgModule)({imports:[i.CommonModule,a.a,n.a],declarations:[s.a]}),__metadata("design:paramtypes",[l.Http])],c)},1973:function(o,e,t){"use strict";var n=t(562),r=t(0),i=t(6),l=t(1840),s=t(1821),a=t(564);t.d(e,"a",function(){return u});var c=[{path:"",component:l.a,canActivate:[n.a],canActivateChild:[n.a],resolve:{contextGuard:a.a},children:[{path:"",component:s.a},{path:"tokens",loadChildren:function(){return new Promise(function(o){t.e(14).then(function(e){o(t(1975).TokensModule)}.bind(null,t)).catch(t.oe)})}}]}],u=function(){function SettingsRoutingModule(){}return SettingsRoutingModule}();u=__decorate([t.i(r.NgModule)({imports:[i.RouterModule.forChild(c)],exports:[i.RouterModule]})],u)},2012:function(o,e,t){e=o.exports=t(2)(!0),e.push([o.i,"","",{version:3,sources:[],names:[],mappings:"",file:"profile.component.scss",sourceRoot:""}])},2013:function(o,e,t){e=o.exports=t(2)(!0),e.push([o.i,"","",{version:3,sources:[],names:[],mappings:"",file:"settings.component.scss",sourceRoot:""}])},2046:function(o,e){o.exports='<div id="profile" class="content container"> <h2>Profile</h2> <div class="row"> <div class="col-md-9"> <form class="form-horizontal" role="form" #profileForm="ngForm" (ngSubmit)="save()"> <div class="form-group"> <label class="col-sm-2 control-label" for="name">Name</label> <div class="col-sm-10"> <input type="text" id="name" class="form-control" name="name" [(ngModel)]="profile.fullName"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="email">Email</label> <div class="col-sm-10"> <input type="text" id="email" class="form-control" name="email" [(ngModel)]="profile.email" readonly="readonly"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="bio">Bio</label> <div class="col-sm-10"> <input type="text" id="bio" class="form-control" name="bio" [(ngModel)]="profile.bio"> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="url">URL</label> <div class="col-sm-10"> <input type="text" id="url" class="form-control" name="url" [(ngModel)]="profile.url"> </div> </div> <button class="btn btn-default" type="submit" [disabled]="!profileForm.form.valid">Save</button> </form> </div> <div class="col-md-3"> <img src="{{profile.imageURL}}" class="center-block" width="150" height="250"/> </div> </div> </div> '},2047:function(o,e){o.exports="<router-outlet></router-outlet> "},2080:function(o,e,t){var n=t(2012);o.exports="string"==typeof n?n:n.toString()},2081:function(o,e,t){var n=t(2013);o.exports="string"==typeof n?n:n.toString()}});
//# sourceMappingURL=5.8740d0f25e9bcd884a3c.bundle.map