<!doctype html>
<html lang="en">
	<style>
						        content {
						            width:100%;
						            height:100%;
						        }
			    </style>
	<title>Login - EASYProcess</title>
	<script src='https://code.jquery.com/jquery-3.5.1.min.js' integrity='sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=' crossorigin='anonymous'></script>
	<script src='../../scripts/MVC_Event.js' crossorigin='anonymous'></script>
	<script src='../../scripts/MVC_Validation.js' crossorigin='anonymous'></script>
	<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
		<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
		<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css'></link>
		<link rel='stylesheet' href='../../scripts/plugins/bootstrap/css/bootstrap-dialog.min.css'/>
		<script src='../../scripts/plugins/bootstrap/bootstrap-dialog.min.js'></script>
		<script src='../../scripts/plugins/bootstrap/bootstrap-maxlength.min.js'></script>
		<script src='../../scripts/plugins/jquery/jquery.showLoading.min.js'></script>
		<script defer src ='//cdn.jsdelivr.net/npm/less@3.13' ></script>
		<link rel="icon" href="https://www.krisesystems.com/wp-content/themes/k-rise/favicons/favicon.png" type="image/x-icon">
			<link rel="shortcut icon" href="https://www.krisesystems.com/wp-content/themes/k-rise/favicons/favicon.png" type="image/x-icon">
				<link rel="stylesheet" href="https://portals.carico.com/Applications/21000742/css/style.css"/>
				<link rel="stylesheet" href="https://portals.carico.com/Applications/21000742/css/floating-labels.css"/>
				<link rel="stylesheet" href="https://portals.carico.com/Applications/21000742/css/amaran.css.css"/>
                <link rel="stylesheet" href="https://portals.carico.com/Applications/21000742/css/Carico.css"></link>
				<script src="https://portals.carico.com/Applications/21000742/js/TextBox.js"></script>
				<link href="https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp" rel="stylesheet">
					<meta charset="utf-8">
						<!-- These meta and og properties will need to be filled -->
						<meta name="description" content="">
							<meta name="viewport" content="width=device-width, initial-scale=1">
								<meta property="og:title" content="">
									<meta property="og:type" content="">
										<meta property="og:url" content="">
											<meta property="og:image" content="">
												<link rel="apple-touch-icon" href="">
													<meta name="theme-color" content="#fafafa">
														<header>
															<nav class="navbar fixed-top bg-light shadow" style="height: 6.25rem;">
																<div>
																	<a href="#" class="d-none d-md-inline-block">
																		<img src="https://platform1.krisesystems.com/DV/Applications/21000742/images/turquoise-carico-logo.png" alt="Carico" class="img-fluid" style="width: 100px; height: auto;" />
																	</a>
																</div>
																<div>
																	<h3>Welcome to the Carico Portal...</h3>
																	<p><!-- by Carico --></p>
																</div>
															</nav>
														</header>
														<div>
															<main>
																<content><view isenabled="True" title="" causesvalidation="Yes" viewid="VIEW-10000106" viewname="login" width="100%" style="table-layout: fixed;"><span><table isenabled="True" title="" controltype="table" causesvalidation="Yes" width="100%" height="100%" cellspacing="5" cellpadding="5" align="Center" style="width:100%;height:100%;table-layout: fixed;"><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" align="Center" controltype="cell" causesvalidation="Yes" style="width:100%;"><table isenabled="True" title="" controltype="table" causesvalidation="Yes" width="100%" cellspacing="5" cellpadding="5" align="Center" style="position: relative; padding: 50px; width: 100%; max-width: 600px; margin: auto !important; background: white; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;"><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" align="Center" controltype="cell" causesvalidation="Yes" style="width:100%;padding: 50px;"><table isenabled="True" title="" class="LoginTable" controltype="table" causesvalidation="Yes" width="100%" cellspacing="5" cellpadding="5" style="width:100%;"><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" controltype="cell" causesvalidation="Yes" style="width:100%;"><span isenabled="True" title="" controltype="htmlgenericcontrol" causesvalidation="Yes" style="font-family: 'Font Awesome 5 Free';"><h2><i class="fas fa-lock" /></h2></span></td></tr><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" controltype="cell" causesvalidation="Yes" style="width:100%;"><div template="Modern" class="form-floating" visible="" style="width:100%;"><input id="UserId" name="UserId" containerid="VIEW-10000106" isenabled="True" title="" class="form-control" controltype="textbox" causesvalidation="Yes" type="text" value="" placeholder="UserId" style="width:100%;" onkeydown="TextBox_Submit(event, this, 'LoginButton')" /><label for="UserId">UserId</label></div></td></tr><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" controltype="cell" causesvalidation="Yes" style="width:100%;"><div template="Modern" class="form-floating" visible="" style="width:100%;"><input id="Password" name="Password" containerid="VIEW-10000106" isenabled="True" title="" class="form-control" controltype="textbox" causesvalidation="Yes" type="password" value="" style="width:100%;" onkeydown="TextBox_Submit(event, this, 'LoginButton')" /><label for="Password">Password</label></div></td></tr><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" controltype="cell" causesvalidation="Yes" style="width:100%;"><div id="ErrorMessage" name="ErrorMessage" containerid="VIEW-10000106" isenabled="True" title="" controltype="label" causesvalidation="Yes" control-type="label" style="color:red;"><div control-title="" style="pointer-events:none;"></div><span style="pointer-events:none;"><span ></span></span></div></td></tr><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" controltype="cell" causesvalidation="Yes" style="width:100%;"><span id="login_LoginButton_click_ScriptTag" style="display:none;"><script>
																						function login_LoginButton_click(event, target, loopIndex, modelDataObj) { if(loopIndex == null || loopIndex == undefined || loopIndex == "") { loopIndex = 0; if(event.detail?.WorkData?._LoopData?.LoopIndex) { loopIndex = event.detail.WorkData._LoopData.LoopIndex } } if(target != null && target != undefined) { let targetId = target.id; if(targetId != null && targetId != undefined && targetId !="") { let modelDataObjAttribute = document.getElementById(targetId).getAttribute("modelDataObjclick"); if(modelDataObjAttribute != null && modelDataObjAttribute != undefined && modelDataObjAttribute !=  "") { modelDataObjAttribute = modelDataObjAttribute.replaceAll("'", "\""); let tempModelDataObj = JSON.parse(modelDataObjAttribute); if(tempModelDataObj != null && tempModelDataObj != undefined) { modelDataObj = tempModelDataObj; } } } }let args = {"WorkData":{"TenantId":"","TenantName":"","ApplicationId":"","ApplicationName":"","ViewName":"","EventName":"","SearchElement":"","_LoopData":{"LoopIndex":""},"_ControllerParameters":{"Password":"","UserId":""}}}; args.WorkData.TenantId = '1058'; args.WorkData.TenantName = 'Carico'; args.WorkData.ApplicationId = '21000742'; args.WorkData.ApplicationName = 'Distributors'; args.WorkData.ViewName = 'login'; args.WorkData.EventName = 'LoginTop';let login_LoginButton_click_1_CallbackFunction = function() {}; let searchElement = null; let parent = $(target).parents('view[viewid="VIEW-10000106"]'); if (parent != null && parent != undefined && parent.length != 0) { searchElement = parent[0]; } else { if(target?.tagName?.toLowerCase() == 'view') { let viewIdAttribute = target.getAttribute('viewid'); if(viewIdAttribute && viewIdAttribute != '') { if(viewIdAttribute == 'VIEW-10000106') { searchElement = target; } else { searchElement = document; }} else { searchElement = target; }} else { searchElement = document; } } console.warn("Event Search Element", searchElement); let eventSearchElement = null; let tempESE = $(searchElement).parentsUntil('view')[$(searchElement).parentsUntil('view').length - 1]; if(tempESE != null && tempESE != undefined) { eventSearchElement = tempESE.parentElement; } else { eventSearchElement = document; }let options = { ThisHtmlId: 'LoginButton',CauseValidation: 'False',GroupToValidate: 'Default',ValidationLocation: 'Inline',TemplateWidgetControllerMode: 'All',TemplateWidgetControllerRow: '0',SearchElement: searchElement,EventTimeout: 5,ShowTimeoutMessage: true,AllowKillRequest: true,AllowContinueInBackground: true};try { if((options && options?.ThisHtmlId != '' && options?.ThisHtmlId == 'UserId') || 'LoginButton' == 'UserId'){args.WorkData._ControllerParameters.UserId = $(target).val();}else{if(false){args.WorkData._ControllerParameters.UserId = $($(searchElement).find('[containerId="VIEW-10000106"][name="UserId"]')[loopIndex]).val();}else{args.WorkData._ControllerParameters.UserId = $(searchElement).find('#UserId').val();}} } catch {}try { if((options && options?.ThisHtmlId != '' && options?.ThisHtmlId == 'Password') || 'LoginButton' == 'Password'){args.WorkData._ControllerParameters.Password = $(target).val();}else{if(false){args.WorkData._ControllerParameters.Password = $($(searchElement).find('[containerId="VIEW-10000106"][name="Password"]')[loopIndex]).val();}else{args.WorkData._ControllerParameters.Password = $(searchElement).find('#Password').val();}} } catch {}EPEvent(args, event, options, login_LoginButton_click_1_CallbackFunction);}
																					</script></span><button id="LoginButton" name="LoginButton" containerid="VIEW-10000106" type="button" validationgroup="" disableonclick="No" iseof="False" isdefault="true" isenabled="True" title="" class="btn btn-primary btn-carico" controltype="button" causesvalidation="Yes" value="Login" onclick="login_LoginButton_click(event, event.target, 0, {});" modelDataObjclick="{}" style="width:100%;"><span >Login</span></button></td></tr><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" controltype="cell" causesvalidation="Yes" style="width:100%;" /></tr><tr isenabled="True" title="" controltype="row" causesvalidation="Yes" style=""><td isenabled="True" title="" controltype="cell" causesvalidation="Yes" style="width:100%;" /></tr></table></td></tr></table></td></tr></table><script>function login_LoginTop(event, target, loopIndex, modelDataObj, options, callbackFunction) { if(loopIndex == null || loopIndex == undefined || loopIndex == "") { loopIndex = 0; if(event.detail?.WorkData?._LoopData?.LoopIndex) { loopIndex = event.detail.WorkData._LoopData.LoopIndex } } if(target != null && target != undefined) { let targetId = target.id; if(targetId != null && targetId != undefined && targetId !="") { let modelDataObjAttribute = document.getElementById(targetId).getAttribute("modelDataObjLoginTop"); if(modelDataObjAttribute != null && modelDataObjAttribute != undefined && modelDataObjAttribute !=  "") { modelDataObjAttribute = modelDataObjAttribute.replaceAll("'", "\""); let tempModelDataObj = JSON.parse(modelDataObjAttribute); if(tempModelDataObj != null && tempModelDataObj != undefined) { modelDataObj = tempModelDataObj; } } } }let args = {"WorkData":{"TenantId":"","TenantName":"","ApplicationId":"","ApplicationName":"","ViewName":"","EventName":"","SearchElement":"","_LoopData":{"LoopIndex":""},"_ControllerParameters":{}}}; args.WorkData.TenantId = '1058'; args.WorkData.TenantName = 'Carico'; args.WorkData.ApplicationId = '21000742'; args.WorkData.ApplicationName = 'Distributors'; args.WorkData.ViewName = 'login'; args.WorkData.EventName = 'LoginTop'; let searchElement = null; let parent = $(target).parents('view[viewid="VIEW-10000106"]'); if (parent != null && parent != undefined && parent.length != 0) { searchElement = parent[0]; } else { if(target?.tagName?.toLowerCase() == 'view') { let viewIdAttribute = target.getAttribute('viewid'); if(viewIdAttribute && viewIdAttribute != '') { if(viewIdAttribute == 'VIEW-10000106') { searchElement = target; } else { searchElement = document; }} else { searchElement = target; }} else { searchElement = document; } } let eventSearchElement = null; let tempESE = $(searchElement).parentsUntil('view')[$(searchElement).parentsUntil('view').length - 1]; if(tempESE != null && tempESE != undefined) { eventSearchElement = tempESE.parentElement; } else { eventSearchElement = document; }args.WorkData._ControllerParameters.UserId = '';args.WorkData._ControllerParameters.Password = '';if(options?.WorkflowAction != null && options?.WorkflowAction != undefined && options?.WorkflowAction != '') { args.WorkData['_Workflow'] = {}; args.WorkData._Workflow['Action'] = options.WorkflowAction; } else if(options?.WorkflowStatusAction != null && options?.WorkflowStatusAction != undefined && options?.WorkflowStatusAction != '') { args.WorkData['_Workflow'] = {}; args.WorkData._Workflow['Action'] = options.WorkflowStatusAction; }EPEvent(args, event, options, callbackFunction); }function login_LoginBottom(event, target, loopIndex, modelDataObj, options, callbackFunction) { if(loopIndex == null || loopIndex == undefined || loopIndex == "") { loopIndex = 0; if(event.detail?.WorkData?._LoopData?.LoopIndex) { loopIndex = event.detail.WorkData._LoopData.LoopIndex } } if(target != null && target != undefined) { let targetId = target.id; if(targetId != null && targetId != undefined && targetId !="") { let modelDataObjAttribute = document.getElementById(targetId).getAttribute("modelDataObjLoginBottom"); if(modelDataObjAttribute != null && modelDataObjAttribute != undefined && modelDataObjAttribute !=  "") { modelDataObjAttribute = modelDataObjAttribute.replaceAll("'", "\""); let tempModelDataObj = JSON.parse(modelDataObjAttribute); if(tempModelDataObj != null && tempModelDataObj != undefined) { modelDataObj = tempModelDataObj; } } } }let args = {"WorkData":{"TenantId":"","TenantName":"","ApplicationId":"","ApplicationName":"","ViewName":"","EventName":"","SearchElement":"","_LoopData":{"LoopIndex":""},"_ControllerParameters":{}}}; args.WorkData.TenantId = '1058'; args.WorkData.TenantName = 'Carico'; args.WorkData.ApplicationId = '21000742'; args.WorkData.ApplicationName = 'Distributors'; args.WorkData.ViewName = 'login'; args.WorkData.EventName = 'LoginBottom'; let searchElement = null; let parent = $(target).parents('view[viewid="VIEW-10000106"]'); if (parent != null && parent != undefined && parent.length != 0) { searchElement = parent[0]; } else { if(target?.tagName?.toLowerCase() == 'view') { let viewIdAttribute = target.getAttribute('viewid'); if(viewIdAttribute && viewIdAttribute != '') { if(viewIdAttribute == 'VIEW-10000106') { searchElement = target; } else { searchElement = document; }} else { searchElement = target; }} else { searchElement = document; } } let eventSearchElement = null; let tempESE = $(searchElement).parentsUntil('view')[$(searchElement).parentsUntil('view').length - 1]; if(tempESE != null && tempESE != undefined) { eventSearchElement = tempESE.parentElement; } else { eventSearchElement = document; }args.WorkData._ControllerParameters.UserId.Value = '';args.WorkData._ControllerParameters.Password.Value = '';if(options?.WorkflowAction != null && options?.WorkflowAction != undefined && options?.WorkflowAction != '') { args.WorkData['_Workflow'] = {}; args.WorkData._Workflow['Action'] = options.WorkflowAction; } else if(options?.WorkflowStatusAction != null && options?.WorkflowStatusAction != undefined && options?.WorkflowStatusAction != '') { args.WorkData['_Workflow'] = {}; args.WorkData._Workflow['Action'] = options.WorkflowStatusAction; }EPEvent(args, event, options, callbackFunction); }</script></span></view><input id="EP_CacheId" name="EP_CacheId" type="hidden" value ="6065db91c4e54e74acea1db69f6de956" isenabled="True"></input></content>
															</main>
														</div>
													</html><input id="EP_ViewName" name="EP_ViewName" type="hidden" value ="login"><input id="EP_ScannerEvent" name="EP_ScannerEvent" type="hidden" value ="">