bhl-forms 0.12.5 → 0.12.6

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.
@@ -1 +1 @@
1
- var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,n=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+n+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a="Please briefly describe your issue in a few words:",n='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',i=e=>(e.name&&!e.id&&(e.id=e.name),e),s=t=>(i(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),l=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 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm: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",s(e)),r=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",s(e)),o=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",s(e)))(e)),d=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",(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",s(e)))(e)),c=t=>(i(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),m=e=>(e.wrapperClass="side-by-side t-items-center",c(e)),u=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",c(e)),p=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)),f=e=>(e.wrapperClass="side-by-side t-items-center",p(e)),h=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",p(e)),y=(e,t,a={})=>(t?u:m)({$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}),g=(e,t,a={})=>(t?u:m)({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}),C=(e,t,a={})=>(t?u:m)({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}),b=(e,t,a={})=>(t?u:m)({$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}),x=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"Auto Damage from Accident?",name:t?t+":Auto_Damage_From_Accident":"Auto_Damage_From_Accident"},n)),v=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"Would You Like a Free MVA Consultation?",name:t?t+":Would_Like_MVA_Consultation":"Would_Like_MVA_Consultation",help:"Note: we'll still connect you for a mechanic."},n)),w=(t,a,n)=>(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"'},n)),I=e=>s({id:e?e+":Mechanics_CrossSells":"Mechanics_CrossSells",name:e?e+":Mechanics_CrossSells":"Mechanics_CrossSells",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}),k=(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-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),$=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,S=e=>{if($(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if($(a))return a;const n=S(a);if(n)return n}return null},P={$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 A(t={}){return e(P,t)}function _(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function E(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function D(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function L(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function T(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function W(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function F(t,a,n={}){const{nextOnEnter:i=!0,nextOnInput:s=!1,stepKey:l,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=n;if(a&&a.length&&(i||s)){const e=S(a[a.length-1]);e&&!0===i&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===s&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const c={children:[{$formkit:"group",id:t,name:t,nextStepMap:r,triggerRedirectMap:o,autoFocus:d,children:a}]};return void 0!==n.if&&(c.if=n.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),c)}function M(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),F(e,[_({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}const O={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 j(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const B={};const N={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const R=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"Category",id:"Category",value:"Mechanics"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],q={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"'},H={Adoption:"Connect With Adoption Professionals Today","Auto and Car Accidents":"Connect With Accident Professionals Today",Bankruptcy:"Take Control of Your Financial Future","Birth Certificate and Name Change":"Start Your Change Today","Business Lawyers":"Connect With Business Professionals Today","Child Custody":"Connect With Custody Professionals Today","Child Support":"Connect With Child Support Professionals","Civil Rights and Discrimination":"Stand Up For Your Rights","Civil Lawsuit":"Connect With Lawsuit Professionals Today","Copyrights and Trademarks":"Protect Your Intellectual Property","Debt and Collections":"Connect With Debt Professionals Today","Divorce and Separation":"Connect With Divorce Professionals Today","DUI and DWI":"Defend Against DUI Charges","Elder Law":"Connect With Elder Law Professionals",Expungement:"Clear Your Record","Family Issues":"Connect With Family Legal Help",Foreclosure:"Fight to Keep Your Home",Guardianship:"Connect With Guardianship Professionals","Immigration and Visas":"Get Immigration Legal Help",Insurance:"Get Insurance Legal Help","Lemon Law":"Connect With Lemon Law Professionals","Long Term Disability":"Connect With Disability Professionals","Medical Malpractice":"Hold Negligent Providers Accountable","Patents and Intellectual Property":"Connect With IP Professionals Today","Personal Injury":"Maximize Your Injury Compensation","Probate and Estates":"Manage Probate with Expert Guidance","Product Liability":"Get Justice for Faulty Products","Real Estate":"Connect With Real Estate Professionals","Sexual Harassment":"Stand Up Against Sexual Harassment","Social Security Disability and Insurance":"Get the Benefits You Deserve","Tax and IRS":"Connect With Tax Legal Help","Traffic and Tickets":"Protect Your Record Today",Unemployment:"Connect With Unemployment Professionals","Victim of a Crime":"Seek Justice as a Crime Victim","Wills and Trusts":"Plan Your Estate with Confidence","Workers Compensation":"Maximize Your Workers' Comp Benefits","Wrongful Death":"Seek Justice for a Loved One","Wrongful Termination":"Fight Back Against Unfair Firing Today"},U={},Y=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],V=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],z=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],G={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...V],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...Y],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...z],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...Y],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...Y],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...V],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...V],"Civil Rights and Discrimination":["civilRightsType",...Y],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...Y],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...Y],"Defend a Lawsuit":["lawsuitOtherParty",...Y],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...Y],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...V],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...Y],"Divorce and Separation":["maritalStatus","haveChildren",...V],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...Y],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...Y],Expungement:["incidentDate","criminalChargeType",...V],"Family Issues":["maritalStatus","haveChildren",...V],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...Y],Guardianship:["maritalStatus","haveChildren",...V],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...Y],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...Y],"Lemon Law":["incidentDate","lawsuitOtherParty",...Y],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...z],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...Y],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...Y],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...z],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...Y],"Property Damage":["wouldLikeLawyerTo",...Y],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...Y],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...z],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...Y],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...Y],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...V],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...Y],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...z],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Y],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Y],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...z],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...Y]},"*":Y}};function K(e,t=[],a={}){const n={...e};return n.values=function e(n){const i={};for(const s in n)Array.isArray(n[s])?i[s]=n[s].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[s]?i[s]=e(n[s]):i[s]=n[s];return i}(e.values),n}K(G,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const Z=G.values.Type_Of_Legal_Problem;Z["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Z["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),Z["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Z["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Z["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Z["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Z["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Z["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Z["Child Custody"],Z["Child Support"],G.values["*"],Z["Family Issues"],Z["Child Support"],Z["Child Custody"],G.values["*"],Z["Divorce and Separation"],Z["Defend a Lawsuit"],Z["File a Lawsuit"];K({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":Z["Defend a Lawsuit"],"File a Lawsuit":Z["File a Lawsuit"]},"*":["lawsuitOtherParty",...Y]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});K({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":Z["Auto and Car Accidents"],"Contract Disputes":Z["Business Lawyers"],"Dog Bite":Z["Personal Injury"],"Employment and Workplace":Z["Employment and Workplace"],Fraud:Z["Consumer Lawyers"],"Medical Malpractice":Z["Medical Malpractice"],"Personal Injury":Z["Personal Injury"],"Property Damage":Z["Property Damage"],"Real Estate":Z["Real Estate"],"Not Sure or Other":G.values["*"]},"*":["lawsuitOtherParty",...Y]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});K({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":Z["Victim of a Crime"],"DUI and DWI":Z["DUI and DWI"],Expungement:Z.Expungement,"Not Sure or Other":G.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...V]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});K({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":Z["Wrongful Termination"],"Workers Compensation":Z["Workers Compensation"],"Personal Injury":Z["Personal Injury"],Unemployment:Z.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Y]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),Z["Workplace Harassment"],Z["Workplace Discrimination"],Z["Probate and Estates"],Z["Wills and Trusts"],Z["Wrongful Death"],Z["Patents and Intellectual Property"],Z["Business Lawyers"],Z["Business Lawyers"],G.values["*"];K({values:{Type_Of_Legal_Problem_Display:{Foreclosure:Z.Foreclosure,"Landlord and Tenant":Z["Landlord and Tenant"],"Wills, Trusts, and Estates":Z["Wills and Trusts"],"Property Damage":Z["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...Y]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const J=function(t=null){let a=q,n=H,i=U;return t&&(a=j(q,t),n=j(H,t),i=j(U,t)),{type:"meta",data:e(B,{tcpaLanguage:'By checking this box, I agree to the Terms of Use and consent to be contacted by <a href="/providers" target="_blank">lawyers, lawyer networks, and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls and text messages, at any time including before 8 AM or after 9 PM local time. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.',defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:a,defaultFinalHeadline:"Connect With The Legal Help You Deserve",finalHeadlines:n,defaultFinalSubHeadline:"Get a no-obligation consultation with a legal expert.",finalSubHeadlines:i})}}(["Auto and Car Accidents"]),Q="CrossSell:Auto_and_Car_Accidents";J.data.dynamicSchema=[function(t={}){return M("incidentDate",((t,a,n={})=>(a?h:f)(e({label:a?n.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},n)))(t.scope,!0,t.input),"When did the incident occur?",t)}({scope:Q,nextOnInput:!1}),function(t={}){return M("atFault",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},n)))(t.scope,!0,t.input),"Were you at fault?",t)}({scope:Q}),function(t={}){return M("primaryInjury",((t,a,n={})=>(a?l:r)(e({label:a?n.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"]},n)))(t.scope,!0,t.input),"What was the primary injury?",t)}({scope:Q}),function(t={}){return M("doctorTreatment",((t,a,n={})=>(a?d:o)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?n.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},n)))(t.scope,!0,t.input),"Have you seen a doctor about this?",t)}({scope:Q}),function(t={}){return M("policeReportFiled",((t,a,n={})=>(a?d:o)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?n.label:"Was a Police Report Filed?"},n)))(t.scope,!0,t.input),"Was a police report filed?",t)}({scope:Q}),function(t={}){return M("haveAttorney",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},n)))(t.scope,!0,t.input),"Already working with an attorney?",t)}({scope:Q}),function(e={}){const t={...e,nextOnEnter:!1};return F("comments",[D(e),w(e.scope,0,{label:void 0===e.label?a:e.label,placeholder:e.placeholder||n,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass,innerClass:void 0===e.innerClass?"t-max-w-xl":e.innerClass,wrapperClass:void 0===e.wrapperClass?void 0:e.wrapperClass})],t)}({scope:Q,label:null,placeholder:'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',headline:"Please briefly describe the accident:",headlineClass:"!t-text-dark"}),function(e={}){return M("zipcode",((e,t,a={})=>(t?u:m)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}({scope:Q,help:"We try to match you with local help"}),function(e={}){return F("firstAndLast",[L({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),E({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),g(e.scope),C(e.scope)],e)}({scope:Q,headlineClass:"!t-text-dark"}),function(e={}){return F("contactInfo",[T(e),W(e),{$el:"script",if:"$activeStep === $lastStep()",children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},y(e.scope),b(e.scope),k(e.scope),A()],{nextOnEnter:!1})}({scope:Q,headline:"Connect Now - Final Step",subheadline:"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation."})];const X=[J,e(N,ne),{$cmp:"FormKit",props:function(t){const a=e(O,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(ee="answers-now.com",te="AutoRepair",ae="Mechanics",t(ee,te,ae)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[38rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm: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 Instant Car Advice Online")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Is the issue due to an auto accident?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-text-dark"}),...R,{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:TCPA_Language",value:"$meta.tcpaLanguage"},{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return F("autoDamageFromAccident",[x(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:{values:{Auto_Damage_From_Accident:{Yes:["wouldLikeMVAConsultation","commentsMechanics"],No:["commentsMechanics"]},"*":["commentsMechanics"]}}}),function(e={}){return F("wouldLikeMVAConsultation",[_({headline:e.headline??"Do you want a free legal evaluation?"}),E({subheadline:e.subheadline??"You may be entitled to compensation for your accident.",subheadlineClass:"!t-text-blue-900 !t-font-semibold"}),{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem",id:"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem",value:"Auto and Car Accidents"},{$formkit:"hidden",name:"CrossSell:Auto_and_Car_Accidents:vertical",value:"Legal"},v(e.scope,!0,e.input)],e)}({nextOnInput:!0,nextStepMap:{values:{Would_Like_MVA_Consultation:{Yes:["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],No:["commentsMechanics"]},"*":["commentsMechanics"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Auto_Damage_From_Accident"),function(e={}){return F("commentsMechanics",[D(e),w(e.scope,0,{label:void 0===e.label?a:e.label,placeholder:e.placeholder||n,inputClass:"!t-h-20"}),I(e.scope)],e)}({headline:"Last Step: Describe your vehicle issue",headlineClass:"!t-text-dark",label:null,placeholder:'Example: "I\'m having transmission trouble", or "My car won\'t start"',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"}}]}))({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 ee,te,ae,ne;return X}();
1
+ var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,s=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+s+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=e=>(e.name&&!e.id&&(e.id=e.name),e),s=(t,s,n)=>(t=>(a(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"'},n)),n=t=>{return a(s={id:t?t+":Mechanics_CrossSells":"Mechanics_CrossSells",name:t?t+":Mechanics_CrossSells":"Mechanics_CrossSells",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"Save up to $700* on my auto insurance (optional)"}}),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},s);var s},r=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,i=e=>{if(r(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(r(a))return a;const s=i(a);if(s)return s}return null};const l={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={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const c=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"Category",id:"Category",value:"Mechanics"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],p=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],u=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],d={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...u],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...p],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...m],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...p],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...p],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...u],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...u],"Civil Rights and Discrimination":["civilRightsType",...p],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...p],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...p],"Defend a Lawsuit":["lawsuitOtherParty",...p],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...p],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...p],"Divorce and Separation":["maritalStatus","haveChildren",...u],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...p],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...p],Expungement:["incidentDate","criminalChargeType",...u],"Family Issues":["maritalStatus","haveChildren",...u],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...p],Guardianship:["maritalStatus","haveChildren",...u],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...p],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...p],"Lemon Law":["incidentDate","lawsuitOtherParty",...p],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...m],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...p],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...p],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...m],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...p],"Property Damage":["wouldLikeLawyerTo",...p],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...p],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...m],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...p],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...p],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...p],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...m],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...m],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...p]},"*":p}};function y(e,t=[],a={}){const s={...e};return s.values=function e(s){const n={};for(const r in s)Array.isArray(s[r])?n[r]=s[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[r]?n[r]=e(s[r]):n[r]=s[r];return n}(e.values),s}y(d,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const f=d.values.Type_Of_Legal_Problem;f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Child Custody"],f["Child Support"],d.values["*"],f["Family Issues"],f["Child Support"],f["Child Custody"],d.values["*"],f["Divorce and Separation"],f["Defend a Lawsuit"],f["File a Lawsuit"];y({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":f["Defend a Lawsuit"],"File a Lawsuit":f["File a Lawsuit"]},"*":["lawsuitOtherParty",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":f["Auto and Car Accidents"],"Contract Disputes":f["Business Lawyers"],"Dog Bite":f["Personal Injury"],"Employment and Workplace":f["Employment and Workplace"],Fraud:f["Consumer Lawyers"],"Medical Malpractice":f["Medical Malpractice"],"Personal Injury":f["Personal Injury"],"Property Damage":f["Property Damage"],"Real Estate":f["Real Estate"],"Not Sure or Other":d.values["*"]},"*":["lawsuitOtherParty",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":f["Victim of a Crime"],"DUI and DWI":f["DUI and DWI"],Expungement:f.Expungement,"Not Sure or Other":d.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":f["Wrongful Termination"],"Workers Compensation":f["Workers Compensation"],"Personal Injury":f["Personal Injury"],Unemployment:f.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),f["Workplace Harassment"],f["Workplace Discrimination"],f["Probate and Estates"],f["Wills and Trusts"],f["Wrongful Death"],f["Patents and Intellectual Property"],f["Business Lawyers"],f["Business Lawyers"],d.values["*"];y({values:{Type_Of_Legal_Problem_Display:{Foreclosure:f.Foreclosure,"Landlord and Tenant":f["Landlord and Tenant"],"Wills, Trusts, and Estates":f["Wills and Trusts"],"Property Damage":f["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const h=[{type:"meta",data:{}},($={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(o,$)),{$cmp:"FormKit",props:function(t){const a=e(l,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(g="answers-now.com",C="AutoRepair",v="Mechanics",t(g,C,v)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[38rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm: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", "Have Questions For A Mechanic?")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Answers In Minutes!")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...c,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:n=!0,nextOnInput:r=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:p}=s;if(a&&a.length&&(n||r)){const e=i(a[a.length-1]);e&&!0===n&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===r&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const u={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:p,children:a}]};return void 0!==s.if&&(u.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),u)}("commentsMechanics",[s(t.scope,0,{label:void 0===t.label?"Please briefly describe your issue in a few words:":t.label,placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-20"}),n(t.scope)],t)}({label:null,placeholder:'Example: "I\'m having transmission trouble", or "My car won\'t start"',nextOnEnter:!1}),((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:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"t-hidden sm:t-block",else:""},style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($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"}}]}))({submitLabel:"Chat Now",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),{$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 g,C,v,$;return h}();
@@ -1 +1 @@
1
- [{"type":"meta","data":{"tcpaLanguage":"By checking this box, I agree to the Terms of Use and consent to be contacted by <a href=\"/providers\" target=\"_blank\">lawyers, lawyer networks, and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls and text messages, at any time including before 8 AM or after 9 PM local time. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","commentsPlaceholders":{"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\""},"defaultFinalHeadline":"Connect With The Legal Help You Deserve","finalHeadlines":{"Auto and Car Accidents":"Connect With Accident Professionals Today"},"defaultFinalSubHeadline":"Get a no-obligation consultation with a legal expert.","finalSubHeadlines":{},"dynamicSchema":[{"$el":"section","if":"$stepEnabled(\"incidentDate\")","attrs":{"hidden":"$activeStep !== \"incidentDate\"","key":"incidentDate"},"children":[{"$formkit":"group","id":"incidentDate","name":"incidentDate","children":[{"$el":"h3","children":"When did the incident occur?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$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","name":"CrossSell:Auto_and_Car_Accidents:Incident_Date","wrapperClass":"t-flex t-justify-center","inputClass":"t-text-center","messagesClass":"t-flex t-justify-center","id":"CrossSell:Auto_and_Car_Accidents:Incident_Date","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"atFault\")","attrs":{"hidden":"$activeStep !== \"atFault\"","key":"atFault"},"children":[{"$formkit":"group","id":"atFault","name":"atFault","children":[{"$el":"h3","children":"Were you at fault?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:At_Fault","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:At_Fault","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"primaryInjury\")","attrs":{"hidden":"$activeStep !== \"primaryInjury\"","key":"primaryInjury"},"children":[{"$formkit":"group","id":"primaryInjury","name":"primaryInjury","children":[{"$el":"h3","children":"What was the primary injury?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"doctorTreatment\")","attrs":{"hidden":"$activeStep !== \"doctorTreatment\"","key":"doctorTreatment"},"children":[{"$formkit":"group","id":"doctorTreatment","name":"doctorTreatment","children":[{"$el":"h3","children":"Have you seen a doctor about this?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"policeReportFiled\")","attrs":{"hidden":"$activeStep !== \"policeReportFiled\"","key":"policeReportFiled"},"children":[{"$formkit":"group","id":"policeReportFiled","name":"policeReportFiled","children":[{"$el":"h3","children":"Was a police report filed?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"haveAttorney\")","attrs":{"hidden":"$activeStep !== \"haveAttorney\"","key":"haveAttorney"},"children":[{"$formkit":"group","id":"haveAttorney","name":"haveAttorney","children":[{"$el":"h3","children":"Already working with an attorney?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$el":"h3","children":"Please briefly describe the accident:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Comments","label":null,"placeholder":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\"","inputClass":"!t-h-32","id":"CrossSell:Auto_and_Car_Accidents:Comments"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please verify your Zip Code","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We try to match you with local help","placeholder":"#####","name":"CrossSell:Auto_and_Car_Accidents:Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for help?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$el":"h5","children":"We never share info without consent","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-sm !t-text-gray-500"}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","placeholder":"First Name","name":"CrossSell:Auto_and_Car_Accidents:First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last Name","name":"CrossSell:Auto_and_Car_Accidents:Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Connect Now - Final Step","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 f-contact-info-headline"}},{"$el":"h5","children":"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 f-contact-info-subheadline"}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Email"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use ###-###-####","valid_phone":"Invalid Phone Number"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Phone"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","__raw__sectionsSchema":{"label":{"attrs":{"innerHTML":"$label"}}},"name":"CrossSell:Auto_and_Car_Accidents:TCPA_Opt_In","data-tf-sensitive":"false","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"outer":"","wrapper":"","messages":"","label":"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"width":"25","height":"25","src":"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]}]}]}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Get Instant Car Advice Online\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 !t-text-dark f-first-subheadline"},"children":"$urlParam(\"shl\", \"Is the issue due to an auto accident?\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-text-dark"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:TCPA_Language","value":"$meta.tcpaLanguage"},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"autoDamageFromAccident\")","attrs":{"hidden":"$activeStep !== \"autoDamageFromAccident\"","key":"autoDamageFromAccident"},"children":[{"$formkit":"group","id":"autoDamageFromAccident","name":"autoDamageFromAccident","nextStepMap":{"values":{"Auto_Damage_From_Accident":{"Yes":["wouldLikeMVAConsultation","commentsMechanics"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Auto_Damage_From_Accident","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Auto_Damage_From_Accident","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"wouldLikeMVAConsultation\")","attrs":{"hidden":"$activeStep !== \"wouldLikeMVAConsultation\"","key":"wouldLikeMVAConsultation"},"children":[{"$formkit":"group","id":"wouldLikeMVAConsultation","name":"wouldLikeMVAConsultation","nextStepMap":{"values":{"Would_Like_MVA_Consultation":{"Yes":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$el":"h3","children":"Do you want a free legal evaluation?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "}},{"$el":"h5","children":"You may be entitled to compensation for your accident.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-blue-900 !t-font-semibold"}},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","id":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","value":"Auto and Car Accidents"},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:vertical","value":"Legal"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Would_Like_MVA_Consultation","help":"Note: we'll still connect you for a mechanic.","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Would_Like_MVA_Consultation","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$cmp":"FormKitSchema","if":"$get(Auto_Damage_From_Accident).value","props":{"schema":"$meta.dynamicSchema","data":"$buildData($meta)"}},{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$el":"h3","children":"Last Step: Describe your vehicle issue","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center sm:!t-justify-between","else":"step-nav !t-justify-between"}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$activeStep === $firstStep()","then":"t-hidden sm:t-block","else":""},"style":{"if":"$activeStep === $firstStep()","then":"display: none;"},"classes":{"input":" f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":" f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":" !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"}}]}]}]}]
1
+ [{"type":"meta","data":{}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions For A Mechanic?\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Answers In Minutes!\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"Save up to $700* on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","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":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"t-hidden sm:t-block","else":""},"style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"$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"}}]}]}]}]