{ "version": 3, "sources": ["src/environments/environment.prod.ts"], "sourcesContent": ["import { HttpRequest } from '@angular/common/http';\r\nimport { ApplicationInsights } from '@microsoft/applicationinsights-web';\r\n\r\nexport const environment = {\r\n name: 'Prod',\r\n production: true,\r\n isProd: () => environment.name.toLowerCase() !== 'dev' && environment.name.toLowerCase() !== 'test',\r\n isStatic: false,\r\n instrumentationKey: 'a551e125-36a7-4258-a811-a340362fc824',\r\n recaptchaSiteKey: '6Lfsl9IlAAAAAMXqZJiaO8Y85baVZc31iRFp4etr',\r\n ai: undefined,\r\n apiEndpoint: 'https://portal.resurgent.com/',\r\n dummyApiEndpoint: 'https://portal.resurgent.com/',\r\n dummyApiEndpointLocal: 'https://portal.resurgent.com/',\r\n links: {\r\n about: 'https://www.resurgent.com/who-we-are',\r\n affiliateCertifications: 'https://www.resurgent.com/affiliate-certifications',\r\n cincinnati: 'https://www.resurgent.com/cincinnati',\r\n creditReporting: 'https://www.resurgent.com/credit-reporting',\r\n culture: 'https://www.resurgent.com/culture',\r\n debtCollection: 'https://www.resurgent.com/debt-collection',\r\n debtIntro: 'https://www.resurgent.com/intro-to-debt-and-credit',\r\n debtScams: 'https://www.resurgent.com/scams-and-frauds',\r\n entrust: 'https://www.entrust.net/customer/profile.cfm?domain=www.resurgent.com&lang=en',\r\n facebook: 'https://www.facebook.com/ResurgentCapitalServices/',\r\n feeSchedule: 'https://www.resurgent.com/Media/Default/Documents/Exhibit%205%20Fee%20Schedule%20v2.pdf',\r\n glassdoor: 'https://www.glassdoor.com/Reviews/Resurgent-Capital-Services-Reviews-E271113.htm',\r\n greenville: 'https://www.resurgent.com/greenville',\r\n jobs: 'https://www.resurgent.com/join-our-team',\r\n linkedIn: 'https://www.linkedin.com/company/resurgent-capital-services',\r\n instagram: 'https://www.instagram.com/resurgentcapitalservices/',\r\n prelegal: 'https://www.resurgent.com/prelegal',\r\n privacy: 'https://www.resurgent.com/privacy',\r\n licenses: 'https://www.resurgent.com/licenses'\r\n },\r\n homePageUrl: 'https://www.resurgent.com/',\r\n hostUrl: 'https://portal.resurgent.com/',\r\n paymentMethodOrigins: ['https://resurgent.repay.io", "https://payment.resurgent.com'],\r\n defaultSessionKey: null,\r\n defaultContexts: {},\r\n contactAttachmentLimit: '5',\r\n contactAttachmentMaxSizeMB: '5',\r\n contactAttachmentAllowedFileTypes: '.pdf,.doc,.txt,.jpg,.png,.docx',\r\n mfaClientLockoutDurationInMinutes: '20',\r\n mfaMaxFailedVerificationAttempts:'5',\r\n gotoHomePage: (gaLinkerParam?: string) => {\r\n window.location.href = environment.homePageUrl + '?' + gaLinkerParam;\r\n },\r\n adjustEndpoint: (req: HttpRequest) => {\r\n if (req.url.includes('api=2') && JSON.parse(localStorage.bypassContainers || 'false')) {\r\n console.warn('Containers have been bypassed. Run toggleContainers() to restore containers.');\r\n const url = req.url.replace('api=2', 'api=1');\r\n return req.clone({ url: url });\r\n }\r\n if (window.location.host.includes('001')) {\r\n const url = req.url.replace('.resurgent.com/', '001.resurgent.com/');\r\n return req.clone({ url: url });\r\n }\r\n if (window.location.host.includes('002')) {\r\n const url = req.url.replace('.resurgent.com/', '002.resurgent.com/');\r\n return req.clone({ url: url });\r\n }\r\n return req;\r\n },\r\n log: (message?: any, ...optionalParams: any[]) => {\r\n if ('Prod'.toLowerCase() !== 'prod') {\r\n console.log(message, optionalParams);\r\n }\r\n },\r\n logCache: (componentName: string, itemKey: string, value: any) => {\r\n if (!(window as any).logCache) {\r\n return;\r\n }\r\n console.info(`🔵 GET ${componentName}: ${itemKey}`, value);\r\n },\r\n logEvent: (obj: any) => {\r\n if (!(window as any).logEvents) {\r\n return;\r\n }\r\n\r\n if (obj.url.indexOf('?') >= 0) {\r\n obj.url = obj.url.substring(0, obj.url.indexOf('?'));\r\n }\r\n const isEvent = obj.hitType === 'event';\r\n\r\n const icon = isEvent ? '⚡' : '👀';\r\n const gaEvent = obj.gaEvent ? `${obj.gaEvent} -` : '💥gaEvent Name Missing💥';\r\n const eventAction = isEvent ? `- ${obj.eventCategory || '?'} | ${obj.eventAction}` : '';\r\n const eventLabel = obj.eventLabel ? ` | ${obj.eventLabel}` : '';\r\n const url = obj.url;\r\n const acctId = obj.acctId ? `[${obj.acctId}]` : (obj.acctKey ? `{${obj.acctKey}}` : '');\r\n const offerCode = obj.offerCode ? ` <${obj.offerCode}>` : '';\r\n const payment = obj.payment ? `$${obj.payment.totalPlanAmount} ${obj.payment.paymentOption} ${obj.payment.term}x ` : '';\r\n const paymentMethod = obj.payment && obj.payment.paymentMethodType ? `${obj.payment.paymentMethodType}@${obj.payment.paymentMethodNetwork} ` : '';\r\n const paymentStartDate = obj.payment && obj.payment.startDate ? `${obj.payment.startDate}` : '';\r\n\r\n const label = `${icon} ${gaEvent} ${url} ${eventAction}${eventLabel} ${acctId}${offerCode} ${payment}${paymentMethod}${paymentStartDate}`;\r\n\r\n if (isEvent) {\r\n console.groupCollapsed(label);\r\n console.table(obj);\r\n console.groupEnd();\r\n } else {\r\n console.groupEnd();\r\n console.group(`${label} ${document.title}`);\r\n console.info(obj);\r\n }\r\n },\r\n errorAlert: (message: string, isWarning: boolean = false) => undefined,\r\n disableErrorAlerts: () => undefined,\r\n setUserKey: (userKey: string = null, path: string = '') => undefined,\r\n stash: (key: string, value: any) => undefined,\r\n unstash: (key: string): any => undefined\r\n};\r\n\r\nif ('Prod'.toLowerCase() !== 'prod') {\r\n (window as any).logEvents = true;\r\n}\r\n"], "mappings": "AAGO,IAAMA,EAAc,CACvBC,KAAM,wBACNC,WAAY,GACZC,OAAQA,IAAMH,EAAYC,KAAKG,YAAW,IAAO,OAASJ,EAAYC,KAAKG,YAAW,IAAO,OAC7FC,SAAU,GACVC,mBAAoB,yBACpBC,iBAAkB,uBAClBC,GAAyBC,OACzBC,YAAa,yBACbC,iBAAkB,yBAClBC,sBAAuB,yBACvBC,MAAO,CACHC,MAAO,kBACPC,wBAAyB,oCACzBC,WAAY,uBACZC,gBAAiB,4BACjBC,QAAS,oBACTC,eAAgB,2BAChBC,U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xC,QAAQwC,SAAQ,EAChBxC,QAAQyC,MAAM,GAAGJ,CAAK,IAAIK,SAASC,KAAK,EAAE,EAC1C3C,QAAQY,KAAKE,CAAG,EAExB,EACA8B,WAAYA,CAACtC,EAAiBuC,EAAqB,KAAK,GACxDC,mBAAoBA,IAAA,GACpBC,WAAYA,CAACC,EAAkB,KAAMC,EAAe,KAAE,GACtDC,MAAOA,CAACC,EAAaxC,IAAU,GAC/ByC,QAAUD,GAAW,IAGrB,wBAAwBvG,YAAW,IAAO,SACzCyC,OAAe0B,UAAY", "names": ["environment", "name", "production", "isProd", "toLowerCase", "isStatic", "instrumentationKey", "recaptchaSiteKey", "ai", "undefined", "apiEndpoint", "dummyApiEndpoint", "dummyApiEndpointLocal", "links", "about", "affiliateCertifications", "cincinnati", "creditReporting", "culture", "debtCollection", "debtIntro", "debtScams", "entrust", "facebook", "feeSchedule", "glassdoor", "greenville", "jobs", "linkedIn", "instagram", "prelegal", "privacy", "licenses", "homePageUrl", "hostUrl", "paymentMethodOrigins", "defaultSessionKey", "defaultContexts", "contactAttachmentLimit", "contactAttachmentMaxSizeMB", "contactAttachmentAllowedFileTypes", "mfaClientLockoutDurationInMinutes", "mfaMaxFailedVerificationAttempts", "gotoHomePage", "gaLinkerParam", "window", "location", "href", "adjustEndpoint", "req", "url", "includes", "JSON", "parse", "localStorage", "bypassContainers", "console", "warn", "replace", "clone", "host", "log", "message", "optionalParams", "logCache", "componentName", "itemKey", "value", "info", "logEvent", "obj", "logEvents", "indexOf", "substring", "isEvent", "hitType", "icon", "gaEvent", "eventAction", "eventCategory", "eventLabel", "acctId", "acctKey", "offerCode", "payment", "totalPlanAmount", "paymentOption", "term", "paymentMethod", "paymentMethodType", "paymentMethodNetwork", "paymentStartDate", "startDate", "label", "groupCollapsed", "table", "groupEnd", "group", "document", "title", "errorAlert", "isWarning", "disableErrorAlerts", "setUserKey", "userKey", "path", "stash", "key", "unstash"] }