text: "use strict";angular.module("config",[]).constant("api_host","http://semanaminka.coperable.org").constant("instagram_token","").constant("instagram_client_id","").value("debug",!0),angular.module("slamApp",["ngAnimate","ngAria","ngCookies","ngMessages","ngResource","ngRoute","ngSanitize","config","ngTouch","ui.router","satellizer"]).config(["$routeProvider","$authProvider","$locationProvider",function(a,b,c){a.when("/home",{templateUrl:"views/main.html",controller:"MainCtrl",controllerAs:"main"}).when("/",{templateUrl:"views/main.html",controller:"MainCtrl",controllerAs:"main"}).when("/profile",{templateUrl:"views/profile.html",controller:"profile-view"}).when("/foro",{templateUrl:"views/foro.html",controller:"foro-view"}).when("/revista",{templateUrl:"views/revista.html",controller:"revista-view"}).when("/torneo/:id",{templateUrl:"views/torneo.html",controller:"torneo-view"}).when("/jugador/:id",{templateUrl:"views/jugador.html",controller:"jugador-view"}).when("/jugadores",{templateUrl:"views/jugadores.html",controller:"jugador-list"}).when("/torneos",{templateUrl:"views/torneos.html",controller:"torneo-list"}).when("/videos",{templateUrl:"views/videos.html",controller:"video-list"}).when("/registro",{templateUrl:"views/registro.html",controller:"user-signup"}).when("/about",{templateUrl:"views/about.html",controller:"AboutCtrl",controllerAs:"about"}).otherwise({redirectTo:"/"})}]).config(["$authProvider","api_host",function(a,b){a.baseUrl=b+"/",a.httpInterceptor=!0,a.signupRedirect=null,a.facebook({url:"/auth/social/facebook",clientId:"295482087249664",scope:"email,public_profile"}),a.google({url:"/auth/social/google",clientId:"313110710680-p22p1s5brqn7tfaqj9v16u67bic5smqk.apps.googleusercontent.com"}),a.twitter({url:"/auth/social/twitter"})}]).run(["$rootScope","$location","$anchorScroll",function(a,b,c){a.$on("$routeChangeSuccess",function(a,d){b.hash()?c():window.scrollTo(0,0)})}]),angular.module("slamApp").factory("Region",["$resource","api_host",function(a,b){return a(b+"/api/regions/:id",{id:"@id"},{update:{method:"PUT"}})}]).factory("Competition",["$resource","api_host",function(a,b){return a(b+"/api/competitions/:id",{id:"@id"},{update:{method:"PUT"}})}]).factory("Slider",["$resource","api_host",function(a,b){return a(b+"/api/sliders/:id",{id:"@id"},{update:{method:"PUT"}})}]).factory("User",["$resource","api_host",function(a,b){return a(b+"/api/users/:id",{id:"@id"},{update:{method:"PUT"}})}]).factory("Participant",["$resource","api_host",function(a,b){return a(b+"/api/participants/:id",{id:"@id"},{update:{method:"PUT"}})}]).factory("Account",["$http","$rootScope","$auth","$location","api_host",function(a,b,c,d,e){return{profile:!1,profile_id:!1,fetching:!1,current_region:!1,roles:[],regions:[],getProfile:function(f){var g=this;return console.log("1"),c.isAuthenticated()?(console.log("2"),g.profile?(console.log("3"),f?void f(g.profile):(console.log("4"),this.profile)):(console.log("5"),g.fetching?(g.listen(f),!1):(console.log("6"),g.fetching=!0,a.get(e+"/api/me").success(function(a){g.fetching=!1,null==a.user?(c.logout(),g.profile=!1,g.profile_id=!1,b.account=!1,g.broadcast(),d.url("/")):(console.log("7"),g.profile=a.user,g.profile_id=g.profile.id,b.account=g.profile,g.regions=g.profile.regions,g.roles=g.profile.roles,g.broadcast()),f&&f(g.profile)})["catch"](function(a){c.logout(),g.profile=!1,g.profile_id=!1,g.broadcast()})))):void(f&&g.listen(f))},hasRole:function(a){var b=_.find(this.roles,function(b){return b.name==a});return b?!0:!1},logout:function(){c.isAuthenticated()&&(this.profile=!1,this.profile_id=!1,c.logout(),b.account=!1,this.broadcast(),d.url("/"))},getStatus:function(){return a.get(e+"/api/me/status")},updateProfile:function(b){return a.put(e+"/api/me",b)},setCurrentRegion:function(a){this.current_region=a,b.current_region=a,this.fetchRegionSummary()},fetchRegionSummary:function(){a.get(e+"/api/region/"+this.current_region.id+"/summary").success(function(a){b.region_summary=a,b.$broadcast("region_summary",a)})},broadcastRegion:function(){b.$broadcast("current_region",this.current_region)},listenRegion:function(a){b.$on("current_region",function(b,c){c&&a(c)})},broadcast:function(){console.log("8"),b.$broadcast("account",this.profile)},listen:function(a){console.log("Account: set list for callback"),b.$on("account",function(b,c){c&&(console.log("Account: listening calling callback"),a(c))})}}}]).factory("User",["$resource","api_host",function(a,b){return a(b+"/api/users/:id",{id:"@id"},{update:{method:"POST"}})}]),angular.module("slamApp").controller("MainCtrl",["$scope","$rootScope","$http","$sce","api_host","Region","Account",function(a,b,c,d,e,f,g){b.home_page=!0,a.summary={},a.setup_components=function(){setTimeout(function(){jQuery("#home_slider_2").carousel({interval:7e3}),jQuery('[data-toggle="tooltip"]').tooltip({trigger:"hover"}),jQuery("#carousel-torneos").carousel({interval:1e3,wrap:!1}),jQuery("#preloader").fadeOut("fast",function(){jQuery(this).remove()})},1e3)},a.setup_components(),b.$on("region_summary",function(b,c){a.summary=c}),a.getYoutubeSrc=function(a){return d.trustAsResourceUrl("http://www.youtube.com/embed/"+a.name)},a.participate=function(b){c.post(e+"/api/competition/"+b.id+"/participate",{}).success(function(b){a.refresh()}).error(function(a){})}}]).controller("slider-controller",["$scope","$auth","$timeout","Slider",function(a,b,c,d){a.sliders=[],d.query(function(b){a.sliders=b,c(function(){jQuery("#home_slider_main").carousel({interval:7e3})})})}]).controller("site-controller",["$scope","$rootScope","$http","$auth","Region","Account",function(a,b,c,d,e,f){a.refresh=function(){f.fetchRegionSummary()},a.isAuthenticated=function(){return d.isAuthenticated()}}]).controller("sessionBar",["$scope","$rootScope","$http","$route","$location","Region","Account",function(a,b,c,d,e,f,g){a.regions=[],a.region={},a.summary={},a.is_authenticated=!1,a.account=!1,a.profile=!1,f.query(function(b){a.regions=b,_.isEmpty(a.current_region)&&g.setCurrentRegion(_.first(a.regions))}),g.getProfile(function(b){a.profile=b}),a.changeCurrentRegion=function(a){g.setCurrentRegion(a)},b.$on("account",function(b,c){c&&(a.account=c)}),a.logout=function(){g.logout(),d.reload(),a.refresh(),window.scrollTo(0,0)},a.goProfile=function(){e.path("/jugador/"+g.profile.id)}}]).controller("video-list",["$scope","$rootScope","$http","$sce","api_host","Region","Account",function(a,b,c,d,e,f,g){b.home_page=!1,a.predicate="lastname",a.reverse=!1,a.direction=function(b){a.reverse=b},a.sort=function(b){"date"===b&&(a.predicate="id"),"ranking"===b&&(a.predicate="competitions")},a.videos=[],b.$on("region_summary",function(b,c){a.processSummary()}),a.processSummary=function(){b.region_summary&&(a.summary=b.region_summary,a.videos=a.summary.videos),jQuery("#preloader").fadeOut("fast",function(){jQuery(this).remove()})},a.search_term="",a.doSearch=function(){if(""==a.search_term.trim())return void(a.participants=a.summary.participants);var b=new RegExp(a.search_term,"gi");a.videos=_.filter(a.summary.videos,function(a){return b.test(JSON.stringify(a))})},a.getYoutubeSrc=function(a){return d.trustAsResourceUrl("http://www.youtube.com/embed/"+a.name)},a.processSummary()}]).controller("jugador-list",["$scope","$rootScope","$http","api_host","Region","Account",function(a,b,c,d,e,f){b.home_page=!1,a.predicate="lastname",a.reverse=!1,a.direction=function(b){a.reverse=b},a.sort=function(b){"date"===b&&(a.predicate="id"),"ranking"===b&&(a.predicate="competitions")},a.participants=[],b.$on("region_summary",function(b,c){a.processSummary()}),a.processSummary=function(){b.region_summary&&(a.summary=b.region_summary,a.participants=a.summary.participants),jQuery("#preloader").fadeOut("fast",function(){jQuery(this).remove()})},a.search_term="",a.doSearch=function(){if(""==a.search_term.trim())return void(a.participants=a.summary.participants);var b=new RegExp(a.search_term,"gi");a.participants=_.filter(a.summary.participants,function(a){return b.test(JSON.stringify(a))})},a.processSummary()}]).controller("LoginCtrl",["$scope","$rootScope","$auth","$location","$state","$stateParams","$route","Account",function(a,b,c,d,e,f,g,h){a.backUrl=f.backUrl,a.login=function(){c.login({email:a.email,password:a.password}).then(function(b){h.getProfile(function(b){a.account=b,g.reload(),a.refresh(),window.scrollTo(0,0)})})["catch"](function(a){})},a.authenticate=function(a){c.authenticate(a).then(function(){})["catch"](function(a){})}}]).controller("SignupCtrl",["$scope","$auth","$state","$location","$route","Account",function(a,b,c,d,e,f){a.signup=function(){b.signup({username:a.username,email:a.email,password:a.password,language_code:"ES"}).then(function(){b.login({email:a.email,password:a.password}).then(function(b){f.getProfile(function(b){a.account=b,e.reload(),a.refresh(),window.scrollTo(0,0)})})})["catch"](function(a){})},a.authenticate=function(c){b.authenticate(c).then(function(){f.getProfile(function(b){a.user_data=b})})["catch"](function(a){})}}]).controller("jugador-view",["$scope","$rootScope","$routeParams","$http","$sce","api_host","Participant",function(a,b,c,d,e,f,g){b.home_page=!1,a.participant={},a.getYoutubeSrc=function(a){return e.trustAsResourceUrl("http://www.youtube.com/embed/"+a.name)},g.get({id:c.id},function(b){a.participant=b,jQuery("#preloader").fadeOut("fast",function(){jQuery(this).remove()})})}]).controller("revista-view",["$scope","$rootScope",function(a,b){b.home_page=!1,jQuery("#preloader").fadeOut("fast",function(){jQuery(this).remove()})}]).controller("torneo-view",["$scope","$rootScope","$routeParams","$http","$sce","api_host","Competition",function(a,b,c,d,e,f,g){b.home_page=!1,a.competition={},a.getYoutubeSrc=function(a){return e.trustAsResourceUrl("http://www.youtube.com/embed/"+a.name)},g.get({id:c.id},function(b){a.competition=b,jQuery("#preloader").fadeOut("fast",function(){jQuery(this).remove()})}),a.participate=function(b){d.post(f+"/api/competition/"+b.id+"/participate",{}).success(function(b){a.refresh()}).error(function(a){console.log(a)})}}]).controller("torneo-list",["$scope","$rootScope","$http","api_host","Region","Account",function(a,b,c,d,e,f){b.home_page=!1,b.$on("region_summary",function(b,c){a.processSummary()}),a.processSummary=function(){a.summary=b.region_summary,jQuery("#preloader").fadeOut("fast",function(){jQuery(this).remove()})},a.processSummary()}]).controller("user-signup",["$scope","$rootScope",function(a,b){b.home_page=!1}]).controller("foro-view",["$scope","$rootScope",function(a,b){b.home_page=!1}]).controller("profile-view",["$scope","$rootScope",function(a,b){b.home_page=!1}]),angular.module("slamApp").controller("AboutCtrl",function(){this.awesomeThings=["HTML5 Boilerplate","AngularJS","Karma"]}),angular.module("slamApp").filter("moment",function(){return function(a,b){return moment(a).format(b)}}),angular.module("slamApp").filter("characters",function(){return function(a,b,c){if(isNaN(b))return a;if(0>=b)return"";if(a&&a.length>b){if(a=a.substring(0,b),c)for(;" "===a.charAt(a.length-1);)a=a.substr(0,a.length-1);else{var d=a.lastIndexOf(" ");-1!==d&&(a=a.substr(0,d))}return a+"…"}return a}}).filter("splitcharacters",function(){return function(a,b){if(isNaN(b))return a;if(0>=b)return"";if(a&&a.length>b){var c=a.substring(0,b/2),d=a.substring(a.length-b/2,a.length);return c+"..."+d}return a}}).filter("words",function(){return function(a,b){if(isNaN(b))return a;if(0>=b)return"";if(a){var c=a.split(/\s+/);c.length>b&&(a=c.slice(0,b).join(" ")+"…")}return a}}),+function(a,b){function c(c,d){function e(){var a='<div class="input-group"><span class="input-group-btn"><button data-toggle="collapse" href="#'+d.mapContainerId+'" class="btn btn-default"><span class="glyphicon glyphicon-globe"></span></button></span></div>';return a}function f(){if(d.mapContainerId){var b=a(c),f=b.parent(),g=f.children().index(c);b.replaceWith(e()),f.children().eq(g).append(c)}}function g(a){if(a){var b={query:a};v&&v.textSearch(b,function(a,b){if(b===google.maps.places.PlacesServiceStatus.OK)for(var c=0;c<a.length;c++)return void n(a[c])})}}function h(a){u.geocode({latLng:a},function(a,b){if(b===google.maps.GeocoderStatus.OK&&a[0]){var c=a[0];n(c,!1)}})}function i(){return p=a(d.map).get(0),p||d.mapContainerId&&(p=a("#"+d.mapContainerId+" .placepicker-map").get(0)),p?!0:!1}function j(){i()&&(q=new google.maps.Map(p,d.mapOptions),s.bindTo("bounds",q),google.maps.event.addListener(q,"click",function(a){var b=a.latLng;r.setPosition(b),q.panTo(b),c.blur(),h(b)}),r=new google.maps.Marker({map:q}),v=new google.maps.places.PlacesService(q),a(p).parent().on("show.bs.collapse",function(b){a(b.target).css("display","block").find('img[src*="gstatic.com/"], img[src*="googleapis.com/"]').css("max-width","none"),c.value?t.resize():t.geoLocation(),a(b.target).css("display","")}))}function k(){s=new google.maps.places.Autocomplete(c,d.autoCompleteOptions),google.maps.event.addListener(s,"place_changed",function(){var a=s.getPlace();a.geometry&&n(a)})}function l(){t.resize.call(t)}function m(){if(u=new google.maps.Geocoder,f(),k(),j(),c.value)g(c.value);else{var e=d.latitude||a(d.latitudeInput).prop("value"),h=d.longitude||a(d.longitudeInput).prop("value");e&&h&&t.setLocation(e,h)}a(b).on("resize",l),a(c).on("keypress",function(a){d.preventSubmit&&13===a.keyCode&&(a.preventDefault(),a.stopImmediatePropagation())})}function n(b,e){e="undefined"==typeof e?!0:!1,w=b,t.resize();var f=b.geometry.location;e&&o(f),a(d.latitudeInput).prop("value",f.lat()),a(d.longitudeInput).prop("value",f.lng()),e||(c.value=b.formatted_address),"function"==typeof d.placeChanged&&d.placeChanged.call(t,b)}function o(a){if(q){q.setCenter(a);var b=d.icon||d.placesIcon&&place.icon?place.icon:null;if(b){var c={url:b,size:new google.maps.Size(71,71),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(17,34),scaledSize:new google.maps.Size(35,35)};r.setIcon(c)}r.setPosition(a),r.setVisible(!0)}}var p,q,r,s,t=this,u=null,v=null,w=null,x=null;this.setValue=function(a){c.value=a,g(a)},this.getValue=function(){return c.value},this.setLocation=function(a,b){var c=new google.maps.LatLng(a,b);this.setLatLng(c)},this.getLocation=function(){var a=this.getLatLng();return a?{latitude:a.lat(),longitude:a.lng()}:void 0},this.setLatLng=function(a){x=a,h(x)},this.getLatLng=function(){return w&&w.geometry?w.geometry.location:x},this.getMap=function(){return q},this.reload=function(){q&&g(c.value)},this.resize=function(){if(q){var a=q.getCenter();google.maps.event.trigger(q,"resize"),q.setCenter(a)}},this.geoLocation=function(a){navigator.geolocation?navigator.geolocation.getCurrentPosition(function(b){var c=new google.maps.LatLng(b.coords.latitude,b.coords.longitude);o(c),h(c),a&&a(c)},function(){a&&a(null)}):a&&a(null)},m.call(this)}var d="placepicker",e={map:"",mapOptions:{zoom:15},places:{icons:!1},autoCompleteOptions:{},placeChanged:null,location:null,preventSubmit:!0},f=c;a.fn[d]=function(b){return this.each(function(){return a(this).data(d)||a(this).data(d,new f(this,a.extend({},e,b,a(this).data()))),a(this)})}}(jQuery,window),angular.module("slamApp").run(["$templateCache",function(a){a.put("views/about.html","<p>This is the about view.</p>"),a.put("views/foro.html",""),a.put("views/jugador.html",'<div class="gap"></div> <div id="ficha-torneo" class="seccion fondo_gris"> <div class="contenedor_sec torneo_info_inside"> <div class="titulo wow fadeInDown"> <h2 class="sombra_gris_blanco"> <i class="icon-jugador"></i>Jugador </h2> </div> <div id="jugador-descripcion"> <div class="row"> <div class="col-md-4 datos-generales"> <h1 class="wow fadeInLeft">{{participant.name}} {{participant.lastname}}</h1> <div class="wow fadeInLeft avatar"> <img ng-src="http://images.collab-dev.com/150x/smart/slam/profiles/{{participant.photo}}"> </div> </div> <div class="col-md-4 datos-generales"> <p> {{participant.about}}</p> </div> <div class="panel-lateral col-md-4"> <div class="gap"></div> <div class="jug_resumen"> <div class="data-box"> <span class="icon-box"><i class="icon-copa"></i></span> <h4>TORNEOS</h4> <p>+{{participant.competitions.length}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{participant.videos.length}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-mencion"></i></span> <h4>MENCIONES</h4> <p>+2</p> </div> </div> </div> </div> </div> </div> </div> <div id="torneo_content"> <!-- Nav tabs --> <div class="tabs_lookeadas"> <ul class="nav nav-tabs panel_selector" role="tablist"> <li role="presentation" class="active"><a data-target="#tab_info" aria-controls="tab_info" role="tab" data-toggle="tab"><i class="fa fa-angle-right"></i>Info</a></li> <li role="presentation"><a data-target="#tab_torneos" aria-controls="tab_torneos" role="tab" data-toggle="tab"><i class="icon-copa"></i>Torneos</a></li> <li role="presentation"><a data-target="#tab_videos" aria-controls="tab_videos" role="tab" data-toggle="tab"><i class="icon-video"></i>Videos</a></li> <li role="presentation"><a data-target="#tab_fotos" aria-controls="tab_fotos" role="tab" data-toggle="tab"><i class="fa fa-camera-retro"></i>Fotos</a></li> <li role="presentation"><a data-target="#tab_comentarios" aria-controls="tab_comentarios" role="tab" data-toggle="tab"><i class="fa fa-comment-o"></i>Comentarios</a></li> </ul> </div> <!-- Tab panes --> <div class="tab-content contenedor_sec"> <div role="tabpanel" class="tab-pane fade in active" id="tab_info"> <div class="info_jugador"> <h4> <a href=""><i class="fa fa-facebook-square"></i>{{participant.name}} {{participant.lastname}}</a> </h4> <h4> <a href=""><i class="fa fa-twitter-square"></i> @{{participant.twitter_username}}</a> </h4> <h4> <a href=""><i class="fa fa-instagram"></i> @{{participant.instagram_username}}</a> </h4> </div> <div class="gap"></div> </div> <div role="tabpanel" class="tab-pane fade" id="tab_torneos"> <div class=""> <div id="sec_torneosAnteriores" class="torneo_info_inside"> <div class="row wow fadeInLeftBig"> <div class="col-xs-10 col-sm-5 col-md-4" ng-repeat="competition in participant.competitions"> <div class="tarjeta_torneo torneo_info_inside" fecha="{{competition.event_date | moment: \'DD MMM\'}}"> <a href=""><h4 class="torneo_nombre">{{competition.title}}</h4></a> <div class="torneo_resumen"> <div class="data-box"> <span class="icon-box"><i class="icon-jugador"></i></span> <h4>JUGADORES</h4> <p>+{{competition.users.length}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{competition.videos.length}}</p> </div> <div class="data-box" ng-if="competition.images"> <span class="icon-box"><i class="fa fa-camera"></i></span> <h4>FOTOS</h4> <p>+12</p> </div> <div class="data-box" ng-if="competition.posts"> <span class="icon-box"><i class="fa fa-comment-o"></i></span> <h4>COMENTARIOS</h4> <p>+{{competition.posts.length}}</p> </div> </div> <div class="torneo_datos"> <div class="torneo_fecha"> <span class="icon-box"><i class="fa fa-clock-o"></i></span> <span class="hora">{{competition.event_date | moment: \'HH:mm\'}}</span> </div> <div class="torneo_lugar"> <span class="icon-box"><i class="fa fa-map-marker"></i></span> <span class="lugar-nombre">{{competition.place}}</span> <span class="direccion">{{competition.location.formatted_address}}</span> </div> <div class="torneo_hashtag" ng-if="competition.hashtag"> <span class="icon-box">#</span> <span class="aclaracion">{{competition.hashtag}}</span> </div> </div> " <div class="ver_mas"><a ng-href="/#/torneo/{{competition.id}}"><h3><i class="fa fa-caret-right"></i>ver más</h3></a></div> </div> </div> </div> <a style="visibility: visible; animation-name: bounceInRight" class="wow bounceInRight btn eventime_button animated entrada-0s5" href="#about_menu" role="button">CARGAR MÁS..</a> </div> </div> </div> <div role="tabpanel" class="tab-pane fade" id="tab_videos"> <div class="row"> <div class="col-xs-11 col-sm-6 col-lg-4" ng-repeat="video in participant.videos"> <div class="tarjeta_video"> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" ng-src="{{getYoutubeSrc(video)}}" allowfullscreen></iframe> </div> </div> </div> </div> </div> <div role="tabpanel" class="tab-pane fade" id="tab_fotos">...</div> <div role="tabpanel" class="tab-pane fade" id="tab_comentarios"> <dl> <dt ng-repeat="post in participant.posts"> <a target="_blank" ng-href="http://forum.coperable.org/t/{{post.slug}}/{{post.topic_id}}/{{post.post_number}}">{{post.title}}</a> </dt> </dl> </div> </div> </div>'),a.put("views/jugadores.html",'<div class="gap"></div> <div id="sec_jugadores" class="seccion fondo_gris"> <div class="contenedor_sec torneo_info_inside"> <div class="titulo"> <h2 class="sombra_gris_blanco"> <i class="icon-jugador"></i>Jugadores <small class="label_region">en {{summary.name}} </small> </h2> </div> <div class="mini_gap"></div> <!-- FILTROS: --> <div class="form-group"> <a class="btn eventime_button btn_filtro" href role="button" ng-click="direction(false)"><i class="fa fa-sort-alpha-asc"></i></a> <a class="btn eventime_button btn_filtro" href role="button" ng-click="direction(true)"><i class="fa fa-sort-alpha-desc"></i></a> <a class="btn eventime_button btn_filtro" href role="button" ng-click="sort(\'date\')"><i class="fa fa-clock-o"></i> Recientes</a> <a class="btn eventime_button btn_filtro" href role="button" ng-click="sort(\'ranking\')"><i class="icon-copa"></i> Ranking</a> <div class="input-group busqueda"> <input type="text" ng-model="search_term" class="form-control" id="direccion" placeholder="BÚSQUEDA"> <div class="input-group-addon" ng-click="doSearch()"><i class="fa fa-search"></i></div> </div> </div> <div class="row"> <div class="col-xs-10 col-sm-5 col-md-4 col-lg-3" ng-repeat="participant in participants | orderBy: predicate : reverse"> <div class="tarjeta_jugador wow fadeInLeft"> <a ng-href="/#/jugador/{{participant.id}}"> <img ng-src="http://images.collab-dev.com/150x/smart/slam/profiles/{{participant.photo}}"> </a> <div class="jug_resumen"> <h3>{{participant.name}} {{participant.lastname}}</h3> <div class="data-box"> <span class="icon-box"><i class="icon-copa"></i></span> <h4>TORNEOS</h4> <p>+{{participant.competitions.length}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{participant.medias.length}}</p> </div> </div> </div> </div> </div> <div class="mini_gap"></div> <a style="visibility: visible; animation-name: bounceInRight" class="wow bounceInRight btn eventime_button animated entrada-0s5" href="#about_menu" role="button">CARGAR MÁS..</a> <div class="mini_gap"></div> </div> </div>'),a.put("views/main.html",'<!-- SEC: TORNEO PRINCIPAL --> <div id="sec_torneoPrincipal" class="seccion" ng-if="summary.next_competition"> <div class="contenedor_sec torneo_principal torneo_info_inside"> <div class="titulo wow fadeInDown"> <h2 class="en_color_principal sombra_blanco_gris"> <i class="icon-copa"></i>Próximo Torneo <small class="label_region">en {{summary.name}}</small> </h2> </div> <div class="ver_mas wow bounceInRight entrada-1s"> <a ng-href="/#/torneos"> <h3><i class="fa fa-caret-right"></i>ver todos los torneos</h3> </a> </div> <div class="row wow fadeInLeftBig"> <div class="col-sm-12 col-md-5"> <img ng-src="http://images.collab-dev.com/190x/smart/slam/{{summary.next_competition.cover_photo}}"> <div class="ver_mas izq"><a ng-href="/#/torneo/{{summary.next_competition.id}}"><h3><i class="fa fa-caret-right"></i>ver más</h3></a></div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <a ng-href="/#/torneo/{{summary.next_competition.id}}"> <h4 class="torneo_nombre">{{summary.next_competition.title}}</h4> </a> <div class="torneo_fecha"> <span class="icon-box"><i class="fa fa-clock-o"></i></span> <span class="num">{{summary.next_competition.event_date | moment: \'DD\'}}</span> <span class="mes">{{summary.next_competition.event_date | moment: \'MMM\'}}</span> <span class="linea">|</span> <span class="hora">{{summary.next_competition.event_date | moment: \'HH:mm\'}}</span> </div> <div class="torneo_lugar"> <span class="icon-box"><i class="fa fa-map-marker"></i></span> <span class="lugar-nombre">{{summary.next_competition.place}}</span> <span class="direccion"><a href="">{{summary.next_competition.location.formatted_address}}</a></span> </div> <div class="data-box featured"> <span class="icon-box"><i class="icon-jugador"></i></span> <h4><small>JUGADORES</small>CUPOS</h4> <p><small>+{{summary.next_competition.users.length || 0}}</small>+{{summary.next_competition.users_amount - summary.next_competition.users.length}}</p> </div> <h3 ng-if="summary.next_competition.already_participating" class="wow bounceInRight animated entrada-1s animated text-center"><b>ESTÁS PARTICIPANDO!</b></h3> <a ng-if="!summary.next_competition.already_participating" ng-show="isAuthenticated()" style="animation-name: bounceInRight" class="wow bounceInRight btn btn_principal animated entrada-1s animated" href role="button" ng-click="participate(summary.next_competition)">PARTICIPAR</a> <a ng-show="!isAuthenticated()" style="animation-name: bounceInRight" class="wow bounceInRight btn btn_principal animated entrada-1s animated" href="#/#planilla-registro" role="button">PARTICIPAR</a> <div class="mini_gap"></div> </div> <div class="col-xs-12 col-sm-6 col-md-4 torneo_descripcion"> <p> {{summary.next_competition.description}} </p> </div> </div> </div> </div> <!-- SEC: TORNEOS ANTERIORES --> <div id="sec_torneosAnteriores" class="seccion fondo_gris"> <div class="contenedor_sec torneo_info_inside wow fadeInLeftBig"> <div class="titulo wow fadeInDown"> <h2 class="sombra_gris_blanco"> <i class="icon-copa"></i>Torneos Anteriores <small class="label_region">en {{summary.name}}</small> </h2> </div> <div class="ver_mas wow bounceInRight entrada-1s"> <a href="/#/torneos"> <h3><i class="fa fa-caret-right"></i>ver todos los torneos</h3> </a> </div> <div class="row"> <div class="col-xs-10 col-sm-5 col-md-4" ng-repeat="past in summary.past_competitions"> <a ng-href="/#/torneo/{{past.id}}" class="no_opacity_hover"> <div class="tarjeta_torneo torneo_info_inside" fecha="{{past.event_date | moment: \'DD MMM\'}}"> <h4 class="torneo_nombre">{{past.title}}</h4> <div class="torneo_resumen"> <div class="data-box"> <span class="icon-box"><i class="icon-jugador"></i></span> <h4>JUGADORES</h4> <p>+{{past.users.length || 0}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{past.videos.length || 0}}</p> </div> <!--div class="data-box">\n\n		        			<span class="icon-box"><i class="fa fa-camera"></i></span>\n\n		        			<h4>FOTOS</h4>\n\n		        			<p>+12</p>\n						\n						</div>\n\n                		<div class="data-box">\n\n		        			<span class="icon-box"><i class="fa fa-comment-o"></i></span>\n\n		        			<h4>COMENTARIOS</h4>\n\n		        			<p>+12</p>\n						\n						</div--> </div> <div class="torneo_datos"> <div class="torneo_fecha"> <span class="icon-box"><i class="fa fa-clock-o"></i></span> <span class="hora">{{past.event_date | moment: \'HH:mm\'}}</span> </div> <div class="torneo_lugar"> <span class="icon-box"><i class="fa fa-map-marker"></i></span> <span class="lugar-nombre">{{past.place}}</span> <span class="direccion">{{past.location.formatted_address}}</span> </div> <div class="torneo_hashtag"> <span class="icon-box">#</span> <span class="aclaracion">{{past.hashtag}}</span> </div> </div> <div class="ver_mas"><h3><i class="fa fa-caret-right"></i>ver más</h3></div> </div> </a> </div> </div> <div class="mini_gap"></div> <a style="visibility: visible; animation-name: fadeInLeft" class="wow fadeInLeft btn eventime_button animated" href="/#/torneos" role="button">VER TODOS</a> <div class="mini_gap"></div> </div> </div> <!-- SEC: ACERCA DE --> <div id="about_menu"> <div class="clear"></div> <div class="wow fadeIn tabs_about sec-fondo-oscuro"> <div class="mask"> <ul class="menu_tabs" role="tablist"> <li class="active"> <a class="wow fadeInDown btn eventime_button graybtn active" data-toggle="tab" role="button" data-target="#sectionA"> DATOS </a> </li> <li> <a class="wow fadeInDown btn eventime_button graybtn" data-toggle="tab" role="button" data-target="#sectionB"> REGLAS </a> </li> <li> <a class="wow fadeInDown btn eventime_button graybtn" data-toggle="tab" role="button" data-target="#sectionC"> ACERCA DE </a> </li> </ul> <div class="tab-content"> <div id="sectionA" class="tab-pane fade in active"> <ul class="stats"> <li class="icon-jugador icono-6x"> <p> <span class="count"> {{summary.participants_count}} </span> <span class="count_plus"> + </span> </p> <p class="count_dscrp"> participantes </p> </li> <li class="icon-copa icono-6x"> <p> <span class="count"> {{summary.competitions.length || 0}} </span> <span class="count_plus"> + </span> </p> <p class="count_dscrp"> torneos </p> </li> <!--li class="fa fa-comment-o fa-6x">\n\n			            	<p>\n				            	<span class="count">\n				              		55 \n				              	</span>\n				              	<span class="count_plus">\n				              		+ \n				              	</span>\n				            </p>\n\n				            <p class="count_dscrp">\n				               conversaciones\n				            </p>\n\n			            </li--> <li class="icon-video icono-6x"> <p> <span class="count"> {{summary.videos_count || 0}} </span> <span class="count_plus"> + </span> </p> <p class="count_dscrp"> videos </p> </li> </ul> </div> <div id="sectionB" class="tab-pane fade"> <ul class="about_columns"> <li class="list right"> <h4> Design Education </h4> <div class="fa fa-star fa-1x"> </div> <ol> <li>Design thinking: cognitive modes and learning styles</li> <li>Design approaches, strategies, methodologies and tactics</li> <li>Problem solving: recognition procedures, hypothesis developmen</li> <li>The meaning of innovation and creativity, in theory and practice</li> </ol> </li> <li class="list"> <div class="fa fa-briefcase fa-1x"> </div> <h4> Design in Society </h4> <ol> <li>Design in social policy, planning, and politics</li> <li>Health, safety, and public welfare in design practice</li> <li>Design as business</li> <li>Markets for design and designing for markets</li> </ol> </li> <li class="list right"> <h4> Designed Objects </h4> <div class="fa fa-camera fa-1x"> </div> <ol> <li>Fashion design and development</li> <li>Product design philosophy</li> <li>Industrial and Interior design</li> <li>Engineering and design</li> </ol> </li> <li class="list"> <div class="fa fa-graduation-cap fa-1x"> </div> <h4> Visual Design </h4> <ol> <li>Communications design</li> <li>Visual arts</li> <li>Typography</li> <li>Graphic design</li> </ol> </li> <li class="list right"> <h4> Design Management </h4> <div class="fa fa-key fa-1x"> </div> <ol> <li>People and artifacts: exploring uses and usability</li> <li>Participatory design systems</li> <li>Professional ethics</li> <li>Design knowledge management</li> </ol> </li> <li class="list"> <div class="fa fa-line-chart fa-1x"> </div> <h4> Environmental Design </h4> <ol> <li>Eco design: environmental and green design</li> <li>Theater and set design</li> <li>Interaction design</li> <li>Landscape architecture</li> </ol> </li> </ul> </div> <div id="sectionC" class="tab-pane fade"> <ul class="about_columns"> <li class="list right"> <h4><strong>Slam!</strong> Argentina </h4> <ol> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus porttitor hendrerit sagittis. <br> <br> Sed maximus ligula in nunc rutrum, et pretium ex commodo. Nam faucibus est felis, a convallis urna dictum eu. Aenean at erat libero. Fusce ac mattis odio, et laoreet nulla. Vestibulum arcu mauris, sollicitudin non nunc sed, fermentum pharetra velit. Suspendisse facilisis sem quis molestie maximus. Sed consectetur vestibulum est vitae maximus. Nam vestibulum erat non mauris ultrices congue. Nulla at nisi eu arcu dignissim sodales.<br> <br> Duis at dui in urna aliquet finibus. Phasellus placerat mi orci, mattis pharetra arcu scelerisque sit amet. Proin varius volutpat ante, a imperdiet erat. Nunc eget risus vestibulum, porta est nec, fermentum libero. Nulla fermentum leo id nunc porttitor, volutpat pharetra nisl pretium. Nunc aliquet feugiat lorem, non semper felis gravida non. Sed libero mi, laoreet eu urna venenatis, ornare euismod nulla. </li> </ol> </li> <li class="list"> <h4> SLAM<strong>??</strong></h4> <ol> <li> Nunc arcu ante, ultrices non maximus sit amet, imperdiet quis lorem. Donec eleifend, libero ac luctus semper, quam justo sagittis libero, non gravida arcu arcu sit amet odio. Proin ac scelerisque est, eu sodales purus. Phasellus bibendum velit libero, id scelerisque purus auctor porttitor. Fusce vitae ullamcorper lacus. Nulla id quam eu ligula tincidunt pulvinar eu non nisl. <br> <br> Nunc gravida facilisis urna, vel blandit urna dictum sit amet. Phasellus pretium neque id nunc elementum, vel dapibus odio venenatis. Curabitur quam nulla, finibus quis ultrices vel, lacinia non mi. Aliquam aliquam molestie elit maximus imperdiet. Pellentesque sed finibus ligula. Pellentesque eget tristique augue, non fermentum nulla. Vestibulum placerat dui non nibh posuere, et porttitor nibh dapibus. Curabitur vitae dapibus odio. Morbi tempus tempus arcu, at egestas turpis vulputate bibendum. Donec eu hendrerit augue, rhoncus suscipit magna. Vivamus nec sem in lectus pulvinar accumsan in vel nibh. Integer ut mattis nibh. Ut euismod eros in arcu porta tempus. Suspendisse sem massa, faucibus vitae magna at, luctus interdum magna. </li> </ol> </li> </ul> </div> </div> </div> </div> </div> <!-- SEC: JUGADORES --> <div id="sec_jugadores" class="seccion fondo_gris" ng-show="summary.participants_count"> <div class="contenedor_sec torneo_info_inside"> <div class="titulo wow fadeInDown"> <h2 class="sombra_gris_blanco"> <i class="icon-jugador"></i>Jugadores <small class="label_region">en {{summary.name}}</small> </h2> </div> <div class="ver_mas wow bounceInRight entrada-1s"> <a ng-href="/#/jugadores"> <h3><i class="fa fa-caret-right"></i>ver todos los jugadores</h3> </a> </div> <div class="row"> <div class="col-xs-10 col-sm-5 col-md-4" ng-repeat="participant in summary.participants"> <div class="tarjeta_jugador wow fadeInLeft"> <a ng-href="/#/jugador/{{participant.id}}"><img ng-src="http://images.collab-dev.com/150x/smart/slam/profiles/{{participant.photo}}"></a> <div class="jug_resumen"> <h3>{{participant.name}} {{participant.lastname}}</h3> <div class="data-box"> <span class="icon-box"><i class="icon-copa"></i></span> <h4>TORNEOS</h4> <p>+{{participant.competitions.length}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{participant.medias.length}}</p> </div> </div> </div> </div> </div> <div class="mini_gap"></div> <a style="visibility: visible; animation-name: fadeInLeft" class="wow fadeInLeft btn eventime_button animated entrada-0s5" href="/#/jugadores" role="button">VER TODOS</a> </div> </div> <!-- SEC: REGISTRO --> <div id="planilla-registro" class="seccion planilla row" ng-show="!isAuthenticated()"> <div class="contenedor_sec"> <div class="col-lg-5 col-md-6" data-ng-controller="LoginCtrl"> <div class="titulo wow bounceInRight"> <h2 class="sombra_blanco_gris"> <i class="fa fa-user"></i>INGRESA </h2> <p></p> <p></p> </div> <div class="torneo-inner"> <a href class="contact_icon fa fa-facebook wow fadeInUp" ng-click="authenticate(\'facebook\')"> </a> <a href class="contact_icon fa fa-twitter wow fadeInUp" ng-click="authenticate(\'twitter\')"> </a> <a href class="contact_icon fa fa-google-plus wow fadeInUp" ng-click="authenticate(\'google\')"> </a> <form method="post" ng-submit="login()" name="loginForm"> <div class="form-group"> <label for="email">email:</label> <input type="email" class="form-control" id="email" ng-model="email" placeholder="EMAIL"> </div> <div class="form-group"> <label for="contrasenia">Contraseña:</label> <input type="password" class="form-control" id="contrasenia" ng-model="password" placeholder="***"> </div> <div class="mini_gap"></div> <button type="submit" ng-disabled="loginForm.$invalid" class="wow bounceInLeft btn btn_principal btn-primary animated entrada-1s">INGRESAR</button> </form> </div> </div> <div class="col-lg-5 col-md-6" data-ng-controller="SignupCtrl"> <div class="titulo wow fadeInLeftBig"> <h2 class="sombra_blanco_gris"> <i class="fa fa-user-plus"></i>REGISTRATE </h2> <p>¿Querés participar?</p> <p><small>REGISTRATE PARA CREAR TU PERFIL DE JUGADOR Y PARTICIPAR DE LOS TORNEOS.</small></p> </div> <div class="torneo-inner"> <div class="row wow fadeInRightBig"> <form method="post" ng-submit="signup()" name="signupForm"> <div class="form-group"> <label for="nombre">Nombre Usuario:</label> <input type="text" class="form-control" ng-model="username" id="nombre" placeholder="APODO"> </div> <div class="form-group"> <label for="email">email:</label> <input type="email" class="form-control" ng-model="email" id="email" placeholder="EMAIL"> </div> <div class="form-group"> <label for="contrasenia">Contraseña:</label> <input type="password" class="form-control" ng-model="password" id="contrasenia" placeholder="***"> </div> <div class="form-group"> <label for="contraseniaConf">Confirmar contraseña:</label> <input type="password" class="form-control" ng-model="confirmPassword" id="contraseniaConf" placeholder="***"> </div> <div class="form-group"> <label for="apellido">Nombre:</label> <input type="text" class="form-control" ng-model="name" id="apellido" placeholder="APELLIDO"> </div> <div class="form-group"> <label for="apellido">Apellido:</label> <input type="text" class="form-control" ng-model="lastname" id="nombre" placeholder="NOMBRE"> </div> <div class="checkbox wow fadeInLeft entrada-1s"> <label> <input type="checkbox"> <span>Acepto los <a href="">Términos y condiciones</a> del servicio.</span> </label> </div> <div class="mini_gap"></div> <button type="submit" ng-disabled="signupForm.$invalid" class="wow bounceInRight btn btn_principal btn-primary animated entrada-1s btn-large">REGISTRARME</button> </form> </div> </div> </div> </div> </div> <!-- SEC: INFORMACIÓN --> <div id="info01" class="info_seccion wow slideInRight" ng-if="current_region.id == 1"> <div class="info_contenedor wow bounceInRight entrada-0s5"> <h2><i class="fa fa-arrow-up"></i> Seleccioná tu región!</h2> <h3>Seleccioná para ver qué está pasando cerca tuyo. </h3> <h4>DATO +33</h4> <p>Texto promocional de algo interesante.. </p> <a style="visibility: visible; animation-name: fadeInUpBig" class="wow fadeInUpBig btn animated" href="#about_menu" role="button">VER MÁS</a> </div> <div class="mini_gap"></div> </div> <!-- SEC: VIEDEO --> <div id="sec_videos" class="seccion fondo_gris" ng-show="summary.videos_count"> <div class="contenedor_sec torneo_info_inside"> <div class="titulo wow fadeInDown"> <h2 class="sombra_gris_blanco"> <i class="icon-jugador"></i>Videos <small class="label_region">en {{summary.name}}</small> </h2> </div> <div class="ver_mas wow bounceInRight entrada-1s5"> <a ng-href="/#/videos"> <h3><i class="fa fa-caret-right"></i>ver todos los videos</h3> </a> </div> <div class="row"> <div class="col-xs-11 col-md-6 col-lg-4" ng-repeat="video in summary.videos |limitTo: 6"> <div class="tarjeta_video wow fadeInLeft"> <div class="embed-responsive embed-responsive-16by9" style="min-height:246px"> <iframe class="embed-responsive-item" ng-src="{{getYoutubeSrc(video)}}" allowfullscreen></iframe> </div> </div> </div> </div> <a style="visibility: visible; animation-name: fadeInLeft" class="wow fadeInLeft btn eventime_button animated" href="/#/videos" role="button">VER TODOS</a> </div> </div> <!-- Modal HTML \n<div id="myModal" class="modal fade eventime_modal">\n  <div class="modal-dialog">\n    <div class="modal-content">\n      <div class="modal-header">\n        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n        &times; </button>\n        <h4 class="modal-title">\n        Jeremy Crackevich </h4>\n        <small>\n        Featured guest </small>\n      </div>\n      <div class="modal-body">\n        <img src="images/featured_speaker.jpg" alt="img10"/>\n        <p>\n          <br>\n           Crackevich\'s influence on contemporary graphic design is unparalleled. <br>\n           This outstanding expert and self-named typomaniac is responsible for numerous custom and redesigned typefaces and font identities for world-renowned corporations. Moreover, he has created dozens of commercial typefaces which are considered to be modern classics of typography. <br>\n           In 1979, he founded CrackevichDesign - German mega-firm providing global design consultancy. The success of this company can be measured by a long list of the most relevant prizes including multiple red dot awards and European Design Awards. <br>\n          <br>\n           More about Jeremy Crackevich can be found <a href="#">here</a>.\n        </p>\n      </div>\n      <div class="modal-footer">\n        <a href="#" class="contact_icon fa fa-facebook graybtn graytxt">\n        </a>\n        <a href="#" class="contact_icon fa fa-twitter graybtn graytxt">\n        </a>\n      </div>\n    </div>\n  </div>\n</div>\n<div id="reservation_menu" class="wow fadeIn">\n  <div class="reservation">\n    <div class="gap">\n    </div>\n    <div class="first_line">\n    </div>\n    <div class="titulo">\n      <p>\n         Registrate\n      </p>\n    </div>\n    <div class="first_description">\n      <p>\n         Vestibulum aliquet urna sapien, et condimentum ex efficitur vitae. Etiam lacinia nunc id risus semper, vitae sagittis tellus condimentum. \n      </p>\n    </div>\n    <form id="reservation_form" action="#">\n      <input class="wow fadeInDown" type="hidden" name="action" value="sendbooking">\n      <input class="wow fadeInDown" name="first_name" type="text" id="make_a_reservation_input_1" placeholder="Nombre">\n      <input class="wow fadeInDown" name="last_name" type="text" id="make_a_reservation_input_2" placeholder="Apellido">\n      <input class="wow fadeInDown" name="last_name" type="text" id="make_a_reservation_input_2" placeholder="Nombre de Usuario">\n      <input class="wow fadeInDown" name="last_name" type="text" id="make_a_reservation_input_2" placeholder="Contraseña">\n      <input class="wow fadeInDown" name="email" type="text" id="make_a_reservation_input_3" placeholder="Email">\n      <input class="wow fadeInDown" name="address" type="text" id="make_a_reservation_input_4" placeholder="Localidad">\n      \n      \n      <input class="wow fadeInDown" name="zip" type="text" id="make_a_reservation_input_5" placeholder="Zip Code">\n      <input class="wow fadeInDown" name="telephone" type="text" id="make_a_reservation_input_6" placeholder="Phone">\n      \n      <input class="wow fadeInDown" name="price" type="radio" value="Type 1" id="radio01"/>\n      <label class="wow fadeInUp" for="radio01">\n      <span>\n      $1350 </span>\n      The Big Ticket gets you into all five days of HOW Design Live and includes all sessions, workshops, keynotes and networking events. </label>\n      <input name="price" value="Type 2" type="radio" id="radio02"/>\n      <label class="wow fadeInUp" for="radio02">\n      <span>\n      $800 </span>\n      Two-Day Registration. Can’t make the full four days of Design Days Conference, but have more time than just a day? Choose a two-day. </label>\n      <input name="price" value="Type 3" type="radio" id="radio03"/>\n      <label class="wow fadeInUp" for="radio03">\n      <span>\n      $350 </span>\n      One-Day Registration. Choose to customize a time frame that works best for you. You’ll still get to choose from every single session. </label>\n      <input name="price" value="Type 4" type="radio" id="radio04"/>\n      <label class="wow fadeInUp" for="radio04">\n      <span>\n      $5000 </span>\n      Registering 5 or more from your company? The Group Big Ticket gets each member of your group into all four days of Design Days Conference. </label>\n      \n\n      <input type="submit" value="registrate" class="reservation_button wow fadeInDown" role="button">\n      </br>\n      <p style="text-align:center"></br>\n      	<span>¿ya eres usuario?</span>\n      </p>\n      <input type="submit" value="Ingresar" class="reservation_button wow fadeInDown" role="button">\n      <p style="text-align:center">¿olvidaste la contraseña?</p>\n      \n\n      <div class="clear">\n      </div>\n      <div id="contactMsg" class="wow fadeInUp">\n      </div>\n    </form>\n    <div class="gap">\n    </div>\n  </div>\n</div>\n<!-- End Reservation --> <!-- Contact --> <div id="contact_menu" class="wow fadeIn"> <div class="contact"> <div class="mask"> <div class="titulo wow fadeInDown"> <h2 class="contacto_tit"> <i class="fa fa-user-plus"></i>CONTACTO </h2> <div class="first_description"> <p> The Design Days Conference will take place at the Main Conference Hall New York, located at 151 East Wacker NY 60601. <br> Come and enjoy the unique atmosphere of one of the most beautiful theatres in Bratislava, and the city which has so much to offer. </p> </div> <div class="mini_gap"> </div> <!--\n      <div id="map">\n      </div>\n      --> <div class="contact_information"> <h6 class="wow fadeIn"> VENUE </h6> <p class="wow fadeIn"> One of the oldest Halls in NY has been praised by hosting actors from Hungary, Austria and Germany for ages. Situated on the south bank of the river and surrounded by a park, Arena Hals is just a few moments away from the historical center of NY. Be it for its beautiful historic look or super convenient location, we are very delighted to host our conference at this exceptional venue. <br> <br> <span class="texticon fa fa-home"></span>Address: 151 East Wacker NY 60601 <br> <span class="texticon fa fa-street-view"></span>GPS coordinates: 438.135696,317.114645 </p> <h6 class="wow fadeIn"> NEARBY ACCOMODATION </h6> <p class="wow fadeIn"> Are you looking for a place to stay? <br> <br> NY has the accommodation for everyone, whatever your budget. We recommend, when selecting a hotel, going for one of the many hotels in the city center. Most of them offer a spectacular view of the historic part of town and the city landmarks. Thanks to the convenient central location, you will be able to experience the city\'s most charismatic areas firsthand. </p> </div> <div class="contact_information"> <h6 class="wow fadeIn"> Food & Drink </h6> <p class="wow fadeIn"> We prepared for you the best tips on nice places to eat & drink at NY Main Hall. Everything can be reached on foot in a few minutes. </p> <h6 class="wow fadeIn"> Contacts </h6> <b class="wow fadeIn">Aaron Doe</b> <p class="wow fadeIn"> <span class="texticon fa fa-comment"></span>All media inquiries related to the Design Community <br> <span class="texticon fa fa-envelope"></span> doe@examle.com <br> <span class="texticon fa fa-phone"></span> 919-123-1233 or 123-123-123 </p> <b class="wow fadeIn">Lyn Doe</b> <p class="wow fadeIn"> Event Customer Service Manager<br> <span class="texticon fa fa-comment"></span>Questions about conference registration. <br> <span class="texticon fa fa-envelope"></span>designlive@example.com <br> <span class="texticon fa fa-phone"></span>1-123-123-1233, option 2 </p> <a href="#" class="contact_icon fa fa-facebook wow fadeInUp"> </a> <a href="#" class="contact_icon fa fa-twitter wow fadeInUp"> </a> <a href="#" class="contact_icon fa fa-google-plus wow fadeInUp"> </a> <a href="#" class="contact_icon fa fa-pinterest-p wow fadeInUp"> </a> <a href="#" class="contact_icon fa fa-sellsy wow fadeInUp"> </a> </div> <div class="mini_gap"> </div> </div> </div> </div> <script src="scripts/minify.js"></script></div>'),
  a.put("views/preview.html",""),a.put("views/profile.html","<h1>PROFILE</h1>"),a.put("views/registro.html",'<div class="gap"></div> <div id="planilla-registro" class="seccion planilla"> <div class="contenedor_sec"> <div class="titulo wow fadeInDown"> <h2 class="sombra_blanco_gris"> <i class="fa fa-user-plus"></i>REGISTRATE </h2> <p>¿Querés participar?</p> <p><small>REGISTRATE PARA CREAR TU PERFIL DE JUGADOR Y PARTICIPAR DE LOS TORNEOS.</small></p> </div> <div id="torneo-inner"> <form> <div class="row"> <div class="col-lg-5 col-md-6"> <div class="form-group wow fadeInRightBig"> <label for="nombre">Nombre:</label> <input type="text" class="form-control" id="nombre" placeholder="NOMBRE"> </div> <div class="form-group wow fadeInRightBig"> <label for="apellido">Apellido:</label> <input type="text" class="form-control" id="apellido" placeholder="APELLIDO"> </div> <div class="form-group wow fadeInRightBig"> <label for="email">email:</label> <input type="email" class="form-control" id="email" placeholder="EMAIL"> </div> <div class="form-group wow fadeInRightBig"> <label for="contrasenia">Contraseña:</label> <input type="password" class="form-control" id="contrasenia" placeholder="***"> </div> <div class="form-group wow fadeInRightBig"> <label for="contraseniaConf">Confirmar contraseña:</label> <input type="password" class="form-control" id="contraseniaConf" placeholder="***"> </div> <div class="checkbox wow fadeInLeft entrada-1s"> <label> <input type="checkbox"> <span>Acepto los <a href="">Términos y condiciones</a> del servicio.</span> </label> </div> <div class="mini_gap"></div> <a style="visibility: visible; animation-name: bounceInRight" class="wow bounceInRight btn eventime_button animated" href="#about_menu" role="button">REGISTRARME</a> </div> </div> </form> </div> </div> </div>'),a.put("views/respaldos-codigos-funcionales.html",""),a.put("views/revista.html",'<div class="seccion" style="margin-top: 100px; min-height: 600px"> <h1 class="text-center">PROXIMAMENTE</h1> </div>'),a.put("views/torneo.html",'<div class="gap"></div> <div id="ficha-torneo" class="seccion fondo_gris"> <div class="contenedor_sec torneo_info_inside"> <div class="titulo wow fadeInDown"> <h2 class="sombra_gris_blanco"> <i class="icon-copa"></i>Torneo </h2> </div> <div id="torneo-descripcion"> <div class="row"> <div class="col-md-8"> <div class="datos-generales"> <h1 class="wow fadeInLeft">{{competition.title}}</h1> <div class="wow fadeInLeft afiche"> <img ng-src="http://images.collab-dev.com/490x/smart/slam/{{competition.cover_photo}}"> </div> </div> </div> <div class="panel-lateral col-md-4"> <div class="fecha wow fadeInDown"> <span class="icono"><i class="fa fa-clock-o"></i></span> <span class="num">{{competition.event_date | moment: \'DD\'}}</span> <span class="mes">{{competition.event_date | moment: \'MMM\'}}</span> <span class="linea">|</span> <span class="hora">{{competition.event_date | moment: \'HH:mm\'}}</span> </div> <div class="lugar wow fadeInDown"> <span class="icono"><i class="fa fa-map-marker"></i></span> <span class="lugar-nombre">{{competition.place}}</span> <span class="direccion"><a href="">{{competition.location.formatted_address}}</a></span> </div> <div class="mini_gap"></div> <a style="visibility: visible; animation-name: bounceInRight" class="wow bounceInRight btn btn_principal animated entrada-1s animated" href role="button" ng-click="participate(competition)">PARTICIPAR</a> <div class="gap"></div> <div class="hashtag-info wow fadeInRight"> <span class="icono">#</span> <span>{{competition.hashtag}}</span> <span class="aclaracion">fb - twitter - instagram - youtube</span> </div> <div class="fb-event wow fadeInRight"> <a href=""> <span class="icono"><i class="fa fa-facebook-square"></i></span> <span>ver evento</span> </a> </div> <div class="organiza wow fadeInRight"> <span class="o-tit">ORGANIZADO POR:</span> <a href=""> <span>{{competition.author.name}} {{competition.author.lastname}}</span> </a> </div> </div> </div> </div> </div> </div> <div id="torneo_content"> <!-- Nav tabs --> <div class="tabs_lookeadas"> <ul class="nav nav-tabs panel_selector" role="tablist"> <li role="presentation" class="active"><a data-target="#tab_info" aria-controls="tab_info" role="tab" data-toggle="tab"><i class="fa fa-angle-right"></i> Info</a></li> <li role="presentation"><a data-target="#tab_jugadores" aria-controls="tab_jugadores" role="tab" data-toggle="tab"><i class="icon-jugador"></i>Jugadores</a></li> <li role="presentation"><a data-target="#tab_videos" aria-controls="tab_videos" role="tab" data-toggle="tab"><i class="icon-video"></i>Videos</a></li> <li role="presentation"><a data-target="#tab_fotos" aria-controls="tab_fotos" role="tab" data-toggle="tab"><i class="fa fa-camera-retro"></i>Fotos</a></li> <li role="presentation"><a data-target="#tab_comentarios" aria-controls="tab_comentarios" role="tab" data-toggle="tab"><i class="fa fa-comment-o"></i>Comentarios</a></li> </ul> </div> <!-- Tab panes --> <div class="tab-content contenedor_sec"> <div role="tabpanel" class="tab-pane fade in active" id="tab_info"> <div class="descripcion"> <p> {{competition.description}} </p> </div> <div class="reglas"> <h2><small><i class="fa fa-chevron-right"></i></small> REGLAS:</h2> <p> {{competition.rules}} </p> </div> <div class="gap"></div> </div> <div role="tabpanel" class="tab-pane fade" id="tab_jugadores"> <div class="torneo_info_inside"> <div class="row"> <div class="col-xs-6 col-sm-4 col-md-3" ng-repeat="participant in competition.users"> <div class="tarjeta_jugador"> <a ng-href="/#/jugador/{{participant.id}}"><img ng-src="http://images.collab-dev.com/150x/smart/slam/profiles/{{participant.photo}}"></a> <div class="jug_resumen"> <h3>{{participant.name}} {{participant.lastname}}</h3> <div class="data-box"> <span class="icon-box"><i class="icon-copa"></i></span> <h4>TORNEOS</h4> <p>+{{participant.competitions.length}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{participant.medias.length}}</p> </div> </div> </div> </div> </div> <div class="mini_gap"></div> <a style="visibility: visible; animation-name: bounceInRight" class="wow bounceInRight btn eventime_button animated entrada-0s5" href="#about_menu" role="button">CARGAR MÁS..</a> </div> </div> <div role="tabpanel" class="tab-pane fade" id="tab_videos"> <div class="row"> <div class="col-xs-11 col-sm-6 col-lg-4" ng-repeat="video in competition.videos"> <div class="tarjeta_video"> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" ng-src="{{getYoutubeSrc(video)}}" allowfullscreen></iframe> </div> </div> </div> </div> </div> <div role="tabpanel" class="tab-pane fade" id="tab_fotos">...</div> <div role="tabpanel" class="tab-pane fade" id="tab_comentarios">...</div> </div> </div>'),a.put("views/torneos.html",'<div class="gap"></div> <div id="sec_torneoPrincipal" class="seccion fondo_claro" ng-if="summary.next_competition"> <div class="contenedor_sec torneo_principal torneo_info_inside"> <div class="titulo"> <h2 class="en_color_principal sombra_blanco_gris"> <i class="icon-copa"></i>Próximos Torneos <small class="label_region">en {{summary.name}}</small> </h2> </div> <div class="row"> <div class="col-sm-12 col-md-5"> <img ng-src="http://images.collab-dev.com/190x/smart/slam/{{summary.next_competition.cover_photo}}"> <div class="ver_mas izq"><a ng-href="/#/torneo/{{summary.next_competition.id}}"><h3><i class="fa fa-caret-right"></i>ver más</h3></a></div> </div> <div class="col-xs-12 col-sm-6 col-md-3"> <a href=""> <h4 class="torneo_nombre">{{summary.next_competition.title}}</h4> </a> <div class="torneo_fecha"> <span class="icon-box"><i class="fa fa-clock-o"></i></span> <span class="num">{{summary.next_competition.event_date | moment: \'DD\'}}</span> <span class="mes">{{summary.next_competition.event_date | moment: \'MMM\'}}</span> <span class="linea">|</span> <span class="hora">{{summary.next_competition.event_date | moment: \'HH:mm\'}}</span> </div> <div class="torneo_lugar"> <span class="icon-box"><i class="fa fa-map-marker"></i></span> <span class="lugar-nombre">{{summary.next_competition.place}}</span> <span class="direccion"><a href="">{{summary.next_competition.location.formatted_address}}</a></span> </div> <div class="data-box featured"> <span class="icon-box"><i class="icon-jugador"></i></span> <h4><small>JUGADORES</small>CUPOS</h4> <p><small>+{{summary.next_competition.users.length || 0}}</small>+{{summary.next_competition.users_amount - summary.next_competition.users.length}}</p> </div> <a style="visibility: visible; animation-name: bounceInRight" class="btn btn_principal animated entrada-1s animated" href role="button" ng-click="participate(summary.next_competition)">PARTICIPAR</a> <div class="mini_gap"></div> </div> <div class="col-xs-12 col-sm-6 col-md-4 torneo_descripcion"> <p> {{summary.next_competition.description}} </p> </div> </div> </div> <div class="row"> <div class="col-xs-10 col-sm-5 col-md-4" ng-repeat="next in summary.next_competitions" ng-if="next.id != summary.next_competition.id"> <a ng-href="/#/torneo/{{next.id}}" class="no_opacity_hover"> <div class="tarjeta_torneo torneo_info_inside" fecha="{{next.event_date | moment: \'DD MMM\'}}"> <h4 class="torneo_nombre">{{next.title}}</h4> <div class="torneo_resumen"> <div class="data-box"> <span class="icon-box"><i class="icon-jugador"></i></span> <h4>JUGADORES</h4> <p>+{{next.users.length || 0}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{next.videos.length || 0}}</p> </div> <!--div class="data-box">\n                        <span class="icon-box"><i class="fa fa-camera"></i></span>\n                        <h4>FOTOS</h4>\n                        <p>+12</p>\n                    </div>\n\n                    <div class="data-box">\n                        <span class="icon-box"><i class="fa fa-comment-o"></i></span>\n                        <h4>COMENTARIOS</h4>\n                        <p>+12</p>\n                    </div--> </div> <div class="torneo_datos"> <div class="torneo_fecha"> <span class="icon-box"><i class="fa fa-clock-o"></i></span> <span class="hora">{{next.event_date | moment: \'HH:mm\'}}</span> </div> <div class="torneo_lugar"> <span class="icon-box"><i class="fa fa-map-marker"></i></span> <span class="lugar-nombre">{{next.place}}</span> <span class="direccion">{{next.location.formatted_address}}</span> </div> <div class="torneo_hashtag"> <span class="icon-box">#</span> <span class="aclaracion">{{next.hashtag}}</span> </div> </div> <div class="ver_mas"><h3><i class="fa fa-caret-right"></i>ver más</h3></div> </div> </a> </div> </div> </div> <!-- SEC: TORNEOS ANTERIORES --> <div id="sec_torneosAnteriores" class="seccion fondo_gris"> <div class="contenedor_sec torneo_info_inside"> <div class="titulo"> <h2 class="sombra_gris_blanco"> <i class="icon-copa"></i>Torneos Anteriores <small class="label_region">en {{summary.name}}</small> </h2> </div> <div class="form-group"> <a class="btn eventime_button btn_filtro" href="#about_menu" role="button"><i class="fa fa-sort-alpha-asc"></i></a> <a class="btn eventime_button btn_filtro" href="#about_menu" role="button"><i class="fa fa-sort-alpha-desc"></i></a> <a class="btn eventime_button btn_filtro" href="#about_menu" role="button"><i class="fa fa-clock-o"></i> Recientes</a> <a class="btn eventime_button btn_filtro" href="#about_menu" role="button"><i class="icon-copa"></i> Ranking</a> <div class="input-group busqueda"> <input type="text" class="form-control" id="direccion" placeholder="BÚSQUEDA"> <div class="input-group-addon"><i class="fa fa-search"></i></div> </div> <div class="mini_gap"></div> </div> <div class="row"> <div class="col-xs-10 col-sm-5 col-md-4" ng-repeat="past in summary.past_competitions"> <a ng-href="/#/torneo/{{past.id}}" class="no_opacity_hover"> <div class="tarjeta_torneo torneo_info_inside" fecha="{{past.event_date | moment: \'DD MMM\'}}"> <h4 class="torneo_nombre">{{past.title}}</h4> <div class="torneo_resumen"> <div class="data-box"> <span class="icon-box"><i class="icon-jugador"></i></span> <h4>JUGADORES</h4> <p>+{{past.users.length || 0}}</p> </div> <div class="data-box"> <span class="icon-box"><i class="icon-video"></i></span> <h4>VIDEOS</h4> <p>+{{past.videos.length || 0}}</p> </div> <!--div class="data-box">\n                                <span class="icon-box"><i class="fa fa-camera"></i></span>\n                                <h4>FOTOS</h4>\n                                <p>+12</p>\n                            </div>\n\n                            <div class="data-box">\n                                <span class="icon-box"><i class="fa fa-comment-o"></i></span>\n                                <h4>COMENTARIOS</h4>\n                                <p>+12</p>\n                            </div--> </div> <div class="torneo_datos"> <div class="torneo_fecha"> <span class="icon-box"><i class="fa fa-clock-o"></i></span> <span class="hora">{{past.event_date | moment: \'HH:mm\'}}</span> </div> <div class="torneo_lugar"> <span class="icon-box"><i class="fa fa-map-marker"></i></span> <span class="lugar-nombre">{{past.place}}</span> <span class="direccion">{{past.location.formatted_address}}</span> </div> <div class="torneo_hashtag"> <span class="icon-box">#</span> <span class="aclaracion">{{past.hashtag}}</span> </div> </div> <div class="ver_mas"><h3><i class="fa fa-caret-right"></i>ver más</h3></div> </div> </a> </div> </div> <div class="mini_gap"></div> </div> </div>'),a.put("views/videos.html",'<div class="gap"></div> <div id="sec_jugadores" class="seccion fondo_gris"> <div class="contenedor_sec torneo_info_inside"> <div class="titulo wow fadeInDown"> <h2 class="sombra_gris_blanco"> <i class="icon-jugador"></i>Videos <small class="label_region">en {{summary.name}} </small> </h2> </div> <div class="mini_gap"></div> <!-- FILTROS: --> <div class="form-group"> <a class="btn eventime_button btn_filtro" href role="button" ng-click="direction(false)"><i class="fa fa-sort-alpha-asc"></i></a> <a class="btn eventime_button btn_filtro" href role="button" ng-click="direction(true)"><i class="fa fa-sort-alpha-desc"></i></a> <a class="btn eventime_button btn_filtro" href role="button" ng-click="sort(\'date\')"><i class="fa fa-clock-o"></i> Recientes</a> <a class="btn eventime_button btn_filtro" href role="button" ng-click="sort(\'ranking\')"><i class="icon-copa"></i> Ranking</a> <div class="input-group busqueda"> <input type="text" ng-model="search_term" class="form-control" id="direccion" placeholder="BÚSQUEDA"> <div class="input-group-addon" ng-click="doSearch()"><i class="fa fa-search"></i></div> </div> </div> <div class="row"> <div class="col-xs-11 col-md-6 col-lg-4" ng-repeat="video in videos"> <div class="tarjeta_video wow fadeInLeft"> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" ng-src="{{getYoutubeSrc(video)}}" allowfullscreen></iframe> </div> </div> </div> </div> <div class="mini_gap"></div> <a style="visibility: visible; animation-name: bounceInRight" class="wow bounceInRight btn eventime_button animated entrada-0s5" href="#about_menu" role="button">CARGAR MÁS..</a> <div class="mini_gap"></div> </div> </div>')}]);