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",
@@ -167,9 +171,7 @@ const verticalCol2Checkbox = (updates) => {
167
171
  };
168
172
 
169
173
  const radio = (updates) => {
170
- if (updates.name && !updates.id) {
171
- updates.id = updates.name;
172
- }
174
+ ensureIds(updates);
173
175
  return merge(
174
176
  {
175
177
  $formkit: "radio",
@@ -273,9 +275,7 @@ const verticalRadio = (updates) => {
273
275
  };
274
276
 
275
277
  const select = (updates) => {
276
- if (updates.name && !updates.id) {
277
- updates.id = updates.name;
278
- }
278
+ ensureIds(updates);
279
279
  return merge(
280
280
  {
281
281
  $formkit: "select",
@@ -303,15 +303,13 @@ const verticalSelect = (updates) => {
303
303
  updates.labelClass = "required";
304
304
  updates.wrapperClass = "t-flex t-justify-center";
305
305
  updates.messagesClass = "t-flex t-justify-center";
306
- updates.inputClass = "t-min-w-[150px] t-bg-white";
306
+ updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
307
307
  updates.helpClass = "t-mt-2.5 t-text-center";
308
308
  return select(updates)
309
309
  };
310
310
 
311
311
  const text = (updates) => {
312
- if (updates.name && !updates.id) {
313
- updates.id = updates.name;
314
- }
312
+ ensureIds(updates);
315
313
  return merge(
316
314
  {
317
315
  $formkit: "text",
@@ -339,9 +337,7 @@ const verticalText = (updates) => {
339
337
  };
340
338
 
341
339
  const textArea = (updates) => {
342
- if (updates.name && !updates.id) {
343
- updates.id = updates.name;
344
- }
340
+ ensureIds(updates);
345
341
  return merge(
346
342
  {
347
343
  $formkit: "textarea",
@@ -359,9 +355,7 @@ const textArea = (updates) => {
359
355
  };
360
356
 
361
357
  const date = (updates) => {
362
- if (updates.name && !updates.id) {
363
- updates.id = updates.name;
364
- }
358
+ ensureIds(updates);
365
359
  return merge(
366
360
  {
367
361
  $formkit: "DatePicker",
@@ -2100,7 +2094,7 @@ const TCPAConsent = (scope, updates = {}) => ({
2100
2094
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
2101
2095
  messages: updates.messagesClass ? updates.messagesClass : "",
2102
2096
  label:
2103
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
2097
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
2104
2098
  (updates.labelClass ? " " + updates.labelClass : ""),
2105
2099
  },
2106
2100
  });
@@ -2548,7 +2542,7 @@ function verticalStepHeadline(updates) {
2548
2542
  children: updates.headline || "Tell Us About Your Situation",
2549
2543
  attrs: {
2550
2544
  class:
2551
- "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" +
2545
+ "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" +
2552
2546
  " " +
2553
2547
  (updates.headlineClass || ""),
2554
2548
  },
@@ -2574,7 +2568,7 @@ function commentsStepHeadline(updates) {
2574
2568
  children: updates.headline || "Additional Details",
2575
2569
  attrs: {
2576
2570
  class:
2577
- "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" +
2571
+ "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" +
2578
2572
  " " +
2579
2573
  (updates.headlineClass || ""),
2580
2574
  },
@@ -2594,7 +2588,7 @@ function firstAndLastStepHeadline(updates) {
2594
2588
  children: updates.headline || "Please Provide a Contact Name",
2595
2589
  attrs: {
2596
2590
  class:
2597
- "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" +
2591
+ "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" +
2598
2592
  " " +
2599
2593
  (updates.headlineClass || ""),
2600
2594
  },
@@ -2607,7 +2601,7 @@ function legalCrossSellsStepHeadline(updates) {
2607
2601
  children: updates.headline || "Do any of the following situations apply?",
2608
2602
  attrs: {
2609
2603
  class:
2610
- "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" +
2604
+ "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" +
2611
2605
  " " +
2612
2606
  (updates.headlineClass || ""),
2613
2607
  },
@@ -2620,7 +2614,7 @@ function contactStepHeadline(updates) {
2620
2614
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
2621
2615
  attrs: {
2622
2616
  class:
2623
- "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" +
2617
+ "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" +
2624
2618
  " " +
2625
2619
  (updates.headlineClass || "") +
2626
2620
  " f-contact-info-headline",
@@ -2729,6 +2723,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
2729
2723
  )
2730
2724
  }
2731
2725
 
2726
+ function commentsWithBankruptcy(updates = {}) {
2727
+ return step(
2728
+ "commentsWithBankruptcy",
2729
+ [
2730
+ commentsStepHeadlineLegal(updates),
2731
+ comments(updates.scope, false, {
2732
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
2733
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
2734
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
2735
+ }),
2736
+ // TODO: needs scope support
2737
+ bankruptcyCrossSell(),
2738
+ {
2739
+ $el: "div",
2740
+ if: "$get(CrossSell_Bankruptcy).value == true",
2741
+ children: [
2742
+ comments("CrossSell:Bankruptcy", false, {
2743
+ label: "Bankruptcy or debt details:",
2744
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
2745
+ inputClass: "!t-h-16",
2746
+ }),
2747
+ ],
2748
+ },
2749
+ ],
2750
+ { nextOnEnter: false }
2751
+ )
2752
+ }
2753
+
2732
2754
  function contactInfo(updates = {}) {
2733
2755
  return step(
2734
2756
  "contactInfo",
@@ -2754,7 +2776,7 @@ function firstAndLastV3(updates = {}) {
2754
2776
  headlineClass: updates.headlineClass,
2755
2777
  }),
2756
2778
  verticalStepSubHeadline({
2757
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
2779
+ subheadline: updates.subheadline ?? "We never share info without consent",
2758
2780
  subheadlineClass: "!t-text-sm !t-text-gray-500",
2759
2781
  }),
2760
2782
  firstName(updates.scope),
@@ -2768,34 +2790,6 @@ function zipcode(updates = {}) {
2768
2790
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
2769
2791
  }
2770
2792
 
2771
- function commentsWithBankruptcy(updates = {}) {
2772
- return step(
2773
- "commentsWithBankruptcy",
2774
- [
2775
- commentsStepHeadlineLegal(updates),
2776
- comments(updates.scope, false, {
2777
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
2778
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
2779
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
2780
- }),
2781
- // TODO: needs scope support
2782
- bankruptcyCrossSell(),
2783
- {
2784
- $el: "div",
2785
- if: "$get(CrossSell_Bankruptcy).value == true",
2786
- children: [
2787
- comments("CrossSell:Bankruptcy", false, {
2788
- label: "Bankruptcy or debt details:",
2789
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
2790
- inputClass: "!t-h-16",
2791
- }),
2792
- ],
2793
- },
2794
- ],
2795
- { nextOnEnter: false }
2796
- )
2797
- }
2798
-
2799
2793
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
2800
2794
  return step(
2801
2795
  "autoAndCarAccidentCrossSellQuestions",
@@ -3964,7 +3958,7 @@ function subHeadlineDefaults(updates = {}) {
3964
3958
  $el: "h3",
3965
3959
  attrs: {
3966
3960
  class:
3967
- "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" +
3961
+ "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" +
3968
3962
  " " +
3969
3963
  (updates.subheadlineClass || "") +
3970
3964
  " f-first-subheadline",
@@ -4327,78 +4321,129 @@ const TOLPCommentsPlaceholders = {
4327
4321
  };
4328
4322
 
4329
4323
  const TOLPFinalHeadlines = {
4330
- // 'Adoption': '',
4331
- };
4332
-
4333
- const TOLPFinalSubHeadlines = {
4334
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
4335
- // 'Asbestos and Mesothelioma': '',
4336
- "Auto and Car Accidents":
4337
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
4338
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
4339
- // 'Birth Certificate and Name Change': '',
4340
- // 'Business Lawyers': '',
4324
+ Adoption: "Connect With Adoption Professionals Today",
4325
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
4326
+ Bankruptcy: "Take Control of Your Financial Future",
4327
+ "Birth Certificate and Name Change": "Start Your Change Today",
4328
+ "Business Lawyers": "Connect With Business Professionals Today",
4329
+ "Child Custody": "Connect With Custody Professionals Today",
4330
+ "Child Support": "Connect With Child Support Professionals",
4341
4331
  // 'Child Custody and Support': '',
4342
- // 'Civil Rights and Discrimination': '',
4343
- // 'Civil Lawsuit': '',
4344
- // 'Consumer Lawyers': '',
4345
- "Copyrights and Trademarks":
4346
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
4347
- // 'Criminal and Felony': '',
4348
- // 'Debt and Collections': '',
4349
- "Divorce and Separation":
4350
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
4351
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
4352
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
4353
- // 'Employment and Workplace': '',
4354
- // 'Expungement': '',
4355
- // 'Family Issues': '',
4356
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
4357
- Guardianship:
4358
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
4359
- // 'Harassment and Discrimination': '',
4360
- // 'Identity Theft': '',
4361
- "Immigration and Visas":
4362
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
4363
- // 'Insurance': '',
4364
- "Landlord and Tenant":
4365
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
4366
- // 'Lemon Law': '',
4367
- "Long Term Disability":
4368
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
4369
- "Medical Malpractice":
4370
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
4371
- "Patents and Intellectual Property":
4372
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
4373
- "Personal Injury":
4374
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
4375
- // 'Power of Attorney': '',
4376
- "Probate and Estates":
4377
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
4378
- // 'Product Liability': '',
4379
- // 'Property Damage': '',
4380
- "Real Estate":
4381
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
4382
- "Social Security Disability and Insurance":
4383
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
4384
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
4385
- // 'Traffic and Tickets': '',
4386
- Unemployment:
4387
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
4388
- // 'Victim of a Crime': '',
4389
- // 'Wills and Trusts': '',
4390
- "Workers Compensation":
4391
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
4392
- // 'Wrongful Death': '',
4393
- // 'Wrongful Termination': '',
4332
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
4333
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
4334
+ // "Consumer Lawyers": "",
4335
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
4336
+ // "Criminal and Felony": "Connect With Legal Help",
4337
+ "Debt and Collections": "Connect With Debt Professionals Today",
4338
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
4339
+ "DUI and DWI": "Defend Against DUI Charges",
4340
+ "Elder Law": "Connect With Elder Law Professionals",
4341
+ // "Employment and Workplace": "Connect With Legal Help",
4342
+ Expungement: "Clear Your Record",
4343
+ "Family Issues": "Connect With Family Legal Help",
4344
+ Foreclosure: "Fight to Keep Your Home",
4345
+ Guardianship: "Connect With Guardianship Professionals",
4346
+ // "Harassment and Discrimination": "Connect With Legal Help",
4347
+ // "Identity Theft": "Connect With Legal Help",
4348
+ "Immigration and Visas": "Get Immigration Legal Help",
4349
+ Insurance: "Get Insurance Legal Help",
4350
+ // "Landlord and Tenant": "Connect With Legal Help",
4351
+ "Lemon Law": "Connect With Lemon Law Professionals",
4352
+ "Long Term Disability": "Connect With Disability Professionals",
4353
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
4354
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
4355
+ "Personal Injury": "Maximize Your Injury Compensation",
4356
+ // "Power of Attorney": "Connect With Legal Help",
4357
+ "Probate and Estates": "Manage Probate with Expert Guidance",
4358
+ "Product Liability": "Get Justice for Faulty Products",
4359
+ // 'Property Damage': 'Connect With Legal Help',
4360
+ "Real Estate": "Connect With Real Estate Professionals",
4361
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
4362
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
4363
+ "Tax and IRS": "Connect With Tax Legal Help",
4364
+ "Traffic and Tickets": "Protect Your Record Today",
4365
+ Unemployment: "Connect With Unemployment Professionals",
4366
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
4367
+ "Wills and Trusts": "Plan Your Estate with Confidence",
4368
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
4369
+ "Wrongful Death": "Seek Justice for a Loved One",
4370
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
4394
4371
  // 'Not Sure or Other': ''
4395
- // 'Sexual Harassment': '',
4396
4372
  // 'Workplace Harassment': '',
4397
4373
  // 'Non-Workplace Harassment': '',
4398
4374
  // 'Workplace Discrimination': '',
4399
4375
  // 'Non-Workplace Discrimination': '',
4400
4376
  };
4401
4377
 
4378
+ const TOLPFinalSubHeadlines = {
4379
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
4380
+ // // 'Asbestos and Mesothelioma': '',
4381
+ // "Auto and Car Accidents":
4382
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
4383
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
4384
+ // // 'Birth Certificate and Name Change': '',
4385
+ // // 'Business Lawyers': '',
4386
+ // // 'Child Custody and Support': '',
4387
+ // // 'Civil Rights and Discrimination': '',
4388
+ // // 'Civil Lawsuit': '',
4389
+ // // 'Consumer Lawyers': '',
4390
+ // "Copyrights and Trademarks":
4391
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
4392
+ // // 'Criminal and Felony': '',
4393
+ // // 'Debt and Collections': '',
4394
+ // "Divorce and Separation":
4395
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
4396
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
4397
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
4398
+ // // 'Employment and Workplace': '',
4399
+ // // 'Expungement': '',
4400
+ // // 'Family Issues': '',
4401
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
4402
+ // Guardianship:
4403
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
4404
+ // // 'Harassment and Discrimination': '',
4405
+ // // 'Identity Theft': '',
4406
+ // "Immigration and Visas":
4407
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
4408
+ // // 'Insurance': '',
4409
+ // "Landlord and Tenant":
4410
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
4411
+ // // 'Lemon Law': '',
4412
+ // "Long Term Disability":
4413
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
4414
+ // "Medical Malpractice":
4415
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
4416
+ // "Patents and Intellectual Property":
4417
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
4418
+ // "Personal Injury":
4419
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
4420
+ // // 'Power of Attorney': '',
4421
+ // "Probate and Estates":
4422
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
4423
+ // // 'Product Liability': '',
4424
+ // // 'Property Damage': '',
4425
+ // "Real Estate":
4426
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
4427
+ // "Social Security Disability and Insurance":
4428
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
4429
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
4430
+ // // 'Traffic and Tickets': '',
4431
+ // Unemployment:
4432
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
4433
+ // // 'Victim of a Crime': '',
4434
+ // // 'Wills and Trusts': '',
4435
+ // "Workers Compensation":
4436
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
4437
+ // // 'Wrongful Death': '',
4438
+ // // 'Wrongful Termination': '',
4439
+ // // 'Not Sure or Other': ''
4440
+ // // 'Sexual Harassment': '',
4441
+ // // 'Workplace Harassment': '',
4442
+ // // 'Non-Workplace Harassment': '',
4443
+ // // 'Workplace Discrimination': '',
4444
+ // // 'Non-Workplace Discrimination': '',
4445
+ };
4446
+
4402
4447
  const nextStepsLegalDefault = [
4403
4448
  "haveAttorney",
4404
4449
  "degreeOfInterest",