bhl-forms 0.13.2 → 0.13.4

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.
@@ -58,24 +58,6 @@ const verticalText = (updates) => {
58
58
  return text(updates)
59
59
  };
60
60
 
61
- const emailFL = (scope, updates = {}) => {
62
- return text({
63
- $formkit: "FloatingLabelText",
64
- name: scope ? scope + ":" + "Email" : "Email",
65
- placeholder: "Email Address",
66
- autocomplete: "email",
67
- "data-tf-sensitive": "false",
68
- validation: "required|email",
69
- validationMessages: {
70
- required: "Email is required",
71
- email: "Invalid Email",
72
- },
73
- inputClass: "t-text-center",
74
- wrapperClass: "t-flex t-justify-center",
75
- ...updates,
76
- })
77
- };
78
-
79
61
  const firstNameFL = (scope, updates = {}) => {
80
62
  return text({
81
63
  $formkit: "FloatingLabelText",
@@ -104,15 +86,15 @@ const lastNameFL = (scope, updates = {}) => {
104
86
  })
105
87
  };
106
88
 
107
- const fullNameFLMobileCol = (scope, updates = {}) => {
89
+ const fullNameFL = (scope, updates = {}) => {
108
90
  return {
109
91
  $el: "div",
110
92
  attrs: {
111
- class: "t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]",
93
+ class: "t-flex t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center t-max-w-[95%] sm:!t-max-w-[70%]",
112
94
  },
113
95
  children: [
114
- firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
115
- lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
96
+ firstNameFL(scope, { outerClass: "!t-max-w-[48%] sm:!t-max-w-[49%]", ...updates }),
97
+ lastNameFL(scope, { outerClass: "!t-max-w-[48%] sm:!t-max-w-[49%]", ...updates }),
116
98
  ],
117
99
  }
118
100
  };
@@ -260,19 +242,6 @@ function tcpaLanguageStandalone(updates = {}) {
260
242
  }
261
243
  }
262
244
 
263
- function firstAndLastStepHeadline(updates) {
264
- return {
265
- $el: "h3",
266
- children: updates.headline || "Please Provide a Contact Name",
267
- attrs: {
268
- class:
269
- "t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
270
- " " +
271
- (updates.headlineClass || ""),
272
- },
273
- }
274
- }
275
-
276
245
  function contactStepHeadline(updates) {
277
246
  return {
278
247
  $el: "h3",
@@ -375,7 +344,7 @@ function step(name, inputs, updates = {}) {
375
344
  return merge(stepDefaults(name, stepKey), mergeUpdates)
376
345
  }
377
346
 
378
- function contactInfoNoTCPA(updates = {}) {
347
+ function contactInfoNamePhoneNoTCPA(updates = {}) {
379
348
  return step(
380
349
  "contactInfo",
381
350
  [
@@ -388,10 +357,7 @@ function contactInfoNoTCPA(updates = {}) {
388
357
  class: "t-flex t-flex-col t-justify-center t-items-center",
389
358
  },
390
359
  children: [
391
- emailFL(updates.scope, {
392
- outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
393
- innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
394
- }),
360
+ fullNameFL(updates.scope),
395
361
  phoneFL(updates.scope, {
396
362
  outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
397
363
  innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
@@ -403,26 +369,6 @@ function contactInfoNoTCPA(updates = {}) {
403
369
  )
404
370
  }
405
371
 
406
- function firstAndLastV4(updates = {}) {
407
- return step(
408
- "firstAndLast",
409
- [
410
- firstAndLastStepHeadline({
411
- headline: updates.headline ?? "Who is looking for help?",
412
- headlineClass: updates.headlineClass,
413
- }),
414
- {
415
- $el: "div",
416
- attrs: {
417
- class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
418
- },
419
- children: [fullNameFLMobileCol(updates.scope)],
420
- },
421
- ],
422
- updates
423
- )
424
- }
425
-
426
372
  function applianceRepairFirstStep(updates = {}) {
427
373
  return step(
428
374
  "applianceRepairFirstStep",
@@ -1413,11 +1359,11 @@ const schema = [
1413
1359
  // steps.timeframe(),
1414
1360
  // steps.ownHome(),
1415
1361
  // steps.address(),
1416
- firstAndLastV4({
1417
- headlineClass: "!t-text-dark",
1418
- headline: "Who is looking for service?",
1419
- }),
1420
- contactInfoNoTCPA({
1362
+ // steps.firstAndLastV4({
1363
+ // headlineClass: "!t-text-dark",
1364
+ // headline: "Who is looking for service?",
1365
+ // }),
1366
+ contactInfoNamePhoneNoTCPA({
1421
1367
  headlineClass: "!t-text-[#465f87]",
1422
1368
  subheadlineClass: "!t-text-[#353739]",
1423
1369
  }),
@@ -1 +1 @@
1
- var applianceRepair=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)},a=e=>(e.wrapperClass="side-by-side t-items-center",t(e)),n=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",t(e)),r=(e,a={})=>t({$formkit:"FloatingLabelText",name:e?e+":Email":"Email",placeholder:"Email Address",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...a}),i=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},inputClass:"t-text-center",...a}),s=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},inputClass:"t-text-center",...a}),o=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]"},children:[i(e,{outerClass:"sm:!t-max-w-[49%]",...t}),s(e,{outerClass:"sm:!t-max-w-[49%]",...t})]}),l=(e,a={})=>t({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:a.placeholder||"Phone Number",maxlength:14,help:a.help||null,autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use (XXX) YYY-ZZZZ",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...a}),c=(e,t,r={})=>(t?n:a)({label:t?r.label:"Zip Code:",help:t?r.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...r}),m=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,p=e=>{if(m(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(m(a))return a;const n=p(a);if(n)return n}return null},d={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function u(t={}){return e(d,t)}function f(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function y(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function h(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function g(t,a,n={}){const{nextOnEnter:r=!0,nextOnInput:i=!1,stepKey:s,nextStepMap:o,triggerRedirectMap:l,autoFocus:c}=n;if(a&&a.length&&(r||i)){const e=p(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:l,autoFocus:c,children:a}]};return void 0!==n.if&&(m.if=n.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,s),m)}const x={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function v(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const w={};const b={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const C={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const $=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$formkit:"hidden",name:"TCPA_Opt_In",value:!0},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],S=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],I=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],E=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],P={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...I],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...S],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...E],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...S],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...S],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...I],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...I],"Civil Rights and Discrimination":["civilRightsType",...S],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...S],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...S],"Defend a Lawsuit":["lawsuitOtherParty",...S],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...S],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...I],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...S],"Divorce and Separation":["maritalStatus","haveChildren",...I],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...S],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...S],Expungement:["incidentDate","criminalChargeType",...I],"Family Issues":["maritalStatus","haveChildren",...I],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...S],Guardianship:["maritalStatus","haveChildren",...I],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...S],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...S],"Lemon Law":["incidentDate","lawsuitOtherParty",...S],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...E],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...S],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...S],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...E],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...S],"Property Damage":["wouldLikeLawyerTo",...S],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...S],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...E],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...S],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...S],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...I],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...S],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...E],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...S],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...S],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...E],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...S]},"*":S}};function k(e,t=[],a={}){const n={...e};return n.values=function e(n){const r={};for(const i in n)Array.isArray(n[i])?r[i]=n[i].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[i]?r[i]=e(n[i]):r[i]=n[i];return r}(e.values),n}k(P,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const T=P.values.Type_Of_Legal_Problem;T["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),T["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),T["Personal Injury"].filter((e=>"legalCrossSells"!==e)),T["Personal Injury"].filter((e=>"legalCrossSells"!==e)),T["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),T["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),T["Personal Injury"].filter((e=>"legalCrossSells"!==e)),T["Personal Injury"].filter((e=>"legalCrossSells"!==e)),T["Child Custody"],T["Child Support"],P.values["*"],T["Family Issues"],T["Child Support"],T["Child Custody"],P.values["*"],T["Divorce and Separation"],T["Defend a Lawsuit"],T["File a Lawsuit"];k({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":T["Defend a Lawsuit"],"File a Lawsuit":T["File a Lawsuit"]},"*":["lawsuitOtherParty",...S]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});k({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":T["Auto and Car Accidents"],"Contract Disputes":T["Business Lawyers"],"Dog Bite":T["Personal Injury"],"Employment and Workplace":T["Employment and Workplace"],Fraud:T["Consumer Lawyers"],"Medical Malpractice":T["Medical Malpractice"],"Personal Injury":T["Personal Injury"],"Property Damage":T["Property Damage"],"Real Estate":T["Real Estate"],"Not Sure or Other":P.values["*"]},"*":["lawsuitOtherParty",...S]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});k({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":T["Victim of a Crime"],"DUI and DWI":T["DUI and DWI"],Expungement:T.Expungement,"Not Sure or Other":P.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...I]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});k({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":T["Wrongful Termination"],"Workers Compensation":T["Workers Compensation"],"Personal Injury":T["Personal Injury"],Unemployment:T.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...S]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),T["Workplace Harassment"],T["Workplace Discrimination"],T["Probate and Estates"],T["Wills and Trusts"],T["Wrongful Death"],T["Patents and Intellectual Property"],T["Business Lawyers"],T["Business Lawyers"],P.values["*"];k({values:{Type_Of_Legal_Problem_Display:{Foreclosure:T.Foreclosure,"Landlord and Tenant":T["Landlord and Tenant"],"Wills, Trusts, and Estates":T["Wills and Trusts"],"Property Damage":T["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...S]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const D={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Examples: "I need two rooms painted" or "I need to replace a faucet", etc',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "My basement is flooded and needs restoration"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},L={Appliances:"Our Pros Are Ready To Help",Electrical:"Electricians Are Standing By!",Restoration:"Restoration Pros Are Standing By!",Plumbing:"Plumbers Are Standing By!",Roofing:"Roofers Are Standing By!"},A={Additions:"Get your dream addition started today!",Appliances:"Confirm your contact information:",Appraisals:"Accurate home appraisals at your service.",Cabinets:"Transform your kitchen with new cabinets.",Carpentry:"Custom carpentry solutions for your home.",Carpets:"Upgrade your home with new carpets.",Cleaning:"Professional cleaning services for a spotless home.",Countertops:"Install beautiful countertops in your kitchen.","Decks and Porches":"Build the perfect outdoor space.",Demolition:"Safe and efficient demolition services.",Doors:"Enhance your home with new doors.",Driveways:"Repair or install a new driveway.","Drywall and Plaster":"Expert drywall and plaster services.",Electrical:"Confirm your contact information:",Fencing:"Secure your property with new fencing.",Flooring:"Install stunning new floors.",Foundations:"Foundation repair and maintenance.","Garage Doors":"Upgrade your garage with new doors.","General Contractors":"Top contractors for your home projects.",Gutters:"Clean and repair your gutters.",Handyman:"Handyman services for all your needs.","Holiday Decorators":"Get your home ready for the holidays.","Smart Home":"Upgrade to a smart home today.","Home Builders":"Build your custom dream home.","Home Inspection":"Thorough home inspections for peace of mind.","Home Organization":"Organize your home with expert help.","Home Security":"Protect your home with a security system.","Home Staging":"Stage your home for a quick sale.","Home Theater":"Create the ultimate home theater.","Home Warranties":"Get a warranty for your home.","Hot Tubs":"Install a relaxing hot tub.","Heating and Cooling":"Confirm your contact information:",Insulation:"Improve your home's insulation.","Junk Removal":"Remove unwanted junk from your property.",Landscaping:"Transform your yard with expert landscaping.",Locksmiths:"Professional locksmith services.","Masonry and Concrete":"Expert masonry and concrete work.",Restoration:"Confirm your contact information:",Moving:"Reliable moving services.",Painting:"Professional painting services.","Pest Control":"Effective pest control solutions.",Pools:"Install or repair your pool.",Plumbing:"Confirm your contact information:","Pressure Washing":"Pressure wash your home's exterior.",Remodeling:"Remodel your home with top professionals.",Roofing:"Confirm your contact information:",Sheds:"Build a new shed for extra storage.",Siding:"Upgrade your home's siding.",Solar:"Install solar panels and save on energy.",Tiling:"Install beautiful new tiles.","Walk-in Tubs":"Install a convenient walk-in tub.",Waterproofing:"Waterproof your home to prevent damage.","Window Cleaning":"Professional window cleaning services.",Windows:"Replace your windows with energy-efficient options."};var O;return[function(t=null,a=!1){let n=D,r=L,i=A;return t&&(n=v(D,t),r=v(L,t),i=v(A,t)),{type:"meta",data:e(w,{tcpaLanguage:a?'By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.':'By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.',defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:n,defaultFinalHeadline:"We Found Matching Contractors!",finalHeadlines:r,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:i})}}("Appliances",!0),(O={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(b,O)),{$cmp:"FormKit",props:function(t){const a=e(x,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"applianceRepair",redirectMap:{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"}}),children:[function(t){return e(C,t)}(),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", "Compare Quotes and Save")',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", "Please Enter Your Zip Code:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...$,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return g("applianceRepairFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Appliances"},c(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return g("firstAndLast",[f({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center t-pt-3"},children:[o(e.scope)]}],e)}({headlineClass:"!t-text-dark",headline:"Who is looking for service?"}),function(e={}){return g("contactInfo",[y(e),h(e),{$el:"script",if:"$activeStep === $lastStep()",children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center"},children:[r(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"}),l(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"})]}],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((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"}}]}))({startText:"Click To Start",submitLabel:"Get A Quote",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center",lastStepButtonClass:"!t-justify-center !t-my-0 !t-py-0"}),{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[{$el:"div",attrs:{class:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto",innerHTML:"$meta.tcpaLanguage"}}]},function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[u({attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},...e})]}}(),{$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
+ var applianceRepair=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)},a=e=>(e.wrapperClass="side-by-side t-items-center",t(e)),n=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",t(e)),r=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},inputClass:"t-text-center",...a}),i=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},inputClass:"t-text-center",...a}),s=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center t-max-w-[95%] sm:!t-max-w-[70%]"},children:[r(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t}),i(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t})]}),o=(e,a={})=>t({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:a.placeholder||"Phone Number",maxlength:14,help:a.help||null,autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use (XXX) YYY-ZZZZ",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...a}),l=(e,t,r={})=>(t?n:a)({label:t?r.label:"Zip Code:",help:t?r.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...r}),c=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,m=e=>{if(c(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(c(a))return a;const n=m(a);if(n)return n}return null},p={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function d(t={}){return e(p,t)}function u(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function f(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function y(t,a,n={}){const{nextOnEnter:r=!0,nextOnInput:i=!1,stepKey:s,nextStepMap:o,triggerRedirectMap:l,autoFocus:c}=n;if(a&&a.length&&(r||i)){const e=m(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 p={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:l,autoFocus:c,children:a}]};return void 0!==n.if&&(p.if=n.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,s),p)}const h={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function g(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const v={};const x={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const w={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const b=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$formkit:"hidden",name:"TCPA_Opt_In",value:!0},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],C=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],$=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],S=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],I={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...$],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...C],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...S],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...C],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...C],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...$],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...$],"Civil Rights and Discrimination":["civilRightsType",...C],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...C],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...C],"Defend a Lawsuit":["lawsuitOtherParty",...C],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...C],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...$],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...C],"Divorce and Separation":["maritalStatus","haveChildren",...$],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...C],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...C],Expungement:["incidentDate","criminalChargeType",...$],"Family Issues":["maritalStatus","haveChildren",...$],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...C],Guardianship:["maritalStatus","haveChildren",...$],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...C],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...C],"Lemon Law":["incidentDate","lawsuitOtherParty",...C],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...S],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...C],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...C],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...S],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...C],"Property Damage":["wouldLikeLawyerTo",...C],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...C],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...S],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...C],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...C],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...$],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...C],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...S],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...C],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...C],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...S],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...C]},"*":C}};function E(e,t=[],a={}){const n={...e};return n.values=function e(n){const r={};for(const i in n)Array.isArray(n[i])?r[i]=n[i].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[i]?r[i]=e(n[i]):r[i]=n[i];return r}(e.values),n}E(I,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const P=I.values.Type_Of_Legal_Problem;P["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),P["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),P["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Child Custody"],P["Child Support"],I.values["*"],P["Family Issues"],P["Child Support"],P["Child Custody"],I.values["*"],P["Divorce and Separation"],P["Defend a Lawsuit"],P["File a Lawsuit"];E({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":P["Defend a Lawsuit"],"File a Lawsuit":P["File a Lawsuit"]},"*":["lawsuitOtherParty",...C]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});E({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":P["Auto and Car Accidents"],"Contract Disputes":P["Business Lawyers"],"Dog Bite":P["Personal Injury"],"Employment and Workplace":P["Employment and Workplace"],Fraud:P["Consumer Lawyers"],"Medical Malpractice":P["Medical Malpractice"],"Personal Injury":P["Personal Injury"],"Property Damage":P["Property Damage"],"Real Estate":P["Real Estate"],"Not Sure or Other":I.values["*"]},"*":["lawsuitOtherParty",...C]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});E({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":P["Victim of a Crime"],"DUI and DWI":P["DUI and DWI"],Expungement:P.Expungement,"Not Sure or Other":I.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...$]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});E({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":P["Wrongful Termination"],"Workers Compensation":P["Workers Compensation"],"Personal Injury":P["Personal Injury"],Unemployment:P.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...C]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),P["Workplace Harassment"],P["Workplace Discrimination"],P["Probate and Estates"],P["Wills and Trusts"],P["Wrongful Death"],P["Patents and Intellectual Property"],P["Business Lawyers"],P["Business Lawyers"],I.values["*"];E({values:{Type_Of_Legal_Problem_Display:{Foreclosure:P.Foreclosure,"Landlord and Tenant":P["Landlord and Tenant"],"Wills, Trusts, and Estates":P["Wills and Trusts"],"Property Damage":P["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...C]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const k={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Examples: "I need two rooms painted" or "I need to replace a faucet", etc',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "My basement is flooded and needs restoration"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},T={Appliances:"Our Pros Are Ready To Help",Electrical:"Electricians Are Standing By!",Restoration:"Restoration Pros Are Standing By!",Plumbing:"Plumbers Are Standing By!",Roofing:"Roofers Are Standing By!"},D={Additions:"Get your dream addition started today!",Appliances:"Confirm your contact information:",Appraisals:"Accurate home appraisals at your service.",Cabinets:"Transform your kitchen with new cabinets.",Carpentry:"Custom carpentry solutions for your home.",Carpets:"Upgrade your home with new carpets.",Cleaning:"Professional cleaning services for a spotless home.",Countertops:"Install beautiful countertops in your kitchen.","Decks and Porches":"Build the perfect outdoor space.",Demolition:"Safe and efficient demolition services.",Doors:"Enhance your home with new doors.",Driveways:"Repair or install a new driveway.","Drywall and Plaster":"Expert drywall and plaster services.",Electrical:"Confirm your contact information:",Fencing:"Secure your property with new fencing.",Flooring:"Install stunning new floors.",Foundations:"Foundation repair and maintenance.","Garage Doors":"Upgrade your garage with new doors.","General Contractors":"Top contractors for your home projects.",Gutters:"Clean and repair your gutters.",Handyman:"Handyman services for all your needs.","Holiday Decorators":"Get your home ready for the holidays.","Smart Home":"Upgrade to a smart home today.","Home Builders":"Build your custom dream home.","Home Inspection":"Thorough home inspections for peace of mind.","Home Organization":"Organize your home with expert help.","Home Security":"Protect your home with a security system.","Home Staging":"Stage your home for a quick sale.","Home Theater":"Create the ultimate home theater.","Home Warranties":"Get a warranty for your home.","Hot Tubs":"Install a relaxing hot tub.","Heating and Cooling":"Confirm your contact information:",Insulation:"Improve your home's insulation.","Junk Removal":"Remove unwanted junk from your property.",Landscaping:"Transform your yard with expert landscaping.",Locksmiths:"Professional locksmith services.","Masonry and Concrete":"Expert masonry and concrete work.",Restoration:"Confirm your contact information:",Moving:"Reliable moving services.",Painting:"Professional painting services.","Pest Control":"Effective pest control solutions.",Pools:"Install or repair your pool.",Plumbing:"Confirm your contact information:","Pressure Washing":"Pressure wash your home's exterior.",Remodeling:"Remodel your home with top professionals.",Roofing:"Confirm your contact information:",Sheds:"Build a new shed for extra storage.",Siding:"Upgrade your home's siding.",Solar:"Install solar panels and save on energy.",Tiling:"Install beautiful new tiles.","Walk-in Tubs":"Install a convenient walk-in tub.",Waterproofing:"Waterproof your home to prevent damage.","Window Cleaning":"Professional window cleaning services.",Windows:"Replace your windows with energy-efficient options."};var L;return[function(t=null,a=!1){let n=k,r=T,i=D;return t&&(n=g(k,t),r=g(T,t),i=g(D,t)),{type:"meta",data:e(v,{tcpaLanguage:a?'By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.':'By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.',defaultCommentsPlaceholder:'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:n,defaultFinalHeadline:"We Found Matching Contractors!",finalHeadlines:r,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:i})}}("Appliances",!0),(L={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(x,L)),{$cmp:"FormKit",props:function(t){const a=e(h,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"applianceRepair",redirectMap:{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"}}),children:[function(t){return e(w,t)}(),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", "Compare Quotes and Save")',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", "Please Enter Your Zip Code:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...b,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return y("applianceRepairFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Appliances"},l(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return y("contactInfo",[u(e),f(e),{$el:"script",if:"$activeStep === $lastStep()",children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center"},children:[s(e.scope),o(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"})]}],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((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"}}]}))({startText:"Click To Start",submitLabel:"Get A Quote",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center",lastStepButtonClass:"!t-justify-center !t-my-0 !t-py-0"}),{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[{$el:"div",attrs:{class:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto",innerHTML:"$meta.tcpaLanguage"}}]},function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[d({attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},...e})]}}(),{$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 +1 @@
1
- [{"type":"meta","data":{"tcpaLanguage":"By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href=\"/providers\" target=\"_blank\" class=\"t-underline\">companies and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Category).value, $meta.defaultCommentsPlaceholder)","commentsPlaceholders":{"Appliances":"Example: \"I need to repair a dishwasher\""},"defaultFinalHeadline":"We Found Matching Contractors!","finalHeadlines":{"Appliances":"Our Pros Are Ready To Help"},"defaultFinalSubHeadline":"Compare quotes and save. Verify contact info:","finalSubHeadlines":{"Appliances":"Confirm your contact information:"}}},{"$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-[40rem]","formId":"applianceRepair","redirectMap":{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"name":"applianceRepair"},"children":[{"$el":"div","attrs":{"class":"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center","style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none"}},"children":[{"$el":"div","attrs":{"class":"t-flex t-justify-center"},"children":[{"$el":"span","attrs":{"id":"progress-bar-text","class":"t-text-sm t-mb-1"},"children":["0% Complete"]}]},{"$el":"div","attrs":{"class":"t-bg-gray-100 t-w-9/12 t-rounded"},"children":[{"$el":"div","attrs":{"id":"progress-bar","class":"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]","style":{"transition":"width 0.5s ease"}}}]}]},{"$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\", \"Compare Quotes and Save\")","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\", \"Please Enter Your Zip Code:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"HomeImprovement"},{"$formkit":"hidden","name":"TCPA_Opt_In","value":true},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"applianceRepairFirstStep\")","attrs":{"hidden":"$activeStep !== \"applianceRepairFirstStep\"","key":"applianceRepairFirstStep"},"children":[{"$formkit":"group","id":"applianceRepairFirstStep","name":"applianceRepairFirstStep","children":[{"$formkit":"hidden","name":"Category","id":"Category","value":"Appliances"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":null,"placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for service?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$el":"div","attrs":{"class":"t-flex t-flex-col t-justify-center t-items-center t-pt-3"},"children":[{"$el":"div","attrs":{"class":"t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]"},"children":[{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","placeholder":"First Name","name":"First_Name","autocomplete":"given-name","inputClass":"t-text-center","outerClass":"sm:!t-max-w-[49%]","id":"First_Name"},{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","placeholder":"Last Name","name":"Last_Name","autocomplete":"family-name","inputClass":"t-text-center","outerClass":"sm:!t-max-w-[49%]","id":"Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"$getKey($meta, \"finalHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 !t-text-[#465f87] f-contact-info-headline"}},{"$el":"h5","children":"$getKey($meta, \"finalSubHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 !t-text-[#353739] f-contact-info-subheadline"}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{"$el":"div","attrs":{"class":"t-flex t-flex-col t-justify-center t-items-center"},"children":[{"$formkit":"FloatingLabelText","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"Email","placeholder":"Email Address","autocomplete":"email","data-tf-sensitive":"false","inputClass":"t-text-center","wrapperClass":"t-flex t-justify-center","outerClass":"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]","innerClass":"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]","id":"Email"},{"$formkit":"FloatingLabelText","validation":"required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use (XXX) YYY-ZZZZ","valid_phone":"Invalid Phone Number"},"labelClass":"required","datatype":"tel","name":"Primary_Phone","placeholder":"Phone Number","maxlength":14,"help":null,"autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","inputClass":"t-text-center","wrapperClass":"t-flex t-justify-center","outerClass":"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]","innerClass":"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]","id":"Primary_Phone"}]}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","else":{"if":"$activeStep === $lastStep()","then":"step-nav !t-justify-center !t-my-0 !t-py-0","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":"Click To 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":"Get A Quote","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"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","attrs":{"class":"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto","innerHTML":"$meta.tcpaLanguage"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"width":"25","height":"25","src":"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]},{"$el":"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":{"tcpaLanguage":"By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href=\"/providers\" target=\"_blank\" class=\"t-underline\">companies and partners</a> of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Category).value, $meta.defaultCommentsPlaceholder)","commentsPlaceholders":{"Appliances":"Example: \"I need to repair a dishwasher\""},"defaultFinalHeadline":"We Found Matching Contractors!","finalHeadlines":{"Appliances":"Our Pros Are Ready To Help"},"defaultFinalSubHeadline":"Compare quotes and save. Verify contact info:","finalSubHeadlines":{"Appliances":"Confirm your contact information:"}}},{"$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-[40rem]","formId":"applianceRepair","redirectMap":{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"name":"applianceRepair"},"children":[{"$el":"div","attrs":{"class":"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center","style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none"}},"children":[{"$el":"div","attrs":{"class":"t-flex t-justify-center"},"children":[{"$el":"span","attrs":{"id":"progress-bar-text","class":"t-text-sm t-mb-1"},"children":["0% Complete"]}]},{"$el":"div","attrs":{"class":"t-bg-gray-100 t-w-9/12 t-rounded"},"children":[{"$el":"div","attrs":{"id":"progress-bar","class":"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]","style":{"transition":"width 0.5s ease"}}}]}]},{"$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\", \"Compare Quotes and Save\")","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\", \"Please Enter Your Zip Code:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"HomeImprovement"},{"$formkit":"hidden","name":"TCPA_Opt_In","value":true},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"applianceRepairFirstStep\")","attrs":{"hidden":"$activeStep !== \"applianceRepairFirstStep\"","key":"applianceRepairFirstStep"},"children":[{"$formkit":"group","id":"applianceRepairFirstStep","name":"applianceRepairFirstStep","children":[{"$formkit":"hidden","name":"Category","id":"Category","value":"Appliances"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":null,"placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"$getKey($meta, \"finalHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 !t-text-[#465f87] f-contact-info-headline"}},{"$el":"h5","children":"$getKey($meta, \"finalSubHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 !t-text-[#353739] f-contact-info-subheadline"}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{"$el":"div","attrs":{"class":"t-flex t-flex-col t-justify-center t-items-center"},"children":[{"$el":"div","attrs":{"class":"t-flex t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center t-max-w-[95%] sm:!t-max-w-[70%]"},"children":[{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","placeholder":"First Name","name":"First_Name","autocomplete":"given-name","inputClass":"t-text-center","outerClass":"!t-max-w-[48%] sm:!t-max-w-[49%]","id":"First_Name"},{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","placeholder":"Last Name","name":"Last_Name","autocomplete":"family-name","inputClass":"t-text-center","outerClass":"!t-max-w-[48%] sm:!t-max-w-[49%]","id":"Last_Name"}]},{"$formkit":"FloatingLabelText","validation":"required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use (XXX) YYY-ZZZZ","valid_phone":"Invalid Phone Number"},"labelClass":"required","datatype":"tel","name":"Primary_Phone","placeholder":"Phone Number","maxlength":14,"help":null,"autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","inputClass":"t-text-center","wrapperClass":"t-flex t-justify-center","outerClass":"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]","innerClass":"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]","id":"Primary_Phone"}]}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","else":{"if":"$activeStep === $lastStep()","then":"step-nav !t-justify-center !t-my-0 !t-py-0","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":"Click To 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":"Get A Quote","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"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","attrs":{"class":"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto","innerHTML":"$meta.tcpaLanguage"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"width":"25","height":"25","src":"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]},{"$el":"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 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.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },