text: !function(){"use strict";angular.module("upflowUi",["ngAnimate","satellizer","ngTagsInput","ngCookies","ngTouch","ngSanitize","ngMessages","ngAria","ngResource","ui.router","ui.bootstrap","toastr","ngLodash"])}(),function(){"use strict";function e(){function e(){return s}var s=[{title:"AngularJS",url:"https://angularjs.org/",description:"HTML enhanced for web apps!",logo:"angular.png"},{title:"BrowserSync",url:"http://browsersync.io/",description:"Time-saving synchronised browser testing.",logo:"browsersync.png"},{title:"GulpJS",url:"http://gulpjs.com/",description:"The streaming build system.",logo:"gulp.png"},{title:"Jasmine",url:"http://jasmine.github.io/",description:"Behavior-Driven JavaScript.",logo:"jasmine.png"},{title:"Karma",url:"http://karma-runner.github.io/",description:"Spectacular Test Runner for JavaScript.",logo:"karma.png"},{title:"Protractor",url:"https://github.com/angular/protractor",description:"End to end test framework for AngularJS applications built on top of WebDriverJS.",logo:"protractor.png"},{title:"Bootstrap",url:"http://getbootstrap.com/",description:"Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.",logo:"bootstrap.png"},{title:"Angular UI Bootstrap",url:"http://angular-ui.github.io/bootstrap/",description:"Bootstrap components written in pure AngularJS by the AngularUI Team.",logo:"ui-bootstrap.png"},{title:"Sass (Node)",url:"https://github.com/sass/node-sass",description:"Node.js binding to libsass, the C version of the popular stylesheet preprocessor, Sass.",logo:"node-sass.png"}];this.getTec=e}angular.module("upflowUi").service("webDevTec",e)}(),function(){"use strict";function e(){function e(e,s){function t(){e.includes(i.usersVoted,a.uid)||(i.questionId&&i.answerId?s.getApiResource("qas/:Id/answers/:answerId/vote?upVote=true").get({Id:i.questionId,answerId:i.answerId},function(e){i.count=e.voteCount}):i.questionId&&s.getApiResource("qas/:Id/vote?upVote=true").get({Id:i.questionId},function(e){i.count=e.voteCount}))}function n(){e.includes(i.usersVoted,a.uid)||(i.questionId&&i.answerId?s.getApiResource("qas/:Id/answers/:answerId/vote?upVote=false").get({Id:i.questionId,answerId:i.answerId},function(e){i.count=e.voteCount}):i.questionId&&s.getApiResource("qas/:Id/vote?upVote=false").get({Id:i.questionId},function(e){i.count=e.voteCount}))}function o(){}var i=this,a=s.getObj("TOKEN_KEY");i.count||(i.count=0),i.upVotesList=[],i.inc=t,i.dec=n,i.openUFDropDown=o}e.$inject=["lodash","ServerConnectService"];var s={restrict:"E",templateUrl:"app/components/voteCounter/voteCounter.html",scope:{count:"=","new":"=",questionId:"=",answerId:"=",usersVoted:"="},controller:e,controllerAs:"vc",bindToController:!0};return s}angular.module("upflowUi").directive("voteCounter",e)}(),function(){"use strict";function e(){function e(e,s){function t(){gapi.load("auth2",function(){gapi.auth2.init()})}function n(){e.$emit("openHome")}function o(){localStorage.clear();var e=gapi.auth2.getAuthInstance();e.signOut().then(function(){console.log("User signed out.")}),s.go("login")}var i=this;i.openHome=n,i.logout=o,window.onLoadCallback=t}e.$inject=["$rootScope","$state"];var s={restrict:"E",templateUrl:"app/components/upFlowHeader/upFlowHeader.html",scope:{loggedIn:"="},controller:e,controllerAs:"header",bindToController:!0};return s}angular.module("upflowUi").directive("upFlowHeader",e)}(),function(){"use strict";function e(){var e={restrict:"E",templateUrl:"app/components/tagName/tagName.html",scope:{name:"="}};return e}angular.module("upflowUi").directive("tagName",e)}(),function(e){"use strict";function s(e,s,t){function n(s){return t(e+s,null,{update:{method:"PUT"}})}function o(e,s){var t=JSON.stringify(s);localStorage.setItem(e,t)}function i(e){var s=localStorage.getItem(e);return JSON.parse(s)}function a(e,t){s.defaults.headers.common[e]=t}var r=this;r.isAuthenticated=!1,r.storeObj=o,r.getObj=i,r.setDefaultHeader=a,r.getApiResource=n}s.$inject=["api","$http","$resource"],e.module("upflowUi").service("ServerConnectService",s)}(angular),function(){"use strict";function e(){function e(e){function s(s){return e(s).fromNow()}function t(){}var n=this;n.votedUsers=n.questionObj.upVotes.concat(n.questionObj.downVotes),n.myArray=[1,2,3],n.tags=["Api","Dev-portal"],n.openUFDropDown=t,n.calcRelTime=s}e.$inject=["moment"];var s={restrict:"E",templateUrl:"app/components/question/question.html",scope:{questionObj:"="},controller:e,controllerAs:"question",bindToController:!0};return s}function s(e){return function(s,t){for(var n={},o=[],i=0;i<s.length;i++)"undefined"==typeof n[e.get(s[i],t)]&&(n[e.get(s[i],t)]="",o.push(s[i]));return o}}s.$inject=["lodash"],angular.module("upflowUi").directive("upFlowQuestion",e).filter("unique",s)}(),function(){"use strict";function e(){function e(e){var s=this;s.relativeDate=e(s.creationDate).fromNow()}e.$inject=["moment"];var s={restrict:"E",templateUrl:"app/components/navbar/navbar.html",scope:{creationDate:"="},controller:e,controllerAs:"vm",bindToController:!0};return s}angular.module("upflowUi").directive("acmeNavbar",e)}(),function(){"use strict";function e(e){function s(s,t,n,o){var i,a=e(t[0],{typeSpeed:40,deleteSpeed:40,pauseDelay:800,loop:!0,postfix:" "});t.addClass("acme-malarkey"),angular.forEach(s.extraValues,function(e){a.type(e).pause()["delete"]()}),i=s.$watch("vm.contributors",function(){angular.forEach(o.contributors,function(e){a.type(e.login).pause()["delete"]()})}),s.$on("$destroy",function(){i()})}function t(e,s){function t(){return n().then(function(){e.info("Activated Contributors View")})}function n(){return s.getContributors(10).then(function(e){return o.contributors=e,o.contributors})}var o=this;o.contributors=[],t()}t.$inject=["$log","githubContributor"];var n={restrict:"E",scope:{extraValues:"="},template:"&nbsp;",link:s,controller:t,controllerAs:"vm"};return n}e.$inject=["malarkey"],angular.module("upflowUi").directive("acmeMalarkey",e)}(),function(){"use strict";function e(e,s){function t(t){function o(e){return e.data}function i(s){e.error("XHR Failed for getContributors.\n"+angular.toJson(s.data,!0))}return t||(t=30),s.get(n+"/contributors?per_page="+t).then(o)["catch"](i)}var n="https://api.github.com/repos/Swiip/generator-gulp-angular",o={apiHost:n,getContributors:t};return o}e.$inject=["$log","$http"],angular.module("upflowUi").factory("githubContributor",e)}(),function(){"use strict";function e(){var e={restrict:"E",templateUrl:"app/components/footer/footer.html"};return e}angular.module("upflowUi").directive("upFlowFooter",e)}(),function(){"use strict";function e(){function e(){function e(e){return moment(e).fromNow()}var s=this;s.answerObj.upVotes&&(s.votedUsers=s.answerObj.upVotes.concat(s.answerObj.downVotes)),s.calcRelTime=e}var s={restrict:"E",templateUrl:"app/components/answer/answer.html",scope:{answerObj:"=",asked:"=",questionId:"="},controller:e,controllerAs:"answer",bindToController:!0};return s}angular.module("upflowUi").directive("upFlowAnswer",e)}(),function(){"use strict";function e(e,s,t,n){function o(){n.getApiResource("qas/:Id/answers").save({Id:s.id},i.postAnswerObj,function(e){i.question=e,i.postAnswerObj.answer=""}),n.getApiResource("users/incAnswer").get()}var i=this;i.postAnswer=o,i.question={},i.askedQuestion={},i.answers=[],i.postAnswerObj={},n.getApiResource("qas/:Id").get({Id:s.id},function(e){i.question=e,i.askedQuestion={_id:e._id,answer:e.question,createdAt:e.createdAt,topics:e.topics,userId:e.userId,upVotes:e.upVotes,downVotes:e.downVotes}})}e.$inject=["HomeService","$stateParams","LoginService","ServerConnectService"],angular.module("upflowUi").controller("QADetailsController",e)}(),function(e){"use strict";function s(e,s){function t(){}function n(){}function o(){}var i=this;i.getUserQuestions=t,i.userInfo=n,i.getSubscribedTopics=o}s.$inject=["$q","$http"],e.module("upflowUi").service("ProfileService",s)}(angular),function(e){"use strict";function s(e,s){var t=this;t.questnObj={questionTitle:"What is Kafka",createdDate:"2017-05-05T06:14:28.770Z",postedUserId:"Amar"},t.userObj={},s.getApiResource("users/current").get(function(e){t.userObj=e})}s.$inject=["ProfileService","ServerConnectService"],e.module("upflowUi").controller("ProfileController",s)}(angular),function(){"use strict";function e(e,s,t){function n(){i(),e(function(){a.classAnimation="rubberBand"},4e3)}function o(){t.info('Fork <a href="https://github.com/Swiip/generator-gulp-angular" target="_blank"><b>generator-gulp-angular</b></a>'),a.classAnimation=""}function i(){a.awesomeThings=s.getTec(),angular.forEach(a.awesomeThings,function(e){e.rank=Math.random()})}var a=this;a.awesomeThings=[],a.classAnimation="",a.creationDate=1493761749370,a.showToastr=o,n()}e.$inject=["$timeout","webDevTec","toastr"],angular.module("upflowUi").controller("MainController",e)}(),function(e){"use strict";function s(e,s){function t(e){return s.post(r+"/login",e)}function n(){return s.get(r+"/count").then(function(e){return e.data})}function o(e){return s.put(r+"/update",e)}function i(){return s.get(r+"/findOne/"+localStorage.getItem("userId")).then(function(e){return e.data})}var a=this,r="https://gentle-bayou-42839.herokuapp.com/user";a.updateUser=t,a.putUser=o,a.getCurrentUser=i,a.getUsersCount=n,a.upVotesList=[]}s.$inject=["$q","$http"],e.module("upflowUi").service("LoginService",s)}(angular),function(){"use strict";function e(e,s,t,n){function o(e){t.getApiResource("users/register").save(e,function(){i({username:e.username,password:e.password})},function(e){console.log("Registration failed with status code: ",e.status)})}function i(e){t.getApiResource("users/login").save(e,function(n){t.storeObj("TOKEN_KEY",{username:e.username,token:n.token,uid:n.uid,admin:n.admin}),t.setDefaultHeader("x-access-token",n.token),t.isAuthenticated=!0,s.go("home")},function(e){t.isAuthenticated=!1,console.log("Login Failed with status code: ",e.status)})}function a(e){var n=e.getBasicProfile(),a=t.getObj("TOKEN_KEY");a?(t.setDefaultHeader("x-access-token",a.token),t.isAuthenticated=!0,s.go("home")):t.getApiResource("users/hasRegistered/:username").get({username:n.getEmail()},function(e){var s={username:n.getEmail(),password:n.getEmail().split("@")[0],fullName:n.getName(),imageUrl:n.getImageUrl(),topicsFollowing:[]};e.hasRegistered?i(s):o(s)})}var r=this;r.authenticate=function(e){console.log("provider : ",e),n.authenticate(e).then(function(e){console.log(e)})},window.onSignIn=a}e.$inject=["LoginService","$state","ServerConnectService","$auth"],angular.module("upflowUi").controller("LoginController",e)}(),function(){"use strict";function e(){function e(){}var s=this;s.users=[1,2,3],s.showAllQuestions=e}angular.module("upflowUi").controller("LeadersController",e)}(),function(){"use strict";function e(e,s){function t(e){return s.get(p+"/search?searchTerm="+e).then(function(e){return e.data})}function n(){return s.get(p+"/count").then(function(e){return e.data})}function o(){return s.get(d+"/count").then(function(e){return e.data})}function i(){return s.get(p+"/findAll").then(function(e){return e.data})}function a(e){return s.get(p+"/findOne/"+e).then(function(e){return e.data})}function r(e){return s.get(p+"/findAllAnswers/"+e).then(function(e){return e.data})}function l(e){return s.put(p+"/update",e)}function c(e){return s.post(d+"/create",e)}var u=this;u.updateQuestion=l,u.getQuestions=i,u.getQuestion=a,u.getQuestionAnswers=r,u.postAnswer=c,u.getQuestionsCount=n,u.getAnswersCount=o,u.getSearchedQuestions=t;var p="https://gentle-bayou-42839.herokuapp.com/question",d="https://gentle-bayou-42839.herokuapp.com/answer"}e.$inject=["$q","$http"],angular.module("upflowUi").service("HomeService",e)}(),function(){"use strict";function e(e,s,t,n,o,i){function a(e){13===e.which&&""!=p.searchTerm&&(p.homeTitle="search",p.showJumbotron=!1)}function r(e){switch(e){case 0:p.allTopics="active",p.subsTopics="",p.subscribedTab=!1;break;case 1:p.subsTopics="active",p.allTopics="",p.subscribedTab=!0;break;default:p.allTopics="active",p.subsTopics="",p.subscribedTab=!1}}function l(){console.log("I am here")}function c(){}function u(){p.showJumbotron=!1,e.scrollTo(0,0),p.allTopics="active",p.subsTopics="",p.homeTitle="all",p.subscribedTab=!1}var p=this;p.trendingQuestions=[{},{}],p.tagNames=["kafka","elastic","jenkins"],p.showJumbotron=!0,p.homeTitle="trending",p.allTopics="active",p.subsTopics="",p.subscribedTab=!1,p.questions=[],p.answersCount=0,p.questionsCount=0,p.usersCount=0,p.searchTerm="",p.oneLogin=l,p.cwsLogin=c,p.showAllQuestions=u,p.toggleTabs=r,p.search=a,o.getApiResource("qas").query(function(e){p.questions=e,p.questionsCount=e.length,i.forEach(p.questions,function(e){p.answersCount+=e.answers.length})}),o.getApiResource("users/count").get(function(e){p.usersCount=e.count}),s.$on("openHome",function(){p.searchTerm="",p.homeTitle="trending",p.showJumbotron=!0})}e.$inject=["$window","$rootScope","HomeService","LoginService","ServerConnectService","lodash"],angular.module("upflowUi").controller("HomeController",e)}(),function(e){"use strict";function s(e,s){function t(e){return console.log("Question :",e),s.post(o+"/create",e)}var n=this,o="https://gentle-bayou-42839.herokuapp.com/question";n.postQuestion=t}s.$inject=["$q","$http"],e.module("upflowUi").service("QAService",s)}(angular),function(e){"use strict";function s(e,s,t,n,o,i){function a(){r.allTopics=s.map(r.topics,"text"),r.question={title:r.title,question:r.details,topics:r.allTopics||[],answers:[]},o.getApiResource("qas").save(r.question,function(e){n.go("qa-details",{id:e._id})})}var r=this;r.title=i.search,r.postQuestion=a}s.$inject=["QAService","lodash","LoginService","$state","ServerConnectService","$stateParams"],e.module("upflowUi").controller("AskQController",s)}(angular),function(){"use strict";function e(e,s,t,n,o){e.debug("runBlock end"),t.getObj("TOKEN_KEY")&&t.getObj("TOKEN_KEY").token&&(s.defaults.headers.common["x-access-token"]=t.getObj("TOKEN_KEY").token),n.$on("$stateChangeStart",function(e,s,n,i,a){var r="login"===s.name;r||t.isAuthenticated||(e.preventDefault(),o.go("login"))})}e.$inject=["$log","$http","ServerConnectService","$rootScope","$state"],angular.module("upflowUi").run(e)}(),function(){"use strict";function e(e,s){e.state("login",{url:"/",templateUrl:"app/login/login.html",controller:"LoginController",controllerAs:"login"}).state("home",{url:"/home",templateUrl:"app/home/home.html",controller:"HomeController",controllerAs:"home"}).state("qa-details",{url:"/qa-details/:id",templateUrl:"app/qa_details/qa_details.html",controller:"QADetailsController",controllerAs:"qa"}).state("profile",{url:"/profile",templateUrl:"app/profile/profile.html",controller:"ProfileController",controllerAs:"profile"}).state("ask",{url:"/ask/:search",templateUrl:"app/ask_q/ask_q.html",controller:"AskQController",controllerAs:"ask"}).state("leaders",{url:"/leaders",templateUrl:"app/leaders/leaders.html",controller:"LeadersController",controllerAs:"leader"}),s.otherwise("/")}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("upflowUi").config(e)}(),function(){"use strict";angular.module("upflowUi").constant("malarkey",malarkey).constant("moment",moment).constant("api","https://upflower.herokuapp.com/api/")}(),function(){"use strict";function e(e,s,t){e.debugEnabled(!0),s.allowHtml=!0,s.timeOut=3e3,s.positionClass="toast-top-right",s.preventDuplicates=!0,s.progressBar=!0,t.google({clientId:"92804684773-a1c6mjiblgep88ferso761qg6rf3lrs2.apps.googleusercontent.com"}),t.live({clientId:"79121fd7-28fb-4d48-af64-a307e568d7c6"})}e.$inject=["$logProvider","toastrConfig","$authProvider"],angular.module("upflowUi").config(e)}(),angular.module("upflowUi").run(["$templateCache",function(e){e.put("app/ask_q/ask_q.html",'<up-flow-header logged-in=true></up-flow-header><div class="container-fluid ask-que"><div class="row heading"><div class="col-md-10 col-md-offset-1">Ask a Question</div></div><div class=row><form name=askques class="col-md-10 col-md-offset-1 ask-form"><div class="form-group subheadings"><label for=exampleInputEmail1>Question Title</label><textarea required rows=3 class=form-control id=exampleInputEmail1 ng-model=ask.title placeholder="What is your question? Be specific"></textarea></div><div class="form-group subheadings"><label for=questionDetails>Question Details</label><textarea required rows=5 class=form-control id=questionDetails ng-model=ask.details placeholder="What additional information will help describe your question?"></textarea></div><div class="form-group subheadings"><label for=topics>Topics</label><tags-input ng-model=ask.topics placeholder="Add topics related to your question(max of 5)" id=topics></tags-input></div><div class="checkbox subheadings"><label><input type=checkbox><span class=notify>Notify me of responses to my question</span></label></div><button ng-disabled=askques.$invalid type=submit class="btn btn-primary" ng-click=ask.postQuestion()>POST QUESTION</button></form></div></div><up-flow-footer></up-flow-footer>'),e.put("app/home/home.html",'<up-flow-header logged-in=true></up-flow-header><div class="container-fluid home"><div ng-if=home.showJumbotron><div class=jumbotron><h1>What question do you need answered today?</h1><h3>Search our database of questions or ask something new</h3><div class="inner-addon left-addon"><i class="glyphicon glyphicon-search"></i> <input ng-model=home.searchTerm ng-keypress=home.search($event) type=text placeholder="Input your question here" class=form-control><div class="row divider"><div class="col-sm-5 vertical-divider"></div><p class=col-sm-2>or</p><div class="col-sm-5 vertical-divider"></div></div><button ui-sref=ask({search:home.searchTerm}) class="btn btn-primary">POST A QUESTION</button></div></div><div class="statistics row"><div class=col-sm-4><span class=value>{{home.questionsCount || 0}}</span> <span class=key>Questions Asked</span></div><div class="col-sm-4 center-col"><span class=value>{{home.answersCount || 0}}</span> <span class=key>Answers Posted</span></div><div class=col-sm-4><span class=value>{{home.usersCount || 0}}</span> <span class=key>Active Users</span></div></div></div><div class=trending-questions><h4 class=trending-header ng-if="home.homeTitle == \'trending\'">TRENDING</h4><h4 class=trending-header ng-if="home.homeTitle == \'search\'">SEARCH RESULTS</h4><div ng-if="home.homeTitle == \'all\'"><h4 class="trending-header all-questions">QUESTIONS</h4><div class="row topic-list-tabs"><span ng-click=home.toggleTabs(0) class="{{home.allTopics}} topic-list">ALL TOPICS</span> <span ng-click=home.toggleTabs(1) class="{{home.subsTopics}} topic-list">SUBSCRIBED TOPICS</span></div><div ng-if=home.subscribedTab class="row tags-list"><span class=viewing>VIEWING</span><tag-name ng-repeat="nme in home.tagNames" name=nme></tag-name></div></div><up-flow-question ng-repeat="question in quesFiltered = (home.questions | filter: home.searchTerm)" question-obj=question></up-flow-question><h4 class=trending-header ng-if=!quesFiltered.length>NO QUESTIONS AVAILABLE</h4><button ng-if="home.homeTitle == \'search\'" ui-sref=ask({search:home.searchTerm}) class="btn btn-primary">POST A QUESTION</button> <button ng-if=home.showJumbotron ng-click=home.showAllQuestions() class="btn btn-primary">VIEW ALL QUESTIONS</button></div></div><up-flow-footer></up-flow-footer>'),e.put("app/leaders/leaders.html",'<up-flow-header logged-in=true></up-flow-header><div class="container-fluid upflow-leaders"><h4 class=header-title>Leaderboard</h4><h4 class=top-responses>UNDER CONSTRUCTION</h4><!--<h4 class="top-responses">Top Responses</h4>--><!--<div class="table-wrapper">--><!--<table class="table table-striped">--><!--<thead>--><!--<tr>--><!--<th>Name</th>--><!--<th>Team</th>--><!--<th>Responses Last 5 Days</th>--><!--<th>Responses All Time</th>--><!--</tr>--><!--</thead>--><!--<tbody>--><!--<tr ng-repeat="used in leader.users">--><!--<td><img class="img-circle" src="app/components/question/resources/images/amar.png"><span>Amar</span></td>--><!--<td>Sputnik</td>--><!--<td><span>44 Responses</span> <span class="verified"><i class="glyphicon glyphicon-ok"></i> 2 Verified</span>--><!--</td>--><!--<td><span>68 Responses</span> <span class="verified"><i class="glyphicon glyphicon-ok"></i> 10 Verified</span>--><!--</td>--><!--</tr>--><!--</tbody>--><!--</table>--><!--</div>--></div><up-flow-footer></up-flow-footer>'),e.put("app/login/login.html",'<up-flow-header logged-in=false></up-flow-header><div class="container-fluid login-page"><div class=login-title><h2>Login</h2></div><div class=single-sign-on><!--<label for="one-login">Sign in using</label>--><!--<button ng-click="login.oneLogin()" class="btn btn-primary" id="one-login">OneLogin</button>--><!--<div class="row divider"><div class="col-sm-5 vertical-divider"></div><p class="col-sm-2">or</p><div class="col-sm-5 vertical-divider"></div></div>--><!--<label for="cws-login">Sign in using</label>--><!--<button ng-click="login.cwsLogin()" class="btn btn-primary" id="cws-login">CWS ID</button>--><!--<div class="row divider"><div class="col-sm-5 vertical-divider"></div><p class="col-sm-2">or</p><div class="col-sm-5 vertical-divider"></div></div>--><div class=g-signin2 data-onsuccess=onSignIn></div></div></div><up-flow-footer></up-flow-footer><script src="https://apis.google.com/js/platform.js?onload=onLoadCallback" async defer></script><script src=//js.live.net/v5.0/wl.js></script>'),e.put("app/main/main.html",'<!--<div class="container">--><!--<div>--><!--<acme-navbar creation-date="main.creationDate"></acme-navbar>--><!--</div>--><!--<div class="jumbotron text-center">--><!--<h1>\'Allo, \'Allo!</h1>--><!--<p class="lead">--><!--<img src="assets/images/yeoman.png" alt="I\'m Yeoman"><br>--><!--Always a pleasure scaffolding your apps.--><!--</p>--><!--<p class="animated infinite" ng-class="main.classAnimation">--><!--<button type="button" class="btn btn-lg btn-success" ng-click="main.showToastr()">Splendid Toastr</button>--><!--</p>--><!--<p>--><!--With ♥ thanks to the contributions of<acme-malarkey extra-values="[\'Yeoman\', \'Gulp\', \'Angular\']"></acme-malarkey>--><!--</p>--><!--</div>--><!--<div class="row">--><!--<div class="col-sm-6 col-md-4" ng-repeat="awesomeThing in main.awesomeThings | orderBy:\'rank\'">--><!--<div class="thumbnail">--><!--<img class="pull-right" ng-src="assets/images/{{ awesomeThing.logo }}" alt="{{ awesomeThing.title }}">--><!--<div class="caption">--><!--<h3>{{ awesomeThing.title }}</h3>--><!--<p>{{ awesomeThing.description }}</p>--><!--<p><a ng-href="{{awesomeThing.url}}">{{ awesomeThing.url }}</a></p>--><!--</div>--><!--</div>--><!--</div>--><!--</div>--> <!--</div>-->'),e.put("app/profile/profile.html",'<up-flow-header logged-in=true></up-flow-header><div class="container-fluid profile"><div class="col-md-offset-1 profile-heading">Profile</div><hr style="color: black"><div class=row style="margin-top: 30px"><div class="posted-by col-md-10 col-md-offset-1"><div class=row><div class=col-md-3><img ng-src={{profile.userObj.imageUrl}} class=img-circle style="width: 174px; margin:36px"></div><div class=col-md-4><div class=username>{{profile.userObj.fullName}}</div><div ng-if=profile.userObj.designation class=designation>{{profile.userObj.designation}}</div><div ng-if=profile.userObj.summary class=summary>{{profile.userObj.summary}}</div><input class="form-control designation-inp" ng-if=!profile.userObj.designation placeholder="Add Designation"><textarea class="form-control summary-inp" rows=3 ng-if=!profile.userObj.summary placeholder="Add Summary"></textarea><!--<div class="rectangle-9">--><!--<div class="message"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>--><!--Send Direct Message</div>--><!--</div>--></div></div></div></div><div class=row><div class="col-md-7 col-md-offset-1"><div class=other-headings>Top Posts</div><div style="margin-top: 30px; margin-left: -70px"><up-flow-question ng-repeat="qstn in profile.userObj.askedQuestions" question-obj=qstn></up-flow-question><div style="margin-top: 30px; margin-left: 100px" ng-if=!profile.userObj.askedQuestions.length>NO POSTS AVAILABLE</div></div></div><div class=col-md-3><div class=other-headings>Quick Stats</div><div class=quick-stats style="padding-left: 20px; padding-top: 20px"><div class=asked>{{profile.userObj.askedQuestions.length || 0}} Questions Asked</div><div class=asked>{{profile.userObj.answerCount}} Responses Posted</div><div class=verified-rectangle><div class=verified-responses>0 VERIFIED RESPONSES</div></div></div><div class=other-headings>Subscribed Topics</div><div class=subscribed-topics><div class=row><div ng-repeat="t in [\'kafka\', \'elstic\', \'jenkins\', \'docker\']" class="col-sm-5 col-sm-offset-1 tags-wrapper"><tag-name name=t></tag-name><i class="glyphicon glyphicon-remove"></i></div></div><p class=add-topics>Add Topics +</p></div></div></div></div><up-flow-footer></up-flow-footer>'),e.put("app/qa_details/qa_details.html",'<up-flow-header logged-in=true></up-flow-header><div class="container qa-detail"><h3>{{qa.question.title}}</h3><div class=row><div class="col-md-8 qa-forum"><div class=question-details-desc><up-flow-answer ng-if=qa.askedQuestion.upVotes asked=true answer-obj=qa.askedQuestion></up-flow-answer><div class="row response-count"><span class=total-responses>{{qa.question.answers.length || 0}} Answers</span> <span class="pull-right add-response">Add Response</span></div><div><form name=submitques><textarea required class=response-input ng-model=qa.postAnswerObj.answer></textarea><button ng-disabled=submitques.$invalid ng-click=qa.postAnswer() class="btn btn-primary btn-sm submit-response">SUBMIT RESPONSE</button></form></div></div><up-flow-answer ng-repeat="answer in qa.question.answers" question-id=qa.question._id answer-obj=answer></up-flow-answer></div><div class=col-md-2><!--<div class="related-questions">--><!--<p>Related Questions</p>--><!--<ul>--><!--<li><a>Are there any endpoints that can return paginated results?</a></li>--><!--<li><a>How do I obtain a user access token?</a></li>--><!--</ul>--><!--</div>--></div></div></div><up-flow-footer></up-flow-footer>'),e.put("app/components/answer/answer.html",'<!--<div class="row">--><!--<div ng-show="answer.answerObj.verificationStatus" class="verified col-md-3">--><!--<span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>--><!--<span class="verified-text">VERIFIED</span>--><!--</div>--><!--<div class="col-md-9" style="margin-left: 18px">{{answer.answerObj.text}}</div>--><!--</div>--><!--<div class="row" style="margin-top: 25px">--><!--<div class="votes col-md-3" style="padding-left: 45px">--><!--<span class="glyphicon glyphicon-menu-up arrow" style="font-size: 30px"></span>--><!--<span class="layer">{{answer.answerObj.noOfVotes}}</span>--><!--<span >VOTES</span>--><!--<span class="glyphicon glyphicon-menu-down" style="font-size: 30px; color: #7b7b7b" aria-hidden="true"></span>--><!--</div>--><!--<div class="code col-md-6" style="margin-left: 29px"></div>--><!--</div>--><div class=upflow-answer><div class=row><div class="col-sm-2 vote-counter-wrapper"><vote-counter ng-if=answer.asked users-voted=answer.votedUsers question-id=answer.answerObj._id new=false count="answer.answerObj.upVotes.length - answer.answerObj.downVotes.length"></vote-counter><vote-counter ng-if=!answer.asked users-voted=answer.votedUsers question-id=answer.questionId answer-id=answer.answerObj._id new=false count="answer.answerObj.upVotes.length - answer.answerObj.downVotes.length"></vote-counter></div><div class="col-sm-11 answer-wrapper"><span ng-if="(answer.answerObj.upVotes.length > 3) && !answer.asked" class=verified-response><i class="glyphicon glyphicon-ok"></i> VERIFIED RESPONSE</span><p>{{answer.answerObj.answer}}</p><p ng-if=answer.asked><tag-name ng-repeat="topic in answer.answerObj.topics" name=topic></tag-name></p><span class=posted-by><span ng-if=!answer.asked>POSTED</span> <span ng-if=answer.asked>ASKED</span> {{answer.calcRelTime(answer.answerObj.createdAt) | uppercase}} BY <span class=posted-by-name>{{answer.answerObj.userId.fullName | uppercase}}</span></span></div></div></div>'),e.put("app/components/footer/footer.html",'<div class="container-fluid upflow-footer"><div class=row><span class=copy-right>&copy; 2017 Current Year</span> <span class=footer-links-list><span class=footer-link>About</span> <span class=footer-link>Privacy Policy</span> <span class=footer-link>Terms of Use</span> <span class=footer-link>Help</span></span></div></div>'),e.put("app/components/navbar/navbar.html",'<nav class="navbar navbar-static-top navbar-inverse"><div class=container-fluid><div class=navbar-header><a class=navbar-brand href=https://github.com/Swiip/generator-gulp-angular><span class="glyphicon glyphicon-home"></span> Gulp Angular</a></div><div class="collapse navbar-collapse" id=bs-example-navbar-collapse-6><ul class="nav navbar-nav"><li class=active><a ng-href=#>Home</a></li><li><a ng-href=#>About</a></li><li><a ng-href=#>Contact</a></li></ul><ul class="nav navbar-nav navbar-right acme-navbar-text"><li>Application was created {{ vm.relativeDate }}.</li></ul></div></div></nav>'),e.put("app/components/question/question.html",'<div class="container up-flow-question"><div class="col-sm-2 question-vote-counter"><vote-counter new=true users-voted=question.votedUsers question-id=question.questionObj._id count="question.questionObj.upVotes.length - question.questionObj.downVotes.length"></vote-counter></div><div ui-sref="qa-details({id: question.questionObj._id})" class="col-sm-9 question-meta"><div class="posted-by row" ng-if=question.questionObj.userId.fullName><img ng-src={{question.questionObj.userId.imageUrl}} class=img-circle><div><span class=name>&#64;{{question.questionObj.userId.fullName}} </span><span class=posted-on>posted {{question.calcRelTime(question.questionObj.createdAt)}} <span ng-if=question.questionObj.details.slack>via Slack</span></span></div></div><div class="row question-title"><h4>{{question.questionObj.title}}</h4></div><div class="row tag-names"><tag-name ng-repeat="n in question.questionObj.topics" name=n></tag-name></div><div ng-if=question.questionObj.userId.fullName class="row contributers pull-right"><img ng-repeat="cnt in question.questionObj.answers | unique: \'userId._id\' | limitTo: 5" ng-src={{cnt.userId.imageUrl}} class="img-circle col-sm-2"> <span ng-if=question.questionObj.answers.length class=more>contributed <span ng-if="question.questionObj.answers > 5" class=additional-responses>+ {{question.questionObj.answers.length - 5}} additional responses</span></span></div><div ng-if=!question.questionObj.userId.fullName class=posted-on-wrapper><span class=posted-on>posted {{question.calcRelTime(question.questionObj.createdAt)}} <span ng-if=question.questionObj.details.slack>via Slack</span></span></div></div></div>'),e.put("app/components/tagName/tagName.html","<span class=tag-name>{{name}}</span>"),e.put("app/components/upFlowHeader/upFlowHeader.html",'<div class="container-fluid upflow-header"><div class=pull-left><div class="dropdown bar-dropdown"><span class="icon-font dropbtn bar-icon-font glyphicon glyphicon-align-justify"></span><div class=dropdown-content><a ui-sref=home>BLOG</a> <a ui-sref=home>FORUM</a></div></div><span ng-click=header.openHome() ui-sref=home class=upflow-brand><!--<span class="brand-symbol glyphicon glyphicon-menu-up"></span>--><!--<span class="brand-name">FLOW</span>--> <img class=brand-image ng-src=http://www.flowmagazine.com/wp-content/themes/flow2/assets/img/flow.svg></span></div><div class=pull-right ng-if=header.loggedIn><span ui-sref=leaders class="icon-font glyphicon glyphicon-stats"></span> <span class="icon-font glyphicon glyphicon glyphicon-bell"></span><div class="dropdown profile-dropdown"><span class="icon-font dropbtn dropbtn1 glyphicon glyphicon-user"></span><div class=dropdown-content><a ui-sref=profile>PROFILE</a> <a ng-click=header.logout()>LOGOUT</a></div></div></div></div><script src="https://apis.google.com/js/platform.js?onload=onLoadCallback" async defer></script>'),
  e.put("app/components/voteCounter/voteCounter.html",'<div ng-if=vc.new class=vote-counter-new><span class="row new-count"><p>{{vc.count}}</p></span><span class=row><span ng-click=vc.inc() class="col-sm-5 glyphicon glyphicon-thumbs-up"></span> <span ng-click=vc.dec() class="col-sm-offset-2 col-sm-5 glyphicon glyphicon-thumbs-down"></span></span></div><div ng-if=!vc.new class=vote-counter-old><span ng-click=vc.inc() class="glyphicon glyphicon-menu-up"></span> <span class=count>{{vc.count}}</span> <span class=votes>VOTES</span> <span ng-click=vc.dec() class="glyphicon glyphicon-menu-down"></span></div>')}]);
  //# sourceMappingURL=../maps/scripts/app-10f9a85821.js.map
  