bhl-forms 0.11.11 → 0.11.13

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.
Files changed (107) hide show
  1. package/dist/forms/accidentsAndInjuries.es.js +22 -0
  2. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  3. package/dist/forms/applianceRepairMinimal.es.js +21 -0
  4. package/dist/forms/applianceRepairMinimal.iife.js +1 -1
  5. package/dist/forms/appraisals.es.js +21 -0
  6. package/dist/forms/appraisals.iife.js +1 -1
  7. package/dist/forms/business.es.js +30 -8
  8. package/dist/forms/business.iife.js +1 -1
  9. package/dist/forms/business.json +1 -1
  10. package/dist/forms/childAndFamily.es.js +30 -8
  11. package/dist/forms/childAndFamily.iife.js +1 -1
  12. package/dist/forms/childAndFamily.json +1 -1
  13. package/dist/forms/childAndFamilySingle.es.js +155 -87
  14. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  15. package/dist/forms/childAndFamilySingle.json +1 -1
  16. package/dist/forms/civilLawsuit.es.js +140 -70
  17. package/dist/forms/civilLawsuit.iife.js +1 -1
  18. package/dist/forms/civilLawsuit.json +1 -1
  19. package/dist/forms/civilLawsuit1to1.es.js +23 -0
  20. package/dist/forms/civilLawsuit1to1.iife.js +1 -1
  21. package/dist/forms/coins.es.js +21 -0
  22. package/dist/forms/coins.iife.js +1 -1
  23. package/dist/forms/contracts.es.js +30 -8
  24. package/dist/forms/contracts.iife.js +1 -1
  25. package/dist/forms/contracts.json +1 -1
  26. package/dist/forms/criminal.es.js +30 -8
  27. package/dist/forms/criminal.iife.js +1 -1
  28. package/dist/forms/criminal.json +1 -1
  29. package/dist/forms/divorce.es.js +30 -8
  30. package/dist/forms/divorce.iife.js +1 -1
  31. package/dist/forms/divorce.json +1 -1
  32. package/dist/forms/employmentAndWorkplace.es.js +140 -70
  33. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  34. package/dist/forms/employmentAndWorkplace.json +1 -1
  35. package/dist/forms/foreclosure.es.js +23 -1
  36. package/dist/forms/foreclosure.iife.js +1 -1
  37. package/dist/forms/foreclosure.json +1 -1
  38. package/dist/forms/generalContractors.es.js +21 -0
  39. package/dist/forms/generalContractors.iife.js +1 -1
  40. package/dist/forms/generalHomeImprovement.es.js +21 -0
  41. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  42. package/dist/forms/generalHomeImprovementThankYou.es.js +21 -0
  43. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  44. package/dist/forms/generalLegal.es.js +32 -8
  45. package/dist/forms/generalLegal.iife.js +1 -1
  46. package/dist/forms/generalLegal.json +1 -1
  47. package/dist/forms/generalLegalJustAnswer.es.js +167 -96
  48. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  49. package/dist/forms/generalLegalJustAnswer.json +1 -1
  50. package/dist/forms/generalLegalPopUnder.es.js +32 -8
  51. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  52. package/dist/forms/generalLegalPopUnder.json +1 -1
  53. package/dist/forms/generalLegalPopUnderSingle.es.js +167 -96
  54. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  55. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  56. package/dist/forms/generalLegalSingle.es.js +167 -96
  57. package/dist/forms/generalLegalSingle.iife.js +1 -1
  58. package/dist/forms/generalLegalSingle.json +1 -1
  59. package/dist/forms/generalLegalSingle1to1.es.js +23 -0
  60. package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
  61. package/dist/forms/generalLegalSingleMinimal.es.js +22 -1
  62. package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
  63. package/dist/forms/generalLegalSingleMinimal.json +1 -1
  64. package/dist/forms/generalLegalThankYou.es.js +24 -0
  65. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  66. package/dist/forms/generalLegalThankYou.json +1 -1
  67. package/dist/forms/generalLegalThankYouConsultation.es.js +167 -96
  68. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  69. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  70. package/dist/forms/harassmentAndDiscrimination.es.js +321 -161
  71. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  72. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  73. package/dist/forms/landlordTenant.es.js +30 -8
  74. package/dist/forms/landlordTenant.iife.js +1 -1
  75. package/dist/forms/landlordTenant.json +1 -1
  76. package/dist/forms/malpractice.es.js +30 -8
  77. package/dist/forms/malpractice.iife.js +1 -1
  78. package/dist/forms/malpractice.json +1 -1
  79. package/dist/forms/mechanics.es.js +21 -0
  80. package/dist/forms/mechanics.iife.js +1 -1
  81. package/dist/forms/patentsAndIP.es.js +30 -8
  82. package/dist/forms/patentsAndIP.iife.js +1 -1
  83. package/dist/forms/patentsAndIP.json +1 -1
  84. package/dist/forms/realEstate.es.js +30 -8
  85. package/dist/forms/realEstate.iife.js +1 -1
  86. package/dist/forms/realEstate.json +1 -1
  87. package/dist/forms/repossession.es.js +30 -8
  88. package/dist/forms/repossession.iife.js +1 -1
  89. package/dist/forms/repossession.json +1 -1
  90. package/dist/forms/ssdi.es.js +22 -0
  91. package/dist/forms/ssdi.iife.js +1 -1
  92. package/dist/forms/testForm.es.js +21 -0
  93. package/dist/forms/testForm.iife.js +1 -1
  94. package/dist/forms/testRedirects.es.js +23 -0
  95. package/dist/forms/testRedirects.iife.js +1 -1
  96. package/dist/forms/testRedirects.json +1 -1
  97. package/dist/forms/vets.es.js +21 -0
  98. package/dist/forms/vets.iife.js +1 -1
  99. package/dist/forms/willsAndTrusts.es.js +384 -167
  100. package/dist/forms/willsAndTrusts.iife.js +1 -1
  101. package/dist/forms/willsAndTrusts.json +1 -1
  102. package/dist/forms/windows.es.js +21 -0
  103. package/dist/forms/windows.iife.js +1 -1
  104. package/dist/forms/workersCompensation.es.js +23 -1
  105. package/dist/forms/workersCompensation.iife.js +1 -1
  106. package/dist/forms/workersCompensation.json +1 -1
  107. package/package.json +1 -1
@@ -691,6 +691,27 @@ filterNextStepsMap(
691
691
  },
692
692
  });
693
693
 
694
+ ({
695
+ values: {
696
+ Type_Of_Legal_Problem: {
697
+ "Workplace Harassment": TOLPNextSteps["Workplace Harassment"],
698
+ "Workplace Discrimination": TOLPNextSteps["Workplace Discrimination"],
699
+ },
700
+ "*": [...nextStepsLegalDefault],
701
+ },
702
+ });
703
+
704
+ ({
705
+ values: {
706
+ Type_Of_Legal_Problem: {
707
+ "Probate and Estates": TOLPNextSteps["Probate and Estates"],
708
+ "Wills and Trusts": TOLPNextSteps["Wills and Trusts"],
709
+ "Wrongful Death": TOLPNextSteps["Wrongful Death"],
710
+ },
711
+ "*": [...nextStepsLegalDefault],
712
+ },
713
+ });
714
+
694
715
  ({
695
716
  values: {
696
717
  Type_Of_Legal_Problem_Display: {
@@ -1 +1 @@
1
- var vets=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,r=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+r+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=(t,a,r)=>(t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)})(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},r)),r=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,s=e=>{if(r(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(r(a))return a;const n=s(a);if(n)return n}return null};const n={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const i={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l=[{$formkit:"hidden",name:"vertical",value:"Pets"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],o=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],u={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...c],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...o],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...m],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...o],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...c],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...c],"Civil Rights and Discrimination":["civilRightsType",...o],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...o],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...o],"Defend a Lawsuit":["lawsuitOtherParty",...o],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...o],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Divorce and Separation":["maritalStatus","haveChildren",...c],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...o],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...o],Expungement:["incidentDate","criminalChargeType",...c],"Family Issues":["maritalStatus","haveChildren",...c],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...o],Guardianship:["maritalStatus","haveChildren",...c],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...o],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...o],"Lemon Law":["incidentDate","lawsuitOtherParty",...o],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...m],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...o],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...o],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...m],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Property Damage":["wouldLikeLawyerTo",...o],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...o],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...m],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...o],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...o],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...m],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...m],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...o]},"*":o}};function p(e,t=[],a={}){const r={...e};return r.values=function e(r){const s={};for(const n in r)Array.isArray(r[n])?s[n]=r[n].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof r[n]?s[n]=e(r[n]):s[n]=r[n];return s}(e.values),r}p(u,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=u.values.Type_Of_Legal_Problem;d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Child Custody"],d["Child Support"],u.values["*"],d["Family Issues"],d["Child Support"],d["Child Custody"],u.values["*"],d["Divorce and Separation"],d["Defend a Lawsuit"],d["File a Lawsuit"];p({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":d["Defend a Lawsuit"],"File a Lawsuit":d["File a Lawsuit"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":d["Auto and Car Accidents"],"Contract Disputes":d["Business Lawyers"],"Dog Bite":d["Personal Injury"],"Employment and Workplace":d["Employment and Workplace"],Fraud:d["Consumer Lawyers"],"Medical Malpractice":d["Medical Malpractice"],"Personal Injury":d["Personal Injury"],"Property Damage":d["Property Damage"],"Real Estate":d["Real Estate"],"Not Sure or Other":u.values["*"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":d["Victim of a Crime"],"DUI and DWI":d["DUI and DWI"],Expungement:d.Expungement,"Not Sure or Other":u.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":d["Wrongful Termination"],"Workers Compensation":d["Workers Compensation"],"Personal Injury":d["Personal Injury"],Unemployment:d.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),d["Patents and Intellectual Property"],d["Business Lawyers"],d["Business Lawyers"],u.values["*"];p({values:{Type_Of_Legal_Problem_Display:{Foreclosure:d.Foreclosure,"Landlord and Tenant":d["Landlord and Tenant"],"Wills, Trusts, and Estates":d["Wills and Trusts"],"Property Damage":d["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const y=[e(i,C),{$cmp:"FormKit",props:function(t){const a=e(n,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"vets",redirectMap:{"*":(f="zipanswers.com",h="Pets",g="Veterinarians",t(f,h,g)+"&Comments=${properties.Comments}")},popUnderMap:{"*":t("zipanswers.com","Pets","Pet Care")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Have Questions About Your Pet?")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Answers Within Minutes!")',if:"$activeStep === $firstStep()"}),...l,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,r={}){const{nextOnEnter:n=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:m}=r;if(a&&a.length&&(n||i)){const e=s(a[a.length-1]);e&&!0===n&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:m,children:a}]})}("comments",[a(t.scope,0,{label:t.label||"Please briefly describe your issue in a few words:",placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],t)}({label:"Please describe your issue in a few words:",placeholder:'Example: "My dog is limping and I need to know if I should take him to the vet"',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var f,h,g,C;return y}();
1
+ var vets=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,r=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+r+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=(t,a,r)=>(t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)})(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},r)),r=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,s=e=>{if(r(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(r(a))return a;const n=s(a);if(n)return n}return null};const n={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const i={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l=[{$formkit:"hidden",name:"vertical",value:"Pets"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],o=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],u={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...c],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...o],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...m],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...o],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...c],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...c],"Civil Rights and Discrimination":["civilRightsType",...o],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...o],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...o],"Defend a Lawsuit":["lawsuitOtherParty",...o],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...o],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...o],"Divorce and Separation":["maritalStatus","haveChildren",...c],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...o],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...o],Expungement:["incidentDate","criminalChargeType",...c],"Family Issues":["maritalStatus","haveChildren",...c],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...o],Guardianship:["maritalStatus","haveChildren",...c],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...o],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...o],"Lemon Law":["incidentDate","lawsuitOtherParty",...o],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...m],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...o],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...o],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...m],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Property Damage":["wouldLikeLawyerTo",...o],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...o],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...m],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...o],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...o],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...o],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...m],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...m],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...o]},"*":o}};function p(e,t=[],a={}){const r={...e};return r.values=function e(r){const s={};for(const n in r)Array.isArray(r[n])?s[n]=r[n].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof r[n]?s[n]=e(r[n]):s[n]=r[n];return s}(e.values),r}p(u,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=u.values.Type_Of_Legal_Problem;d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Personal Injury"].filter((e=>"legalCrossSells"!==e)),d["Child Custody"],d["Child Support"],u.values["*"],d["Family Issues"],d["Child Support"],d["Child Custody"],u.values["*"],d["Divorce and Separation"],d["Defend a Lawsuit"],d["File a Lawsuit"];p({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":d["Defend a Lawsuit"],"File a Lawsuit":d["File a Lawsuit"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":d["Auto and Car Accidents"],"Contract Disputes":d["Business Lawyers"],"Dog Bite":d["Personal Injury"],"Employment and Workplace":d["Employment and Workplace"],Fraud:d["Consumer Lawyers"],"Medical Malpractice":d["Medical Malpractice"],"Personal Injury":d["Personal Injury"],"Property Damage":d["Property Damage"],"Real Estate":d["Real Estate"],"Not Sure or Other":u.values["*"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":d["Victim of a Crime"],"DUI and DWI":d["DUI and DWI"],Expungement:d.Expungement,"Not Sure or Other":u.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":d["Wrongful Termination"],"Workers Compensation":d["Workers Compensation"],"Personal Injury":d["Personal Injury"],Unemployment:d.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),d["Workplace Harassment"],d["Workplace Discrimination"],d["Probate and Estates"],d["Wills and Trusts"],d["Wrongful Death"],d["Patents and Intellectual Property"],d["Business Lawyers"],d["Business Lawyers"],u.values["*"];p({values:{Type_Of_Legal_Problem_Display:{Foreclosure:d.Foreclosure,"Landlord and Tenant":d["Landlord and Tenant"],"Wills, Trusts, and Estates":d["Wills and Trusts"],"Property Damage":d["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const y=[e(i,C),{$cmp:"FormKit",props:function(t){const a=e(n,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"vets",redirectMap:{"*":(f="zipanswers.com",h="Pets",g="Veterinarians",t(f,h,g)+"&Comments=${properties.Comments}")},popUnderMap:{"*":t("zipanswers.com","Pets","Pet Care")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Have Questions About Your Pet?")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Answers Within Minutes!")',if:"$activeStep === $firstStep()"}),...l,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,r={}){const{nextOnEnter:n=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:m}=r;if(a&&a.length&&(n||i)){const e=s(a[a.length-1]);e&&!0===n&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:m,children:a}]})}("comments",[a(t.scope,0,{label:t.label||"Please briefly describe your issue in a few words:",placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],t)}({label:"Please describe your issue in a few words:",placeholder:'Example: "My dog is limping and I need to know if I should take him to the vet"',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var f,h,g,C;return y}();