bhl-forms 0.2.8 → 0.3.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 (70) hide show
  1. package/dist/bhl-forms.es.js +1013 -590
  2. package/dist/bhl-forms.iife.js +7 -7
  3. package/dist/bhl-forms.modern.es.js +1710 -1221
  4. package/dist/bhl-forms.modern.iife.js +10 -10
  5. package/dist/bhl-forms.modern.umd.js +10 -10
  6. package/dist/bhl-forms.umd.js +7 -7
  7. package/dist/forms/accidentsAndInjuries.es.js +47 -47
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/appraisals.es.js +2 -2
  11. package/dist/forms/appraisals.iife.js +1 -1
  12. package/dist/forms/childAndFamily.es.js +48 -48
  13. package/dist/forms/childAndFamily.iife.js +1 -1
  14. package/dist/forms/childAndFamily.json +1 -1
  15. package/dist/forms/civilLawsuit.es.js +49 -48
  16. package/dist/forms/civilLawsuit.iife.js +1 -1
  17. package/dist/forms/civilLawsuit.json +1 -1
  18. package/dist/forms/coins.es.js +2 -2
  19. package/dist/forms/coins.iife.js +1 -1
  20. package/dist/forms/contracts.es.js +13 -13
  21. package/dist/forms/contracts.iife.js +1 -1
  22. package/dist/forms/contracts.json +1 -1
  23. package/dist/forms/criminal.es.js +169 -169
  24. package/dist/forms/criminal.iife.js +1 -1
  25. package/dist/forms/criminal.json +1 -1
  26. package/dist/forms/employmentAndWorkplace.es.js +41 -41
  27. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  28. package/dist/forms/employmentAndWorkplace.json +1 -1
  29. package/dist/forms/generalLegal.es.js +310 -176
  30. package/dist/forms/generalLegal.iife.js +1 -1
  31. package/dist/forms/generalLegal.json +1 -1
  32. package/dist/forms/generalLegalPopUnder.es.js +177 -176
  33. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  34. package/dist/forms/generalLegalPopUnder.json +1 -1
  35. package/dist/forms/generalLegalPopUnderTF.es.js +169 -169
  36. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  37. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  38. package/dist/forms/generalLegalThankYou.es.js +169 -169
  39. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  40. package/dist/forms/generalLegalThankYou.json +1 -1
  41. package/dist/forms/harassmentAndDiscrimination.es.js +13 -13
  42. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  43. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  44. package/dist/forms/malpractice.es.js +19 -19
  45. package/dist/forms/malpractice.iife.js +1 -1
  46. package/dist/forms/malpractice.json +1 -1
  47. package/dist/forms/mechanics.es.js +2 -2
  48. package/dist/forms/mechanics.iife.js +1 -1
  49. package/dist/forms/realEstate.es.js +169 -169
  50. package/dist/forms/realEstate.iife.js +1 -1
  51. package/dist/forms/realEstate.json +1 -1
  52. package/dist/forms/repossession.es.js +15 -15
  53. package/dist/forms/repossession.iife.js +1 -1
  54. package/dist/forms/repossession.json +1 -1
  55. package/dist/forms/ssdi.es.js +7 -7
  56. package/dist/forms/ssdi.iife.js +1 -1
  57. package/dist/forms/ssdi.json +1 -1
  58. package/dist/forms/testForm.es.js +3 -3
  59. package/dist/forms/testForm.iife.js +1 -1
  60. package/dist/forms/testForm.json +1 -1
  61. package/dist/forms/testRedirects.es.js +2 -2
  62. package/dist/forms/testRedirects.iife.js +1 -1
  63. package/dist/forms/vets.es.js +5 -2
  64. package/dist/forms/vets.iife.js +1 -1
  65. package/dist/forms/vets.json +1 -1
  66. package/dist/forms/willsAndTrusts.es.js +41 -41
  67. package/dist/forms/willsAndTrusts.iife.js +1 -1
  68. package/dist/forms/willsAndTrusts.json +1 -1
  69. package/dist/main.css +1 -1
  70. package/package.json +4 -4
@@ -1 +1 @@
1
- var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",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 r=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],i=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),n="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",l="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",s=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,a=e=>{if(s(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(s(r))return r;const i=a(r);if(i)return i}return null},o=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});const c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},u),{$cmp:"FormKit",props:function(r){return e(t,r)}({formId:"appraisals",redirectMap:{"*":(d="answers-now.com",p="Appraisals",function(e,t){return"https://listings."+e+"/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&category="+encodeURIComponent(t)}(d,p)+"&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||"")}}}(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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Get a Valuation Within Minutes!")',if:"$activeStep === $firstStep()"}),...r,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,r,i=!0,s=!1){if(void 0===i&&(i=!0),r&&r.length&&(i||s)){const e=a(r[r.length-1]);!0===i&&(e.onKeypress=n),!0===s&&(e.onInput=l)}return e(o(t),{children:[{$formkit:"group",id:t,name:t,children:r}]})}("comments",[i({label:t.label||"Please briefly describe your legal issue in a few words:",placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)'})],t.nextOnEnter)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a vintage painting, old coins, and a fine china set I would like appraised"',nextOnEnter:!1}),{$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"}}]}]}]}];var d,p,u;return c}();
1
+ var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",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 r=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],i=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),n="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",l="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",s=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,a=e=>{if(s(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(s(r))return r;const i=a(r);if(i)return i}return null},o=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});const c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},u),{$cmp:"FormKit",props:function(r){return e(t,r)}({formId:"appraisals",redirectMap:{"*":(d="answers-now.com",p="Appraisals",function(e,t){return"https://listings."+e+"/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&category="+encodeURIComponent(t)}(d,p)+"&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||"")}}}(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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Get a Valuation Within Minutes!")',if:"$activeStep === $firstStep()"}),...r,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,r,i=!0,s=!1){if(void 0===i&&(i=!0),r&&r.length&&(i||s)){const e=a(r[r.length-1]);e&&!0===i&&(e.onKeypress=n),e&&!0===s&&(e.onInput=l)}return e(o(t),{children:[{$formkit:"group",id:t,name:t,children:r}]})}("comments",[i({label:t.label||"Please briefly describe your legal issue in a few words:",placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)'})],t.nextOnEnter)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a vintage painting, old coins, and a fine china set I would like appraised"',nextOnEnter:!1}),{$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"}}]}]}]}];var d,p,u;return c}();
@@ -515,9 +515,9 @@ const childAndFamilyTOLP = () => col2Radio({
515
515
  ]
516
516
  });
517
517
 
518
- const childHome = () => sbsSelect({
518
+ const childHome = (scope) => sbsSelect({
519
+ name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
519
520
  label: 'With Whom Do the Children Currently Live?',
520
- name: 'Child_Home',
521
521
  options: [
522
522
  'Mother',
523
523
  'Father',
@@ -526,9 +526,9 @@ const childHome = () => sbsSelect({
526
526
  ]
527
527
  });
528
528
 
529
- const childPrimaryCaregiver = () => sbsSelect({
529
+ const childPrimaryCaregiver = (scope) => sbsSelect({
530
+ name: scope ? scope + ':' + 'Child_Primary_Caregiver' : 'Child_Primary_Caregiver',
530
531
  label: 'Who is the Primary Caregiver?',
531
- name: 'Child_Primary_Caregiver',
532
532
  options: [
533
533
  'Mother',
534
534
  'Father',
@@ -536,9 +536,9 @@ const childPrimaryCaregiver = () => sbsSelect({
536
536
  ]
537
537
  });
538
538
 
539
- const childRelationship = () => sbsSelect({
539
+ const childRelationship = (scope) => sbsSelect({
540
+ name: scope ? scope + ':' + 'Child_Relationship' : 'Child_Relationship',
540
541
  label: 'Your Relationship to Child(ren):',
541
- name: 'Child_Relationship',
542
542
  options: [
543
543
  'Father',
544
544
  'Mother',
@@ -556,10 +556,10 @@ const comments = (updates) => textArea(
556
556
  }, updates)
557
557
  );
558
558
 
559
- const degreeOfInterest = (help) => sbsSelect({
559
+ const degreeOfInterest = (scope, help) => sbsSelect({
560
+ name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
561
+ id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
560
562
  label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
561
- id: 'Degree_Of_Interest',
562
- name: 'Degree_Of_Interest',
563
563
  help: help,
564
564
  options: [
565
565
  'Definitely',
@@ -569,7 +569,7 @@ const degreeOfInterest = (help) => sbsSelect({
569
569
  ]
570
570
  });
571
571
 
572
- const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
572
+ const degreeOfInterestHelp = (scope) => degreeOfInterest(scope, 'No payment necessary to speak with lawyers.');
573
573
 
574
574
  const email = () => sbsText({
575
575
  $formkit: 'email',
@@ -595,13 +595,13 @@ const firstName = () => sbsText({
595
595
  }
596
596
  });
597
597
 
598
- const haveAttorney = () => sbsYesNoRadio({
599
- name: 'Have_Attorney',
598
+ const haveAttorney = (scope) => sbsYesNoRadio({
599
+ name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
600
600
  label: 'Already Working with An Attorney?'
601
601
  });
602
602
 
603
- const haveChildren = () => sbsYesNoRadio({
604
- name: 'Have_Children',
603
+ const haveChildren = (scope) => sbsYesNoRadio({
604
+ name: scope ? scope + ':' + 'Have_Children' : 'Have_Children',
605
605
  label: 'Do You Have Children?'
606
606
  });
607
607
 
@@ -615,9 +615,9 @@ const lastName = () => sbsText({
615
615
  }
616
616
  });
617
617
 
618
- const lawyerPaymentMethod = () => sbsSelect({
618
+ const lawyerPaymentMethod = (scope) => sbsSelect({
619
+ name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
619
620
  label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
620
- name: 'Lawyer_Payment_Method',
621
621
  help: 'No payment necessary to speak with lawyers.',
622
622
  options: [
623
623
  'Cash',
@@ -629,9 +629,9 @@ const lawyerPaymentMethod = () => sbsSelect({
629
629
  ]
630
630
  });
631
631
 
632
- const maritalStatus = () => sbsSelect({
632
+ const maritalStatus = (scope) => sbsSelect({
633
+ name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
633
634
  label: 'Marital Status:',
634
- name: 'Marital_Status',
635
635
  options: [
636
636
  'Unmarried, Living Together',
637
637
  'Unmarried, Do Not Live Together',
@@ -719,32 +719,32 @@ const AdoptionQuestions = () => group(
719
719
  }
720
720
  );
721
721
 
722
- const ChildCustodyAndSupportQuestions = () => group(
722
+ const ChildCustodyAndSupportQuestions = (condition, scope) => group(
723
723
  'ChildCustodyAndSupportQuestions',
724
724
  {
725
- if: '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',
725
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody and Support"'),
726
726
  children: [
727
- haveAttorney(),
728
- childRelationship(),
729
- childHome(),
730
- childPrimaryCaregiver(),
731
- degreeOfInterest(),
732
- lawyerPaymentMethod()
727
+ haveAttorney(scope),
728
+ childRelationship(scope),
729
+ childHome(scope),
730
+ childPrimaryCaregiver(scope),
731
+ degreeOfInterest(scope),
732
+ lawyerPaymentMethod(scope)
733
733
  ]
734
734
  }
735
735
  );
736
736
 
737
- const ChildCustodyQuestions = () => group(
737
+ const ChildCustodyQuestions = (condition, scope) => group(
738
738
  'ChildCustodyQuestions',
739
739
  {
740
- if: '$get(Type_Of_Legal_Problem).value == "Child Custody"',
740
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"'),
741
741
  children: [
742
- haveAttorney(),
743
- childRelationship(),
744
- childHome(),
745
- childPrimaryCaregiver(),
746
- degreeOfInterest(),
747
- lawyerPaymentMethod()
742
+ haveAttorney(scope),
743
+ childRelationship(scope),
744
+ childHome(scope),
745
+ childPrimaryCaregiver(scope),
746
+ degreeOfInterest(scope),
747
+ lawyerPaymentMethod(scope)
748
748
  ]
749
749
  }
750
750
  );
@@ -764,16 +764,16 @@ const ChildSupportQuestions = () => group(
764
764
  }
765
765
  );
766
766
 
767
- const DivorceQuestions = () => group(
767
+ const DivorceQuestions = (condition, scope) => group(
768
768
  'DivorceQuestions',
769
769
  {
770
- if: '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',
770
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"'),
771
771
  children: [
772
- haveAttorney(),
773
- maritalStatus(),
774
- haveChildren(),
775
- degreeOfInterest(),
776
- lawyerPaymentMethod()
772
+ haveAttorney(scope),
773
+ maritalStatus(scope),
774
+ haveChildren(scope),
775
+ degreeOfInterest(scope),
776
+ lawyerPaymentMethod(scope)
777
777
  ]
778
778
  }
779
779
  );
@@ -856,9 +856,9 @@ const stepDefaults = (step) => ({
856
856
  function questionsStepHeadline(updates) {
857
857
  return {
858
858
  $el: 'h3',
859
- children: updates.headline || 'Tell Us About Your Case',
859
+ children: updates.headline || 'Tell Us About Your Situation',
860
860
  attrs: {
861
- class: '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-3'
861
+ class: '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'
862
862
  }
863
863
  }
864
864
  }
@@ -869,7 +869,7 @@ function commentsStepHeadline(updates) {
869
869
  $el: 'h3',
870
870
  children: updates.headline || 'Additional Case Details',
871
871
  attrs: {
872
- class: '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-3' + ' ' + (updates.headlineClass || '')
872
+ class: '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' + ' ' + (updates.headlineClass || '')
873
873
  }
874
874
  }
875
875
  }
@@ -879,7 +879,7 @@ function firstAndLastStepHeadline(updates) {
879
879
  $el: 'h3',
880
880
  children: updates.headline || 'Please Provide a Contact Name',
881
881
  attrs: {
882
- class: '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-3' + ' ' + (updates.headlineClass || '')
882
+ class: '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' + ' ' + (updates.headlineClass || '')
883
883
  }
884
884
  }
885
885
  }
@@ -889,7 +889,7 @@ function contactStepHeadline(updates) {
889
889
  $el: 'h3',
890
890
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
891
891
  attrs: {
892
- class: '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-3'
892
+ class: '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'
893
893
  }
894
894
  }
895
895
  }
@@ -936,10 +936,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
936
936
  }
937
937
  if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
938
938
  const lastInput = findLastInput(inputs[inputs.length - 1]);
939
- if (nextOnEnter === true) {
939
+ if (lastInput && nextOnEnter === true) {
940
940
  lastInput.onKeypress = NEXT_ON_ENTER;
941
941
  }
942
- if (nextOnInput === true) {
942
+ if (lastInput && nextOnInput === true) {
943
943
  lastInput.onInput = NEXT_ON_INPUT;
944
944
  }
945
945
  }
@@ -1 +1 @@
1
- var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",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 n={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function s(t){return e(l,t)}const d=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],m={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const p=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),c=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",c(e)))(e)),f=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),h=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),y=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Child Custody","Child Support","Adoption","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",c(e);var e},g=()=>f({label:"With Whom Do the Children Currently Live?",name:"Child_Home",options:["Mother","Father","Grandparents","Other"]}),b=()=>f({label:"Who is the Primary Caregiver?",name:"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),x=()=>f({label:"Your Relationship to Child(ren):",name:"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),v=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),w=e=>f({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",id:"Degree_Of_Interest",name:"Degree_Of_Interest",help:e,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),$=()=>u({name:"Have_Attorney",label:"Already Working with An Attorney?"}),k=()=>u({name:"Have_Children",label:"Do You Have Children?"}),I=()=>f({label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",name:"Lawyer_Payment_Method",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),C=()=>f({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),E=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),_="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",P="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",S=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,L=e=>{if(S(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(S(a))return a;const i=L(a);if(i)return i}return null},T=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function O(e){return{$el:"h3",children:e.headline||"Tell Us About Your Case",attrs:{class:"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-3"}}}function F(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"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-3 "+(e.headlineClass||"")}}}function A(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"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-3 "+(e.headlineClass||"")}}}function D(e){return{$el:"h3",children:e.headline||a,attrs:{class:"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-3"}}}function q(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}}}const M="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";function Y(t,a,i=!0,r=!1){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=L(a[a.length-1]);!0===i&&(e.onKeypress=_),!0===r&&(e.onInput=P)}return e(T(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const N=[{type:"meta",data:e(n,{defaultCommentsPlaceholder:t,commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Nursing Home Abuse":'Example: "My mother\'s nursing home is physically abusing her"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Vaccination Injury":'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',"Veteran's Disability":'Example: "I would like help filing for disability benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Veteran's Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}})},e(o,j),{$cmp:"FormKit",props:function(t){return e(r,t)}({formId:"childAndFamily",redirectMap:function(t){return e(m,t)}()}),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||"")}}}(t),t)}({children:'$urlParam("hl", "Get Child & Family Help Today")',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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Contact Us for Child Support, Custody and Family Issues")',if:"$activeStep === $firstStep()"}),...d,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Y("childAndFamilyTOLPAndZip",[y(),h({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return Y("TOLPQuestions",[O(e),E("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[$(),C(),k(),w(),I()]}),E("ChildCustodyAndSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[$(),x(),g(),b(),w(),I()]}),E("ChildCustodyQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[$(),x(),g(),b(),w(),I()]}),E("ChildSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Support"',children:[$(),x(),g(),b(),w(),I()]}),E("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[$(),C(),k(),w(),I()]}),E("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[$(),C(),k(),w(),I()]}),E("DivorceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[$(),C(),k(),w(),I()]}),E("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[$(),w("No payment necessary to speak with lawyers.")]})],e.nextOnEnter)}(),function(e={}){return Y("commentsWithBankruptcy",[F(e),v({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),p({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return Y("firstAndLast",[A(e),h({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),h({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return Y("contactInfo",[D(e),q(e),{$el:"script",if:"$activeStep === $lastStep()",children:M},h({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),h({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$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"}}]}]}]}];var j;return N}();
1
+ var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",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 n={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function s(t){return e(l,t)}const d=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],m={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const p=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),c=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",c(e)))(e)),f=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),h=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),y=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Child Custody","Child Support","Adoption","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",c(e);var e},g=e=>f({name:e?e+":Child_Home":"Child_Home",label:"With Whom Do the Children Currently Live?",options:["Mother","Father","Grandparents","Other"]}),b=e=>f({name:e?e+":Child_Primary_Caregiver":"Child_Primary_Caregiver",label:"Who is the Primary Caregiver?",options:["Mother","Father","Other"]}),v=e=>f({name:e?e+":Child_Relationship":"Child_Relationship",label:"Your Relationship to Child(ren):",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),x=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),w=(e,t)=>f({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),$=e=>u({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),k=e=>u({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),I=e=>f({name:e?e+":Lawyer_Payment_Method":"Lawyer_Payment_Method",label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),C=e=>f({name:e?e+":Marital_Status":"Marital_Status",label:"Marital Status:",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),_=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),E=(e,t)=>_("ChildCustodyQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[$(t),v(t),g(t),b(t),w(t),I(t)]}),P=(e,t)=>_("DivorceQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[$(t),C(t),k(t),w(t),I(t)]}),S=()=>{return _("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[$(),w(e,"No payment necessary to speak with lawyers.")]});var e},L="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",O="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",T=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,D=e=>{if(T(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(T(a))return a;const i=D(a);if(i)return i}return null},A=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"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"}}}function q(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"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 "+(e.headlineClass||"")}}}function M(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"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 "+(e.headlineClass||"")}}}function Y(e){return{$el:"h3",children:e.headline||a,attrs:{class:"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"}}}function N(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}}}const H="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";function j(t,a,i=!0,r=!1){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=D(a[a.length-1]);e&&!0===i&&(e.onKeypress=L),e&&!0===r&&(e.onInput=O)}return e(A(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const U=[{type:"meta",data:e(n,{defaultCommentsPlaceholder:t,commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Nursing Home Abuse":'Example: "My mother\'s nursing home is physically abusing her"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Vaccination Injury":'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',"Veteran's Disability":'Example: "I would like help filing for disability benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Veteran's Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}})},e(o,W),{$cmp:"FormKit",props:function(t){return e(r,t)}({formId:"childAndFamily",redirectMap:function(t){return e(m,t)}()}),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||"")}}}(t),t)}({children:'$urlParam("hl", "Get Child & Family Help Today")',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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Contact Us for Child Support, Custody and Family Issues")',if:"$activeStep === $firstStep()"}),...d,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return j("childAndFamilyTOLPAndZip",[y(),h({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return j("TOLPQuestions",[F(e),_("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[$(),C(),k(),w(),I()]}),_("ChildCustodyAndSupportQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[$(a),v(a),g(a),b(a),w(a),I(a)]}),E(),_("ChildSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Support"',children:[$(),v(),g(),b(),w(),I()]}),_("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[$(),C(),k(),w(),I()]}),_("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[$(),C(),k(),w(),I()]}),P(),S()],e.nextOnEnter);var t,a}(),function(e={}){return j("commentsWithBankruptcy",[q(e),x({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),p({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return j("firstAndLast",[M(e),h({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),h({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return j("contactInfo",[Y(e),N(e),{$el:"script",if:"$activeStep === $lastStep()",children:H},h({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),h({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$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"}}]}]}]}];var W;return U}();