bhl-forms 0.10.4 → 0.11.0
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.
- package/dist/bhl-forms.es.js +3936 -4619
- package/dist/bhl-forms.iife.js +4 -4
- package/dist/bhl-forms.modern.es.js +5283 -6108
- package/dist/bhl-forms.modern.iife.js +7 -7
- package/dist/bhl-forms.modern.umd.js +7 -7
- package/dist/bhl-forms.umd.js +4 -4
- package/dist/forms/accidentsAndInjuries.es.js +13 -18
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -13
- package/dist/forms/applianceRepairMinimal.es.js +10 -3
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.json +1 -13
- package/dist/forms/appraisals.es.js +10 -3
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/appraisals.json +1 -13
- package/dist/forms/business.es.js +13 -18
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -13
- package/dist/forms/childAndFamily.es.js +13 -18
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -13
- package/dist/forms/childAndFamilySingle.es.js +13 -18
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -13
- package/dist/forms/civilLawsuit.es.js +13 -18
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -13
- package/dist/forms/coins.es.js +10 -3
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/coins.json +1 -13
- package/dist/forms/contracts.es.js +13 -18
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -13
- package/dist/forms/criminal.es.js +13 -18
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -13
- package/dist/forms/divorce.es.js +13 -18
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/divorce.json +1 -13
- package/dist/forms/employmentAndWorkplace.es.js +13 -18
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -13
- package/dist/forms/foreclosure.es.js +13 -18
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/foreclosure.json +1 -13
- package/dist/forms/generalContractors.es.js +12 -15
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalContractors.json +1 -13
- package/dist/forms/generalHomeImprovement.es.js +12 -15
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.json +1 -13
- package/dist/forms/generalHomeImprovementThankYou.es.js +13 -12
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.json +1 -13
- package/dist/forms/generalLegal.es.js +13 -18
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -13
- package/dist/forms/generalLegalJustAnswer.es.js +13 -18
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -13
- package/dist/forms/generalLegalPopUnder.es.js +13 -18
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -13
- package/dist/forms/generalLegalPopUnderSingle.es.js +13 -18
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -13
- package/dist/forms/generalLegalSingle.es.js +13 -18
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -13
- package/dist/forms/generalLegalThankYou.es.js +13 -18
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -13
- package/dist/forms/generalLegalThankYouConsultation.es.js +13 -18
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -13
- package/dist/forms/harassmentAndDiscrimination.es.js +13 -18
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -13
- package/dist/forms/landlordTenant.es.js +13 -18
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/landlordTenant.json +1 -13
- package/dist/forms/malpractice.es.js +13 -18
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -13
- package/dist/forms/mechanics.es.js +13 -12
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -13
- package/dist/forms/patentsAndIP.es.js +13 -18
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -13
- package/dist/forms/realEstate.es.js +13 -18
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -13
- package/dist/forms/repossession.es.js +13 -18
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -13
- package/dist/forms/ssdi.es.js +11 -12
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -13
- package/dist/forms/testForm.es.js +11 -6
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -13
- package/dist/forms/testRedirects.es.js +12 -9
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -13
- package/dist/forms/vets.es.js +10 -3
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/vets.json +1 -13
- package/dist/forms/willsAndTrusts.es.js +13 -18
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -13
- package/dist/forms/windows.es.js +12 -15
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/windows.json +1 -13
- package/dist/forms/workersCompensation.es.js +13 -18
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/dist/forms/workersCompensation.json +1 -13
- package/dist/main.css +1 -1
- package/package.json +4 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
var foreclosure=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)',n=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),r=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md: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",n(e)),s=e=>(e&&e.legendClass||(e.legendClass="required t-w-[100%] t-text-center"),e.fieldsetClass="$reset t-flex t-justify-center t-flex-col",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",n(e)),l=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),o=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",l(e)),d=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",l(e)),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",l(e)))(e)),c=e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",l(e)),p=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",c(e)),m=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),f=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",m(e)),h=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white",e.helpClass="t-mt-2.5 t-text-center",m(e)),y=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),b=e=>(e.wrapperClass="side-by-side t-items-center",y(e)),g=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",y(e)),C=t=>(t.name&&!t.id&&(t.id=t.name),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)),x=e=>(e.wrapperClass="side-by-side t-items-center",C(e)),v=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",C(e)),w=(e,t,a={})=>(t?g:b)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),_=(e,t,a={})=>(t?g:b)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),$=(e,t,a={})=>(t?g:b)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),S=(e,t,a={})=>(t?g:b)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.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:"Phone Number 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]",...a}),I=(t,a,i={})=>(a?g:b)(e({label:a?i.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?i.value??"50":null,maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"},...i})),k=(t,a,i={})=>(a?p:u)(e({label:a?i.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},i)),P=e=>{return(t={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",id:e?e+":CrossSell_Bankruptcy":"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",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",n(t);var t},A=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},i)),E=(t,a,i={})=>(a?c:f)(e({label:a?i.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},i)),D=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},i)),T=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},i)),L=(t,a,i)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},i)),O=(t,a,i={})=>(a?o:f)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?i.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?i.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},i)),j=(t,a,i={})=>O(t,a,e(i,{help:"No payment necessary to speak with lawyers."})),F=(t,a,i={})=>(a?p:u)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?i.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},i)),M=(t,a,i={})=>(a?p:u)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?i.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},i)),q=(t,a,i={})=>(a?p:u)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?i.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},i)),Y=(t,a,i={})=>(a?o:f)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?i.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},i)),N=(t,a,i={})=>(a?p:u)(e({label:a?i.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},i)),W=(t,a,i={})=>(a?p:u)(e({name:t?t+":Have_Children":"Have_Children",label:a?i.label:"Do You Have Children?"},i)),H=(t,a,i={})=>(a?v:x)(e({label:a?i.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},i)),B=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?i.help:"No payment necessary to start a consultation.",name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",options:a?{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"}:["Cash","Check","Credit Card","Friend","Family","Other"],fieldsetClass:a?"$reset t-flex t-flex-col t-items-center":void 0},i)),R=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"Marital Status:",name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]},i)),Q=(t,a,i={})=>(a?o:d)(e({label:a?i.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},i)),U=(t,a,i={})=>(a?p:u)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?i.label:"Was a Police Report Filed?"},i)),K=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"What is Your Role in this Matter?",name:t?t+":Role_In_Matter_Probate":"Role_In_Matter_Probate",options:["Preparing My Will","Executor","Heir","Other"]},i)),V=(t,a,i={})=>(a?p:u)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?i.label:"Are You Currently Receiving Social Security Disability Benefits?"},i)),z=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),Z=(t,a,i={})=>(a?s:r)(e({label:a?i.label:"Type of Assets:",name:t?t+":Type_Of_Assets":"Type_Of_Assets",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]},i)),G=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"Type of Property:",name:t?t+":Type_Of_Property":"Type_Of_Property",options:["Residential","Commercial","Industrial","Agricultural","Recreational","Other"]},i)),J=(t,a,i={})=>(a?o:f)(e({label:a?i.label:"Value of Your Assets?",name:t?t+":Value_Of_Assets":"Value_Of_Assets",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]},i)),X=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),ee="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",te="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",ae=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,ie=e=>{if(ae(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(ae(a))return a;const i=ie(a);if(i)return i}return null},ne={$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 re(t={}){return e(ne,t)}function se(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-4 t-pt-0 t-px-1"}}}function le(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function oe(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-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function de(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function ue(e){return function(e){return{$el:"h3",children:e.headline||"Additional 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||"")}}}({headline:e.headline||"Additional Case Details",headlineClass:e.headlineClass})}function ce(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 pe(e){return{$el:"h3",children:e.headline||"Do any of the following situations apply?",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 me(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 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function fe(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-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}const he="(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})();";const ye=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function be(t,a,i={}){const{nextOnEnter:n=!0,nextOnInput:r=!1,stepKey:s,nextStepMap:l,triggerRedirectMap:o,autoFocus:d}=i;if(a&&a.length&&(n||r)){const e=ie(a[a.length-1]);e&&!0===n&&(e.onKeypress=ee),e&&!0===r&&(e.onInput=te)}return e(ye(t,s),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:o,autoFocus:d,children:a}]})}function ge(e,t,a,i={}){return void 0===i.nextOnInput&&(i.nextOnInput=!0),be(e,[oe({headline:i.headline??a,headlineClass:i.headlineClass}),...Array.isArray(t)?t:[t]],i)}const Ce={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function xe(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const ve={};const we={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const _e={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const $e=[{$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}],Se={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const Ie={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 broke my arm at work and need help getting compensation"',"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"'},ke={},Pe={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."},Ae={values:{"*":["amountPaymentsPastDue","loanAmount","defaultNotice","ownRealEstate","haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"]}},Ee=function(a=null){let i=Ie,n=ke,r=Pe;return a&&(i=xe(Ie,a),n=xe(ke,a),r=xe(Pe,a)),{type:"meta",data:e(ve,{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.",defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:n,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:r})}}();Ee.data.dynamicSchema=[function(t={}){return ge("amountPaymentsPastDue",((t,a,i={})=>(a?h:f)(e({label:a?i.label:"Total Amount of Payments that are Past Due:",name:t?t+":Amount_Payments_Past_Due":"Amount_Payments_Past_Due",options:["$0 - $499","$500 - $999","$1,000 - $2,499","$2,500 - $4,999","$5,000 - $9,999","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","More than $100,000"]},i)))(t.scope,!0,t.input),"Total amount of payments past due:",t)}(),function(t={}){return ge("defaultNotice",((t,a,i={})=>(a?p:u)(e({name:t?t+":Default_Notice":"Default_Notice",label:a?i.label:"Have You Received a Notice of Loan Default?"},i)))(t.scope,!0,t.input),"Have you received a loan default notice?",t)}(),function(t={}){return ge("loanAmount",((t,a,i={})=>(a?h:f)(e({label:a?i.label:"Total Amount of Loan?",name:t?t+":Loan_Amount":"Loan_Amount",options:["Less than $10,000","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","$100,000 - $199,999","$200,000 - $299,999","$300,000 - $399,999","$400,000 - $499,999","$500,000 - $599,999","More than $600,000"]},i)))(t.scope,!0,t.input),"Total amount of the loan:",t)}(),function(t={}){return ge("ownRealEstate",((t,a,i={})=>(a?p:u)(e({name:t?t+":Own_Real_Estate":"Own_Real_Estate",label:a?i.label:"Do You Own Real Estate?"},i)))(t.scope,!0,t.input),"Do you own real estate?",t)}(),function(e={}){return ge("typeOfProperty",G(e.scope,!0,e.input),"What type of property is involved?",e)}(),function(e={}){return ge("degreeOfInterest",O(e.scope,!0,e.input),"Could you pay if your issue could be resolved?",e)}(),function(e={}){return ge("haveAttorney",N(e.scope,!0,e.input),"Already working with an attorney?",e)}(),function(e={}){return ge("zipcode",((e,t,a={})=>(t?g:b)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(e={}){return be("commentsWithBankruptcy",[ue(e),L(e.scope,0,{label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass}),P(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[L("CrossSell:Bankruptcy",0,{label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"})]}],{nextOnEnter:!1})}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",be("legalCrossSells",[pe(e),r({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))'})],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{Legal_CrossSells:{"Auto and Car Accidents":["autoAndCarAccidentCrossSellQuestions"],"Personal Injury":["personalInjuryCrossSellQuestions"],"Workers Compensation":["workersCompensationCrossSellQuestions"],"DUI and DWI":["duiAndDWICrossSellQuestions"],"Long Term Disability":["longTermDisabilityCrossSellQuestions"],"Social Security Disability and Insurance":["ssdiCrossSellQuestions"],Bankruptcy:["bankruptcyCrossSellQuestions"],"Power of Attorney":["powerOfAttorneyCrossSellQuestions"],"Wills and Trusts":["willsAndTrustsCrossSellQuestions"],"Divorce and Separation":["divorceAndSeparationCrossSellQuestions"],"Child Custody":["childCustodyCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}}),function(e={}){return be("autoAndCarAccidentCrossSellQuestions",[se({headline:"You May Be Entitled To Compensation"}),le({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",X("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[N(a),H(a),k(a),Q(a),q(a),U(a)]})),L("CrossSell:Auto_and_Car_Accidents",0,{label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return be("ssdiCrossSellQuestions",[se({headline:"You May Be Entitled To Benefits"}),le({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",X("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[N(a),I(a),F(a),M(a),V(a),q(a)]})),L("CrossSell:Social_Security_Disability_and_Insurance",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return be("personalInjuryCrossSellQuestions",[se({headline:"You May Be Entitled To Compensation"}),le({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",X("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[N(a),H(a),T(a),k(a),Q(a),q(a)]})),L("CrossSell:Personal_Injury",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return be("willsAndTrustsCrossSellQuestions",[se({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",X("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[N(a),J(a),Z(a),K(a),Y(a),j(a)]})),L("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return be("divorceAndSeparationCrossSellQuestions",[se({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",X("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[N(a),R(a),W(a),O(a),B(a)]})),L("CrossSell:Divorce_and_Separation",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return be("childCustodyCrossSellQuestions",[se({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",X("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[N(a),D(a),A(a),E(a),O(a),B(a)]})),L("CrossSell:Child_Custody",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return be("firstAndLast",[ce({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),de({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),_(e.scope),$(e.scope)],e)}({headlineClass:"!t-text-dark"})];const De=[Ee,e(we,Te),{$cmp:"FormKit",props:function(t){const a=e(Ce,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"foreclosure",redirectMap:function(t){return e(Se,t)}(),crossSellOptionMap:{Foreclosure:{"Auto and Car Accidents":"Involved in a Car Accident","Wills and Trusts":"Need a Will or Trust","Personal Injury":"Personal or Workplace Injury","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody","Social Security Disability and Insurance":"Interest in SSDI Benefits"}}}),children:[function(t){return e(_e,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Protect Your Family Today!")',if:"$activeStep === $firstStep()",headlineClass:"!t-pt-8 !t-text-2xl"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "What Type of Property Is Facing Foreclosure?")',if:"$activeStep === $firstStep()"}),...$e,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return be("foreclosureTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Foreclosure"},G(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:Ae}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return be("contactInfo",[me(e),fe(e),{$el:"script",if:"$activeStep === $lastStep()",children:he},w(e.scope),S(e.scope),z(e.scope),re()],{nextOnEnter:!1})}({headline:"Secure Your Future Today",subheadline:"Attorneys Are Ready To Help"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Started",inputClass:"!t-font-extrabold"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Te;return De}();
|
|
1
|
+
var foreclosure=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)',n=e=>(e.name&&!e.id&&(e.id=e.name),e),r=t=>(n(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),s=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md: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",r(e)),l=e=>(e&&e.legendClass||(e.legendClass="required t-w-[100%] t-text-center"),e.fieldsetClass="$reset t-flex t-justify-center t-flex-col",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",r(e)),o=t=>(n(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),d=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",o(e)),u=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e)),c=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",o(e)))(e)),p=e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",o(e)),m=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",p(e)),f=t=>(n(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),h=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",f(e)),y=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white",e.helpClass="t-mt-2.5 t-text-center",f(e)),b=t=>(n(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),g=e=>(e.wrapperClass="side-by-side t-items-center",b(e)),C=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",b(e)),x=t=>(n(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)),v=e=>(e.wrapperClass="side-by-side t-items-center",x(e)),w=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",x(e)),_=(e,t,a={})=>(t?C:g)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),$=(e,t,a={})=>(t?C:g)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),S=(e,t,a={})=>(t?C:g)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),I=(e,t,a={})=>(t?C:g)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.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:"Phone Number 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]",...a}),k=(t,a,i={})=>(a?C:g)(e({label:a?i.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?i.value??"50":null,maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"},...i})),P=(t,a,i={})=>(a?m:c)(e({label:a?i.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},i)),A=e=>{return(t={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",id:e?e+":CrossSell_Bankruptcy":"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",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",r(t);var t},E=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},i)),D=(t,a,i={})=>(a?p:h)(e({label:a?i.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},i)),T=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},i)),L=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},i)),O=(t,a,i)=>(t=>(n(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},i)),j=(t,a,i={})=>(a?d:h)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?i.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?i.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},i)),F=(t,a,i={})=>j(t,a,e(i,{help:"No payment necessary to speak with lawyers."})),M=(t,a,i={})=>(a?m:c)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?i.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},i)),q=(t,a,i={})=>(a?m:c)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?i.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},i)),Y=(t,a,i={})=>(a?m:c)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?i.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},i)),N=(t,a,i={})=>(a?d:h)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?i.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},i)),W=(t,a,i={})=>(a?m:c)(e({label:a?i.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},i)),H=(t,a,i={})=>(a?m:c)(e({name:t?t+":Have_Children":"Have_Children",label:a?i.label:"Do You Have Children?"},i)),B=(t,a,i={})=>(a?w:v)(e({label:a?i.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},i)),R=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?i.help:"No payment necessary to start a consultation.",name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",options:a?{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"}:["Cash","Check","Credit Card","Friend","Family","Other"],fieldsetClass:a?"$reset t-flex t-flex-col t-items-center":void 0},i)),Q=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"Marital Status:",name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]},i)),U=(t,a,i={})=>(a?d:u)(e({label:a?i.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},i)),K=(t,a,i={})=>(a?m:c)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?i.label:"Was a Police Report Filed?"},i)),V=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"What is Your Role in this Matter?",name:t?t+":Role_In_Matter_Probate":"Role_In_Matter_Probate",options:["Preparing My Will","Executor","Heir","Other"]},i)),z=(t,a,i={})=>(a?m:c)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?i.label:"Are You Currently Receiving Social Security Disability Benefits?"},i)),Z=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),G=(t,a,i={})=>(a?l:s)(e({label:a?i.label:"Type of Assets:",name:t?t+":Type_Of_Assets":"Type_Of_Assets",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]},i)),J=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"Type of Property:",name:t?t+":Type_Of_Property":"Type_Of_Property",options:["Residential","Commercial","Industrial","Agricultural","Recreational","Other"]},i)),X=(t,a,i={})=>(a?d:h)(e({label:a?i.label:"Value of Your Assets?",name:t?t+":Value_Of_Assets":"Value_Of_Assets",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]},i)),ee=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),te="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",ae="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",ie=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,ne=e=>{if(ie(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(ie(a))return a;const i=ne(a);if(i)return i}return null},re={$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 se(t={}){return e(re,t)}function le(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-4 t-pt-0 t-px-1"}}}function oe(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function de(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-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ue(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function ce(e){return function(e){return{$el:"h3",children:e.headline||"Additional 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||"")}}}({headline:e.headline||"Additional Case Details",headlineClass:e.headlineClass})}function pe(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 me(e){return{$el:"h3",children:e.headline||"Do any of the following situations apply?",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 fe(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 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function he(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-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}const ye="(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})();";const be=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function ge(t,a,i={}){const{nextOnEnter:n=!0,nextOnInput:r=!1,stepKey:s,nextStepMap:l,triggerRedirectMap:o,autoFocus:d}=i;if(a&&a.length&&(n||r)){const e=ne(a[a.length-1]);e&&!0===n&&(e.onKeypress=te),e&&!0===r&&(e.onInput=ae)}return e(be(t,s),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:o,autoFocus:d,children:a}]})}function Ce(e,t,a,i={}){return void 0===i.nextOnInput&&(i.nextOnInput=!0),ge(e,[de({headline:i.headline??a,headlineClass:i.headlineClass}),...Array.isArray(t)?t:[t]],i)}const xe={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function ve(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const we={};const _e={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const $e={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const Se=[{$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}],Ie={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ke={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 broke my arm at work and need help getting compensation"',"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"'},Pe={},Ae={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."},Ee={values:{"*":["amountPaymentsPastDue","loanAmount","defaultNotice","ownRealEstate","haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"]}},De=function(a=null){let i=ke,n=Pe,r=Ae;return a&&(i=ve(ke,a),n=ve(Pe,a),r=ve(Ae,a)),{type:"meta",data:e(we,{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.",defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:n,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:r})}}();De.data.dynamicSchema=[function(t={}){return Ce("amountPaymentsPastDue",((t,a,i={})=>(a?y:h)(e({label:a?i.label:"Total Amount of Payments that are Past Due:",name:t?t+":Amount_Payments_Past_Due":"Amount_Payments_Past_Due",options:["$0 - $499","$500 - $999","$1,000 - $2,499","$2,500 - $4,999","$5,000 - $9,999","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","More than $100,000"]},i)))(t.scope,!0,t.input),"Total amount of payments past due:",t)}(),function(t={}){return Ce("defaultNotice",((t,a,i={})=>(a?m:c)(e({name:t?t+":Default_Notice":"Default_Notice",label:a?i.label:"Have You Received a Notice of Loan Default?"},i)))(t.scope,!0,t.input),"Have you received a loan default notice?",t)}(),function(t={}){return Ce("loanAmount",((t,a,i={})=>(a?y:h)(e({label:a?i.label:"Total Amount of Loan?",name:t?t+":Loan_Amount":"Loan_Amount",options:["Less than $10,000","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","$100,000 - $199,999","$200,000 - $299,999","$300,000 - $399,999","$400,000 - $499,999","$500,000 - $599,999","More than $600,000"]},i)))(t.scope,!0,t.input),"Total amount of the loan:",t)}(),function(t={}){return Ce("ownRealEstate",((t,a,i={})=>(a?m:c)(e({name:t?t+":Own_Real_Estate":"Own_Real_Estate",label:a?i.label:"Do You Own Real Estate?"},i)))(t.scope,!0,t.input),"Do you own real estate?",t)}(),function(e={}){return Ce("typeOfProperty",J(e.scope,!0,e.input),"What type of property is involved?",e)}(),function(e={}){return Ce("degreeOfInterest",j(e.scope,!0,e.input),"Could you pay if your issue could be resolved?",e)}(),function(e={}){return Ce("haveAttorney",W(e.scope,!0,e.input),"Already working with an attorney?",e)}(),function(e={}){return Ce("zipcode",((e,t,a={})=>(t?C:g)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(e={}){return ge("commentsWithBankruptcy",[ce(e),O(e.scope,0,{label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass}),A(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[O("CrossSell:Bankruptcy",0,{label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"})]}],{nextOnEnter:!1})}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",ge("legalCrossSells",[me(e),s({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))'})],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{Legal_CrossSells:{"Auto and Car Accidents":["autoAndCarAccidentCrossSellQuestions"],"Personal Injury":["personalInjuryCrossSellQuestions"],"Workers Compensation":["workersCompensationCrossSellQuestions"],"DUI and DWI":["duiAndDWICrossSellQuestions"],"Long Term Disability":["longTermDisabilityCrossSellQuestions"],"Social Security Disability and Insurance":["ssdiCrossSellQuestions"],Bankruptcy:["bankruptcyCrossSellQuestions"],"Power of Attorney":["powerOfAttorneyCrossSellQuestions"],"Wills and Trusts":["willsAndTrustsCrossSellQuestions"],"Divorce and Separation":["divorceAndSeparationCrossSellQuestions"],"Child Custody":["childCustodyCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}}),function(e={}){return ge("autoAndCarAccidentCrossSellQuestions",[le({headline:"You May Be Entitled To Compensation"}),oe({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",ee("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[W(a),B(a),P(a),U(a),Y(a),K(a)]})),O("CrossSell:Auto_and_Car_Accidents",0,{label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("ssdiCrossSellQuestions",[le({headline:"You May Be Entitled To Benefits"}),oe({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",ee("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[W(a),k(a),M(a),q(a),z(a),Y(a)]})),O("CrossSell:Social_Security_Disability_and_Insurance",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("personalInjuryCrossSellQuestions",[le({headline:"You May Be Entitled To Compensation"}),oe({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",ee("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[W(a),B(a),L(a),P(a),U(a),Y(a)]})),O("CrossSell:Personal_Injury",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("willsAndTrustsCrossSellQuestions",[le({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",ee("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[W(a),X(a),G(a),V(a),N(a),F(a)]})),O("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("divorceAndSeparationCrossSellQuestions",[le({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",ee("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[W(a),Q(a),H(a),j(a),R(a)]})),O("CrossSell:Divorce_and_Separation",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("childCustodyCrossSellQuestions",[le({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",ee("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[W(a),T(a),E(a),D(a),j(a),R(a)]})),O("CrossSell:Child_Custody",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return ge("firstAndLast",[pe({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),ue({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),$(e.scope),S(e.scope)],e)}({headlineClass:"!t-text-dark"})];const Te=[De,e(_e,Le),{$cmp:"FormKit",props:function(t){const a=e(xe,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"foreclosure",redirectMap:function(t){return e(Ie,t)}(),crossSellOptionMap:{Foreclosure:{"Auto and Car Accidents":"Involved in a Car Accident","Wills and Trusts":"Need a Will or Trust","Personal Injury":"Personal or Workplace Injury","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody","Social Security Disability and Insurance":"Interest in SSDI Benefits"}}}),children:[function(t){return e($e,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Protect Your Family Today!")',if:"$activeStep === $firstStep()",headlineClass:"!t-pt-8 !t-text-2xl"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "What Type of Property Is Facing Foreclosure?")',if:"$activeStep === $firstStep()"}),...Se,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return ge("foreclosureTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Foreclosure"},J(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:Ee}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return ge("contactInfo",[fe(e),he(e),{$el:"script",if:"$activeStep === $lastStep()",children:ye},_(e.scope),I(e.scope),Z(e.scope),se()],{nextOnEnter:!1})}({headline:"Secure Your Future Today",subheadline:"Attorneys Are Ready To Help"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Started",inputClass:"!t-font-extrabold"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Le;return Te}();
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
[eval]:1
|
|
2
|
-
eval(fs.readFileSync(dist/forms/.iife.js)+); console.log(JSON.stringify(foreclosure));
|
|
3
|
-
^
|
|
4
|
-
|
|
5
|
-
SyntaxError: Unexpected token '.'
|
|
6
|
-
at makeContextifyScript (node:internal/vm:122:14)
|
|
7
|
-
at node:internal/process/execution:89:22
|
|
8
|
-
at [eval]-wrapper:6:24
|
|
9
|
-
at runScript (node:internal/process/execution:83:62)
|
|
10
|
-
at evalScript (node:internal/process/execution:114:10)
|
|
11
|
-
at node:internal/main/eval_string:30:3
|
|
12
|
-
|
|
13
|
-
Node.js v18.20.3
|
|
1
|
+
[{"type":"meta","data":{"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.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","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 broke my arm at work and need help getting compensation\"","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."},"dynamicSchema":[{"$el":"section","if":"$stepEnabled(\"amountPaymentsPastDue\")","attrs":{"hidden":"$activeStep !== \"amountPaymentsPastDue\"","key":"amountPaymentsPastDue"},"children":[{"$formkit":"group","id":"amountPaymentsPastDue","name":"amountPaymentsPastDue","children":[{"$el":"h3","children":"Total amount of payments past due:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-min-w-[150px] t-bg-white","labelClass":"required","name":"Amount_Payments_Past_Due","options":["$0 - $499","$500 - $999","$1,000 - $2,499","$2,500 - $4,999","$5,000 - $9,999","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","More than $100,000"],"wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 t-text-center","id":"Amount_Payments_Past_Due","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"defaultNotice\")","attrs":{"hidden":"$activeStep !== \"defaultNotice\"","key":"defaultNotice"},"children":[{"$formkit":"group","id":"defaultNotice","name":"defaultNotice","children":[{"$el":"h3","children":"Have you received a loan default notice?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Default_Notice","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Default_Notice","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"loanAmount\")","attrs":{"hidden":"$activeStep !== \"loanAmount\"","key":"loanAmount"},"children":[{"$formkit":"group","id":"loanAmount","name":"loanAmount","children":[{"$el":"h3","children":"Total amount of the loan:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-min-w-[150px] t-bg-white","labelClass":"required","name":"Loan_Amount","options":["Less than $10,000","$10,000 - $24,999","$25,000 - $49,999","$50,000 - $99,999","$100,000 - $199,999","$200,000 - $299,999","$300,000 - $399,999","$400,000 - $499,999","$500,000 - $599,999","More than $600,000"],"wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 t-text-center","id":"Loan_Amount","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"ownRealEstate\")","attrs":{"hidden":"$activeStep !== \"ownRealEstate\"","key":"ownRealEstate"},"children":[{"$formkit":"group","id":"ownRealEstate","name":"ownRealEstate","children":[{"$el":"h3","children":"Do you own real estate?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Own_Real_Estate","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Own_Real_Estate","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"typeOfProperty\")","attrs":{"hidden":"$activeStep !== \"typeOfProperty\"","key":"typeOfProperty"},"children":[{"$formkit":"group","id":"typeOfProperty","name":"typeOfProperty","children":[{"$el":"h3","children":"What type of property is involved?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"Type_Of_Property","options":["Residential","Commercial","Industrial","Agricultural","Recreational","Other"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 md:t-pl-8 md:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"Type_Of_Property","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"degreeOfInterest\")","attrs":{"hidden":"$activeStep !== \"degreeOfInterest\"","key":"degreeOfInterest"},"children":[{"$formkit":"group","id":"degreeOfInterest","name":"degreeOfInterest","children":[{"$el":"h3","children":"Could you pay if your issue could be resolved?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"Degree_Of_Interest","id":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 md:t-pl-8 md:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"haveAttorney\")","attrs":{"hidden":"$activeStep !== \"haveAttorney\"","key":"haveAttorney"},"children":[{"$formkit":"group","id":"haveAttorney","name":"haveAttorney","children":[{"$el":"h3","children":"Already working with an attorney?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Have_Attorney","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please verify your Zip Code","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We try to match you with local help","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"commentsWithBankruptcy\")","attrs":{"hidden":"$activeStep !== \"commentsWithBankruptcy\"","key":"commentsWithBankruptcy"},"children":[{"$formkit":"group","id":"commentsWithBankruptcy","name":"commentsWithBankruptcy","children":[{"$el":"h3","children":"Please briefly describe 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 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","inputClass":"!t-h-32","id":"Comments"},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"label":"I'd also like a consult for bankruptcy or debt elimination (optional)","help":"Note: you will be contacted separately by a bankruptcy/debt expert","name":"CrossSell_Bankruptcy","id":"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\")","helpClass":"!t-text-sm","legendClass":"legend-left required","fieldsetClass":"$reset side-by-side","optionsClass":"t-pl-1","innerClass":"t-flex t-items-center","wrapperClass":"t-mb-3"},{"$el":"div","if":"$get(CrossSell_Bankruptcy).value == true","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Bankruptcy:Comments","label":"Bankruptcy or debt details:","placeholder":"Please describe your bankrtupcy or debt situation in a few words...","inputClass":"!t-h-16","id":"CrossSell:Bankruptcy:Comments"}]}]}]},{"$el":"section","if":"$stepEnabled(\"legalCrossSells\")","attrs":{"hidden":"$activeStep !== \"legalCrossSells\"","key":"$get(Type_Of_Legal_Problem).value"},"children":[{"$formkit":"group","id":"legalCrossSells","name":"legalCrossSells","nextStepMap":{"values":{"Legal_CrossSells":{"Auto and Car Accidents":["autoAndCarAccidentCrossSellQuestions"],"Personal Injury":["personalInjuryCrossSellQuestions"],"Workers Compensation":["workersCompensationCrossSellQuestions"],"DUI and DWI":["duiAndDWICrossSellQuestions"],"Long Term Disability":["longTermDisabilityCrossSellQuestions"],"Social Security Disability and Insurance":["ssdiCrossSellQuestions"],"Bankruptcy":["bankruptcyCrossSellQuestions"],"Power of Attorney":["powerOfAttorneyCrossSellQuestions"],"Wills and Trusts":["willsAndTrustsCrossSellQuestions"],"Divorce and Separation":["divorceAndSeparationCrossSellQuestions"],"Child Custody":["childCustodyCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},"appendSteps":["firstAndLast","contactInfo"],"matchesAllowed":1},"children":[{"$el":"h3","children":"Do any of the following situations apply?","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 !t-text-dark"}},{"$formkit":"checkbox","validation":null,"validationMessages":{"required":"Field is required"},"id":"Legal_CrossSells","name":"Legal_CrossSells","help":"Just hit \"Next\" if none apply","helpClass":"t-text-center !t-text-sm","options":"$getCrossSellOptions($get(form), $getVal($get(form), \"Type_Of_Legal_Problem\"))","legendClass":"required","fieldsetClass":"$reset","optionsClass":"t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"autoAndCarAccidentCrossSellQuestions\")","attrs":{"hidden":"$activeStep !== \"autoAndCarAccidentCrossSellQuestions\"","key":"autoAndCarAccidentCrossSellQuestions"},"children":[{"$formkit":"group","id":"autoAndCarAccidentCrossSellQuestions","name":"autoAndCarAccidentCrossSellQuestions","children":[{"$el":"h3","children":"You May Be Entitled To Compensation","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}},{"$el":"h5","children":"Tell us about your accident:","attrs":{"class":"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}},{"$cmp":"FormKit","props":{"type":"group","key":"AutoAndCarAccidentsQuestions","id":"AutoAndCarAccidentsQuestions","name":"AutoAndCarAccidentsQuestions"},"if":"true","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Already Working with An Attorney?","name":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Auto_and_Car_Accidents:Have_Attorney"},{"$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","label":"Date of Incident:","name":"CrossSell:Auto_and_Car_Accidents:Incident_Date","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Incident_Date"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Were You at Fault?","name":"CrossSell:Auto_and_Car_Accidents:At_Fault","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Auto_and_Car_Accidents:At_Fault"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","label":"Primary Injury:","name":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"CrossSell:Auto_and_Car_Accidents:Primary_Injury"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","label":"Was a Police Report Filed?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed"}]},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Comments","label":"Accident Description:","placeholder":"Please describe your accident in a few words...","inputClass":"!t-h-16","id":"CrossSell:Auto_and_Car_Accidents:Comments","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"ssdiCrossSellQuestions\")","attrs":{"hidden":"$activeStep !== \"ssdiCrossSellQuestions\"","key":"ssdiCrossSellQuestions"},"children":[{"$formkit":"group","id":"ssdiCrossSellQuestions","name":"ssdiCrossSellQuestions","children":[{"$el":"h3","children":"You May Be Entitled To Benefits","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}},{"$el":"h5","children":"Tell us about your disability:","attrs":{"class":"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}},{"$cmp":"FormKit","props":{"type":"group","key":"SocialSecurityDisabilityAndInsuranceQuestions","id":"SocialSecurityDisabilityAndInsuranceQuestions","name":"SocialSecurityDisabilityAndInsuranceQuestions"},"if":"true","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Already Working with An Attorney?","name":"CrossSell:Social_Security_Disability_and_Insurance:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Social_Security_Disability_and_Insurance:Have_Attorney"},{"$formkit":"text","validation":"required|min:18,max:65","validationMessages":{"required":"Applicant Age is required","min":"Invalid Age - must be between 18 and 65","max":"Invalid Age - must be between 18 and 65"},"labelClass":"required","label":"Age of Applicant?","placeholder":"Age between 18 and 65","name":"CrossSell:Social_Security_Disability_and_Insurance:Applicant_Age","value":null,"maxlength":2,"inputmode":"numeric","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Social_Security_Disability_and_Insurance:Applicant_Age"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Social_Security_Disability_and_Insurance:Disability_Condition_Stop_Work","label":"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Social_Security_Disability_and_Insurance:Disability_Condition_Stop_Work"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Social_Security_Disability_and_Insurance:Disability_Work_History","label":"Have You Had a Full-Time Job Within the Past 5 Years?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Social_Security_Disability_and_Insurance:Disability_Work_History"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Social_Security_Disability_and_Insurance:Social_Security_Disability_Receiving_Benefits","label":"Are You Currently Receiving Social Security Disability Benefits?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Social_Security_Disability_and_Insurance:Social_Security_Disability_Receiving_Benefits"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Social_Security_Disability_and_Insurance:Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Social_Security_Disability_and_Insurance:Doctor_Treatment"}]},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Social_Security_Disability_and_Insurance:Comments","label":"Description:","placeholder":"Please describe your situation in a few words...","inputClass":"!t-h-16","id":"CrossSell:Social_Security_Disability_and_Insurance:Comments","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"personalInjuryCrossSellQuestions\")","attrs":{"hidden":"$activeStep !== \"personalInjuryCrossSellQuestions\"","key":"personalInjuryCrossSellQuestions"},"children":[{"$formkit":"group","id":"personalInjuryCrossSellQuestions","name":"personalInjuryCrossSellQuestions","children":[{"$el":"h3","children":"You May Be Entitled To Compensation","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}},{"$el":"h5","children":"Tell us about your injury:","attrs":{"class":"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}},{"$cmp":"FormKit","props":{"type":"group","key":"PersonalInjuryQuestions","id":"PersonalInjuryQuestions","name":"PersonalInjuryQuestions"},"if":"true","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Already Working with An Attorney?","name":"CrossSell:Personal_Injury:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Personal_Injury:Have_Attorney"},{"$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","label":"Date of Incident:","name":"CrossSell:Personal_Injury:Incident_Date","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Personal_Injury:Incident_Date"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Status of Claim:","name":"CrossSell:Personal_Injury:Claim_Status","options":["No action taken yet","Demand for compensation made","Lawsuit filed","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Personal_Injury:Claim_Status"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Were You at Fault?","name":"CrossSell:Personal_Injury:At_Fault","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Personal_Injury:At_Fault"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125","legendClass":"legend-left-flex md:t-max-w-[40%] required","label":"Primary Injury:","name":"CrossSell:Personal_Injury:Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"],"fieldsetClass":"$reset side-by-side-flex","innerClass":"t-flex t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"CrossSell:Personal_Injury:Primary_Injury"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Personal_Injury:Doctor_Treatment","label":"Have You Recently Been Treated by a Doctor, Hospital or Clinic?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Personal_Injury:Doctor_Treatment"}]},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Personal_Injury:Comments","label":"Injury Description:","placeholder":"Please describe your injury in a few words...","inputClass":"!t-h-16","id":"CrossSell:Personal_Injury:Comments","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"willsAndTrustsCrossSellQuestions\")","attrs":{"hidden":"$activeStep !== \"willsAndTrustsCrossSellQuestions\"","key":"willsAndTrustsCrossSellQuestions"},"children":[{"$formkit":"group","id":"willsAndTrustsCrossSellQuestions","name":"willsAndTrustsCrossSellQuestions","children":[{"$el":"h3","children":"Will or Trust Information","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}},{"$cmp":"FormKit","props":{"type":"group","key":"WillsAndTrustsQuestions","id":"WillsAndTrustsQuestions","name":"WillsAndTrustsQuestions"},"if":"true","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Already Working with An Attorney?","name":"CrossSell:Wills_and_Trusts:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Wills_and_Trusts:Have_Attorney"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Value of Your Assets?","name":"CrossSell:Wills_and_Trusts:Value_Of_Assets","options":["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Wills_and_Trusts:Value_Of_Assets"},{"$formkit":"checkbox","validation":"required","validationMessages":{"required":"Field is required"},"label":"Type of Assets:","name":"CrossSell:Wills_and_Trusts:Type_Of_Assets","options":["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"],"legendClass":"required","fieldsetClass":"$reset","optionsClass":"t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","id":"CrossSell:Wills_and_Trusts:Type_Of_Assets"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"What is Your Role in this Matter?","name":"CrossSell:Wills_and_Trusts:Role_In_Matter_Probate","options":["Preparing My Will","Executor","Heir","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Wills_and_Trusts:Role_In_Matter_Probate"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"CrossSell:Wills_and_Trusts: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"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Wills_and_Trusts:Estate_Legal_Services_Needed"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"CrossSell:Wills_and_Trusts:Degree_Of_Interest","id":"CrossSell:Wills_and_Trusts:Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"}]},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Wills_and_Trusts:Comments","label":"Description:","placeholder":"Please describe your situation in a few words...","inputClass":"!t-h-16","id":"CrossSell:Wills_and_Trusts:Comments","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"divorceAndSeparationCrossSellQuestions\")","attrs":{"hidden":"$activeStep !== \"divorceAndSeparationCrossSellQuestions\"","key":"divorceAndSeparationCrossSellQuestions"},"children":[{"$formkit":"group","id":"divorceAndSeparationCrossSellQuestions","name":"divorceAndSeparationCrossSellQuestions","children":[{"$el":"h3","children":"Divorce or Separation Information","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}},{"$cmp":"FormKit","props":{"type":"group","key":"DivorceQuestions","id":"DivorceQuestions","name":"DivorceQuestions"},"if":"true","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Already Working with An Attorney?","name":"CrossSell:Divorce_and_Separation:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Divorce_and_Separation:Have_Attorney"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Marital Status:","name":"CrossSell:Divorce_and_Separation:Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Divorce_and_Separation:Marital_Status"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","name":"CrossSell:Divorce_and_Separation:Have_Children","label":"Do You Have Children?","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Divorce_and_Separation:Have_Children"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"CrossSell:Divorce_and_Separation:Degree_Of_Interest","id":"CrossSell:Divorce_and_Separation:Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","help":"No payment necessary to start a consultation.","name":"CrossSell:Divorce_and_Separation:Lawyer_Payment_Method","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Divorce_and_Separation:Lawyer_Payment_Method"}]},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Divorce_and_Separation:Comments","label":"Description:","placeholder":"Please describe your situation in a few words...","inputClass":"!t-h-16","id":"CrossSell:Divorce_and_Separation:Comments","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"childCustodyCrossSellQuestions\")","attrs":{"hidden":"$activeStep !== \"childCustodyCrossSellQuestions\"","key":"childCustodyCrossSellQuestions"},"children":[{"$formkit":"group","id":"childCustodyCrossSellQuestions","name":"childCustodyCrossSellQuestions","children":[{"$el":"h3","children":"Child Custody Information","attrs":{"class":"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}},{"$cmp":"FormKit","props":{"type":"group","key":"ChildCustodyQuestions","id":"ChildCustodyQuestions","name":"ChildCustodyQuestions"},"if":"true","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center","legendClass":"legend-left t-pb-1 required","label":"Already Working with An Attorney?","name":"CrossSell:Child_Custody:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset side-by-side t-items-center","innerClass":"t-flex t-items-center","optionClass":"t-pr-1","id":"CrossSell:Child_Custody:Have_Attorney"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Your Relationship to Child(ren):","name":"CrossSell:Child_Custody:Child_Relationship","options":["Father","Mother","Grandparent","Aunt/Uncle","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Child_Custody:Child_Relationship"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"With Whom Do the Children Currently Live?","name":"CrossSell:Child_Custody:Child_Home","options":["Mother","Father","Grandparents","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Child_Custody:Child_Home"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"Who is the Primary Caregiver?","name":"CrossSell:Child_Custody:Child_Primary_Caregiver","options":["Mother","Father","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Child_Custody:Child_Primary_Caregiver"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","name":"CrossSell:Child_Custody:Degree_Of_Interest","id":"CrossSell:Child_Custody:Degree_Of_Interest","label":"How Likely Are You to Pay if Your Issue Could be Resolved?","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"t-bg-white","labelClass":"required","label":"How Will You Pay for Legal Fees if You Hire a Lawyer?","help":"No payment necessary to start a consultation.","name":"CrossSell:Child_Custody:Lawyer_Payment_Method","options":["Cash","Check","Credit Card","Friend","Family","Other"],"wrapperClass":"side-by-side t-items-center","innerClass":"select-height-content","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-5px]","id":"CrossSell:Child_Custody:Lawyer_Payment_Method"}]},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Child_Custody:Comments","label":"Description:","placeholder":"Please describe your situation in a few words...","inputClass":"!t-h-16","id":"CrossSell:Child_Custody:Comments","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for help?","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 !t-text-dark"}},{"$el":"h5","children":"Note: we never share info without consent","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-sm !t-text-gray-500"}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","placeholder":"First Name","name":"First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last Name","name":"Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[40rem]","formId":"foreclosure","redirectMap":{"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"crossSellOptionMap":{"Foreclosure":{"Auto and Car Accidents":"Involved in a Car Accident","Wills and Trusts":"Need a Will or Trust","Personal Injury":"Personal or Workplace Injury","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody","Social Security Disability and Insurance":"Interest in SSDI Benefits"}},"name":"foreclosure"},"children":[{"$el":"div","attrs":{"class":"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center","style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none"}},"children":[{"$el":"div","attrs":{"class":"t-flex t-justify-center"},"children":[{"$el":"span","attrs":{"id":"progress-bar-text","class":"t-text-sm t-mb-1"},"children":["0% Complete"]}]},{"$el":"div","attrs":{"class":"t-bg-gray-100 t-w-9/12 t-rounded"},"children":[{"$el":"div","attrs":{"id":"progress-bar","class":"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]","style":{"transition":"width 0.5s ease"}}}]}]},{"$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 !t-pt-8 !t-text-2xl f-first-headline"},"children":"$urlParam(\"hl\", \"Protect Your Family Today!\")","if":"$activeStep === $firstStep()","headlineClass":"!t-pt-8 !t-text-2xl"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 f-first-subheadline"},"children":"$urlParam(\"shl\", \"What Type of Property Is Facing Foreclosure?\")","if":"$activeStep === $firstStep()"},{"$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},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"foreclosureTOLP\")","attrs":{"hidden":"$activeStep !== \"foreclosureTOLP\"","key":"foreclosureTOLP"},"children":[{"$formkit":"group","id":"foreclosureTOLP","name":"foreclosureTOLP","nextStepMap":{"values":{"*":["amountPaymentsPastDue","loanAmount","defaultNotice","ownRealEstate","haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"]}},"children":[{"$formkit":"hidden","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","value":"Foreclosure"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"Type_Of_Property","options":["Residential","Commercial","Industrial","Agricultural","Recreational","Other"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 md:t-pl-8 md:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"Type_Of_Property","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$cmp":"FormKitSchema","if":"$get(Type_Of_Legal_Problem).value","props":{"schema":"$meta.dynamicSchema","data":"$buildData($meta)"}},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Secure Your Future Today","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 f-contact-info-headline"}},{"$el":"h5","children":"Attorneys Are Ready To Help","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 f-contact-info-subheadline"}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(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})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center","id":"Email"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use ###-###-####","valid_phone":"Invalid Phone Number"},"labelClass":"required","name":"Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center","id":"Primary_Phone"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","__raw__sectionsSchema":{"label":{"attrs":{"innerHTML":"$label"}}},"name":"TCPA_Opt_In","data-tf-sensitive":"false","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"outer":"","wrapper":"","messages":"","label":"t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]"}},{"$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"}}]}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center sm:!t-justify-between","else":"step-nav !t-justify-between"}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$activeStep === $firstStep()","then":"t-hidden sm:t-block","else":""},"style":{"if":"$activeStep === $firstStep()","then":"display: none;"},"classes":{"input":"!t-font-extrabold f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Get Started","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-font-extrabold f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Submit","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-font-extrabold !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
|
|
@@ -84,10 +84,15 @@ const CROSS_SELL_OPTION_MAP_HOME_IMPROVEMENT = {
|
|
|
84
84
|
|
|
85
85
|
// ------ Common Base Settings
|
|
86
86
|
|
|
87
|
-
const
|
|
88
|
-
if (
|
|
89
|
-
|
|
87
|
+
const ensureIds = (cfg) => {
|
|
88
|
+
if (cfg.name && !cfg.id) {
|
|
89
|
+
cfg.id = cfg.name;
|
|
90
90
|
}
|
|
91
|
+
return cfg
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
const checkbox = (updates) => {
|
|
95
|
+
ensureIds(updates);
|
|
91
96
|
return merge(
|
|
92
97
|
{
|
|
93
98
|
$formkit: "checkbox",
|
|
@@ -115,9 +120,7 @@ const verticalCol2Checkbox = (updates) => {
|
|
|
115
120
|
};
|
|
116
121
|
|
|
117
122
|
const radio = (updates) => {
|
|
118
|
-
|
|
119
|
-
updates.id = updates.name;
|
|
120
|
-
}
|
|
123
|
+
ensureIds(updates);
|
|
121
124
|
return merge(
|
|
122
125
|
{
|
|
123
126
|
$formkit: "radio",
|
|
@@ -168,9 +171,7 @@ const verticalRadio = (updates) => {
|
|
|
168
171
|
};
|
|
169
172
|
|
|
170
173
|
const select = (updates) => {
|
|
171
|
-
|
|
172
|
-
updates.id = updates.name;
|
|
173
|
-
}
|
|
174
|
+
ensureIds(updates);
|
|
174
175
|
return merge(
|
|
175
176
|
{
|
|
176
177
|
$formkit: "select",
|
|
@@ -204,9 +205,7 @@ const verticalSelect = (updates) => {
|
|
|
204
205
|
};
|
|
205
206
|
|
|
206
207
|
const text = (updates) => {
|
|
207
|
-
|
|
208
|
-
updates.id = updates.name;
|
|
209
|
-
}
|
|
208
|
+
ensureIds(updates);
|
|
210
209
|
return merge(
|
|
211
210
|
{
|
|
212
211
|
$formkit: "text",
|
|
@@ -234,9 +233,7 @@ const verticalText = (updates) => {
|
|
|
234
233
|
};
|
|
235
234
|
|
|
236
235
|
const textArea = (updates) => {
|
|
237
|
-
|
|
238
|
-
updates.id = updates.name;
|
|
239
|
-
}
|
|
236
|
+
ensureIds(updates);
|
|
240
237
|
return merge(
|
|
241
238
|
{
|
|
242
239
|
$formkit: "textarea",
|