Commit 0664a5e3 authored by Gonzalo Fabian Cameto Hernandez's avatar Gonzalo Fabian Cameto Hernandez
Browse files

Nuevo war Wildfly

parent b757b360
......@@ -20,7 +20,7 @@
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.22",
"@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.26",
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"ionicons": "^3.0.0",
......
......@@ -903,7 +903,6 @@ export class CanvasComponent {
var _x = undefined;
var _y = undefined;
var pendiente = undefined;
var delta = 0.50;
var h = 1/this.precision;
var delta = this.rangeX/this.precision;
var anchoPunto = this.rangeX/200;
......
//export const SERVER = 'https://matefun.mybluemix.net';
//export const GHCI_URL = 'wss://matefun.mybluemix.net/endpoint';
export const SERVER = 'http://localhost:9080';
export const GHCI_URL = 'ws://localhost:9080/endpoint';
//export const SERVER = 'http://localhost:9080';
//export const GHCI_URL = 'ws://localhost:9080/endpoint';
//Configuracion dinamica pensando en servidor con ip dinamica
//export const SERVER = window.location.protocol + '//' + window.location.host;//'http://localhost:9090';
//export const GHCI_URL = window.location.protocol == 'http:'? 'ws://'+window.location.host+'/endpoint': 'wss://'+window.location.host+'/endpoint';
export const SERVER = window.location.protocol + '//' + window.location.host;//'http://localhost:9090';
export const GHCI_URL = window.location.protocol == 'http:'? 'ws://'+window.location.host+'/endpoint': 'wss://'+window.location.host+'/endpoint';
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]
RewriteRule ^ /index.html [L]
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
webpackJsonp([5],{"8B4z":function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=["[_nghost-%COMP%]{display:block}.welcome-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;background:#222;text-align:center;color:#fff;padding:10em}.welcome-page[_ngcontent-%COMP%] .col-lg-8[_ngcontent-%COMP%]{padding:0}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:hsla(0,0%,100%,.8);background:#222;border:2px solid hsla(0,0%,100%,.8);font-size:18px;line-height:40px;padding:0 25px}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:active, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:focus, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:hover, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid #fff;outline:none}.welcome-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}"]},"M+gY":function(n,l,t){"use strict";function e(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,21,"div",[["class","welcome-page"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](2,0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](4,0,null,null,15,"div",[["class","col-md-10 push-md-1"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](6,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["404 - Page Not Found"])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](9,0,null,null,1,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["This page does not exist"])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](12,0,null,null,6,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵeld"](14,0,null,null,3,"a",[["class","btn rounded-btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,l,t){var e=!0;if("click"===l){e=!1!==c["ɵnov"](n,15).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&e}return e},null,null)),c["ɵdid"](15,671744,null,0,r.y,[r.c,r.a,d.LocationStrategy],{routerLink:[0,"routerLink"]},null),c["ɵpad"](16,1),(n()(),c["ɵted"](-1,null,["Restart"])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵted"](-1,null,["\n "])),(n()(),c["ɵted"](-1,null,["\n"]))],function(n,l){n(l,15,0,n(l,16,0,"/login"))},function(n,l){n(l,14,0,c["ɵnov"](l,15).target,c["ɵnov"](l,15).href)})}function u(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,0,null,null,1,"app-not-found",[],null,null,null,e,f)),c["ɵdid"](1,49152,null,0,a.a,[],null,null)],null,null)}var o=t("8B4z"),c=t("/oeL"),r=t("BkNc"),d=t("qbdv"),a=t("uAtf");t.d(l,"a",function(){return g});var i=[o.a],f=c["ɵcrt"]({encapsulation:0,styles:i,data:{}}),g=c["ɵccf"]("app-not-found",a.a,u,{},{},[])},Vg0N:function(n,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=t("/oeL"),u=t("ugLq"),o=t("M+gY"),c=t("BkNc"),r=t("xJME"),d=t("uAtf");t.d(l,"NotFoundModuleNgFactory",function(){return a});var a=e["ɵcmf"](u.a,[],function(n){return e["ɵmod"]([e["ɵmpd"](512,e.ComponentFactoryResolver,e["ɵCodegenComponentFactoryResolver"],[[8,[o.a]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["ɵmpd"](512,c.x,c.x,[[2,c.k],[2,c.c]]),e["ɵmpd"](512,r.a,r.a,[]),e["ɵmpd"](512,u.a,u.a,[]),e["ɵmpd"](1024,c.t,function(){return[[{path:"",component:d.a}]]},[])])})},uAtf:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},ugLq:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},xJME:function(n,l,t){"use strict";var e=t("uAtf");t.d(l,"a",function(){return u});var u=(e.a,function(){function n(){}return n}())}});
\ No newline at end of file
webpackJsonp([5,11],{"+YJN":function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},ALD8:function(n,l,t){"use strict";function e(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,null,null,21,"div",[["class","welcome-page"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,15,"div",[["class","col-md-10 push-md-1"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),c["ɵted"](null,["404 - Page Not Found"])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,1,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["This page does not exist"])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,6,"p",[["class","lead"]],null,null,null,null,null)),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵeld"](0,null,null,3,"a",[["class","btn rounded-btn"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(n,l,t){var e=!0;if("click"===l){e=!1!==c["ɵnov"](n,15).onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)&&e}return e},null,null)),c["ɵdid"](671744,null,0,r.y,[r.c,r.a,d.LocationStrategy],{routerLink:[0,"routerLink"]},null),c["ɵpad"](1),(n()(),c["ɵted"](null,["Restart"])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵted"](null,["\n "])),(n()(),c["ɵted"](null,["\n"]))],function(n,l){n(l,15,0,n(l,16,0,"/login"))},function(n,l){n(l,14,0,c["ɵnov"](l,15).target,c["ɵnov"](l,15).href)})}function u(n){return c["ɵvid"](0,[(n()(),c["ɵeld"](0,null,null,1,"app-not-found",[],null,null,null,e,s)),c["ɵdid"](49152,null,0,a.a,[],null,null)],null,null)}var o=t("JpYy"),c=t("3j3K"),r=t("5oXY"),d=t("2Je8"),a=t("+YJN");t.d(l,"a",function(){return f});var i=[o.a],s=c["ɵcrt"]({encapsulation:0,styles:i,data:{}}),f=c["ɵccf"]("app-not-found",a.a,u,{},{},[])},IAxl:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=function(){function n(){}return n}()},JpYy:function(n,l,t){"use strict";t.d(l,"a",function(){return e});var e=["[_nghost-%COMP%]{display:block}.welcome-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;background:#222;text-align:center;color:#fff;padding:10em}.welcome-page[_ngcontent-%COMP%] .col-lg-8[_ngcontent-%COMP%]{padding:0}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:hsla(0,0%,100%,.8);background:#222;border:2px solid hsla(0,0%,100%,.8);font-size:18px;line-height:40px;padding:0 25px}.welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:active, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:focus, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:hover, .welcome-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid #fff;outline:none}.welcome-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}"]},skyt:function(n,l,t){"use strict";var e=t("+YJN");t.d(l,"a",function(){return u});var u=(e.a,function(){function n(){}return n}())},twyU:function(n,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var e=t("3j3K"),u=t("IAxl"),o=t("ALD8"),c=t("5oXY"),r=t("skyt"),d=t("+YJN");t.d(l,"NotFoundModuleNgFactory",function(){return a});var a=e["ɵcmf"](u.a,[],function(n){return e["ɵmod"]([e["ɵmpd"](512,e.ComponentFactoryResolver,e["ɵCodegenComponentFactoryResolver"],[[8,[o.a]],[3,e.ComponentFactoryResolver],e.NgModuleRef]),e["ɵmpd"](512,c.x,c.x,[[2,c.k],[2,c.c]]),e["ɵmpd"](512,r.a,r.a,[]),e["ɵmpd"](512,u.a,u.a,[]),e["ɵmpd"](1024,c.t,function(){return[[{path:"",component:d.a}]]},[])])})}});
\ No newline at end of file
webpackJsonp([6],{"9+Rk":function(n,l,o){"use strict";o.d(l,"a",function(){return t});var t=function(){function n(){}return n}()},Gcjq:function(n,l,o){"use strict";function t(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,7,"div",[["class","loading"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](2,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](4,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](6,0,null,null,0,"div",[["class","loading-bar"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "]))],null,null)}function e(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,8,"div",[["class","login-error"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](2,0,null,null,5,"ngb-alert",[],null,null,null,d.b,d.c)),r["ɵdid"](3,49152,null,0,c.a,[g.a],{dismissible:[0,"dismissible"],type:[1,"type"]},null),(n()(),r["ɵted"](-1,0,["\n "])),(n()(),r["ɵeld"](5,0,null,0,1,"strong",[],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["Error!"])),(n()(),r["ɵted"](7,0,[" ",".\n "])),(n()(),r["ɵted"](-1,null,["\n "]))],function(n,l){n(l,3,0,!1,"danger")},function(n,l){n(l,7,0,l.component.errorText)})}function u(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,52,"div",[["class","login-page"],["style","background: #004869;"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](2,0,null,null,49,"div",[["class","row"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](4,0,null,null,46,"div",[["class","col-md-4 push-md-4"],["style","padding: 55px 35px;background: rgba(255,255,255,0.15);border-radius: 8px;"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](6,0,null,null,1,"h1",[],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["MateFun"])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](9,0,null,null,40,"form",[["novalidate",""],["role","form"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(n,l,o){var t=!0;if("submit"===l){t=!1!==r["ɵnov"](n,11).onSubmit(o)&&t}if("reset"===l){t=!1!==r["ɵnov"](n,11).onReset()&&t}return t},null,null)),r["ɵdid"](10,16384,null,0,s["ɵbf"],[],null,null),r["ɵdid"](11,16384,null,0,s.NgForm,[[8,null],[8,null]],null,null),r["ɵprd"](2048,null,s.ControlContainer,null,[s.NgForm]),r["ɵdid"](13,16384,null,0,s.NgControlStatusGroup,[s.ControlContainer],null,null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](15,0,null,null,21,"div",[["class","form-content"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](17,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](19,0,null,null,5,"input",[["class","form-control input-underline input-lg"],["name","cedula"],["placeholder","Usuario"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,l,o){var t=!0,e=n.component;if("input"===l){t=!1!==r["ɵnov"](n,20)._handleInput(o.target.value)&&t}if("blur"===l){t=!1!==r["ɵnov"](n,20).onTouched()&&t}if("compositionstart"===l){t=!1!==r["ɵnov"](n,20)._compositionStart()&&t}if("compositionend"===l){t=!1!==r["ɵnov"](n,20)._compositionEnd(o.target.value)&&t}if("ngModelChange"===l){t=!1!==(e.model.cedula=o)&&t}return t},null,null)),r["ɵdid"](20,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r["ɵdid"](22,671744,null,0,s.NgModel,[[2,s.ControlContainer],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,s.NgControl,null,[s.NgModel]),r["ɵdid"](24,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n\n "])),(n()(),r["ɵeld"](27,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](29,0,null,null,5,"input",[["class","form-control input-underline input-lg"],["name","password"],["placeholder","Contraseña"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(n,l,o){var t=!0,e=n.component;if("input"===l){t=!1!==r["ɵnov"](n,30)._handleInput(o.target.value)&&t}if("blur"===l){t=!1!==r["ɵnov"](n,30).onTouched()&&t}if("compositionstart"===l){t=!1!==r["ɵnov"](n,30)._compositionStart()&&t}if("compositionend"===l){t=!1!==r["ɵnov"](n,30)._compositionEnd(o.target.value)&&t}if("ngModelChange"===l){t=!1!==(e.model.password=o)&&t}if("keyup.enter"===l){t=!1!==e.login()&&t}return t},null,null)),r["ɵdid"](30,16384,null,0,s.DefaultValueAccessor,[r.Renderer2,r.ElementRef,[2,s.COMPOSITION_BUFFER_MODE]],null,null),r["ɵprd"](1024,null,s.NG_VALUE_ACCESSOR,function(n){return[n]},[s.DefaultValueAccessor]),r["ɵdid"](32,671744,null,0,s.NgModel,[[2,s.ControlContainer],[8,null],[8,null],[2,s.NG_VALUE_ACCESSOR]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r["ɵprd"](2048,null,s.NgControl,null,[s.NgModel]),r["ɵdid"](34,16384,null,0,s.NgControlStatus,[s.NgControl],null,null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n \n "])),(n()(),r["ɵted"](-1,null,["\n\n "])),(n()(),r["ɵeld"](38,0,null,null,1,"a",[["class","btn rounded-btn"],["style","background: transparent;color: white;cursor: pointer;width: 159px;margin-right: 3px;"]],null,[[null,"click"]],function(n,l,o){var t=!0,e=n.component;if("click"===l){t=!1!==e.login()&&t}return t},null,null)),(n()(),r["ɵted"](-1,null,[" Iniciar Sesión "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵeld"](41,0,null,null,1,"a",[["class","btn rounded-btn"],["style","background: transparent;color: white;cursor: pointer;width: 159px;margin-left: 3px;"]],null,[[null,"click"]],function(n,l,o){var t=!0,e=n.component;if("click"===l){t=!1!==e.invitado()&&t}return t},null,null)),(n()(),r["ɵted"](-1,null,[" Invitado "])),(n()(),r["ɵted"](-1,null,["\n  \n "])),(n()(),r["ɵand"](16777216,null,null,1,null,t)),r["ɵdid"](45,16384,null,0,m.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵand"](16777216,null,null,1,null,e)),r["ɵdid"](48,16384,null,0,m.NgIf,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,"ngIf"]},null),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n "])),(n()(),r["ɵted"](-1,null,["\n"])),(n()(),r["ɵted"](-1,null,["\n"]))],function(n,l){var o=l.component;n(l,22,0,"cedula",o.model.cedula);n(l,32,0,"password",o.model.password),n(l,45,0,o.loading),n(l,48,0,o.error&&!o.loading)},function(n,l){n(l,9,0,r["ɵnov"](l,13).ngClassUntouched,r["ɵnov"](l,13).ngClassTouched,r["ɵnov"](l,13).ngClassPristine,r["ɵnov"](l,13).ngClassDirty,r["ɵnov"](l,13).ngClassValid,r["ɵnov"](l,13).ngClassInvalid,r["ɵnov"](l,13).ngClassPending),n(l,19,0,r["ɵnov"](l,24).ngClassUntouched,r["ɵnov"](l,24).ngClassTouched,r["ɵnov"](l,24).ngClassPristine,r["ɵnov"](l,24).ngClassDirty,r["ɵnov"](l,24).ngClassValid,r["ɵnov"](l,24).ngClassInvalid,r["ɵnov"](l,24).ngClassPending),n(l,29,0,r["ɵnov"](l,34).ngClassUntouched,r["ɵnov"](l,34).ngClassTouched,r["ɵnov"](l,34).ngClassPristine,r["ɵnov"](l,34).ngClassDirty,r["ɵnov"](l,34).ngClassValid,r["ɵnov"](l,34).ngClassInvalid,r["ɵnov"](l,34).ngClassPending)})}function a(n){return r["ɵvid"](0,[(n()(),r["ɵeld"](0,0,null,null,1,"app-login",[],null,null,null,u,b)),r["ɵdid"](1,114688,null,0,p.a,[f.a,f.c,C.a,v.a],null,null)],function(n,l){n(l,1,0)},null)}var i=o("ajF7"),r=o("/oeL"),d=o("CVNG"),c=o("PVMJ"),g=o("nVXb"),s=o("bm2B"),p=o("K181"),m=o("qbdv"),f=o("BkNc"),C=o("h7Ol"),v=o("6akk");o.d(l,"a",function(){return M});var h=[i.a],b=r["ɵcrt"]({encapsulation:0,styles:h,data:{}}),M=r["ɵccf"]("app-login",p.a,a,{},{},[])},K181:function(n,l,o){"use strict";var t=o("BkNc"),e=o("h7Ol"),u=o("6akk");o.d(l,"a",function(){return a});var a=function(){function n(n,l,o,t){this.route=n,this.router=l,this.sessionService=o,this.authenticationService=t,this.model={},this.loading=!1,this.error=!1,this.errorText=""}return n.prototype.ngOnInit=function(){this.authenticationService.logout(),this.returnUrl=this.route.snapshot.queryParams.returnUrl||"/matefun"},n.prototype.login=function(){var n=this;this.loading=!0;var l=this;this.authenticationService.login(this.model.cedula,this.model.password).subscribe(function(o){n.router.navigate([n.returnUrl]),l.sessionService.reset()},function(l){n.loading=!1,n.error=!0,n.errorText=l.text()})},n.prototype.invitado=function(){var n=this;this.loading=!0,this.authenticationService.login("invitado","invitado").subscribe(function(l){n.router.navigate([n.returnUrl]),n.sessionService.reset()},function(l){n.loading=!1})},n.ctorParameters=function(){return[{type:t.a},{type:t.c},{type:e.a},{type:u.a}]},n}()},ajF7:function(n,l,o){"use strict";o.d(l,"a",function(){return t});var t=["[_nghost-%COMP%]{display:block}.login-page[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;overflow:auto;background:#222;text-align:center;color:#fff;padding:3em}.login-page[_ngcontent-%COMP%] .col-lg-4[_ngcontent-%COMP%]{padding:0}.login-page[_ngcontent-%COMP%] .input-lg[_ngcontent-%COMP%]{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:0}.login-page[_ngcontent-%COMP%] .input-underline[_ngcontent-%COMP%]{background:0 0;border:none;box-shadow:none;border-bottom:2px solid hsla(0,0%,100%,.5);color:#fff;border-radius:0}.login-page[_ngcontent-%COMP%] .input-underline[_ngcontent-%COMP%]:focus{border-bottom:2px solid #fff;box-shadow:none}.login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]{border-radius:50px;color:hsla(0,0%,100%,.8);background:#222;border:2px solid hsla(0,0%,100%,.8);font-size:18px;line-height:40px;padding:0 25px;cursor:default}.login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:active, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:focus, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:hover, .login-page[_ngcontent-%COMP%] .rounded-btn[_ngcontent-%COMP%]:visited{color:#fff;border:2px solid #fff;outline:none}.login-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:300;margin-top:20px;margin-bottom:10px;font-size:36px}.login-page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:hsla(0,0%,100%,.7)}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{padding:8px 0}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, .login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:hsla(0,0%,100%,.6)!important}.login-page[_ngcontent-%COMP%] .form-content[_ngcontent-%COMP%]{padding:40px 0}.login-page[_ngcontent-%COMP%] .user-avatar[_ngcontent-%COMP%]{border-radius:50%;border:2px solid #fff}.loading[_ngcontent-%COMP%]{position:relative;top:50px;left:49%}.loading[_ngcontent-%COMP%] .loading-bar[_ngcontent-%COMP%]{background-color:#fff}.login-error[_ngcontent-%COMP%]{position:relative;top:20px}"]},njmd:function(n,l,o){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var t=o("/oeL"),e=o("9+Rk"),u=o("Gcjq"),a=o("CVNG"),i=o("ClIn"),r=o("CU81"),d=o("IkMs"),c=o("DlWC"),g=o("m0eP"),s=o("MsHi"),p=o("bm2B"),m=o("qbdv"),f=o("KRwK"),C=o("dN2u"),v=o("nVXb"),h=o("Wv1e"),b=o("QGDq"),M=o("0H8/"),_=o("5FV4"),O=o("f1rf"),P=o("KSV9"),x=o("CuDZ"),y=o("lA7/"),N=o("HRzg"),k=o("Qyse"),S=o("NmeZ"),I=o("7zUS"),R=o("59zy"),w=o("+E40"),E=o("V6Dl"),V=o("6akk"),F=o("CPp0"),U=o("BkNc"),A=o("oJqz"),D=o("wnyu"),z=o("EoP3"),L=o("PY9B"),T=o("3rU7"),B=o("4HaF"),G=o("DaIH"),K=o("Zz+K"),j=o("2waW"),q=o("IBeK"),H=o("g5gQ"),W=o("xBEz"),J=o("PuIS"),Q=o("U0Tu"),Z=o("Cb36"),X=o("5h8W"),Y=o("6ade"),$=o("0WLp"),nn=o("K181");o.d(l,"LoginModuleNgFactory",function(){return ln});var ln=t["ɵcmf"](e.a,[],function(n){return t["ɵmod"]([t["ɵmpd"](512,t.ComponentFactoryResolver,t["ɵCodegenComponentFactoryResolver"],[[8,[u.a,a.a,i.a,r.a,d.a,c.a,g.a,s.a]],[3,t.ComponentFactoryResolver],t.NgModuleRef]),t["ɵmpd"](4608,p["ɵi"],p["ɵi"],[]),t["ɵmpd"](4608,m.NgLocalization,m.NgLocaleLocalization,[t.LOCALE_ID]),t["ɵmpd"](4608,f.a,f.a,[t.ApplicationRef,t.Injector,t.ComponentFactoryResolver]),t["ɵmpd"](4608,C.a,C.a,[t.ComponentFactoryResolver,t.Injector,f.a]),t["ɵmpd"](4608,v.a,v.a,[]),t["ɵmpd"](4608,h.a,h.a,[]),t["ɵmpd"](4608,b.a,b.a,[]),t["ɵmpd"](4608,M.a,M.a,[]),t["ɵmpd"](4608,_.a,_.a,[]),t["ɵmpd"](4608,O.a,O.a,[]),t["ɵmpd"](4608,P.a,P.b,[]),t["ɵmpd"](4608,x.a,x.b,[]),t["ɵmpd"](4608,y.a,y.b,[]),t["ɵmpd"](4608,N.a,N.a,[]),t["ɵmpd"](4608,k.a,k.a,[]),t["ɵmpd"](4608,S.a,S.a,[]),t["ɵmpd"](4608,I.a,I.a,[]),t["ɵmpd"](4608,R.a,R.a,[]),t["ɵmpd"](4608,w.a,w.a,[]),t["ɵmpd"](4608,E.a,E.a,[]),t["ɵmpd"](4608,V.a,V.a,[F.i]),t["ɵmpd"](512,p["ɵba"],p["ɵba"],[]),t["ɵmpd"](512,p.FormsModule,p.FormsModule,[]),t["ɵmpd"](512,m.CommonModule,m.CommonModule,[]),t["ɵmpd"](512,U.x,U.x,[[2,U.k],[2,U.c]]),t["ɵmpd"](512,A.a,A.a,[]),t["ɵmpd"](512,D.a,D.a,[]),t["ɵmpd"](512,z.a,z.a,[]),t["ɵmpd"](512,L.a,L.a,[]),t["ɵmpd"](512,T.a,T.a,[]),t["ɵmpd"](512,B.a,B.a,[]),t["ɵmpd"](512,G.a,G.a,[]),t["ɵmpd"](512,K.a,K.a,[]),t["ɵmpd"](512,j.a,j.a,[]),t["ɵmpd"](512,q.a,q.a,[]),t["ɵmpd"](512,H.a,H.a,[]),t["ɵmpd"](512,W.a,W.a,[]),t["ɵmpd"](512,J.a,J.a,[]),t["ɵmpd"](512,Q.a,Q.a,[]),t["ɵmpd"](512,Z.a,Z.a,[]),t["ɵmpd"](512,X.a,X.a,[]),t["ɵmpd"](512,Y.a,Y.a,[]),t["ɵmpd"](512,$.a,$.a,[]),t["ɵmpd"](512,e.a,e.a,[]),t["ɵmpd"](1024,U.t,function(){return[[{path:"",component:nn.a}]]},[])])})},oJqz:function(n,l,o){"use strict";var t=o("K181");o.d(l,"a",function(){return e});var e=(t.a,function(){function n(){}return n}())}});
\ No newline at end of file
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Proyecto MateFun</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- despues lo saco de aca -->
<!-- <link rel="stylesheet" type="text/css" href="node_modules/codemirror/addon/hint/show-hint.css"> -->
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
<link href="styles.48c12e7a786677f044dc.bundle.css" rel="stylesheet"/></head>
<body>
<app-root>
<div class="loading">
<div class="loading-bar"></div>
<div class="loading-bar"></div>
<div class="loading-bar"></div>
<div class="loading-bar"></div>
<div class="loading-bar"></div>
</div>
</app-root>
<script type="text/javascript" src="inline.c090ab38b6b424e6649f.bundle.js"></script><script type="text/javascript" src="polyfills.fea873d1973cf1b50182.bundle.js"></script><script type="text/javascript" src="scripts.32b570002eddbb8f9caa.bundle.js"></script><script type="text/javascript" src="vendor.d0fc90766e2861f3dcab.bundle.js"></script><script type="text/javascript" src="main.62e4789477e889acbf3c.bundle.js"></script></body>
</html>
<!doctype html><html><head><meta charset="utf-8"><title>Proyecto MateFun</title><base href="/"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/x-icon" href="favicon.ico"><!-- despues lo saco de aca --><!-- <link rel="stylesheet" type="text/css" href="node_modules/codemirror/addon/hint/show-hint.css"> --><script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script><script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script><link href="styles.aedd881417e13b7e91de.bundle.css" rel="stylesheet"/></head><body><app-root><div class="loading"><div class="loading-bar"></div><div class="loading-bar"></div><div class="loading-bar"></div><div class="loading-bar"></div><div class="loading-bar"></div></div></app-root><script type="text/javascript" src="inline.913a63f4ac14aae85d5b.bundle.js"></script><script type="text/javascript" src="polyfills.0ae3b4f3e37e6249952f.bundle.js"></script><script type="text/javascript" src="scripts.efaaeb35620859890388.bundle.js"></script><script type="text/javascript" src="vendor.28df4c379f8c8b804b36.bundle.js"></script><script type="text/javascript" src="main.b97df27904c57669405d.bundle.js"></script></body></html>
\ No newline at end of file
!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var f,u,i,d=0,l=[];d<t.length;d++)u=t[d],o[u]&&l.push(o[u][0]),o[u]=0;for(f in c)Object.prototype.hasOwnProperty.call(c,f)&&(e[f]=c[f]);for(n&&n(t,c,a);l.length;)l.shift()();if(a)for(d=0;d<a.length;d++)i=r(r.s=a[d]);return i};var t={},o={12:0};r.e=function(e){function n(){a.onerror=a.onload=null,clearTimeout(f);var r=o[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}if(0===o[e])return Promise.resolve();if(o[e])return o[e][2];var t=new Promise(function(r,n){o[e]=[r,n]});o[e][2]=t;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,r.nc&&a.setAttribute("nonce",r.nc),a.src=r.p+""+e+"."+{0:"1cf3c981b4810009465b",1:"41cb59b8f355e9241f05",2:"b856a7489ad17cab0edc",3:"cf1c44ac5f53ac78dbc0",4:"944819365f9d2d51724d",5:"59cc434c85d03332d50a",6:"bb496a10043de2a02b50",7:"0ae3b4f3e37e6249952f",8:"b97df27904c57669405d",9:"60839f966270b27d9f76",10:"efaaeb35620859890388"}[e]+".chunk.js";var f=setTimeout(n,12e4);return a.onerror=a.onload=n,c.appendChild(a),t},r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,n,t){r.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(n,"a",n),n},r.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r.p="",r.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment