bhl-forms 0.11.13 → 0.11.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/forms/accidentsAndInjuries.es.js +7 -7
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +68 -74
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.json +1 -1
- package/dist/forms/business.es.js +7 -7
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -1
- package/dist/forms/childAndFamily.es.js +7 -7
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/childAndFamilySingle.es.js +7 -7
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +245 -602
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/civilLawsuit1to1.es.js +396 -7
- package/dist/forms/civilLawsuit1to1.iife.js +1 -1
- package/dist/forms/civilLawsuit1to1.json +1 -1
- package/dist/forms/contracts.es.js +7 -7
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +7 -7
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +7 -7
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/divorce.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +7 -7
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/foreclosure.es.js +7 -7
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/foreclosure.json +1 -1
- package/dist/forms/generalContractors.es.js +175 -129
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalContractors.json +1 -1
- package/dist/forms/generalHomeImprovement.es.js +184 -127
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.json +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +99 -121
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.json +1 -1
- package/dist/forms/generalLegal.es.js +7 -7
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +7 -7
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +7 -7
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +7 -7
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +7 -7
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +7 -7
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
- package/dist/forms/generalLegalSingle1to1.json +1 -1
- package/dist/forms/generalLegalSingleMinimal.es.js +7 -7
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +7 -7
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +7 -7
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +7 -7
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +7 -7
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/landlordTenant.json +1 -1
- package/dist/forms/malpractice.es.js +7 -7
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +9 -7
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +7 -7
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +7 -7
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +7 -7
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +7 -7
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +7 -7
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +7 -7
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/forms/windows.es.js +67 -65
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/windows.json +1 -1
- package/dist/forms/workersCompensation.es.js +7 -7
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/dist/forms/workersCompensation.json +1 -1
- package/package.json +1 -1
package/dist/forms/windows.es.js
CHANGED
|
@@ -9,13 +9,13 @@ function HomeImprovementRedirectUrl() {
|
|
|
9
9
|
const DEFAULT_COMMENTS_LABEL = "Please briefly describe your issue in a few words:";
|
|
10
10
|
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC =
|
|
11
11
|
'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)';
|
|
12
|
-
const
|
|
13
|
-
'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
|
|
14
|
-
const
|
|
15
|
-
'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
12
|
+
const DEFAULT_FINAL_HEADLINE_DYNAMIC =
|
|
13
|
+
'$getKey($meta, "finalHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)';
|
|
14
|
+
const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC =
|
|
15
|
+
'$getKey($meta, "finalSubHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)';
|
|
16
16
|
|
|
17
17
|
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_HOME_IMPROVEMENT = DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC;
|
|
18
|
-
const DEFAULT_FINAL_HEADLINE_HOME_IMPROVEMENT = "We Found Contractors!";
|
|
18
|
+
const DEFAULT_FINAL_HEADLINE_HOME_IMPROVEMENT = "We Found Matching Contractors!";
|
|
19
19
|
const DEFAULT_FINAL_SUBHEADLINE_HOME_IMPROVEMENT = "Compare quotes and save. Verify contact info:";
|
|
20
20
|
// This version has a link to a providers page, starting without that
|
|
21
21
|
// export const TCPA_LANGUAGE_HOME_IMPROVEMENT =
|
|
@@ -902,7 +902,7 @@ function firstAndLastStepHeadline(updates) {
|
|
|
902
902
|
function contactStepHeadline(updates) {
|
|
903
903
|
return {
|
|
904
904
|
$el: "h3",
|
|
905
|
-
children: updates.headline ||
|
|
905
|
+
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
|
|
906
906
|
attrs: {
|
|
907
907
|
class:
|
|
908
908
|
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1" +
|
|
@@ -916,7 +916,7 @@ function contactStepHeadline(updates) {
|
|
|
916
916
|
function contactStepSubHeadline(updates) {
|
|
917
917
|
return {
|
|
918
918
|
$el: "h5",
|
|
919
|
-
children: updates.subheadline ||
|
|
919
|
+
children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_DYNAMIC,
|
|
920
920
|
attrs: {
|
|
921
921
|
class:
|
|
922
922
|
"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3" +
|
|
@@ -1037,6 +1037,8 @@ function commentsHeadline(updates = {}) {
|
|
|
1037
1037
|
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL : updates.label,
|
|
1038
1038
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
|
|
1039
1039
|
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
1040
|
+
innerClass: typeof updates.innerClass === "undefined" ? "t-max-w-xl" : updates.innerClass,
|
|
1041
|
+
wrapperClass: typeof updates.wrapperClass === "undefined" ? undefined : updates.wrapperClass,
|
|
1040
1042
|
}),
|
|
1041
1043
|
],
|
|
1042
1044
|
mergedUpdates
|
|
@@ -1087,7 +1089,7 @@ function zipcode(updates = {}) {
|
|
|
1087
1089
|
function homeImprovementCrossSellsStepHeadline(updates) {
|
|
1088
1090
|
return {
|
|
1089
1091
|
$el: "h3",
|
|
1090
|
-
children: updates.headline || "
|
|
1092
|
+
children: updates.headline || "Do you need quotes for other projects?",
|
|
1091
1093
|
attrs: {
|
|
1092
1094
|
class:
|
|
1093
1095
|
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
@@ -2069,7 +2071,7 @@ const HomeImprovementCommentsPlaceholders = {
|
|
|
2069
2071
|
|
|
2070
2072
|
const HomeImprovementFinalHeadlines = {
|
|
2071
2073
|
// 'Additions': '',
|
|
2072
|
-
Appliances: "We Have Appliance Pros Standing By!",
|
|
2074
|
+
// Appliances: "We Have Appliance Pros Standing By!",
|
|
2073
2075
|
// 'Appraisals': '',
|
|
2074
2076
|
// 'Cabinets': '',
|
|
2075
2077
|
// 'Carpentry': '',
|
|
@@ -2086,7 +2088,7 @@ const HomeImprovementFinalHeadlines = {
|
|
|
2086
2088
|
// 'Flooring': '',
|
|
2087
2089
|
// 'Foundations': '',
|
|
2088
2090
|
// 'Garage Doors': '',
|
|
2089
|
-
//
|
|
2091
|
+
// "General Contractors": "Connect With Top Contractors!",
|
|
2090
2092
|
// 'Gutters': '',
|
|
2091
2093
|
// 'Handyman': '',
|
|
2092
2094
|
// 'Holiday Decorators': '',
|
|
@@ -2112,7 +2114,7 @@ const HomeImprovementFinalHeadlines = {
|
|
|
2112
2114
|
// 'Pools': '',
|
|
2113
2115
|
// 'Plumbing': '',
|
|
2114
2116
|
// 'Pressure Washing': '',
|
|
2115
|
-
//
|
|
2117
|
+
// Remodeling: "Connect With Top Remodelers!",
|
|
2116
2118
|
// 'Roofing': '',
|
|
2117
2119
|
// 'Sheds': '',
|
|
2118
2120
|
// 'Siding': '',
|
|
@@ -2125,60 +2127,60 @@ const HomeImprovementFinalHeadlines = {
|
|
|
2125
2127
|
};
|
|
2126
2128
|
|
|
2127
2129
|
const HomeImprovementFinalSubHeadlines = {
|
|
2128
|
-
|
|
2129
|
-
Appliances: "
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2130
|
+
Additions: "Get your dream addition started today!",
|
|
2131
|
+
Appliances: "Expert appliance repair and installation.",
|
|
2132
|
+
Appraisals: "Accurate home appraisals at your service.",
|
|
2133
|
+
Cabinets: "Transform your kitchen with new cabinets.",
|
|
2134
|
+
Carpentry: "Custom carpentry solutions for your home.",
|
|
2135
|
+
Carpets: "Upgrade your home with new carpets.",
|
|
2136
|
+
Cleaning: "Professional cleaning services for a spotless home.",
|
|
2137
|
+
Countertops: "Install beautiful countertops in your kitchen.",
|
|
2138
|
+
"Decks and Porches": "Build the perfect outdoor space.",
|
|
2139
|
+
Demolition: "Safe and efficient demolition services.",
|
|
2140
|
+
Doors: "Enhance your home with new doors.",
|
|
2141
|
+
Driveways: "Repair or install a new driveway.",
|
|
2142
|
+
"Drywall and Plaster": "Expert drywall and plaster services.",
|
|
2143
|
+
Electrical: "Reliable electrical services for your home.",
|
|
2144
|
+
Fencing: "Secure your property with new fencing.",
|
|
2145
|
+
Flooring: "Install stunning new floors.",
|
|
2146
|
+
Foundations: "Foundation repair and maintenance.",
|
|
2147
|
+
"Garage Doors": "Upgrade your garage with new doors.",
|
|
2148
|
+
"General Contractors": "Top contractors for your home projects.",
|
|
2149
|
+
Gutters: "Clean and repair your gutters.",
|
|
2150
|
+
Handyman: "Handyman services for all your needs.",
|
|
2151
|
+
"Holiday Decorators": "Get your home ready for the holidays.",
|
|
2152
|
+
"Smart Home": "Upgrade to a smart home today.",
|
|
2153
|
+
"Home Builders": "Build your custom dream home.",
|
|
2154
|
+
"Home Inspection": "Thorough home inspections for peace of mind.",
|
|
2155
|
+
"Home Organization": "Organize your home with expert help.",
|
|
2156
|
+
"Home Security": "Protect your home with a security system.",
|
|
2157
|
+
"Home Staging": "Stage your home for a quick sale.",
|
|
2158
|
+
"Home Theater": "Create the ultimate home theater.",
|
|
2159
|
+
"Home Warranties": "Get a warranty for your home.",
|
|
2160
|
+
"Hot Tubs": "Install a relaxing hot tub.",
|
|
2161
|
+
"Heating and Cooling": "HVAC repair and installation.",
|
|
2162
|
+
Insulation: "Improve your home's insulation.",
|
|
2163
|
+
"Junk Removal": "Remove unwanted junk from your property.",
|
|
2164
|
+
Landscaping: "Transform your yard with expert landscaping.",
|
|
2165
|
+
Locksmiths: "Professional locksmith services.",
|
|
2166
|
+
"Masonry and Concrete": "Expert masonry and concrete work.",
|
|
2167
|
+
Restoration: "Restore your home after damage.",
|
|
2168
|
+
Moving: "Reliable moving services.",
|
|
2169
|
+
Painting: "Professional painting services.",
|
|
2170
|
+
"Pest Control": "Effective pest control solutions.",
|
|
2171
|
+
Pools: "Install or repair your pool.",
|
|
2172
|
+
Plumbing: "Expert plumbing services.",
|
|
2173
|
+
"Pressure Washing": "Pressure wash your home's exterior.",
|
|
2174
|
+
Remodeling: "Remodel your home with top professionals.",
|
|
2175
|
+
Roofing: "Repair or replace your roof.",
|
|
2176
|
+
Sheds: "Build a new shed for extra storage.",
|
|
2177
|
+
Siding: "Upgrade your home's siding.",
|
|
2178
|
+
Solar: "Install solar panels and save on energy.",
|
|
2179
|
+
Tiling: "Install beautiful new tiles.",
|
|
2180
|
+
"Walk-in Tubs": "Install a convenient walk-in tub.",
|
|
2181
|
+
Waterproofing: "Waterproof your home to prevent damage.",
|
|
2182
|
+
"Window Cleaning": "Professional window cleaning services.",
|
|
2183
|
+
Windows: "Replace your windows with energy-efficient options.",
|
|
2182
2184
|
};
|
|
2183
2185
|
|
|
2184
2186
|
const nextStepsHomeImprovementDefault = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var windows=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',a=t,n={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},s=e=>(e.name&&!e.id&&(e.id=e.name),e),i=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(s(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),l=t=>(s(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),r=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",l(e)),o=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",l(e)),d=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",l(e)),c=t=>(s(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),m=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",c(e)),p=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",c(e)),u=t=>(s(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),f=e=>(e.wrapperClass="side-by-side t-items-center",u(e)),h=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",u(e)),g=(e,t,a={})=>(t?h:f)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),y=(e,t,a={})=>(t?h:f)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),b=(e,t,a={})=>(t?h:f)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),C=(e,t,a={})=>(t?h:f)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.help||"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...a}),x=(t,a,n)=>(t=>(s(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)),w=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),v=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),S=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),$=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),I=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),P=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),E=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),k=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What remodeling job?",name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]},n)),W=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),_=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),T=(t,a,n={})=>(a?r:m)(e({label:a?n.label:"What siding material?",name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]},n)),O=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What windows job type?",name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]},n)),D=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,L=e=>{if(D(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(D(a))return a;const n=L(a);if(n)return n}return null},A={$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 R(t={}){return e(A,t)}function j(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function H(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function M(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function q(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 N(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function B(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function Q(t,a,n={}){const{nextOnEnter:s=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=n;if(a&&a.length&&(s||i)){const e=L(a[a.length-1]);e&&!0===s&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),{children:[{$formkit:"group",id:t,name:t,nextStepMap:r,triggerRedirectMap:o,autoFocus:d,children:a}]})}function z(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),Q(e,[F({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function U(e){return{$el:"h3",children:e.headline||"Interested in free quotes for other projects?",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}const K={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 G={};const Z={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Y={$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 J=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$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}],X={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ee=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],te=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ae=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ne={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...te],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...ee],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...ae],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...ee],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...te],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...te],"Civil Rights and Discrimination":["civilRightsType",...ee],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...ee],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...ee],"Defend a Lawsuit":["lawsuitOtherParty",...ee],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...ee],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Divorce and Separation":["maritalStatus","haveChildren",...te],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...ee],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],Expungement:["incidentDate","criminalChargeType",...te],"Family Issues":["maritalStatus","haveChildren",...te],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...ee],Guardianship:["maritalStatus","haveChildren",...te],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...ee],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...ee],"Lemon Law":["incidentDate","lawsuitOtherParty",...ee],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...ae],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...ee],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...ee],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...ae],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Property Damage":["wouldLikeLawyerTo",...ee],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...ee],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...ae],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...ee],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...ee],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...ae],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...ae],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...ee]},"*":ee}};function se(e,t=[],a={}){const n={...e};return n.values=function e(n){const s={};for(const i in n)Array.isArray(n[i])?s[i]=n[i].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[i]?s[i]=e(n[i]):s[i]=n[i];return s}(e.values),n}se(ne,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const ie=ne.values.Type_Of_Legal_Problem;ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Child Custody"],ie["Child Support"],ne.values["*"],ie["Family Issues"],ie["Child Support"],ie["Child Custody"],ne.values["*"],ie["Divorce and Separation"],ie["Defend a Lawsuit"],ie["File a Lawsuit"];se({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":ie["Defend a Lawsuit"],"File a Lawsuit":ie["File a Lawsuit"]},"*":["lawsuitOtherParty",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":ie["Auto and Car Accidents"],"Contract Disputes":ie["Business Lawyers"],"Dog Bite":ie["Personal Injury"],"Employment and Workplace":ie["Employment and Workplace"],Fraud:ie["Consumer Lawyers"],"Medical Malpractice":ie["Medical Malpractice"],"Personal Injury":ie["Personal Injury"],"Property Damage":ie["Property Damage"],"Real Estate":ie["Real Estate"],"Not Sure or Other":ne.values["*"]},"*":["lawsuitOtherParty",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":ie["Victim of a Crime"],"DUI and DWI":ie["DUI and DWI"],Expungement:ie.Expungement,"Not Sure or Other":ne.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":ie["Wrongful Termination"],"Workers Compensation":ie["Workers Compensation"],"Personal Injury":ie["Personal Injury"],Unemployment:ie.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),ie["Workplace Harassment"],ie["Workplace Discrimination"],ie["Probate and Estates"],ie["Wills and Trusts"],ie["Wrongful Death"],ie["Patents and Intellectual Property"],ie["Business Lawyers"],ie["Business Lawyers"],ne.values["*"];se({values:{Type_Of_Legal_Problem_Display:{Foreclosure:ie.Foreclosure,"Landlord and Tenant":ie["Landlord and Tenant"],"Wills, Trusts, and Estates":ie["Wills and Trusts"],"Property Damage":ie["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const le={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:'Example: "I need a handyman to fix various things around my house"',"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: "I need water damage restoration services"',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"'},re={Appliances:"We Have Appliance Pros Standing By!"},oe={Appliances:"Who needs appliance help?"},de=n,ce=function(t=null){let n=le,s=re,i=oe;return t&&(n=V(le,t),s=V(re,t),i=V(oe,t)),{type:"meta",data:e(G,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.",defaultCommentsPlaceholder:a,commentsPlaceholders:n,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:s,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:i})}}();ce.data.dynamicSchema=[function(e={}){return z("zipcode",((e,t,a={})=>(t?h:f)({label:t?a.label:"Zip Code:",help:t?a.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"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(t={}){return z("timeframe",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)))(t.scope,!0,t.input),"What is the project timeframe?",t)}(),function(t={}){return z("ownHome",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)))(t.scope,!0,t.input),"Do you own the home?",t)}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,z("address",((e,t,a={})=>(t?h:f)({label:t?a.label:"Street Address:",placeholder:"10 Example St",name:e?e+":Address":"Address",autocomplete:"street-address","data-tf-sensitive":"false",minlength:5,maxlength:100,validationMessages:{minlength:"Invalid Address",required:"Address is required"},...a}))(e.scope,!0,e.input),"What is the street address of the home?",e)}(),function(t={}){return z("windowsWorkType",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of windows work?",t)}(),function(t={}){return z("numberOfWindows",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"How many windows?",name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]},n)))(t.scope,!0,t.input),"How many windows?",t)}(),function(e={}){const a={...e,nextOnEnter:!1};return Q("comments",[M(e),x(e.scope,0,{label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],a)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={}){return Q("firstAndLast",[q({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),H({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),y(e.scope),b(e.scope)],e)}({headlineClass:"!t-text-dark"}),function(e={}){return Q("electricalCrossSellQuestions",[j({headline:"Connect With Electrical Pros"}),(t="true",a="CrossSell:Electrical",v("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[$(a),S(a)]})),x("CrossSell:Electrical",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("paintingCrossSellQuestions",[j({headline:"Connect With a Painter"}),(t="true",a="CrossSell:Painting",v("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[P(a),I(a)]})),x("CrossSell:Painting",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("plumbingCrossSellQuestions",[j({headline:"Connect With a Plumber"}),(t="true",a="CrossSell:Plumbing",v("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[E(a),S(a)]})),x("CrossSell:Plumbing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("remodelingCrossSellQuestions",[j({headline:"Connect With Remodelers"}),(t="true",a="CrossSell:Remodeling",v("RemodelingQuestions",{if:t||'$get(Category).value == "Remodeling"',children:[k(a)]})),x("CrossSell:Remodeling",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("roofingCrossSellQuestions",[j({headline:"Connect With a Roofer"}),(t="true",a="CrossSell:Roofing",v("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[_(a),W(a)]})),x("CrossSell:Roofing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("sidingCrossSellQuestions",[j({headline:"Connect With Siding Pros"}),(t="true",a="CrossSell:Siding",v("SidingQuestions",{if:t||'$get(Category).value == "Siding"',children:[T(a),S(a)]})),x("CrossSell:Siding",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",Q("homeImprovementCrossSells",[U(e),(e.scope,i({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];const me=[ce,e(Z,pe),{$cmp:"FormKit",props:function(t){const a=e(K,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"windows",redirectMap:function(t){return e(X,t)}(),crossSellOptionMap:de}),children:[function(t){return e(Y,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", "Get Started Here!")',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", "What needs window work?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...J,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Q("windowsSubtype",[{$formkit:"hidden",name:"Category",id:"Category",value:"Windows"},O(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",nextStepMap:{values:{"*":["windowsWorkType","numberOfWindows","comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return Q("contactInfo",[N(e),B(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})();"},g(e.scope),C(e.scope),w(e.scope),R()],{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:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",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||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Quotes",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]"}),{$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 pe;return me}();
|
|
1
|
+
var windows=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',a=t,n={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},s=e=>(e.name&&!e.id&&(e.id=e.name),e),r=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(s(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),i=t=>(s(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),o=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",i(e)),l=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",i(e)),d=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",i(e)),c=t=>(s(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),m=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",c(e)),p=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",c(e)),u=t=>(s(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),h=e=>(e.wrapperClass="side-by-side t-items-center",u(e)),f=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",u(e)),g=(e,t,a={})=>(t?f:h)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),y=(e,t,a={})=>(t?f:h)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),C=(e,t,a={})=>(t?f:h)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),b=(e,t,a={})=>(t?f:h)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.help||"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...a}),x=(t,a,n)=>(t=>(s(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)),w=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),v=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),S=(t,a,n={})=>(a?d:l)(e({label:a?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),$=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),P=(t,a,n={})=>(a?d:l)(e({label:a?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),I=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),E=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),k=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What remodeling job?",name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]},n)),T=(t,a,n={})=>(a?d:l)(e({label:a?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),W=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),D=(t,a,n={})=>(a?o:m)(e({label:a?n.label:"What siding material?",name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]},n)),_=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What windows job type?",name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]},n)),O=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,R=e=>{if(O(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(O(a))return a;const n=R(a);if(n)return n}return null},L={$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 A(t={}){return e(L,t)}function j(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function H(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function M(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function q(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 N(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-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function B(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-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function Q(t,a,n={}){const{nextOnEnter:s=!0,nextOnInput:r=!1,stepKey:i,nextStepMap:o,triggerRedirectMap:l,autoFocus:d}=n;if(a&&a.length&&(s||r)){const e=R(a[a.length-1]);e&&!0===s&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===r&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:l,autoFocus:d,children:a}]})}function z(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),Q(e,[F({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function U(e){return{$el:"h3",children:e.headline||"Do you need quotes for other projects?",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}const G={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 K={};const Z={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Y={$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 J=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$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}],X={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ee=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],te=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ae=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ne={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...te],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...ee],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...ae],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...ee],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...te],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...te],"Civil Rights and Discrimination":["civilRightsType",...ee],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...ee],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...ee],"Defend a Lawsuit":["lawsuitOtherParty",...ee],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...ee],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Divorce and Separation":["maritalStatus","haveChildren",...te],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...ee],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],Expungement:["incidentDate","criminalChargeType",...te],"Family Issues":["maritalStatus","haveChildren",...te],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...ee],Guardianship:["maritalStatus","haveChildren",...te],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...ee],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...ee],"Lemon Law":["incidentDate","lawsuitOtherParty",...ee],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...ae],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...ee],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...ee],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...ae],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Property Damage":["wouldLikeLawyerTo",...ee],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...ee],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...ae],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...ee],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...ee],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...ae],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...ae],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...ee]},"*":ee}};function se(e,t=[],a={}){const n={...e};return n.values=function e(n){const s={};for(const r in n)Array.isArray(n[r])?s[r]=n[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[r]?s[r]=e(n[r]):s[r]=n[r];return s}(e.values),n}se(ne,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const re=ne.values.Type_Of_Legal_Problem;re["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),re["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),re["Personal Injury"].filter((e=>"legalCrossSells"!==e)),re["Personal Injury"].filter((e=>"legalCrossSells"!==e)),re["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),re["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),re["Personal Injury"].filter((e=>"legalCrossSells"!==e)),re["Personal Injury"].filter((e=>"legalCrossSells"!==e)),re["Child Custody"],re["Child Support"],ne.values["*"],re["Family Issues"],re["Child Support"],re["Child Custody"],ne.values["*"],re["Divorce and Separation"],re["Defend a Lawsuit"],re["File a Lawsuit"];se({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":re["Defend a Lawsuit"],"File a Lawsuit":re["File a Lawsuit"]},"*":["lawsuitOtherParty",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":re["Auto and Car Accidents"],"Contract Disputes":re["Business Lawyers"],"Dog Bite":re["Personal Injury"],"Employment and Workplace":re["Employment and Workplace"],Fraud:re["Consumer Lawyers"],"Medical Malpractice":re["Medical Malpractice"],"Personal Injury":re["Personal Injury"],"Property Damage":re["Property Damage"],"Real Estate":re["Real Estate"],"Not Sure or Other":ne.values["*"]},"*":["lawsuitOtherParty",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":re["Victim of a Crime"],"DUI and DWI":re["DUI and DWI"],Expungement:re.Expungement,"Not Sure or Other":ne.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":re["Wrongful Termination"],"Workers Compensation":re["Workers Compensation"],"Personal Injury":re["Personal Injury"],Unemployment:re.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),re["Workplace Harassment"],re["Workplace Discrimination"],re["Probate and Estates"],re["Wills and Trusts"],re["Wrongful Death"],re["Patents and Intellectual Property"],re["Business Lawyers"],re["Business Lawyers"],ne.values["*"];se({values:{Type_Of_Legal_Problem_Display:{Foreclosure:re.Foreclosure,"Landlord and Tenant":re["Landlord and Tenant"],"Wills, Trusts, and Estates":re["Wills and Trusts"],"Property Damage":re["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const ie={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:'Example: "I need a handyman to fix various things around my house"',"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: "I need water damage restoration services"',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"'},oe={},le={Additions:"Get your dream addition started today!",Appliances:"Expert appliance repair and installation.",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:"Reliable electrical services for your home.",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":"HVAC repair and installation.",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:"Restore your home after damage.",Moving:"Reliable moving services.",Painting:"Professional painting services.","Pest Control":"Effective pest control solutions.",Pools:"Install or repair your pool.",Plumbing:"Expert plumbing services.","Pressure Washing":"Pressure wash your home's exterior.",Remodeling:"Remodel your home with top professionals.",Roofing:"Repair or replace your roof.",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."},de=n,ce=function(t=null){let n=ie,s=oe,r=le;return t&&(n=V(ie,t),s=V(oe,t),r=V(le,t)),{type:"meta",data:e(K,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.",defaultCommentsPlaceholder:a,commentsPlaceholders:n,defaultFinalHeadline:"We Found Matching Contractors!",finalHeadlines:s,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:r})}}();ce.data.dynamicSchema=[function(e={}){return z("zipcode",((e,t,a={})=>(t?f:h)({label:t?a.label:"Zip Code:",help:t?a.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"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(t={}){return z("timeframe",((t,a,n={})=>(a?d:l)(e({label:a?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)))(t.scope,!0,t.input),"What is the project timeframe?",t)}(),function(t={}){return z("ownHome",((t,a,n={})=>(a?d:l)(e({label:a?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)))(t.scope,!0,t.input),"Do you own the home?",t)}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,z("address",((e,t,a={})=>(t?f:h)({label:t?a.label:"Street Address:",placeholder:"10 Example St",name:e?e+":Address":"Address",autocomplete:"street-address","data-tf-sensitive":"false",minlength:5,maxlength:100,validationMessages:{minlength:"Invalid Address",required:"Address is required"},...a}))(e.scope,!0,e.input),"What is the street address of the home?",e)}(),function(t={}){return z("windowsWorkType",((t,a,n={})=>(a?d:l)(e({label:a?n.label:"What type of work?",name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of windows work?",t)}(),function(t={}){return z("numberOfWindows",((t,a,n={})=>(a?d:l)(e({label:a?n.label:"How many windows?",name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]},n)))(t.scope,!0,t.input),"How many windows?",t)}(),function(e={}){const a={...e,nextOnEnter:!1};return Q("comments",[M(e),x(e.scope,0,{label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass,innerClass:void 0===e.innerClass?"t-max-w-xl":e.innerClass,wrapperClass:void 0===e.wrapperClass?void 0:e.wrapperClass})],a)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={}){return Q("firstAndLast",[q({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),H({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),y(e.scope),C(e.scope)],e)}({headlineClass:"!t-text-dark"}),function(e={}){return Q("electricalCrossSellQuestions",[j({headline:"Connect With Electrical Pros"}),(t="true",a="CrossSell:Electrical",v("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[$(a),S(a)]})),x("CrossSell:Electrical",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("paintingCrossSellQuestions",[j({headline:"Connect With a Painter"}),(t="true",a="CrossSell:Painting",v("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[I(a),P(a)]})),x("CrossSell:Painting",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("plumbingCrossSellQuestions",[j({headline:"Connect With a Plumber"}),(t="true",a="CrossSell:Plumbing",v("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[E(a),S(a)]})),x("CrossSell:Plumbing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("remodelingCrossSellQuestions",[j({headline:"Connect With Remodelers"}),(t="true",a="CrossSell:Remodeling",v("RemodelingQuestions",{if:t||'$get(Category).value == "Remodeling"',children:[k(a)]})),x("CrossSell:Remodeling",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("roofingCrossSellQuestions",[j({headline:"Connect With a Roofer"}),(t="true",a="CrossSell:Roofing",v("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[W(a),T(a)]})),x("CrossSell:Roofing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("sidingCrossSellQuestions",[j({headline:"Connect With Siding Pros"}),(t="true",a="CrossSell:Siding",v("SidingQuestions",{if:t||'$get(Category).value == "Siding"',children:[D(a),S(a)]})),x("CrossSell:Siding",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",Q("homeImprovementCrossSells",[U(e),(e.scope,r({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];const me=[ce,e(Z,pe),{$cmp:"FormKit",props:function(t){const a=e(G,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"windows",redirectMap:function(t){return e(X,t)}(),crossSellOptionMap:de}),children:[function(t){return e(Y,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", "Get Started Here!")',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", "What needs window work?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...J,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Q("windowsSubtype",[{$formkit:"hidden",name:"Category",id:"Category",value:"Windows"},_(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",nextStepMap:{values:{"*":["windowsWorkType","numberOfWindows","comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return Q("contactInfo",[N(e),B(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})();"},g(e.scope),b(e.scope),w(e.scope),A()],{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:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",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||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Quotes",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]"}),{$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 pe;return me}();
|