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",
@@ -998,7 +992,7 @@ const TCPAConsent = (scope, updates = {}) => ({
998
992
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
999
993
  messages: updates.messagesClass ? updates.messagesClass : "",
1000
994
  label:
1001
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
995
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1002
996
  (updates.labelClass ? " " + updates.labelClass : ""),
1003
997
  },
1004
998
  });
@@ -1331,7 +1325,7 @@ function commentsStepHeadline(updates) {
1331
1325
  children: updates.headline || "Additional Details",
1332
1326
  attrs: {
1333
1327
  class:
1334
- "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" +
1328
+ "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" +
1335
1329
  " " +
1336
1330
  (updates.headlineClass || ""),
1337
1331
  },
@@ -1351,7 +1345,7 @@ function firstAndLastStepHeadline(updates) {
1351
1345
  children: updates.headline || "Please Provide a Contact Name",
1352
1346
  attrs: {
1353
1347
  class:
1354
- "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" +
1348
+ "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" +
1355
1349
  " " +
1356
1350
  (updates.headlineClass || ""),
1357
1351
  },
@@ -1364,7 +1358,7 @@ function legalCrossSellsStepHeadline(updates) {
1364
1358
  children: updates.headline || "Do any of the following situations apply?",
1365
1359
  attrs: {
1366
1360
  class:
1367
- "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" +
1361
+ "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" +
1368
1362
  " " +
1369
1363
  (updates.headlineClass || ""),
1370
1364
  },
@@ -1377,7 +1371,7 @@ function contactStepHeadline(updates) {
1377
1371
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1378
1372
  attrs: {
1379
1373
  class:
1380
- "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" +
1374
+ "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" +
1381
1375
  " " +
1382
1376
  (updates.headlineClass || "") +
1383
1377
  " f-contact-info-headline",
@@ -1467,30 +1461,6 @@ function step(name, inputs, updates = {}) {
1467
1461
  })
1468
1462
  }
1469
1463
 
1470
- function contactInfo(updates = {}) {
1471
- return step(
1472
- "contactInfo",
1473
- [
1474
- contactStepHeadline(updates),
1475
- contactStepSubHeadline(updates),
1476
- trustedFormScript(),
1477
- email(updates.scope),
1478
- phone(updates.scope),
1479
- TCPAConsent(updates.scope),
1480
- secureIcon(),
1481
- ],
1482
- { nextOnEnter: false }
1483
- )
1484
- }
1485
-
1486
- function firstAndLastV2(updates = {}) {
1487
- return step(
1488
- "firstAndLast",
1489
- [firstAndLastStepHeadline(updates), firstName(updates.scope), lastName(updates.scope)],
1490
- updates
1491
- )
1492
- }
1493
-
1494
1464
  function commentsWithBankruptcy(updates = {}) {
1495
1465
  return step(
1496
1466
  "commentsWithBankruptcy",
@@ -1519,6 +1489,30 @@ function commentsWithBankruptcy(updates = {}) {
1519
1489
  )
1520
1490
  }
1521
1491
 
1492
+ function contactInfo(updates = {}) {
1493
+ return step(
1494
+ "contactInfo",
1495
+ [
1496
+ contactStepHeadline(updates),
1497
+ contactStepSubHeadline(updates),
1498
+ trustedFormScript(),
1499
+ email(updates.scope),
1500
+ phone(updates.scope),
1501
+ TCPAConsent(updates.scope),
1502
+ secureIcon(),
1503
+ ],
1504
+ { nextOnEnter: false }
1505
+ )
1506
+ }
1507
+
1508
+ function firstAndLastV2(updates = {}) {
1509
+ return step(
1510
+ "firstAndLast",
1511
+ [firstAndLastStepHeadline(updates), firstName(updates.scope), lastName(updates.scope)],
1512
+ updates
1513
+ )
1514
+ }
1515
+
1522
1516
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1523
1517
  return step(
1524
1518
  "autoAndCarAccidentCrossSellQuestions",
@@ -1956,7 +1950,7 @@ function subHeadlineDefaults(updates = {}) {
1956
1950
  $el: "h3",
1957
1951
  attrs: {
1958
1952
  class:
1959
- "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" +
1953
+ "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" +
1960
1954
  " " +
1961
1955
  (updates.subheadlineClass || "") +
1962
1956
  " f-first-subheadline",
@@ -2084,78 +2078,129 @@ const TOLPCommentsPlaceholders = {
2084
2078
  };
2085
2079
 
2086
2080
  const TOLPFinalHeadlines = {
2087
- // 'Adoption': '',
2088
- };
2089
-
2090
- const TOLPFinalSubHeadlines = {
2091
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2092
- // 'Asbestos and Mesothelioma': '',
2093
- "Auto and Car Accidents":
2094
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2095
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2096
- // 'Birth Certificate and Name Change': '',
2097
- // 'Business Lawyers': '',
2081
+ Adoption: "Connect With Adoption Professionals Today",
2082
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2083
+ Bankruptcy: "Take Control of Your Financial Future",
2084
+ "Birth Certificate and Name Change": "Start Your Change Today",
2085
+ "Business Lawyers": "Connect With Business Professionals Today",
2086
+ "Child Custody": "Connect With Custody Professionals Today",
2087
+ "Child Support": "Connect With Child Support Professionals",
2098
2088
  // 'Child Custody and Support': '',
2099
- // 'Civil Rights and Discrimination': '',
2100
- // 'Civil Lawsuit': '',
2101
- // 'Consumer Lawyers': '',
2102
- "Copyrights and Trademarks":
2103
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2104
- // 'Criminal and Felony': '',
2105
- // 'Debt and Collections': '',
2106
- "Divorce and Separation":
2107
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2108
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2109
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2110
- // 'Employment and Workplace': '',
2111
- // 'Expungement': '',
2112
- // 'Family Issues': '',
2113
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2114
- Guardianship:
2115
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2116
- // 'Harassment and Discrimination': '',
2117
- // 'Identity Theft': '',
2118
- "Immigration and Visas":
2119
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2120
- // 'Insurance': '',
2121
- "Landlord and Tenant":
2122
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2123
- // 'Lemon Law': '',
2124
- "Long Term Disability":
2125
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2126
- "Medical Malpractice":
2127
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2128
- "Patents and Intellectual Property":
2129
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2130
- "Personal Injury":
2131
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2132
- // 'Power of Attorney': '',
2133
- "Probate and Estates":
2134
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2135
- // 'Product Liability': '',
2136
- // 'Property Damage': '',
2137
- "Real Estate":
2138
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2139
- "Social Security Disability and Insurance":
2140
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2141
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2142
- // 'Traffic and Tickets': '',
2143
- Unemployment:
2144
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2145
- // 'Victim of a Crime': '',
2146
- // 'Wills and Trusts': '',
2147
- "Workers Compensation":
2148
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2149
- // 'Wrongful Death': '',
2150
- // 'Wrongful Termination': '',
2089
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2090
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2091
+ // "Consumer Lawyers": "",
2092
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2093
+ // "Criminal and Felony": "Connect With Legal Help",
2094
+ "Debt and Collections": "Connect With Debt Professionals Today",
2095
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2096
+ "DUI and DWI": "Defend Against DUI Charges",
2097
+ "Elder Law": "Connect With Elder Law Professionals",
2098
+ // "Employment and Workplace": "Connect With Legal Help",
2099
+ Expungement: "Clear Your Record",
2100
+ "Family Issues": "Connect With Family Legal Help",
2101
+ Foreclosure: "Fight to Keep Your Home",
2102
+ Guardianship: "Connect With Guardianship Professionals",
2103
+ // "Harassment and Discrimination": "Connect With Legal Help",
2104
+ // "Identity Theft": "Connect With Legal Help",
2105
+ "Immigration and Visas": "Get Immigration Legal Help",
2106
+ Insurance: "Get Insurance Legal Help",
2107
+ // "Landlord and Tenant": "Connect With Legal Help",
2108
+ "Lemon Law": "Connect With Lemon Law Professionals",
2109
+ "Long Term Disability": "Connect With Disability Professionals",
2110
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2111
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2112
+ "Personal Injury": "Maximize Your Injury Compensation",
2113
+ // "Power of Attorney": "Connect With Legal Help",
2114
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2115
+ "Product Liability": "Get Justice for Faulty Products",
2116
+ // 'Property Damage': 'Connect With Legal Help',
2117
+ "Real Estate": "Connect With Real Estate Professionals",
2118
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2119
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2120
+ "Tax and IRS": "Connect With Tax Legal Help",
2121
+ "Traffic and Tickets": "Protect Your Record Today",
2122
+ Unemployment: "Connect With Unemployment Professionals",
2123
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2124
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2125
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2126
+ "Wrongful Death": "Seek Justice for a Loved One",
2127
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2151
2128
  // 'Not Sure or Other': ''
2152
- // 'Sexual Harassment': '',
2153
2129
  // 'Workplace Harassment': '',
2154
2130
  // 'Non-Workplace Harassment': '',
2155
2131
  // 'Workplace Discrimination': '',
2156
2132
  // 'Non-Workplace Discrimination': '',
2157
2133
  };
2158
2134
 
2135
+ const TOLPFinalSubHeadlines = {
2136
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2137
+ // // 'Asbestos and Mesothelioma': '',
2138
+ // "Auto and Car Accidents":
2139
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2140
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2141
+ // // 'Birth Certificate and Name Change': '',
2142
+ // // 'Business Lawyers': '',
2143
+ // // 'Child Custody and Support': '',
2144
+ // // 'Civil Rights and Discrimination': '',
2145
+ // // 'Civil Lawsuit': '',
2146
+ // // 'Consumer Lawyers': '',
2147
+ // "Copyrights and Trademarks":
2148
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2149
+ // // 'Criminal and Felony': '',
2150
+ // // 'Debt and Collections': '',
2151
+ // "Divorce and Separation":
2152
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2153
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2154
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2155
+ // // 'Employment and Workplace': '',
2156
+ // // 'Expungement': '',
2157
+ // // 'Family Issues': '',
2158
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2159
+ // Guardianship:
2160
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2161
+ // // 'Harassment and Discrimination': '',
2162
+ // // 'Identity Theft': '',
2163
+ // "Immigration and Visas":
2164
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2165
+ // // 'Insurance': '',
2166
+ // "Landlord and Tenant":
2167
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2168
+ // // 'Lemon Law': '',
2169
+ // "Long Term Disability":
2170
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2171
+ // "Medical Malpractice":
2172
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2173
+ // "Patents and Intellectual Property":
2174
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2175
+ // "Personal Injury":
2176
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2177
+ // // 'Power of Attorney': '',
2178
+ // "Probate and Estates":
2179
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2180
+ // // 'Product Liability': '',
2181
+ // // 'Property Damage': '',
2182
+ // "Real Estate":
2183
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2184
+ // "Social Security Disability and Insurance":
2185
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2186
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2187
+ // // 'Traffic and Tickets': '',
2188
+ // Unemployment:
2189
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2190
+ // // 'Victim of a Crime': '',
2191
+ // // 'Wills and Trusts': '',
2192
+ // "Workers Compensation":
2193
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2194
+ // // 'Wrongful Death': '',
2195
+ // // 'Wrongful Termination': '',
2196
+ // // 'Not Sure or Other': ''
2197
+ // // 'Sexual Harassment': '',
2198
+ // // 'Workplace Harassment': '',
2199
+ // // 'Non-Workplace Harassment': '',
2200
+ // // 'Workplace Discrimination': '',
2201
+ // // 'Non-Workplace Discrimination': '',
2202
+ };
2203
+
2159
2204
  const nextStepsMapLegalLegacy = {
2160
2205
  values: {
2161
2206
  "*": ["TOLPQuestions", "commentsWithBankruptcy", "legalCrossSells", "firstAndLast", "contactInfo"],