bhl-forms 0.10.5 → 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 +3958 -4643
- package/dist/bhl-forms.iife.js +4 -4
- package/dist/bhl-forms.modern.es.js +5280 -6107
- 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/applianceRepairMinimal.es.js +10 -3
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/appraisals.es.js +10 -3
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +13 -18
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +13 -18
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +13 -18
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/civilLawsuit.es.js +13 -18
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/coins.es.js +10 -3
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +13 -18
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +13 -18
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +13 -18
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +13 -18
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/foreclosure.es.js +13 -18
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +12 -15
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +12 -15
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +13 -12
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +13 -18
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +13 -18
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +13 -18
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +13 -18
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.es.js +13 -18
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.es.js +13 -18
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +13 -18
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +13 -18
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +13 -18
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +13 -18
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +13 -12
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +13 -18
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/realEstate.es.js +13 -18
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +13 -18
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +11 -12
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +11 -6
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +12 -9
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +10 -3
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +13 -18
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/windows.es.js +12 -15
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +13 -18
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/dist/main.css +1 -1
- package/package.json +4 -3
|
@@ -105,10 +105,15 @@ const CROSS_SELL_OPTION_MAP_LEGAL = {
|
|
|
105
105
|
|
|
106
106
|
// ------ Common Base Settings
|
|
107
107
|
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
110
|
-
|
|
108
|
+
const ensureIds = (cfg) => {
|
|
109
|
+
if (cfg.name && !cfg.id) {
|
|
110
|
+
cfg.id = cfg.name;
|
|
111
111
|
}
|
|
112
|
+
return cfg
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
const checkbox = (updates) => {
|
|
116
|
+
ensureIds(updates);
|
|
112
117
|
return merge(
|
|
113
118
|
{
|
|
114
119
|
$formkit: "checkbox",
|
|
@@ -156,9 +161,7 @@ const verticalCol2Checkbox = (updates) => {
|
|
|
156
161
|
};
|
|
157
162
|
|
|
158
163
|
const radio = (updates) => {
|
|
159
|
-
|
|
160
|
-
updates.id = updates.name;
|
|
161
|
-
}
|
|
164
|
+
ensureIds(updates);
|
|
162
165
|
return merge(
|
|
163
166
|
{
|
|
164
167
|
$formkit: "radio",
|
|
@@ -242,9 +245,7 @@ const verticalYesNoRadio = (updates) => {
|
|
|
242
245
|
};
|
|
243
246
|
|
|
244
247
|
const select = (updates) => {
|
|
245
|
-
|
|
246
|
-
updates.id = updates.name;
|
|
247
|
-
}
|
|
248
|
+
ensureIds(updates);
|
|
248
249
|
return merge(
|
|
249
250
|
{
|
|
250
251
|
$formkit: "select",
|
|
@@ -278,9 +279,7 @@ const verticalSelect = (updates) => {
|
|
|
278
279
|
};
|
|
279
280
|
|
|
280
281
|
const text = (updates) => {
|
|
281
|
-
|
|
282
|
-
updates.id = updates.name;
|
|
283
|
-
}
|
|
282
|
+
ensureIds(updates);
|
|
284
283
|
return merge(
|
|
285
284
|
{
|
|
286
285
|
$formkit: "text",
|
|
@@ -308,9 +307,7 @@ const verticalText = (updates) => {
|
|
|
308
307
|
};
|
|
309
308
|
|
|
310
309
|
const textArea = (updates) => {
|
|
311
|
-
|
|
312
|
-
updates.id = updates.name;
|
|
313
|
-
}
|
|
310
|
+
ensureIds(updates);
|
|
314
311
|
return merge(
|
|
315
312
|
{
|
|
316
313
|
$formkit: "textarea",
|
|
@@ -328,9 +325,7 @@ const textArea = (updates) => {
|
|
|
328
325
|
};
|
|
329
326
|
|
|
330
327
|
const date = (updates) => {
|
|
331
|
-
|
|
332
|
-
updates.id = updates.name;
|
|
333
|
-
}
|
|
328
|
+
ensureIds(updates);
|
|
334
329
|
return merge(
|
|
335
330
|
{
|
|
336
331
|
$formkit: "DatePicker",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var accidentsAndInjuries=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)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',i=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),n=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",i(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",i(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",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",l(e)),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",l(e)),c=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)),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",l(e)),m=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",p(e)),f=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)),y=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)),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",f(e)),b=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),_=e=>(e.wrapperClass="side-by-side t-items-center",b(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",b(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)),v=e=>(e.wrapperClass="side-by-side t-items-center",C(e)),I=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:_)({$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}),x=(e,t,a={})=>(t?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}),P=(e,t,a={})=>(t?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}),S=(e,t,a={})=>(t?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}),D=(e,t,a={})=>(t?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}),T=(t,a,r={})=>(a?d:o)(e({label:a?r.label:"Select The Issue:",if:a?null:'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Auto Accident","Workplace Injury","Dog Bite","Slip and Fall","Trucking Accident","Motorcycle Accident","Other Accidents or Injuries"]},r)),k=(t,a,r={})=>(a?g:_)(e({label:a?r.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?r.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"},...r})),A=(t,a,r={})=>(a?m:u)(e({label:a?r.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},r)),$=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",i(t);var t},L=(t,a,r={})=>(a?h:y)(e({label:a?r.label:"Blood Alcohol Content Measured by Test:",name:t?t+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",options:["No Test","0.00% - 0.04%","0.05% - 0.08%","0.09% - 0.12%","0.13% - 0.16%","0.17% - 0.20%","More than 0.20%","Don't know"]},r)),O=(t,a,r={})=>(a?d:y)(e({label:a?r.label:"Cause of Injury:",name:t?t+":Cause_Of_Injury":"Cause_Of_Injury",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]},r)),E=(t,a,r={})=>(a?d:y)(e({label:a?r.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},r)),W=(t,a,r={})=>(a?p:y)(e({label:a?r.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},r)),j=(t,a,r={})=>(a?d:y)(e({label:a?r.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},r)),B=(t,a,r={})=>(a?d:y)(e({label:a?r.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},r)),N=(t,a,r)=>(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"'},r)),M=(t,a,r={})=>(a?d:y)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?r.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?r.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},r)),F=(t,a,r={})=>M(t,a,e(r,{help:"No payment necessary to speak with lawyers."})),q=(t,a,r={})=>(a?m:u)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?r.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},r)),U=(t,a,r={})=>(a?m:u)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?r.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},r)),Y=(t,a,r={})=>(a?m:u)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?r.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},r)),R=(t,a,r={})=>(a?d:y)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?r.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},r)),H=(t,a,r={})=>(a?m:u)(e({label:a?r.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},r)),Q=(t,a,r={})=>(a?m:u)(e({name:t?t+":Have_Children":"Have_Children",label:a?r.label:"Do You Have Children?"},r)),K=(t,a,r={})=>(a?I:v)(e({label:a?r.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},r)),V=(t,a,r={})=>(a?d:y)(e({label:a?r.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?r.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},r)),z=(t,a,r={})=>(a?d:y)(e({label:a?r.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"]},r)),Z=(t,a,r={})=>(a?m:u)(e({name:t?t+":Pending_Charges":"Pending_Charges",label:a?r.label:"Do you currently have any pending charges?"},r)),G=(t,a,r={})=>(a?d:c)(e({label:a?r.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"]},r)),J=(t,a,r={})=>(a?m:u)(e({name:t?t+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:a?r.label:"Any Prior Alcohol Related Offenses?"},r)),X=(t,a,r={})=>(a?m:u)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?r.label:"Was a Police Report Filed?"},r)),ee=(t,a,r={})=>(a?d:y)(e({label:a?r.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"]},r)),te=(t,a,r={})=>(a?m:u)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?r.label:"Are You Currently Receiving Social Security Disability Benefits?"},r)),ae=(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:"")}}),re=(t,a,r={})=>(a?d:y)(e({label:a?r.label:"Type of Alcohol Test Performed?",name:t?t+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]},r)),ie=(t,a,r={})=>(a?s:n)(e({label:a?r.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"]},r)),ne=(t,a,r={})=>(a?d:y)(e({label:a?r.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"]},r)),se=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),le=(e,t)=>se("PersonalInjuryQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[H(t),K(t),B(t),A(t),G(t),Y(t)]}),oe=(e,t)=>se("WorkersCompensationQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[H(t),K(t),B(t),G(t),O(t),Y(t)]}),de="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",ce="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",ue=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,pe=e=>{if(ue(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(ue(a))return a;const r=pe(a);if(r)return r}return null},me={$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 fe(t={}){return e(me,t)}function ye(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1"}}}function he(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 be(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 _e(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 ge(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 Ce(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 ve(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 Ie(e){return{$el:"h5",children:e.subheadline||r,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 we="(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 xe=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function Pe(t,a,r={}){const{nextOnEnter:i=!0,nextOnInput:n=!1,stepKey:s,nextStepMap:l,triggerRedirectMap:o,autoFocus:d}=r;if(a&&a.length&&(i||n)){const e=pe(a[a.length-1]);e&&!0===i&&(e.onKeypress=de),e&&!0===n&&(e.onInput=ce)}return e(xe(t,s),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:o,autoFocus:d,children:a}]})}const Se={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 De(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const Te={};const ke={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Ae=[{$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}],$e={"*":"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 Le={Civil_Defense:{Yes:{Type_Of_Legal_Problem:"Defend a Lawsuit"},No:{Type_Of_Legal_Problem:"File a Lawsuit"}},businessServicesOverrideMap:{Business_Services_Display:{"Business Formation":{Business_Services:"Business Formation"},Contracts:{Business_Services:"Contracts"},"Insurance and Liability":{Business_Services:"Insurance and Liability"},"Mergers and Acquisition":{Business_Services:"Mergers and Acquisition"},"Regulatory Compliance":{Business_Services:"Regulatory Compliance"},"Employee Dispute":{Business_Services:"Employee Dispute"},"Advice and Consulting":{Business_Services:"Other"},Other:{Business_Services:"Other"}}},Type_Of_Legal_Problem_Display:{Copyrights:{Type_Of_Legal_Problem:"Copyrights and Trademarks"},Trademarks:{Type_Of_Legal_Problem:"Copyrights and Trademarks"},Patents:{Type_Of_Legal_Problem:"Patents and Intellectual Property"},"Business Lawyers":{Type_Of_Legal_Problem:"Business Lawyers"},"Business Consulting":{Type_Of_Legal_Problem:"Business Lawyers"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Auto Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Slip and Fall":{Type_Of_Legal_Problem:"Personal Injury"},"Workplace Injury":{Type_Of_Legal_Problem:"Workers Compensation"},"Trucking Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Motorcycle Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Other Accidents or Injuries":{Type_Of_Legal_Problem:"Personal Injury"},"Automobile Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Contract Disputes":{Type_Of_Legal_Problem:"Business Lawyers"},"Defamation and Slander":{Type_Of_Legal_Problem:"File a Lawsuit"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Employment and Workplace":{Type_Of_Legal_Problem:"Employment and Workplace"},Fraud:{Type_Of_Legal_Problem:"Consumer Lawyers"},"Medical Malpractice":{Type_Of_Legal_Problem:"Medical Malpractice"},"Personal Injury":{Type_Of_Legal_Problem:"Personal Injury"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Small Claims":{Type_Of_Legal_Problem:"File a Lawsuit"},"Real Estate":{Type_Of_Legal_Problem:"Real Estate"},"Other (describe on next page)":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contract Creation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Enforcement":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Cancellation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Fraud":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Breach of Contract":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Other Contract Issues":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Criminal Defense":{Type_Of_Legal_Problem:"Criminal and Felony"},"Victim of a Crime":{Type_Of_Legal_Problem:"Victim of a Crime"},"DUI and DWI":{Type_Of_Legal_Problem:"DUI and DWI"},Expungement:{Type_Of_Legal_Problem:"Expungement"},Harassment:{Type_Of_Legal_Problem:"Criminal and Felony"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Workplace Harassment":{Type_Of_Legal_Problem:"Workplace Harassment"},"Workplace Discrimination":{Type_Of_Legal_Problem:"Workplace Discrimination"},"Wrongful Termination":{Type_Of_Legal_Problem:"Wrongful Termination"},"Payment Disputes":{Type_Of_Legal_Problem:"Employment and Workplace"},"Workers Compensation":{Type_Of_Legal_Problem:"Workers Compensation"},Unemployment:{Type_Of_Legal_Problem:"Unemployment"},"Other Workplace Issues":{Type_Of_Legal_Problem:"Employment and Workplace"},"Attorney Malpractice":{Type_Of_Legal_Problem:"File a Lawsuit"},"Other Malpractice Issues":{Type_Of_Legal_Problem:"File a Lawsuit"},"Vehicle Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Property Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Other Repossession Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contracts and Agreements":{Type_Of_Legal_Problem:"Real Estate"},"Deeds, Liens, and Titles":{Type_Of_Legal_Problem:"Real Estate"},Foreclosure:{Type_Of_Legal_Problem:"Foreclosure"},Insurance:{Type_Of_Legal_Problem:"Insurance"},"Landlord and Tenant":{Type_Of_Legal_Problem:"Landlord and Tenant"},"Loans and Mortgages":{Type_Of_Legal_Problem:"Real Estate"},"Wills, Trusts, and Estates":{Type_Of_Legal_Problem:"Wills and Trusts"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Other Real Estate Issues":{Type_Of_Legal_Problem:"Real Estate"}}},Oe={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"'},Ee={},We={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."},je={"Auto and Car Accidents":{"Social Security Disability and Insurance":"Interest in Disability Benefits","Wills and Trusts":"Need a Will or Trust","Workers Compensation":"Workplace Injury","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Personal Injury":{"DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Workers Compensation":{"Auto and Car Accidents":"Involved in a Car Accident","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody","Social Security Disability and Insurance":"Interest in SSDI Benefits"},"DUI and DWI":{"Personal Injury":"Personal or Workplace Injury","Wills and Trusts":"Need a Will or Trust","Social Security Disability and Insurance":"Interest in Disability Benefits","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Wills and Trusts":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Probate and Estates":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Power of Attorney":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Long Term Disability":{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Social Security Disability and Insurance":{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"*":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Social Security Disability and Insurance":"Interest in Disability Benefits"}},Be=function(a=null){let r=Oe,i=Ee,n=We;return a&&(r=De(Oe,a),i=De(Ee,a),n=De(We,a)),{type:"meta",data:e(Te,{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:r,defaultFinalHeadline:"Submit Your Case",finalHeadlines:i,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();Be.data.dynamicSchema=[function(e={}){return Pe("TOLPQuestions",[ye(e),se("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[H(a),K(a),A(a),G(a),Y(a),X(a)]}),le(),oe()],e);var t,a}(),function(e={}){return Pe("commentsWithBankruptcy",[_e(e),N(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}),$(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[N("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})}({inputClass:"!t-h-28"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",Pe("legalCrossSells",[Ce(e),n({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 Pe("workersCompensationCrossSellQuestions",[he({headline:"You May Be Entitled To Benefits"}),be({subheadline:"Tell us about your injury:"}),oe("true","CrossSell:Workers_Compensation"),N("CrossSell:Workers_Compensation",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e)}(),function(e={}){return Pe("duiAndDWICrossSellQuestions",[he({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",se("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[H(a),K(a),J(a),re(a),L(a),Z(a),F(a)]})),N("CrossSell:DUI_and_DWI",0,{label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Pe("ssdiCrossSellQuestions",[he({headline:"You May Be Entitled To Benefits"}),be({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",se("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[H(a),k(a),q(a),U(a),te(a),Y(a)]})),N("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 Pe("powerOfAttorneyCrossSellQuestions",[he({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",se("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[H(a),F(a)]})),N("CrossSell:Power_of_Attorney",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Pe("willsAndTrustsCrossSellQuestions",[he({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",se("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[H(a),ne(a),ie(a),ee(a),R(a),F(a)]})),N("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 Pe("divorceAndSeparationCrossSellQuestions",[he({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",se("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[H(a),z(a),Q(a),M(a),V(a)]})),N("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 Pe("childCustodyCrossSellQuestions",[he({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",se("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[H(a),j(a),E(a),W(a),M(a),V(a)]})),N("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 Pe("firstAndLast",[ge(e),x(e.scope),P(e.scope)],e)}()];const Ne=[Be,e(ke,Me),{$cmp:"FormKit",props:function(t){const a=e(Se,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"accidentsAndInjuries",redirectMap:function(t){return e($e,t)}(),valueOverrideMap:Le,crossSellOptionMap:je}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Get Accident & Injury Help Now")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...Ae,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Pe("accidentsAndInjuriesTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Auto and Car Accidents"},T(e.scope,!1,{if:"true"}),D(e.scope)],e)}({nextStepMap:{values:{"*":["TOLPQuestions","commentsWithBankruptcy","legalCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return Pe("contactInfo",[ve(e),Ie(e),{$el:"script",if:"$activeStep === $lastStep()",children:we},w(e.scope),S(e.scope),ae(e.scope),fe()],{nextOnEnter:!1})}(),((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"}}]}))(),{$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 Me;return Ne}();
|
|
1
|
+
var accidentsAndInjuries=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)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',i=e=>(e.name&&!e.id&&(e.id=e.name),e),n=t=>(i(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",n(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",n(e)),o=t=>(i(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",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e)),c=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)),p=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)),m=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)),f=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",m(e)),y=t=>(i(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]",y(e)),b=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",y(e)),_=t=>(i(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),g=e=>(e.wrapperClass="side-by-side t-items-center",_(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",_(e)),v=t=>(i(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)),I=e=>(e.wrapperClass="side-by-side t-items-center",v(e)),w=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",v(e)),x=(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}),P=(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}),D=(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}),T=(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}),k=(t,a,r={})=>(a?c:d)(e({label:a?r.label:"Select The Issue:",if:a?null:'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["Auto Accident","Workplace Injury","Dog Bite","Slip and Fall","Trucking Accident","Motorcycle Accident","Other Accidents or Injuries"]},r)),A=(t,a,r={})=>(a?C:g)(e({label:a?r.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?r.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"},...r})),$=(t,a,r={})=>(a?f:p)(e({label:a?r.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},r)),L=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},O=(t,a,r={})=>(a?b:h)(e({label:a?r.label:"Blood Alcohol Content Measured by Test:",name:t?t+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",options:["No Test","0.00% - 0.04%","0.05% - 0.08%","0.09% - 0.12%","0.13% - 0.16%","0.17% - 0.20%","More than 0.20%","Don't know"]},r)),E=(t,a,r={})=>(a?c:h)(e({label:a?r.label:"Cause of Injury:",name:t?t+":Cause_Of_Injury":"Cause_Of_Injury",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]},r)),W=(t,a,r={})=>(a?c:h)(e({label:a?r.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},r)),j=(t,a,r={})=>(a?m:h)(e({label:a?r.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},r)),B=(t,a,r={})=>(a?c:h)(e({label:a?r.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},r)),N=(t,a,r={})=>(a?c:h)(e({label:a?r.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},r)),M=(t,a,r)=>(t=>(i(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"'},r)),F=(t,a,r={})=>(a?c:h)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?r.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?r.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},r)),q=(t,a,r={})=>F(t,a,e(r,{help:"No payment necessary to speak with lawyers."})),U=(t,a,r={})=>(a?f:p)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?r.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},r)),Y=(t,a,r={})=>(a?f:p)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?r.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},r)),R=(t,a,r={})=>(a?f:p)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?r.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},r)),H=(t,a,r={})=>(a?c:h)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?r.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},r)),Q=(t,a,r={})=>(a?f:p)(e({label:a?r.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},r)),K=(t,a,r={})=>(a?f:p)(e({name:t?t+":Have_Children":"Have_Children",label:a?r.label:"Do You Have Children?"},r)),V=(t,a,r={})=>(a?w:I)(e({label:a?r.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},r)),z=(t,a,r={})=>(a?c:h)(e({label:a?r.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?r.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},r)),Z=(t,a,r={})=>(a?c:h)(e({label:a?r.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"]},r)),G=(t,a,r={})=>(a?f:p)(e({name:t?t+":Pending_Charges":"Pending_Charges",label:a?r.label:"Do you currently have any pending charges?"},r)),J=(t,a,r={})=>(a?c:u)(e({label:a?r.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"]},r)),X=(t,a,r={})=>(a?f:p)(e({name:t?t+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:a?r.label:"Any Prior Alcohol Related Offenses?"},r)),ee=(t,a,r={})=>(a?f:p)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?r.label:"Was a Police Report Filed?"},r)),te=(t,a,r={})=>(a?c:h)(e({label:a?r.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"]},r)),ae=(t,a,r={})=>(a?f:p)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?r.label:"Are You Currently Receiving Social Security Disability Benefits?"},r)),re=(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:"")}}),ie=(t,a,r={})=>(a?c:h)(e({label:a?r.label:"Type of Alcohol Test Performed?",name:t?t+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]},r)),ne=(t,a,r={})=>(a?l:s)(e({label:a?r.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"]},r)),se=(t,a,r={})=>(a?c:h)(e({label:a?r.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"]},r)),le=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),oe=(e,t)=>le("PersonalInjuryQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[Q(t),V(t),N(t),$(t),J(t),R(t)]}),de=(e,t)=>le("WorkersCompensationQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[Q(t),V(t),N(t),J(t),E(t),R(t)]}),ce="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",ue="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",pe=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,me=e=>{if(pe(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(pe(a))return a;const r=me(a);if(r)return r}return null},fe={$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 ye(t={}){return e(fe,t)}function he(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1"}}}function be(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 _e(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 ge(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 ve(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 Ie(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 we(e){return{$el:"h5",children:e.subheadline||r,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 xe="(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 Pe=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function Se(t,a,r={}){const{nextOnEnter:i=!0,nextOnInput:n=!1,stepKey:s,nextStepMap:l,triggerRedirectMap:o,autoFocus:d}=r;if(a&&a.length&&(i||n)){const e=me(a[a.length-1]);e&&!0===i&&(e.onKeypress=ce),e&&!0===n&&(e.onInput=ue)}return e(Pe(t,s),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:o,autoFocus:d,children:a}]})}const De={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 Te(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const ke={};const Ae={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};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}],Le={"*":"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 Oe={Civil_Defense:{Yes:{Type_Of_Legal_Problem:"Defend a Lawsuit"},No:{Type_Of_Legal_Problem:"File a Lawsuit"}},businessServicesOverrideMap:{Business_Services_Display:{"Business Formation":{Business_Services:"Business Formation"},Contracts:{Business_Services:"Contracts"},"Insurance and Liability":{Business_Services:"Insurance and Liability"},"Mergers and Acquisition":{Business_Services:"Mergers and Acquisition"},"Regulatory Compliance":{Business_Services:"Regulatory Compliance"},"Employee Dispute":{Business_Services:"Employee Dispute"},"Advice and Consulting":{Business_Services:"Other"},Other:{Business_Services:"Other"}}},Type_Of_Legal_Problem_Display:{Copyrights:{Type_Of_Legal_Problem:"Copyrights and Trademarks"},Trademarks:{Type_Of_Legal_Problem:"Copyrights and Trademarks"},Patents:{Type_Of_Legal_Problem:"Patents and Intellectual Property"},"Business Lawyers":{Type_Of_Legal_Problem:"Business Lawyers"},"Business Consulting":{Type_Of_Legal_Problem:"Business Lawyers"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Auto Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Slip and Fall":{Type_Of_Legal_Problem:"Personal Injury"},"Workplace Injury":{Type_Of_Legal_Problem:"Workers Compensation"},"Trucking Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Motorcycle Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Other Accidents or Injuries":{Type_Of_Legal_Problem:"Personal Injury"},"Automobile Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Contract Disputes":{Type_Of_Legal_Problem:"Business Lawyers"},"Defamation and Slander":{Type_Of_Legal_Problem:"File a Lawsuit"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Employment and Workplace":{Type_Of_Legal_Problem:"Employment and Workplace"},Fraud:{Type_Of_Legal_Problem:"Consumer Lawyers"},"Medical Malpractice":{Type_Of_Legal_Problem:"Medical Malpractice"},"Personal Injury":{Type_Of_Legal_Problem:"Personal Injury"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Small Claims":{Type_Of_Legal_Problem:"File a Lawsuit"},"Real Estate":{Type_Of_Legal_Problem:"Real Estate"},"Other (describe on next page)":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contract Creation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Enforcement":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Cancellation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Fraud":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Breach of Contract":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Other Contract Issues":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Criminal Defense":{Type_Of_Legal_Problem:"Criminal and Felony"},"Victim of a Crime":{Type_Of_Legal_Problem:"Victim of a Crime"},"DUI and DWI":{Type_Of_Legal_Problem:"DUI and DWI"},Expungement:{Type_Of_Legal_Problem:"Expungement"},Harassment:{Type_Of_Legal_Problem:"Criminal and Felony"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Workplace Harassment":{Type_Of_Legal_Problem:"Workplace Harassment"},"Workplace Discrimination":{Type_Of_Legal_Problem:"Workplace Discrimination"},"Wrongful Termination":{Type_Of_Legal_Problem:"Wrongful Termination"},"Payment Disputes":{Type_Of_Legal_Problem:"Employment and Workplace"},"Workers Compensation":{Type_Of_Legal_Problem:"Workers Compensation"},Unemployment:{Type_Of_Legal_Problem:"Unemployment"},"Other Workplace Issues":{Type_Of_Legal_Problem:"Employment and Workplace"},"Attorney Malpractice":{Type_Of_Legal_Problem:"File a Lawsuit"},"Other Malpractice Issues":{Type_Of_Legal_Problem:"File a Lawsuit"},"Vehicle Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Property Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Other Repossession Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contracts and Agreements":{Type_Of_Legal_Problem:"Real Estate"},"Deeds, Liens, and Titles":{Type_Of_Legal_Problem:"Real Estate"},Foreclosure:{Type_Of_Legal_Problem:"Foreclosure"},Insurance:{Type_Of_Legal_Problem:"Insurance"},"Landlord and Tenant":{Type_Of_Legal_Problem:"Landlord and Tenant"},"Loans and Mortgages":{Type_Of_Legal_Problem:"Real Estate"},"Wills, Trusts, and Estates":{Type_Of_Legal_Problem:"Wills and Trusts"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Other Real Estate Issues":{Type_Of_Legal_Problem:"Real Estate"}}},Ee={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"'},We={},je={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."},Be={"Auto and Car Accidents":{"Social Security Disability and Insurance":"Interest in Disability Benefits","Wills and Trusts":"Need a Will or Trust","Workers Compensation":"Workplace Injury","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Personal Injury":{"DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Workers Compensation":{"Auto and Car Accidents":"Involved in a Car Accident","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody","Social Security Disability and Insurance":"Interest in SSDI Benefits"},"DUI and DWI":{"Personal Injury":"Personal or Workplace Injury","Wills and Trusts":"Need a Will or Trust","Social Security Disability and Insurance":"Interest in Disability Benefits","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Wills and Trusts":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Probate and Estates":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Power of Attorney":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Long Term Disability":{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"Social Security Disability and Insurance":{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},"*":{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Social Security Disability and Insurance":"Interest in Disability Benefits"}},Ne=function(a=null){let r=Ee,i=We,n=je;return a&&(r=Te(Ee,a),i=Te(We,a),n=Te(je,a)),{type:"meta",data:e(ke,{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:r,defaultFinalHeadline:"Submit Your Case",finalHeadlines:i,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();Ne.data.dynamicSchema=[function(e={}){return Se("TOLPQuestions",[he(e),le("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[Q(a),V(a),$(a),J(a),R(a),ee(a)]}),oe(),de()],e);var t,a}(),function(e={}){return Se("commentsWithBankruptcy",[ge(e),M(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}),L(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[M("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})}({inputClass:"!t-h-28"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",Se("legalCrossSells",[ve(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 Se("workersCompensationCrossSellQuestions",[be({headline:"You May Be Entitled To Benefits"}),_e({subheadline:"Tell us about your injury:"}),de("true","CrossSell:Workers_Compensation"),M("CrossSell:Workers_Compensation",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e)}(),function(e={}){return Se("duiAndDWICrossSellQuestions",[be({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",le("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[Q(a),V(a),X(a),ie(a),O(a),G(a),q(a)]})),M("CrossSell:DUI_and_DWI",0,{label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Se("ssdiCrossSellQuestions",[be({headline:"You May Be Entitled To Benefits"}),_e({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",le("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[Q(a),A(a),U(a),Y(a),ae(a),R(a)]})),M("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 Se("powerOfAttorneyCrossSellQuestions",[be({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",le("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[Q(a),q(a)]})),M("CrossSell:Power_of_Attorney",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Se("willsAndTrustsCrossSellQuestions",[be({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",le("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[Q(a),se(a),ne(a),te(a),H(a),q(a)]})),M("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 Se("divorceAndSeparationCrossSellQuestions",[be({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",le("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[Q(a),Z(a),K(a),F(a),z(a)]})),M("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 Se("childCustodyCrossSellQuestions",[be({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",le("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[Q(a),B(a),W(a),j(a),F(a),z(a)]})),M("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 Se("firstAndLast",[Ce(e),P(e.scope),S(e.scope)],e)}()];const Me=[Ne,e(Ae,Fe),{$cmp:"FormKit",props:function(t){const a=e(De,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"accidentsAndInjuries",redirectMap:function(t){return e(Le,t)}(),valueOverrideMap:Oe,crossSellOptionMap:Be}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Get Accident & Injury Help Now")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...$e,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Se("accidentsAndInjuriesTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Auto and Car Accidents"},k(e.scope,!1,{if:"true"}),T(e.scope)],e)}({nextStepMap:{values:{"*":["TOLPQuestions","commentsWithBankruptcy","legalCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return Se("contactInfo",[Ie(e),we(e),{$el:"script",if:"$activeStep === $lastStep()",children:xe},x(e.scope),D(e.scope),re(e.scope),ye()],{nextOnEnter:!1})}(),((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"}}]}))(),{$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 Fe;return Me}();
|
|
@@ -22,10 +22,17 @@ function merge() {
|
|
|
22
22
|
return Object.assign({}, ...arguments)
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
// ------ Common Base Settings
|
|
26
|
+
|
|
27
|
+
const ensureIds = (cfg) => {
|
|
28
|
+
if (cfg.name && !cfg.id) {
|
|
29
|
+
cfg.id = cfg.name;
|
|
28
30
|
}
|
|
31
|
+
return cfg
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const text = (updates) => {
|
|
35
|
+
ensureIds(updates);
|
|
29
36
|
return merge(
|
|
30
37
|
{
|
|
31
38
|
$formkit: "text",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var applianceRepairMinimal=function(){"use strict";const e='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',t='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';function a(){return Object.assign({},...arguments)}const n=e=>(e.name&&!e.id&&(e.id=e.name),a({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},e)),s=e=>(e.wrapperClass="side-by-side t-items-center",n(e)),r=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",n(e)),i=(e,t={})=>n({$formkit:"FloatingLabelText",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},inputClass:"t-text-center",...t}),l=(e,t={})=>n({$formkit:"FloatingLabelText",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},inputClass:"t-text-center",...t}),o=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center t-max-w-[95%] sm:!t-max-w-[70%]"},children:[i(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t}),l(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t})]}),m=(e,t={})=>n({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:t.placeholder||"Phone Number",maxlength:14,help:t.help||null,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 (XXX) YYY-ZZZZ",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...t}),p=(e,t,a={})=>(t?r:s)({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}),c=(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:"")}}),d="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",u="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",f=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,h=e=>{if(f(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(f(a))return a;const n=h(a);if(n)return n}return null},x={$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 g(e={}){return a(x,e)}function y(t){return{$el:"h3",children:t.headline||e,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 "+(t.headlineClass||"")+" f-contact-info-headline"}}}function $(e){return{$el:"h5",children:e.subheadline||t,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 v="(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 b=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function w(e,t,n={}){const{nextOnEnter:s=!0,nextOnInput:r=!1,stepKey:i,nextStepMap:l,triggerRedirectMap:o,autoFocus:m}=n;if(t&&t.length&&(s||r)){const e=h(t[t.length-1]);e&&!0===s&&(e.onKeypress=d),e&&!0===r&&(e.onInput=u)}return a(b(e,i),{children:[{$formkit:"group",id:e,name:e,nextStepMap:l,triggerRedirectMap:o,autoFocus:m,children:t}]})}const S={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 C(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const I={};const E={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const k=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$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}],F={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},P={Appliances:"We Have Appliance Pros Standing By!"},_={Appliances:"Who needs appliance help?"},H=[function(e=null){let t=F,n=P,s=_;return e&&(t=C(F,e),n=C(P,e),s=C(_,e)),{type:"meta",data:a(I,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors 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.",defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:t,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:n,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:s})}}(),a(E,j),{$cmp:"FormKit",props:function(e){const t=a(S,e);return t.formId&&!t.name&&(t.name=t.formId),t}({formId:"applianceRepairMinimal",redirectMap:{"*":"/thank-you"}}),children:[function(e={}){return a(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"}}}(e),e)}({children:'$urlParam("hl", "Get Started Here!")',if:"$activeStep === $firstStep()"}),function(e={}){return a(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"}}}(e),e)}({children:'$urlParam("shl", "Please Enter Your Zip Code:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...k,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return w("applianceRepairFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Appliances"},p(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return w("contactInfo",[y(e),$(e),{$el:"script",if:"$activeStep === $lastStep()",children:v},{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center"},children:[o(e.scope),m(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"})]},c(e.scope,{outerClass:"!t-flex !t-flex-col !t-justify-center !t-items-center",wrapperClass:"t-w-[95%] sm:t-w-[75%]",messagesClass:"t-w-[95%] sm:t-w-[75%]"})],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]",headline:'$getKey($meta, "finalHeadlines." + $get(Category).value, $meta.defaultFinalHeadline)',subheadline:'$getKey($meta, "finalSubHeadlines." + $get(Category).value, $meta.defaultFinalSubHeadline)'}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav !t-justify-center ",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:{if:"$activeStep === $lastStep()",then:"t-hidden sm:t-block",else:""}},style:{if:"$activeStep === $firstStep()",then:"display: none;",else:{if:"$activeStep === $lastStep()",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||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({startText:"Schedule Now",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[g({attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-4 sm:t-pb-8"},...e})]}}(),{$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 j;return H}();
|
|
1
|
+
var applianceRepairMinimal=function(){"use strict";const e='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',t='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';function a(){return Object.assign({},...arguments)}const n=e=>{var t;return(t=e).name&&!t.id&&(t.id=t.name),a({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},e)},r=e=>(e.wrapperClass="side-by-side t-items-center",n(e)),s=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",n(e)),i=(e,t={})=>n({$formkit:"FloatingLabelText",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},inputClass:"t-text-center",...t}),l=(e,t={})=>n({$formkit:"FloatingLabelText",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},inputClass:"t-text-center",...t}),o=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center t-max-w-[95%] sm:!t-max-w-[70%]"},children:[i(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t}),l(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t})]}),m=(e,t={})=>n({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:t.placeholder||"Phone Number",maxlength:14,help:t.help||null,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 (XXX) YYY-ZZZZ",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...t}),p=(e,t,a={})=>(t?s:r)({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}),c=(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:"")}}),d="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",u="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",f=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,h=e=>{if(f(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(f(a))return a;const n=h(a);if(n)return n}return null},x={$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 g(e={}){return a(x,e)}function y(t){return{$el:"h3",children:t.headline||e,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 "+(t.headlineClass||"")+" f-contact-info-headline"}}}function $(e){return{$el:"h5",children:e.subheadline||t,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 v="(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 b=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function w(e,t,n={}){const{nextOnEnter:r=!0,nextOnInput:s=!1,stepKey:i,nextStepMap:l,triggerRedirectMap:o,autoFocus:m}=n;if(t&&t.length&&(r||s)){const e=h(t[t.length-1]);e&&!0===r&&(e.onKeypress=d),e&&!0===s&&(e.onInput=u)}return a(b(e,i),{children:[{$formkit:"group",id:e,name:e,nextStepMap:l,triggerRedirectMap:o,autoFocus:m,children:t}]})}const S={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 C(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const I={};const E={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const k=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$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}],F={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},P={Appliances:"We Have Appliance Pros Standing By!"},_={Appliances:"Who needs appliance help?"},H=[function(e=null){let t=F,n=P,r=_;return e&&(t=C(F,e),n=C(P,e),r=C(_,e)),{type:"meta",data:a(I,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors 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.",defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:t,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:n,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:r})}}(),a(E,j),{$cmp:"FormKit",props:function(e){const t=a(S,e);return t.formId&&!t.name&&(t.name=t.formId),t}({formId:"applianceRepairMinimal",redirectMap:{"*":"/thank-you"}}),children:[function(e={}){return a(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"}}}(e),e)}({children:'$urlParam("hl", "Get Started Here!")',if:"$activeStep === $firstStep()"}),function(e={}){return a(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"}}}(e),e)}({children:'$urlParam("shl", "Please Enter Your Zip Code:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...k,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return w("applianceRepairFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Appliances"},p(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return w("contactInfo",[y(e),$(e),{$el:"script",if:"$activeStep === $lastStep()",children:v},{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center"},children:[o(e.scope),m(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"})]},c(e.scope,{outerClass:"!t-flex !t-flex-col !t-justify-center !t-items-center",wrapperClass:"t-w-[95%] sm:t-w-[75%]",messagesClass:"t-w-[95%] sm:t-w-[75%]"})],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]",headline:'$getKey($meta, "finalHeadlines." + $get(Category).value, $meta.defaultFinalHeadline)',subheadline:'$getKey($meta, "finalSubHeadlines." + $get(Category).value, $meta.defaultFinalSubHeadline)'}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav !t-justify-center ",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:{if:"$activeStep === $lastStep()",then:"t-hidden sm:t-block",else:""}},style:{if:"$activeStep === $firstStep()",then:"display: none;",else:{if:"$activeStep === $lastStep()",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||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({startText:"Schedule Now",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[g({attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-4 sm:t-pb-8"},...e})]}}(),{$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 j;return H}();
|
|
@@ -15,10 +15,17 @@ const DEFAULT_COMMENTS_LABEL = "Please briefly describe your issue in a few word
|
|
|
15
15
|
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC =
|
|
16
16
|
'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)';
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
// ------ Common Base Settings
|
|
19
|
+
|
|
20
|
+
const ensureIds = (cfg) => {
|
|
21
|
+
if (cfg.name && !cfg.id) {
|
|
22
|
+
cfg.id = cfg.name;
|
|
21
23
|
}
|
|
24
|
+
return cfg
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const textArea = (updates) => {
|
|
28
|
+
ensureIds(updates);
|
|
22
29
|
return merge(
|
|
23
30
|
{
|
|
24
31
|
$formkit: "textarea",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(t,r,n)=>(t=>(t.name&&!
|
|
1
|
+
var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(t,r,n)=>(t=>{var r;return(r=t).name&&!r.id&&(r.id=r.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)})(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},n)),r="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",n="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",i=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,s=e=>{if(i(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const r=e.children[t];if(i(r))return r;const n=s(r);if(n)return n}return null},l=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});const a={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const o=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],c=[e({$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}},m),{$cmp:"FormKit",props:function(t){const r=e(a,t);return r.formId&&!r.name&&(r.name=r.formId),r}({formId:"appraisals",redirectMap:{"*":(d="answers-now.com",p="Appraisals",u="Appraisals",function(e,t,r,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(r)}(d,p,u)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get a Valuation Within Minutes!")',if:"$activeStep === $firstStep()"}),...o,{$el:"div",attrs:{class:"form-body"},children:[function(i={}){return function(t,i,a={}){const{nextOnEnter:o=!0,nextOnInput:c=!1,stepKey:d,nextStepMap:p,triggerRedirectMap:u,autoFocus:m}=a;if(i&&i.length&&(o||c)){const e=s(i[i.length-1]);e&&!0===o&&(e.onKeypress=r),e&&!0===c&&(e.onInput=n)}return e(l(t,d),{children:[{$formkit:"group",id:t,name:t,nextStepMap:p,triggerRedirectMap:u,autoFocus:m,children:i}]})}("comments",[t(i.scope,0,{label:i.label||"Please briefly describe your issue in a few words:",placeholder:i.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],i)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a vintage painting, old coins, and a fine china set I would like appraised"',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var d,p,u,m;return c}();
|
|
@@ -110,10 +110,15 @@ const CROSS_SELL_OPTION_MAP_LEGAL = {
|
|
|
110
110
|
|
|
111
111
|
// ------ Common Base Settings
|
|
112
112
|
|
|
113
|
-
const
|
|
114
|
-
if (
|
|
115
|
-
|
|
113
|
+
const ensureIds = (cfg) => {
|
|
114
|
+
if (cfg.name && !cfg.id) {
|
|
115
|
+
cfg.id = cfg.name;
|
|
116
116
|
}
|
|
117
|
+
return cfg
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const checkbox = (updates) => {
|
|
121
|
+
ensureIds(updates);
|
|
117
122
|
return merge(
|
|
118
123
|
{
|
|
119
124
|
$formkit: "checkbox",
|
|
@@ -161,9 +166,7 @@ const verticalCol2Checkbox = (updates) => {
|
|
|
161
166
|
};
|
|
162
167
|
|
|
163
168
|
const radio = (updates) => {
|
|
164
|
-
|
|
165
|
-
updates.id = updates.name;
|
|
166
|
-
}
|
|
169
|
+
ensureIds(updates);
|
|
167
170
|
return merge(
|
|
168
171
|
{
|
|
169
172
|
$formkit: "radio",
|
|
@@ -247,9 +250,7 @@ const verticalYesNoRadio = (updates) => {
|
|
|
247
250
|
};
|
|
248
251
|
|
|
249
252
|
const select = (updates) => {
|
|
250
|
-
|
|
251
|
-
updates.id = updates.name;
|
|
252
|
-
}
|
|
253
|
+
ensureIds(updates);
|
|
253
254
|
return merge(
|
|
254
255
|
{
|
|
255
256
|
$formkit: "select",
|
|
@@ -283,9 +284,7 @@ const verticalSelect = (updates) => {
|
|
|
283
284
|
};
|
|
284
285
|
|
|
285
286
|
const text = (updates) => {
|
|
286
|
-
|
|
287
|
-
updates.id = updates.name;
|
|
288
|
-
}
|
|
287
|
+
ensureIds(updates);
|
|
289
288
|
return merge(
|
|
290
289
|
{
|
|
291
290
|
$formkit: "text",
|
|
@@ -313,9 +312,7 @@ const verticalText = (updates) => {
|
|
|
313
312
|
};
|
|
314
313
|
|
|
315
314
|
const textArea = (updates) => {
|
|
316
|
-
|
|
317
|
-
updates.id = updates.name;
|
|
318
|
-
}
|
|
315
|
+
ensureIds(updates);
|
|
319
316
|
return merge(
|
|
320
317
|
{
|
|
321
318
|
$formkit: "textarea",
|
|
@@ -333,9 +330,7 @@ const textArea = (updates) => {
|
|
|
333
330
|
};
|
|
334
331
|
|
|
335
332
|
const date = (updates) => {
|
|
336
|
-
|
|
337
|
-
updates.id = updates.name;
|
|
338
|
-
}
|
|
333
|
+
ensureIds(updates);
|
|
339
334
|
return merge(
|
|
340
335
|
{
|
|
341
336
|
$formkit: "DatePicker",
|