{"version":3,"sources":["webpack:///./src/components/custom/AcAddress.vue?be1f","webpack:///./src/components/custom/AcAddress.vue?c84c","webpack:///./src/components/custom/AcAddress.vue","webpack:///./src/global/formatter.js","webpack:///./src/global/framework/pipeFilters.js","webpack:///./src/components/shared/GenericProfileInfo.vue?0e7c","webpack:///./src/global/newDesignBootstrapper.js","webpack:///./src/global/configTables.js","webpack:///./src/global/framework/customDirectives.js","webpack:///./src/components/shared/providers/ProviderMessageCenterModal.vue?5a19","webpack:///src/components/shared/providers/ProviderMessageCenterModal.vue","webpack:///./src/components/shared/providers/ProviderMessageCenterModal.vue?44e2","webpack:///./src/components/shared/providers/ProviderMessageCenterModal.vue","webpack:///./src/global/baseBootstrapper.js","webpack:///./src/assets/images/defaultMedium.png","webpack:///./src/global/customHtmlElements/AcButton.vue?dfd9","webpack:///src/global/customHtmlElements/AcButton.vue","webpack:///./src/global/customHtmlElements/AcButton.vue?d0e1","webpack:///./src/global/customHtmlElements/AcButton.vue","webpack:///./src/components/shared/Message.vue?a4aa","webpack:///./src/components/shared/providers/utilities.js","webpack:///./src/components/shared/providers/eventBus.js","webpack:///./src/components/shared/providers/TopBar.vue?385c","webpack:///src/components/shared/providers/TopBar.vue","webpack:///./src/components/shared/providers/TopBar.vue?376b","webpack:///./src/components/shared/providers/TopBar.vue","webpack:///./src/components/shared/InactivityModal.vue?5d99","webpack:///./src/components/shared/storeModules/providerSearchModule.js","webpack:///./src/global/common.js","webpack:///./src/components/shared/storeModules/message.js","webpack:///./src/components/shared/storeModules/MessageCenter.js","webpack:///./src/components/shared/providers/ProviderMessageCenterModal.vue?10c5","webpack:///./src/global/singleRequest.js","webpack:///./src/components/shared/storeModules/providerSettingsStore.js","webpack:///./src/components/shared/InactivityModal.vue?50c6","webpack:///src/components/shared/InactivityModal.vue","webpack:///./src/components/shared/InactivityModal.vue?71a7","webpack:///./src/components/shared/InactivityModal.vue","webpack:///./src/components/custom/AcAddress.vue?b6f7","webpack:///./src/global/impersonation.js","webpack:///./src/global/ajaxSetUp.js","webpack:///./src/components/shared/storeModules/physicianSearchStore.js","webpack:///./src/components/shared/storeModules/providerMessage.js","webpack:///./src/components/shared/storeModules/providerTree.js","webpack:///./src/global/loginChecks.js","webpack:///./src/components/shared/providers/TopBar.vue?d841","webpack:///./src/global/customHtmlElements/AcButton.vue?7705","webpack:///./src/global/customStyleLoader.js","webpack:///./src/global/framework/api.js","webpack:///./src/components/shared/GenericProfileInfo.vue?e39c","webpack:///./src/components/shared/GenericProfileInfo.vue?856d","webpack:///src/components/shared/GenericProfileInfo.vue","webpack:///./src/components/shared/GenericProfileInfo.vue","webpack:///./src/components/shared/Message.vue?71ee","webpack:///./src/components/shared/Message.vue?26df","webpack:///src/components/shared/Message.vue","webpack:///./src/components/shared/Message.vue","webpack:///./src/assets/images/defaultSmall.png","webpack:///src/components/custom/AcAddress.vue","webpack:///./src/global/notifications.js","webpack:///./src/global/bootstrapper.js"],"names":["component","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","attrs","identifier","viewOnly","domProps","Array","isArray","manualAddress","_i","on","$event","$$a","$$el","target","$$c","checked","$$i","concat","slice","_v","_m","_e","ref","model","composing","$set","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","_l","state","stateProvinceId","_s","stateProvinceCode","__file","formatter","formatString","formatAddress","address1","address2","city","zipcode","formatPhoneNumber","phone","Boolean","replace","formatCurrency","Intl","NumberFormat","style","currency","format","formatDiscount","isDecimal","formatPercentage","formatDate","dateValue","shortDate","epochDate","Date","parse","convertDate","formattedDate","formatShortDate","formatLongDate","formatDateTime","toLocaleDateString","weekday","year","month","day","hour","minute","formatRawDate","rawDate","formatRawDateSort","dateToUseForSorting","getTodaysDate","formatSsn","arrayToStringList","arr","propertyName","length","flatArray","$","each","index","push","join","yesNoText","formatDistance","toFixed","formatEpochDate","date","getDateForDatePicker","formatRawDateSortBySecond","string","args","arguments","match","number","discount","with2Decimals","toString","includeLeadingZeroes","paddingFunction","padStart","mm","getMonth","dd","getDate","yyyy","getFullYear","matched","init","Vue","rawValue","formatted","address","common","getAddress","newDesignBootstrapper","bootstrap","baseBootstrapper","append","configTables","getStates","getConfigValues","getSearchRadiusOptions","getSpecialties","getGenericConfigValues","getProfessionalDesignations","getGenders","getRelationshipsToPrimary","getRelationships","getTitles","getBankAccountTypes","getCompanyTypes","getPreventativeCareOptions","getProviderAfterHoursOptions","getPlanLevels","getLanguages","getWhiteLabelOptions","getPaymentStrategyTypes","ajax","type","url","getPaymentTypes","getPlanFrequencies","getFeeTypes","onlyPaidByEmployer","api","getData","getOpenMarketFeeTypes","getNoId","getCoverageOptions","getSharedPatientsReportColumnMappings","property","formatPlanEndDate","formatPhone","formatCityState","getAffiliatePatientsReportColumnMappings","getPaymentReportColumnMappings","getDebtReconciliationReportColumnMappings","getDebtSettlementsReportColumnMappings","getDebtForgivenessReportColumnMappings","getPhysicianReportColumnMappings","formatTruthy","getPatientContractsReportColumnMappings","getAvailablePlansReportColumnMappings","formatTiers","getConsultantPaymentReportColumnMappings","getPayrollDeductionsReportColumnMappings","getConsultantFeesReportColumnMappings","getConsultantFeePaymentsReportColumnMappings","formatRegFeeMonthCovered","getConsultantMemberSetupReportColumnMappings","formatDependentOf","formatMemberCoverageType","formatAutoRenewal","formatFullAddress","formatEmailForDependent","getGroupPaymentReportColumnMappings","getGroupPayrollDeductionsReportColumnMappings","getGroupFeesReportColumnMappings","getGroupDebtSettlementReportColumnMappings","getGroupDebtReconcilationReportColumnMappings","getGroupMemberSetupReportColumnMappings","getAutoEnrollmentReportColumnMappings","getAdminEmployerContributionPaymentReportColumnMappings","getAdminFeesReportColumnMappings","getAdminParticipantsReportColumnMappings","getAdminPayrollDeductionsReportColumnMappings","getAdminPhysicianPaymentsReportColumnMappings","getAdminStackedFeesReportColumnMappings","getAdminNonStackedFeesReportColumnMappings","getAdminRetailMembershipReportColumnMappings","getAdminDebtReconciliationReportColumnMappings","getPSRTelescopeDCPPatientsColumnMappings","getInvoicePaymentReportColumnMappings","getFeeBundleReportColumnMappings","getContributionSettlementReportColumnMappings","getAdminDebtReconciliationContributionReportColumnMappings","getAdminPayrollReconciliationReportColumnMappings","getAdminPayrollSettlementReportColumnMappings","getAdminGeneratedNachaLineItemReportColumnMappings","getAdminConsumerRefundsReportColumnMappings","coverageTypes","text","coverageLevelId","partialUrl","uniqueConfigId","singleRequest","REQUEST_IDENTIFIERS","CONFIG_TABLES","getRequest","entityName","directive","element","binding","then","readmore","collapsedHeight","height","bind","change","file","files","reader","FileReader","onload","dataURL","result","readAsDataURL","update","wrap","closest","get","reset","unwrap","el","tooltip","title","placement","arg","trigger","html","image","generateImageLink","profilePictureId","IMAGE_SIZE","MEDIUM","id","attr","inserted","focus","formula","encodeURIComponent","amount","appendUrlParameter","parsedAmount","label","entityId","entityTypeId","$refs","modalRef","open","_t","paginatedMessages","message","staticStyle","preventDefault","showMore","isPhysician","childrenMessages","childMessage","showMoreChildrenMessages","importStyles","addJqueryHelpers","addGlobalHelpers","notifications","ajaxSetUp","customDirectives","pipeFilters","IS_LOCAL_ENVIRONMENT","setUpHotJar","setUpRayGun","setUpGoogleAnalytics","Promise","all","jQuery","expr","icontains","a","i","m","toUpperCase","indexOf","mixin","computed","providerSearchText","methods","clone","original","JSON","stringify","mapData","propName","data","_","isEmpty","Object","assign","merge","parseJSONCamelCase","jsonString","toCamelCase","key","k","test","hasOwnProperty","charAt","toLowerCase","substring","hasValue","keys","h","r","window","document","hj","q","_hjSettings","hjid","APP_CONFIG","HOT_JAR_SITE_ID","hjsv","HOT_JAR_SV","getElementsByTagName","createElement","async","src","appendChild","w","d","s","l","getTime","event","f","j","parentNode","insertBefore","iframe","display","visibility","width","body","config","apiKey","version","b","c","e","g","RaygunObject","onerror","Error","rg4js","disableAnonymousUserTracking","excludedHostnames","payload","requestData","Details","UserCustomData","requestDataObject","decodeURIComponent","localStorage","raygunUser","module","exports","actionProcessing","isDisabled","stopPropagation","clickHandler","ENTITY_CONFIG","ASSOCIATION","EntityConfig","CLINIC","PHYSICIAN","parentTypeId","role","typeId","providerUtilities","getByEntityTypeId","current","getConfigByParent","switchRoles","newProviderEntityId","authToken","disablePrefilter","disableBeforeSendHandler","ROOT_URL","grant_type","client_id","providerEntityId","tempAuthToken","tempToken","associatedUserId","userId","impersonator","newTokenResponse","removeItem","acressaToken","access_token","location","href","roleName","show","ACRESSA_NOTIFICATIONS","ERROR","getAgeRange","plan","val","hasMinAge","minAge","hasMaxAge","maxAge","eventBusModule","eventBus","events","IMAGE_UPDATE","SWITCH_DEFAULT_CONTACT","CONTACT_CHANGE","FEE_CHANGE","NEW_PROVIDER","VISIBILITY_SETTINGS_UPDATED","RELOAD_PATIENT_REPORT","DEBT_HAS_BEEN_RESOLVED","CONSUMER_LINE_ITEM_CREATED","DISCOUNT_ADDED","INVOICE_CONSUMER","goToDashboard","crumb","goToEntity","getProviderName","goToMemberDashboard","memberId","userCount","showImpersonationModal","resourceCenterUrl","startGuidedTour","class","hasUnreadMessages","viewMessages","logOut","providerSearchStoreModule","addressId","addressName","latitude","longitude","radiusId","distance","designationId","onlyAcceptingNewPatients","physicianName","networkId","physicianSearchResults","currentPage","ITEMS_PER_PAGE","searching","getters","searchLocation","searchCriteria","searchFilters","paginatedResults","cutFrom","cutTo","searchResults","mutations","SET_SEARCH_CRITERIA","SET_PHYSICIAN_SEARCH_RESULTS","results","SET_PAGE","SET_SEARCHING_FLAG","flag","actions","SET_SEARCH_FILTERS","filters","commit","dispatch","SEARCH_PHYSICIANS","baseUrl","criteriaCheck","currentCriteria","zipCode","entries","resolve","reject","newCriteria","searchUrl","radiusOptions","find","global","sort","preferred","SET_CURRENT_PAGE","page","SET_SEARCHING_INDICATION","ENTITY_TYPE","require","NETWORK","COMPANY","CONSUMER","acressaConfig","includes","SMALL","suffix","BIG","ROLES","ADMIN","JOB","PSR","GROUPADMIN","MSRADMIN","getSafeArrayValue","p","reduce","xs","x","removeAccresaToken","goToLoginPage","clearTempStorage","startsWith","getValueForRoleCheckHeader","validDashboards","pathname","roleCheck","split","shift","SUCCESS","LOADING","INFORMATION","GENERAL_ENTITY_TYPE","PROVIDER","PAYMENT_STRATEGY_TYPES","FIXED_FEE","PERCENTAGE","CUSTOM","RELATIONSHIP_TYPE","1","2","3","PHYSICIAN_SEARCH_TYPE","BY_ADDRESS_ID","BY_ZIP_CODE","BY_LOCATION","ACRESSA_EVENTS","CLEAR_ADDRESS","CLINIC_LOGO","PHYSICIAN_SEARCH_RESULTS","SHOPPING_CART_ADDITION","SHOPPING_CART_REMOVE","SHOPPING_CART_CLEAR","SHOPPING_CART_REFRESH","SHOW_NAV_LINKS","DECLINED_RESPONSE_CLOSURE","AFFILIATION_STATUS","APPROVED","DENIED","PENDING","TERMINATED","JOB_STATUS","QUEUED","PROCESSING","COMPLETED","FAILED","PAYEE_TYPES","ACCRESA","NETWORK_SELF","AFFILIATE","EXTERNAL","PAYEE_OPTIONS","SELF","EXISTING","NEW","parameterName","parameterValue","pattern","RegExp","separator","encodedValue","param","search","getValueOrDefault","_defaultValue","scrollToBottom","animate","scrollTop","imageId","size","API_URL","logUserIn","userName","password","redirectUrl","checkFor2factorAuth","username","rememberMeTokens","getItem","success","tokenResponse","error","showError","isAnonymous","email","emailAddress","fullName","firstName","dashUrl","dashboard","passwordIsExpired","requiresTwoFactorAuth","logUserInWithToken","registrationComplete","regComp","hash","goBack","history","back","disableElement","elementId","cursor","blockUI","defaults","overlayCSS","css","block","border","background","enableElement","unblock","getRowData","thisReference","grid","tr","row","addRowData","add","draw","reloadGrid","clear","rows","inArray","needle","arrayToSearch","isSummerNoteEmpty","summernote","downloadFile","fileName","formData","xhr","XMLHttpRequest","setRequestHeader","responseType","status","getResponseHeader","blob","Blob","response","navigator","msSaveBlob","URL","createObjectURL","click","revokeObjectURL","remove","dataView","DataView","decoder","TextDecoder","decode","alert","send","setActiveTab","tabContainer","tab","getSafeValue","getRoleByEntityId","removeNonAlphanumericChars","input","getJsDateFromLongFormat","backendDate","hasAccresaTokenBeenSet","stateName","readMoreSplit","numberOfCharacters","htmlBlob","isHtml","counter","filterProfDesignations","designation","isInternalEnvironment","isInternal","forEach","internalUrl","isCardExpiring","futureDate","setDate","allMessages","lastMessageId","selectedMessageId","messageCount","unreadMessageCount","isRead","SET_ENTITY_DATA","SET_INITIAL_MESSAGES","messages","lastMessage","last","messageId","PUSH_MESSAGES","SET_ALL_MESSAGES","unreadMessages","MARK_AS_READ_MUTATION","rootState","SET_SELECTED_MESSAGE_ID_MUTATION","LOAD_MESSAGES","getDataWithTwoIds","LOAD_MORE_MESSAGES","LOAD_ALL_MESSAGES","MARK_AS_READ","post","root","DELETE_MESSAGE","SET_SELECTED_MESSAGE_ID","messageInstance","MessageClass","use","Vuex","messageCenterModule","PROVIDER_MEMBERSHIP","MEDIATOR_MEMBERSHIP","USER_ALLOWED_TO_EDIT","ASSOCIATED_COMPANY","HIDE_CONSUMER_PRICING","HIDE_PRESEARCH_PRICING","COMPANY_SETTINGS","COMPANY_NAME","PSR_DASHBOARD_INFO","getProviderMembership","getMediatorMembership","mediatorId","isUserAllowedToEdit","getAssociatedCompany","consumerId","getCompany","companyId","getBasicCompanyInfoForPresearch","clearCache","uniqueId","requests","getCompanySettings","genericEntityType","ajaxCallWrapper","storageId","storeRaw","storedData","parsedData","atob","Deferred","existingPromise","isPromise","setItem","btoa","obj","providerSettingsStoreModule","userCanEdit","controlPlans","receivesPayment","bankingInfoNeeded","providersWithoutNpi","membership","parentEntityId","associatedMediator","physicianCount","controlsInvoice","controlsLineItems","hasPaymentReport","npisNeeded","actionNeeded","physicianLimitReached","isTopParent","statistics","maxNumberOfPhysicians","physicianLimit","SET_DATA","npiNeeded","GET_PROVIDER_SETTINGS","settings","displayTime","impersonationHelper","impersonate","tokenInfo","userToImpersonate","clearAndRedirectIfNeeded","urlRedirect","urlCheck","host","ajaxSetup","cache","support","cors","ajaxError","jqxhr","thrownError","disableAcressaErrorHanlder","formattedResponse","responseText","errorResponse","errorObj","error_description","getErrorResponse","loc","ajaxStart","ajaxStop","hideLoader","ajaxPrefilter","originalOptions","jqXHR","rawUrl","physicianSearchStoreModule","ProviderMessage","BaseMessageClass","myProvidersModule","namespaced","myProviders","providerCount","trees","SET_MY_PROVIDERS","LOAD_MY_PROVIDERS","loginChecks","redirectIfNeeded","customStyleLoader","loadCustomStyleIfNeeded","loadCustomStyleBySubdomain","loadCustomStyleLogin","createHiddenFrame","getFrameDocument","contentDocument","contentWindow","addHtmlToFrame","iframeDoc","styleSheet","link","writeln","close","extractHostname","DEFAULT_NAME","controller","loadCss","subdomainName","customStyleJson","setCustomCssFields","customStyleSheet","stringInterpolator","myDict","template","strArr","myDictObj","templateCss","innerHTML","default","getDataById","postWithId","postFile","postDataAsJson","AJAX_TYPE","action","dataId","itemId","request","handleRequest","disableNotifications","contentType","processData","ajaxCall","isPost","msg","callback","$$v","genders","gender","genderCode","genderName","readMessage","fontWeight","emailSubjectLine","_f","sendDate","deleteMessage","emailBody","self","widgetReady","$nextTick","spin","stop","toastr","error_","cb","timeOut","closeButton","extendedTimeOut","opts","lines","radius","scale","corners","color","opacity","rotate","direction","speed","trail","fps","zIndex","className","top","left","shadow","hwaccel","position","Spinner","onHiddenHandler","onHidden","globalBootstrapper"],"mappings":"gMAAA,ICAkW,E,UAAG,E,wBCQjWA,EAAY,YACd,GFTW,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAe,YAAEI,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,QAAQ,CAACG,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOV,EAAiB,cAAEW,WAAW,kBAAkBL,YAAY,mBAAmBM,MAAM,CAAC,KAAO,WAAW,GAAKZ,EAAIa,WAAW,SAAWb,EAAIc,UAAUC,SAAS,CA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AO4S,sBAAsB2H,YAChD6W,IAAM,KAASpI,EAAI1f,QAAS0f,EAAIrhB,OACtBjG,IAAS1B,IAAO4S,sBAAsB0H,QAChD4W,EAAKA,KAAKhkB,SAAS4B,MAEnBsiB,IAAM,KAASpI,EAAI1f,QAAS0f,EAAIrhB,S,0GCtFrBqrB,EAAqB,CACjC7yB,U,uGAGD,6GAGO,4CAHP,uBAIO,oDAJP,uBAKO,uDALP,gCAMQC,IAAiBD,aANzB,iD","file":"js/chunk-common.1f94db79.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widgetReady)?_c('div',[_c('div',{staticClass:\"row form-group\"},[_c('div',{staticClass:\"col-lg-12\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.manualAddress),expression:\"manualAddress\"}],staticClass:\"form-check-input\",attrs:{\"type\":\"checkbox\",\"id\":_vm.identifier,\"disabled\":_vm.viewOnly},domProps:{\"checked\":Array.isArray(_vm.manualAddress)?_vm._i(_vm.manualAddress,null)>-1:(_vm.manualAddress)},on:{\"change\":function($event){var $$a=_vm.manualAddress,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.manualAddress=$$a.concat([$$v]))}else{$$i>-1&&(_vm.manualAddress=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.manualAddress=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":_vm.identifier}},[_vm._v(\" I will manually enter my Address\")])])])]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.manualAddress),expression:\"!manualAddress\"}],staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-9\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"\\n Address/Location\\n \"),(_vm.showRequiredLabel)?_c('span',[_vm._m(0)]):_vm._e()]),_vm._v(\" \"),_c('input',{ref:\"autocompleteRef\",staticClass:\"form-control\",attrs:{\"placeholder\":\"Enter your address\",\"type\":\"text\",\"autocomplete\":\"off\",\"disabled\":_vm.viewOnly}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-6 col-lg-3\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"Apt/Suite\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.address2),expression:\"model.address2\"}],staticClass:\"form-control \",attrs:{\"type\":\"text\",\"placeholder\":\"Apt/Suite\",\"disabled\":_vm.viewOnly},domProps:{\"value\":(_vm.model.address2)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"address2\", $event.target.value)}}})])])]),_vm._v(\" \"),(_vm.manualAddress)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-9\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"\\n Street Address\\n \"),(_vm.showRequiredLabel)?_c('span',[_vm._m(1)]):_vm._e()]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.address1),expression:\"model.address1\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Street Address\"},domProps:{\"value\":(_vm.model.address1)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"address1\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-6 col-lg-3\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"Apt/Suite\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.address2),expression:\"model.address2\"}],staticClass:\"form-control \",attrs:{\"type\":\"text\",\"placeholder\":\"Apt/Suite\"},domProps:{\"value\":(_vm.model.address2)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"address2\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-6\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"\\n City\\n \"),(_vm.showRequiredLabel)?_c('span',[_vm._m(2)]):_vm._e()]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.city),expression:\"model.city\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"City\"},domProps:{\"value\":(_vm.model.city)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"city\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-6 col-lg-3\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"\\n State\\n \"),(_vm.showRequiredLabel)?_c('span',[_vm._m(3)]):_vm._e()]),_vm._v(\" \"),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.stateProvinceId),expression:\"model.stateProvinceId\"}],staticClass:\"form-control\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.model, \"stateProvinceId\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.states),function(state){return _c('option',{domProps:{\"value\":state.stateProvinceId}},[_vm._v(\"\\n \"+_vm._s(state.name)+\" - \"+_vm._s(state.stateProvinceCode)+\"\\n \")])}),0)])]),_vm._v(\" \"),_c('div',{staticClass:\"col-sm-6 col-lg-3\"},[_c('div',{staticClass:\"form-group\"},[_c('label',[_vm._v(\"\\n Zip\\n \"),(_vm.showRequiredLabel)?_c('span',[_vm._m(4)]):_vm._e()]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.zipCode),expression:\"model.zipCode\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Zip Code\"},domProps:{\"value\":(_vm.model.zipCode)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"zipCode\", $event.target.value)}}})])])]):_vm._e()]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('small',[_c('span',{staticClass:\"redText\"},[_vm._v(\"required \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('small',[_c('span',{staticClass:\"redText\"},[_vm._v(\"required \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('small',[_c('span',{staticClass:\"redText\"},[_vm._v(\"required \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('small',[_c('span',{staticClass:\"redText\"},[_vm._v(\"required \")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('small',[_c('span',{staticClass:\"redText\"},[_vm._v(\"required \")])])}]\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcAddress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcAddress.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AcAddress.vue?vue&type=template&id=5c130295&\"\nimport script from \"./AcAddress.vue?vue&type=script&lang=js&\"\nexport * from \"./AcAddress.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AcAddress.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\ncomponent.options.__file = \"AcAddress.vue\"\nexport default component.exports","export const formatter = {\n\tformatString: formatString,\n\tformatAddress: formatAddress,\n\tformatPhoneNumber: formatPhoneNumber,\n\tformatCurrency: formatCurrency,\n\tformatDiscount: formatDiscount,\n\tformatDate: formatDate,\n\tformatDateTime: formatDateTime,\n\tformatRawDate: formatRawDate,\n\tformatRawDateSort: formatRawDateSort,\n\tgetTodaysDate: getTodaysDate,\n\tformatSsn: formatSsn,\n\tarrayToStringList: arrayToStringList,\n\tyesNoText: yesNoText,\n\tformatDistance: formatDistance,\n\tformatPercentage,\n\tformatShortDate: formatShortDate,\n\tformatLongDate: formatLongDate,\n\tformatEpochDate: formatEpochDate,\n\tgetDateForDatePicker: getDateForDatePicker,\n\tformatRawDateSortBySecond: formatRawDateSortBySecond\n};\n\nfunction formatString(string) {\n\tlet args = Array.prototype.slice.call(arguments, 1);\n\treturn string.replace(/{(\\d+)}/g, function (match, number) {\n\t\treturn typeof args[number] != 'undefined'\n\t\t\t? args[number]\n\t\t\t: match\n\t\t\t;\n\t});\n}\n\n\nfunction formatAddress(address1, address2, city, state, zipcode) {\n\tif (address2 == 'undefined' || address2 == null) {\n\t\treturn formatString(\"{0}, {1}, {2}, {3}\", address1, city, state, zipcode);\n\t} else {\n\t\treturn formatString(\"{0} {1}, {2}, {3}, {4}\", address1, address2, city, state, zipcode);\n\t}\n}\n\nfunction formatPhoneNumber(phone) {\n\tif (!Boolean(phone)) {\n\t\treturn '';\n\t}\n\tlet formatted = phone.replace(/(\\d{3})(\\d{3})(\\d{4})/, \"($1) $2-$3\");\n\treturn formatted;\n}\n\nfunction formatCurrency(value) {\n\tif (value !== 0 && !Boolean(value)) {\n\t\treturn \"\";\n\t}\n\tlet money = new Intl.NumberFormat('en-US',\n\t\t{style: 'currency', currency: 'USD'}\n\t).format(value);\n\treturn money;\n}\n\nfunction formatDiscount(value, isDecimal = true) {\n\treturn formatPercentage(value, isDecimal);\n}\n\nfunction formatPercentage(value, isDecimal = true) {\n\tif (!Boolean(value)) {\n\t\treturn '';\n\t}\n\tlet discount = isDecimal ? value * 100 : value;\n\tlet with2Decimals = discount.toString().match(/^-?\\d+(?:\\.\\d{0,2})?/)[0];\n\treturn with2Decimals + \" % \";\n}\n\nfunction formatDate(dateValue, shortDate = false) {\n\tif (!Boolean(dateValue)) {\n\t\treturn null;\n\t}\n\tlet epochDate = Date.parse(dateValue);\n\tlet convertDate = new Date(epochDate);\n\tlet formattedDate = shortDate ? formatShortDate(convertDate, 'mm/dd/yyyy') : formatLongDate(dateValue);\n\treturn formattedDate;\n}\n\nfunction formatDateTime(dateValue) {\n\tif (!Boolean(dateValue)) {\n\t\treturn null;\n\t}\n\tconst options = {weekday: 'long', year: 'numeric', month: 'long', day: '2-digit', hour: 'numeric', minute: 'numeric'};\n\tlet dateFormatted = new Date(Date.parse(dateValue));\n\treturn dateFormatted.toLocaleDateString('en-US', options);\n}\n\nfunction formatRawDate(rawDate, shortDate = false) {\n\tif (!Boolean(rawDate)) {\n\t\treturn null;\n\t}\n\tlet epochDate = Date.parse(rawDate);\n\tlet convertDate = new Date(epochDate);\n\tlet formattedDate = shortDate ? formatShortDate(convertDate, 'mm/dd/yyyy') : formatLongDate(rawDate);\n\treturn formattedDate;\n}\n\nfunction formatRawDateSort(rawDate, shortDate = false) {\n\tlet epochDate = Date.parse(rawDate);\n\tlet convertDate = new Date(epochDate);\n\t//change from original to use number of milliseconds elapsed since January 1, 1970 00:00:00 UTC instead of custom date\n\tlet dateToUseForSorting = formatShortDate(convertDate, 'yyyymmdd', true);\n\tlet formattedDate = shortDate ? formatShortDate(convertDate, 'mm/dd/yyyy', true) : formatLongDate(rawDate);\n\t\n\treturn `${dateToUseForSorting}${formattedDate}`;\n}\n\nfunction formatRawDateSortBySecond(rawDate) {\n\tlet epochDate = Date.parse(rawDate);\n\t//change from original to use number of milliseconds elapsed since January 1, 1970 00:00:00 UTC instead of custom date\n\treturn epochDate;\n}\n\nfunction getTodaysDate() {\n\tlet fullDate = new Date();\n\tlet shortDate = formatShortDate(fullDate, 'mm/dd/yyyy');\n\treturn shortDate;\n}\n\nfunction arrayToStringList(arr, propertyName) {\n\tif (!Boolean(arr) || arr.length == 0) {\n\t\treturn \"\";\n\t}\n\tlet flatArray = [];\n\t$.each(arr, function (index, value) {\n\t\tif (Boolean(propertyName) && typeof (value) == 'object') {\n\t\t\tflatArray.push(value[propertyName]);\n\t\t} else {\n\t\t\tflatArray.push(value);\n\t\t}\n\t});\n\tif (flatArray.length > 1) {\n\t\tlet allButLast = flatArray.slice(0, -1);\n\t\treturn allButLast.join(\", \") + ' and ' + flatArray[flatArray.length - 1];\n\t} else {\n\t\treturn flatArray[0];\n\t}\n}\n\nfunction yesNoText(value) {\n\treturn Boolean(value) ? 'Yes' : 'No';\n}\n\nfunction formatSsn(value) {\n\tif (!Boolean(value)) {\n\t\treturn \"\";\n\t}\n\tlet last4 = value.slice(-4);\n\treturn 'XXX-XX-' + last4;\n\t\n}\n\nfunction formatDistance(value) {\n\tif (typeof value !== 'number') {\n\t\treturn '';\n\t}\n\treturn value.toFixed(1);\n}\n\n//Be carefull when passing in format, uppercase formats are not considered\nfunction formatShortDate(date, format = 'mm/dd/yyyy', includeLeadingZeroes = false) {\n\tlet paddingFunction = ((number) => includeLeadingZeroes ? number.toString().padStart(2, '0') : number.toString());\n\tconst map = {\n\t\tmm: paddingFunction((date.getMonth() + 1)),\n\t\tdd: paddingFunction(date.getDate()),\n\t\tyyyy: date.getFullYear()\n\t};\n\t\n\treturn format.replace(/mm|dd|yyyy/gi, matched => map[matched])\n}\n\nfunction getDateForDatePicker() {\n\treturn formatShortDate(new Date(), 'mm/dd/yyyy');\n}\n\nfunction formatLongDate(date) {\n\tconst options = {weekday: 'long', year: 'numeric', month: 'long', day: '2-digit'};\n\tlet dateFormatted = new Date(Date.parse(date));\n\treturn dateFormatted.toLocaleDateString('en-US', options);\n}\n\nfunction formatEpochDate(date) {\n\treturn Date.parse(date);\n}","import {formatter} from \"../formatter.js\";\nimport Vue from 'vue';\nimport {common} from \"../common.js\";\n\nexport default {\n init: init\n};\n\nfunction init() {\n Vue.filter('currency', function (rawValue) {\n let formatted = formatter.formatCurrency(rawValue);\n return formatted;\n });\n Vue.filter('phoneNumber', function (rawValue) {\n let formatted = formatter.formatPhoneNumber(rawValue);\n return formatted;\n });\n Vue.filter('yesNo', function (rawValue) {\n let formatted = formatter.yesNoText(rawValue);\n return formatted;\n });\n Vue.filter('discount', function (rawValue, isDecimal = true) {\n let formatted = formatter.formatDiscount(rawValue, isDecimal);\n return formatted;\n });\n Vue.filter('shortDate', function (rawValue) {\n let formatted = formatter.formatRawDate(rawValue, true);\n return formatted;\n });\n Vue.filter('longDate', function (rawValue) {\n let formatted = formatter.formatDate(rawValue);\n return formatted;\n });\n Vue.filter('longDateTime', function (rawValue) {\n let formatted = formatter.formatDateTime(rawValue);\n return formatted;\n });\n Vue.filter('distance', function (rawValue) {\n let formatted = formatter.formatDistance(rawValue);\n //console.log('formatting distance, rawValue:', rawValue, ' formatted:', formatted);\n return formatted;\n });\n Vue.filter('percentage', function (rawValue, isDecimal = true) {\n let formatted = formatter.formatPercentage(rawValue, isDecimal);\n return formatted;\n });\n Vue.filter('booleanDisplay', function (rawValue) {\n if (!!rawValue) {\n return 'Yes'\n }\n return 'No';\n });\n Vue.filter('address', function (address) {\n return common.getAddress(address);\n });\n\n}","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericProfileInfo.vue?vue&type=style&index=0&id=84b71f32&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericProfileInfo.vue?vue&type=style&index=0&id=84b71f32&scoped=true&lang=css&\"","import {baseBootstrapper} from \"./baseBootstrapper.js\";\n\nexport const newDesignBootstrapper = {\n\tbootstrap: bootstrap\n};\n\nasync function bootstrap() {\n\t//If we move these imports at the top then vue combines bs3 and bs5 under the same file even when there is no mention\n\t//of bs3 in these files, that is due to webpack trying to enhance loading speed by combining assets from multiple pages\n\tawait import(/* webpackChunkName: \"bs5css\" */'../assets/css/bs5/bootstrap.min.css');\n\tawait import(/* webpackChunkName: \"bs5bundlejs\" */'../assets/css/bs5/bootstrap.bundle.min.js');\n\t//Before we load all styles and scripts we need to load bootstrap 3 for most of our single page apps\n\t//Consumer dash will load a different version of bootstrap and that needs to come before the bootstrapper imports the other styles\n\tawait baseBootstrapper.bootstrap();\n\tawait import(/* webpackChunkName: \"bs3overrideforbs5\" */'../assets/css/bs3OverrideForBs5.css');\n\tawait import(/* webpackChunkName: \"basebs5Whitelabel\" */'../assets/css/bs5/baseBs5Whitelabel.css');\n\t$('head').append('');\n}\n","import { singleRequest } from \"./singleRequest.js\";\nimport { api } from \"./framework/api.js\";\n\nexport const configTables = {\n getStates: getStates,\n getSearchRadiusOptions: getSearchRadiusOptions,\n getSpecialties: getSpecialties,\n getProfessionalDesignations: getProfessionalDesignations,\n getGenders: getGenders,\n getRelationshipsToPrimary: getRelationshipsToPrimary,\n getRelationships: getRelationships,\n getTitles: getTitles,\n getBankAccountTypes: getBankAccountTypes,\n getCompanyTypes: getCompanyTypes,\n getPreventativeCareOptions: getPreventativeCareOptions,\n getProviderAfterHoursOptions: getProviderAfterHoursOptions,\n getPlanLevels: getPlanLevels,\n getLanguages: getLanguages,\n getWhiteLabelOptions: getWhiteLabelOptions,\n getPaymentStrategyTypes: getPaymentStrategyTypes,\n getPaymentTypes: getPaymentTypes,\n getPlanFrequencies: getPlanFrequencies,\n getFeeTypes: getFeeTypes,\n getOpenMarketFeeTypes: getOpenMarketFeeTypes,\n getCoverageOptions: getCoverageOptions,\n getSharedPatientsReportColumnMappings: getSharedPatientsReportColumnMappings,\n getAffiliatePatientsReportColumnMappings: getAffiliatePatientsReportColumnMappings,\n getPaymentReportColumnMappings: getPaymentReportColumnMappings,\n getDebtReconciliationReportColumnMappings: getDebtReconciliationReportColumnMappings,\n getDebtSettlementsReportColumnMappings: getDebtSettlementsReportColumnMappings,\n getDebtForgivenessReportColumnMappings: getDebtForgivenessReportColumnMappings,\n getPhysicianReportColumnMappings: getPhysicianReportColumnMappings,\n getPatientContractsReportColumnMappings: getPatientContractsReportColumnMappings,\n getAvailablePlansReportColumnMappings: getAvailablePlansReportColumnMappings,\n getConsultantPaymentReportColumnMappings: getConsultantPaymentReportColumnMappings,\n getPayrollDeductionsReportColumnMappings: getPayrollDeductionsReportColumnMappings,\n getConsultantFeesReportColumnMappings: getConsultantFeesReportColumnMappings,\n getConsultantFeePaymentsReportColumnMappings: getConsultantFeePaymentsReportColumnMappings,\n getConsultantMemberSetupReportColumnMappings: getConsultantMemberSetupReportColumnMappings,\n getGroupPaymentReportColumnMappings: getGroupPaymentReportColumnMappings,\n getGroupPayrollDeductionsReportColumnMappings: getGroupPayrollDeductionsReportColumnMappings,\n getGroupFeesReportColumnMappings: getGroupFeesReportColumnMappings,\n getGroupDebtSettlementReportColumnMappings: getGroupDebtSettlementReportColumnMappings,\n getGroupDebtReconcilationReportColumnMappings: getGroupDebtReconcilationReportColumnMappings,\n getGroupMemberSetupReportColumnMappings: getGroupMemberSetupReportColumnMappings,\n getAutoEnrollmentReportColumnMappings: getAutoEnrollmentReportColumnMappings,\n getAdminEmployerContributionPaymentReportColumnMappings: getAdminEmployerContributionPaymentReportColumnMappings,\n getAdminFeesReportColumnMappings: getAdminFeesReportColumnMappings,\n getAdminParticipantsReportColumnMappings: getAdminParticipantsReportColumnMappings,\n getAdminPayrollDeductionsReportColumnMappings: getAdminPayrollDeductionsReportColumnMappings,\n getAdminPhysicianPaymentsReportColumnMappings: getAdminPhysicianPaymentsReportColumnMappings,\n getAdminStackedFeesReportColumnMappings: getAdminStackedFeesReportColumnMappings,\n getAdminNonStackedFeesReportColumnMappings: getAdminNonStackedFeesReportColumnMappings,\n getAdminRetailMembershipReportColumnMappings: getAdminRetailMembershipReportColumnMappings,\n getAdminDebtReconciliationReportColumnMappings: getAdminDebtReconciliationReportColumnMappings,\n getPSRTelescopeDCPPatientsColumnMappings: getPSRTelescopeDCPPatientsColumnMappings,\n getInvoicePaymentReportColumnMappings: getInvoicePaymentReportColumnMappings,\n getFeeBundleReportColumnMappings: getFeeBundleReportColumnMappings,\n getContributionSettlementReportColumnMappings: getContributionSettlementReportColumnMappings,\n getAdminDebtReconciliationContributionReportColumnMappings: getAdminDebtReconciliationContributionReportColumnMappings,\n getAdminPayrollReconciliationReportColumnMappings: getAdminPayrollReconciliationReportColumnMappings,\n getAdminPayrollSettlementReportColumnMappings: getAdminPayrollSettlementReportColumnMappings,\n getAdminGeneratedNachaLineItemReportColumnMappings: getAdminGeneratedNachaLineItemReportColumnMappings,\n getAdminConsumerRefundsReportColumnMappings: getAdminConsumerRefundsReportColumnMappings\n};\n\nfunction getStates() {\n return getConfigValues(\"getStates\");\n}\n\nfunction getSearchRadiusOptions() {\n return getConfigValues(\"getSearchRadius\");\n}\n\n//By making the function 'async' we keep it consistent with the others, it is faking a promise\nasync function getGenders() {\n return [{ \"genderName\": \"Male\", \"genderCode\": \"M\" }, { \"genderName\": \"Female\", \"genderCode\": \"F\" }, { \"genderName\": \"Unknown\", \"genderCode\": \"U\" }];\n}\n\nasync function getRelationshipsToPrimary() {\n return [{ \"relationType\": \"Spouse\", \"relationshipsEnum\": 2 }, { \"relationType\": \"Dependent\", \"relationshipsEnum\": 3 }];\n}\n\nfunction getSpecialties() {\n return getGenericConfigValues(\"ConfigSpecialty\");\n}\n\nfunction getProfessionalDesignations() {\n return getGenericConfigValues(\"ConfigProfDesignation\");\n}\n\nfunction getRelationships() {\n return getGenericConfigValues(\"ConfigConsumerRelationship\");\n}\n\nfunction getTitles() {\n return getGenericConfigValues(\"ConfigTitle\");\n}\n\nfunction getBankAccountTypes() {\n return getGenericConfigValues(\"ConfigBankAccountType\");\n}\n\nfunction getCompanyTypes() {\n return getGenericConfigValues(\"ConfigCompanyType\");\n}\n\nfunction getPreventativeCareOptions() {\n return getGenericConfigValues(\"ConfigPreventativeCare\");\n}\n\nfunction getProviderAfterHoursOptions() {\n return getGenericConfigValues(\"ConfigProviderAfterHours\");\n}\n\nfunction getPlanLevels() {\n return getGenericConfigValues(\"ConfigPlanLevel\");\n}\n\nfunction getLanguages() {\n return getGenericConfigValues(\"ConfigLanguage\");\n}\n\nfunction getWhiteLabelOptions() {\n return getGenericConfigValues(\"ConfigWhiteLabel\");\n}\n\nfunction getPaymentStrategyTypes() {\n return $.ajax({ type: \"GET\", url: \"utilities/GetPaymentStrategyTypes/\" });\n}\n\nfunction getPaymentTypes() {\n return getGenericConfigValues(\"ConfigPaymentType\");\n}\n\nfunction getPlanFrequencies() {\n return getGenericConfigValues(\"ConfigPlanFrequency\");\n}\n\nfunction getFeeTypes(onlyPaidByEmployer) {\n return api.getData('utilities', onlyPaidByEmployer, 'GetFeeTypes');\n}\n\nfunction getOpenMarketFeeTypes() {\n return api.getNoId('utilities', 'GetOpenMarketFeeTypes');\n}\n\nasync function getCoverageOptions() {\n let coverageTypes = [\n { text: \"Primary Only\", coverageLevelId: 1 },\n { text: \"Primary and Spouse\", coverageLevelId: 2 },\n { text: \"Primary and Dependents\", coverageLevelId: 3 },\n { text: \"Primary, Spouse and Dependents\", coverageLevelId: 4 }\n ];\n return coverageTypes;\n}\n\nfunction getConfigValues(partialUrl) {\n let ajaxWrapper = function () {\n return $.ajax({ type: \"GET\", url: \"utilities/\" + partialUrl });\n };\n let uniqueConfigId = singleRequest.REQUEST_IDENTIFIERS.CONFIG_TABLES + partialUrl;\n return singleRequest.getRequest(uniqueConfigId, ajaxWrapper, true);\n}\n\nfunction getGenericConfigValues(entityName) {\n let ajaxWrapper = function () {\n return $.ajax({ type: \"GET\", url: \"utilities/getConfig/\" + entityName });\n };\n let uniqueConfigId = singleRequest.REQUEST_IDENTIFIERS.CONFIG_TABLES + entityName;\n return singleRequest.getRequest(uniqueConfigId, ajaxWrapper, true);\n}\n\nfunction getSharedPatientsReportColumnMappings() {\n return {\n 'Patient Full Name': { property: 'fullName' },\n 'Plan End Date': {\n property: 'endDate',\n formatPlanEndDate: true\n },\n 'Dependent of': { property: 'employee' },\n 'Gender': { property: 'gender' },\n 'Plan Effective Date': {\n property: 'effectiveDate',\n formatDate: true\n },\n 'Birth Date': {\n property: 'birthDate',\n formatDate: true\n },\n 'Phone Number': {\n property: 'phoneNumber',\n formatPhone: true\n },\n 'Email Address': { property: 'emailAddress' },\n 'Address': {\n property: 'address',\n formatAddress: true\n },\n 'City, State': {\n property: 'address',\n formatCityState: true\n },\n 'Zip Code': { property: 'zipCode' },\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Plan Name': { property: 'planName' },\n 'Plan Type': { property: 'planType' },\n 'Plan Frequency': {property: 'planFrequency'},\n 'Group': { property: 'employer' },\n 'Patient ID': { property: 'consumerId' },\n 'Custom Patient ID': { property: 'customPatientId'\n }\n };\n}\n\nfunction getAffiliatePatientsReportColumnMappings() {\n return {\n 'Company Name': { property: 'companyName' },\n 'Physician Name': { property: 'physicianName' },\n 'Affiliation': { property: 'affiliation' },\n 'Patient Count': { property: 'patientCount' },\n };\n}\n\nfunction getPaymentReportColumnMappings() {\n return {\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Patient Full Name': { property: 'employee' },\n 'Birth Date': {\n property: 'dob',\n formatDate: true\n },\n 'Dependent of': { property: 'mainEmployee' },\n 'Employer': { property: 'employer' },\n 'Plan Effective Date': {\n property: 'planEffectiveDate',\n formatDate: true\n },\n 'Coverage date': {\n property: 'coverageDate',\n formatDate: true\n },\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' },\n 'Physician TIN': { property: 'physicianTIN' },\n 'Gross Amount': {\n property: 'price',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'accresaFee',\n formatCurrency: true\n },\n 'Physician payment': {\n property: 'physicianPayment',\n formatCurrency: true\n }\n }\n}\n\nfunction getDebtReconciliationReportColumnMappings() {\n return {\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Patient Full Name': { property: 'employee' },\n 'Birth Date': {\n property: 'dob',\n formatDate: true\n },\n 'Dependent of': { property: 'mainEmployee' },\n 'Employer': { property: 'employer' },\n 'Month': { property: 'debtMonth' },\n 'Year': { property: 'debtYear'},\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' },\n 'Payee': { property: 'payee' },\n 'Gross Amount': {\n property: 'price',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'accresaFee',\n formatCurrency: true\n },\n 'Payment': {\n property: 'providerPayment',\n formatCurrency: true\n }\n };\n}\n\nfunction getDebtSettlementsReportColumnMappings() {\n return {\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Patient Name': { property: 'patientName' },\n 'Birth Date': {\n property: 'birthDate',\n formatDate: true\n },\n 'Dependent of': { property: 'primary' },\n 'Group': { property: 'group' },\n 'Collection Date': {\n property: 'collectionDate',\n formatDate: true\n },\n 'Month': { property: 'month' },\n 'Year': { property: 'debtYear' },\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' },\n 'Amount': {\n property: 'amount',\n formatCurrency: true\n }\n }\n}\n\nfunction getDebtForgivenessReportColumnMappings() {\n return {\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Patient Name': { property: 'patientName' },\n 'Birth Date': {\n property: 'birthDate',\n formatDate: true\n },\n 'Dependent Of': { property: 'primary' },\n 'Group': { property: 'group' },\n 'Collection Date': {\n property: 'collectionDate',\n formatDate: true\n },\n 'Month': { property: 'month' },\n 'Year': { property: 'debtYear' },\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' },\n 'Provider Debt': {\n property: 'providerDebt',\n formatCurrency: true\n },\n 'Fees Debt': {\n property: 'feesDebt',\n formatCurrency: true\n },\n 'Total Debt': {\n property: 'totalDebt',\n formatCurrency: true\n }\n }\n}\n\nfunction getPhysicianReportColumnMappings() {\n return {\n 'Physician': { property: 'physician' },\n 'Number of Patients': { property: 'numberOfPatients' },\n 'Clinic': { property: 'clinic' },\n 'Address': { property: 'address' },\n 'City': { property: 'city' },\n 'State': { property: 'state' },\n 'Zip Code': { property: 'zipCode' },\n 'Phone Number': {\n property: 'phoneNumber',\n formatPhone: true\n },\n 'Visible in Search': {\n property: 'showInSearch',\n formatTruthy: true\n },\n 'Accepting Patients': {\n property: 'acceptingNewPatients',\n formatTruthy: true\n },\n 'Termination Date': {\n property: 'terminationDate',\n formatDate: true\n }\n };\n}\n\nfunction getPatientContractsReportColumnMappings() {\n return {\n 'Patient': { property: 'patient' },\n 'Dependent of': { property: 'mainConsumer' },\n 'Email Address': { property: 'emailAddress' },\n 'Phone Number': {\n property: 'phoneNumber',\n formatPhone: true\n },\n 'Latest Signed': {\n property: 'latestSigned',\n formatTruthy: true\n },\n 'Clinic': { property: 'clinic' },\n 'Physician': { property: 'physician' },\n 'Plan Name': { property: 'planName' },\n };\n}\n\nfunction getAvailablePlansReportColumnMappings() {\n return {\n 'Plan Name': { property: 'planName' },\n 'Plan Owner': { property: 'owner' },\n 'Plan Price': {\n property: 'priceTiers',\n formatTiers: true\n },\n 'Has Pending Change': {\n property: 'pendingChange',\n formatTruthy: true\n },\n 'Visible': {\n property: 'display',\n formatTruthy: true\n }\n }\n}\n\nfunction getConsultantPaymentReportColumnMappings() {\n return {\n 'Member': { property: 'employee' },\n 'Dependent Of': { property: 'mainEmployee' },\n 'Individual Plan Cost': {\n property: 'individualCost',\n formatCurrency: true\n },\n 'Group': { property: 'employer' },\n 'State': { property: 'state' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'paymentAmount',\n formatCurrency: true\n },\n 'Family Total': {\n property: 'familyTotal',\n formatCurrency: true\n }\n }\n}\n\nfunction getPayrollDeductionsReportColumnMappings() {\n return {\n 'Member': { property: 'employee' },\n 'Dependent of': { property: 'mainEmployee' },\n 'Individual Plan Cost': {\n property: 'fullMemberFee',\n formatCurrency: true\n },\n 'Group': { property: 'employer' },\n 'State': { property: 'state' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'totalWithCoverage',\n formatCurrency: true\n },\n 'Family Total': {\n property: 'paymentAmount',\n formatCurrency: true\n }\n }\n}\n\nfunction getConsultantFeesReportColumnMappings(){\n return {\n 'Group': { property: 'employer' },\n 'Member': { property: 'familyMember' },\n 'Primary Employee': { property: 'primaryEmployee' },\n 'State': { property: 'state' },\n 'Fee Name': { property: 'feeName' },\n 'Fee Type': { property: 'feeType' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'amount',\n formatCurrency: true\n }\n }\n}\n\nfunction getConsultantFeePaymentsReportColumnMappings() {\n return {\n 'Fee Name': { property: 'feeName' },\n 'Fee Type': { property: 'feeType' },\n 'Payee': { property: 'payee' },\n 'Member': { property: 'member' },\n 'Dependent Of': { property: 'dependentOf' },\n 'Group': { property: 'group' },\n 'Physician': { property: 'physician' },\n 'Coverage Date': {\n property: 'coverageDate',\n formatDate: true\n },\n 'Months Covered': {\n property: 'monthsCovered',\n formatRegFeeMonthCovered: true\n },\n 'Membership Frequency': {property: 'membershipFrequency'},\n 'Gross Amount': {\n property: 'grossAmount',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'transactionFee',\n formatCurrency: true\n },\n 'Net Amount': {\n property: 'netAmount',\n formatCurrency: true\n }\n }\n}\n\nfunction getConsultantMemberSetupReportColumnMappings(){\n return { \n 'Primary Member ID': {\n property: 'primaryMemberId', \n },\n 'Dependent ID': {\n property: 'dependentMemberId', \n },\n 'Name': { property: 'fullName' },\n 'Member Type': { property: 'memberType' },\n 'Dependent Of': { \n property: 'primaryEmployee',\n formatDependentOf: true\n },\n 'Coverage Type': { \n property: 'coverageTypeName',\n formatMemberCoverageType: true\n },\n 'SetUp Complete': { property: 'setUpCompletion' },\n 'Benefit Start Date': {\n property: 'effStartDate',\n formatDate: true\n },\n 'Termination Date': {\n property: 'termDate',\n formatDate: true\n },\n 'Auto-Renewal Date': {\n property: 'renewalDate',\n formatAutoRenewal: true\n },\n 'DOB': {\n property: 'birthDate',\n formatDate: true\n }, \n 'Provider Selected': {\n property: 'providerSelected',\n formatTruthy: true\n },\n 'Plan Selection Date': {\n property: 'selectionDate',\n formatDate: true\n },\n 'Address': { \n property: 'addressId',\n formatFullAddress: true\n },\n 'Email': { \n property: 'emailAddress',\n formatEmailForDependent: true\n },\n 'Group': {property: 'employer'},\n 'Consumer ID': {property: 'consumerId'}\n }\n}\n\nfunction getGroupPaymentReportColumnMappings(){ \n return {\n 'Member': { property: 'employee' },\n 'Dependent Of': { property: 'mainEmployee' },\n 'Individual Plan Cost': {\n property: 'individualCost',\n formatCurrency: true\n },\n 'Group': { property: 'employer' },\n 'Payment Type': {property: 'paymentMethod'},\n 'State': { property: 'state' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'paymentAmount',\n formatCurrency: true\n },\n 'Family Total': {\n property: 'familyTotal',\n formatCurrency: true\n }\n }\n}\n\nfunction getGroupPayrollDeductionsReportColumnMappings(){\n return {\n 'Member': { property: 'employee' },\n 'Dependent of': { property: 'mainEmployee' },\n 'Individual Plan Cost': {\n property: 'fullMemberFee',\n formatCurrency: true\n },\n 'Group': { property: 'employer' },\n 'Payment Type': {property: 'paymentMethod'},\n 'State': { property: 'state' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'totalWithCoverage',\n formatCurrency: true\n },\n 'Family Total': {\n property: 'paymentAmount',\n formatCurrency: true\n }\n }\n}\n\nfunction getGroupFeesReportColumnMappings(){\n return {\n 'Group': { property: 'employer' },\n 'Payment Type': {property: 'paymentMethod'},\n 'Member': { property: 'familyMember' },\n 'Primary Employee': { property: 'primaryEmployee' },\n 'State': { property: 'state' },\n 'Fee Name': { property: 'feeName' },\n 'Fee Type': { property: 'feeType' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'amount',\n formatCurrency: true\n }\n }\n}\n\nfunction getGroupDebtSettlementReportColumnMappings() {\n return {\n \"Group\": { property: \"group\" },\n \"Consultant\": {property: \"consultant\"},\n \"Payment Type\": { property: \"paymentMethod\" },\n \"Fee Name\": { property: \"feeName\" },\n \"Fee Type\": { property: \"feeType\" },\n \"Member Count\": { property: \"memberCount\" },\n \"Collection Date\": { property: \"collectionDate\", formatDate: true },\n \"Month\": { property: \"month\" },\n \"Amount\":{ property: \"amount\", formatCurrency: true },\n }\n}\n\nfunction getGroupDebtReconcilationReportColumnMappings() {\n return {\n \"Group\": { property: \"group\" },\n \"Consultant\": {property: \"consultant\"},\n \"Fee Name\": { property: \"feeName\" },\n \"Fee Type\": { property: \"feeType\" },\n \"Member Count\": { property: \"memberCount\" },\n \"Payment Type\": { property: \"paymentMethod\" },\n \"Provider Payee\":{ property: \"providerPayee\" },\n \"External Payee\":{ property: \"externalPayee\" },\n \"Month\":{ property: \"paymentMonth\" },\n \"Gross Amount\":{ property: \"grossAmount\", formatCurrency: true },\n \"Transaction Fee\":{ property: \"transactionFee\", formatCurrency: true },\n \"Payment\":{ property: \"payment\", formatCurrency: true },\n }\n}\n\nfunction getGroupMemberSetupReportColumnMappings(){\n return {\n 'Primary Member ID': {\n property: 'primaryMemberId', \n },\n 'Dependent ID': {\n property: 'dependentMemberId', \n },\n 'Name': { property: 'fullName' },\n 'Member Type': { property: 'memberType' },\n 'Dependent Of': { \n property: 'primaryEmployee',\n formatDependentOf: true\n },\n 'Coverage Type': { \n property: 'coverageTypeName',\n formatMemberCoverageType: true\n },\n 'SetUp Complete': { property: 'setUpCompletion' },\n 'Benefit Start Date': {\n property: 'effStartDate',\n formatDate: true\n },\n 'Termination Date': {\n property: 'termDate',\n formatDate: true\n },\n 'Auto-Renewal Date': {\n property: 'renewalDate',\n formatAutoRenewal: true\n },\n 'DOB': {\n property: 'birthDate',\n formatDate: true\n }, \n 'Provider Selected': {\n property: 'providerSelected',\n formatTruthy: true\n },\n 'Plan Selection Date': {\n property: 'selectionDate',\n formatDate: true\n },\n 'Address': { \n property: 'addressId',\n formatFullAddress: true\n },\n 'Email': { \n property: 'emailAddress',\n formatEmailForDependent: true\n },\n 'Group': {property: 'employer'},\n 'Consumer ID': {property: 'consumerId'}\n }\n}\n\nfunction getAutoEnrollmentReportColumnMappings(){\n return {\n 'Participant Name': { property: 'participantName'},\n 'Participant Id': { property: 'participantId'},\n 'Error': { property: 'error'},\n 'Date': { \n property: 'createdAt',\n formatDate: true \n }\n }\n}\n\nfunction getAdminEmployerContributionPaymentReportColumnMappings(){ \n return {\n 'Member': { property: 'employee' },\n 'Dependent Of': { property: 'mainEmployee' },\n 'Individual Plan Cost': {\n property: 'individualCost',\n formatCurrency: true\n },\n 'Group': { property: 'employer' },\n 'Consultant': {property: 'consultant'},\n 'Payment Type': {property: 'paymentMethod'},\n 'State': { property: 'state' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'paymentAmount',\n formatCurrency: true\n },\n 'Family Total': {\n property: 'familyTotal',\n formatCurrency: true\n }\n }\n}\n\nfunction getAdminFeesReportColumnMappings(){ \n return {\n 'Group':{property: 'employer'},\n 'Consultant':{property: 'consultant'},\n 'Payment Type': {property: 'paymentMethod'},\n 'Member': { property: 'familyMember' },\n 'Primary Employee': { property: 'primaryEmployee' },\n 'State': { property: 'state' },\n 'Fee Name': { property: 'feeName' },\n 'Fee Type': { property: 'feeType' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'amount',\n formatCurrency: true\n } \n }\n}\n\nfunction getAdminParticipantsReportColumnMappings(){\n return {\n 'Member Name': { property: 'employee' },\n 'Dependent Of': { property: 'mainEmployee' },\n 'Member Id': { property: 'consumerId' },\n 'Group':{property: 'employer'},\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' }, \n 'Amount': {\n property: 'totalWithCoverage',\n formatCurrency: true\n },\n 'Family Total': {\n property: 'paymentAmount',\n formatCurrency: true\n } \n }\n}\n\nfunction getAdminPayrollDeductionsReportColumnMappings(){\n return {\n 'Member': { property: 'employee' },\n 'Dependent of': { property: 'mainEmployee' },\n 'Individual Plan Cost': {\n property: 'fullMemberFee',\n formatCurrency: true\n },\n 'Group': { property: 'employer' },\n 'Consultant': {property: 'consultant'},\n 'Payment Type': {property: 'paymentMethod'},\n 'State': { property: 'state' },\n 'Month Covered': { property: 'monthCovered' },\n 'Amount': {\n property: 'totalWithCoverage',\n formatCurrency: true\n },\n 'Family Total': {\n property: 'paymentAmount',\n formatCurrency: true\n }\n }\n}\n\nfunction getAdminPhysicianPaymentsReportColumnMappings(){\n return {\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Patient Full Name': { property: 'employee' },\n 'Dependent Of': { property: 'mainEmployee' },\n 'Birth Date': { \n property: 'dob',\n formatDate: true\n },\n 'Employer': { property: 'employer' },\n 'Effective Date': {\n property: 'planEffectiveDate',\n formatDate: true\n },\n 'Coverage Date': {\n property: 'coverageDate',\n formatDate: true\n },\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' },\n 'Price': {\n property: 'price',\n formatCurrency: true\n }, \n 'Gross Amount': {\n property: 'grossAmount',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'accresaFee',\n formatCurrency: true\n },\n 'Physician Payment': {\n property: 'physicianPayment',\n formatCurrency: true\n }\n }\n}\n\nfunction getAdminStackedFeesReportColumnMappings(){\n return {\n 'Physician': { property: 'physician' },\n 'Patient Full Name': { property: 'employee' },\n 'Dependent Of': { property: 'mainEmployee' },\n 'Employer': { property: 'employer' },\n 'Coverage Date': {\n property: 'coverageDate',\n formatDate: true\n },\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency':{ property: 'frequency'},\n 'Fee Name': { property: 'feeName' }, \n 'Fee Type': { property: 'feeType' }, \n 'Payee': { property: 'payee' }, \n 'Price': {\n property: 'price',\n formatCurrency: true\n }, \n 'Gross Amount': {\n property: 'grossAmount',\n formatCurrency: true\n }, \n 'Transaction Fee': {\n property: 'accresaFee',\n formatCurrency: true\n },\n 'Amount': {\n property: 'amount',\n formatCurrency: true\n }\n }\n}\n\nfunction getAdminNonStackedFeesReportColumnMappings(){\n return {\n 'Physician': { property: 'providerName' },\n 'Patient Full Name': { property: 'familyMember' },\n 'Dependent Of': { property: 'primaryEmployee' },\n 'Employer': { property: 'employer' },\n 'Consultant': { property: 'consultant'},\n 'Payment Type': {property: 'paymentMethod'},\n 'Fee Name': { property: 'feeName' }, \n 'Fee Type': { property: 'feeType' }, \n 'Month Covered': { property: 'monthCovered' },\n 'Payee': { property: 'payee' }, \n 'Gross Amount': {\n property: 'amount',\n formatCurrency: true\n }, \n 'Net Amount': {\n property: 'paymentAmount',\n formatCurrency: true\n }\n }\n}\n\nfunction getAdminRetailMembershipReportColumnMappings(){\n return {\n 'Provider Name': { property: 'providerName' }, \n 'Package Name': { property: 'packageName'},\n 'Package Cost': { property: 'packageCost'},\n 'Package Frequency': { property: 'packageFrequency'},\n 'Registration Date': {\n property: 'registrationDate',\n formatDate: true\n },\n 'Current Membership Start Date': {\n property: 'currentMembershipStartDate',\n formatDate: true\n },\n 'Renewal Date': { \n property: 'renewalDate',\n formatDate: true\n },\n 'Renewal Cost': { property: 'renewalCost' },\n 'Renewal Frequency': { property: 'renewalFrequency' },\n 'Email': { property: 'emailAddress'},\n 'Days Behind': { property: 'daysBehind'}\n }\n}\n\nfunction getAdminDebtReconciliationReportColumnMappings(){\n return {\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Patient Full Name': { property: 'employee' },\n 'Birth Date': {\n property: 'dob',\n formatDate: true\n },\n 'Dependent Of': { property: 'mainEmployee' },\n 'Employer': { property: 'employer' },\n 'Fee Name': { property: 'feeName' },\n 'Fee Type': { property: 'feeType' },\n 'Month': { property: 'debtMonth' },\n 'Year': { property: 'debtYear'},\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' }, \n 'Gross Amount': {\n property: 'price',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'accresaFee',\n formatCurrency: true\n },\n 'Payment': {\n property: 'providerPayment',\n formatCurrency: true\n },\n 'Provider Payee': { property: 'payee' },\n 'External Payee': { property: 'externalPayee' },\n };\n}\n\nfunction getPSRTelescopeDCPPatientsColumnMappings() {\n return {\n 'Member': { property: 'member' },\n 'Dependent of': { property: 'dependent' },\n 'Gender' : {property: 'gender'},\n 'Birth Date': {\n property: 'birthDate',\n formatDate: true\n },\n 'Plan Start Date': {\n property: 'effectiveDate',\n formatDate: true\n },\n 'Plan End Date': {\n property: 'endDate',\n formatDate: true\n },\n 'Group': { property: 'group' },\n 'Network': { property: 'network' },\n 'Phone Number': {\n property: 'phoneNumber',\n formatPhone: true\n },\n 'Email Address': { property: 'emailAddress' },\n 'Address': {\n property: 'address',\n formatAddress: true\n },\n 'City, State': {\n property: 'address',\n formatCityState: true\n }\n }\n}\n\nfunction getInvoicePaymentReportColumnMappings() {\n return {\n 'Created Date': {\n property: 'createdDate',\n formatDate: true\n },\n 'Invoice ID': { property: 'invoiceId' },\n \"Line Item ID\": { property: \"lineItemId\"},\n \"Title\": { property: \"title\"},\n \"Payee\": { property: \"payee\"},\n \"Payor\": { property: \"payor\"},\n 'Payment Date': {\n property: 'paymentDate',\n formatDate: true\n },\n 'Gross Amount': {\n property: 'grossAmount',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'transactionFee',\n formatCurrency: true\n },\n 'Amount': {\n property: 'paymentAmount',\n formatCurrency: true\n },\n }\n}\n\nfunction getFeeBundleReportColumnMappings(){\n return {\n 'Group Name': { property: 'groupName' },\n \"AMF Code\": { property: \"amfCode\"},\n \"Fee Name\": { property: \"feeName\"},\n \"Offering Name\": { property: \"offeringName\" },\n \"Benefit Eligible\": { property: \"benefitEligible\"},\n 'Gross Amount': {\n property: 'grossAmount',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'transactionFee',\n formatCurrency: true\n },\n 'Payment Net': {\n property: 'paymentNet',\n formatCurrency: true\n },\n }\n}\n\nfunction getContributionSettlementReportColumnMappings(){\n return {\n \"Group\": { property: \"group\" },\n \"Consultant\": { property: \"consultant\"},\n \"Payment Method\": { property: \"paymentMethod\" },\n \"Member Count\": { property: \"memberCount\" },\n \"Collection Date\": { property: \"collectionDate\", formatDate: true },\n \"Month\": { property: \"month\" },\n \"Amount\":{ property: \"amount\", formatCurrency: true },\n }\n}\n\nfunction getAdminDebtReconciliationContributionReportColumnMappings(){\n return {\n 'Physician': { property: 'physician' },\n 'Clinic': { property: 'clinic' },\n 'Network': { property: 'network' },\n 'Patient Full Name': { property: 'employee' },\n 'Birth Date': {\n property: 'dob',\n formatDate: true\n },\n 'Dependent of': { property: 'mainEmployee' },\n 'Employer': { property: 'employer' },\n 'Month': { property: 'debtMonth' },\n 'Year': { property: 'debtYear'},\n 'Months Covered': { property: 'frequencyMonths' },\n 'Membership Frequency': { property: 'frequency' },\n 'Provider Payee': { property: 'providerPayee' },\n 'External Payee': { property: 'externalPayee' },\n 'Payment Type': {property: 'paymentType'},\n 'Gross Amount': {\n property: 'price',\n formatCurrency: true\n },\n 'Transaction Fee': {\n property: 'accresaFee',\n formatCurrency: true\n },\n 'Payment': {\n property: 'providerPayment',\n formatCurrency: true\n }\n };\n}\n\nfunction getAdminPayrollSettlementReportColumnMappings(){\n return {\n \"Group\": { property: \"group\" },\n \"Consultant\": { property: \"consultant\"},\n \"Payment Method\": { property: \"paymentMethod\" },\n \"Member Count\": { property: \"memberCount\" },\n \"Collection Date\": { property: \"collectionDate\", formatDate: true },\n \"Month\": { property: \"month\" },\n \"Amount\":{ property: \"amount\", formatCurrency: true }\n } \n}\n\nfunction getAdminPayrollReconciliationReportColumnMappings(){\n return {\n \"Group\": {property: \"group\"},\n \"Consultant\": {property: \"consultant\"},\n \"Member Count\": {property: \"memberCount\"},\n \"Payment Type\": {property: \"paymentType\"},\n \"Provider Payee\": {property: \"providerPayee\"},\n \"External Payee\": {property: \"externalPayee\"},\n \"Gross Amount\": {property: \"grossAmount\", formatCurrency: true},\n \"Transaction Fee\": {property: \"transactionFee\", formatCurrency: true},\n \"Payment\": {property: \"payment\", formatCurrency: true}\n }\n}\n\nfunction getAdminGeneratedNachaLineItemReportColumnMappings(){\n return {\n \"ItemId\": { property: \"itemId\" },\n \"Payee Name\": { property: \"payeeName\"},\n \"Amount\":{ property: \"amount\", formatCurrency: true },\n \"Reason\": { property: \"reason\" },\n \"Created Date\": { property: \"createdDate\"}\n } \n}\n\nfunction getAdminConsumerRefundsReportColumnMappings(){\n return {\n 'Member Name': { property: 'fullName' },\n 'ConsumerId': { property: 'consumerId' },\n 'Birth Date': { property: 'birthDate', formatDate: true },\n 'Group': { property: 'groupName' },\n 'Month': { property: 'month' },\n 'PaymentId': { property: 'paymentRecordId' },\n 'Paid': { property: \"paidDate\", formatDate: true },\n 'Refunded': { property: \"refundDate\", formatDate: true },\n 'Amount' : { property: 'paymentAmount', formatCurrency: true},\n }\n}\n","import Vue from 'vue';\nimport {api} from \"./api.js\";\nimport {common} from \"../common.js\";\nimport {formatter} from \"../formatter.js\";\nimport bootstap from 'bootstrap';\n\nexport default {\n\tinit: init\n}\n\nfunction init() {\n\tVue.directive('readmore', function (element, binding) {\n\t\timport(/*webpackChunkName:\"readmore\" */ 'readmore-js').then(function (readmore) {\n\t\t\t$(element).readmore({collapsedHeight: binding.value.height});\n\t\t});\n\t});\n\tVue.directive('fileUpload', {\n\t\tbind: function (element, binding) {\n\t\t\t$(element).change(function () {\n\t\t\t\tlet file = element.files[0];\n\t\t\t\tif (element.files[0]) {\n\t\t\t\t\tlet reader = new FileReader();\n\t\t\t\t\treader.onload = function () {\n\t\t\t\t\t\tfile.dataURL = reader.result;\n\t\t\t\t\t\tbinding.file = file;\n\t\t\t\t\t};\n\t\t\t\t\treader.readAsDataURL(element.files[0]);\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t\tupdate: function (element, binding) {\n\t\t\tif (binding.file === null) {\n\t\t\t\t$(element).wrap('
').closest('form').get(0).reset();\n\t\t\t\t$(element).unwrap();\n\t\t\t}\n\t\t}\n\t});\n\tVue.directive('tooltip', function (el, binding) {\n\t\t$(el).tooltip({\n\t\t\ttitle: binding.value,\n\t\t\tplacement: binding.arg,\n\t\t\ttrigger: 'hover',\n\t\t\thtml: true,\n\t\t})\n\t});\n\tVue.directive('physicianProfilePicture', function (el, binding) {\n\t\tapi.get(\"Shared\", binding.value, \"GetPhysicianPictureId\").then(function (result) {\n\t\t\tlet image = common.generateImageLink(result.profilePictureId || 0, common.IMAGE_SIZE.MEDIUM.id);\n\t\t\t$(el).attr('src', image);\n\t\t});\n\t\t\n\t});\n\tVue.directive('profilePicture', function (el, binding) {\n\t\tlet image = common.generateImageLink(binding.value || 0, common.IMAGE_SIZE.MEDIUM.id);\n\t\t$(el).attr('src', image);\n\t\t\n\t});\n\tVue.directive('focus', {\n\t\tinserted: function (el) {\n\t\t\tel.focus()\n\t\t}\n\t});\n\t\n\tVue.directive('feeFormula', function (el, binding) {\n\t\t$(el).text(\"Calculating fee value... \");\n\t\tlet formula = encodeURIComponent(binding.value.formula);\n\t\tif (!Boolean(formula)) {\n\t\t\treturn;\n\t\t}\n\t\tlet amount = binding.value.amount || 100;\n\t\tlet url = \"Utilities/ParseFeeFormula/\";\n\t\turl = common.appendUrlParameter(url, 'formula', formula);\n\t\turl = common.appendUrlParameter(url, 'amount', amount);\n\t\t$(el).text(\"Calculating...\");\n\t\t$.ajax({\n\t\t\ttype: \"GET\",\n\t\t\turl: url\n\t\t}).then(function (result) {\n\t\t\tlet parsedAmount = result || 0;\n\t\t\t$(el).text(formatter.formatCurrency(parsedAmount));\n\t\t});\n\t\t\n\t});\n\tVue.directive('companyWhiteLabel', function (el, binding) {\n\t\t$(el).text('');\n\t\tapi.get('Company', binding.value, 'GetCustomStyleSheet').then((result) => {\n\t\t\tlet label = result && result.name ? result.name : 'Accresa';\n\t\t\t$(el).text(label);\n\t\t})\n\t});\n\tVue.directive('consumerWhiteLabel', function (el, binding) {\n\t\t$(el).text('');\n\t\tapi.get('ConsumerWizard', binding.value, 'GetCustomStyleSheet').then((result) => {\n\t\t\tlet label = result && result.name ? result.name : 'Accresa';\n\t\t\t$(el).text(label);\n\t\t})\n\t});\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ac-modal',{ref:\"modalRef\",attrs:{\"title\":'Message Center'}},[_vm._t(\"default\",[(_vm.paginatedMessages.length==0)?_c('div',[_vm._v(\"\\n No messages at this time.\\n \")]):_c('div',[_c('h5',[_vm._v(\"Your Messages\")])]),_vm._v(\" \"),_vm._l((_vm.paginatedMessages),function(message){return _c('div',{staticStyle:{\"max-height\":\"390px\",\"overflow\":\"auto\"}},[_c('message',{attrs:{\"message\":message}})],1)}),_vm._v(\" \"),(_vm.thereAreMoreMessages)?_c('div',[_c('a',{staticClass:\"cursor-pointer\",on:{\"click\":function($event){$event.preventDefault();return _vm.showMore($event)}}},[_c('div',{staticClass:\"divider\"}),_vm._v(\" \"),_c('h6',{staticClass:\"text-center\"},[_vm._v(\"SHOW MORE\")])])]):_vm._e(),_vm._v(\" \"),_c('hr'),_vm._v(\" \"),(!_vm.isPhysician)?[(_vm.childrenMessages.length==0)?_c('div',[_vm._v(\"\\n No messages for your providers at this time.\\n \")]):_c('div',[_c('h5',[_vm._v(\"Messages For Your Providers\")])]),_vm._v(\" \"),_vm._l((_vm.childrenMessages),function(childMessage){return _c('div',{staticStyle:{\"max-height\":\"390px\",\"overflow\":\"auto\"}},[_c('message',{attrs:{\"message\":childMessage,\"store-module\":'childrenMessageCenter'}},[_vm._t(\"message-header\",[_vm._v(\"\\n \"+_vm._s(childMessage.name)+\"\\n \")])],2)],1)}),_vm._v(\" \"),(_vm.thereAreMoreChildrenMessages)?_c('div',[_c('a',{staticClass:\"cursor-pointer\",on:{\"click\":function($event){$event.preventDefault();return _vm.showMoreChildrenMessages($event)}}},[_c('div',{staticClass:\"divider\"}),_vm._v(\" \"),_c('h6',{staticClass:\"text-center\"},[_vm._v(\"SHOW MORE\")])])]):_vm._e()]:_vm._e()])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProviderMessageCenterModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProviderMessageCenterModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ProviderMessageCenterModal.vue?vue&type=template&id=25bcda44&scoped=true&\"\nimport script from \"./ProviderMessageCenterModal.vue?vue&type=script&lang=js&\"\nexport * from \"./ProviderMessageCenterModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ProviderMessageCenterModal.vue?vue&type=style&index=0&id=25bcda44&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"25bcda44\",\n null\n \n)\n\ncomponent.options.__file = \"ProviderMessageCenterModal.vue\"\nexport default component.exports","import {common} from \"./common.js\";\nimport {notifications} from \"./notifications.js\";\nimport ajaxSetUp from \"./ajaxSetUp.js\"\nimport customDirectives from \"./framework/customDirectives.js\"\nimport pipeFilters from \"./framework/pipeFilters.js\";\nimport Vue from 'vue';\nimport _ from 'lodash/lodash.js'\n\nexport const baseBootstrapper = {\n\tbootstrap: bootstrap\n};\n\nasync function bootstrap() {\n\t$(\".animate-flicker\").text(\"Finishing set up ...\");\n\tawait importStyles();\n\taddJqueryHelpers();\n\taddGlobalHelpers();\n\tawait notifications.init();\n\tajaxSetUp.init();\n\tcustomDirectives.init();\n\tpipeFilters.init();\n\t//Only set up hotjar and raygun if we are not in dev mode\n\tif (!common.IS_LOCAL_ENVIRONMENT) {\n\t\tsetUpHotJar();\n\t\tsetUpRayGun();\n\t\tsetUpGoogleAnalytics();\n\t}\n\tawait import(\"../global/customHtmlElements/registration.js\");//This will register all global shared components\n}\n\nasync function importStyles() {\n\t$('head').append('');\n\tawait import('../assets/css/common.css');\n\tawait Promise.all([import('../assets/css/notifications/acressa-notifications.css'),\n\t\timport('@fortawesome/fontawesome-free/css/all.css'),\n\t\timport('@fortawesome/fontawesome-free/css/v4-shims.css'),\n\t\timport('datatables/media/css/jquery.dataTables.min.css'),\n\t\timport('../assets/css/dataTables.bootstrap.min.css'),\n\t\timport('../assets/css/kendoOverride.css')\n\t]);\n}\n\nfunction addJqueryHelpers() {\n\tjQuery.expr[':'].icontains = function (a, i, m) {\n\t\treturn jQuery(a).text().toUpperCase()\n\t\t\t.indexOf(m[3].toUpperCase()) >= 0;\n\t};\n}\n\nfunction addGlobalHelpers() {\n\tVue.mixin({\n\t\tcomputed: {\n\t\t\tproviderSearchText() {\n\t\t\t\treturn \"Search For Plans\";\n\t\t\t},\n\t\t},\n\t\tmethods: {\n\t\t\tclone(original) {\n\t\t\t\t//console.log(\"cloning object: \", original);\n\t\t\t\tlet clone = JSON.parse(JSON.stringify(original));\n\t\t\t\treturn clone;\n\t\t\t},\n\t\t\tmapData(propName, data) {\n\t\t\t\tlet clone = this.clone(data);\n\t\t\t\tif (_.isEmpty(this[propName])) {\n\t\t\t\t\t//First time setting the properties\n\t\t\t\t\tthis[propName] = Object.assign({}, this[propName], clone);\n\t\t\t\t} else {\n\t\t\t\t\t//Update matching properties, we can not use the same stuff we use to initialize the object\n\t\t\t\t\t//properties won't be reactive anymore, _merge uses deep cloning\n\t\t\t\t\t_.merge(this[propName], clone);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t},\n\t\t\tparseJSONCamelCase(jsonString) {\n\t\t\t\tif (!Boolean(jsonString)) {\n\t\t\t\t\treturn {};\n\t\t\t\t}\n\t\t\t\treturn JSON.parse(jsonString, this.toCamelCase);\n\t\t\t},\n\t\t\ttoCamelCase(key, value) {\n\t\t\t\tif (value && typeof value === 'object') {\n\t\t\t\t\tfor (let k in value) {\n\t\t\t\t\t\tif (/^[A-Z]/.test(k) && Object.hasOwnProperty.call(value, k)) {\n\t\t\t\t\t\t\tvalue[k.charAt(0).toLowerCase() + k.substring(1)] = value[k];\n\t\t\t\t\t\t\tdelete value[k];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn value;\n\t\t\t},\n\t\t\thasValue(value) {\n\t\t\t\treturn Boolean(value) && (typeof value === 'object' ? (Object.keys(value).length > 0) : true);\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction setUpHotJar() {\n\t(function (h, o, t, j, a, r) {\n\t\th.hj = h.hj || function () {\n\t\t\t(h.hj.q = h.hj.q || []).push(arguments)\n\t\t};\n\t\th._hjSettings = {hjid: common.APP_CONFIG.HOT_JAR_SITE_ID, hjsv: common.APP_CONFIG.HOT_JAR_SV};\n\t\ta = o.getElementsByTagName('head')[0];\n\t\tr = o.createElement('script');\n\t\tr.async = 1;\n\t\tr.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;\n\t\ta.appendChild(r);\n\t})(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');\n}\n\n\nfunction setUpGoogleAnalytics() {\n\t(function (w, d, s, l, i) {\n\t\tw[l] = w[l] || [];\n\t\tw[l].push({\n\t\t\t'gtm.start':\n\t\t\t\tnew Date().getTime(), event: 'gtm.js'\n\t\t});\n\t\tvar f = d.getElementsByTagName(s)[0],\n\t\t\tj = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';\n\t\tj.async = true;\n\t\tj.src =\n\t\t\t'https://www.googletagmanager.com/gtm.js?id=' + i + dl;\n\t\tf.parentNode.insertBefore(j, f);\n\t})(window, document, 'script', 'dataLayer', 'GTM-PP2RH98');\n\t\n\twindow.onload = function () {\n\t\tvar iframe = document.createElement('iframe');\n\t\tiframe.style.display = \"none\";\n\t\tiframe.style.visibility = \"hidden\";\n\t\tiframe.style.height = 0;\n\t\tiframe.style.width = 0;\n\t\tiframe.src = \"https://www.googletagmanager.com/ns.html?id=GTM-PP2RH98\";\n\t\tdocument.body.appendChild(iframe);\n\t};\n}\n\nfunction setUpRayGun() {\n\t$.ajax({type: \"GET\", url: \"Utilities/GetRaygunConfig\"}).then(function (config) {\n\t\tfinishRayGunSetUp(config.apiKey, config.version);\n\t});\n}\n\nfunction finishRayGunSetUp(apiKey, version) {\n\t!function (a, b, c, d, e, f, g, h) {\n\t\ta.RaygunObject = e, a[e] = a[e] || function () {\n\t\t\t(a[e].o = a[e].o || []).push(arguments)\n\t\t}, f = b.createElement(c), g = b.getElementsByTagName(c)[0],\n\t\t\tf.async = 1, f.src = d, g.parentNode.insertBefore(f, g), h = a.onerror, a.onerror = function (b, c, d, f, g) {\n\t\t\th && h(b, c, d, f, g), g || (g = new Error(b)), a[e].q = a[e].q || [], a[e].q.push({\n\t\t\t\te: g\n\t\t\t})\n\t\t}\n\t}(window, document, \"script\", \"//cdn.raygun.io/raygun4js/raygun.min.js\", \"rg4js\");\n\trg4js('apiKey', apiKey);\n\trg4js('setVersion', version);\n\trg4js('options', {disableAnonymousUserTracking: true, excludedHostnames: ['https://in.hotjar.com', 'in.hotjar.com'],});\n\trg4js('enableCrashReporting', true);\n\trg4js('enablePulse', true);\n\trg4js('setFilterScope', 'customData');\n\t\n\tvar cleanSensitiveData = function (payload) {\n\t\tvar requestData = payload.Details.UserCustomData.requestData;\n\t\tif (!requestData) {\n\t\t\treturn payload;\n\t\t}\n\t\tvar requestDataObject = {};\n\t\trequestData.replace(/([^=&]+)=([^&]*)/g, function (m, key, value) {\n\t\t\trequestDataObject[decodeURIComponent(key)] = decodeURIComponent(value);\n\t\t});\n\t\t//console.log(\"requestDataObject before: \", requestDataObject);\n\t\tfor (var key in requestDataObject) {\n\t\t\tif (requestDataObject.hasOwnProperty(key)\n\t\t\t\t&& (\n\t\t\t\t\t/.*pass.*/.test(key)\n\t\t\t\t\t|| /.*stripe.*/.test(key)\n\t\t\t\t\t|| /.*card.*/.test(key)\n\t\t\t\t\t|| /.*credit.*/.test(key)\n\t\t\t\t\t|| /.*bank.*/.test(key)\n\t\t\t\t\t|| /.*account.*/.test(key)\n\t\t\t\t\t|| /.*social.*/.test(key)\n\t\t\t\t\t|| /.*ssn.*/.test(key)\n\t\t\t\t\t|| /.*routing.*/.test(key)\n\t\t\t\t)) {\n\t\t\t\trequestDataObject[key] = \"--removed--\";\n\t\t\t}\n\t\t}\n\t\t//console.log(\"requestDataObject after: \", requestDataObject);\n\t\tpayload.Details.UserCustomData.requestData = JSON.stringify(requestDataObject); // This formats the object back into a query string for Raygun\n\t\treturn payload;\n\t};\n\t\n\trg4js('onBeforeSend', cleanSensitiveData);\n\t\n\tif (localStorage.raygunUser) {\n\t\trg4js('setUser', JSON.parse(localStorage.raygunUser));\n\t}\n}","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAAAAADmVT4XAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfhAw0LDiANviItAAAGxklEQVR42u2ZezMbXRzH+xKfZyoEIRciJCFxrftdKKUXIUKVVpQOU3Ra2qdPiz5ogyDS7DnZ+0lEtTPPPH/0DTznbBKXSmdEp4kZeybj7Lntfvb7u+2MG4GkNgil36n+RrIBYPTZsT7JAOebDCADnAUgkRH7Q37JVwCe/JLz/HMmSLkCMNUKJL2dACRN9CuqALz2Csg+ICtwSocz/fVT4KINXrJPFOBMbYK/I19ddQV+f/tVgOuhwIXf5ncBpFKBqxuGsgKyArICcjlOajm+krXgen2QXEkTyAAygAyQBAAYCXdauga4B8fxT5MmjWk6Mj67iY628ycTAAAsC8gNKFL+eMRAFrGx+wAKQMiIeEyByPjsJgghRZH/yQQghycYxMFEAaC41LQnAiBO6WdFSvjQV2quHNzipftA7p7FYjKX9m2Jbmsnfj/xUcGiCISVXrxpyMPxfxUUmyvKzebCFY532yvMZffWhURrARBfKUtXg3409uekyM3karsdbSrDW4kA8u1Z3Y7BO6oG4WNuNQ0p0X5zXuSmc/J6HK1ZRcvB9f6hfr1hwGH/FFzKz7E5ujSa+Z8S/BxAp1PPCmg8fTK8pjV/DKHQa43Fx0gAndnuf7+gWwbo1jaIPHs4lDEfXlVbNvGml7nlfg4dBEylXAhxe6a8v/HkP0X5myxMEGAp63Zvmv3Aleb6NqEYO/ADEOzOfCNKxrapK2tqrMq7wQ19UW1tTZ015/nXMYWLbEK27He8P7BrtPqgX3ypvBekAHUwnD6DQKIAyvvhkbQuRwYBGP8BILfR1t4zA/gNvbmjo72z4gRAxAACYLxGq58G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BLmKF+QODdqctrV8kEmiyi3ZJCDxKa3HaBxxG7UZ49o+B0F6htq29vb11/eBBms1pHxzIL9wJ9aV1P3441pw+ynMtygZbW0fjwtETRXl7S1vjyEWjAAqvqsbDCIX3W23YyyA3XD0lYA8Adxq2DpF4OF05G16qnEb7XU11tbV1tzZAR8s+2f+46mX4cX1DdU118zTOTM76htra+vLZw/m6Jryvsj+BMOQ5gBvNRyoLx3ERX+NpMo07yPAMmecFgRfo2ALH4z1kThBFvJ9c8ryAv4ojF9zFo+C4AMRGpwpAdDFSC2Ip/mQhOgfOLl+iFiStyQAygAwgA8gAqQeA8Ndv8msKpBpAViDFz78CCqRYAFmBqxCGsgKyArICqQaQFZDLsaxAigWQFbgKiUhWQFZAViDVALICcjlOsQCpd8L/AeBxU6Xw4lF7AAAAQXRFWHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVhbGl0eSA9IDc1CgCch4YAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDMtMTNUMTE6MTQ6MzItMDQ6MDDaT71eAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTAzLTEzVDExOjE0OjMyLTA0OjAwqxIF4gAAAABJRU5ErkJggg==\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{ref:\"acButton\",staticClass:\"btn\",attrs:{\"disabled\":_vm.isDisabled},on:{\"click\":function($event){$event.stopPropagation();return _vm.clickHandler($event)}}},[(_vm.actionProcessing)?_c('span',[_vm._v(\"\\n Processing...\\n \")]):_c('span',[_vm._t(\"default\")],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcButton.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcButton.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AcButton.vue?vue&type=template&id=2f6881a1&scoped=true&\"\nimport script from \"./AcButton.vue?vue&type=script&lang=js&\"\nexport * from \"./AcButton.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AcButton.vue?vue&type=style&index=0&id=2f6881a1&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2f6881a1\",\n null\n \n)\n\ncomponent.options.__file = \"AcButton.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=style&index=0&id=3e7bca48&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=style&index=0&id=3e7bca48&scoped=true&lang=css&\"","import {common} from \"../../../global/common.js\";\nimport {api} from \"../../../global/framework/api.js\";\nimport {notifications} from \"../../../global/notifications.js\";\n\nconst ENTITY_CONFIG = {\n ASSOCIATION: new EntityConfig(1, null, \"Network\", \"association\"),\n CLINIC: new EntityConfig(2, 1, \"Clinic\", \"clinic\"),\n PHYSICIAN: new EntityConfig(3, 2, \"Physician\", \"physician\")\n};\n\nfunction EntityConfig(id, parentTypeId, name, role) {\n this.typeId = id;\n this.parentTypeId = parentTypeId;\n this.name = name;\n this.role = role;\n}\n\nexport const providerUtilities = {\n ENTITY_CONFIG,\n getByEntityTypeId(typeId) {\n for (let current in ENTITY_CONFIG) {\n if (ENTITY_CONFIG[current].typeId === typeId) {\n return ENTITY_CONFIG[current];\n }\n }\n },\n getConfigByParent(typeId) {\n for (let current in ENTITY_CONFIG) {\n if (ENTITY_CONFIG[current].parentTypeId === typeId) {\n return ENTITY_CONFIG[current];\n }\n }\n },\n async switchRoles(newProviderEntityId) {\n let authToken = await api.get('ProviderEntity', newProviderEntityId, \"GetRoleToken\");\n try {\n let newTokenResponse = await $.ajax({\n type: \"POST\",\n disablePrefilter: true,\n disableBeforeSendHandler: true,\n url: common.APP_CONFIG.ROOT_URL + \"AcressaOAuth/token\",\n data: {\n grant_type: \"password\",\n client_id: \"AcressaJsApp\",\n providerEntityId: newProviderEntityId,\n tempAuthToken: authToken.tempToken,\n associatedUserId: authToken.userId,\n impersonator: authToken.impersonator\n }\n });\n if (newTokenResponse) {\n window.localStorage.removeItem(\"acressaToken\");\n localStorage.acressaToken = 'Bearer ' + newTokenResponse.access_token;\n window.location.href = \"/\" + newTokenResponse.roleName.toLowerCase() + \"/#/\" + newTokenResponse.entityId + \"/dashboard\";\n } else {\n throw Error(newTokenResponse);\n }\n } catch (e) {\n notifications.show({title: \"Unable to switch providers\", message: e.toString()}, common.ACRESSA_NOTIFICATIONS.ERROR);\n }\n\n },\n getAgeRange(plan) {\n let val = \"\";\n let hasMinAge = !!plan.minAge;\n let hasMaxAge = !!plan.maxAge;\n\n if (hasMinAge && !hasMaxAge)\n val = \"FOR AGES \" + plan.minAge + \" AND UP\";\n\n if (!hasMinAge && hasMaxAge)\n val = \"FOR AGES \" + plan.maxAge + \" AND UNDER\";\n\n if (hasMinAge && hasMaxAge)\n val = \"FOR AGES \" + plan.minAge + \" TO \" + plan.maxAge;\n\n if (!hasMinAge && !hasMaxAge)\n val = \"FOR ALL AGES\";\n\n return val;\n }\n};","import Vue from \"vue\";\n\nconst eventBus = new Vue();\n\nexport const eventBusModule = {\n eventBus,\n events: {\n IMAGE_UPDATE: \"IMAGE_UPDATE\",\n SWITCH_DEFAULT_CONTACT: \"SWITCH_DEFAULT_CONTACT\",\n CONTACT_CHANGE: \"CONTACT_CHANGE\",\n FEE_CHANGE: \"FEE_CHANGE\",\n NEW_PROVIDER: \"NEW_PROVIDER\",\n VISIBILITY_SETTINGS_UPDATED: \"VISIBILITY_SETTINGS_UPDATED\",\n RELOAD_PATIENT_REPORT: \"RELOAD_PATIENT_REPORT\",\n DEBT_HAS_BEEN_RESOLVED: \"DEBT_HAS_BEEN_RESOLVED\",\n CONSUMER_LINE_ITEM_CREATED: \"CONSUMER_LINE_ITEM_CREATED\",\n DISCOUNT_ADDED: \"DISCOUNT_ADDED\",\n INVOICE_CONSUMER: \"INVOICE_CONSUMER\"\n }\n};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nav',{staticClass:\"navbar navbar-default navbar-fixed-top no-margin\"},[_c('div',{staticClass:\"container-fluid\"},[_c('div',{staticClass:\"navbar-header\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"logo\",attrs:{\"id\":\"top-bar-return-to-dashboard-link\"}},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.goToDashboard($event)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"collapse navbar-collapse\",attrs:{\"id\":\"navbar\"}},[_c('ul',{staticClass:\"nav navbar-nav nomobile navbar-back-link\"},[_vm._l((_vm.breadCrumbs),function(crumb){return _c('li',{attrs:{\"id\":\"top-bar-bread-crumb-link\"}},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.goToEntity(crumb)}}},[_c('i',{staticClass:\"fa fa-angle-double-right\"}),_vm._v(\" \"),_c('span',{attrs:{\"title\":crumb.name}},[_vm._v(_vm._s(_vm.getProviderName(crumb.name)))])])])}),_vm._v(\" \"),(_vm.memberId)?_c('li',{attrs:{\"id\":\"top-bar-bread-crumb-link\"}},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.goToMemberDashboard(_vm.memberId)}}},[_c('i',{staticClass:\"fa fa-angle-double-right\"}),_vm._v(\"\\n Member Dashboard\\n \")])]):_vm._e()],2),_vm._v(\" \"),_c('ul',{staticClass:\"nav navbar-nav pull-right\"},[(_vm.userCount > 0)?_c('li',{attrs:{\"id\":\"top-bar-providers-link\"}},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.showImpersonationModal($event)}}},[_c('i',{staticClass:\"fa fa-users\"}),_vm._v(\" Providers\\n \")])]):_vm._e(),_vm._v(\" \"),_c('li',{attrs:{\"id\":\"top-bar-resource-center-link\"}},[_vm._m(1),_vm._v(\" \"),_c('ul',{staticClass:\"dropdown-menu\"},[_c('li',[_c('a',{attrs:{\"href\":\"#\",\"target\":\"_blank\",\"href\":_vm.resourceCenterUrl}},[_vm._v(\"Resource Center\")])]),_vm._v(\" \"),(_vm.isPhysician)?_c('li',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.startGuidedTour($event)}}},[_vm._v(\"Guided Tour\")])]):_vm._e()])]),_vm._v(\" \"),_c('li',{attrs:{\"id\":\"top-bar-message-center-link\"}},[_c('a',{class:{'message-center-active':_vm.hasUnreadMessages},attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.viewMessages($event)}}},[_c('i',{staticClass:\"fa fa-bell\"})])]),_vm._v(\" \"),_c('li',{attrs:{\"id\":\"top-bar-logout-link\"}},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logOut($event)}}},[_c('i',{staticClass:\"fa fa-unlock-alt\"}),_vm._v(\" Log out\")])])])])])]),_vm._v(\" \"),_c('provider-message-center-modal',{ref:\"messageCenterModal\"}),_vm._v(\" \"),_c('ac-auto-reset-modal',{ref:\"impersonationModal\",attrs:{\"path\":'components/shared/providers/ProviderImpersonationModal.vue'}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"navbar-toggle collapsed\",attrs:{\"type\":\"button\",\"data-toggle\":\"collapse\",\"data-target\":\"#navbar\",\"aria-expanded\":\"false\",\"aria-controls\":\"navbar\"}},[_c('span',{staticClass:\"sr-only\"},[_vm._v(\"Toggle navigation\")]),_vm._v(\" \"),_c('span',{staticClass:\"icon-bar\"}),_vm._v(\" \"),_c('span',{staticClass:\"icon-bar\"}),_vm._v(\" \"),_c('span',{staticClass:\"icon-bar\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"dropdown-toggle\",attrs:{\"href\":\"#\",\"data-toggle\":\"dropdown\",\"role\":\"button\",\"aria-haspopup\":\"true\",\"aria-expanded\":\"false\"}},[_c('i',{staticClass:\"fa fa-lg fa-question-circle\"})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=d3e98784&scoped=true&\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=d3e98784&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d3e98784\",\n null\n \n)\n\ncomponent.options.__file = \"TopBar.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InactivityModal.vue?vue&type=style&index=0&id=4cae323d&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InactivityModal.vue?vue&type=style&index=0&id=4cae323d&scoped=true&lang=css&\"","import {configTables} from \"../../../global/configTables.js\";\nimport _ from 'lodash';\nimport {common} from \"../../../global/common.js\";\nimport {notifications} from \"../../../global/notifications.js\";\n\nexport const providerSearchStoreModule = {\n\tstate: {\n\t\taddressId: 0,\n\t\taddressName: '',\n\t\tlatitude: 0,\n\t\tlongitude: 0,\n\t\tradiusId: 0,\n\t\tdistance: 0,\n\t\tdesignationId: 0,\n\t\tonlyAcceptingNewPatients: true,\n\t\tphysicianName: '',\n\t\tnetworkId: null,\n\t\tphysicianSearchResults: [],\n\t\tcurrentPage: 1,\n\t\tITEMS_PER_PAGE: 10,\n\t\tsearching: false\n\t},\n\tgetters: {\n\t\tdistance(state) {\n\t\t\treturn state.distance;\n\t\t},\n\t\tsearchLocation(state) {\n\t\t\treturn {latitude: state.latitude, longitude: state.longitude, addressName: state.addressName};\n\t\t},\n\t\tsearchCriteria(state) {\n\t\t\treturn {latitude: state.latitude, longitude: state.longitude};\n\t\t},\n\t\tsearchFilters(state) {\n\t\t\treturn {\n\t\t\t\tradiusId: state.radiusId, designationId: state.designationId,\n\t\t\t\tonlyAcceptingNewPatients: state.onlyAcceptingNewPatients, physicianName: state.physicianName\n\t\t\t\t, networkId: state.networkId\n\t\t\t};\n\t\t},\n\t\tpaginatedResults(state) {\n\t\t\tlet clone = [...state.physicianSearchResults];\n\t\t\tlet cutFrom = state.ITEMS_PER_PAGE * (state.currentPage - 1);\n\t\t\tlet cutTo = cutFrom + state.ITEMS_PER_PAGE;\n\t\t\tlet resultsToShow = clone.length === 0 ? [] : clone.slice(cutFrom, cutTo);\n\t\t\t//console.log(\"Recalculating paginated results, current page:\", state.currentPage, \"searching:\", state.searching);\n\t\t\treturn resultsToShow;\n\t\t},\n\t\tsearchResults(state) {\n\t\t\treturn state.physicianSearchResults;\n\t\t},\n\t\tsearching(state) {\n\t\t\treturn state.searching;\n\t\t}\n\t},\n\tmutations: {\n\t\tSET_SEARCH_CRITERIA(state, data) {\n\t\t\t//console.log(\"setting new criteria: \", data);\n\t\t\tstate.addressId = data.addressId;\n\t\t\tstate.addressName = data.addressName;\n\t\t\tstate.latitude = data.latitude;\n\t\t\tstate.longitude = data.longitude;\n\t\t\tstate.radiusId = data.radiusId;\n\t\t\tstate.distance = data.distance;\n\t\t\tstate.designationId = data.designationId;\n\t\t\tstate.physicianName = data.physicianName\n\t\t\tstate.onlyAcceptingNewPatients = data.onlyAcceptingNewPatients;\n\t\t\tstate.networkId = data.networkId;\n\t\t},\n\t\tSET_PHYSICIAN_SEARCH_RESULTS(state, results) {\n\t\t\t//console.log(\"Settings physician results: \", results);\n\t\t\tstate.physicianSearchResults = results;\n\t\t},\n\t\tSET_PAGE(state, currentPage) {\n\t\t\tstate.currentPage = currentPage;\n\t\t},\n\t\tSET_SEARCHING_FLAG(state, flag) {\n\t\t\tstate.searching = flag;\n\t\t}\n\t},\n\tactions: {\n\t\tSET_SEARCH_FILTERS({commit, state, dispatch}, filters) {\n\t\t\tcommit(\"SET_PHYSICIAN_SEARCH_FILTERS\", filters);\n\t\t},\n\t\tasync SEARCH_PHYSICIANS({commit, state, dispatch}, {searchCriteria, baseUrl}) {\n\t\t\t//It is possible to have multiple dispatches for the same action, instead of searching twice we can\n\t\t\t//just return a promise\n\t\t\tlet criteriaCheck = Object.assign({}, searchCriteria);\n\t\t\tlet currentCriteria = {\n\t\t\t\tradiusId: state.radiusId,\n\t\t\t\taddressId: state.addressId,\n\t\t\t\tzipCode: state.zipCode,\n\t\t\t\tlatitude: state.latitude,\n\t\t\t\tlongitude: state.longitude,\n\t\t\t\tdesignationId: state.designationId,\n\t\t\t\tonlyAcceptingNewPatients: state.onlyAcceptingNewPatients,\n\t\t\t\tphysicianName: state.physicianName,\n\t\t\t\taddressName: state.addressName,\n\t\t\t\tnetworkId: state.networkId\n\t\t\t}\n\t\t\tif (Object.entries(currentCriteria).toString() === Object.entries(criteriaCheck).toString()) {\n\t\t\t\tcommit(\"SET_SEARCHING_FLAG\", false);\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\t//console.log(\"resolving fake promise in SEARCH_PHYSICIANS\");\n\t\t\t\t\tresolve(true);\n\t\t\t\t});\n\t\t\t}\n\t\t\tcommit(\"SET_SEARCHING_FLAG\", true);//This is needed in order to prevent old search results from showing in the search presenter\n\t\t\t//console.log(\"Searching physicians from store, searching:\", state.searching);\n\t\t\tcommit(\"SET_PAGE\", 1);//Everytime a new search is executed we need to reset the current page\n\t\t\tcommit(\"SET_PHYSICIAN_SEARCH_RESULTS\", []);//we need to do this in order to prevent other components from\n\t\t\t//rendering old data while the new one is being loaded\n\t\t\tlet newCriteria = Object.assign({}, searchCriteria);\n\t\t\tlet searchUrl = baseUrl;\n\t\t\t//I wish async getters exists but oh well...\n\t\t\tlet radiusOptions = await configTables.getSearchRadiusOptions();//at least this request will only be triggered once\n\t\t\t//console.log(\"search url: \", searchUrl, \" new criteria \", newCriteria, \" radius options:\", radiusOptions);\n\t\t\tnewCriteria.distance = _.find(radiusOptions, {id: newCriteria.radiusId}).value;\n\t\t\tcommit(\"SET_SEARCH_CRITERIA\", newCriteria);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'designationId', newCriteria.designationId);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'isAccepting', newCriteria.onlyAcceptingNewPatients);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'physicianName', newCriteria.physicianName);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'networkId', newCriteria.networkId);\n\t\t\tlet searchResults = await $.ajax({type: \"GET\", global: false, url: searchUrl});\n\t\t\tsearchResults = searchResults.sort((a, b) => {\t\t\t\t\n\t\t\t\tif (a.preferred && !b.preferred) return -1; \n\t\t\t\tif (!a.preferred && b.preferred) return 1; \t\t\t\t\t\t\t\n\t\t\t\treturn a.distance - b.distance;\n\t\t\t});\n\t\t\tcommit(\"SET_PHYSICIAN_SEARCH_RESULTS\", searchResults);\n\t\t\tif (searchResults.length === 0) {\n\t\t\t\tnotifications.show({\n\t\t\t\t\ttitle: \"No results found\",\n\t\t\t\t\tmessage: \"We were unable to find any plans under the current search criteria\"\n\t\t\t\t}, common.ACRESSA_NOTIFICATIONS.ERROR);\n\t\t\t}\n\t\t\tcommit(\"SET_SEARCHING_FLAG\", false);//This is needed in order to prevent old search results from showing in the search presenter\n\t\t},\n\t\tSET_CURRENT_PAGE({commit, state, dispatch}, page) {\n\t\t\tcommit(\"SET_PAGE\", page);\n\t\t},\n\t\tSET_SEARCHING_INDICATION({commit, state, dispatch}) {\n\t\t\tcommit(\"SET_SEARCHING_FLAG\", true);\n\t\t}\n\t}\n};","import {formatter} from \"./formatter.js\";\nimport { notifications } from \"./notifications.js\";\n\nlet acressaConfigModule = require(/* webpackExclude:\"acressa-config.js\" */'../../public/acressa-config.js');\n\n\nconst ACRESSA_NOTIFICATIONS = {\n\tERROR: 1,\n\tSUCCESS: 2,\n\tLOADING: 3,\n\tINFORMATION: 4\n};\n\nconst ENTITY_TYPE = {\n\tNETWORK: 1,\n\tCLINIC: 2,\n\tPHYSICIAN: 3,\n\tCOMPANY: 4,\n\tCONSUMER: 5\n};\n//Be careful using this enum, single request is using ENTITY_TYPE not GENERAL_ENTITY_TYPE\nconst GENERAL_ENTITY_TYPE = {\n\tPROVIDER: 1,\n\tCOMPANY: 2,\n\tCONSUMER: 3\n};\n\nconst PAYMENT_STRATEGY_TYPES = {\n\tFIXED_FEE: 1,\n\tPERCENTAGE: 2,\n\tCUSTOM: 3\n};\n\nconst RELATIONSHIP_TYPE = {\n\t1: 'Primary',\n\t2: 'Spouse',\n\t3: 'Dependent',\n};\n\nconst APP_CONFIG = acressaConfig;\n//console.log(\"App config inside common: \", APP_CONFIG);\n\nconst IS_LOCAL_ENVIRONMENT = APP_CONFIG.ROOT_URL.includes(\"local\");\n\nconst PHYSICIAN_SEARCH_TYPE = {\n\tBY_ADDRESS_ID: 1,\n\tBY_ZIP_CODE: 2,\n\tBY_LOCATION: 3\n};\n\nconst ACRESSA_EVENTS = {\n\tCLEAR_ADDRESS: \"CLEAR_ADDRESS\",\n\tCLINIC_LOGO: \"CLINIC_LOGO\",\n\tPHYSICIAN_SEARCH_RESULTS: \"PHYSICIAN_SEARCH_RESULTS\",\n\tSHOPPING_CART_ADDITION: \"SHOPPING_CART_ADDITION\",\n\tSHOPPING_CART_REMOVE: \"SHOPPING_CART_REMOVE\",\n\tSHOPPING_CART_CLEAR: \"SHOPPING_CART_CLEAR\",\n\tSHOPPING_CART_REFRESH: \"SHOPPING_CART_REFRESH\",\n\tSHOW_NAV_LINKS: \"SHOW_NAV_LINKS\",\n\tDECLINED_RESPONSE_CLOSURE: 'DECLINED_RESPONSE_CLOSURE'\n};\n\nconst IMAGE_SIZE = {\n\tSMALL: {id: 1, suffix: '-small'},\n\tMEDIUM: {id: 2, suffix: '-medium'},\n\tBIG: {id: 3, suffix: '-big'}\n};\n\nconst AFFILIATION_STATUS = {\n\tAPPROVED: 'A',\n\tDENIED: 'D',\n\tPENDING: 'P',\n\tTERMINATED: 'T'\n};\n\nconst ROLES = {\n\tADMIN: 1,\n\tCOMPANY: 2,\n\tCONSUMER: 3,\n\tPHYSICIAN: 4,\n\tASSOCIATION: 5,\n\tCLINIC: 6,\n\tJOB: 7,\n\tPSR: 8,\n\tGROUPADMIN: 9,\n\tMSRADMIN: 10,\n};\n\nconst JOB_STATUS = {\n\tQUEUED: 1,\n\tPROCESSING: 2,\n\tCOMPLETED: 3,\n\tFAILED: 4\n};\n\nconst PAYEE_TYPES = {\n\tACCRESA: 1,\n\tNETWORK_SELF: 2,\n\tAFFILIATE: 3,\n\tEXTERNAL: 4\n};\n\nconst PAYEE_OPTIONS = {\n\tSELF: 1,\n\tEXISTING: 2,\n\tNEW: 3,\n\tACCRESA: 4,\n};\n\nfunction getRoleByEntityId(entityTypeId) {\n\tif (entityTypeId === ENTITY_TYPE.NETWORK) {\n\t\treturn ROLES.ASSOCIATION;\n\t}\n\tif (entityTypeId === ENTITY_TYPE.CLINIC) {\n\t\treturn ROLES.CLINIC;\n\t}\n\tif (entityTypeId === ENTITY_TYPE.PHYSICIAN) {\n\t\treturn ROLES.PHYSICIAN;\n\t}\n\tif (entityTypeId === ENTITY_TYPE.CONSUMER) {\n\t\treturn ROLES.CONSUMER;\n\t}\n\tif (entityTypeId === ENTITY_TYPE.COMPANY) {\n\t\treturn ROLES.COMPANY;\n\t}\n}\n\n// ** Args **\n// p = property path as a string, example: 'body.hair.colors[0].color'\n// o = object the property path relates to\n// d = optional default value to return instead of null\n//If you are wondering why I changed these function is mainly because of 2 reasons:\n///1.-let test2=getSafeValue(\"consumer.consumerId2\",{consumer:{consumerName:'bob', consumerId:2}},0);\n///The above example was generating null instead of my optional default value which is incorrect behaviour\n///2.- ECMA 6 in webstorm causes some issue when some of the stuff is written with ECMA 5.1 but some other parts\n///of the same script are written with 6, plus the only thing I changed is to use function instead of the arrow function\nfunction getSafeValue(p, o, d) {\n\tlet path = p.split('.');\n\treturn getSafeArrayValue(path, o, d);\n}\n\nfunction getSafeArrayValue(p, o, d) {\n\tlet result = p.reduce(function (xs, x) {\n\t\treturn (xs && xs[x]) ? xs[x] : (typeof d === 'undefined' ? null : d);\n\t}, o);\n\treturn result;\n}\n\nfunction appendUrlParameter(url, parameterName, parameterValue) {\n\t//console.log(\"appending parameter to url, name:\", parameterName, ' value: ', parameterValue);\n\tif (!parameterName || !parameterValue) {\n\t\treturn url;\n\t}\n\tlet pattern = new RegExp('\\\\b(' + parameterName + '=).*?(&|$)');\n\tlet separator = url.indexOf(\"?\") === -1 ? \"?\" : \"&\";\n\tlet encodedValue = encodeURIComponent(parameterValue);\n\tlet param = formatter.formatString(\"{0}={1}\", parameterName, encodedValue);\n\tlet newUrl = null;\n\tif (url.search(pattern) >= 0) {\n\t\tnewUrl = url.replace(pattern, '$1' + encodedValue + '$2');\n\t} else {\n\t\tnewUrl = url + separator + param;\n\t}\n\treturn newUrl;\n}\n\nfunction getValueOrDefault(value, _defaultValue) {\n\tlet defaultValue = typeof _defaultValue === 'undefined' ? null : _defaultValue;\n\treturn value ? value : defaultValue;\n}\n\nfunction scrollToBottom() {\n\t$('html, body').animate(\n\t\t{scrollTop: $(document).height() - $(window).height()},\n\t\t1400,\n\t\t\"swing\"\n\t);\n}\n\n\nfunction logOut() {\n\t//Now we need to capture the logout events on the backend\n\t$.ajax({\n\t\ttype: \"GET\",\n\t\turl: `Shared/Logout`,\n\t}).then(() => goToLoginPage());\n}\n\n// *** Deprecated: Use formatter.formatCurrency ***\n// This should be removed once we transition everything\n// using it to the formats library\nfunction formatCurrency(value) {\n\tif (value) {\n\t\treturn formatter.formatCurrency(value);\n\t}\n\treturn \"$0.00\";\n}\n\n// *** Deprecated: Use formatter.formatDate ***\n// This should be removed once we transition everything\n// using it to the formats library\nfunction formatDate(dateValue) {\n\treturn formatter.formatDate(dateValue);\n}\n\nfunction generateImageLink(imageId, size = IMAGE_SIZE.MEDIUM.id) {\n\t//console.log(\"imageId Generate Link\", imageId);\n\tif (imageId) {\n\t\t//console.log('from db...');\n\t\t//console.log(\"size\", size);\n\t\treturn APP_CONFIG.API_URL + \"shared/getimage/\" + imageId + \"/\" + size + \"?_=\" + new Date().getTime();\n\t} else {\n\t\t//console.log('default image...');\n\t\t//right now we only have 2 default pictures, small and medium\n\t\tlet result = size === IMAGE_SIZE.SMALL.id ? require('@/assets/images/defaultSmall.png') :\n\t\t\trequire('@/assets/images/defaultMedium.png');\n\t\treturn result;\n\t}\n}\n\nfunction logUserIn(userName, password, redirectUrl = null, checkFor2factorAuth = false) {\n\t//make sure we clear the token.- I found an annoying bug when trying to log in but the token is already stored\n\t// and the disableBeforeSendHandler was not being passed\n\tremoveAccresaToken();\n\t//'permanent-remember-me-token'\n\tlet data = {username: userName, password: password, grant_type: \"password\", client_id: \"AcressaJsApp\"};\n\tlet rememberMeTokens = JSON.parse(localStorage.getItem(`permanent-remember-me-tokens`) || '[]');\n\tdata.rememberMeTokens = rememberMeTokens;\n\tlet self = this;\n\t$.ajax({\n\t\ttype: \"POST\",\n\t\tdisablePrefilter: true,\n\t\tdisableBeforeSendHandler: true,\n\t\turl: APP_CONFIG.ROOT_URL + \"AcressaOAuth/token\",\n\t\tdata: data,\n\t\tsuccess: function (tokenResponse) {\t\t\t\n\t\t\tif(tokenResponse.error != null){\n\t\t\t\tremoveAccresaToken();\t\t\t\t\n\t\t\t\tnotifications.showError({ message: tokenResponse.error, title: \"Error\" });\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tlocalStorage.raygunUser = JSON.stringify({\n\t\t\t\tidentifier: tokenResponse.userName,\n\t\t\t\tisAnonymous: false,\n\t\t\t\temail: tokenResponse.emailAddress,\n\t\t\t\tfullName: tokenResponse.fullName,\n\t\t\t\tfirstName: tokenResponse.firstName\n\t\t\t});\n\t\t\tlocalStorage.acressaToken = 'Bearer ' + tokenResponse.access_token;\n\t\t\tlet dashUrl = `/${tokenResponse.dashboard.toLowerCase()}/#/${tokenResponse.entityId}/dashboard`;\n\t\t\tif (!!tokenResponse.passwordIsExpired) {\n\t\t\t\twindow.location.href = `/#/expiredPassword`;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (checkFor2factorAuth && tokenResponse.requiresTwoFactorAuth) {\n\t\t\t\tif (!!redirectUrl) {\n\t\t\t\t\twindow.location.href = `/#/twoFactorAuthentication?urlRedirect=${encodeURIComponent(redirectUrl)}`;\n\t\t\t\t} else {\n\t\t\t\t\twindow.location.href = `/#/twoFactorAuthentication`;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (redirectUrl) {\n\t\t\t\twindow.location.href = redirectUrl;\n\t\t\t} else {\n\t\t\t\twindow.location.href = dashUrl;\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction logUserInWithToken(tempToken, userId, registrationComplete, redirectUrl = '') {\n\tremoveAccresaToken();\n\t$.ajax({\n\t\ttype: \"POST\",\n\t\tdisablePrefilter: true,\n\t\tdisableBeforeSendHandler: true,\n\t\turl: common.APP_CONFIG.ROOT_URL + \"AcressaOAuth/token\",\n\t\tdata: {\n\t\t\tassociatedUserId: userId,\n\t\t\ttempAuthToken: tempToken,\n\t\t\tgrant_type: \"password\",\n\t\t\tclient_id: \"AcressaJsApp\"\n\t\t},\n\t\tsuccess: function (tokenResponse) {\n\t\t\tlet regComp = registrationComplete ? '/true' : '';\n\t\t\tlocalStorage.acressaToken = 'Bearer ' + tokenResponse.access_token;\n\t\t\tif (!!redirectUrl) {\n\t\t\t\twindow.location.href = redirectUrl;\n\t\t\t} else {\n\t\t\t\twindow.location.href = \"/\" + tokenResponse.dashboard.toLowerCase() + \"/#/\" + tokenResponse.entityId + \"/dashboard\" + regComp;\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction removeAccresaToken() {\n\twindow.localStorage.removeItem(\"acressaToken\");\n}\n\nfunction hasAccresaTokenBeenSet() {\n\treturn Boolean(window.localStorage.getItem(\"acressaToken\"));\n}\n\nfunction goToDashboard(entityId) {\n\twindow.location.hash = common.formatString('#/{0}/dashboard', entityId);\n}\n\nfunction goBack() {\n\twindow.history.back();\n}\n\nfunction goToLoginPage() {\n\t//there might be a couple values we want to keep even when the user logs out\n\t//the convention is: anything that starts with 'permanent' will be excluded\n\tclearTempStorage();\n\t//localStorage.clear();\n\twindow.location.href = \"/\";\n}\n\nfunction clearTempStorage() {\n\tlet keys = Object.keys(localStorage);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tlet key = keys[i];\n\t\t//console.log(\"Current key for local storage: \", key);\n\t\tif (!key.startsWith('permanent')) {\n\t\t\tlocalStorage.removeItem(key);\n\t\t}\n\t}\n}\n\nfunction disableElement(elementId, message, cursor = \"wait\") {\n\t$.blockUI.defaults.overlayCSS['cursor'] = cursor;\n\t$.blockUI.defaults.css['cursor'] = cursor;\n\t$.blockUI.defaults['cursor'] = cursor;\n\t$(elementId).block({\n\t\tmessage: '

' + message + '

', css: {\n\t\t\tborder: 'none',\n\t\t\tbackground: 'transparent',\n\t\t\twidth: '100%'\n\t\t}\n\t});\n}\n\nfunction enableElement(elementId) {\n\t$(elementId).unblock();\n}\n\nfunction getRowData(thisReference, grid) {\n\tlet tr = $(thisReference).closest('tr');\n\tlet row = grid.row(tr);\n\treturn row.data();\n}\n\nfunction addRowData(grid, data) {\n\tgrid.row.add(data).draw();\n}\n\nfunction reloadGrid(grid, data) {\n\tgrid.clear();\n\tgrid.rows.add(data);\n\tgrid.draw();\n}\n\nfunction inArray(needle, arrayToSearch) {\n\treturn $.inArray(needle, arrayToSearch) > -1;\n}\n\nfunction isSummerNoteEmpty(element) {\n\treturn element.summernote('isEmpty');\n}\n\nfunction downloadFile(url, fileName, data = null, formData = false) {\n\tlet xhr = new XMLHttpRequest();\n\txhr.open(Boolean(data) ? 'POST' : 'GET', APP_CONFIG.API_URL + url);\n\txhr.setRequestHeader('Authorization', localStorage.acressaToken);\n\tif (formData) {\n\t\t// xhr.setRequestHeader(\"Content-Type\", \"multipart/form-data\");\n\t}\n\telse if (Boolean(data)) {\n\t\txhr.setRequestHeader(\"Content-Type\", \"application/json;charset=UTF-8\");\n\t}\n\tlet roleCheck = getValueForRoleCheckHeader(url);\n\txhr.setRequestHeader('X-Accresa-RoleCheck', roleCheck);\n\txhr.setRequestHeader('X-Accresa-Client-Url', encodeURIComponent(window.location.href));\n\txhr.responseType = 'arraybuffer';\n\txhr.onload = function () {\n\t\tif (this.status === 200) {\n\t\t\tlet type = xhr.getResponseHeader('Content-Type');\n\t\t\tlet blob = new Blob([xhr.response], {type: type});\n\t\t\tif (blob && navigator.msSaveBlob) {\n\t\t\t\t//console.log(\"Downloading using navigator msSaveBlob\");\n\t\t\t\treturn navigator.msSaveBlob(blob, fileName);\n\t\t\t}\n\t\t\t//console.log(\"Downloading using anchor tag\");\n\t\t\tlet a = $(\"\");\n\t\t\tlet url = window.URL.createObjectURL(blob);\n\t\t\ta.attr(\"href\", url);\n\t\t\ta.attr(\"download\", fileName);\n\t\t\t$(\"body\").append(a);\n\t\t\ta[0].click();\n\t\t\twindow.URL.revokeObjectURL(url);\n\t\t\ta.remove();\n\t\t} else {\n\t\t\tlet dataView = new DataView(xhr.response);\n\t\t\tlet decoder = new TextDecoder();\n\t\t\tlet error = JSON.parse(decoder.decode(dataView));\n\t\t\talert(JSON.stringify(error));\n\t\t}\n\t};\n\t\n\txhr.send(data);\n}\n\nfunction setActiveTab(tabContainer, tab) {\n\t$('#' + tabContainer + ' a[href=\"#' + tab + '\"]').tab('show');\n}\n\nfunction getValueForRoleCheckHeader(url) {\n\tlet validDashboards = Object.keys(common.ROLES).map(function (key) {\n\t\treturn key.toLowerCase()\n\t});\n\tvalidDashboards = validDashboards.concat(['consultant', 'mediator']);\n\tlet currentPage = window.location.pathname.replace(/\\\\|\\//g, '');\n\tlet roleCheck = currentPage;\n\tif (validDashboards.indexOf(currentPage) == -1) {\n\t\troleCheck = url.split('/').shift() || '';\n\t\t//console.log(\"Outside of regular dash, role check:\", roleCheck);\n\t}\n\treturn roleCheck;\n}\n\nfunction removeNonAlphanumericChars(input) {\n\tlet clean = input.replace(/[^0-9a-z]/gi, '');\n\treturn clean;\n}\n\nfunction getJsDateFromLongFormat(backendDate) {\n\treturn new Date(Date.parse(backendDate));\n}\n\nfunction getAddress({addressId, address1, address2, city, stateName, zipCode}) {\n\tif (Boolean(addressId) === false || Boolean(address1) === false) {\n\t\treturn '';\n\t}\n\tif (Boolean(address2)) {\n\t\treturn `${address1}, ${address2}, ${city}, ${stateName}, ${zipCode}`;\n\t} else {\n\t\treturn `${address1}, ${city}, ${stateName}, ${zipCode}`;\n\t}\n}\n\nfunction readMoreSplit(numberOfCharacters, htmlBlob) {\n\tif (htmlBlob == null) return null\n\tlet isHtml = false;\n\tlet counter = 0;\n\t\n\tfor (let i = 0; i < htmlBlob.length; i++) {\n\t\tif (htmlBlob[i] == '<') isHtml = true;\n\t\t\n\t\tif (!isHtml && numberOfCharacters == counter++) {\n\t\t\treturn htmlBlob.slice(0, i) + \"...\";\n\t\t}\n\t\t\n\t\tif (htmlBlob[i] == '>') isHtml = false;\n\t}\n\treturn null;\n}\n\nfunction filterProfDesignations(designation) {\n\tif (designation == \"U\") {\n\t\tdesignation = \"\"\n\t}\n\treturn designation\n}\n\nfunction isCardExpiring(month, year) {\n\tlet futureDate = new Date();\n\tfutureDate.setDate(futureDate.getDate() + 45);\n\tif (month != null && year != null) {\n\t\tlet cardDate = new Date(year, month - 1, 1);\n\t\tif (cardDate <= futureDate) {\n\t\t\treturn true\n\t\t}\n\t}\n\treturn false\n}\n\nfunction isInternalEnvironment() {\n\tlet url = window.location.href;\n\tlet isInternal = false;\n\tlet internalUrls = ['accresa-demo', 'accresa-stg', 'accresa-sandbox', 'accresa-qa', 'accresa-dev', 'localhost'];\n\tinternalUrls.forEach(function (internalUrl, index) {\n\t\tif (url.includes(internalUrl)) {\n\t\t\tisInternal = true;\n\t\t}\n\t});\n\treturn isInternal\n}\n\nexport const common = {\n\tACRESSA_NOTIFICATIONS: ACRESSA_NOTIFICATIONS,\n\tENTITY_TYPE: ENTITY_TYPE,\n\tGENERAL_ENTITY_TYPE: GENERAL_ENTITY_TYPE,\n\tPAYMENT_STRATEGY_TYPES: PAYMENT_STRATEGY_TYPES,\n\tRELATIONSHIP_TYPE: RELATIONSHIP_TYPE,\n\tAPP_CONFIG: APP_CONFIG,\n\tPHYSICIAN_SEARCH_TYPE: PHYSICIAN_SEARCH_TYPE,\n\tACRESSA_EVENTS: ACRESSA_EVENTS,\n\tIMAGE_SIZE: IMAGE_SIZE,\n\tAFFILIATION_STATUS: AFFILIATION_STATUS,\n\tIS_LOCAL_ENVIRONMENT: IS_LOCAL_ENVIRONMENT,\n\tROLES: ROLES,\n\tJOB_STATUS: JOB_STATUS,\n\tPAYEE_TYPES,\n\tPAYEE_OPTIONS,\n\tappendUrlParameter: appendUrlParameter,\n\tgetValueOrDefault: getValueOrDefault,\n\tscrollToBottom: scrollToBottom,\n\tlogOut: logOut,\n\tclearTempStorage: clearTempStorage,\n\tformatCurrency: formatCurrency,\n\tgenerateImageLink: generateImageLink,\n\tlogUserIn: logUserIn,\n\tlogUserInWithToken: logUserInWithToken,\n\tgoToDashboard: goToDashboard,\n\tgoBack: goBack,\n\tgoToLoginPage: goToLoginPage,\n\tdisableElement: disableElement,\n\tenableElement: enableElement,\n\tgetRowData: getRowData,\n\taddRowData: addRowData,\n\treloadGrid: reloadGrid,\n\tinArray: inArray,\n\tisSummerNoteEmpty: isSummerNoteEmpty,\n\tdownloadFile: downloadFile,\n\tsetActiveTab: setActiveTab,\n\tgetSafeValue: getSafeValue,\n\tgetSafeArrayValue: getSafeArrayValue,\n\tgetRoleByEntityId: getRoleByEntityId,\n\tgetValueForRoleCheckHeader: getValueForRoleCheckHeader,\n\tremoveNonAlphanumericChars: removeNonAlphanumericChars,\n\tgetJsDateFromLongFormat: getJsDateFromLongFormat,\n\tremoveAccresaToken: removeAccresaToken,\n\thasAccresaTokenBeenSet: hasAccresaTokenBeenSet,\n\tgetAddress: getAddress,\n\treadMoreSplit: readMoreSplit,\n\tfilterProfDesignations: filterProfDesignations,\n\tisInternalEnvironment: isInternalEnvironment,\n\tisCardExpiring: isCardExpiring,\n};","import _ from \"lodash\";\nimport {api} from \"../../../global/framework/api.js\";\n\nexport default class {\n\tconstructor() {\n\t\tthis.state = {\n\t\t\tentityId: 0,\n\t\t\tentityTypeId: 0,\n\t\t\tpaginatedMessages: [],\n\t\t\tallMessages: [],\n\t\t\tlastMessageId: 0,\n\t\t\tselectedMessageId: 0\n\t\t};\n\t\tthis.getters = {\n\t\t\tpaginatedMessages(state) {\n\t\t\t\treturn state.paginatedMessages;\n\t\t\t},\n\t\t\tmessageCount(state) {\n\t\t\t\treturn state.allMessages.length;\n\t\t\t},\n\t\t\tunreadMessageCount(state) {\n\t\t\t\tlet unread = _.filter(state.allMessages, {isRead: false});\n\t\t\t\treturn unread.length;\n\t\t\t},\n\t\t\tselectedMessageId(state) {\n\t\t\t\treturn state.selectedMessageId;\n\t\t\t}\n\t\t};\n\t\tthis.mutations = {\n\t\t\tSET_ENTITY_DATA(state, {entityId, entityTypeId}) {\n\t\t\t\tstate.entityId = entityId;\n\t\t\t\tstate.entityTypeId = entityTypeId;\n\t\t\t},\n\t\t\tSET_INITIAL_MESSAGES(state, messages) {\n\t\t\t\tif (messages && messages.length > 0) {\n\t\t\t\t\tstate.paginatedMessages = messages;\n\t\t\t\t\tlet lastMessage = _.last(messages);\n\t\t\t\t\tstate.lastMessageId = lastMessage.messageId;\n\t\t\t\t} else {\n\t\t\t\t\tstate.paginatedMessages = [];\n\t\t\t\t}\n\t\t\t},\n\t\t\tPUSH_MESSAGES(state, messages) {\n\t\t\t\tstate.paginatedMessages = state.paginatedMessages.concat(messages);\n\t\t\t\tlet lastMessage = _.last(messages);\n\t\t\t\tstate.lastMessageId = lastMessage.messageId;\n\t\t\t},\n\t\t\tSET_ALL_MESSAGES(state, unreadMessages) {\n\t\t\t\tstate.allMessages = unreadMessages;\n\t\t\t},\n\t\t\tMARK_AS_READ_MUTATION(state, messageId, rootState) {\n\t\t\t\tlet match = _.find(state.allMessages, {messageId});\n\t\t\t\tmatch.isRead = true;\n\t\t\t\tlet match2 = _.find(state.paginatedMessages, {messageId});\n\t\t\t\tmatch2.isRead = true;\n\t\t\t},\n\t\t\tSET_SELECTED_MESSAGE_ID_MUTATION(state, messageId) {\n\t\t\t\tstate.selectedMessageId = messageId;\n\t\t\t}\n\t\t};\n\t\tthis.actions = {\n\t\t\tSET_ENTITY_DATA({commit}, {entityId, entityTypeId}) {\n\t\t\t\tcommit(\"SET_ENTITY_DATA\", {entityId, entityTypeId});\n\t\t\t},\n\t\t\tasync LOAD_MESSAGES({commit, state, dispatch}) {\n\t\t\t\tlet data = await api.getDataWithTwoIds('Message', state.entityId, `GetMessages/${state.entityTypeId}`, 0);\n\t\t\t\tcommit('SET_INITIAL_MESSAGES', data);\n\t\t\t},\n\t\t\tasync LOAD_MORE_MESSAGES({commit, state, dispatch}) {\n\t\t\t\tlet data = await api.getDataWithTwoIds('Message', state.entityId, `GetMessages/${state.entityTypeId}`, state.lastMessageId);\n\t\t\t\tcommit('PUSH_MESSAGES', data);\n\t\t\t},\n\t\t\tasync LOAD_ALL_MESSAGES({commit, state}) {\n\t\t\t\tlet data = await api.getDataWithTwoIds('Message', state.entityId, 'GetAllMessagesBasicInfo', state.entityTypeId);\n\t\t\t\tcommit('SET_ALL_MESSAGES', data);\n\t\t\t},\n\t\t\tasync MARK_AS_READ({commit, state, dispatch}, {messageId}) {\n\t\t\t\tlet result = await api.post('Message', 'MarkMessageRead', {entityId: state.entityId, messageId}, true);\n\t\t\t\tif (result) {\n\t\t\t\t\tif (state.selectedMessageId == messageId) {\n\t\t\t\t\t\tcommit(\"SET_SELECTED_MESSAGE_ID_MUTATION\", null, {root: true});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcommit(\"SET_SELECTED_MESSAGE_ID_MUTATION\", messageId, {root: true});\n\t\t\t\t\t}\n\t\t\t\t\tcommit('MARK_AS_READ_MUTATION', messageId);\n\t\t\t\t}\n\t\t\t},\n\t\t\tasync DELETE_MESSAGE({commit, state, dispatch}, {messageId}) {\n\t\t\t\tlet result = await api.post('Message', 'DeleteMessage', {entityId: state.entityId, messageId}, true);\n\t\t\t\tif (result) {\n\t\t\t\t\tif (messageId == state.selectedMessageId) {\n\t\t\t\t\t\tcommit(\"SET_SELECTED_MESSAGE_ID_MUTATION\", null, {root: true});\n\t\t\t\t\t}\n\t\t\t\t\tawait dispatch(\"LOAD_MESSAGES\");\n\t\t\t\t\tawait dispatch(\"LOAD_ALL_MESSAGES\");\n\t\t\t\t}\n\t\t\t},\n\t\t\tSET_SELECTED_MESSAGE_ID({commit, state}, messageId) {\n\t\t\t\tcommit(\"SET_SELECTED_MESSAGE_ID_MUTATION\", messageId, {root: true});\n\t\t\t}\n\t\t}\n\t}\n}","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport {api} from \"../../../global/framework/api.js\";\nimport _ from 'lodash'\nimport MessageClass from './message.js';\n\nlet messageInstance = new MessageClass();\n\nVue.use(Vuex);\nlet allMessagesBeingLoaded = false;\nexport const messageCenterModule = {\n state() {\n return {\n ...messageInstance.state\n };\n },\n getters: {\n ...messageInstance.getters\n },\n mutations: {\n ...messageInstance.mutations\n },\n actions: {\n ...messageInstance.actions\n }\n};\n","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProviderMessageCenterModal.vue?vue&type=style&index=0&id=25bcda44&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProviderMessageCenterModal.vue?vue&type=style&index=0&id=25bcda44&scoped=true&lang=css&\"","import {api} from \"./framework/api.js\";\nimport {common} from \"./common.js\";\n\nconst REQUEST_IDENTIFIERS = {\n PROVIDER_MEMBERSHIP: \"PROVIDER_MEMBERSHIP\",\n MEDIATOR_MEMBERSHIP: \"MEDIATOR_MEMBERSHIP\",\n USER_ALLOWED_TO_EDIT: \"USER_ALLOWED_TO_EDIT\",\n ASSOCIATED_COMPANY: \"ASSOCIATED_COMPANY\",\n HIDE_CONSUMER_PRICING: \"HIDE_CONSUMER_PRICING\",\n HIDE_PRESEARCH_PRICING: \"HIDE_PRESEARCH_PRICING\",\n CONFIG_TABLES: \"CONFIG_TABLES\",\n COMPANY_SETTINGS: \"COMPANY_SETTINGS\",\n COMPANY_NAME: \"COMPANY_NAME\",\n PSR_DASHBOARD_INFO: \"PSR_DASHBOARD_INFO\"\n};\nexport const singleRequest = {\n getRequest: getRequest,\n REQUEST_IDENTIFIERS: REQUEST_IDENTIFIERS,\n getProviderMembership: getProviderMembership,\n getMediatorMembership: getMediatorMembership,\n isUserAllowedToEdit: isUserAllowedToEdit,\n getAssociatedCompany: getAssociatedCompany,\n getCompany: getCompany,\n getBasicCompanyInfoForPresearch: getBasicCompanyInfoForPresearch,\n getCompanySettings: getCompanySettings\n};\n\nlet requests = {};\nlet DEBUG = false;\n\nfunction getBasicCompanyInfoForPresearch(companyId, clearCache) {\n let uniqueId = REQUEST_IDENTIFIERS.HIDE_PRESEARCH_PRICING + companyId;\n if (typeof clearCache !== 'undefined' && Boolean(clearCache)) {\n localStorage.removeItem(uniqueId);\n requests[uniqueId] = null;\n }\n let ajaxCallWrapper = function () {\n return api.getData('ProviderSearch', companyId, 'GetBasicCompanyInfo');\n };\n return getRequest(uniqueId, ajaxCallWrapper);\n}\n\nfunction getAssociatedCompany(consumerId) {\n let uniqueId = REQUEST_IDENTIFIERS.ASSOCIATED_COMPANY + consumerId;\n let ajaxCallWrapper = function () {\n return api.getData('Consumer', consumerId, 'GetAssociatedCompanyInfo');\n };\n return getRequest(uniqueId, ajaxCallWrapper);\n}\n\n\nfunction getProviderMembership(providerEntityId) {\n let uniqueId = REQUEST_IDENTIFIERS.PROVIDER_MEMBERSHIP + providerEntityId;\n let ajaxCallWrapper = function () {\n return api.getDataWithTwoIds('Membership', providerEntityId, 'GetMembershipSettingsOrDefault', false);\n };\n return getRequest(uniqueId, ajaxCallWrapper);\n}\n\nfunction getMediatorMembership(mediatorId) {\n let uniqueId = REQUEST_IDENTIFIERS.MEDIATOR_MEMBERSHIP + mediatorId;\n let ajaxCallWrapper = function () {\n return api.getDataWithTwoIds('Membership', mediatorId, 'GetMembershipSettingsOrDefault', true);\n };\n return getRequest(uniqueId, ajaxCallWrapper);\n}\n\nasync function isUserAllowedToEdit(entityId, entityTypeId) {\n //Network, clinic and physician follow the exact same logic\n let genericEntityType = common.GENERAL_ENTITY_TYPE.PROVIDER;\n if (entityTypeId == common.ENTITY_TYPE.COMPANY) {\n genericEntityType = common.GENERAL_ENTITY_TYPE.COMPANY;\n } else if (entityTypeId == common.ENTITY_TYPE.CONSUMER) {\n genericEntityType = common.GENERAL_ENTITY_TYPE.CONSUMER;\n }\n //console.log(\"isUserAllowedToEdit entityId:\", {entityId, entityTypeId}, 'caller:', isUserAllowedToEdit.caller);\n let uniqueId = REQUEST_IDENTIFIERS.USER_ALLOWED_TO_EDIT + entityId + \"-\" + genericEntityType;\n let ajaxCallWrapper = function () {\n return api.getData('Shared', entityId, 'AuthorizeFeature/' + genericEntityType);\n };\n let result = await getRequest(uniqueId, ajaxCallWrapper);\n return result\n}\n\nfunction getCompanySettings(companyId) {\n let uniqueId = REQUEST_IDENTIFIERS.COMPANY_SETTINGS + companyId;\n let ajaxCallWrapper = function () {\n return api.get('Company', companyId, 'GetHideContributions');\n };\n return getRequest(uniqueId, ajaxCallWrapper);\n}\n\nfunction getCompany(companyId) {\n let uniqueId = REQUEST_IDENTIFIERS.COMPANY_NAME + companyId;\n let ajaxCallWrapper = function () {\n return api.get('Company', companyId, 'GetCompanyById');\n };\n return getRequest(uniqueId, ajaxCallWrapper);\n}\n\nfunction getPsrDashboardInfo(consultantId) {\n let uniqueId = REQUEST_IDENTIFIERS.PSR_DASHBOARD_INFO + consultantId;\n let ajaxCallWrapper = function () {\n return api.get('Psr', consultantId, 'GetPsrDashboardInfo');\n };\n return getRequest(uniqueId, ajaxCallWrapper);\n}\n\nfunction getRequest(storageId, ajaxCallWrapper, storeRaw = false) {\n let storedData = localStorage.getItem(storageId);\n if (storedData) {\n let parsedData = storeRaw ? JSON.parse(storedData) : JSON.parse(window.atob(storedData));\n //The function will always return a promise, even if the promise does not have a waiting period(like ajax)\n if (DEBUG) console.log(\"returning from local storage, parsed data:\", parsedData);\n return $.Deferred().resolve(parsedData);\n }\n let existingPromise = requests[storageId];\n if (isPromise(existingPromise)) {\n if (DEBUG) console.log(\"returning from promise in memory:\", existingPromise);\n return existingPromise;\n }\n if (DEBUG) console.log(\"triggering request to the server\");\n requests[storageId] = ajaxCallWrapper();\n return requests[storageId].then(function (result) {\n //store in local storage for future use, what this will allow us is to persist the request even when the user refreshes the page\n localStorage.setItem(storageId, storeRaw ? JSON.stringify(result) : window.btoa(JSON.stringify(result)));\n if (DEBUG) console.log(\"result have been saved in local storage:\", result);\n return result;\n });\n}\n\nfunction isPromise(obj) {\n return !!obj && (typeof obj === 'object' || typeof obj === 'function') && typeof obj.then === 'function';\n}","import {api} from \"../../../global/framework/api.js\";\nimport {common} from \"../../../global/common.js\";\n\nexport const providerSettingsStoreModule = {\n state: {\n name: '',\n userCanEdit: false,\n entityTypeId: 0,\n controlPlans: false,\n receivesPayment: false,\n bankingInfoNeeded: false,\n providersWithoutNpi: [],\n membership: {},\n parentEntityId: null,\n associatedMediator: null,\n physicianCount: 0,\n controlsInvoice: false,\n controlsLineItems: false,\n hasPaymentReport: false\n },\n getters: {\n name(state) {\n return state.name;\n },\n userCanEdit(state) {\n return state.userCanEdit;\n },\n entityTypeId(state) {\n return state.entityTypeId;\n },\n isPhysician(state) {\n return state.entityTypeId === common.ENTITY_TYPE.PHYSICIAN;\n },\n controlPlans(state) {\n return state.controlPlans;\n },\n receivesPayment(state) {\n return state.receivesPayment;\n },\n bankingInfoNeeded(state) {\n return state.bankingInfoNeeded;\n },\n providersWithoutNpi(state) {\n return state.providersWithoutNpi;\n },\n npisNeeded(state) {\n return state.providersWithoutNpi.length > 0;\n },\n actionNeeded(state, getters, rootState) {\n return state.bankingInfoNeeded || state.providersWithoutNpi.length > 0 || getters.physicianLimitReached;\n },\n physicianLimitReached(state, getters, rootState) {\n return (getters.isTopParent && !getters.isPhysician && rootState.statistics.physicianCount >= (getters.maxNumberOfPhysicians || 0));\n },\n membership(state) {\n return state.membership;\n },\n maxNumberOfPhysicians(state) {\n return state.membership.physicianLimit;\n },\n parentEntityId(state) {\n return state.parentEntityId;\n },\n isTopParent(state) {\n return state.parentEntityId === null;\n },\n associatedMediator(state) {\n return state.associatedMediator;\n },\n controlsInvoice(state) {\n return state.controlsInvoice;\n },\n controlsLineItems(state) {\n return state.controlsLineItems;\n },\n hasPaymentReport(state) {\n return state.hasPaymentReport;\n }\n },\n mutations: {\n SET_DATA(state, data) {\n state.name = data.name;\n state.userCanEdit = data.userCanEdit;\n state.entityTypeId = data.entityTypeId;\n state.controlPlans = data.controlPlans;\n state.receivesPayment = data.receivesPayment;\n state.bankingInfoNeeded = data.bankingInfoNeeded;\n state.providersWithoutNpi = data.providersWithoutNpi;\n state.npiNeeded = data.npiNeeded;\n state.membership = data.membership;\n state.parentEntityId = data.parentEntityId;\n state.associatedMediator = data.associatedMediator;\n state.controlsInvoice = data.controlsInvoice;\n state.controlsLineItems = data.controlsLineItems;\n state.hasPaymentReport = data.hasPaymentReport;\n }\n },\n actions: {\n async GET_PROVIDER_SETTINGS({commit}, providerEntityId) {\n let settings = await api.get('ProviderEntity', providerEntityId, 'GetSettings');\n //console.log(\"settings:\", settings);\n commit('SET_DATA', settings);\n }\n }\n};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ac-modal',{ref:\"modalRef\",attrs:{\"title\":\"Inactivity Logout\",\"size-class\":'modal-sm'}},[[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xs-12\"},[_c('p',[_vm._v(\"You will be logged out in \"+_vm._s(_vm.displayTime))])])]),_vm._v(\" \"),_c('br')]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InactivityModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InactivityModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./InactivityModal.vue?vue&type=template&id=4cae323d&scoped=true&\"\nimport script from \"./InactivityModal.vue?vue&type=script&lang=js&\"\nexport * from \"./InactivityModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./InactivityModal.vue?vue&type=style&index=0&id=4cae323d&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4cae323d\",\n null\n \n)\n\ncomponent.options.__file = \"InactivityModal.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcAddress.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcAddress.vue?vue&type=style&index=0&lang=css&\"","import {common} from \"../global/common.js\"\nimport {api} from \"../global/framework/api.js\";\n\nexport const impersonationHelper = {\n async impersonate({entityId, entityTypeId}, userId = null, redirectUrl = null, tokenInfo = null) {\n if (!tokenInfo) tokenInfo = await api.getDataWithTwoIds('Admin', entityId, 'GetImpersonationToken', entityTypeId);\n\n $.ajax({\n type: \"POST\",\n disablePrefilter: true,\n disableBeforeSendHandler: true,\n url: common.APP_CONFIG.ROOT_URL + \"AcressaOAuth/token\",\n data: {\n associatedUserId: tokenInfo.userId,\n tempAuthToken: tokenInfo.tempToken,\n userToImpersonate: userId || tokenInfo.userToImpersonate,\n grant_type: \"password\",\n client_id: \"AcressaJsApp\"\n },\n success: function (tokenResponse) {\n localStorage.acressaToken = 'Bearer ' + tokenResponse.access_token;\n if(redirectUrl){\n window.location.href = redirectUrl;\n }\n else {\n window.location.href = `/${tokenInfo.dashboard.toLowerCase()}/#/${entityId}/dashboard`;\n }\n\n }\n });\n }\n};","import {common} from \"./common.js\";\nimport {notifications} from \"./notifications.js\";\n\nexport default {\n\tinit: init\n};\n\nfunction init() {\n\t$.ajaxSetup({cache: false});\n\t$.support.cors = true;\n\taddAjaxErrorHandler();\n\taddAjaxStartHandler();\n\taddAjaxStopHandler();\n\taddAjaxPrefilter();\n}\n\nfunction addAjaxErrorHandler() {\n\t$(document).ajaxError(function (event, jqxhr, settings, thrownError) {\n\t\tconsole.log(\"inside ajax error\");\n\t\tif (settings.disableAcressaErrorHanlder) {\n\t\t\treturn;\n\t\t}\n\t\tlet formattedResponse = getErrorResponse(jqxhr.responseText);\n\t\tif (jqxhr.status === 401) {\n\t\t\tif (formattedResponse.toLowerCase() === \"expired token\") {\n\t\t\t\t//if session expired we can just send them back to the login page but then redirect back to where they were.\n\t\t\t\t// console.log(\"ajaxError formattedResponse:\", formattedResponse, \" jqxhr.status:\", jqxhr.status);\n\t\t\t\tformattedResponse = \"Your session has expired
Please log in again\";\n\t\t\t\tclearAndRedirectIfNeeded();\n\t\t\t} else {\n\t\t\t\tlet loc = window.location;\n\t\t\t\tlet hash = loc.hash.toLowerCase();\n\t\t\t\t// console.log(\"ajaxError hash:\", hash);\n\t\t\t\t//The main reason we don't always redirect is because we should not be hiding all auth errors\n\t\t\t\t//Consumers could have been logged in(there is an accresa token) or this is their first time(in this browser - no token)\n\t\t\t\tif (\n\t\t\t\t\t(loc.pathname.includes('consumer') || loc.pathname.includes('member'))\n\t\t\t\t) {\n\t\t\t\t\tnotifications.showError({title: \"Session not found\", message: \"You need to login in order to access this resource.\"});\n\t\t\t\t\tclearAndRedirectIfNeeded();\n\t\t\t\t}\n\t\t\t\t//console.log(\"Window.location before redirect:\", window.location.hash);\n\t\t\t}\n\t\t}\n\t\tnotifications.show({\n\t\t\ttitle: \"Error\",\n\t\t\tmessage: formattedResponse,\n\t\t}, common.ACRESSA_NOTIFICATIONS.ERROR);\n\t});\n}\n\nfunction clearAndRedirectIfNeeded() {\n\tlet urlRedirect = window.location;\n\t//localStorage.clear();\n\tcommon.clearTempStorage();\n\tlet urlCheck = location.href.split(location.host)[1];\n\t//console.log(\"ajexSetUp clearAndRedirectIfNeeded urlCheck:\", urlCheck, urlRedirect);\n\tif (Boolean(urlCheck) == false || urlCheck.startsWith('/#')) {\n\t\treturn;\n\t}\n\twindow.location.href = \"/#/?urlRedirect=\" + encodeURIComponent(urlRedirect);\n}\n\nfunction addAjaxStartHandler() {\n\t//console.log(\"adding ajax start handler, doc=\", doc);\n\t$(document).ajaxStart(function () {\n\t\t//debugger;\n\t\tnotifications.show({title: \"Loading\"}, common.ACRESSA_NOTIFICATIONS.LOADING);\n\t});\n}\n\nfunction addAjaxStopHandler() {\n\t$(document).ajaxStop(function () {\n\t\tnotifications.hideLoader();\n\t});\n}\n\nfunction addAjaxPrefilter() {\n\t$.ajaxPrefilter(function (options, originalOptions, jqXHR) {\n\t\tlet rawUrl = options.url;\n\t\tif (!options.disablePrefilter) {\n\t\t\toptions.url = common.APP_CONFIG.API_URL + options.url;\n\t\t}\n\t\tif (!options.disableBeforeSendHandler) {\n\t\t\t//console.log(\"intercepting ajax call\");\n\t\t\tif (localStorage.acressaToken) {\n\t\t\t\t//console.log(\"adding header in ajax prefilter\");\n\t\t\t\tjqXHR.setRequestHeader('Authorization', localStorage.acressaToken);\n\t\t\t}\n\t\t\tlet roleCheck = common.getValueForRoleCheckHeader(rawUrl);\n\t\t\tjqXHR.setRequestHeader('X-Accresa-RoleCheck', roleCheck);\n\t\t\tjqXHR.setRequestHeader('X-Accresa-Client-Url', encodeURIComponent(window.location.href));\n\t\t}\n\t\t//jqXHR.setRequestHeader('X-Accresa-Client-Url', encodeURIComponent(window.location.href));---> if added here it will cause issues with the auth provider\n\t});\n}\n\n\nfunction getErrorResponse(responseText) {\n\t//Check if response text is a valid json string\n\tlet errorResponse = null;\n\ttry {\n\t\terrorResponse = JSON.parse(responseText);\n\t} catch (error) {\n\t\treturn \"Operation failed\";\n\t}\n\t\n\tlet formattedResponse = null;\n\t//console.log(\"(typeof responseText:\", typeof errorResponse);\n\tif (errorResponse instanceof Array) {\n\t\t//console.log(\"error response:\", errorResponse);\n\t\tformattedResponse = errorResponse.join(\"
\");\n\t} else if (isErrorObj(errorResponse)) {\n\t\tformattedResponse = errorResponse.error_description;\n\t} else if (typeof errorResponse === \"object\") {\n\t\t//console.log(\"inside stringify\");\n\t\tformattedResponse = JSON.stringify(errorResponse);\n\t} else {\n\t\tformattedResponse = errorResponse;\n\t}\n\treturn formattedResponse;\n}\n\nfunction isErrorObj(errorObj) {\n\tif (errorObj === null || errorObj instanceof Array) {\n\t\treturn false;\n\t}\n\treturn (typeof errorObj === \"object\") && errorObj.hasOwnProperty('error_description');\n}\n\n","import {configTables} from \"../../../global/configTables.js\";\nimport _ from 'lodash';\nimport {common} from \"../../../global/common.js\";\nimport {notifications} from \"../../../global/notifications.js\";\n\nexport const physicianSearchStoreModule = {\n\tstate: {\n\t\taddressId: 0,\n\t\taddressName: '',\n\t\tlatitude: 0,\n\t\tlongitude: 0,\n\t\tradiusId: 0,\n\t\tdistance: 0,\n\t\tdesignationId: 0,\n\t\tonlyAcceptingNewPatients: false,\n\t\tphysicianName: '',\n\t\tnetworkId: null,\n\t\tphysicianSearchResults: [],\n\t\tcurrentPage: 1,\n\t\tITEMS_PER_PAGE: 10,\n\t\tsearching: false\n\t},\n\tgetters: {\n\t\tdistance(state) {\n\t\t\treturn state.distance;\n\t\t},\n\t\tsearchCriteria(state) {\n\t\t\treturn {latitude: state.latitude, longitude: state.longitude};\n\t\t},\n\t\tpaginatedResults(state) {\n\t\t\tlet clone = [...state.physicianSearchResults];\n\t\t\tlet cutFrom = state.ITEMS_PER_PAGE * (state.currentPage - 1);\n\t\t\tlet cutTo = cutFrom + state.ITEMS_PER_PAGE;\n\t\t\tlet resultsToShow = clone.length === 0 ? [] : clone.slice(cutFrom, cutTo);\n\t\t\t//console.log(\"Recalculating paginated results, current page:\", state.currentPage, \"searching:\", state.searching);\n\t\t\treturn resultsToShow;\n\t\t},\n\t\tsearchResults(state) {\n\t\t\treturn state.physicianSearchResults;\n\t\t},\n\t\tsearching(state) {\n\t\t\treturn state.searching;\n\t\t}\n\t},\n\tmutations: {\n\t\tSET_SEARCH_CRITERIA(state, data) {\n\t\t\t//console.log(\"SET_SEARCH_CRITERIA criteria: \", data);\n\t\t\tstate.addressId = data.addressId;\n\t\t\tstate.addressName = data.addressName;\n\t\t\tstate.latitude = data.latitude;\n\t\t\tstate.longitude = data.longitude;\n\t\t\tstate.radiusId = data.radiusId;\n\t\t\tstate.distance = data.distance;\n\t\t\tstate.designationId = data.designationId;\n\t\t\tstate.onlyAcceptingNewPatients = data.onlyAcceptingNewPatients;\n\t\t\tstate.networkId = data.networkId;\n\t\t},\n\t\tSET_PHYSICIAN_SEARCH_RESULTS(state, results) {\n\t\t\t//console.log(\"SET_PHYSICIAN_SEARCH_RESULTS results: \", results);\n\t\t\tstate.physicianSearchResults = results;\n\t\t},\n\t\tSET_PAGE(state, currentPage) {\n\t\t\t//console.log(\"SET_PAGE currentPage: \", currentPage);\n\t\t\tstate.currentPage = currentPage;\n\t\t},\n\t\tSET_SEARCHING_FLAG(state, flag) {\n\t\t\t//console.log(\"SET_SEARCHING_FLAG flag: \", flag);\n\t\t\tstate.searching = flag;\n\t\t}\n\t},\n\tactions: {\n\t\tasync SEARCH_PHYSICIANS({commit, state, dispatch}, {searchCriteria, baseUrl}) {\n\t\t\tcommit(\"SET_SEARCHING_FLAG\", true);//This is needed in order to prevent old search results from showing in the search presenter\n\t\t\t//console.log(\"Searching physicians from store, searching:\", state.searching);\n\t\t\tcommit(\"SET_PAGE\", 1);//Everytime a new search is executed we need to reset the current page\n\t\t\tcommit(\"SET_PHYSICIAN_SEARCH_RESULTS\", []);//we need to do this in order to prevent other components from\n\t\t\t//rendering old data while the new one is being loaded\n\t\t\tlet newCriteria = Object.assign({}, searchCriteria);\n\t\t\tlet searchUrl = baseUrl;\n\t\t\t//I wish async getters exists but oh well...\n\t\t\tlet radiusOptions = await configTables.getSearchRadiusOptions();//at least this request will only be triggered once\n\t\t\t//console.log(\"search url: \", searchUrl, \" new criteria \", newCriteria, \" radius options:\", radiusOptions);\n\t\t\tnewCriteria.distance = _.find(radiusOptions, {id: newCriteria.radiusId}).value;\n\t\t\tcommit(\"SET_SEARCH_CRITERIA\", newCriteria);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'designationId', newCriteria.designationId);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'isAccepting', newCriteria.onlyAcceptingNewPatients);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'physicianName', newCriteria.physicianName);\n\t\t\tsearchUrl = common.appendUrlParameter(searchUrl, 'networkId', newCriteria.networkId);\n\t\t\tlet searchResults = await $.ajax({type: \"GET\", url: searchUrl});\n\t\t\tsearchResults = searchResults.sort((a, b) => {\t\t\t\t\n\t\t\t\tif (a.preferred && !b.preferred) return -1; \n\t\t\t\tif (!a.preferred && b.preferred) return 1; \t\t\t\t\t\t\t\n\t\t\t\treturn a.distance - b.distance;\n\t\t\t});\n\t\t\tconsole.log(\"searchResults: \", {searchResults: searchResults})\n\t\t\tcommit(\"SET_PHYSICIAN_SEARCH_RESULTS\", searchResults);\n\t\t\tif (searchResults.length == 0) {\n\t\t\t\tnotifications.show({\n\t\t\t\t\ttitle: \"No results found\",\n\t\t\t\t\tmessage: \"We were unable to find any doctors under the current search criteria\"\n\t\t\t\t}, common.ACRESSA_NOTIFICATIONS.ERROR);\n\t\t\t}\n\t\t\tcommit(\"SET_SEARCHING_FLAG\", false);//This is needed in order to prevent old search results from showing in the search presenter\n\t\t},\n\t\tSET_CURRENT_PAGE({commit, state, dispatch}, page) {\n\t\t\tcommit(\"SET_PAGE\", page);\n\t\t},\n\t\tSET_SEARCHING_INDICATION({commit, state, dispatch}) {\n\t\t\tcommit(\"SET_SEARCHING_FLAG\", true);\n\t\t}\n\t}\n};","import BaseMessageClass from './message.js';\nimport {api} from \"../../../global/framework/api.js\";\n\nexport default class ProviderMessage extends BaseMessageClass {\n constructor() {\n super();\n //Overwrite some actions\n this.actions.LOAD_MESSAGES = async ({commit, state}) => {\n let data = await api.getDataWithTwoIds('Message',\n state.entityId,\n `GetMessagesForChildren/${state.entityTypeId}`, 0);\n commit('SET_INITIAL_MESSAGES', data);\n };\n this.actions.LOAD_MORE_MESSAGES = async ({commit, state}) => {\n let data = await api.getDataWithTwoIds('Message',\n state.entityId,\n `GetMessagesForChildren/${state.entityTypeId}`,\n state.lastMessageId);\n commit('PUSH_MESSAGES', data);\n };\n this.actions.LOAD_ALL_MESSAGES = async ({commit, state, rootState}) => {\n //console.log(\"local state in children load all messages: \", state, \" rootState:\", rootState);\n let data = await api.getDataWithTwoIds('Message',\n state.entityId,\n 'GetAllChildrenMessagesBasicInfo',\n state.entityTypeId);\n commit('SET_ALL_MESSAGES', data);\n }\n }\n}","import {api} from \"../../../global/framework/api.js\";\n\nexport const myProvidersModule = {\n namespaced: true,\n state: {\n myProviders: []\n },\n getters: {\n providerCount(state) {\n return state.myProviders.length;\n },\n trees(state) {\n return state.myProviders;\n }\n },\n mutations: {\n SET_MY_PROVIDERS(state, data) {\n state.myProviders = data;\n }\n },\n actions: {\n async LOAD_MY_PROVIDERS({commit, state, dispatch}, providerEntityId) {\n let myProviders = await api.get('ProviderEntity', providerEntityId, 'GetUsers');\n commit('SET_MY_PROVIDERS', myProviders);\n }\n }\n};","import {api} from \"./framework/api.js\";\n\nexport const loginChecks = {\n async redirectIfNeeded() {\n let result = await api.getNoId('Filter', 'RouteFilter');\n if (result && result != 'skip') {\n window.location.href = result;\n }\n }\n};","import mod from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=d3e98784&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=d3e98784&scoped=true&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcButton.vue?vue&type=style&index=0&id=2f6881a1&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AcButton.vue?vue&type=style&index=0&id=2f6881a1&scoped=true&lang=css&\"","export const customStyleLoader = {\n loadCustomStyleIfNeeded: loadCustomStyleIfNeeded\n , loadCustomStyleBySubdomain: loadCustomStyleLogin\n , loadCustomStyleLogin: loadCustomStyleLogin\n , createHiddenFrame: createHiddenFrame\n , getFrameDocument: getFrameDocument\n , addHtmlToFrame: addHtmlToFrame\n , extractHostname: extractHostname\n};\nconst DEBUG = false;\nconst DEFAULT_NAME = \"Accresa\";\nconst DEFAULT_FILLER = \" - \";\n\nasync function loadCustomStyleIfNeeded(entityId, controller) {\n let result = await $.ajax({\n url: controller + \"/\" + entityId + \"/GetCustomStyleSheet/\",\n type: \"GET\"\n });\n await loadCss(result);\n\n}\n\nasync function loadCustomStyleLogin() {\n let subdomainName = extractHostname(window.location.href);\n let result = await $.ajax({\n url: \"Shared/\" + subdomainName + \"/GetCustomStyleSheet/\",\n type: \"GET\"\n });\n await loadCss(result);\n}\n\nasync function loadCss(result) {\n //console.log(\"stylesheet result: \", result);\n if (result && result.customStyleJson) {\n let customStyleJson = JSON.parse(result.customStyleJson);\n //console.log('CustomStyleLoader loadCustomStyleLogin customStyleJson: ', customStyleJson);\n await setCustomCssFields(customStyleJson);\n //console.log(\"custom fields have been set\");\n } else if (result && result.customStyleSheet) {\n //let ref = await import(\"/whitelabels/css/\" + result.customStyleSheet);\n //console.log(\"New stylesheet has been loaded, ref:\", ref);\n $('head').append(``);\n } else {\n //await import(\"/whitelabels/css/acressa.css\");\n //console.log(\"base accresa css has been loaded\");\n $('head').append('');\n }\n document.title = (result && result.name ? result.name : DEFAULT_NAME);\n //console.log(\"Custom style loader has finished\");\n}\n\n\nfunction extractHostname(url) {\n let hostname;\n if (url.indexOf(\"://\") > -1) {\n hostname = url.split('/')[2];\n } else {\n hostname = url.split('/')[0];\n }\n //find & remove port number\n hostname = hostname.split(':')[0];\n //find & remove \"?\"\n hostname = hostname.split('?')[0];\n if (DEBUG) {\n console.log('hostname: ', hostname)\n }\n return hostname;\n}\n\nfunction stringInterpolator(myDict, template) {\n // surround variables with ${varName}$\n let strArr = template.split(\"$\");\n for (let i = 0; i < strArr.length; i++) {\n if (strArr[i].charAt(0) == '{' && strArr[i].charAt(strArr[i].length - 1) == '}') {\n let key = strArr[i].slice(1, -1);\n strArr[i] = myDict[key];\n }\n }\n return strArr.join('');\n}\n\nasync function setCustomCssFields(myDictObj) {\n if (DEBUG) console.log(\"CustomStyleLoader getCssFile called!\");\n let templateCss = await import('raw-loader!../assets/css/accresa-default.txt');\n //console.log(\"template loaded from style helper: \", templateCss.default);\n let element = document.createElement('style');\n element.innerHTML = stringInterpolator(myDictObj, templateCss.default);\n document.body.appendChild(element);\n if (DEBUG) console.log('Custom Style element.innerHTML: ', element.innerHTML);\n}\n\nfunction createHiddenFrame() {\n var iframe = document.createElement('iframe');\n iframe.style.display = 'none';\n document.body.appendChild(iframe);\n return iframe;\n}\n\nfunction getFrameDocument(iframe) {\n if (iframe.document)\n return iframe.document;\n else if (iframe.contentDocument)\n return iframe.contentDocument;\n else if (iframe.contentWindow)\n return iframe.contentWindow.document;\n else\n alert('Unable to display image, not supported by this browser');\n}\n\nfunction addHtmlToFrame(iframeDoc, styleSheet) {\n var link = ``;\n var html = `${link}
`;\n iframeDoc.open();\n iframeDoc.writeln(html);\n iframeDoc.close();\n}","import {formatter} from \"../formatter.js\";\nimport {notifications} from \"../notifications.js\";\nimport {common} from \"../common.js\";\n\nexport const api = {\n\tget: getData,\n\tgetData: getData,\n\tgetDataById: getDataById,\n\tgetNoId: getNoId,\n\tgetDataWithTwoIds: getDataWithTwoIds,\n\tpost: post,\n\tpostWithId: postWithId,\n\tpostFile: postFile,\n\tpostDataAsJson: postDataAsJson\n};\n\nlet AJAX_TYPE = {\n\tGET: \"GET\",\n\tPOST: \"POST\"\n};\n\n\n// This will return the data from the server unmapped\nasync function getData(controller, entityId, action) {\n\tlet url = formatter.formatString(\"{0}/{1}/{2}\", controller, entityId, action);\n\treturn get(url);\n}\n\nasync function getDataById(controller, action, dataId) {\n\tlet url = formatter.formatString(\"{0}/{1}/{2}\", controller, action, dataId);\n\treturn get(url);\n}\n\nasync function getNoId(controller, action) {\n\tlet url = formatter.formatString(\"{0}/{1}\", controller, action);\n\treturn get(url);\n}\n\nasync function getDataWithTwoIds(controller, entityId, action, itemId) {\n\tlet url = formatter.formatString(\"{0}/{1}/{2}/{3}\", controller, entityId, action, itemId);\n\treturn get(url);\n}\n\nasync function get(url) {\n\tlet request = () => {\n\t\treturn $.ajax({\n\t\t\turl: url,\n\t\t\ttype: AJAX_TYPE.GET\n\t\t})\n\t};\n\treturn handleRequest(request);\n}\n\nasync function postWithId(controller, id, action, data, disableNotifications = false) {\n\treturn post(controller, `${id}/${action}`, data, disableNotifications);\n}\n\nasync function post(controller, action, data, disableNotifications = false) {\n\tlet url = formatter.formatString(\"{0}/{1}\", controller, action);\n\tlet request = () => {\n\t\treturn $.ajax({\n\t\t\turl: url,\n\t\t\ttype: AJAX_TYPE.POST,\n\t\t\tdata: data\n\t\t});\n\t};\n\treturn handleRequest(request, true, disableNotifications);\n}\n\n// Use this when trying to post a file back to the server.\n// You will need a FormData object. ex: new FormData()\n// An example exists in the shared EditProfileImages\nasync function postFile(controller, action, formData) {\n\tlet url = formatter.formatString('{0}/{1}', controller, action);\n\tlet request = () => {\n\t\treturn $.ajax({\n\t\t\ttype: AJAX_TYPE.POST,\n\t\t\turl: url,\n\t\t\tcontentType: false,\n\t\t\tprocessData: false,\n\t\t\tdata: formData\n\t\t});\n\t};\n\treturn handleRequest(request, true);\n}\n\n\nasync function postDataAsJson(controller, action, data, disableNotifications = false) {\n\tlet url = formatter.formatString(\"{0}/{1}\", controller, action);\n\tlet request = () => {\n\t\treturn $.ajax({\n\t\t\turl: url,\n\t\t\ttype: AJAX_TYPE.POST,\n\t\t\tcontentType: \"application/json\",\n\t\t\tdata: JSON.stringify(data)\n\t\t});\n\t};\n\treturn handleRequest(request, true, disableNotifications);\n}\n\nasync function handleRequest(ajaxCall, isPost = false, disableNotifications = false) {\n\ttry {\n\t\tlet response = await ajaxCall();\n\t\t//console.log(\"Response inside handle request:\", response, 'disableNotifications:', disableNotifications);\n\t\tif (isPost && !disableNotifications) {\n\t\t\tnotifications.show({title: \"Success!\", message: response.msg}, common.ACRESSA_NOTIFICATIONS.SUCCESS);\n\t\t}\n\t\treturn response;\n\t} catch (error) {\n\t\t//The global filter for ajax will take care of showing the result;\n\t\treturn null;\n\t}\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-4 form-group\"},[_c('label',{staticStyle:{\"width\":\"100%\"}},[_vm._v(\"\\n First Name\\n \"),_c('small',{staticClass:\"redText\"},[_vm._v(\"required\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.firstName),expression:\"model.firstName\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"firstName\",\"placeholder\":\"First Name\",\"disabled\":_vm.viewOnly},domProps:{\"value\":(_vm.model.firstName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"firstName\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 form-group\"},[_c('label',{staticStyle:{\"width\":\"100%\"}},[_vm._v(\"\\n Middle Initial\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.middleInitial),expression:\"model.middleInitial\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"middleInitial\",\"placeholder\":\"Middle Initial\",\"maxlength\":\"1\",\"disabled\":_vm.viewOnly},domProps:{\"value\":(_vm.model.middleInitial)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"middleInitial\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 form-group\"},[_c('label',{staticStyle:{\"width\":\"100%\"}},[_vm._v(\"\\n Last Name\\n \"),_c('small',{staticClass:\"redText\"},[_vm._v(\"required\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.lastName),expression:\"model.lastName\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"lastName\",\"placeholder\":\"Last Name\",\"disabled\":_vm.viewOnly},domProps:{\"value\":(_vm.model.lastName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"lastName\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 form-group\"},[_c('label',{staticStyle:{\"width\":\"100%\"}},[_vm._v(\"\\n Phone Number\\n \"),(_vm.showRequiredLabelForPrimaries)?_c('small',{staticClass:\"redText\"},[_vm._v(\"required\")]):_vm._e(),_vm._v(\" \"),_c('ac-phone-number',{attrs:{\"readOnly\":_vm.viewOnly},model:{value:(_vm.model.phoneNbr),callback:function ($$v) {_vm.$set(_vm.model, \"phoneNbr\", $$v)},expression:\"model.phoneNbr\"}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 form-group\"},[_c('label',{staticStyle:{\"width\":\"100%\"}},[_vm._v(\"\\n Email\\n \"),(_vm.showRequiredLabelForPrimaries)?_c('small',{staticClass:\"redText\"},[_vm._v(\"required\")]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.emailAddress),expression:\"model.emailAddress\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"name\":\"email\",\"placeholder\":\"Email\",\"disabled\":_vm.viewOnly},domProps:{\"value\":(_vm.model.emailAddress)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.model, \"emailAddress\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-4 form-group\"},[(_vm.genders.length > 0)?_c('label',{staticStyle:{\"width\":\"100%\"}},[_vm._v(\"\\n Gender\\n \"),_c('small',{staticClass:\"redText\"},[_vm._v(\"required\")]),_vm._v(\" \"),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.model.genderCode),expression:\"model.genderCode\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"disabled\":_vm.viewOnly},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.model, \"genderCode\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.genders),function(gender){return _c('option',{domProps:{\"value\":gender.genderCode}},[_vm._v(\"\\n \"+_vm._s(gender.genderName)+\"\\n \")])}),0)]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericProfileInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenericProfileInfo.vue?vue&type=script&lang=js&\"","\n\n\n\n","import { render, staticRenderFns } from \"./GenericProfileInfo.vue?vue&type=template&id=84b71f32&scoped=true&\"\nimport script from \"./GenericProfileInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericProfileInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericProfileInfo.vue?vue&type=style&index=0&id=84b71f32&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"84b71f32\",\n null\n \n)\n\ncomponent.options.__file = \"GenericProfileInfo.vue\"\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row cursor-pointer\",staticStyle:{\"line-height\":\"1.9\",\"margin\":\"5px 0px 0px 0px\",\"border\":\"1px solid lightgrey\",\"padding\":\"10px\",\"background-color\":\"#EFEFEF\"},on:{\"click\":function($event){$event.preventDefault();_vm.readMessage(_vm.message)}}},[_c('div',{staticClass:\"col-xs-8 col-sm-9 col-md-10\"},[_c('span',{style:({fontWeight:_vm.fontWeight(_vm.message)})},[_vm._t(\"message-header\"),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message.emailSubjectLine)}}),_vm._v(\" -\\n \"),_c('span',[_vm._v(_vm._s(_vm._f(\"shortDate\")(_vm.message.sendDate)))])],2)]),_vm._v(\" \"),_c('div',{staticClass:\"col-xs-4 col-sm-3 col-md-2\"},[_c('div',{staticClass:\"pull-right\"},[_c('ac-button',{staticClass:\"btn btn-xs btn-red\",staticStyle:{\"margin-left\":\"10px\"},attrs:{\"title\":\"Delete\",\"action\":function (){_vm.deleteMessage(_vm.message)}}},[_c('i',{staticClass:\"fa fa-trash-o\",staticStyle:{\"display\":\"inline-block\"}})])],1)])]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.selectedMessageId===_vm.message.messageId),expression:\"selectedMessageId===message.messageId\"}],staticStyle:{\"border-color\":\"lightgrey\",\"border-style\":\"solid\",\"border-width\":\"0px 1px 1px 1px\",\"padding\":\"10px\"}},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message.emailBody)}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js&\"","\n\n\n\n","import { render, staticRenderFns } from \"./Message.vue?vue&type=template&id=3e7bca48&scoped=true&\"\nimport script from \"./Message.vue?vue&type=script&lang=js&\"\nexport * from \"./Message.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Message.vue?vue&type=style&index=0&id=3e7bca48&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3e7bca48\",\n null\n \n)\n\ncomponent.options.__file = \"Message.vue\"\nexport default component.exports","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAAAAABWESUoAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfhAw0LDzV5ePeHAAAA80lEQVQ4y+2RTU/CQBCG+dceSQzxxsVoYyDKoQY1xRJFsUR3F9ooJiVBrN3O7s7uEg/+DhoItPHihQMhvpeZSZ7MxzsV8Ycq/8B2AcgloJSsqgKwiEqiQK015kEIBF0CZHbLnh68SdZ07+hj4LGra9rpyxLw5TTObtqDtM4uWg234wcD3z/nshgBPOOTaC5mP7MsScmcp5JwAxtAfQZpFCej8Ucw/Y6JuqRvifSYWgNg2wdj93h6dNo78bVT6x06LRJWQ4R1B3ih7zFLnmkYdYeE0f4w6r7ej1Sxg8nPNNIarS0ao5fRYskHWPnzS7v2zX0HFuV0VUjQq0PpAAAAQXRFWHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVhbGl0eSA9IDc1CgCch4YAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDMtMTNUMTE6MTU6NTMtMDQ6MDBVldRTAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTAzLTEzVDExOjE1OjUzLTA0OjAwJMhs7wAAAABJRU5ErkJggg==\"","\n\n\n\n","import toastr from \"toastr/toastr.js\";\nimport {Spinner} from \"spin.js\";\nimport {common} from \"./common.js\";\n\nexport const notifications = {\n\tinit: init,\n\tshow: show,\n\tshowError: showError,\n\thideLoader: hideLoader\n};\n\nlet spin = null;\n\nasync function init() {\n\tawait import(\"../../node_modules/toastr/build/toastr.min.css\");\n\tawait import(\"../../node_modules/spin.js/spin.css\");\n\ttoastr.options = {\n\t\t\"closeButton\": false,\n\t\t\"newestOnTop\": true,\n\t\t\"positionClass\": \"toast-top-center\",\n\t\t\"preventDuplicates\": false,\n\t\t\"showDuration\": \"300\",\n\t\t\"hideDuration\": \"1000\",\n\t\t\"timeOut\": \"5000\",\n\t\t\"showEasing\": \"swing\",\n\t\t\"hideEasing\": \"linear\",\n\t\t\"showMethod\": \"fadeIn\",\n\t\t\"hideMethod\": \"fadeOut\"\n\t};\n\ttoastr.error_ = toastr.error;\n\ttoastr.error = function (a, b, c, cb, e) {\n\t\tlet timeOut = toastr.options.timeOut;\n\t\tlet closeButton = toastr.options.closeButton;\n\t\tlet extendedTimeOut = toastr.options.extendedTimeOut;\n\t\ttoastr.options.timeOut = 0;\n\t\ttoastr.options.extendedTimeOut = 0;\n\t\ttoastr.options.closeButton = true;\n\t\ttoastr.error_(a, b, c, closeButton, extendedTimeOut);\n\t\ttoastr.options.timeOut = timeOut;\n\t\ttoastr.options.extendedTimeOut = extendedTimeOut;\n\t\ttoastr.options.closeButton = closeButton;\n\t};\n\tlet opts = {\n\t\tlines: 3 // The number of lines to draw\n\t\t, length: 0 // The length of each line\n\t\t, width: 50 // The line thickness\n\t\t, radius: 0 // The radius of the inner circle\n\t\t, scale: 0.75 // Scales overall size of the spinner\n\t\t, corners: 1 // Corner roundness (0..1)\n\t\t, color: ['#2a9a71', '#384b5c', '#d2b76b'] // #rgb or #rrggbb or array of colors\n\t\t, opacity: 0.25 // Opacity of the lines\n\t\t, rotate: 30 // The rotation offset\n\t\t, direction: 1 // 1: clockwise, -1: counterclockwise\n\t\t, speed: 1.5 // Rounds per second\n\t\t, trail: 100 // Afterglow percentage\n\t\t, fps: 20 // Frames per second when using setTimeout() as a fallback for CSS\n\t\t, zIndex: 2e9 // The z-index (defaults to 2000000000)\n\t\t, className: 'spinner' // The CSS class to assign to the spinner\n\t\t, top: '50%' // Top position relative to parent\n\t\t, left: '50%' // Left position relative to parent\n\t\t, shadow: false // Whether to render a shadow\n\t\t, hwaccel: false // Whether to use hardware acceleration\n\t\t, position: 'fixed' // Element positioning\n\t};\n\tspin = new Spinner(opts);\n}\n\nfunction hideLoader() {\n\tspin.stop();\n}\n\nfunction show(obj, type) {\n\tif (obj.onHiddenHandler && typeof obj.onHiddenHandler === \"function\") {\n\t\ttoastr.options.closeButton = true;\n\t\ttoastr.options.timeOut = 0;\n\t\ttoastr.options.extendedTimeOut = 0;\n\t\ttoastr.options.onHidden = obj.onHiddenHandler;\n\t}\n\t\n\tif (type === common.ACRESSA_NOTIFICATIONS.ERROR) {\n\t\ttoastr['error'](obj.message, obj.title);\n\t} else if (type === common.ACRESSA_NOTIFICATIONS.SUCCESS) {\n\t\ttoastr['success'](obj.message, obj.title);\n\t} else if (type === common.ACRESSA_NOTIFICATIONS.INFORMATION) {\n\t\ttoastr['info'](obj.message, obj.title);\n\t} else if (type === common.ACRESSA_NOTIFICATIONS.LOADING) {\n\t\tspin.spin(document.body);\n\t} else {\n\t\ttoastr['info'](obj.message, obj.title);\n\t}\n}\n\nfunction showError(error) {\n\tshow(error, common.ACRESSA_NOTIFICATIONS.ERROR);\n}","import {baseBootstrapper} from \"./baseBootstrapper.js\";\n\nexport const globalBootstrapper = {\n\tbootstrap: bootstrap\n};\n\nasync function bootstrap() {\n\t//Before we load all styles and scripts we need to load bootstrap 3 for most of our single page apps\n\t//Consumer dash will load a different version of bootstrap and that needs to come before the bootstrapper imports the other styles\n\tawait import(/* webpackChunkName: \"bs3css\" */'../assets/css/bs3/bootstrap.css');\n\tawait import(/* webpackChunkName: \"overridebs3css\" */'../assets/css/bs3/override-bs3.css');\n\tawait import(/* webpackChunkName: \"baseBs3Whitelabel\" */'../assets/css/bs3/baseBs3Whitelabel.css');\n\treturn baseBootstrapper.bootstrap();\n}\n"],"sourceRoot":""}