mod-build 3.6.75-beta.2 → 4.0.0-alpha.2
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/.eslintignore +3 -0
- package/.eslintrc +18 -0
- package/CHANGELOG.md +2 -252
- package/README.md +16 -263
- package/gulp-tasks/grab-cdn.js +0 -10
- package/package.json +18 -68
- package/siteconfig.js +38 -0
- package/src/data/footer.js +117 -0
- package/src/data/seasons.js +5 -7
- package/src/index.html +18 -0
- package/src/main.js +45 -0
- package/src/scripts/has-qs-params.js +6 -5
- package/src/scripts/url-cleaner.js +3 -3
- package/src/scripts/utils.js +178 -0
- package/src/styles/home.scss +1 -0
- package/src/templates/_partials/scripts/deferred-styles.html +16 -16
- package/src/templates/_partials/scripts/vwo-redirect-callback.html +43 -45
- package/src/templates/components/head.html +70 -0
- package/tasks/clean.js +13 -0
- package/tasks/grab-cdn.js +107 -0
- package/tasks/grab-form-helpers.js +94 -0
- package/tasks/grab-shared-components.js +81 -0
- package/tasks/grab-shared-scripts.js +267 -0
- package/tasks/serve.js +15 -0
- package/tasks/templates.js +168 -0
- package/template.js +801 -0
- package/vite.config.js +56 -0
- package/.eslintrc.yml +0 -59
- package/src/data/common.js +0 -704
- package/src/data/components/qs-footer.js +0 -55
- package/src/data/components/quote-footer.js +0 -73
- package/src/scripts/apt-block.js +0 -919
- package/src/scripts/components/custom-selects.js +0 -48
- package/src/scripts/components/radio-panels.js +0 -45
- package/src/scripts/es6-1.js +0 -6
- package/src/scripts/es6-2.js +0 -2
- package/src/scripts/qs-form.js +0 -839
- package/src/scripts/vendor/maxmind-geoip2.js +0 -2
- package/src/scripts/vendor/swiper.min.js +0 -13
- package/src/styles/apt-block.scss +0 -888
- package/src/templates/_partials/apt-block.html +0 -30
- package/src/templates/_partials/scripts/analytics.html +0 -4
- package/src/templates/_partials/scripts/go-page-hiding-snippet.html +0 -8
- package/src/templates/_partials/scripts/google-maps.html +0 -1
- package/src/templates/_partials/scripts/google-optimize.html +0 -12
- package/src/templates/_partials/scripts/gtm-editorials/body/google-tag-manager-body.html +0 -5
- package/src/templates/_partials/scripts/gtm-editorials/head/google-tag-manager-head.html +0 -10
- package/src/templates/_partials/scripts/gtm-hil/body/google-tag-manager-body.html +0 -5
- package/src/templates/_partials/scripts/gtm-hil/head/google-tag-manager-head.html +0 -10
- package/src/templates/_partials/scripts/gtm-pro/body/google-tag-manager-body.html +0 -5
- package/src/templates/_partials/scripts/gtm-pro/head/google-tag-manager-head.html +0 -10
- package/src/templates/_partials/scripts/gtm-quote/body/google-tag-manager-body.html +0 -5
- package/src/templates/_partials/scripts/gtm-quote/head/google-tag-manager-head.html +0 -9
- package/src/templates/_partials/scripts/gtm-whitelabel/body/mod-google-tag-manager-body.html +0 -5
- package/src/templates/_partials/scripts/gtm-whitelabel/body/non-mod-google-tag-manager-body.html +0 -5
- package/src/templates/_partials/scripts/gtm-whitelabel/head/mod-google-tag-manager-head.html +0 -10
- package/src/templates/_partials/scripts/gtm-whitelabel/head/non-mod-google-tag-manager-head.html +0 -9
- package/src/templates/_partials/scripts/gtm-wordpress/body/google-tag-manager-body.html +0 -5
- package/src/templates/_partials/scripts/gtm-wordpress/head/google-tag-manager-head.html +0 -9
- package/src/templates/_partials/scripts/visual-website-optimizer.html +0 -5
- package/src/templates/index.html +0 -46
- /package/{src → public}/favicon.ico +0 -0
package/src/data/common.js
DELETED
|
@@ -1,704 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @returns {Object}
|
|
3
|
-
* Form options, data and errors
|
|
4
|
-
* Ref: https://confluence.modernize.com/pages/viewpage.action?pageId=13406103
|
|
5
|
-
*/
|
|
6
|
-
var commonData = function() {
|
|
7
|
-
var data = {
|
|
8
|
-
year: new Date().getFullYear(),
|
|
9
|
-
tcpa: function(btnName, brandName, linkType, trade) {
|
|
10
|
-
var hrefLink = 'https://s3.amazonaws.com/home-solar-rebates/MasterList-companies.pdf';
|
|
11
|
-
var tcpaSpecificTrades = {
|
|
12
|
-
'home security': 'ADT, Protect Your Home, and SafeStreets',
|
|
13
|
-
'medical alert': 'ADT,',
|
|
14
|
-
'home warranty': null
|
|
15
|
-
};
|
|
16
|
-
var tcpaText;
|
|
17
|
-
|
|
18
|
-
if (!brandName) {
|
|
19
|
-
brandName = 'Home Improvement Leads';
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
if (linkType === 'qs-companies') {
|
|
23
|
-
hrefLink = 'https://hs.leadpost.net/clientList.jsp?c_level=default&aff=108809344';
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
if (tcpaSpecificTrades.hasOwnProperty(trade)) {
|
|
27
|
-
tcpaText = 'We respect your privacy and want to make you aware of a few things. By submitting, you authorize ' + brandName + ' and up to <a target="_blank" href="' + hrefLink + '">four ' + trade + '</a> companies' + (trade === 'home security' ? ' and partners' : '') + (tcpaSpecificTrades[trade] ? ', including ' + tcpaSpecificTrades[trade] : '') + ' to call you on the mobile or landline phone number provided. You understand that some may use automated dialing, prerecorded messages or SMS messages to contact you and that you are in no way required to purchase any products or services from them. It’s entirely your choice.';
|
|
28
|
-
} else {
|
|
29
|
-
tcpaText = 'By submitting this request, you authorize ' + brandName + ', our partners, and up to four <a href="' + hrefLink + '" target="_blank">home service companies</a> that can help with your project to call or text you on the phone number provided using autodialed and prerecorded calls or messages even if your number is on any federal, state, or local do not call list. Your consent to this agreement is not required to purchase products or services. We respect your privacy.';
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
return tcpaText;
|
|
33
|
-
},
|
|
34
|
-
formErrors: {
|
|
35
|
-
firstName: 'Please enter a valid first name.',
|
|
36
|
-
lastName: 'Please enter a valid last name.',
|
|
37
|
-
streetAddress: 'Please enter a valid address.',
|
|
38
|
-
city: 'Please enter a valid city.',
|
|
39
|
-
state: 'Please select a valid state.',
|
|
40
|
-
zip: 'Please enter a valid zip code.',
|
|
41
|
-
email: 'Please enter a valid email address.',
|
|
42
|
-
homePhone: 'Please enter a valid phone number.',
|
|
43
|
-
tradeQuestion: 'Pros need this information to generate a quote.'
|
|
44
|
-
},
|
|
45
|
-
// Solar form options
|
|
46
|
-
solar: {
|
|
47
|
-
shade: [
|
|
48
|
-
{
|
|
49
|
-
id: 'fullsun',
|
|
50
|
-
name: 'Full sun most of the day',
|
|
51
|
-
value: 'Full sun most of the day'
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
id: 'pmshade',
|
|
55
|
-
name: 'Partially Shaded',
|
|
56
|
-
value: 'PM shade only'
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 'alldayshade',
|
|
60
|
-
name: 'Shaded most of the day',
|
|
61
|
-
value: 'All day shade'
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
id: 'sunnotsure',
|
|
65
|
-
name: 'Not sure',
|
|
66
|
-
value: 'Full sun most of the day'
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
shadev2: [
|
|
70
|
-
{
|
|
71
|
-
id: 'fullsun',
|
|
72
|
-
name: 'Full sun most of the day',
|
|
73
|
-
value: 'Full sun most of the day'
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: 'alldayshade',
|
|
77
|
-
name: 'AM shade mostly',
|
|
78
|
-
value: 'All day shade'
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
id: 'pmshade',
|
|
82
|
-
name: 'PM shade mostly',
|
|
83
|
-
value: 'PM shade only'
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
id: 'sunnotsure',
|
|
87
|
-
name: 'Not sure',
|
|
88
|
-
value: 'Full sun most of the day'
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
electricBill: [
|
|
92
|
-
{
|
|
93
|
-
id: 'electricbill401',
|
|
94
|
-
name: '$401+',
|
|
95
|
-
value: '$401+'
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
id: 'electricbill301400',
|
|
99
|
-
name: '$301-400',
|
|
100
|
-
value: '$301-400'
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
id: 'electricbill201300',
|
|
104
|
-
name: '$201-300',
|
|
105
|
-
value: '$201-300'
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
id: 'electricbill101200',
|
|
109
|
-
name: '$101-200',
|
|
110
|
-
value: '$101-200'
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
id: 'electricbill0100',
|
|
114
|
-
name: '$0-100',
|
|
115
|
-
value: '$0-100'
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
// Windows form options
|
|
120
|
-
windows: {
|
|
121
|
-
repair: [
|
|
122
|
-
{
|
|
123
|
-
id: 'repairno',
|
|
124
|
-
name: 'Replace windows',
|
|
125
|
-
value: 'No'
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
id: 'repairglass',
|
|
129
|
-
name: 'Replace glass only',
|
|
130
|
-
value: 'Glass'
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
id: 'repairyes',
|
|
134
|
-
name: 'Repair frame / hardware',
|
|
135
|
-
value: 'Yes'
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
repairv2: [
|
|
139
|
-
{
|
|
140
|
-
id: 'repairno',
|
|
141
|
-
name: 'I need to replace my windows.',
|
|
142
|
-
value: 'No'
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
id: 'repairglass',
|
|
146
|
-
name: 'I need to repair window glass.',
|
|
147
|
-
value: 'Glass'
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
id: 'repairyes',
|
|
151
|
-
name: 'I need to repair a frame or hardware.',
|
|
152
|
-
value: 'Yes'
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
hear: [
|
|
156
|
-
{
|
|
157
|
-
id: '10windows',
|
|
158
|
-
name: '10+',
|
|
159
|
-
value: '10+ windows'
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
id: '69windows',
|
|
163
|
-
name: '6-9',
|
|
164
|
-
value: '6-9 windows'
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
id: '35windows',
|
|
168
|
-
name: '3-5',
|
|
169
|
-
value: '3-5 windows'
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
id: '2windows',
|
|
173
|
-
name: '2',
|
|
174
|
-
value: '2 windows'
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: '1window',
|
|
178
|
-
name: '1',
|
|
179
|
-
value: '1 window'
|
|
180
|
-
}
|
|
181
|
-
],
|
|
182
|
-
hearv2: [
|
|
183
|
-
{
|
|
184
|
-
id: '6windows',
|
|
185
|
-
name: '6+',
|
|
186
|
-
value: '6+ windows'
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
id: '35windows',
|
|
190
|
-
name: '3-5',
|
|
191
|
-
value: '3-5 windows'
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
id: '2windows',
|
|
195
|
-
name: '2',
|
|
196
|
-
value: '2 windows'
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
id: '1window',
|
|
200
|
-
name: '1',
|
|
201
|
-
value: '1 window'
|
|
202
|
-
}
|
|
203
|
-
],
|
|
204
|
-
hearv3: [
|
|
205
|
-
{
|
|
206
|
-
id: '10windows',
|
|
207
|
-
name: '10+',
|
|
208
|
-
value: '10+ windows'
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
id: '69windows',
|
|
212
|
-
name: '6-9',
|
|
213
|
-
value: '6-9 windows'
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
id: '35windows',
|
|
217
|
-
name: '3-5',
|
|
218
|
-
value: '3-5 windows'
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
id: '2windows',
|
|
222
|
-
name: '2',
|
|
223
|
-
value: '2 windows'
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
id: '1window',
|
|
227
|
-
name: '1',
|
|
228
|
-
value: '1 window'
|
|
229
|
-
}
|
|
230
|
-
],
|
|
231
|
-
style: [
|
|
232
|
-
{
|
|
233
|
-
id: 'singlehung',
|
|
234
|
-
name: 'Single hung',
|
|
235
|
-
value: 'Single hung'
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
id: 'doublehung',
|
|
239
|
-
name: 'Double hung',
|
|
240
|
-
value: 'Double hung'
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
id: 'casement',
|
|
244
|
-
name: 'Casement',
|
|
245
|
-
value: 'Casement'
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
id: 'bay',
|
|
249
|
-
name: 'Bay / Bow',
|
|
250
|
-
value: 'Bay'
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
id: 'awning',
|
|
254
|
-
name: 'Awning',
|
|
255
|
-
value: 'Awning'
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
id: 'sliding',
|
|
259
|
-
name: 'Sliding',
|
|
260
|
-
value: 'Sliding'
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
id: 'other',
|
|
264
|
-
name: 'Other',
|
|
265
|
-
value: 'Other'
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
// HVAC form options
|
|
270
|
-
hvac: {
|
|
271
|
-
project: [
|
|
272
|
-
{
|
|
273
|
-
id: 'projectreplace',
|
|
274
|
-
name: 'Install / Replace',
|
|
275
|
-
value: 'Heating and Cooling Installation'
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
id: 'projectrepair',
|
|
279
|
-
name: 'Repair',
|
|
280
|
-
value: 'Heating and Cooling Repair'
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
repair: [
|
|
284
|
-
{
|
|
285
|
-
id: 'repairno',
|
|
286
|
-
name: 'Install / Replace',
|
|
287
|
-
value: 'No'
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
id: 'repairyes',
|
|
291
|
-
name: 'Repair',
|
|
292
|
-
value: 'Yes'
|
|
293
|
-
}
|
|
294
|
-
],
|
|
295
|
-
repairv2: [
|
|
296
|
-
{
|
|
297
|
-
id: 'repairno',
|
|
298
|
-
name: 'I need to replace my unit.',
|
|
299
|
-
value: 'No'
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
id: 'repairyes',
|
|
303
|
-
name: 'I need to repair my unit.',
|
|
304
|
-
value: 'Yes'
|
|
305
|
-
}
|
|
306
|
-
],
|
|
307
|
-
hvacSystemTypes: [
|
|
308
|
-
{
|
|
309
|
-
id: 'centralheating',
|
|
310
|
-
name: 'Central Heating / Furnace',
|
|
311
|
-
value: 'Central Heating'
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
id: 'heatpump',
|
|
315
|
-
name: 'Heat Pump',
|
|
316
|
-
value: 'Heat Pump'
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
id: 'boiler',
|
|
320
|
-
name: 'Boiler / Radiator',
|
|
321
|
-
value: 'Boiler'
|
|
322
|
-
},
|
|
323
|
-
{
|
|
324
|
-
id: 'centralac',
|
|
325
|
-
name: 'Air Conditioner',
|
|
326
|
-
value: 'Central AC'
|
|
327
|
-
}
|
|
328
|
-
],
|
|
329
|
-
hvacSystemTypesv2: [
|
|
330
|
-
{
|
|
331
|
-
id: 'centralheating',
|
|
332
|
-
name: 'I need a furnace or central heating.',
|
|
333
|
-
value: 'Central Heating'
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
id: 'heatpump',
|
|
337
|
-
name: 'I need a heat pump.',
|
|
338
|
-
value: 'Heat Pump'
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
id: 'boiler',
|
|
342
|
-
name: 'I need a boiler or radiator.',
|
|
343
|
-
value: 'Boiler'
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
id: 'centralac',
|
|
347
|
-
name: 'I need an air conditioner.',
|
|
348
|
-
value: 'Central AC'
|
|
349
|
-
}
|
|
350
|
-
],
|
|
351
|
-
hvacSystemTypesv3: [
|
|
352
|
-
{
|
|
353
|
-
id: 'centralheating',
|
|
354
|
-
name: 'Furnace / Central Heating',
|
|
355
|
-
value: 'Central Heating'
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
id: 'heatpump',
|
|
359
|
-
name: 'Heat Pump',
|
|
360
|
-
value: 'Heat Pump'
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
id: 'boiler',
|
|
364
|
-
name: 'Boiler / Radiator',
|
|
365
|
-
value: 'Boiler'
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
id: 'centralac',
|
|
369
|
-
name: 'Air Conditioner',
|
|
370
|
-
value: 'Central AC'
|
|
371
|
-
}
|
|
372
|
-
],
|
|
373
|
-
hvacSystemTypesv4: [
|
|
374
|
-
{
|
|
375
|
-
id: 'centralheating',
|
|
376
|
-
name: 'I need a furnace or central heating.',
|
|
377
|
-
value: 'Central Heating'
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
id: 'heatpump',
|
|
381
|
-
name: 'I need a heat pump.',
|
|
382
|
-
value: 'Heat Pump'
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
id: 'boiler',
|
|
386
|
-
name: 'I need a boiler or radiator.',
|
|
387
|
-
value: 'Boiler'
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
id: 'centralac',
|
|
391
|
-
name: 'I need an air conditioner.',
|
|
392
|
-
value: 'Central AC'
|
|
393
|
-
}
|
|
394
|
-
],
|
|
395
|
-
hvacSystemFuelTypes: [
|
|
396
|
-
{
|
|
397
|
-
id: 'heatpump',
|
|
398
|
-
name: 'Heat Pump',
|
|
399
|
-
value: 'Heat Pump'
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
id: 'centralheating',
|
|
403
|
-
name: 'Furnace / Central Heating',
|
|
404
|
-
value: 'Central Heating Natural Gas Fired'
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
id: 'boiler',
|
|
408
|
-
name: 'Boiler / Radiator',
|
|
409
|
-
value: 'Boiler Natural Gas Fired'
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
id: 'centralac',
|
|
413
|
-
name: 'Air Conditioner',
|
|
414
|
-
value: 'Central AC'
|
|
415
|
-
}
|
|
416
|
-
],
|
|
417
|
-
hvacFuelTypes: [
|
|
418
|
-
{
|
|
419
|
-
id: 'naturalgasfired',
|
|
420
|
-
name: 'Natural Gas Fired',
|
|
421
|
-
value: 'Natural Gas Fired'
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
id: 'propanegasfired',
|
|
425
|
-
name: 'Propane Gas Fired',
|
|
426
|
-
value: 'Propane Gas Fired'
|
|
427
|
-
},
|
|
428
|
-
{
|
|
429
|
-
id: 'oilfired',
|
|
430
|
-
name: 'Oil Fired',
|
|
431
|
-
value: 'Oil Fired'
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
id: 'electricfired',
|
|
435
|
-
name: 'Electric Fired',
|
|
436
|
-
value: 'Electric Fired'
|
|
437
|
-
}
|
|
438
|
-
]
|
|
439
|
-
},
|
|
440
|
-
// Roofing form options
|
|
441
|
-
roofing: {
|
|
442
|
-
repair: [
|
|
443
|
-
{
|
|
444
|
-
id: 'repairno',
|
|
445
|
-
name: 'Replace',
|
|
446
|
-
value: 'No'
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
id: 'repairyes',
|
|
450
|
-
name: 'Repair',
|
|
451
|
-
value: 'Yes'
|
|
452
|
-
}
|
|
453
|
-
],
|
|
454
|
-
repairv2: [
|
|
455
|
-
{
|
|
456
|
-
id: 'repairno',
|
|
457
|
-
name: 'I need to replace my roof.',
|
|
458
|
-
value: 'No'
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
id: 'repairyes',
|
|
462
|
-
name: 'I need to repair my roof.',
|
|
463
|
-
value: 'Yes'
|
|
464
|
-
}
|
|
465
|
-
],
|
|
466
|
-
material: [
|
|
467
|
-
{
|
|
468
|
-
id: 'materialashpalt',
|
|
469
|
-
name: 'Asphalt Shingle',
|
|
470
|
-
value: 'Asphalt Shingle'
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
id: 'materialnatural',
|
|
474
|
-
name: 'Natural Slate',
|
|
475
|
-
value: 'Natural Slate'
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
id: 'materialwood',
|
|
479
|
-
name: 'Wood / Composite Shake',
|
|
480
|
-
value: 'Wood/Composite Shake'
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
id: 'materialtile',
|
|
484
|
-
name: 'Tile',
|
|
485
|
-
value: 'Tile'
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
id: 'materialflat',
|
|
489
|
-
name: 'Flat / Foam / Single Ply',
|
|
490
|
-
value: 'Flat/Foam/Single Ply'
|
|
491
|
-
}
|
|
492
|
-
]
|
|
493
|
-
},
|
|
494
|
-
// Handyman
|
|
495
|
-
handyman: {
|
|
496
|
-
timing: [
|
|
497
|
-
{
|
|
498
|
-
id: 'timing8hours',
|
|
499
|
-
name: '8 hours of work (full day)',
|
|
500
|
-
value: '8 hours'
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
id: 'timing4hours',
|
|
504
|
-
name: '4 hours of work (half day)',
|
|
505
|
-
value: '4 hours'
|
|
506
|
-
},
|
|
507
|
-
{
|
|
508
|
-
id: 'timing8hours',
|
|
509
|
-
name: '2 hours of work or less',
|
|
510
|
-
value: '2 hours'
|
|
511
|
-
}
|
|
512
|
-
],
|
|
513
|
-
job: [
|
|
514
|
-
{
|
|
515
|
-
id: 'jobinstallation',
|
|
516
|
-
name: 'Installation',
|
|
517
|
-
value: 'Installation'
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
id: 'jobassembly',
|
|
521
|
-
name: 'Assembly',
|
|
522
|
-
value: 'Assembly'
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
id: 'jobrepairs',
|
|
526
|
-
name: 'Repairs',
|
|
527
|
-
value: 'Repairs'
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
id: 'jobmaintenance',
|
|
531
|
-
name: 'Maintenance',
|
|
532
|
-
value: 'Maintenance'
|
|
533
|
-
}
|
|
534
|
-
]
|
|
535
|
-
},
|
|
536
|
-
// Siding form options
|
|
537
|
-
siding: {
|
|
538
|
-
repair: [
|
|
539
|
-
{
|
|
540
|
-
id: 'repairno',
|
|
541
|
-
name: 'Replace siding',
|
|
542
|
-
value: 'No'
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
id: 'repairyes',
|
|
546
|
-
name: 'Repair siding',
|
|
547
|
-
value: 'Yes'
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
id: 'repairno',
|
|
551
|
-
name: 'Siding for a new home / addition',
|
|
552
|
-
value: 'No'
|
|
553
|
-
}
|
|
554
|
-
],
|
|
555
|
-
repairv2: [
|
|
556
|
-
{
|
|
557
|
-
id: 'repairno',
|
|
558
|
-
name: 'I need to replace my siding',
|
|
559
|
-
value: 'No'
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
id: 'repairyes',
|
|
563
|
-
name: 'I need to repair my siding',
|
|
564
|
-
value: 'Yes'
|
|
565
|
-
},
|
|
566
|
-
{
|
|
567
|
-
id: 'repairno',
|
|
568
|
-
name: 'I need siding for a new home or addition',
|
|
569
|
-
value: 'No'
|
|
570
|
-
}
|
|
571
|
-
],
|
|
572
|
-
repairv3: [
|
|
573
|
-
{
|
|
574
|
-
id: 'repairno',
|
|
575
|
-
name: 'I need to replace my siding',
|
|
576
|
-
value: 'No'
|
|
577
|
-
},
|
|
578
|
-
{
|
|
579
|
-
id: 'repairyes',
|
|
580
|
-
name: 'I need to repair my siding',
|
|
581
|
-
value: 'Yes'
|
|
582
|
-
}
|
|
583
|
-
],
|
|
584
|
-
material: [
|
|
585
|
-
{
|
|
586
|
-
id: 'vinyl',
|
|
587
|
-
name: 'Vinyl',
|
|
588
|
-
value: 'Vinyl'
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
id: 'woodfiber',
|
|
592
|
-
name: 'Wood/Fiber Cement',
|
|
593
|
-
value: 'Wood/Fiber Cement'
|
|
594
|
-
},
|
|
595
|
-
{
|
|
596
|
-
id: 'brickface',
|
|
597
|
-
name: 'Brickface',
|
|
598
|
-
value: 'Brickface'
|
|
599
|
-
},
|
|
600
|
-
{
|
|
601
|
-
id: 'stoneface',
|
|
602
|
-
name: 'Stoneface',
|
|
603
|
-
value: 'Stoneface'
|
|
604
|
-
},
|
|
605
|
-
{
|
|
606
|
-
id: 'stucco',
|
|
607
|
-
name: 'Stucco',
|
|
608
|
-
value: 'Stucco'
|
|
609
|
-
}
|
|
610
|
-
],
|
|
611
|
-
stories: [
|
|
612
|
-
{
|
|
613
|
-
id: 'onestory',
|
|
614
|
-
name: 'One story',
|
|
615
|
-
value: 'One story'
|
|
616
|
-
},
|
|
617
|
-
{
|
|
618
|
-
id: 'twostory',
|
|
619
|
-
name: 'Two story',
|
|
620
|
-
value: 'Two story'
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
id: 'threestroyplus',
|
|
624
|
-
name: 'Three stories or more',
|
|
625
|
-
value: 'Three stories or more'
|
|
626
|
-
}
|
|
627
|
-
],
|
|
628
|
-
storiesv2: [
|
|
629
|
-
{
|
|
630
|
-
id: 'onestory',
|
|
631
|
-
name: 'One story',
|
|
632
|
-
value: 'One story'
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
id: 'twostory',
|
|
636
|
-
name: 'Two stories',
|
|
637
|
-
value: 'Two story'
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
id: 'threestroyplus',
|
|
641
|
-
name: 'Three or more stories',
|
|
642
|
-
value: 'Three stories or more'
|
|
643
|
-
}
|
|
644
|
-
]
|
|
645
|
-
},
|
|
646
|
-
// States
|
|
647
|
-
states: [
|
|
648
|
-
{ value: 'AL', name: 'Alabama' },
|
|
649
|
-
{ value: 'AK', name: 'Alaska' },
|
|
650
|
-
{ value: 'AZ', name: 'Arizona' },
|
|
651
|
-
{ value: 'AR', name: 'Arkansas' },
|
|
652
|
-
{ value: 'CA', name: 'California' },
|
|
653
|
-
{ value: 'CO', name: 'Colorado' },
|
|
654
|
-
{ value: 'CT', name: 'Connecticut' },
|
|
655
|
-
{ value: 'DE', name: 'Delaware' },
|
|
656
|
-
{ value: 'DC', name: 'District of Columbia' },
|
|
657
|
-
{ value: 'FL', name: 'Florida' },
|
|
658
|
-
{ value: 'GA', name: 'Georgia' },
|
|
659
|
-
{ value: 'HI', name: 'Hawaii' },
|
|
660
|
-
{ value: 'ID', name: 'Idaho' },
|
|
661
|
-
{ value: 'IL', name: 'Illinois' },
|
|
662
|
-
{ value: 'IN', name: 'Indiana' },
|
|
663
|
-
{ value: 'IA', name: 'Iowa' },
|
|
664
|
-
{ value: 'KS', name: 'Kansas' },
|
|
665
|
-
{ value: 'KY', name: 'Kentucky' },
|
|
666
|
-
{ value: 'LA', name: 'Louisiana' },
|
|
667
|
-
{ value: 'ME', name: 'Maine' },
|
|
668
|
-
{ value: 'MD', name: 'Maryland' },
|
|
669
|
-
{ value: 'MA', name: 'Massachusetts' },
|
|
670
|
-
{ value: 'MI', name: 'Michigan' },
|
|
671
|
-
{ value: 'MN', name: 'Minnesota' },
|
|
672
|
-
{ value: 'MS', name: 'Mississippi' },
|
|
673
|
-
{ value: 'MO', name: 'Missouri' },
|
|
674
|
-
{ value: 'MT', name: 'Montana' },
|
|
675
|
-
{ value: 'NE', name: 'Nebraska' },
|
|
676
|
-
{ value: 'NV', name: 'Nevada' },
|
|
677
|
-
{ value: 'NH', name: 'New Hampshire' },
|
|
678
|
-
{ value: 'NJ', name: 'New Jersey' },
|
|
679
|
-
{ value: 'NM', name: 'New Mexico' },
|
|
680
|
-
{ value: 'NY', name: 'New York' },
|
|
681
|
-
{ value: 'NC', name: 'North Carolina' },
|
|
682
|
-
{ value: 'ND', name: 'North Dakota' },
|
|
683
|
-
{ value: 'OH', name: 'Ohio' },
|
|
684
|
-
{ value: 'OK', name: 'Oklahoma' },
|
|
685
|
-
{ value: 'OR', name: 'Oregon' },
|
|
686
|
-
{ value: 'PA', name: 'Pennsylvania' },
|
|
687
|
-
{ value: 'RI', name: 'Rhode Island' },
|
|
688
|
-
{ value: 'SC', name: 'South Carolina' },
|
|
689
|
-
{ value: 'SD', name: 'South Dakota' },
|
|
690
|
-
{ value: 'TN', name: 'Tennessee' },
|
|
691
|
-
{ value: 'TX', name: 'Texas' },
|
|
692
|
-
{ value: 'UT', name: 'Utah' },
|
|
693
|
-
{ value: 'VT', name: 'Vermont' },
|
|
694
|
-
{ value: 'VA', name: 'Virginia' },
|
|
695
|
-
{ value: 'WA', name: 'Washington' },
|
|
696
|
-
{ value: 'WV', name: 'West Virginia' },
|
|
697
|
-
{ value: 'WI', name: 'Wisconsin' },
|
|
698
|
-
{ value: 'WY', name: 'Wyoming' }
|
|
699
|
-
]
|
|
700
|
-
};
|
|
701
|
-
|
|
702
|
-
return data;
|
|
703
|
-
};
|
|
704
|
-
module.exports = commonData;
|