{"version":3,"sources":["C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/login/login.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/server/server.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/loader/loader.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/prompt/prompt.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/helper/helper.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/storage/storage.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/sso/sso.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/user/user.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/message/message.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/reviewer/reviewer.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/application/application.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/hospital/hospital.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/dialog/dialog.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/cms/level1.cms.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/cms/level2.cms.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/cms/level3.cms.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/cms/cms.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/file/file.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/step/step.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/application.download/application.download.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/discussion/discussion.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/vote/vote.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/question/question.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/text-dialog.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loader.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/message.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/terms.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/topbanner/topbanner.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/pagination.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/login/login.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/message.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/level.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/searchbox/searchbox.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/topbanner/topbanner.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loading.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/textbox-dialog.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/assign-reviewers.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/text-dialog.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/log/log.service.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/searchbox/searchbox.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/terms.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/menu.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/menu.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/role.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/profile.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/hasRole.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/hasMoreRole.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/to-local-date.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/utc-to-local.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/isStepCompleted.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/isApplicationCompleted.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/application-status.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/reviewer-role.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/reviewer-block.pipe.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/main/main.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/pagination.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/main/main.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/prompt.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/application.class.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/enums.class.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/crm-discussion.model.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/crm-application.model.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/c-string.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/level.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/login/login.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/activates/main.activate.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/activates/login.activate.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/activates/applications.home.activate.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/resolvers/login.resolver.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/main/main.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.preloadstrategy.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.routing.module.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.core.module.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.module.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/main.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/assign-reviewers.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/textbox-dialog.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/prompt.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/$_gendir lazy","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/directives/lastitem.directive.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/level.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/environments/environment.nathan.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/levels.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loader.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/menu.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/message.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/pagination.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/prompt.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/terms.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/topbanner/topbanner.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/assign-reviewers.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/text-dialog.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/textbox-dialog.component.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/share.module.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/levels.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/c-dictionary.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/environments/environment.base.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/environments/environment.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/searchbox/searchbox.component.scss","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/Prototypes/p-string.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/levels.component.html","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/applicant-position.enum.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/message.enum.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/address.enum.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/application-status.enum.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/role.enum.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/vote.enum.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/discussion.enum.ts","C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loader.component.scss"],"names":["module","exports","server_service_ServerService","ServerService","_http","_log","_this","this","X_SESSION","X_VERSION","X_SUB_AUTH","X_ACEPID","name","_get","headers","http_es5","Authorization","environment","Token","Accept","Content-Type","Access-Control-Allow-Origin","options","endPoint","APIFullPath","get","map","m","json","retry","toPromise","load","logWithObject","header","Promise","success","fail","then","session","SessionId","id","x_session","x-version","error","append","GetWithEndPoint","callerAcepid","optionArgs","Rx","fromPromise","mergeMap","_sessionId","delete","getAll","do","resp","etag","Debug","response","ETag","console","log","GetWithAuthWithURL","acepid","url","replace","GetWithAuth","routMap","indexOf","APIHost","endpoint","GetByURL","caller","PostWithAuthWithURL","body","toLowerCase","getSecureUrl","post","PostWithAutEndPoint","PostWithAuth","PutWithAuthWithURL","put","PutWithAuth","DeleteWithAuthWithURL","empty","DeleteWithAuth","prototype","test","value","window","location","href","Object","defineProperty","SaveQandAFile","stephtml","file","__decorate","core_es5","_a","_b","log_service","loader_service_LoaderService","LoaderService","_isLoading","MembersAreLoading$","_data","isLoading","next","undefined","SetLoading","loader_service___decorate","prompt_service_PromptService","PromptService","showPrompt$","hidePrompt$","prompt_service___decorate","helper_service_HelperService","HelperService","_serverSrv","_logSrv","_loaderSrv","_promptSrv","_router","_states","_countries","_phoneTypes","OnModuleClicked$","CANNOTGOFORWARD","CANNOTGOFORWARDMIN","CANNOTGOFORWARDPLUS","SELECTQCREVIEWER","SAVESTALECHANGES","DOWNLOAD","getCountries","getStates","countries","phoneTypes","states","DATA","PhoneTypes","APILocation","subscribe","model","States","Err","Error","Countries","getRandomInt","min","max","Math","ceil","floor","random","getTerms","base","Termsandcondition","goToMain","navigate","goToMainWithLevel","level","supress","queryParams","nolevel","yeslevel","goToLogin","goToMyAccount","acctPath","env","BaseUrl","goTOMaintenancePage","goToApplications","contactid","goTo","navigateByUrl","goToApplication","goToLevel","Application","Level","Id","guid","isUpgrade","goToLevelWithStep","step","$","animate","scrollTop","goToDetail","appModel","Status","enums","Initiated","isUndefined","obj","paymentUrl","ManuallyEnterInfoId","Evn","prompt","emit","sent","hidePrompt","getNumberOfDaysTillNow","date1","diff","abs","getTime","Date","now","helper_service___decorate","helper_service__a","helper_service__b","_c","_d","_e","router_es5","StorageService","_helperSrv","CONTACT","KEY_APPLICATIONS","KEY_APPLICATION","KEY_ACCOUNTS_SEARCH","KEY_HEALTHSYSTEM_SEARCH","KEY_STEPS","KEY_STEP","KEY_S3","KEY_UPGRADEAPP","TEST_CONTACTS","KEY_PRODUCT","KEY_SALESORDER","KEY_DISCUSSION_LEGENDS","KEY_DISCUSSION_LEGENDSUSER","_local","localStorage","_session","sessionStorage","getSession","key","getItem","toUpperCase","JSON","parse","setSession","setItem","stringify","removeItem","getLocal","local","setLocal","getContact","GetSessionObject","GetLocalObject","GetKey","k","RemoveKey","AddTestContact","contact","contacts","push","storage_service___decorate","storage_service__a","sso_service_SsoService","SsoService","BasePath","ninjaapiendpoint","loginurl","logouturl","defaultAvatar","GetContext","res","ApplyContext","context","firstname","avatar","GetSSO","resolve","c","user","ContactNumber","length","paymentconfiguration","paymentconfig","ContactId","FirstName","Avatar","Info","CheckAuthorizationOnResponse","status","alert","login","returnurl","lodash","logout","sso_service___decorate","sso_service__a","sso_service__b","user_service_UserService","UserService","_storageSrv","_ssoSrv","_contact","_contactsArray","_testcontacts","_role","Applicant","CURRENTUSER_CONTACTID","CURRENTUSER_ACEPID","CURRENTUSER_FIRSTNAME","_testAcepIds","data","accounts","account","Role","Data","getContactFromCRM","getTestContact","Contact","getTestContacts","tstCntcts","promises_1","forEach","all","addToTestList","failResponse","err","addTestContact","strg","setContact","AcepId","Profile","signOut","Is_QC_Reviewer","user_service___decorate","user_service__a","user_service__b","user_service__c","user_service__d","user_service__e","message_service_MessageService","MessageService","showLocalMessage$","showTopError$","showBottomError$","clearError$","DisplayTopError","message","isError","type","DisplayError","top","bottom","DisplayBottomError","DisplayBothError","MessageType","reject","DisplayLocalMessage","Clear","_ERROR_MESSAGE","ServerLog","e","handleError","errMsg","Response","body_1","content","statusText","ErrorWithObject","message_service___decorate","reviewer_service_ReviewerService","ReviewerService","_userSrv","AssignToPanels$","_filesAreUploaded","_allReviewers","_qcs","_sites","_panels","_boards","_aceps","_members","SelectPanelDialogOpen","_updateStatusTo","None","asObservable","_reviewers","QCs","concat","Panels","Sites","Boards","filter","b","Reviewer","Selected","GetReviewers","applicationId","ApiLocation","reviewers","_updateReviewers","PostReviewers","Reviewers","PostingReviewers","applicationNumber","ApplicationNumber","applicationStatus","PostPreQCEmails","toemails","toEmails","r","All","q","PositionId","QC","pa","Panel","Site","br","Board","Aceps","ac","Acep","reviewer_service___decorate","reviewer_service__a","reviewer_service__b","reviewer_service__c","reviewer_service__d","reviewer_service__e","_f","application_service_ApplicationService","ApplicationService","_reviewerSrv","OnLevelSelected$","OnTermsAgreed$","_submitted","_error","_application","_applications","_applicationInnerHtml","_level","_termsAgreed","submitted","application","Submitted","applications","_ApplicaitonInnerHtml","statusChecked","getApplications","_apps","Applications","ApplicationsModel","removeStorageKeys","refreshApplications","getApplication","applicationid","ApplicationModel","refreshApplication","UpdateApplicationFromParentApp","f","a","app","AccountId","AccountNumber","Hospital","HospitalAddressCity","Address","City","HospitalAddressState","State","HospitalAddressCountry","Country","CeoName","CeoId","CeoFirst","CeoLast","CeoEmail","CeoRole","HospitalAddressLine1","Line1","ApplicantAddressLine2","Line2","HospitalAddressZip","PostalCode","HospitalName","Name","HospitalPhone","Phone","Num","HospitalCategoryId","CategoryId","ParentId","CreateNewApplicationForm","form","classes","SetApplicantContact","EmptyGuid","newHospitalId","ConvertToApplicaitonForm","a_1","keys","ConvertToForm","postApplication","GetApplication","ConvertToCreateModel","failToPost","putApplication","putApplicationFromModel","af","updateApplicationStatus","s","cancelling","Cancelled","toString","ApplicationId","APPLICATIONMODEL","GetEnum","UpdateAndEmail","notify","AssignToQC","QC_Review","acep","applicant","board","panel","site","internal","comment","AssignToPanels","Panel_Review","AssignToSiteReview","Site_Review","getApplicationMemberRecord","Memberships","RefreshRolesForContact","role","IROLE","IsQC","IsPanel","IsSite","IsBoard","ActingAsAcep","IsApplicant","NavigateToNextStep","CURRENTSTEP","NEXTSTEP","CURRENTLEVEL","IsATeamMember","members","getReviewerFromContactId","application_service___decorate","application_service__a","application_service__b","application_service__c","application_service__d","application_service__e","application_service__f","_g","hospital_service_HospitalService","HospitalService","_hospital","_hospitals","_healthSystem","_healthSystems","_contacts","TextSearch$","HealthSystemTextSearch$","ContactTextSearch$","validHospitals","hospitalIDs","hospArry","text","split","element","hospIdx","Hospitals","findIndex","h","splice","GetAccounts","routeMap","GetHealthSystems","HealthSystems","GetContacts","PrivateWebServicesBasePath","Contacts","createContact","LastName","Email","payload","EmailAddress","jobTitle","CheckIfApplicationAlreadyExists","getAccountContacts","accountNum","hospital_service___decorate","hospital_service__a","hospital_service__b","hospital_service__c","hospital_service__d","hospital_service__e","dialog_service_DialogService","DialogService","_loggerService","textHeader","leftButtonText","rightButtonText","OnOpenTextDialog$","OnOpenTextboxDialog$","OnClose$","OnClosingTextDialog$","OnClosingTextboxDialog$","OnClosingSigninDialog$","OnclickLeftTextDialog$","OnClickRightTextDialog$","OnClickRightTextboxDialog$","ConfirmDialog","cancelButton","actionButton","tag","save","nosave","_close","textValue","textText","textTag","textShowing","t","OpenTextDialog","OpenTextboxDialog","OpenSigninDialog","signInTag","CloseTextboxDialog","_closeAndEmit","CloseTextDialog","CloseSigninDialog","acepId","ClickRightTextboxDialog","ClickLeftTextDialog","ClickRightTextDialog","dialog_service___decorate","dialog_service__a","_level1_CMS","level_number","steps","step_name","step_title","step_description","sections","title","description","questions","dataSet","Key","Value","_level2_CMS","_level3_CMS","cms_service_CmsService","CmsService","levelmetas","getLevel_CMSMetadata","find","getLevelStep_CMSMetadata","stepname","cms_level","getLevelStepSection_CMSMetadata","sectionname","cms_step","getSection_CMSMetadata","stepcmsmeta","getSectionQuestion_CMSMetadata","questionname","sn","qns","CreateApplicationHtml","dApplication","dSteps","_CreateAppInfoHtml","_CreateStepHtml","html","Position","HealthSystemName","getHealthSystemQns","ApplyingAsAHealthSystem","NumberOfEdsServingOlderAdults","UtilizingTeleMedForGeriatric","i","stepCMS","Step","uniqueSections","Questions","GetUniqueSectionsFromCRM","j","sectionCMS","this_1","sectiontitle","sectiondesc","qArr","Question","Detail","Group","sort","obj1","obj2","Order","qAns","qKey","sectionIndividualAnswerCMS","Answer","MapIndexToDataSet","Text","endsWith","ans","startsWith","_formatBooleanResponse","qkey","answer","dataset","groupname","cms_service___decorate","file_service_FileService","FileService","fileName","refresh","upload","fData","FormData","Ext","uploadAsync","ApplicationHtml","fileModel","Links","l","Href","file_service___decorate","file_service__a","file_service__b","file_service__c","file_service__d","file_service__e","step_service_StepService","StepService","_step","_steps","_completed","OnSaveValidate$","OnStepRefreshed$","Completed","Steps","every","IsCompleted","completed","getSteps","getStep","stepid","refreshSteps","refreshStep","StepId","updateStep","step_service___decorate","step_service__a","step_service__b","step_service__c","step_service__d","step_service__e","application_download_service_ApplicationDownloadService","ApplicationDownloadService","_cmsSrv","_applicationSrv","_msgSrv","_fileSrv","_stepSrv","DownloadApplication","proceedToMain","zipped","stack","appid","clear","obs_steps","obs_app","thiscomponent","forkJoin","setTimeout","_CreateApplicationHTML_AndPOST","appHtml","LastModified","toLocaleDateString","Url","Type","awss3","ohsnap","_DownloadAppZipFile","_isUpgradeSelected","catch","isUpgradeAndNotRenewal","appnumber","Headers","accept","path","S3","win","open","closed","application_download_service___decorate","application_download_service__a","application_download_service__b","application_download_service__c","application_download_service__d","application_download_service__e","application_download_service__f","application_download_service__g","_h","_j","_k","_l","discussion_service_DiscussionService","DiscussionService","_sanitizer","showOnlyAppHistory","_posts","_discussion","_discussions","LegendSelected$","_crm_dataStore","discussions","models","d","Comment","Document","CreateComment","contactId","CreateDiscussion","Location","External","CreateDocument","Internal","CreateStatus","_updateDiscussion","resolved","failed","crmDiscussion","index","_loadDiscussion","_sortAndFilterPosts","Discussion","Attributes","LogicalName","Add","Acep_Type","Item","Posts","p","_parsePost","posting","RoleEnum","position","posts","_loadDiscussions","disx","isApplicant","count_1","asApplicant","isChecked","update","isCheckedUser","result","filters","filtersUser","p1","p2","CreatedOn","acep_type","Post","x","Audience","Body","bypassSecurityTrustHtml","_lastPostFilter","_lastPostDisplayByUser","discussionTypes","toFixed","some","String","trim","allowedRoles_1","Discussions","page","add","applicaitonid","audience","dis","discussion","external","caugth","throw","discussion_service___decorate","discussion_service__a","discussion_service__b","discussion_service__c","discussion_service__d","discussion_service__e","discussion_service__f","discussion_service__g","discussion_service__h","platform_browser_es5","vote_service_VoteService","VoteService","_discussionSrv","_votes","Votes","vote","currentAppStatus","returnedApp","Item1","returnedVotes","Item2","_dataStore","Vote","votes","v","Convert","getEnum","VoteResult","ReferenceError","DateOfVote","PanelMember","FullName","PanelMemberNumber","Not_Voted","VoteId","acep_applicationnumber","acep_applicationId","SiteReview","recastVotes","vote_service___decorate","vote_service__a","vote_service__b","vote_service__c","vote_service__d","vote_service__e","vote_service__f","vote_service__g","vote_service__h","question_service_QuestionService","QuestionService","_questions","Get","GetByQuestionkey","questionkey","Put","PostQuestions","PutQuestions","Delete","GetFriendlyName","from","to","question_service___decorate","question_service__a","question_service__b","question_service__c","question_service__d","question_service__e","__webpack_require__","version","sources","names","mappings","sourcesContent","sourceRoot","LogService","messages","__WEBPACK_IMPORTED_MODULE_2__environments_environment__","LogDebug","DebugMsg","mod","sendEmail","LogInfo","_serverLog","LogError","_handleError","__WEBPACK_IMPORTED_MODULE_1_rxjs_Rx__","msgs","__WEBPACK_IMPORTED_MODULE_0__angular_core__","SearchboxComponent","Click","contactClick","contactList","SHOWADDNEWITEM","NEWITEMTEXT","ngOnInit","ngOnChanges","HOSPITALS","OnHospitalClick","OnNewHospitalClick","OnContactCLick","OnNewContactClick","getAddress","getContactAddress","city","state","country","selector","template","styles","role_pipe_RolePipe","RolePipe","transform","arg","RoleToString","ProfilePipe","profile_pipe___decorate","HasRolePipe","args","retrun","hasRole_pipe___decorate","HasMoreRolePipe","hasMoreRole_pipe___decorate","ToLocalDatePipe","format","to_local_date_pipe___decorate","UtcToLocalPipe","getTimezoneOffset","toLocaleTimeString","utc_to_local_pipe___decorate","IsStepCompletedPipe","isStepCompleted_pipe___decorate","IsApplicationCompletedPipe","isApplicationCompleted_pipe___decorate","ApplicationStatusPipe","includes","application_status_pipe___decorate","ReviewerRolePipe","reviewer_role_pipe___decorate","ReviewerBlockPipe","reviewer_block_pipe___decorate","ApplicationCreateForm","ApplicationForm","application_class_ApplicationStatus","ApplicationStatus","ApplicationEnumToString","ToString","share_enums","GetStatus","ToEnum","applicantContact","ApplicantContactId","ApplicantFirstName","ApplicantLastName","ApplicantFullName","ApplicantPhone","PrimaryPhone","ApplicantEmail","Email1","ApplicantAddressCity","Address1","ApplicantAddressZip","ApplicantAddressState","userContact","currentDate","applicantAddress","ApplicantAddressLine1","applicantEmail","applicantPhone","ApplicantPhoneType","ApplicantPosition","hospitalAddress","HospitalAddressLine2","hospitalPhone","hospital","HealthSystemId","appId","ApplicationCreatedBy","ApplicationModifiedBy","ApplicationModifiedOn","crm_discussion_model_CRMDiscussion","crm_application_model_CRMApplication","enums_class_enums","CString","take","substring","CRMDiscussion","CRMDiscussionModel","CRMApplication","CRMApplicationModel","Member","Acep_Contact","app_component_AppComponent","AppComponent","subscriptions","events","services","login_component_LoginComponent","LoginComponent","userSrv","_route","LoadContact","LoadNewUser","newuser","nativeElement","existing","welldone","warning","OnLastContactLoaded","contactsAreLoaded","login_component___decorate","login_component__a","login_component__b","login_component__c","ActivateMain","canActivate","route","main_activate___decorate","main_activate__a","main_activate__b","ActivateLogin","login_activate___decorate","login_activate__a","login_activate__b","login_activate__c","ActivateApplicationsHome","applications_home_activate___decorate","applications_home_activate__a","applications_home_activate__b","LoginResolver","login_resolver___decorate","login_resolver__a","login_resolver__b","MainComponent","router","termsAgreed","levelSelected","disableLevel1","disableLevel2","disableLevel3","params","agreed","OnSave","LEVEL","main_component___decorate","main_component__a","main_component__b","main_component__c","main_component__d","main_component__e","main_component__f","main_component__g","main_component__h","app_preloadstrategy_AppPreLoadingStrategy","AppPreLoadingStrategy","preload","of","app_preloadstrategy___decorate","AppRoutingModule","app_routing_module___decorate","imports","forRoot","component","loadChildren","redirectTo","pathMatch","enableTracing","preloadingStrategy","providers","app_core_module_AppCoreModule","AppCoreModule_1","AppCoreModule","ngModule","app_core_module___decorate","common_es5","animations_es5","share_module","declarations","AppModule","app_module___decorate","provide","useClass","bootstrap","production","platform_browser_dynamic_es5","bootstrapModule","app/modules/applications/applications.module","app/modules/detail/detail.module","app/modules/levels/level-1/level-1.module","app/modules/levels/level-2/level-2.module","app/modules/levels/level-3/level-3.module","webpackAsyncContext","req","ids","slice","lastitem_directive_LastitemDirective","LastitemDirective","el","OnLastLoaded","OnLastItemLoaded","level_component_LevelComponent","LevelComponent","class","OnCheckBoxClick","CHECKED","level_component___decorate","level_component__a","receiptUrl","Promo3To1","Promo3To2","Promo2To1","images","levels_component_LevelsComponent","LevelsComponent","DISABlE_LEVEL1","DISABlE_LEVEL2","DISABlE_LEVEL3","isProdEnv","changes","OnCheckBoxClicked","ngOnDestroy","unsubscribe","fromCheckBoxCtrl","level1","level2","level3","l1","l2","l3","levels_component___decorate","levels_component__a","LoaderComponent","loader","loader_component___decorate","loader_component__a","LoadingComponent","IMAGE","loader_component__b","MenuComponent","menu_component___decorate","menu_component__a","menu_component__b","message_component_MessageComponent","MessageComponent","haveMessage","Class","classInit","ngAfterViewInit","_showMessage","_timeOut","clearTimeout","setMessageLocation","msgtop","height","css","message_component___decorate","animations","opacity","message_component__a","message_component__b","pagination_component_PaginationComponent","PaginationComponent","GetPage","GetNext","GetPrev","Refresh","prevExist","nextExist","MODEL","CURRENTPAGE","PAGES","setPageAvailability","getPage","getNext","getPrev","OnRefresh","pagination_component___decorate","prompt_component_PromptComponent","PromptComponent","visibleTypicalButtons","saveAppWithOK","saveTryAgain","noSorry","change","hide","OnClose","OnClear","prompt_component___decorate","prompt_component__a","prompt_component__b","prompt_component__c","TermsComponent","assetFolder","_loadHtml","checked","Terms","source","terms","innerHTML","terms_component___decorate","terms_component__a","terms_component__b","terms_component__c","terms_component__d","terms_component__e","terms_component__f","topbanner_component_TopbannerComponent","TopbannerComponent","showMenu","showSearch","initStylesForLoginHeader","$this","gedalogolink","environments_environment","GEDAHometest","GEDAHomeprod","document","not","click","target","stopPropagation","slideUp","width","slideToggle","_unsuscribe","OnApplicationsClicked","OnSignOut","search","searchtext","toggleMemberMenu","slideDown","toggleSearchMenu","topbanner_component___decorate","topbanner_component__a","topbanner_component__b","topbanner_component__c","assign_reviewers_component_AssignReviewersComponent","AssignReviewersComponent","_loaderService","_dialogService","_applicationService","_voteService","_reviewerService","reviewerFLname","isReviwerHoverHidden","numberOfPanelReviewersRequired","REVIEWERS","_update","updatePanelCount","appLevel","NeedsSiteReview","qc","panels","siteReviewers","qcSelected","boardSelected","panelsSelected","siteReviewersSelected","rvwmsg","contactIds","Fullname","calleer","onMouseOver","Hover","reviwerHover","onMouseOut","onCheckBoxClicked","boards_1","panelsSelected_1","boardsSelected_1","Disabled","brd","others","o","assign_reviewers_component___decorate","encapsulation","assign_reviewers_component__a","assign_reviewers_component__b","assign_reviewers_component__c","assign_reviewers_component__d","assign_reviewers_component__e","assign_reviewers_component__f","TextDialogComponent","dialogService","onLeftClick","texttag","onRightClick","text_dialog_component___decorate","text_dialog_component__a","text_dialog_component__b","TextboxDialogComponent","textarea","validateEmail","email","textbox_dialog_component___decorate","textbox_dialog_component__a","textbox_dialog_component__b","textbox_dialog_component__c","share_module_ShareModule","ShareModule_1","ShareModule","share_module___decorate","material_es5","pipes","useValue","disabled","__webpack_exports__","KeyedCollection","KeyValuPair","CDictionary","_keys","_values","addRange","KeyValuPairs","remove","values","containsKey","toLookup","Count","items","count","ContainsKey","hasOwnProperty","Remove","val","Keys","keySet","prop","Values","environmentBase","paymenttoken","Env","replaceAll","toreplace","replacewith","join","toNumber","ret","ApplicantPositionEnum","MessageTypeEnum","AddressEnum","ApplicationStatusEnum","IndexOf","ordinal","Board_Review","Approved","Rejected","Need_Information","Pending_Payment","Upgraded","Renewed","VoteEnum","DiscussionEnum","RoleEnumStatus","Board_Chair","getPositionEnum","_ordinal","member"],"mappings":"8EAAAA,EAAAC,QAAA,iiECcaC,EAAa,WAiBzB,SAAAC,EACSC,EACAC,GAFT,IAAAC,EAAAC,KACSA,KAAAH,QACAG,KAAAF,OAdAE,KAAAC,UAAY,YACZD,KAAAE,UAAY,YACZF,KAAAG,WAAa,aACbH,KAAAI,SAAW,WAEpBJ,KAAAK,KAAO,gBA8BCL,KAAAM,KAAO,WACd,IAAMC,EAAU,IAAIC,EAAA,GAElBC,cAAiBC,EAAA,EAAYC,MAC7BC,OAAU,mBACVC,eAAgB,mBAChBC,8BAA+B,MAE3BC,EAAU,IAAIP,EAAA,GACjBD,QAASA,IAGNS,EAAWN,EAAA,EAAYO,YAAc,iCAE3C,OAAOlB,EAAKF,MAAMqB,IAAIF,EAAUD,GAC9BI,IAAI,SAAAC,GAAK,OAAAA,EAAEC,SACXC,MAAM,GACNC,aAEHvB,KAAAwB,KAAO,WAEN,MADA,iBAAiBC,cAAc1B,EAAKM,KAAMN,EAAK2B,QACxC,IAAIC,QAAQ,SAACC,EAASC,GACxB9B,EAAK2B,OACRE,GAAQ,GAER7B,EAAKO,OAAOwB,KAAK,SAAAC,GAChBhC,EAAKiC,UAAYD,EAAQE,GACzBlC,EAAK2B,OAAS,IAAIlB,EAAA,GAEhBC,cAAiBC,EAAA,EAAYC,MAC7BC,OAAU,mBACVC,eAAgB,mBAChBC,8BAA+B,IAC/BoB,UAAaH,EAAQE,GACrBE,YAAa,MAEf,iBAAiBV,cAAc1B,EAAKM,MAAO,SAAUN,EAAK2B,OAAQ3B,EAAKiC,YACvEJ,GAAQ,IACN,SAAAQ,GACFrC,EAAK2B,OAAOW,OAAOtC,EAAKE,UAAW,iBACnC,OAAOwB,cAAc1B,EAAKM,MAAO,SAAUN,EAAK2B,OAAQU,IACxDR,GAAQ,QAOZ5B,KAAAsC,gBAAkB,SAACC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BWA,EAAAC,QAAP,SAAeogB,GACX,OAAQA,GAEL,KAAK,EACJ,IAAK,YACD,OAAOzoB,EAAK4I,UAChB,KAAK,EACL,IAAK,WACD,OAAO5I,EAAK2oB,SAChB,KAAK,EACL,IAAK,WACD,OAAO3oB,EAAK4oB,SAChB,QACI,OAAO5oB,EAAK4I,YAG5BR,EAjBA,GAAa6gB,EAAA7gB,QAAOA,EAZxB,CAAiB6gB,WCAAC,aACDtmB,EAAAsmB,EAAAtmB,WAAAsmB,EAAAtmB,cACRA,EAAA,yBACAA,IAAA,gCAEQ5C,EAAAkpB,EAAAlpB,OAAAkpB,EAAAlpB,UACRA,EAAA,+BACAA,IAAA,2BACAA,IAAA,2UCRRlxB,EAAAC,QAAA+7B,EAAA,OAAAA,EAAA,IAKA9rB,MAAAlQ,EAAA4qB,EAAA,wxCAA+yC,IAAQqR,QAAA,EAAAC,SAAA,igBAAAC,SAAAC,SAAA,2gBAAi1Bp2B,KAAA,wBAAAq2B,gBAAA,mtyBAAu9yB,2iBAAsiBC,WAAA,MAMro4Bt8B,EAAAC,QAAAD,EAAAC,QAAA8f","file":"main.b0af52296f2c281e6e44.bundle.js","sourcesContent":["module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n app-loading\\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
Name
\\r\\n
Acepid
\\r\\n
\\r\\n
\\r\\n
{{contact.FullName}}
\\r\\n
{{contact.AcepId}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n Another user\\r\\n \\r\\n
\\r\\n
Add
\\r\\n
\\r\\n \\r\\n
\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/login/login.component.html\n// module id = 1IEk\n// module chunks = 7","import { Injectable } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { Http, RequestOptions, Headers, Response } from '@angular/http';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n// Interfaces\r\nimport { IService, IAWSS3, IAWSS3Model } from '../../interfaces';\r\n\r\n// Services\r\nimport { LogService } from '../log/log.service';\r\nimport { FileService } from '../../services';\r\n\r\n\r\n@Injectable()\r\nexport class ServerService implements IService {\r\n\r\n\t// implements local variables\r\n\t_sessionId: string; // = 'testing';\r\n\theader: Headers;\r\n\treadonly X_SESSION = 'x_session';\r\n\treadonly X_VERSION = 'x-version';\r\n\treadonly X_SUB_AUTH = 'x-Sub-Auth';\r\n\treadonly X_ACEPID = 'x-acepid';\r\n\t// implements IService\r\n\tname = 'ServerService';\r\n\ttest(name, value) {\r\n\t\tconsole.log('testing', name, value);\r\n\t}\r\n\r\n\r\n\r\n\tconstructor(\r\n\t\tprivate _http: Http,\r\n\t\tprivate _log: LogService\r\n\t) { }\r\n\r\n\tgetSecureUrl(url: any) {\r\n\t\tif (window.location.href.indexOf('localhost') === -1) {\r\n\t\t\turl = url.replace('http://', 'https://');\r\n\t\t}\r\n\r\n\t\treturn url;\r\n\t}\r\n\r\n\r\n\tget SessionId() {\r\n\t\treturn this._sessionId;\r\n\t}\r\n\r\n\tset SessionId(value: string) {\r\n\t\t// this._storageService.setSession(this._storageService.SESSION, value);\r\n\t\tthis._sessionId = value;\r\n\t}\r\n\r\n\tprivate _get = () => {\r\n\t\tconst headers = new Headers(\r\n\t\t\t{\r\n\t\t\t\t'Authorization': environment.Token,\r\n\t\t\t\t'Accept': 'application/json',\r\n\t\t\t\t'Content-Type': 'application/json',\r\n\t\t\t\t'Access-Control-Allow-Origin': '*'\r\n\t\t\t});\r\n\t\tconst options = new RequestOptions(\r\n\t\t\t{ headers: headers }\r\n\t\t);\r\n\r\n\t\tconst endPoint = environment.APIFullPath + 'session/key/key/signature/sign';\r\n\r\n\t\treturn this._http.get(endPoint, options)\r\n\t\t\t.map(m => m.json())\r\n\t\t\t.retry(2)\r\n\t\t\t.toPromise();\r\n\t}\r\n\tload = (): Promise => {\r\n\t\t'LOADING HEADER'.logWithObject(this.name, this.header);\r\n\t\treturn new Promise((success, fail) => {\r\n\t\t\tif (this.header) {\r\n\t\t\t\tsuccess(true);\r\n\t\t\t} else {\r\n\t\t\t\tthis._get().then(session => {\r\n\t\t\t\t\tthis.SessionId = session.id;\r\n\t\t\t\t\tthis.header = new Headers(\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t'Authorization': environment.Token,\r\n\t\t\t\t\t\t\t'Accept': 'application/json',\r\n\t\t\t\t\t\t\t'Content-Type': 'application/json',\r\n\t\t\t\t\t\t\t'Access-Control-Allow-Origin': '*',\r\n\t\t\t\t\t\t\t'x_session': session.id,\r\n\t\t\t\t\t\t\t'x-version': '1'\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t'setting header'.logWithObject(this.name, ['header', this.header, this.SessionId]);\r\n\t\t\t\t\tsuccess(true);\r\n\t\t\t\t}, error => {\r\n\t\t\t\t\tthis.header.append(this.X_SESSION, 'no session id');\r\n\t\t\t\t\t'fail'.logWithObject(this.name, ['header', this.header, error]);\r\n\t\t\t\t\tsuccess(true);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t}\r\n\r\n\tGetWithEndPoint = (callerAcepid: string, endPoint: string, optionArgs?: RequestOptions): Observable => {\r\n\t\t'http GetWithEndPoint header'.logWithObject(this.name, [endPoint, this.header]);\r\n\t\ttry {\r\n\r\n\t\t\treturn Observable.fromPromise(this.load()).mergeMap(success => {\r\n\t\t\t\tlet options: RequestOptions;\r\n\t\t\t\tif (optionArgs) {\r\n\t\t\t\t\toptions = optionArgs;\r\n\t\t\t\t\toptions.headers.append(this.X_SESSION, this._sessionId);\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\toptions = new RequestOptions(\r\n\t\t\t\t\t\t{ headers: this.header }\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t\toptions.headers.delete(this.X_VERSION);\r\n\t\t\t\toptions.headers.append(this.X_VERSION, '1');\r\n\r\n\t\t\t\toptions.headers.delete(this.X_ACEPID);\r\n\t\t\t\toptions.headers.append(this.X_ACEPID, callerAcepid);\r\n\r\n\t\t\t\t'http GetWithEndPoint options'.logWithObject(this.name, [endPoint, options, options.headers.getAll(this.X_VERSION)]);\r\n\r\n\t\t\t\treturn this._http.get(endPoint, options)\r\n\t\t\t\t\t.do(resp => {\r\n\t\t\t\t\t\tconst etag: string = resp.headers.get('ETag');\r\n\t\t\t\t\t\tthis._log.Debug(this.name, ['GetWithEndPoint response', { response: resp, ETag: etag }]);\r\n\t\t\t\t\t});\r\n\t\t\t\t// .map(res => res.json());\r\n\t\t\t});\r\n\r\n\t\t} catch (error) {\r\n\t\t\tconsole.log(error);\r\n\t\t}\r\n\t}\r\n\r\n\tGetWithAuthWithURL = (acepid: string, url: string, optionArgs?: RequestOptions): Observable => {\r\n\t\t'GetWithAuthWithURL'.logWithObject(this.name, [{ url: url }]);\r\n\t\tconst endPoint = url.replace(':4200', '');\r\n\t\treturn this.GetWithEndPoint(acepid, endPoint, optionArgs);\r\n\t}\r\n\r\n\tGetWithAuth = (acepid: string, routMap: string, optionArgs?: RequestOptions): Observable => {\r\n\t\ttry {\r\n\r\n\t\t\tconst endPoint = routMap.indexOf(environment.APIHost) > -1 ? routMap : environment.APIHost + routMap;\r\n\t\t\t'GetWithAuth'.logWithObject(this.name, [{ endpoint: endPoint }]);\r\n\t\t\treturn this.GetWithEndPoint(acepid, endPoint, optionArgs);\r\n\r\n\t\t} catch (error) {\r\n\t\t\tconsole.log(error);\r\n\t\t}\r\n\t}\r\n\r\n\tGetByURL = (caller: string, url: string, optionArgs: RequestOptions): Observable => {\r\n\t\tthis._log.Debug(this.name, [{ caller: caller, url: url, options: optionArgs }]);\r\n\t\treturn this._http.get(url, optionArgs)\r\n\t\t\t.do(resp => {\r\n\t\t\t\tthis._log.Debug(this.name, ['GetWithEndPoint response', { response: resp }]);\r\n\t\t\t});\r\n\t}\r\n\r\n\tPostWithAuthWithURL = (acepid: string, url: string, body: any, optionArgs?: RequestOptions): Observable => {\r\n\t\t//if not dev environment make sure its on https MB 12/18/2017\r\n\t\turl = url.toLowerCase().indexOf(environment.APIHost.toLowerCase()) > -1 ? url : environment.APIHost + url;\r\n\t\turl = this.getSecureUrl(url);\r\n\t\tthis._log.Debug(this.name, ['http PostWithAuthWithURL header', { url: url, header: this.header }]);\r\n\t\treturn Observable.fromPromise(this.load()).mergeMap(success => {\r\n\t\t\tlet options: RequestOptions;\r\n\t\t\tif (optionArgs) {\r\n\t\t\t\toptions = optionArgs;\r\n\t\t\t\toptions.headers.append(this.X_SESSION, this._sessionId);\r\n\r\n\t\t\t} else {\r\n\t\t\t\toptions = new RequestOptions(\r\n\t\t\t\t\t{ headers: this.header }\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\toptions.headers.delete(this.X_VERSION);\r\n\t\t\toptions.headers.append(this.X_VERSION, '1');\r\n\r\n\t\t\toptions.headers.delete(this.X_ACEPID);\r\n\t\t\toptions.headers.append(this.X_ACEPID, acepid);\r\n\r\n\t\t\t'http PostWithAuth options'.logWithObject(\r\n\t\t\t\tthis.name,\r\n\t\t\t\t[\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tendpoint: url,\r\n\t\t\t\t\t\toptions: options,\r\n\t\t\t\t\t\theaders: options.headers, // .getAll(this.X_VERSION),\r\n\t\t\t\t\t\tbody: body\r\n\t\t\t\t\t}\r\n\t\t\t\t]);\r\n\t\t\treturn this._http.post(url, body, options);\r\n\t\t\t// .map(res => res.json());\r\n\t\t});\r\n\t}\r\n\r\n\tPostWithAutEndPoint = (acepid: string, url: string, body: any, optionArgs?: RequestOptions): Observable => {\r\n\t\t//if not dev environment make sure its on https MB 12/18/2017\r\n\t\t// url = url.toLowerCase().indexOf(environment.APIHost.toLowerCase()) > -1 ? url : environment.APIHost + url;\r\n\t\turl = this.getSecureUrl(url);\r\n\t\tthis._log.Debug(this.name, ['http PostWithAuthWithURL header', { url: url, header: this.header }]);\r\n\t\treturn Observable.fromPromise(this.load()).mergeMap(success => {\r\n\t\t\tlet options: RequestOptions;\r\n\t\t\tif (optionArgs) {\r\n\t\t\t\toptions = optionArgs;\r\n\t\t\t\t//options.headers.append(this.X_SESSION, this._sessionId);\r\n\r\n\t\t\t} else {\r\n\t\t\t\toptions = new RequestOptions(\r\n\t\t\t\t\t{ headers: this.header }\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\t// options.headers.delete(this.X_VERSION);\r\n\t\t\t// options.headers.append(this.X_VERSION, '1');\r\n\r\n\t\t\t// options.headers.delete(this.X_ACEPID);\r\n\t\t\t// options.headers.append(this.X_ACEPID, acepid);\r\n\r\n\t\t\t'http PostWithAuth options'.logWithObject(\r\n\t\t\t\tthis.name,\r\n\t\t\t\t[\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tendpoint: url,\r\n\t\t\t\t\t\toptions: options,\r\n\t\t\t\t\t\theaders: options.headers, // .getAll(this.X_VERSION),\r\n\t\t\t\t\t\tbody: body\r\n\t\t\t\t\t}\r\n\t\t\t\t]);\r\n\t\t\treturn this._http.post(url, body, options);\r\n\t\t\t//.map(res => res.json());\r\n\t\t});\r\n\t}\r\n\r\n\tPostWithAuth = (acepid: string, routMap: string, body: any, optionArgs?: RequestOptions): Observable => {\r\n\t\tconst endPoint = environment.APIHost + routMap;\r\n\t\tthis._log.Debug(this.name, ['http PostWithAuth header', { endpoint: endPoint, header: this.header }]);\r\n\r\n\t\treturn this.PostWithAuthWithURL(acepid, endPoint, body, optionArgs);\r\n\t}\r\n\r\n\tPutWithAuthWithURL = (acepid: string, url: string, body: any, optionArgs?: RequestOptions): Observable => {\r\n\t\t//if not dev environment make sure its on https MB 12/18/2017\r\n\t\turl = url.toLowerCase().indexOf(environment.APIHost.toLowerCase()) > -1 ? url : environment.APIHost + url;\r\n\t\turl = this.getSecureUrl(url);\r\n\t\t'http PutWithAuthWithURL header'.logWithObject(this.name, [url, this.header]);\r\n\t\treturn Observable.fromPromise(this.load()).mergeMap(success => {\r\n\t\t\tlet options: RequestOptions;\r\n\t\t\tif (optionArgs) {\r\n\t\t\t\toptions = optionArgs;\r\n\t\t\t\toptions.headers.append(this.X_SESSION, this._sessionId);\r\n\r\n\t\t\t} else {\r\n\t\t\t\toptions = new RequestOptions(\r\n\t\t\t\t\t{ headers: this.header }\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\toptions.headers.delete(this.X_VERSION);\r\n\t\t\toptions.headers.append(this.X_VERSION, '1');\r\n\r\n\t\t\toptions.headers.delete(this.X_ACEPID);\r\n\t\t\toptions.headers.append(this.X_ACEPID, acepid);\r\n\r\n\t\t\t'http PutWithAuthWithURL options'.logWithObject(\r\n\t\t\t\tthis.name,\r\n\t\t\t\t[\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tendpoint: url,\r\n\t\t\t\t\t\toptions: options,\r\n\t\t\t\t\t\theaders: options.headers, // .getAll(this.X_VERSION),\r\n\t\t\t\t\t\tbody: body\r\n\t\t\t\t\t}\r\n\t\t\t\t]);\r\n\t\t\treturn this._http.put(url, body, options);\r\n\t\t\t// .map(res => res.json());\r\n\t\t});\r\n\t}\r\n\r\n\tPutWithAuth = (acepid: string, routMap: string, body: any, optionArgs?: RequestOptions): Observable => {\r\n\t\tconst endPoint = environment.APIHost + routMap;\r\n\t\t'http PutWithAuth header'.logWithObject(this.name, [endPoint, this.header]);\r\n\t\treturn this.PutWithAuthWithURL(acepid, endPoint, body, optionArgs);\r\n\t}\r\n\r\n\tDeleteWithAuthWithURL = (caller: string, url: string, optionArgs?: RequestOptions): Observable => {\r\n\t\t//if not dev environment make sure its on https MB 12/18/2017\r\n\t\turl = url.toLowerCase().indexOf(environment.APIHost.toLowerCase()) > -1 ? url : environment.APIHost + url;\r\n\t\turl = this.getSecureUrl(url);\r\n\t\t'http DeleteWithAuthWithURL header'.logWithObject(this.name, [url, this.header]);\r\n\r\n\t\treturn Observable.fromPromise(this.load()).mergeMap(success => {\r\n\t\t\tlet options: RequestOptions;\r\n\t\t\tif (optionArgs) {\r\n\t\t\t\toptions = optionArgs;\r\n\t\t\t\toptions.headers.append(this.X_SESSION, this._sessionId);\r\n\r\n\t\t\t} else {\r\n\t\t\t\toptions = new RequestOptions(\r\n\t\t\t\t\t{ headers: this.header }\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t\toptions.headers.delete(this.X_VERSION);\r\n\t\t\toptions.headers.append(this.X_VERSION, '1');\r\n\r\n\t\t\toptions.headers.delete(this.X_ACEPID);\r\n\t\t\toptions.headers.append(this.X_ACEPID, caller);\r\n\r\n\t\t\t'http DeleteWithAuthWithURL options'.logWithObject(\r\n\t\t\t\tthis.name,\r\n\t\t\t\t[\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tendpoint: url,\r\n\t\t\t\t\t\toptions: options,\r\n\t\t\t\t\t\theaders: options.headers // .getAll(this.X_VERSION),\r\n\t\t\t\t\t}\r\n\t\t\t\t]);\r\n\r\n\t\t\t//MB if no url just return true..MB..used when something is being removed and has not made it to the server yet\r\n\t\t\tif (url == '') {\r\n\t\t\t\treturn Observable.empty();\r\n\t\t\t}\r\n\r\n\t\t\treturn this._http.delete(url, options);\r\n\t\t\t// .map(res => res.json());\r\n\t\t});\r\n\r\n\t}\r\n\r\n\tDeleteWithAuth = (caller: string, routMap: string, optionArgs?: RequestOptions): Observable => {\r\n\t\tconst endPoint = environment.APIHost + routMap;\r\n\t\t'http DeleteWithAuth header'.logWithObject(this.name, [endPoint, this.header]);\r\n\t\treturn this.DeleteWithAuthWithURL(caller, endPoint);\r\n\t}\r\n\r\n\tSaveQandAFile(stephtml: string[], acepid: string, file: IAWSS3) {\r\n\t\t//need to turn the stephtml into a byte array or file so we can add the \"file\" to the formdata below.\r\n\t\t// \tconst myhtmlfile: File = new File(stephtml, file.Key, {type: 'text/html'});\r\n\r\n\t\t// \tlet fData = new FormData();\r\n\t\t// \tfData.append('file', myhtmlfile);\r\n\r\n\t\t// \tconst h = new Headers(\r\n\t\t// \t\t{\r\n\t\t// \t\t\t'Access-Control-Allow-Origin': '*',\r\n\t\t// \t\t\t'x-version': '1'\r\n\t\t// \t\t\t//, 'type': 'text/html'\r\n\t\t// \t\t}\r\n\t\t// \t);\r\n\r\n\t\t// \tconst options = new RequestOptions(\r\n\t\t// \t\t{ headers: h }\r\n\t\t// \t);\r\n\r\n\r\n\t\t// \tconst endPoint = `/AWS/S3/Upload/application/${file.ApplicationNumber}/file/${file.Name}/ext/${file.Ext}/order/${file.Order}`;\r\n\r\n\t\t// \tthis._log.Debug(this.name, ['upload file aws s3', endPoint, fData, h, stephtml]);\r\n\r\n\t\t// \treturn this.PostWithAuth(acepid, endPoint, fData, options)\r\n\t\t// \t\t.map(response => {\r\n\t\t// \t\t\tif (response.status === 200) {\r\n\t\t// \t\t\t\tconst body = response.json();\r\n\t\t// \t\t\t\tconst data = body.Data;\r\n\t\t// \t\t\t\treturn data;\r\n\t\t// \t\t\t} else {\r\n\t\t// \t\t\t\tthis._log.Error(this.name, ['get file', response]);\r\n\t\t// \t\t\t\treturn undefined;\r\n\t\t// \t\t\t}\r\n\t\t// \t\t})\r\n\t\t// \t\t.toPromise();\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/server/server.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n// Interfaces\r\nimport { IService } from '../../interfaces';\r\n\r\n@Injectable()\r\nexport class LoaderService implements IService {\r\n\t// implements local variables\r\n\t_isLoading: BehaviorSubject = new BehaviorSubject(false);\r\n\r\n\t_data: {\r\n\t\tisLoading: boolean\r\n\t}\r\n\r\n\tMembersAreLoading$ = new EventEmitter(true);\r\n\r\n\t// implements IService\r\n\tname = 'LoaderService';\r\n\ttest(name, value) {\r\n\t\tconsole.log('testing', name, value);\r\n\t}\r\n\tconstructor() { }\r\n\r\n\tget ISLOADING() {\r\n\t\treturn this._isLoading;\r\n\t}\r\n\r\n\tprivate set isLoading(value: boolean) {\r\n\t\tthis._data = {\r\n\t\t\tisLoading: value\r\n\t\t};\r\n\t\tthis._isLoading.next(value);\r\n\t}\r\n\r\n\tget Data() {\r\n\t\tif (this._data === undefined) {\r\n\t\t\treturn { isLoading: false };\r\n\t\t}\r\n\t\treturn this._data;\r\n\t}\r\n\r\n\tSetLoading(caller: string, value: boolean) {\r\n\t\t//'setting loader'.logWithObject(this.name, [{ caller: caller, value: value }]);\r\n\t\tthis.isLoading = value;\r\n\t}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/loader/loader.service.ts","import { Injectable, EventEmitter } from \"@angular/core\";\r\nimport { environment } from \"../../../../environments/environment\";\r\n\r\n// Enums\r\nimport { MessageTypeEnum } from \"../../enums\";\r\n\r\n// Interfaces\r\nimport { IService, IMessage, IError } from \"../../interfaces\";\r\n\r\n@Injectable()\r\nexport class PromptService implements IService {\r\n\t// implements local variables\r\n\tpublic showPrompt$ = new EventEmitter(true);\r\n\tpublic hidePrompt$ = new EventEmitter();\r\n\r\n\t// implements IService\r\n\tname = \"PromptService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\r\n\tconstructor() {}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/prompt/prompt.service.ts","import { Injectable, EventEmitter } from \"@angular/core\";\r\nimport { Observable, BehaviorSubject } from \"rxjs/Rx\";\r\nimport { Http, RequestOptions, Headers, Response } from \"@angular/http\";\r\nimport { Router } from \"@angular/router\";\r\nimport { environment } from \"../../../../environments/environment\";\r\n\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplication,\r\n\tIState,\r\n\tIStateModel,\r\n\tIStatesModel,\r\n\tICountriesModel,\r\n\tICountry,\r\n\tICountryModel,\r\n\tIError,\r\n\tIStepModel,\r\n\tIApplicationModel,\r\n\tIApplicationsModel,\r\n\tIReviewer,\r\n\tIReviewerModel,\r\n\tIReviewersModel,\r\n\tIQuestionModel\r\n} from \"../../interfaces\";\r\n// enums\r\nimport { RoleEnum, ApplicationStatusEnum } from \"../../enums\";\r\n// Services\r\nimport { LogService } from \"../log/log.service\";\r\nimport { ServerService } from \"../server/server.service\";\r\nimport { LoaderService } from \"../loader/loader.service\";\r\nimport { PromptService } from \"../prompt/prompt.service\";\r\nimport { TOUCHEND_HIDE_DELAY } from \"@angular/material\";\r\n\r\n@Injectable()\r\nexport class HelperService implements IService {\r\n\t// implements local variables\r\n\t_states: BehaviorSubject = new BehaviorSubject(undefined);\r\n\t_countries: BehaviorSubject = new BehaviorSubject(\r\n\t\tundefined\r\n\t);\r\n\t_phoneTypes: BehaviorSubject = new BehaviorSubject(undefined);\r\n\r\n\t_data: {\r\n\t\tstates: IStateModel[];\r\n\t\tcountries: ICountryModel[];\r\n\t\tphoneTypes: string[];\r\n\t};\r\n\r\n\tOnModuleClicked$ = new EventEmitter(true);\r\n\treadonly CANNOTGOFORWARD = `At this time, your ED does not meet the minimum requirements for\r\n Geriatric Accreditation. Thank you for your interest in improving care for\r\n our seniors. We look forward to your application in the future.`;\r\n\treadonly CANNOTGOFORWARDMIN = `At this time, your ED does not meet the minimum requirements for\r\n Geriatric Accreditation.`;\r\n\treadonly CANNOTGOFORWARDPLUS = `At this time, your ED does not meet the minimum requirements for\r\n Geriatric Accreditation as `;\r\n\treadonly SELECTQCREVIEWER = `Select the QC Reviewer`;\r\n\r\n\treadonly SAVESTALECHANGES = `Please save your application information before continuing.`;\r\n\r\n\treadonly DOWNLOAD =\r\n\t\t\"We are preparing your download. Thank You for your patience.\";\r\n\t// implements IService\r\n\tname = \"HelperService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\r\n\tconstructor(\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _loaderSrv: LoaderService,\r\n\t\tprivate _promptSrv: PromptService,\r\n\t\tprivate _router: Router\r\n\t) {\r\n\t\tthis.getCountries();\r\n\t\tthis.getStates();\r\n\t}\r\n\r\n\tget DATA() {\r\n\t\tif (this._data === undefined) {\r\n\t\t\tthis._data = {\r\n\t\t\t\tcountries: undefined,\r\n\t\t\t\tphoneTypes: undefined,\r\n\t\t\t\tstates: undefined\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn this._data;\r\n\t}\r\n\r\n\tget PHONETYPES() {\r\n\t\tif (this.DATA.phoneTypes === undefined) {\r\n\t\t\tthis.PhoneTypes = [\"Home\", \"Mobile\", \"Hospital\", \"Business\"];\r\n\t\t}\r\n\t\treturn this._phoneTypes;\r\n\t}\r\n\r\n\tset PhoneTypes(value: string[]) {\r\n\t\tif (this.DATA.phoneTypes === undefined) {\r\n\t\t\tthis.DATA.phoneTypes = value;\r\n\t\t\tthis._phoneTypes.next(value);\r\n\t\t}\r\n\t}\r\n\r\n\tget STATES() {\r\n\t\treturn this._states;\r\n\t}\r\n\r\n\tset States(value: IStateModel[]) {\r\n\t\tif (this.DATA.states === undefined) {\r\n\t\t\tthis.DATA.states = value;\r\n\t\t\tthis._states.next(value);\r\n\t\t}\r\n\t}\r\n\r\n\tget COUNTRIES() {\r\n\t\treturn this._countries;\r\n\t}\r\n\r\n\tset Countries(value: ICountryModel[]) {\r\n\t\tif (this.DATA.countries === undefined) {\r\n\t\t\tthis.DATA.countries = value;\r\n\t\t\tthis._countries.next(value);\r\n\t\t}\r\n\t}\r\n\r\n\tgetStates() {\r\n\t\tthis._logSrv.Debug(this.name, [\"getStates\"]);\r\n\t\tthis._serverSrv\r\n\t\t\t.GetWithAuth(\"A00000\", `${environment.APILocation}helpers/states`)\r\n\t\t\t.subscribe(\r\n\t\t\t\tresponse => {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\t\t\"getStates\",\r\n\t\t\t\t\t\t{ response: response, body: body }\r\n\t\t\t\t\t]);\r\n\t\t\t\t\tconst model = body.States;\r\n\t\t\t\t\tthis.States = model;\r\n\t\t\t\t},\r\n\t\t\t\tErr => {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, [\"getStates\", Err]);\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t}\r\n\r\n\tgetCountries() {\r\n\t\tthis._logSrv.Debug(this.name, [\"getCountries\"]);\r\n\t\tthis._serverSrv\r\n\t\t\t.GetWithAuth(\r\n\t\t\t\t\"A00000\",\r\n\t\t\t\t`${environment.APILocation}helpers/countries`\r\n\t\t\t)\r\n\t\t\t.subscribe(\r\n\t\t\t\tresponse => {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\t\t\"getCountries\",\r\n\t\t\t\t\t\t{ response: response, body: body }\r\n\t\t\t\t\t]);\r\n\t\t\t\t\tconst model = body.Countries;\r\n\t\t\t\t\tthis.Countries = model;\r\n\t\t\t\t},\r\n\t\t\t\tErr => {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, [\"getCountries\", Err]);\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t}\r\n\r\n\tgetRandomInt(min, max) {\r\n\t\tmin = Math.ceil(min);\r\n\t\tmax = Math.floor(max);\r\n\t\treturn Math.floor(Math.random() * (max - min)) + min; // The maximum is exclusive and the minimum is inclusive\r\n\t}\r\n\r\n\tgetTerms(): string {\r\n\t\treturn environment.base.Termsandcondition;\r\n\t}\r\n\r\n\tgoToMain() {\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\tthis._router.navigate([\"/main\"]);\r\n\t}\r\n\r\n\tgoToMainWithLevel(level: Number, supress: boolean) {\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\tthis._router.navigate([\"/main\"], {\r\n\t\t\tqueryParams: supress ? { nolevel: level } : { yeslevel: level }\r\n\t\t});\r\n\t}\r\n\r\n\tgoToLogin() {\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\tthis._router.navigate([\"/login\"]);\r\n\t}\r\n\r\n\tgoToMyAccount() {\r\n\t\tlet acctPath = \"/membership/dashboard\";\r\n\r\n\t\tif (this.env === \"development\") {\r\n\t\t\tacctPath = `/ACEP${acctPath}`;\r\n\t\t}\r\n\r\n\t\twindow.location.href = environment.BaseUrl + acctPath;\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\t// this._router.navigate([acctPath])\r\n\t\t// \t.then(success => {\r\n\r\n\t\t// \t})\r\n\t\t// \t.catch(err => {\r\n\t\t// \t\tthis.goToMain();\r\n\t\t// \t}\r\n\t\t// \t);\r\n\t}\r\n\r\n\tgoTOMaintenancePage() {\r\n\t\twindow.location.href = 'https://www.acep.org/geda/geda-maintenance';\r\n\t}\r\n\r\n\tgoToApplications(contactid: string) {\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\tthis._router\r\n\t\t\t.navigate([\"/applications/home\", { id: contactid }])\r\n\t\t\t.then(success => { });\r\n\t}\r\n\r\n\tgoTo(url: string) {\r\n\t\tthis._logSrv.Debug(this.name, [\"goToStep\", window]);\r\n\t\tthis._router.navigateByUrl(url);\r\n\t}\r\n\r\n\tgoToApplication(model: IApplicationModel) {\r\n\t\tthis.goToLevel(model.Application.Level, model.Application.Id);\r\n\t}\r\n\r\n\tgoToLevel(level: number, guid: string, isUpgrade: boolean = false) {\r\n\t\tthis._logSrv.Debug(this.name, [\"goToLevel\", +level, guid]);\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\r\n\t\tswitch (+level) {\r\n\t\t\tcase 3:\r\n\t\t\tcase 2:\r\n\t\t\tcase 1:\r\n\t\t\t\tif (isUpgrade) {\r\n\t\t\t\t\tthis._router.navigate([\r\n\t\t\t\t\t\t`/levels/level${+level}/information`,\r\n\t\t\t\t\t\tguid\r\n\t\t\t\t\t]);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._router.navigate([\r\n\t\t\t\t\t\t`/levels/level${+level}/information`,\r\n\t\t\t\t\t\tguid\r\n\t\t\t\t\t]);\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\r\n\t\t\tdefault:\r\n\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t}\r\n\t}\r\n\r\n\tgoToLevelWithStep(level: number, guid: string, step: string) {\r\n\t\tthis._logSrv.Debug(this.name, [\"goToLevel\", +level, guid]);\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\tswitch (+level) {\r\n\t\t\tcase 3:\r\n\t\t\t\tthis._router.navigate([`/levels/level3/${step}`, guid]);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tthis._router.navigate([`/levels/level2/${step}`, guid]);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tthis._router.navigate([`/levels/level1/${step}`, guid]);\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t}\r\n\t\t//scroll to top of page\r\n\t\t$(\"html, body\").animate({ scrollTop: 0 }, \"fast\");\r\n\t}\r\n\r\n\t// goToApproval(guid: string) {\r\n\t// \tthis._logSrv.Debug(this.name, ['goToLevel', guid]);\r\n\t// \tthis._loaderSrv.SetLoading(this.name, true);\r\n\t// \tthis._router.navigate(['/approval/home', guid]);\r\n\r\n\t// \tthis._loaderSrv.SetLoading(this.name, false);\r\n\t// }\r\n\r\n\tgoToDetail(appModel: IApplicationModel) {\r\n\t\t//this._logSrv.Debug(this.name, ['goToLevel', appModel.Application.Id]);\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\r\n\t\tif (appModel.Application.Status == ApplicationStatusEnum.Initiated) {\r\n\t\t\tthis.goToApplication(appModel);\r\n\t\t} else {\r\n\t\t\tthis._router.navigate([\"/detail/home\", appModel.Application.Id]);\r\n\t\t}\r\n\t}\r\n\r\n\t// goToRightOutlet(id) {\r\n\t// \tthis._router.navigate(\r\n\t// \t\t[\r\n\t// \t\t\t{\r\n\t// \t\t\t\toutlets: { member: ['applications', 'home', id] }\r\n\t// \t\t\t}\r\n\t// \t\t]);\r\n\t// }\r\n\r\n\tisUndefined(obj: any) {\r\n\t\treturn obj === undefined || obj === null || obj === \"\";\r\n\t}\r\n\r\n\tget Authorization() {\r\n\t\treturn environment.Token;\r\n\t}\r\n\tget ApiLocation() {\r\n\t\treturn environment.APILocation;\r\n\t}\r\n\r\n\tget ApiPayment() {\r\n\t\treturn environment.paymentUrl;\r\n\t}\r\n\r\n\tget Url() {\r\n\t\treturn environment.url;\r\n\t}\r\n\r\n\tget newHospitalId() {\r\n\t\treturn environment.base.ManuallyEnterInfoId;\r\n\t}\r\n\r\n\tget env() {\r\n\t\treturn environment.Evn;\r\n\t}\r\n\r\n\tasync prompt(prompt: IError): Promise {\r\n\t\tlet wedonehere = false;\r\n\t\tconst wdh = await this._promptSrv.showPrompt$.emit(prompt);\r\n\t\twedonehere = true;\r\n\t\treturn wedonehere;\r\n\t}\r\n\r\n\thidePrompt() {\r\n\t\tthis._promptSrv.hidePrompt$.emit();\r\n\t}\r\n\r\n\tgetNumberOfDaysTillNow(date1: Date): number {\r\n\t\tvar diff = Math.abs(date1.getTime() - Date.now());\r\n\t\tvar diffDays = Math.ceil(diff / (1000 * 3600 * 24));\r\n\t\treturn diffDays;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/helper/helper.service.ts","import { Injectable } from \"@angular/core\";\r\n\r\n// Interfaces\r\nimport { IService, IContact } from \"../../interfaces\";\r\n\r\n// Services\r\nimport { LogService } from \"../log/log.service\";\r\nimport { HelperService } from \"../helper/helper.service\";\r\n\r\n@Injectable()\r\nexport class StorageService implements IService {\r\n\t// Local variables\r\n\t_local: Storage;\r\n\t_session: Storage;\r\n\r\n\treadonly CONTACT: string = \"CNTCT-583433\";\r\n\treadonly KEY_APPLICATIONS: string = \"APPSCNTCT-254983\";\r\n\treadonly KEY_APPLICATION: string = \"APPCNTCT-854983\";\r\n\treadonly KEY_ACCOUNTS_SEARCH: string = \"ACTSSRCH-452563\";\r\n\treadonly KEY_HEALTHSYSTEM_SEARCH: string = \"HEALTHSYSSRCH-452566\";\r\n\treadonly KEY_STEPS: string = \"STPS-96548\";\r\n\treadonly KEY_STEP: string = \"STP-59548\";\r\n\treadonly KEY_S3: string = \"S3-954321\";\r\n\treadonly KEY_UPGRADEAPP: string = \"UPGRADEAPP-998877\";\r\n\treadonly TEST_CONTACTS: string = \"TSTCNTCTS-358766\";\r\n\treadonly KEY_PRODUCT: string = \"PROD-258463\";\r\n\treadonly KEY_SALESORDER: string = \"SLSORDR-7569582\";\r\n\treadonly KEY_DISCUSSION_LEGENDS = \"D_15223\";\r\n\treadonly KEY_DISCUSSION_LEGENDSUSER = \"D_15224\";\r\n\t// implements IService\r\n\tname = \"StorageService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\r\n\tconstructor(private _helperSrv: HelperService) {\r\n\t\tthis._local = window.localStorage;\r\n\t\tthis._session = window.sessionStorage;\r\n\t}\r\n\r\n\t/** gets session storage */\r\n\tget session() {\r\n\t\treturn this._session;\r\n\t}\r\n\r\n\t/** gets local storage */\r\n\tget local() {\r\n\t\treturn this._local;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets a session storage\r\n\t * @param key\r\n\t */\r\n\tgetSession(key: string): T {\r\n\t\tconst value = this.session.getItem(key.toUpperCase());\r\n\t\t// 'getting session'.logWithObject(this.name, [key, value]);\r\n\t\tif (value === undefined || value === null) {\r\n\t\t\treturn undefined;\r\n\t\t} else {\r\n\t\t\tconst obj = JSON.parse(value);\r\n\t\t\treturn obj;\r\n\t\t}\r\n\t}\r\n\r\n\t/** sets a key value to session storage */\r\n\tsetSession(key: string, value: any) {\r\n\t\t// 'setting session'.logWithObject(this.name, [key, value]);\r\n\t\tthis._session.setItem(key.toUpperCase(), JSON.stringify(value));\r\n\t\tif (value === undefined) {\r\n\t\t\tthis._session.removeItem(key.toUpperCase());\r\n\t\t}\r\n\t}\r\n\r\n\t/** gets value for a given key */\r\n\tgetLocal(key: string) {\r\n\t\tconst value = this.local.getItem(key.toUpperCase());\r\n\t\treturn value;\r\n\t}\r\n\r\n\t/** sets a key value to a local storage */\r\n\tsetLocal(key: string, value: any) {\r\n\t\tthis._local.setItem(key.toUpperCase(), JSON.stringify(value));\r\n\t}\r\n\r\n\tgetContact(): IContact {\r\n\t\tconst contact = this.GetSessionObject(this.CONTACT);\r\n\t\treturn contact;\r\n\t}\r\n\r\n\t/**\r\n\t * Gets object from local storage\r\n\t * @param key\r\n\t */\r\n\tGetLocalObject(key: string): T {\r\n\t\tconst value = this._local.getItem(key.toUpperCase());\r\n\t\t// 'Requesting local value for:'.logWithObject(this.name, [key, value]);\r\n\t\tconst obj = JSON.parse(value);\r\n\t\t// 'Requested local value for:'.logWithObject(this.name, [key, obj]);\r\n\r\n\t\treturn obj;\r\n\t}\r\n\r\n\t/**\r\n\t * Get object from session storage\r\n\t * @param key\r\n\t */\r\n\tGetSessionObject(key: string): T {\r\n\t\tconst value = this._session.getItem(key.toUpperCase());\r\n\t\t// 'Requesting session value for:'.logWithObject(this.name, [key, value, document.cookie]);\r\n\r\n\t\tconst obj = JSON.parse(value);\r\n\t\t// 'Requested session value for:'.logWithObject(this.name, [key, obj]);\r\n\t\treturn obj;\r\n\t}\r\n\r\n\tGetKey(key: string) {\r\n\t\tconst k = this.session.getItem(key);\r\n\t\tif (k !== undefined && k !== null) {\r\n\t\t\treturn k;\r\n\t\t} else {\r\n\t\t\tthis.session.setItem(key, this._helperSrv.getRandomInt(1000, 9999));\r\n\t\t\treturn this.session.getItem(key);\r\n\t\t}\r\n\t}\r\n\r\n\tRemoveKey(key: string) {\r\n\t\tthis.session.removeItem(key);\r\n\t\tthis.local.removeItem(key);\r\n\t}\r\n\r\n\tAddTestContact(contact: IContact) {\r\n\t\tlet contacts = this.getSession(this.TEST_CONTACTS);\r\n\t\tif (contacts === undefined || contacts === null) {\r\n\t\t\tcontacts = [];\r\n\t\t}\r\n\t\tcontacts.push(contact);\r\n\t\tthis.setSession(this.TEST_CONTACTS, contacts);\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/storage/storage.service.ts","import { Injectable } from \"@angular/core\";\r\nimport { Observable, BehaviorSubject } from \"rxjs/Rx\";\r\nimport { Http, RequestOptions, Headers, Response } from \"@angular/http\";\r\nimport { environment } from \"../../../../environments/environment\";\r\n\r\n// Interfaces\r\nimport { IService } from \"../../interfaces\";\r\n\r\n// Services\r\nimport { LogService } from \"../log/log.service\";\r\nimport { ServerService } from \"../server/server.service\";\r\n\r\nimport * as _ from \"lodash\";\r\n\r\n@Injectable()\r\nexport class SsoService implements IService {\r\n\t// implements local variables\r\n\t// Private\r\n\tprivate headers: Headers;\r\n\tprivate BasePath = environment.BaseUrl;\r\n\tprivate ninjaapiendpoint = this.BasePath + \"/utils/api/ninja/\";\r\n\r\n\t// map((res: Response) => this.ApplyContext(res)).share();\r\n\tprivate loginurl = this.BasePath + \"/SAML/sso.ashx?\" + \"org=ACEP&redir=\";\r\n\tprivate logouturl = `${this.BasePath}/Logout.aspx?redirurl=${\r\n\t\tenvironment.BaseUrl\r\n\t}/${environment.base.name}`;\r\n\r\n\t// Public\r\n\t_data: {\r\n\t\tcontext: any;\r\n\t\tcontactid: string;\r\n\t\tacepid: string;\r\n\t\tfirstname: string;\r\n\t\tavatar: string;\r\n\t};\r\n\tdefaultAvatar =\r\n\t\t\"https://webapps.acep.org/globalassets/images/defaultavatar.png\";\r\n\t// implements IService\r\n\tname = \"SsoService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\r\n\tconstructor(\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _serverSrv: ServerService\r\n\t) {}\r\n\r\n\tget DATA() {\r\n\t\tif (this._data === undefined) {\r\n\t\t\tthis._data = {\r\n\t\t\t\tacepid: \"\",\r\n\t\t\t\tcontactid: \"\",\r\n\t\t\t\tcontext: undefined,\r\n\t\t\t\tfirstname: \"\",\r\n\t\t\t\tavatar: this.defaultAvatar\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn this._data;\r\n\t}\r\n\r\n\t// Gets the SSO user's context//\r\n\tGetSSO(caller: string) {\r\n\t\t\"GetSSO caller\".logWithObject(this.name, caller);\r\n\t\ttry {\r\n\t\t\tif (this.DATA.context) {\r\n\t\t\t\t\"inside data context true: \".logWithObject(\r\n\t\t\t\t\tthis.name,\r\n\t\t\t\t\tthis.DATA.context\r\n\t\t\t\t);\r\n\t\t\t\treturn Promise.resolve(this.DATA.context);\r\n\t\t\t}\r\n\t\t\treturn this.GetContext(caller);\r\n\t\t} catch (error) {\r\n\t\t\t\"inside getsso errors\".logWithObject(this.name, { error, caller });\r\n\t\t\treturn this.GetContext(undefined);\r\n\t\t}\r\n\t}\r\n\r\n\tGetContext = (caller: string) => {\r\n\t\tlet options: RequestOptions;\r\n\r\n\t\tconst headers = new Headers({\r\n\t\t\tAuthorization: environment.Token,\r\n\t\t\t\"Content-Type\": \"application/json\",\r\n\t\t\t\"Access-Control-Allow-Origin\": \"*\"\r\n\t\t});\r\n\t\toptions = new RequestOptions({ headers: headers });\r\n\t\t\"inside get context\".logWithObject(this.name, options);\r\n\r\n\t\tconst env = environment.Evn;\r\n\t\tif (env === \"development\") {\r\n\t\t\tthis.ninjaapiendpoint = \"http://localhost/acep/utils/api/ninja/\";\r\n\t\t}\r\n\r\n\t\treturn this._serverSrv\r\n\t\t\t.GetByURL(caller, this.ninjaapiendpoint + \"GetContext\", options)\r\n\t\t\t.toPromise()\r\n\t\t\t.then(res => {\r\n\t\t\t\treturn this.ApplyContext(res);\r\n\t\t\t});\r\n\t};\r\n\r\n\tApplyContext(c: any): Promise {\r\n\t\t\"Getting context1\".logWithObject(this.name, c);\r\n\t\t//alert('in applycontext');\r\n\t\tc = c.json();\r\n\t\tc.user = JSON.parse(c.user);\r\n\t\t\"Getting context2\".logWithObject(this.name, c.user);\r\n\t\tif (c.user && c.user.ContactNumber && c.user.ContactNumber.length > 0) {\r\n\t\t\tc.paymentconfiguration = JSON.parse(c.paymentconfig);\r\n\t\t\tthis.DATA.context = c;\r\n\t\t\tthis.DATA.acepid = c.user.ContactNumber;\r\n\t\t\tthis.DATA.contactid = c.user.ContactId;\r\n\t\t\tthis.DATA.firstname = c.user.FirstName;\r\n\r\n\t\t\tif (this.DATA.context.user.Avatar === \"\") {\r\n\t\t\t\tthis.DATA.context.user.Avatar = this.defaultAvatar;\r\n\t\t\t}\r\n\t\t\tthis.DATA.avatar = this.DATA.context.user.Avatar;\r\n\t\t\t\"returning context\".logWithObject(this.name, this.DATA);\r\n\t\t\tthis._logSrv.Info(this.name, [\"Signing in\", c, c.user]);\r\n\t\t\t// this._emailService.sendToDev(\r\n\t\t\t// c.user.ContactNumber, this.name, 'SSO Sign on').subscribe();\r\n\t\t\treturn this.DATA.context;\r\n\t\t} else {\r\n\t\t\tthis._data = undefined;\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\t}\r\n\r\n\tCheckAuthorizationOnResponse(error) {\r\n\t\tif (error.status === \"401\") {\r\n\t\t\tthis._data = undefined;\r\n\t\t\t// Show notification from current app's ui service here : TODO\r\n\t\t\t// this.notify('Session Expired. You will be redirected to the Login Page', '', 'error');\r\n\t\t\talert(\"Session Expired. You will be redirected to the Login Page\");\r\n\t\t\tthis.login(\"/applications/home\");\r\n\t\t}\r\n\t}\r\n\r\n\t/**\r\n\t * let u = url || 'applications/home';\r\n\t * this._ssoService.login(u);\r\n\t * @param returnurl url of where sso will return to\r\n\t */\r\n\tlogin(returnurl: string) {\r\n\t\t// alert(this.contactid);\r\n\t\tif (this.DATA.contactid === \"\" || this.DATA.contactid === undefined) {\r\n\t\t\tlet url =\r\n\t\t\t\tthis.loginurl +\r\n\t\t\t\t_.escape(\r\n\t\t\t\t\tenvironment.BaseUrl +\r\n\t\t\t\t\t\t`/${environment.base.name}/#${returnurl}`\r\n\t\t\t\t); //window.location.href);\r\n\t\t\tconsole.log(\"login url is: \" + url);\r\n\t\t\twindow.location.href = url;\r\n\t\t\t// this.showwait();\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}\r\n\r\n\t// logout\r\n\tlogout() {\r\n\t\tthis.logouturl.log(\"SSO Service is logging out\");\r\n\t\twindow.location.href = this.logouturl;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/sso/sso.service.ts","import { Injectable } from \"@angular/core\";\r\nimport { Observable, BehaviorSubject } from \"rxjs/Rx\";\r\nimport { environment } from \"../../../../environments/environment\";\r\nimport { Response } from \"@angular/http\";\r\n\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIContact,\r\n\tILink,\r\n\tIContactModel,\r\n\tIReviewer,\r\n\tIRole\r\n} from \"../../interfaces\";\r\n\r\n// Services\r\nimport { LogService } from \"../log/log.service\";\r\nimport { ServerService } from \"../server/server.service\";\r\nimport { LoaderService } from \"../loader/loader.service\";\r\nimport { StorageService } from \"../storage/storage.service\";\r\nimport { HelperService } from \"../helper/helper.service\";\r\nimport { SsoService } from \"../sso/sso.service\";\r\n// Helpers\r\n// import * as helpers from '../../../helpers';\r\n\r\n// Enums\r\nimport { RoleEnum } from \"../../enums\";\r\nimport { forEach } from \"@angular/router/src/utils/collection\";\r\nimport { I18NHtmlParser } from \"@angular/compiler/src/i18n/i18n_html_parser\";\r\n\r\n@Injectable()\r\nexport class UserService implements IService {\r\n\t// implements local variables\r\n\tprivate _contact: BehaviorSubject = new BehaviorSubject(\r\n\t\tundefined\r\n\t);\r\n\tprivate _contactsArray: IContact[] = [];\r\n\tprivate _testcontacts = new BehaviorSubject(undefined);\r\n\t//Will vary after clicking application..could act as panel, board, etc based on application\r\n\tprivate _role: BehaviorSubject = new BehaviorSubject(\r\n\t\tRoleEnum.Applicant\r\n\t);\r\n\t_testAcepIds: string[];\r\n\t//Used to set wehther user is present in each role after clicking application\r\n\tIROLE: IRole;\r\n\t//does not change and drives based on role in reviewers\r\n\tpublic Is_QC_Reviewer: boolean;\r\n\r\n\tpublic CURRENTUSER_CONTACTID = undefined;\r\n\tpublic CURRENTUSER_ACEPID = undefined;\r\n\tpublic CURRENTUSER_FIRSTNAME = undefined;\r\n\r\n\tprivate _data: {\r\n\t\tcontact: IContact;\r\n\t\tavatar: string;\r\n\t};\r\n\r\n\t// implements IService\r\n\tname = \"UserService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\r\n\tconstructor(\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _storageSrv: StorageService,\r\n\t\tprivate _helperSrv: HelperService,\r\n\t\tprivate _ssoSrv: SsoService\r\n\t) {\r\n\t\tthis._testAcepIds = [\r\n\t\t\t\"A632115\",\r\n\t\t\t\"A454625\",\r\n\t\t\t\"A417356\",\r\n\t\t\t\"A483303\",\r\n\t\t\t\"A471317\",\r\n\t\t\t\"A656147\",\r\n\t\t\t\"A680939\",\r\n\t\t\t\"A617196\"\r\n\t\t\t// \"A654724\",\r\n\t\t\t// \"A701976\"\r\n\t\t];\r\n\t\t//this._testAcepIds = ['A454625'];\r\n\r\n\t\t// this.getTestContacts().then(\r\n\t\t// \tsuccess => {\r\n\t\t// \t\tthis._testcontacts.next(this._contactsArray);\r\n\t\t// \t}\r\n\t\t// );\r\n\t\t// this.getContact('A483303');\r\n\t\t// this.getContact('A471317');\r\n\t\t// this.getContact('A656147');\r\n\t\t// this.getContact('A680939');\r\n\t}\r\n\r\n\tget TESTCONTACTS() {\r\n\t\treturn this._testcontacts;\r\n\t}\r\n\r\n\tget CONTACT() {\r\n\t\treturn this._contact;\r\n\t}\r\n\r\n\tprivate set contact(value: IContact) {\r\n\t\tconst data = {\r\n\t\t\tcontact: undefined,\r\n\t\t\taccounts: undefined,\r\n\t\t\taccount: undefined,\r\n\t\t\tmodel: undefined,\r\n\t\t\tavatar: undefined\r\n\t\t};\r\n\t\tthis._contact.next(value);\r\n\t\tdata.contact = value;\r\n\t\tif (value !== undefined) {\r\n\t\t\tthis.Role = value.Role;\r\n\t\t\tthis._data = data;\r\n\t\t} else {\r\n\t\t\tthis.Role = 0;\r\n\t\t\tthis._data = data;\r\n\t\t}\r\n\t\t\"Setting contact in private set contact\".logWithObject(this.name, {\r\n\t\t\tData: this._data\r\n\t\t});\r\n\t}\r\n\r\n\tget Data() {\r\n\t\treturn this._data;\r\n\t}\r\n\r\n\tget ROLE() {\r\n\t\treturn this._role;\r\n\t}\r\n\r\n\tpublic set Role(value: RoleEnum) {\r\n\t\tif (this.Data && this.Data.contact) {\r\n\t\t\tthis.Data.contact.Role = value;\r\n\t\t}\r\n\t\tthis._role.next(value);\r\n\t}\r\n\r\n\tgetContactFromCRM(acepid: string): Promise {\r\n\t\tthis._logSrv.Debug(this.name, [\"getContact\", acepid]);\r\n\t\treturn this.getTestContact(acepid)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst body = response.json();\r\n\t\t\t\tconst contact = body.Data;\r\n\r\n\t\t\t\treturn contact.Contact;\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\tgetTestContacts(): Promise {\r\n\t\treturn new Promise((resolve, fail) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst tstCntcts = this._storageSrv.getSession(\r\n\t\t\t\t\tthis._storageSrv.TEST_CONTACTS\r\n\t\t\t\t);\r\n\t\t\t\tif (tstCntcts !== undefined) {\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\t\t\"getTestContacts from storage\",\r\n\t\t\t\t\t\ttstCntcts\r\n\t\t\t\t\t]);\r\n\t\t\t\t\tresolve(tstCntcts);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tconst promises: Promise[] = [];\r\n\t\t\t\t\tthis._testAcepIds.forEach(acepid => {\r\n\t\t\t\t\t\tpromises.push(this.getTestContact(acepid).toPromise());\r\n\t\t\t\t\t});\r\n\t\t\t\t\tPromise.all(promises).then(\r\n\t\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\t\tresponse.forEach(contact => {\r\n\t\t\t\t\t\t\t\tthis.addToTestList(contact);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tthis._storageSrv.setSession(\r\n\t\t\t\t\t\t\t\tthis._storageSrv.TEST_CONTACTS,\r\n\t\t\t\t\t\t\t\tthis._contactsArray\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\t\t\t\t\"getTestContacts\",\r\n\t\t\t\t\t\t\t\tthis._contactsArray\r\n\t\t\t\t\t\t\t]);\r\n\t\t\t\t\t\t\tresolve(this._contactsArray);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfailResponse => {\r\n\t\t\t\t\t\t\tfail(failResponse);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t} catch (err) {\r\n\t\t\t\tfail(err);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tgetTestContact(acepid: string): Observable {\r\n\t\tthis._logSrv.Debug(this.name, [\"getTestContact\", acepid]);\r\n\t\treturn this._serverSrv.GetWithAuth(\r\n\t\t\tacepid,\r\n\t\t\t`${environment.APILocation}contact/${acepid}`\r\n\t\t);\r\n\t}\r\n\r\n\taddTestContact(acepid: string): Promise {\r\n\t\tthis._logSrv.Debug(this.name, [\"addTestContact\", acepid]);\r\n\t\treturn new Promise((resolve, fail) => {\r\n\t\t\tthis.getTestContact(acepid)\r\n\t\t\t\t.toPromise()\r\n\t\t\t\t.then(\r\n\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\tconst contact = this.addToTestList(response);\r\n\t\t\t\t\t\tresolve(contact);\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfailResponse => {\r\n\t\t\t\t\t\tfail(failResponse);\r\n\t\t\t\t\t}\r\n\t\t\t\t);\r\n\t\t});\r\n\t}\r\n\taddToTestList(response: Response): IContact {\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"addToTestList\",\r\n\t\t\t{ response: response }\r\n\t\t]);\r\n\t\tconst body = response.json();\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"addToTestList\",\r\n\t\t\t{ body: body, data: body.Data }\r\n\t\t]);\r\n\t\tconst contact = body.Data;\r\n\t\tthis._contactsArray.push(contact.Contact);\r\n\t\treturn contact.Contact;\r\n\t}\r\n\r\n\tgetContact() {\r\n\t\tconst exist = this._data && this._data.contact;\r\n\r\n\t\t//console.log('set the contact in getcontact');\r\n\t\tif (!exist) {\r\n\t\t\tconsole.log(\r\n\t\t\t\t\"getcontact does not have a contact. create one from session\"\r\n\t\t\t);\r\n\t\t\tconst strg = this._storageSrv.getSession(\r\n\t\t\t\tthis._storageSrv.CONTACT\r\n\t\t\t);\r\n\t\t\t\"getContact filled in\".logWithObject(this.name, strg);\r\n\t\t\tthis.contact = strg;\r\n\t\t}\r\n\t\treturn this._data && this._data.contact\r\n\t\t\t? this._data.contact\r\n\t\t\t: undefined;\r\n\t}\r\n\r\n\tsetContact(caller: string, value: IContact, avatar: string = \"\") {\r\n\t\t\"Setting contact in setContact function\".logWithObject(this.name, [\r\n\t\t\tcaller,\r\n\t\t\tvalue,\r\n\t\t\tavatar\r\n\t\t]);\r\n\t\tthis._storageSrv.setSession(this._storageSrv.CONTACT, value);\r\n\t\tthis.contact = value;\r\n\t\tthis._data.avatar = this._ssoSrv.DATA.avatar || avatar;\r\n\r\n\t\tthis.CURRENTUSER_CONTACTID = value ? value.Id : undefined;\r\n\t\tthis.CURRENTUSER_ACEPID = value ? value.AcepId : undefined;\r\n\t\tthis.CURRENTUSER_FIRSTNAME = value\r\n\t\t\t? value.Profile.FirstName\r\n\t\t\t: undefined;\r\n\t}\r\n\r\n\tsignOut(caller: string) {\r\n\t\tthis._logSrv.Debug(this.name, [\"signOut before\", this.Data]);\r\n\t\tthis.setContact(caller, undefined);\r\n\t\tthis.Is_QC_Reviewer = undefined;\r\n\t\tif (this._helperSrv.env === \"development\") {\r\n\t\t\tthis._helperSrv.goToLogin();\r\n\t\t} else {\r\n\t\t\tthis._ssoSrv.logout();\r\n\t\t}\r\n\r\n\t\tthis._logSrv.Debug(this.name, [\"signOut after\", this.Data]);\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/user/user.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n// Enums\r\nimport { MessageTypeEnum } from '../../enums';\r\n\r\n// Interfaces\r\nimport { IService, IMessage, IError } from '../../interfaces';\r\n\r\n@Injectable()\r\nexport class MessageService implements IService {\r\n\t// implements local variables\r\n\tpublic showLocalMessage$ =\r\n\t\tnew EventEmitter<{ name: string, message: { message: string, isError: boolean, type: MessageTypeEnum } }>(false);\r\n\tpublic showTopError$ = new EventEmitter<{ message: string, isError: boolean, type: MessageTypeEnum }>(false);\r\n\tpublic showBottomError$ = new EventEmitter<{ message: string, isError: boolean, type: MessageTypeEnum }>(false);\r\n\tpublic clearError$ = new EventEmitter(true);\r\n\tprivate _ERROR_MESSAGE: IMessage;\r\n\r\n\t// implements IService\r\n\tname = 'MessageService';\r\n\ttest(name, value) {\r\n\t\tconsole.log('testing', name, value);\r\n\t}\r\n\tconstructor() { }\r\n\r\n\tDisplayTopError(message: string, isError: boolean, type: MessageTypeEnum) {\r\n\t\treturn this.DisplayError(message, isError, type, { top: true, bottom: false });\r\n\t}\r\n\r\n\tDisplayBottomError(message: string, isError: boolean, type: MessageTypeEnum) {\r\n\t\treturn this.DisplayError(message, isError, type, { top: false, bottom: true });\r\n\t}\r\n\r\n\tDisplayBothError(message: string, isError: boolean, type: MessageTypeEnum) {\r\n\t\treturn this.DisplayError(message, isError, type, { top: true, bottom: true });\r\n\t}\r\n\r\n\tDisplayError(\r\n\t\tmessage: string,\r\n\t\tisError: boolean,\r\n\t\tMessageType: MessageTypeEnum,\r\n\t\tlocation?: { top: boolean, bottom: boolean }): Promise {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tconsole.log('ERROR', message);\r\n\t\t\tif (location) {\r\n\t\t\t\tif (location.bottom) {\r\n\t\t\t\t\tthis.showBottomError$.emit({ message: message, isError: isError, type: MessageType });\r\n\t\t\t\t}\r\n\t\t\t\tif (location.top) {\r\n\t\t\t\t\tthis.showTopError$.emit({ message: message, isError: isError, type: MessageType });\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.showBottomError$.emit({ message: message, isError: isError, type: MessageType });\r\n\t\t\t\tthis.showTopError$.emit({ message: message, isError: isError, type: MessageType });\r\n\t\t\t}\r\n\t\t\tresolve(message);\r\n\t\t});\r\n\t}\r\n\r\n\tDisplayLocalMessage(\r\n\t\tname: string,\r\n\t\tmessage: {\r\n\t\t\tmessage: string,\r\n\t\t\tisError: boolean,\r\n\t\t\ttype: MessageTypeEnum\r\n\t\t}\r\n\t) {\r\n\t\t'DisplayLocalMessage'.logWithObject(this.name, [name, message]);\r\n\t\tthis.showLocalMessage$.emit({ name: name, message: message });\r\n\t}\r\n\r\n\tClear() {\r\n\t\tthis.clearError$.emit();\r\n\t}\r\n\r\n\tset ERROR_MESSAGE(value: IMessage) {\r\n\t\tthis._ERROR_MESSAGE = value;\r\n\t}\r\n\r\n\tget ERROR_MESSAGE() {\r\n\t\treturn this._ERROR_MESSAGE;\r\n\t}\r\n\r\n\tServerLog(isError: boolean, e: IError) {\r\n\t\tconst type = isError ? 'error' : 'message';\r\n\t\tconst endPoint = `${environment.APILocation}nLog${type}`;\r\n\t\t// return this._sessionService.Post(endPoint, e)\r\n\t\t// .map(res => res.json())\r\n\t\t// .do(data => {\r\n\t\t// 'error has been logged at the server level'.logWithObject(this.name, [data, e]);\r\n\t\t// })\r\n\t\t// .retry(2)\r\n\t\t// .catch(this.handleError);\r\n\t}\r\n\r\n\tprivate handleError(error: Response | any) {\r\n\t\t// In a real world app, we might use a remote logging infrastructure\r\n\t\tlet errMsg: string;\r\n\t\tif (error instanceof Response) {\r\n\t\t\tconst body = error.json();\r\n\t\t\tbody.then(content => {\r\n\t\t\t\tconst err = content.error || JSON.stringify(body);\r\n\t\t\t\terrMsg = `Response ${error.status} - ${error.statusText || ''} ${err}`;\r\n\t\t\t}, fail => {\r\n\t\t\t\terrMsg = 'Body failed' + fail;\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\terrMsg = 'Not a response' + error.message ? error.message : error.toString();\r\n\t\t}\r\n\t\t'An error message has been returned'.ErrorWithObject(\r\n\t\t\t'ServerLog', errMsg);\r\n\t\treturn Promise.reject(errMsg);\r\n\t}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/message/message.service.ts","import { Injectable, EventEmitter } from \"@angular/core\";\r\nimport { Observable, BehaviorSubject } from \"rxjs/Rx\";\r\nimport { Http, RequestOptions, Headers, Response } from \"@angular/http\";\r\nimport { Router } from \"@angular/router\";\r\nimport { environment } from \"../../../../environments/environment\";\r\n\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplication,\r\n\tIState,\r\n\tIStateModel,\r\n\tIStatesModel,\r\n\tICountriesModel,\r\n\tICountry,\r\n\tICountryModel,\r\n\tIError,\r\n\tIStepModel,\r\n\tIApplicationModel,\r\n\tIApplicationsModel,\r\n\tIReviewerModel,\r\n\tIReviewersModel,\r\n\tILevel_CMSMetadata,\r\n\tILevelStep_CMSMetadata,\r\n\tILevelStepSection_CMSMetadata,\r\n\tIQuestionModel,\r\n\tINotify\r\n} from \"../../interfaces\";\r\n// enums\r\nimport { RoleEnum, ApplicationStatusEnum } from \"../../enums\";\r\nimport { dialogTag } from \"../../types\";\r\n// Services\r\nimport { LogService } from \"../log/log.service\";\r\nimport { ServerService } from \"../server/server.service\";\r\nimport { LoaderService } from \"../loader/loader.service\";\r\nimport { HelperService } from \"../helper/helper.service\";\r\nimport { PromptService } from \"../prompt/prompt.service\";\r\nimport { UserService } from \"../user/user.service\";\r\nimport { ApplicationService } from \"../application/application.service\";\r\nimport { TOUCHEND_HIDE_DELAY } from \"@angular/material\";\r\n\r\n@Injectable()\r\nexport class ReviewerService implements IService {\r\n\t// implements IService\r\n\tname = \"ReviewerService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\r\n\t// implements local variables\r\n\r\n\tpublic AssignToPanels$ = new EventEmitter(true);\r\n\r\n\tprivate _filesAreUploaded: BehaviorSubject = new BehaviorSubject(\r\n\t\tfalse\r\n\t);\r\n\r\n\tprivate _allReviewers: BehaviorSubject<\r\n\t\tIReviewerModel[]\r\n\t> = new BehaviorSubject(undefined);\r\n\tprivate _qcs: BehaviorSubject = new BehaviorSubject<\r\n\t\tIReviewerModel[]\r\n\t>(undefined);\r\n\tprivate _sites: BehaviorSubject = new BehaviorSubject<\r\n\t\tIReviewerModel[]\r\n\t>(undefined);\r\n\tprivate _panels: BehaviorSubject = new BehaviorSubject<\r\n\t\tIReviewerModel[]\r\n\t>(undefined);\r\n\tprivate _boards: BehaviorSubject = new BehaviorSubject<\r\n\t\tIReviewerModel[]\r\n\t>(undefined);\r\n\tprivate _aceps: BehaviorSubject = new BehaviorSubject<\r\n\t\tIReviewerModel[]\r\n\t>(undefined);\r\n\r\n\tprivate _members: BehaviorSubject = new BehaviorSubject<\r\n\t\tIReviewerModel[]\r\n\t>(undefined);\r\n\r\n\tSelectPanelDialogOpen = false;\r\n\r\n\t_updateStatusTo: ApplicationStatusEnum = ApplicationStatusEnum.None;\r\n\r\n\t// private _data: {\r\n\t// _detailResolver: IDetailResolver;\r\n\t// };\r\n\r\n\tprivate _reviewers: {\r\n\t\tAll: IReviewerModel[];\r\n\t\tQCs: IReviewerModel[];\r\n\t\tPanels: IReviewerModel[];\r\n\t\tSites: IReviewerModel[];\r\n\t\tBoards: IReviewerModel[];\r\n\t\tAceps: IReviewerModel[];\r\n\t};\r\n\r\n\t// private _currentReviewers: {\r\n\t// \tQCs: IReviewerModel[],\r\n\t// \tPanels: IReviewerModel[],\r\n\t// \tSites: IReviewerModel[],\r\n\t// \tBoards: IReviewerModel[],\r\n\t// };\r\n\r\n\tconstructor(\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _loaderSrv: LoaderService,\r\n\t\tprivate _promptSrv: PromptService,\r\n\t\tprivate _helperSrv: HelperService,\r\n\t\tprivate _userSrv: UserService\r\n\t) { }\r\n\r\n\tget QCS() {\r\n\t\treturn this._qcs.asObservable();\r\n\t}\r\n\r\n\tget PANELS() {\r\n\t\treturn this._panels.asObservable();\r\n\t}\r\n\r\n\tget SITES() {\r\n\t\treturn this._sites.asObservable();\r\n\t}\r\n\r\n\tget BOARDS() {\r\n\t\treturn this._boards.asObservable();\r\n\t}\r\n\r\n\tget ACEPS() {\r\n\t\treturn this._aceps.asObservable();\r\n\t}\r\n\r\n\tget REVIEWERS() {\r\n\t\treturn this._allReviewers.asObservable();\r\n\t}\r\n\r\n\tget MEMBERS() {\r\n\t\treturn this._members.asObservable();\r\n\t}\r\n\r\n\tget Reviewers() {\r\n\t\treturn [\r\n\t\t\t...this._reviewers.QCs,\r\n\t\t\t...this._reviewers.Panels,\r\n\t\t\t...this._reviewers.Sites,\r\n\t\t\t...this._reviewers.Boards\r\n\t\t];\r\n\t}\r\n\r\n\t// get CurrentReviewers() {\r\n\t// \tif (!this._currentReviewers) {\r\n\t// \t\tthrow new ReferenceError(\r\n\t// \t\t\t'Cannot use CurrentReviewers. _currentReviewers is undefined');\r\n\t// \t}\r\n\t// \treturn this._currentReviewers;\r\n\t// }\r\n\r\n\tget PostingReviewers() {\r\n\t\t// return [...this._reviewers.Boards.filter(b => b.Reviewer.Selected === true),\r\n\t\t// ...this._reviewers.Panels.filter(p => p.Reviewer.Selected === true)];\r\n\r\n\t\treturn [\r\n\t\t\t...this._reviewers.QCs,\r\n\t\t\t...this._reviewers.Panels,\r\n\t\t\t...this._reviewers.Sites,\r\n\t\t\t...this._reviewers.Boards\r\n\t\t].filter(b => b.Reviewer.Selected === true);\r\n\t}\r\n\r\n\tget FILES_ARE_UPLOADED() {\r\n\t\treturn this._filesAreUploaded.asObservable();\r\n\t}\r\n\r\n\tset FilesAreUploaded(value: boolean) {\r\n\t\tthis._filesAreUploaded.next(value);\r\n\t}\r\n\t// set SelectPanelDialogOpen(value: boolean) {\r\n\t// this._selectPanelDialogOpen = value;\r\n\t// }\r\n\r\n\t// get SelectPanelDialogOpen() {\r\n\t// return this._selectPanelDialogOpen;\r\n\t// }\r\n\r\n\t/**\r\n\t * loads discussions for application\r\n\t * loads Internal/External depending on user role\r\n\t */\r\n\r\n\t// LoadDiscussions() {\r\n\t// \t// this._discussionService.get(\r\n\t// \t// this._data._detailResolver.application.ApplicationId,\r\n\t// \t// (this._applicationSrv.actAsAcep\r\n\t// \t// \t? DiscussionEnum.Location.Internal : DiscussionEnum.Location.External),\r\n\t// \t// this._applicationSrv.isApplicant)\r\n\t// \t// .subscribe(disx => {\r\n\t// \t// \tthis._loggerService.Debug(this.name, ['LoadDiscussions', disx]);\r\n\t// \t// }, err => {\r\n\t// \t// \tthis._loggerService.Error(this.name, ['LoadDiscussions', err]);\r\n\t// \t// });\r\n\t// }\r\n\r\n\tGetReviewers(applicationId: string) {\r\n\t\t//: Promise {\r\n\t\tthis._logSrv.Debug(this.name, [\"get list or reviewers \"]);\r\n\r\n\t\tlet endPoint = `${\r\n\t\t\tthis._helperSrv.ApiLocation\r\n\t\t\t}reviewer/key/${applicationId}`;\r\n\r\n\t\treturn this._serverSrv\r\n\t\t\t.GetWithAuth(\"A000000\", endPoint)\r\n\t\t\t.map(\r\n\t\t\t\tresponse => {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\t\t\"get reviewers\",\r\n\t\t\t\t\t\t{ response: response, body: body }\r\n\t\t\t\t\t]);\r\n\t\t\t\t\tconst model = body.Data;\r\n\t\t\t\t\tconst reviewers = model;\r\n\t\t\t\t\tthis._updateReviewers(reviewers);\r\n\t\t\t\t},\r\n\t\t\t\tErr => {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, [\"getReviewers Error\", Err]);\r\n\t\t\t\t\treturn undefined;\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\t.retry(2);\r\n\t}\r\n\r\n\tPostReviewers(appModel: IApplicationModel) {\r\n\t\tlet body = {\r\n\t\t\tReviewers: this.PostingReviewers,\r\n\t\t\tapplicationNumber: appModel.Application.ApplicationNumber,\r\n\t\t\tapplicationId: appModel.Application.Id,\r\n\t\t\tapplicationStatus: this._updateStatusTo\r\n\t\t};\r\n\r\n\t\tlet endPoint = environment.APILocation + \"reviewer/save\";\r\n\r\n\t\treturn this._serverSrv\r\n\t\t\t.PostWithAuth(\r\n\t\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\t\tendPoint,\r\n\t\t\t\tJSON.stringify(body)\r\n\t\t\t)\r\n\t\t\t.map(m => m.json())\r\n\t\t\t.do(data => {\r\n\t\t\t\t// refreshes reviewers from server\r\n\t\t\t\tthis.GetReviewers(appModel.Application.Id).subscribe();\r\n\t\t\t\t// // refreshes members from server\r\n\t\t\t\t// this._applicationService.getByNumber(this._data._detailResolver.application.ApplicationNumber.toString()).subscribe();\r\n\t\t\t})\r\n\t\t\t.retry(2);\r\n\t}\r\n\r\n\r\n\tPostPreQCEmails(appModel: IApplicationModel, toemails: string) {\r\n\t\tlet body = {\r\n\t\t\tapplicationNumber: appModel.Application.ApplicationNumber,\r\n\t\t\tapplicationId: appModel.Application.Id,\r\n\t\t\ttoEmails: toemails\r\n\t\t};\r\n\r\n\t\tlet endPoint = environment.APILocation + \"reviewer/preqc\";\r\n\r\n\t\treturn this._serverSrv\r\n\t\t\t.PostWithAuth(\r\n\t\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\t\tendPoint,\r\n\t\t\t\tJSON.stringify(body)\r\n\t\t\t)\r\n\t\t\t.map(m => m.json())\r\n\t\t\t.do(data => {\r\n\t\t\t\t// refreshes reviewers from server\r\n\t\t\t\t//this.GetReviewers(appModel.Application.Id).subscribe();\r\n\t\t\t\t// // refreshes members from server\r\n\t\t\t\t// this._applicationService.getByNumber(this._data._detailResolver.application.ApplicationNumber.toString()).subscribe();\r\n\t\t\t});\r\n\r\n\t}\r\n\r\n\r\n\t// UpdateAndEmail(\r\n\t// \tstatus: ApplicationStatusEnum,\r\n\t// \tnotify: INotify\r\n\t// ): Promise {\r\n\t// \treturn new Promise((resolve, reject) => {\r\n\r\n\t// \t // update the updateStatus\r\n\t// \t this._applicationSrv.updateApplicationStatus(status)\r\n\t// \t\t.subscribe(app => {\r\n\r\n\t// \t\t if (app && status !== ApplicationStatusEnum.Cancelled) {\r\n\t// \t\t\tlet returnedApp = JSON.parse(app);\r\n\t// \t\t\t'UpdateAndEmail reset application'.log(this.name);\r\n\t// \t\t\t// this._applicationService.Application = returnedApp;\r\n\r\n\t// \t\t\t'UpdateAndEmail reset discussions'.log(this.name);\r\n\t// \t\t\tthis.LoadDiscussions();\r\n\t// \t\t }\r\n\t// \t\t resolve(notify);\r\n\t// \t\t}, err => {\r\n\r\n\t// \t\t // this._messageService.DisplayTopError('Unable to change status to ' + s, true);\r\n\t// \t\t reject(err);\r\n\t// \t\t});\r\n\r\n\t// \t // END PROMISE\r\n\t// \t});\r\n\t// }\r\n\r\n\tprivate _updateReviewers(r: IReviewersModel) {\r\n\t\tthis._reviewers = {\r\n\t\t\tAll: r.Reviewers,\r\n\t\t\tQCs: r.Reviewers.filter(q => q.Reviewer.PositionId === RoleEnum.QC),\r\n\t\t\tPanels: r.Reviewers.filter(\r\n\t\t\t\tpa => pa.Reviewer.PositionId === RoleEnum.Panel\r\n\t\t\t),\r\n\t\t\tSites: r.Reviewers.filter(\r\n\t\t\t\tq => q.Reviewer.PositionId === RoleEnum.Site\r\n\t\t\t),\r\n\t\t\tBoards: r.Reviewers.filter(\r\n\t\t\t\tbr => br.Reviewer.PositionId === RoleEnum.Board\r\n\t\t\t), // || br.PositionId === 6),\r\n\t\t\tAceps: r.Reviewers.filter(\r\n\t\t\t\tac => ac.Reviewer.PositionId === RoleEnum.Acep\r\n\t\t\t)\r\n\t\t};\r\n\t\t//\r\n\t\t// let panelsSelected = this._reviewers.Panels.filter(p => p.Reviewer.Selected === true);\r\n\t\t// let boardsSelected = this._reviewers.Boards.filter(b => b.Reviewer.Selected === true);\r\n\t\t// // if no boards have been chosenthis._currentReviewers = {\r\n\t\t// \tQCs: [],\r\n\t\t// \tPanels: [],\r\n\t\t// \tSites: [],\r\n\t\t// \tBoards: []\r\n\t\t// };\r\n\t\t// // select all boards\r\n\t\t// if (!boardsSelected || boardsSelected.length === 0) {\r\n\t\t// \tthis._reviewers.Boards.forEach(b => {\r\n\t\t// \t\t// if this board is not already selected in panels\r\n\t\t// \t\t// select PositionId\r\n\t\t// \t\t// else disable it\r\n\t\t// \t\tif (!panelsSelected.find(p => p.Reviewer.ContactId === b.Reviewer.ContactId)) {\r\n\t\t// \t\t\tb.Reviewer.Selected = true;\r\n\t\t// \t\t} else {\r\n\t\t// \t\t\tb.Reviewer.Selected = false;\r\n\t\t// \t\t\tb.Reviewer.Disabled = true;\r\n\t\t// \t\t}\r\n\r\n\t\t// \t});\r\n\t\t// } else {\r\n\t\t// \tthis._currentReviewers.Boards.push(...boardsSelected);\r\n\t\t// \tboardsSelected.forEach(b => {\r\n\t\t// \t\tlet panel = this._reviewers.Panels.find(p => p.Reviewer.ContactId === b.Reviewer.ContactId);\r\n\t\t// \t\tif (panel) {\r\n\t\t// \t\t\tpanel.Reviewer.Disabled = true;\r\n\t\t// \t\t\tpanel.Reviewer.Selected = false;\r\n\t\t// \t\t}\r\n\t\t// \t});\r\n\t\t// }\r\n\r\n\t\t// if (panelsSelected && panelsSelected.length > 0) {\r\n\t\t// \tthis._currentReviewers.Panels.push(...panelsSelected);\r\n\t\t// \tif (panelsSelected.length >= 2) {\r\n\t\t// \t\tlet pUnselected = this._reviewers.Panels.filter(p => p.Reviewer.Selected === false);\r\n\t\t// \t\tif (pUnselected && pUnselected.length > 0) {\r\n\t\t// \t\t\tpUnselected.forEach(p => {\r\n\t\t// \t\t\t\tp.Reviewer.Disabled = true;\r\n\t\t// \t\t\t});\r\n\t\t// \t\t}\r\n\t\t// \t}\r\n\t\t// }\r\n\t\tthis._logSrv.Debug(this.name, [\"Updating allreviewers\", r]);\r\n\t\tthis._allReviewers.next(this._reviewers.All);\r\n\t\tthis._qcs.next(this._reviewers.QCs);\r\n\t\tthis._panels.next(this._reviewers.Panels);\r\n\t\tthis._sites.next(this._reviewers.Sites);\r\n\t\tthis._boards.next(this._reviewers.Boards);\r\n\t\tthis._aceps.next(this._reviewers.Aceps);\r\n\t\tthis._members.next(this.PostingReviewers);\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/reviewer/reviewer.service.ts","import { Injectable, EventEmitter } from \"@angular/core\";\r\nimport { Observable, BehaviorSubject } from \"rxjs/Rx\";\r\nimport { Response } from \"@angular/http\";\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplicationModel,\r\n\tIApplicationsModel,\r\n\tIApplicationForm,\r\n\tIApplicationCreate,\r\n\tIContact,\r\n\tIAWSS3,\r\n\tIApplication,\r\n\tIReviewerModel,\r\n\tIReviewersModel,\r\n\tIMemberShip,\r\n\tIRole\r\n} from \"../../interfaces\";\r\n// classes\r\nimport {\r\n\tApplicationCreateForm,\r\n\tApplicationForm,\r\n\tApplicationModel,\r\n\tApplicationStatus\r\n} from \"../../classes\";\r\n// Enums\r\nimport { ApplicationStatusEnum, RoleEnum } from \"../../enums\";\r\n// Services\r\nimport { LogService } from \"../log/log.service\";\r\nimport { ServerService } from \"../server/server.service\";\r\nimport { HelperService } from \"../helper/helper.service\";\r\nimport { ReviewerService } from \"../reviewer/reviewer.service\";\r\nimport { UserService } from \"../user/user.service\";\r\nimport { StorageService } from \"../storage/storage.service\";\r\nimport { LoaderService } from \"../loader/loader.service\";\r\nimport { HasRolePipe } from \"../../pipes/index\";\r\nimport { INotify } from \"../../interfaces/inotify\";\r\nimport { environment } from \"../../../../environments/environment.dev\";\r\nimport { IGedaModel } from \"../../interfaces/igedamodel\";\r\n\r\n@Injectable()\r\nexport class ApplicationService implements IService {\r\n\t// implements local variables\r\n\r\n\tOnLevelSelected$ = new EventEmitter(true);\r\n\tOnTermsAgreed$ = new EventEmitter(true);\r\n\r\n\t_appsrv_asApplicant: boolean;\r\n\t_appsrv_asReviewer: boolean;\r\n\t_submitted = new BehaviorSubject(false);\r\n\t_error = new BehaviorSubject(false);\r\n\r\n\t_application = new BehaviorSubject(undefined);\r\n\t_applications = new BehaviorSubject(undefined);\r\n\t//_reviewerapplications = new BehaviorSubject(undefined);\r\n\t_applicationInnerHtml: BehaviorSubject = new BehaviorSubject<\r\n\t\tstring\r\n\t>(undefined);\r\n\t_ApplicaitonInnerHtml: string; // stores innerhtml of the application tab\r\n\t_level: number;\r\n\t_termsAgreed: boolean;\r\n\t//isApplicant: boolean;\r\n\t//actAsAcep: boolean;\r\n\r\n\t_data: {\r\n\t\tapplications: IApplicationsModel;\r\n\t\tapplication: IApplicationModel;\r\n\t\tsubmitted: boolean;\r\n\t\tstatusChecked: boolean;\r\n\t};\r\n\r\n\t// implements IService\r\n\tname = \"ApplicationService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\tconstructor(\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _userSrv: UserService,\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _helperSrv: HelperService,\r\n\t\tprivate _reviewerSrv: ReviewerService,\r\n\t\tprivate _storageSrv: StorageService,\r\n\t\tprivate _loaderSrv: LoaderService\r\n\t) { }\r\n\r\n\tget ERROR() {\r\n\t\treturn this._error;\r\n\t}\r\n\r\n\tset Error(value: boolean) {\r\n\t\tthis._error.next(value);\r\n\t}\r\n\r\n\tget LEVEL() {\r\n\t\treturn this._level;\r\n\t}\r\n\r\n\tset Level(value: number) {\r\n\t\tthis._level = value;\r\n\t\tthis.OnLevelSelected$.emit(value);\r\n\t}\r\n\r\n\tget TERMS() {\r\n\t\treturn this._termsAgreed;\r\n\t}\r\n\r\n\tset Terms(value: boolean) {\r\n\t\tthis._termsAgreed = value;\r\n\t\tthis.OnTermsAgreed$.emit(value);\r\n\t}\r\n\r\n\tget SUBMITTED() {\r\n\t\treturn this._submitted;\r\n\t}\r\n\r\n\tset Submitted(value: boolean) {\r\n\t\tthis._logSrv.Debug(this.name, [\"setting submitted\", value]);\r\n\t\tthis.DATA.submitted = value;\r\n\t\tthis._submitted.next(value);\r\n\t}\r\n\r\n\tget APPLICATIONMODEL() {\r\n\t\treturn this._application;\r\n\t}\r\n\r\n\tset ApplicationModel(value: IApplicationModel) {\r\n\t\tthis._logSrv.Debug(this.name, [\"setting application model\", value]);\r\n\t\tthis.DATA.application = value;\r\n\r\n\t\tif (this._helperSrv.isUndefined(value)) {\r\n\t\t\tthis.Submitted = false;\r\n\t\t} else {\r\n\t\t\tthis.Submitted =\r\n\t\t\t\tvalue.Application.Status === ApplicationStatusEnum.Submitted;\r\n\t\t}\r\n\t\tthis._application.next(value);\r\n\r\n\t\t// //SET ISAPPLICANT\r\n\t\t// this.isApplicant = (value.Application.Applicant.ContactId == this._userSrv.Data.contact.Id);\r\n\t\t// this.actAsAcep = !this.isApplicant;\r\n\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"set application\",\r\n\t\t\t{ value: value, data: this._data }\r\n\t\t]);\r\n\t}\r\n\r\n\tget APPLICATIONSMODEL() {\r\n\t\treturn this._applications;\r\n\t}\r\n\r\n\tset ApplicationsModel(value: IApplicationsModel) {\r\n\t\tthis._logSrv.Debug(this.name, [\"setting applications model\", value]);\r\n\r\n\t\tthis.DATA.applications = value;\r\n\t\tthis._applications.next(value);\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"set applications\",\r\n\t\t\t{ value: value, data: this._data }\r\n\t\t]);\r\n\t}\r\n\r\n\tget APPLICATION_INNER_HTML() {\r\n\t\treturn this._applicationInnerHtml.asObservable();\r\n\t}\r\n\r\n\tset ApplicaitonInnerHtml(value: string) {\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"changing Applicaiton InnerHtml\",\r\n\t\t\tvalue\r\n\t\t]);\r\n\t\tthis._ApplicaitonInnerHtml = value;\r\n\t\tthis._applicationInnerHtml.next(value);\r\n\t}\r\n\r\n\t// get REVIEWERAPPLICATIONS() {\r\n\t// \treturn this._reviewerapplications;\r\n\t// }\r\n\r\n\t// set ReviewerApplications(value: IApplicationsModel) {\r\n\t// \tthis._logSrv.Debug(this.name, ['setting ReviewerApplications model', value]);\r\n\t// \tthis._reviewerapplications.next(value);\r\n\t// }\r\n\r\n\tget DATA() {\r\n\t\tif (this._data === undefined) {\r\n\t\t\tthis._data = {\r\n\t\t\t\tapplication: undefined,\r\n\t\t\t\tapplications: undefined,\r\n\t\t\t\tsubmitted: false,\r\n\t\t\t\tstatusChecked: false\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn this._data;\r\n\t}\r\n\r\n\t// getApplications(\r\n\t// \tcaller: string,\r\n\t// \tcontactid: string\r\n\t// ): Observable {\r\n\t// \tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_APPLICATIONS);\r\n\t// \t// \"api/application/contactid/{applicantid}/key/{apikey}\",\r\n\r\n\t// \t// const endpoint = this._userSrv.Data.contact.Role === RoleEnum.Applicant ? `${this._helperSrv.ApiLocation}application/contactid/${contactid}/key/${key}` : `${this._helperSrv.ApiLocation}application/key/${key}`;\r\n\r\n\t// \tthis._userSrv.Is_QC_Reviewer =\r\n\t// \t\tthis._userSrv.Data.contact.Role === RoleEnum.QC;\r\n\r\n\t// \tconst endpoint = this._userSrv.Is_QC_Reviewer\r\n\t// \t\t? `${this._helperSrv.ApiLocation}application/key/${key}`\r\n\t// \t\t: `${\r\n\t// \t\t\t\tthis._helperSrv.ApiLocation\r\n\t// \t\t }application/contactid/${contactid}/key/${key}`;\r\n\r\n\t// \tthis._logSrv.Debug(this.name, [\r\n\t// \t\t\"getApplications\",\r\n\t// \t\t{ caller: caller, contactid: contactid, endpoint: endpoint }\r\n\t// \t]);\r\n\r\n\t// \treturn this._serverSrv.GetWithAuth(caller, endpoint).map(response => {\r\n\t// \t\ttry {\r\n\t// \t\t\tconst body = response.json();\r\n\t// \t\t\tconst data = body.Data;\r\n\t// \t\t\tconst apps = data.Applications;\r\n\t// \t\t\tthis.ApplicationsModel = data;\r\n\t// \t\t\treturn data;\r\n\t// \t\t} catch (err) {\r\n\t// \t\t\tthis._logSrv.Error(this.name, [\"getApplications\", err]);\r\n\t// \t\t\treturn undefined;\r\n\t// \t\t}\r\n\t// \t});\r\n\t// }\r\n\r\n\tgetApplications(caller: string, contactid: string): Observable {\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_APPLICATIONS);\r\n\t\t// \"api/application/contactid/{applicantid}/key/{apikey}\",\r\n\r\n\t\t// const endpoint = this._userSrv.Data.contact.Role === RoleEnum.Applicant ? `${this._helperSrv.ApiLocation}application/contactid/${contactid}/key/${key}` : `${this._helperSrv.ApiLocation}application/key/${key}`;\r\n\r\n\t\tconst endpoint = `${this._helperSrv.ApiLocation\r\n\t\t\t}application/key/${key}/temp1/abc/gedamodel/${contactid}`;\r\n\r\n\t\treturn this._serverSrv.GetWithAuth(caller, endpoint).map(response => {\r\n\t\t\ttry {\r\n\t\t\t\tconst body = response.json();\r\n\t\t\t\tconst data = body.Data;\r\n\t\t\t\tconst _apps = data.Applications;\r\n\t\t\t\t//const apps = data.apps.Applications;\r\n\t\t\t\tthis.ApplicationsModel = _apps;\r\n\t\t\t\tthis._userSrv.setContact(\"\", data.Contact.Contact);\r\n\r\n\t\t\t\tthis._userSrv.Is_QC_Reviewer =\r\n\t\t\t\t\tthis._userSrv.Data.contact.Role === RoleEnum.QC;\r\n\r\n\t\t\t\treturn data;\r\n\t\t\t} catch (err) {\r\n\t\t\t\tthis._logSrv.Error(this.name, [\"getApplications\", err]);\r\n\t\t\t\treturn undefined;\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\t// getReviewerApplications(caller: string, contactid: string) {\r\n\t// \tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_APPLICATIONS);\r\n\t// \t// \"api/application/contactid/{applicantid}/key/{apikey}\",\r\n\t// \tconst endpoint = `${this._helperSrv.ApiLocation}application/key/${key}`;\r\n\t// \tthis._logSrv.Debug(this.name, ['getReviewerApplicationsALL', { caller: caller, contactid: contactid, endpoint: endpoint }]);\r\n\r\n\t// \treturn this._serverSrv.GetWithAuth(caller, endpoint)\r\n\t// \t\t.map(response => {\r\n\t// \t\t\ttry {\r\n\t// \t\t\t\tconst body = response.json();\r\n\t// \t\t\t\tconst data = body.Data;\r\n\t// \t\t\t\tconst apps = data.Applications;\r\n\t// \t\t\t\tthis.ReviewerApplications = data;\r\n\t// \t\t\t\treturn data;\r\n\t// \t\t\t} catch (err) {\r\n\t// \t\t\t\tthis._logSrv.Error(this.name, ['getReviewerApplicationsALL', err]);\r\n\t// \t\t\t\treturn undefined;\r\n\t// \t\t\t}\r\n\t// \t\t});\r\n\t// }\r\n\r\n\tremoveStorageKeys() {\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_APPLICATIONS);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_APPLICATION);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEP);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEPS);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_S3);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_SALESORDER);\r\n\t\t//CLEAR KEYS\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_DISCUSSION_LEGENDS);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_DISCUSSION_LEGENDSUSER);\r\n\r\n\t\tthis.DATA.statusChecked = false;\r\n\t}\r\n\r\n\trefreshApplications(): Promise {\r\n\t\tthis.removeStorageKeys();\r\n\t\treturn this.getApplications(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\tthis._userSrv.Data.contact.Id\r\n\t\t).toPromise();\r\n\t\t// if (this._appsrv_asReviewer) {\r\n\t\t// \treturn this.getReviewerApplications(this._userSrv.Data.contact.AcepId, this._userSrv.Data.contact.Id).toPromise();\r\n\t\t// } else {\r\n\t\t// \treturn this.getApplications(this._userSrv.Data.contact.AcepId, this._userSrv.Data.contact.Id).toPromise();\r\n\t\t// }\r\n\t}\r\n\r\n\tgetApplication(\r\n\t\tcaller: string,\r\n\t\tapplicationid: string\r\n\t): Observable {\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_APPLICATION);\r\n\t\t// application/applicationid/{applicationid}/key/{apikey}\r\n\t\tconst endpoint = `${this._helperSrv.ApiLocation\r\n\t\t\t}application/applicationid/${applicationid}/key/${key}`;\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"getApplication\",\r\n\t\t\t{ caller: caller, applicationid: applicationid, endpoint: endpoint }\r\n\t\t]);\r\n\r\n\t\treturn this._serverSrv.GetWithAuth(caller, endpoint).map(response => {\r\n\t\t\tconst body = response.json();\r\n\t\t\tthis._logSrv.Debug(this.name, [body]);\r\n\t\t\tconst data = body.Data;\r\n\t\t\tthis.ApplicationModel = data;\r\n\t\t\treturn data;\r\n\t\t});\r\n\t}\r\n\r\n\trefreshApplication(): Promise {\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_APPLICATION);\r\n\t\treturn this.getApplication(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\tthis.DATA.application.Application.Id\r\n\t\t).toPromise();\r\n\t}\r\n\r\n\tprivate UpdateApplicationFromParentApp(f: ApplicationForm) {\r\n\t\tlet a = this._storageSrv.getLocal(this._storageSrv.KEY_UPGRADEAPP);\r\n\t\tif (a) {\r\n\t\t\tlet app: IApplication = JSON.parse(a);\r\n\t\t\tf.AccountId = app.AccountId;\r\n\t\t\tf.AccountNumber = app.Hospital.AccountNumber;\r\n\t\t\tf.HospitalAddressCity = app.Hospital.Address.City;\r\n\t\t\tf.HospitalAddressState = app.Hospital.Address.State;\r\n\t\t\tf.HospitalAddressCountry = app.Hospital.Address.Country;\r\n\t\t\tf.CeoName = app.Hospital.CeoName;\r\n\t\t\tf.CeoId = app.Hospital.CeoId;\r\n\t\t\tf.CeoFirst = app.Hospital.CeoFirst;\r\n\t\t\tf.CeoLast = app.Hospital.CeoLast;\r\n\t\t\tf.CeoEmail = app.Hospital.CeoEmail;\r\n\t\t\tf.CeoRole = app.Hospital.CeoRole;\r\n\t\t\tf.HospitalAddressLine1 = app.Hospital.Address.Line1;\r\n\t\t\tf.ApplicantAddressLine2 = app.Hospital.Address.Line2;\r\n\t\t\tf.HospitalAddressZip = app.Hospital.Address.PostalCode;\r\n\t\t\tf.HospitalName = app.Hospital.Name;\r\n\t\t\tf.HospitalPhone = app.Hospital.Phone.Num;\r\n\t\t\tf.HospitalCategoryId = app.Hospital.CategoryId;\r\n\t\t\tf.ParentId = app.Id;\r\n\t\t}\r\n\t}\r\n\r\n\tCreateNewApplicationForm(contact: IContact): Promise {\r\n\t\t// this.DATA.application = undefined;\r\n\t\treturn new Promise((form, fail) => {\r\n\t\t\tconst f = new ApplicationForm();\r\n\t\t\tf.SetApplicantContact(contact);\r\n\t\t\tf.AccountId = \"guid\".EmptyGuid();\r\n\t\t\tf.AccountNumber = this._helperSrv.newHospitalId;\r\n\t\t\tf.Status = ApplicationStatusEnum.Initiated;\r\n\t\t\t//check if parent app in local storage\r\n\t\t\tthis.UpdateApplicationFromParentApp(f);\r\n\r\n\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\"CreateNewApplicationForm resolve\",\r\n\t\t\t\tf\r\n\t\t\t]);\r\n\t\t\tform(f);\r\n\t\t});\r\n\t}\r\n\r\n\tConvertToApplicaitonForm(\r\n\t\tmodel: IApplicationModel\r\n\t): Promise {\r\n\t\treturn new Promise((resolve, fail) => {\r\n\t\t\ttry {\r\n\t\t\t\tconst a = new ApplicationModel();\r\n\t\t\t\tObject.keys(model).forEach(key => (a[key] = model[key]));\r\n\t\t\t\tconst form = a.ConvertToForm();\r\n\t\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\t\"ConvertToApplicaitonForm\",\r\n\t\t\t\t\tform,\r\n\t\t\t\t\ta\r\n\t\t\t\t]);\r\n\t\t\t\tresolve(form);\r\n\t\t\t} catch (err) {\r\n\t\t\t\tthis._logSrv.Error(this.name, [\r\n\t\t\t\t\t\"ConvertToApplicaitonForm\",\r\n\t\t\t\t\terr\r\n\t\t\t\t]);\r\n\t\t\t\tfail(err);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tpostApplication(a: IApplicationForm): Promise {\r\n\t\treturn new Promise((resolve, fail) => {\r\n\t\t\tconst user = this._userSrv.Data.contact;\r\n\t\t\tconst app = new ApplicationForm();\r\n\t\t\tapp.GetApplication(a);\r\n\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\"postApplication\",\r\n\t\t\t\t{ user: user, app: app }\r\n\t\t\t]);\r\n\r\n\t\t\tconst model = app.ConvertToCreateModel(user);\r\n\t\t\tconst endPoint = `${this._helperSrv.ApiLocation}application`;\r\n\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\"postApplication\",\r\n\t\t\t\t{ user: user, model: model, endpoint: endPoint }\r\n\t\t\t]);\r\n\r\n\t\t\tif (1 === 1) {\r\n\t\t\t\tthis._serverSrv\r\n\t\t\t\t\t.PostWithAuth(user.AcepId, endPoint, model)\r\n\t\t\t\t\t.toPromise()\r\n\t\t\t\t\t.then(\r\n\t\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\t\t\t\tthis.ApplicationModel = data;\r\n\t\t\t\t\t\t\t\tresolve(data);\r\n\t\t\t\t\t\t\t} catch (err) {\r\n\t\t\t\t\t\t\t\tthis.ApplicationModel = undefined;\r\n\t\t\t\t\t\t\t\tfail(response.statusText);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfailToPost => {\r\n\t\t\t\t\t\t\tfail(failToPost);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tputApplication(a: IApplicationForm): Promise {\r\n\t\treturn new Promise((resolve, fail) => {\r\n\t\t\tconst user = this._userSrv.Data.contact;\r\n\t\t\tconst app = new ApplicationForm();\r\n\t\t\tapp.GetApplication(a);\r\n\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\"putApplication\",\r\n\t\t\t\t{ user: user, app: app }\r\n\t\t\t]);\r\n\r\n\t\t\tconst model = app.ConvertToCreateModel(user);\r\n\t\t\tconst endPoint = `${this._helperSrv.ApiLocation}application`;\r\n\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\"putApplication\",\r\n\t\t\t\t{ user: user, model: model, endpoint: endPoint }\r\n\t\t\t]);\r\n\r\n\t\t\tif (1 === 1) {\r\n\t\t\t\tthis._serverSrv\r\n\t\t\t\t\t.PutWithAuth(user.AcepId, endPoint, model)\r\n\t\t\t\t\t.toPromise()\r\n\t\t\t\t\t.then(\r\n\t\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\t\t\t\tthis.ApplicationModel = data;\r\n\t\t\t\t\t\t\t\tresolve(data);\r\n\t\t\t\t\t\t\t} catch (err) {\r\n\t\t\t\t\t\t\t\tfail(response.statusText);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfailToPost => {\r\n\t\t\t\t\t\t\tfail(failToPost);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tputApplicationFromModel(\r\n\t\ta: IApplicationModel,\r\n\t\taf: IApplicationForm\r\n\t): Promise {\r\n\t\treturn new Promise((resolve, fail) => {\r\n\t\t\tconst user = this._userSrv.Data.contact;\r\n\t\t\tconst app = new ApplicationForm();\r\n\t\t\tapp.GetApplication(af);\r\n\t\t\tconst model = app.ConvertToCreateModel(user);\r\n\t\t\t//below: tells the current app to update using the current app id.\r\n\t\t\tmodel.Id = a.Application.Id;\r\n\r\n\t\t\tconst endPoint = `${this._helperSrv.ApiLocation}application`;\r\n\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\"putApplication\",\r\n\t\t\t\t{ user: user, model: model, endpoint: endPoint }\r\n\t\t\t]);\r\n\r\n\t\t\tif (1 === 1) {\r\n\t\t\t\tthis._serverSrv\r\n\t\t\t\t\t.PutWithAuth(user.AcepId, endPoint, model)\r\n\t\t\t\t\t.toPromise()\r\n\t\t\t\t\t.then(\r\n\t\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\t\t\t\tthis.ApplicationModel = data;\r\n\t\t\t\t\t\t\t\tresolve(data);\r\n\t\t\t\t\t\t\t} catch (err) {\r\n\t\t\t\t\t\t\t\tfail(response.statusText);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfailToPost => {\r\n\t\t\t\t\t\t\tfail(failToPost);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tupdateApplicationStatus(s: ApplicationStatusEnum) {\r\n\t\tlet app = this._data.application;\r\n\t\tlet cancelling = s === ApplicationStatusEnum.Cancelled;\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"updateStatus\",\r\n\t\t\tthis._userSrv.Data,\r\n\t\t\tapp,\r\n\t\t\ts.toString(),\r\n\t\t\tcancelling\r\n\t\t]);\r\n\t\tlet status = {\r\n\t\t\tApplicationId: app.Application.Id,\r\n\t\t\tStatus: s,\r\n\t\t\tContactId: this._userSrv.Data.contact.Id //._memberService.DataStore.SSO.user.ContactId\r\n\t\t};\r\n\t\tlet endPoint = `${this._helperSrv.ApiLocation}application/status`;\r\n\r\n\t\treturn this._serverSrv\r\n\t\t\t.PutWithAuthWithURL(\r\n\t\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\t\tendPoint,\r\n\t\t\t\tstatus\r\n\t\t\t)\r\n\t\t\t.map(m => m.json())\r\n\t\t\t.do(data => {\r\n\t\t\t\t\"updatestatus application recieved after \".logWithObject(\r\n\t\t\t\t\tthis.name,\r\n\t\t\t\t\t[data, cancelling]\r\n\t\t\t\t);\r\n\t\t\t\t// if application is in submitted status\r\n\r\n\t\t\t\tif (cancelling) {\r\n\t\t\t\t\t// this.setApplicationToNull(this.name);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t//UPDATE STATUS AND TRANSMIT\r\n\t\t\t\t\tthis._data.application.Application.Status = s;\r\n\t\t\t\t\tthis.APPLICATIONMODEL.next(this._data.application);\r\n\t\t\t\t\t//let a = JSON.parse(data);\r\n\t\t\t\t\t//'updatestatus application recieved after '.logWithObject(this.name, a);\r\n\t\t\t\t\tthis.Submitted =\r\n\t\t\t\t\t\tApplicationStatus.GetEnum(s) ===\r\n\t\t\t\t\t\tApplicationStatusEnum.Submitted;\r\n\r\n\t\t\t\t\t//this._data.application.Application = a;\r\n\t\t\t\t\t\"updateStatus updating all applicaitons\".logWithObject(\r\n\t\t\t\t\t\tthis.name,\r\n\t\t\t\t\t\tthis._userSrv.Data\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t\t//this.get(this._userSrv.Data.contact.AcepId).subscribe();\r\n\t\t\t});\r\n\t}\r\n\r\n\tUpdateAndEmail(\r\n\t\tstatus: ApplicationStatusEnum,\r\n\t\tnotify: INotify\r\n\t): Promise {\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tlet s = ApplicationStatusEnum[status];\r\n\t\t\tlet app = this.DATA.application;\r\n\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\"UpdateAndEmail Application is changing status\",\r\n\t\t\t\tapp,\r\n\t\t\t\ts\r\n\t\t\t]);\r\n\t\t\t// update the updateStatus\r\n\t\t\tthis.updateApplicationStatus(status).subscribe(\r\n\t\t\t\tapp => {\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\t\t\t\"UpdateAndEmail Application received after\" + s,\r\n\t\t\t\t\t\tapp\r\n\t\t\t\t\t]);\r\n\t\t\t\t\tif (app && status !== ApplicationStatusEnum.Cancelled) {\r\n\t\t\t\t\t\tlet returnedApp = JSON.parse(app);\r\n\t\t\t\t\t\t\"UpdateAndEmail reset application\".log(this.name);\r\n\t\t\t\t\t\t// this._applicationService.Application = returnedApp;\r\n\r\n\t\t\t\t\t\t//'UpdateAndEmail reset discussions'.log(this.name);\r\n\t\t\t\t\t\t//this.LoadDiscussions();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tresolve(notify);\r\n\t\t\t\t},\r\n\t\t\t\terr => {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, [\"UpdateAndEmail \" + s, err]);\r\n\t\t\t\t\t// this._messageService.DisplayTopError('Unable to change status to ' + s, true);\r\n\t\t\t\t\treject(err);\r\n\t\t\t\t}\r\n\t\t\t);\r\n\r\n\t\t\t// END PROMISE\r\n\t\t});\r\n\t}\r\n\r\n\tAssignToQC(): Promise {\r\n\t\treturn this.UpdateAndEmail(ApplicationStatusEnum.QC_Review, {\r\n\t\t\tacep: true,\r\n\t\t\tapplicant: true,\r\n\t\t\tboard: false,\r\n\t\t\tpanel: false,\r\n\t\t\tsite: false,\r\n\t\t\tinternal: false,\r\n\t\t\tcomment:\r\n\t\t\t\t`Application [` +\r\n\t\t\t\tthis.DATA.application.Application.ApplicationNumber +\r\n\t\t\t\t`]: ` +\r\n\t\t\t\tthis.DATA.application.Application.Name +\r\n\t\t\t\t` has been assigned to QC review`\r\n\t\t});\r\n\t}\r\n\r\n\tAssignToPanels(): Promise {\r\n\t\treturn this.UpdateAndEmail(ApplicationStatusEnum.Panel_Review, {\r\n\t\t\tacep: true,\r\n\t\t\tapplicant: true,\r\n\t\t\tboard: false,\r\n\t\t\tpanel: true,\r\n\t\t\tsite: false,\r\n\t\t\tinternal: false,\r\n\t\t\tcomment:\r\n\t\t\t\t`Application [` +\r\n\t\t\t\tthis.DATA.application.Application.ApplicationNumber +\r\n\t\t\t\t`]: ` +\r\n\t\t\t\tthis.DATA.application.Application.Name +\r\n\t\t\t\t` has been assigned to Panel review`\r\n\t\t});\r\n\t}\r\n\r\n\tAssignToSiteReview(): Promise {\r\n\t\treturn this.UpdateAndEmail(ApplicationStatusEnum.Site_Review, {\r\n\t\t\tacep: true,\r\n\t\t\tapplicant: true,\r\n\t\t\tboard: false,\r\n\t\t\tpanel: false,\r\n\t\t\tsite: true,\r\n\t\t\tinternal: false,\r\n\t\t\tcomment:\r\n\t\t\t\t`Application [` +\r\n\t\t\t\tthis.DATA.application.Application.ApplicationNumber +\r\n\t\t\t\t`]: ` +\r\n\t\t\t\tthis.DATA.application.Application.Name +\r\n\t\t\t\t` has been assigned to Panel review`\r\n\t\t});\r\n\t}\r\n\r\n\t// /**\r\n\t// * posts panelists and board members\r\n\t// */\r\n\t// PostReviewers(appid: string, appnum: string, appdata: any, reviewers: IReviewerModel[], appstatus: ApplicationStatusEnum): Promise {\r\n\t// \treturn new Promise((resolve, fail) => {\r\n\t// \t\tthis._logSrv.Debug(\r\n\t// \t\t\tthis.name,\r\n\t// \t\t\t['posting list or reviewers ', 'this._helperSrv.PostingReviewers']);\r\n\t// \t\tthis._data.application = appdata;\r\n\r\n\t// \t\tlet body = {\r\n\t// \t\t\tapplicationId: appid,\r\n\t// \t\t\tapplicationStatus: appstatus,\r\n\t// \t\t\tReviewers: reviewers\r\n\t// \t\t};\r\n\r\n\t// \t\tlet endPoint = `${this._helperSrv.ApiLocation}reviewer/save`;\r\n\r\n\t// \t\tthis._serverSrv.PostWithAuth(this._userSrv.Data.contact.AcepId, endPoint, JSON.stringify(body))\r\n\t// \t\t\t.toPromise()\r\n\t// \t\t\t.then(response => {\r\n\t// \t\t\t\ttry {\r\n\t// \t\t\t\t\tconst thisbody = response.json();\r\n\t// \t\t\t\t\tconst data = thisbody;\r\n\t// \t\t\t\t\tthis._reviewerSrv.QCs = data;\r\n\t// \t\t\t\t\tresolve(data);\r\n\t// \t\t\t\t} catch (err) {\r\n\t// \t\t\t\t\t//this.ApplicationModel = undefined;\r\n\t// \t\t\t\t\tfail(response.statusText);\r\n\t// \t\t\t\t}\r\n\t// \t\t\t}, failToPost => {\r\n\t// \t\t\t\tfail(failToPost);\r\n\t// \t\t\t});\r\n\t// \t});\r\n\t// }\r\n\r\n\tgetApplicationMemberRecord(appModel: IApplicationModel): IMemberShip {\r\n\t\tlet im: IMemberShip = this._userSrv.Data.contact.Memberships.filter(\r\n\t\t\tm => m.ApplicationId == appModel.Application.Id\r\n\t\t)[0];\r\n\t\treturn im;\r\n\t}\r\n\r\n\tRefreshRolesForContact(appModel: IApplicationModel) {\r\n\t\tlet m: IMemberShip = this.getApplicationMemberRecord(appModel);\r\n\t\t//if no membership found..it implies its a QC (MASTER)\r\n\t\tlet role = m ? m.Role : RoleEnum.QC;\r\n\t\t//if applicant.set it approproately\r\n\t\tif (\r\n\t\t\tthis._userSrv.Data.contact.Id ==\r\n\t\t\tappModel.Application.Applicant.ContactId\r\n\t\t) {\r\n\t\t\trole = RoleEnum.Applicant;\r\n\t\t}\r\n\t\tthis._userSrv.IROLE = {\r\n\t\t\tIsQC: role == RoleEnum.QC,\r\n\t\t\tIsPanel: role == RoleEnum.QC,\r\n\t\t\tIsSite: role == RoleEnum.Site,\r\n\t\t\tIsBoard: role == RoleEnum.Board,\r\n\t\t\tActingAsAcep: role != RoleEnum.Applicant,\r\n\t\t\tIsApplicant: role == RoleEnum.Applicant\r\n\t\t};\r\n\t\t//this._userSrv.ROLE.next(role);\r\n\t\tthis._userSrv.Role = role;\r\n\t}\r\n\r\n\tNavigateToNextStep(CURRENTSTEP: string) {\r\n\t\tCURRENTSTEP = CURRENTSTEP.toLowerCase();\r\n\t\tlet NEXTSTEP: string = CURRENTSTEP;\r\n\t\tlet CURRENTLEVEL = this.Level;\r\n\t\tif (CURRENTLEVEL == undefined) {\r\n\t\t\tCURRENTLEVEL = this.DATA.application.Application.Level;\r\n\t\t}\r\n\t\tswitch (CURRENTSTEP) {\r\n\t\t\tcase \"information\": {\r\n\t\t\t\tif (CURRENTLEVEL == 3) {\r\n\t\t\t\t\tNEXTSTEP = \"health\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\tNEXTSTEP = \"program\";\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"health\": {\r\n\t\t\t\tNEXTSTEP = \"program\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"program\": {\r\n\t\t\t\tNEXTSTEP = \"staffing\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"staffing\": {\r\n\t\t\t\tif (CURRENTLEVEL == 3) {\r\n\t\t\t\t\tNEXTSTEP = \"policies\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\tNEXTSTEP = \"education\";\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"education\": {\r\n\t\t\t\tNEXTSTEP = \"processmap\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"processmap\": {\r\n\t\t\t\tNEXTSTEP = \"procedures\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"procedures\": {\r\n\t\t\t\tNEXTSTEP = \"outcomes\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t// case \"policies\": {\r\n\t\t\t// \tif (CURRENTLEVEL == 3) {\r\n\t\t\t// \t\tNEXTSTEP = \"environment\";\r\n\t\t\t// \t} else {\r\n\t\t\t// \t\tNEXTSTEP = \"quality\";\r\n\t\t\t// \t}\r\n\t\t\t// \tbreak;\r\n\t\t\t// }\r\n\t\t\t// case \"quality\": {\r\n\t\t\t// \tNEXTSTEP = \"outcomes\";\r\n\t\t\t// \tbreak;\r\n\t\t\t// }\r\n\t\t\tcase \"outcomes\": {\r\n\t\t\t\tNEXTSTEP = \"equipment\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"equipment\": {\r\n\t\t\t\tNEXTSTEP = \"environment\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"environment\": {\r\n\t\t\t\tNEXTSTEP = \"submit\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\tcase \"submit\": {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (NEXTSTEP != CURRENTSTEP) {\r\n\t\t\tthis._helperSrv.goToLevelWithStep(\r\n\t\t\t\tthis.DATA.application.Application.Level,\r\n\t\t\t\tthis.DATA.application.Application.Id,\r\n\t\t\t\tNEXTSTEP\r\n\t\t\t);\r\n\t\t}\r\n\t}\r\n\r\n\t//these are QCS who are not QC for the particular site\r\n\tIsATeamMember(members: IReviewerModel[]): boolean {\r\n\t\tlet contactid = this._userSrv.Data.contact.Id;\r\n\t\tlet _isATeamMember = members\r\n\t\t\t? members.filter(a => a.Reviewer.ContactId == contactid).length > 0\r\n\t\t\t: false;\r\n\t\treturn _isATeamMember;\r\n\t}\r\n\r\n\tgetReviewerFromContactId(contactid: string): IReviewerModel {\r\n\t\tlet r: IReviewerModel = null;\r\n\t\tif (this._reviewerSrv.Reviewers && contactid) {\r\n\t\t\tr = this._reviewerSrv.Reviewers.filter(\r\n\t\t\t\tr =>\r\n\t\t\t\t\tr.Reviewer.ContactId.toLowerCase() ==\r\n\t\t\t\t\tcontactid.toLowerCase()\r\n\t\t\t)[0];\r\n\t\t}\r\n\r\n\t\treturn r;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/application/application.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { Http, RequestOptions, Headers, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n// Interfaces\r\nimport { IService, IHospital, IHospitalModel, IHospitalsModel } from '../../interfaces';\r\n\r\n// Services\r\nimport { LogService } from '../log/log.service';\r\nimport { ServerService } from '../server/server.service';\r\nimport { LoaderService } from '../loader/loader.service';\r\nimport { StorageService } from '../storage/storage.service';\r\nimport { UserService } from '../user/user.service';\r\nimport { forEach } from '@angular/router/src/utils/collection';\r\n@Injectable()\r\nexport class HospitalService implements IService {\r\n\r\n\t// implements local variables\r\n\t_hospital: BehaviorSubject = new BehaviorSubject(undefined);\r\n\t_hospitals: BehaviorSubject = new BehaviorSubject(undefined);\r\n\r\n\t_healthSystem: BehaviorSubject = new BehaviorSubject(undefined);\r\n\t_healthSystems: BehaviorSubject = new BehaviorSubject(undefined);\r\n\r\n\r\n\t_contact: BehaviorSubject = new BehaviorSubject(undefined);\r\n\t_contacts: BehaviorSubject = new BehaviorSubject(undefined);\r\n\tOnModuleClicked$ = new EventEmitter(true);\r\n\tpublic TextSearch$ = new EventEmitter(true);\r\n\tpublic HealthSystemTextSearch$ = new EventEmitter(true);\r\n\tpublic ContactTextSearch$ = new EventEmitter(true);\r\n\t// implements IService\r\n\tname = 'HospitalService';\r\n\ttest(name, value) {\r\n\t\tconsole.log('testing', name, value);\r\n\t}\r\n\r\n\tconstructor(\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _loaderSrv: LoaderService,\r\n\t\tprivate _storageSrv: StorageService,\r\n\t\tprivate _userSrv: UserService\r\n\t) { }\r\n\r\n\tget HOSPITAL() {\r\n\t\treturn this._hospital;\r\n\t}\r\n\r\n\tset Hospital(value: IHospitalModel) {\r\n\r\n\t\tthis._hospital.next(value);\r\n\t}\r\n\r\n\tget HOSPITALS() {\r\n\r\n\t\treturn this._hospitals;\r\n\t}\r\n\r\n\tset Hospitals(value: IHospitalsModel) {\r\n\r\n\t\tthis._hospitals.next(value);\r\n\t}\r\n\r\n\r\n\r\n\r\n\tget HEALTHSYSTEM() {\r\n\t\treturn this._healthSystem;\r\n\t}\r\n\r\n\tset HealthSystem(value: IHospitalModel) {\r\n\r\n\t\tthis._healthSystem.next(value);\r\n\t}\r\n\r\n\tget HEALTHSYSTEMS() {\r\n\r\n\t\treturn this._healthSystems;\r\n\t}\r\n\r\n\tset HealthSystems(value: IHospitalsModel) {\r\n\r\n\t\tthis._healthSystems.next(value);\r\n\t}\r\n\r\n\r\n\r\n\r\n\r\n\tget CONTACT() {\r\n\t\treturn this._contact;\r\n\t}\r\n\r\n\tset Contact(value: any) {\r\n\r\n\t\tthis._contact.next(value);\r\n\t}\r\n\r\n\tget CONTACTS() {\r\n\r\n\t\treturn this._contacts;\r\n\t}\r\n\r\n\tset Contacts(value: any[]) {\r\n\r\n\t\tthis._contacts.next(value);\r\n\t}\r\n\r\n\tvalidHospitals(data: IHospitalsModel, hospitalIDs: string[]): IHospitalsModel {\r\n\t\tconst hospArry = data;\r\n\t\tif (hospitalIDs.length === 0) {\r\n\t\t\tconst backupplanX = $('#myhosplist').text();\r\n\t\t\thospitalIDs = backupplanX.split(',');\r\n\t\t}\r\n\r\n\t\thospitalIDs.forEach(element => {\r\n\t\t\tconst hospIdx = hospArry.Hospitals.findIndex(h => h.Hospital.AccountId === element);\r\n\t\t\tif (hospIdx > -1) {\r\n\t\t\t\thospArry.Hospitals.splice(hospIdx, 1);\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn hospArry;\r\n\t}\r\n\r\n\t// GetUnAttachedAccounts(text: string, hospitalIDs: string[]): Observable {\r\n\t// \tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_ACCOUNTS_SEARCH);\r\n\t// \tconst routeMap = `${environment.APILocation}account/text/${text}/key/${key}`;\r\n\t// \tthis._logSrv.Debug(this.name, ['GetAccounts search', { routeMap: routeMap }]);\r\n\t// \tlet refinedHosp: IHospitalsModel;\r\n\t// \treturn this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, routeMap)\r\n\t// \t\t.map(response => {\r\n\t// \t\t\tconst body = response.json();\r\n\t// \t\t\tconst data = body.Data;\r\n\t// \t\t\trefinedHosp = this.validHospitals(data, hospitalIDs);\r\n\t// \t\t\t//this.Hospitals = data;\r\n\t// \t\t\tthis.Hospitals = refinedHosp;\r\n\r\n\t// \t\t\tthis._logSrv.Debug(this.name, ['GetAccounts', data]);\r\n\t// \t\t\treturn refinedHosp.Hospitals;\r\n\t// \t\t});\r\n\t// }\r\n\r\n\tGetAccounts(text: string): Observable {\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_ACCOUNTS_SEARCH);\r\n\t\tconst routeMap = `${environment.APILocation}account/text/${text}/key/${key}`;\r\n\t\tthis._logSrv.Debug(this.name, ['GetAccounts search', { routeMap: routeMap }]);\r\n\t\treturn this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, routeMap)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst body = response.json();\r\n\t\t\t\tconst data = body.Data;\r\n\t\t\t\tthis.Hospitals = data;\r\n\t\t\t\tthis._logSrv.Debug(this.name, ['GetAccounts', data]);\r\n\t\t\t\treturn data.Hospitals;\r\n\t\t\t});\r\n\t}\r\n\r\n\tGetHealthSystems(text: string): Observable {\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_HEALTHSYSTEM_SEARCH);\r\n\t\tconst routeMap = `${environment.APILocation}healthaccount/text/${text}/key/${key}`;\r\n\t\tthis._logSrv.Debug(this.name, ['GetHealthSystem search', { routeMap: routeMap }]);\r\n\t\treturn this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, routeMap)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst body = response.json();\r\n\t\t\t\tconst data = body.Data;\r\n\t\t\t\tthis.HealthSystems = data;\r\n\t\t\t\tthis._logSrv.Debug(this.name, ['GetHealthSystems', data]);\r\n\t\t\t\treturn data.Hospitals;\r\n\t\t\t});\r\n\t}\r\n\r\n\tGetContacts(text: string): Observable {\r\n\t\tconst routeMap = `${environment.PrivateWebServicesBasePath}/aceptoolkit/api/2019/contactsearch?count=100&pattern=${text}`;\r\n\t\tthis._logSrv.Debug(this.name, ['GetAccounts search', { routeMap: routeMap }]);\r\n\t\tlet options: RequestOptions;\r\n\t\tconst _authorizationToken =\r\n\t\t\t\"Basic \" + \"YXN0dXRldGVjaC5jb206YTBwczlldDFjbzJhbA==\";\r\n\t\tconst headers = new Headers({\r\n\t\t\tAuthorization: _authorizationToken,\r\n\t\t\t\"Content-Type\": \"application/json\",\r\n\t\t\t\"Access-Control-Allow-Origin\": \"*\"\r\n\t\t});\r\n\t\toptions = new RequestOptions({ headers: headers });\r\n\t\treturn this._serverSrv.GetWithEndPoint(this._userSrv.Data.contact.AcepId, routeMap, options)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst data = response.json();\r\n\t\t\t\tthis.Contacts = data;\r\n\t\t\t\tthis._logSrv.Debug(this.name, ['GetContacts', data]);\r\n\t\t\t\treturn data;\r\n\t\t\t});\r\n\t}\r\n\r\n\tcreateContact(FirstName: string, LastName: string, Email: string, Role: string): Observable {\r\n\t\tconst routeMap = `${environment.PrivateWebServicesBasePath}/contactessentials/api/2017/CreateContact`;\r\n\t\tthis._logSrv.Debug(this.name, ['GetAccounts search', { routeMap: routeMap }]);\r\n\t\tlet options: RequestOptions;\r\n\t\tconst _authorizationToken =\r\n\t\t\t\"Basic \" + \"YWRtaW46MTJuYWljbWVkcGEwNg==\";\r\n\t\tconst headers = new Headers({\r\n\t\t\tAuthorization: _authorizationToken,\r\n\t\t\t\"Content-Type\": \"application/json\",\r\n\t\t\t\"Access-Control-Allow-Origin\": \"*\"\r\n\t\t});\r\n\t\toptions = new RequestOptions({ headers: headers });\r\n\t\tconst payload = [\r\n\t\t\t{\r\n\t\t\t\tFirstName: FirstName,\r\n\t\t\t\tLastName: LastName,\r\n\t\t\t\tEmailAddress: Email,\r\n\t\t\t\tjobTitle: Role\r\n\t\t\t}\r\n\t\t];\r\n\r\n\t\treturn this._serverSrv.PostWithAutEndPoint(this._userSrv.Data.contact.AcepId, routeMap, JSON.stringify(payload), options)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst data = response.json();\r\n\t\t\t\tthis._logSrv.Debug(this.name, ['GetContacts', data]);\r\n\t\t\t\treturn data;\r\n\t\t\t});\r\n\t}\r\n\r\n\tCheckIfApplicationAlreadyExists(id: string): Observable {\r\n\r\n\t\tconst routeMap = `${environment.APILocation}account/id/${id}`;\r\n\r\n\t\treturn this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, routeMap)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst body = response.json();\r\n\t\t\t\tconst data = body;\r\n\t\t\t\treturn data;\r\n\t\t\t});\r\n\t}\r\n\r\n\tgetAccountContacts(accountNum): Observable {\r\n\t\tconst routeMap = 'http://devws.acep.org/aceptoolkit/api/2017/accountcontact/getaccount?accountNo=' + accountNum;\r\n\t\tlet options: RequestOptions;\r\n\t\tlet _authorizationToken =\r\n\t\t\t\"Basic \" + \"YXN0dXRldGVjaC5jb206YTBwczlldDFjbzJhbA==\";\r\n\t\tconst headers = new Headers({\r\n\t\t\tAuthorization: _authorizationToken,\r\n\t\t\t\"Content-Type\": \"application/json\",\r\n\t\t\t\"Access-Control-Allow-Origin\": \"*\"\r\n\t\t});\r\n\t\toptions = new RequestOptions({ headers: headers });\r\n\t\treturn this._serverSrv.GetWithEndPoint(this._userSrv.Data.contact.AcepId, routeMap, options)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst body = response.json();\r\n\t\t\t\tconst data = body;\r\n\t\t\t\treturn data;\r\n\t\t\t});\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/hospital/hospital.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\n// Interfaces\r\nimport { IService, DiscussionInterface } from '../../Interfaces';\r\n// Services\r\nimport { LogService } from '../log/log.service';\r\n// Types\r\nimport { dialogTag, SignInTag } from '../../types';\r\n\r\n\r\n\r\n@Injectable()\r\nexport class DialogService implements IService {\r\n // implements IService\r\n name = 'DialogService';\r\n test(name, value) {\r\n console.log('testing', name, value);\r\n }\r\n // implements local variables\r\n\r\n signInTag: SignInTag;\r\n\r\n textShowing: boolean;\r\n textValue: string;\r\n textText: string;\r\n textHeader = 'Information';\r\n\r\n leftButtonText = 'Cancel';\r\n rightButtonText = 'Yes';\r\n\r\n textTag: dialogTag;\r\n\r\n public OnOpenTextDialog$ = new EventEmitter(true);\r\n public OnOpenTextboxDialog$ = new EventEmitter(true);\r\n\r\n public OnClose$ = new EventEmitter(true);\r\n public OnClosingTextDialog$ = new EventEmitter(true);\r\n public OnClosingTextboxDialog$ = new EventEmitter(true);\r\n public OnClosingSigninDialog$ = new EventEmitter(true);\r\n\r\n public OnclickLeftTextDialog$ = new EventEmitter(true);\r\n public OnClickRightTextDialog$ = new EventEmitter(true);\r\n public OnClickRightTextboxDialog$ = new EventEmitter(true);\r\n\r\n constructor(\r\n private _loggerService: LogService\r\n ) { }\r\n\r\n\r\n ConfirmDialog(cancelButton: string,\r\n actionButton: string,\r\n tag: dialogTag) {\r\n return new Promise((save, nosave) => {\r\n this._close(tag);\r\n this.leftButtonText = cancelButton;\r\n this.rightButtonText = actionButton;\r\n this.textValue = tag.value;\r\n this.textHeader = tag.header;\r\n this.textText = tag.text;\r\n this.textTag = tag;\r\n this.textShowing = true;\r\n\r\n this.OnClickRightTextDialog$.subscribe(t => {\r\n this._loggerService.Debug(this.name, ['DeactivateStep returning right click']);\r\n save(actionButton);\r\n });\r\n\r\n this.OnClosingTextDialog$.subscribe(t => {\r\n this._loggerService.Debug(this.name, ['DeactivateStep returning left click']);\r\n nosave(cancelButton);\r\n });\r\n });\r\n\r\n }\r\n\r\n OpenTextDialog(\r\n cancelButton: string,\r\n actionButton: string,\r\n tag: dialogTag) {\r\n this._close(tag);\r\n this.leftButtonText = cancelButton;\r\n this.rightButtonText = actionButton;\r\n this.textValue = tag.value;\r\n this.textHeader = tag.header;\r\n this.textText = tag.text;\r\n this.textTag = tag;\r\n this.textShowing = true;\r\n this.OnOpenTextDialog$.emit(tag);\r\n }\r\n\r\n OpenTextboxDialog(\r\n cancelButton: string,\r\n actionButton: string,\r\n tag: dialogTag\r\n ) {\r\n this._close(tag);\r\n this.leftButtonText = cancelButton;\r\n this.rightButtonText = actionButton;\r\n this.OnOpenTextboxDialog$.emit(tag);\r\n }\r\n\r\n OpenSigninDialog(tag: SignInTag) {\r\n // this._close(tag.signinText);\r\n this.signInTag = tag;\r\n console.log(tag);\r\n\r\n }\r\n\r\n CloseTextboxDialog(tag: dialogTag) {\r\n this.OnClosingTextboxDialog$.emit(tag);\r\n this._closeAndEmit(tag);\r\n }\r\n\r\n CloseTextDialog(e: any) {\r\n this.OnClosingTextDialog$.emit(e);\r\n this._closeAndEmit(e);\r\n }\r\n\r\n CloseSigninDialog(e: any) {\r\n this.signInTag.acepId = e;\r\n this.OnClosingSigninDialog$.emit(this.signInTag);\r\n this._closeAndEmit(e);\r\n }\r\n\r\n ClickRightTextboxDialog(tag: dialogTag) {\r\n this.OnClickRightTextboxDialog$.emit(tag);\r\n this._closeAndEmit(tag);\r\n }\r\n\r\n ClickLeftTextDialog(e: any) {\r\n this.OnclickLeftTextDialog$.emit(e);\r\n this._closeAndEmit(e);\r\n }\r\n\r\n ClickRightTextDialog(e: any) {\r\n 'ClickRightTextDialog cancel'.logWithObject(this.name, e);\r\n this.OnClickRightTextDialog$.emit(this.textTag);\r\n this._closeAndEmit(e);\r\n }\r\n\r\n private _close(e: any) {\r\n this.signInTag = undefined;\r\n this.textShowing = false;\r\n this.textValue = undefined;\r\n }\r\n\r\n private _closeAndEmit(e: any) {\r\n this._close(e);\r\n this.OnClose$.emit(e);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/dialog/dialog.service.ts","import {\r\n\tILevel_CMSMetadata,\r\n\tILevelStep_CMSMetadata,\r\n\tILevelStepSection_CMSMetadata\r\n} from \"../../interfaces\";\r\n\r\nexport function level1_CMS() {\r\n\treturn _level1_CMS;\r\n}\r\n\r\nlet _level1_CMS: ILevel_CMSMetadata = {\r\n\tlevel_number: 1,\r\n\r\n\tsteps: [\r\n\t\t{\r\n\t\t\tstep_name: \"Program\",\r\n\t\t\tstep_title: \"Program Information\",\r\n\t\t\tstep_description: \"\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"programinfo\",\r\n\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"stateclassification\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `According to local or state classifications, what is your hospital considered?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"Urban non-teaching\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Urban teaching\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Rural\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Unsure\", Value: 4 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"edbeds\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `What is your ED's bed size?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"0-5\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"6-10\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"11-15\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"16-29\", Value: 4 },\r\n\t\t\t\t\t\t\t\t{ Key: \"30-50\", Value: 5 },\r\n\t\t\t\t\t\t\t\t{ Key: \"50+\", Value: 6 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"interestedwhy\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Why are you interested in GEDA accreditation?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"Administrative mandate\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Improved point of care\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tKey: \"ED Director/Staff initiative\",\r\n\t\t\t\t\t\t\t\t\tValue: 3\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t{ Key: \"Other\", Value: 4 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"edcensus_QN\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Most recent annual ED census?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"presentations_QN\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `What percentage of patient presentations are >65?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\tstep_name: \"Staffing\",\r\n\t\t\tstep_title: \"Staffing\",\r\n\t\t\tstep_description:\r\n\t\t\t\t\"Please tell us about the members of your geriatric team.\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"physician\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Physician Champion/Medical Director or equivalent with evidence of focused education for geriatric EM, whose responsibilities should include the majority (ideally all) of the following in their job description:\",\r\n\t\t\t\t\tdescription: `
    \r\n
  • Geriatric EM educational leader/coordinator for EM providers across multiple disciplines
  • \r\n
  • Oversee geriatric ED operations including:
  • \r\n
      \r\n
    • Implementation and regular assessment of protocol and policy guidelines of geriatric-­specific initiatives
    • \r\n
    • Coordination/guidance of geriatric ED staff workflow
    • \r\n
    • Coordination of interdisciplinary team workflow in the geriatric ED
    • \r\n
    \r\n
  • Quality improvement team leader overseeing adherence to geriatric-specific protocols
  • \r\n
  • Develop and oversee outcome measures documentation including process and outcome metric
  • \r\n
  • Coordinator for maintenance of geriatric ED environment (i.e., specific equipment and supplies)
  • \r\n
  • Liaison between hospital leadership and the geriatric ED
  • \r\n
  • Quality assurance team leader for geriatric patient case reviews/complaints
  • \r\n
  • Coordinator of geriatric EM research initiatives (if applicable)
  • \r\n\r\n
`,\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level1_staffing_list_physician_file\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Please upload a job description and describe geriatric responsibilities within the geriatric ED including\r\naspects of that individual's geriatric emergency roles in implementation of relevant protocols, quality\r\nimprovement, quality assurance, outcome assessments, and coordination with hospital leadership.`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"geriatricED\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Does the Physician Champion/Medical Director provide geriatric education for the ED staff?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level1_staffing_geriatricED_bestpractices\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `How is the education delivered and how are best practices incorporated into the geriatric ED workflow?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level1_staffing_GEDOps_radio\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `How many hours per week is dedicated to GED operations?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"<5\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"5-10\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"11-15\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"16-20\", Value: 4 },\r\n\t\t\t\t\t\t\t\t{ Key: \">20\", Value: 5 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"nursechampion\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"\",\r\n\t\t\t\t\tdescription: ``,\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level1_staffing_list_nursechampion_file\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Please upload a job description and describe geriatric responsibilities within the geriatric ED including aspects of that individual's geriatric emergency roles in implementation of relevant protocols, quality improvement, quality assurance, outcome assessments, and coordination with hospital leadership.`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"nurse\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"List at least 1 nurse case managers or transitional care nurses or equivalent: totaling 56 hours/week of coverage in ED.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"Physiotherapy\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"4 members of an interdisciplinary team should be available to the ED\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"geriatric\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"List 1 hospital/health system level executive/administrative sponsor supervising & supporting the geriatric ED program.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"advisor_council\",\r\n\t\t\t\t\ttitle: \"List 1 patient advisor or patient council member\",\r\n\t\t\t\t\tdescription: \"Think of this role as a patient advocate. She/he is invited to meetings and gives valuable insight on the patient perspective. She/he could have been a patient in the ED and gives feedback on how patients may interpret processes and what modifications the ED should strive to make that would give your patients the best experience. She/he balances the dialogue by giving the group a patient perception.\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"support\",\r\n\t\t\t\t\ttitle: \"What is the level of support?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"workflow\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"How are they involved with developing and supporting the GEDA, as well as being incorporated into the ED work flow?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"evaluations\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"How are they incorporated into the geriatric ED development, quality assessment, and protocol evaluations?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Education\",\r\n\t\t\tstep_title: \"Education\",\r\n\t\t\tstep_description: `A physician champion / medical director is required for all levels of Geriatric ED. This physician champion /\r\nmedical director must demonstrate focused training in geriatric emergency medicine that provides added\r\nexpertise in the emergency care of older adults and added ability to teach other physicians and advanced\r\npractice providers how to improve this care.

\r\nThis training requirement must be demonstrated through coursework:

\r\n
    \r\n\t
  1. focused on geriatric specific syndromes and concepts (e.g., atypical presentation of disease, changes with\r\n\t\tage, transitions of care) relevant to emergency medicine,
  2. \r\n\t
  3. focused on clinical issues nearly exclusive to geriatric ED patients (e.g., end of life care, dementia, delirium,\r\nsystems of care for older adults), or
  4. \r\n\t
  5. discussing issues common to all ED patients but focused on the unique factors found in older adults (e.g.,\r\ntrauma in older adults, cardiac arrest care for the geriatric patient).
  6. \r\n
\r\n
\r\nTraining in common emergency medicine conditions (e.g., stroke) that happen to affect older adults does not qualify for this requirement. Qualifying training courses may be in person, web-based (e.g., Geri-EM.com) or equivalent provided through or led by an authoritative resource. Reading a book or credit for a topic search in UpToDate (or similar) does not qualify for this training requirement unless CME is earned for this activity.\r\n

\r\n
    \r\n\t\t
  • For physician champions/ medical directors applying to lead Level 1 Geriatric EDs, eight (8) hours of education are required\r\nfor the initial certification and for each renewal.
  • \r\n\r\n
  • \r\nEducation of nursing personnel about geriatric emergency care of older patients is critically important in a Geriatric ED. A department should document its nursing educational activity and submit the documentation for consideration. Examples:
    \r\n
      \r\n\t\t
    • GENE course from Emergency Nurses Association
    • \r\n\t\t
    • Emergency Department nursing modules from NICHE
    • \r\n\t\t
    • Locally developed nursing education modules
    • \r\n
    \r\n
  • \r\n\r\n
\r\n
\r\nThese educational requirements may be demonstrated through appropriate geriatricfocused\r\nCME with\r\ncompletion certificates (please be ready to share these certificates and which of the above mentioned geriatric\r\ncontent this includes.) Alternatively, applicants may submit other coursework that they believe should fulfill this\r\nrequirement for review by the GEDA Board of Governors. The Board of Governors are under no obligation to\r\naccept this other coursework.`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"evidence\",\r\n\t\t\t\t\ttitle: `Please upload evidence of focused geriatric education completion (e.g. certificates of\r\ncompletion, CME credits, etc.) Describe geriatric courses\r\ntaken including when taken, content and duration.`,\r\n\t\t\t\t\tdescription: ``,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"physician\",\r\n\r\n\t\t\t\t\ttitle: `Do you educate nurse case managers or transitional care nurses or equivalent, totaling\r\n56 hours/week of coverage in ED, with examples of the following?`,\r\n\t\t\t\t\tdescription: `
    \r\n
  • Atypical presentations of disease
  • \r\n
  • Trauma including falls
  • \r\n
  • Cognitive and behavioral disorders
  • \r\n
  • Emergency intervention modifications
  • \r\n
  • Medication Management/polypharmacy
  • \r\n
  • Transitions of care
  • \r\n
  • Effect of comorbid conditions/polymorbidity
  • \r\n
  • End-­of-­life care
  • \r\n
`,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"nurse\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Do you educate your nursing personnel about the domains of geriatric EM using GENE, NICHE, or a similar course?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"bestpractices\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"How is the education delivered and how are best practices incorporated into the geriatric ED workflow?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Processmap\",\r\n\t\t\tstep_title: \"Process Map/Workflow\",\r\n\t\t\tstep_description: `Level 1 GEDA applications are required to provide their GED process flow. See examples:`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"evidence\",\r\n\t\t\t\t\ttitle: `Upload GED Process Map/Workflow`,\r\n\t\t\t\t\tdescription: ``,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"samples\",\r\n\t\t\t\t\ttitle: ``,\r\n\t\t\t\t\tdescription: `Sample of Care Model Process Map
\r\n\t\t\t\t\t\r\n\t\t\t\t\tSample of Level 2 Flow Map Plan
\r\n\t\t\t\t\t\r\n\t\t\t\t\tSample of Geriatric ED Workflow
`,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\r\n\t\t\t]\r\n\t\t},\r\n\r\n\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Procedures\",\r\n\t\t\tstep_title: \"Policies, Procedures and Quality Improvement Components\",\r\n\t\t\tstep_description:\r\n\t\t\t\t`For level 1 accreditation, at least 20 of the following components should be part of the EDs policies or procedures. Please select the 20 that are applicable to your ED.

In this section you will need to provide evidence of:
\t(1) The policy, protocol, or procedure,
(2) A brief description of how the policy / procedure is implemented in the geriatric ED,
(3) Include the quality improvement measure that provides a description of adherence--when, how, how often, and by whom the policy / procedure is utilized, reviewed, and measured in the geriatric ED.

We ask that you indicate (i.e., highlight relevant sections, identify page numbers, etc.) where in your documentation the policy/procedure is most relevant to the geriatric ED. These policies, procedures and quality improvement measures should be well integrated into your ED model of care (with integration into your EHR when applicable and possible) and, at time of the site visit, you should be prepared to supply supporting documentation and evidence of integration of these policies/ protocols /QI into your ED workflow.


We are looking for protocols that specifically address the emergency care needs of older adults. These protocols or procedures should describe the process through which this care improvement activity takes place for older patients while in the ED and how it is tracked with regards to adherence and care. (i.e., Who does the process, on whom the process is done, and how the process is triggered, etc.)

Sites submitting hospital- wide policies / protocols / procedures should provide detailed explanation for how these are applied to older adults and address ED specific issues.

\r\nExamples
\r\n
    \r\n
  • \r\nA hospital screen for cognitive impairment in older ED adults at risk for delirium with the Delirium Triage\r\nScreen followed by the Brief Confusion Assessment Method in all ED patients 65+ years of age at triage.\r\nThis is a geriatric specific protocol done on ED patients.\r\n
  • \r\n
  • \r\nA hospital restraints protocol should provide additional information about how restraints are used during ED\r\ncare of older adults and how this is different from protocols with younger patients;\r\n
  • \r\n
  • \r\nUrinary catheter policies should have a component describing how the policy is applied tracked with regards\r\nto implementation for older patients in the ED.\r\n
  • \r\n
  • \r\nA falls policy describing how patients that presented for a fall or at risk of a fall are screened for falls risk and\r\nmeasures are taken to reduce fall risk: for example: home assessment, physical therapy followup,\r\netc.\r\n(Please note that if a Falls policy is chosen, it cannot be focused only on preventing inhospital\r\nfalls. It should\r\nto strive to identify older adults presenting to the ED with falls, as well as demonstrate a process that strives\r\nto reduce future risk of falling after ED or hospital discharge).\r\n
  • \r\n
`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"describe_qualitycommittee\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Please describe who is on your GED Quality Committee and how often you meet.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"thresholdforaction\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"What is your threshold for action?\",\r\n\t\t\t\t\tdescription: \"(For example, if less than 70% adherence we implement a PDSA cycle to or plan to address compliance.) For all policies procedures not on your dashboard (example might be use of volunteers to help older patients in your ED), please describe how you track adherence (example might be checking in with volunteer lead monthly to ensure they are visiting older adults in the ED and have the materials they need).\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"geddashboard\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Upload your GED dashboard\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Policies\",\r\n\t\t\tstep_title: \"Policies and Procedures\",\r\n\t\t\tstep_description: `In the previous step, you selected the following components as part of your EDs policies and procedures.

Please upload evidence of the policy or procedure indicating where it is most relevant to\r\nthe geriatric ED (i.e., highlight relevant sections, identify page numbers) and provide a brief\r\ndescription of how it is implemented in the geriatric ED.


We are looking for protocols that specifically address the emergency care needs of older adults. These\r\nprotocols or procedures should describe the process through which this care improvement activity takes\r\nplace for older patients while in the ED and how it is tracked with regards to adherence and care. (i.e., Who\r\ndoes the process, on whom the process is done, and how the process is triggered, etc.)

\r\nSites submitting hospitalwide\r\npolicies / protocols / procedures should provide detailed explanation for how\r\nthese are applied to older adults and address ED specific issues.

\r\nExamples
\r\n
    \r\n
  • \r\nA hospital screen for cognitive impairment in older ED adults at risk for delirium with the Delirium Triage\r\nScreen followed by the Brief Confusion Assessment Method in all ED patients 65+ years of age at triage.\r\nThis is a geriatric specific protocol done on ED patients.\r\n
  • \r\n
  • \r\nA hospital restraints protocol should provide additional information about how restraints are used during ED\r\ncare of older adults and how this is different from protocols with younger patients;\r\n
  • \r\n
  • \r\nUrinary catheter policies should have a component describing how the policy is applied tracked with regards\r\nto implementation for older patients in the ED.\r\n
  • \r\n
  • \r\nA falls policy describing how patients that presented for a fall or at risk of a fall are screened for falls risk and\r\nmeasures are taken to reduce fall risk: for example: home assessment, physical therapy followup,\r\netc.\r\n(Please note that if a Falls policy is chosen, it cannot be focused only on preventing inhospital\r\nfalls. It should\r\nto strive to identify older adults presenting to the ED with falls, as well as demonstrate a process that strives\r\nto reduce future risk of falling after ED or hospital discharge).\r\n
  • \r\n
\r\n`,\r\n\t\t\tsections: []\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Quality\",\r\n\t\t\tstep_title: \"Quality Improvement\",\r\n\t\t\tstep_description: `Only 20 uploads are required.

For level 1 accreditation, you need to demonstrate quality improvement measures for the 20 policies and procedures that you chose in\r\nthe Policies and Procedures step.These should be well integrated into your ED model of\r\ncare (with integration into your EHR when applicable and possible) and, at time of site visit,\r\n\t\t\tyou should be prepared to supply supporting documentation and evidence of integration of\r\nthese policies/ protocols into your ED work flow. The list below contains the ones you\r\nchose.You will be asked to describe and upload evidence of adherence.

\r\nPlease list and upload evidence to at least 20 components from Policies and Procedures\r\nstep based on random chart audit of 12 patients.
\r\n

The uploaded evidence should include a description of when, how, how often, and by whom the\r\npolicy/procedure is utilized, reviewed, and measured in the geriatric ED.`,\r\n\t\t\tsections: []\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Outcomes\",\r\n\t\t\tstep_title: \"Outcomes Measures\",\r\n\t\t\tstep_description: `Please provide evidence that you can track at least 5 of the following metrics. You\r\nwill need to upload or enter evidence of tracking(e.g.screenshots dashboard\r\nexamples.)

The uploaded evidence should include a description of how often and by whom the outcome is\r\nmeasured/tracked.`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"qualityimp\",\r\n\t\t\t\t\ttitle: `In general, how are outcomes reassessed\r\nfor quality improvement? How often do you / will\r\nyou review results, what kind of modifications may be considered if procedures / policies are\r\nnot accomplishing desired goals?`,\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Equipment\",\r\n\t\t\tstep_title: \"Equipment and Supplies\",\r\n\t\t\tstep_description:\r\n\t\t\t\t\"Do you have in­-department access to the following equipment and supplies in your ED? You are required to have all of these.\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"threetochoose\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"The following are best practices, and while not mandatory, we anticipate that many of these will be present in a Level 1 facility. Please check the items available in your ED.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Environment\",\r\n\t\t\tstep_title: \"Physical Environment\",\r\n\t\t\tstep_description: \"\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"musthave\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Does your ED have the following required amenities for use in the ED during all hours?\",\r\n\t\t\t\t\tdescription: `
    \r\n
  • At least two chairs per patient bed
  • \r\n
  • A large-face analog clock in each patient room
  • \r\n
  • Easy access to food and drink
  • \r\n
`,\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level1_environment_musthave_protocol\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `If not, briefly describe the off-hours protocol`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"optional\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"The following are best practices, and while not mandatory, we anticipate that many of these will be present in a Level 1 facility. Please check the items available in your ED.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"uploadpolicy\",\r\n\t\t\t\t\ttitle: `Please upload policy/protocol documents, photos, and descriptions of the equipment/food\r\navailable and how obtained (example, free access in 24/7 kitchen preferred over vending\r\nmachines).`,\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/cms/level1.cms.ts","import {\r\n\tILevel_CMSMetadata,\r\n\tILevelStep_CMSMetadata,\r\n\tILevelStepSection_CMSMetadata\r\n} from \"../../interfaces\";\r\n\r\nexport function level2_CMS() {\r\n\treturn _level2_CMS;\r\n}\r\n\r\nlet _level2_CMS: ILevel_CMSMetadata = {\r\n\tlevel_number: 2,\r\n\r\n\tsteps: [\r\n\t\t{\r\n\t\t\tstep_name: \"Program\",\r\n\t\t\tstep_title: \"Program Information\",\r\n\t\t\tstep_description: \"\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"programinfo\",\r\n\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"stateclassification\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `According to local or state classifications, what is your hospital considered?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"Urban non-teaching\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Urban teaching\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Rural\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Unsure\", Value: 4 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"edbeds\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `What is your ED's bed size?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"0-5\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"6-10\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"11-15\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"16-29\", Value: 4 },\r\n\t\t\t\t\t\t\t\t{ Key: \"30-50\", Value: 5 },\r\n\t\t\t\t\t\t\t\t{ Key: \"50+\", Value: 6 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"interestedwhy\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Why are you interested in GEDA accreditation?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"Administrative mandate\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Improved point of care\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tKey: \"ED Director/Staff initiative\",\r\n\t\t\t\t\t\t\t\t\tValue: 3\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t{ Key: \"Other\", Value: 4 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"edcensus_QN\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Most recent annual ED census?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"presentations_QN\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `What percentage of patient presentations are >65?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\tstep_name: \"Staffing\",\r\n\t\t\tstep_title: \"Staffing\",\r\n\t\t\tstep_description:\r\n\t\t\t\t\"Please tell us about the members of your geriatric team.\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"physician\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Physician Champion/Medical Director or equivalent with evidence of focused education for geriatric EM, whose responsibilities should include the majority (ideally all) of the following in their job description:\",\r\n\t\t\t\t\tdescription: `
    \r\n
  • Geriatric EM educational leader/coordinator for EM providers across multiple disciplines
  • \r\n
  • Oversee geriatric ED operations including:
  • \r\n
      \r\n
    • Implementation and regular assessment of protocol and policy guidelines of geriatric-­specific initiatives
    • \r\n
    • Coordination/guidance of geriatric ED staff workflow
    • \r\n
    • Coordination of interdisciplinary team workflow in the geriatric ED
    • \r\n
    \r\n
  • Quality improvement team leader overseeing adherence to geriatric-specific protocols
  • \r\n
  • Develop and oversee outcome measures documentation including process and outcome metric
  • \r\n
  • Coordinator for maintenance of geriatric ED environment (i.e., specific equipment and supplies)
  • \r\n
  • Liaison between hospital leadership and the geriatric ED
  • \r\n
  • Quality assurance team leader for geriatric patient case reviews/complaints
  • \r\n
  • Coordinator of geriatric EM research initiatives (if applicable)
  • \r\n\r\n
`,\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level2_staffing_list_physician_file\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Please upload a job description and describe geriatric responsibilities within the geriatric ED including\r\naspects of that individual's geriatric emergency roles in implementation of relevant protocols, quality\r\nimprovement, quality assurance, outcome assessments, and coordination with hospital leadership.`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"geriatricED\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Does the Physician Champion/Medical Director provide geriatric education for the ED staff?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level2_staffing_geriatricED_bestpractices\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `How is the education delivered and how are best practices incorporated into the geriatric ED workflow?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level2_staffing_GEDOps_radio\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `How many hours per week is dedicated to GED operations?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"<5\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"5-10\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"11-15\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"16-20\", Value: 4 },\r\n\t\t\t\t\t\t\t\t{ Key: \">20\", Value: 5 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"nursechampion\",\r\n\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level2_staffing_list_nursechampion_file\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: ``,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"nurse\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"List at least 1 nurse case managers or transitional care nurses or equivalent: totaling 56 hours/week of coverage in ED.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"Physiotherapy\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"2 members of an interdisciplinary team should be available to the ED. Please select at least 2 of the following\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"geriatric\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"List 1 hospital/health system level executive/administrative sponsor supervising & supporting the geriatric ED program.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"support\",\r\n\t\t\t\t\ttitle: \"What is the level of support?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"workflow\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"How are they involved with developing and supporting the GEDA, as well as being incorporated into the ED work flow?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"advisor_council\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"List 1 executive/administrative sponsor supervising geriatric ED program\",\r\n\t\t\t\t\tdescription: \"Think of this role as a patient advocate. She/he is invited to meetings and gives valuable insight on the patient perspective. She/he could have been a patient in the ED and gives feedback on how patients may interpret processes and what modifications the ED should strive to make that would give your patients the best experience. She/he balances the dialogue by giving the group a patient perception.\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Education\",\r\n\t\t\tstep_title: \"Education\",\r\n\t\t\tstep_description: `A physician champion / medical director is required for all levels of Geriatric ED. This physician champion /\r\nmedical director must demonstrate focused training in geriatric emergency medicine that provides added\r\nexpertise in the emergency care of older adults and added ability to teach other physicians and advanced\r\npractice providers how to improve this care.

\r\nThis training requirement must be demonstrated through coursework:

\r\n
    \r\n\t
  1. focused on geriatric specific syndromes and concepts (e.g., atypical presentation of disease, changes with\r\nage, transitions of care) relevant to emergency medicine,
  2. \r\n\t\t
  3. focused on clinical issues nearly exclusive to geriatric ED patients (e.g., end of life care, dementia, delirium,\r\nsystems of care for older adults), or
  4. \r\n\t
  5. discussing issues common to all ED patients but focused on the unique factors found in older adults (e.g.,\r\ntrauma in older adults, cardiac arrest care for the geriatric patient).
  6. \r\n
\r\n
\r\nTraining in common emergency medicine conditions (e.g., stroke) that happen to affect older adults does not\r\nqualify for this requirement. Qualifying training courses may be in person, web-based\r\n(e.g., Geri-EM.com) or\r\nequivalent provided through or led by an authoritative resource. Reading a book or credit for a topic search in\r\nUpToDate (or similar) does not qualify for this training requirement unless CME is earned for this activity.

\r\n
    \r\n\t\t
  • For physician champions/ medical directors applying to lead Level 2 Geriatric EDs, six (6) hours of education are required\r\nfor the initial certification and for each renewal.
  • \r\n\r\n\r\n
  • \r\nEducation of nursing personnel about geriatric emergency care of older patients is critically important in a Geriatric ED. A department should document its nursing educational activity and submit the documentation for consideration. Examples:
    \r\n
      \r\n\t\t
    • GENE course from Emergency Nurses Association
    • \r\n\t\t
    • Emergency Department nursing modules from NICHE
    • \r\n\t\t
    • Locally developed nursing education modules
    • \r\n
    \r\n
  • \r\n\r\n\r\n
\r\n
\r\nThese educational requirements may be demonstrated through appropriate geriatricfocused\r\nCME with\r\ncompletion certificates (please be ready to share these certificates and which of the above mentioned geriatric\r\ncontent this includes.) Alternatively, applicants may submit other coursework that they believe should fulfill this\r\nrequirement for review by the GEDA Board of Governors. The Board of Governors are under no obligation to\r\naccept this other coursework.`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"evidence\",\r\n\t\t\t\t\ttitle: `Please upload evidence of focused geriatric education completion (e.g. certificates of completion, CME credits, etc.) Describe geriatric courses taken including when taken, content and duration.`,\r\n\t\t\t\t\tdescription: ``,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"physician\",\r\n\r\n\t\t\t\t\ttitle: `Do you educate nurse case managers or transitional care nurses or equivalent, totaling\r\n56 hours/week of coverage in ED, with examples of the following?`,\r\n\t\t\t\t\tdescription: `
    \r\n
  • Atypical presentations of disease
  • \r\n
  • Trauma including falls
  • \r\n
  • Cognitive and behavioral disorders
  • \r\n
  • Emergency intervention modifications
  • \r\n
  • Medication Management/polypharmacy
  • \r\n
  • Transitions of care
  • \r\n
  • Effect of comorbid conditions/polymorbidity
  • \r\n
  • End-­of-­life care
  • \r\n
`,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"nurse\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Do you educate your nursing personnel about the domains of geriatric EM using GENE, NICHE, or a similar course?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"bestpractices\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"How is the education delivered and how are best practices incorporated into the geriatric ED workflow?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Processmap\",\r\n\t\t\tstep_title: \"Process Map/Workflow\",\r\n\t\t\tstep_description: `Level 2 GEDA applications are required to provide their GED process flow. See examples:`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"evidence\",\r\n\t\t\t\t\ttitle: `Upload GED Process Map/Workflow`,\r\n\t\t\t\t\tdescription: ``,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"samples\",\r\n\t\t\t\t\ttitle: ``,\r\n\t\t\t\t\tdescription: `Sample of Care Model Process Map
\r\n\t\t\t\t\t\r\n\t\t\t\t\tSample of Level 2 Flow Map Plan
\r\n\t\t\t\t\t\r\n\t\t\t\t\tSample of Geriatric ED Workflow
`,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\r\n\t\t\t]\r\n\t\t},\r\n\r\n\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Procedures\",\r\n\t\t\tstep_title: \"Policies, Procedures and Quality Improvement Components\",\r\n\t\t\tstep_description:\r\n\t\t\t\t`For level 2 accreditation, at least 10 of the following components should be part of the EDs policies or procedures. Please select the 10 that are applicable to your ED.

In this section you will need to provide evidence of:
\t(1) The policy, protocol, or procedure,
(2) A brief description of how the policy / procedure is implemented in the geriatric ED,
(3) Include the quality improvement measure that provides a description of adherence--when, how, how often, and by whom the policy / procedure is utilized, reviewed, and measured in the geriatric ED.

We ask that you indicate (i.e., highlight relevant sections, identify page numbers, etc.) where in your documentation the policy/procedure is most relevant to the geriatric ED. These policies, procedures and quality improvement measures should be well integrated into your ED model of care (with integration into your EHR when applicable and possible) and, at time of the site visit, you should be prepared to supply supporting documentation and evidence of integration of these policies/ protocols /QI into your ED workflow.


We are looking for protocols that specifically address the emergency care needs of older adults. These protocols or procedures should describe the process through which this care improvement activity takes place for older patients while in the ED and how it is tracked with regards to adherence and care. (i.e., Who does the process, on whom the process is done, and how the process is triggered, etc.)

Sites submitting hospital- wide policies / protocols / procedures should provide detailed explanation for how these are applied to older adults and address ED specific issues.

\r\nExamples
\r\n
    \r\n
  • \r\nA hospital screen for cognitive impairment in older ED adults at risk for delirium with the Delirium Triage\r\nScreen followed by the Brief Confusion Assessment Method in all ED patients 65+ years of age at triage.\r\nThis is a geriatric specific protocol done on ED patients.\r\n
  • \r\n
  • \r\nA hospital restraints protocol should provide additional information about how restraints are used during ED\r\ncare of older adults and how this is different from protocols with younger patients;\r\n
  • \r\n
  • \r\nUrinary catheter policies should have a component describing how the policy is applied tracked with regards\r\nto implementation for older patients in the ED.\r\n
  • \r\n
  • \r\nA falls policy describing how patients that presented for a fall or at risk of a fall are screened for falls risk and\r\nmeasures are taken to reduce fall risk: for example: home assessment, physical therapy followup,\r\netc.\r\n(Please note that if a Falls policy is chosen, it cannot be focused only on preventing inhospital\r\nfalls. It should\r\nto strive to identify older adults presenting to the ED with falls, as well as demonstrate a process that strives\r\nto reduce future risk of falling after ED or hospital discharge).\r\n
  • \r\n
`,\r\n\t\t\tsections: [\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"describe_qualitycommittee\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Please describe who is on your GED Quality Committee and how often you meet.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"thresholdforaction\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"What is your threshold for action?\",\r\n\t\t\t\t\tdescription: \"(For example, if less than 70% adherence we implement a PDSA cycle to or plan to address compliance.) For all policies procedures not on your dashboard (example might be use of volunteers to help older patients in your ED), please describe how you track adherence (example might be checking in with volunteer lead monthly to ensure they are visiting older adults in the ED and have the materials they need).\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"geddashboard\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Do you have a GED dashboard?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Policies\",\r\n\t\t\tstep_title: \"Policies and Procedures\",\r\n\t\t\tstep_description: `In the previous step, you selected the following components as part of your EDs policies and procedures.

Please upload evidence of the policy or procedure indicating where it is most relevant to\r\nthe geriatric ED (i.e., highlight relevant sections, identify page numbers) and provide a brief\r\ndescription of how it is implemented in the geriatric ED.


We are looking for protocols that specifically address the emergency care needs of older adults. These\r\nprotocols or procedures should describe the process through which this care improvement activity takes\r\nplace for older patients while in the ED and how it is tracked with regards to adherence and care. (i.e., Who\r\ndoes the process, on whom the process is done, and how the process is triggered, etc.)

\r\nSites submitting hospitalwide\r\npolicies / protocols / procedures should provide detailed explanation for how\r\nthese are applied to older adults and address ED specific issues.

\r\nExamples
\r\n
    \r\n
  • \r\nA hospital screen for cognitive impairment in older ED adults at risk for delirium with the Delirium Triage\r\nScreen followed by the Brief Confusion Assessment Method in all ED patients 65+ years of age at triage.\r\nThis is a geriatric specific protocol done on ED patients.\r\n
  • \r\n
  • \r\nA hospital restraints protocol should provide additional information about how restraints are used during ED\r\ncare of older adults and how this is different from protocols with younger patients;\r\n
  • \r\n
  • \r\nUrinary catheter policies should have a component describing how the policy is applied tracked with regards\r\nto implementation for older patients in the ED.\r\n
  • \r\n
  • \r\nA falls policy describing how patients that presented for a fall or at risk of a fall are screened for falls risk and\r\nmeasures are taken to reduce fall risk: for example: home assessment, physical therapy followup,\r\netc.\r\n(Please note that if a Falls policy is chosen, it cannot be focused only on preventing inhospital\r\nfalls. It should\r\nto strive to identify older adults presenting to the ED with falls, as well as demonstrate a process that strives\r\nto reduce future risk of falling after ED or hospital discharge).\r\n
  • \r\n
\r\n`,\r\n\t\t\tsections: []\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Quality\",\r\n\t\t\tstep_title: \"Quality Improvement\",\r\n\t\t\tstep_description: `Only 10 uploads are required.\r\n\t\t\t

\r\n\t\t\tFor level 2 accreditation, there should be evidence of efforts to ensure effective and\r\n\t\t\tappropriate utilization (with integration into EHR when applicable and possible) of above\r\n\t\t\tpolicies and guidelines with adherence to the 10 components chosen in \"Policies\r\n\t\t\tguidelines and procedures\". The list below contains the ones you chose.
\r\n\t\t\t

\r\n\t\t\tThe uploaded evidence should include a description of when, how, how often, and by whom the\r\n\t\t\tpolicy/procedure is utilized, reviewed, and measured in the geriatric ED.`,\r\n\t\t\tsections: []\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Outcomes\",\r\n\t\t\tstep_title: \"Outcomes Measures\",\r\n\t\t\tstep_description: `You will need to upload or enter evidence of tracking (e.g. screenshots, dashboard examples, and/ or numerator/ denominator when applicable.)`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"qualityimp\",\r\n\t\t\t\t\ttitle: `In general, how are outcomes reassessed\r\nfor quality improvement? How often do you / will\r\nyou review results, what kind of modifications may be considered if procedures / policies are\r\nnot accomplishing desired goals?`,\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Equipment\",\r\n\t\t\tstep_title: \"Equipment and Supplies\",\r\n\t\t\tstep_description:\r\n\t\t\t\t\"Do you have in­-department access to the following equipment and supplies in your ED?\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"threetochoose\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"In addition to the items above, please indicate the other items that are available in the department. You are required to have 3 of these. Best practice is to have all available.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"photos\",\r\n\t\t\t\t\ttitle: `Upoad photos of equipment and supplies in the ED`,\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Environment\",\r\n\t\t\tstep_title: \"Physical Environment\",\r\n\t\t\tstep_description: \"\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"musthave\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Does your ED have the following required amenities for use in the ED during all hours?\",\r\n\t\t\t\t\tdescription: `
    \r\n
  • At least two chairs per patient bed
  • \r\n
  • A large-face analog clock in each patient room
  • \r\n
  • Easy access to food and drink
  • \r\n
`,\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level2_environment_musthave_protocol\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `If not, briefly describe your off-hours protocol`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"optional\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"The following are best practices, although not mandatory. Please check the items available\t\tin your ED.\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"uploadpolicy\",\r\n\t\t\t\t\ttitle: `Please upload policy/protocol documents, photos, and descriptions of the equipment/food\r\navailable and how obtained (example, free access in 24/7 kitchen preferred over vending\r\nmachines).`,\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/cms/level2.cms.ts","import {\r\n\tILevel_CMSMetadata,\r\n\tILevelStep_CMSMetadata,\r\n\tILevelStepSection_CMSMetadata\r\n} from \"../../interfaces\";\r\n\r\nexport function level3_CMS() {\r\n\treturn _level3_CMS;\r\n}\r\n\r\nlet _level3_CMS: ILevel_CMSMetadata = {\r\n\tlevel_number: 3,\r\n\r\n\tsteps: [\r\n\t\t{\r\n\t\t\tstep_name: \"Health\",\r\n\t\t\tstep_title: \"Health System Information\",\r\n\t\t\tstep_description: \"If you are you NOT applying as a health system, and will not be submitting other applications from this health system today, please click 'Save & Continue' and continue to next checklist.\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"healthsystem\",\r\n\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"numEDsServingOlderAdults_QN\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `How many hospitals with EDs that serve older adults make up your health system?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"leaderGEDImplementation\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Please identify a system-level leader that is overseeing GED implementation across your system. (C-Suite level)`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"clinicalChampion\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Who is the system level clinical champion that will be the point of contact for GEDA?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"whyIsYourHealthSystemInterested\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Why is your health system interested in GEDA?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"usingTelemedicine\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Is your ED or health system utilizing telemedicine to provide geriatric services?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"Yes\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"No\", Value: 2 }\r\n\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\tstep_name: \"Program\",\r\n\t\t\tstep_title: \"Program Information\",\r\n\t\t\tstep_description: \"\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"programinfo\",\r\n\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"stateclassification\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `According to local or state classifications, what is your hospital considered?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"Urban non-teaching\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Urban teaching\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Rural\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Unsure\", Value: 4 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"edbeds\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `What is your ED's bed size?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"0-5\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"6-10\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{ Key: \"11-15\", Value: 3 },\r\n\t\t\t\t\t\t\t\t{ Key: \"16-29\", Value: 4 },\r\n\t\t\t\t\t\t\t\t{ Key: \"30-50\", Value: 5 },\r\n\t\t\t\t\t\t\t\t{ Key: \"50+\", Value: 6 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"interestedwhy\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Why are you interested in GEDA accreditation?`,\r\n\t\t\t\t\t\t\tdataSet: [\r\n\t\t\t\t\t\t\t\t{ Key: \"Administrative mandate\", Value: 1 },\r\n\t\t\t\t\t\t\t\t{ Key: \"Improved point of care\", Value: 2 },\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tKey: \"ED Director/Staff initiative\",\r\n\t\t\t\t\t\t\t\t\tValue: 3\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t{ Key: \"Other\", Value: 4 }\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"edcensus_QN\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Most recent annual ED census?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"presentations_QN\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `What percentage of patient presentations are >65?`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\tstep_name: \"Staffing\",\r\n\t\t\tstep_title: \"Staffing\",\r\n\t\t\tstep_description: `Please tell us about the members of your geriatric team.

\r\n `,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"physician\",\r\n\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\tdescription: `A physician champion / medical director is required for all levels of Geriatric ED. This physician champion /\r\nmedical director must demonstrate focused training in geriatric emergency medicine that provides added\r\nexpertise in the emergency care of older adults and added ability to teach other physicians and advanced\r\npractice providers how to improve this care.

\r\nThis training requirement must be demonstrated through coursework:

\r\n1) focused on geriatric specific syndromes and concepts (e.g., atypical presentation of disease, changes with\r\nage, transitions of care) relevant to emergency medicine,
\r\n2) focused on clinical issues nearly exclusive to geriatric ED patients (e.g., end of life care, dementia, delirium,\r\nsystems of care for older adults), or
\r\n3) discussing issues common to all ED patients but focused on the unique factors found in older adults (e.g.,\r\ntrauma in older adults, cardiac arrest care for the geriatric patient).

\r\nTraining in common emergency medicine conditions (e.g., stroke) that happen to affect older adults does not\r\nqualify for this requirement. Qualifying training courses may be in person, web-based\r\n(e.g., Geri-EM.com) or\r\nequivalent provided through or led by an authoritative resource. Reading a book or credit for a topic search in\r\nUpToDate (or similar) does not qualify for this training requirement unless CME is earned for this activity.

\r\n• For physician champion / medical directors applying to lead Level 3 Geriatric EDs, four (4) hours of education are\r\nrequired for the initial certification and for each renewal.

\r\nThese educational requirements may be demonstrated through appropriate geriatric-focused\r\nCME with\r\ncompletion certificates (please be ready to share these certificates and which of the above mentioned geriatric\r\ncontent this includes.) Alternatively, applicants may submit other coursework that they believe should fulfill this\r\nrequirement for review by the GEDA Board of Governors. The Board of Governors are under no obligation to\r\naccept this other coursework.\r\n `,\r\n\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname:\r\n\t\t\t\t\t\t\t\t\"level3_staffing_list_physician_evidence_file\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Please upload evidence of at least four hours of focused geriatric education completion (e.g. certificates of completion, CME credits,\r\netc.) Describe geriatric courses taken including when taken, content and duration.`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"nurse\",\r\n\t\t\t\t\ttitle: `List at least one registered nurse and provide the source(s) of focused education for\r\ngeriatric EM (e.g.Nurses Improving Care for Health System Elders, Geriatric Emergency\r\nNursing Education, in person courses focused on below topics) in topics such as:`,\r\n\t\t\t\t\tdescription: `
    \r\n\t\t\t\t
  • Atypical presentations of disease
  • \r\n\t\t\t\t
  • Trauma including falls
  • \r\n\t\t\t\t
  • Cognitive and behavioral disorders
  • \r\n\t\t\t\t
  • Emergency intervention modifications
  • \r\n\t\t\t\t
  • Medication Management/polypharmacy
  • \r\n\t\t\t\t
  • Transitions of care
  • \r\n\t\t\t\t
  • Effect of comorbid conditions/polymorbidity
  • \r\n\t\t\t\t
  • End-of-life care
  • \r\n\t\t\t\t
`,\r\n\t\t\t\t\tquestions: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level3_staffing_list_nurse_file\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription:\r\n\t\t\t\t\t\t\t\t\"Upload a job description and describe geriatric responsibilities within the ED.\",\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"level3_staffing_list_nurse_evidence_file\",\r\n\t\t\t\t\t\t\ttitle: \"\",\r\n\t\t\t\t\t\t\tdescription: `Please upload evidence of focused geriatric education completion (e.g. certificates of completion, CME\r\ncredits, etc.) Describe geriatric courses taken including when taken, content\r\nand duration.`,\r\n\t\t\t\t\t\t\tdataSet: []\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"Policies\",\r\n\t\t\tstep_title: \"Policies and Procedures\",\r\n\t\t\tstep_description: `Please describe at least one policy or protocol or procedure that you have implemented in your ED that is specific to high-quality care of older ED patients. This description should be detailed enough for the reviewers to understand how it is implemented, including information about staff education, how it is integrated into workflow, strategies for tracking implementation. These protocols or procedures should describe the process through which a care improvement activity takes place for older patients while in the ED and how it is tracked with regards to adherence and improvement (i.e., who does the process, on whom the process is done, and how the process is triggered, etc.)

It is not sufficient to describe an already existent hospital-wide policy that just happens to include the ED or an already existent ED policy that just happens to include older patients.
The following are not adequate for accreditation: a hospital-wide policy on reducing urinary catheter insertion which does not specify how this policy will be disseminated to ED nurses and physicians or how the policy will be adapted in the ED setting for geriatric patient specifically is not adequate for accreditation; an ED policy of routinely screening all patients for abuse which does not address the particular challenges of elder abuse (e.g., staff education in recognizing it, reporting requirements, strategies for tracking adherence.)

Applications that do not include these details about the geriatric-specific and ED-specific nature of the policies / protocols / procedures will not be accepted.

\r\nExamples of suitable geriatric ED-specific policies can be found throughout the ACEP Geriatric ED Guidelines. They might include the following (or many others):

\r\n
    \r\n
  • \r\nA process for screening all older ED patients for delirium including staff training, tools to be used, strategies for follow up of positive screens, strategies for tracking adherence and quality improvement;

    \r\n
  • \r\n\r\n
  • \r\nA process for identifying functional decline in all older ED patients including staff training, tools to be used, strategies for tracking adherence and quality improvement;

    \r\n
  • \r\n\r\n
  • \r\nA process for assessing older ED patients who present with falls including staff training, tools/processes to be used, involvement of an interdisciplinary team, strategies for tracking adherence and quality improvement;

    \r\n
  • \r\n\r\n
  • \r\nA process for improving transitions of care e.g. ensuring accurate information returns to primary care provider or long-term care or community services, including staff training, the tool to be used, strategies for tracking adherence and quality improvement;

    \r\n
  • \r\n
  • \r\nA process for medication reconciliation for older ED patients; for reduced use of restraints for older ED patients; for pain management in older ED patients; for accessing palliative care services; \r\n
  • \r\n
\r\n`,\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"level3_policies_initiative_describe\",\r\n\t\t\t\t\ttitle: `Briefly describe how it is modified/implemented for older adults in the geriatric ED (by\r\nwhom, in what scenarios) and how adherence to the protocol is monitored.`,\r\n\t\t\t\t\tdescription: `Please include description of proportion of eligible older adults impacted by this protocol, if\r\npossible.Highlight the areas within your document that are most important for the reviewers,\r\n\t\t\t\t\tincluding page numbers.`,\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\r\n\t\t{\r\n\t\t\tstep_name: \"environment\",\r\n\t\t\tstep_title: \"Physical Environment\",\r\n\t\t\tstep_description: \"\",\r\n\t\t\tsections: [\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"mobility\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Does your ED provide access to mobility aids (canes, walkers) for use in the ED during all hours?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"mobileaids_off_protocol\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Briefly describe the off-hours protocol to obtain these devices\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"food\",\r\n\t\t\t\t\ttitle:\r\n\t\t\t\t\t\t\"Does your ED provide easy access to free food and drink during all hours?\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"food_off_protocol\",\r\n\t\t\t\t\ttitle: \"Briefly describe the off-hours protocol\",\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tname: \"uploadpolicy\",\r\n\t\t\t\t\ttitle: `Please upload policy/protocol documents, photos, and descriptions of the equipment/food\r\navailable and how obtained (example, free access in 24/7 kitchen, vending machines do not meet this criteria).`,\r\n\t\t\t\t\tdescription: \"\",\r\n\t\t\t\t\tquestions: []\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/cms/level3.cms.ts","import { Injectable } from \"@angular/core\";\r\nimport { Observable, BehaviorSubject } from \"rxjs/Rx\";\r\nimport { environment } from \"../../../../environments/environment\";\r\n\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplication,\r\n\tIState,\r\n\tIStateModel,\r\n\tIStatesModel,\r\n\tICountriesModel,\r\n\tICountry,\r\n\tICountryModel,\r\n\tIError,\r\n\tIStepModel,\r\n\tIApplicationModel,\r\n\tIApplicationsModel,\r\n\tIReviewer,\r\n\tIReviewerModel,\r\n\tIReviewersModel,\r\n\tIQuestionModel,\r\n\tILevel_CMSMetadata,\r\n\tILevelStep_CMSMetadata,\r\n\tILevelStepSection_CMSMetadata,\r\n\tILevelStepSectionQuestion_CMSMetadata\r\n} from \"../../interfaces\";\r\nimport { level1_CMS, level2_CMS, level3_CMS } from \"../../classes/cms\";\r\n\r\n@Injectable()\r\nexport class CmsService implements IService {\r\n\t// implements local variables\r\n\t// *\r\n\r\n\t// implements IService\r\n\tname = \"CmsService\";\r\n\tlevelmetas: ILevel_CMSMetadata[] = [\r\n\t\tlevel1_CMS(),\r\n\t\tlevel2_CMS(),\r\n\t\tlevel3_CMS()\r\n\t];\r\n\r\n\tCURRENT_STEPCMS_METADATA: ILevelStep_CMSMetadata;\r\n\r\n\t//LEVEL3\r\n\r\n\t//level[LEVELNUMBER]_[STEPNAME]_title\r\n\t//level[LEVELNUMBER]_[STEPNAME]_subtitle\r\n\r\n\t//level[LEVELNUMBER]_[STEPNAME]_[GROUPNAME/SECTIONNAME]_title\r\n\t//level[LEVELNUMBER]_[STEPNAME]_[GROUPNAME/SECTIONNAME]_description\r\n\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\r\n\tconstructor() { }\r\n\r\n\t//CMS CALLS\r\n\tgetLevel_CMSMetadata(level: number): ILevel_CMSMetadata {\r\n\t\tlet levelcms = this.levelmetas.find(a => a.level_number == level);\r\n\t\treturn levelcms;\r\n\t}\r\n\r\n\tgetLevelStep_CMSMetadata(\r\n\t\tlevel: number,\r\n\t\tstepname: string\r\n\t): ILevelStep_CMSMetadata {\r\n\t\tlet cms_level = this.getLevel_CMSMetadata(level);\r\n\t\treturn cms_level\r\n\t\t\t? cms_level.steps.find(\r\n\t\t\t\ta => a.step_name.toLowerCase() == stepname.toLowerCase()\r\n\t\t\t)\r\n\t\t\t: null;\r\n\t}\r\n\r\n\tgetLevelStepSection_CMSMetadata(\r\n\t\tlevel: number,\r\n\t\tstepname: string,\r\n\t\tsectionname: string\r\n\t): ILevelStepSection_CMSMetadata {\r\n\t\tlet cms_step = this.getLevelStep_CMSMetadata(level, stepname);\r\n\t\treturn cms_step\r\n\t\t\t? cms_step.sections.find(\r\n\t\t\t\ta => a.name.toLowerCase() == sectionname.toLowerCase()\r\n\t\t\t)\r\n\t\t\t: null;\r\n\t}\r\n\r\n\t//utility method to pull a section meta directly from the parent stepmeta\r\n\tgetSection_CMSMetadata(\r\n\t\tstepcmsmeta: ILevelStep_CMSMetadata,\r\n\t\tsectionname: string\r\n\t): ILevelStepSection_CMSMetadata {\r\n\t\treturn stepcmsmeta.sections.find(\r\n\t\t\ta => a.name.toLowerCase() == sectionname.toLowerCase()\r\n\t\t);\r\n\t}\r\n\r\n\tgetSectionQuestion_CMSMetadata(\r\n\t\tstepcmsmeta: ILevelStep_CMSMetadata,\r\n\t\tsectionname: string,\r\n\t\tquestionname: string\r\n\t): ILevelStepSectionQuestion_CMSMetadata {\r\n\t\tlet ILevelStepSectionQuestion_CMSMetadata: string = \"\";\r\n\t\tlet sn: ILevelStepSection_CMSMetadata = this.getSection_CMSMetadata(\r\n\t\t\tstepcmsmeta,\r\n\t\t\tsectionname\r\n\t\t);\r\n\t\tif (sn) {\r\n\t\t\tlet qns: ILevelStepSectionQuestion_CMSMetadata[] = sn.questions;\r\n\t\t\tif (qns) {\r\n\t\t\t\treturn qns.find(a => a.name == questionname);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}\r\n\r\n\t//CREATE APPLICATION HTML\r\n\r\n\tCreateApplicationHtml(dApplication: IApplication, dSteps: IStepModel[]) {\r\n\t\tlet html_appinfo = this._CreateAppInfoHtml(dApplication);\r\n\r\n\t\tlet html_stepinfo = this._CreateStepHtml(dApplication, dSteps);\r\n\r\n\t\tlet html = `${html_appinfo}${html_stepinfo}`;\r\n\r\n\t\tlet content =\r\n\t\t\t\"\" +\r\n\t\t\thtml +\r\n\t\t\t\"\";\r\n\r\n\t\treturn content;\r\n\t}\r\n\r\n\tprivate _CreateAppInfoHtml(dApplication: IApplication) {\r\n\t\tlet html = \"\";\r\n\r\n\t\thtml += `
`;\r\n\r\n\t\thtml += `

${dApplication.ApplicationNumber\r\n\t\t\t}: ${dApplication.Name} - (Level ${dApplication.Level})

`;\r\n\r\n\t\thtml += `
`;\r\n\r\n\t\thtml += `
\r\n\t\t\t\t

Applicant Information

\r\n\t\t\t\t
\r\n\t\t\t\t
${dApplication.Applicant.FirstName} ${dApplication.Applicant.LastName\r\n\t\t\t}
\r\n\t\t\t\t
${dApplication.Applicant.Address.Line1\r\n\t\t\t\t? dApplication.Applicant.Address.Line1\r\n\t\t\t\t: \"\"\r\n\t\t\t}
\r\n\t\t\t\t
${dApplication.Applicant.Address.Line2\r\n\t\t\t\t? dApplication.Applicant.Address.Line2\r\n\t\t\t\t: \"\"\r\n\t\t\t}
\r\n\t\t\t\t
${dApplication.Applicant.Address.City\r\n\t\t\t\t? dApplication.Applicant.Address.City\r\n\t\t\t\t: \"\"\r\n\t\t\t}, ${dApplication.Applicant.Address.State\r\n\t\t\t\t? dApplication.Applicant.Address.State\r\n\t\t\t\t: \"\"\r\n\t\t\t} ${dApplication.Applicant.Address.PostalCode\r\n\t\t\t\t? dApplication.Applicant.Address.PostalCode\r\n\t\t\t\t: \"\"\r\n\t\t\t}
\r\n\t\t\t\t
${dApplication.Applicant.Email.Address\r\n\t\t\t\t? dApplication.Applicant.Email.Address\r\n\t\t\t\t: \"\"\r\n\t\t\t}
\r\n\t\t\t\t
${dApplication.Applicant.Position\r\n\t\t\t\t? dApplication.Applicant.Position\r\n\t\t\t\t: \"\"\r\n\t\t\t}
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

Program Information

\r\n\t\t\t\t
\r\n\t\t\t\t
${dApplication.Hospital.Name}
\r\n\t\t\t\t
${dApplication.Hospital.Address.Line1}
\r\n\t\t\t\t
${dApplication.Hospital.Address.City}, ${dApplication.Hospital.Address.State\r\n\t\t\t} ${dApplication.Hospital.Address.PostalCode}
\r\n\r\n\t\t\t
CEO or President Name: ${dApplication.Hospital.CeoName}
\r\n\t\t\t
Health System: ${!!dApplication.Hospital.HealthSystemName ? dApplication.Hospital.HealthSystemName : 'N/A'}
` +\r\n\r\n\t\t\tthis.getHealthSystemQns(dApplication)\r\n\t\t\t+\r\n\t\t\t`
\r\n\t\t\t\t
\r\n\t\t\t
 
`;\r\n\t\thtml += `
`;\r\n\r\n\t\thtml += `
`;\r\n\t\treturn html;\r\n\t}\r\n\r\n\tprivate getHealthSystemQns(dApplication: IApplication): string {\r\n\t\tlet s = '';\r\n\t\tif (dApplication.Level == 3) {\r\n\t\t\ts = `
Applying as a Health System: ${dApplication.Hospital.ApplyingAsAHealthSystem ? 'Yes' : 'No'}
`\r\n\t\t}\r\n\t\telse {\r\n\t\t\ts = `
How many hospitals with EDs that serve older adults make up your Health System?: ${!!dApplication.NumberOfEdsServingOlderAdults ? dApplication.NumberOfEdsServingOlderAdults : 'N/A'}
Is your ED or health system utilizing telemedicine to provide geriatric services?: ${dApplication.UtilizingTeleMedForGeriatric ? 'Yes' : 'No'}
`\r\n\t\t}\r\n\r\n\t\treturn s;\r\n\r\n\t}\r\n\r\n\tprivate _CreateStepHtml(dApplication: IApplication, dSteps: IStepModel[]) {\r\n\t\t/*\t`
\r\n\t\t\t

{{s.Step.Name}}

\r\n\t\t\t
\r\n\t\t\t\t
{{q.Question.Text}}
\r\n\t\t\t\t
{{q.Question.Answer}}
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
`*/\r\n\r\n\t\tlet html = \"\";\r\n\t\tlet s: IStepModel;\r\n\t\t//let q:\r\n\t\tfor (let i = 0; i < dSteps.length; i++) {\r\n\t\t\ts = dSteps[i];\r\n\t\t\tlet stepCMS = this.getLevelStep_CMSMetadata(\r\n\t\t\t\tdApplication.Level,\r\n\t\t\t\ts.Step.Name\r\n\t\t\t);\r\n\r\n\t\t\tif (!stepCMS) continue;\r\n\r\n\t\t\t//STEP TITLE\r\n\t\t\thtml += `

${stepCMS.step_title\r\n\t\t\t\t}

`;\r\n\r\n\t\t\t//STEP DESCRIPTION\r\n\t\t\tif (stepCMS.step_description) {\r\n\t\t\t\thtml += `${stepCMS.step_description\r\n\t\t\t\t\t}

`;\r\n\t\t\t}\r\n\r\n\t\t\t//QUESTIONS\r\n\t\t\tlet uniqueSections = s.Step.Questions\r\n\t\t\t\t? this.GetUniqueSectionsFromCRM(s.Step.Questions.Questions)\r\n\t\t\t\t: [];\r\n\r\n\t\t\tif (uniqueSections.length == 0) {\r\n\t\t\t\thtml += `
No data was provided for this section
`;\r\n\t\t\t}\r\n\r\n\t\t\tfor (let j = 0; j < uniqueSections.length; j++) {\r\n\t\t\t\tlet sectionname = uniqueSections[j];\r\n\t\t\t\tlet sectionCMS = this.getSection_CMSMetadata(\r\n\t\t\t\t\tstepCMS,\r\n\t\t\t\t\tsectionname\r\n\t\t\t\t);\r\n\t\t\t\tlet sectiontitle = sectionCMS ? sectionCMS.title : \"\";\r\n\t\t\t\tlet sectiondesc = sectionCMS ? sectionCMS.description : \"\";\r\n\r\n\t\t\t\thtml += `
${sectiontitle}
`;\r\n\t\t\t\tif (sectiondesc != \"\") {\r\n\t\t\t\t\thtml += `
${sectiondesc}
`;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tlet qArr = s.Step.Questions.Questions.filter(\r\n\t\t\t\t\ta => a.Question.Detail.Group == sectionname\r\n\t\t\t\t);\r\n\r\n\t\t\t\tqArr = qArr.sort(function (obj1, obj2) {\r\n\t\t\t\t\t// Ascending: first age less than the previous\r\n\t\t\t\t\treturn obj1.Question.Order - obj2.Question.Order;\r\n\t\t\t\t});\r\n\r\n\t\t\t\tif (qArr != null && qArr.length > 0) {\r\n\t\t\t\t\tfor (let k = 0; k < qArr.length; k++) {\r\n\t\t\t\t\t\tlet qAns = qArr[k].Question;\r\n\r\n\t\t\t\t\t\t//check if there is a cms entry for this qKey\r\n\t\t\t\t\t\t//***************************************************//\r\n\t\t\t\t\t\tlet qKey = qAns.Key;\r\n\r\n\t\t\t\t\t\tlet sectionIndividualAnswerCMS = this.getSectionQuestion_CMSMetadata(\r\n\t\t\t\t\t\t\tstepCMS,\r\n\t\t\t\t\t\t\tsectionname,\r\n\t\t\t\t\t\t\tqKey\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tif (sectionIndividualAnswerCMS) {\r\n\t\t\t\t\t\t\thtml += `
${sectionIndividualAnswerCMS.description\r\n\t\t\t\t\t\t\t\t}
`;\r\n\r\n\t\t\t\t\t\t\tqAns.Answer = this.MapIndexToDataSet(qKey, qAns.Answer, sectionIndividualAnswerCMS.dataSet);\r\n\r\n\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t//***************************************************//\r\n\r\n\t\t\t\t\t\thtml += `
`;\r\n\r\n\t\t\t\t\t\t//Qn Texts ending with _QN are used when we dont want them going into the report but are there just to add a text the questionnaire answer record eg: BestPractices_QN\r\n\t\t\t\t\t\tif (qAns.Text.endsWith(`_QN`)) {\r\n\t\t\t\t\t\t\tqAns.Text = \"\";\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (qAns.Text == \"Role/Title\") {\r\n\t\t\t\t\t\t\thtml += `
${qAns.Detail.Group\r\n\t\t\t\t\t\t\t\t}
`;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\thtml += `
${qAns.Text == \"Yes/No\" ? \"\" : qAns.Text\r\n\t\t\t\t\t\t\t}
`;\r\n\r\n\t\t\t\t\t\tif (qAns.Text == \"Yes/No\") {\r\n\t\t\t\t\t\t\thtml += `
${qAns.Answer ? \"Yes\" : \"No\"\r\n\t\t\t\t\t\t\t\t}
`;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tlet ans = qAns.Answer\r\n\t\t\t\t\t\t\t\t? qAns.Answer.startsWith(\"http\")\r\n\t\t\t\t\t\t\t\t\t? `${qAns.Answer}`\r\n\t\t\t\t\t\t\t\t\t: qAns.Answer\r\n\t\t\t\t\t\t\t\t: \"N/A\";\r\n\r\n\t\t\t\t\t\t\t//if answer is true change it to Yes else No\r\n\t\t\t\t\t\t\tans = this._formatBooleanResponse(ans);\r\n\r\n\t\t\t\t\t\t\thtml += `
${ans}
`;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\thtml += `
`;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// for (let j = 0; j < s.Step.Questions.Questions.length; j++) {\r\n\r\n\t\t\t// \tlet q = s.Step.Questions.Questions[j];\r\n\r\n\t\t\t// \thtml += `
\r\n\t\t\t// \t
{{q.Question.Text}}
\r\n\t\t\t// \t
{{q.Question.Answer}}
\r\n\t\t\t// \t
`\r\n\r\n\t\t\t// }\r\n\r\n\t\t\thtml += `
`;\r\n\t\t}\r\n\r\n\t\treturn html;\r\n\t}\r\n\r\n\tMapIndexToDataSet(qkey: string, answer: any, dataset: any) {\r\n\t\tvar qkeys = ['stateclassification', 'edbeds', 'interestedwhy', 'level1_staffing_GEDOps_radio']\r\n\t\tif (qkeys.indexOf(qkey) > -1 && answer) {\r\n\t\t\tanswer = dataset.filter(a => a.Value == answer)[0].Key\r\n\t\t}\r\n\r\n\t\treturn answer;\r\n\t}\r\n\r\n\tGetUniqueSectionsFromCRM(qArr: IQuestionModel[]) {\r\n\t\tlet uniqueSections = [];\r\n\r\n\t\tqArr = qArr.sort(function (obj1, obj2) {\r\n\t\t\t// Ascending: first age less than the previous\r\n\t\t\treturn obj1.Question.Order - obj2.Question.Order;\r\n\t\t});\r\n\r\n\t\tfor (let i = 0; i < qArr.length; i++) {\r\n\t\t\tlet groupname = qArr[i].Question.Detail.Group;\r\n\t\t\tif (uniqueSections.indexOf(groupname) == -1) {\r\n\t\t\t\tuniqueSections.push(groupname);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn uniqueSections;\r\n\t}\r\n\r\n\tprivate _formatBooleanResponse(ans: string) {\r\n\t\tif (ans == \"true\") {\r\n\t\t\tans = \"Yes\";\r\n\t\t} else if (ans == \"false\") {\r\n\t\t\tans = \"No\";\r\n\t\t}\r\n\r\n\t\treturn ans;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/cms/cms.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { Headers, RequestOptions, Response, ResponseContentType } from '@angular/http';\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplicationModel,\r\n\tIContact, IStepModel, IQuestion, IQuestionModel, IQuestionsModel, IAWSS3, IAWSS3Model, IModel\r\n} from '../../interfaces';\r\n// classes\r\nimport { ApplicationCreateForm, ApplicationForm, ApplicationModel, ApplicationStatus } from '../../classes';\r\n// Enums\r\nimport { ApplicationStatusEnum } from '../../enums';\r\n// Services\r\n\r\nimport { LogService} from '../../services/log/log.service';\r\nimport { ServerService} from '../../services/server/server.service';\r\nimport { HelperService} from '../../services/helper/helper.service';\r\nimport { UserService} from '../../services/user/user.service';\r\nimport { StorageService} from '../../services/storage/storage.service';\r\n\r\n\r\n@Injectable()\r\nexport class FileService implements IService {\r\n\t// implements local variables\r\n\tquestions: IQuestionsModel;\r\n\r\n\t// implements IService\r\n\tname = 'FileService';\r\n\ttest(name, value) {\r\n\t\tconsole.log('testing', name, value);\r\n\t}\r\n\r\n\tconstructor(\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _userSrv: UserService,\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _helperSrv: HelperService,\r\n\t\tprivate _storageSrv: StorageService\r\n\t) { }\r\n\r\n\tget(applicationNumber: string, fileName: string, refresh = false): Promise {\r\n\t\tif (refresh) {\r\n\t\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_S3);\r\n\t\t}\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_S3);\r\n\t\tconst endPoint = this._helperSrv.ApiLocation +\r\n\t\t\t`AWS/S3/get/application/${applicationNumber}/file/${fileName}/key/${key}`;\r\n\t\treturn this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, endPoint)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, ['get file', response]);\r\n\t\t\t\t\treturn undefined;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\r\n\tupload(f: File, file: IAWSS3): Promise {\r\n\t\tlet fData = new FormData();\r\n\t\tfData.append('file', f);\r\n\r\n\r\n\t\t// let IData = new ImageData(200, 200);\r\n\t\t// IData.data = new Uint8ClampedArray(f.size);\r\n\t\t// 'Accept': 'application/json',\r\n\t\tconst h = new Headers(\r\n\t\t\t{\r\n\t\t\t\t'Authorization': this._helperSrv.Authorization,\r\n\t\t\t\t'Access-Control-Allow-Origin': '*',\r\n\t\t\t\t'x-version': '1',\r\n\t\t\t\t// 'Content-Type': file.Type ,\r\n\t\t\t\t// 'Content-Length': f.size\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\tconst options = new RequestOptions(\r\n\t\t\t{ headers: h }\r\n\t\t);\r\n\r\n\t\tconst endPoint = this._helperSrv.ApiLocation +\r\n\t\t\t`AWS/S3/Upload/application/${file.ApplicationNumber}/file/${file.Name}/ext/${file.Ext}/order/${file.Order}`;\r\n\t\tthis._logSrv.Debug(this.name, ['upload file aws s3', endPoint, fData, h, f]);\r\n\t\treturn this._serverSrv.PostWithAuth(this._userSrv.Data.contact.AcepId, endPoint, fData, options)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, ['get file', response]);\r\n\t\t\t\t\treturn undefined;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\r\n\tuploadAsync(f: any, file: IAWSS3): Promise {\r\n\t\t// let fData = new FormData();\r\n\t\t// fData.append('file', f);\r\n\r\n\t\tlet fData = {\"ApplicationHtml\" : f }\r\n\r\n\r\n\t\t// let IData = new ImageData(200, 200);\r\n\t\t// IData.data = new Uint8ClampedArray(f.size);\r\n\t\t// 'Accept': 'application/json',\r\n\t\tconst h = new Headers(\r\n\t\t\t{\r\n\t\t\t\t'Authorization': this._helperSrv.Authorization,\r\n\t\t\t\t'Access-Control-Allow-Origin': '*',\r\n\t\t\t\t'x-version': '1',\r\n\t\t\t\t'Content-Type': 'text/html',\r\n\t\t\t\t// 'Content-Length': f.size\r\n\t\t\t}\r\n\t\t);\r\n\r\n\t\tconst options = new RequestOptions(\r\n\t\t\t{ headers: h }\r\n\t\t);\r\n\r\n\t\tconst endPoint = this._helperSrv.ApiLocation +\r\n\t\t\t`AWS/S3/UploadAsync/application/${file.ApplicationNumber}/file/${file.Name}/ext/${file.Ext}/order/${file.Order}`;\r\n\t\t\r\n\t\treturn this._serverSrv.PostWithAuth(this._userSrv.Data.contact.AcepId, endPoint, fData, options)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, ['get file', response]);\r\n\t\t\t\t\treturn undefined;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\r\n\tdelete(fileModel: IAWSS3Model): Promise {\r\n\t\tlet url = fileModel.Links.find(l => l.Name === 'Delete').Href;\r\n\r\n\r\n\t\t// const indexOfDot = file.Name.lastIndexOf('.');\r\n\t\t// const ext = file.Name.substring(indexOfDot + 1);\r\n\t\t// const endPoint = this._helperSrv.ApiLocation +\r\n\t\t// `AWS/S3/delete/application/${file.ApplicationNumber}/file/${file.Name.replace('.pdf','')}/ext/${ext}`;\r\n\t\tthis._logSrv.Debug(this.name, ['delete file aws s3', url, fileModel]);\r\n\t\treturn this._serverSrv.DeleteWithAuthWithURL(this._userSrv.Data.contact.AcepId, url)\r\n\t\t\t.map(response => {\r\n\t\t\t\tconst body = response.json();\r\n\t\t\t\tconst data = body.Data;\r\n\t\t\t\treturn data;\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/file/file.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { Response } from '@angular/http';\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplicationModel, IContact, IStep, IStepModel, IStepsModel\r\n} from '../../interfaces';\r\n// classes\r\nimport { ApplicationCreateForm, ApplicationForm, ApplicationModel, ApplicationStatus } from '../../classes';\r\n// Enums\r\nimport { ApplicationStatusEnum } from '../../enums';\r\n// Services\r\n\r\nimport { LogService} from '../../services/log/log.service';\r\nimport { ServerService} from '../../services/server/server.service';\r\nimport { HelperService} from '../../services/helper/helper.service';\r\nimport { UserService} from '../../services/user/user.service';\r\nimport { StorageService} from '../../services/storage/storage.service';\r\nimport { error } from 'selenium-webdriver';\r\n\r\n\r\n\r\n\r\n@Injectable()\r\nexport class StepService implements IService {\r\n\t// implements local variables\r\n\t_step = new BehaviorSubject(undefined);\r\n\t_steps = new BehaviorSubject(undefined);\r\n\t_completed = new BehaviorSubject(false);\r\n\tOnSaveValidate$ = new EventEmitter(true);\r\n\tOnStepRefreshed$ = new EventEmitter(true);\r\n\r\n\t_data: {\r\n\t\tstep: IStepModel,\r\n\t\tsteps: IStepsModel,\r\n\t\tcompleted: boolean,\r\n\t\tapplicationId: string\r\n\t};\r\n\r\n\t// implements IService\r\n\tname = 'StepService';\r\n\ttest(name, value) {\r\n\t\tconsole.log('testing', name, value);\r\n\t}\r\n\r\n\tconstructor(\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _userSrv: UserService,\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _helperSrv: HelperService,\r\n\t\tprivate _storageSrv: StorageService\r\n\t) { }\r\n\r\n\tget STEP() {\r\n\t\treturn this._step;\r\n\t}\r\n\r\n\tset Step(value: IStepModel) {\r\n\t\tthis.DATA.step = value;\r\n\t\tthis._step.next(value);\r\n\t}\r\n\r\n\tget STEPS() {\r\n\r\n\t\treturn this._steps;\r\n\t}\r\n\r\n\tset Steps(value: IStepsModel) {\r\n\t\tthis.DATA.steps = value;\r\n\r\n\t\t'setting steps'.logWithObject(this.name, value);\r\n\t\tif (this._helperSrv.isUndefined(value)) {\r\n\t\t\tthis.Completed = false;\r\n\t\t} else {\r\n\t\t\tthis.Completed = value.Steps.every(s => s.Step.IsCompleted);\r\n\t\t}\r\n\t\tthis._steps.next(value);\r\n\t}\r\n\r\n\tget COMPLETED() {\r\n\r\n\t\treturn this._completed;\r\n\t}\r\n\r\n\tset Completed(value: boolean) {\r\n\t\tthis.DATA.completed = value;\r\n\t\tthis._completed.next(value);\r\n\t}\r\n\r\n\tget DATA() {\r\n\t\tif (this._data === undefined) {\r\n\t\t\tthis._data = {\r\n\t\t\t\tstep: undefined,\r\n\t\t\t\tsteps: undefined,\r\n\t\t\t\tcompleted: false,\r\n\t\t\t\tapplicationId: undefined\r\n\t\t\t};\r\n\t\t\treturn this._data;\r\n\t\t}\r\n\t\treturn this._data;\r\n\t}\r\n\r\n\r\n\r\n\tgetSteps(applicationid: string): Promise {\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_STEPS);\r\n\t\tconst endPoint = `${this._helperSrv.ApiLocation}step/applicationid/${applicationid}/key/${key}`;\r\n\t\treturn this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, endPoint)\r\n\t\t\t.map(response => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\tthis.Steps = data;\r\n\t\t\t\t\tthis.DATA.applicationId = applicationid;\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, ['getSteps', response, body, this.DATA.steps]);\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} catch (err) {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, ['getSteps', err]);\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\tgetStep(stepid: string): Promise {\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_STEP);\r\n\t\tconst endPoint = `${this._helperSrv.ApiLocation}step/stepid/${stepid}/key/${key}`;\r\n\t\treturn this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, endPoint)\r\n\t\t\t.map(response => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\tthis.Step = data;\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, ['getStep', response, body, this.DATA.step]);\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} catch (err) {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, ['getStep', err]);\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\trefreshSteps(): Promise {\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEP);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEPS);\r\n\t\treturn this.getSteps(this.DATA.applicationId);\r\n\t}\r\n\r\n\trefreshStep(): Promise {\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEP);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEPS);\r\n\t\treturn this.getStep(this.DATA.step.StepId);\r\n\t}\r\n\r\n\tupdateStep(): Promise {\r\n\t\tconst url = this.DATA.step.Links.find(l => l.Name === 'PutStep').Href;\r\n\r\n\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEPS);\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_STEP);\r\n\t\treturn this._serverSrv.PutWithAuthWithURL(\r\n\t\t\tthis._userSrv.Data.contact.AcepId, url, this.DATA.step.Step)\r\n\t\t\t.map(response => {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tif (response.status === 200) {\r\n\r\n\t\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\t\tthis.Step = data;\r\n\t\t\t\t\t\treturn data;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis._logSrv.Error(this.name, ['updateStep response', response]);\r\n\t\t\t\t\t\tthrow new Error(`Unable to update step ${this.DATA.step.Step.Name}`);\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (err) {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, ['updateStep error', err]);\r\n\t\t\t\t\tthrow new Error(`Unable to update step ${this.DATA.step.Step.Name}`);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/step/step.service.ts","import { Injectable, EventEmitter } from \"@angular/core\";\r\nimport { Observable, BehaviorSubject } from \"rxjs/Rx\";\r\nimport { Response } from \"@angular/http\";\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplicationModel,\r\n\tIApplicationsModel,\r\n\tIApplicationForm,\r\n\tIApplicationCreate,\r\n\tIContact,\r\n\tIAWSS3,\r\n\tIApplication,\r\n\tIReviewerModel,\r\n\tIReviewersModel,\r\n\tIAWSS3Model,\r\n\tIStepModel,\r\n\tINotify\r\n} from \"../../interfaces\";\r\n// classes\r\nimport {\r\n\tApplicationCreateForm,\r\n\tApplicationForm,\r\n\tApplicationModel,\r\n\tApplicationStatus\r\n} from \"../../classes\";\r\n// Enums\r\nimport { ApplicationStatusEnum, RoleEnum, MessageTypeEnum } from \"../../enums\";\r\n// Services\r\nimport { LogService } from \"../log/log.service\";\r\nimport { ServerService } from \"../server/server.service\";\r\nimport { HelperService } from \"../helper/helper.service\";\r\nimport { ReviewerService } from \"../reviewer/reviewer.service\";\r\nimport { UserService } from \"../user/user.service\";\r\nimport { StorageService } from \"../storage/storage.service\";\r\nimport { LoaderService } from \"../loader/loader.service\";\r\nimport { CmsService } from \"../cms/cms.service\";\r\nimport { ApplicationService } from \"../application/application.service\";\r\nimport { MessageService } from \"../message/message.service\";\r\n\r\nimport { FileService } from \"../file/file.service\";\r\nimport { StepService } from \"../step/step.service\";\r\n\r\nimport { environment } from \"../../../../environments/environment\";\r\n\r\n@Injectable()\r\nexport class ApplicationDownloadService implements IService {\r\n\t// implements IService\r\n\tname = \"ApplicationDownloadService\";\r\n\ttest(name, value) {\r\n\t\tconsole.log(\"testing\", name, value);\r\n\t}\r\n\t_isUpgradeSelected: boolean;\r\n\r\n\tdApplication: IApplication;\r\n\tdSteps: IStepModel[];\r\n\r\n\tconstructor(\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _helperSrv: HelperService,\r\n\t\tprivate _cmsSrv: CmsService,\r\n\t\tprivate _applicationSrv: ApplicationService,\r\n\t\tprivate _loaderSrv: LoaderService,\r\n\t\tprivate _msgSrv: MessageService,\r\n\t\tprivate _userSrv: UserService,\r\n\t\tprivate _storageSrv: StorageService,\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\t//CIRCULAR REFERECE ERROR BECAUSE OF THESE 2. Need to move this to share\r\n\t\tprivate _fileSrv: FileService,\r\n\t\tprivate _stepSrv: StepService\r\n\t) { }\r\n\r\n\tDownloadApplication(\r\n\t\tappModel: IApplicationModel,\r\n\t\tproceedToMain: boolean = false,\r\n\t\tzipped: boolean = true\r\n\t) {\r\n\t\tthis._helperSrv.prompt({\r\n\t\t\tmessage: this._helperSrv.DOWNLOAD,\r\n\t\t\tname: \"\",\r\n\t\t\tstack: \"\"\r\n\t\t});\r\n\r\n\t\t//let appnumber: string = appModel.Application.ApplicationNumber;\r\n\t\tlet appid: string = appModel.Application.Id;\r\n\r\n\t\tthis._storageSrv.RemoveKey(this._storageSrv.KEY_S3);\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\t// const step = this._stepSrv.DATA.step;\r\n\t\t// let oldValue = this.CONTROL.get('Answer').value;\r\n\t\t// const key = this.CONTROL.get('Key').value;\r\n\t\tconst id = this._userSrv.Data.contact.Id;\r\n\t\tconsole.clear();\r\n\t\t//Get all info abt steps and Questions\r\n\t\tconst obs_steps = Observable.fromPromise(this._stepSrv.getSteps(appid));\r\n\t\t//get all info abt the current application (this excludes steps and questions in the api)\r\n\t\tconst obs_app = this._applicationSrv.getApplication(id, appid);\r\n\t\tconst thiscomponent = this;\r\n\t\tObservable.forkJoin([obs_steps, obs_app]).subscribe(() => {\r\n\t\t\tthis.dApplication =\r\n\t\t\t\tthiscomponent._applicationSrv.DATA.application.Application;\r\n\t\t\tthis.dSteps = thiscomponent._stepSrv.DATA.steps.Steps;\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\t//Create the html and post it to S3//Method in turn makes another api call to get a list of all docs and html file and merges it together\r\n\t\t\t\tthiscomponent._CreateApplicationHTML_AndPOST(\r\n\t\t\t\t\tappModel,\r\n\t\t\t\t\tproceedToMain,\r\n\t\t\t\t\tzipped\r\n\t\t\t\t);\r\n\t\t\t}, 1500);\r\n\t\t});\r\n\t}\r\n\tprivate _CreateApplicationHTML_AndPOST(\r\n\t\tappModel: IApplicationModel,\r\n\t\tproceedToMain: boolean = false,\r\n\t\tzipped: boolean = true\r\n\t) {\r\n\t\tconst appHtml = this._cmsSrv.CreateApplicationHtml(\r\n\t\t\tthis.dApplication,\r\n\t\t\tthis.dSteps\r\n\t\t);\r\n\r\n\t\t//$('#appDetailHTML').html(); //btoa()\r\n\t\tconsole.clear();\r\n\t\t//console.log(appHtml);\r\n\t\tconst file: IAWSS3 = {\r\n\t\t\tApplicationNumber: appModel.Application.ApplicationNumber,\r\n\t\t\tName: \"ApplicationForm\",\r\n\t\t\tKey: undefined,\r\n\t\t\tLastModified: new Date().toLocaleDateString(),\r\n\t\t\tOrder: 1,\r\n\t\t\tUrl: undefined,\r\n\t\t\tType: \"text/html\",\r\n\t\t\tExt: \"html\"\r\n\t\t};\r\n\r\n\t\t// upload file to aws\r\n\t\tthis._fileSrv\r\n\t\t\t.uploadAsync(appHtml, file)\r\n\t\t\t.then(awss3 => {\r\n\t\t\t\tthis._logSrv.Debug(this.name, [\"file upload\", awss3]);\r\n\t\t\t\tif (awss3 === undefined) {\r\n\t\t\t\t\tthis._msgSrv.DisplayBothError(\r\n\t\t\t\t\t\t\"File has not been uploaded\",\r\n\t\t\t\t\t\ttrue,\r\n\t\t\t\t\t\tMessageTypeEnum.ohsnap\r\n\t\t\t\t\t);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t//GET ALLL APPLICATIONS\r\n\t\t\t\t\tthis._DownloadAppZipFile(\r\n\t\t\t\t\t\tthis._applicationSrv.DATA.application,\r\n\t\t\t\t\t\tproceedToMain,\r\n\t\t\t\t\t\tzipped,\r\n\t\t\t\t\t\tthis._isUpgradeSelected\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t\tthis._logSrv.Error(this.name, [\r\n\t\t\t\t\t\"OnUploadClick error save to aws\",\r\n\t\t\t\t\terr\r\n\t\t\t\t]);\r\n\t\t\t\tthis._msgSrv.DisplayBothError(\r\n\t\t\t\t\t\"File has not been uploaded\",\r\n\t\t\t\t\ttrue,\r\n\t\t\t\t\tMessageTypeEnum.ohsnap\r\n\t\t\t\t);\r\n\t\t\t});\r\n\t}\r\n\r\n\t//Download the merged pdf\r\n\tprivate _DownloadAppZipFile(\r\n\t\tappModel: IApplicationModel,\r\n\t\tproceedToMain: boolean = false,\r\n\t\tzipped: boolean = true,\r\n\t\tisUpgradeAndNotRenewal: boolean = true\r\n\t) {\r\n\r\n\t\tthis._logSrv.Debug(this.name, [\"downLoadFile()\"]);\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\tconst user = this._userSrv.Data.contact;\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_S3);\r\n\t\tconst headers = new Headers({\r\n\t\t\tAuthorization: this._helperSrv.Authorization,\r\n\t\t\t\"Access-Control-Allow-Origin\": \"*\",\r\n\t\t\t\"Content-Type\": \"application/pdf\",\r\n\t\t\taccept: \"application/pdf\"\r\n\t\t});\r\n\r\n\t\tlet appnumber: string = appModel.Application.ApplicationNumber;\r\n\r\n\t\tconst endPoint = `${environment.APIFullPath\r\n\t\t\t}AWS/S3/get/application/${appnumber}/key/${key}/files/${zipped}`;\r\n\r\n\t\tlet path = \"\";\r\n\r\n\t\tconst finaldoc = this._serverSrv\r\n\t\t\t.GetWithEndPoint(user.AcepId, endPoint, null)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\tpath = data.S3.Url;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._logSrv.Error(this.name, [\"get file\", response]);\r\n\t\t\t\t\treturn undefined;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise()\r\n\t\t\t.then(resp => {\r\n\t\t\t\tconst pathhere = resp.S3.Url;\r\n\r\n\t\t\t\tthis._logSrv.Debug(this.name, [\"Response\", path]);\r\n\t\t\t\tconst win = window.open(path, \"_blank\");\r\n\t\t\t\tif (!win || win.closed || win.closed === undefined) {\r\n\t\t\t\t\talert(\r\n\t\t\t\t\t\t`Please add ${environment.BaseUrl\r\n\t\t\t\t\t\t} to your browser's popup blocker exception list`\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\r\n\t\t\t\tthis._helperSrv.hidePrompt();\r\n\t\t\t\t//if procced to main is true ...go to main page...coming from upgrade level button route\r\n\t\t\t\tif (proceedToMain) {\r\n\t\t\t\t\tthis._helperSrv.goToMainWithLevel(\r\n\t\t\t\t\t\tappModel.Application.Level, isUpgradeAndNotRenewal\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.catch(err => {\r\n\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t\tthis._logSrv.Error(this.name, [\r\n\t\t\t\t\t\"error pulling app from aws\",\r\n\t\t\t\t\terr\r\n\t\t\t\t]);\r\n\t\t\t});\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/application.download/application.download.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport {\r\n Http,\r\n Response,\r\n Headers,\r\n RequestOptions,\r\n Request\r\n}\r\n from '@angular/http';\r\nimport { Observable, Subject, BehaviorSubject } from 'rxjs/Rx';\r\nimport { environment } from '../../../../environments/environment';\r\n// Interfaces\r\nimport { IService, DiscussionInterface, IApplication, IPostDisplay, IPostDisplayByUser } from '../../interfaces';\r\n\r\n// Services\r\nimport { LogService } from '../log/log.service';\r\nimport { ServerService } from '../server/server.service';\r\nimport { HelperService } from '../helper/helper.service';\r\nimport { UserService } from '../user/user.service';\r\nimport { StorageService } from '../storage/storage.service';\r\nimport { LoaderService } from '../loader/loader.service';\r\n\r\n\r\nimport { ApplicationService } from '../application/application.service';\r\n// Enum\r\nimport { DiscussionEnum, RoleEnum } from '../../enums';\r\n// Models\r\nimport { CRMDiscussion as _CRM } from '../../classes';\r\n// Classes\r\nimport { KeyedCollection } from '../../classes';\r\n\r\n@Injectable()\r\nexport class DiscussionService implements IService {\r\n // implements IService\r\n name = 'DiscussionService';\r\n test(name, value) {\r\n console.log('testing', name, value);\r\n }\r\n\r\n // implements local variables\r\n showOnlyAppHistory: boolean = false;\r\n private _lastPostFilter: IPostDisplay;\r\n private _lastPostDisplayByUser: IPostDisplayByUser;\r\n private _posts: BehaviorSubject<_CRM.Post[]> = new BehaviorSubject([]);\r\n private _discussion: BehaviorSubject<_CRM.CRMDiscussionModel> = new BehaviorSubject(undefined);\r\n private _discussions: BehaviorSubject<_CRM.CRMDiscussionModel[]> = new BehaviorSubject(undefined);\r\n\r\n private _crm_dataStore: {\r\n url: string,\r\n posts: _CRM.Post[],\r\n discussions: _CRM.CRMDiscussionModel[],\r\n asApplicant: boolean;\r\n isChecked: IPostDisplay;\r\n isCheckedUser: IPostDisplayByUser;\r\n };\r\n // public LegendSelected$ = new EventEmitter<{ comment: boolean, update: boolean, status: boolean }>(true);\r\n\r\n public LegendSelected$ = new EventEmitter<{\r\n Applicant: boolean,\r\n QC: boolean,\r\n Site: boolean,\r\n Panel: boolean,\r\n Board: boolean\r\n }>(true);\r\n\r\n constructor(\r\n\r\n private _logSrv: LogService,\r\n private _userSrv: UserService,\r\n private _serverSrv: ServerService,\r\n private _helperSrv: HelperService,\r\n private _storageSrv: StorageService,\r\n private _loaderSrv: LoaderService,\r\n\r\n private _applicationSrv: ApplicationService,\r\n private _sanitizer: DomSanitizer,\r\n\r\n ) { }\r\n\r\n get Crm_DataStore() {\r\n return this._crm_dataStore;\r\n }\r\n\r\n get POSTS() {\r\n return this._posts.asObservable();\r\n }\r\n\r\n set Posts(value: _CRM.Post[]) {\r\n \"Updating posts\".logWithObject(this.name, value);\r\n this._posts.next(value);\r\n }\r\n\r\n get DISCUSSION() {\r\n return this._discussion.asObservable();\r\n }\r\n\r\n set Discussion(model: _CRM.CRMDiscussionModel) {\r\n this._discussion.next(model);\r\n }\r\n\r\n get DISCUSSIONS() {\r\n return this._discussions.asObservable();\r\n }\r\n\r\n set Discussions(models: _CRM.CRMDiscussionModel[]) {\r\n this._discussions.next(models);\r\n }\r\n\r\n get Discussions() {\r\n return this._crm_dataStore.discussions;\r\n }\r\n\r\n get Comments() {\r\n console.log('COMMENTS', this._crm_dataStore);\r\n return this._crm_dataStore.discussions.find(d => d.Type === DiscussionEnum.Type[DiscussionEnum.Type.Comment]);\r\n }\r\n\r\n get Documents() {\r\n console.log('DOCUMENTS', this._crm_dataStore);\r\n return this._crm_dataStore.discussions.find(d => d.Type === DiscussionEnum.Type.Document);\r\n }\r\n\r\n get Statues() {\r\n console.log('STATUSES', this._crm_dataStore);\r\n return this._crm_dataStore.discussions.find(d => d.Type === DiscussionEnum.Type.Status);\r\n }\r\n\r\n /**\r\n * Create Comment Discussion\r\n * External\r\n * */\r\n CreateComment(\r\n applicationId: string,\r\n applicationNumber: string,\r\n contactId: string,\r\n comment: string,\r\n notify?: DiscussionInterface.INotify): DiscussionInterface.IDiscussion {\r\n if (!notify) {\r\n notify = {\r\n Acep: true,\r\n Applicant: true,\r\n Board: true,\r\n Panel: true,\r\n Site: true\r\n };\r\n }\r\n let d = this.CreateDiscussion(\r\n applicationId,\r\n applicationNumber,\r\n contactId,\r\n comment,\r\n DiscussionEnum.Location.External,\r\n DiscussionEnum.Type.Comment,\r\n notify);\r\n return d;\r\n }\r\n\r\n /**\r\n * Create Document Discussion\r\n * Internal\r\n */\r\n CreateDocument(\r\n applicationId: string,\r\n applicationNumber: string,\r\n contactId: string,\r\n comment: string,\r\n notify?: DiscussionInterface.INotify): DiscussionInterface.IDiscussion {\r\n let d = this.CreateDiscussion(\r\n applicationId,\r\n applicationNumber,\r\n contactId,\r\n comment,\r\n DiscussionEnum.Location.Internal,\r\n DiscussionEnum.Type.Document,\r\n notify);\r\n return d;\r\n }\r\n\r\n /**\r\n * Create Status Discussion\r\n * External\r\n */\r\n CreateStatus(\r\n applicationId: string,\r\n applicationNumber: string,\r\n contactId: string,\r\n comment: string,\r\n notify?: DiscussionInterface.INotify): DiscussionInterface.IDiscussion {\r\n let d = this.CreateDiscussion(\r\n applicationId,\r\n applicationNumber,\r\n contactId,\r\n comment,\r\n DiscussionEnum.Location.External,\r\n DiscussionEnum.Type.Status,\r\n notify);\r\n return d;\r\n }\r\n\r\n /**\r\n * Create an IDiscussion\r\n * @param applicationId \r\n * @param applicationNumber \r\n * @param contactId \r\n * @param comment \r\n * @param location \r\n * @param type \r\n * @param notify \r\n */\r\n CreateDiscussion(\r\n applicationId: string,\r\n applicationNumber: string,\r\n contactId: string,\r\n comment: string,\r\n location: DiscussionEnum.Location,\r\n type: DiscussionEnum.Type,\r\n notify?: DiscussionInterface.INotify): DiscussionInterface.IDiscussion {\r\n let d: DiscussionInterface.IDiscussion = {\r\n applicationId: applicationId,\r\n applicationNumber: applicationNumber,\r\n comment: comment,\r\n contactId: contactId,\r\n location: location,\r\n notify: notify || {\r\n Acep: false,\r\n Applicant: false,\r\n Panel: false,\r\n Board: false,\r\n Site: false,\r\n },\r\n title: this._applicationSrv.DATA.application.Application.Name,\r\n type: type\r\n };\r\n return d;\r\n }\r\n\r\n private _updateDiscussion(model: any)\r\n : Promise {\r\n return new Promise((resolved, failed) => {\r\n // this._logSrv.Debug(this.name, ['_updateDiscussion', model]);\r\n let type = model.Type;\r\n let crmDiscussion = this._crm_dataStore.discussions.find(m => m.Type === type);\r\n let index = this._crm_dataStore.discussions.indexOf(crmDiscussion);\r\n\r\n // Replace the store discussion model\r\n this._crm_dataStore.discussions[index] = model;\r\n this._logSrv.Debug(\r\n this.name,\r\n ['_updateDiscussion', { type: type, model: model, crmDiscussion: this._crm_dataStore.discussions.find(m => m.Type === type) }]);\r\n this._loadDiscussion(model, crmDiscussion);\r\n this._sortAndFilterPosts();\r\n this.filter();\r\n resolved(true);\r\n });\r\n }\r\n\r\n private _loadDiscussion(model: any, crmDiscussion: _CRM.CRMDiscussionModel): Promise {\r\n return new Promise((resolve, fail) => {\r\n this._logSrv.Debug(this.name, ['loading discussion', model, crmDiscussion]);\r\n // get Discussion\r\n let d = model.Discussion;\r\n\r\n // this._logSrv.Debug(this.name, ['load discussions d', d]);\r\n\r\n // let disc = this._crm_dataStore.discussions[count];\r\n\r\n crmDiscussion.Attributes = new KeyedCollection();\r\n crmDiscussion.LogicalName = d.LogicalName;\r\n // this._logSrv.Debug(this.name, ['load discussions disc', disc]);\r\n\r\n // get Attributes\r\n d.Attributes.forEach(a => {\r\n crmDiscussion.Attributes.Add(a.Key, a.Value);\r\n });\r\n\r\n // get acep_type\r\n crmDiscussion.Acep_Type =\r\n crmDiscussion.Attributes.Item('acep_type').Value;\r\n\r\n // get Posts\r\n model.Posts.forEach(p => {\r\n let post = this._parsePost(\r\n p.posting, crmDiscussion.Acep_Type);\r\n\r\n // if post is not undefined \r\n // add to post collection \r\n if (post) {\r\n post.RoleEnum = p.position;\r\n crmDiscussion.Posts.push(post); // add posts to discussion object\r\n this._crm_dataStore.posts.push(post); // add posts to Posts object\r\n }\r\n });\r\n });\r\n }\r\n\r\n\r\n private _loadDiscussions(disx: any, isApplicant: boolean): Promise<{\r\n discussions: _CRM.CRMDiscussionModel[],\r\n posts: _CRM.Post[]\r\n }> {\r\n return new Promise((resolved, failed) => {\r\n try {\r\n // this._logSrv.Debug(this.name, ['loading discussions disx', disx]);\r\n let count = 0;\r\n this._crm_dataStore = {\r\n url: disx.url,\r\n discussions: disx.discussions,\r\n posts: [],\r\n asApplicant: isApplicant,\r\n isChecked: {\r\n comment: false,\r\n status: false,\r\n update: false\r\n },\r\n isCheckedUser:\r\n {\r\n Applicant: true,\r\n QC: true,\r\n Panel: true,\r\n Site: true,\r\n Board: true\r\n }\r\n };\r\n\r\n this._logSrv.Debug(this.name, ['loading datastore', this._crm_dataStore]);\r\n >disx.discussions.forEach(model => {\r\n // this._logSrv.Debug(this.name, ['load discussions x', x]); \r\n // this._logSrv.Debug(this.name, ['load discussions d', d]);\r\n\r\n let crmDiscussion = this._crm_dataStore.discussions[count];\r\n\r\n this._loadDiscussion(model, crmDiscussion).then(result => {\r\n count++;\r\n });\r\n });\r\n\r\n // let crmPosts: _CRM.Post[];\r\n\r\n // sort posts\r\n //crmPosts = \r\n this._sortAndFilterPosts();\r\n // this._logSrv.Debug(this.name, ['posts', crmPosts]);\r\n\r\n // filter posts\r\n let filters = this._storageSrv.GetSessionObject(this._storageSrv.KEY_DISCUSSION_LEGENDS);\r\n //this._storageSrv.getSession(this._storageSrv.KEY_DISCUSSION_LEGENDS);\r\n if (!filters) {\r\n filters = { comment: true, update: false, status: false };\r\n\r\n this._storageSrv.setSession(this._storageSrv.KEY_DISCUSSION_LEGENDS, filters);\r\n\r\n }\r\n\r\n let filtersUser = this._storageSrv.GetSessionObject(this._storageSrv.KEY_DISCUSSION_LEGENDSUSER);\r\n if (!filtersUser) {\r\n filtersUser = {\r\n Applicant: true,\r\n QC: true,\r\n Panel: true,\r\n Site: true,\r\n Board: true\r\n };\r\n\r\n this._storageSrv.setSession(this._storageSrv.KEY_DISCUSSION_LEGENDSUSER, filtersUser);\r\n this.LegendSelected$.emit(filtersUser);\r\n }\r\n\r\n this.filter(filters, filtersUser);\r\n //this._logSrv.Debug(this.name, [filters, this._crm_dataStore]);\r\n\r\n resolved({ discussions: this._crm_dataStore.discussions, posts: this._crm_dataStore.posts });\r\n } catch (err) {\r\n failed(err);\r\n }\r\n });\r\n\r\n // END PROMISE\r\n }\r\n\r\n private _sortAndFilterPosts(): _CRM.Post[] {\r\n this._crm_dataStore.posts.sort((p1, p2) => {\r\n if (p1.CreatedOn < p2.CreatedOn) {\r\n return 1;\r\n } else if (p1.CreatedOn === p2.CreatedOn) {\r\n return 0;\r\n } else {\r\n return -1;\r\n }\r\n });\r\n\r\n if (this._crm_dataStore.asApplicant) {\r\n this._crm_dataStore.posts = this._crm_dataStore.posts.filter(p => p.Location !== DiscussionEnum.Location);\r\n };\r\n return this._crm_dataStore.posts;\r\n }\r\n\r\n /**\r\n * Parses entity attributes to post object\r\n * if no comment found, returns undefined\r\n * @param e \r\n * @param acep_type \r\n */\r\n private _parsePost(e: any, acep_type: string) {\r\n let post = new _CRM.Post();\r\n post.Attributes = new KeyedCollection();\r\n e.Attributes.forEach(x => {\r\n post.Attributes.Add(x.Key, x.Value);\r\n });\r\n let value = post.Attributes.Item('acep_comments');\r\n if (value === undefined) {\r\n return undefined;\r\n } else {\r\n post.LogicalName = e.LogicalName;\r\n post.Audience = post.Attributes.Item('acep_audience').Value;\r\n post.Acep_Type = acep_type;\r\n post.Name = post.Attributes.Item('acep_contact');\r\n post.CreatedOn = new Date(post.Attributes.Item('createdon'));\r\n post.Body = this._sanitizer.bypassSecurityTrustHtml(post.Attributes.Item('acep_comments'));\r\n return post;\r\n }\r\n }\r\n\r\n filter(isChecked?: IPostDisplay, isCheckedUser?: IPostDisplayByUser): _CRM.Post[] {\r\n if (isChecked) {\r\n this._lastPostFilter = isChecked;\r\n } else if (this._lastPostFilter) {\r\n isChecked = this._lastPostFilter;\r\n } else {\r\n isChecked = {\r\n comment: true,\r\n status: false,\r\n update: false\r\n };\r\n }\r\n\r\n\r\n if (isCheckedUser) {\r\n this._lastPostDisplayByUser = isCheckedUser;\r\n } else if (this._lastPostDisplayByUser) {\r\n isCheckedUser = this._lastPostDisplayByUser;\r\n } else {\r\n isCheckedUser = {\r\n Applicant: true,\r\n QC: true,\r\n Panel: true,\r\n Site: true,\r\n Board: true\r\n };\r\n }\r\n\r\n\r\n this._crm_dataStore.isChecked = isChecked;\r\n this._crm_dataStore.isCheckedUser = isCheckedUser;\r\n\r\n let posts: _CRM.Post[];\r\n let discussionTypes: string[] = [];\r\n let type: string;\r\n if (isChecked.comment) { discussionTypes.push(DiscussionEnum.Type.Comment.toFixed()); type = 'Comment' }\r\n if (isChecked.update) { discussionTypes.push(DiscussionEnum.Type.Document.toFixed()); type = 'Document' }\r\n if (isChecked.status) { discussionTypes.push(DiscussionEnum.Type.Status.toFixed()); type = 'Status' }\r\n\r\n\r\n if (discussionTypes.length > 0) {\r\n posts = this._crm_dataStore.posts.filter(p => discussionTypes.some(i => i === String(p.Acep_Type).trim()));\r\n\r\n //Filter by roles only if comments tab - and NOT History Tab\r\n if (!this.showOnlyAppHistory) {\r\n\r\n let allowedRoles = [];\r\n if (isCheckedUser.Applicant) {\r\n allowedRoles.push(RoleEnum.Applicant);\r\n }\r\n if (isCheckedUser.QC) {\r\n allowedRoles.push(RoleEnum.QC);\r\n }\r\n if (isCheckedUser.Panel) {\r\n allowedRoles.push(RoleEnum.Panel);\r\n }\r\n if (isCheckedUser.Site) {\r\n allowedRoles.push(RoleEnum.Site);\r\n }\r\n if (isCheckedUser.Board) {\r\n allowedRoles.push(RoleEnum.Board);\r\n }\r\n\r\n posts = posts.filter(p => allowedRoles.indexOf(+p.RoleEnum) > -1);\r\n }\r\n // if we are selecting only one discussion type and not all\r\n // set Discussion observable to that discussion model\r\n // else set it to undefined\r\n let crmDiscussion = this._crm_dataStore.discussions.find(m => m.Type === type);\r\n if (crmDiscussion) {\r\n this.Discussion = crmDiscussion;\r\n } else {\r\n this.Discussion = undefined;\r\n }\r\n } else {\r\n this.Discussion = undefined;\r\n }\r\n\r\n\r\n this._logSrv.Debug(this.name, ['filter', isChecked, discussionTypes, posts, type, this._crm_dataStore]);\r\n this.Discussions = this._crm_dataStore.discussions;\r\n this.Posts = posts;\r\n return posts;\r\n }\r\n\r\n page(url: string, isChecked: IPostDisplay, ) {\r\n // get posts\r\n\r\n }\r\n\r\n add(\r\n endPoint: string\r\n ): Observable {\r\n this._logSrv.Debug(\r\n this.name, ['update Discussion store ', this._crm_dataStore]);\r\n\r\n //var isChecked = this._crm_dataStore.isChecked\r\n\r\n return this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, endPoint)\r\n .map(m => m.json())\r\n .do(model => {\r\n // `getting discussion ${isChecked}`.logWithObject(this.name, model);\r\n this._updateDiscussion(model.Data.discussions[0]);\r\n })\r\n .catch(this.handleError);\r\n }\r\n\r\n get(\r\n applicaitonid: string,\r\n audience: DiscussionEnum.Location,\r\n isApplicant: boolean): Observable {\r\n this._logSrv.Debug(\r\n this.name, ['post', 'Discussion:', applicaitonid]);\r\n\r\n if (isApplicant) {\r\n audience = DiscussionEnum.Location.External;\r\n }\r\n\r\n let endPoint =\r\n environment.APILocation + 'discussion/applicationid/' + applicaitonid + '/audience/' + audience.toFixed() + '/page/1';\r\n\r\n return this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, endPoint)\r\n .map(m => m.json())\r\n .do(model => {\r\n 'getting discussions'.logWithObject(this.name, model);\r\n this._loadDiscussions(\r\n model.Data, isApplicant)\r\n .then(dis => {\r\n this._logSrv.Debug(this.name, ['discussions are loaded ']);\r\n }, failed => {\r\n this._logSrv.Error(this.name, ['Unable to load discussion posts', failed]);\r\n });\r\n });\r\n // .catch(this.handleError);\r\n }\r\n\r\n post(\r\n discussion: DiscussionInterface.IDiscussion,\r\n isApplicant: boolean,\r\n update?: boolean,\r\n external?: boolean\r\n ): Observable {\r\n this._logSrv.Debug(\r\n this.name, ['post', 'Discussion:', discussion]);\r\n\r\n let body = {\r\n applicationId: discussion.applicationId,\r\n applicationNumber: discussion.applicationNumber,\r\n contactId: discussion.contactId,\r\n title: discussion.title,\r\n comment: discussion.comment,\r\n notify: discussion.notify,\r\n acep_type: discussion.type,\r\n location: discussion.location\r\n };\r\n\r\n let endPoint =\r\n environment.APILocation + 'discussion';\r\n\r\n return this._serverSrv.PostWithAuth(this._userSrv.Data.contact.AcepId, endPoint, body)\r\n //.map(m => JSON.parse(m.json()))\r\n .do(data => {\r\n // console.log('JSON', data, discussion.type);\r\n\r\n if (update === true) {\r\n // push it to local datastore\r\n if (this._crm_dataStore && this._crm_dataStore.posts) {\r\n // let x = this._parsePost(data, discussion.type.toFixed());\r\n let location =\r\n external\r\n ? DiscussionEnum.Location.External\r\n : DiscussionEnum.Location.Internal;\r\n\r\n // create\r\n this.get(\r\n discussion.applicationId,\r\n location,\r\n isApplicant).subscribe(disx => {\r\n // this._loadDiscussions(disx, isApplicant);\r\n });\r\n\r\n // let comments = this.Comments;\r\n // if (!comments) {\r\n // if (external) {\r\n // // create\r\n // this.get(\r\n // discussion.applicationId, \r\n // location,\r\n // isApplicant).subscribe(disx => {\r\n // this._loadDiscussions(disx, isApplicant);\r\n // });\r\n // }\r\n // } else {\r\n // comments.Posts.push(x);\r\n // this._crm_dataStore.posts.push(x);\r\n // this._sortAndFilterPosts();\r\n // this.filter(undefined);\r\n // setTimeout(() => {\r\n // this._posts.next(Object.assign({}, this._crm_dataStore).posts);\r\n // }, 1000);\r\n // 'post discussion'.logWithObject(this.name, x);\r\n // }\r\n }\r\n }\r\n });\r\n // .catch(this.handleError);\r\n }\r\n\r\n private handleError(error: Response, caugth: Observable) {\r\n // console.log(error.json());\r\n // this.log.Error(this.pageName, [error.json()]);\r\n\r\n // console.log(caugth);\r\n return Observable.throw(error);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/discussion/discussion.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { RequestOptions, Headers, Response } from '@angular/http';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n// Services\r\nimport { LogService } from '../log/log.service';\r\nimport { ServerService } from '../server/server.service';\r\nimport { HelperService } from '../helper/helper.service';\r\nimport { UserService } from '../user/user.service';\r\nimport { StorageService } from '../storage/storage.service';\r\nimport { LoaderService } from '../loader/loader.service';\r\nimport { DiscussionService } from '../discussion/discussion.service';\r\nimport { ApplicationService } from '../application/application.service';\r\n// Interfaces\r\nimport {\r\n IService, ICastVote, IApplication, IVote, IApplicationModel\r\n} from '../../interfaces';\r\n\r\n// Enums\r\nimport { VoteEnum, DiscussionEnum } from '../../enums';\r\n@Injectable()\r\nexport class VoteService implements IService {\r\n // implements IService\r\n name = 'VoteService';\r\n test(name, value) {\r\n console.log('testing', name, value);\r\n }\r\n\r\n\r\n // implements local variables\r\n private _votes: BehaviorSubject = new BehaviorSubject(undefined);\r\n\r\n private _dataStore: {\r\n Votes: IVote[],\r\n Vote: IVote\r\n };\r\n\r\n constructor(\r\n\r\n private _logSrv: LogService,\r\n private _userSrv: UserService,\r\n private _serverSrv: ServerService,\r\n private _helperSrv: HelperService,\r\n private _storageSrv: StorageService,\r\n private _loaderSrv: LoaderService,\r\n\r\n private _applicationSrv: ApplicationService,\r\n\r\n\r\n private _discussionSrv: DiscussionService,\r\n\r\n ) {\r\n this._dataStore = {\r\n Votes: undefined,\r\n Vote: undefined\r\n };\r\n }\r\n\r\n get DataStore() {\r\n return this._dataStore;\r\n }\r\n\r\n get VOTES() {\r\n return this._votes.asObservable();\r\n }\r\n\r\n set Votes(votes: IVote[]) {\r\n if (votes) {\r\n votes.forEach(v => {\r\n v.Vote = VoteEnum.Convert.getEnum(v.VoteResult);\r\n });\r\n }\r\n this._dataStore.Votes = votes;\r\n if (!this._userSrv.Data.contact) {\r\n throw new ReferenceError(\r\n `Cannot set user's vote when _memberService.sso is undefined`);\r\n }\r\n if (votes) {\r\n this._dataStore.Vote = votes.find(v => v.ContactId.toUpperCase() === this._userSrv.Data.contact.Id.toUpperCase());\r\n this._logSrv.Debug(this.name, ['user vote is ', this._dataStore.Vote, votes]);\r\n if (!this._dataStore.Vote) {\r\n this._dataStore.Vote = {\r\n ContactId: this._userSrv.Data.contact.Id,\r\n DateOfVote: new Date(Date.now()),\r\n PanelMember: this._userSrv.Data.contact.FullName,\r\n PanelMemberNumber: 0,\r\n Vote: VoteEnum.Type.Not_Voted,\r\n VoteId: ''.EmptyGuid(),\r\n VoteResult: 'Not Voted',\r\n acep_applicationnumber: '',\r\n acep_applicationId: ''.EmptyGuid(),\r\n SiteReview: false\r\n };\r\n }\r\n } else {\r\n this._dataStore = {\r\n Votes: undefined,\r\n Vote: undefined\r\n };\r\n }\r\n\r\n this._votes.next(votes);\r\n }\r\n\r\n get = (applicationId: string) => {\r\n this._logSrv.Debug(\r\n this.name,\r\n ['get votes for ', applicationId]);\r\n\r\n let endPoint = environment.APILocation +\r\n 'vote/' + applicationId;\r\n\r\n return this._serverSrv.GetWithAuth(this._userSrv.Data.contact.AcepId, endPoint)\r\n .map(m => m.json())\r\n .do(data => {\r\n this.Votes = data ? JSON.parse(data) : undefined;\r\n this._logSrv.Debug(this.name, ['_votes ', JSON.parse(data)]);\r\n })\r\n .retry(2);\r\n // .catch(this.handleError);\r\n\r\n }\r\n\r\n post = (vote: ICastVote) => {\r\n this._logSrv.Debug(\r\n this.name,\r\n ['post vote for ', vote]);\r\n\r\n\r\n let endPoint = environment.APILocation + 'vote';\r\n let currentAppStatus = vote.Application.Status;\r\n\r\n return this._serverSrv.PostWithAuth(this._userSrv.Data.contact.AcepId, endPoint, vote)\r\n .map(m => m.json())\r\n .do(data => {\r\n let obj = data ? JSON.parse(data) : undefined;\r\n this._logSrv.Debug(this.name, ['_votes ', obj]);\r\n let returnedApp = obj.Item1.Application;\r\n // if app status has changed, update the application\r\n if (returnedApp.Status !== currentAppStatus) {\r\n\r\n //CHECK THIS PART AGAINST CUAP - MB \r\n 'Updating application'.logWithObject(this.name, returnedApp);\r\n this._applicationSrv.ApplicationModel.Application = returnedApp;\r\n }\r\n let returnedVotes = obj.Item2;\r\n 'Updating votes'.logWithObject(this.name, returnedVotes);\r\n this.Votes = returnedVotes;\r\n this._discussionSrv.get(\r\n vote.Application.Id,\r\n DiscussionEnum.Location.Internal,\r\n false).subscribe();\r\n })\r\n .retry(2);\r\n // .catch(this.handleError);\r\n }\r\n\r\n\r\n recastVotes() {\r\n\r\n this._loaderSrv.SetLoading(this.name, true);\r\n\r\n let endPoint = environment.APILocation + 'vote/recast';\r\n let payload = {\r\n applicationId: this._applicationSrv.DATA.application.Application.Id,\r\n contactId: this._userSrv.Data.contact.Id\r\n }\r\n\r\n return this._serverSrv.PostWithAuth(this._userSrv.Data.contact.AcepId, endPoint, payload)\r\n .map(m => m.json())\r\n .do(data => {\r\n\r\n this._storageSrv.RemoveKey(this._storageSrv.KEY_APPLICATION);\r\n this._applicationSrv\r\n .getApplication(\r\n this._userSrv.Data.contact.Id,\r\n String(payload.applicationId)\r\n ).subscribe(\r\n data => {\r\n // let obj = data; //data ? JSON.parse(data) : undefined;\r\n // let returnedApp = obj.Application;\r\n // this._applicationSrv.APPLICATIONMODEL.next(obj);\r\n this._loaderSrv.SetLoading(this.name, false);\r\n }\r\n\r\n );\r\n })\r\n .retry(2);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/vote/vote.service.ts","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { Response } from '@angular/http';\r\n// Interfaces\r\nimport {\r\n\tIService,\r\n\tIApplicationModel, IContact, IStepModel, IQuestion, IQuestionModel, IQuestionsModel, IAWSS3Model, IAWSS3\r\n} from '../../interfaces';\r\n// classes\r\nimport { ApplicationCreateForm, ApplicationForm, ApplicationModel, ApplicationStatus } from '../../classes';\r\n// Enums\r\nimport { ApplicationStatusEnum } from '../../enums';\r\n// Services\r\n\r\nimport { LogService} from '../../services/log/log.service';\r\nimport { ServerService} from '../../services/server/server.service';\r\nimport { HelperService} from '../../services/helper/helper.service';\r\nimport { UserService} from '../../services/user/user.service';\r\nimport { StorageService} from '../../services/storage/storage.service';\r\n\r\n@Injectable()\r\nexport class QuestionService implements IService {\r\n\t// implements local variables\r\n\t_questions = new BehaviorSubject(undefined);\r\n\t_data: {\r\n\t\tQuestions: IQuestionsModel\r\n\t};\r\n\r\n\t// implements IService\r\n\tname = 'QuestionService';\r\n\ttest(name, value) {\r\n\t\tconsole.log('testing', name, value);\r\n\t}\r\n\r\n\tconstructor(\r\n\t\tprivate _logSrv: LogService,\r\n\t\tprivate _userSrv: UserService,\r\n\t\tprivate _serverSrv: ServerService,\r\n\t\tprivate _helperSrv: HelperService,\r\n\t\tprivate _storageSrv: StorageService\r\n\t) { }\r\n\r\n\r\n\tget QUESTIONS() {\r\n\t\treturn this._questions;\r\n\t}\r\n\r\n\tset Questions(value: IQuestionsModel) {\r\n\r\n\t\tthis._questions.next(value);\r\n\t}\r\n\r\n\tGet(stepid: string): Promise {\r\n\t\tconst key = this._storageSrv.GetKey(this._storageSrv.KEY_STEP);\r\n\t\tconst endPoint = `${this._helperSrv.ApiLocation}question/stepid/${stepid}/key/${key}`;\r\n\t\tthis._logSrv.Debug(this.name, ['Post', { endPoint: endPoint, Step: stepid }]);\r\n\t\treturn this._serverSrv.GetWithAuth(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\tendPoint)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, ['Get', data]);\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\r\n\tGetByQuestionkey(questionkey: string, applicationid: string): Promise {\r\n\t\t\r\n\t\tconst endPoint = `${this._helperSrv.ApiLocation}question/questionkey/${questionkey}/applicationid/${applicationid}`;\r\n\t\t\r\n\t\treturn this._serverSrv.GetWithAuth(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\tendPoint)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, ['Get', data]);\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\t/**\r\n\t * Adds a question\r\n\t * @param Question question object\r\n\t * @param stepid guid step id\r\n\t */\r\n\tPost(Question: IQuestion): Promise {\r\n\t\tconst url = `${this._helperSrv.ApiLocation}question/add/stepid/${Question.StepId}`;\r\n\t\tthis._logSrv.Debug(this.name, ['Post save', { url: url, Question: Question }]);\r\n\t\treturn this._serverSrv.PostWithAuth(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\turl,\r\n\t\t\tQuestion)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\t/**\r\n\t * Updates a question\r\n\t * @param url endpoint\r\n\t * @param Question question object\r\n\t */\r\n\tPut(url: string, Question: IQuestion): Promise {\r\n\t\tthis._logSrv.Debug(this.name, ['Post', { url: url, Question: Question }]);\r\n\t\treturn this._serverSrv.PutWithAuthWithURL(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\turl,\r\n\t\t\tQuestion)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\t/**\r\n\t * adds questions and completes step\r\n\t * @param url endpoint\r\n\t * @param Questions question array\r\n\t */\r\n\tPostQuestions(url: string, Questions: IQuestion[]): Promise {\r\n\t\tthis._logSrv.Debug(this.name, ['Post', { url: url, Questions: Questions }]);\r\n\t\treturn this._serverSrv.PostWithAuthWithURL(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\turl,\r\n\t\t\tQuestions)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\t/**\r\n\t * updates questions and completes step\r\n\t * @param url endpoint\r\n\t * @param Questions question array\r\n\t */\r\n\tPutQuestions(url: string, Questions: IQuestion[]): Promise {\r\n\t\tthis._logSrv.Debug(this.name, ['Put', { url: url, Questions: Questions }]);\r\n\t\treturn this._serverSrv.PutWithAuthWithURL(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\turl,\r\n\t\t\tQuestions)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tconst body = response.json();\r\n\t\t\t\t\tconst data = body.Data;\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\r\n\tDelete(url: string, id: string): Promise {\r\n\t\t// const endPoint = `${this._helperSrv.ApiLocation}question`;\r\n\t\tthis._logSrv.Debug(this.name, ['Delete question', { endpoint: url, Questions: id }]);\r\n\t\treturn this._serverSrv.DeleteWithAuthWithURL(\r\n\t\t\tthis._userSrv.Data.contact.AcepId,\r\n\t\t\turl)\r\n\t\t\t.map(response => {\r\n\t\t\t\tif (response.status === 200) {\r\n\t\t\t\t\tthis._logSrv.Debug(this.name, ['Delete question', response]);\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthrow new Error(response.statusText);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t.toPromise();\r\n\t}\r\n\r\n\tGetFriendlyName(from: string)\r\n\t{\r\n\t\tlet to: string = '';\r\n\t\tif(from.indexOf('guideline') > -1)\r\n\t\t{\r\n to = from.replace('guideline','Criteria_Access');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('delirium') > -1)\r\n\t\t{\r\n to = from.replace('delirium','Delirium_Screen');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('dementia') > -1)\r\n\t\t{\r\n to = from.replace('dementia','Dementia_Screen');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('function') > -1)\r\n\t\t{\r\n to = from.replace('function','Functional_Decline');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('protocol') > -1)\r\n\t\t{\r\n to = from.replace('protocol','Fall_Assess');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('identification') > -1)\r\n\t\t{\r\n to = from.replace('identification','ID_Elder_Abuse');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('medication') > -1)\r\n\t\t{\r\n to = from.replace('medication','Med_Reconcile');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('inappropriatemedication') > -1)\r\n\t\t{\r\n to = from.replace('inappropriatemedication','Inappropriate_Meds');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('pain') > -1)\r\n\t\t{\r\n to = from.replace('pain','Pain_Protocol');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('palliative') > -1)\r\n\t\t{\r\n to = from.replace('palliative','Access_Palliative_Care');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('Geriatric') > -1)\r\n\t\t{\r\n to = from.replace('Geriatric','Psych_Consult');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('implementationGeriatric') > -1)\r\n\t\t{\r\n to = from.replace('implementationGeriatric','3_Order_Sets');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('urinarycatheter') > -1)\r\n\t\t{\r\n to = from.replace('urinarycatheter','Urinary_Cath');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('NPOdesignation') > -1)\r\n\t\t{\r\n to = from.replace('NPOdesignation','Minimize_NPO');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('promotemobility') > -1)\r\n\t\t{\r\n to = from.replace('promotemobility','Promote_Mobility');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('volunteerengagement') > -1)\r\n\t\t{\r\n to = from.replace('volunteerengagement','Volunteer_Engage');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('dischargeprotocol') > -1)\r\n\t\t{\r\n to = from.replace('dischargeprotocol','Discharge_Home');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('PCPnotification') > -1)\r\n\t\t{\r\n to = from.replace('PCPnotification','PCP_Notification');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('residentialcare') > -1)\r\n\t\t{\r\n to = from.replace('residentialcare','TOC_Residential');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('physicalrestraints') > -1)\r\n\t\t{\r\n to = from.replace('physicalrestraints','Restraints');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('geriatricspecific') > -1)\r\n\t\t{\r\n to = from.replace('geriatricspecific','Followup_Clinics');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('post­discharge') > -1)\r\n\t\t{\r\n to = from.replace('post­discharge','Post_Discharge');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('transportation') > -1)\r\n\t\t{\r\n to = from.replace('transportation','Transport_Residence');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('long­termrehabilitation') > -1)\r\n\t\t{\r\n to = from.replace('long­termrehabilitation','Access_Rehab');\r\n\t\t}\r\n\r\n\t\telse if(from.indexOf('outreachprogram') > -1)\r\n\t\t{\r\n to = from.replace('outreachprogram','Outreach');\r\n\t\t}\r\n\r\n\r\n\t\telse if(from.indexOf('activerelationship') > -1)\r\n\t\t{\r\n to = from.replace('activerelationship','Paramedicine');\r\n\t\t}\r\n\r\n\t\tto = to.replace('level1_Policies','Level_1_Policy').replace('level1_Quality','Level_1_Quality');\r\n\r\n\t\tto = to.replace('level2_Policies','Level_2_Policy').replace('level2_Quality','Level_2_Quality');\r\n\r\n\r\n\t\tif (to == '')\r\n\t\t{\r\n\t\t\tto = from;\r\n\t\t}\r\n\t\treturn to;\r\n\t\t\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/question/question.service.ts","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"/* _main.scss */.pointer{cursor:pointer}.forbidden{cursor:not-allowed}.no-border{border:none}.hcenter:before{content:\\\" \\\";display:inline-block;vertical-align:middle;\\n /* vertical alignment of the inline element */height:100%;*display:inline}.child-container,.cuap.contain-to-grid{max-width:95.5em;margin:0 auto}\\n/* xs */@media screen and (max-width:576px){.items .item .row{font-size:inherit}.links .btn{padding:5px;font-size:.9em}}\\n/* sm */@media screen and (min-width:759px) and (max-width:991px){.links .btn{padding:5px;font-size:.95em}}\\n/* md */\\n/* lg */\\n/* xlg */#text-dialog .ajaxloadingimage{background-color:#000;opacity:.5;filter:Alpha(Opacity=50)}#text-dialog .text-dialog-container{z-index:99999;position:fixed;margin:0 auto;padding:0 20px;min-width:400px;min-height:150px;top:15%;left:35%;right:35%;background-color:#fff;border:1px solid #000}#text-dialog .text-dialog-container .text-dialog-box{position:relative;font-weight:700}#text-dialog .text-dialog-container .text-dialog-box p{margin:20px 0}#text-dialog .text-dialog-container .text-dialog-box .actions ul{padding:0;margin:0}#text-dialog .text-dialog-container .text-dialog-box .actions ul li{padding:0}#text-dialog .text-dialog-container .text-dialog-box .actions .options-right li{float:right}@media screen and (max-width:759px){#text-dialog{display:none}}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/styles/_mainCUAP.scss\",\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/text-dialog.component.scss\"],\"names\":[],\"mappings\":\"AAAA,gBAAgB,SAyEZ,cAAe,CAClB,WAGG,kBAAmB,CACtB,WAGG,WAAY,CACf,gBAIO,YAAY,qBACS,sBACC;EACtB,8CAA8C,YAClC,CAAA,cACI,CACnB,uCAID,iBAAiB,aACH,CACjB;AAgGD,QAAQ,oCAIJ,kBAGY,iBAAkB,CAErB,YAKD,YAAyB,cACV,CAClB,CAAA;AAKT,QAAQ,0DATJ,YAcQ,YAAyB,eACT,CACnB,CAAA;AAKT,QAAQ;AAKR,QAAQ;AAKR,SAAS,+BC1OD,sBAAuB,WACZ,wBACc,CAJjC,oCAOQ,cAAc,eACC,cACD,eACC,gBACC,iBACC,QACT,SACC,UACC,sBACa,qBACA,CAjB/B,qDAmBY,kBAAkB,eACD,CApB7B,uDAsBgB,aAAc,CAtB9B,iEA6BoB,UAAU,QACD,CA9B7B,oEAgCwB,SAAU,CAhClC,gFAwCwB,WAAY,CACf,oCAQjB,aACI,YAAa,CAChB,CAAA\",\"file\":\"text-dialog.component.scss\",\"sourcesContent\":[\"/* _main.scss */\\r\\n\\r\\n//GEDA ASSOCIATED STYLES::\\r\\n$geda-blue: #2e536e;\\r\\n$gbr: 46;\\r\\n$gbg: 83;\\r\\n$gbb: 110;\\r\\n$geda-orange: #e28200;\\r\\n$gor: 226;\\r\\n$gog: 130;\\r\\n$gob: 0;\\r\\n$r: 65;\\r\\n$g: 65;\\r\\n$b: 65;\\r\\n$headerRd: 237;\\r\\n$headerGr: 237;\\r\\n$headerBl: 237;\\r\\n$header-size:30px;\\r\\n$button-color: $geda-blue; // rgba(249, 160, 5, 1);\\r\\n$button-color-hover: rgba(249, 160, 5, 0.75);\\r\\n$button-color-light:#FDE4BA;\\r\\n$banner-color:rgba(179, 204, 229, 1);\\r\\n@mixin background-banner-color($opacity) {\\r\\n background-color: rgba(179, 204, 229, $opacity);\\r\\n}\\r\\n\\r\\n$somecolor: rgba(237, 237, 237, 1);\\r\\n@mixin text-banner-color($opacity) {\\r\\n color: rgba(179, 204, 229, $opacity);\\r\\n}\\r\\n\\r\\n$menu-color-light:rgba($headerRd, $headerGr, $headerBl, 1);\\r\\n$menu-color-light-opaque:rgba($headerRd, $headerGr, $headerBl, .75);\\r\\n$menu-color-opaque:rgba($r, $g, $b, 0.75);\\r\\n$menu-color-opaque-less:rgba($r, $g, $b, 0.65);\\r\\n$menu-color-opaque-least:rgba($r, $g, $b, 0.30);\\r\\n$menu-color:rgba($r, $g, $b, 1);\\r\\n// $menu-hover-color: #1C84A3; // 28 132 163\\r\\n// $menu-hover-color-hover: rgba(28, 132, 163, 0.75);\\r\\n$menu-hover-color: $geda-blue;\\r\\n$menu-hover-color-hover: #012a47;\\r\\n//$menu-hover-color-hover: rgba($gbr, $gbg, $gbb, 0.75);\\r\\n$somecolor: #469cb0;\\r\\n$default-button-color: rgba(233, 233, 233, 0.80);\\r\\n$default-button-color-hover:rgba(225, 224, 224, 1);\\r\\n$header-color:rgba($headerRd, $headerGr, $headerBl, 1);\\r\\n$header-color-opaque:rgba($headerRd, $headerGr, $headerBl, 0.85);\\r\\n$header-color-light: $default-button-color-hover;\\r\\n//$danger-color:#DD5037;\\r\\n$danger-color:$geda-blue; //FOR GEDA\\r\\n$danger-color-light:#DE9391;\\r\\n$hyperLinkOnDark-color:rgb(116, 185, 253);\\r\\n$hyperLinkOnDark-color-hover:rgba(116, 185, 253, .65);\\r\\n$link-color:#0066cc;\\r\\n$max-width:1337px;\\r\\n//$h1-color:rgba(70, 156, 176, 1);\\r\\n$h1-color: $geda-blue;\\r\\n$max-allowed:1337px;\\r\\n$max-allowed-1:1336px;\\r\\n$screen-xl:1380px;\\r\\n$screen-xl-1:1379px;\\r\\n$screen-lg:1200px;\\r\\n$screen-lg-1:1199px;\\r\\n$screen-md:992px;\\r\\n$screen-md-1:991px;\\r\\n$screen-sm:760px;\\r\\n$screen-sm-1:759px;\\r\\n$screen-xs:576px;\\r\\n$screen-xs-1:575px;\\r\\n// .container{\\r\\n// margin: 15px 0;\\r\\n// }\\r\\n.pointer {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.forbidden {\\r\\n cursor: not-allowed;\\r\\n}\\r\\n\\r\\n.no-border {\\r\\n border: none;\\r\\n}\\r\\n\\r\\n.hcenter {\\r\\n &:before {\\r\\n content: ' ';\\r\\n display: inline-block;\\r\\n vertical-align: middle;\\r\\n /* vertical alignment of the inline element */\\r\\n height: 100%;\\r\\n *display: inline;\\r\\n }\\r\\n}\\r\\n\\r\\n.child-container {\\r\\n max-width: 95.5em;\\r\\n margin: 0 auto;\\r\\n}\\r\\n\\r\\n.cuap {\\r\\n &.contain-to-grid {\\r\\n @extend .child-container;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin link-button($color) {\\r\\n button,\\r\\n a,\\r\\n a:not([href]):not([tabindex]) {\\r\\n color: $color;\\r\\n border-color: $color;\\r\\n cursor: pointer;\\r\\n background: transparent;\\r\\n .btn {\\r\\n background: transparent;\\r\\n font-size: .90em;\\r\\n font-weight: bold;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin hcenter($margintop) {\\r\\n @extend .hcenter;\\r\\n margin-top: $margintop;\\r\\n}\\r\\n\\r\\n@mixin loader($backcolor) {\\r\\n background-color: $backcolor;\\r\\n @extend .ajaxloadingimage;\\r\\n}\\r\\n\\r\\n@mixin link($color, $shade) {\\r\\n @extend .pointer;\\r\\n color: $color !important;\\r\\n &:hover {\\r\\n color: $shade !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep($backgroundcolor, $bordercolor, $color) {\\r\\n color: $color !important;\\r\\n background-color: $backgroundcolor !important;\\r\\n border-color: $bordercolor !important;\\r\\n opacity: 0.75;\\r\\n &:hover {\\r\\n background-color: $backgroundcolor !important;\\r\\n opacity: 1;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-primary($bordercolor) {\\r\\n position: relative;\\r\\n color: #fff !important;\\r\\n background-color: $menu-hover-color !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $menu-hover-color-hover !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-default($bordercolor, $color) {\\r\\n position: relative;\\r\\n color: $color !important;\\r\\n //background-color: $default-button-color !important;\\r\\n background-color: white !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $default-button-color-hover !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-default-b($bordercolor, $color) {\\r\\n position: relative;\\r\\n color: $color !important;\\r\\n //background-color: $default-button-color !important;\\r\\n background-color: white !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $color !important;\\r\\n color: white !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-save($bordercolor, $color) {\\r\\n color: $color !important;\\r\\n background-color: $button-color !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $button-color-hover !important;\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n/* xs */\\r\\n\\r\\n@media screen and (max-width: $screen-xs) {\\r\\n $header-size: 20px;\\r\\n .items {\\r\\n .item {\\r\\n .row {\\r\\n font-size: inherit;\\r\\n // padding: $header-size / 4 0;\\r\\n }\\r\\n }\\r\\n }\\r\\n .links {\\r\\n .btn {\\r\\n padding: $header-size / 4;\\r\\n font-size: .9em;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n/* sm */\\r\\n\\r\\n@media screen and (min-width: $screen-sm-1) and (max-width: $screen-md-1) {\\r\\n .links {\\r\\n .btn {\\r\\n padding: $header-size / 6;\\r\\n font-size: .95em;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n/* md */\\r\\n\\r\\n@media screen and (min-width: $screen-sm) and (max-width: $screen-md-1) {}\\r\\n\\r\\n\\r\\n/* lg */\\r\\n\\r\\n@media (min-width: $screen-md) {}\\r\\n\\r\\n\\r\\n/* xlg */\\r\\n\\r\\n@media (min-width: $screen-xl) {}\\r\\n\",\"@import '../../../../../styles/mainCUAP';\\r\\n#text-dialog {\\r\\n .ajaxloadingimage {\\r\\n background-color: black;\\r\\n opacity: .5;\\r\\n filter: Alpha(Opacity=50);\\r\\n }\\r\\n .text-dialog-container {\\r\\n z-index: 99999;\\r\\n position: fixed;\\r\\n margin: 0 auto;\\r\\n padding: 0 20px;\\r\\n min-width: 400px;\\r\\n min-height: 150px;\\r\\n top: 15%;\\r\\n left: 35%;\\r\\n right: 35%;\\r\\n background-color: white;\\r\\n border: 1px solid black;\\r\\n .text-dialog-box {\\r\\n position: relative;\\r\\n font-weight: bold;\\r\\n p {\\r\\n margin: 20px 0;\\r\\n }\\r\\n // padding: 10px;\\r\\n // text-align: center;\\r\\n // width: 100%;\\r\\n .actions {\\r\\n ul {\\r\\n padding: 0;\\r\\n margin: 0;\\r\\n li {\\r\\n padding: 0;\\r\\n }\\r\\n }\\r\\n // .btn{\\r\\n // border: none !important;\\r\\n // }\\r\\n .options-right {\\r\\n li {\\r\\n float: right;\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n@media screen and (max-width: $screen-sm-1) {\\r\\n #text-dialog {\\r\\n display: none;\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/text-dialog.component.scss\n// module id = 3Cpq\n// module chunks = 7","module.exports = \"
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loader.component.html\n// module id = 6G1J\n// module chunks = 7","module.exports = \"
\\r\\n
\\r\\n {{message}}\\r\\n
\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/message.component.html\n// module id = 8Jyn\n// module chunks = 7","module.exports = \"
\\r\\n

Terms & Conditions

\\r\\n
\\r\\n
\\r\\n By checking this box you are agreeing to the Terms and Conditions\\r\\n \\r\\n\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/terms.component.html\n// module id = 8rQh\n// module chunks = 7","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"topbanner.component.scss\",\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/topbanner/topbanner.component.scss\n// module id = 9J8g\n// module chunks = 7","module.exports = \"
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n Page {{CURRENTPAGE}} of {{PAGES.length}} (Count: {{ MODEL.length }})\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
    \\r\\n
  • \\r\\n «\\r\\n
  • \\r\\n
  • \\r\\n »\\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/pagination.component.html\n// module id = 9mUj\n// module chunks = 7","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"login.component.scss\",\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/login/login.component.scss\n// module id = A9hj\n// module chunks = 7","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"/* _main.scss */html{overflow-y:scroll;font-size:16px}body,html{height:100%;width:100%}body{font-size:1em}.bold{font-weight:700}.italics{font-style:italic}.btn{outline:none!important}\\n/* setup the table header styles */.table-header{background-color:hsla(0,0%,93%,.85);color:#333;text-decoration:none;font-size:16px}\\n/*processing ajax requests*/.ajaxloaderimage{position:fixed\\n /*background-image: url('../../Assets/_images/ajax-loader.gif');*/}\\n/*processing ajax requests*/.ajaxloaderimage,.ajaxloadingimage{z-index:99999;background-position:50%;background-repeat:no-repeat;left:0;top:0;right:0;bottom:0;opacity:.5;filter:Alpha(Opacity=50)}.ajaxloadingimage{\\n /*background-image: url('../../Assets/_images/ajax-loader.gif');*/background-size:contain;height:50px;height:100%}.backgroundOverlay{background-color:#000;opacity:.5;filter:Alpha(Opacity=50)}.menu-active{border:4px solid #e28200;padding:22px 7px}#error .prompt-container .messagetext,.prompt-container #error .messagetext,.prompt-container .errortext,.prompt-container .messagetext{position:absolute;right:75px;top:35px}#error{width:100%;text-align:center;z-index:999999;height:55px\\n /* md */}#error.top{position:fixed;top:0}#error.bottom{position:fixed;bottom:0}#error.welldone{background-color:#dff3ed!important;color:#79aa9b!important;border:1px solid #79aa9b!important}#error.headsup{background-color:#d5effb!important;color:#387794!important;border:1px solid #387794!important}#error.warning{background-color:#fbfcd4!important;color:#979274!important;border:1px solid #979274!important}#error.ohsnap{background-color:#fae8e6!important;color:#c09794!important;border:1px solid #c09794!important}#error.none{color:green!important}#error .errortext,#error .messagetext{font-weight:700;font-style:italic;font-size:1.5em;max-width:1400px;margin:0 auto;line-height:42px;padding:0 10px}@media screen and (max-width:992px){#error .errortext,#error .messagetext{font-size:1rem}}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/styles/_main.scss\",\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/message.component.scss\"],\"names\":[],\"mappings\":\"AAAA,gBAAgB,KAmEf,kBAAkB,cACH,CAGf,UAFA,YAAW,UACD,CAGX,KACI,aAAc,CAMjB,MAGA,eAAiB,CACjB,SAEA,iBAAkB,CAClB,KAEA,sBAAwB,CACxB;AA6CD,mCAAmC,cASlC,oCA/F+C,WAL5B,qBAsGE,cACN,CACf;AACD,4BAA4B,iBAG3B,cAAe;EAEf,kEAAkE,CASlE;AACD,4BAA4B,mCAX3B,cAAc,wBAEa,4BACC,OACrB,MACD,QACE,SACC,WACG,wBACa,CAI1B;EAGC,kEAAkE,wBAG1C,YACZ,WAOA,CACZ,mBAGA,sBAAuB,WACX,wBACa,CACzB,aAOA,yBAxKwB,gBAyKP,CACjB,wIAwDA,kBAAkB,WACP,QACF,CACT,OCxPA,WAAW,kBACO,eACH,WACH;EA4CZ,QAAQ,CAhDT,WAME,eAAe,KACT,CAPR,cAUE,eAAe,QACN,CAXX,gBAcE,mCAAoC,wBACX,kCACW,CAhBtC,eAmBE,mCAAoC,wBACX,kCACW,CArBtC,eAwBE,mCAAoC,wBACX,kCACW,CA1BtC,cA6BE,mCAAoC,wBACX,kCACW,CA/BtC,YAkCE,qBAAuB,CAlCzB,sCAqCE,gBAAiB,kBACC,gBACF,iBDpCA,cCsCF,iBACG,cACF,CACf,oCA5CF,sCAmDG,cAAe,CACf,CAAA\",\"file\":\"message.component.scss\",\"sourcesContent\":[\"/* _main.scss */\\r\\n\\r\\n// Extra small devices Phones (<768px)\\r\\n// Small devices Tablets (≥768px)\\r\\n// Medium devices Desktops (≥992px)\\r\\n// Large devices Desktops (≥1200px)\\r\\n//base settings\\r\\n//$font-family-base $font-size-base $line-height-base\\r\\n$name: \\\"GEDA\\\";\\r\\n$max-width: 1400px;\\r\\n$max-allowed: 1400px;\\r\\n$max-allowed-1: 1336px;\\r\\n$screen-xl: 1380px;\\r\\n$screen-xl-1: 1379px;\\r\\n$screen-lg: 1200px;\\r\\n$screen-lg-1: 1199px;\\r\\n$screen-md: 992px;\\r\\n$screen-md-1: 991px;\\r\\n$screen-sm: 760px;\\r\\n$screen-sm-1: 759px;\\r\\n$screen-xs: 576px;\\r\\n$screen-xs-1: 575px;\\r\\n$primary-color: #2c5e84;\\r\\n$primary-color-light: #5c8bb7;\\r\\n$primary-color-dark: #00355a;\\r\\n$primary-border-color: #95989a;\\r\\n$secondary-color: #e28200;\\r\\n$secondary-color-light: #ffb242;\\r\\n$secondary-color-dark: #aa5500;\\r\\n$level3-color: #bd6d49;\\r\\n$level2-color: #95989a;\\r\\n$level1-color: #d6a85d;\\r\\n$button-color: #00355b;\\r\\n$button-disabled: #e0e0e0;\\r\\n$button-color-hover: #5c8bb7;\\r\\n$button-application-primary: #e28200;\\r\\n$button-application-primary-hover: #ab5600;\\r\\n$button-application-secondary: #adadad;\\r\\n$button-application-secondary-hover: #959595;\\r\\n$button-approval-primary: #295c88;\\r\\n$button-approval-primary-hover: #00335b;\\r\\n$button-approval-secondary: #adadad;\\r\\n$button-approval-secondary-hover: #959595;\\r\\n$ready-for-payment: #a9d5f0;\\r\\n$text-color: #333333;\\r\\n$text-heading-color: #2c5f86;\\r\\n$text-small-font: #959595;\\r\\n$table-header: #f1f1f1; // rgba(237, 237, 237, 0.85); //#95989a;\\r\\n$table-header-light: #eaeaea;\\r\\n$table-header-bgcolor: rgba(237, 237, 237, 0.85);\\r\\n$default-font-size: 16px;\\r\\n$default-font-family: Arial, sans-serif;\\r\\n$link-color: #0066cc;\\r\\n$geda-blue: #2e536e;\\r\\n$linecolor: #ccc;\\r\\n$error-red: #cd040b;\\r\\n$placeholder-color: #959595;\\r\\n$headerRd: 237;\\r\\n$headerGr: 237;\\r\\n$headerBl: 237;\\r\\n$menu-color-light: rgba($headerRd, $headerGr, $headerBl, 1);\\r\\n$menu-color-light-opaque: rgba($headerRd, $headerGr, $headerBl, 0.75);\\r\\n$detail-lightblue: #d4dee7;\\r\\n\\r\\n// STATIC VERTICAL SCROLL BAR TO PROHIBIT THE SCREEN JUMPING\\r\\nhtml {\\r\\n\\t//overflow-x: auto;\\r\\n\\toverflow-y: scroll;\\r\\n\\tfont-size: 16px;\\r\\n\\theight:100%;\\r\\n\\twidth:100%;\\r\\n}\\r\\n\\r\\nbody {\\r\\n font-size: 1em;\\r\\n\\theight:100%;\\r\\n\\twidth:100%;\\r\\n //font-size: 10pt;\\r\\n //position: relative;\\r\\n //letter-spacing: 0.3pt;\\r\\n}\\r\\n\\r\\n.bold {\\r\\n\\tfont-weight: bold;\\r\\n}\\r\\n.italics {\\r\\n\\tfont-style: italic;\\r\\n}\\r\\n.btn{\\r\\n\\toutline: none !important;\\r\\n}\\r\\n\\r\\n// .level-step-section-title.bold-title {\\r\\n// font-weight: bold;\\r\\n// font-size: 1.2em;\\r\\n// margin-bottom: 1em;\\r\\n// line-height: 135%;\\r\\n// }\\r\\n// other variables\\r\\n@mixin loader($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t$table-header: rgba(237, 237, 237, 0.85);\\r\\n\\t$table-header-light: #eaeaea;\\r\\n}\\r\\n\\r\\n@mixin loader($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t@extend .ajaxloaderimage;\\r\\n}\\r\\n\\r\\n@mixin loading($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t@extend .ajaxloadingimage;\\r\\n}\\r\\n\\r\\n@mixin backgroundImage($imageName) {\\r\\n\\tbackground-image: url(\\\"/assets/_images/1x/\\\" + $imageName + \\\".png\\\");\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-image: url(\\\"/assets/_images/1x/\\\" + $imageName + \\\"_hover.png\\\");\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin icon-size($width, $height) {\\r\\n\\tbackground-size: $width $height !important;\\r\\n\\t// background-position: ;\\r\\n\\tfilter: none;\\r\\n\\t// font-iconmily: Ubuntu, sans-serif;\\r\\n\\twidth: $width;\\r\\n\\theight: $height;\\r\\n}\\r\\n\\r\\n@mixin LevelStepFile() {\\r\\n\\tpadding: 25px 10px 25px 20px;\\r\\n}\\r\\n/* setup the table header styles */\\r\\n\\r\\n@mixin disabledElement() {\\r\\n\\tbackground-color: $button-disabled;\\r\\n\\tcolor: #ffffff !important;\\r\\n\\tcursor: not-allowed;\\r\\n}\\r\\n\\r\\n.table-header {\\r\\n\\tbackground-color: $table-header-bgcolor;\\r\\n\\tcolor: $text-color;\\r\\n\\ttext-decoration: none;\\r\\n\\tfont-size: 16px;\\r\\n}\\r\\n/*processing ajax requests*/\\r\\n\\r\\n.ajaxloaderimage {\\r\\n\\tposition: fixed;\\r\\n\\tz-index: 99999;\\r\\n\\t/*background-image: url('../../Assets/_images/ajax-loader.gif');*/\\r\\n\\tbackground-position: center;\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n}\\r\\n/*processing ajax requests*/\\r\\n\\r\\n.ajaxloadingimage {\\r\\n\\t// position: fixed;\\r\\n\\tz-index: 99999;\\r\\n\\t/*background-image: url('../../Assets/_images/ajax-loader.gif');*/\\r\\n\\tbackground-position: center center;\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\tbackground-size: contain;\\r\\n\\theight: 50px;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n\\theight: 100%;\\r\\n}\\r\\n\\r\\n.backgroundOverlay {\\r\\n\\tbackground-color: black;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n}\\r\\n\\r\\n@mixin activeMenu() {\\r\\n\\t@extend .menu-active;\\r\\n}\\r\\n\\r\\n.menu-active {\\r\\n\\tborder: 4px solid $secondary-color;\\r\\n\\tpadding: 22px 7px;\\r\\n}\\r\\n\\r\\n@mixin h1() {\\r\\n\\tfont-family: \\\"Open Sans Condensed\\\", \\\"Arial\\\", sans-serif;\\r\\n\\tfont-weight: bold;\\r\\n\\tfont-size: 40px;\\r\\n\\tcolor: $button-approval-primary;\\r\\n}\\r\\n\\r\\n@mixin btn-acep($backgroundcolor, $bordercolor, $color) {\\r\\n\\tcolor: $color !important;\\r\\n\\tbackground-color: $backgroundcolor !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\topacity: 0.75;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $backgroundcolor !important;\\r\\n\\t\\topacity: 1;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-primary($bordercolor) {\\r\\n\\tposition: relative;\\r\\n\\tcolor: #fff !important;\\r\\n\\tbackground-color: $menu-hover-color !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $menu-hover-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-default($bordercolor, $color) {\\r\\n\\tposition: relative;\\r\\n\\tcolor: $color !important;\\r\\n\\t//background-color: $default-button-color !important;\\r\\n\\tbackground-color: white !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $default-button-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-save($bordercolor, $color) {\\r\\n\\tcolor: $color !important;\\r\\n\\tbackground-color: $button-color !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $button-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n.prompt-container .errortext,\\r\\n.prompt-container .messagetext {\\r\\n\\t//for popup\\r\\n\\t// position: absolute;\\r\\n\\t// right: 50px;\\r\\n\\t// top: 20px;\\r\\n\\tposition: absolute;\\r\\n\\tright: 75px;\\r\\n\\ttop: 35px;\\r\\n}\\r\\n\\r\\n\\r\\n@mixin acep-logo() {\\r\\nbackground: url(\\\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%20323%2060%22%3E%3Cdefs%3E%3Cstyle%3Eg %7Bfill: %23fff%3B%7D %3C/style%3E%3C/defs%3E %3Cg id%3D'ACEPLogo' viewBox%3D'0 0 323.9 60.4'%3E\\\\a %3Cpath class%3D'cls-1' d%3D'M80.3,413.8c2.4-.2,2.6-.3,2.7-.5s.4-.8.4-5.2v-7.3c0-4.4-.2-4.9-.4-5.2s-.3-.3-2.7-.5v-.8H95.6v4.2h-1l-.3-1.5c-.3-1.5-.4-1.7-4.7-1.7s-3.7.2-3.7.9v7.4h3.7c3,0,3.1-.1,3.1-1.3v-1.2h.8v6h-.8c0-2.4-.1-2.4-1.3-2.5H85.8c0,2.1-.1,4.2-.1,6.3s.2,2.6,1.3,2.6h5c2.7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-.8h9.4c4,0,6.6,2.5,6.6,5.9s-3.2,6.1-7.1,6.1h-2.2v-1.1' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M233.3,413.8h1.2c.8-.1.8-.4.8-1.3V401.7c0-5.1,0-6.1-.3-6.6s-.5-.4-1.7-.4V394a10.3,10.3,0,0,0,3.5-1.2h.8c-.2,4.8-.2,9-.2,11.2l1.2-1.1a5.7,5.7,0,0,1,3-.8c2.4,0,4,1.1,4,4.4,0,1.5-.2,4.9-.2,6s.1,1.1.8,1.2h.9v.8h-5.8v-.8h1.4c.7-.1.9-.4.9-4.7,0-.8-.1-2.2-.2-3.3a2.5,2.5,0,0,0-2.7-2.3,5.2,5.2,0,0,0-3.3,1.4v7.6c0,.9,0,1.2.8,1.3h1.1v.8h-6v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M256,402.4l2.1.2,2.4-.2v.7a1.3,1.3,0,0,0-1.4,1l-3,7.9c-2.2,5.6-3.5,7.4-4,8a4,4,0,0,1-2.4.8q-.9,0-.9-.6c0-.4.4-1.8,1.2-1.8s.8.5,1.3.5,1.1-.7,2.1-2.7l.6-1.2-3.1-7.7c-1.6-4.1-1.8-4.2-2.6-4.2v-.7l2.4.2,2.8-.2v.7c-1.4,0-1.7.2-1.7.6a26.5,26.5,0,0,0,1.6,4.8l1.5,3.8a35.8,35.8,0,0,0,2.9-8.3c0-.6-.2-.9-1.8-.9v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M261.6,411h1c.3,2.2,1.6,3.2,3,3.2A2.3,2.3,0,0,0,268,412a2.5,2.5,0,0,0-1.5-2l-2.6-1.3a3.5,3.5,0,0,1-2.3-3.3c0-1.9,1.5-3.3,4.2-3.3a7.8,7.8,0,0,1,3.1.5l.2,2.8h-.9c-.4-1.8-1.5-2.5-2.7-2.5s-2.3.7-2.3,1.7.2,1.2,1.6,1.9l2.9,1.5a3.6,3.6,0,0,1,2,3.3c0,2-1.5,3.7-4.6,3.7a6.6,6.6,0,0,1-3.4-.8V411' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M274.8,394.7a1.1,1.1,0,0,1,1.1,1.2,1.8,1.8,0,0,1-1.7,1.8,1.2,1.2,0,0,1-1.2-1.2,1.8,1.8,0,0,1,1.8-1.8Zm-3.5,19.1h1c.7-.1,1-.4,1-.8a39.3,39.3,0,0,0,.1-4.6c0-3.2,0-3.8-.1-4s-1-.8-1.6-.8v-.7c2-.1,2.8-.4,3.5-1.7h.6a51,51,0,0,0-.4,7.2,44.1,44.1,0,0,0,.1,4.8c.1.4.3.5,1.1.6h1v.8h-6.3v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M289.6,413a5.5,5.5,0,0,1-4.4,2,5.8,5.8,0,0,1-5.8-6c0-3.8,2.5-6.9,6.4-6.9s4,1,4,2.6-.2.7-.7.7-1.6-.4-1.8-1.1a1.6,1.6,0,0,0-1.8-1.4c-1.5,0-4,1.4-4,5.1s1.7,5.5,4.6,5.5a6.6,6.6,0,0,0,3.1-.9l.4.4' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M294.5,394.7a1.1,1.1,0,0,1,1.1,1.2,1.8,1.8,0,0,1-1.7,1.8,1.2,1.2,0,0,1-1.2-1.2,1.8,1.8,0,0,1,1.8-1.8ZM291,413.8h1c.7-.1,1-.4,1-.8a39.3,39.3,0,0,0,.1-4.6c0-3.2,0-3.8-.1-4s-1-.8-1.6-.8v-.7c2-.1,2.8-.4,3.5-1.7h.6a52.4,52.4,0,0,0-.3,7.2v4.8c.1.4.4.5,1.1.6h1v.8H291v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M305.8,407.9c-2.9,1.2-4.6,2.5-4.6,4.1a1.4,1.4,0,0,0,1.6,1.5,3.2,3.2,0,0,0,2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1.2-1.6-1.4v-.7a3.1,3.1,0,0,0,2.8-1.7h.7v2.6h0l1.4-1.2' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M216.9,377.3l-.4,4a13.2,13.2,0,0,1-6.2,1.4,10.1,10.1,0,0,1-10.4-10.4c0-5.4,3.8-10.7,10.4-10.7a17.6,17.6,0,0,1,6,1v3.7h-.9l-.2-1c-.4-1.7-2.2-2.9-5-2.9-4.4,0-7.4,3.4-7.4,9.7s3.6,9.7,7.5,9.7c1.7,0,4.5-.5,5.2-3.2l.3-1.3h1.1' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M229.4,377c-.1-3.6-1.5-6.3-4.3-6.4s-3.8,2.3-3.8,5,1.5,6.2,4.5,6.2,3.6-3.3,3.6-4.8Zm-4-7.3a6,6,0,0,1,6.3,6.3,6.6,6.6,0,0,1-6.4,6.7,6.4,6.4,0,0,1-6.3-6.6,6.3,6.3,0,0,1,6.4-6.4' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M233.2,361.7a12.8,12.8,0,0,0,3.5-1.3h.8c-.2,5-.2,9.4-.2,15.6v4.7c.1.4.4.6,1.1.7h1v.8h-6.6v-.8h1.3c.8-.1,1-.4,1-.9a35.9,35.9,0,0,0,.1-4.5v-6.6c0-5.2,0-6.2-.3-6.7s-.5-.3-1.7-.3v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M240.5,361.7a14.2,14.2,0,0,0,3.5-1.3h.7c-.2,5-.2,9.4-.2,15.6a41.7,41.7,0,0,0,.1,4.7c.1.4.3.6,1.1.7h1v.8H240v-.8h1.3c.8-.1,1.1-.4,1.1-.9a35.9,35.9,0,0,0,.1-4.5v-6.6c0-5.2,0-6.2-.3-6.7s-.5-.3-1.7-.3v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M253.9,370.6c-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.6' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M303.8,377c-.1-3.6-1.4-6.3-4.2-6.4s-3.8,2.3-3.8,5,1.5,6.2,4.4,6.2,3.6-3.3,3.6-4.8Zm-3.9-7.3a6,6,0,0,1,6.3,6.3,6.6,6.6,0,0,1-6.5,6.7,6.5,6.5,0,0,1,.2-13' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M307.6,370.5l2-.2v-.8c0-6.5,2.9-9.1,5.7-9.1.7,0,1.9.1,1.9,1.2a1.1,1.1,0,0,1-1,1.1c-1,0-.8-1.1-2.1-1.1s-2.4,1-2.4,4v4.6l3.8-.2v1.2h-3.8V376a41.7,41.7,0,0,0,.1,4.7c0,.4.3.6,1.1.7h1.8v.8h-7.2v-.8h1c.8-.1,1-.4,1.1-.9a35.9,35.9,0,0,0,.1-4.5c0-3-.1-3.9-.1-4.8h-2v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 6.9 5.3 1.5 0 1.5 0 6.9 5.3 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 13.6 5.3 8.3 0 8.3 0 13.6 5.3 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 20.3 5.3 15 0 15 0 20.3 5.3 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 6.9 12.1 1.5 6.7 1.5 6.7 6.9 12.1 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 13.6 12.1 8.3 6.7 8.3 6.7 13.6 12.1 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 20.3 12.1 15 6.7 15 6.7 20.3 12.1 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 6.9 18.8 1.5 13.5 1.5 13.5 6.9 18.8 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 13.6 18.8 8.3 13.5 8.3 13.5 13.6 18.8 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 20.3 18.8 15 13.5 15 13.5 20.3 18.8 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 6.9 25.6 1.5 20.2 1.5 20.2 6.9 25.6 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 6.9 32.3 1.5 27 1.5 27 6.9 32.3 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 6.9 39 1.5 33.7 1.5 33.7 6.9 39 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 6.9 45.8 1.5 40.5 1.5 40.5 6.9 45.8 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 13.6 25.6 8.3 20.2 8.3 20.2 13.6 25.6 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 13.6 32.3 8.3 27 8.3 27 13.6 32.3 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 13.6 39 8.3 33.7 8.3 33.7 13.6 39 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 13.6 45.8 8.3 40.5 8.3 40.5 13.6 45.8 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 20.3 25.6 15 20.2 15 20.2 20.3 25.6 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 20.3 39 15 33.7 15 33.7 20.3 39 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 20.3 45.8 15 40.5 15 40.5 20.3 45.8 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 27.1 5.3 21.7 0 21.7 0 27.1 5.3 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 27.1 12.1 21.7 6.7 21.7 6.7 27.1 12.1 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 27.1 18.8 21.7 13.5 21.7 13.5 27.1 18.8 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 27.1 25.6 21.7 20.2 21.7 20.2 27.1 25.6 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 27.1 32.3 21.7 27 21.7 27 27.1 32.3 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 27.1 39 21.7 33.7 21.7 33.7 27.1 39 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 27.1 45.8 21.7 40.5 21.7 40.5 27.1 45.8 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 54 52.5 48.7 47.2 48.7 47.2 54 52.5 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 47.3 52.5 41.9 47.2 41.9 47.2 47.3 52.5 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 40.5 52.5 35.2 47.2 35.2 47.2 40.5 52.5 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 33.8 45.8 28.5 40.5 28.5 40.5 33.8 45.8 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 40.5 45.8 35.2 40.5 35.2 40.5 40.5 45.8 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 47.3 45.8 41.9 40.5 41.9 40.5 47.3 45.8 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 54 45.8 48.7 40.5 48.7 40.5 54 45.8 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 33.8 5.3 28.5 0 28.5 0 33.8 5.3 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 40.5 5.3 35.2 0 35.2 0 40.5 5.3 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 47.3 5.3 41.9 0 41.9 0 47.3 5.3 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 54 5.3 48.7 0 48.7 0 54 5.3 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 33.8 12.1 28.5 6.7 28.5 6.7 33.8 12.1 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 40.5 12.1 35.2 6.7 35.2 6.7 40.5 12.1 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 47.3 12.1 41.9 6.7 41.9 6.7 47.3 12.1 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 54 12.1 48.7 6.7 48.7 6.7 54 12.1 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 33.8 18.8 28.5 13.5 28.5 13.5 33.8 18.8 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 40.5 18.8 35.2 13.5 35.2 13.5 40.5 18.8 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 47.3 18.8 41.9 13.5 41.9 13.5 47.3 18.8 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 54 18.8 48.7 13.5 48.7 13.5 54 18.8 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 33.8 25.6 28.5 20.2 28.5 20.2 33.8 25.6 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 40.5 25.6 35.2 20.2 35.2 20.2 40.5 25.6 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 33.8 32.3 28.5 27 28.5 27 33.8 32.3 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 47.3 25.6 41.9 20.2 41.9 20.2 47.3 25.6 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 54 25.6 48.7 20.2 48.7 20.2 54 25.6 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 40.5 32.3 35.2 27 35.2 27 40.5 32.3 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 47.3 32.3 41.9 27 41.9 27 47.3 32.3 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 54 32.3 48.7 27 48.7 27 54 32.3 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 54 39 48.7 33.7 48.7 33.7 54 39 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 47.3 39 41.9 33.7 41.9 33.7 47.3 39 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 40.5 39 35.2 33.7 35.2 33.7 40.5 39 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 33.8 39 28.5 33.7 28.5 33.7 33.8 39 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 6.9 52.5 1.5 47.2 1.5 47.2 6.9 52.5 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 13.6 52.5 8.3 47.2 8.3 47.2 13.6 52.5 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 20.3 52.5 15 47.2 15 47.2 20.3 52.5 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 27.1 52.5 21.7 47.2 21.7 47.2 27.1 52.5 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 33.8 52.5 28.5 47.2 28.5 47.2 33.8 52.5 33.8'/%3E%3C/g%3E%3C%2Fsvg%3E\\\") no-repeat;\\r\\n}\\r\\n\",\"@import '../../../../styles/main';\\r\\n// app-message {\\r\\n// \\tposition: absolute !important;\\r\\n// \\ttop: 35px;\\r\\n// \\tright: 75px;\\r\\n// }\\r\\n#error {\\r\\n\\twidth: 100%;\\r\\n\\ttext-align: center;\\r\\n\\tz-index: 999999;\\r\\n\\theight: 55px;\\r\\n\\t&.top {\\r\\n\\t\\tposition: fixed;\\r\\n\\t\\ttop: 0;\\r\\n\\t}\\r\\n\\t&.bottom {\\r\\n\\t\\tposition: fixed;\\r\\n\\t\\tbottom: 0;\\r\\n\\t}\\r\\n\\t&.welldone {\\r\\n\\t\\tbackground-color: #DFF3ED !important;\\r\\n\\t\\tcolor: #79AA9B !important;\\r\\n\\t\\tborder: 1px solid #79AA9B !important;\\r\\n\\t}\\r\\n\\t&.headsup {\\r\\n\\t\\tbackground-color: #D5EFFB !important;\\r\\n\\t\\tcolor: #387794 !important;\\r\\n\\t\\tborder: 1px solid #387794 !important;\\r\\n\\t}\\r\\n\\t&.warning {\\r\\n\\t\\tbackground-color: #FBFCD4 !important;\\r\\n\\t\\tcolor: #979274 !important;\\r\\n\\t\\tborder: 1px solid #979274 !important;\\r\\n\\t}\\r\\n\\t&.ohsnap {\\r\\n\\t\\tbackground-color: #FAE8E6 !important;\\r\\n\\t\\tcolor: #C09794 !important;\\r\\n\\t\\tborder: 1px solid #C09794 !important;\\r\\n\\t}\\r\\n\\t&.none {\\r\\n\\t\\tcolor: green !important; // border: 1px solid green;\\r\\n\\t}\\r\\n\\t.errortext {\\r\\n\\t\\tfont-weight: bold;\\r\\n\\t\\tfont-style: italic;\\r\\n\\t\\tfont-size: 1.5em;\\r\\n\\t\\tmax-width: $max-width;\\r\\n\\t\\tmargin: 0 auto;\\r\\n\\t\\tline-height: 42px;\\r\\n\\t\\tpadding: 0 10px;\\r\\n\\t}\\r\\n\\t.messagetext {\\r\\n\\t\\t@extend .errortext; // color: green !important;\\r\\n\\t}\\r\\n\\t/* md */\\r\\n\\t@media screen and (max-width: $screen-md) {\\r\\n\\t\\t.errortext {\\r\\n\\t\\t\\tfont-size: 1rem;\\r\\n\\t\\t}\\r\\n\\t}\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/message.component.scss\n// module id = AUze\n// module chunks = 7","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"figure{margin:0;position:absolute;top:0;left:0;background-color:#fff;z-index:10000}.level .body{margin-top:65px;margin-bottom:2vh}@media screen and (min-width:200px) and (max-width:600px){.level .body{margin-bottom:6vh}}@media screen and (min-width:601px) and (max-width:800px){.level .body{margin-bottom:4vh}}.level .body .bodytext{height:100%;line-height:1.4em;letter-spacing:.5px}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/level.component.scss\"],\"names\":[],\"mappings\":\"AAAA,OACI,SAAS,kBACS,MACZ,OACC,sBACgB,aACT,CACjB,aAIO,gBAAgB,iBACE,CAClB,0DAJR,aAKY,iBAAkB,CAUzB,CARG,0DAPR,aAQY,iBAAkB,CAOzB,CAfL,uBAWY,YAAY,kBACM,mBACE,CACvB\",\"file\":\"level.component.scss\",\"sourcesContent\":[\"figure {\\r\\n margin: 0;\\r\\n position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n background-color: white;\\r\\n z-index: 10000;\\r\\n}\\r\\n\\r\\n.level {\\r\\n .body {\\r\\n margin-top: 65px;\\r\\n margin-bottom: 2vh;\\r\\n @media screen and (min-width: 200px) and (max-width: 600px) {\\r\\n margin-bottom: 6vh;\\r\\n }\\r\\n @media screen and (min-width: 601px) and (max-width: 800px) {\\r\\n margin-bottom: 4vh;\\r\\n }\\r\\n .bodytext {\\r\\n height: 100%;\\r\\n line-height: 1.4em;\\r\\n letter-spacing: .5px;\\r\\n }\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/level.component.scss\n// module id = AeMO\n// module chunks = 7","module.exports = \"
\\r\\n\\r\\n
\\r\\n
{{model.Hospital.Name}}
\\r\\n
{{getAddress(model)}}
\\r\\n
\\r\\n
\\r\\n
{{contact.formalName}}
\\r\\n
{{getContactAddress(contact)}}
\\r\\n
\\r\\n\\r\\n
\\r\\n
{{NEWITEMTEXT}}
\\r\\n
\\r\\n
\\r\\n
Can't find who I'm looking for
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n Loading ...\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/searchbox/searchbox.component.html\n// module id = CuNn\n// module chunks = 7","module.exports = \"\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/topbanner/topbanner.component.html\n// module id = Hxzj\n// module chunks = 7","module.exports = \"
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loading.component.html\n// module id = IWwt\n// module chunks = 7","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"/* _main.scss */.pointer{cursor:pointer}.forbidden{cursor:not-allowed}.no-border{border:none}.hcenter:before{content:\\\" \\\";display:inline-block;vertical-align:middle;\\n /* vertical alignment of the inline element */height:100%;*display:inline}.child-container,.cuap.contain-to-grid{max-width:95.5em;margin:0 auto}\\n/* xs */@media screen and (max-width:576px){.items .item .row{font-size:inherit}.links .btn{padding:5px;font-size:.9em}}\\n/* sm */@media screen and (min-width:759px) and (max-width:991px){.links .btn{padding:5px;font-size:.95em}}\\n/* md */\\n/* lg */\\n/* xlg */#textbox-dialog .ajaxloadingimage{background-color:#000;opacity:.5;filter:Alpha(Opacity=50)}#textbox-dialog .textbox-dialog-container{z-index:99999;position:fixed;margin:0 auto;padding:0 20px;min-width:400px;min-height:150px;top:15%;left:35%;right:35%;background-color:#fff;border:1px solid #000}#textbox-dialog .textbox-dialog-container .textbox-dialog-box{position:relative;font-weight:700}#textbox-dialog .textbox-dialog-container .textbox-dialog-box textarea{resize:none}#textbox-dialog .textbox-dialog-container .textbox-dialog-box p{font-size:.75rem;margin:20px 0;text-align:justify}#textbox-dialog .textbox-dialog-container .textbox-dialog-box .value{margin-bottom:10px}#textbox-dialog .textbox-dialog-container .textbox-dialog-box .actions ul{padding:0;margin:0}#textbox-dialog .textbox-dialog-container .textbox-dialog-box .actions ul li{padding:0}#textbox-dialog .textbox-dialog-container .textbox-dialog-box .actions .options-right li{float:right}@media screen and (max-width:759px){#text-dialog{display:none}}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/styles/_mainCUAP.scss\",\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/textbox-dialog.component.scss\"],\"names\":[],\"mappings\":\"AAAA,gBAAgB,SAyEZ,cAAe,CAClB,WAGG,kBAAmB,CACtB,WAGG,WAAY,CACf,gBAIO,YAAY,qBACS,sBACC;EACtB,8CAA8C,YAClC,CAAA,cACI,CACnB,uCAID,iBAAiB,aACH,CACjB;AAgGD,QAAQ,oCAIJ,kBAGY,iBAAkB,CAErB,YAKD,YAAyB,cACV,CAClB,CAAA;AAKT,QAAQ,0DATJ,YAcQ,YAAyB,eACT,CACnB,CAAA;AAKT,QAAQ;AAKR,QAAQ;AAKR,SAAS,kCC1OD,sBAAuB,WACZ,wBACc,CAJjC,0CAOQ,cAAc,eACC,cACD,eACC,gBACC,iBACC,QACT,SACC,UACC,sBACa,qBACA,CAjB/B,8DAmBY,kBAAkB,eACV,CApBpB,uEAsBI,WAAY,CAtBhB,gEAyBgB,iBAAiB,cACH,kBACK,CA3BnC,qEA8BgB,kBAAmB,CA9BnC,0EAqCoB,UAAU,QACD,CAtC7B,6EAwCwB,SAAU,CAxClC,yFA6CwB,WAAY,CACf,oCAQjB,aACI,YAAa,CAChB,CAAA\",\"file\":\"textbox-dialog.component.scss\",\"sourcesContent\":[\"/* _main.scss */\\r\\n\\r\\n//GEDA ASSOCIATED STYLES::\\r\\n$geda-blue: #2e536e;\\r\\n$gbr: 46;\\r\\n$gbg: 83;\\r\\n$gbb: 110;\\r\\n$geda-orange: #e28200;\\r\\n$gor: 226;\\r\\n$gog: 130;\\r\\n$gob: 0;\\r\\n$r: 65;\\r\\n$g: 65;\\r\\n$b: 65;\\r\\n$headerRd: 237;\\r\\n$headerGr: 237;\\r\\n$headerBl: 237;\\r\\n$header-size:30px;\\r\\n$button-color: $geda-blue; // rgba(249, 160, 5, 1);\\r\\n$button-color-hover: rgba(249, 160, 5, 0.75);\\r\\n$button-color-light:#FDE4BA;\\r\\n$banner-color:rgba(179, 204, 229, 1);\\r\\n@mixin background-banner-color($opacity) {\\r\\n background-color: rgba(179, 204, 229, $opacity);\\r\\n}\\r\\n\\r\\n$somecolor: rgba(237, 237, 237, 1);\\r\\n@mixin text-banner-color($opacity) {\\r\\n color: rgba(179, 204, 229, $opacity);\\r\\n}\\r\\n\\r\\n$menu-color-light:rgba($headerRd, $headerGr, $headerBl, 1);\\r\\n$menu-color-light-opaque:rgba($headerRd, $headerGr, $headerBl, .75);\\r\\n$menu-color-opaque:rgba($r, $g, $b, 0.75);\\r\\n$menu-color-opaque-less:rgba($r, $g, $b, 0.65);\\r\\n$menu-color-opaque-least:rgba($r, $g, $b, 0.30);\\r\\n$menu-color:rgba($r, $g, $b, 1);\\r\\n// $menu-hover-color: #1C84A3; // 28 132 163\\r\\n// $menu-hover-color-hover: rgba(28, 132, 163, 0.75);\\r\\n$menu-hover-color: $geda-blue;\\r\\n$menu-hover-color-hover: #012a47;\\r\\n//$menu-hover-color-hover: rgba($gbr, $gbg, $gbb, 0.75);\\r\\n$somecolor: #469cb0;\\r\\n$default-button-color: rgba(233, 233, 233, 0.80);\\r\\n$default-button-color-hover:rgba(225, 224, 224, 1);\\r\\n$header-color:rgba($headerRd, $headerGr, $headerBl, 1);\\r\\n$header-color-opaque:rgba($headerRd, $headerGr, $headerBl, 0.85);\\r\\n$header-color-light: $default-button-color-hover;\\r\\n//$danger-color:#DD5037;\\r\\n$danger-color:$geda-blue; //FOR GEDA\\r\\n$danger-color-light:#DE9391;\\r\\n$hyperLinkOnDark-color:rgb(116, 185, 253);\\r\\n$hyperLinkOnDark-color-hover:rgba(116, 185, 253, .65);\\r\\n$link-color:#0066cc;\\r\\n$max-width:1337px;\\r\\n//$h1-color:rgba(70, 156, 176, 1);\\r\\n$h1-color: $geda-blue;\\r\\n$max-allowed:1337px;\\r\\n$max-allowed-1:1336px;\\r\\n$screen-xl:1380px;\\r\\n$screen-xl-1:1379px;\\r\\n$screen-lg:1200px;\\r\\n$screen-lg-1:1199px;\\r\\n$screen-md:992px;\\r\\n$screen-md-1:991px;\\r\\n$screen-sm:760px;\\r\\n$screen-sm-1:759px;\\r\\n$screen-xs:576px;\\r\\n$screen-xs-1:575px;\\r\\n// .container{\\r\\n// margin: 15px 0;\\r\\n// }\\r\\n.pointer {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.forbidden {\\r\\n cursor: not-allowed;\\r\\n}\\r\\n\\r\\n.no-border {\\r\\n border: none;\\r\\n}\\r\\n\\r\\n.hcenter {\\r\\n &:before {\\r\\n content: ' ';\\r\\n display: inline-block;\\r\\n vertical-align: middle;\\r\\n /* vertical alignment of the inline element */\\r\\n height: 100%;\\r\\n *display: inline;\\r\\n }\\r\\n}\\r\\n\\r\\n.child-container {\\r\\n max-width: 95.5em;\\r\\n margin: 0 auto;\\r\\n}\\r\\n\\r\\n.cuap {\\r\\n &.contain-to-grid {\\r\\n @extend .child-container;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin link-button($color) {\\r\\n button,\\r\\n a,\\r\\n a:not([href]):not([tabindex]) {\\r\\n color: $color;\\r\\n border-color: $color;\\r\\n cursor: pointer;\\r\\n background: transparent;\\r\\n .btn {\\r\\n background: transparent;\\r\\n font-size: .90em;\\r\\n font-weight: bold;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin hcenter($margintop) {\\r\\n @extend .hcenter;\\r\\n margin-top: $margintop;\\r\\n}\\r\\n\\r\\n@mixin loader($backcolor) {\\r\\n background-color: $backcolor;\\r\\n @extend .ajaxloadingimage;\\r\\n}\\r\\n\\r\\n@mixin link($color, $shade) {\\r\\n @extend .pointer;\\r\\n color: $color !important;\\r\\n &:hover {\\r\\n color: $shade !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep($backgroundcolor, $bordercolor, $color) {\\r\\n color: $color !important;\\r\\n background-color: $backgroundcolor !important;\\r\\n border-color: $bordercolor !important;\\r\\n opacity: 0.75;\\r\\n &:hover {\\r\\n background-color: $backgroundcolor !important;\\r\\n opacity: 1;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-primary($bordercolor) {\\r\\n position: relative;\\r\\n color: #fff !important;\\r\\n background-color: $menu-hover-color !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $menu-hover-color-hover !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-default($bordercolor, $color) {\\r\\n position: relative;\\r\\n color: $color !important;\\r\\n //background-color: $default-button-color !important;\\r\\n background-color: white !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $default-button-color-hover !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-default-b($bordercolor, $color) {\\r\\n position: relative;\\r\\n color: $color !important;\\r\\n //background-color: $default-button-color !important;\\r\\n background-color: white !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $color !important;\\r\\n color: white !important;\\r\\n }\\r\\n}\\r\\n\\r\\n@mixin btn-acep-save($bordercolor, $color) {\\r\\n color: $color !important;\\r\\n background-color: $button-color !important;\\r\\n border-color: $bordercolor !important;\\r\\n &:hover {\\r\\n background-color: $button-color-hover !important;\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n/* xs */\\r\\n\\r\\n@media screen and (max-width: $screen-xs) {\\r\\n $header-size: 20px;\\r\\n .items {\\r\\n .item {\\r\\n .row {\\r\\n font-size: inherit;\\r\\n // padding: $header-size / 4 0;\\r\\n }\\r\\n }\\r\\n }\\r\\n .links {\\r\\n .btn {\\r\\n padding: $header-size / 4;\\r\\n font-size: .9em;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n/* sm */\\r\\n\\r\\n@media screen and (min-width: $screen-sm-1) and (max-width: $screen-md-1) {\\r\\n .links {\\r\\n .btn {\\r\\n padding: $header-size / 6;\\r\\n font-size: .95em;\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\\r\\n/* md */\\r\\n\\r\\n@media screen and (min-width: $screen-sm) and (max-width: $screen-md-1) {}\\r\\n\\r\\n\\r\\n/* lg */\\r\\n\\r\\n@media (min-width: $screen-md) {}\\r\\n\\r\\n\\r\\n/* xlg */\\r\\n\\r\\n@media (min-width: $screen-xl) {}\\r\\n\",\"@import '../../../../../styles/mainCUAP';\\r\\n#textbox-dialog {\\r\\n .ajaxloadingimage {\\r\\n background-color: black;\\r\\n opacity: .5;\\r\\n filter: Alpha(Opacity=50);\\r\\n }\\r\\n .textbox-dialog-container {\\r\\n z-index: 99999;\\r\\n position: fixed;\\r\\n margin: 0 auto;\\r\\n padding: 0 20px;\\r\\n min-width: 400px;\\r\\n min-height: 150px;\\r\\n top: 15%;\\r\\n left: 35%;\\r\\n right: 35%;\\r\\n background-color: white;\\r\\n border: 1px solid black;\\r\\n .textbox-dialog-box {\\r\\n position: relative;\\r\\n\\t\\t\\tfont-weight: bold;\\r\\n\\t\\t\\ttextarea {\\r\\n\\t\\t\\t\\tresize: none;\\r\\n\\t\\t\\t}\\r\\n p {\\r\\n font-size: .75rem;\\r\\n margin: 20px 0;\\r\\n text-align: justify;\\r\\n }\\r\\n .value {\\r\\n margin-bottom: 10px;\\r\\n }\\r\\n // padding: 10px;\\r\\n // text-align: center;\\r\\n // width: 100%;\\r\\n .actions {\\r\\n ul {\\r\\n padding: 0;\\r\\n margin: 0;\\r\\n li {\\r\\n padding: 0;\\r\\n }\\r\\n }\\r\\n .options-right {\\r\\n li {\\r\\n float: right;\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n@media screen and (max-width: $screen-sm-1) {\\r\\n #text-dialog {\\r\\n display: none;\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/textbox-dialog.component.scss\n// module id = Imyd\n// module chunks = 7","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"#reviewersid:after{content:\\\"\\\";background-color:transparent;top:0;left:0;opacity:.5;z-index:99998}#reviewersid .reviewer{width:250px;float:left}#reviewersid.hide{display:none}#reviewersid h1{color:#2e536e}#reviewersid .reviewers-selection mat-checkbox .mat-checkbox-layout{font-weight:400}#reviewersid .prompt-container{z-index:99999;position:fixed;margin:0 auto;padding:20px;min-width:600px;max-width:1000px;min-height:150px;top:15%;left:10%;right:10%;background-color:#fff;border:1px solid #333}#reviewersid .prompt-container .closeX{color:#959595;font-size:2em;position:absolute;right:3%;top:3%;cursor:pointer}#reviewersid .prompt-container .closeX .fa{color:#959595}#reviewersid .prompt-container .prompt-box{padding:5% 10%;height:100%;font-weight:700;width:96%}#reviewersid .prompt-container .prompt-box p{margin:20px 0}#reviewersid .prompt-container .prompt-body .stophere{background:url(/geda/assets/_images/error-grey.png) 50% transparent no-repeat;height:100px;width:auto;background-size:15%;margin-bottom:5%}#reviewersid .prompt-container .prompt-body .reviewers-heading{font-weight:700;font-size:26px;padding-left:10px}#reviewersid .prompt-container .prompt-body .reviewers-subheading{padding-left:10px;font-size:16px;font-weight:500}#reviewersid .prompt-container .prompt-body form{height:500px;overflow-y:auto}#reviewersid .prompt-container .prompt-body h3{font-weight:700}#reviewersid .prompt-container .prompt-footer{text-align:center}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/assign-reviewers.component.scss\"],\"names\":[],\"mappings\":\"AAAA,mBAEQ,WAAW,6BACkB,MAIvB,OACC,WACK,aACE,CAVtB,uBAaQ,YAAY,UACD,CAdnB,kBAwBQ,YAAa,CAxBrB,gBA2BQ,aAAc,CA3BtB,oEA8BE,eAAmB,CA9BrB,+BAiCQ,cAAc,eACC,cACD,aACD,gBACG,iBACC,iBACA,QACT,SACC,UACC,sBACa,qBACD,CA5C9B,uCA+CY,cAAc,cACA,kBACI,SACT,OACF,cACQ,CApD3B,2CAsDgB,aAAc,CAtD9B,2CA0DY,eAAe,YACH,gBACI,SACN,CA7DtB,6CA+DgB,aAAc,CA/D9B,sDAoEgB,8EAAqF,aACxE,WACF,oBACS,gBACH,CAxEjC,+DA2EgB,gBAAiB,eACF,iBACG,CA7ElC,kEAgFgB,kBAAkB,eACH,eACC,CAlFhC,iDAsFgB,aAAa,eACG,CAvFhC,+CA0FgB,eAAiB,CA1FjC,8CA8FY,iBAAkB,CAMrB\",\"file\":\"assign-reviewers.component.scss\",\"sourcesContent\":[\"#reviewersid {\\r\\n &:after {\\r\\n content: '';\\r\\n background-color: transparent;\\r\\n //width: 100%;\\r\\n //height: 2500px;\\r\\n //position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n opacity: 0.5;\\r\\n z-index: 99998;\\r\\n }\\r\\n .reviewer {\\r\\n width: 250px;\\r\\n float: left;\\r\\n }\\r\\n // background-color: #9c9090;\\r\\n // width: 100%;\\r\\n // height: 1500px;\\r\\n // position: absolute;\\r\\n // top: 0;\\r\\n // opacity: .5;\\r\\n // filter: Alpha(Opacity=50);\\r\\n &.hide {\\r\\n display: none;\\r\\n }\\r\\n h1 {\\r\\n color: #2e536e;\\r\\n\\t}\\r\\n\\t.reviewers-selection mat-checkbox .mat-checkbox-layout{\\r\\n\\t\\tfont-weight: normal;\\r\\n\\t}\\r\\n .prompt-container {\\r\\n z-index: 99999;\\r\\n position: fixed;\\r\\n margin: 0 auto;\\r\\n padding: 20px;\\r\\n min-width: 600px;\\r\\n max-width: 1000px;\\r\\n min-height: 150px;\\r\\n top: 15%;\\r\\n left: 10%;\\r\\n right: 10%;\\r\\n background-color: white;\\r\\n border: 1px solid #333;\\r\\n // border: 5px solid black;\\r\\n .closeX {\\r\\n color: #959595;\\r\\n font-size: 2em;\\r\\n position: absolute;\\r\\n right: 3%;\\r\\n top: 3%;\\r\\n cursor: pointer;\\r\\n & .fa {\\r\\n color: #959595;\\r\\n }\\r\\n }\\r\\n .prompt-box {\\r\\n padding: 5% 10%;\\r\\n height: 100%;\\r\\n font-weight: 700;\\r\\n width: 96%;\\r\\n p {\\r\\n margin: 20px 0;\\r\\n }\\r\\n }\\r\\n .prompt-body {\\r\\n .stophere {\\r\\n background: url('/assets/_images/error-grey.png') center center transparent no-repeat;\\r\\n height: 100px;\\r\\n width: auto;\\r\\n background-size: 15%;\\r\\n margin-bottom: 5%;\\r\\n }\\r\\n .reviewers-heading {\\r\\n font-weight: bold;\\r\\n font-size: 26px;\\r\\n padding-left: 10px;\\r\\n }\\r\\n .reviewers-subheading {\\r\\n padding-left: 10px;\\r\\n font-size: 16px;\\r\\n font-weight: 500;\\r\\n }\\r\\n form {\\r\\n //margin-top: 20px;\\r\\n height: 500px;\\r\\n overflow-y: auto;\\r\\n }\\r\\n h3 {\\r\\n font-weight: bold;\\r\\n }\\r\\n }\\r\\n .prompt-footer {\\r\\n text-align: center;\\r\\n // padding-top: 10%;\\r\\n // padding-bottom: 10px;\\r\\n // button {\\r\\n // padding: 25px 0;\\r\\n // }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/assign-reviewers.component.scss\n// module id = Lw5D\n// module chunks = 7","module.exports = \"
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n

{{dialogService.textHeader}}

\\r\\n
\\r\\n
\\r\\n

\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    {{dialogService.leftButtonText}}
    \\r\\n
     
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    {{dialogService.rightButtonText}}
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/text-dialog.component.html\n// module id = MucK\n// module chunks = 7","import { Injectable } from '@angular/core';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n// Interfaces\r\nimport { IService } from '../../interfaces';\r\n\r\n@Injectable()\r\nexport class LogService implements IService {\r\n // implements local variables\r\n // *\r\n\r\n // implements IService\r\n name = 'LogService';\r\n test(name, value) {\r\n console.log('testing', name, value);\r\n }\r\n\r\n\r\n constructor() { }\r\n\r\n Debug(module: string, messages: any[]) {\r\n if (environment.LogDebug) {\r\n this._log('DEBUG' + ' | ' + module, messages);\r\n }\r\n }\r\n\r\n DebugMsg(module: string, message: string) {\r\n if (environment.LogDebug) {\r\n this._log('DEBUG' + ' | ' + module, message);\r\n }\r\n }\r\n\r\n Info(mod: string, messages: any[], sendEmail?: boolean) {\r\n if (environment.LogInfo) {\r\n this._log('INFO' + ' | ' + module, messages);\r\n }\r\n // send email\r\n // if (sendEmail) {\r\n // this._emailService.sendToDev(\r\n // messages.join(' | '),\r\n // 'INFO',\r\n // 'Info from CUAP'\r\n // ).subscribe(success => {\r\n // 'An email was sent'.log(this.name);\r\n // }, err => {\r\n // 'An error occured while sending an email: '.logWithObject(this.name, err);\r\n // });\r\n // }\r\n // send to server\r\n this._serverLog(false, mod, messages, '');\r\n }\r\n\r\n Error(mod: string, messages: any[], stack = '') {\r\n if (environment.LogError) {\r\n this._log('ERROR' + ' | ' + module, messages);\r\n }\r\n\r\n // this._emailService.sendToDev(\r\n // messages.join(' | '),\r\n // 'ERROR',\r\n // 'Error from CUAP'\r\n // ).subscribe(success => {\r\n // 'An email was sent'.log(this.name);\r\n // }, err => {\r\n // 'An error occured while sending an email: '.logWithObject(this.name, err);\r\n // });\r\n\r\n // send to server\r\n this._serverLog(true, mod, messages, stack);\r\n }\r\n\r\n\r\n\r\n private _log(module: string, messages: any) {\r\n //console.log(environment.base.name + ' | ' + module.toUpperCase() + ' | ', messages);\r\n }\r\n\r\n private _handleError(error: Response, caugth: Observable) {\r\n return Observable.throw(error);\r\n }\r\n\r\n private _serverLog(isError: boolean, mod: string, messages: any[], stack = '') {\r\n const msgs = [];\r\n msgs.push(environment.base.name);\r\n msgs.push(environment.base.version);\r\n messages.forEach(m => {\r\n msgs.push(JSON.stringify(m));\r\n });\r\n\r\n // send to server\r\n // this._errorService.ServerLog(\r\n // isError,\r\n // {\r\n // name: mod,\r\n // message: msgs.join(' | '),\r\n // stack: stack\r\n // }).subscribe();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/services/log/log.service.ts","import {\r\n\tComponent,\r\n\tOnInit,\r\n\tOutput,\r\n\tOnChanges,\r\n\tInput,\r\n\tEventEmitter\r\n} from \"@angular/core\";\r\nimport { IHospitalModel } from \"../../interfaces\";\r\n@Component({\r\n\tselector: \"app-searchbox\",\r\n\ttemplateUrl: \"./searchbox.component.html\",\r\n\tstyleUrls: [\"./searchbox.component.scss\"]\r\n})\r\nexport class SearchboxComponent implements OnInit, OnChanges {\r\n\t@Input() HOSPITALS: IHospitalModel[];\r\n\t@Output() Click = new EventEmitter(true);\r\n\r\n\r\n\r\n\r\n\r\n\t@Input() CONTACTS: any;\r\n\t@Output() contactClick = new EventEmitter(true);\r\n\r\n\t@Input() contactList = false;\r\n\r\n\t@Input() SHOWADDNEWITEM = true;\r\n\r\n\t@Input() NEWITEMTEXT = 'I do not see my ED site';\r\n\r\n\tconstructor() { }\r\n\r\n\tngOnInit() { }\r\n\r\n\tngOnChanges() {\r\n\t\t\"search box\".logWithObject(\"hospitals\", this.HOSPITALS);\r\n\t}\r\n\r\n\tOnHospitalClick(model: IHospitalModel) {\r\n\t\tthis.Click.emit(model);\r\n\t}\r\n\r\n\tOnNewHospitalClick() {\r\n\t\tthis.Click.emit(undefined);\r\n\t}\r\n\r\n\tOnContactCLick(model: IHospitalModel) {\r\n\t\tthis.contactClick.emit(model);\r\n\t}\r\n\r\n\tOnNewContactClick() {\r\n\t\tthis.contactClick.emit(undefined);\r\n\t}\r\n\r\n\r\n\r\n\tgetAddress(model: IHospitalModel) {\r\n\t\t//return `${model.Hospital.Address.City}, ${model.Hospital.Address.State}`;\r\n\r\n\t\tlet s = model.Hospital.Address.City ? model.Hospital.Address.City : \"\";\r\n\t\ts += model.Hospital.Address.State\r\n\t\t\t? \", \" + model.Hospital.Address.State\r\n\t\t\t: \"\";\r\n\t\ts += model.Hospital.Address.Country\r\n\t\t\t? \", \" + model.Hospital.Address.Country\r\n\t\t\t: \"\";\r\n\r\n\t\treturn s;\r\n\t}\r\n\r\n\tgetContactAddress(model: any) {\r\n\t\t//return `${model.Hospital.Address.City}, ${model.Hospital.Address.State}`;\r\n\r\n\t\tlet s = model.city ? model.city : \"\";\r\n\t\ts += model.state\r\n\t\t\t? \", \" + model.state\r\n\t\t\t: \"\";\r\n\t\ts += model.country\r\n\t\t\t? \", \" + model.country\r\n\t\t\t: \"\";\r\n\r\n\t\treturn s;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/searchbox/searchbox.component.ts","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"#terms_Conditions iframe{min-width:200px;width:100%;min-height:450px;max-height:450px;border:1px solid gray}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/terms.component.scss\"],\"names\":[],\"mappings\":\"AAAA,yBAEQ,gBAAgB,WACL,iBACM,iBACA,qBACK,CACzB\",\"file\":\"terms.component.scss\",\"sourcesContent\":[\"#terms_Conditions{\\r\\n iframe{\\r\\n min-width: 200px; \\r\\n width: 100%;\\r\\n min-height: 450px;\\r\\n max-height: 450px;\\r\\n border: 1px solid gray;\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/terms.component.scss\n// module id = PRGL\n// module chunks = 7","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"#menu .container{width:auto;padding:5px 0}#menu .container div{display:inline-block;padding:10px;height:auto}#menu .container div:not(:last-child){border-right:1px solid #000}#menu .container .section div{border:none;display:table;margin:0;height:auto}#menu .container .section div:nth-child(2){padding:0;padding-left:10px}@media screen and (max-width:768px){#menu{font-size:.6em!important}}@media screen and (max-width:992px){#menu .section.hidden-sm{display:none!important}}@media screen and (max-width:1200px){#menu{font-size:.85em!important}#menu .section.hidden-m{display:none!important}}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/menu.component.scss\"],\"names\":[],\"mappings\":\"AAAA,iBAEQ,WAAW,aACG,CAHtB,qBAMY,qBAAqB,aACR,WACD,CARxB,sCAUgB,2BAA6B,CAV7C,8BAegB,YAAY,cACE,SACL,WACG,CAlB5B,2CAoBoB,UAAU,iBACQ,CACrB,oCAtBjB,MA8BQ,wBAA2B,CAqBlC,CAjBG,oCAlCJ,yBAqCgB,sBAAwB,CAC3B,CAAA,qCAtCb,MA4CQ,yBAA2B,CA5CnC,wBA+CgB,sBAAwB,CAC3B,CAAA\",\"file\":\"menu.component.scss\",\"sourcesContent\":[\"#menu{\\r\\n .container{\\r\\n width: auto;\\r\\n padding: 5px 0;\\r\\n // display: block;\\r\\n div{\\r\\n display: inline-block;\\r\\n padding: 10px;\\r\\n height: auto; \\r\\n &:not(:last-child){\\r\\n border-right: solid 1px black;\\r\\n }\\r\\n }\\r\\n .section{ \\r\\n div{\\r\\n border: none;\\r\\n display: table;\\r\\n margin: 0;\\r\\n height: auto;\\r\\n &:nth-child(2){\\r\\n padding: 0;\\r\\n padding-left: 10px;\\r\\n }\\r\\n }\\r\\n }\\r\\n \\r\\n }\\r\\n\\r\\n // extra small\\r\\n @media screen and (max-width: 768px){\\r\\n font-size: .60em !important; \\r\\n }\\r\\n\\r\\n // small\\r\\n @media screen and (max-width: 992px){ \\r\\n .section{\\r\\n &.hidden-sm{\\r\\n display: none !important;\\r\\n }\\r\\n }\\r\\n }\\r\\n\\r\\n // medium ≥1200px\\r\\n @media screen and (max-width: 1200px){ \\r\\n font-size: .85em !important; \\r\\n .section{\\r\\n &.hidden-m{\\r\\n display: none !important;\\r\\n }\\r\\n }\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/menu.component.scss\n// module id = PVJT\n// module chunks = 7","module.exports = \"
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n\\r\\n
loading ...
\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/menu.component.html\n// module id = Pc27\n// module chunks = 7","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { RoleEnum } from '../enums';\r\nimport { enums } from '../classes';\r\n@Pipe({\r\n name: 'RoleFilter'\r\n})\r\nexport class RolePipe implements PipeTransform {\r\n\r\n transform(value: RoleEnum, arg: string): any {\r\n // const filters = ['of', 'and', 'or'];\r\n // console.log('CapitalizePipe', value.split(' '));\r\n // value.split(' ').forEach(s => {\r\n // console.log('CapitalizePipe', s);\r\n // if (!filters.find(x => x.toUpperCase() === s.toUpperCase())) {\r\n\r\n // s.charAt(0).toUpperCase();\r\n // console.log('Capitalized', s);\r\n // }\r\n // });\r\n // console.log('CapitalizePipe', value);\r\n if (value === undefined) {\r\n return '--';\r\n } else {\r\n return enums.RoleToString(value);\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/role.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IProfile, IContact } from '../interfaces';\r\n@Pipe({\r\n name: 'ProfileFilter'\r\n})\r\nexport class ProfilePipe implements PipeTransform {\r\n\r\n transform(value: IContact , arg: string): any {\r\n // const filters = ['of', 'and', 'or'];\r\n // console.log('CapitalizePipe', value.split(' '));\r\n // value.split(' ').forEach(s => {\r\n // console.log('CapitalizePipe', s);\r\n // if (!filters.find(x => x.toUpperCase() === s.toUpperCase())) {\r\n\r\n // s.charAt(0).toUpperCase();\r\n // console.log('Capitalized', s);\r\n // }\r\n // });\r\n // console.log('CapitalizePipe', value);\r\n if (value === undefined) {\r\n return '--';\r\n } else {\r\n return value.Profile[arg];\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/profile.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IPosition } from '../interfaces';\r\nimport { ApplicantPositionEnum } from '../enums';\r\n@Pipe({\r\n name: 'HasRoleFilter'\r\n})\r\nexport class HasRolePipe implements PipeTransform {\r\n\r\n transform(value: IPosition, args: ApplicantPositionEnum): boolean {\r\n console.log('HasRolePipe', {value: value, args: args})\r\n if (value === undefined || args === undefined) {\r\n return false;\r\n } else {\r\n try {\r\n const role = +value.Order;\r\n const arg = args[0];\r\n console.log('HasRolePipe', {value: value, arg: arg, retrun: role >= arg})\r\n if (role >= arg) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } catch (err) {\r\n return false;\r\n }\r\n\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/hasRole.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IPosition } from '../interfaces';\r\nimport { ApplicantPositionEnum } from '../enums';\r\n@Pipe({\r\n name: 'HasMoreRoleFilter'\r\n})\r\nexport class HasMoreRolePipe implements PipeTransform {\r\n\r\n transform(value: IPosition, args: IPosition): boolean {\r\n console.log('HasMoreRolePipe', {value: value, args: args})\r\n if (value === undefined || args === undefined) {\r\n return false;\r\n } else {\r\n try {\r\n const role = value.Order;\r\n const arg = args[0];\r\n console.log('HasMoreRolePipe', {value: value, arg: arg, retrun: role > arg.Order})\r\n if (role > arg.Order) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } catch (err) {\r\n return false;\r\n }\r\n\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/hasMoreRole.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'toLocalDate'\r\n})\r\nexport class ToLocalDatePipe implements PipeTransform {\r\n\r\n transform(value: Date, format: string): String {\r\n // offset = value.getTimezoneOffset();\r\n console.log('Value', value, typeof(value));\r\n // let d = new Date(value.setMinutes(value.getMinutes() - offset));\r\n const d = new Date(value);\r\n console.log('d', d, typeof(d));\r\n return d.toLocaleDateString();\r\n // + ' ' + value.toLocaleTimeString();\r\n\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/to-local-date.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'utcToLocal'\r\n})\r\nexport class UtcToLocalPipe implements PipeTransform {\r\n\r\n transform(value: Date, format: string): String {\r\n let offset = value.getTimezoneOffset();\r\n // console.log('offset', value, value.getMinutes());\r\n // let d = new Date(value.setMinutes(value.getMinutes() - offset));\r\n let str = value.toLocaleDateString() + ' ' + value.toLocaleTimeString();\r\n // console.log('offset', value, d, str);\r\n return str;\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/utc-to-local.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IApplicationModel, IStep } from '../interfaces';\r\nimport { ApplicantPositionEnum } from '../enums';\r\n@Pipe({\r\n name: 'StepCompletedFilter'\r\n})\r\nexport class IsStepCompletedPipe implements PipeTransform {\r\n\r\n transform(value: IApplicationModel, args: string): boolean {\r\n // console.log('IsStepCompletedPipe', { value: value, args: args });\r\n let result = false;\r\n if (value === undefined || args === undefined) {\r\n\r\n } else {\r\n try {\r\n const model = value.Application.Steps.find(s => s.Name === args[0]);\r\n result = model.IsCompleted;\r\n } catch (err) {\r\n\r\n }\r\n }\r\n 'result'.logWithObject('IsStepCompletedPipe', result);\r\n return result;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/isStepCompleted.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IApplicationModel, IStep } from '../interfaces';\r\nimport { ApplicantPositionEnum } from '../enums';\r\n@Pipe({\r\n\tname: 'ApplicationCompletedFilter'\r\n})\r\nexport class IsApplicationCompletedPipe implements PipeTransform {\r\n\r\n\ttransform(value: IApplicationModel, args: string): boolean {\r\n\t\tconsole.log('IsApplicationCompletedPipe', { value: value, args: args });\r\n\t\tlet result = false;\r\n\t\tif (value === undefined || args === undefined) {\r\n\r\n\t\t} else {\r\n\t\t\ttry {\r\n\t\t\t\tif (value.Application.Steps.length > 0) { // NH - 1/5/18 - adding this so you cannot submit right after creating an application\r\n\t\t\t\t\tconst model = value.Application.Steps.every(s => s.IsCompleted);\r\n\t\t\t\t\tresult = model;\r\n\t\t\t\t}\r\n\t\t\t} catch (err) {\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t\t'result'.logWithObject('IsApplicationCompletedPipe', result);\r\n\t\treturn result;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/isApplicationCompleted.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IApplication, IApplicationsModel, IApplicationModel } from '../interfaces';\r\nimport { ApplicationStatusEnum } from '../enums';\r\n\r\n@Pipe({\r\n name: 'ApplicationStatusFilter'\r\n})\r\n\r\nexport class ApplicationStatusPipe implements PipeTransform {\r\n\r\n\r\n transform(value: IApplicationsModel, args: ApplicationStatusEnum[]): IApplicationModel[] {\r\n const name = 'ApplicationStatusFilter';\r\n name.logWithObject('Filtering applications', { value: value, args: args });\r\n if (value === undefined || args === undefined) {\r\n return undefined;\r\n } else {\r\n try {\r\n const list = value.Applications.filter(a => args.includes(a.Application.Status));\r\n return list;\r\n } catch (err) {\r\n name.logWithObject('Error in filtering applications', err);\r\n return undefined;\r\n }\r\n }\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/application-status.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IReviewer, IReviewerModel, IReviewersModel } from '../interfaces';\r\nimport { RoleEnum } from '../enums';\r\n\r\n@Pipe({\r\n name: 'ReviewerRoleFilter'\r\n})\r\n\r\nexport class ReviewerRolePipe implements PipeTransform {\r\n\r\n\r\n transform(value: IReviewersModel, args: RoleEnum[]): IReviewerModel[] {\r\n const name = 'ApplicationStatusFilter';\r\n name.logWithObject('Filtering Reviewers', { value: value, args: args });\r\n if (value === undefined || args === undefined) {\r\n return undefined;\r\n } else {\r\n try {\r\n const list = value.Reviewers.filter(a => args.includes(a.Reviewer.PositionId));\r\n return list;\r\n } catch (err) {\r\n name.logWithObject('Error in filtering Reviewers', err);\r\n return undefined;\r\n }\r\n }\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/reviewer-role.pipe.ts","import { Pipe, PipeTransform } from '@angular/core';\r\nimport { IReviewer, IReviewerModel, IReviewersModel } from '../interfaces';\r\nimport { RoleEnum } from '../enums';\r\n\r\n@Pipe({\r\n name: 'ReviewerBlockFilter'\r\n})\r\n\r\nexport class ReviewerBlockPipe implements PipeTransform {\r\n\r\n\r\n transform(value: IReviewerModel[], args: any): IReviewerModel[] {\r\n const name = 'ApplicationStatusFilter';\r\n // name.logWithObject('Filtering Reviewers', { value: value, args: args });\r\n if (value === undefined || args === undefined) {\r\n return undefined;\r\n } else {\r\n try {\r\n const list = value.filter(a => a.Reviewer.ContactId != args);\r\n return list;\r\n } catch (err) {\r\n name.logWithObject('Error in filtering Reviewers', err);\r\n return undefined;\r\n }\r\n }\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/pipes/reviewer-block.pipe.ts","module.exports = \"
\\r\\n
GEDA Application Portal
\\r\\n
Accreditation Levels
\\r\\n
\\r\\n

\\r\\n The Geriatric Emergency Department Accreditation (GEDA) program is an ACEP governed national accreditation program which strives to improve the care of older adults presenting to the ED. This accreditation system promotes the goals of quality care for\\r\\n older adult patients: enhanced staffing and education; geriatric focused policies and protocols including transitions of care; quality improvement and outcomes; and optimal preparation of the physical environment.\\r\\n

\\r\\n

\\r\\n The program offers three levels of accreditation with increasing requirements. Level 3 is designed to be within reach of every hospital, and Levels 2 and 1 are designed to reflect an increasing commitment to senior specific care in the ED. We encourage\\r\\n hospitals to start at the level most appropriate for their institution given current resources and strive to reach higher levels of accreditation over time. To help determine which level is most appropriate for your institution see\\r\\n FAQs. See a list of accredited sites here.\\r\\n

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/main/main.component.html\n// module id = TGOV\n// module chunks = 7","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"#pagination{visibility:hidden;display:none}#pagination .col:after{content:\\\"|\\\";color:transparent;line-height:33px}#pagination .pagination{margin:0}#pagination .pagination a{cursor:pointer}#pagination .pagination a.disabled{cursor:not-allowed}#pagination .pagination a.selected{background-color:#2e536e;color:#fff}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/pagination.component.scss\"],\"names\":[],\"mappings\":\"AAAA,YACI,kBAAkB,YACL,CAFjB,uBAKY,YAAY,kBACM,gBACD,CAP7B,wBAWQ,QAAS,CAXjB,0BAaY,cAAe,CAb3B,mCAegB,kBAAmB,CAfnC,mCAkBgB,yBAAyB,UACb,CACf\",\"file\":\"pagination.component.scss\",\"sourcesContent\":[\"#pagination {\\r\\n visibility: hidden;\\r\\n display: none;\\r\\n .col {\\r\\n &:after {\\r\\n content: '|';\\r\\n color: transparent;\\r\\n line-height: 33px;\\r\\n }\\r\\n }\\r\\n .pagination {\\r\\n margin: 0;\\r\\n a {\\r\\n cursor: pointer;\\r\\n &.disabled {\\r\\n cursor: not-allowed;\\r\\n }\\r\\n &.selected {\\r\\n background-color: #2e536e;\\r\\n color: white;\\r\\n }\\r\\n }\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/pagination.component.scss\n// module id = UsGJ\n// module chunks = 7","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"main.component.scss\",\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/main/main.component.scss\n// module id = V72S\n// module chunks = 7","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"app.component.scss\",\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.component.scss\n// module id = W675\n// module chunks = 7","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"#promptid:after{content:\\\"\\\";background-color:transparent;top:0;left:0;opacity:.5;z-index:99998}#promptid.hide{display:none}#promptid .prompt-container{z-index:99999;position:fixed;margin:0 23%;padding:20px;min-width:450px;max-width:1000px;min-height:150px;top:15%;left:10%;right:10%;background-color:#fff;border:1px solid #ccc}#promptid .prompt-container .closeX{color:#959595;font-size:2em;position:absolute;right:3%;top:3%;cursor:pointer}#promptid .prompt-container .closeX .fa{color:#959595}#promptid .prompt-container .prompt-box{padding:5%;height:100%;font-weight:700;width:96%}#promptid .prompt-container .prompt-box p{margin:20px 0}#promptid .prompt-container .prompt-body .stophere{background:url(/geda/assets/_images/error-grey.png) 50% transparent no-repeat;height:100px;width:auto;background-size:15%;margin-bottom:5%}#promptid .prompt-container .prompt-body .reviewers-heading{font-weight:700;font-size:26px;padding-left:10px}#promptid .prompt-container .prompt-body .reviewers-subheading{padding-left:10px;font-size:16px;font-weight:500}#promptid .prompt-container .prompt-body form{margin-top:20px}#promptid .prompt-container .prompt-footer{text-align:center}.smallerWidthPrompt .prompt-container{width:50%}.smallerWidthPrompt .prompt-container *{text-align:center}.smallerWidthPrompt .prompt-container .prompt-box{width:100%!important}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/prompt.component.scss\"],\"names\":[],\"mappings\":\"AAAA,gBAEQ,WAAW,6BACkB,MAIvB,OACC,WACK,aACE,CAVtB,eAoBQ,YAAa,CApBrB,4BAwBQ,cAAc,eACC,aACF,aACA,gBACG,iBACC,iBACA,QACT,SACC,UACC,sBACa,qBACD,CAnC9B,oCAuCY,cAAc,cACA,kBACI,SACT,OACF,cACQ,CA5C3B,wCA8CgB,aAAc,CA9C9B,wCAkDY,WAAW,YACC,gBACK,SACP,CArDtB,0CAuDI,aAAc,CAvDlB,mDA6DgB,8EAAqF,aACxE,WACF,oBACS,gBACH,CAjEjC,4DAoEgB,gBAAiB,eACF,iBACG,CAtElC,+DAyEgB,kBAAkB,eACH,eACC,CA3EhC,8CA8EgB,eAAgB,CA9EhC,2CAkFY,iBAAkB,CAMrB,sCAIR,SAAU,CADX,wCAIE,iBAAkB,CAJpB,kDAOE,oBAAsB,CACtB\",\"file\":\"prompt.component.scss\",\"sourcesContent\":[\"#promptid {\\r\\n &:after {\\r\\n content: '';\\r\\n background-color: transparent;\\r\\n //width: 100%;\\r\\n //height: 2500px;\\r\\n //position: absolute;\\r\\n top: 0;\\r\\n left: 0;\\r\\n opacity: 0.5;\\r\\n z-index: 99998;\\r\\n }\\r\\n // background-color: #9c9090;\\r\\n // width: 100%;\\r\\n // height: 1500px;\\r\\n // position: absolute;\\r\\n // top: 0;\\r\\n // opacity: .5;\\r\\n // filter: Alpha(Opacity=50);\\r\\n &.hide {\\r\\n display: none;\\r\\n\\t}\\r\\n\\r\\n .prompt-container {\\r\\n z-index: 99999;\\r\\n position: fixed;\\r\\n margin: 0 23%;\\r\\n padding: 20px;\\r\\n min-width: 450px;\\r\\n max-width: 1000px;\\r\\n min-height: 150px;\\r\\n top: 15%;\\r\\n left: 10%;\\r\\n right: 10%;\\r\\n background-color: white;\\r\\n border: 1px solid #ccc;\\r\\n\\t\\t// border: 5px solid black;\\r\\n\\r\\n .closeX {\\r\\n color: #959595;\\r\\n font-size: 2em;\\r\\n position: absolute;\\r\\n right: 3%;\\r\\n top: 3%;\\r\\n cursor: pointer;\\r\\n & .fa {\\r\\n color: #959595;\\r\\n }\\r\\n }\\r\\n .prompt-box {\\r\\n padding: 5%;\\r\\n height: 100%;\\r\\n font-weight: bold;\\r\\n width: 96%;\\r\\n p {\\r\\n\\t\\t\\t\\tmargin: 20px 0;\\r\\n\\r\\n }\\r\\n }\\r\\n .prompt-body {\\r\\n .stophere {\\r\\n background: url('/assets/_images/error-grey.png') center center transparent no-repeat;\\r\\n height: 100px;\\r\\n width: auto;\\r\\n background-size: 15%;\\r\\n margin-bottom: 5%;\\r\\n }\\r\\n .reviewers-heading {\\r\\n font-weight: bold;\\r\\n font-size: 26px;\\r\\n padding-left: 10px;\\r\\n }\\r\\n .reviewers-subheading {\\r\\n padding-left: 10px;\\r\\n font-size: 16px;\\r\\n font-weight: 500;\\r\\n }\\r\\n form {\\r\\n margin-top: 20px;\\r\\n }\\r\\n }\\r\\n .prompt-footer {\\r\\n text-align: center;\\r\\n // padding-top: 10%;\\r\\n // padding-bottom: 10px;\\r\\n // button {\\r\\n // padding: 25px 0;\\r\\n // }\\r\\n }\\r\\n\\t}\\r\\n}\\r\\n.smallerWidthPrompt .prompt-container {\\r\\n\\twidth: 50%;\\r\\n\\r\\n\\t* {\\r\\n\\t\\ttext-align: center;\\r\\n\\t}\\r\\n\\t.prompt-box {\\r\\n\\t\\twidth: 100% !important;\\r\\n\\t}\\r\\n}\\r\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/prompt.component.scss\n// module id = WRCZ\n// module chunks = 7","import {\r\n\tIApplicationCreate,\r\n\tIApplicationForm,\r\n\tIApplicationModel,\r\n\tIApplication,\r\n\tIApplicant,\r\n\tIHospital,\r\n\tIContactModelBasic,\r\n\tIContact,\r\n\tIAddress,\r\n\tIEmail,\r\n\tIPhone,\r\n\tILink\r\n} from \"../../share/interfaces\";\r\n\r\nimport { ApplicationStatusEnum } from \"../../share/enums\";\r\n\r\nexport interface IApplicationModel {\r\n\tConvertToForm: () => IApplicationForm;\r\n}\r\n\r\nexport class ApplicationModel implements IApplicationModel {\r\n\tApplicantContactId: string;\r\n\tApplication: IApplication;\r\n\tLinks: ILink[];\r\n\tURL: string;\r\n\tKey: string;\r\n\tStatus: number;\r\n\tStatusReason: string;\r\n\tConvertToForm: () => IApplicationForm;\r\n}\r\n\r\nexport class ApplicationCreateForm implements IApplicationCreate {\r\n\tId: string;\r\n\tParentId: string;\r\n\tApplicantContactId: string;\r\n\tAccountId: string;\r\n\tName: string;\r\n\tLevel: number;\r\n\tApplyingAsAHealthSystem: boolean;\r\n\tNumberOfEdsServingOlderAdults: number;\r\n\tUtilizingTeleMedForGeriatric: boolean;\r\n\r\n\tApplicationCreatedBy: IContactModelBasic;\r\n\tApplicant: IApplicant;\r\n\tHospital: IHospital;\r\n\tApplicationModifiedOn: Date;\r\n\tApplicationModifiedBy: IContactModelBasic;\r\n}\r\n\r\nexport interface IApplicationForm {\r\n\tConvertToCreateModel: (userContact) => IApplicationCreate;\r\n\tSetApplicantContact: (applicantContaact: IContact) => void;\r\n\tGetApplication: (application: IApplicationForm) => void;\r\n}\r\n\r\nexport class ApplicationForm implements IApplicationForm {\r\n\tId: string;\r\n\tParentId: string;\r\n\tApplicantContactId: string;\r\n\tAccountId: string;\r\n\tAccountNumber: string;\r\n\tName: string;\r\n\tStatus: ApplicationStatusEnum;\r\n\tLevel: number;\r\n\r\n\tApplicantFirstName: string;\r\n\tApplicantLastName: string;\r\n\tApplicantFullName: string;\r\n\tApplicantAddressLine1: string;\r\n\tApplicantAddressLine2: string;\r\n\tApplicantAddressCity: string;\r\n\tApplicantAddressState: string;\r\n\tApplicantAddressZip: string;\r\n\tApplicantPhone: string;\r\n\tApplicantPhoneType: string;\r\n\tApplicantEmail: string;\r\n\tApplicantPosition: string;\r\n\r\n\tHospitalName: string;\r\n\tCeoName: string;\r\n\tCeoId: string;\r\n\tCeoFirst: string;\r\n\tCeoLast: string;\r\n\tCeoEmail: string;\r\n\tCeoRole: string;\r\n\tHospitalAddressLine1: string;\r\n\tHospitalAddressLine2: string;\r\n\tHospitalAddressCity: string;\r\n\tHospitalAddressState: string;\r\n\tHospitalAddressCountry: string;\r\n\tHospitalAddressZip: string;\r\n\tHospitalPhone: string;\r\n\tHospitalCategoryId: string;\r\n\r\n\tHealthSystemName: string;\r\n\tHealthSystemId: string;\r\n\tApplyingAsAHealthSystem: boolean;\r\n\r\n\tNumberOfEdsServingOlderAdults: number;\r\n\tUtilizingTeleMedForGeriatric: boolean;\r\n\r\n\tConvertToCreateModel: (userContact) => IApplicationCreate;\r\n\tSetApplicantContact: (applicantContact: IContact) => void;\r\n\tGetApplication: (application: IApplicationForm) => void;\r\n}\r\n\r\nexport class ApplicationStatus {\r\n\tstatic ApplicationEnumToString(status: ApplicationStatusEnum) {\r\n\t\treturn this.ToString(String(ApplicationStatusEnum[status]));\r\n\t}\r\n\r\n\tstatic ToString(s: string): string {\r\n\t\ts = s.replace(\"_\", \" \");\r\n\t\treturn s;\r\n\t}\r\n\r\n\tstatic GetStatus(value: number): string {\r\n\t\tif (value == 8) {\r\n\t\t\tvalue = 12;\r\n\t\t}\r\n\t\treturn this.ToString(ApplicationStatusEnum[value]);\r\n\t}\r\n\r\n\tstatic GetEnum(value: number): ApplicationStatusEnum {\r\n\t\tif (value == 8) {\r\n\t\t\tvalue = 12;\r\n\t\t}\r\n\t\treturn value;\r\n\t}\r\n\r\n\tstatic ToEnum(value: string): ApplicationStatusEnum {\r\n\t\t\"ToEnum\".logWithObject(\"toenum\", value);\r\n\t\tif (value !== undefined) {\r\n\t\t\tconst s = value.trim().replace(\" \", \"_\");\r\n\t\t\tconst e = ApplicationStatusEnum[s];\r\n\t\t\treturn e;\r\n\t\t} else {\r\n\t\t\treturn ApplicationStatusEnum.None;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nApplicationForm.prototype.GetApplication = function (app: IApplicationForm) {\r\n\tconst a = this;\r\n\tObject.keys(app).forEach(key => (a[key] = app[key]));\r\n};\r\n\r\nApplicationForm.prototype.SetApplicantContact = function (\r\n\tapplicantContact: IContact\r\n) {\r\n\tthis.ApplicantContactId = applicantContact.Id;\r\n\tthis.ApplicantFirstName = applicantContact.Profile.FirstName;\r\n\tthis.ApplicantLastName = applicantContact.Profile.LastName;\r\n\tthis.ApplicantFullName = applicantContact.FullName;\r\n\tthis.ApplicantPhone = applicantContact.PrimaryPhone.Num;\r\n\tthis.ApplicantEmail = applicantContact.Email1.Address;\r\n\tthis.ApplicantAddressCity = applicantContact.Address1.City;\r\n\tthis.ApplicantAddressZip = applicantContact.Address1.PostalCode;\r\n\tthis.ApplicantAddressState = applicantContact.Address1.State;\r\n};\r\n\r\nApplicationForm.prototype.ConvertToCreateModel = function (\r\n\tuserContact: IContact\r\n) {\r\n\tconst form = this;\r\n\tconst currentDate = new Date();\r\n\tconst user: IContactModelBasic = {\r\n\t\tAcepId: userContact.AcepId,\r\n\t\tFullName: userContact.FullName,\r\n\t\tId: userContact.Id,\r\n\t\tCreatedOn: userContact.CreatedOn\r\n\t};\r\n\tconst applicantAddress: IAddress = {\r\n\t\tCity: form.ApplicantAddressCity,\r\n\t\tLine1: form.ApplicantAddressLine1,\r\n\t\tLine2: form.ApplicantAddressLine2,\r\n\t\tName: \"\",\r\n\t\tPostalCode: form.ApplicantAddressZip,\r\n\t\tState: form.ApplicantAddressState,\r\n\t\tCountry: \"\"\r\n\t};\r\n\tconst applicantEmail: IEmail = {\r\n\t\tAddress: form.ApplicantEmail,\r\n\t\tName: \"\"\r\n\t};\r\n\tconst applicantPhone: IPhone = {\r\n\t\tNum: form.ApplicantPhone,\r\n\t\tName: form.ApplicantPhoneType\r\n\t};\r\n\tconst applicant: IApplicant = {\r\n\t\tAddress: applicantAddress,\r\n\t\tContactId: form.ApplicantContactId,\r\n\t\tEmail: applicantEmail,\r\n\t\tFirstName: form.ApplicantFirstName,\r\n\t\tFullName: form.ApplicantFullName,\r\n\t\tLastName: form.ApplicantLastName,\r\n\t\tPhone: applicantPhone,\r\n\t\tPosition: form.ApplicantPosition\r\n\t};\r\n\tconst hospitalAddress: IAddress = {\r\n\t\tCity: form.HospitalAddressCity,\r\n\t\tLine1: form.HospitalAddressLine1,\r\n\t\tLine2: form.HospitalAddressLine2,\r\n\t\tName: form.HospitalName,\r\n\t\tPostalCode: form.HospitalAddressZip,\r\n\t\tState: form.HospitalAddressState,\r\n\t\tCountry: form.HospitalAddressCountry\r\n\t};\r\n\tconst hospitalPhone: IPhone = {\r\n\t\tName: \"\",\r\n\t\tNum: form.HospitalPhone\r\n\t};\r\n\tconst hospital: IHospital = {\r\n\t\tAccountId: form.AccountId,\r\n\t\tAccountNumber: form.AccountNumber,\r\n\t\tAddress: hospitalAddress,\r\n\t\tCeoName: form.CeoName,\r\n\t\tCeoId: form.CeoId,\r\n\t\tCeoFirst: form.CeoFirst,\r\n\t\tCeoLast: form.CeoLast,\r\n\t\tCeoEmail: form.CeoEmail,\r\n\t\tCeoRole: form.CeoRole,\r\n\t\tName: form.HospitalName,\r\n\t\tPhone: hospitalPhone,\r\n\t\tCategoryId: form.HospitalCategoryId,\r\n\t\tHealthSystemName: form.HealthSystemName,\r\n\t\tHealthSystemId: form.HealthSystemId,\r\n\t\tApplyingAsAHealthSystem: form.ApplyingAsAHealthSystem,\r\n\t};\r\n\r\n\tconst appId =\r\n\t\tform.Id === null || form.Id === undefined\r\n\t\t\t? \"empy guid\".EmptyGuid()\r\n\t\t\t: form.Id;\r\n\tconst model: IApplicationCreate = {\r\n\t\tAccountId: form.AccountId,\r\n\t\tApplicant: applicant,\r\n\t\tApplicantContactId: form.ApplicantContactId,\r\n\t\tApplicationCreatedBy: user,\r\n\t\tApplicationModifiedBy: user,\r\n\t\tApplicationModifiedOn: currentDate,\r\n\t\tHospital: hospital,\r\n\t\tId: appId,\r\n\t\tParentId: form.ParentId,\r\n\t\tName: form.HospitalName,\r\n\t\tLevel: form.Level,\r\n\t\tApplyingAsAHealthSystem: form.ApplyingAsAHealthSystem,\r\n\t\tNumberOfEdsServingOlderAdults: form.NumberOfEdsServingOlderAdults,\r\n\t\tUtilizingTeleMedForGeriatric: form.UtilizingTeleMedForGeriatric\r\n\t};\r\n\treturn model;\r\n};\r\n\r\nApplicationModel.prototype.ConvertToForm = function () {\r\n\tconst model = this;\r\n\tconst app = model.Application;\r\n\tconst form: IApplicationForm = {\r\n\t\tAccountId: app.AccountId,\r\n\t\tAccountNumber: app.Hospital.AccountNumber,\r\n\t\tId: app.Id,\r\n\t\tParentId: app.ParentId,\r\n\t\tName: app.Name,\r\n\t\tStatus: model.Application.Status,\r\n\t\tLevel: model.Application.Level,\r\n\t\tApplicantAddressCity: app.Applicant.Address.City,\r\n\t\tApplicantAddressLine1: app.Applicant.Address.Line1,\r\n\t\tApplicantAddressLine2: app.Applicant.Address.Line2,\r\n\t\tApplicantAddressState: app.Applicant.Address.State,\r\n\t\tApplicantAddressZip: app.Applicant.Address.PostalCode,\r\n\t\tApplicantContactId: app.Applicant.ContactId,\r\n\t\tApplicantEmail: app.Applicant.Email.Address,\r\n\t\tApplicantFirstName: app.Applicant.FirstName,\r\n\t\tApplicantFullName: app.Applicant.FullName,\r\n\t\tApplicantLastName: app.Applicant.LastName,\r\n\t\tApplicantPhone: app.Applicant.Phone.Num,\r\n\t\tApplicantPhoneType: app.Applicant.Phone.Name,\r\n\t\tApplicantPosition: app.Applicant.Position,\r\n\t\tHospitalAddressCity: app.Hospital.Address.City,\r\n\t\tCeoName: app.Hospital.CeoName,\r\n\t\tCeoId: app.Hospital.CeoId,\r\n\t\tCeoFirst: app.Hospital.CeoFirst,\r\n\t\tCeoLast: app.Hospital.CeoLast,\r\n\t\tCeoEmail: app.Hospital.CeoEmail,\r\n\t\tCeoRole: app.Hospital.CeoRole,\r\n\t\tHospitalAddressLine1: app.Hospital.Address.Line1,\r\n\t\tHospitalAddressLine2: app.Hospital.Address.Line2,\r\n\t\tHospitalAddressZip: app.Hospital.Address.PostalCode,\r\n\t\tHospitalAddressState: app.Hospital.Address.State,\r\n\t\tHospitalAddressCountry: app.Hospital.Address.Country,\r\n\t\tHospitalName: app.Hospital.Name,\r\n\t\tHospitalPhone: app.Hospital.Phone.Num,\r\n\t\tHospitalCategoryId: app.Hospital.CategoryId,\r\n\r\n\t\tHealthSystemName: app.Hospital.HealthSystemName,\r\n\t\tHealthSystemId: app.Hospital.HealthSystemId,\r\n\t\tApplyingAsAHealthSystem: app.ApplyingAsAHealthSystem,\r\n\r\n\t\tNumberOfEdsServingOlderAdults: app.NumberOfEdsServingOlderAdults,\r\n\t\tUtilizingTeleMedForGeriatric: app.UtilizingTeleMedForGeriatric\r\n\t};\r\n\treturn form;\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/application.class.ts","import { RoleEnum } from '../enums';\r\nexport class enums {\r\n static RoleToString(type: RoleEnum) {\r\n return this.ToString(String(RoleEnum[type]));\r\n }\r\n\r\n static ToString(s: string): string {\r\n s = s.replace('_', ' ');\r\n return s;\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/enums.class.ts","import { SafeHtml } from '@angular/platform-browser';\r\nimport { KeyedCollection } from '../classes';\r\nimport { DiscussionEnum } from '../enums';\r\nimport { IContact } from '../Interfaces';\r\nexport namespace CRMDiscussion {\r\n export class CRMDiscussionModel {\r\n Attributes: KeyedCollection;\r\n Id: string;\r\n LogicalName: string;\r\n Posts: Post[];\r\n Acep_Type: string;\r\n get Type() {\r\n let x = DiscussionEnum.Type[this.Acep_Type];\r\n return x;\r\n };\r\n audience: string;\r\n listCount: number;\r\n next: boolean;\r\n nextPage: string;\r\n nextPageUrl: string;\r\n page: number;\r\n pageCount: number;\r\n prev: boolean;\r\n prevPageUrl: string;\r\n prevPage: string;\r\n queriedCount: number;\r\n url: string;\r\n }\r\n\r\n export interface IAttribute {\r\n Id: string;\r\n LogicalName: string;\r\n Value: any;\r\n }\r\n\r\n\r\n export interface IPost {\r\n Attributes: KeyedCollection;\r\n Audience: string;\r\n LogicalName: string;\r\n Location: DiscussionEnum.Location;\r\n Name: IContact;\r\n CreatedOn: Date;\r\n Acep_Type: string;\r\n Body: SafeHtml;\r\n }\r\n\r\n export class Post implements IPost {\r\n Attributes: KeyedCollection;\r\n Audience: string;\r\n LogicalName: string;\r\n RoleEnum: string\r\n get Location() {\r\n return DiscussionEnum.Location[this.Audience];\r\n };\r\n Name: IContact;\r\n CreatedOn: Date;\r\n Acep_Type: string;\r\n get Type() {\r\n let x = DiscussionEnum.Type[this.Acep_Type];\r\n return x;\r\n }\r\n Body: SafeHtml;\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/crm-discussion.model.ts","import { SafeHtml } from '@angular/platform-browser';\r\nimport { KeyedCollection } from '../classes';\r\nimport { RoleEnum } from '../enums';\r\nimport { IContact, IVote } from '../Interfaces';\r\nexport namespace CRMApplication {\r\n export class CRMApplicationModel {\r\n Attributes: KeyedCollection;\r\n Id: string;\r\n LogicalName: string;\r\n Members: Member[];\r\n StartDate: Date;\r\n Number: number;\r\n Title: string;\r\n Acep_Contact: IContact;\r\n }\r\n\r\n export interface IAttribute {\r\n Id: string;\r\n LogicalName: string;\r\n Value: any;\r\n }\r\n\r\n\r\n export interface IMember {\r\n Attributes: KeyedCollection;\r\n LogicalName: string;\r\n Acep_Contact: IContact;\r\n Email: string;\r\n Name: string;\r\n Vote: IVote;\r\n }\r\n\r\n export class Member implements IMember {\r\n Attributes: KeyedCollection;\r\n LogicalName: string;\r\n Acep_Contact: IContact;\r\n Email: string;\r\n Name: string;\r\n Vote: IVote;\r\n get Position(): string {\r\n let x = RoleEnum[this.Acep_Contact.Role];\r\n return x;\r\n }\r\n }\r\n\r\n}\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/crm-application.model.ts","export class CString {\r\n static take(s: string, i: number): string {\r\n return s.substring(0, (s.length >= i ? i : s.length));\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/c-string.ts","module.exports = \"
\\r\\n
\\r\\n\\t
\\r\\n\\t\\t
\\r\\n\\t\\t\\t\\r\\n\\t\\t
\\r\\n\\t
\\r\\n\\t
\\r\\n\\t\\tLevel {{ LEVEL }} Accreditation\\r\\n\\t
\\r\\n
\\r\\n\\r\\n\\t
\\r\\n\\t\\t
\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\tLevel\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\t\\t{{ LEVEL }}\\r\\n\\t\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t
\\r\\n\\t
\\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/level.component.html\n// module id = ZVEa\n// module chunks = 7","import {\r\n\tComponent, ViewEncapsulation, HostListener,\r\n\tOnInit, Inject, OnDestroy, DoCheck, ChangeDetectorRef,\r\n\ttrigger, style, transition, state, animate, NgZone\r\n} from '@angular/core';\r\nimport { Router, NavigationStart, NavigationError, NavigationEnd, NavigationCancel, ActivatedRoute } from '@angular/router';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { Subscription } from 'rxjs/Subscription';\r\n// Prototypes\r\nimport './Prototypes/p-string';\r\n// Interfaaces\r\nimport { IComponent } from './share/interfaces';\r\n// services\r\nimport * as srv from './share/services';\r\n\r\nimport * as jquery from 'jquery';\r\ndeclare var $: any;\r\n\r\n@Component({\r\n\tselector: 'app-root',\r\n\ttemplateUrl: './app.component.html',\r\n\tstyleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent implements IComponent, OnInit {\r\n\r\n\t// Implement IComponent\r\n\tname = 'AppComponent';\r\n\tsubscriptions: Subscription[] = [];\r\n\r\n\t// implement local variables\r\n\t// *\r\n\r\n\t/**\r\n\t *\r\n\t */\r\n\tconstructor(\r\n\t\tprivate _router: Router,\r\n\t\tprivate _loaderSrv: srv.LoaderService,\r\n\t\tprivate _logSrv: srv.LogService\r\n\t) {\r\n\r\n\r\n\t}\r\n\tngOnInit() {\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._router.events.subscribe(s => {\r\n\r\n\t\t\t\tif (s instanceof NavigationError) {\r\n\t\t\t\t\t//this._logSrv.Debug(this.name, ['app NavigationError', s]);\r\n\t\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t\t\t// if (s.url === s.url.toLowerCase()) {\r\n\t\t\t\t\t// this._router.navigate(['/error']);\r\n\t\t\t\t\t// }\r\n\t\t\t\t\t// if (s.url !== s.url.toLowerCase()) {\r\n\t\t\t\t\t// let red = s.url.toLowerCase();\r\n\t\t\t\t\t// this._router.navigate([red]);\r\n\t\t\t\t\t// }\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (s instanceof NavigationStart) {\r\n\t\t\t\t\t//this._logSrv.Debug(this.name, ['app NavigationStart', s]);\r\n\t\t\t\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\t\t\t}\r\n\t\t\t\tif (s instanceof NavigationEnd) {\r\n\t\t\t\t\t//this._logSrv.Debug(this.name, ['app NavigationEnd', s.url, s]);\r\n\t\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t\t}\r\n\t\t\t\tif (s instanceof NavigationCancel) {\r\n\t\t\t\t\t//this._logSrv.Debug(this.name, ['app NavigationCancel', s]);\r\n\t\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t);\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.component.ts","import {\r\n\tComponent,\r\n\tOnInit,\r\n\tOnDestroy,\r\n\tViewChild,\r\n\tElementRef\r\n} from \"@angular/core\";\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { Subscription } from \"rxjs/Subscription\";\r\n\r\n// Services\r\nimport * as srv from \"../share/services\";\r\n// Interfaces\r\nimport { IComponent, IContact } from \"../share/interfaces\";\r\n// Enums\r\nimport { MessageTypeEnum } from \"../share/enums\";\r\n// helpers\r\n// import * as helpers from '../helpers';\r\n// directives\r\nimport { LastitemDirective } from \"../share/directives\";\r\n\r\n// import * as _ from 'lodash';\r\n@Component({\r\n\tselector: \"app-login\",\r\n\ttemplateUrl: \"./login.component.html\",\r\n\tstyleUrls: [\"./login.component.scss\"]\r\n})\r\nexport class LoginComponent implements IComponent, OnInit {\r\n\t// Implement IComponent\r\n\tname = \"LoginComponent\";\r\n\tsubscriptions: Subscription[] = [];\r\n\r\n\t// implement local variables\r\n\t@ViewChild(\"newuser\") newuser: ElementRef;\r\n\tcontactsAreLoaded: boolean;\r\n\tcontacts: IContact[];\r\n\r\n\tconstructor(\r\n\t\tpublic userSrv: srv.UserService,\r\n\t\tprivate _logSrv: srv.LogService,\r\n\t\tprivate _loaderSrv: srv.LoaderService,\r\n\t\tprivate _storageSrv: srv.StorageService,\r\n\t\tprivate _msgSrv: srv.MessageService,\r\n\t\tprivate _route: ActivatedRoute,\r\n\t\tprivate _helperSrv: srv.HelperService\r\n\t) {\r\n\t\t\"starting\".log(this.name);\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\t\"initiate\".log(this.name);\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._route.data.subscribe((data: { contacts: IContact[] }) => {\r\n\t\t\t\t\"updating contacts\".logWithObject(this.name, data);\r\n\t\t\t\tthis.contacts = data.contacts;\r\n\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t})\r\n\t\t);\r\n\r\n\t\t// this.subscriptions.push(\r\n\t\t// this.userSrv.TESTCONTACTS.subscribe(contacts => {\r\n\t\t// 'updating contacts'.logWithObject(this.name, contacts);\r\n\t\t// this.contactsAreLoaded = false;\r\n\r\n\t\t// if (contacts !== undefined && contacts !== null) {\r\n\t\t// // _.sortBy(contacts, [(c: IContact) => {\r\n\t\t// // console.log('contacts', c);\r\n\t\t// // return c.FullName;\r\n\t\t// // }]);\r\n\r\n\t\t// this.contacts = contacts;\r\n\t\t// this._loaderSrv.SetLoading(this.name, false);\r\n\t\t// }\r\n\t\t// 'updated contacts'.logWithObject(this.name, this.contacts);\r\n\t\t// })\r\n\t\t// );\r\n\t\t\"on init\".logWithObject(this.name, [this.userSrv.Data]);\r\n\t}\r\n\r\n\tLoadContact(contact) {\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\t\"loader is\".logWithObject(this.name, this._loaderSrv.Data.isLoading);\r\n\t\tthis.userSrv.setContact(this.name, contact);\r\n\t\t//NH 1/22/18 - Go to the applications page when logging in.\r\n\t\t//this._helperSrv.goToMain();\r\n\r\n\t\tthis._helperSrv.goToApplications(this.userSrv.Data.contact.AcepId);\r\n\t}\r\n\r\n\tLoadNewUser(user) {\r\n\t\t\"new user\".logWithObject(this.name, [\r\n\t\t\tuser,\r\n\t\t\tthis.newuser,\r\n\t\t\tthis.newuser.nativeElement.value\r\n\t\t]);\r\n\t\tconst acepid = this.newuser.nativeElement.value;\r\n\t\tthis._loaderSrv.SetLoading(this.name, true);\r\n\t\tthis.userSrv.addTestContact(acepid).then(\r\n\t\t\tcontact => {\r\n\t\t\t\tthis._logSrv.Debug(this.name, [\"LoadNewUser\", contact]);\r\n\t\t\t\tconst existing = this.contacts.filter(c => c.Id === contact.Id);\r\n\t\t\t\tif (existing === undefined || existing.length === 0) {\r\n\t\t\t\t\tthis.contacts.push(contact);\r\n\t\t\t\t\tthis._storageSrv.AddTestContact(contact);\r\n\t\t\t\t\tthis._msgSrv.DisplayBothError(\r\n\t\t\t\t\t\t`${acepid} has been added`,\r\n\t\t\t\t\t\tfalse,\r\n\t\t\t\t\t\tMessageTypeEnum.welldone\r\n\t\t\t\t\t);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis._msgSrv.DisplayBothError(\r\n\t\t\t\t\t\t`${acepid} already exists`,\r\n\t\t\t\t\t\tfalse,\r\n\t\t\t\t\t\tMessageTypeEnum.warning\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t},\r\n\t\t\tfail => {\r\n\t\t\t\tthis._logSrv.Error(this.name, [\"LoadNewUser\", fail]);\r\n\t\t\t\tthis._msgSrv.DisplayBothError(\r\n\t\t\t\t\t`Contact ${acepid} not found`,\r\n\t\t\t\t\ttrue,\r\n\t\t\t\t\tMessageTypeEnum.ohsnap\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tOnLastContactLoaded(contact: IContact) {\r\n\t\tthis.contactsAreLoaded = true;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/login/login.component.ts","import { Injectable, EventEmitter, OnInit } from '@angular/core';\r\n// import { Observable } from 'rxjs/Rx';\r\nimport { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\n\r\n// Services\r\nimport * as srv from '../share/services';\r\n\r\n@Injectable()\r\nexport class ActivateMain\r\n implements CanActivate {\r\n name = 'ActivateMain';\r\n constructor(\r\n private _userSrv: srv.UserService,\r\n private _helperSrv: srv.HelperService\r\n ) { }\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise | boolean {\r\n 'starting'.log(this.name);\r\n if (this._userSrv.getContact() === undefined) {\r\n this._helperSrv.goToLogin();\r\n return true;\r\n } else {\r\n return true;\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/activates/main.activate.ts","import { Injectable, EventEmitter, OnInit } from \"@angular/core\";\r\n// import { Observable } from 'rxjs/Rx';\r\nimport {\r\n\tCanActivate,\r\n\tActivatedRouteSnapshot,\r\n\tRouterStateSnapshot\r\n} from \"@angular/router\";\r\n\r\n// Services\r\nimport * as srv from \"../share/services\";\r\nimport { IContact } from \"../share/interfaces/index\";\r\nimport { retry } from \"rxjs/operators/retry\";\r\n\r\n@Injectable()\r\nexport class ActivateLogin implements CanActivate {\r\n\tname = \"ActivateLogin\";\r\n\tconstructor(\r\n\t\tprivate _userSrv: srv.UserService,\r\n\t\tprivate _helperSrv: srv.HelperService,\r\n\t\tprivate _ssoSrv: srv.SsoService\r\n\t) {}\r\n\r\n\tcanActivate(\r\n\t\troute: ActivatedRouteSnapshot,\r\n\t\tstate: RouterStateSnapshot\r\n\t): Promise | boolean {\r\n\t\t// console.log(this.name, this._helperSrv.env, this._userSrv.getContact(), this._userSrv.Data, this._ssoSrv.DATA);\r\n\t\t// return true;\r\n\t\tif (this._userSrv.getContact() === undefined) {\r\n\t\t\tconsole.log(\r\n\t\t\t\t\"called inside canactivate on login.activate and getcontact is undefined\"\r\n\t\t\t);\r\n\t\t\tconst env = this._helperSrv.env;\r\n\t\t\tif (env === \"development\") {\r\n\t\t\t\treturn true;\r\n\t\t\t} else {\r\n\t\t\t\t\"redirect to login page\".logWithObject(\r\n\t\t\t\t\t\"ActivateLogin\",\r\n\t\t\t\t\tstate.url\r\n\t\t\t\t);\r\n\t\t\t\tthis._ssoSrv.GetSSO(\"A00000\").then(context => {\r\n\t\t\t\t\tif (context === undefined) {\r\n\t\t\t\t\t\tthis._ssoSrv.login(state.url);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis._ssoSrv.GetContext(\"A00000\").then(c => {\r\n\t\t\t\t\t\t\tthis._userSrv.CURRENTUSER_CONTACTID = this._ssoSrv.DATA.contactid;\r\n\t\t\t\t\t\t\tthis._userSrv.CURRENTUSER_ACEPID = this._ssoSrv.DATA.acepid;\r\n\t\t\t\t\t\t\tthis._userSrv.CURRENTUSER_FIRSTNAME = this._ssoSrv.DATA.firstname;\r\n\r\n\t\t\t\t\t\t\tthis._helperSrv.goToApplications(\r\n\t\t\t\t\t\t\t\tthis._ssoSrv.DATA.acepid\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\t// this._userSrv\r\n\t\t\t\t\t\t\t// \t.getContactFromCRM(c.user.ContactNumber)\r\n\t\t\t\t\t\t\t// \t.then(contact => {\r\n\t\t\t\t\t\t\t// \t\tthis._userSrv.setContact(\r\n\t\t\t\t\t\t\t// \t\t\t\"\",\r\n\t\t\t\t\t\t\t// \t\t\tcontact,\r\n\t\t\t\t\t\t\t// \t\t\tthis._ssoSrv.DATA.avatar\r\n\t\t\t\t\t\t\t// \t\t);\r\n\t\t\t\t\t\t\t// \t\t//NH - 1/22/18 - going to the application page on login, not the main page.\r\n\t\t\t\t\t\t\t// \t\t//this._helperSrv.goToMain();\r\n\t\t\t\t\t\t\t// \t\tthis._helperSrv.goToApplications(\r\n\t\t\t\t\t\t\t// \t\t\tthis._userSrv.getContact().AcepId\r\n\t\t\t\t\t\t\t// \t\t);\r\n\t\t\t\t\t\t\t// \t\treturn true;\r\n\t\t\t\t\t\t\t// \t});\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\treturn false;\r\n\t\t\t\t// return true;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tconsole.log(\r\n\t\t\t\t\"activated and no getcontact: \" + this.name,\r\n\t\t\t\tthis._userSrv.getContact()\r\n\t\t\t);\r\n\r\n\t\t\tlet c: IContact = this._userSrv.getContact();\r\n\r\n\t\t\tthis._userSrv.CURRENTUSER_CONTACTID = this._ssoSrv.DATA.contactid =\r\n\t\t\t\tc.Id;\r\n\t\t\tthis._userSrv.CURRENTUSER_ACEPID = this._ssoSrv.DATA.acepid =\r\n\t\t\t\tc.AcepId;\r\n\t\t\tthis._userSrv.CURRENTUSER_FIRSTNAME = this._ssoSrv.DATA.firstname =\r\n\t\t\t\tc.Profile.FirstName;\r\n\r\n\t\t\t//NH 1/22/18 - Go to the applications page when logging in.\r\n\t\t\t//this._helperSrv.goToMain();\r\n\t\t\tthis._helperSrv.goToApplications(this._ssoSrv.DATA.acepid);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/activates/login.activate.ts","import { Injectable, EventEmitter, OnInit } from \"@angular/core\";\r\n// import { Observable } from 'rxjs/Rx';\r\nimport {\r\n\tCanActivate,\r\n\tActivatedRouteSnapshot,\r\n\tRouterStateSnapshot,\r\n\tRouter,\r\n\tNavigationStart\r\n} from \"@angular/router\";\r\n\r\n// Services\r\nimport * as srv from \"../share/services\";\r\n\r\n@Injectable()\r\nexport class ActivateApplicationsHome implements CanActivate {\r\n\tname = \"ActivateApplicationsHome\";\r\n\tconstructor(\r\n\t\tprivate _userSrv: srv.UserService,\r\n\t\tprivate _helperSrv: srv.HelperService\r\n\t) {}\r\n\r\n\tcanActivate(\r\n\t\troute: ActivatedRouteSnapshot,\r\n\t\tstate: RouterStateSnapshot\r\n\t): Promise | boolean {\r\n\t\t\"starting\".logWithObject(this.name, this._userSrv.Data);\r\n\t\t//if (this._userSrv.getContact() === undefined) {\r\n\t\tif (!this._userSrv.CURRENTUSER_CONTACTID) {\r\n\t\t\tthis._helperSrv.goToLogin();\r\n\t\t\treturn false;\r\n\t\t} else {\r\n\t\t\t\"returning\".logWithObject(this.name, true);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/activates/applications.home.activate.ts","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport { Router, Resolve, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\n\r\n// Services\r\nimport * as srv from '../share/services';\r\n\r\n// Interfaces\r\nimport { IContact } from '../share/interfaces';\r\n\r\n@Injectable()\r\nexport class LoginResolver implements Resolve {\r\n Name = 'LoginResolver';\r\n constructor(\r\n private _logSrv: srv.LogService,\r\n private _userSrv: srv.UserService\r\n ) { }\r\n\r\n resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise | any {\r\n this._logSrv.Debug(this.Name, ['starting']);\r\n\r\n // const guid = route.params['id'];\r\n try {\r\n return this._userSrv.getTestContacts();\r\n } catch (error) {\r\n 'returning'.logWithObject(this.Name, error);\r\n return undefined;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/resolvers/login.resolver.ts","import { Component, OnInit } from \"@angular/core\";\r\nimport { Subscription } from \"rxjs/Subscription\";\r\nimport { IComponent } from \"../share/interfaces\";\r\n\r\n// services\r\nimport * as srv from \"../share/services\";\r\nimport { ActivatedRoute, Router } from \"@angular/router\";\r\n\r\n@Component({\r\n\tselector: \"app-main\",\r\n\ttemplateUrl: \"./main.component.html\",\r\n\tstyleUrls: [\"./main.component.scss\"]\r\n})\r\nexport class MainComponent implements IComponent, OnInit {\r\n\t// implement icomponent\r\n\tname = \"MainComponent\";\r\n\tsubscriptions: Subscription[] = [];\r\n\r\n\t// implement local\r\n\ttermsAgreed = false;\r\n\tlevelSelected = false;\r\n\tnolevel: number = 0;\r\n\tyeslevel: number = 0;\r\n\r\n\tdisableLevel1: boolean = false;\r\n\tdisableLevel2: boolean = false;\r\n\tdisableLevel3: boolean = false;\r\n\r\n\tconstructor(\r\n\t\tprivate route: ActivatedRoute,\r\n\t\tprivate router: Router,\r\n\t\tprivate _applicationSrv: srv.ApplicationService,\r\n\t\tprivate _logSrv: srv.LogService,\r\n\t\tprivate _userSrv: srv.UserService,\r\n\t\tprivate _loaderSrv: srv.LoaderService,\r\n\t\tprivate _helperSrv: srv.HelperService,\r\n\t\tprivate _storageSrv: srv.StorageService\r\n\t) { }\r\n\r\n\tngOnInit() {\r\n\t\t//Subscriptions\r\n\r\n\t\tthis._helperSrv.goTOMaintenancePage();\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis.route.queryParams.subscribe(params => {\r\n\t\t\t\t// Defaults to 0 if no query param provided.\r\n\t\t\t\tthis.nolevel = +params[\"nolevel\"] || 0;\r\n\t\t\t\tthis.yeslevel = +params[\"yeslevel\"] || 0;\r\n\r\n\t\t\t\tif (this.nolevel > 0 || this.yeslevel > 0) {\r\n\t\t\t\t\tthis._applicationSrv.ApplicationModel = undefined;\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t\tif (this.nolevel > 0) {\r\n\t\t\t\t\t//UPGRADE\r\n\t\t\t\t\tif (this.nolevel == 3) {\r\n\t\t\t\t\t\tthis.disableLevel3 = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (this.nolevel == 2) {\r\n\t\t\t\t\t\tthis.disableLevel2 = true;\r\n\t\t\t\t\t\tthis.disableLevel3 = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (this.yeslevel > 0) {\r\n\r\n\t\t\t\t\t//RENEWAL\r\n\t\t\t\t\tthis.disableLevel1 = true; this.disableLevel2 = true; this.disableLevel3 = true;\r\n\r\n\t\t\t\t\tif (this.yeslevel == 3) {\r\n\t\t\t\t\t\tthis.disableLevel3 = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (this.yeslevel == 2) {\r\n\t\t\t\t\t\tthis.disableLevel2 = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (this.yeslevel == 1) {\r\n\t\t\t\t\t\tthis.disableLevel1 = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\r\n\r\n\t\t\t})\r\n\t\t);\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._userSrv.CONTACT.subscribe(contact => {\r\n\t\t\t\tif (contact !== undefined) {\r\n\t\t\t\t\tthis._loaderSrv.SetLoading(this.name, false);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t);\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._applicationSrv.OnLevelSelected$.subscribe(level => {\r\n\t\t\t\t\"updating level selection\".logWithObject(this.name, [level]);\r\n\t\t\t\tthis.levelSelected = +level > 0;\r\n\t\t\t})\r\n\t\t);\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._applicationSrv.OnTermsAgreed$.subscribe(agreed => {\r\n\t\t\t\t\"updating terms agreed\".logWithObject(this.name, [agreed]);\r\n\t\t\t\tthis.termsAgreed = agreed;\r\n\t\t\t})\r\n\t\t);\r\n\t}\r\n\r\n\tOnSave() {\r\n\t\tthis._logSrv.Debug(this.name, [\"OnSave\", this._applicationSrv]);\r\n\t\tlet isUpgrade = this.nolevel > 0;\r\n\t\tthis._helperSrv.goToLevel(\r\n\t\t\tthis._applicationSrv.LEVEL,\r\n\t\t\t\"get guid\".EmptyGuid(),\r\n\t\t\tisUpgrade\r\n\t\t);\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/main/main.component.ts","import { Injectable } from '@angular/core';\r\nimport { Route, PreloadingStrategy } from '@angular/router';\r\nimport { Observable } from 'rxjs/Rx';\r\n@Injectable()\r\nexport class AppPreLoadingStrategy implements PreloadingStrategy {\r\n\r\n preload(route: Route, load: Function): Observable {\r\n //console.log('AppPreLoadingStrategy', route, load);\r\n if (route.data && route.data['preload']) {\r\n // console.log('AppPreLoadingStrategy', route, load);\r\n return load();\r\n }\r\n return Observable.of(null);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.preloadstrategy.ts","import { NgModule } from \"@angular/core\";\r\nimport { RouterModule, PreloadAllModules } from \"@angular/router\";\r\n\r\n// Components\r\nimport { MainComponent } from \"./main/main.component\";\r\nimport { LoginComponent } from \"./login/login.component\";\r\n\r\n// Activates\r\nimport {\r\n\tActivateMain,\r\n\tActivateLogin,\r\n\tActivateApplicationsHome\r\n} from \"./activates\";\r\n// Resolvers\r\nimport { LoginResolver } from \"./resolvers\";\r\n// Preloads\r\nimport { AppPreLoadingStrategy } from \"./app.preloadstrategy\";\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tRouterModule.forRoot(\r\n\t\t\t[\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"main\",\r\n\t\t\t\t\tcomponent: MainComponent,\r\n\t\t\t\t\tcanActivate: [ActivateMain]\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"login\",\r\n\t\t\t\t\tcomponent: LoginComponent,\r\n\t\t\t\t\tcanActivate: [ActivateLogin],\r\n\t\t\t\t\tresolve: { contacts: LoginResolver }\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"applications\",\r\n\t\t\t\t\tloadChildren:\r\n\t\t\t\t\t\t\"app/modules/applications/applications.module#ApplicationsModule\",\r\n\t\t\t\t\tcanActivate: [ActivateApplicationsHome]\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"levels/level3\",\r\n\t\t\t\t\tloadChildren:\r\n\t\t\t\t\t\t\"app/modules/levels/level-3/level-3.module#Level3Module\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"levels/level2\",\r\n\t\t\t\t\tloadChildren:\r\n\t\t\t\t\t\t\"app/modules/levels/level-2/level-2.module#Level2Module\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"levels/level1\",\r\n\t\t\t\t\tloadChildren:\r\n\t\t\t\t\t\t\"app/modules/levels/level-1/level-1.module#Level1Module\"\r\n\t\t\t\t},\r\n\t\t\t\t// {\r\n\t\t\t\t// \tpath: 'approval',\r\n\t\t\t\t// \tloadChildren: 'app/modules/approvalprocess/approvalprocess.module#ApprovalProcessModule'\r\n\r\n\t\t\t\t// },\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"detail\",\r\n\t\t\t\t\tloadChildren:\r\n\t\t\t\t\t\t\"app/modules/detail/detail.module#DetailModule\"\r\n\t\t\t\t},\r\n\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"\",\r\n\t\t\t\t\tredirectTo: \"main\",\r\n\t\t\t\t\tpathMatch: \"full\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tpath: \"**\",\r\n\t\t\t\t\tredirectTo: \"applications\",\r\n\t\t\t\t\tpathMatch: \"full\"\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t{ enableTracing: false, preloadingStrategy: AppPreLoadingStrategy }\r\n\t\t)\r\n\t],\r\n\tproviders: [AppPreLoadingStrategy],\r\n\texports: [RouterModule]\r\n})\r\nexport class AppRoutingModule {}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.routing.module.ts","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n// Custom Modules\r\nimport { ShareModule } from './share/share.module';\r\n// Activates\r\nimport { ActivateMain, ActivateApplicationsHome } from './activates';\r\n// components\r\nimport { MainComponent } from './main/main.component';\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n BrowserAnimationsModule,\r\n ShareModule.forRoot()\r\n\r\n ],\r\n declarations: [\r\n MainComponent\r\n ],\r\n providers: [],\r\n exports: [\r\n BrowserAnimationsModule,\r\n ShareModule]\r\n})\r\nexport class AppCoreModule {\r\n static forRoot() { // pattern for adding app-wide services\r\n return {\r\n ngModule: AppCoreModule,\r\n providers: [\r\n ActivateMain,\r\n ActivateApplicationsHome\r\n ],\r\n };\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.core.module.ts","/// \r\n\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { LocationStrategy, Location, HashLocationStrategy } from '@angular/common';\r\n\r\nimport { AppComponent } from './app.component';\r\nimport { LoginComponent } from './login/login.component';\r\n\r\n// activates\r\nimport {ActivateLogin} from './activates';\r\n// resolvers\r\nimport {LoginResolver} from './resolvers';\r\n// routes\r\nimport { AppRoutingModule } from './app.routing.module';\r\n\r\n// Core\r\nimport { AppCoreModule } from './app.core.module';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n\tLoginComponent\r\n ],\r\n imports: [\r\n BrowserModule,\r\n AppCoreModule.forRoot(),\r\n AppRoutingModule\r\n ],\r\n providers: [\r\n ActivateLogin,\r\n\tLoginResolver,\r\n { provide: LocationStrategy, useClass: HashLocationStrategy }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.module.ts","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/main.ts","module.exports = \"
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n

Assign Reviewers

\\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n

QC Reviewers

\\r\\n
\\r\\n
\\r\\n {{reviewer.Reviewer.Fullname}}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n

Panel Reviewers

\\r\\n
\\r\\n
\\r\\n {{reviewer.Reviewer.Fullname}}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n

Site Reviewers

\\r\\n
\\r\\n
\\r\\n {{reviewer.Reviewer.Fullname}}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n

Board Reviewers

\\r\\n
\\r\\n
\\r\\n {{reviewer.Reviewer.Fullname}}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n saved\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/assign-reviewers.component.html\n// module id = cqk6\n// module chunks = 7","module.exports = \"
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n

{{tag.header}}

\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
Required if selecting '{{dialogService.rightButtonText}}'
\\r\\n\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    {{dialogService.leftButtonText}}
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/textbox-dialog.component.html\n// module id = dbHi\n// module chunks = 7","module.exports = \"
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
Sorry
\\r\\n {{prompt.message}}\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n\\t\\t\\t\\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/prompt.component.html\n// module id = eZ1K\n// module chunks = 7","module.exports = \"
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/app.component.html\n// module id = efyd\n// module chunks = 7","var map = {\n\t\"app/modules/applications/applications.module\": [\n\t\t\"UqTR\",\n\t\t5\n\t],\n\t\"app/modules/detail/detail.module\": [\n\t\t\"tCRS\",\n\t\t1\n\t],\n\t\"app/modules/levels/level-1/level-1.module\": [\n\t\t\"/dE3\",\n\t\t0,\n\t\t3\n\t],\n\t\"app/modules/levels/level-2/level-2.module\": [\n\t\t\"H3Iz\",\n\t\t0,\n\t\t2\n\t],\n\t\"app/modules/levels/level-3/level-3.module\": [\n\t\t\"9nKn\",\n\t\t0,\n\t\t4\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tvar ids = map[req];\n\tif(!ids)\n\t\treturn Promise.reject(new Error(\"Cannot find module '\" + req + \"'.\"));\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(ids[0]);\n\t});\n};\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"gFIY\";\nmodule.exports = webpackAsyncContext;\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/$$_gendir lazy\n// module id = gFIY\n// module chunks = 7","import { Directive, Input, ElementRef, Output, EventEmitter } from '@angular/core';\r\n\r\n@Directive({\r\n selector: '[appLastitem]'\r\n})\r\nexport class LastitemDirective {\r\n @Output() OnLastLoaded = new EventEmitter(true);\r\n @Output() OnLastItemLoaded = new EventEmitter(true);\r\n @Input('last-item')\r\n set lastItem(value) {\r\n // console.log('last item', value);\r\n if (value === true) {\r\n this.OnLastLoaded.emit(true);\r\n }\r\n }\r\n\r\n @Input('last-object')\r\n set lastObject(value) {\r\n // console.log('last item', value);\r\n this.OnLastItemLoaded.emit(true);\r\n }\r\n\r\n constructor(el: ElementRef) {\r\n // console.log('last-item directive', el.nativeElement);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/directives/lastitem.directive.ts","import { Component, OnInit, OnChanges, Input, Output, EventEmitter } from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\nimport { IComponent } from '../../interfaces';\r\n\r\n// services\r\nimport * as srv from '../../services';\r\n\r\n@Component({\r\n selector: 'app-level',\r\n templateUrl: './level.component.html',\r\n styleUrls: ['./level.component.scss']\r\n})\r\nexport class LevelComponent implements IComponent, OnInit, OnChanges {\r\n // implement icomponent\r\n name = 'LevelComponent';\r\n subscriptions: Subscription[] = [];\r\n\r\n // implement local\r\n @Input() LEVEL: number;\r\n @Input() CHECKED: Boolean;\r\n @Input() DISABLED: Boolean;\r\n\r\n @Output() Click = new EventEmitter(true);\r\n @Input() COLOR: string;\r\n class = 'level';\r\n\r\n constructor(\r\n private _logSrv: srv.LogService\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges() {\r\n if (this.LEVEL) {\r\n this._logSrv.Debug(this.name, [this.LEVEL]);\r\n switch (+this.LEVEL) {\r\n case 1:\r\n this.class = 'level level1';\r\n break;\r\n case 2:\r\n this.class = 'level level2';\r\n break;\r\n case 3:\r\n this.class = 'level level3';\r\n break;\r\n }\r\n\r\n }\r\n }\r\n\r\n OnCheckBoxClick() {\r\n this.CHECKED = true;\r\n this.Click.emit(this.LEVEL);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/level/level.component.ts","import { environmentBase } from \"./environment.base\";\r\nexport const environment = {\r\n\tbase: environmentBase,\r\n\tEvn: \"development\",\r\n\turl: \"https://devws.acep.org/geda/#\",\r\n\tBaseUrl: \"http://localhost/acep\",\r\n\tpaymentUrl: \"https://devwebapps.acep.org\",\r\n\treceiptUrl:\r\n\t\t\"https://devwebapps.acep.org/shoppingcart/printreport.aspx?vw=geda&appid=\",\r\n\tToken:\r\n\t\t\"gNRwvHZZu6TVsFZ4P3QcGQGElZE3+iucrNQlgocJ/2MMftSzZu5tk5h9LSe\" +\r\n\t\t\"Q2PFnnLifak4aMrq0iTUq4z9+ZoB7NWKIjBHMn/syi4ahFbIfz6IhbvT8WnqF81kLTMWS\",\r\n\tPromo3To1: \"GEDA_upgrade3to1\",\r\n\tPromo3To2: \"GEDA_upgrade3to2\",\r\n\tPromo2To1: \"GEDA_upgrade2to1\",\r\n\tproduction: false,\r\n\tLogDebug: true,\r\n\tLogInfo: true,\r\n\tLogError: true,\r\n\timages: \"./geda/assets/_images/\",\r\n\tAPILocation: \"/gedaapi/api/\",\r\n\tAPIHost: \"https://devws.acep.org\",\r\n\tAPIFullPath: \"https://devws.acep.org/GEDAAPI/api/\"\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/environments/environment.nathan.ts","import { Component, OnInit, OnDestroy, Input, OnChanges, SimpleChanges } from \"@angular/core\";\r\nimport { Subscription } from \"rxjs/Subscription\";\r\nimport { IComponent } from \"../../interfaces\";\r\n\r\n// services\r\nimport * as srv from \"../../services\";\r\nimport { environment } from \"../../../../environments/environment.nathan\";\r\nimport { ActivatedRoute, Router } from \"@angular/router\";\r\n\r\n@Component({\r\n\tselector: \"app-levels\",\r\n\ttemplateUrl: \"./levels.component.html\",\r\n\tstyleUrls: [\"./levels.component.scss\"]\r\n})\r\nexport class LevelsComponent implements IComponent, OnChanges, OnInit, OnDestroy {\r\n\t// implement icomponent\r\n\tname = \"LevelsComponent\";\r\n\tsubscriptions: Subscription[] = [];\r\n\r\n\t//@Input() NOLEVEL: number = 0;\r\n\r\n\t@Input() DISABlE_LEVEL1: boolean = false;\r\n\r\n\t@Input() DISABlE_LEVEL2: boolean = false;\r\n\r\n\t@Input() DISABlE_LEVEL3: boolean = false;\r\n\r\n\t// implement local\r\n\tlevel1: boolean;\r\n\tlevel2: boolean;\r\n\tlevel3: boolean;\r\n\tlevel = 0;\r\n\tisProdEnv: boolean = environment.production;\r\n\t//nolevel: Number = 0;\r\n\r\n\tconstructor(\r\n\t\tprivate _logSrv: srv.LogService,\r\n\t\tprivate _applicationSrv: srv.ApplicationService\r\n\t) { }\r\n\r\n\r\n\tngOnInit() { }\r\n\r\n\r\n\tngOnChanges(changes: SimpleChanges): void {\r\n\t\tthis.level = 0;\r\n\t\tif (this.DISABlE_LEVEL1 == false && this.DISABlE_LEVEL2 == true && this.DISABlE_LEVEL3 == true) {\r\n\t\t\tthis.level = 1;\r\n\t\t}\r\n\t\telse if (this.DISABlE_LEVEL2 == false && this.DISABlE_LEVEL1 == true && this.DISABlE_LEVEL3 == true) {\r\n\t\t\tthis.level = 2;\r\n\t\t}\r\n\t\telse if (this.DISABlE_LEVEL3 == false && this.DISABlE_LEVEL1 == true && this.DISABlE_LEVEL2 == true) {\r\n\t\t\tthis.level = 3;\r\n\t\t}\r\n\r\n\t\tthis.OnCheckBoxClicked(this.level, false);\r\n\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.subscriptions.forEach(function (s) {\r\n\t\t\ts.unsubscribe();\r\n\t\t});\r\n\t\tdelete this.subscriptions;\r\n\t}\r\n\r\n\tOnCheckBoxClicked(level: number, fromCheckBoxCtrl: boolean = true) {\r\n\t\tthis._logSrv.Debug(this.name, [\"OnCheckBoxClicked\", level]);\r\n\t\tif (+this.level === +level && fromCheckBoxCtrl) {\r\n\t\t\tthis.level = 0;\r\n\t\t\tthis.level1 = this.level2 = this.level3 = false;\r\n\t\t} else {\r\n\t\t\tthis.level = +level;\r\n\t\t\tswitch (+level) {\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tthis.level2 = this.level3 = false;\r\n\t\t\t\t\tthis.level1 = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tthis.level1 = this.level3 = false;\r\n\t\t\t\t\tthis.level2 = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tthis.level2 = this.level1 = false;\r\n\t\t\t\t\tthis.level3 = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis._applicationSrv.Level = this.level;\r\n\t\tthis._logSrv.Debug(this.name, [\r\n\t\t\t\"OnCheckBoxClicked\",\r\n\t\t\t{ l1: this.level1, l2: this.level2, l3: this.level3 }\r\n\t\t]);\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/levels.component.ts","import { Component, OnInit, OnDestroy, OnChanges, Input } from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\n\r\n// Interfaces\r\nimport { IComponent } from '../../interfaces';\r\n\r\n// services\r\nimport * as srv from '../../services';\r\n@Component({\r\n selector: 'app-loader',\r\n templateUrl: './loader.component.html',\r\n styleUrls: ['./loader.component.scss']\r\n})\r\nexport class LoaderComponent implements IComponent, OnInit, OnDestroy {\r\n // Implement IComponent\r\n name = 'LoaderComponent';\r\n subscriptions: Subscription[] = [];\r\n\r\n // Implement local variable\r\n @Input() LOAD: boolean;\r\n @Input() NAME: string;\r\n\r\n constructor(\r\n public loader: srv.LoaderService\r\n ) { }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(s => {\r\n s.unsubscribe();\r\n });\r\n delete this.subscriptions;\r\n }\r\n}\r\n\r\n@Component({\r\n selector: 'app-loading',\r\n templateUrl: './loading.component.html',\r\n styleUrls: ['./loader.component.scss']\r\n})\r\nexport class LoadingComponent implements IComponent, OnInit, OnDestroy, OnChanges {\r\n // Implement IComponent\r\n name = 'LoadingComponent';\r\n subscriptions: Subscription[] = [];\r\n\r\n // Implement local variable\r\n @Input() LOAD: boolean;\r\n @Input() NAME: string;\r\n @Input() IMAGE: string;\r\n constructor(\r\n public loader: srv.LoaderService\r\n ) { }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnChanges() {\r\n 'Changing inputs'.logWithObject(this.name, [this.IMAGE]);\r\n if (this.IMAGE !== undefined) {\r\n this.IMAGE = this.IMAGE + ' ' + 'loading';\r\n } else {\r\n this.IMAGE = 'loading';\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(s => {\r\n s.unsubscribe();\r\n });\r\n delete this.subscriptions;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loader.component.ts","import { Component, OnInit, OnDestroy, ViewChild, ElementRef } from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\n\r\n// Interfaces\r\nimport { IComponent } from '../../interfaces';\r\n\r\n// Services\r\nimport * as srv from '../../../share/services';\r\n\r\n@Component({\r\n selector: 'app-menu',\r\n templateUrl: './menu.component.html',\r\n styleUrls: ['./menu.component.scss']\r\n})\r\nexport class MenuComponent implements IComponent, OnInit, OnDestroy {\r\n // Implement IComponent\r\n name = 'MenuComponent';\r\n subscriptions: Subscription[] = [];\r\n\r\n // Implement local variable\r\n // *\r\n\r\n constructor(\r\n private _logSrv: srv.LogService,\r\n private _userSrv: srv.UserService,\r\n private _loaderSrv: srv.LoaderService\r\n ) {\r\n\r\n this.subscriptions.push(\r\n this._userSrv.CONTACT.subscribe(contact => {\r\n 'updating contact'.logWithObject(this.name, contact);\r\n // if (contact !== undefined) {\r\n // this._userSrv.getAccountContacts(contact.AcepId, contact.Id);\r\n // } else {\r\n // this._userSrv.accountContacts = undefined;\r\n // }\r\n }));\r\n\r\n\r\n }\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(s => {\r\n s.unsubscribe();\r\n });\r\n delete this.subscriptions;\r\n }\r\n\r\n\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/menu/menu.component.ts","import {\r\n Component, OnInit, OnDestroy, OnChanges, AfterViewInit,\r\n Input, trigger, state, transition, style, animate\r\n} from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\nimport { environment } from '../../../../environments/environment';\r\n\r\n// Interfaces\r\nimport { IComponent } from '../../interfaces';\r\n\r\n// Enums\r\nimport { MessageTypeEnum } from '../../../share/enums';\r\n// Services\r\nimport * as srv from '../../../share/services';\r\n\r\n@Component({\r\n selector: 'app-message',\r\n templateUrl: './message.component.html',\r\n styleUrls: ['./message.component.scss'],\r\n animations: [\r\n trigger('visibilityChanged', [\r\n state('shown', style({ opacity: 1, height: '42px' })),\r\n state('hidden', style({ opacity: 0, height: '0px' })),\r\n transition('shown=>hidden', animate('2s'))\r\n ])\r\n ],\r\n})\r\nexport class MessageComponent implements IComponent, AfterViewInit, OnInit, OnDestroy, OnChanges {\r\n // Implement IComponent\r\n name = 'MessageComponent';\r\n subscriptions: Subscription[] = [];\r\n\r\n // implements local variables\r\n // *\r\n @Input() Position: string;\r\n @Input() Class: string;\r\n classInit: string;\r\n haveMessage = 'hidden';\r\n message: string;\r\n isError: boolean;\r\n type: MessageTypeEnum;\r\n private _timeOut: any;\r\n constructor(\r\n private _logSrv: srv.LogService,\r\n private _msgSrv: srv.MessageService\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges() {\r\n this._logSrv.Debug(this.name, ['ngOnChanges', this.Position, this.Class]);\r\n this.classInit = this.Class || '';\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.subscriptions.forEach(s => {\r\n s.unsubscribe();\r\n });\r\n delete this.subscriptions;\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.subscriptions.push(\r\n this._msgSrv.showBottomError$.subscribe(\r\n (message: { message: string, isError: boolean, type: MessageTypeEnum }) => {\r\n if (this.Position && this.Position === 'bottom') {\r\n this._showMessage(message);\r\n }\r\n }, (err: Error) => {\r\n })\r\n );\r\n\r\n this.subscriptions.push(\r\n this._msgSrv.showTopError$.subscribe(\r\n (message: { message: string, isError: boolean, type: MessageTypeEnum }) => {\r\n if (this.Position && this.Position === 'top') {\r\n this._showMessage(message);\r\n }\r\n }, (err: Error) => {\r\n })\r\n );\r\n\r\n this.subscriptions.push(\r\n this._msgSrv.showLocalMessage$.subscribe(m => {\r\n this._logSrv.Debug(this.name,\r\n [m.message, this.Position, (this.Position === m.name)]);\r\n if (this.Position && this.Position === m.name) {\r\n this._showMessage(m.message);\r\n }\r\n }, (err: Error) => {\r\n })\r\n );\r\n\r\n this.subscriptions.push(\r\n this._msgSrv.clearError$.subscribe(\r\n () => {\r\n if (this._timeOut) {\r\n clearTimeout(this._timeOut);\r\n }\r\n this.haveMessage = 'hidden';\r\n this.message = '';\r\n }, (err: Error) => {\r\n })\r\n );\r\n\r\n }\r\n\r\n\tsetMessageLocation(){\r\n\t\tlet msgtop = $('app-topbanner nav').height() - $(window).scrollTop();\r\n\t\tmsgtop = (msgtop > 0 ? msgtop : 0);\r\n\r\n\t\t$('#error.top').css('top',msgtop);\r\n\t}\r\n\r\n private _showMessage(message: { message: string, isError: boolean, type: MessageTypeEnum }) {\r\n if (this._timeOut) {\r\n clearTimeout(this._timeOut);\r\n\t}\r\n\t// NH - this can be used later to set the message just below the header OR the top of the screen if\r\n\t// scrolling has happened.\r\n\t//this.setMessageLocation();\r\n this.Class = this.classInit + ' ' + String(MessageTypeEnum[message.type]);\r\n this.haveMessage = 'shown';\r\n this.message = message.message;\r\n\tthis.isError = message.isError;\r\n this._logSrv.Debug(this.name,\r\n [\r\n this.isError ? 'Error' : 'Message',\r\n { message: message, Position: this.Position }\r\n ]);\r\n this._timeOut =\r\n setTimeout(() => {\r\n this.haveMessage = 'hidden';\r\n }, 5000);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/message/message.component.ts","import { Component, OnInit, Input, OnChanges, Output, EventEmitter } from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\n\r\nimport { IPaginationModel, IComponent, IPaginationComponent } from '../../interfaces';\r\n@Component({\r\n selector: 'app-pagination',\r\n templateUrl: './pagination.component.html',\r\n styleUrls: ['./pagination.component.scss']\r\n})\r\nexport class PaginationComponent implements IComponent, IPaginationComponent, OnInit, OnChanges {\r\n // Implement IComponent\r\n name = 'PaginationComponent';\r\n subscriptions: Subscription[] = [];\r\n\r\n // Implement local variable\r\n @Input() MODEL: any;\r\n @Output() GetPage = new EventEmitter(true);\r\n @Output() GetNext = new EventEmitter(true);\r\n @Output() GetPrev = new EventEmitter(true);\r\n @Output() Refresh = new EventEmitter(true);\r\n @Input() PAGES: number[];\r\n @Input() CURRENTPAGE: number;\r\n\r\n prevExist= false;\r\n nextExist=false;\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n ngOnChanges() {\r\n 'receiving model'.logWithObject(\r\n this.name, [this.MODEL, this.CURRENTPAGE, this.PAGES]);\r\n if (this.MODEL && this.PAGES && this.CURRENTPAGE) {\r\n this.setPageAvailability();\r\n }\r\n }\r\n\r\n getPage(i: number) {\r\n this.GetPage.emit(i);\r\n };\r\n\r\n getNext() {\r\n this.GetNext.emit();\r\n }\r\n\r\n getPrev() {\r\n this.GetPrev.emit();\r\n }\r\n\r\n OnRefresh() {\r\n this.Refresh.emit();\r\n }\r\n\r\n setPageAvailability(){\r\n if(this.CURRENTPAGE < this.PAGES.length){\r\n this.nextExist = true;\r\n }\r\n\r\n if(this.CURRENTPAGE > 1){\r\n this.prevExist = true;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/pagination/pagination.component.ts","import {\r\n\tComponent,\r\n\tOnInit,\r\n\tViewChild,\r\n\tElementRef,\r\n\tInput,\r\n\tEventEmitter,\r\n\tOutput\r\n} from \"@angular/core\";\r\nimport { Subscription } from \"rxjs/Subscription\";\r\nimport {\r\n\tIComponent,\r\n\tIError,\r\n\tIReviewer,\r\n\tIApplicationModel,\r\n\tIReviewerModel,\r\n\tIApplicationForm,\r\n\tIStepModel,\r\n\tIApplicationsModel\r\n} from \"../../interfaces\";\r\nimport {\r\n\tFormBuilder,\r\n\tFormGroup,\r\n\tFormControl,\r\n\tFormArray,\r\n\tValidators,\r\n\tValidatorFn,\r\n\tAbstractControl,\r\n\tReactiveFormsModule,\r\n\tFormsModule,\r\n\tFormGroupName,\r\n\tFormArrayName\r\n} from \"@angular/forms\";\r\n\r\n// services\r\nimport * as srv from \"../../services\";\r\n// Enums\r\nimport { MessageTypeEnum, ApplicationStatusEnum } from \"../../enums\";\r\nimport { INotify } from \"../../interfaces/inotify\";\r\nimport { Observable } from \"rxjs/Observable\";\r\nimport { Data } from \"@angular/router\";\r\nimport { LevelBaseInformationComponent } from \"../../../modules/levels/level-base/level-base-information/level-base-information.component\";\r\nimport { _MatProgressSpinnerMixinBase } from \"@angular/material\";\r\nimport { AppModule } from \"../../../app.module\";\r\nimport { ApplicationModel } from \"../../classes\";\r\n//import { BehaviorSubject } from 'rxjs';\r\n\r\n@Component({\r\n\tselector: \"app-prompt\",\r\n\ttemplateUrl: \"./prompt.component.html\",\r\n\tstyleUrls: [\"./prompt.component.scss\"]\r\n})\r\nexport class PromptComponent implements IComponent, OnInit {\r\n\t// implement icomponent\r\n\tname = \"PromptComponent\";\r\n\tsubscriptions: Subscription[] = [];\r\n\thide: boolean;\r\n\tprompt: IError;\r\n\tcomplexForm: FormGroup;\r\n\tvisibleTypicalButtons = true;\r\n\tsaveAppWithOK = false;\r\n\tsaveTryAgain = false;\r\n\tnoSorry = false;\r\n\t@Output()\r\n\tClick = new EventEmitter(true);\r\n\t@Output()\r\n\tchange = new EventEmitter(true);\r\n\t// @Input() SAVEDISABLED = false;\r\n\t// @Input() COMPONENT: string;\r\n\t// @Output() Click = new EventEmitter(true);\r\n\r\n\tconstructor(\r\n\t\tprivate _loaderSrv: srv.LoaderService,\r\n\t\tprivate _helperSrv: srv.HelperService,\r\n\t\tprivate _reviewerSrv: srv.ReviewerService,\r\n\t\tprivate _logSrv: srv.LogService,\r\n\t\tprivate _promptSrv: srv.PromptService,\r\n\t\tprivate _applicationSrv: srv.ApplicationService\r\n\t) {\r\n\t\tthis.name = \"PromptComponent\";\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._promptSrv.showPrompt$.subscribe((prompt: IError) => {\r\n\t\t\t\tthis.prompt = prompt;\r\n\t\t\t\tthis.noSorry = false;\r\n\t\t\t\tthis.saveAppWithOK =\r\n\t\t\t\t\tthis.prompt.message.indexOf(\r\n\t\t\t\t\t\t\"Please save your application\"\r\n\t\t\t\t\t) > -1;\r\n\t\t\t\tthis.saveTryAgain =\r\n\t\t\t\t\tthis.prompt.message\r\n\t\t\t\t\t\t.toLowerCase()\r\n\t\t\t\t\t\t.indexOf(\"your ed does not meet the minimum req\") > -1;\r\n\r\n\t\t\t\tif (this.saveAppWithOK || this.saveTryAgain) {\r\n\t\t\t\t\tthis.visibleTypicalButtons = false;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (\r\n\t\t\t\t\tthis.prompt.message.toLowerCase().indexOf(\"download\") > -1\r\n\t\t\t\t) {\r\n\t\t\t\t\tthis.noSorry = true;\r\n\t\t\t\t\tthis.visibleTypicalButtons = false;\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\t//hide the popup for now\r\n\t\t\t\tthis.hide = false;\r\n\t\t\t})\r\n\t\t);\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._promptSrv.hidePrompt$.subscribe(() => {\r\n\t\t\t\t//hide the popup for now\r\n\t\t\t\tthis.hide = true;\r\n\t\t\t})\r\n\t\t);\r\n\t}\r\n\r\n\tOnSave() {\r\n\t\tthis.OnClose();\r\n\t}\r\n\r\n\tOnClose() {\r\n\t\tthis.hide = true;\r\n\t}\r\n\r\n\tOnClear() {\r\n\t\t//clear form\r\n\t\tthis.hide = true;\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/prompt/prompt.component.ts","import { Component, OnInit, ViewChild, ElementRef, Input } from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\nimport { IComponent } from '../../interfaces';\r\n\r\n// services\r\nimport * as srv from '../../services';\r\n// Enums\r\nimport { MessageTypeEnum } from '../../enums';\r\n@Component({\r\n\tselector: 'app-terms',\r\n\ttemplateUrl: './terms.component.html',\r\n\tstyleUrls: ['./terms.component.scss']\r\n})\r\nexport class TermsComponent implements IComponent, OnInit {\r\n\t// implement icomponent\r\n\tname = 'TermsComponent';\r\n\tsubscriptions: Subscription[] = [];\r\n\r\n\t// implement local\r\n\t@ViewChild('terms') terms: ElementRef;\r\n\t@ViewChild('checkbox') checkbox: ElementRef;\r\n\t@Input() SRC: string;\r\n\tassetFolder = 'assets/_templates/';\r\n\thtml: string;\r\n\tagreed = false;\r\n\turl: string;\r\n\r\n\tconstructor(\r\n\t\tprivate _helperSrv: srv.HelperService,\r\n\t\tprivate _logSrv: srv.LogService,\r\n\t\tprivate _msgSrv: srv.MessageService,\r\n\t\tprivate _applicationSrv: srv.ApplicationService\r\n\t) {\r\n\t\tthis.url = _helperSrv.getTerms();\r\n\r\n\t}\r\n\r\n\tngOnInit() {\r\n\t\tthis._loadHtml(this.url);\r\n\t\t// $('applicationOuterContainer').live\r\n\t}\r\n\r\n\tOnCheckBoxClick(c) {\r\n\t\tthis._logSrv.Debug(this.name, ['OnCheckBoxClick', c]);\r\n\t\tthis.agreed = c.checked;\r\n\t\tthis._applicationSrv.Terms = this.agreed;\r\n\t\t// this._msgSrv.DisplayLocalMessage(\r\n\t\t// this.name,\r\n\t\t// {\r\n\t\t// message: 'Please Check the box to the left to agree',\r\n\t\t// isError: true,\r\n\t\t// type: MessageTypeEnum.headsup\r\n\t\t// }\r\n\t\t// );\r\n\r\n\t}\r\n\r\n\tprivate _loadHtml(url: string) {\r\n\t\tif (url !== undefined) {\r\n\t\t\tconst source = url;\r\n\t\t\tconst x = 'https://view.officeapps.live.com/op/embed.aspx?src=' + url;\r\n\t\t\t// 'http://docs.google.com/gview?url=' + url + '&embedded=true';\r\n\t\t\tthis._logSrv.Debug(this.name, ['_loadHtml', source, x]);\r\n\t\t\tthis.html = '';\r\n\t\t\tthis.terms.nativeElement.innerHTML = this.html;\r\n\t\t\tthis._logSrv.Debug(this.name, ['_loadHtml', this.terms.nativeElement]);\r\n\t\t} else {\r\n\t\t\tthis.html = `
no document located at ${url}
`;\r\n\t\t\tthis.terms.nativeElement.innerHTML = this.html;\r\n\t\t}\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/terms/terms.component.ts","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\n\r\n// Interfaaces\r\nimport { IComponent } from '../../../share/interfaces';\r\n// Services\r\nimport * as srv from '../../../share/services';\r\nimport { environment } from '../../../../environments/environment';\r\nimport { environmentBase } from '../../../../environments/environment.base';\r\n\r\n@Component({\r\n\tselector: 'app-topbanner',\r\n\ttemplateUrl: './topbanner.component.html',\r\n\tstyleUrls: ['./topbanner.component.scss']\r\n})\r\nexport class TopbannerComponent implements IComponent, OnInit, OnDestroy {\r\n\t// Implement IComponent\r\n\tname = 'TopbannerComponent';\r\n\tsubscriptions: Subscription[] = [];\r\n\tshowMenu = false;\r\n\tgedalogolink: string;\r\n\tshowSearch = false;\r\n\t// implement local variables\r\n\t// *\r\n\tconstructor(\r\n\t\tpublic userSrv: srv.UserService,\r\n\t\tprivate _helperSrv: srv.HelperService,\r\n\t\tprivate _logSrv: srv.LogService\r\n\t) { }\r\n\r\n\tngOnInit() {\r\n\t\tthis.initStylesForLoginHeader();\r\n\t\tthis.showSearch = false;\r\n\t\tthis.showMenu = false;\r\n\t\tconst $this = this;\r\n\t\tthis.gedalogolink = (environment.Evn !== 'production' ? environment.base.GEDAHometest : environment.base.GEDAHomeprod);\r\n\t\t$(document).find('div').not('.search').not('.member').click(function (e) {\r\n\t\t\tif (e.target.id !== 'searchMembership' && e.target.id !== 'memberSearchbtn') {\r\n\t\t\t\te.stopPropagation();\r\n\t\t\t\tif ($this.showMenu === true) {\r\n\t\t\t\t\t$this.showMenu = false;\r\n\t\t\t\t\t$('.member .menu').slideUp();\r\n\t\t\t\t}\r\n\t\t\t\tif ($this.showSearch === true) {\r\n\t\t\t\t\t$this.showSearch = false;\r\n\t\t\t\t\t$('.search .menu').animate({ width: 'toggle' }, 100);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tinitStylesForLoginHeader() {\r\n\t\t$(\".loginTool\").click(function () {\r\n\t\t\t$(\".loginToolopen\").slideToggle('fast');\r\n\t\t\t$(\".searchToolopen\").hide();\r\n\t\t});\r\n\r\n\t\t$(\".mSearch\").click(function () {\r\n\t\t\t$(\".searchToolopen\").slideToggle('fast');\r\n\t\t\t$(\".loginToolopen\").hide();\r\n\t\t});\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis._unsuscribe();\r\n\t\tdelete this.subscriptions;\r\n\t}\r\n\r\n\tOnApplicationsClicked() {\r\n\t\tthis._logSrv.Debug(this.name, ['OnApplicationsClicked', this.userSrv.Data]);\r\n\t\tthis._helperSrv.goToApplications(this.userSrv.Data.contact.Id);\r\n\t}\r\n\r\n\tOnSignOut() {\r\n\t\tthis._logSrv.Debug(this.name, ['OnSignOut']);\r\n\t\tthis.userSrv.signOut(this.name);\r\n\t}\r\n\r\n\tgoToMyAccount() {\r\n\t\t// this._loaderSrv.SetLoading(this.name, true);\r\n\t\t// this._router.navigate(['/membership/dashboard']);\r\n\t\tthis._helperSrv.goToMyAccount();\r\n\r\n\t}\r\n\r\n\tprivate _unsuscribe() {\r\n\t\tthis.subscriptions.forEach(s => {\r\n\t\t\ts.unsubscribe();\r\n\t\t});\r\n\t}\r\n\r\n\r\n\tsearch(searchtext: string) {\r\n\t\twindow.location.href = 'https://www.acep.org/search.aspx?searchtext=' + searchtext;\r\n\t\treturn false;\r\n\t}\r\n\r\n\ttoggleMemberMenu(e) {\r\n\t\te.stopPropagation();\r\n\t\tif (this.showSearch === true) {\r\n\t\t\tthis.showSearch = false;\r\n\t\t\t$('.search .menu').animate({ width: 'toggle' }, 200);\r\n\t\t}\r\n\t\tif (this.showMenu === false) {\r\n\t\t\tthis.showMenu = true;\r\n\t\t\t$('.member .menu').slideDown();\r\n\t\t} else {\r\n\t\t\tthis.showMenu = false;\r\n\t\t\t$('.member .menu').slideUp();\r\n\t\t}\r\n\t}\r\n\r\n\ttoggleSearchMenu(e) {\r\n\t\te.stopPropagation();\r\n\t\tif (this.showMenu === true) {\r\n\t\t\tthis.showMenu = false;\r\n\t\t\t$('.member .menu').slideUp();\r\n\t\t}\r\n\t\tif (this.showSearch === false) {\r\n\t\t\tthis.showSearch = true;\r\n\t\t\t$('.search .menu').animate({ width: 'toggle' }, 200);\r\n\t\t} else {\r\n\t\t\tthis.showSearch = false;\r\n\t\t\t$('.search .menu').animate({ width: 'toggle' }, 200);\r\n\t\t}\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/topbanner/topbanner.component.ts","import {\r\n\tComponent, ViewEncapsulation,\r\n\tOnInit, OnDestroy, OnChanges,\r\n\tInput, trigger, state, transition, style, animate\r\n} from '@angular/core';\r\nimport { Subscription } from 'rxjs/Subscription';\r\nimport { Observable, BehaviorSubject } from 'rxjs/Rx';\r\n\r\n// Interfaces\r\nimport { IComponent, IApplicationModel, IApplication, IReviewer, IReviewerModel } from '../../interfaces';\r\n// Models\r\nimport { ApplicationModel } from '../../classes';\r\n\r\n//Enums\r\nimport { RoleEnum, MessageTypeEnum, ApplicationStatusEnum } from '../../enums';\r\n// Services\r\nimport * as Srv from '../../services';\r\n\r\n@Component({\r\n\tselector: 'app-assign-reviewers',\r\n\ttemplateUrl: './assign-reviewers.component.html',\r\n\tstyleUrls: ['./assign-reviewers.component.scss'],\r\n\tencapsulation: ViewEncapsulation.None,\r\n\tanimations: [\r\n\t\ttrigger('marginChanged', [\r\n\t\t\tstate('shown', style({ opacity: 1, height: '100px' })),\r\n\t\t\tstate('hidden', style({ opacity: 0, height: \"0\" })),\r\n\t\t\ttransition('shown=>hidden', animate('1s'))\r\n\t\t])\r\n\t],\r\n})\r\nexport class AssignReviewersComponent implements\r\n\tIComponent, OnInit, OnChanges, OnDestroy {\r\n\t// implements IComponent interfaces\r\n\tname = 'AssignReviewersComponent';\r\n\tsubscriptions: Subscription[] = [];\r\n\treviewerFLname = '';\r\n\r\n\t// implements local variables\r\n\t//@Input() APPLICATIONMODEL: IApplicationModel;\r\n\tAPPLICATIONMODEL: IApplicationModel;\r\n\treviwerHover: IReviewer;\r\n\tisReviwerHoverHidden = 'hidden';\r\n\tRoleEnum: typeof RoleEnum = RoleEnum;\r\n\tnumberOfPanelReviewersRequired = 2;\r\n\r\n\tconstructor(\r\n\t\tprivate _loggerService: Srv.LogService,\r\n\t\tprivate _loaderService: Srv.LoaderService,\r\n\t\tprivate _dialogService: Srv.DialogService,\r\n\t\tpublic _applicationService: Srv.ApplicationService,\r\n\t\tpublic _userSrv: Srv.UserService,\r\n\t\tprivate _helperSrv: Srv.HelperService,\r\n\t\tprivate _msgSrv: Srv.MessageService,\r\n\t\tprivate _voteService: Srv.VoteService,\r\n\t\tprivate _reviewerService: Srv.ReviewerService,\r\n\t) {\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._reviewerService.REVIEWERS.subscribe(r => {\r\n\t\t\t\tthis._loggerService.Debug(this.name, ['updating Reviewers', r]);\r\n\t\t\t\tif (r) {\r\n\t\t\t\t\tthis._update(undefined);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t);\r\n\r\n\t\t// this.subscriptions.push(\r\n\t\t// this._reviewerService.PANELS.subscribe(r => {\r\n\t\t// this._loggerService.Debug(this.name, ['updating Panels', r]);\r\n\t\t// })\r\n\t\t// );\r\n\r\n\t\t// this.subscriptions.push(\r\n\t\t// this._reviewerService.BOARDS.subscribe(r => {\r\n\t\t// this._loggerService.Debug(this.name, ['updating boards', r]);\r\n\t\t// })\r\n\t\t// );\r\n\r\n\r\n\t}\r\n\r\n\r\n\tngOnInit() {\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis._applicationService.APPLICATIONMODEL.subscribe(a => {\r\n\t\t\t\t//this._loggerService.Debug(this.name, ['updating detail resolver', d]);\r\n\t\t\t\tthis.APPLICATIONMODEL = a;\r\n\t\t\t\tif (a) {\r\n\t\t\t\t\tthis._loaderService.SetLoading(this.name, true);\r\n\t\t\t\t\tthis.updatePanelCount();\r\n\t\t\t\t\tthis._reviewerService.GetReviewers(this.APPLICATIONMODEL.Application.Id).subscribe(r => {\r\n\t\t\t\t\t\t// \"Updating reviewers\".logWithObject(this.name, r);\r\n\t\t\t\t\t\tthis._loaderService.SetLoading(this.name, false);\r\n\t\t\t\t\t}, err => {\r\n\t\t\t\t\t\tthis._loggerService.Error(this.name, ['Unable to get reviewers', err]);\r\n\t\t\t\t\t\tthis._loaderService.SetLoading(this.name, false);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t);\r\n\t}\r\n\r\n\tupdatePanelCount() {\r\n\t\tlet app: IApplicationModel = this.APPLICATIONMODEL;\r\n\t\tlet appLevel = app.Application.Level;\r\n\r\n\t\tthis.numberOfPanelReviewersRequired = 0;\r\n\t\t// if (appLevel == 3) {\r\n\r\n\t\t// \t//level 3\r\n\r\n\t\t// \tthis.numberOfPanelReviewersRequired = 1;\r\n\t\t// }\r\n\t\t// else {\r\n\t\t// \t//level 1 and 2\r\n\t\t// \tthis.numberOfPanelReviewersRequired = app.Application.NeedsSiteReview ? 1 : 2;\r\n\t\t// }\r\n\r\n\t\t//for level 3 renewals -- limit number of panel reqd to 1\r\n\t\tthis.numberOfPanelReviewersRequired = ((app.Application.ParentId != \"guid\".EmptyGuid() && appLevel == 3) || app.Application.NeedsSiteReview) ? 1 : 2;\r\n\r\n\t}\r\n\r\n\tngOnChanges() {\r\n\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.subscriptions.forEach(s => {\r\n\t\t\ts.unsubscribe();\r\n\t\t});\r\n\t\tdelete this.subscriptions;\r\n\t\tthis._loggerService.Debug(this.name, ['updating ngOnDestroy']);\r\n\r\n\t}\r\n\r\n\tOnClose() {\r\n\t\tthis._reviewerService.SelectPanelDialogOpen = false;\r\n\t}\r\n\r\n\tOnSave() {\r\n\t\tthis._loggerService.Debug(this.name, ['saving']);\r\n\r\n\t\tlet app: IApplicationModel = this.APPLICATIONMODEL;\r\n\r\n\t\tlet qc = this._reviewerService.Reviewers.filter(r => r.Reviewer.PositionId === RoleEnum.QC);\r\n\t\tlet panels = this._reviewerService.Reviewers.filter(r => r.Reviewer.PositionId === RoleEnum.Panel);\r\n\t\tlet board = this._reviewerService.Reviewers.filter(r => r.Reviewer.PositionId === RoleEnum.Board);\r\n\t\tlet siteReviewers = this._reviewerService.Reviewers.filter(r => r.Reviewer.PositionId === RoleEnum.Site);\r\n\r\n\r\n\t\tlet qcSelected = qc.filter(p => p.Reviewer.Selected === true);\r\n\t\tlet boardSelected = board.filter(p => p.Reviewer.Selected === true);\r\n\t\tlet panelsSelected = panels.filter(p => p.Reviewer.Selected === true);\r\n\t\tlet siteReviewersSelected = siteReviewers.filter(p => p.Reviewer.Selected === true);\r\n\r\n\r\n\t\t// get selected qc\r\n\r\n\t\tif (this._reviewerService._updateStatusTo >= ApplicationStatusEnum.QC_Review || this.APPLICATIONMODEL.Application.Status >= ApplicationStatusEnum.QC_Review) {\r\n\t\t\tif (qcSelected.length != 1) {\r\n\t\t\t\tthis._msgSrv.DisplayLocalMessage(this.name,\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tisError: true,\r\n\t\t\t\t\t\tmessage: 'Please select 1 QC Reviewer',\r\n\t\t\t\t\t\ttype: MessageTypeEnum.ohsnap\r\n\t\t\t\t\t});\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t//Panels\r\n\t\tif (this._reviewerService._updateStatusTo >= ApplicationStatusEnum.Panel_Review || this.APPLICATIONMODEL.Application.Status >= ApplicationStatusEnum.Panel_Review) {\r\n\r\n\r\n\t\t\tif (panelsSelected.length != this.numberOfPanelReviewersRequired) {\r\n\t\t\t\tlet rvwmsg = this.numberOfPanelReviewersRequired > 1 ? `Reviewers` : `Reviewer`;\r\n\t\t\t\tthis._msgSrv.DisplayLocalMessage(this.name,\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tisError: true,\r\n\t\t\t\t\t\tmessage: `Please select ${this.numberOfPanelReviewersRequired} Panel ${rvwmsg}`,\r\n\t\t\t\t\t\ttype: MessageTypeEnum.ohsnap\r\n\t\t\t\t\t});\r\n\t\t\t\treturn;\r\n\r\n\t\t\t}\r\n\r\n\r\n\r\n\r\n\r\n\t\t\t//Sites//\r\n\t\t\tif (siteReviewersSelected.length != 1 && app.Application.NeedsSiteReview) {\r\n\t\t\t\tthis._msgSrv.DisplayLocalMessage(this.name,\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tisError: true,\r\n\t\t\t\t\t\tmessage: 'Please select 1 Site Reviewer',\r\n\t\t\t\t\t\ttype: MessageTypeEnum.ohsnap\r\n\t\t\t\t\t});\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// get selected boards\r\n\r\n\t\t\tif (boardSelected.length < 2) {\r\n\t\t\t\tthis._msgSrv.DisplayLocalMessage(this.name,\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tisError: true,\r\n\t\t\t\t\t\tmessage: 'Please select at least 2 Board Reviewers',\r\n\t\t\t\t\t\ttype: MessageTypeEnum.ohsnap\r\n\t\t\t\t\t});\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\r\n\r\n\r\n\t\t// get selected members\r\n\r\n\r\n\r\n\t\tthis._loaderService.SetLoading(this.name, true);\r\n\t\t// this._loggerService.Debug(this.name, ['posting reviewers', this._reviewerService.PostingReviewers]);\r\n\r\n\r\n\t\tlet contactIds: string[] = [];\r\n\t\t// check for duplicates\r\n\t\tthis._reviewerService.PostingReviewers.forEach(r => {\r\n\t\t\tif (contactIds.find(c => c === r.Reviewer.ContactId)) {\r\n\t\t\t\t// we have a duplicate\r\n\r\n\r\n\t\t\t\tthis._msgSrv.DisplayLocalMessage(this.name,\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tisError: true,\r\n\t\t\t\t\t\tmessage: 'You have selected ' + r.Reviewer.Fullname + ' multiple times.',\r\n\t\t\t\t\t\ttype: MessageTypeEnum.ohsnap\r\n\t\t\t\t\t});\r\n\r\n\t\t\t}\r\n\t\t\tcontactIds.push(r.Reviewer.ContactId);\r\n\t\t});\r\n\r\n\t\tif (contactIds.length === this._reviewerService.PostingReviewers.length) {\r\n\t\t\tthis.subscriptions.push(\r\n\t\t\t\tthis._reviewerService.PostReviewers(app).subscribe(reviewers => {\r\n\r\n\t\t\t\t\tthis._loggerService.Debug(this.name, ['posted reviewers', reviewers]);\r\n\r\n\r\n\r\n\r\n\t\t\t\t\tthis._msgSrv.DisplayLocalMessage(this.name,\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tisError: false,\r\n\t\t\t\t\t\t\tmessage: 'Your selections have been saved',\r\n\t\t\t\t\t\t\ttype: MessageTypeEnum.welldone\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\tsetTimeout(() => {\r\n\r\n\t\t\t\t\t\tif (this._reviewerService._updateStatusTo == ApplicationStatusEnum.Panel_Review || this._reviewerService._updateStatusTo == ApplicationStatusEnum.Site_Review || this._reviewerService._updateStatusTo == ApplicationStatusEnum.QC_Review) {\r\n\t\t\t\t\t\t\tthis._reviewerService.AssignToPanels$.emit({\r\n\t\t\t\t\t\t\t\tvalue: 'PANEL',\r\n\t\t\t\t\t\t\t\ttag: 'AssigntoPanel',\r\n\t\t\t\t\t\t\t\ttext: '',\r\n\t\t\t\t\t\t\t\theader: 'Assign to Panel',\r\n\t\t\t\t\t\t\t\tcalleer: this.name\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t\t\tthis._loaderService.SetLoading(this.name, false);\r\n\t\t\t\t\t\tthis._reviewerService.SelectPanelDialogOpen = false;\r\n\r\n\t\t\t\t\t}, 1500);\r\n\r\n\t\t\t\t}, err => {\r\n\t\t\t\t\tthis._loggerService.Error(this.name, ['error posting reviewers', err]);\r\n\t\t\t\t\tthis._loaderService.SetLoading(this.name, false);\r\n\r\n\t\t\t\t\tthis._msgSrv.DisplayLocalMessage(this.name,\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tisError: true,\r\n\t\t\t\t\t\t\tmessage: 'System was not able to save your selections',\r\n\t\t\t\t\t\t\ttype: MessageTypeEnum.ohsnap\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t}));\r\n\t\t} else {\r\n\t\t\tthis._loggerService.Error(this.name, ['System was not able to verify if there are any duplicates among selected members']);\r\n\t\t}\r\n\r\n\r\n\r\n\r\n\t}\r\n\r\n\r\n\r\n\tonMouseOver(x: IReviewer) {\r\n\t\tx.Hover = 'block';\r\n\t\tthis.reviwerHover = x;\r\n\t\tthis.isReviwerHoverHidden = 'shown';\r\n\t\t// console.log(this.reviwerHover);\r\n\t}\r\n\r\n\tonMouseOut(x: IReviewer) {\r\n\t\tx.Hover = 'none';\r\n\t\tthis.isReviwerHoverHidden = 'hidden';\r\n\r\n\t\t// console.log(this.reviwerHover);\r\n\t}\r\n\r\n\tonCheckBoxClicked(x: IReviewerModel, e: any) {\r\n\t\tthis._loaderService.SetLoading(this.name, true);\r\n\t\tx.Reviewer.Selected = e.checked;\r\n\r\n\r\n\r\n\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis._update(x);\r\n\t\t\tthis._loaderService.SetLoading(this.name, false);\r\n\r\n\t\t\t//this._loggerService.Debug(this.name, ['updating posting reviewers', this._reviewerService.PostingReviewers]);\r\n\r\n\t\t}, 100);\r\n\r\n\t}\r\n\r\n\tprivate _update(x) {\r\n\r\n\t\tif (x) {\r\n\t\t\tthis._reviewerService.Reviewers.filter(r => r.Reviewer.PositionId === x.Reviewer.PositionId && r.Reviewer.ContactId == x.Reviewer.ContactId)[0].Reviewer.Selected = x.Reviewer.Selected;\r\n\t\t}\r\n\r\n\t\tif (this._reviewerService.Reviewers && this._reviewerService.Reviewers.length > 0) {\r\n\r\n\t\t\tlet panels = this._reviewerService.Reviewers.filter(r => r.Reviewer.PositionId === RoleEnum.Panel);\r\n\t\t\tlet boards = this._reviewerService.Reviewers.filter(r => r.Reviewer.PositionId === RoleEnum.Board);\r\n\r\n\t\t\t// get selected members\r\n\t\t\tlet panelsSelected = panels.filter(p => p.Reviewer.Selected === true);\r\n\t\t\tlet boardsSelected = boards.filter(b => b.Reviewer.Selected === true);\r\n\r\n\r\n\t\t\tthis._loggerService.Debug(this.name, ['Updating the checkboxes', panels, boards, panelsSelected, boardsSelected]);\r\n\t\t\t// limit panels to only two\r\n\t\t\tif (panelsSelected.length >= this.numberOfPanelReviewersRequired) {\r\n\t\t\t\t// console.log('panels', panelsSelected.length);\r\n\t\t\t\tlet panelUnselected = panels.filter(p => p.Reviewer.Selected === false);\r\n\t\t\t\tpanelUnselected.forEach(p => p.Reviewer.Disabled = true);\r\n\t\t\t\tpanelsSelected.forEach(p => {\r\n\t\t\t\t\tlet brd = boards.find(b => b.Reviewer.ContactId === p.Reviewer.ContactId);\r\n\t\t\t\t\tif (brd) {\r\n\t\t\t\t\t\tbrd.Reviewer.Disabled = true;\r\n\t\t\t\t\t\tbrd.Reviewer.Selected = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tpanels.forEach(p => {\r\n\t\t\t\t\tif (boardsSelected.find(b => b.Reviewer.ContactId === p.Reviewer.ContactId)) {\r\n\t\t\t\t\t\tp.Reviewer.Disabled = true;\r\n\t\t\t\t\t\tp.Reviewer.Selected = false;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tp.Reviewer.Disabled = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif (x) {\r\n\t\t\t\t// check for duplcity\r\n\t\t\t\tlet others = this._reviewerService.Reviewers.filter(r => r.Reviewer.ContactId === x.Reviewer.ContactId && r.Reviewer.PositionId !== x.Reviewer.PositionId);\r\n\t\t\t\tif (others) {\r\n\t\t\t\t\tif (x.Reviewer.Selected === true) {\r\n\t\t\t\t\t\tothers.forEach(o => {\r\n\t\t\t\t\t\t\to.Reviewer.Selected = false;\r\n\t\t\t\t\t\t\to.Reviewer.Disabled = true;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tothers.forEach(o => {\r\n\t\t\t\t\t\t\tif (o.Reviewer.PositionId === RoleEnum.Board) {\r\n\t\t\t\t\t\t\t\to.Reviewer.Disabled = false;\r\n\t\t\t\t\t\t\t} else if (panelsSelected.length < 2) {\r\n\t\t\t\t\t\t\t\to.Reviewer.Disabled = false;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\r\n\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/assign-reviewers/assign-reviewers.component.ts","import {\r\n\tComponent,\r\n\tViewEncapsulation,\r\n\tEventEmitter,\r\n\tOnInit,\r\n\tOnChanges,\r\n\tOnDestroy,\r\n\tInput,\r\n\tOutput\r\n} from \"@angular/core\";\r\nimport { Subscription } from \"rxjs/Subscription\";\r\n\r\n// Interfaces\r\nimport { IComponent } from \"../../../interfaces\";\r\n// Services\r\nimport * as Srv from \"../../../services\";\r\n\r\n@Component({\r\n\tselector: \"app-text-dialog\",\r\n\ttemplateUrl: \"./text-dialog.component.html\",\r\n\tstyleUrls: [\"./text-dialog.component.scss\"],\r\n\tencapsulation: ViewEncapsulation.None\r\n})\r\nexport class TextDialogComponent\r\n\timplements IComponent, OnInit, OnDestroy, OnChanges {\r\n\t// implements IComponent interfaces\r\n\tname = \"TextDialogComponent\";\r\n\tsubscriptions: Subscription[] = [];\r\n\r\n\t// implements local variables\r\n\t// *\r\n\tconstructor(\r\n\t\tprivate _loggerService: Srv.LogService,\r\n\t\tpublic dialogService: Srv.DialogService\r\n\t) {\r\n\t\t// this.subscriptions.push(\r\n\t\t// dialogService.OnOpenTextDialog$.subscribe((value: any) => {\r\n\r\n\t\t// this.value = value;\r\n\t\t// }));\r\n\t\tthis.subscriptions.push(\r\n\t\t\tdialogService.OnClosingTextDialog$.subscribe((value: any) => {})\r\n\t\t);\r\n\t\tthis.subscriptions.push(\r\n\t\t\tdialogService.OnClose$.subscribe((value: any) => {})\r\n\t\t);\r\n\t}\r\n\r\n\tngOnInit() {}\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.subscriptions.forEach(s => {\r\n\t\t\ts.unsubscribe();\r\n\t\t});\r\n\t\tdelete this.subscriptions;\r\n\t}\r\n\r\n\tngOnChanges() {\r\n\t\t// this._loggerService.Debug(this.name, ['inputs:', { value: this.value }]);\r\n\t}\r\n\r\n\tonLeftClick(e: any) {\r\n\t\tthis._loggerService.Debug(this.name, [\r\n\t\t\tthis.dialogService.leftButtonText + \"Left button clicked\",\r\n\t\t\te\r\n\t\t]);\r\n\r\n\t\tlet texttag = this.dialogService.textTag;\r\n\t\tif (\r\n\t\t\tthis.dialogService.textTag.tag == \"SITEREVIEW_DIALOG_TOBOARD\" ||\r\n\t\t\tthis.dialogService.textTag.tag == \"DOWNLOADAPP\"\r\n\t\t) {\r\n\t\t\tthis.dialogService.ClickLeftTextDialog(texttag);\r\n\t\t\tthis.dialogService.CloseTextDialog(e);\r\n\t\t} else {\r\n\t\t\tthis.dialogService.CloseTextDialog(e);\r\n\t\t}\r\n\t}\r\n\r\n\tonRightClick(e: any) {\r\n\t\tthis._loggerService.Debug(this.name, [\r\n\t\t\tthis.dialogService.rightButtonText + \"Right button clicked\",\r\n\t\t\te\r\n\t\t]);\r\n\t\tthis.dialogService.ClickRightTextDialog(e);\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/text-dialog/text-dialog.component.ts","import {\r\n\tComponent,\r\n\tViewEncapsulation,\r\n\tEventEmitter,\r\n\tOnInit,\r\n\tOnChanges,\r\n\tOnDestroy,\r\n\tViewChild,\r\n\tElementRef\r\n} from \"@angular/core\";\r\nimport { Subscription } from \"rxjs/Subscription\";\r\n\r\n// Interfaces\r\nimport { IComponent } from \"../../../interfaces\";\r\n// Services\r\nimport * as Srv from \"../../../services\";\r\n// types\r\nimport { dialogTag } from \"../../../types\";\r\n@Component({\r\n\tselector: \"app-textbox-dialog\",\r\n\ttemplateUrl: \"./textbox-dialog.component.html\",\r\n\tstyleUrls: [\"./textbox-dialog.component.scss\"]\r\n})\r\nexport class TextboxDialogComponent\r\n\timplements IComponent, OnInit, OnDestroy, OnChanges {\r\n\t// implements IComponent interfaces\r\n\tname = \"TextboxDialogComponent\";\r\n\tsubscriptions: Subscription[] = [];\r\n\r\n\t// implements local variables\r\n\t@ViewChild(\"textarea\")\r\n\ttextarea: ElementRef;\r\n\r\n\ttag: dialogTag;\r\n\tconstructor(\r\n\t\tprivate _loggerService: Srv.LogService,\r\n\t\tpublic dialogService: Srv.DialogService\r\n\t) {\r\n\t\tthis.subscriptions.push(\r\n\t\t\tthis.dialogService.OnOpenTextboxDialog$.subscribe(\r\n\t\t\t\t(tag: dialogTag) => {\r\n\t\t\t\t\tthis.tag = tag;\r\n\t\t\t\t\tif (this.tag) {\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t)\r\n\t\t);\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tdialogService.OnClosingTextboxDialog$.subscribe(\r\n\t\t\t\t(value: dialogTag) => {\r\n\t\t\t\t\tthis.tag = undefined;\r\n\t\t\t\t}\r\n\t\t\t)\r\n\t\t);\r\n\r\n\t\tthis.subscriptions.push(\r\n\t\t\tdialogService.OnClose$.subscribe((value: any) => { })\r\n\t\t);\r\n\t}\r\n\r\n\tngOnInit() { }\r\n\r\n\tngOnDestroy() {\r\n\t\tthis.subscriptions.forEach(s => {\r\n\t\t\ts.unsubscribe();\r\n\t\t});\r\n\t\tdelete this.subscriptions;\r\n\t}\r\n\r\n\tngOnChanges() {\r\n\t\t// this._loggerService.Debug(this.name, ['inputs:', { value: this.value }]);\r\n\t}\r\n\r\n\tonLeftClick(e: any) {\r\n\t\t// this._loggerService.Debug(this.name,\r\n\t\t// [this.dialogService.leftButtonText + 'Left button clicked', this.tag]);\r\n\t\tif (this.tag.tag == \"RECOMMEND_SITEREVIEW_TOBOARD\") {\r\n\t\t\tthis.dialogService.ClickLeftTextDialog(this.tag);\r\n\t\t\tthis.tag = undefined;\r\n\t\t} else {\r\n\t\t\tthis.dialogService.CloseTextboxDialog(this.tag);\r\n\t\t}\r\n\t\t// this.tag = undefined;\r\n\t}\r\n\r\n\tonRightClick(e: any) {\r\n\t\t// this._loggerService.Debug(this.name, [this.dialogService.rightButtonText + 'Right button clicked', e]);\r\n\t\tthis.tag.text = this.textarea.nativeElement.value;\r\n\t\tif (this.tag.text == \"\") {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.textarea.nativeElement.type == \"email\") {\r\n\t\t\tif (!this.validateEmail(this.tag.text)) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.dialogService.ClickRightTextboxDialog(this.tag);\r\n\t\tthis.tag = undefined;\r\n\t}\r\n\r\n\tvalidateEmail(email) {\r\n\t\tvar re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n\t\treturn re.test(email);\r\n\t}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/dialog/textbox-dialog/textbox-dialog.component.ts","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterModule } from '@angular/router';\r\nimport { HttpModule } from '@angular/http';\r\n\r\n// materials\r\nimport { RippleGlobalOptions, MAT_RIPPLE_GLOBAL_OPTIONS, MatCheckboxModule } from '@angular/material';\r\n\r\nconst globalRippleConfig: RippleGlobalOptions = { disabled: true };\r\n\r\n\r\n\r\n// Services\r\nimport {\r\n\tServerService, LogService, UserService\r\n\t, StorageService, LoaderService, MessageService, HelperService\r\n\t, ApplicationService, PromptService, SsoService, CmsService, DiscussionService, ReviewerService, ApplicationDownloadService, DialogService, VoteService, QuestionService, FileService, StepService\r\n} from './services';\r\n\r\nimport * as local from '../modules/levels/services';\r\n\r\n// pipes\r\nimport { HasRolePipe, ToLocalDatePipe, UtcToLocalPipe, HasMoreRolePipe, ProfilePipe, RolePipe, ReviewerRolePipe, ReviewerBlockPipe } from './pipes';\r\n\r\n\r\nimport { LastitemDirective } from './directives/lastitem.directive';\r\n\r\n// Components\r\nimport {\r\n\tPaginationComponent,\r\n\tLevelComponent,\r\n\tLevelsComponent,\r\n\tLoaderComponent,\r\n\tLoadingComponent,\r\n\tMessageComponent,\r\n\tTermsComponent,\r\n\tPromptComponent,\r\n\tMenuComponent,\r\n\tTopbannerComponent,\r\n\tAssignReviewersComponent,\r\n TextDialogComponent,\r\n\tTextboxDialogComponent\r\n} from './components';\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tRouterModule,\r\n\t\tHttpModule,\r\n\t\tMatCheckboxModule\r\n\t],\r\n\tdeclarations: [\r\n\t\tMenuComponent,\r\n\t\tLoaderComponent,\r\n\t\tLoadingComponent,\r\n\t\tLastitemDirective,\r\n\t\tPaginationComponent,\r\n\t\tMessageComponent,\r\n\t\tHasRolePipe,\r\n\t\tHasMoreRolePipe,\r\n\t\tProfilePipe,\r\n\t\tRolePipe,\r\n\t\tReviewerRolePipe,\r\n\t\tReviewerBlockPipe,\r\n\t\tToLocalDatePipe,\r\n\t\tUtcToLocalPipe,\r\n\t\tLevelComponent,\r\n\t\tLevelsComponent,\r\n\t\tTermsComponent,\r\n\t\tTopbannerComponent,\r\n\t\tPromptComponent,\r\n\t\tAssignReviewersComponent,\r\n\t\tTextDialogComponent,\r\n\t\tTextboxDialogComponent\r\n\t],\r\n\texports: [\r\n\t\tTopbannerComponent,\r\n\t\tMenuComponent,\r\n\t\tLoaderComponent,\r\n\t\tLoadingComponent,\r\n\t\tLastitemDirective,\r\n\t\tPaginationComponent,\r\n\t\tMessageComponent,\r\n\t\tAssignReviewersComponent,\r\n\t\tTextDialogComponent,\r\n\t\tTextboxDialogComponent,\t\t\r\n\t\tLevelComponent,\r\n\t\tLevelsComponent,\r\n\t\tTermsComponent,\r\n\t\tPromptComponent,\r\n\t\tHasRolePipe,\r\n\t\tReviewerRolePipe,\r\n\t\tReviewerBlockPipe,\r\n\t\tHasMoreRolePipe,\r\n\t\tToLocalDatePipe,\r\n\t\tUtcToLocalPipe,\r\n\t\tProfilePipe,\r\n\t\tRolePipe\r\n\t],\r\n\tproviders: [\r\n\t\t{ provide: MAT_RIPPLE_GLOBAL_OPTIONS, useValue: globalRippleConfig }\r\n\t]\r\n})\r\nexport class ShareModule {\r\n\tstatic forRoot() { // pattern for adding app-wide services\r\n\t\treturn {\r\n\t\t\tngModule: ShareModule,\r\n\t\t\tproviders: [\r\n\t\t\t\tServerService,\r\n\t\t\t\tLogService,\r\n\t\t\t\tUserService,\r\n\t\t\t\tStorageService, \r\n\t\t\t\tLoaderService,\r\n\t\t\t\tMessageService,\r\n\t\t\t\tHelperService,\r\n\t\t\t\tApplicationService,\r\n\t\t\t\tPromptService,\r\n\t\t\t\tDialogService,\r\n\t\t\t\tSsoService,\r\n\t\t\t\tCmsService,\r\n\t\t\t\tDiscussionService,\r\n\t\t\t\tReviewerService,\r\n\t\t\t\tApplicationDownloadService,\r\n\t\t\t\tFileService,\r\n\t\t\t\tStepService,\r\n\t\t\t\tQuestionService\r\n\t\t\t],\r\n\t\t};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/share.module.ts","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"/* _main.scss */html{overflow-y:scroll;font-size:16px}body,html{height:100%;width:100%}body{font-size:1em}.bold{font-weight:700}.italics{font-style:italic}.btn{outline:none!important}\\n/* setup the table header styles */.table-header{background-color:hsla(0,0%,93%,.85);color:#333;text-decoration:none;font-size:16px}\\n/*processing ajax requests*/.ajaxloaderimage{position:fixed\\n /*background-image: url('../../Assets/_images/ajax-loader.gif');*/}\\n/*processing ajax requests*/.ajaxloaderimage,.ajaxloadingimage{z-index:99999;background-position:50%;background-repeat:no-repeat;left:0;top:0;right:0;bottom:0;opacity:.5;filter:Alpha(Opacity=50)}.ajaxloadingimage{\\n /*background-image: url('../../Assets/_images/ajax-loader.gif');*/background-size:contain;height:50px;height:100%}.backgroundOverlay{background-color:#000;opacity:.5;filter:Alpha(Opacity=50)}.menu-active{border:4px solid #e28200;padding:22px 7px}.prompt-container .errortext,.prompt-container .messagetext{position:absolute;right:75px;top:35px}::ng-deep .level{min-height:350px;padding:15px;position:relative;border:1px solid #000}::ng-deep .level.level1{border:1px solid #d6a85d}::ng-deep .level.level2{border:1px solid #95989a}::ng-deep .level.level3{border:1px solid #bd6d49}::ng-deep .level .footer{position:absolute;bottom:0}::ng-deep .level .footer label.mat-checkbox-layout,::ng-deep .level .footer label.mat-checkbox-layout span.mat-checkbox-label{white-space:normal}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/styles/_main.scss\",\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/levels.component.scss\"],\"names\":[],\"mappings\":\"AAAA,gBAAgB,KAmEf,kBAAkB,cACH,CAGf,UAFA,YAAW,UACD,CAGX,KACI,aAAc,CAMjB,MAGA,eAAiB,CACjB,SAEA,iBAAkB,CAClB,KAEA,sBAAwB,CACxB;AA6CD,mCAAmC,cASlC,oCA/F+C,WAL5B,qBAsGE,cACN,CACf;AACD,4BAA4B,iBAG3B,cAAe;EAEf,kEAAkE,CASlE;AACD,4BAA4B,mCAX3B,cAAc,wBAEa,4BACC,OACrB,MACD,QACE,SACC,WACG,wBACa,CAI1B;EAGC,kEAAkE,wBAG1C,YACZ,WAOA,CACZ,mBAGA,sBAAuB,WACX,wBACa,CACzB,aAOA,yBAxKwB,gBAyKP,CACjB,4DAwDA,kBAAkB,WACP,QACF,CACT,iBC5PO,iBAAiB,aACJ,kBACK,qBACK,CAL/B,wBAOY,wBDuBU,CC9BtB,wBAUY,wBDmBU,CC7BtB,wBAaY,wBDeU,CC5BtB,yBAgBY,kBAAkB,QACT,CAjBrB,8HAyBoB,kBAAmB,CACtB\",\"file\":\"levels.component.scss\",\"sourcesContent\":[\"/* _main.scss */\\r\\n\\r\\n// Extra small devices Phones (<768px)\\r\\n// Small devices Tablets (≥768px)\\r\\n// Medium devices Desktops (≥992px)\\r\\n// Large devices Desktops (≥1200px)\\r\\n//base settings\\r\\n//$font-family-base $font-size-base $line-height-base\\r\\n$name: \\\"GEDA\\\";\\r\\n$max-width: 1400px;\\r\\n$max-allowed: 1400px;\\r\\n$max-allowed-1: 1336px;\\r\\n$screen-xl: 1380px;\\r\\n$screen-xl-1: 1379px;\\r\\n$screen-lg: 1200px;\\r\\n$screen-lg-1: 1199px;\\r\\n$screen-md: 992px;\\r\\n$screen-md-1: 991px;\\r\\n$screen-sm: 760px;\\r\\n$screen-sm-1: 759px;\\r\\n$screen-xs: 576px;\\r\\n$screen-xs-1: 575px;\\r\\n$primary-color: #2c5e84;\\r\\n$primary-color-light: #5c8bb7;\\r\\n$primary-color-dark: #00355a;\\r\\n$primary-border-color: #95989a;\\r\\n$secondary-color: #e28200;\\r\\n$secondary-color-light: #ffb242;\\r\\n$secondary-color-dark: #aa5500;\\r\\n$level3-color: #bd6d49;\\r\\n$level2-color: #95989a;\\r\\n$level1-color: #d6a85d;\\r\\n$button-color: #00355b;\\r\\n$button-disabled: #e0e0e0;\\r\\n$button-color-hover: #5c8bb7;\\r\\n$button-application-primary: #e28200;\\r\\n$button-application-primary-hover: #ab5600;\\r\\n$button-application-secondary: #adadad;\\r\\n$button-application-secondary-hover: #959595;\\r\\n$button-approval-primary: #295c88;\\r\\n$button-approval-primary-hover: #00335b;\\r\\n$button-approval-secondary: #adadad;\\r\\n$button-approval-secondary-hover: #959595;\\r\\n$ready-for-payment: #a9d5f0;\\r\\n$text-color: #333333;\\r\\n$text-heading-color: #2c5f86;\\r\\n$text-small-font: #959595;\\r\\n$table-header: #f1f1f1; // rgba(237, 237, 237, 0.85); //#95989a;\\r\\n$table-header-light: #eaeaea;\\r\\n$table-header-bgcolor: rgba(237, 237, 237, 0.85);\\r\\n$default-font-size: 16px;\\r\\n$default-font-family: Arial, sans-serif;\\r\\n$link-color: #0066cc;\\r\\n$geda-blue: #2e536e;\\r\\n$linecolor: #ccc;\\r\\n$error-red: #cd040b;\\r\\n$placeholder-color: #959595;\\r\\n$headerRd: 237;\\r\\n$headerGr: 237;\\r\\n$headerBl: 237;\\r\\n$menu-color-light: rgba($headerRd, $headerGr, $headerBl, 1);\\r\\n$menu-color-light-opaque: rgba($headerRd, $headerGr, $headerBl, 0.75);\\r\\n$detail-lightblue: #d4dee7;\\r\\n\\r\\n// STATIC VERTICAL SCROLL BAR TO PROHIBIT THE SCREEN JUMPING\\r\\nhtml {\\r\\n\\t//overflow-x: auto;\\r\\n\\toverflow-y: scroll;\\r\\n\\tfont-size: 16px;\\r\\n\\theight:100%;\\r\\n\\twidth:100%;\\r\\n}\\r\\n\\r\\nbody {\\r\\n font-size: 1em;\\r\\n\\theight:100%;\\r\\n\\twidth:100%;\\r\\n //font-size: 10pt;\\r\\n //position: relative;\\r\\n //letter-spacing: 0.3pt;\\r\\n}\\r\\n\\r\\n.bold {\\r\\n\\tfont-weight: bold;\\r\\n}\\r\\n.italics {\\r\\n\\tfont-style: italic;\\r\\n}\\r\\n.btn{\\r\\n\\toutline: none !important;\\r\\n}\\r\\n\\r\\n// .level-step-section-title.bold-title {\\r\\n// font-weight: bold;\\r\\n// font-size: 1.2em;\\r\\n// margin-bottom: 1em;\\r\\n// line-height: 135%;\\r\\n// }\\r\\n// other variables\\r\\n@mixin loader($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t$table-header: rgba(237, 237, 237, 0.85);\\r\\n\\t$table-header-light: #eaeaea;\\r\\n}\\r\\n\\r\\n@mixin loader($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t@extend .ajaxloaderimage;\\r\\n}\\r\\n\\r\\n@mixin loading($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t@extend .ajaxloadingimage;\\r\\n}\\r\\n\\r\\n@mixin backgroundImage($imageName) {\\r\\n\\tbackground-image: url(\\\"/assets/_images/1x/\\\" + $imageName + \\\".png\\\");\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-image: url(\\\"/assets/_images/1x/\\\" + $imageName + \\\"_hover.png\\\");\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin icon-size($width, $height) {\\r\\n\\tbackground-size: $width $height !important;\\r\\n\\t// background-position: ;\\r\\n\\tfilter: none;\\r\\n\\t// font-iconmily: Ubuntu, sans-serif;\\r\\n\\twidth: $width;\\r\\n\\theight: $height;\\r\\n}\\r\\n\\r\\n@mixin LevelStepFile() {\\r\\n\\tpadding: 25px 10px 25px 20px;\\r\\n}\\r\\n/* setup the table header styles */\\r\\n\\r\\n@mixin disabledElement() {\\r\\n\\tbackground-color: $button-disabled;\\r\\n\\tcolor: #ffffff !important;\\r\\n\\tcursor: not-allowed;\\r\\n}\\r\\n\\r\\n.table-header {\\r\\n\\tbackground-color: $table-header-bgcolor;\\r\\n\\tcolor: $text-color;\\r\\n\\ttext-decoration: none;\\r\\n\\tfont-size: 16px;\\r\\n}\\r\\n/*processing ajax requests*/\\r\\n\\r\\n.ajaxloaderimage {\\r\\n\\tposition: fixed;\\r\\n\\tz-index: 99999;\\r\\n\\t/*background-image: url('../../Assets/_images/ajax-loader.gif');*/\\r\\n\\tbackground-position: center;\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n}\\r\\n/*processing ajax requests*/\\r\\n\\r\\n.ajaxloadingimage {\\r\\n\\t// position: fixed;\\r\\n\\tz-index: 99999;\\r\\n\\t/*background-image: url('../../Assets/_images/ajax-loader.gif');*/\\r\\n\\tbackground-position: center center;\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\tbackground-size: contain;\\r\\n\\theight: 50px;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n\\theight: 100%;\\r\\n}\\r\\n\\r\\n.backgroundOverlay {\\r\\n\\tbackground-color: black;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n}\\r\\n\\r\\n@mixin activeMenu() {\\r\\n\\t@extend .menu-active;\\r\\n}\\r\\n\\r\\n.menu-active {\\r\\n\\tborder: 4px solid $secondary-color;\\r\\n\\tpadding: 22px 7px;\\r\\n}\\r\\n\\r\\n@mixin h1() {\\r\\n\\tfont-family: \\\"Open Sans Condensed\\\", \\\"Arial\\\", sans-serif;\\r\\n\\tfont-weight: bold;\\r\\n\\tfont-size: 40px;\\r\\n\\tcolor: $button-approval-primary;\\r\\n}\\r\\n\\r\\n@mixin btn-acep($backgroundcolor, $bordercolor, $color) {\\r\\n\\tcolor: $color !important;\\r\\n\\tbackground-color: $backgroundcolor !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\topacity: 0.75;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $backgroundcolor !important;\\r\\n\\t\\topacity: 1;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-primary($bordercolor) {\\r\\n\\tposition: relative;\\r\\n\\tcolor: #fff !important;\\r\\n\\tbackground-color: $menu-hover-color !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $menu-hover-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-default($bordercolor, $color) {\\r\\n\\tposition: relative;\\r\\n\\tcolor: $color !important;\\r\\n\\t//background-color: $default-button-color !important;\\r\\n\\tbackground-color: white !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $default-button-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-save($bordercolor, $color) {\\r\\n\\tcolor: $color !important;\\r\\n\\tbackground-color: $button-color !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $button-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n.prompt-container .errortext,\\r\\n.prompt-container .messagetext {\\r\\n\\t//for popup\\r\\n\\t// position: absolute;\\r\\n\\t// right: 50px;\\r\\n\\t// top: 20px;\\r\\n\\tposition: absolute;\\r\\n\\tright: 75px;\\r\\n\\ttop: 35px;\\r\\n}\\r\\n\\r\\n\\r\\n@mixin acep-logo() {\\r\\nbackground: url(\\\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%20323%2060%22%3E%3Cdefs%3E%3Cstyle%3Eg %7Bfill: %23fff%3B%7D %3C/style%3E%3C/defs%3E %3Cg id%3D'ACEPLogo' viewBox%3D'0 0 323.9 60.4'%3E\\\\a %3Cpath class%3D'cls-1' d%3D'M80.3,413.8c2.4-.2,2.6-.3,2.7-.5s.4-.8.4-5.2v-7.3c0-4.4-.2-4.9-.4-5.2s-.3-.3-2.7-.5v-.8H95.6v4.2h-1l-.3-1.5c-.3-1.5-.4-1.7-4.7-1.7s-3.7.2-3.7.9v7.4h3.7c3,0,3.1-.1,3.1-1.3v-1.2h.8v6h-.8c0-2.4-.1-2.4-1.3-2.5H85.8c0,2.1-.1,4.2-.1,6.3s.2,2.6,1.3,2.6h5c2.7,0,3.3-.7,4.3-3.7h.9l-.9,4.9h-16v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M98.7,403.3a3.1,3.1,0,0,0,2.8-1.8h.6v2.7l1.6-1.4a4.6,4.6,0,0,1,2.7-.7,3.5,3.5,0,0,1,3.4,2.1l1.6-1.5a5.5,5.5,0,0,1,2.4-.6c2.4,0,4,1.1,4,4.4,0,1.5-.2,4.9-.2,6s0,1.1.8,1.2h.9v.8h-5.8v-.8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3E%3Cpath class%3D'cls-1' d%3D'M195.5,413a5.9,5.9,0,0,1-10.3-4c0-3.8,2.6-6.9,6.5-6.9s4,1,4,2.6-.2.7-.8.7-1.5-.4-1.7-1.1a1.7,1.7,0,0,0-1.8-1.4c-1.5,0-4,1.4-4,5.1s1.7,5.5,4.6,5.5a6.6,6.6,0,0,0,3.1-.9l.4.4' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M204.4,402.4l2.1.2,2.4-.2v.7c-.9,0-1.1.3-1.4,1l-3,7.9c-2.2,5.6-3.5,7.4-4,8a4,4,0,0,1-2.4.8q-.9,0-.9-.6c0-.4.4-1.8,1.1-1.8s.9.5,1.4.5,1.1-.7,2.1-2.7l.5-1.2-3-7.7c-1.6-4.1-1.8-4.2-2.6-4.2v-.7l2.4.2,2.8-.2v.7c-1.4,0-1.7.2-1.7.6a26.5,26.5,0,0,0,1.6,4.8l1.5,3.8a35.8,35.8,0,0,0,2.9-8.3c0-.6-.2-.9-1.8-.9v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M222.9,405.1h1.2c3.9,0,5.6-2.3,5.6-4.9s-2.5-5.2-5.6-5.2-2.2.2-2.2.9-.1,3.2-.1,4.7v7.4c0,3.2.1,5,.3,5.2s.8.3,3,.5v.8h-8.9v-.8c2.2-.2,2.7-.2,3-.5s.3-2,.3-5.2v-7.3c0-3.2,0-4.9-.3-5.2s-.8-.3-3-.5v-.8h9.4c4,0,6.6,2.5,6.6,5.9s-3.2,6.1-7.1,6.1h-2.2v-1.1' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M233.3,413.8h1.2c.8-.1.8-.4.8-1.3V401.7c0-5.1,0-6.1-.3-6.6s-.5-.4-1.7-.4V394a10.3,10.3,0,0,0,3.5-1.2h.8c-.2,4.8-.2,9-.2,11.2l1.2-1.1a5.7,5.7,0,0,1,3-.8c2.4,0,4,1.1,4,4.4,0,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'/%3E%3Cpath class%3D'cls-1' d%3D'M128.6,370.6c-2,0-3.7,1.9-3.7,3s.2.3.6.3l3-.2c2.6-.1,2.8-.3,2.8-.8s-1.1-2.3-2.7-2.3Zm5.1,9.7a6.4,6.4,0,0,1-5.1,2.4c-3.4,0-5.8-2.7-5.8-6.6a6.2,6.2,0,0,1,6-6.4,4.6,4.6,0,0,1,4.9,4.5v.5h-8.9v.8c0,3.1,2.3,5.6,4.9,5.6a4.9,4.9,0,0,0,3.5-1.4l.5.6' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M135.3,381.5h1.2c.7-.1.8-.5.8-1.4v-7c0-.9-.3-1.2-1.6-1.4v-.7a3.1,3.1,0,0,0,2.8-1.7h.7v2.6c1.3-1.2,2.6-2.1,3.5-2.1s1.7,1.6,1.7,2-.2,1-.9,1-1.4-1.5-2.1-1.5a7.4,7.4,0,0,0-2.1,1.5v7.4c0,.9.1,1.2,1.4,1.3H142v.8h-6.7v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M148.6,362.4a1.2,1.2,0,0,1,1.2,1.2,1.8,1.8,0,0,1-1.7,1.7,1.2,1.2,0,0,1-1.2-1.2,1.7,1.7,0,0,1,1.7-1.7Zm-3.5,19.1h1c.8-.1,1-.4,1.1-.9a35.9,35.9,0,0,0,.1-4.5c0-3.3-.1-3.8-.1-4.1a1.6,1.6,0,0,0-1.6-.7v-.7c2-.2,2.7-.4,3.4-1.7h.6c-.2,1.5-.3,4.8-.3,7.2a41.7,41.7,0,0,0,.1,4.7c.1.4.3.6,1.1.7h1v.8h-6.4v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M163.5,380.7a5.9,5.9,0,0,1-4.5,2,5.9,5.9,0,0,1-5.8-6.1c0-3.7,2.6-6.9,6.5-6.9s4,1.1,4,2.6-.2.7-.7.7-1.6-.3-1.8-1.1a1.7,1.7,0,0,0-1.8-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9.7,7.5,9.7c1.7,0,4.5-.5,5.2-3.2l.3-1.3h1.1' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M229.4,377c-.1-3.6-1.5-6.3-4.3-6.4s-3.8,2.3-3.8,5,1.5,6.2,4.5,6.2,3.6-3.3,3.6-4.8Zm-4-7.3a6,6,0,0,1,6.3,6.3,6.6,6.6,0,0,1-6.4,6.7,6.4,6.4,0,0,1-6.3-6.6,6.3,6.3,0,0,1,6.4-6.4' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M233.2,361.7a12.8,12.8,0,0,0,3.5-1.3h.8c-.2,5-.2,9.4-.2,15.6v4.7c.1.4.4.6,1.1.7h1v.8h-6.6v-.8h1.3c.8-.1,1-.4,1-.9a35.9,35.9,0,0,0,.1-4.5v-6.6c0-5.2,0-6.2-.3-6.7s-.5-.3-1.7-.3v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M240.5,361.7a14.2,14.2,0,0,0,3.5-1.3h.7c-.2,5-.2,9.4-.2,15.6a41.7,41.7,0,0,0,.1,4.7c.1.4.3.6,1.1.7h1v.8H240v-.8h1.3c.8-.1,1.1-.4,1.1-.9a35.9,35.9,0,0,0,.1-4.5v-6.6c0-5.2,0-6.2-.3-6.7s-.5-.3-1.7-.3v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M253.9,370.6c-2,0-3.7,1.9-3.7,3s.2.3.6.3l3-.2c2.6-.1,2.8-.3,2.8-.8s-1.1-2.3-2.7-2.3Zm5.1,9.7a6.4,6.4,0,0,1-5.1,2.4c-3.4,0-5.8-2.7-5.8-6.6a6.2,6.2,0,0,1,6-6.4,4.6,4.6,0,0,1,4.9,4.5v.5h-8.9v.8c0,3.1,2.3,5.6,4.9,5.6a4.9,4.9,0,0,0,3.5-1.4l.5.6' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D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6.5,2.9-9.1,5.7-9.1.7,0,1.9.1,1.9,1.2a1.1,1.1,0,0,1-1,1.1c-1,0-.8-1.1-2.1-1.1s-2.4,1-2.4,4v4.6l3.8-.2v1.2h-3.8V376a41.7,41.7,0,0,0,.1,4.7c0,.4.3.6,1.1.7h1.8v.8h-7.2v-.8h1c.8-.1,1-.4,1.1-.9a35.9,35.9,0,0,0,.1-4.5c0-3-.1-3.9-.1-4.8h-2v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 6.9 5.3 1.5 0 1.5 0 6.9 5.3 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 13.6 5.3 8.3 0 8.3 0 13.6 5.3 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 20.3 5.3 15 0 15 0 20.3 5.3 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 6.9 12.1 1.5 6.7 1.5 6.7 6.9 12.1 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 13.6 12.1 8.3 6.7 8.3 6.7 13.6 12.1 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 20.3 12.1 15 6.7 15 6.7 20.3 12.1 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 6.9 18.8 1.5 13.5 1.5 13.5 6.9 18.8 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 13.6 18.8 8.3 13.5 8.3 13.5 13.6 18.8 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 20.3 18.8 15 13.5 15 13.5 20.3 18.8 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 6.9 25.6 1.5 20.2 1.5 20.2 6.9 25.6 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 6.9 32.3 1.5 27 1.5 27 6.9 32.3 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 6.9 39 1.5 33.7 1.5 33.7 6.9 39 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 6.9 45.8 1.5 40.5 1.5 40.5 6.9 45.8 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 13.6 25.6 8.3 20.2 8.3 20.2 13.6 25.6 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 13.6 32.3 8.3 27 8.3 27 13.6 32.3 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 13.6 39 8.3 33.7 8.3 33.7 13.6 39 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 13.6 45.8 8.3 40.5 8.3 40.5 13.6 45.8 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 20.3 25.6 15 20.2 15 20.2 20.3 25.6 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 20.3 39 15 33.7 15 33.7 20.3 39 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 20.3 45.8 15 40.5 15 40.5 20.3 45.8 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 27.1 5.3 21.7 0 21.7 0 27.1 5.3 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 27.1 12.1 21.7 6.7 21.7 6.7 27.1 12.1 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 27.1 18.8 21.7 13.5 21.7 13.5 27.1 18.8 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 27.1 25.6 21.7 20.2 21.7 20.2 27.1 25.6 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 27.1 32.3 21.7 27 21.7 27 27.1 32.3 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 27.1 39 21.7 33.7 21.7 33.7 27.1 39 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 27.1 45.8 21.7 40.5 21.7 40.5 27.1 45.8 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 54 52.5 48.7 47.2 48.7 47.2 54 52.5 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 47.3 52.5 41.9 47.2 41.9 47.2 47.3 52.5 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 40.5 52.5 35.2 47.2 35.2 47.2 40.5 52.5 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 33.8 45.8 28.5 40.5 28.5 40.5 33.8 45.8 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 40.5 45.8 35.2 40.5 35.2 40.5 40.5 45.8 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 47.3 45.8 41.9 40.5 41.9 40.5 47.3 45.8 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 54 45.8 48.7 40.5 48.7 40.5 54 45.8 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 33.8 5.3 28.5 0 28.5 0 33.8 5.3 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 40.5 5.3 35.2 0 35.2 0 40.5 5.3 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 47.3 5.3 41.9 0 41.9 0 47.3 5.3 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 54 5.3 48.7 0 48.7 0 54 5.3 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 33.8 12.1 28.5 6.7 28.5 6.7 33.8 12.1 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 40.5 12.1 35.2 6.7 35.2 6.7 40.5 12.1 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 47.3 12.1 41.9 6.7 41.9 6.7 47.3 12.1 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 54 12.1 48.7 6.7 48.7 6.7 54 12.1 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 33.8 18.8 28.5 13.5 28.5 13.5 33.8 18.8 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 40.5 18.8 35.2 13.5 35.2 13.5 40.5 18.8 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 47.3 18.8 41.9 13.5 41.9 13.5 47.3 18.8 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 54 18.8 48.7 13.5 48.7 13.5 54 18.8 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 33.8 25.6 28.5 20.2 28.5 20.2 33.8 25.6 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 40.5 25.6 35.2 20.2 35.2 20.2 40.5 25.6 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 33.8 32.3 28.5 27 28.5 27 33.8 32.3 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 47.3 25.6 41.9 20.2 41.9 20.2 47.3 25.6 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 54 25.6 48.7 20.2 48.7 20.2 54 25.6 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 40.5 32.3 35.2 27 35.2 27 40.5 32.3 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 47.3 32.3 41.9 27 41.9 27 47.3 32.3 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 54 32.3 48.7 27 48.7 27 54 32.3 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 54 39 48.7 33.7 48.7 33.7 54 39 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 47.3 39 41.9 33.7 41.9 33.7 47.3 39 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 40.5 39 35.2 33.7 35.2 33.7 40.5 39 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 33.8 39 28.5 33.7 28.5 33.7 33.8 39 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 6.9 52.5 1.5 47.2 1.5 47.2 6.9 52.5 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 13.6 52.5 8.3 47.2 8.3 47.2 13.6 52.5 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 20.3 52.5 15 47.2 15 47.2 20.3 52.5 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 27.1 52.5 21.7 47.2 21.7 47.2 27.1 52.5 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 33.8 52.5 28.5 47.2 28.5 47.2 33.8 52.5 33.8'/%3E%3C/g%3E%3C%2Fsvg%3E\\\") no-repeat;\\r\\n}\\r\\n\",\"@import '../../../../styles/main';\\r\\n::ng-deep {\\r\\n .level {\\r\\n min-height: 350px;\\r\\n padding: 15px;\\r\\n position: relative;\\r\\n border: 1px solid black;\\r\\n &.level1 {\\r\\n border: 1px solid $level1-color;\\r\\n }\\r\\n &.level2 {\\r\\n border: 1px solid $level2-color;\\r\\n }\\r\\n &.level3 {\\r\\n border: 1px solid $level3-color;\\r\\n }\\r\\n .footer {\\r\\n position: absolute;\\r\\n bottom: 0;\\r\\n // width: 100%;\\r\\n // padding: 15px;\\r\\n // font-weight: bold;\\r\\n // font-size: 1.2em;\\r\\n label.mat-checkbox-layout {\\r\\n white-space: normal;\\r\\n span.mat-checkbox-label {\\r\\n white-space: normal;\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n}\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/levels.component.scss\n// module id = ip+D\n// module chunks = 7","import { IDictionary, IKeyedCollection } from '../../share/interfaces/idictionary';\r\nimport { IKeyvalue } from '../../share/interfaces';\r\n\r\nexport class KeyValuPair implements IKeyvalue {\r\n Key: any;\r\n Value: V;\r\n constructor(key: any, value: V) {\r\n this.Key = key;\r\n this.Value = value;\r\n }\r\n}\r\n\r\nexport class KeyStringValuePair implements IKeyvalue {\r\n Key: string;\r\n Value: V;\r\n constructor(key: string, value: V) {\r\n this.Key = key;\r\n this.Value = value;\r\n }\r\n}\r\n\r\nexport class CDictionary implements IDictionary {\r\n _keys: any[] = [];\r\n _values: V[] = [];\r\n length: number = 0;\r\n\r\n addRange(KeyValuPairs: KeyValuPair[]) {\r\n // KeyValuPairs\r\n for (let x = 0; x < KeyValuPairs.length; x++) {\r\n this[KeyValuPairs[x].Key] = KeyValuPairs[x].Value;\r\n this._keys.push(KeyValuPairs[x].Key);\r\n this._values.push(KeyValuPairs[x].Value);\r\n }\r\n this.length = KeyValuPairs.length;\r\n }\r\n\r\n add(key: any, value: any) {\r\n this[key] = value;\r\n this._keys.push(key);\r\n this._values.push(value);\r\n this.length++;\r\n }\r\n\r\n\r\n remove(key: any) {\r\n let index = this._keys.indexOf(key, 0);\r\n this._keys.splice(index, 1);\r\n this._values.splice(index, 1);\r\n\r\n delete this[key];\r\n this.length--;\r\n }\r\n\r\n clear() {\r\n this._keys.forEach(k => this.remove(k));\r\n }\r\n\r\n keys(): any[] {\r\n return this._keys;\r\n }\r\n\r\n values(): any[] {\r\n return this._values;\r\n }\r\n\r\n containsKey(key: any) {\r\n if (typeof this[key] === undefined) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n toLookup(): IDictionary {\r\n return this;\r\n }\r\n\r\n Count(): number {\r\n return this.length;\r\n }\r\n}\r\n\r\nexport class KeyedCollection implements IKeyedCollection {\r\n private items: { [index: string]: T } = {};\r\n\r\n private count: number = 0;\r\n\r\n public ContainsKey(key: string): boolean {\r\n return this.items.hasOwnProperty(key);\r\n }\r\n\r\n public Count(): number {\r\n return this.count;\r\n }\r\n\r\n public Add(key: string, value: T) {\r\n this.items[key] = value;\r\n this.count++;\r\n }\r\n\r\n public Remove(key: string): T {\r\n let val = this.items[key];\r\n delete this.items[key];\r\n this.count--;\r\n return val;\r\n }\r\n\r\n public Item(key: string): T {\r\n return this.items[key];\r\n }\r\n\r\n public Keys(): string[] {\r\n let keySet: string[] = [];\r\n\r\n for (let prop in this.items) {\r\n if (this.items.hasOwnProperty(prop)) {\r\n keySet.push(prop);\r\n }\r\n }\r\n\r\n return keySet;\r\n }\r\n\r\n public Values(): T[] {\r\n let values: T[] = [];\r\n\r\n for (let prop in this.items) {\r\n if (this.items.hasOwnProperty(prop)) {\r\n values.push(this.items[prop]);\r\n }\r\n }\r\n\r\n return values;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/classes/c-dictionary.ts","export const environmentBase = {\r\n paymenttoken: `Ykr3AFRHzDBFfnrP+dRoX++prJJQ/RKRh2CjJhQK4Z7l4UZ0n3fn6z\r\n y7Ew+OSg1BXkNjlJkvK3FfYibNq7U0v9OGnIPG8z32ns+2ezG+TY5dPkA+eUVkzqyYn3KpKBEdv`,\r\n\tTermsandcondition: 'https://geda.s3.amazonaws.com/ASSETS/TERMS/GEDA_Terms_Conditions.docx',\r\n\t//Termsandcondition: 'https://s3.amazonaws.com/geda/ASSETS/TERMS/GEDA_Terms_Conditions.docx',\r\n name: 'GEDA',\r\n ManuallyEnterInfoId: 'A649031',\r\n version: '1.0.0.0',\r\n\tGEDAHometest: 'https://testwww.acep.org/geda/',\r\n\tGEDAHomeprod: 'https://www.acep.org/GEDAHome/'\r\n\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/environments/environment.base.ts","import { environmentBase } from \"./environment.base\";\r\nexport const environment = {\r\n\tbase: environmentBase,\r\n\tEvn: \"production\",\r\n\turl: \"https://webapps.acep.org/geda/#\",\r\n\tBaseUrl: \"https://webapps.acep.org\",\r\n\tpaymentUrl: \"https://webapps.acep.org\",\r\n\treceiptUrl:\r\n\t\t\"https://webapps.acep.org/shoppingcart/printreport.aspx?vw=geda&appid=\",\r\n\tToken:\r\n\t\t\"gNRwvHZZu6TVsFZ4P3QcGQGElZE3+iucrNQlgocJ/2MMftSzZu5tk5h9LSe\" +\r\n\t\t\"Q2PFnnLifak4aMrq0iTUq4z9+ZoB7NWKIjBHMn/syi4ahFbIfz6IhbvT8WnqF81kLTMWS\",\r\n\tPromo3To1: \"GEDA_upgrade3to1\",\r\n\tPromo3To2: \"GEDA_upgrade3to2\",\r\n\tPromo2To1: \"GEDA_upgrade2to1\",\r\n\tproduction: true,\r\n\tLogDebug: false,\r\n\tLogInfo: false,\r\n\tLogError: false,\r\n\timages: \"./geda/assets/_images/\",\r\n\tAPILocation: \"/api/\", // APIHost: 'https://gedaapi.acep.org',\r\n\t// APIFullPath: 'https://gedaapi.acep.org/api/'\r\n\tAPIHost: \"https://ws.acep.org/gedaapi\",\r\n\tAPIFullPath: \"https://ws.acep.org/GEDAAPI/api/\",\r\n\tPrivateWebServicesBasePath: \"https://ws.acep.org\"\r\n};\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/environments/environment.ts","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"\", \"\", {\"version\":3,\"sources\":[],\"names\":[],\"mappings\":\"\",\"file\":\"searchbox.component.scss\",\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/searchbox/searchbox.component.scss\n// module id = qEpo\n// module chunks = 7","\r\n\r\ninterface String {\r\n replaceAll: (toreplace: string, replacewith: string) => string;\r\n toNumber: () => number;\r\n log: (name: string) => void;\r\n logWithObject: (name: string, obj: Object) => void;\r\n ErrorWithObject: (name: string, obj: Object) => void;\r\n EmptyGuid: () => string;\r\n Env: () => string;\r\n}\r\n\r\nString.prototype.Env = function () {\r\n return 'Dev';\r\n};\r\n\r\nString.prototype.replaceAll = function (toreplace, replacewith) {\r\n const s = String(this);\r\n return s.split(toreplace).join(replacewith);\r\n};\r\n\r\n/**\r\n * takes a string and retuns its number\r\n * will return zero if not found\r\n */\r\nString.prototype.toNumber = function () {\r\n const s = String(this).toUpperCase();\r\n let ret = 0;\r\n switch (s) {\r\n case 'ONE':\r\n ret = 1;\r\n break;\r\n case 'TWO':\r\n ret = 2;\r\n break;\r\n case 'THREE':\r\n ret = 3;\r\n break;\r\n case 'FOUR':\r\n ret = 4;\r\n break;\r\n case 'FIVE':\r\n ret = 5;\r\n break;\r\n case 'SIX':\r\n ret = 6;\r\n break;\r\n case 'SEVEN':\r\n ret = 7;\r\n break;\r\n case 'EIGHT':\r\n ret = 8;\r\n break;\r\n case 'NINE':\r\n ret = 9;\r\n break;\r\n case 'TEN':\r\n ret = 10;\r\n break;\r\n case 'ELEVEN':\r\n ret = 11;\r\n break;\r\n case 'TWELVE':\r\n ret = 12;\r\n break;\r\n case 'SUBMIT':\r\n ret = 100;\r\n break;\r\n default:\r\n ret = 0;\r\n }\r\n return ret;\r\n};\r\n\r\nString.prototype.log = function (name) {\r\n if ('this'.Env() === 'Dev') {\r\n //console.log('GEDA | LOG | ' + name + ' | ' + String(this));\r\n }\r\n};\r\n\r\nString.prototype.logWithObject = function (name, obj) {\r\n if ('this'.Env() === 'Dev') {\r\n // console.log(\r\n // ('GEDA | LOG | ' + name + ' | ' + String(this)), obj);\r\n }\r\n};\r\n\r\nString.prototype.ErrorWithObject = function (name, obj) {\r\n if ('this'.Env() === 'Dev') {\r\n // console.log(\r\n // ('GEDA | ERROR | ' + name + ' | ' + String(this)), obj);\r\n }\r\n};\r\n\r\nString.prototype.EmptyGuid = function () {\r\n return '00000000-0000-0000-0000-000000000000';\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/Prototypes/p-string.ts","module.exports = \"
\\r\\n \\r\\n
\\r\\n Level 3 accreditation is an entry level accreditation; represented by an ED with one or more geriatric specific initiatives that are reasonably expected to elevate the level of elder care in the emergency department. Physician and nurse personnel are\\r\\n identified and trained to implement these efforts.\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n Level 2 accreditation identifies sites that have integrated and sustained older adult care initiatives into daily operations. They demonstrate interdisciplinary cooperation for delivery of senior friendly services and have an established supervisor or\\r\\n director coordinating staff tasked with the daily performance of these services.\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n Level 1 accreditation defines an ED with policies, guidelines, procedures, and staff (both within the ED and throughout the institution) providing a coherent system of care targeting and measuring specific ED outcomes for older adults elevating ED operations\\r\\n and transitions of care both to and from the ED, all coordinated for the improved care of older adults. Additionally identified physical plant enhancements targeted to improve older adult care exist.\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

The online GEDA application fees are listed below:

\\r\\n
\\r\\n

Current Pricing

\\r\\n
\\r\\n

Level 1: $15,000

\\r\\n
\\r\\n

Level 2: $7,500

\\r\\n
\\r\\n

Level 3: $2,500

\\r\\n
\\r\\n

Level 1 requires a site visit and a reviewer can request a site visit for Level 2. Applicants are responsible for arranging and reimbursing the site visitor for travel, lodging and expenses related to the visit. Accreditation will be granted\\r\\n for 3 years.\\r\\n

\\r\\n
\\r\\n
\"\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/levels/levels.component.html\n// module id = sx6T\n// module chunks = 7","export enum ApplicantPositionEnum {\r\n None = 0,\r\n Read_Only = 1,\r\n Member_Administrator = 2,\r\n Group_Administrator = 3\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/applicant-position.enum.ts","export enum MessageTypeEnum {\r\n none = 0,\r\n welldone = 1,\r\n headsup = 2,\r\n warning = 3,\r\n ohsnap = 4\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/message.enum.ts","export enum AddressEnum {\r\n None = 0,\r\n Home = 1,\r\n Hospital = 2,\r\n Business = 3\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/address.enum.ts","export enum ApplicationStatusEnum {\r\n\tNone = 0,\r\n\t//Incomplete = 1, //Status in CRM. The UI will use 'Initiated'\r\n\tInitiated = 1,\r\n\tSubmitted = 2,\r\n\tQC_Review = 3,\r\n\tPanel_Review = 4,\r\n\tBoard_Review = 5,\r\n\tApproved = 6,\r\n\tRejected = 7,\r\n\tPending = 8,\r\n\tCancelled = 9,\r\n\tPending_Payment = 10,\r\n\tSite_Review = 11,\r\n\tNeed_Information = 12,\r\n\tUpgraded = 13,\r\n\tRenewed = 14\r\n}\r\n\r\nexport class ApplicationStatus {\r\n\tstatic ToString(type: ApplicationStatusEnum) {\r\n\t\tlet s = String(ApplicationStatusEnum[type]);\r\n\t\ts = s.replace(\"_\", \" \");\r\n\t\treturn s;\r\n\t}\r\n\r\n\tstatic IndexOf(value: string) {\r\n\t\treturn ApplicationStatusEnum[value.replaceAll(\" \", \"_\")];\r\n\t}\r\n\r\n\tstatic get keys() {\r\n\t\treturn Object.keys(ApplicationStatusEnum).sort((a, b) => {\r\n\t\t\treturn ApplicationStatusEnum[a] - ApplicationStatusEnum[b];\r\n\t\t});\r\n\t} // sorting is required since the order of keys is not guaranteed.\r\n\r\n\tstatic getEnum(ordinal): ApplicationStatusEnum {\r\n\t\tswitch (ordinal) {\r\n\t\t\tcase -1:\r\n\t\t\tcase \"None\":\r\n\t\t\t\treturn ApplicationStatusEnum.None;\r\n\t\t\tcase 1:\r\n\t\t\tcase \"Incomplete\":\r\n\t\t\tcase \"Initiated\":\r\n\t\t\t\treturn ApplicationStatusEnum.Initiated;\r\n\t\t\tcase 2:\r\n\t\t\tcase \"Submitted\":\r\n\t\t\t\treturn ApplicationStatusEnum.Submitted;\r\n\t\t\tcase 3:\r\n\t\t\tcase \"QC Review\":\r\n\t\t\t\treturn ApplicationStatusEnum.QC_Review;\r\n\t\t\tcase 4:\r\n\t\t\tcase \"Panel Review\":\r\n\t\t\t\treturn ApplicationStatusEnum.Panel_Review;\r\n\t\t\tcase 5:\r\n\t\t\tcase \"Board Review\":\r\n\t\t\t\treturn ApplicationStatusEnum.Board_Review;\r\n\t\t\tcase 6:\r\n\t\t\tcase \"Approved\":\r\n\t\t\t\treturn ApplicationStatusEnum.Approved;\r\n\t\t\tcase 7:\r\n\t\t\tcase \"Rejected\":\r\n\t\t\t\treturn ApplicationStatusEnum.Rejected;\r\n\t\t\tcase 8:\r\n\t\t\tcase 12:\r\n\t\t\tcase \"Pending\":\r\n\t\t\tcase \"Need Information\":\r\n\t\t\t\treturn ApplicationStatusEnum.Need_Information;\r\n\t\t\tcase 9:\r\n\t\t\tcase \"Cancelled\":\r\n\t\t\t\treturn ApplicationStatusEnum.Cancelled;\r\n\t\t\tcase 10:\r\n\t\t\tcase \"Pending Payment\":\r\n\t\t\t\treturn ApplicationStatusEnum.Pending_Payment;\r\n\t\t\tcase 13:\r\n\t\t\tcase \"Upgraded\":\r\n\t\t\t\treturn ApplicationStatusEnum.Upgraded;\r\n\t\t\tcase 14:\r\n\t\t\tcase \"Renewed\":\r\n\t\t\t\treturn ApplicationStatusEnum.Renewed;\r\n\t\t\tdefault:\r\n\t\t\t\treturn ApplicationStatusEnum.None;\r\n\t\t}\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/application-status.enum.ts","export enum RoleEnum {\r\n Applicant = 1,\r\n Acep = 2,\r\n Board = 3,\r\n Panel = 4,\r\n Site = 5,\r\n Board_Chair = 6,\r\n QC = 7\r\n};\r\n\r\nexport class RoleEnumStatus {\r\n static getEnum(ordinal): RoleEnum {\r\n\r\n switch (ordinal) {\r\n case 1:\r\n case 'Applicant':\r\n return RoleEnum.Applicant;\r\n case 2:\r\n case 'Acep':\r\n return RoleEnum.Acep;\r\n case 3:\r\n case 'Board':\r\n return RoleEnum.Board;\r\n case 4:\r\n case 'Panel':\r\n return RoleEnum.Panel;\r\n case 5:\r\n case 'Site':\r\n return RoleEnum.Site;\r\n case 6:\r\n case 'Board_Chair':\r\n return RoleEnum.Board_Chair;\r\n case 7:\r\n case 'QC':\r\n return RoleEnum.QC;\r\n\r\n\r\n }\r\n }\r\n\r\n\r\n\r\n static getPositionEnum(_ordinal): string {\r\n let ordinal = +_ordinal;\r\n switch (ordinal) {\r\n case 1: \r\n return 'Applicant';\r\n\r\n case 2: \r\n return 'Acep';\r\n\r\n case 3: \r\n return \"Board Reviewer\";\r\n\r\n case 4: \r\n return \"Panel Reviewer\";\r\n\r\n case 5: \r\n return \"Site Reviewer\";\r\n\r\n case 6: \r\n return \"Board_Chair\";\r\n \r\n case 7: \r\n return \"QC Reviewer\";\r\n\r\n\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/role.enum.ts","export namespace VoteEnum {\r\n export enum Type {\r\n Not_Voted = 3, // 100000000,\r\n Approved = 1,\r\n Rejected = 2,\r\n }\r\n\r\n export enum member {\r\n Panel = 1,\r\n Board = 2\r\n }\r\n\r\n export class Convert {\r\n static getEnum(ordinal): Type {\r\n switch (ordinal) {\r\n // case 100000000:\r\n case 3:\r\n case 'Not Voted':\r\n return Type.Not_Voted;\r\n case 1:\r\n case 'Approved':\r\n return Type.Approved;\r\n case 2:\r\n case 'Rejected':\r\n return Type.Rejected;\r\n default:\r\n return Type.Not_Voted;\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/vote.enum.ts","export namespace DiscussionEnum {\r\n export enum Location {\r\n Internal = 100000000,\r\n External = 100000001\r\n }\r\n export enum Type {\r\n Document = 100000001,\r\n Status = 100000002,\r\n Comment = 100000000\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/enums/discussion.enum.ts","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"/* _main.scss */html{overflow-y:scroll;font-size:16px}body,html{height:100%;width:100%}body{font-size:1em}.bold{font-weight:700}.italics{font-style:italic}.btn{outline:none!important}\\n/* setup the table header styles */.table-header{background-color:hsla(0,0%,93%,.85);color:#333;text-decoration:none;font-size:16px}\\n/*processing ajax requests*/.ajaxloaderimage,.loader{position:fixed\\n /*background-image: url('../../Assets/_images/ajax-loader.gif');*/}\\n/*processing ajax requests*/.ajaxloaderimage,.ajaxloadingimage,.loader,.loading{z-index:99999;background-position:50%;background-repeat:no-repeat;left:0;top:0;right:0;bottom:0;opacity:.5;filter:Alpha(Opacity=50)}.ajaxloadingimage,.loading{\\n /*background-image: url('../../Assets/_images/ajax-loader.gif');*/background-size:contain;height:50px;height:100%}.backgroundOverlay{background-color:#000;opacity:.5;filter:Alpha(Opacity=50)}.menu-active{border:4px solid #e28200;padding:22px 7px}.prompt-container .errortext,.prompt-container .messagetext{position:absolute;right:75px;top:35px}.loader,.loading{background-color:#fff}.loading{margin-top:50px}.loading240x100{background-size:240px 100px!important;height:100px}.loading24x24,.loading240x100{-webkit-filter:none;filter:none}.loading24x24{background-size:24px 24px!important;height:24px}\", \"\", {\"version\":3,\"sources\":[\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/styles/_main.scss\",\"C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loader.component.scss\"],\"names\":[],\"mappings\":\"AAAA,gBAAgB,KAmEf,kBAAkB,cACH,CAGf,UAFA,YAAW,UACD,CAGX,KACI,aAAc,CAMjB,MAGA,eAAiB,CACjB,SAEA,iBAAkB,CAClB,KAEA,sBAAwB,CACxB;AA6CD,mCAAmC,cASlC,oCA/F+C,WAL5B,qBAsGE,cACN,CACf;AACD,4BAA4B,yBAG3B,cAAe;EAEf,kEAAkE,CASlE;AACD,4BAA4B,oDAX3B,cAAc,wBAEa,4BACC,OACrB,MACD,QACE,SACC,WACG,wBACa,CAI1B;EAGC,kEAAkE,wBAG1C,YACZ,WAOA,CACZ,mBAGA,sBAAuB,WACX,wBACa,CACzB,aAOA,yBAxKwB,gBAyKP,CACjB,4DAwDA,kBAAkB,WACP,QACF,CACT,iBArJA,qBChGwB,CAGzB,SAEI,eAAgB,CACnB,gBAdG,sCAA0C,YAgBT,CACpC,8BAfG,oBAAA,WAAY,CAgBhB,cAlBI,oCAA0C,WAmBX,CAClC\",\"file\":\"loader.component.scss\",\"sourcesContent\":[\"/* _main.scss */\\r\\n\\r\\n// Extra small devices Phones (<768px)\\r\\n// Small devices Tablets (≥768px)\\r\\n// Medium devices Desktops (≥992px)\\r\\n// Large devices Desktops (≥1200px)\\r\\n//base settings\\r\\n//$font-family-base $font-size-base $line-height-base\\r\\n$name: \\\"GEDA\\\";\\r\\n$max-width: 1400px;\\r\\n$max-allowed: 1400px;\\r\\n$max-allowed-1: 1336px;\\r\\n$screen-xl: 1380px;\\r\\n$screen-xl-1: 1379px;\\r\\n$screen-lg: 1200px;\\r\\n$screen-lg-1: 1199px;\\r\\n$screen-md: 992px;\\r\\n$screen-md-1: 991px;\\r\\n$screen-sm: 760px;\\r\\n$screen-sm-1: 759px;\\r\\n$screen-xs: 576px;\\r\\n$screen-xs-1: 575px;\\r\\n$primary-color: #2c5e84;\\r\\n$primary-color-light: #5c8bb7;\\r\\n$primary-color-dark: #00355a;\\r\\n$primary-border-color: #95989a;\\r\\n$secondary-color: #e28200;\\r\\n$secondary-color-light: #ffb242;\\r\\n$secondary-color-dark: #aa5500;\\r\\n$level3-color: #bd6d49;\\r\\n$level2-color: #95989a;\\r\\n$level1-color: #d6a85d;\\r\\n$button-color: #00355b;\\r\\n$button-disabled: #e0e0e0;\\r\\n$button-color-hover: #5c8bb7;\\r\\n$button-application-primary: #e28200;\\r\\n$button-application-primary-hover: #ab5600;\\r\\n$button-application-secondary: #adadad;\\r\\n$button-application-secondary-hover: #959595;\\r\\n$button-approval-primary: #295c88;\\r\\n$button-approval-primary-hover: #00335b;\\r\\n$button-approval-secondary: #adadad;\\r\\n$button-approval-secondary-hover: #959595;\\r\\n$ready-for-payment: #a9d5f0;\\r\\n$text-color: #333333;\\r\\n$text-heading-color: #2c5f86;\\r\\n$text-small-font: #959595;\\r\\n$table-header: #f1f1f1; // rgba(237, 237, 237, 0.85); //#95989a;\\r\\n$table-header-light: #eaeaea;\\r\\n$table-header-bgcolor: rgba(237, 237, 237, 0.85);\\r\\n$default-font-size: 16px;\\r\\n$default-font-family: Arial, sans-serif;\\r\\n$link-color: #0066cc;\\r\\n$geda-blue: #2e536e;\\r\\n$linecolor: #ccc;\\r\\n$error-red: #cd040b;\\r\\n$placeholder-color: #959595;\\r\\n$headerRd: 237;\\r\\n$headerGr: 237;\\r\\n$headerBl: 237;\\r\\n$menu-color-light: rgba($headerRd, $headerGr, $headerBl, 1);\\r\\n$menu-color-light-opaque: rgba($headerRd, $headerGr, $headerBl, 0.75);\\r\\n$detail-lightblue: #d4dee7;\\r\\n\\r\\n// STATIC VERTICAL SCROLL BAR TO PROHIBIT THE SCREEN JUMPING\\r\\nhtml {\\r\\n\\t//overflow-x: auto;\\r\\n\\toverflow-y: scroll;\\r\\n\\tfont-size: 16px;\\r\\n\\theight:100%;\\r\\n\\twidth:100%;\\r\\n}\\r\\n\\r\\nbody {\\r\\n font-size: 1em;\\r\\n\\theight:100%;\\r\\n\\twidth:100%;\\r\\n //font-size: 10pt;\\r\\n //position: relative;\\r\\n //letter-spacing: 0.3pt;\\r\\n}\\r\\n\\r\\n.bold {\\r\\n\\tfont-weight: bold;\\r\\n}\\r\\n.italics {\\r\\n\\tfont-style: italic;\\r\\n}\\r\\n.btn{\\r\\n\\toutline: none !important;\\r\\n}\\r\\n\\r\\n// .level-step-section-title.bold-title {\\r\\n// font-weight: bold;\\r\\n// font-size: 1.2em;\\r\\n// margin-bottom: 1em;\\r\\n// line-height: 135%;\\r\\n// }\\r\\n// other variables\\r\\n@mixin loader($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t$table-header: rgba(237, 237, 237, 0.85);\\r\\n\\t$table-header-light: #eaeaea;\\r\\n}\\r\\n\\r\\n@mixin loader($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t@extend .ajaxloaderimage;\\r\\n}\\r\\n\\r\\n@mixin loading($backcolor) {\\r\\n\\tbackground-color: $backcolor;\\r\\n\\t@extend .ajaxloadingimage;\\r\\n}\\r\\n\\r\\n@mixin backgroundImage($imageName) {\\r\\n\\tbackground-image: url(\\\"/assets/_images/1x/\\\" + $imageName + \\\".png\\\");\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-image: url(\\\"/assets/_images/1x/\\\" + $imageName + \\\"_hover.png\\\");\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin icon-size($width, $height) {\\r\\n\\tbackground-size: $width $height !important;\\r\\n\\t// background-position: ;\\r\\n\\tfilter: none;\\r\\n\\t// font-iconmily: Ubuntu, sans-serif;\\r\\n\\twidth: $width;\\r\\n\\theight: $height;\\r\\n}\\r\\n\\r\\n@mixin LevelStepFile() {\\r\\n\\tpadding: 25px 10px 25px 20px;\\r\\n}\\r\\n/* setup the table header styles */\\r\\n\\r\\n@mixin disabledElement() {\\r\\n\\tbackground-color: $button-disabled;\\r\\n\\tcolor: #ffffff !important;\\r\\n\\tcursor: not-allowed;\\r\\n}\\r\\n\\r\\n.table-header {\\r\\n\\tbackground-color: $table-header-bgcolor;\\r\\n\\tcolor: $text-color;\\r\\n\\ttext-decoration: none;\\r\\n\\tfont-size: 16px;\\r\\n}\\r\\n/*processing ajax requests*/\\r\\n\\r\\n.ajaxloaderimage {\\r\\n\\tposition: fixed;\\r\\n\\tz-index: 99999;\\r\\n\\t/*background-image: url('../../Assets/_images/ajax-loader.gif');*/\\r\\n\\tbackground-position: center;\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n}\\r\\n/*processing ajax requests*/\\r\\n\\r\\n.ajaxloadingimage {\\r\\n\\t// position: fixed;\\r\\n\\tz-index: 99999;\\r\\n\\t/*background-image: url('../../Assets/_images/ajax-loader.gif');*/\\r\\n\\tbackground-position: center center;\\r\\n\\tbackground-repeat: no-repeat;\\r\\n\\tbackground-size: contain;\\r\\n\\theight: 50px;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n\\theight: 100%;\\r\\n}\\r\\n\\r\\n.backgroundOverlay {\\r\\n\\tbackground-color: black;\\r\\n\\topacity: 0.5;\\r\\n\\tfilter: Alpha(Opacity=50);\\r\\n}\\r\\n\\r\\n@mixin activeMenu() {\\r\\n\\t@extend .menu-active;\\r\\n}\\r\\n\\r\\n.menu-active {\\r\\n\\tborder: 4px solid $secondary-color;\\r\\n\\tpadding: 22px 7px;\\r\\n}\\r\\n\\r\\n@mixin h1() {\\r\\n\\tfont-family: \\\"Open Sans Condensed\\\", \\\"Arial\\\", sans-serif;\\r\\n\\tfont-weight: bold;\\r\\n\\tfont-size: 40px;\\r\\n\\tcolor: $button-approval-primary;\\r\\n}\\r\\n\\r\\n@mixin btn-acep($backgroundcolor, $bordercolor, $color) {\\r\\n\\tcolor: $color !important;\\r\\n\\tbackground-color: $backgroundcolor !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\topacity: 0.75;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $backgroundcolor !important;\\r\\n\\t\\topacity: 1;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-primary($bordercolor) {\\r\\n\\tposition: relative;\\r\\n\\tcolor: #fff !important;\\r\\n\\tbackground-color: $menu-hover-color !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $menu-hover-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-default($bordercolor, $color) {\\r\\n\\tposition: relative;\\r\\n\\tcolor: $color !important;\\r\\n\\t//background-color: $default-button-color !important;\\r\\n\\tbackground-color: white !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $default-button-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n@mixin btn-acep-save($bordercolor, $color) {\\r\\n\\tcolor: $color !important;\\r\\n\\tbackground-color: $button-color !important;\\r\\n\\tborder-color: $bordercolor !important;\\r\\n\\t&:hover {\\r\\n\\t\\tbackground-color: $button-color-hover !important;\\r\\n\\t}\\r\\n}\\r\\n\\r\\n.prompt-container .errortext,\\r\\n.prompt-container .messagetext {\\r\\n\\t//for popup\\r\\n\\t// position: absolute;\\r\\n\\t// right: 50px;\\r\\n\\t// top: 20px;\\r\\n\\tposition: absolute;\\r\\n\\tright: 75px;\\r\\n\\ttop: 35px;\\r\\n}\\r\\n\\r\\n\\r\\n@mixin acep-logo() {\\r\\nbackground: url(\\\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%20323%2060%22%3E%3Cdefs%3E%3Cstyle%3Eg %7Bfill: %23fff%3B%7D %3C/style%3E%3C/defs%3E %3Cg id%3D'ACEPLogo' viewBox%3D'0 0 323.9 60.4'%3E\\\\a %3Cpath class%3D'cls-1' d%3D'M80.3,413.8c2.4-.2,2.6-.3,2.7-.5s.4-.8.4-5.2v-7.3c0-4.4-.2-4.9-.4-5.2s-.3-.3-2.7-.5v-.8H95.6v4.2h-1l-.3-1.5c-.3-1.5-.4-1.7-4.7-1.7s-3.7.2-3.7.9v7.4h3.7c3,0,3.1-.1,3.1-1.3v-1.2h.8v6h-.8c0-2.4-.1-2.4-1.3-2.5H85.8c0,2.1-.1,4.2-.1,6.3s.2,2.6,1.3,2.6h5c2.7,0,3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9.4c4,0,6.6,2.5,6.6,5.9s-3.2,6.1-7.1,6.1h-2.2v-1.1' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M233.3,413.8h1.2c.8-.1.8-.4.8-1.3V401.7c0-5.1,0-6.1-.3-6.6s-.5-.4-1.7-.4V394a10.3,10.3,0,0,0,3.5-1.2h.8c-.2,4.8-.2,9-.2,11.2l1.2-1.1a5.7,5.7,0,0,1,3-.8c2.4,0,4,1.1,4,4.4,0,1.5-.2,4.9-.2,6s.1,1.1.8,1.2h.9v.8h-5.8v-.8h1.4c.7-.1.9-.4.9-4.7,0-.8-.1-2.2-.2-3.3a2.5,2.5,0,0,0-2.7-2.3,5.2,5.2,0,0,0-3.3,1.4v7.6c0,.9,0,1.2.8,1.3h1.1v.8h-6v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M256,402.4l2.1.2,2.4-.2v.7a1.3,1.3,0,0,0-1.4,1l-3,7.9c-2.2,5.6-3.5,7.4-4,8a4,4,0,0,1-2.4.8q-.9,0-.9-.6c0-.4.4-1.8,1.2-1.8s.8.5,1.3.5,1.1-.7,2.1-2.7l.6-1.2-3.1-7.7c-1.6-4.1-1.8-4.2-2.6-4.2v-.7l2.4.2,2.8-.2v.7c-1.4,0-1.7.2-1.7.6a26.5,26.5,0,0,0,1.6,4.8l1.5,3.8a35.8,35.8,0,0,0,2.9-8.3c0-.6-.2-.9-1.8-.9v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M261.6,411h1c.3,2.2,1.6,3.2,3,3.2A2.3,2.3,0,0,0,268,412a2.5,2.5,0,0,0-1.5-2l-2.6-1.3a3.5,3.5,0,0,1-2.3-3.3c0-1.9,1.5-3.3,4.2-3.3a7.8,7.8,0,0,1,3.1.5l.2,2.8h-.9c-.4-1.8-1.5-2.5-2.7-2.5s-2.3.7-2.3,1.7.2,1.2,1.6,1.9l2.9,1.5a3.6,3.6,0,0,1,2,3.3c0,2-1.5,3.7-4.6,3.7a6.6,6.6,0,0,1-3.4-.8V411' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M274.8,394.7a1.1,1.1,0,0,1,1.1,1.2,1.8,1.8,0,0,1-1.7,1.8,1.2,1.2,0,0,1-1.2-1.2,1.8,1.8,0,0,1,1.8-1.8Zm-3.5,19.1h1c.7-.1,1-.4,1-.8a39.3,39.3,0,0,0,.1-4.6c0-3.2,0-3.8-.1-4s-1-.8-1.6-.8v-.7c2-.1,2.8-.4,3.5-1.7h.6a51,51,0,0,0-.4,7.2,44.1,44.1,0,0,0,.1,4.8c.1.4.3.5,1.1.6h1v.8h-6.3v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M289.6,413a5.5,5.5,0,0,1-4.4,2,5.8,5.8,0,0,1-5.8-6c0-3.8,2.5-6.9,6.4-6.9s4,1,4,2.6-.2.7-.7.7-1.6-.4-1.8-1.1a1.6,1.6,0,0,0-1.8-1.4c-1.5,0-4,1.4-4,5.1s1.7,5.5,4.6,5.5a6.6,6.6,0,0,0,3.1-.9l.4.4' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M294.5,394.7a1.1,1.1,0,0,1,1.1,1.2,1.8,1.8,0,0,1-1.7,1.8,1.2,1.2,0,0,1-1.2-1.2,1.8,1.8,0,0,1,1.8-1.8ZM291,413.8h1c.7-.1,1-.4,1-.8a39.3,39.3,0,0,0,.1-4.6c0-3.2,0-3.8-.1-4s-1-.8-1.6-.8v-.7c2-.1,2.8-.4,3.5-1.7h.6a52.4,52.4,0,0,0-.3,7.2v4.8c.1.4.4.5,1.1.6h1v.8H291v-.8' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M305.8,407.9c-2.9,1.2-4.6,2.5-4.6,4.1a1.4,1.4,0,0,0,1.6,1.5,3.2,3.2,0,0,0,2.7-1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1.6-1.4v-.7a3.1,3.1,0,0,0,2.8-1.7h.7v2.6h0l1.4-1.2' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M216.9,377.3l-.4,4a13.2,13.2,0,0,1-6.2,1.4,10.1,10.1,0,0,1-10.4-10.4c0-5.4,3.8-10.7,10.4-10.7a17.6,17.6,0,0,1,6,1v3.7h-.9l-.2-1c-.4-1.7-2.2-2.9-5-2.9-4.4,0-7.4,3.4-7.4,9.7s3.6,9.7,7.5,9.7c1.7,0,4.5-.5,5.2-3.2l.3-1.3h1.1' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M229.4,377c-.1-3.6-1.5-6.3-4.3-6.4s-3.8,2.3-3.8,5,1.5,6.2,4.5,6.2,3.6-3.3,3.6-4.8Zm-4-7.3a6,6,0,0,1,6.3,6.3,6.6,6.6,0,0,1-6.4,6.7,6.4,6.4,0,0,1-6.3-6.6,6.3,6.3,0,0,1,6.4-6.4' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M233.2,361.7a12.8,12.8,0,0,0,3.5-1.3h.8c-.2,5-.2,9.4-.2,15.6v4.7c.1.4.4.6,1.1.7h1v.8h-6.6v-.8h1.3c.8-.1,1-.4,1-.9a35.9,35.9,0,0,0,.1-4.5v-6.6c0-5.2,0-6.2-.3-6.7s-.5-.3-1.7-.3v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M240.5,361.7a14.2,14.2,0,0,0,3.5-1.3h.7c-.2,5-.2,9.4-.2,15.6a41.7,41.7,0,0,0,.1,4.7c.1.4.3.6,1.1.7h1v.8H240v-.8h1.3c.8-.1,1.1-.4,1.1-.9a35.9,35.9,0,0,0,.1-4.5v-6.6c0-5.2,0-6.2-.3-6.7s-.5-.3-1.7-.3v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M253.9,370.6c-2,0-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form%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M303.8,377c-.1-3.6-1.4-6.3-4.2-6.4s-3.8,2.3-3.8,5,1.5,6.2,4.4,6.2,3.6-3.3,3.6-4.8Zm-3.9-7.3a6,6,0,0,1,6.3,6.3,6.6,6.6,0,0,1-6.5,6.7,6.5,6.5,0,0,1,.2-13' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpath class%3D'cls-1' d%3D'M307.6,370.5l2-.2v-.8c0-6.5,2.9-9.1,5.7-9.1.7,0,1.9.1,1.9,1.2a1.1,1.1,0,0,1-1,1.1c-1,0-.8-1.1-2.1-1.1s-2.4,1-2.4,4v4.6l3.8-.2v1.2h-3.8V376a41.7,41.7,0,0,0,.1,4.7c0,.4.3.6,1.1.7h1.8v.8h-7.2v-.8h1c.8-.1,1-.4,1.1-.9a35.9,35.9,0,0,0,.1-4.5c0-3-.1-3.9-.1-4.8h-2v-.7' transform%3D'translate(-19.1 -360.4)'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 6.9 5.3 1.5 0 1.5 0 6.9 5.3 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 13.6 5.3 8.3 0 8.3 0 13.6 5.3 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 20.3 5.3 15 0 15 0 20.3 5.3 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 6.9 12.1 1.5 6.7 1.5 6.7 6.9 12.1 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 13.6 12.1 8.3 6.7 8.3 6.7 13.6 12.1 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 20.3 12.1 15 6.7 15 6.7 20.3 12.1 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 6.9 18.8 1.5 13.5 1.5 13.5 6.9 18.8 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 13.6 18.8 8.3 13.5 8.3 13.5 13.6 18.8 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 20.3 18.8 15 13.5 15 13.5 20.3 18.8 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 6.9 25.6 1.5 20.2 1.5 20.2 6.9 25.6 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 6.9 32.3 1.5 27 1.5 27 6.9 32.3 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 6.9 39 1.5 33.7 1.5 33.7 6.9 39 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 6.9 45.8 1.5 40.5 1.5 40.5 6.9 45.8 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 13.6 25.6 8.3 20.2 8.3 20.2 13.6 25.6 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 13.6 32.3 8.3 27 8.3 27 13.6 32.3 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 13.6 39 8.3 33.7 8.3 33.7 13.6 39 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 13.6 45.8 8.3 40.5 8.3 40.5 13.6 45.8 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 20.3 25.6 15 20.2 15 20.2 20.3 25.6 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 20.3 39 15 33.7 15 33.7 20.3 39 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 20.3 45.8 15 40.5 15 40.5 20.3 45.8 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 27.1 5.3 21.7 0 21.7 0 27.1 5.3 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 27.1 12.1 21.7 6.7 21.7 6.7 27.1 12.1 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 27.1 18.8 21.7 13.5 21.7 13.5 27.1 18.8 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 27.1 25.6 21.7 20.2 21.7 20.2 27.1 25.6 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 27.1 32.3 21.7 27 21.7 27 27.1 32.3 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 27.1 39 21.7 33.7 21.7 33.7 27.1 39 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 27.1 45.8 21.7 40.5 21.7 40.5 27.1 45.8 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 54 52.5 48.7 47.2 48.7 47.2 54 52.5 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 47.3 52.5 41.9 47.2 41.9 47.2 47.3 52.5 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 40.5 52.5 35.2 47.2 35.2 47.2 40.5 52.5 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 33.8 45.8 28.5 40.5 28.5 40.5 33.8 45.8 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 40.5 45.8 35.2 40.5 35.2 40.5 40.5 45.8 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 47.3 45.8 41.9 40.5 41.9 40.5 47.3 45.8 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'45.8 54 45.8 48.7 40.5 48.7 40.5 54 45.8 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 33.8 5.3 28.5 0 28.5 0 33.8 5.3 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 40.5 5.3 35.2 0 35.2 0 40.5 5.3 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 47.3 5.3 41.9 0 41.9 0 47.3 5.3 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'5.3 54 5.3 48.7 0 48.7 0 54 5.3 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 33.8 12.1 28.5 6.7 28.5 6.7 33.8 12.1 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 40.5 12.1 35.2 6.7 35.2 6.7 40.5 12.1 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 47.3 12.1 41.9 6.7 41.9 6.7 47.3 12.1 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'12.1 54 12.1 48.7 6.7 48.7 6.7 54 12.1 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 33.8 18.8 28.5 13.5 28.5 13.5 33.8 18.8 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 40.5 18.8 35.2 13.5 35.2 13.5 40.5 18.8 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 47.3 18.8 41.9 13.5 41.9 13.5 47.3 18.8 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'18.8 54 18.8 48.7 13.5 48.7 13.5 54 18.8 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 33.8 25.6 28.5 20.2 28.5 20.2 33.8 25.6 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 40.5 25.6 35.2 20.2 35.2 20.2 40.5 25.6 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 33.8 32.3 28.5 27 28.5 27 33.8 32.3 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 47.3 25.6 41.9 20.2 41.9 20.2 47.3 25.6 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'25.6 54 25.6 48.7 20.2 48.7 20.2 54 25.6 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 40.5 32.3 35.2 27 35.2 27 40.5 32.3 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 47.3 32.3 41.9 27 41.9 27 47.3 32.3 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'32.3 54 32.3 48.7 27 48.7 27 54 32.3 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 54 39 48.7 33.7 48.7 33.7 54 39 54'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 47.3 39 41.9 33.7 41.9 33.7 47.3 39 47.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 40.5 39 35.2 33.7 35.2 33.7 40.5 39 40.5'/%3E%3Cpolyline class%3D'cls-1' points%3D'39 33.8 39 28.5 33.7 28.5 33.7 33.8 39 33.8'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 6.9 52.5 1.5 47.2 1.5 47.2 6.9 52.5 6.9'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 13.6 52.5 8.3 47.2 8.3 47.2 13.6 52.5 13.6'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 20.3 52.5 15 47.2 15 47.2 20.3 52.5 20.3'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 27.1 52.5 21.7 47.2 21.7 47.2 27.1 52.5 27.1'/%3E%3Cpolyline class%3D'cls-1' points%3D'52.5 33.8 52.5 28.5 47.2 28.5 47.2 33.8 52.5 33.8'/%3E%3C/g%3E%3C%2Fsvg%3E\\\") no-repeat;\\r\\n}\\r\\n\",\"@import '../../../../styles/main';\\r\\n@mixin loading-size($width, $height){\\r\\n background-size: $width $height !important;\\r\\n // background-position: ;\\r\\n filter: none;\\r\\n // font-iconmily: Ubuntu, sans-serif;\\r\\n // width: $width;\\r\\n height: $height;\\r\\n}\\r\\n.loader{\\r\\n @include loader(white);\\r\\n}\\r\\n\\r\\n.loading{\\r\\n @include loading(white); \\r\\n margin-top: 50px;\\r\\n}\\r\\n.loading240x100{\\r\\n @include loading-size(240px,100px );\\r\\n}\\r\\n.loading24x24{\\r\\n @include loading-size(24px,24px );\\r\\n}\\r\\n\\r\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// C:/AZURE/ACEP/Acep.Crm.WebPortal/CrmWebPortalGlobal/Membership/AngularApps/GEDA/GEDAAngular/src/app/share/components/loader/loader.component.scss\n// module id = yaqc\n// module chunks = 7"],"sourceRoot":"webpack:///"}