bhl-forms 0.10.5 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/bhl-forms.es.js +3958 -4643
  2. package/dist/bhl-forms.iife.js +4 -4
  3. package/dist/bhl-forms.modern.es.js +5280 -6107
  4. package/dist/bhl-forms.modern.iife.js +7 -7
  5. package/dist/bhl-forms.modern.umd.js +7 -7
  6. package/dist/bhl-forms.umd.js +4 -4
  7. package/dist/forms/accidentsAndInjuries.es.js +165 -120
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/applianceRepairMinimal.es.js +16 -17
  11. package/dist/forms/applianceRepairMinimal.iife.js +1 -1
  12. package/dist/forms/applianceRepairMinimal.json +1 -1
  13. package/dist/forms/appraisals.es.js +11 -4
  14. package/dist/forms/appraisals.iife.js +1 -1
  15. package/dist/forms/appraisals.json +1 -1
  16. package/dist/forms/business.es.js +167 -122
  17. package/dist/forms/business.iife.js +1 -1
  18. package/dist/forms/business.json +1 -1
  19. package/dist/forms/childAndFamily.es.js +165 -120
  20. package/dist/forms/childAndFamily.iife.js +1 -1
  21. package/dist/forms/childAndFamily.json +1 -1
  22. package/dist/forms/childAndFamilySingle.es.js +167 -122
  23. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  24. package/dist/forms/childAndFamilySingle.json +1 -1
  25. package/dist/forms/civilLawsuit.es.js +167 -122
  26. package/dist/forms/civilLawsuit.iife.js +1 -1
  27. package/dist/forms/civilLawsuit.json +1 -1
  28. package/dist/forms/coins.es.js +11 -4
  29. package/dist/forms/coins.iife.js +1 -1
  30. package/dist/forms/coins.json +1 -1
  31. package/dist/forms/contracts.es.js +165 -120
  32. package/dist/forms/contracts.iife.js +1 -1
  33. package/dist/forms/contracts.json +1 -1
  34. package/dist/forms/criminal.es.js +167 -122
  35. package/dist/forms/criminal.iife.js +1 -1
  36. package/dist/forms/criminal.json +1 -1
  37. package/dist/forms/divorce.es.js +167 -122
  38. package/dist/forms/divorce.iife.js +1 -1
  39. package/dist/forms/divorce.json +1 -1
  40. package/dist/forms/employmentAndWorkplace.es.js +167 -122
  41. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  42. package/dist/forms/employmentAndWorkplace.json +1 -1
  43. package/dist/forms/foreclosure.es.js +167 -122
  44. package/dist/forms/foreclosure.iife.js +1 -1
  45. package/dist/forms/foreclosure.json +1 -1
  46. package/dist/forms/generalContractors.es.js +20 -23
  47. package/dist/forms/generalContractors.iife.js +1 -1
  48. package/dist/forms/generalContractors.json +1 -1
  49. package/dist/forms/generalHomeImprovement.es.js +20 -23
  50. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  51. package/dist/forms/generalHomeImprovement.json +1 -1
  52. package/dist/forms/generalHomeImprovementThankYou.es.js +21 -20
  53. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  54. package/dist/forms/generalHomeImprovementThankYou.json +1 -1
  55. package/dist/forms/generalLegal.es.js +165 -120
  56. package/dist/forms/generalLegal.iife.js +1 -1
  57. package/dist/forms/generalLegal.json +1 -1
  58. package/dist/forms/generalLegalJustAnswer.es.js +167 -122
  59. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  60. package/dist/forms/generalLegalJustAnswer.json +1 -1
  61. package/dist/forms/generalLegalPopUnder.es.js +165 -120
  62. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  63. package/dist/forms/generalLegalPopUnder.json +1 -1
  64. package/dist/forms/generalLegalPopUnderSingle.es.js +167 -122
  65. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  66. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  67. package/dist/forms/generalLegalSingle.es.js +167 -122
  68. package/dist/forms/generalLegalSingle.iife.js +1 -1
  69. package/dist/forms/generalLegalSingle.json +1 -1
  70. package/dist/forms/generalLegalSingleMinimal.es.js +1325 -0
  71. package/dist/forms/generalLegalSingleMinimal.iife.js +1 -0
  72. package/dist/forms/generalLegalSingleMinimal.json +1 -0
  73. package/dist/forms/generalLegalThankYou.es.js +164 -119
  74. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  75. package/dist/forms/generalLegalThankYou.json +1 -1
  76. package/dist/forms/generalLegalThankYouConsultation.es.js +167 -122
  77. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  78. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  79. package/dist/forms/harassmentAndDiscrimination.es.js +161 -116
  80. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  81. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  82. package/dist/forms/landlordTenant.es.js +167 -122
  83. package/dist/forms/landlordTenant.iife.js +1 -1
  84. package/dist/forms/landlordTenant.json +1 -1
  85. package/dist/forms/malpractice.es.js +166 -121
  86. package/dist/forms/malpractice.iife.js +1 -1
  87. package/dist/forms/malpractice.json +1 -1
  88. package/dist/forms/mechanics.es.js +137 -86
  89. package/dist/forms/mechanics.iife.js +1 -1
  90. package/dist/forms/mechanics.json +1 -1
  91. package/dist/forms/patentsAndIP.es.js +167 -122
  92. package/dist/forms/patentsAndIP.iife.js +1 -1
  93. package/dist/forms/patentsAndIP.json +1 -1
  94. package/dist/forms/realEstate.es.js +161 -116
  95. package/dist/forms/realEstate.iife.js +1 -1
  96. package/dist/forms/realEstate.json +1 -1
  97. package/dist/forms/repossession.es.js +165 -120
  98. package/dist/forms/repossession.iife.js +1 -1
  99. package/dist/forms/repossession.json +1 -1
  100. package/dist/forms/ssdi.es.js +158 -109
  101. package/dist/forms/ssdi.iife.js +1 -1
  102. package/dist/forms/ssdi.json +1 -1
  103. package/dist/forms/testForm.es.js +131 -76
  104. package/dist/forms/testForm.iife.js +1 -1
  105. package/dist/forms/testForm.json +1 -1
  106. package/dist/forms/testRedirects.es.js +13 -10
  107. package/dist/forms/testRedirects.iife.js +1 -1
  108. package/dist/forms/vets.es.js +11 -4
  109. package/dist/forms/vets.iife.js +1 -1
  110. package/dist/forms/vets.json +1 -1
  111. package/dist/forms/willsAndTrusts.es.js +161 -116
  112. package/dist/forms/willsAndTrusts.iife.js +1 -1
  113. package/dist/forms/willsAndTrusts.json +1 -1
  114. package/dist/forms/windows.es.js +20 -23
  115. package/dist/forms/windows.iife.js +1 -1
  116. package/dist/forms/windows.json +1 -1
  117. package/dist/forms/workersCompensation.es.js +166 -121
  118. package/dist/forms/workersCompensation.iife.js +1 -1
  119. package/dist/forms/workersCompensation.json +1 -1
  120. package/dist/main.css +1 -1
  121. package/package.json +4 -3
@@ -9,11 +9,10 @@ function LegalRedirectUrl() {
9
9
  const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL =
10
10
  '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
11
11
  const DEFAULT_COMMENTS_LABEL_LEGAL = "Please briefly describe your legal issue in a few words:";
12
- const DEFAULT_FINAL_HEADLINE_LEGAL = "Submit Your Case";
12
+ const DEFAULT_FINAL_HEADLINE_LEGAL = "Connect With The Legal Help You Deserve";
13
13
  const DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL =
14
14
  '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
15
- const DEFAULT_FINAL_SUBHEADLINE_LEGAL =
16
- "You may benefit from speaking with a legal professional. Please verify your contact information.";
15
+ const DEFAULT_FINAL_SUBHEADLINE_LEGAL = "Get a no-obligation consultation with a legal expert.";
17
16
  const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL =
18
17
  '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
19
18
  const TCPA_LANGUAGE_LEGAL =
@@ -105,10 +104,15 @@ const CROSS_SELL_OPTION_MAP_LEGAL = {
105
104
 
106
105
  // ------ Common Base Settings
107
106
 
108
- const checkbox = (updates) => {
109
- if (updates.name && !updates.id) {
110
- updates.id = updates.name;
107
+ const ensureIds = (cfg) => {
108
+ if (cfg.name && !cfg.id) {
109
+ cfg.id = cfg.name;
111
110
  }
111
+ return cfg
112
+ };
113
+
114
+ const checkbox = (updates) => {
115
+ ensureIds(updates);
112
116
  return merge(
113
117
  {
114
118
  $formkit: "checkbox",
@@ -156,9 +160,7 @@ const verticalCol2Checkbox = (updates) => {
156
160
  };
157
161
 
158
162
  const radio = (updates) => {
159
- if (updates.name && !updates.id) {
160
- updates.id = updates.name;
161
- }
163
+ ensureIds(updates);
162
164
  return merge(
163
165
  {
164
166
  $formkit: "radio",
@@ -242,9 +244,7 @@ const verticalYesNoRadio = (updates) => {
242
244
  };
243
245
 
244
246
  const select = (updates) => {
245
- if (updates.name && !updates.id) {
246
- updates.id = updates.name;
247
- }
247
+ ensureIds(updates);
248
248
  return merge(
249
249
  {
250
250
  $formkit: "select",
@@ -272,15 +272,13 @@ const verticalSelect = (updates) => {
272
272
  updates.labelClass = "required";
273
273
  updates.wrapperClass = "t-flex t-justify-center";
274
274
  updates.messagesClass = "t-flex t-justify-center";
275
- updates.inputClass = "t-min-w-[150px] t-bg-white";
275
+ updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
276
276
  updates.helpClass = "t-mt-2.5 t-text-center";
277
277
  return select(updates)
278
278
  };
279
279
 
280
280
  const text = (updates) => {
281
- if (updates.name && !updates.id) {
282
- updates.id = updates.name;
283
- }
281
+ ensureIds(updates);
284
282
  return merge(
285
283
  {
286
284
  $formkit: "text",
@@ -308,9 +306,7 @@ const verticalText = (updates) => {
308
306
  };
309
307
 
310
308
  const textArea = (updates) => {
311
- if (updates.name && !updates.id) {
312
- updates.id = updates.name;
313
- }
309
+ ensureIds(updates);
314
310
  return merge(
315
311
  {
316
312
  $formkit: "textarea",
@@ -328,9 +324,7 @@ const textArea = (updates) => {
328
324
  };
329
325
 
330
326
  const date = (updates) => {
331
- if (updates.name && !updates.id) {
332
- updates.id = updates.name;
333
- }
327
+ ensureIds(updates);
334
328
  return merge(
335
329
  {
336
330
  $formkit: "DatePicker",
@@ -976,7 +970,7 @@ const TCPAConsent = (scope, updates = {}) => ({
976
970
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
977
971
  messages: updates.messagesClass ? updates.messagesClass : "",
978
972
  label:
979
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
973
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
980
974
  (updates.labelClass ? " " + updates.labelClass : ""),
981
975
  },
982
976
  });
@@ -1297,7 +1291,7 @@ function commentsStepHeadline(updates) {
1297
1291
  children: updates.headline || "Additional Details",
1298
1292
  attrs: {
1299
1293
  class:
1300
- "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1294
+ "t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1301
1295
  " " +
1302
1296
  (updates.headlineClass || ""),
1303
1297
  },
@@ -1317,7 +1311,7 @@ function firstAndLastStepHeadline(updates) {
1317
1311
  children: updates.headline || "Please Provide a Contact Name",
1318
1312
  attrs: {
1319
1313
  class:
1320
- "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1314
+ "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1321
1315
  " " +
1322
1316
  (updates.headlineClass || ""),
1323
1317
  },
@@ -1330,7 +1324,7 @@ function legalCrossSellsStepHeadline(updates) {
1330
1324
  children: updates.headline || "Do any of the following situations apply?",
1331
1325
  attrs: {
1332
1326
  class:
1333
- "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1327
+ "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
1334
1328
  " " +
1335
1329
  (updates.headlineClass || ""),
1336
1330
  },
@@ -1343,7 +1337,7 @@ function contactStepHeadline(updates) {
1343
1337
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1344
1338
  attrs: {
1345
1339
  class:
1346
- "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1" +
1340
+ "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1" +
1347
1341
  " " +
1348
1342
  (updates.headlineClass || "") +
1349
1343
  " f-contact-info-headline",
@@ -1433,6 +1427,34 @@ function step(name, inputs, updates = {}) {
1433
1427
  })
1434
1428
  }
1435
1429
 
1430
+ function commentsWithBankruptcy(updates = {}) {
1431
+ return step(
1432
+ "commentsWithBankruptcy",
1433
+ [
1434
+ commentsStepHeadlineLegal(updates),
1435
+ comments(updates.scope, false, {
1436
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1437
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1438
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1439
+ }),
1440
+ // TODO: needs scope support
1441
+ bankruptcyCrossSell(),
1442
+ {
1443
+ $el: "div",
1444
+ if: "$get(CrossSell_Bankruptcy).value == true",
1445
+ children: [
1446
+ comments("CrossSell:Bankruptcy", false, {
1447
+ label: "Bankruptcy or debt details:",
1448
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1449
+ inputClass: "!t-h-16",
1450
+ }),
1451
+ ],
1452
+ },
1453
+ ],
1454
+ { nextOnEnter: false }
1455
+ )
1456
+ }
1457
+
1436
1458
  function contactInfo(updates = {}) {
1437
1459
  return step(
1438
1460
  "contactInfo",
@@ -1458,7 +1480,7 @@ function firstAndLastV3(updates = {}) {
1458
1480
  headlineClass: updates.headlineClass,
1459
1481
  }),
1460
1482
  verticalStepSubHeadline({
1461
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1483
+ subheadline: updates.subheadline ?? "We never share info without consent",
1462
1484
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1463
1485
  }),
1464
1486
  firstName(updates.scope),
@@ -1498,34 +1520,6 @@ function malpracticeTOLPQuestions(updates = {}) {
1498
1520
  )
1499
1521
  }
1500
1522
 
1501
- function commentsWithBankruptcy(updates = {}) {
1502
- return step(
1503
- "commentsWithBankruptcy",
1504
- [
1505
- commentsStepHeadlineLegal(updates),
1506
- comments(updates.scope, false, {
1507
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1508
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1509
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1510
- }),
1511
- // TODO: needs scope support
1512
- bankruptcyCrossSell(),
1513
- {
1514
- $el: "div",
1515
- if: "$get(CrossSell_Bankruptcy).value == true",
1516
- children: [
1517
- comments("CrossSell:Bankruptcy", false, {
1518
- label: "Bankruptcy or debt details:",
1519
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1520
- inputClass: "!t-h-16",
1521
- }),
1522
- ],
1523
- },
1524
- ],
1525
- { nextOnEnter: false }
1526
- )
1527
- }
1528
-
1529
1523
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1530
1524
  return step(
1531
1525
  "autoAndCarAccidentCrossSellQuestions",
@@ -1936,7 +1930,7 @@ function subHeadlineDefaults(updates = {}) {
1936
1930
  $el: "h3",
1937
1931
  attrs: {
1938
1932
  class:
1939
- "t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10" +
1933
+ "t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3" +
1940
1934
  " " +
1941
1935
  (updates.subheadlineClass || "") +
1942
1936
  " f-first-subheadline",
@@ -2292,78 +2286,129 @@ const TOLPCommentsPlaceholders = {
2292
2286
  };
2293
2287
 
2294
2288
  const TOLPFinalHeadlines = {
2295
- // 'Adoption': '',
2296
- };
2297
-
2298
- const TOLPFinalSubHeadlines = {
2299
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2300
- // 'Asbestos and Mesothelioma': '',
2301
- "Auto and Car Accidents":
2302
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2303
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2304
- // 'Birth Certificate and Name Change': '',
2305
- // 'Business Lawyers': '',
2289
+ Adoption: "Connect With Adoption Professionals Today",
2290
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2291
+ Bankruptcy: "Take Control of Your Financial Future",
2292
+ "Birth Certificate and Name Change": "Start Your Change Today",
2293
+ "Business Lawyers": "Connect With Business Professionals Today",
2294
+ "Child Custody": "Connect With Custody Professionals Today",
2295
+ "Child Support": "Connect With Child Support Professionals",
2306
2296
  // 'Child Custody and Support': '',
2307
- // 'Civil Rights and Discrimination': '',
2308
- // 'Civil Lawsuit': '',
2309
- // 'Consumer Lawyers': '',
2310
- "Copyrights and Trademarks":
2311
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2312
- // 'Criminal and Felony': '',
2313
- // 'Debt and Collections': '',
2314
- "Divorce and Separation":
2315
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2316
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2317
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2318
- // 'Employment and Workplace': '',
2319
- // 'Expungement': '',
2320
- // 'Family Issues': '',
2321
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2322
- Guardianship:
2323
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2324
- // 'Harassment and Discrimination': '',
2325
- // 'Identity Theft': '',
2326
- "Immigration and Visas":
2327
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2328
- // 'Insurance': '',
2329
- "Landlord and Tenant":
2330
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2331
- // 'Lemon Law': '',
2332
- "Long Term Disability":
2333
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2334
- "Medical Malpractice":
2335
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2336
- "Patents and Intellectual Property":
2337
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2338
- "Personal Injury":
2339
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2340
- // 'Power of Attorney': '',
2341
- "Probate and Estates":
2342
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2343
- // 'Product Liability': '',
2344
- // 'Property Damage': '',
2345
- "Real Estate":
2346
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2347
- "Social Security Disability and Insurance":
2348
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2349
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2350
- // 'Traffic and Tickets': '',
2351
- Unemployment:
2352
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2353
- // 'Victim of a Crime': '',
2354
- // 'Wills and Trusts': '',
2355
- "Workers Compensation":
2356
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2357
- // 'Wrongful Death': '',
2358
- // 'Wrongful Termination': '',
2297
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2298
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2299
+ // "Consumer Lawyers": "",
2300
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2301
+ // "Criminal and Felony": "Connect With Legal Help",
2302
+ "Debt and Collections": "Connect With Debt Professionals Today",
2303
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2304
+ "DUI and DWI": "Defend Against DUI Charges",
2305
+ "Elder Law": "Connect With Elder Law Professionals",
2306
+ // "Employment and Workplace": "Connect With Legal Help",
2307
+ Expungement: "Clear Your Record",
2308
+ "Family Issues": "Connect With Family Legal Help",
2309
+ Foreclosure: "Fight to Keep Your Home",
2310
+ Guardianship: "Connect With Guardianship Professionals",
2311
+ // "Harassment and Discrimination": "Connect With Legal Help",
2312
+ // "Identity Theft": "Connect With Legal Help",
2313
+ "Immigration and Visas": "Get Immigration Legal Help",
2314
+ Insurance: "Get Insurance Legal Help",
2315
+ // "Landlord and Tenant": "Connect With Legal Help",
2316
+ "Lemon Law": "Connect With Lemon Law Professionals",
2317
+ "Long Term Disability": "Connect With Disability Professionals",
2318
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2319
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2320
+ "Personal Injury": "Maximize Your Injury Compensation",
2321
+ // "Power of Attorney": "Connect With Legal Help",
2322
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2323
+ "Product Liability": "Get Justice for Faulty Products",
2324
+ // 'Property Damage': 'Connect With Legal Help',
2325
+ "Real Estate": "Connect With Real Estate Professionals",
2326
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2327
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2328
+ "Tax and IRS": "Connect With Tax Legal Help",
2329
+ "Traffic and Tickets": "Protect Your Record Today",
2330
+ Unemployment: "Connect With Unemployment Professionals",
2331
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2332
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2333
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2334
+ "Wrongful Death": "Seek Justice for a Loved One",
2335
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2359
2336
  // 'Not Sure or Other': ''
2360
- // 'Sexual Harassment': '',
2361
2337
  // 'Workplace Harassment': '',
2362
2338
  // 'Non-Workplace Harassment': '',
2363
2339
  // 'Workplace Discrimination': '',
2364
2340
  // 'Non-Workplace Discrimination': '',
2365
2341
  };
2366
2342
 
2343
+ const TOLPFinalSubHeadlines = {
2344
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2345
+ // // 'Asbestos and Mesothelioma': '',
2346
+ // "Auto and Car Accidents":
2347
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2348
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2349
+ // // 'Birth Certificate and Name Change': '',
2350
+ // // 'Business Lawyers': '',
2351
+ // // 'Child Custody and Support': '',
2352
+ // // 'Civil Rights and Discrimination': '',
2353
+ // // 'Civil Lawsuit': '',
2354
+ // // 'Consumer Lawyers': '',
2355
+ // "Copyrights and Trademarks":
2356
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2357
+ // // 'Criminal and Felony': '',
2358
+ // // 'Debt and Collections': '',
2359
+ // "Divorce and Separation":
2360
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2361
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2362
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2363
+ // // 'Employment and Workplace': '',
2364
+ // // 'Expungement': '',
2365
+ // // 'Family Issues': '',
2366
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2367
+ // Guardianship:
2368
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2369
+ // // 'Harassment and Discrimination': '',
2370
+ // // 'Identity Theft': '',
2371
+ // "Immigration and Visas":
2372
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2373
+ // // 'Insurance': '',
2374
+ // "Landlord and Tenant":
2375
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2376
+ // // 'Lemon Law': '',
2377
+ // "Long Term Disability":
2378
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2379
+ // "Medical Malpractice":
2380
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2381
+ // "Patents and Intellectual Property":
2382
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2383
+ // "Personal Injury":
2384
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2385
+ // // 'Power of Attorney': '',
2386
+ // "Probate and Estates":
2387
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2388
+ // // 'Product Liability': '',
2389
+ // // 'Property Damage': '',
2390
+ // "Real Estate":
2391
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2392
+ // "Social Security Disability and Insurance":
2393
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2394
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2395
+ // // 'Traffic and Tickets': '',
2396
+ // Unemployment:
2397
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2398
+ // // 'Victim of a Crime': '',
2399
+ // // 'Wills and Trusts': '',
2400
+ // "Workers Compensation":
2401
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2402
+ // // 'Wrongful Death': '',
2403
+ // // 'Wrongful Termination': '',
2404
+ // // 'Not Sure or Other': ''
2405
+ // // 'Sexual Harassment': '',
2406
+ // // 'Workplace Harassment': '',
2407
+ // // 'Non-Workplace Harassment': '',
2408
+ // // 'Workplace Discrimination': '',
2409
+ // // 'Non-Workplace Discrimination': '',
2410
+ };
2411
+
2367
2412
  const nextStepsMapLegalLegacy = {
2368
2413
  values: {
2369
2414
  "*": ["TOLPQuestions", "commentsWithBankruptcy", "legalCrossSells", "firstAndLast", "contactInfo"],