bhl-forms 0.2.9 → 0.3.2

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 (74) hide show
  1. package/dist/bhl-forms.es.js +1020 -593
  2. package/dist/bhl-forms.iife.js +7 -7
  3. package/dist/bhl-forms.modern.es.js +3160 -2662
  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 +49 -113
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/appraisals.es.js +3 -7
  11. package/dist/forms/appraisals.iife.js +1 -1
  12. package/dist/forms/appraisals.json +1 -1
  13. package/dist/forms/childAndFamily.es.js +49 -113
  14. package/dist/forms/childAndFamily.iife.js +1 -1
  15. package/dist/forms/childAndFamily.json +1 -1
  16. package/dist/forms/civilLawsuit.es.js +51 -114
  17. package/dist/forms/civilLawsuit.iife.js +1 -1
  18. package/dist/forms/civilLawsuit.json +1 -1
  19. package/dist/forms/coins.es.js +3 -7
  20. package/dist/forms/coins.iife.js +1 -1
  21. package/dist/forms/coins.json +1 -1
  22. package/dist/forms/contracts.es.js +14 -78
  23. package/dist/forms/contracts.iife.js +1 -1
  24. package/dist/forms/contracts.json +1 -1
  25. package/dist/forms/criminal.es.js +180 -380
  26. package/dist/forms/criminal.iife.js +1 -1
  27. package/dist/forms/criminal.json +1 -1
  28. package/dist/forms/employmentAndWorkplace.es.js +43 -107
  29. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  30. package/dist/forms/employmentAndWorkplace.json +1 -1
  31. package/dist/forms/generalLegal.es.js +191 -477
  32. package/dist/forms/generalLegal.iife.js +1 -1
  33. package/dist/forms/generalLegal.json +1 -1
  34. package/dist/forms/generalLegalPopUnder.es.js +188 -390
  35. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  36. package/dist/forms/generalLegalPopUnder.json +1 -1
  37. package/dist/forms/generalLegalPopUnderTF.es.js +180 -383
  38. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  39. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  40. package/dist/forms/generalLegalThankYou.es.js +180 -383
  41. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  42. package/dist/forms/generalLegalThankYou.json +1 -1
  43. package/dist/forms/harassmentAndDiscrimination.es.js +14 -78
  44. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  45. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  46. package/dist/forms/malpractice.es.js +21 -85
  47. package/dist/forms/malpractice.iife.js +1 -1
  48. package/dist/forms/malpractice.json +1 -1
  49. package/dist/forms/mechanics.es.js +3 -7
  50. package/dist/forms/mechanics.iife.js +1 -1
  51. package/dist/forms/mechanics.json +1 -1
  52. package/dist/forms/realEstate.es.js +180 -380
  53. package/dist/forms/realEstate.iife.js +1 -1
  54. package/dist/forms/realEstate.json +1 -1
  55. package/dist/forms/repossession.es.js +16 -80
  56. package/dist/forms/repossession.iife.js +1 -1
  57. package/dist/forms/repossession.json +1 -1
  58. package/dist/forms/ssdi.es.js +24 -145
  59. package/dist/forms/ssdi.iife.js +1 -1
  60. package/dist/forms/ssdi.json +1 -1
  61. package/dist/forms/testForm.es.js +4 -68
  62. package/dist/forms/testForm.iife.js +1 -1
  63. package/dist/forms/testForm.json +1 -1
  64. package/dist/forms/testRedirects.es.js +3 -11
  65. package/dist/forms/testRedirects.iife.js +1 -1
  66. package/dist/forms/testRedirects.json +1 -1
  67. package/dist/forms/vets.es.js +3 -7
  68. package/dist/forms/vets.iife.js +1 -1
  69. package/dist/forms/vets.json +1 -1
  70. package/dist/forms/willsAndTrusts.es.js +42 -106
  71. package/dist/forms/willsAndTrusts.iife.js +1 -1
  72. package/dist/forms/willsAndTrusts.json +1 -1
  73. package/dist/main.css +1 -1
  74. package/package.json +4 -4
@@ -261,7 +261,6 @@ const TOLPCommentsPlaceholders = {
261
261
  'Lemon Law': 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
262
262
  '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"',
263
263
  'Medical Malpractice': 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
264
- 'Nursing Home Abuse': 'Example: "My mother\'s nursing home is physically abusing her"',
265
264
  'Patents and Intellectual Property': 'Example: "I would like to file for a patent" or "I need to copyright a name"',
266
265
  'Personal Injury': 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
267
266
  'Power of Attorney': 'Example: "I need help with a limited or general power of attorney"',
@@ -273,8 +272,6 @@ const TOLPCommentsPlaceholders = {
273
272
  'Tax and IRS': 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
274
273
  'Traffic and Tickets': 'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
275
274
  'Unemployment': 'Example: "I need help filing for unemployment benefits"',
276
- 'Vaccination Injury': 'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',
277
- 'Veteran\'s Disability': 'Example: "I would like help filing for disability benefits"',
278
275
  'Victim of a Crime': 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
279
276
  'Wills and Trusts': 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
280
277
  'Workers Compensation': 'Example: "I was injured at work and would like to file for workers compensation benefits"',
@@ -285,59 +282,6 @@ const TOLPCommentsPlaceholders = {
285
282
 
286
283
  const TOLPFinalHeadlines = {
287
284
  // 'Adoption': '',
288
- // 'Asbestos and Mesothelioma': '',
289
- // 'Auto and Car Accidents': '',
290
- // 'Bankruptcy': '',
291
- // 'Birth Certificate and Name Change': '',
292
- // 'Business Lawyers': '',
293
- // 'Child Custody and Support': '',
294
- // 'Civil Rights and Discrimination': '',
295
- // 'Civil Lawsuit': '',
296
- // 'Consumer Lawyers': '',
297
- // 'Copyrights and Trademarks': '',
298
- // 'Criminal and Felony': '',
299
- // 'Debt and Collections': '',
300
- // 'Divorce and Separation': '',
301
- // 'DUI and DWI': '',
302
- // 'Elder Law': '',
303
- // 'Employment and Workplace': '',
304
- // 'Expungement': '',
305
- // 'Family Issues': '',
306
- // 'Foreclosure': '',
307
- // 'Guardianship': '',
308
- // 'Harassment and Discrimination': '',
309
- // 'Identity Theft': '',
310
- // 'Immigration and Visas': '',
311
- // 'Insurance': '',
312
- // 'Landlord and Tenant': '',
313
- // 'Lemon Law': '',
314
- // 'Long Term Disability': '',
315
- // 'Medical Malpractice': '',
316
- // 'Nursing Home Abuse': '',
317
- // 'Patents and Intellectual Property': '',
318
- // 'Personal Injury': '',
319
- // 'Power of Attorney': '',
320
- // 'Probate and Estates': '',
321
- // 'Product Liability': '',
322
- // 'Property Damage': '',
323
- // 'Real Estate': '',
324
- // 'Social Security Disability and Insurance': '',
325
- // 'Tax and IRS': '',
326
- // 'Traffic and Tickets': '',
327
- // 'Unemployment': '',
328
- // 'Vaccination Injury': '',
329
- // 'Veteran\'s Disability': '',
330
- // 'Victim of a Crime': '',
331
- // 'Wills and Trusts': '',
332
- // 'Workers Compensation': '',
333
- // 'Wrongful Death': '',
334
- // 'Wrongful Termination': '',
335
- // 'Not Sure or Other': ''
336
- // 'Sexual Harassment': '',
337
- // 'Workplace Harassment': '',
338
- // 'Non-Workplace Harassment': '',
339
- // 'Workplace Discrimination': '',
340
- // 'Non-Workplace Discrimination': '',
341
285
  };
342
286
 
343
287
  const TOLPFinalSubHeadlines = {
@@ -370,7 +314,6 @@ const TOLPFinalSubHeadlines = {
370
314
  // 'Lemon Law': '',
371
315
  'Long Term Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
372
316
  'Medical Malpractice': 'You may benefit from speaking with a malpractice professional. Please verify your contact information.',
373
- // 'Nursing Home Abuse': '',
374
317
  'Patents and Intellectual Property': 'You may benefit from speaking with a patent professional. Please verify your contact information.',
375
318
  'Personal Injury': 'You may benefit from speaking with a personal injury professional. Please verify your contact information.',
376
319
  // 'Power of Attorney': '',
@@ -382,8 +325,6 @@ const TOLPFinalSubHeadlines = {
382
325
  'Tax and IRS': 'You may benefit from speaking with a tax professional. Please verify your contact information.',
383
326
  // 'Traffic and Tickets': '',
384
327
  'Unemployment': 'You may benefit from speaking with an unemployment professional. Please verify your contact information.',
385
- // 'Vaccination Injury': '',
386
- 'Veteran\'s Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
387
328
  // 'Victim of a Crime': '',
388
329
  // 'Wills and Trusts': '',
389
330
  'Workers Compensation': 'You may benefit from speaking with a workers compensation professional. Please verify your contact information.',
@@ -494,7 +435,6 @@ const sbsSelect = (updates) => {
494
435
  return select(updates)
495
436
  };
496
437
 
497
-
498
438
  const text = (updates) => {
499
439
  return merge({
500
440
  $formkit: 'text',
@@ -580,10 +520,10 @@ const criminalChargesFiled = () => sbsRadio({
580
520
  ]
581
521
  });
582
522
 
583
- const degreeOfInterest = (help) => sbsSelect({
523
+ const degreeOfInterest = (scope, help) => sbsSelect({
524
+ name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
525
+ id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
584
526
  label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
585
- id: 'Degree_Of_Interest',
586
- name: 'Degree_Of_Interest',
587
527
  help: help,
588
528
  options: [
589
529
  'Definitely',
@@ -593,7 +533,7 @@ const degreeOfInterest = (help) => sbsSelect({
593
533
  ]
594
534
  });
595
535
 
596
- const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
536
+ const degreeOfInterestHelp = (scope) => degreeOfInterest(scope, 'No payment necessary to speak with lawyers.');
597
537
 
598
538
  const email = () => sbsText({
599
539
  $formkit: 'email',
@@ -609,9 +549,9 @@ const email = () => sbsText({
609
549
  }
610
550
  });
611
551
 
612
- const estateLegalServicesNeeded = () => sbsSelect({
552
+ const estateLegalServicesNeeded = (scope) => sbsSelect({
553
+ name: scope ? scope + ':' + 'Estate_Legal_Services_Needed' : 'Estate_Legal_Services_Needed',
613
554
  label: "Legal Services Needed for Your Estate:",
614
- name: 'Estate_Legal_Services_Needed',
615
555
  options: [
616
556
  "Charitable Giving",
617
557
  "Contested Wills",
@@ -632,19 +572,19 @@ const firstName = () => sbsText({
632
572
  }
633
573
  });
634
574
 
635
- const haveAttorney = () => sbsYesNoRadio({
636
- name: 'Have_Attorney',
575
+ const haveAttorney = (scope) => sbsYesNoRadio({
576
+ name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
637
577
  label: 'Already Working with An Attorney?'
638
578
  });
639
579
 
640
- const haveChildren = () => sbsYesNoRadio({
641
- name: 'Have_Children',
580
+ const haveChildren = (scope) => sbsYesNoRadio({
581
+ name: scope ? scope + ':' + 'Have_Children' : 'Have_Children',
642
582
  label: 'Do You Have Children?'
643
583
  });
644
584
 
645
- const incidentDate = () => sbsDate({
585
+ const incidentDate = (scope) => sbsDate({
586
+ name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
646
587
  label: 'Date of Incident:',
647
- name: 'Incident_Date'
648
588
  });
649
589
 
650
590
  const lastName = () => sbsText({
@@ -657,9 +597,9 @@ const lastName = () => sbsText({
657
597
  }
658
598
  });
659
599
 
660
- const lawyerPaymentMethod = () => sbsSelect({
600
+ const lawyerPaymentMethod = (scope) => sbsSelect({
601
+ name: scope ? scope + ':' + 'Lawyer_Payment_Method' : 'Lawyer_Payment_Method',
661
602
  label: 'How Will You Pay for Legal Fees if You Hire a Lawyer?',
662
- name: 'Lawyer_Payment_Method',
663
603
  help: 'No payment necessary to speak with lawyers.',
664
604
  options: [
665
605
  'Cash',
@@ -671,9 +611,9 @@ const lawyerPaymentMethod = () => sbsSelect({
671
611
  ]
672
612
  });
673
613
 
674
- const maritalStatus = () => sbsSelect({
614
+ const maritalStatus = (scope) => sbsSelect({
615
+ name: scope ? scope + ':' + 'Marital_Status' : 'Marital_Status',
675
616
  label: 'Marital Status:',
676
- name: 'Marital_Status',
677
617
  options: [
678
618
  'Unmarried, Living Together',
679
619
  'Unmarried, Do Not Live Together',
@@ -714,9 +654,9 @@ const relationshipToVictim = () => sbsSelect({
714
654
  ]
715
655
  });
716
656
 
717
- const roleInMatterProbate = () => sbsSelect({
657
+ const roleInMatterProbate = (scope) => sbsSelect({
658
+ name: scope ? scope + ':' + 'Role_In_Matter_Probate' : 'Role_In_Matter_Probate',
718
659
  label: "What Is Your Role in this Matter?",
719
- name: 'Role_In_Matter_Probate',
720
660
  options: [
721
661
  "Preparing My Will",
722
662
  "Executor",
@@ -740,9 +680,9 @@ const TCPAConsent = () => ({
740
680
  }
741
681
  });
742
682
 
743
- const typeOfAssets = () => col2Checkbox({
683
+ const typeOfAssets = (scope) => col2Checkbox({
684
+ name: scope ? scope + ':' + 'Type_Of_Assets' : 'Type_Of_Assets',
744
685
  label: 'Type of Assets:',
745
- name: 'Type_Of_Assets',
746
686
  options: [
747
687
  "Business Interests",
748
688
  "Cash",
@@ -754,9 +694,9 @@ const typeOfAssets = () => col2Checkbox({
754
694
  ]
755
695
  });
756
696
 
757
- const valueOfAssets = () => sbsSelect({
697
+ const valueOfAssets = (scope) => sbsSelect({
698
+ name: scope ? scope + ':' + 'Value_Of_Assets' : 'Value_Of_Assets',
758
699
  label: 'Value of Your Assets?',
759
- name: 'Value_Of_Assets',
760
700
  options: [
761
701
  "Less than 50K",
762
702
  "50K to 100K",
@@ -824,13 +764,13 @@ const FamilyIssuesQuestions = () => group(
824
764
  }
825
765
  );
826
766
 
827
- const PowerofAttorneyQuestions = () => group(
767
+ const PowerofAttorneyQuestions = (condition, scope) => group(
828
768
  'PowerofAttorneyQuestions',
829
769
  {
830
- if: '$get(Type_Of_Legal_Problem).value == "Power of Attorney"',
770
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Power of Attorney"'),
831
771
  children: [
832
- haveAttorney(),
833
- degreeOfInterestHelp()
772
+ haveAttorney(scope),
773
+ degreeOfInterestHelp(scope)
834
774
  ]
835
775
  }
836
776
  );
@@ -850,17 +790,17 @@ const ProbateAndEstatesQuestions = () => group(
850
790
  }
851
791
  );
852
792
 
853
- const WillsAndTrustsQuestions = () => group(
793
+ const WillsAndTrustsQuestions = (condition, scope) => group(
854
794
  'WillsAndTrustsQuestions',
855
795
  {
856
- if: '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',
796
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"'),
857
797
  children: [
858
- haveAttorney(),
859
- valueOfAssets(),
860
- typeOfAssets(),
861
- roleInMatterProbate(),
862
- estateLegalServicesNeeded(),
863
- degreeOfInterestHelp()
798
+ haveAttorney(scope),
799
+ valueOfAssets(scope),
800
+ typeOfAssets(scope),
801
+ roleInMatterProbate(scope),
802
+ estateLegalServicesNeeded(scope),
803
+ degreeOfInterestHelp(scope)
864
804
  ]
865
805
  }
866
806
  );
@@ -917,21 +857,17 @@ const findLastInput = (n) => {
917
857
 
918
858
  const stepDefaults = (step) => ({
919
859
  $el: 'section',
920
- if: '$stepIsEnabled("' + step + '")',
921
860
  attrs: {
922
- style: {
923
- if: '$activeStep !== "' + step + '"',
924
- then: 'display: none;'
925
- }
861
+ hidden: '$activeStep !== "' + step + '"'
926
862
  }
927
863
  });
928
864
 
929
865
  function questionsStepHeadline(updates) {
930
866
  return {
931
867
  $el: 'h3',
932
- children: updates.headline || 'Tell Us About Your Case',
868
+ children: updates.headline || 'Tell Us About Your Situation',
933
869
  attrs: {
934
- 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'
870
+ 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'
935
871
  }
936
872
  }
937
873
  }
@@ -942,7 +878,7 @@ function commentsStepHeadline(updates) {
942
878
  $el: 'h3',
943
879
  children: updates.headline || 'Additional Case Details',
944
880
  attrs: {
945
- 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 || '')
881
+ 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 || '')
946
882
  }
947
883
  }
948
884
  }
@@ -952,7 +888,7 @@ function firstAndLastStepHeadline(updates) {
952
888
  $el: 'h3',
953
889
  children: updates.headline || 'Please Provide a Contact Name',
954
890
  attrs: {
955
- 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 || '')
891
+ 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 || '')
956
892
  }
957
893
  }
958
894
  }
@@ -962,7 +898,7 @@ function contactStepHeadline(updates) {
962
898
  $el: 'h3',
963
899
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
964
900
  attrs: {
965
- 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'
901
+ 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'
966
902
  }
967
903
  }
968
904
  }
@@ -1009,10 +945,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
1009
945
  }
1010
946
  if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
1011
947
  const lastInput = findLastInput(inputs[inputs.length - 1]);
1012
- if (nextOnEnter === true) {
948
+ if (lastInput && nextOnEnter === true) {
1013
949
  lastInput.onKeypress = NEXT_ON_ENTER;
1014
950
  }
1015
- if (nextOnInput === true) {
951
+ if (lastInput && nextOnInput === true) {
1016
952
  lastInput.onInput = NEXT_ON_INPUT;
1017
953
  }
1018
954
  }
@@ -1 +1 @@
1
- var willsAndTrusts=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 s={$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 l(t){return e(s,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=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},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=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t))(t)),g=()=>{return(e={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"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",p(e);var e},b=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)),x=()=>{return(e={name:"Criminal_Charges_Filed",label:"Were Criminal Charges Filed?",options:["Yes","No","Not Sure"]}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",c(e);var e},v=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"]}),w=()=>v("No payment necessary to speak with lawyers."),$=()=>f({label:"Legal Services Needed for Your Estate:",name:"Estate_Legal_Services_Needed",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),k=()=>u({name:"Have_Attorney",label:"Already Working with An Attorney?"}),I=()=>f({label:"What Is Your Role in this Matter?",name:"Role_In_Matter_Probate",options:["Preparing My Will","Executor","Heir","Other"]}),C=()=>{return(e={label:"Type of Assets:",name:"Type_Of_Assets",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]})&&e.legendClass||(e.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",p(e);var e},E=()=>f({label:"Value of Your Assets?",name:"Value_Of_Assets",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),_=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Wills and Trusts","Probate and Estates","Power of Attorney","Wrongful Death","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},P=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),S="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",T="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",A=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,L=e=>{if(A(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(A(a))return a;const i=L(a);if(i)return i}return null},O=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function q(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 D(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 F(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 M(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 Y(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 N="(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 W(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=S),!0===r&&(e.onInput=T)}return e(O(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const j=[{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,H),{$cmp:"FormKit",props:function(t){return e(r,t)}({formId:"willsAndTrusts",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", "Start Here For a Free Consultation")',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", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...d,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return W("willsAndTrustsTOLPAndZip",[_(),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 W("TOLPQuestions",[q(e),P("WillsAndTrustsQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[k(),E(),C(),I(),$(),w()]}),P("ProbateAndEstatesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Probate and Estates"',children:[k(),E(),C(),I(),$(),w()]}),P("PowerofAttorneyQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[k(),w()]}),P("WrongfulDeathQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Wrongful Death"',children:[k(),y({label:"Date of Incident:",name:"Incident_Date"}),f({label:"Relationship to the Victim:",name:"Relationship_To_Victim",options:["Parent","Spouse","Sibling","Friend","Other"]}),x(),f({label:"What was the Cause of the Victim's Death?",name:"Cause_Of_Death",options:["Vehicle Accident","Negligent/Careless Act","Reckless Act","Other"]})]}),P("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[k(),f({label:"Marital Status:",name:"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),u({name:"Have_Children",label:"Do You Have Children?"}),v(),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"]})]}),P("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[k(),w()]})],e.nextOnEnter)}(),function(e={}){return W("commentsWithBankruptcy",[D(e),b({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),g()],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return W("firstAndLast",[F(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 W("contactInfo",[M(e),Y(e),{$el:"script",if:"$activeStep === $lastStep()",children:N},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"}},l()],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 H;return j}();
1
+ var willsAndTrusts=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 s={$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 l(t){return e(s,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=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},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=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t))(t)),g=()=>{return(e={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"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",p(e);var e},b=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)),v=()=>{return(e={name:"Criminal_Charges_Filed",label:"Were Criminal Charges Filed?",options:["Yes","No","Not Sure"]}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",c(e);var e},x=(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"]}),w=e=>x(e,"No payment necessary to speak with lawyers."),$=e=>f({name:e?e+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),k=e=>u({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),I=e=>u({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),_=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+":Role_In_Matter_Probate":"Role_In_Matter_Probate",label:"What Is Your Role in this Matter?",options:["Preparing My Will","Executor","Heir","Other"]}),E=e=>{return(t={name:e?e+":Type_Of_Assets":"Type_Of_Assets",label:"Type of Assets:",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]})&&t.legendClass||(t.legendClass="required"),t.fieldsetClass="$reset",t.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",p(t);var t},P=e=>f({name:e?e+":Value_Of_Assets":"Value_Of_Assets",label:"Value of Your Assets?",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),S=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Wills and Trusts","Probate and Estates","Power of Attorney","Wrongful Death","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},T=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),A=()=>{return T("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[k(),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"]}),I(),x(),_()]});var e},L=(e,t)=>T("PowerofAttorneyQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[k(t),w(t)]}),O=()=>{return T("WrongfulDeathQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Wrongful Death"',children:[k(),y({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),f({label:"Relationship to the Victim:",name:"Relationship_To_Victim",options:["Parent","Spouse","Sibling","Friend","Other"]}),v(),f({label:"What was the Cause of the Victim's Death?",name:"Cause_Of_Death",options:["Vehicle Accident","Negligent/Careless Act","Reckless Act","Other"]})]});var e},D="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",q="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",F=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,M=e=>{if(F(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(F(a))return a;const i=M(a);if(i)return i}return null},N=e=>({$el:"section",attrs:{hidden:'$activeStep !== "'+e+'"'}});function Y(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 H(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 W(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 j(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 R(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 U="(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 V(t,a,i=!0,r=!1){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=M(a[a.length-1]);e&&!0===i&&(e.onKeypress=D),e&&!0===r&&(e.onInput=q)}return e(N(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const K=[{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"',"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"',"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.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}})},e(o,B),{$cmp:"FormKit",props:function(t){return e(r,t)}({formId:"willsAndTrusts",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", "Start Here For a Free Consultation")',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", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...d,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return V("willsAndTrustsTOLPAndZip",[S(),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 V("TOLPQuestions",[Y(e),T("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[k(a),P(a),E(a),C(a),$(a),w(a)]}),T("ProbateAndEstatesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Probate and Estates"',children:[k(),P(),E(),C(),$(),w()]}),L(),O(),A(),T("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[k(),w()]})],e.nextOnEnter);var t,a}(),function(e={}){return V("commentsWithBankruptcy",[H(e),b({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),g()],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return V("firstAndLast",[W(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 V("contactInfo",[j(e),R(e),{$el:"script",if:"$activeStep === $lastStep()",children:U},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"}},l()],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 B;return K}();