bhl-forms 0.6.9 → 0.6.11
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.iife.js +1 -1
- package/dist/bhl-forms.modern.iife.js +7 -7
- package/dist/bhl-forms.modern.umd.js +1 -1
- package/dist/bhl-forms.umd.js +1 -1
- package/dist/forms/accidentsAndInjuries.es.js +47 -48
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/business.es.js +38 -36
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -1
- package/dist/forms/childAndFamily.es.js +29 -28
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +39 -37
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +63 -63
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/contracts.es.js +29 -28
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +57 -57
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +2222 -0
- package/dist/forms/divorce.iife.js +1 -0
- package/dist/forms/divorce.json +1 -0
- package/dist/forms/employmentAndWorkplace.es.js +62 -62
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +47 -48
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +47 -48
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +72 -63
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +72 -63
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +37 -40
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +29 -28
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +1911 -0
- package/dist/forms/landlordTenant.iife.js +1 -0
- package/dist/forms/landlordTenant.json +1 -0
- package/dist/forms/malpractice.es.js +47 -48
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +824 -33
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +59 -57
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +47 -48
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +47 -48
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +25 -25
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +18 -19
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +8 -2
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +29 -28
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r=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",r(e)),o=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)),l=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)),s=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>(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)))(t)),d=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)))(t)),u=t=>(t.wrapperClass="side-by-side t-items-center",(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)))(t)),c=e=>d({name:e?e+":Applicant_Age":"Applicant_Age",label:"Age of Applicant?",placeholder:"Age between 18 and 65",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"}}),p=e=>l({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),m=()=>{return(e={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",r(e);var e},f=e=>s({name:e?e+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",label:"Blood Alcohol Content Measured by 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"]}),y=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Child Custody","Child Support","Adoption","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e);var e},h=e=>s({name:e?e+":Child_Home":"Child_Home",label:"With Whom Do the Children Currently Live?",options:["Mother","Father","Grandparents","Other"]}),g=e=>s({name:e?e+":Child_Primary_Caregiver":"Child_Primary_Caregiver",label:"Who is the Primary Caregiver?",options:["Mother","Father","Other"]}),b=e=>s({name:e?e+":Child_Relationship":"Child_Relationship",label:"Your Relationship to Child(ren):",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),_=e=>s({name:e?e+":Claim_Status":"Claim_Status",label:"Status of Claim:",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),v=(t,a)=>(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:a?a+":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"'},t)),C=(e,t)=>s({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),x=e=>C(e,"No payment necessary to speak with lawyers."),w=e=>l({name:e?e+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),I=e=>l({name:e?e+":Disability_Work_History":"Disability_Work_History",label:"Have You Had a Full-Time Job Within the Past 5 Years?"}),$=e=>l({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),P=e=>s({name:e?e+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),S=e=>l({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),k=e=>l({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),A=e=>u({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),D=e=>s({name:e?e+":Lawyer_Payment_Method":"Lawyer_Payment_Method",label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),T=e=>s({name:e?e+":Marital_Status":"Marital_Status",label:"Marital Status:",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),E=e=>l({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),O=e=>{return(t={name:e?e+":Primary_Injury":"Primary_Injury",label:"Primary Injury:",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",t.fieldsetClass="$reset side-by-side-flex",t.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",t.innerClass="t-flex t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(t);var t},L=e=>l({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),W=e=>l({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),F=e=>s({name:e?e+":Role_In_Matter_Probate":"Role_In_Matter_Probate",label:"What Is Your Role in this Matter?",options:["Preparing My Will","Executor","Heir","Other"]}),N=e=>l({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),M=e=>s({name:e?e+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",label:"Type of Alcohol Test Performed?",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]}),q=e=>n({name:e?e+":Type_Of_Assets":"Type_Of_Assets",label:"Type of Assets:",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]}),j=e=>s({name:e?e+":Value_Of_Assets":"Value_Of_Assets",label:"Value of Your Assets?",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),Y=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),B=(e,t)=>Y("ChildCustodyQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[S(t),b(t),h(t),g(t),C(t),D(t)]}),U=(e,t)=>Y("DivorceQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[S(t),T(t),k(t),C(t),D(t)]}),H="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",R="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",Q=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,V=e=>{if(Q(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(Q(a))return a;const i=V(a);if(i)return i}return null},K={$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(t){return e(K,t)}function z(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 Z(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 J(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 X(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ee(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 te(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 ae(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||"")}}}function ie(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const re="(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 ne=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function oe(t,a,i=!0,r=!1,n=void 0,o=void 0,l=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=V(a[a.length-1]);e&&!0===i&&(e.onKeypress=H),e&&!0===r&&(e.onInput=R)}return e(ne(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}const le={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 se(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const de={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const ue={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const ce=[{$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}],pe={"*":"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 me={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},fe={},ye={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."},he=function(a=null){let i=me,r=fe,n=ye;return a&&(i=se(me,a),r=se(fe,a),n=se(ye,a)),{type:"meta",data:e(de,{defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:r,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();he.data.dynamicSchema=[function(e={}){return oe("TOLPQuestions",[z(e),Y("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[S(),T(),k(),C(),D()]}),Y("ChildCustodyAndSupportQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[S(a),b(a),h(a),g(a),C(a),D(a)]}),B(),Y("ChildSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Support"',children:[S(),b(),h(),g(),C(),D()]}),Y("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[S(),T(),k(),C(),D()]}),Y("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[S(),T(),k(),C(),D()]}),U(),Y("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[S(),x()]})],e.nextOnEnter);var t,a}(),function(e={}){return oe("commentsWithBankruptcy",[X(e),v({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}),m(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[v({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],!1)}(),function(e={}){return oe("legalCrossSells",[te(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:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Auto and Car Accidents"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',then:{"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"},else:{"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"}}}}}}})],e.nextOnEnter,!1,"$get(Type_Of_Legal_Problem).value")}(),function(e={}){return oe("autoAndCarAccidentCrossSellQuestions",[Z({headline:"You May Be Entitled To Compensation"}),J({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",Y("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[S(a),A(a),p(a),O(a),$(a),W(a)]})),v({label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"},"CrossSell:Auto_and_Car_Accidents")],e.nextOnEnter);var t,a}(),function(e={}){return oe("personalInjuryCrossSellQuestions",[Z({headline:"You May Be Entitled To Compensation"}),J({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",Y("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[S(a),A(a),_(a),p(a),O(a),$(a)]})),v({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Personal_Injury")],e.nextOnEnter);var t,a}(),function(e={}){return oe("duiAndDWICrossSellQuestions",[Z({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",Y("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[S(a),A(a),L(a),M(a),f(a),E(a),x(a)]})),v({label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"},"CrossSell:DUI_and_DWI")],e.nextOnEnter);var t,a}(),function(e={}){return oe("ssdiCrossSellQuestions",[Z({headline:"You May Be Entitled To Benefits"}),J({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",Y("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[S(a),c(a),w(a),I(a),N(a),$(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Social_Security_Disability_and_Insurance")],e.nextOnEnter);var t,a}(),function(e={}){return oe("powerOfAttorneyCrossSellQuestions",[Z({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",Y("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[S(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Power_of_Attorney")],e.nextOnEnter);var t,a}(),function(e={}){return oe("willsAndTrustsCrossSellQuestions",[Z({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",Y("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[S(a),j(a),q(a),F(a),P(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Wills_and_Trusts")],e.nextOnEnter);var t,a}(),function(e={}){return oe("firstAndLast",[ee(e),d({$formkit:"text",label:"First Name:",placeholder:"First",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),d({$formkit:"text",label:"Last Name:",placeholder:"Last",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}()];const ge=[he,e(ue,be),{$cmp:"FormKit",props:function(t){const a=e(le,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"childAndFamily",redirectMap:function(t){return e(pe,t)}()}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Child & Family Help Today")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Contact Us for Child Support, Custody and Family Issues")',if:"$activeStep === $firstStep()"}),...ce,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return oe("childAndFamilyTOLPAndZip",[y(),d({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter,e.nextOnInput,e.stepKey,e.nextStepMap)}({nextStepMap:{"*":["TOLPQuestions","commentsWithBankruptcy","legalCrossSells","firstAndLast","contactInfo"]}}),{$cmp:"FormKitSchema",if:"$get(Type_Of_Legal_Problem).value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}},function(e={}){return oe("contactInfo",[ae(e),ie(e),{$el:"script",if:"$activeStep === $lastStep()",children:re},d({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),d({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},G()],!1)}(),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var be;return ge}();
|
|
1
|
+
var childAndFamily=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',i='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r=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",r(e)),o=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)),l=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)),s=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>(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)))(t)),d=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)))(t)),u=t=>(t.wrapperClass="side-by-side t-items-center",(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)))(t)),c=e=>d({name:e?e+":Applicant_Age":"Applicant_Age",label:"Age of Applicant?",placeholder:"Age between 18 and 65",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"}}),p=e=>l({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),m=()=>{return(e={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",r(e);var e},f=e=>s({name:e?e+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",label:"Blood Alcohol Content Measured by 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"]}),y=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Child Custody","Child Support","Adoption","Family Issues","Guardianship","Divorce and Separation","Not Sure or Other"]}).legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(e);var e},h=e=>s({name:e?e+":Child_Home":"Child_Home",label:"With Whom Do the Children Currently Live?",options:["Mother","Father","Grandparents","Other"]}),g=e=>s({name:e?e+":Child_Primary_Caregiver":"Child_Primary_Caregiver",label:"Who is the Primary Caregiver?",options:["Mother","Father","Other"]}),b=e=>s({name:e?e+":Child_Relationship":"Child_Relationship",label:"Your Relationship to Child(ren):",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),_=e=>s({name:e?e+":Claim_Status":"Claim_Status",label:"Status of Claim:",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),v=(t,a)=>(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:a?a+":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"'},t)),C=(e,t)=>s({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),x=e=>C(e,"No payment necessary to speak with lawyers."),w=e=>l({name:e?e+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),I=e=>l({name:e?e+":Disability_Work_History":"Disability_Work_History",label:"Have You Had a Full-Time Job Within the Past 5 Years?"}),$=e=>l({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),P=e=>s({name:e?e+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),S=e=>l({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),k=e=>l({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),A=e=>u({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),D=e=>d({$formkit:"text",label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),T=e=>s({name:e?e+":Lawyer_Payment_Method":"Lawyer_Payment_Method",label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:"No payment necessary to speak with lawyers.",options:["Cash","Check","Credit Card","Friend","Family","Other"]}),E=e=>s({name:e?e+":Marital_Status":"Marital_Status",label:"Marital Status:",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),O=e=>l({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),L=e=>d({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),W=e=>{return(t={name:e?e+":Primary_Injury":"Primary_Injury",label:"Primary Injury:",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",t.fieldsetClass="$reset side-by-side-flex",t.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",t.innerClass="t-flex t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",o(t);var t},F=e=>l({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),N=e=>l({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),M=e=>s({name:e?e+":Role_In_Matter_Probate":"Role_In_Matter_Probate",label:"What Is Your Role in this Matter?",options:["Preparing My Will","Executor","Heir","Other"]}),q=e=>l({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),j=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",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:{label:"t-text-xs t-text-slate-500 t-font-normal"}}),Y=e=>s({name:e?e+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",label:"Type of Alcohol Test Performed?",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]}),B=e=>n({name:e?e+":Type_Of_Assets":"Type_Of_Assets",label:"Type of Assets:",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]}),U=e=>s({name:e?e+":Value_Of_Assets":"Value_Of_Assets",label:"Value of Your Assets?",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),H=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),R=(e,t)=>H("ChildCustodyQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[S(t),b(t),h(t),g(t),C(t),T(t)]}),Q=(e,t)=>H("DivorceQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[S(t),E(t),k(t),C(t),T(t)]}),V="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",K="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",G=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,z=e=>{if(G(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(G(a))return a;const i=z(a);if(i)return i}return null},Z={$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 J(t){return e(Z,t)}function X(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 ee(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 te(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 ae(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ie(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 re(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 ne(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||"")}}}function oe(e){return{$el:"h5",children:e.subheadline||i,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const le="(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 se=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function de(t,a,i=!0,r=!1,n=void 0,o=void 0,l=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=z(a[a.length-1]);e&&!0===i&&(e.onKeypress=V),e&&!0===r&&(e.onInput=K)}return e(se(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}const ue={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 ce(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const pe={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const me={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const fe=[{$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}],ye={"*":"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 he={Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},ge={},be={Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."},_e=function(a=null){let i=he,r=ge,n=be;return a&&(i=ce(he,a),r=ce(ge,a),n=ce(be,a)),{type:"meta",data:e(pe,{defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:r,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();_e.data.dynamicSchema=[function(e={}){return de("TOLPQuestions",[X(e),H("AdoptionQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Adoption"',children:[S(),E(),k(),C(),T()]}),H("ChildCustodyAndSupportQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody and Support"',children:[S(a),b(a),h(a),g(a),C(a),T(a)]}),R(),H("ChildSupportQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Child Support"',children:[S(),b(),h(),g(),C(),T()]}),H("FamilyIssuesQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[S(),E(),k(),C(),T()]}),H("GuardianshipQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Guardianship"',children:[S(),E(),k(),C(),T()]}),Q(),H("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[S(),x()]})],e.nextOnEnter);var t,a}(),function(e={}){return de("commentsWithBankruptcy",[ae(e),v({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},e.scope),m(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[v({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],!1)}(),function(e={}){return de("legalCrossSells",[re(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:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Auto and Car Accidents"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',then:{"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"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',then:{"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"},else:{"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"}}}}}}})],e.nextOnEnter,!1,"$get(Type_Of_Legal_Problem).value")}(),function(e={}){return de("autoAndCarAccidentCrossSellQuestions",[ee({headline:"You May Be Entitled To Compensation"}),te({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",H("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[S(a),A(a),p(a),W(a),$(a),N(a)]})),v({label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"},"CrossSell:Auto_and_Car_Accidents")],e.nextOnEnter);var t,a}(),function(e={}){return de("personalInjuryCrossSellQuestions",[ee({headline:"You May Be Entitled To Compensation"}),te({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",H("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[S(a),A(a),_(a),p(a),W(a),$(a)]})),v({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Personal_Injury")],e.nextOnEnter);var t,a}(),function(e={}){return de("duiAndDWICrossSellQuestions",[ee({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",H("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[S(a),A(a),F(a),Y(a),f(a),O(a),x(a)]})),v({label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"},"CrossSell:DUI_and_DWI")],e.nextOnEnter);var t,a}(),function(e={}){return de("ssdiCrossSellQuestions",[ee({headline:"You May Be Entitled To Benefits"}),te({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",H("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[S(a),c(a),w(a),I(a),q(a),$(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Social_Security_Disability_and_Insurance")],e.nextOnEnter);var t,a}(),function(e={}){return de("powerOfAttorneyCrossSellQuestions",[ee({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",H("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[S(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Power_of_Attorney")],e.nextOnEnter);var t,a}(),function(e={}){return de("willsAndTrustsCrossSellQuestions",[ee({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",H("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[S(a),U(a),B(a),M(a),P(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Wills_and_Trusts")],e.nextOnEnter);var t,a}(),function(e={}){return de("firstAndLast",[ie(e),d({$formkit:"text",label:"First Name:",placeholder:"First",name:t?t+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),D()],e.nextOnEnter);var t}()];const ve=[_e,e(me,Ce),{$cmp:"FormKit",props:function(t){const a=e(ue,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"childAndFamily",redirectMap:function(t){return e(ye,t)}()}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Child & Family Help Today")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Contact Us for Child Support, Custody and Family Issues")',if:"$activeStep === $firstStep()"}),...fe,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return de("childAndFamilyTOLPAndZip",[y(),d({label:"Zip Code:",placeholder:"#####",name:t?t+":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"}})],e.nextOnEnter,e.nextOnInput,e.stepKey,e.nextStepMap);var t}({nextStepMap:{"*":["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 de("contactInfo",[ne(e),oe(e),{$el:"script",if:"$activeStep === $lastStep()",children:le},(t=e.scope,d({$formkit:"email",name:t?t+":Email":"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}})),L(e.scope),j(e.scope),J()],!1);var t}(),((e={})=>({$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Ce;return ve}();
|
|
@@ -104,7 +104,7 @@ const sbsYesNoRadio = (updates) => {
|
|
|
104
104
|
|
|
105
105
|
const verticalButtonRadio = (updates) => {
|
|
106
106
|
updates.legendClass = 'legend-left';
|
|
107
|
-
updates.fieldsetClass = '$reset t-flex t-justify-center t-items-center';
|
|
107
|
+
updates.fieldsetClass = '$reset t-flex t-justify-center t-flex-col-reverse t-items-center';
|
|
108
108
|
if (typeof updates.optionsClass === 'undefined') {
|
|
109
109
|
updates.optionsClass = 't-flex t-flex-col sm:t-flex-row t-justify-center t-my-3';
|
|
110
110
|
}
|
|
@@ -113,6 +113,7 @@ const verticalButtonRadio = (updates) => {
|
|
|
113
113
|
updates.labelClass = 't-font-semibold t-text-[#1e448f] t-w-[100%]';
|
|
114
114
|
updates.decoratorIcon = false;
|
|
115
115
|
updates.messagesClass = 't-flex t-justify-center';
|
|
116
|
+
updates.helpClass = 't-mt-2.5 !t-text-sm t-text-center';
|
|
116
117
|
return radio(updates)
|
|
117
118
|
};
|
|
118
119
|
|
|
@@ -351,9 +352,9 @@ const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
|
351
352
|
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
352
353
|
});
|
|
353
354
|
|
|
354
|
-
const email = () => sbsText({
|
|
355
|
+
const email = (scope) => sbsText({
|
|
355
356
|
$formkit: 'email',
|
|
356
|
-
name: 'Email',
|
|
357
|
+
name: scope ? scope + ':' + 'Email' : 'Email',
|
|
357
358
|
label: 'Email Address:',
|
|
358
359
|
placeholder: 'email@domain.com',
|
|
359
360
|
autocomplete: 'email',
|
|
@@ -378,11 +379,11 @@ const estateLegalServicesNeeded = (scope) => sbsSelect({
|
|
|
378
379
|
]
|
|
379
380
|
});
|
|
380
381
|
|
|
381
|
-
const firstName = () => sbsText({
|
|
382
|
+
const firstName = (scope) => sbsText({
|
|
382
383
|
$formkit: 'text',
|
|
383
384
|
label: 'First Name:',
|
|
384
385
|
placeholder: 'First',
|
|
385
|
-
name: 'First_Name',
|
|
386
|
+
name: scope ? scope + ':' + 'First_Name' : 'First_Name',
|
|
386
387
|
autocomplete: "given-name",
|
|
387
388
|
validationMessages: {
|
|
388
389
|
required: 'First Name is required'
|
|
@@ -394,8 +395,8 @@ const haveAttorney$1 = (scope) => sbsYesNoRadio({
|
|
|
394
395
|
label: 'Already Working with An Attorney?'
|
|
395
396
|
});
|
|
396
397
|
|
|
397
|
-
const haveAttorneyCenter = () => verticalYesNoRadio({
|
|
398
|
-
name: 'Have_Attorney',
|
|
398
|
+
const haveAttorneyCenter = (scope) => verticalYesNoRadio({
|
|
399
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
399
400
|
});
|
|
400
401
|
|
|
401
402
|
const haveChildrenCenter = (scope) => verticalYesNoRadio({
|
|
@@ -407,11 +408,11 @@ const incidentDate = (scope) => sbsDate({
|
|
|
407
408
|
label: 'Date of Incident:',
|
|
408
409
|
});
|
|
409
410
|
|
|
410
|
-
const lastName = () => sbsText({
|
|
411
|
+
const lastName = (scope) => sbsText({
|
|
411
412
|
$formkit: 'text',
|
|
412
413
|
label: 'Last Name:',
|
|
413
414
|
placeholder: 'Last',
|
|
414
|
-
name: 'Last_Name',
|
|
415
|
+
name: scope ? scope + ':' + 'Last_Name' : 'Last_Name',
|
|
415
416
|
autocomplete: "family-name",
|
|
416
417
|
validationMessages: {
|
|
417
418
|
required: 'Last Name is required'
|
|
@@ -518,9 +519,9 @@ const pendingCharges = (scope) => sbsYesNoRadio({
|
|
|
518
519
|
label: 'Do you currently have any pending charges?'
|
|
519
520
|
});
|
|
520
521
|
|
|
521
|
-
const phone = () => sbsText({
|
|
522
|
+
const phone = (scope) => sbsText({
|
|
522
523
|
$formkit: 'tel',
|
|
523
|
-
name: 'Primary_Phone',
|
|
524
|
+
name: scope ? scope + ':' + 'Primary_Phone' : 'Primary_Phone',
|
|
524
525
|
label: 'Phone Number:',
|
|
525
526
|
placeholder: '###-###-####',
|
|
526
527
|
maxlength: 12,
|
|
@@ -577,10 +578,10 @@ const socialSecurityDisabilityReceivingBenefits = (scope) => sbsYesNoRadio({
|
|
|
577
578
|
label: 'Are You Currently Receiving Social Security Disability Benefits?'
|
|
578
579
|
});
|
|
579
580
|
|
|
580
|
-
const TCPAConsent = () => ({
|
|
581
|
+
const TCPAConsent = (scope) => ({
|
|
581
582
|
$formkit: 'checkbox',
|
|
582
583
|
label: '$meta.tcpaLanguage',
|
|
583
|
-
name: 'TCPA_Opt_In',
|
|
584
|
+
name: scope ? scope + ':' + 'TCPA_Opt_In' : 'TCPA_Opt_In',
|
|
584
585
|
'data-tf-sensitive': 'false',
|
|
585
586
|
validation: 'required|accepted',
|
|
586
587
|
validationMessages: {
|
|
@@ -632,10 +633,10 @@ const valueOfAssets = (scope) => sbsSelect({
|
|
|
632
633
|
]
|
|
633
634
|
});
|
|
634
635
|
|
|
635
|
-
const zipcodeCenter = (updates = {}) => text({
|
|
636
|
+
const zipcodeCenter = (updates = {}, scope) => text({
|
|
636
637
|
placeholder: '#####',
|
|
637
638
|
help: updates.help ?? "We try to match you with local legal help",
|
|
638
|
-
name: 'Zip',
|
|
639
|
+
name: scope ? scope + ':' + 'Zip' : 'Zip',
|
|
639
640
|
maxlength: 5,
|
|
640
641
|
inputmode: "numeric",
|
|
641
642
|
autocomplete: 'postal-code',
|
|
@@ -993,7 +994,8 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
993
994
|
label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
|
|
994
995
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
|
|
995
996
|
inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-32' : updates.inputClass,
|
|
996
|
-
}),
|
|
997
|
+
}, updates.scope),
|
|
998
|
+
// TODO: needs scope support
|
|
997
999
|
bankruptcyCrossSell(),
|
|
998
1000
|
{
|
|
999
1001
|
$el: 'div',
|
|
@@ -1018,16 +1020,16 @@ function contactInfo(updates = {}) {
|
|
|
1018
1020
|
contactStepHeadline(updates),
|
|
1019
1021
|
contactStepSubHeadline(updates),
|
|
1020
1022
|
trustedFormScript(),
|
|
1021
|
-
email(),
|
|
1022
|
-
phone(),
|
|
1023
|
-
TCPAConsent(),
|
|
1023
|
+
email(updates.scope),
|
|
1024
|
+
phone(updates.scope),
|
|
1025
|
+
TCPAConsent(updates.scope),
|
|
1024
1026
|
secureIcon()
|
|
1025
1027
|
],
|
|
1026
1028
|
false, // nextOnEnter
|
|
1027
1029
|
)
|
|
1028
1030
|
}
|
|
1029
1031
|
|
|
1030
|
-
function firstAndLastV3(updates = {}) {
|
|
1032
|
+
function firstAndLastV3(updates = {}, scope) {
|
|
1031
1033
|
return step(
|
|
1032
1034
|
'firstAndLast',
|
|
1033
1035
|
[
|
|
@@ -1039,8 +1041,8 @@ function firstAndLastV3(updates = {}) {
|
|
|
1039
1041
|
subheadline: updates.subheadline ?? 'Note: we never share info without consent',
|
|
1040
1042
|
subheadlineClass: '!t-text-sm !t-text-gray-500'
|
|
1041
1043
|
}),
|
|
1042
|
-
firstName(),
|
|
1043
|
-
lastName()
|
|
1044
|
+
firstName(scope),
|
|
1045
|
+
lastName(scope)
|
|
1044
1046
|
],
|
|
1045
1047
|
updates.nextOnEnter
|
|
1046
1048
|
)
|
|
@@ -1194,7 +1196,7 @@ function childAndFamilyTOLP(updates = {}) {
|
|
|
1194
1196
|
function zipcode(updates = {}) {
|
|
1195
1197
|
return sqstep(
|
|
1196
1198
|
'zipcode',
|
|
1197
|
-
zipcodeCenter(updates),
|
|
1199
|
+
zipcodeCenter(updates, updates.scope),
|
|
1198
1200
|
'Please verify your Zip Code',
|
|
1199
1201
|
updates
|
|
1200
1202
|
)
|
|
@@ -1248,7 +1250,7 @@ function childPrimaryCaregiver(updates = {}) {
|
|
|
1248
1250
|
function haveAttorney(updates = {}) {
|
|
1249
1251
|
return sqstep(
|
|
1250
1252
|
'haveAttorney',
|
|
1251
|
-
haveAttorneyCenter(),
|
|
1253
|
+
haveAttorneyCenter(updates.scope),
|
|
1252
1254
|
'Already working with an attorney?',
|
|
1253
1255
|
updates
|
|
1254
1256
|
)
|
|
@@ -1272,9 +1274,7 @@ function lawyerPaymentMethod(updates = {}) {
|
|
|
1272
1274
|
)
|
|
1273
1275
|
}
|
|
1274
1276
|
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
const formNavigation = () => ({
|
|
1277
|
+
const formNavigation = (updates = {}) => ({
|
|
1278
1278
|
$el: 'div',
|
|
1279
1279
|
attrs: {
|
|
1280
1280
|
class: 'step-nav'
|
|
@@ -1312,7 +1312,7 @@ const formNavigation = () => ({
|
|
|
1312
1312
|
{
|
|
1313
1313
|
$formkit: 'submit',
|
|
1314
1314
|
name: 'submit_button',
|
|
1315
|
-
label: 'Submit',
|
|
1315
|
+
label: updates.submitLabel || 'Submit',
|
|
1316
1316
|
if: '$activeStep === $lastStep()',
|
|
1317
1317
|
style: {
|
|
1318
1318
|
if: '$activeStep !== $lastStep()',
|
|
@@ -1447,14 +1447,16 @@ function defaultMetaProps(tolps = null) {
|
|
|
1447
1447
|
})
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1450
|
+
function dynamicSchemaNode(field = 'Type_Of_Legal_Problem') {
|
|
1451
|
+
return {
|
|
1452
|
+
$cmp: 'FormKitSchema',
|
|
1453
|
+
if: '$get(' + field + ').value',
|
|
1454
|
+
props: {
|
|
1455
|
+
schema: '$meta.dynamicSchema',
|
|
1456
|
+
data: '$buildData($meta)'
|
|
1457
|
+
}
|
|
1456
1458
|
}
|
|
1457
|
-
}
|
|
1459
|
+
}
|
|
1458
1460
|
|
|
1459
1461
|
const formAnchorDefaults = {
|
|
1460
1462
|
$el: 'div',
|
|
@@ -2166,7 +2168,7 @@ const schema = [
|
|
|
2166
2168
|
if: '$activeStep === $firstStep()',
|
|
2167
2169
|
}),
|
|
2168
2170
|
subHeadline({
|
|
2169
|
-
children: '$urlParam("shl", "Select a Category
|
|
2171
|
+
children: '$urlParam("shl", "Select a Category to Start!")',
|
|
2170
2172
|
if: '$activeStep === $firstStep()',
|
|
2171
2173
|
}),
|
|
2172
2174
|
...hiddenInputsLegal,
|
|
@@ -2179,7 +2181,7 @@ const schema = [
|
|
|
2179
2181
|
childAndFamilyTOLP({
|
|
2180
2182
|
nextStepMap: nextStepsMapChildAndFamily
|
|
2181
2183
|
}),
|
|
2182
|
-
dynamicSchemaNode,
|
|
2184
|
+
dynamicSchemaNode(),
|
|
2183
2185
|
contactInfo(),
|
|
2184
2186
|
formNavigation(),
|
|
2185
2187
|
formDetails()
|