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",
@@ -176,9 +176,7 @@ const sbsSelect = (updates) => {
176
176
  };
177
177
 
178
178
  const text = (updates) => {
179
- if (updates.name && !updates.id) {
180
- updates.id = updates.name;
181
- }
179
+ ensureIds(updates);
182
180
  return merge(
183
181
  {
184
182
  $formkit: "text",
@@ -206,9 +204,7 @@ const verticalText = (updates) => {
206
204
  };
207
205
 
208
206
  const textArea = (updates) => {
209
- if (updates.name && !updates.id) {
210
- updates.id = updates.name;
211
- }
207
+ ensureIds(updates);
212
208
  return merge(
213
209
  {
214
210
  $formkit: "textarea",
@@ -226,9 +222,7 @@ const textArea = (updates) => {
226
222
  };
227
223
 
228
224
  const date = (updates) => {
229
- if (updates.name && !updates.id) {
230
- updates.id = updates.name;
231
- }
225
+ ensureIds(updates);
232
226
  return merge(
233
227
  {
234
228
  $formkit: "DatePicker",
@@ -767,7 +761,7 @@ const TCPAConsent = (scope, updates = {}) => ({
767
761
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
768
762
  messages: updates.messagesClass ? updates.messagesClass : "",
769
763
  label:
770
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
764
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
771
765
  (updates.labelClass ? " " + updates.labelClass : ""),
772
766
  },
773
767
  });
@@ -985,7 +979,7 @@ function verticalStepHeadline(updates) {
985
979
  children: updates.headline || "Tell Us About Your Situation",
986
980
  attrs: {
987
981
  class:
988
- "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" +
982
+ "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" +
989
983
  " " +
990
984
  (updates.headlineClass || ""),
991
985
  },
@@ -1011,7 +1005,7 @@ function commentsStepHeadline(updates) {
1011
1005
  children: updates.headline || "Additional Details",
1012
1006
  attrs: {
1013
1007
  class:
1014
- "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" +
1008
+ "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" +
1015
1009
  " " +
1016
1010
  (updates.headlineClass || ""),
1017
1011
  },
@@ -1031,7 +1025,7 @@ function firstAndLastStepHeadline(updates) {
1031
1025
  children: updates.headline || "Please Provide a Contact Name",
1032
1026
  attrs: {
1033
1027
  class:
1034
- "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" +
1028
+ "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" +
1035
1029
  " " +
1036
1030
  (updates.headlineClass || ""),
1037
1031
  },
@@ -1044,7 +1038,7 @@ function legalCrossSellsStepHeadline(updates) {
1044
1038
  children: updates.headline || "Do any of the following situations apply?",
1045
1039
  attrs: {
1046
1040
  class:
1047
- "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" +
1041
+ "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" +
1048
1042
  " " +
1049
1043
  (updates.headlineClass || ""),
1050
1044
  },
@@ -1057,7 +1051,7 @@ function contactStepHeadline(updates) {
1057
1051
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1058
1052
  attrs: {
1059
1053
  class:
1060
- "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" +
1054
+ "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" +
1061
1055
  " " +
1062
1056
  (updates.headlineClass || "") +
1063
1057
  " f-contact-info-headline",
@@ -1166,6 +1160,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1166
1160
  )
1167
1161
  }
1168
1162
 
1163
+ function commentsWithBankruptcy(updates = {}) {
1164
+ return step(
1165
+ "commentsWithBankruptcy",
1166
+ [
1167
+ commentsStepHeadlineLegal(updates),
1168
+ comments(updates.scope, false, {
1169
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1170
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1171
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1172
+ }),
1173
+ // TODO: needs scope support
1174
+ bankruptcyCrossSell(),
1175
+ {
1176
+ $el: "div",
1177
+ if: "$get(CrossSell_Bankruptcy).value == true",
1178
+ children: [
1179
+ comments("CrossSell:Bankruptcy", false, {
1180
+ label: "Bankruptcy or debt details:",
1181
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1182
+ inputClass: "!t-h-16",
1183
+ }),
1184
+ ],
1185
+ },
1186
+ ],
1187
+ { nextOnEnter: false }
1188
+ )
1189
+ }
1190
+
1169
1191
  function contactInfo(updates = {}) {
1170
1192
  return step(
1171
1193
  "contactInfo",
@@ -1191,7 +1213,7 @@ function firstAndLastV3(updates = {}) {
1191
1213
  headlineClass: updates.headlineClass,
1192
1214
  }),
1193
1215
  verticalStepSubHeadline({
1194
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1216
+ subheadline: updates.subheadline ?? "We never share info without consent",
1195
1217
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1196
1218
  }),
1197
1219
  firstName(updates.scope),
@@ -1205,34 +1227,6 @@ function zipcode(updates = {}) {
1205
1227
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1206
1228
  }
1207
1229
 
1208
- function commentsWithBankruptcy(updates = {}) {
1209
- return step(
1210
- "commentsWithBankruptcy",
1211
- [
1212
- commentsStepHeadlineLegal(updates),
1213
- comments(updates.scope, false, {
1214
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1215
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1216
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1217
- }),
1218
- // TODO: needs scope support
1219
- bankruptcyCrossSell(),
1220
- {
1221
- $el: "div",
1222
- if: "$get(CrossSell_Bankruptcy).value == true",
1223
- children: [
1224
- comments("CrossSell:Bankruptcy", false, {
1225
- label: "Bankruptcy or debt details:",
1226
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1227
- inputClass: "!t-h-16",
1228
- }),
1229
- ],
1230
- },
1231
- ],
1232
- { nextOnEnter: false }
1233
- )
1234
- }
1235
-
1236
1230
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1237
1231
  return step(
1238
1232
  "autoAndCarAccidentCrossSellQuestions",
@@ -1716,7 +1710,7 @@ function subHeadlineDefaults(updates = {}) {
1716
1710
  $el: "h3",
1717
1711
  attrs: {
1718
1712
  class:
1719
- "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" +
1713
+ "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" +
1720
1714
  " " +
1721
1715
  (updates.subheadlineClass || "") +
1722
1716
  " f-first-subheadline",
@@ -1837,78 +1831,129 @@ const TOLPCommentsPlaceholders = {
1837
1831
  };
1838
1832
 
1839
1833
  const TOLPFinalHeadlines = {
1840
- // 'Adoption': '',
1841
- };
1842
-
1843
- const TOLPFinalSubHeadlines = {
1844
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
1845
- // 'Asbestos and Mesothelioma': '',
1846
- "Auto and Car Accidents":
1847
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
1848
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
1849
- // 'Birth Certificate and Name Change': '',
1850
- // 'Business Lawyers': '',
1834
+ Adoption: "Connect With Adoption Professionals Today",
1835
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
1836
+ Bankruptcy: "Take Control of Your Financial Future",
1837
+ "Birth Certificate and Name Change": "Start Your Change Today",
1838
+ "Business Lawyers": "Connect With Business Professionals Today",
1839
+ "Child Custody": "Connect With Custody Professionals Today",
1840
+ "Child Support": "Connect With Child Support Professionals",
1851
1841
  // 'Child Custody and Support': '',
1852
- // 'Civil Rights and Discrimination': '',
1853
- // 'Civil Lawsuit': '',
1854
- // 'Consumer Lawyers': '',
1855
- "Copyrights and Trademarks":
1856
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
1857
- // 'Criminal and Felony': '',
1858
- // 'Debt and Collections': '',
1859
- "Divorce and Separation":
1860
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
1861
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
1862
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
1863
- // 'Employment and Workplace': '',
1864
- // 'Expungement': '',
1865
- // 'Family Issues': '',
1866
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
1867
- Guardianship:
1868
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
1869
- // 'Harassment and Discrimination': '',
1870
- // 'Identity Theft': '',
1871
- "Immigration and Visas":
1872
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
1873
- // 'Insurance': '',
1874
- "Landlord and Tenant":
1875
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
1876
- // 'Lemon Law': '',
1877
- "Long Term Disability":
1878
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
1879
- "Medical Malpractice":
1880
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
1881
- "Patents and Intellectual Property":
1882
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
1883
- "Personal Injury":
1884
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
1885
- // 'Power of Attorney': '',
1886
- "Probate and Estates":
1887
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
1888
- // 'Product Liability': '',
1889
- // 'Property Damage': '',
1890
- "Real Estate":
1891
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
1892
- "Social Security Disability and Insurance":
1893
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
1894
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
1895
- // 'Traffic and Tickets': '',
1896
- Unemployment:
1897
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
1898
- // 'Victim of a Crime': '',
1899
- // 'Wills and Trusts': '',
1900
- "Workers Compensation":
1901
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
1902
- // 'Wrongful Death': '',
1903
- // 'Wrongful Termination': '',
1842
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
1843
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
1844
+ // "Consumer Lawyers": "",
1845
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
1846
+ // "Criminal and Felony": "Connect With Legal Help",
1847
+ "Debt and Collections": "Connect With Debt Professionals Today",
1848
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
1849
+ "DUI and DWI": "Defend Against DUI Charges",
1850
+ "Elder Law": "Connect With Elder Law Professionals",
1851
+ // "Employment and Workplace": "Connect With Legal Help",
1852
+ Expungement: "Clear Your Record",
1853
+ "Family Issues": "Connect With Family Legal Help",
1854
+ Foreclosure: "Fight to Keep Your Home",
1855
+ Guardianship: "Connect With Guardianship Professionals",
1856
+ // "Harassment and Discrimination": "Connect With Legal Help",
1857
+ // "Identity Theft": "Connect With Legal Help",
1858
+ "Immigration and Visas": "Get Immigration Legal Help",
1859
+ Insurance: "Get Insurance Legal Help",
1860
+ // "Landlord and Tenant": "Connect With Legal Help",
1861
+ "Lemon Law": "Connect With Lemon Law Professionals",
1862
+ "Long Term Disability": "Connect With Disability Professionals",
1863
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
1864
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
1865
+ "Personal Injury": "Maximize Your Injury Compensation",
1866
+ // "Power of Attorney": "Connect With Legal Help",
1867
+ "Probate and Estates": "Manage Probate with Expert Guidance",
1868
+ "Product Liability": "Get Justice for Faulty Products",
1869
+ // 'Property Damage': 'Connect With Legal Help',
1870
+ "Real Estate": "Connect With Real Estate Professionals",
1871
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
1872
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
1873
+ "Tax and IRS": "Connect With Tax Legal Help",
1874
+ "Traffic and Tickets": "Protect Your Record Today",
1875
+ Unemployment: "Connect With Unemployment Professionals",
1876
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
1877
+ "Wills and Trusts": "Plan Your Estate with Confidence",
1878
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
1879
+ "Wrongful Death": "Seek Justice for a Loved One",
1880
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
1904
1881
  // 'Not Sure or Other': ''
1905
- // 'Sexual Harassment': '',
1906
1882
  // 'Workplace Harassment': '',
1907
1883
  // 'Non-Workplace Harassment': '',
1908
1884
  // 'Workplace Discrimination': '',
1909
1885
  // 'Non-Workplace Discrimination': '',
1910
1886
  };
1911
1887
 
1888
+ const TOLPFinalSubHeadlines = {
1889
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
1890
+ // // 'Asbestos and Mesothelioma': '',
1891
+ // "Auto and Car Accidents":
1892
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
1893
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
1894
+ // // 'Birth Certificate and Name Change': '',
1895
+ // // 'Business Lawyers': '',
1896
+ // // 'Child Custody and Support': '',
1897
+ // // 'Civil Rights and Discrimination': '',
1898
+ // // 'Civil Lawsuit': '',
1899
+ // // 'Consumer Lawyers': '',
1900
+ // "Copyrights and Trademarks":
1901
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
1902
+ // // 'Criminal and Felony': '',
1903
+ // // 'Debt and Collections': '',
1904
+ // "Divorce and Separation":
1905
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
1906
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
1907
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
1908
+ // // 'Employment and Workplace': '',
1909
+ // // 'Expungement': '',
1910
+ // // 'Family Issues': '',
1911
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
1912
+ // Guardianship:
1913
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
1914
+ // // 'Harassment and Discrimination': '',
1915
+ // // 'Identity Theft': '',
1916
+ // "Immigration and Visas":
1917
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
1918
+ // // 'Insurance': '',
1919
+ // "Landlord and Tenant":
1920
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
1921
+ // // 'Lemon Law': '',
1922
+ // "Long Term Disability":
1923
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
1924
+ // "Medical Malpractice":
1925
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
1926
+ // "Patents and Intellectual Property":
1927
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
1928
+ // "Personal Injury":
1929
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
1930
+ // // 'Power of Attorney': '',
1931
+ // "Probate and Estates":
1932
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
1933
+ // // 'Product Liability': '',
1934
+ // // 'Property Damage': '',
1935
+ // "Real Estate":
1936
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
1937
+ // "Social Security Disability and Insurance":
1938
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
1939
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
1940
+ // // 'Traffic and Tickets': '',
1941
+ // Unemployment:
1942
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
1943
+ // // 'Victim of a Crime': '',
1944
+ // // 'Wills and Trusts': '',
1945
+ // "Workers Compensation":
1946
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
1947
+ // // 'Wrongful Death': '',
1948
+ // // 'Wrongful Termination': '',
1949
+ // // 'Not Sure or Other': ''
1950
+ // // 'Sexual Harassment': '',
1951
+ // // 'Workplace Harassment': '',
1952
+ // // 'Non-Workplace Harassment': '',
1953
+ // // 'Workplace Discrimination': '',
1954
+ // // 'Non-Workplace Discrimination': '',
1955
+ };
1956
+
1912
1957
  const nextStepsLegalNoDOI = [
1913
1958
  "haveAttorney",
1914
1959
  "commentsWithBankruptcy",