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 =
@@ -21,10 +20,15 @@ const TCPA_LANGUAGE_LEGAL =
21
20
 
22
21
  // ------ Common Base Settings
23
22
 
24
- const checkbox = (updates) => {
25
- if (updates.name && !updates.id) {
26
- updates.id = updates.name;
23
+ const ensureIds = (cfg) => {
24
+ if (cfg.name && !cfg.id) {
25
+ cfg.id = cfg.name;
27
26
  }
27
+ return cfg
28
+ };
29
+
30
+ const checkbox = (updates) => {
31
+ ensureIds(updates);
28
32
  return merge(
29
33
  {
30
34
  $formkit: "checkbox",
@@ -72,9 +76,7 @@ const verticalCol2Checkbox = (updates) => {
72
76
  };
73
77
 
74
78
  const radio = (updates) => {
75
- if (updates.name && !updates.id) {
76
- updates.id = updates.name;
77
- }
79
+ ensureIds(updates);
78
80
  return merge(
79
81
  {
80
82
  $formkit: "radio",
@@ -149,9 +151,7 @@ const verticalYesNoRadio = (updates) => {
149
151
  };
150
152
 
151
153
  const select = (updates) => {
152
- if (updates.name && !updates.id) {
153
- updates.id = updates.name;
154
- }
154
+ ensureIds(updates);
155
155
  return merge(
156
156
  {
157
157
  $formkit: "select",
@@ -179,15 +179,13 @@ const verticalSelect = (updates) => {
179
179
  updates.labelClass = "required";
180
180
  updates.wrapperClass = "t-flex t-justify-center";
181
181
  updates.messagesClass = "t-flex t-justify-center";
182
- updates.inputClass = "t-min-w-[150px] t-bg-white";
182
+ updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
183
183
  updates.helpClass = "t-mt-2.5 t-text-center";
184
184
  return select(updates)
185
185
  };
186
186
 
187
187
  const text = (updates) => {
188
- if (updates.name && !updates.id) {
189
- updates.id = updates.name;
190
- }
188
+ ensureIds(updates);
191
189
  return merge(
192
190
  {
193
191
  $formkit: "text",
@@ -215,9 +213,7 @@ const verticalText = (updates) => {
215
213
  };
216
214
 
217
215
  const textArea = (updates) => {
218
- if (updates.name && !updates.id) {
219
- updates.id = updates.name;
220
- }
216
+ ensureIds(updates);
221
217
  return merge(
222
218
  {
223
219
  $formkit: "textarea",
@@ -235,9 +231,7 @@ const textArea = (updates) => {
235
231
  };
236
232
 
237
233
  const date = (updates) => {
238
- if (updates.name && !updates.id) {
239
- updates.id = updates.name;
240
- }
234
+ ensureIds(updates);
241
235
  return merge(
242
236
  {
243
237
  $formkit: "DatePicker",
@@ -834,7 +828,7 @@ const TCPAConsent = (scope, updates = {}) => ({
834
828
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
835
829
  messages: updates.messagesClass ? updates.messagesClass : "",
836
830
  label:
837
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
831
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
838
832
  (updates.labelClass ? " " + updates.labelClass : ""),
839
833
  },
840
834
  });
@@ -1074,7 +1068,7 @@ function verticalStepHeadline(updates) {
1074
1068
  children: updates.headline || "Tell Us About Your Situation",
1075
1069
  attrs: {
1076
1070
  class:
1077
- "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" +
1071
+ "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" +
1078
1072
  " " +
1079
1073
  (updates.headlineClass || ""),
1080
1074
  },
@@ -1100,7 +1094,7 @@ function commentsStepHeadline(updates) {
1100
1094
  children: updates.headline || "Additional Details",
1101
1095
  attrs: {
1102
1096
  class:
1103
- "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" +
1097
+ "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" +
1104
1098
  " " +
1105
1099
  (updates.headlineClass || ""),
1106
1100
  },
@@ -1120,7 +1114,7 @@ function firstAndLastStepHeadline(updates) {
1120
1114
  children: updates.headline || "Please Provide a Contact Name",
1121
1115
  attrs: {
1122
1116
  class:
1123
- "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" +
1117
+ "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" +
1124
1118
  " " +
1125
1119
  (updates.headlineClass || ""),
1126
1120
  },
@@ -1133,7 +1127,7 @@ function legalCrossSellsStepHeadline(updates) {
1133
1127
  children: updates.headline || "Do any of the following situations apply?",
1134
1128
  attrs: {
1135
1129
  class:
1136
- "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" +
1130
+ "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" +
1137
1131
  " " +
1138
1132
  (updates.headlineClass || ""),
1139
1133
  },
@@ -1146,7 +1140,7 @@ function contactStepHeadline(updates) {
1146
1140
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1147
1141
  attrs: {
1148
1142
  class:
1149
- "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" +
1143
+ "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" +
1150
1144
  " " +
1151
1145
  (updates.headlineClass || "") +
1152
1146
  " f-contact-info-headline",
@@ -1255,6 +1249,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1255
1249
  )
1256
1250
  }
1257
1251
 
1252
+ function commentsWithBankruptcy(updates = {}) {
1253
+ return step(
1254
+ "commentsWithBankruptcy",
1255
+ [
1256
+ commentsStepHeadlineLegal(updates),
1257
+ comments(updates.scope, false, {
1258
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1259
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1260
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1261
+ }),
1262
+ // TODO: needs scope support
1263
+ bankruptcyCrossSell(),
1264
+ {
1265
+ $el: "div",
1266
+ if: "$get(CrossSell_Bankruptcy).value == true",
1267
+ children: [
1268
+ comments("CrossSell:Bankruptcy", false, {
1269
+ label: "Bankruptcy or debt details:",
1270
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1271
+ inputClass: "!t-h-16",
1272
+ }),
1273
+ ],
1274
+ },
1275
+ ],
1276
+ { nextOnEnter: false }
1277
+ )
1278
+ }
1279
+
1258
1280
  function contactInfo(updates = {}) {
1259
1281
  return step(
1260
1282
  "contactInfo",
@@ -1280,7 +1302,7 @@ function firstAndLastV3(updates = {}) {
1280
1302
  headlineClass: updates.headlineClass,
1281
1303
  }),
1282
1304
  verticalStepSubHeadline({
1283
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1305
+ subheadline: updates.subheadline ?? "We never share info without consent",
1284
1306
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1285
1307
  }),
1286
1308
  firstName(updates.scope),
@@ -1294,34 +1316,6 @@ function zipcode(updates = {}) {
1294
1316
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1295
1317
  }
1296
1318
 
1297
- function commentsWithBankruptcy(updates = {}) {
1298
- return step(
1299
- "commentsWithBankruptcy",
1300
- [
1301
- commentsStepHeadlineLegal(updates),
1302
- comments(updates.scope, false, {
1303
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1304
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1305
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1306
- }),
1307
- // TODO: needs scope support
1308
- bankruptcyCrossSell(),
1309
- {
1310
- $el: "div",
1311
- if: "$get(CrossSell_Bankruptcy).value == true",
1312
- children: [
1313
- comments("CrossSell:Bankruptcy", false, {
1314
- label: "Bankruptcy or debt details:",
1315
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1316
- inputClass: "!t-h-16",
1317
- }),
1318
- ],
1319
- },
1320
- ],
1321
- { nextOnEnter: false }
1322
- )
1323
- }
1324
-
1325
1319
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1326
1320
  return step(
1327
1321
  "autoAndCarAccidentCrossSellQuestions",
@@ -1803,7 +1797,7 @@ function subHeadlineDefaults(updates = {}) {
1803
1797
  $el: "h3",
1804
1798
  attrs: {
1805
1799
  class:
1806
- "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" +
1800
+ "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" +
1807
1801
  " " +
1808
1802
  (updates.subheadlineClass || "") +
1809
1803
  " f-first-subheadline",
@@ -1924,78 +1918,129 @@ const TOLPCommentsPlaceholders = {
1924
1918
  };
1925
1919
 
1926
1920
  const TOLPFinalHeadlines = {
1927
- // 'Adoption': '',
1928
- };
1929
-
1930
- const TOLPFinalSubHeadlines = {
1931
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
1932
- // 'Asbestos and Mesothelioma': '',
1933
- "Auto and Car Accidents":
1934
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
1935
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
1936
- // 'Birth Certificate and Name Change': '',
1937
- // 'Business Lawyers': '',
1921
+ Adoption: "Connect With Adoption Professionals Today",
1922
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
1923
+ Bankruptcy: "Take Control of Your Financial Future",
1924
+ "Birth Certificate and Name Change": "Start Your Change Today",
1925
+ "Business Lawyers": "Connect With Business Professionals Today",
1926
+ "Child Custody": "Connect With Custody Professionals Today",
1927
+ "Child Support": "Connect With Child Support Professionals",
1938
1928
  // 'Child Custody and Support': '',
1939
- // 'Civil Rights and Discrimination': '',
1940
- // 'Civil Lawsuit': '',
1941
- // 'Consumer Lawyers': '',
1942
- "Copyrights and Trademarks":
1943
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
1944
- // 'Criminal and Felony': '',
1945
- // 'Debt and Collections': '',
1946
- "Divorce and Separation":
1947
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
1948
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
1949
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
1950
- // 'Employment and Workplace': '',
1951
- // 'Expungement': '',
1952
- // 'Family Issues': '',
1953
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
1954
- Guardianship:
1955
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
1956
- // 'Harassment and Discrimination': '',
1957
- // 'Identity Theft': '',
1958
- "Immigration and Visas":
1959
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
1960
- // 'Insurance': '',
1961
- "Landlord and Tenant":
1962
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
1963
- // 'Lemon Law': '',
1964
- "Long Term Disability":
1965
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
1966
- "Medical Malpractice":
1967
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
1968
- "Patents and Intellectual Property":
1969
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
1970
- "Personal Injury":
1971
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
1972
- // 'Power of Attorney': '',
1973
- "Probate and Estates":
1974
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
1975
- // 'Product Liability': '',
1976
- // 'Property Damage': '',
1977
- "Real Estate":
1978
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
1979
- "Social Security Disability and Insurance":
1980
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
1981
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
1982
- // 'Traffic and Tickets': '',
1983
- Unemployment:
1984
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
1985
- // 'Victim of a Crime': '',
1986
- // 'Wills and Trusts': '',
1987
- "Workers Compensation":
1988
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
1989
- // 'Wrongful Death': '',
1990
- // 'Wrongful Termination': '',
1929
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
1930
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
1931
+ // "Consumer Lawyers": "",
1932
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
1933
+ // "Criminal and Felony": "Connect With Legal Help",
1934
+ "Debt and Collections": "Connect With Debt Professionals Today",
1935
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
1936
+ "DUI and DWI": "Defend Against DUI Charges",
1937
+ "Elder Law": "Connect With Elder Law Professionals",
1938
+ // "Employment and Workplace": "Connect With Legal Help",
1939
+ Expungement: "Clear Your Record",
1940
+ "Family Issues": "Connect With Family Legal Help",
1941
+ Foreclosure: "Fight to Keep Your Home",
1942
+ Guardianship: "Connect With Guardianship Professionals",
1943
+ // "Harassment and Discrimination": "Connect With Legal Help",
1944
+ // "Identity Theft": "Connect With Legal Help",
1945
+ "Immigration and Visas": "Get Immigration Legal Help",
1946
+ Insurance: "Get Insurance Legal Help",
1947
+ // "Landlord and Tenant": "Connect With Legal Help",
1948
+ "Lemon Law": "Connect With Lemon Law Professionals",
1949
+ "Long Term Disability": "Connect With Disability Professionals",
1950
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
1951
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
1952
+ "Personal Injury": "Maximize Your Injury Compensation",
1953
+ // "Power of Attorney": "Connect With Legal Help",
1954
+ "Probate and Estates": "Manage Probate with Expert Guidance",
1955
+ "Product Liability": "Get Justice for Faulty Products",
1956
+ // 'Property Damage': 'Connect With Legal Help',
1957
+ "Real Estate": "Connect With Real Estate Professionals",
1958
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
1959
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
1960
+ "Tax and IRS": "Connect With Tax Legal Help",
1961
+ "Traffic and Tickets": "Protect Your Record Today",
1962
+ Unemployment: "Connect With Unemployment Professionals",
1963
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
1964
+ "Wills and Trusts": "Plan Your Estate with Confidence",
1965
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
1966
+ "Wrongful Death": "Seek Justice for a Loved One",
1967
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
1991
1968
  // 'Not Sure or Other': ''
1992
- // 'Sexual Harassment': '',
1993
1969
  // 'Workplace Harassment': '',
1994
1970
  // 'Non-Workplace Harassment': '',
1995
1971
  // 'Workplace Discrimination': '',
1996
1972
  // 'Non-Workplace Discrimination': '',
1997
1973
  };
1998
1974
 
1975
+ const TOLPFinalSubHeadlines = {
1976
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
1977
+ // // 'Asbestos and Mesothelioma': '',
1978
+ // "Auto and Car Accidents":
1979
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
1980
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
1981
+ // // 'Birth Certificate and Name Change': '',
1982
+ // // 'Business Lawyers': '',
1983
+ // // 'Child Custody and Support': '',
1984
+ // // 'Civil Rights and Discrimination': '',
1985
+ // // 'Civil Lawsuit': '',
1986
+ // // 'Consumer Lawyers': '',
1987
+ // "Copyrights and Trademarks":
1988
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
1989
+ // // 'Criminal and Felony': '',
1990
+ // // 'Debt and Collections': '',
1991
+ // "Divorce and Separation":
1992
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
1993
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
1994
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
1995
+ // // 'Employment and Workplace': '',
1996
+ // // 'Expungement': '',
1997
+ // // 'Family Issues': '',
1998
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
1999
+ // Guardianship:
2000
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2001
+ // // 'Harassment and Discrimination': '',
2002
+ // // 'Identity Theft': '',
2003
+ // "Immigration and Visas":
2004
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2005
+ // // 'Insurance': '',
2006
+ // "Landlord and Tenant":
2007
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2008
+ // // 'Lemon Law': '',
2009
+ // "Long Term Disability":
2010
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2011
+ // "Medical Malpractice":
2012
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2013
+ // "Patents and Intellectual Property":
2014
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2015
+ // "Personal Injury":
2016
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2017
+ // // 'Power of Attorney': '',
2018
+ // "Probate and Estates":
2019
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2020
+ // // 'Product Liability': '',
2021
+ // // 'Property Damage': '',
2022
+ // "Real Estate":
2023
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2024
+ // "Social Security Disability and Insurance":
2025
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2026
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2027
+ // // 'Traffic and Tickets': '',
2028
+ // Unemployment:
2029
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2030
+ // // 'Victim of a Crime': '',
2031
+ // // 'Wills and Trusts': '',
2032
+ // "Workers Compensation":
2033
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2034
+ // // 'Wrongful Death': '',
2035
+ // // 'Wrongful Termination': '',
2036
+ // // 'Not Sure or Other': ''
2037
+ // // 'Sexual Harassment': '',
2038
+ // // 'Workplace Harassment': '',
2039
+ // // 'Non-Workplace Harassment': '',
2040
+ // // 'Workplace Discrimination': '',
2041
+ // // 'Non-Workplace Discrimination': '',
2042
+ };
2043
+
1999
2044
  const nextStepsLegalDefault = [
2000
2045
  "haveAttorney",
2001
2046
  "degreeOfInterest",