bhl-forms 0.13.2 → 0.13.3

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.
@@ -138,8 +138,9 @@ function comments(updates = {}) {
138
138
  "comments",
139
139
  [
140
140
  comments$1(updates.scope, false, {
141
- label: updates.label || DEFAULT_COMMENTS_LABEL,
141
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL : updates.label,
142
142
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
143
+ inputClass: "!t-h-32",
143
144
  }),
144
145
  ],
145
146
  updates
@@ -1 +1 @@
1
- var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(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)),a=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,r=e=>{if(a(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const s=e.children[t];if(a(s))return s;const n=r(s);if(n)return n}return null};const s={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const n={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const i=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],l=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],o=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...o],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...l],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...c],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...l],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...o],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...o],"Civil Rights and Discrimination":["civilRightsType",...l],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...l],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...l],"Defend a Lawsuit":["lawsuitOtherParty",...l],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...l],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Divorce and Separation":["maritalStatus","haveChildren",...o],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...l],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...l],Expungement:["incidentDate","criminalChargeType",...o],"Family Issues":["maritalStatus","haveChildren",...o],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...l],Guardianship:["maritalStatus","haveChildren",...o],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...l],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...l],"Lemon Law":["incidentDate","lawsuitOtherParty",...l],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...c],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...l],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...l],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...c],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Property Damage":["wouldLikeLawyerTo",...l],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...l],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...c],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...l],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...l],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...c],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...c],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...l]},"*":l}};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(m,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const u=m.values.Type_Of_Legal_Problem;u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Child Custody"],u["Child Support"],m.values["*"],u["Family Issues"],u["Child Support"],u["Child Custody"],m.values["*"],u["Divorce and Separation"],u["Defend a Lawsuit"],u["File a Lawsuit"];p({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":u["Defend a Lawsuit"],"File a Lawsuit":u["File a Lawsuit"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":u["Auto and Car Accidents"],"Contract Disputes":u["Business Lawyers"],"Dog Bite":u["Personal Injury"],"Employment and Workplace":u["Employment and Workplace"],Fraud:u["Consumer Lawyers"],"Medical Malpractice":u["Medical Malpractice"],"Personal Injury":u["Personal Injury"],"Property Damage":u["Property Damage"],"Real Estate":u["Real Estate"],"Not Sure or Other":m.values["*"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":u["Victim of a Crime"],"DUI and DWI":u["DUI and DWI"],Expungement:u.Expungement,"Not Sure or Other":m.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":u["Wrongful Termination"],"Workers Compensation":u["Workers Compensation"],"Personal Injury":u["Personal Injury"],Unemployment:u.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),u["Workplace Harassment"],u["Workplace Discrimination"],u["Probate and Estates"],u["Wills and Trusts"],u["Wrongful Death"],u["Patents and Intellectual Property"],u["Business Lawyers"],u["Business Lawyers"],m.values["*"];p({values:{Type_Of_Legal_Problem_Display:{Foreclosure:u.Foreclosure,"Landlord and Tenant":u["Landlord and Tenant"],"Wills, Trusts, and Estates":u["Wills and Trusts"],"Property Damage":u["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=[e(n,g),{$cmp:"FormKit",props:function(t){const a=e(s,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"appraisals",redirectMap:{"*":(y="answers-now.com",f="Appraisals",h="Appraisals",function(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)}(y,f,h)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[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", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get a Valuation Within Minutes!")',if:"$activeStep === $firstStep()"}),...i,{$el:"div",attrs:{class:"form-body"},children:[function(a={}){return function(t,a,s={}){const{nextOnEnter:n=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:m}=s;if(a&&a.length&&(n||i)){const e=r(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))))")}const p={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:m,children:a}]};return void 0!==s.if&&(p.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),p)}("comments",[t(a.scope,0,{label:a.label||"Please briefly describe your issue in a few words:",placeholder:a.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],a)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a vintage painting, old coins, and a fine china set I would like appraised"',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var y,f,h,g;return d}();
1
+ var appraisals=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(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)),a=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,r=e=>{if(a(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const s=e.children[t];if(a(s))return s;const n=r(s);if(n)return n}return null};const s={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const n={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const i=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],l=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],o=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...o],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...l],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...c],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...l],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...o],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...o],"Civil Rights and Discrimination":["civilRightsType",...l],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...l],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...l],"Defend a Lawsuit":["lawsuitOtherParty",...l],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...l],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Divorce and Separation":["maritalStatus","haveChildren",...o],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...l],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...l],Expungement:["incidentDate","criminalChargeType",...o],"Family Issues":["maritalStatus","haveChildren",...o],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...l],Guardianship:["maritalStatus","haveChildren",...o],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...l],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...l],"Lemon Law":["incidentDate","lawsuitOtherParty",...l],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...c],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...l],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...l],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...c],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Property Damage":["wouldLikeLawyerTo",...l],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...l],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...c],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...l],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...l],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...c],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...c],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...l]},"*":l}};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(m,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const u=m.values.Type_Of_Legal_Problem;u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Child Custody"],u["Child Support"],m.values["*"],u["Family Issues"],u["Child Support"],u["Child Custody"],m.values["*"],u["Divorce and Separation"],u["Defend a Lawsuit"],u["File a Lawsuit"];p({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":u["Defend a Lawsuit"],"File a Lawsuit":u["File a Lawsuit"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":u["Auto and Car Accidents"],"Contract Disputes":u["Business Lawyers"],"Dog Bite":u["Personal Injury"],"Employment and Workplace":u["Employment and Workplace"],Fraud:u["Consumer Lawyers"],"Medical Malpractice":u["Medical Malpractice"],"Personal Injury":u["Personal Injury"],"Property Damage":u["Property Damage"],"Real Estate":u["Real Estate"],"Not Sure or Other":m.values["*"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":u["Victim of a Crime"],"DUI and DWI":u["DUI and DWI"],Expungement:u.Expungement,"Not Sure or Other":m.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":u["Wrongful Termination"],"Workers Compensation":u["Workers Compensation"],"Personal Injury":u["Personal Injury"],Unemployment:u.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),u["Workplace Harassment"],u["Workplace Discrimination"],u["Probate and Estates"],u["Wills and Trusts"],u["Wrongful Death"],u["Patents and Intellectual Property"],u["Business Lawyers"],u["Business Lawyers"],m.values["*"];p({values:{Type_Of_Legal_Problem_Display:{Foreclosure:u.Foreclosure,"Landlord and Tenant":u["Landlord and Tenant"],"Wills, Trusts, and Estates":u["Wills and Trusts"],"Property Damage":u["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=[e(n,g),{$cmp:"FormKit",props:function(t){const a=e(s,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"appraisals",redirectMap:{"*":(y="answers-now.com",f="Appraisals",h="Appraisals",function(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)}(y,f,h)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[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", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get a Valuation Within Minutes!")',if:"$activeStep === $firstStep()"}),...i,{$el:"div",attrs:{class:"form-body"},children:[function(a={}){return function(t,a,s={}){const{nextOnEnter:n=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:m}=s;if(a&&a.length&&(n||i)){const e=r(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))))")}const p={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:m,children:a}]};return void 0!==s.if&&(p.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),p)}("comments",[t(a.scope,0,{label:void 0===a.label?"Please briefly describe your issue in a few words:":a.label,placeholder:a.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-32"})],a)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a vintage painting, old coins, and a fine china set I would like appraised"',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var y,f,h,g;return d}();
@@ -1 +1 @@
1
- [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"appraisals","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Appraisals&Comments=${properties.Comments}"},"name":"appraisals"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get a Valuation Within Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a vintage painting, old coins, and a fine china set I would like appraised\"","id":"Comments"}]}]},{"$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":"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"}}]}]}]}]
1
+ [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"appraisals","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Appraisals&Comments=${properties.Comments}"},"name":"appraisals"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get a Valuation Within Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a vintage painting, old coins, and a fine china set I would like appraised\"","inputClass":"!t-h-32","id":"Comments"}]}]},{"$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":"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"}}]}]}]}]
@@ -138,8 +138,9 @@ function comments(updates = {}) {
138
138
  "comments",
139
139
  [
140
140
  comments$1(updates.scope, false, {
141
- label: updates.label || DEFAULT_COMMENTS_LABEL,
141
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL : updates.label,
142
142
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
143
+ inputClass: "!t-h-32",
143
144
  }),
144
145
  ],
145
146
  updates
@@ -1 +1 @@
1
- var coins=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(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)),a=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,r=e=>{if(a(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const s=e.children[t];if(a(s))return s;const n=r(s);if(n)return n}return null};const s={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const n={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const i=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],l=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],o=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...o],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...l],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...c],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...l],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...o],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...o],"Civil Rights and Discrimination":["civilRightsType",...l],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...l],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...l],"Defend a Lawsuit":["lawsuitOtherParty",...l],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...l],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Divorce and Separation":["maritalStatus","haveChildren",...o],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...l],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...l],Expungement:["incidentDate","criminalChargeType",...o],"Family Issues":["maritalStatus","haveChildren",...o],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...l],Guardianship:["maritalStatus","haveChildren",...o],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...l],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...l],"Lemon Law":["incidentDate","lawsuitOtherParty",...l],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...c],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...l],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...l],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...c],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Property Damage":["wouldLikeLawyerTo",...l],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...l],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...c],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...l],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...l],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...c],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...c],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...l]},"*":l}};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(m,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const u=m.values.Type_Of_Legal_Problem;u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Child Custody"],u["Child Support"],m.values["*"],u["Family Issues"],u["Child Support"],u["Child Custody"],m.values["*"],u["Divorce and Separation"],u["Defend a Lawsuit"],u["File a Lawsuit"];p({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":u["Defend a Lawsuit"],"File a Lawsuit":u["File a Lawsuit"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":u["Auto and Car Accidents"],"Contract Disputes":u["Business Lawyers"],"Dog Bite":u["Personal Injury"],"Employment and Workplace":u["Employment and Workplace"],Fraud:u["Consumer Lawyers"],"Medical Malpractice":u["Medical Malpractice"],"Personal Injury":u["Personal Injury"],"Property Damage":u["Property Damage"],"Real Estate":u["Real Estate"],"Not Sure or Other":m.values["*"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":u["Victim of a Crime"],"DUI and DWI":u["DUI and DWI"],Expungement:u.Expungement,"Not Sure or Other":m.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":u["Wrongful Termination"],"Workers Compensation":u["Workers Compensation"],"Personal Injury":u["Personal Injury"],Unemployment:u.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),u["Workplace Harassment"],u["Workplace Discrimination"],u["Probate and Estates"],u["Wills and Trusts"],u["Wrongful Death"],u["Patents and Intellectual Property"],u["Business Lawyers"],u["Business Lawyers"],m.values["*"];p({values:{Type_Of_Legal_Problem_Display:{Foreclosure:u.Foreclosure,"Landlord and Tenant":u["Landlord and Tenant"],"Wills, Trusts, and Estates":u["Wills and Trusts"],"Property Damage":u["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=[e(n,g),{$cmp:"FormKit",props:function(t){const a=e(s,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"coins",redirectMap:{"*":(y="answers-now.com",f="Appraisals",h="Coins",function(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)}(y,f,h)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[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", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Coin Valuations In Minutes!")',if:"$activeStep === $firstStep()"}),...i,{$el:"div",attrs:{class:"form-body"},children:[function(a={}){return function(t,a,s={}){const{nextOnEnter:n=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:m}=s;if(a&&a.length&&(n||i)){const e=r(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))))")}const p={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:m,children:a}]};return void 0!==s.if&&(p.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),p)}("comments",[t(a.scope,0,{label:a.label||"Please briefly describe your issue in a few words:",placeholder:a.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)'})],a)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised."',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var y,f,h,g;return d}();
1
+ var coins=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=(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)),a=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,r=e=>{if(a(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const s=e.children[t];if(a(s))return s;const n=r(s);if(n)return n}return null};const s={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const n={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const i=[{$formkit:"hidden",name:"vertical",value:"Appraisals"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],l=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],o=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],c=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...o],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...l],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...c],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...l],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...o],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...o],"Civil Rights and Discrimination":["civilRightsType",...l],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...l],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...l],"Defend a Lawsuit":["lawsuitOtherParty",...l],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...l],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...l],"Divorce and Separation":["maritalStatus","haveChildren",...o],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...l],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...l],Expungement:["incidentDate","criminalChargeType",...o],"Family Issues":["maritalStatus","haveChildren",...o],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...l],Guardianship:["maritalStatus","haveChildren",...o],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...l],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...l],"Lemon Law":["incidentDate","lawsuitOtherParty",...l],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...c],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...l],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...l],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...c],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Property Damage":["wouldLikeLawyerTo",...l],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...l],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...c],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...l],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...l],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...l],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...c],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...c],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...l]},"*":l}};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(m,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const u=m.values.Type_Of_Legal_Problem;u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Personal Injury"].filter((e=>"legalCrossSells"!==e)),u["Child Custody"],u["Child Support"],m.values["*"],u["Family Issues"],u["Child Support"],u["Child Custody"],m.values["*"],u["Divorce and Separation"],u["Defend a Lawsuit"],u["File a Lawsuit"];p({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":u["Defend a Lawsuit"],"File a Lawsuit":u["File a Lawsuit"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":u["Auto and Car Accidents"],"Contract Disputes":u["Business Lawyers"],"Dog Bite":u["Personal Injury"],"Employment and Workplace":u["Employment and Workplace"],Fraud:u["Consumer Lawyers"],"Medical Malpractice":u["Medical Malpractice"],"Personal Injury":u["Personal Injury"],"Property Damage":u["Property Damage"],"Real Estate":u["Real Estate"],"Not Sure or Other":m.values["*"]},"*":["lawsuitOtherParty",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":u["Victim of a Crime"],"DUI and DWI":u["DUI and DWI"],Expungement:u.Expungement,"Not Sure or Other":m.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});p({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":u["Wrongful Termination"],"Workers Compensation":u["Workers Compensation"],"Personal Injury":u["Personal Injury"],Unemployment:u.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),u["Workplace Harassment"],u["Workplace Discrimination"],u["Probate and Estates"],u["Wills and Trusts"],u["Wrongful Death"],u["Patents and Intellectual Property"],u["Business Lawyers"],u["Business Lawyers"],m.values["*"];p({values:{Type_Of_Legal_Problem_Display:{Foreclosure:u.Foreclosure,"Landlord and Tenant":u["Landlord and Tenant"],"Wills, Trusts, and Estates":u["Wills and Trusts"],"Property Damage":u["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...l]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=[e(n,g),{$cmp:"FormKit",props:function(t){const a=e(s,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"coins",redirectMap:{"*":(y="answers-now.com",f="Appraisals",h="Coins",function(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)}(y,f,h)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[36rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[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", "Start Here for An Appraisal")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Coin Valuations In Minutes!")',if:"$activeStep === $firstStep()"}),...i,{$el:"div",attrs:{class:"form-body"},children:[function(a={}){return function(t,a,s={}){const{nextOnEnter:n=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:m}=s;if(a&&a.length&&(n||i)){const e=r(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))))")}const p={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:m,children:a}]};return void 0!==s.if&&(p.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),p)}("comments",[t(a.scope,0,{label:void 0===a.label?"Please briefly describe your issue in a few words:":a.label,placeholder:a.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-32"})],a)}({label:"Please describe your item in a few words:",placeholder:'Example: "I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised."',nextOnEnter:!1}),function(e={}){return{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"hidden_button",children:"Hidden",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Chat Now"}]}}(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var y,f,h,g;return d}();
@@ -1 +1 @@
1
- [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"coins","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Coins&Comments=${properties.Comments}"},"name":"coins"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Coin Valuations In Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised.\"","id":"Comments"}]}]},{"$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":"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"}}]}]}]}]
1
+ [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"coins","redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Appraisals&category=Coins&Comments=${properties.Comments}"},"name":"coins"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Start Here for An Appraisal\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Coin Valuations In Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Appraisals"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":"Please describe your item in a few words:","placeholder":"Example: \"I have a wheat penny, buffalo nickel, and silver barber dime from the early 1900s I would like appraised.\"","inputClass":"!t-h-32","id":"Comments"}]}]},{"$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":"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"}}]}]}]}]
@@ -877,7 +877,7 @@ const schema = [
877
877
  if: "$activeStep === $firstStep()",
878
878
  }),
879
879
  subHeadline({
880
- children: '$urlParam("shl", "Get Answers In Minutes!")',
880
+ children: '$urlParam("shl", "Describe your issue below:")',
881
881
  if: "$activeStep === $firstStep()",
882
882
  subheadlineClass: "!t-font-bold !t-text-[#465f87]",
883
883
  }),
@@ -894,7 +894,7 @@ const schema = [
894
894
  nextOnEnter: false,
895
895
  }),
896
896
  formNavigationNoFinalBack({
897
- submitLabel: "Chat Now",
897
+ submitLabel: "Chat Online",
898
898
  inputClass: "!t-text-black !t-font-extrabold !t-bg-[#ffce51]",
899
899
  firstStepButtonClass: "!t-justify-center",
900
900
  }),
@@ -1 +1 @@
1
- var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,s=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+s+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=e=>(e.name&&!e.id&&(e.id=e.name),e),s=(t,s,n)=>(t=>(a(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},n)),n=t=>{return a(s={id:t?t+":Mechanics_CrossSells":"Mechanics_CrossSells",name:t?t+":Mechanics_CrossSells":"Mechanics_CrossSells",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"Save up to $700* on my auto insurance (optional)"}}),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},s);var s},r=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,i=e=>{if(r(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(r(a))return a;const s=i(a);if(s)return s}return null};const l={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const c=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"Category",id:"Category",value:"Mechanics"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],p=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],u=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],d={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...u],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...p],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...m],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...p],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...p],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...u],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...u],"Civil Rights and Discrimination":["civilRightsType",...p],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...p],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...p],"Defend a Lawsuit":["lawsuitOtherParty",...p],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...p],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...p],"Divorce and Separation":["maritalStatus","haveChildren",...u],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...p],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...p],Expungement:["incidentDate","criminalChargeType",...u],"Family Issues":["maritalStatus","haveChildren",...u],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...p],Guardianship:["maritalStatus","haveChildren",...u],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...p],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...p],"Lemon Law":["incidentDate","lawsuitOtherParty",...p],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...m],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...p],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...p],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...m],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...p],"Property Damage":["wouldLikeLawyerTo",...p],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...p],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...m],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...p],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...p],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...p],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...m],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...m],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...p]},"*":p}};function y(e,t=[],a={}){const s={...e};return s.values=function e(s){const n={};for(const r in s)Array.isArray(s[r])?n[r]=s[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[r]?n[r]=e(s[r]):n[r]=s[r];return n}(e.values),s}y(d,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const f=d.values.Type_Of_Legal_Problem;f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Child Custody"],f["Child Support"],d.values["*"],f["Family Issues"],f["Child Support"],f["Child Custody"],d.values["*"],f["Divorce and Separation"],f["Defend a Lawsuit"],f["File a Lawsuit"];y({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":f["Defend a Lawsuit"],"File a Lawsuit":f["File a Lawsuit"]},"*":["lawsuitOtherParty",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":f["Auto and Car Accidents"],"Contract Disputes":f["Business Lawyers"],"Dog Bite":f["Personal Injury"],"Employment and Workplace":f["Employment and Workplace"],Fraud:f["Consumer Lawyers"],"Medical Malpractice":f["Medical Malpractice"],"Personal Injury":f["Personal Injury"],"Property Damage":f["Property Damage"],"Real Estate":f["Real Estate"],"Not Sure or Other":d.values["*"]},"*":["lawsuitOtherParty",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":f["Victim of a Crime"],"DUI and DWI":f["DUI and DWI"],Expungement:f.Expungement,"Not Sure or Other":d.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":f["Wrongful Termination"],"Workers Compensation":f["Workers Compensation"],"Personal Injury":f["Personal Injury"],Unemployment:f.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),f["Workplace Harassment"],f["Workplace Discrimination"],f["Probate and Estates"],f["Wills and Trusts"],f["Wrongful Death"],f["Patents and Intellectual Property"],f["Business Lawyers"],f["Business Lawyers"],d.values["*"];y({values:{Type_Of_Legal_Problem_Display:{Foreclosure:f.Foreclosure,"Landlord and Tenant":f["Landlord and Tenant"],"Wills, Trusts, and Estates":f["Wills and Trusts"],"Property Damage":f["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const h=[{type:"meta",data:{}},($={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(o,$)),{$cmp:"FormKit",props:function(t){const a=e(l,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(g="answers-now.com",C="AutoRepair",v="Mechanics",t(g,C,v)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[38rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Have Questions For A Mechanic?")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Get Answers In Minutes!")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...c,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:n=!0,nextOnInput:r=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:p}=s;if(a&&a.length&&(n||r)){const e=i(a[a.length-1]);e&&!0===n&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===r&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const u={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:p,children:a}]};return void 0!==s.if&&(u.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),u)}("commentsMechanics",[s(t.scope,0,{label:void 0===t.label?"Please briefly describe your issue in a few words:":t.label,placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-20"}),n(t.scope)],t)}({label:null,placeholder:'Example: "I\'m having transmission trouble", or "My car won\'t start"',nextOnEnter:!1}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav "+(e.lastStepButtonClass||"!t-justify-center"),else:"step-nav !t-justify-between"}}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"t-hidden sm:t-block",else:""},style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({submitLabel:"Chat Now",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var g,C,v,$;return h}();
1
+ var mechanics=function(){"use strict";function e(){return Object.assign({},...arguments)}function t(e,t,a,s=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+s+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=e=>(e.name&&!e.id&&(e.id=e.name),e),s=(t,s,n)=>(t=>(a(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},n)),n=t=>{return a(s={id:t?t+":Mechanics_CrossSells":"Mechanics_CrossSells",name:t?t+":Mechanics_CrossSells":"Mechanics_CrossSells",fieldsetClass:"$reset",wrapperClass:"t-mb-2",optionsClass:"t-pt-3",legendClass:"",validation:null,options:{"Auto Insurance":"Save up to $700* on my auto insurance (optional)"}}),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},s);var s},r=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,i=e=>{if(r(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(r(a))return a;const s=i(a);if(s)return s}return null};const l={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const c=[{$formkit:"hidden",name:"vertical",value:"AutoRepair"},{$formkit:"hidden",name:"Category",id:"Category",value:"Mechanics"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],p=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],u=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],d={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...u],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...p],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...m],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...p],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...p],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...u],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...u],"Civil Rights and Discrimination":["civilRightsType",...p],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...p],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...p],"Defend a Lawsuit":["lawsuitOtherParty",...p],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...p],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...p],"Divorce and Separation":["maritalStatus","haveChildren",...u],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...p],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...p],Expungement:["incidentDate","criminalChargeType",...u],"Family Issues":["maritalStatus","haveChildren",...u],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...p],Guardianship:["maritalStatus","haveChildren",...u],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...p],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...p],"Lemon Law":["incidentDate","lawsuitOtherParty",...p],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...m],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...p],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...p],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...m],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...p],"Property Damage":["wouldLikeLawyerTo",...p],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...p],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...m],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...p],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...p],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...p],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...m],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...m],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...p]},"*":p}};function y(e,t=[],a={}){const s={...e};return s.values=function e(s){const n={};for(const r in s)Array.isArray(s[r])?n[r]=s[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[r]?n[r]=e(s[r]):n[r]=s[r];return n}(e.values),s}y(d,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const f=d.values.Type_Of_Legal_Problem;f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Personal Injury"].filter((e=>"legalCrossSells"!==e)),f["Child Custody"],f["Child Support"],d.values["*"],f["Family Issues"],f["Child Support"],f["Child Custody"],d.values["*"],f["Divorce and Separation"],f["Defend a Lawsuit"],f["File a Lawsuit"];y({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":f["Defend a Lawsuit"],"File a Lawsuit":f["File a Lawsuit"]},"*":["lawsuitOtherParty",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":f["Auto and Car Accidents"],"Contract Disputes":f["Business Lawyers"],"Dog Bite":f["Personal Injury"],"Employment and Workplace":f["Employment and Workplace"],Fraud:f["Consumer Lawyers"],"Medical Malpractice":f["Medical Malpractice"],"Personal Injury":f["Personal Injury"],"Property Damage":f["Property Damage"],"Real Estate":f["Real Estate"],"Not Sure or Other":d.values["*"]},"*":["lawsuitOtherParty",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":f["Victim of a Crime"],"DUI and DWI":f["DUI and DWI"],Expungement:f.Expungement,"Not Sure or Other":d.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...u]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});y({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":f["Wrongful Termination"],"Workers Compensation":f["Workers Compensation"],"Personal Injury":f["Personal Injury"],Unemployment:f.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),f["Workplace Harassment"],f["Workplace Discrimination"],f["Probate and Estates"],f["Wills and Trusts"],f["Wrongful Death"],f["Patents and Intellectual Property"],f["Business Lawyers"],f["Business Lawyers"],d.values["*"];y({values:{Type_Of_Legal_Problem_Display:{Foreclosure:f.Foreclosure,"Landlord and Tenant":f["Landlord and Tenant"],"Wills, Trusts, and Estates":f["Wills and Trusts"],"Property Damage":f["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...p]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const h=[{type:"meta",data:{}},($={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(o,$)),{$cmp:"FormKit",props:function(t){const a=e(l,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"mechanics",popUnderMap:{"properties.Mechanics_CrossSells":{"Auto Insurance":t("answers-now.com","Insurance","Auto Insurance")}},redirectMap:{"*":(g="answers-now.com",C="AutoRepair",v="Mechanics",t(g,C,v)+"&Comments=${properties.Comments}")},formClass:"!t-max-w-[38rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Have Questions For A Mechanic?")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Describe your issue below:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...c,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:n=!0,nextOnInput:r=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:p}=s;if(a&&a.length&&(n||r)){const e=i(a[a.length-1]);e&&!0===n&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===r&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const u={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:p,children:a}]};return void 0!==s.if&&(u.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),u)}("commentsMechanics",[s(t.scope,0,{label:void 0===t.label?"Please briefly describe your issue in a few words:":t.label,placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-20"}),n(t.scope)],t)}({label:null,placeholder:'Example: "I\'m having transmission trouble", or "My car won\'t start"',nextOnEnter:!1}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav "+(e.lastStepButtonClass||"!t-justify-center"),else:"step-nav !t-justify-between"}}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"t-hidden sm:t-block",else:""},style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({submitLabel:"Chat Online",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var g,C,v,$;return h}();
@@ -1 +1 @@
1
- [{"type":"meta","data":{}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions For A Mechanic?\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Answers In Minutes!\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"Save up to $700* on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","else":{"if":"$activeStep === $lastStep()","then":"step-nav !t-justify-center","else":"step-nav !t-justify-between"}}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"t-hidden sm:t-block","else":""},"style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
1
+ [{"type":"meta","data":{}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions For A Mechanic?\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Describe your issue below:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"Save up to $700* on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","else":{"if":"$activeStep === $lastStep()","then":"step-nav !t-justify-center","else":"step-nav !t-justify-between"}}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"t-hidden sm:t-block","else":""},"style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Online","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
@@ -138,38 +138,85 @@ function comments(updates = {}) {
138
138
  "comments",
139
139
  [
140
140
  comments$1(updates.scope, false, {
141
- label: updates.label || DEFAULT_COMMENTS_LABEL,
141
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL : updates.label,
142
142
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
143
+ inputClass: "!t-h-32",
143
144
  }),
144
145
  ],
145
146
  updates
146
147
  )
147
148
  }
148
149
 
149
- function formNavigationOnlySubmit(updates = {}) {
150
- return {
151
- $el: "div",
152
- attrs: {
153
- class: "step-nav",
150
+ const formNavigationNoFinalBack = (updates = {}) => ({
151
+ $el: "div",
152
+ attrs: {
153
+ class: {
154
+ if: "$activeStep === $firstStep()",
155
+ then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
156
+ else: {
157
+ if: "$activeStep === $lastStep()",
158
+ then: "step-nav " + (updates.lastStepButtonClass || "!t-justify-center"),
159
+ else: "step-nav !t-justify-between",
160
+ },
154
161
  },
155
- children: [
156
- {
157
- $formkit: "button",
158
- name: "hidden_button",
159
- children: "Hidden",
160
- style: {
161
- if: "$activeStep === $firstStep()",
162
- then: "visibility: hidden;",
163
- },
162
+ },
163
+ children: [
164
+ {
165
+ $formkit: "button",
166
+ name: "back_button",
167
+ onClick: "$setPreviousStep($prevStepFunc($get(form)))",
168
+ children: "Back",
169
+ outerClass: {
170
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
171
+ then: "t-hidden sm:t-block",
172
+ else: "",
164
173
  },
165
- {
166
- $formkit: "submit",
167
- name: "submit_button",
168
- label: updates.submitLabel || "Chat Now",
174
+ style: {
175
+ if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
176
+ then: "display: none;",
169
177
  },
170
- ],
171
- }
172
- }
178
+ classes: {
179
+ input: (updates.inputClass || "") + " f-navigation-input",
180
+ },
181
+ },
182
+ {
183
+ $formkit: "button",
184
+ name: "next_button",
185
+ onClick: "$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",
186
+ children: {
187
+ if: "$activeStep === $firstStep()",
188
+ then: updates.startText || "Start",
189
+ else: "Next",
190
+ },
191
+ outerClass: {
192
+ if: "$activeStep === $lastStep()",
193
+ then: "t-hidden",
194
+ else: "",
195
+ },
196
+ style: {
197
+ if: "$activeStep === $lastStep()",
198
+ then: "display: none;",
199
+ },
200
+ classes: {
201
+ input: (updates.inputClass || "") + " f-navigation-input",
202
+ },
203
+ },
204
+ {
205
+ $formkit: "submit",
206
+ name: "submit_button",
207
+ label: updates.submitLabel || "Submit",
208
+ if: "$activeStep === $lastStep()",
209
+ style: {
210
+ if: "$activeStep !== $lastStep()",
211
+ then: "display: none;",
212
+ },
213
+ classes: {
214
+ input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
215
+ outer: "!t-mt-0 !t-mb-0",
216
+ },
217
+ },
218
+ ],
219
+ });
173
220
 
174
221
  const formDetails = () => ({
175
222
  $el: "pre",
@@ -749,47 +796,71 @@ filterNextStepsMap(
749
796
  }
750
797
  );
751
798
 
799
+ const meta = {
800
+ type: "meta",
801
+ data: {},
802
+ };
803
+
752
804
  const schema = [
753
- formAnchor(),
805
+ meta,
806
+ formAnchor({
807
+ children: [
808
+ {
809
+ $el: "div",
810
+ attrs: {
811
+ id: "form-anchor",
812
+ class: "t-absolute",
813
+ // HACK: account for sticky header on theme
814
+ style: { top: "-80px", left: 0 },
815
+ },
816
+ },
817
+ ],
818
+ }),
754
819
  {
755
- $cmp: 'FormKit',
820
+ $cmp: "FormKit",
756
821
  props: formProps({
757
- formId: 'vets',
822
+ formId: "vets",
758
823
  redirectMap: {
759
- '*': RedirectUrlComments('zipanswers.com', 'Pets', 'Veterinarians')
824
+ "*": RedirectUrlComments("zipanswers.com", "Pets", "Veterinarians"),
760
825
  },
761
826
  popUnderMap: {
762
- '*': RedirectUrl('zipanswers.com', 'Pets', 'Pet Care')
827
+ "*": RedirectUrl("zipanswers.com", "Pets", "Pet Care"),
763
828
  },
764
- formClass: '!t-max-w-[36rem]'
829
+ formClass: "!t-max-w-[38rem]",
765
830
  }),
766
831
  children: [
767
832
  headline({
768
833
  children: '$urlParam("hl", "Have Questions About Your Pet?")',
769
- if: '$activeStep === $firstStep()'
834
+ if: "$activeStep === $firstStep()",
770
835
  }),
771
836
  subHeadline({
772
- children: '$urlParam("shl", "Get Answers Within Minutes!")',
773
- if: '$activeStep === $firstStep()'
837
+ children: '$urlParam("shl", "Describe your issue below:")',
838
+ if: "$activeStep === $firstStep()",
839
+ subheadlineClass: "!t-font-bold !t-text-[#465f87]",
774
840
  }),
775
841
  ...hiddenInputsVets,
776
842
  {
777
- $el: 'div',
843
+ $el: "div",
778
844
  attrs: {
779
- class: 'form-body'
845
+ class: "form-body",
780
846
  },
781
847
  children: [
782
848
  comments({
783
- label: 'Please describe your issue in a few words:',
849
+ // label: "Please describe your issue in a few words:",
850
+ label: null,
784
851
  placeholder: 'Example: "My dog is limping and I need to know if I should take him to the vet"',
785
- nextOnEnter: false
852
+ nextOnEnter: false,
786
853
  }),
787
- formNavigationOnlySubmit(),
788
- formDetails()
789
- ]
790
- }
791
- ]
792
- }
854
+ formNavigationNoFinalBack({
855
+ submitLabel: "Chat Online",
856
+ inputClass: "!t-text-black !t-font-extrabold !t-bg-[#ffce51]",
857
+ firstStepButtonClass: "!t-justify-center",
858
+ }),
859
+ formDetails(),
860
+ ],
861
+ },
862
+ ],
863
+ },
793
864
  ];
794
865
 
795
866
  export { schema as default };
@@ -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["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))))")}const u={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:m,children:a}]};return void 0!==r.if&&(u.if=r.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),u)}("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,s=4){return"https://listings."+e+"/api/v1/redirect?zone_id="+s+"&sub_id=${properties.vid}&vertical="+encodeURIComponent(t)+"&category="+encodeURIComponent(a)}const a=(t,a,s)=>(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"'},s)),s=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,n=e=>{if(s(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(s(a))return a;const r=n(a);if(r)return r}return null};const r={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"],p=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],m={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...c],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...o],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...p],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",...p],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...o],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...o],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...p],"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",...p],"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",...p],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...o],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...p],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...o]},"*":o}};function u(e,t=[],a={}){const s={...e};return s.values=function e(s){const n={};for(const r in s)Array.isArray(s[r])?n[r]=s[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[r]?n[r]=e(s[r]):n[r]=s[r];return n}(e.values),s}u(m,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const d=m.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"],m.values["*"],d["Family Issues"],d["Child Support"],d["Child Custody"],m.values["*"],d["Divorce and Separation"],d["Defend a Lawsuit"],d["File a Lawsuit"];u({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":d["Defend a Lawsuit"],"File a Lawsuit":d["File a Lawsuit"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({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":m.values["*"]},"*":["lawsuitOtherParty",...o]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({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":m.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...c]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});u({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"],m.values["*"];u({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=[{type:"meta",data:{}},(v={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(i,v)),{$cmp:"FormKit",props:function(t){const a=e(r,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-[38rem]"}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Have Questions 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", "Describe your issue below:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...l,{$el:"div",attrs:{class:"form-body"},children:[function(t={}){return function(t,a,s={}){const{nextOnEnter:r=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:o,triggerRedirectMap:c,autoFocus:p}=s;if(a&&a.length&&(r||i)){const e=n(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}const m={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:c,autoFocus:p,children:a}]};return void 0!==s.if&&(m.if=s.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),m)}("comments",[a(t.scope,0,{label:void 0===t.label?"Please briefly describe your issue in a few words:":t.label,placeholder:t.placeholder||'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',inputClass:"!t-h-32"})],t)}({label:null,placeholder:'Example: "My dog is limping and I need to know if I should take him to the vet"',nextOnEnter:!1}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav "+(e.lastStepButtonClass||"!t-justify-center"),else:"step-nav !t-justify-between"}}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"t-hidden sm:t-block",else:""},style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({submitLabel:"Chat Online",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var f,h,g,v;return y}();
@@ -1 +1 @@
1
- [{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[36rem]","formId":"vets","redirectMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Veterinarians&Comments=${properties.Comments}"},"popUnderMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Pet%20Care"},"name":"vets"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions About Your Pet?\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 f-first-subheadline"},"children":"$urlParam(\"shl\", \"Get Answers Within Minutes!\")","if":"$activeStep === $firstStep()"},{"$formkit":"hidden","name":"vertical","value":"Pets"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","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\"","id":"Comments"}]}]},{"$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":"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"}}]}]}]}]
1
+ [{"type":"meta","data":{}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"vets","redirectMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Veterinarians&Comments=${properties.Comments}"},"popUnderMap":{"*":"https://listings.zipanswers.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Pets&category=Pet%20Care"},"name":"vets"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Have Questions About Your Pet?\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Describe your issue below:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"Pets"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"My dog is limping and I need to know if I should take him to the vet\"","inputClass":"!t-h-32","id":"Comments"}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","else":{"if":"$activeStep === $lastStep()","then":"step-nav !t-justify-center","else":"step-nav !t-justify-between"}}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"t-hidden sm:t-block","else":""},"style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Online","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhl-forms",
3
- "version": "0.13.2",
3
+ "version": "0.13.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },