bhl-forms 0.6.10 → 0.6.12
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 +29 -28
- package/dist/forms/accidentsAndInjuries.iife.js +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 +38 -36
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +45 -43
- 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 +39 -37
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +38 -36
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/divorce.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +44 -42
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +29 -28
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +29 -28
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +45 -43
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +45 -43
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +19 -20
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +29 -28
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +38 -36
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/landlordTenant.json +1 -1
- package/dist/forms/malpractice.es.js +29 -28
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +824 -34
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +38 -36
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +29 -28
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +29 -28
- package/dist/forms/repossession.iife.js +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 harassmentAndDiscrimination=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=e=>s({name:e?e+":Cause_Of_Injury":"Cause_Of_Injury",label:"Cause of Injury:",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),h=e=>s({name:e?e+":Child_Home":"Child_Home",label:"With Whom Do the Children Currently Live?",options:["Mother","Father","Grandparents","Other"]}),b=e=>s({name:e?e+":Child_Primary_Caregiver":"Child_Primary_Caregiver",label:"Who is the Primary Caregiver?",options:["Mother","Father","Other"]}),g=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?"}),S=()=>s({label:"The Employer Is a:",name:"Employer_Type",options:["Sole proprietorship (mom and pop)","Partnership","Franchise","Privately held company","Public corporation","Government Agency","Don't know"]}),k=e=>l({name:e?e+":Employee_At_Company":"Employee_At_Company",label:"Do you/they still work at the company?"}),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"]}),D=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Sexual Harassment","Workplace Harassment","Non-Workplace Harassment","Workplace Discrimination","Non-Workplace Discrimination","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},A=e=>l({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),T=e=>l({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),E=e=>u({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),O=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"]}),L=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"]}),W=()=>s({label:"Total Employees of Business? (estimated)",name:"Num_Employees_Of_Business",options:["1-5","6-20","21-50","51-100","101-500","501-1,000","More than 1,000"]}),N=e=>l({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),j=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},M=e=>l({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),F=e=>l({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),q=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"]}),Y=e=>l({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),H=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"]}),Q=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),R=()=>[A(),x()],V="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",K="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",z=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,G=e=>{if(z(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(z(a))return a;const i=G(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=G(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"'},be={},ge={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=be,n=ge;return a&&(i=ce(he,a),r=ce(be,a),n=ce(ge,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),Q("SexualHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Sexual Harassment"',children:R()}),Q("WorkplaceHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Harassment"',children:[A(),W(),S(),k(),x()]}),Q("NonWorkplaceHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Non-Workplace Harassment"',children:R()}),Q("WorkplaceDiscriminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Discrimination"',children:[A(),W(),S(),k(),x()]}),Q("NonWorkplaceDiscriminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Non-Workplace Discrimination"',children:R()}),Q("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[A(),x()]})],e.nextOnEnter)}(),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}),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",Q("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[A(a),E(a),p(a),j(a),$(a),F(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",Q("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[A(a),E(a),_(a),p(a),j(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("workersCompensationCrossSellQuestions",[ee({headline:"You May Be Entitled To Benefits"}),te({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Workers_Compensation",Q("WorkersCompensationQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[A(a),E(a),_(a),j(a),y(a),$(a)]})),v({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Workers_Compensation")],e.nextOnEnter);var t,a}(),function(e={}){return de("duiAndDWICrossSellQuestions",[ee({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",Q("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[A(a),E(a),M(a),H(a),f(a),N(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",Q("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[A(a),c(a),w(a),I(a),Y(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",Q("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[A(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",Q("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[A(a),U(a),B(a),q(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("divorceAndSeparationCrossSellQuestions",[ee({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",Q("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[A(a),L(a),T(a),C(a),O(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Divorce_and_Separation")],e.nextOnEnter);var t,a}(),function(e={}){return de("childCustodyCrossSellQuestions",[ee({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",Q("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[A(a),g(a),h(a),b(a),C(a),O(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Child_Custody")],e.nextOnEnter);var t,a}(),function(e={}){return de("firstAndLast",[ie(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 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:"harassmentAndDiscrimination",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", "Start Here For a Free Consultation")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...fe,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return de("harassmentAndDiscriminationTOLPAndZip",[D(),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 de("contactInfo",[ne(e),oe(e),{$el:"script",if:"$activeStep === $lastStep()",children:le},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"}},J()],!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 Ce;return ve}();
|
|
1
|
+
var harassmentAndDiscrimination=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=e=>s({name:e?e+":Cause_Of_Injury":"Cause_Of_Injury",label:"Cause of Injury:",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),h=e=>s({name:e?e+":Child_Home":"Child_Home",label:"With Whom Do the Children Currently Live?",options:["Mother","Father","Grandparents","Other"]}),b=e=>s({name:e?e+":Child_Primary_Caregiver":"Child_Primary_Caregiver",label:"Who is the Primary Caregiver?",options:["Mother","Father","Other"]}),g=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=()=>s({label:"The Employer Is a:",name:"Employer_Type",options:["Sole proprietorship (mom and pop)","Partnership","Franchise","Privately held company","Public corporation","Government Agency","Don't know"]}),S=e=>l({name:e?e+":Employee_At_Company":"Employee_At_Company",label:"Do you/they still work at the company?"}),k=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"]}),D=()=>{return(e={label:"Type of Help Needed:",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",options:["Sexual Harassment","Workplace Harassment","Non-Workplace Harassment","Workplace Discrimination","Non-Workplace Discrimination","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},A=e=>l({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),T=e=>l({name:e?e+":Have_Children":"Have_Children",label:"Do You Have Children?"}),E=e=>u({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),O=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"}}),L=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"]}),W=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"]}),N=()=>s({label:"Total Employees of Business? (estimated)",name:"Num_Employees_Of_Business",options:["1-5","6-20","21-50","51-100","101-500","501-1,000","More than 1,000"]}),j=e=>l({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),M=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]"}),F=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},q=e=>l({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),Y=e=>l({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),H=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"]}),B=e=>l({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),U=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"}}),Q=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"]}),R=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"]}),V=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"]}),K=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),z=()=>[A(),x()],Z="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",G="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",J=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,X=e=>{if(J(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(J(a))return a;const i=X(a);if(i)return i}return null},ee={$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 te(t){return e(ee,t)}function ae(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 ie(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 re(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 ne(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 oe(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 le(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 se(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 de(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 ue="(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 ce=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function pe(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=X(a[a.length-1]);e&&!0===i&&(e.onKeypress=Z),e&&!0===r&&(e.onInput=G)}return e(ce(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}const me={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 fe(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const ye={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 he={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const be=[{$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}],ge={"*":"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 _e={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"'},ve={},Ce={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."},xe=function(a=null){let i=_e,r=ve,n=Ce;return a&&(i=fe(_e,a),r=fe(ve,a),n=fe(Ce,a)),{type:"meta",data:e(ye,{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})}}();xe.data.dynamicSchema=[function(e={}){return pe("TOLPQuestions",[ae(e),K("SexualHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Sexual Harassment"',children:z()}),K("WorkplaceHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Harassment"',children:[A(),N(),P(),S(),x()]}),K("NonWorkplaceHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Non-Workplace Harassment"',children:z()}),K("WorkplaceDiscriminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Discrimination"',children:[A(),N(),P(),S(),x()]}),K("NonWorkplaceDiscriminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Non-Workplace Discrimination"',children:z()}),K("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[A(),x()]})],e.nextOnEnter)}(),function(e={}){return pe("commentsWithBankruptcy",[ne(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 pe("legalCrossSells",[le(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 pe("autoAndCarAccidentCrossSellQuestions",[ie({headline:"You May Be Entitled To Compensation"}),re({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",K("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[A(a),E(a),p(a),F(a),$(a),Y(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 pe("personalInjuryCrossSellQuestions",[ie({headline:"You May Be Entitled To Compensation"}),re({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",K("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[A(a),E(a),_(a),p(a),F(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 pe("workersCompensationCrossSellQuestions",[ie({headline:"You May Be Entitled To Benefits"}),re({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Workers_Compensation",K("WorkersCompensationQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[A(a),E(a),_(a),F(a),y(a),$(a)]})),v({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Workers_Compensation")],e.nextOnEnter);var t,a}(),function(e={}){return pe("duiAndDWICrossSellQuestions",[ie({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",K("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[A(a),E(a),q(a),Q(a),f(a),j(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 pe("ssdiCrossSellQuestions",[ie({headline:"You May Be Entitled To Benefits"}),re({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",K("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[A(a),c(a),w(a),I(a),B(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 pe("powerOfAttorneyCrossSellQuestions",[ie({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",K("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[A(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 pe("willsAndTrustsCrossSellQuestions",[ie({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",K("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[A(a),V(a),R(a),H(a),k(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 pe("divorceAndSeparationCrossSellQuestions",[ie({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",K("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[A(a),W(a),T(a),C(a),L(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Divorce_and_Separation")],e.nextOnEnter);var t,a}(),function(e={}){return pe("childCustodyCrossSellQuestions",[ie({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",K("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[A(a),g(a),h(a),b(a),C(a),L(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Child_Custody")],e.nextOnEnter);var t,a}(),function(e={}){return pe("firstAndLast",[oe(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"}}),O()],e.nextOnEnter);var t}()];const we=[xe,e(he,Ie),{$cmp:"FormKit",props:function(t){const a=e(me,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"harassmentAndDiscrimination",redirectMap:function(t){return e(ge,t)}()}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Start Here For a Free Consultation")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...be,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return pe("harassmentAndDiscriminationTOLPAndZip",[D(),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 pe("contactInfo",[se(e),de(e),{$el:"script",if:"$activeStep === $lastStep()",children:ue},(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"}})),M(e.scope),U(e.scope),te()],!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 Ie;return we}();
|
|
@@ -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
|
|
|
@@ -352,9 +353,9 @@ const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
|
352
353
|
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
353
354
|
});
|
|
354
355
|
|
|
355
|
-
const email = () => sbsText({
|
|
356
|
+
const email = (scope) => sbsText({
|
|
356
357
|
$formkit: 'email',
|
|
357
|
-
name: 'Email',
|
|
358
|
+
name: scope ? scope + ':' + 'Email' : 'Email',
|
|
358
359
|
label: 'Email Address:',
|
|
359
360
|
placeholder: 'email@domain.com',
|
|
360
361
|
autocomplete: 'email',
|
|
@@ -379,11 +380,11 @@ const estateLegalServicesNeeded = (scope) => sbsSelect({
|
|
|
379
380
|
]
|
|
380
381
|
});
|
|
381
382
|
|
|
382
|
-
const firstName = () => sbsText({
|
|
383
|
+
const firstName = (scope) => sbsText({
|
|
383
384
|
$formkit: 'text',
|
|
384
385
|
label: 'First Name:',
|
|
385
386
|
placeholder: 'First',
|
|
386
|
-
name: 'First_Name',
|
|
387
|
+
name: scope ? scope + ':' + 'First_Name' : 'First_Name',
|
|
387
388
|
autocomplete: "given-name",
|
|
388
389
|
validationMessages: {
|
|
389
390
|
required: 'First Name is required'
|
|
@@ -395,8 +396,8 @@ const haveAttorney$1 = (scope) => sbsYesNoRadio({
|
|
|
395
396
|
label: 'Already Working with An Attorney?'
|
|
396
397
|
});
|
|
397
398
|
|
|
398
|
-
const haveAttorneyCenter = () => verticalYesNoRadio({
|
|
399
|
-
name: 'Have_Attorney',
|
|
399
|
+
const haveAttorneyCenter = (scope) => verticalYesNoRadio({
|
|
400
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
400
401
|
});
|
|
401
402
|
|
|
402
403
|
const haveChildren = (scope) => sbsYesNoRadio({
|
|
@@ -409,11 +410,11 @@ const incidentDate = (scope) => sbsDate({
|
|
|
409
410
|
label: 'Date of Incident:',
|
|
410
411
|
});
|
|
411
412
|
|
|
412
|
-
const lastName = () => sbsText({
|
|
413
|
+
const lastName = (scope) => sbsText({
|
|
413
414
|
$formkit: 'text',
|
|
414
415
|
label: 'Last Name:',
|
|
415
416
|
placeholder: 'Last',
|
|
416
|
-
name: 'Last_Name',
|
|
417
|
+
name: scope ? scope + ':' + 'Last_Name' : 'Last_Name',
|
|
417
418
|
autocomplete: "family-name",
|
|
418
419
|
validationMessages: {
|
|
419
420
|
required: 'Last Name is required'
|
|
@@ -547,9 +548,9 @@ const pendingCharges = (scope) => sbsYesNoRadio({
|
|
|
547
548
|
label: 'Do you currently have any pending charges?'
|
|
548
549
|
});
|
|
549
550
|
|
|
550
|
-
const phone = () => sbsText({
|
|
551
|
+
const phone = (scope) => sbsText({
|
|
551
552
|
$formkit: 'tel',
|
|
552
|
-
name: 'Primary_Phone',
|
|
553
|
+
name: scope ? scope + ':' + 'Primary_Phone' : 'Primary_Phone',
|
|
553
554
|
label: 'Phone Number:',
|
|
554
555
|
placeholder: '###-###-####',
|
|
555
556
|
maxlength: 12,
|
|
@@ -606,10 +607,10 @@ const socialSecurityDisabilityReceivingBenefits = (scope) => sbsYesNoRadio({
|
|
|
606
607
|
label: 'Are You Currently Receiving Social Security Disability Benefits?'
|
|
607
608
|
});
|
|
608
609
|
|
|
609
|
-
const TCPAConsent = () => ({
|
|
610
|
+
const TCPAConsent = (scope) => ({
|
|
610
611
|
$formkit: 'checkbox',
|
|
611
612
|
label: '$meta.tcpaLanguage',
|
|
612
|
-
name: 'TCPA_Opt_In',
|
|
613
|
+
name: scope ? scope + ':' + 'TCPA_Opt_In' : 'TCPA_Opt_In',
|
|
613
614
|
'data-tf-sensitive': 'false',
|
|
614
615
|
validation: 'required|accepted',
|
|
615
616
|
validationMessages: {
|
|
@@ -661,10 +662,10 @@ const valueOfAssets = (scope) => sbsSelect({
|
|
|
661
662
|
]
|
|
662
663
|
});
|
|
663
664
|
|
|
664
|
-
const zipcodeCenter = (updates = {}) => text({
|
|
665
|
+
const zipcodeCenter = (updates = {}, scope) => text({
|
|
665
666
|
placeholder: '#####',
|
|
666
667
|
help: updates.help ?? "We try to match you with local legal help",
|
|
667
|
-
name: 'Zip',
|
|
668
|
+
name: scope ? scope + ':' + 'Zip' : 'Zip',
|
|
668
669
|
maxlength: 5,
|
|
669
670
|
inputmode: "numeric",
|
|
670
671
|
autocomplete: 'postal-code',
|
|
@@ -1066,7 +1067,8 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1066
1067
|
label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
|
|
1067
1068
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
|
|
1068
1069
|
inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-32' : updates.inputClass,
|
|
1069
|
-
}),
|
|
1070
|
+
}, updates.scope),
|
|
1071
|
+
// TODO: needs scope support
|
|
1070
1072
|
bankruptcyCrossSell(),
|
|
1071
1073
|
{
|
|
1072
1074
|
$el: 'div',
|
|
@@ -1091,16 +1093,16 @@ function contactInfo(updates = {}) {
|
|
|
1091
1093
|
contactStepHeadline(updates),
|
|
1092
1094
|
contactStepSubHeadline(updates),
|
|
1093
1095
|
trustedFormScript(),
|
|
1094
|
-
email(),
|
|
1095
|
-
phone(),
|
|
1096
|
-
TCPAConsent(),
|
|
1096
|
+
email(updates.scope),
|
|
1097
|
+
phone(updates.scope),
|
|
1098
|
+
TCPAConsent(updates.scope),
|
|
1097
1099
|
secureIcon()
|
|
1098
1100
|
],
|
|
1099
1101
|
false, // nextOnEnter
|
|
1100
1102
|
)
|
|
1101
1103
|
}
|
|
1102
1104
|
|
|
1103
|
-
function firstAndLastV3(updates = {}) {
|
|
1105
|
+
function firstAndLastV3(updates = {}, scope) {
|
|
1104
1106
|
return step(
|
|
1105
1107
|
'firstAndLast',
|
|
1106
1108
|
[
|
|
@@ -1112,8 +1114,8 @@ function firstAndLastV3(updates = {}) {
|
|
|
1112
1114
|
subheadline: updates.subheadline ?? 'Note: we never share info without consent',
|
|
1113
1115
|
subheadlineClass: '!t-text-sm !t-text-gray-500'
|
|
1114
1116
|
}),
|
|
1115
|
-
firstName(),
|
|
1116
|
-
lastName()
|
|
1117
|
+
firstName(scope),
|
|
1118
|
+
lastName(scope)
|
|
1117
1119
|
],
|
|
1118
1120
|
updates.nextOnEnter
|
|
1119
1121
|
)
|
|
@@ -1312,7 +1314,7 @@ function legalCrossSells(updates = {}) {
|
|
|
1312
1314
|
function zipcode(updates = {}) {
|
|
1313
1315
|
return sqstep(
|
|
1314
1316
|
'zipcode',
|
|
1315
|
-
zipcodeCenter(updates),
|
|
1317
|
+
zipcodeCenter(updates, updates.scope),
|
|
1316
1318
|
'Please verify your Zip Code',
|
|
1317
1319
|
updates
|
|
1318
1320
|
)
|
|
@@ -1340,7 +1342,7 @@ function landlordTenantIssueTOLP(updates = {}) {
|
|
|
1340
1342
|
function haveAttorney(updates = {}) {
|
|
1341
1343
|
return sqstep(
|
|
1342
1344
|
'haveAttorney',
|
|
1343
|
-
haveAttorneyCenter(),
|
|
1345
|
+
haveAttorneyCenter(updates.scope),
|
|
1344
1346
|
'Already working with an attorney?',
|
|
1345
1347
|
updates
|
|
1346
1348
|
)
|
|
@@ -1364,9 +1366,7 @@ function landlordTenantParty(updates = {}) {
|
|
|
1364
1366
|
)
|
|
1365
1367
|
}
|
|
1366
1368
|
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
const formNavigation = () => ({
|
|
1369
|
+
const formNavigation = (updates = {}) => ({
|
|
1370
1370
|
$el: 'div',
|
|
1371
1371
|
attrs: {
|
|
1372
1372
|
class: 'step-nav'
|
|
@@ -1404,7 +1404,7 @@ const formNavigation = () => ({
|
|
|
1404
1404
|
{
|
|
1405
1405
|
$formkit: 'submit',
|
|
1406
1406
|
name: 'submit_button',
|
|
1407
|
-
label: 'Submit',
|
|
1407
|
+
label: updates.submitLabel || 'Submit',
|
|
1408
1408
|
if: '$activeStep === $lastStep()',
|
|
1409
1409
|
style: {
|
|
1410
1410
|
if: '$activeStep !== $lastStep()',
|
|
@@ -1539,14 +1539,16 @@ function defaultMetaProps(tolps = null) {
|
|
|
1539
1539
|
})
|
|
1540
1540
|
}
|
|
1541
1541
|
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1542
|
+
function dynamicSchemaNode(field = 'Type_Of_Legal_Problem') {
|
|
1543
|
+
return {
|
|
1544
|
+
$cmp: 'FormKitSchema',
|
|
1545
|
+
if: '$get(' + field + ').value',
|
|
1546
|
+
props: {
|
|
1547
|
+
schema: '$meta.dynamicSchema',
|
|
1548
|
+
data: '$buildData($meta)'
|
|
1549
|
+
}
|
|
1548
1550
|
}
|
|
1549
|
-
}
|
|
1551
|
+
}
|
|
1550
1552
|
|
|
1551
1553
|
const formAnchorDefaults = {
|
|
1552
1554
|
$el: 'div',
|
|
@@ -1896,7 +1898,7 @@ const schema = [
|
|
|
1896
1898
|
]
|
|
1897
1899
|
}
|
|
1898
1900
|
}),
|
|
1899
|
-
dynamicSchemaNode,
|
|
1901
|
+
dynamicSchemaNode(),
|
|
1900
1902
|
contactInfo(),
|
|
1901
1903
|
formNavigation(),
|
|
1902
1904
|
formDetails()
|