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",
@@ -1007,7 +1001,7 @@ const TCPAConsent = (scope, updates = {}) => ({
1007
1001
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
1008
1002
  messages: updates.messagesClass ? updates.messagesClass : "",
1009
1003
  label:
1010
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1004
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1011
1005
  (updates.labelClass ? " " + updates.labelClass : ""),
1012
1006
  },
1013
1007
  });
@@ -1328,7 +1322,7 @@ function commentsStepHeadline(updates) {
1328
1322
  children: updates.headline || "Additional Details",
1329
1323
  attrs: {
1330
1324
  class:
1331
- "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" +
1325
+ "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" +
1332
1326
  " " +
1333
1327
  (updates.headlineClass || ""),
1334
1328
  },
@@ -1348,7 +1342,7 @@ function firstAndLastStepHeadline(updates) {
1348
1342
  children: updates.headline || "Please Provide a Contact Name",
1349
1343
  attrs: {
1350
1344
  class:
1351
- "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" +
1345
+ "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" +
1352
1346
  " " +
1353
1347
  (updates.headlineClass || ""),
1354
1348
  },
@@ -1361,7 +1355,7 @@ function legalCrossSellsStepHeadline(updates) {
1361
1355
  children: updates.headline || "Do any of the following situations apply?",
1362
1356
  attrs: {
1363
1357
  class:
1364
- "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" +
1358
+ "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" +
1365
1359
  " " +
1366
1360
  (updates.headlineClass || ""),
1367
1361
  },
@@ -1374,7 +1368,7 @@ function contactStepHeadline(updates) {
1374
1368
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1375
1369
  attrs: {
1376
1370
  class:
1377
- "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" +
1371
+ "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" +
1378
1372
  " " +
1379
1373
  (updates.headlineClass || "") +
1380
1374
  " f-contact-info-headline",
@@ -1464,6 +1458,34 @@ function step(name, inputs, updates = {}) {
1464
1458
  })
1465
1459
  }
1466
1460
 
1461
+ function commentsWithBankruptcy(updates = {}) {
1462
+ return step(
1463
+ "commentsWithBankruptcy",
1464
+ [
1465
+ commentsStepHeadlineLegal(updates),
1466
+ comments(updates.scope, false, {
1467
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1468
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1469
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1470
+ }),
1471
+ // TODO: needs scope support
1472
+ bankruptcyCrossSell(),
1473
+ {
1474
+ $el: "div",
1475
+ if: "$get(CrossSell_Bankruptcy).value == true",
1476
+ children: [
1477
+ comments("CrossSell:Bankruptcy", false, {
1478
+ label: "Bankruptcy or debt details:",
1479
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1480
+ inputClass: "!t-h-16",
1481
+ }),
1482
+ ],
1483
+ },
1484
+ ],
1485
+ { nextOnEnter: false }
1486
+ )
1487
+ }
1488
+
1467
1489
  function contactInfo(updates = {}) {
1468
1490
  return step(
1469
1491
  "contactInfo",
@@ -1505,34 +1527,6 @@ function repossessionTOLPAndZip(updates = {}) {
1505
1527
  )
1506
1528
  }
1507
1529
 
1508
- function commentsWithBankruptcy(updates = {}) {
1509
- return step(
1510
- "commentsWithBankruptcy",
1511
- [
1512
- commentsStepHeadlineLegal(updates),
1513
- comments(updates.scope, false, {
1514
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1515
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1516
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1517
- }),
1518
- // TODO: needs scope support
1519
- bankruptcyCrossSell(),
1520
- {
1521
- $el: "div",
1522
- if: "$get(CrossSell_Bankruptcy).value == true",
1523
- children: [
1524
- comments("CrossSell:Bankruptcy", false, {
1525
- label: "Bankruptcy or debt details:",
1526
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1527
- inputClass: "!t-h-16",
1528
- }),
1529
- ],
1530
- },
1531
- ],
1532
- { nextOnEnter: false }
1533
- )
1534
- }
1535
-
1536
1530
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1537
1531
  return step(
1538
1532
  "autoAndCarAccidentCrossSellQuestions",
@@ -1957,7 +1951,7 @@ function subHeadlineDefaults(updates = {}) {
1957
1951
  $el: "h3",
1958
1952
  attrs: {
1959
1953
  class:
1960
- "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" +
1954
+ "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" +
1961
1955
  " " +
1962
1956
  (updates.subheadlineClass || "") +
1963
1957
  " f-first-subheadline",
@@ -2313,78 +2307,129 @@ const TOLPCommentsPlaceholders = {
2313
2307
  };
2314
2308
 
2315
2309
  const TOLPFinalHeadlines = {
2316
- // 'Adoption': '',
2317
- };
2318
-
2319
- const TOLPFinalSubHeadlines = {
2320
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2321
- // 'Asbestos and Mesothelioma': '',
2322
- "Auto and Car Accidents":
2323
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2324
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2325
- // 'Birth Certificate and Name Change': '',
2326
- // 'Business Lawyers': '',
2310
+ Adoption: "Connect With Adoption Professionals Today",
2311
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2312
+ Bankruptcy: "Take Control of Your Financial Future",
2313
+ "Birth Certificate and Name Change": "Start Your Change Today",
2314
+ "Business Lawyers": "Connect With Business Professionals Today",
2315
+ "Child Custody": "Connect With Custody Professionals Today",
2316
+ "Child Support": "Connect With Child Support Professionals",
2327
2317
  // 'Child Custody and Support': '',
2328
- // 'Civil Rights and Discrimination': '',
2329
- // 'Civil Lawsuit': '',
2330
- // 'Consumer Lawyers': '',
2331
- "Copyrights and Trademarks":
2332
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2333
- // 'Criminal and Felony': '',
2334
- // 'Debt and Collections': '',
2335
- "Divorce and Separation":
2336
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2337
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2338
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2339
- // 'Employment and Workplace': '',
2340
- // 'Expungement': '',
2341
- // 'Family Issues': '',
2342
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2343
- Guardianship:
2344
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2345
- // 'Harassment and Discrimination': '',
2346
- // 'Identity Theft': '',
2347
- "Immigration and Visas":
2348
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2349
- // 'Insurance': '',
2350
- "Landlord and Tenant":
2351
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2352
- // 'Lemon Law': '',
2353
- "Long Term Disability":
2354
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2355
- "Medical Malpractice":
2356
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2357
- "Patents and Intellectual Property":
2358
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2359
- "Personal Injury":
2360
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2361
- // 'Power of Attorney': '',
2362
- "Probate and Estates":
2363
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2364
- // 'Product Liability': '',
2365
- // 'Property Damage': '',
2366
- "Real Estate":
2367
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2368
- "Social Security Disability and Insurance":
2369
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2370
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2371
- // 'Traffic and Tickets': '',
2372
- Unemployment:
2373
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2374
- // 'Victim of a Crime': '',
2375
- // 'Wills and Trusts': '',
2376
- "Workers Compensation":
2377
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2378
- // 'Wrongful Death': '',
2379
- // 'Wrongful Termination': '',
2318
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2319
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2320
+ // "Consumer Lawyers": "",
2321
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2322
+ // "Criminal and Felony": "Connect With Legal Help",
2323
+ "Debt and Collections": "Connect With Debt Professionals Today",
2324
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2325
+ "DUI and DWI": "Defend Against DUI Charges",
2326
+ "Elder Law": "Connect With Elder Law Professionals",
2327
+ // "Employment and Workplace": "Connect With Legal Help",
2328
+ Expungement: "Clear Your Record",
2329
+ "Family Issues": "Connect With Family Legal Help",
2330
+ Foreclosure: "Fight to Keep Your Home",
2331
+ Guardianship: "Connect With Guardianship Professionals",
2332
+ // "Harassment and Discrimination": "Connect With Legal Help",
2333
+ // "Identity Theft": "Connect With Legal Help",
2334
+ "Immigration and Visas": "Get Immigration Legal Help",
2335
+ Insurance: "Get Insurance Legal Help",
2336
+ // "Landlord and Tenant": "Connect With Legal Help",
2337
+ "Lemon Law": "Connect With Lemon Law Professionals",
2338
+ "Long Term Disability": "Connect With Disability Professionals",
2339
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2340
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2341
+ "Personal Injury": "Maximize Your Injury Compensation",
2342
+ // "Power of Attorney": "Connect With Legal Help",
2343
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2344
+ "Product Liability": "Get Justice for Faulty Products",
2345
+ // 'Property Damage': 'Connect With Legal Help',
2346
+ "Real Estate": "Connect With Real Estate Professionals",
2347
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2348
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2349
+ "Tax and IRS": "Connect With Tax Legal Help",
2350
+ "Traffic and Tickets": "Protect Your Record Today",
2351
+ Unemployment: "Connect With Unemployment Professionals",
2352
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2353
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2354
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2355
+ "Wrongful Death": "Seek Justice for a Loved One",
2356
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2380
2357
  // 'Not Sure or Other': ''
2381
- // 'Sexual Harassment': '',
2382
2358
  // 'Workplace Harassment': '',
2383
2359
  // 'Non-Workplace Harassment': '',
2384
2360
  // 'Workplace Discrimination': '',
2385
2361
  // 'Non-Workplace Discrimination': '',
2386
2362
  };
2387
2363
 
2364
+ const TOLPFinalSubHeadlines = {
2365
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2366
+ // // 'Asbestos and Mesothelioma': '',
2367
+ // "Auto and Car Accidents":
2368
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2369
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2370
+ // // 'Birth Certificate and Name Change': '',
2371
+ // // 'Business Lawyers': '',
2372
+ // // 'Child Custody and Support': '',
2373
+ // // 'Civil Rights and Discrimination': '',
2374
+ // // 'Civil Lawsuit': '',
2375
+ // // 'Consumer Lawyers': '',
2376
+ // "Copyrights and Trademarks":
2377
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2378
+ // // 'Criminal and Felony': '',
2379
+ // // 'Debt and Collections': '',
2380
+ // "Divorce and Separation":
2381
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2382
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2383
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2384
+ // // 'Employment and Workplace': '',
2385
+ // // 'Expungement': '',
2386
+ // // 'Family Issues': '',
2387
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2388
+ // Guardianship:
2389
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2390
+ // // 'Harassment and Discrimination': '',
2391
+ // // 'Identity Theft': '',
2392
+ // "Immigration and Visas":
2393
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2394
+ // // 'Insurance': '',
2395
+ // "Landlord and Tenant":
2396
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2397
+ // // 'Lemon Law': '',
2398
+ // "Long Term Disability":
2399
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2400
+ // "Medical Malpractice":
2401
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2402
+ // "Patents and Intellectual Property":
2403
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2404
+ // "Personal Injury":
2405
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2406
+ // // 'Power of Attorney': '',
2407
+ // "Probate and Estates":
2408
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2409
+ // // 'Product Liability': '',
2410
+ // // 'Property Damage': '',
2411
+ // "Real Estate":
2412
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2413
+ // "Social Security Disability and Insurance":
2414
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2415
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2416
+ // // 'Traffic and Tickets': '',
2417
+ // Unemployment:
2418
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2419
+ // // 'Victim of a Crime': '',
2420
+ // // 'Wills and Trusts': '',
2421
+ // "Workers Compensation":
2422
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2423
+ // // 'Wrongful Death': '',
2424
+ // // 'Wrongful Termination': '',
2425
+ // // 'Not Sure or Other': ''
2426
+ // // 'Sexual Harassment': '',
2427
+ // // 'Workplace Harassment': '',
2428
+ // // 'Non-Workplace Harassment': '',
2429
+ // // 'Workplace Discrimination': '',
2430
+ // // 'Non-Workplace Discrimination': '',
2431
+ };
2432
+
2388
2433
  const nextStepsMapLegalLegacy = {
2389
2434
  values: {
2390
2435
  "*": ["TOLPQuestions", "commentsWithBankruptcy", "legalCrossSells", "firstAndLast", "contactInfo"],