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",
@@ -950,7 +944,7 @@ const TCPAConsent = (scope, updates = {}) => ({
950
944
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
951
945
  messages: updates.messagesClass ? updates.messagesClass : "",
952
946
  label:
953
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
947
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
954
948
  (updates.labelClass ? " " + updates.labelClass : ""),
955
949
  },
956
950
  });
@@ -1233,7 +1227,7 @@ function commentsStepHeadline(updates) {
1233
1227
  children: updates.headline || "Additional Details",
1234
1228
  attrs: {
1235
1229
  class:
1236
- "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" +
1230
+ "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" +
1237
1231
  " " +
1238
1232
  (updates.headlineClass || ""),
1239
1233
  },
@@ -1253,7 +1247,7 @@ function firstAndLastStepHeadline(updates) {
1253
1247
  children: updates.headline || "Please Provide a Contact Name",
1254
1248
  attrs: {
1255
1249
  class:
1256
- "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" +
1250
+ "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" +
1257
1251
  " " +
1258
1252
  (updates.headlineClass || ""),
1259
1253
  },
@@ -1266,7 +1260,7 @@ function legalCrossSellsStepHeadline(updates) {
1266
1260
  children: updates.headline || "Do any of the following situations apply?",
1267
1261
  attrs: {
1268
1262
  class:
1269
- "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" +
1263
+ "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" +
1270
1264
  " " +
1271
1265
  (updates.headlineClass || ""),
1272
1266
  },
@@ -1279,7 +1273,7 @@ function contactStepHeadline(updates) {
1279
1273
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1280
1274
  attrs: {
1281
1275
  class:
1282
- "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" +
1276
+ "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" +
1283
1277
  " " +
1284
1278
  (updates.headlineClass || "") +
1285
1279
  " f-contact-info-headline",
@@ -1369,6 +1363,34 @@ function step(name, inputs, updates = {}) {
1369
1363
  })
1370
1364
  }
1371
1365
 
1366
+ function commentsWithBankruptcy(updates = {}) {
1367
+ return step(
1368
+ "commentsWithBankruptcy",
1369
+ [
1370
+ commentsStepHeadlineLegal(updates),
1371
+ comments(updates.scope, false, {
1372
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1373
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1374
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1375
+ }),
1376
+ // TODO: needs scope support
1377
+ bankruptcyCrossSell(),
1378
+ {
1379
+ $el: "div",
1380
+ if: "$get(CrossSell_Bankruptcy).value == true",
1381
+ children: [
1382
+ comments("CrossSell:Bankruptcy", false, {
1383
+ label: "Bankruptcy or debt details:",
1384
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1385
+ inputClass: "!t-h-16",
1386
+ }),
1387
+ ],
1388
+ },
1389
+ ],
1390
+ { nextOnEnter: false }
1391
+ )
1392
+ }
1393
+
1372
1394
  function contactInfo(updates = {}) {
1373
1395
  return step(
1374
1396
  "contactInfo",
@@ -1430,34 +1452,6 @@ function accidentsAndInjuriesTOLPQuestions(updates = {}) {
1430
1452
  )
1431
1453
  }
1432
1454
 
1433
- function commentsWithBankruptcy(updates = {}) {
1434
- return step(
1435
- "commentsWithBankruptcy",
1436
- [
1437
- commentsStepHeadlineLegal(updates),
1438
- comments(updates.scope, false, {
1439
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1440
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1441
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1442
- }),
1443
- // TODO: needs scope support
1444
- bankruptcyCrossSell(),
1445
- {
1446
- $el: "div",
1447
- if: "$get(CrossSell_Bankruptcy).value == true",
1448
- children: [
1449
- comments("CrossSell:Bankruptcy", false, {
1450
- label: "Bankruptcy or debt details:",
1451
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1452
- inputClass: "!t-h-16",
1453
- }),
1454
- ],
1455
- },
1456
- ],
1457
- { nextOnEnter: false }
1458
- )
1459
- }
1460
-
1461
1455
  function childCustodyCrossSellQuestions(updates = {}) {
1462
1456
  return step(
1463
1457
  "childCustodyCrossSellQuestions",
@@ -1826,7 +1820,7 @@ function subHeadlineDefaults(updates = {}) {
1826
1820
  $el: "h3",
1827
1821
  attrs: {
1828
1822
  class:
1829
- "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" +
1823
+ "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" +
1830
1824
  " " +
1831
1825
  (updates.subheadlineClass || "") +
1832
1826
  " f-first-subheadline",
@@ -2189,78 +2183,129 @@ const TOLPCommentsPlaceholders = {
2189
2183
  };
2190
2184
 
2191
2185
  const TOLPFinalHeadlines = {
2192
- // 'Adoption': '',
2193
- };
2194
-
2195
- const TOLPFinalSubHeadlines = {
2196
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2197
- // 'Asbestos and Mesothelioma': '',
2198
- "Auto and Car Accidents":
2199
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2200
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2201
- // 'Birth Certificate and Name Change': '',
2202
- // 'Business Lawyers': '',
2186
+ Adoption: "Connect With Adoption Professionals Today",
2187
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2188
+ Bankruptcy: "Take Control of Your Financial Future",
2189
+ "Birth Certificate and Name Change": "Start Your Change Today",
2190
+ "Business Lawyers": "Connect With Business Professionals Today",
2191
+ "Child Custody": "Connect With Custody Professionals Today",
2192
+ "Child Support": "Connect With Child Support Professionals",
2203
2193
  // 'Child Custody and Support': '',
2204
- // 'Civil Rights and Discrimination': '',
2205
- // 'Civil Lawsuit': '',
2206
- // 'Consumer Lawyers': '',
2207
- "Copyrights and Trademarks":
2208
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2209
- // 'Criminal and Felony': '',
2210
- // 'Debt and Collections': '',
2211
- "Divorce and Separation":
2212
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2213
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2214
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2215
- // 'Employment and Workplace': '',
2216
- // 'Expungement': '',
2217
- // 'Family Issues': '',
2218
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2219
- Guardianship:
2220
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2221
- // 'Harassment and Discrimination': '',
2222
- // 'Identity Theft': '',
2223
- "Immigration and Visas":
2224
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2225
- // 'Insurance': '',
2226
- "Landlord and Tenant":
2227
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2228
- // 'Lemon Law': '',
2229
- "Long Term Disability":
2230
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2231
- "Medical Malpractice":
2232
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2233
- "Patents and Intellectual Property":
2234
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2235
- "Personal Injury":
2236
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2237
- // 'Power of Attorney': '',
2238
- "Probate and Estates":
2239
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2240
- // 'Product Liability': '',
2241
- // 'Property Damage': '',
2242
- "Real Estate":
2243
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2244
- "Social Security Disability and Insurance":
2245
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2246
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2247
- // 'Traffic and Tickets': '',
2248
- Unemployment:
2249
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2250
- // 'Victim of a Crime': '',
2251
- // 'Wills and Trusts': '',
2252
- "Workers Compensation":
2253
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2254
- // 'Wrongful Death': '',
2255
- // 'Wrongful Termination': '',
2194
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2195
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2196
+ // "Consumer Lawyers": "",
2197
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2198
+ // "Criminal and Felony": "Connect With Legal Help",
2199
+ "Debt and Collections": "Connect With Debt Professionals Today",
2200
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2201
+ "DUI and DWI": "Defend Against DUI Charges",
2202
+ "Elder Law": "Connect With Elder Law Professionals",
2203
+ // "Employment and Workplace": "Connect With Legal Help",
2204
+ Expungement: "Clear Your Record",
2205
+ "Family Issues": "Connect With Family Legal Help",
2206
+ Foreclosure: "Fight to Keep Your Home",
2207
+ Guardianship: "Connect With Guardianship Professionals",
2208
+ // "Harassment and Discrimination": "Connect With Legal Help",
2209
+ // "Identity Theft": "Connect With Legal Help",
2210
+ "Immigration and Visas": "Get Immigration Legal Help",
2211
+ Insurance: "Get Insurance Legal Help",
2212
+ // "Landlord and Tenant": "Connect With Legal Help",
2213
+ "Lemon Law": "Connect With Lemon Law Professionals",
2214
+ "Long Term Disability": "Connect With Disability Professionals",
2215
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2216
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2217
+ "Personal Injury": "Maximize Your Injury Compensation",
2218
+ // "Power of Attorney": "Connect With Legal Help",
2219
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2220
+ "Product Liability": "Get Justice for Faulty Products",
2221
+ // 'Property Damage': 'Connect With Legal Help',
2222
+ "Real Estate": "Connect With Real Estate Professionals",
2223
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2224
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2225
+ "Tax and IRS": "Connect With Tax Legal Help",
2226
+ "Traffic and Tickets": "Protect Your Record Today",
2227
+ Unemployment: "Connect With Unemployment Professionals",
2228
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2229
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2230
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2231
+ "Wrongful Death": "Seek Justice for a Loved One",
2232
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2256
2233
  // 'Not Sure or Other': ''
2257
- // 'Sexual Harassment': '',
2258
2234
  // 'Workplace Harassment': '',
2259
2235
  // 'Non-Workplace Harassment': '',
2260
2236
  // 'Workplace Discrimination': '',
2261
2237
  // 'Non-Workplace Discrimination': '',
2262
2238
  };
2263
2239
 
2240
+ const TOLPFinalSubHeadlines = {
2241
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2242
+ // // 'Asbestos and Mesothelioma': '',
2243
+ // "Auto and Car Accidents":
2244
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2245
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2246
+ // // 'Birth Certificate and Name Change': '',
2247
+ // // 'Business Lawyers': '',
2248
+ // // 'Child Custody and Support': '',
2249
+ // // 'Civil Rights and Discrimination': '',
2250
+ // // 'Civil Lawsuit': '',
2251
+ // // 'Consumer Lawyers': '',
2252
+ // "Copyrights and Trademarks":
2253
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2254
+ // // 'Criminal and Felony': '',
2255
+ // // 'Debt and Collections': '',
2256
+ // "Divorce and Separation":
2257
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2258
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2259
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2260
+ // // 'Employment and Workplace': '',
2261
+ // // 'Expungement': '',
2262
+ // // 'Family Issues': '',
2263
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2264
+ // Guardianship:
2265
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2266
+ // // 'Harassment and Discrimination': '',
2267
+ // // 'Identity Theft': '',
2268
+ // "Immigration and Visas":
2269
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2270
+ // // 'Insurance': '',
2271
+ // "Landlord and Tenant":
2272
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2273
+ // // 'Lemon Law': '',
2274
+ // "Long Term Disability":
2275
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2276
+ // "Medical Malpractice":
2277
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2278
+ // "Patents and Intellectual Property":
2279
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2280
+ // "Personal Injury":
2281
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2282
+ // // 'Power of Attorney': '',
2283
+ // "Probate and Estates":
2284
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2285
+ // // 'Product Liability': '',
2286
+ // // 'Property Damage': '',
2287
+ // "Real Estate":
2288
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2289
+ // "Social Security Disability and Insurance":
2290
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2291
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2292
+ // // 'Traffic and Tickets': '',
2293
+ // Unemployment:
2294
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2295
+ // // 'Victim of a Crime': '',
2296
+ // // 'Wills and Trusts': '',
2297
+ // "Workers Compensation":
2298
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2299
+ // // 'Wrongful Death': '',
2300
+ // // 'Wrongful Termination': '',
2301
+ // // 'Not Sure or Other': ''
2302
+ // // 'Sexual Harassment': '',
2303
+ // // 'Workplace Harassment': '',
2304
+ // // 'Non-Workplace Harassment': '',
2305
+ // // 'Workplace Discrimination': '',
2306
+ // // 'Non-Workplace Discrimination': '',
2307
+ };
2308
+
2264
2309
  const nextStepsMapLegalLegacy = {
2265
2310
  values: {
2266
2311
  "*": ["TOLPQuestions", "commentsWithBankruptcy", "legalCrossSells", "firstAndLast", "contactInfo"],