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",
@@ -926,7 +920,7 @@ const TCPAConsent = (scope, updates = {}) => ({
926
920
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
927
921
  messages: updates.messagesClass ? updates.messagesClass : "",
928
922
  label:
929
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
923
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
930
924
  (updates.labelClass ? " " + updates.labelClass : ""),
931
925
  },
932
926
  });
@@ -1161,7 +1155,7 @@ function verticalStepHeadline(updates) {
1161
1155
  children: updates.headline || "Tell Us About Your Situation",
1162
1156
  attrs: {
1163
1157
  class:
1164
- "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1" +
1158
+ "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1" +
1165
1159
  " " +
1166
1160
  (updates.headlineClass || ""),
1167
1161
  },
@@ -1187,7 +1181,7 @@ function commentsStepHeadline(updates) {
1187
1181
  children: updates.headline || "Additional Details",
1188
1182
  attrs: {
1189
1183
  class:
1190
- "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" +
1184
+ "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" +
1191
1185
  " " +
1192
1186
  (updates.headlineClass || ""),
1193
1187
  },
@@ -1207,7 +1201,7 @@ function firstAndLastStepHeadline(updates) {
1207
1201
  children: updates.headline || "Please Provide a Contact Name",
1208
1202
  attrs: {
1209
1203
  class:
1210
- "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" +
1204
+ "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" +
1211
1205
  " " +
1212
1206
  (updates.headlineClass || ""),
1213
1207
  },
@@ -1220,7 +1214,7 @@ function legalCrossSellsStepHeadline(updates) {
1220
1214
  children: updates.headline || "Do any of the following situations apply?",
1221
1215
  attrs: {
1222
1216
  class:
1223
- "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" +
1217
+ "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" +
1224
1218
  " " +
1225
1219
  (updates.headlineClass || ""),
1226
1220
  },
@@ -1233,7 +1227,7 @@ function contactStepHeadline(updates) {
1233
1227
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
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-3 t-pt-0 t-px-1" +
1230
+ "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" +
1237
1231
  " " +
1238
1232
  (updates.headlineClass || "") +
1239
1233
  " f-contact-info-headline",
@@ -1342,6 +1336,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1342
1336
  )
1343
1337
  }
1344
1338
 
1339
+ function commentsWithBankruptcy(updates = {}) {
1340
+ return step(
1341
+ "commentsWithBankruptcy",
1342
+ [
1343
+ commentsStepHeadlineLegal(updates),
1344
+ comments(updates.scope, false, {
1345
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1346
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1347
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1348
+ }),
1349
+ // TODO: needs scope support
1350
+ bankruptcyCrossSell(),
1351
+ {
1352
+ $el: "div",
1353
+ if: "$get(CrossSell_Bankruptcy).value == true",
1354
+ children: [
1355
+ comments("CrossSell:Bankruptcy", false, {
1356
+ label: "Bankruptcy or debt details:",
1357
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1358
+ inputClass: "!t-h-16",
1359
+ }),
1360
+ ],
1361
+ },
1362
+ ],
1363
+ { nextOnEnter: false }
1364
+ )
1365
+ }
1366
+
1345
1367
  function contactInfo(updates = {}) {
1346
1368
  return step(
1347
1369
  "contactInfo",
@@ -1367,7 +1389,7 @@ function firstAndLastV3(updates = {}) {
1367
1389
  headlineClass: updates.headlineClass,
1368
1390
  }),
1369
1391
  verticalStepSubHeadline({
1370
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1392
+ subheadline: updates.subheadline ?? "We never share info without consent",
1371
1393
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1372
1394
  }),
1373
1395
  firstName(updates.scope),
@@ -1381,34 +1403,6 @@ function zipcode(updates = {}) {
1381
1403
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1382
1404
  }
1383
1405
 
1384
- function commentsWithBankruptcy(updates = {}) {
1385
- return step(
1386
- "commentsWithBankruptcy",
1387
- [
1388
- commentsStepHeadlineLegal(updates),
1389
- comments(updates.scope, false, {
1390
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1391
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1392
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1393
- }),
1394
- // TODO: needs scope support
1395
- bankruptcyCrossSell(),
1396
- {
1397
- $el: "div",
1398
- if: "$get(CrossSell_Bankruptcy).value == true",
1399
- children: [
1400
- comments("CrossSell:Bankruptcy", false, {
1401
- label: "Bankruptcy or debt details:",
1402
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1403
- inputClass: "!t-h-16",
1404
- }),
1405
- ],
1406
- },
1407
- ],
1408
- { nextOnEnter: false }
1409
- )
1410
- }
1411
-
1412
1406
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1413
1407
  return step(
1414
1408
  "autoAndCarAccidentCrossSellQuestions",
@@ -1887,7 +1881,7 @@ function subHeadlineDefaults(updates = {}) {
1887
1881
  $el: "h3",
1888
1882
  attrs: {
1889
1883
  class:
1890
- "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" +
1884
+ "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" +
1891
1885
  " " +
1892
1886
  (updates.subheadlineClass || "") +
1893
1887
  " f-first-subheadline",
@@ -2008,78 +2002,129 @@ const TOLPCommentsPlaceholders = {
2008
2002
  };
2009
2003
 
2010
2004
  const TOLPFinalHeadlines = {
2011
- // 'Adoption': '',
2012
- };
2013
-
2014
- const TOLPFinalSubHeadlines = {
2015
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2016
- // 'Asbestos and Mesothelioma': '',
2017
- "Auto and Car Accidents":
2018
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2019
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2020
- // 'Birth Certificate and Name Change': '',
2021
- // 'Business Lawyers': '',
2005
+ Adoption: "Connect With Adoption Professionals Today",
2006
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2007
+ Bankruptcy: "Take Control of Your Financial Future",
2008
+ "Birth Certificate and Name Change": "Start Your Change Today",
2009
+ "Business Lawyers": "Connect With Business Professionals Today",
2010
+ "Child Custody": "Connect With Custody Professionals Today",
2011
+ "Child Support": "Connect With Child Support Professionals",
2022
2012
  // 'Child Custody and Support': '',
2023
- // 'Civil Rights and Discrimination': '',
2024
- // 'Civil Lawsuit': '',
2025
- // 'Consumer Lawyers': '',
2026
- "Copyrights and Trademarks":
2027
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2028
- // 'Criminal and Felony': '',
2029
- // 'Debt and Collections': '',
2030
- "Divorce and Separation":
2031
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2032
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2033
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2034
- // 'Employment and Workplace': '',
2035
- // 'Expungement': '',
2036
- // 'Family Issues': '',
2037
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2038
- Guardianship:
2039
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2040
- // 'Harassment and Discrimination': '',
2041
- // 'Identity Theft': '',
2042
- "Immigration and Visas":
2043
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2044
- // 'Insurance': '',
2045
- "Landlord and Tenant":
2046
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2047
- // 'Lemon Law': '',
2048
- "Long Term Disability":
2049
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2050
- "Medical Malpractice":
2051
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2052
- "Patents and Intellectual Property":
2053
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2054
- "Personal Injury":
2055
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2056
- // 'Power of Attorney': '',
2057
- "Probate and Estates":
2058
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2059
- // 'Product Liability': '',
2060
- // 'Property Damage': '',
2061
- "Real Estate":
2062
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2063
- "Social Security Disability and Insurance":
2064
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2065
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2066
- // 'Traffic and Tickets': '',
2067
- Unemployment:
2068
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2069
- // 'Victim of a Crime': '',
2070
- // 'Wills and Trusts': '',
2071
- "Workers Compensation":
2072
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2073
- // 'Wrongful Death': '',
2074
- // 'Wrongful Termination': '',
2013
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2014
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2015
+ // "Consumer Lawyers": "",
2016
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2017
+ // "Criminal and Felony": "Connect With Legal Help",
2018
+ "Debt and Collections": "Connect With Debt Professionals Today",
2019
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2020
+ "DUI and DWI": "Defend Against DUI Charges",
2021
+ "Elder Law": "Connect With Elder Law Professionals",
2022
+ // "Employment and Workplace": "Connect With Legal Help",
2023
+ Expungement: "Clear Your Record",
2024
+ "Family Issues": "Connect With Family Legal Help",
2025
+ Foreclosure: "Fight to Keep Your Home",
2026
+ Guardianship: "Connect With Guardianship Professionals",
2027
+ // "Harassment and Discrimination": "Connect With Legal Help",
2028
+ // "Identity Theft": "Connect With Legal Help",
2029
+ "Immigration and Visas": "Get Immigration Legal Help",
2030
+ Insurance: "Get Insurance Legal Help",
2031
+ // "Landlord and Tenant": "Connect With Legal Help",
2032
+ "Lemon Law": "Connect With Lemon Law Professionals",
2033
+ "Long Term Disability": "Connect With Disability Professionals",
2034
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2035
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2036
+ "Personal Injury": "Maximize Your Injury Compensation",
2037
+ // "Power of Attorney": "Connect With Legal Help",
2038
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2039
+ "Product Liability": "Get Justice for Faulty Products",
2040
+ // 'Property Damage': 'Connect With Legal Help',
2041
+ "Real Estate": "Connect With Real Estate Professionals",
2042
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2043
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2044
+ "Tax and IRS": "Connect With Tax Legal Help",
2045
+ "Traffic and Tickets": "Protect Your Record Today",
2046
+ Unemployment: "Connect With Unemployment Professionals",
2047
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2048
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2049
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2050
+ "Wrongful Death": "Seek Justice for a Loved One",
2051
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2075
2052
  // 'Not Sure or Other': ''
2076
- // 'Sexual Harassment': '',
2077
2053
  // 'Workplace Harassment': '',
2078
2054
  // 'Non-Workplace Harassment': '',
2079
2055
  // 'Workplace Discrimination': '',
2080
2056
  // 'Non-Workplace Discrimination': '',
2081
2057
  };
2082
2058
 
2059
+ const TOLPFinalSubHeadlines = {
2060
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2061
+ // // 'Asbestos and Mesothelioma': '',
2062
+ // "Auto and Car Accidents":
2063
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2064
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2065
+ // // 'Birth Certificate and Name Change': '',
2066
+ // // 'Business Lawyers': '',
2067
+ // // 'Child Custody and Support': '',
2068
+ // // 'Civil Rights and Discrimination': '',
2069
+ // // 'Civil Lawsuit': '',
2070
+ // // 'Consumer Lawyers': '',
2071
+ // "Copyrights and Trademarks":
2072
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2073
+ // // 'Criminal and Felony': '',
2074
+ // // 'Debt and Collections': '',
2075
+ // "Divorce and Separation":
2076
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2077
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2078
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2079
+ // // 'Employment and Workplace': '',
2080
+ // // 'Expungement': '',
2081
+ // // 'Family Issues': '',
2082
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2083
+ // Guardianship:
2084
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2085
+ // // 'Harassment and Discrimination': '',
2086
+ // // 'Identity Theft': '',
2087
+ // "Immigration and Visas":
2088
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2089
+ // // 'Insurance': '',
2090
+ // "Landlord and Tenant":
2091
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2092
+ // // 'Lemon Law': '',
2093
+ // "Long Term Disability":
2094
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2095
+ // "Medical Malpractice":
2096
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2097
+ // "Patents and Intellectual Property":
2098
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2099
+ // "Personal Injury":
2100
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2101
+ // // 'Power of Attorney': '',
2102
+ // "Probate and Estates":
2103
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2104
+ // // 'Product Liability': '',
2105
+ // // 'Property Damage': '',
2106
+ // "Real Estate":
2107
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2108
+ // "Social Security Disability and Insurance":
2109
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2110
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2111
+ // // 'Traffic and Tickets': '',
2112
+ // Unemployment:
2113
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2114
+ // // 'Victim of a Crime': '',
2115
+ // // 'Wills and Trusts': '',
2116
+ // "Workers Compensation":
2117
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2118
+ // // 'Wrongful Death': '',
2119
+ // // 'Wrongful Termination': '',
2120
+ // // 'Not Sure or Other': ''
2121
+ // // 'Sexual Harassment': '',
2122
+ // // 'Workplace Harassment': '',
2123
+ // // 'Non-Workplace Harassment': '',
2124
+ // // 'Workplace Discrimination': '',
2125
+ // // 'Non-Workplace Discrimination': '',
2126
+ };
2127
+
2083
2128
  const nextStepsLegalDefault = [
2084
2129
  "haveAttorney",
2085
2130
  "degreeOfInterest",