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
@@ -15,10 +15,17 @@ const DEFAULT_COMMENTS_LABEL = "Please briefly describe your issue in a few word
15
15
  const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC =
16
16
  '$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)';
17
17
 
18
- const textArea = (updates) => {
19
- if (updates.name && !updates.id) {
20
- updates.id = updates.name;
18
+ // ------ Common Base Settings
19
+
20
+ const ensureIds = (cfg) => {
21
+ if (cfg.name && !cfg.id) {
22
+ cfg.id = cfg.name;
21
23
  }
24
+ return cfg
25
+ };
26
+
27
+ const textArea = (updates) => {
28
+ ensureIds(updates);
22
29
  return merge(
23
30
  {
24
31
  $formkit: "textarea",
@@ -283,7 +290,7 @@ function subHeadlineDefaults(updates = {}) {
283
290
  $el: "h3",
284
291
  attrs: {
285
292
  class:
286
- "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" +
293
+ "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" +
287
294
  " " +
288
295
  (updates.subheadlineClass || "") +
289
296
  " f-first-subheadline",
@@ -1 +1 @@
1
- var coins=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(t,r,n)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},n)),r="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",n="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",i=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,s=e=>{if(i(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const r=e.children[t];if(i(r))return r;const n=s(r);if(n)return n}return null},l=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const a={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const o=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},m),{$cmp:"FormKit",props:function(t){const r=e(a,t);return r.formId&&!r.name&&(r.name=r.formId),r}({formId:"coins",redirectMap:{"*":(d="answers-now.com",p="Appraisals",u="Coins",function(e,t,r,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(r)}(d,p,u)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"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 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Coin Valuations In Minutes!")',if:"$activeStep === $firstStep()"}),...o,{$el:"div",attrs:{class:"form-body"},children:[function(i={}){return function(t,i,a={}){const{nextOnEnter:o=!0,nextOnInput:c=!1,stepKey:d,nextStepMap:p,triggerRedirectMap:u,autoFocus:m}=a;if(i&&i.length&&(o||c)){const e=s(i[i.length-1]);e&&!0===o&&(e.onKeypress=r),e&&!0===c&&(e.onInput=n)}return e(l(t,d),{children:[{$formkit:"group",id:t,name:t,nextStepMap:p,triggerRedirectMap:u,autoFocus:m,children:i}]})}("comments",[t(i.scope,0,{label:i.label||"Please briefly describe your issue in a few words:",placeholder:i.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],i)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised."',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var d,p,u,m;return c}();
1
+ var coins=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(t,r,n)=>(t=>{var r;return(r=t).name&&!r.id&&(r.id=r.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)})(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},n)),r="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",n="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",i=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,s=e=>{if(i(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const r=e.children[t];if(i(r))return r;const n=s(r);if(n)return n}return null},l=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const a={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const o=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},m),{$cmp:"FormKit",props:function(t){const r=e(a,t);return r.formId&&!r.name&&(r.name=r.formId),r}({formId:"coins",redirectMap:{"*":(d="answers-now.com",p="Appraisals",u="Coins",function(e,t,r,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(r)}(d,p,u)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"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 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Coin Valuations In Minutes!")',if:"$activeStep === $firstStep()"}),...o,{$el:"div",attrs:{class:"form-body"},children:[function(i={}){return function(t,i,a={}){const{nextOnEnter:o=!0,nextOnInput:c=!1,stepKey:d,nextStepMap:p,triggerRedirectMap:u,autoFocus:m}=a;if(i&&i.length&&(o||c)){const e=s(i[i.length-1]);e&&!0===o&&(e.onKeypress=r),e&&!0===c&&(e.onInput=n)}return e(l(t,d),{children:[{$formkit:"group",id:t,name:t,nextStepMap:p,triggerRedirectMap:u,autoFocus:m,children:i}]})}("comments",[t(i.scope,0,{label:i.label||"Please briefly describe your issue in a few words:",placeholder:i.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],i)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised."',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var d,p,u,m;return c}();
@@ -1 +1 @@
1
- [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"coins","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Coins&Comments=${properties.Comments}"},"name":"coins"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"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 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Coin Valuations In Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised.\"","id":"Comments"}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"hidden_button","children":"Hidden","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now"}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
1
+ [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"coins","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Coins&Comments=${properties.Comments}"},"name":"coins"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"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 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Coin Valuations In Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised.\"","id":"Comments"}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","name":"hidden_button","children":"Hidden","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now"}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
@@ -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",
@@ -945,7 +939,7 @@ const TCPAConsent = (scope, updates = {}) => ({
945
939
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
946
940
  messages: updates.messagesClass ? updates.messagesClass : "",
947
941
  label:
948
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
942
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
949
943
  (updates.labelClass ? " " + updates.labelClass : ""),
950
944
  },
951
945
  });
@@ -1240,7 +1234,7 @@ function commentsStepHeadline(updates) {
1240
1234
  children: updates.headline || "Additional Details",
1241
1235
  attrs: {
1242
1236
  class:
1243
- "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" +
1237
+ "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" +
1244
1238
  " " +
1245
1239
  (updates.headlineClass || ""),
1246
1240
  },
@@ -1260,7 +1254,7 @@ function firstAndLastStepHeadline(updates) {
1260
1254
  children: updates.headline || "Please Provide a Contact Name",
1261
1255
  attrs: {
1262
1256
  class:
1263
- "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" +
1257
+ "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" +
1264
1258
  " " +
1265
1259
  (updates.headlineClass || ""),
1266
1260
  },
@@ -1273,7 +1267,7 @@ function legalCrossSellsStepHeadline(updates) {
1273
1267
  children: updates.headline || "Do any of the following situations apply?",
1274
1268
  attrs: {
1275
1269
  class:
1276
- "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" +
1270
+ "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" +
1277
1271
  " " +
1278
1272
  (updates.headlineClass || ""),
1279
1273
  },
@@ -1286,7 +1280,7 @@ function contactStepHeadline(updates) {
1286
1280
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1287
1281
  attrs: {
1288
1282
  class:
1289
- "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" +
1283
+ "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" +
1290
1284
  " " +
1291
1285
  (updates.headlineClass || "") +
1292
1286
  " f-contact-info-headline",
@@ -1376,6 +1370,34 @@ function step(name, inputs, updates = {}) {
1376
1370
  })
1377
1371
  }
1378
1372
 
1373
+ function commentsWithBankruptcy(updates = {}) {
1374
+ return step(
1375
+ "commentsWithBankruptcy",
1376
+ [
1377
+ commentsStepHeadlineLegal(updates),
1378
+ comments(updates.scope, false, {
1379
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1380
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1381
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1382
+ }),
1383
+ // TODO: needs scope support
1384
+ bankruptcyCrossSell(),
1385
+ {
1386
+ $el: "div",
1387
+ if: "$get(CrossSell_Bankruptcy).value == true",
1388
+ children: [
1389
+ comments("CrossSell:Bankruptcy", false, {
1390
+ label: "Bankruptcy or debt details:",
1391
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1392
+ inputClass: "!t-h-16",
1393
+ }),
1394
+ ],
1395
+ },
1396
+ ],
1397
+ { nextOnEnter: false }
1398
+ )
1399
+ }
1400
+
1379
1401
  function contactInfo(updates = {}) {
1380
1402
  return step(
1381
1403
  "contactInfo",
@@ -1423,34 +1445,6 @@ function contractsTOLPAndZip(updates = {}) {
1423
1445
  )
1424
1446
  }
1425
1447
 
1426
- function commentsWithBankruptcy(updates = {}) {
1427
- return step(
1428
- "commentsWithBankruptcy",
1429
- [
1430
- commentsStepHeadlineLegal(updates),
1431
- comments(updates.scope, false, {
1432
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1433
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1434
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1435
- }),
1436
- // TODO: needs scope support
1437
- bankruptcyCrossSell(),
1438
- {
1439
- $el: "div",
1440
- if: "$get(CrossSell_Bankruptcy).value == true",
1441
- children: [
1442
- comments("CrossSell:Bankruptcy", false, {
1443
- label: "Bankruptcy or debt details:",
1444
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1445
- inputClass: "!t-h-16",
1446
- }),
1447
- ],
1448
- },
1449
- ],
1450
- { nextOnEnter: false }
1451
- )
1452
- }
1453
-
1454
1448
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1455
1449
  return step(
1456
1450
  "autoAndCarAccidentCrossSellQuestions",
@@ -1869,7 +1863,7 @@ function subHeadlineDefaults(updates = {}) {
1869
1863
  $el: "h3",
1870
1864
  attrs: {
1871
1865
  class:
1872
- "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" +
1866
+ "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" +
1873
1867
  " " +
1874
1868
  (updates.subheadlineClass || "") +
1875
1869
  " f-first-subheadline",
@@ -1990,78 +1984,129 @@ const TOLPCommentsPlaceholders = {
1990
1984
  };
1991
1985
 
1992
1986
  const TOLPFinalHeadlines = {
1993
- // 'Adoption': '',
1994
- };
1995
-
1996
- const TOLPFinalSubHeadlines = {
1997
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
1998
- // 'Asbestos and Mesothelioma': '',
1999
- "Auto and Car Accidents":
2000
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2001
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2002
- // 'Birth Certificate and Name Change': '',
2003
- // 'Business Lawyers': '',
1987
+ Adoption: "Connect With Adoption Professionals Today",
1988
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
1989
+ Bankruptcy: "Take Control of Your Financial Future",
1990
+ "Birth Certificate and Name Change": "Start Your Change Today",
1991
+ "Business Lawyers": "Connect With Business Professionals Today",
1992
+ "Child Custody": "Connect With Custody Professionals Today",
1993
+ "Child Support": "Connect With Child Support Professionals",
2004
1994
  // 'Child Custody and Support': '',
2005
- // 'Civil Rights and Discrimination': '',
2006
- // 'Civil Lawsuit': '',
2007
- // 'Consumer Lawyers': '',
2008
- "Copyrights and Trademarks":
2009
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2010
- // 'Criminal and Felony': '',
2011
- // 'Debt and Collections': '',
2012
- "Divorce and Separation":
2013
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2014
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2015
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2016
- // 'Employment and Workplace': '',
2017
- // 'Expungement': '',
2018
- // 'Family Issues': '',
2019
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2020
- Guardianship:
2021
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2022
- // 'Harassment and Discrimination': '',
2023
- // 'Identity Theft': '',
2024
- "Immigration and Visas":
2025
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2026
- // 'Insurance': '',
2027
- "Landlord and Tenant":
2028
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2029
- // 'Lemon Law': '',
2030
- "Long Term Disability":
2031
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2032
- "Medical Malpractice":
2033
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2034
- "Patents and Intellectual Property":
2035
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2036
- "Personal Injury":
2037
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2038
- // 'Power of Attorney': '',
2039
- "Probate and Estates":
2040
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2041
- // 'Product Liability': '',
2042
- // 'Property Damage': '',
2043
- "Real Estate":
2044
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2045
- "Social Security Disability and Insurance":
2046
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2047
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2048
- // 'Traffic and Tickets': '',
2049
- Unemployment:
2050
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2051
- // 'Victim of a Crime': '',
2052
- // 'Wills and Trusts': '',
2053
- "Workers Compensation":
2054
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2055
- // 'Wrongful Death': '',
2056
- // 'Wrongful Termination': '',
1995
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
1996
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
1997
+ // "Consumer Lawyers": "",
1998
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
1999
+ // "Criminal and Felony": "Connect With Legal Help",
2000
+ "Debt and Collections": "Connect With Debt Professionals Today",
2001
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2002
+ "DUI and DWI": "Defend Against DUI Charges",
2003
+ "Elder Law": "Connect With Elder Law Professionals",
2004
+ // "Employment and Workplace": "Connect With Legal Help",
2005
+ Expungement: "Clear Your Record",
2006
+ "Family Issues": "Connect With Family Legal Help",
2007
+ Foreclosure: "Fight to Keep Your Home",
2008
+ Guardianship: "Connect With Guardianship Professionals",
2009
+ // "Harassment and Discrimination": "Connect With Legal Help",
2010
+ // "Identity Theft": "Connect With Legal Help",
2011
+ "Immigration and Visas": "Get Immigration Legal Help",
2012
+ Insurance: "Get Insurance Legal Help",
2013
+ // "Landlord and Tenant": "Connect With Legal Help",
2014
+ "Lemon Law": "Connect With Lemon Law Professionals",
2015
+ "Long Term Disability": "Connect With Disability Professionals",
2016
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2017
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2018
+ "Personal Injury": "Maximize Your Injury Compensation",
2019
+ // "Power of Attorney": "Connect With Legal Help",
2020
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2021
+ "Product Liability": "Get Justice for Faulty Products",
2022
+ // 'Property Damage': 'Connect With Legal Help',
2023
+ "Real Estate": "Connect With Real Estate Professionals",
2024
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2025
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2026
+ "Tax and IRS": "Connect With Tax Legal Help",
2027
+ "Traffic and Tickets": "Protect Your Record Today",
2028
+ Unemployment: "Connect With Unemployment Professionals",
2029
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2030
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2031
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2032
+ "Wrongful Death": "Seek Justice for a Loved One",
2033
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2057
2034
  // 'Not Sure or Other': ''
2058
- // 'Sexual Harassment': '',
2059
2035
  // 'Workplace Harassment': '',
2060
2036
  // 'Non-Workplace Harassment': '',
2061
2037
  // 'Workplace Discrimination': '',
2062
2038
  // 'Non-Workplace Discrimination': '',
2063
2039
  };
2064
2040
 
2041
+ const TOLPFinalSubHeadlines = {
2042
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2043
+ // // 'Asbestos and Mesothelioma': '',
2044
+ // "Auto and Car Accidents":
2045
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2046
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2047
+ // // 'Birth Certificate and Name Change': '',
2048
+ // // 'Business Lawyers': '',
2049
+ // // 'Child Custody and Support': '',
2050
+ // // 'Civil Rights and Discrimination': '',
2051
+ // // 'Civil Lawsuit': '',
2052
+ // // 'Consumer Lawyers': '',
2053
+ // "Copyrights and Trademarks":
2054
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2055
+ // // 'Criminal and Felony': '',
2056
+ // // 'Debt and Collections': '',
2057
+ // "Divorce and Separation":
2058
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2059
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2060
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2061
+ // // 'Employment and Workplace': '',
2062
+ // // 'Expungement': '',
2063
+ // // 'Family Issues': '',
2064
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2065
+ // Guardianship:
2066
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2067
+ // // 'Harassment and Discrimination': '',
2068
+ // // 'Identity Theft': '',
2069
+ // "Immigration and Visas":
2070
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2071
+ // // 'Insurance': '',
2072
+ // "Landlord and Tenant":
2073
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2074
+ // // 'Lemon Law': '',
2075
+ // "Long Term Disability":
2076
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2077
+ // "Medical Malpractice":
2078
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2079
+ // "Patents and Intellectual Property":
2080
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2081
+ // "Personal Injury":
2082
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2083
+ // // 'Power of Attorney': '',
2084
+ // "Probate and Estates":
2085
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2086
+ // // 'Product Liability': '',
2087
+ // // 'Property Damage': '',
2088
+ // "Real Estate":
2089
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2090
+ // "Social Security Disability and Insurance":
2091
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2092
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2093
+ // // 'Traffic and Tickets': '',
2094
+ // Unemployment:
2095
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2096
+ // // 'Victim of a Crime': '',
2097
+ // // 'Wills and Trusts': '',
2098
+ // "Workers Compensation":
2099
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2100
+ // // 'Wrongful Death': '',
2101
+ // // 'Wrongful Termination': '',
2102
+ // // 'Not Sure or Other': ''
2103
+ // // 'Sexual Harassment': '',
2104
+ // // 'Workplace Harassment': '',
2105
+ // // 'Non-Workplace Harassment': '',
2106
+ // // 'Workplace Discrimination': '',
2107
+ // // 'Non-Workplace Discrimination': '',
2108
+ };
2109
+
2065
2110
  const nextStepsMapLegalLegacy = {
2066
2111
  values: {
2067
2112
  "*": ["TOLPQuestions", "commentsWithBankruptcy", "legalCrossSells", "firstAndLast", "contactInfo"],