bhl-forms 0.11.8 → 0.11.10
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 +172 -0
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +390 -1
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.json +1 -1
- package/dist/forms/appraisals.es.js +389 -0
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +380 -0
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +389 -0
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +111 -4
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/civilLawsuit.es.js +106 -3
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/coins.es.js +389 -0
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +389 -0
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +110 -4
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +111 -4
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +160 -0
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/foreclosure.es.js +372 -0
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +389 -0
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +389 -0
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +389 -0
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +389 -0
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +58 -0
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +389 -0
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +58 -0
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.es.js +58 -0
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +4579 -0
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -0
- package/dist/forms/generalLegalSingle1to1.json +1 -0
- package/dist/forms/generalLegalSingleMinimal.es.js +389 -0
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.es.js +389 -0
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +58 -0
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +389 -0
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +389 -0
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +389 -0
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +389 -0
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +112 -5
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/realEstate.es.js +389 -0
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +389 -0
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +389 -0
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +389 -0
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +389 -0
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +389 -0
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +389 -0
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/windows.es.js +389 -0
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +380 -0
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,4579 @@
|
|
|
1
|
+
function merge() {
|
|
2
|
+
return Object.assign({}, ...arguments)
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
function LegalRedirectUrl() {
|
|
6
|
+
return 'https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}'
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL =
|
|
10
|
+
'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
|
|
11
|
+
const DEFAULT_COMMENTS_LABEL_LEGAL = "Please briefly describe your legal issue in a few words:";
|
|
12
|
+
const DEFAULT_FINAL_HEADLINE_LEGAL = "Connect With The Legal Help You Deserve";
|
|
13
|
+
const DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL =
|
|
14
|
+
'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
|
|
15
|
+
const DEFAULT_FINAL_SUBHEADLINE_LEGAL = "Get a no-obligation consultation with a legal expert.";
|
|
16
|
+
const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL =
|
|
17
|
+
'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
18
|
+
const TCPA_LANGUAGE_LEGAL =
|
|
19
|
+
"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, 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. To submit this request without this consent, call 878-213-4937.";
|
|
20
|
+
|
|
21
|
+
// ------ Common Base Settings
|
|
22
|
+
|
|
23
|
+
const ensureIds = (cfg) => {
|
|
24
|
+
if (cfg.name && !cfg.id) {
|
|
25
|
+
cfg.id = cfg.name;
|
|
26
|
+
}
|
|
27
|
+
return cfg
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const checkbox = (updates) => {
|
|
31
|
+
ensureIds(updates);
|
|
32
|
+
return merge(
|
|
33
|
+
{
|
|
34
|
+
$formkit: "checkbox",
|
|
35
|
+
validation: "required",
|
|
36
|
+
validationMessages: {
|
|
37
|
+
required: "Field is required",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
updates
|
|
41
|
+
)
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const verticalCheckbox = (updates) => {
|
|
45
|
+
if (!updates || !updates.legendClass) {
|
|
46
|
+
updates.legendClass = "required";
|
|
47
|
+
}
|
|
48
|
+
updates.fieldsetClass = "$reset";
|
|
49
|
+
updates.optionsClass = "t-pl-2 t-pt-3";
|
|
50
|
+
updates.innerClass = "t-items-center";
|
|
51
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
52
|
+
return checkbox(updates)
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const sbsCheckbox = (updates) => {
|
|
56
|
+
updates.legendClass = "legend-left required";
|
|
57
|
+
updates.fieldsetClass = "$reset side-by-side";
|
|
58
|
+
updates.optionsClass = "t-pl-1";
|
|
59
|
+
updates.innerClass = "t-flex t-items-center";
|
|
60
|
+
updates.wrapperClass = "t-mb-3";
|
|
61
|
+
return checkbox(updates)
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
const col2Checkbox = (updates) => {
|
|
65
|
+
if (!updates || !updates.legendClass) {
|
|
66
|
+
updates.legendClass = "required";
|
|
67
|
+
}
|
|
68
|
+
updates.fieldsetClass = "$reset";
|
|
69
|
+
updates.optionsClass = "t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2";
|
|
70
|
+
updates.innerClass = "t-items-start";
|
|
71
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
72
|
+
return checkbox(updates)
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
const verticalCol2Checkbox = (updates) => {
|
|
76
|
+
if (!updates || !updates.legendClass) {
|
|
77
|
+
updates.legendClass = "required t-w-[100%] t-text-center";
|
|
78
|
+
}
|
|
79
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center t-flex-col";
|
|
80
|
+
updates.innerClass = "t-items-start";
|
|
81
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
82
|
+
updates.optionClass = "t-pl-4 md:t-pl-16 md:t-min-w-[200px]";
|
|
83
|
+
updates.optionsClass = "t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2";
|
|
84
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
85
|
+
updates.helpClass = "t-mt-0 t-mb-4 !t-text-sm t-text-center";
|
|
86
|
+
return checkbox(updates)
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
const radio = (updates) => {
|
|
90
|
+
ensureIds(updates);
|
|
91
|
+
return merge(
|
|
92
|
+
{
|
|
93
|
+
$formkit: "radio",
|
|
94
|
+
validation: "required",
|
|
95
|
+
validationMessages: {
|
|
96
|
+
required: "Field is required",
|
|
97
|
+
},
|
|
98
|
+
optionsClass: "t-pt-3 t-pl-1",
|
|
99
|
+
legendClass: "required",
|
|
100
|
+
},
|
|
101
|
+
updates
|
|
102
|
+
)
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const col2Radio = (updates) => {
|
|
106
|
+
updates.legendClass = "required";
|
|
107
|
+
updates.fieldsetClass = "$reset";
|
|
108
|
+
updates.optionsClass = "t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2";
|
|
109
|
+
updates.innerClass = "t-items-start";
|
|
110
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
111
|
+
return radio(updates)
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
// TODO: rename
|
|
115
|
+
const col2RadioCenter = (updates) => {
|
|
116
|
+
updates.legendClass = "required t-w-[100%] t-text-center";
|
|
117
|
+
if (typeof updates.fieldsetClass === "undefined") {
|
|
118
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center";
|
|
119
|
+
}
|
|
120
|
+
updates.innerClass = "t-items-start";
|
|
121
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
122
|
+
updates.optionClass = "t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]";
|
|
123
|
+
updates.optionsClass = "t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2";
|
|
124
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
125
|
+
updates.helpClass = "t-mt-0 t-mb-4 !t-text-sm t-text-center";
|
|
126
|
+
return radio(updates)
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
const sbsRadio = (updates) => {
|
|
130
|
+
updates.legendClass = "legend-left required";
|
|
131
|
+
updates.fieldsetClass = "$reset side-by-side";
|
|
132
|
+
updates.optionsClass = "t-pl-1";
|
|
133
|
+
updates.innerClass = "t-flex t-items-center";
|
|
134
|
+
updates.wrapperClass = "t-mb-3";
|
|
135
|
+
return radio(updates)
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
const sbs2ColRadio = (updates) => {
|
|
139
|
+
updates.legendClass = "legend-left-flex md:t-max-w-[40%] required";
|
|
140
|
+
updates.fieldsetClass = "$reset side-by-side-flex";
|
|
141
|
+
updates.optionsClass = "md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125";
|
|
142
|
+
updates.innerClass = "t-flex t-items-start";
|
|
143
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
144
|
+
return radio(updates)
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
const sbs2ItemRadio = (updates) => {
|
|
148
|
+
updates.legendClass = "legend-left t-pb-1 required";
|
|
149
|
+
updates.fieldsetClass = "$reset side-by-side t-items-center";
|
|
150
|
+
updates.optionsClass = "t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center";
|
|
151
|
+
updates.innerClass = "t-flex t-items-center";
|
|
152
|
+
updates.optionClass = "t-pr-1";
|
|
153
|
+
return radio(updates)
|
|
154
|
+
};
|
|
155
|
+
|
|
156
|
+
const sbsYesNoRadio = (updates) => {
|
|
157
|
+
updates.options = ["Yes", "No"];
|
|
158
|
+
return sbs2ItemRadio(updates)
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
const verticalButtonRadio = (updates) => {
|
|
162
|
+
updates.legendClass = "legend-left";
|
|
163
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center t-flex-col-reverse t-items-center";
|
|
164
|
+
if (typeof updates.optionsClass === "undefined") {
|
|
165
|
+
updates.optionsClass = "t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3";
|
|
166
|
+
}
|
|
167
|
+
updates.optionClass = "radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5";
|
|
168
|
+
updates.wrapperClass = "$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]";
|
|
169
|
+
updates.labelClass = "t-font-semibold t-text-[#1e448f] t-w-[100%]";
|
|
170
|
+
updates.decoratorIcon = false;
|
|
171
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
172
|
+
updates.helpClass = "t-mt-2.5 !t-text-sm t-text-center";
|
|
173
|
+
return radio(updates)
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
const verticalYesNoRadio = (updates) => {
|
|
177
|
+
updates.options = ["Yes", "No"];
|
|
178
|
+
updates.optionsClass = "t-flex t-justify-center t-my-3";
|
|
179
|
+
return verticalButtonRadio(updates)
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
const verticalRadio = (updates) => {
|
|
183
|
+
updates.legendClass = "required";
|
|
184
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center";
|
|
185
|
+
updates.optionsClass = "t-pl-2 t-pt-3";
|
|
186
|
+
updates.innerClass = "t-items-center";
|
|
187
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
188
|
+
updates.optionClass = "t-pl-4 md:t-pl-12";
|
|
189
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
190
|
+
return radio(updates)
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
const select = (updates) => {
|
|
194
|
+
ensureIds(updates);
|
|
195
|
+
return merge(
|
|
196
|
+
{
|
|
197
|
+
$formkit: "select",
|
|
198
|
+
placeholder: "Please Select",
|
|
199
|
+
validation: "required",
|
|
200
|
+
validationMessages: {
|
|
201
|
+
required: "Field is required",
|
|
202
|
+
},
|
|
203
|
+
inputClass: "t-bg-white",
|
|
204
|
+
labelClass: "required",
|
|
205
|
+
},
|
|
206
|
+
updates
|
|
207
|
+
)
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
const sbsSelect = (updates) => {
|
|
211
|
+
updates.labelClass = "required";
|
|
212
|
+
updates.wrapperClass = "side-by-side t-items-center";
|
|
213
|
+
updates.innerClass = "select-height-content";
|
|
214
|
+
updates.helpClass = "t-mt-2.5 md:t-text-right md:t-mt-[-5px]";
|
|
215
|
+
return select(updates)
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
const verticalSelect = (updates) => {
|
|
219
|
+
updates.labelClass = "required";
|
|
220
|
+
updates.wrapperClass = "t-flex t-justify-center";
|
|
221
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
222
|
+
updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
|
|
223
|
+
updates.helpClass = "t-mt-2.5 t-text-center";
|
|
224
|
+
return select(updates)
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
const text = (updates) => {
|
|
228
|
+
ensureIds(updates);
|
|
229
|
+
return merge(
|
|
230
|
+
{
|
|
231
|
+
$formkit: "text",
|
|
232
|
+
validation: "required",
|
|
233
|
+
validationMessages: {
|
|
234
|
+
required: "Field is required",
|
|
235
|
+
},
|
|
236
|
+
labelClass: "required",
|
|
237
|
+
},
|
|
238
|
+
updates
|
|
239
|
+
)
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
const sbsText = (updates) => {
|
|
243
|
+
updates.wrapperClass = "side-by-side t-items-center";
|
|
244
|
+
return text(updates)
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
const verticalText = (updates) => {
|
|
248
|
+
updates.wrapperClass = "t-flex t-justify-center";
|
|
249
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
250
|
+
updates.inputClass = "t-text-center";
|
|
251
|
+
updates.helpClass = "t-mt-2.5 !t-text-sm t-text-center";
|
|
252
|
+
return text(updates)
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
const textArea = (updates) => {
|
|
256
|
+
ensureIds(updates);
|
|
257
|
+
return merge(
|
|
258
|
+
{
|
|
259
|
+
$formkit: "textarea",
|
|
260
|
+
rows: 5,
|
|
261
|
+
maxlength: 500,
|
|
262
|
+
validation: "required",
|
|
263
|
+
validationMessages: {
|
|
264
|
+
required: "Field is required",
|
|
265
|
+
},
|
|
266
|
+
innerClass: "t-max-w-xl",
|
|
267
|
+
labelClass: "required",
|
|
268
|
+
},
|
|
269
|
+
updates
|
|
270
|
+
)
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
const date = (updates) => {
|
|
274
|
+
ensureIds(updates);
|
|
275
|
+
return merge(
|
|
276
|
+
{
|
|
277
|
+
$formkit: "DatePicker",
|
|
278
|
+
validation: "required",
|
|
279
|
+
validationMessages: {
|
|
280
|
+
required: "Field is required",
|
|
281
|
+
},
|
|
282
|
+
labelClass: "required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",
|
|
283
|
+
innerClass:
|
|
284
|
+
"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500",
|
|
285
|
+
},
|
|
286
|
+
updates
|
|
287
|
+
)
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
const sbsDate = (updates) => {
|
|
291
|
+
updates.wrapperClass = "side-by-side t-items-center";
|
|
292
|
+
return date(updates)
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
const verticalDate = (updates) => {
|
|
296
|
+
updates.wrapperClass = "t-flex t-justify-center";
|
|
297
|
+
updates.inputClass = "t-text-center";
|
|
298
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
299
|
+
return date(updates)
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
const emailFL = (scope, updates = {}) => {
|
|
303
|
+
return text({
|
|
304
|
+
$formkit: "FloatingLabelText",
|
|
305
|
+
name: scope ? scope + ":" + "Email" : "Email",
|
|
306
|
+
placeholder: "Email Address",
|
|
307
|
+
autocomplete: "email",
|
|
308
|
+
"data-tf-sensitive": "false",
|
|
309
|
+
validation: "required|email",
|
|
310
|
+
validationMessages: {
|
|
311
|
+
required: "Email is required",
|
|
312
|
+
email: "Invalid Email",
|
|
313
|
+
},
|
|
314
|
+
inputClass: "t-text-center",
|
|
315
|
+
wrapperClass: "t-flex t-justify-center",
|
|
316
|
+
...updates,
|
|
317
|
+
})
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
const firstNameFL = (scope, updates = {}) => {
|
|
321
|
+
return text({
|
|
322
|
+
$formkit: "FloatingLabelText",
|
|
323
|
+
placeholder: "First Name",
|
|
324
|
+
name: scope ? scope + ":" + "First_Name" : "First_Name",
|
|
325
|
+
autocomplete: "given-name",
|
|
326
|
+
validationMessages: {
|
|
327
|
+
required: "First Name is required",
|
|
328
|
+
},
|
|
329
|
+
inputClass: "t-text-center",
|
|
330
|
+
...updates,
|
|
331
|
+
})
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
const lastNameFL = (scope, updates = {}) => {
|
|
335
|
+
return text({
|
|
336
|
+
$formkit: "FloatingLabelText",
|
|
337
|
+
placeholder: "Last Name",
|
|
338
|
+
name: scope ? scope + ":" + "Last_Name" : "Last_Name",
|
|
339
|
+
autocomplete: "family-name",
|
|
340
|
+
validationMessages: {
|
|
341
|
+
required: "Last Name is required",
|
|
342
|
+
},
|
|
343
|
+
inputClass: "t-text-center",
|
|
344
|
+
...updates,
|
|
345
|
+
})
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
const fullNameFLMobileCol = (scope, updates = {}) => {
|
|
349
|
+
return {
|
|
350
|
+
$el: "div",
|
|
351
|
+
attrs: {
|
|
352
|
+
class: "t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]",
|
|
353
|
+
},
|
|
354
|
+
children: [
|
|
355
|
+
firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
356
|
+
lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
357
|
+
],
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
const phoneFL = (scope, updates = {}) => {
|
|
362
|
+
return text({
|
|
363
|
+
$formkit: "FloatingLabelText",
|
|
364
|
+
datatype: "tel",
|
|
365
|
+
name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
|
|
366
|
+
placeholder: updates.placeholder || "Phone Number",
|
|
367
|
+
maxlength: 14,
|
|
368
|
+
help: updates.help || null,
|
|
369
|
+
autocomplete: "tel-national",
|
|
370
|
+
"data-tf-sensitive": "false",
|
|
371
|
+
validation: "required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",
|
|
372
|
+
validationMessages: {
|
|
373
|
+
required: "Phone Number is required",
|
|
374
|
+
matches: "Invalid Phone Format, use (XXX) YYY-ZZZZ",
|
|
375
|
+
valid_phone: "Invalid Phone Number",
|
|
376
|
+
},
|
|
377
|
+
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
|
|
378
|
+
inputClass: "t-text-center",
|
|
379
|
+
wrapperClass: "t-flex t-justify-center",
|
|
380
|
+
...updates,
|
|
381
|
+
})
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
const zipcode$1 = (scope, vertical, updates = {}) => {
|
|
385
|
+
const func = vertical ? verticalText : sbsText;
|
|
386
|
+
const label = vertical ? updates.label : "Zip Code:";
|
|
387
|
+
const help = vertical ? updates.help ?? "We try to match you with local help" : null;
|
|
388
|
+
return func({
|
|
389
|
+
label,
|
|
390
|
+
help,
|
|
391
|
+
placeholder: "#####",
|
|
392
|
+
name: scope ? scope + ":" + "Zip" : "Zip",
|
|
393
|
+
maxlength: 5,
|
|
394
|
+
inputmode: "numeric",
|
|
395
|
+
autocomplete: "postal-code",
|
|
396
|
+
validation: "required|matches:/^[0-9]{5}$/",
|
|
397
|
+
validationMessages: {
|
|
398
|
+
required: "Zip Code is required",
|
|
399
|
+
matches: "Invalid Zip Code",
|
|
400
|
+
},
|
|
401
|
+
...updates,
|
|
402
|
+
})
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
const amountPaymentsPastDue$1 = (scope, vertical, updates = {}) => {
|
|
406
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
407
|
+
const label = vertical ? updates.label : "Total Amount of Payments that are Past Due:";
|
|
408
|
+
return func(
|
|
409
|
+
merge(
|
|
410
|
+
{
|
|
411
|
+
label,
|
|
412
|
+
name: scope ? scope + ":" + "Amount_Payments_Past_Due" : "Amount_Payments_Past_Due",
|
|
413
|
+
options: [
|
|
414
|
+
"$0 - $499",
|
|
415
|
+
"$500 - $999",
|
|
416
|
+
"$1,000 - $2,499",
|
|
417
|
+
"$2,500 - $4,999",
|
|
418
|
+
"$5,000 - $9,999",
|
|
419
|
+
"$10,000 - $24,999",
|
|
420
|
+
"$25,000 - $49,999",
|
|
421
|
+
"$50,000 - $99,999",
|
|
422
|
+
"More than $100,000",
|
|
423
|
+
],
|
|
424
|
+
},
|
|
425
|
+
updates
|
|
426
|
+
)
|
|
427
|
+
)
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
const applicantOccupation$1 = (scope, vertical, updates = {}) => {
|
|
431
|
+
const func = vertical ? verticalText : sbsText;
|
|
432
|
+
const label = vertical ? updates.label : "What is the Applicant's Occupation?";
|
|
433
|
+
return func(
|
|
434
|
+
merge(
|
|
435
|
+
{
|
|
436
|
+
label,
|
|
437
|
+
placeholder: "Occupation",
|
|
438
|
+
name: scope ? scope + ":" + "Applicant_Occupation" : "Applicant_Occupation",
|
|
439
|
+
},
|
|
440
|
+
updates
|
|
441
|
+
)
|
|
442
|
+
)
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
const applicantAge$1 = (scope, vertical, updates = {}) => {
|
|
446
|
+
const func = vertical ? verticalText : sbsText;
|
|
447
|
+
const label = vertical ? updates.label : "Age of Applicant?";
|
|
448
|
+
const value = vertical ? updates.value ?? "50" : null;
|
|
449
|
+
return func(
|
|
450
|
+
merge({
|
|
451
|
+
label,
|
|
452
|
+
placeholder: "Age between 18 and 65",
|
|
453
|
+
name: scope ? scope + ":" + "Applicant_Age" : "Applicant_Age",
|
|
454
|
+
value,
|
|
455
|
+
maxlength: 2,
|
|
456
|
+
inputmode: "numeric",
|
|
457
|
+
validation: "required|min:18,max:65",
|
|
458
|
+
validationMessages: {
|
|
459
|
+
required: "Applicant Age is required",
|
|
460
|
+
min: "Invalid Age - must be between 18 and 65",
|
|
461
|
+
max: "Invalid Age - must be between 18 and 65",
|
|
462
|
+
},
|
|
463
|
+
...updates,
|
|
464
|
+
})
|
|
465
|
+
)
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
const applicantDisabilityHowObtain$1 = (scope, vertical, updates = {}) => {
|
|
469
|
+
const func = vertical ? verticalButtonRadio : sbsSelect;
|
|
470
|
+
const label = vertical ? updates.label : "How Did Applicant Obtain the Disability Policy?";
|
|
471
|
+
return func(
|
|
472
|
+
merge(
|
|
473
|
+
{
|
|
474
|
+
label,
|
|
475
|
+
name: scope ? scope + ":" + "Applicant_Disability_How_Obtain" : "Applicant_Disability_How_Obtain",
|
|
476
|
+
options: ["Employer", "Self", "Other"],
|
|
477
|
+
},
|
|
478
|
+
updates
|
|
479
|
+
)
|
|
480
|
+
)
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
const applicantPreviouslyAppliedLtdBenefits$1 = (scope, vertical, updates = {}) => {
|
|
484
|
+
const func = vertical ? verticalRadio : sbsRadio;
|
|
485
|
+
const label = vertical ? updates.label : "Has Applicant Previously Applied for Long Term Disability Benefits?";
|
|
486
|
+
return func(
|
|
487
|
+
merge(
|
|
488
|
+
{
|
|
489
|
+
label,
|
|
490
|
+
name: scope
|
|
491
|
+
? scope + ":" + "Applicant_Previously_Apply_Ltd_Benefits"
|
|
492
|
+
: "Applicant_Previously_Apply_Ltd_Benefits",
|
|
493
|
+
options: ["Yes, claim pending", "Yes, claim denied", "No"],
|
|
494
|
+
},
|
|
495
|
+
updates
|
|
496
|
+
)
|
|
497
|
+
)
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
const applicantMonthlySalary$1 = (scope, vertical, updates = {}) => {
|
|
501
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
502
|
+
const label = vertical ? updates.label : "Applicant's Monthly Salary/Pay When Last at Work:";
|
|
503
|
+
return func(
|
|
504
|
+
merge(
|
|
505
|
+
{
|
|
506
|
+
label,
|
|
507
|
+
name: scope ? scope + ":" + "Applicant_Monthly_Salary" : "Applicant_Monthly_Salary",
|
|
508
|
+
options: [
|
|
509
|
+
"< $1,000",
|
|
510
|
+
"$1,000 - $2,000",
|
|
511
|
+
"$2,000 - $3,000",
|
|
512
|
+
"$3,000 - $4,000",
|
|
513
|
+
"$4,000 - $5,000",
|
|
514
|
+
"$5,000 - $6,000",
|
|
515
|
+
"$6,000 - $7,000",
|
|
516
|
+
"$7,000 - $8,000",
|
|
517
|
+
"$8,000 - $9,000",
|
|
518
|
+
"$9,000 - $10,000",
|
|
519
|
+
">$10,000",
|
|
520
|
+
],
|
|
521
|
+
},
|
|
522
|
+
updates
|
|
523
|
+
)
|
|
524
|
+
)
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
const applicantReceivedDisabilityBenefits$1 = (scope, vertical, updates = {}) => {
|
|
528
|
+
const func = vertical ? verticalRadio : sbsRadio;
|
|
529
|
+
const label = vertical
|
|
530
|
+
? updates.label
|
|
531
|
+
: "Has Applicant Ever Received Long Term Disability Benefits for this Claim?";
|
|
532
|
+
return func(
|
|
533
|
+
merge(
|
|
534
|
+
{
|
|
535
|
+
label,
|
|
536
|
+
name: scope ? scope + ":" + "Applicant_Received_Disability_Benefits" : "Applicant_Received_Disability_Benefits",
|
|
537
|
+
options: ["Yes, currently receiving", "Yes, appealing a decision to stop payment of benefits", "No"],
|
|
538
|
+
},
|
|
539
|
+
updates
|
|
540
|
+
)
|
|
541
|
+
)
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
const applicantLTDisabilityPolicy$1 = (scope, vertical, updates = {}) => {
|
|
545
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
546
|
+
const label = vertical ? updates.label : "Does Applicant have a Long Term Disability Policy?";
|
|
547
|
+
return func(
|
|
548
|
+
merge(
|
|
549
|
+
{
|
|
550
|
+
label,
|
|
551
|
+
name: scope ? scope + ":" + "Applicant_Lt_Disability_Policy" : "Applicant_Lt_Disability_Policy",
|
|
552
|
+
},
|
|
553
|
+
updates
|
|
554
|
+
)
|
|
555
|
+
)
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
const atFault$1 = (scope, vertical, updates = {}) => {
|
|
559
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
560
|
+
const label = vertical ? updates.label : "Were You at Fault?";
|
|
561
|
+
return func(
|
|
562
|
+
merge(
|
|
563
|
+
{
|
|
564
|
+
label,
|
|
565
|
+
name: scope ? scope + ":" + "At_Fault" : "At_Fault",
|
|
566
|
+
},
|
|
567
|
+
updates
|
|
568
|
+
)
|
|
569
|
+
)
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
const bloodContentAlcoholTest$1 = (scope, vertical, updates = {}) => {
|
|
573
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
574
|
+
const label = vertical ? updates.label : "Blood Alcohol Content Measured by Test:";
|
|
575
|
+
return func(
|
|
576
|
+
merge(
|
|
577
|
+
{
|
|
578
|
+
label,
|
|
579
|
+
name: scope ? scope + ":" + "Blood_Alcohol_Content_Test" : "Blood_Alcohol_Content_Test",
|
|
580
|
+
options: [
|
|
581
|
+
"No Test",
|
|
582
|
+
"0.00% - 0.04%",
|
|
583
|
+
"0.05% - 0.08%",
|
|
584
|
+
"0.09% - 0.12%",
|
|
585
|
+
"0.13% - 0.16%",
|
|
586
|
+
"0.17% - 0.20%",
|
|
587
|
+
"More than 0.20%",
|
|
588
|
+
"Don't know",
|
|
589
|
+
],
|
|
590
|
+
},
|
|
591
|
+
updates
|
|
592
|
+
)
|
|
593
|
+
)
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
const businessServices$1 = (scope, vertical, updates = {}) => {
|
|
597
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
598
|
+
const label = vertical ? updates.label : "Legal Services Needed for Your Business:";
|
|
599
|
+
return func(
|
|
600
|
+
merge(
|
|
601
|
+
{
|
|
602
|
+
label,
|
|
603
|
+
name: scope ? scope + ":" + "Business_Services" : "Business_Services",
|
|
604
|
+
options: [
|
|
605
|
+
"Business Formation",
|
|
606
|
+
"Contracts",
|
|
607
|
+
"Insurance and Liability",
|
|
608
|
+
"Mergers and Acquisition",
|
|
609
|
+
"Regulatory Compliance",
|
|
610
|
+
"Employee Dispute",
|
|
611
|
+
"Other",
|
|
612
|
+
],
|
|
613
|
+
},
|
|
614
|
+
updates
|
|
615
|
+
)
|
|
616
|
+
)
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
const businessType$1 = (scope, vertical, updates = {}) => {
|
|
620
|
+
const func = vertical ? verticalButtonRadio : sbs2ColRadio;
|
|
621
|
+
const label = vertical ? updates.label : "Is the Business Public or Private?";
|
|
622
|
+
return func(
|
|
623
|
+
merge(
|
|
624
|
+
{
|
|
625
|
+
label,
|
|
626
|
+
name: scope ? scope + ":" + "Business_Type" : "Business_Type",
|
|
627
|
+
options: ["Public", "Private"],
|
|
628
|
+
},
|
|
629
|
+
updates
|
|
630
|
+
)
|
|
631
|
+
)
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
const causeOfInjury$1 = (scope, vertical, updates = {}) => {
|
|
635
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
636
|
+
const label = vertical ? updates.label : "Cause of Injury:";
|
|
637
|
+
return func(
|
|
638
|
+
merge(
|
|
639
|
+
{
|
|
640
|
+
label,
|
|
641
|
+
name: scope ? scope + ":" + "Cause_Of_Injury" : "Cause_Of_Injury",
|
|
642
|
+
options: [
|
|
643
|
+
"Traumatic Physical Injury (Accident)",
|
|
644
|
+
"Repeated Trauma Injury",
|
|
645
|
+
"Mental Injury",
|
|
646
|
+
"Occupational Disease",
|
|
647
|
+
"Not Sure",
|
|
648
|
+
],
|
|
649
|
+
},
|
|
650
|
+
updates
|
|
651
|
+
)
|
|
652
|
+
)
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
const causeOfDeath$1 = (scope, vertical, updates = {}) => {
|
|
656
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
657
|
+
const label = vertical ? updates.label : "What was the Cause of the Victim's Death?";
|
|
658
|
+
return func(
|
|
659
|
+
merge(
|
|
660
|
+
{
|
|
661
|
+
label,
|
|
662
|
+
name: scope ? scope + ":" + "Cause_Of_Death" : "Cause_Of_Death",
|
|
663
|
+
options: ["Vehicle Accident", "Negligent/Careless Act", "Reckless Act", "Other"],
|
|
664
|
+
},
|
|
665
|
+
updates
|
|
666
|
+
)
|
|
667
|
+
)
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
const civilLawsuitTOLPDisplay$1 = (scope, vertical, updates = {}) => {
|
|
671
|
+
const func = vertical ? col2RadioCenter : col2Radio;
|
|
672
|
+
const label = vertical ? updates.label : "Select The Type of Lawsuit You Would Like to File:";
|
|
673
|
+
const _if = vertical
|
|
674
|
+
? null
|
|
675
|
+
: '$get(Type_Of_Legal_Problem).value == "Civil Lawsuit" && $get(Civil_Defense).value == "File a Lawsuit"';
|
|
676
|
+
return func(
|
|
677
|
+
merge(
|
|
678
|
+
{
|
|
679
|
+
label,
|
|
680
|
+
if: _if,
|
|
681
|
+
name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
|
|
682
|
+
options: [
|
|
683
|
+
"Automobile Accident",
|
|
684
|
+
"Contract Disputes",
|
|
685
|
+
"Defamation and Slander",
|
|
686
|
+
"Dog Bite",
|
|
687
|
+
"Employment and Workplace",
|
|
688
|
+
"Fraud",
|
|
689
|
+
"Medical Malpractice",
|
|
690
|
+
"Personal Injury",
|
|
691
|
+
"Property Damage",
|
|
692
|
+
"Small Claims",
|
|
693
|
+
"Real Estate",
|
|
694
|
+
"Not Sure or Other",
|
|
695
|
+
],
|
|
696
|
+
},
|
|
697
|
+
updates
|
|
698
|
+
)
|
|
699
|
+
)
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
const civilRightsType$1 = (scope, vertical, updates = {}) => {
|
|
703
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
704
|
+
const label = vertical ? updates.label : "On what basis were your rights violated?";
|
|
705
|
+
return func(
|
|
706
|
+
merge(
|
|
707
|
+
{
|
|
708
|
+
label,
|
|
709
|
+
name: scope ? scope + ":" + "Civil_Rights_Type" : "Civil_Rights_Type",
|
|
710
|
+
options: ["Age", "Disability", "Gender", "Race", "Religion", "Other"],
|
|
711
|
+
},
|
|
712
|
+
updates
|
|
713
|
+
)
|
|
714
|
+
)
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
const childHome$1 = (scope, vertical, updates = {}) => {
|
|
718
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
719
|
+
const label = vertical ? updates.label : "With Whom Do the Children Currently Live?";
|
|
720
|
+
return func(
|
|
721
|
+
merge(
|
|
722
|
+
{
|
|
723
|
+
label,
|
|
724
|
+
name: scope ? scope + ":" + "Child_Home" : "Child_Home",
|
|
725
|
+
options: ["Mother", "Father", "Grandparents", "Other"],
|
|
726
|
+
},
|
|
727
|
+
updates
|
|
728
|
+
)
|
|
729
|
+
)
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
const childPrimaryCaregiver$1 = (scope, vertical, updates = {}) => {
|
|
733
|
+
const func = vertical ? verticalButtonRadio : sbsSelect;
|
|
734
|
+
const label = vertical ? updates.label : "Who is the Primary Caregiver?";
|
|
735
|
+
return func(
|
|
736
|
+
merge(
|
|
737
|
+
{
|
|
738
|
+
label,
|
|
739
|
+
name: scope ? scope + ":" + "Child_Primary_Caregiver" : "Child_Primary_Caregiver",
|
|
740
|
+
options: ["Mother", "Father", "Other"],
|
|
741
|
+
},
|
|
742
|
+
updates
|
|
743
|
+
)
|
|
744
|
+
)
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
const childRelationship$1 = (scope, vertical, updates = {}) => {
|
|
748
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
749
|
+
const label = vertical ? updates.label : "Your Relationship to Child(ren):";
|
|
750
|
+
return func(
|
|
751
|
+
merge(
|
|
752
|
+
{
|
|
753
|
+
label,
|
|
754
|
+
name: scope ? scope + ":" + "Child_Relationship" : "Child_Relationship",
|
|
755
|
+
options: ["Father", "Mother", "Grandparent", "Aunt/Uncle", "Other"],
|
|
756
|
+
},
|
|
757
|
+
updates
|
|
758
|
+
)
|
|
759
|
+
)
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
const claimStatus$1 = (scope, vertical, updates = {}) => {
|
|
763
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
764
|
+
const label = vertical ? updates.label : "Status of Claim:";
|
|
765
|
+
return func(
|
|
766
|
+
merge(
|
|
767
|
+
{
|
|
768
|
+
label,
|
|
769
|
+
name: scope ? scope + ":" + "Claim_Status" : "Claim_Status",
|
|
770
|
+
options: ["No action taken yet", "Demand for compensation made", "Lawsuit filed", "Other"],
|
|
771
|
+
},
|
|
772
|
+
updates
|
|
773
|
+
)
|
|
774
|
+
)
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
// TODO: vertical not supported yet
|
|
778
|
+
const comments = (scope, vertical, updates) =>
|
|
779
|
+
textArea(
|
|
780
|
+
merge(
|
|
781
|
+
{
|
|
782
|
+
name: scope ? scope + ":" + "Comments" : "Comments",
|
|
783
|
+
label: "Please briefly describe your situation in a few words:",
|
|
784
|
+
placeholder:
|
|
785
|
+
'For Example: "I would like help with child support payments" or "I need help with visitation rights"',
|
|
786
|
+
},
|
|
787
|
+
updates
|
|
788
|
+
)
|
|
789
|
+
);
|
|
790
|
+
|
|
791
|
+
const consumerLawyerType$1 = (scope, vertical, updates = {}) => {
|
|
792
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
793
|
+
const label = vertical ? updates.label : "What best describes your issue?";
|
|
794
|
+
return func(
|
|
795
|
+
merge(
|
|
796
|
+
{
|
|
797
|
+
label,
|
|
798
|
+
name: scope ? scope + ":" + "Consumer_Lawyer_Type" : "Consumer_Lawyer_Type",
|
|
799
|
+
options: [
|
|
800
|
+
"Unsafe Environment",
|
|
801
|
+
"Unsafe Products",
|
|
802
|
+
"Auto Fraud",
|
|
803
|
+
"Credit Reporting Issues",
|
|
804
|
+
"Debt Collection Abuse",
|
|
805
|
+
"Identity Theft",
|
|
806
|
+
"Lemon Law",
|
|
807
|
+
"Military Consumer Rights",
|
|
808
|
+
"Predatory Lending",
|
|
809
|
+
"Student Loans",
|
|
810
|
+
"Other",
|
|
811
|
+
],
|
|
812
|
+
},
|
|
813
|
+
updates
|
|
814
|
+
)
|
|
815
|
+
)
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
const countryOfCitizenship$1 = (scope, vertical, updates = {}) => {
|
|
819
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
820
|
+
const label = vertical ? updates.label : "What is Your Current Country of Citizenship?";
|
|
821
|
+
return func(
|
|
822
|
+
merge(
|
|
823
|
+
{
|
|
824
|
+
label,
|
|
825
|
+
name: scope ? scope + ":" + "Country_Of_Citizenship" : "Country_Of_Citizenship",
|
|
826
|
+
options: [
|
|
827
|
+
"Afghanistan",
|
|
828
|
+
"Albania",
|
|
829
|
+
"Algeria",
|
|
830
|
+
"Andorra",
|
|
831
|
+
"Angola",
|
|
832
|
+
"Antigua and Barbuda",
|
|
833
|
+
"Argentina",
|
|
834
|
+
"Armenia",
|
|
835
|
+
"Australia",
|
|
836
|
+
"Austria",
|
|
837
|
+
"Azerbaijan",
|
|
838
|
+
"Bahamas",
|
|
839
|
+
"The Bahrain",
|
|
840
|
+
"Bangladesh",
|
|
841
|
+
"Barbados",
|
|
842
|
+
"Belarus",
|
|
843
|
+
"Belgium",
|
|
844
|
+
"Belize",
|
|
845
|
+
"Benin",
|
|
846
|
+
"Bhutan",
|
|
847
|
+
"Bolivia",
|
|
848
|
+
"Bosnia and Herzegovina",
|
|
849
|
+
"Botswana",
|
|
850
|
+
"Brazil",
|
|
851
|
+
"Brunei",
|
|
852
|
+
"Bulgaria",
|
|
853
|
+
"Burkina Faso",
|
|
854
|
+
"Burundi",
|
|
855
|
+
"Cambodia",
|
|
856
|
+
"Cameroon",
|
|
857
|
+
"Canada",
|
|
858
|
+
"Cape Verde",
|
|
859
|
+
"Central African Republic",
|
|
860
|
+
"Chad",
|
|
861
|
+
"Chile",
|
|
862
|
+
"China",
|
|
863
|
+
"Colombia",
|
|
864
|
+
"Comoros",
|
|
865
|
+
"Congo (Congoâ Kinshasa)",
|
|
866
|
+
"Congo (Congoâ Brazzaville)",
|
|
867
|
+
"Costa Rica",
|
|
868
|
+
"Coted'Ivoire (Ivory Coast)",
|
|
869
|
+
"Croatia",
|
|
870
|
+
"Cuba",
|
|
871
|
+
"Cyprus",
|
|
872
|
+
"Czech Republic",
|
|
873
|
+
"Denmark",
|
|
874
|
+
"Djibouti",
|
|
875
|
+
"Dominica",
|
|
876
|
+
"Dominican Republic",
|
|
877
|
+
"Ecuador",
|
|
878
|
+
"Egypt",
|
|
879
|
+
"El Salvador",
|
|
880
|
+
"Equatorial Guinea",
|
|
881
|
+
"Eritrea",
|
|
882
|
+
"Estonia",
|
|
883
|
+
"Ethiopia",
|
|
884
|
+
"Fiji",
|
|
885
|
+
"Finland",
|
|
886
|
+
"France",
|
|
887
|
+
"Gabon",
|
|
888
|
+
"Gambia",
|
|
889
|
+
"Georgia",
|
|
890
|
+
"Germany",
|
|
891
|
+
"Ghana",
|
|
892
|
+
"Greece",
|
|
893
|
+
"Grenada",
|
|
894
|
+
"Guatemala",
|
|
895
|
+
"Guinea",
|
|
896
|
+
"Guinea-Bissau",
|
|
897
|
+
"Guyana",
|
|
898
|
+
"Haiti",
|
|
899
|
+
"Honduras",
|
|
900
|
+
"Hungary",
|
|
901
|
+
"Iceland",
|
|
902
|
+
"India",
|
|
903
|
+
"Indonesia",
|
|
904
|
+
"Iran",
|
|
905
|
+
"Iraq",
|
|
906
|
+
"Ireland",
|
|
907
|
+
"Israel",
|
|
908
|
+
"Italy",
|
|
909
|
+
"Jamaica",
|
|
910
|
+
"Japan",
|
|
911
|
+
"Jordan",
|
|
912
|
+
"Kazakhstan",
|
|
913
|
+
"Kenya",
|
|
914
|
+
"Kiribati",
|
|
915
|
+
"Korea (North Korea)",
|
|
916
|
+
"Korea (South Korea)",
|
|
917
|
+
"Kuwait",
|
|
918
|
+
"Kyrgyzstan",
|
|
919
|
+
"Laos",
|
|
920
|
+
"Latvia",
|
|
921
|
+
"Lebanon",
|
|
922
|
+
"Lesotho",
|
|
923
|
+
"Liberia",
|
|
924
|
+
"Libya",
|
|
925
|
+
"Liechtenstein",
|
|
926
|
+
"Lithuania",
|
|
927
|
+
"Luxembourg",
|
|
928
|
+
"Macedonia",
|
|
929
|
+
"Madagascar",
|
|
930
|
+
"Malawi",
|
|
931
|
+
"Malaysia",
|
|
932
|
+
"Maldives",
|
|
933
|
+
"Mali",
|
|
934
|
+
"Malta",
|
|
935
|
+
"Marshall Islands",
|
|
936
|
+
"Mauritania",
|
|
937
|
+
"Mauritius",
|
|
938
|
+
"Mexico",
|
|
939
|
+
"Micronesia",
|
|
940
|
+
"Moldova",
|
|
941
|
+
"Monaco",
|
|
942
|
+
"Mongolia",
|
|
943
|
+
"Montenegro",
|
|
944
|
+
"Morocco",
|
|
945
|
+
"Mozambique",
|
|
946
|
+
"Myanmar (Burma)",
|
|
947
|
+
"Namibia",
|
|
948
|
+
"Nauru",
|
|
949
|
+
"Nepal",
|
|
950
|
+
"Netherlands",
|
|
951
|
+
"New Zealand",
|
|
952
|
+
"Nicaragua",
|
|
953
|
+
"Niger",
|
|
954
|
+
"Nigeria",
|
|
955
|
+
"Norway",
|
|
956
|
+
"Oman",
|
|
957
|
+
"Pakistan",
|
|
958
|
+
"Palau",
|
|
959
|
+
"Panama",
|
|
960
|
+
"Papua New Guinea",
|
|
961
|
+
"Paraguay",
|
|
962
|
+
"Peru",
|
|
963
|
+
"Philippines",
|
|
964
|
+
"Poland",
|
|
965
|
+
"Portugal",
|
|
966
|
+
"Qatar",
|
|
967
|
+
"Romania",
|
|
968
|
+
"Russia",
|
|
969
|
+
"Rwanda",
|
|
970
|
+
"Saint Kitts and Nevis",
|
|
971
|
+
"SaintLucia",
|
|
972
|
+
"Saint Vincent and the Grenadines",
|
|
973
|
+
"Samoa",
|
|
974
|
+
"San Marino",
|
|
975
|
+
"Sao Tome and Principe",
|
|
976
|
+
"Saudi Arabia",
|
|
977
|
+
"Senegal",
|
|
978
|
+
"Serbia",
|
|
979
|
+
"Seychelles",
|
|
980
|
+
"Sierra Leone",
|
|
981
|
+
"Singapore",
|
|
982
|
+
"Slovakia",
|
|
983
|
+
"Slovenia",
|
|
984
|
+
"Solomon Islands",
|
|
985
|
+
"Somalia",
|
|
986
|
+
"South Africa",
|
|
987
|
+
"Spain",
|
|
988
|
+
"SriLanka",
|
|
989
|
+
"Sudan",
|
|
990
|
+
"Suriname",
|
|
991
|
+
"Swaziland",
|
|
992
|
+
"Sweden",
|
|
993
|
+
"Switzerland",
|
|
994
|
+
"Syria",
|
|
995
|
+
"Tajikistan",
|
|
996
|
+
"Tanzania",
|
|
997
|
+
"Thailand",
|
|
998
|
+
"Timor-Leste (East Timor)",
|
|
999
|
+
"Togo",
|
|
1000
|
+
"Tonga",
|
|
1001
|
+
"Trinidad and Tobago",
|
|
1002
|
+
"Tunisia",
|
|
1003
|
+
"Turkey",
|
|
1004
|
+
"Turkmenistan",
|
|
1005
|
+
"Tuvalu",
|
|
1006
|
+
"Uganda",
|
|
1007
|
+
"Ukraine",
|
|
1008
|
+
"United Arab Emirates",
|
|
1009
|
+
"United Kingdom",
|
|
1010
|
+
"United States",
|
|
1011
|
+
"Uruguay",
|
|
1012
|
+
"Uzbekistan",
|
|
1013
|
+
"Vanuatu",
|
|
1014
|
+
"Vatican City",
|
|
1015
|
+
"Venezuela",
|
|
1016
|
+
"Vietnam",
|
|
1017
|
+
"Yemen",
|
|
1018
|
+
"Zambia",
|
|
1019
|
+
"Zimbabwe",
|
|
1020
|
+
],
|
|
1021
|
+
},
|
|
1022
|
+
updates
|
|
1023
|
+
)
|
|
1024
|
+
)
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
const crimeCommittedDate$1 = (scope, vertical, updates = {}) => {
|
|
1028
|
+
const func = vertical ? verticalDate : sbsDate;
|
|
1029
|
+
const label = vertical ? updates.label : "When was the Alleged Crime?";
|
|
1030
|
+
return func(
|
|
1031
|
+
merge(
|
|
1032
|
+
{
|
|
1033
|
+
label,
|
|
1034
|
+
name: scope ? scope + ":" + "Crime_Committed_Date" : "Crime_Committed_Date",
|
|
1035
|
+
},
|
|
1036
|
+
updates
|
|
1037
|
+
)
|
|
1038
|
+
)
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1041
|
+
const criminalChargeType$1 = (scope, vertical, updates = {}) => {
|
|
1042
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1043
|
+
const label = vertical ? updates.label : "What Type of Charge?";
|
|
1044
|
+
return func(
|
|
1045
|
+
merge(
|
|
1046
|
+
{
|
|
1047
|
+
label,
|
|
1048
|
+
name: scope ? scope + ":" + "Criminal_Charge_Type" : "Criminal_Charge_Type",
|
|
1049
|
+
options: ["Felony", "Misdemeanor", "Juvenile", "Other"],
|
|
1050
|
+
},
|
|
1051
|
+
updates
|
|
1052
|
+
)
|
|
1053
|
+
)
|
|
1054
|
+
};
|
|
1055
|
+
|
|
1056
|
+
const criminalChargesFiled$1 = (scope, vertical, updates = {}) => {
|
|
1057
|
+
const func = vertical ? verticalRadio : sbsRadio;
|
|
1058
|
+
const label = vertical ? updates.label : "Were Criminal Charges Filed?";
|
|
1059
|
+
return func(
|
|
1060
|
+
merge(
|
|
1061
|
+
{
|
|
1062
|
+
label,
|
|
1063
|
+
name: scope ? scope + ":" + "Criminal_Charges_Filed" : "Criminal_Charges_Filed",
|
|
1064
|
+
options: ["Yes", "No", "Not Sure"],
|
|
1065
|
+
},
|
|
1066
|
+
updates
|
|
1067
|
+
)
|
|
1068
|
+
)
|
|
1069
|
+
};
|
|
1070
|
+
|
|
1071
|
+
const degreeOfInterest$1 = (scope, vertical, updates = {}) => {
|
|
1072
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1073
|
+
const label = vertical ? updates.label : "How Likely Are You to Pay if Your Issue Could be Resolved?";
|
|
1074
|
+
const help = vertical ? updates.help : "No payment necessary to speak with lawyers.";
|
|
1075
|
+
return func(
|
|
1076
|
+
merge(
|
|
1077
|
+
{
|
|
1078
|
+
name: scope ? scope + ":" + "Degree_Of_Interest" : "Degree_Of_Interest",
|
|
1079
|
+
id: scope ? scope + ":" + "Degree_Of_Interest" : "Degree_Of_Interest",
|
|
1080
|
+
label,
|
|
1081
|
+
help,
|
|
1082
|
+
options: ["Definitely", "Probably", "Maybe", "Absolutely Can't Afford"],
|
|
1083
|
+
},
|
|
1084
|
+
updates
|
|
1085
|
+
)
|
|
1086
|
+
)
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
const defaultNotice$1 = (scope, vertical, updates = {}) => {
|
|
1090
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1091
|
+
const label = vertical ? updates.label : "Have You Received a Notice of Loan Default?";
|
|
1092
|
+
return func(
|
|
1093
|
+
merge(
|
|
1094
|
+
{
|
|
1095
|
+
name: scope ? scope + ":" + "Default_Notice" : "Default_Notice",
|
|
1096
|
+
label,
|
|
1097
|
+
},
|
|
1098
|
+
updates
|
|
1099
|
+
)
|
|
1100
|
+
)
|
|
1101
|
+
};
|
|
1102
|
+
|
|
1103
|
+
const disabilityConditionStopWork$1 = (scope, vertical, updates = {}) => {
|
|
1104
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1105
|
+
const label = vertical
|
|
1106
|
+
? updates.label
|
|
1107
|
+
: "Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?";
|
|
1108
|
+
return func(
|
|
1109
|
+
merge(
|
|
1110
|
+
{
|
|
1111
|
+
name: scope ? scope + ":" + "Disability_Condition_Stop_Work" : "Disability_Condition_Stop_Work",
|
|
1112
|
+
label,
|
|
1113
|
+
},
|
|
1114
|
+
updates
|
|
1115
|
+
)
|
|
1116
|
+
)
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
const disabilityWorkHistory$1 = (scope, vertical, updates = {}) => {
|
|
1120
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1121
|
+
const label = vertical ? updates.label : "Have You Had a Full-Time Job Within the Past 5 Years?";
|
|
1122
|
+
return func(
|
|
1123
|
+
merge(
|
|
1124
|
+
{
|
|
1125
|
+
name: scope ? scope + ":" + "Disability_Work_History" : "Disability_Work_History",
|
|
1126
|
+
label,
|
|
1127
|
+
},
|
|
1128
|
+
updates
|
|
1129
|
+
)
|
|
1130
|
+
)
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
const doctorTreatment$1 = (scope, vertical, updates = {}) => {
|
|
1134
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1135
|
+
const label = vertical ? updates.label : "Have You Recently Been Treated by a Doctor, Hospital or Clinic?";
|
|
1136
|
+
return func(
|
|
1137
|
+
merge(
|
|
1138
|
+
{
|
|
1139
|
+
name: scope ? scope + ":" + "Doctor_Treatment" : "Doctor_Treatment",
|
|
1140
|
+
label,
|
|
1141
|
+
},
|
|
1142
|
+
updates
|
|
1143
|
+
)
|
|
1144
|
+
)
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
const driversLicenseType$1 = (scope, vertical, updates = {}) => {
|
|
1148
|
+
const func = vertical ? verticalButtonRadio : sbs2ItemRadio;
|
|
1149
|
+
const label = vertical ? updates.label : "Type of Driver's License:";
|
|
1150
|
+
return func(
|
|
1151
|
+
merge(
|
|
1152
|
+
{
|
|
1153
|
+
name: scope ? scope + ":" + "Drivers_License_Type" : "Drivers_License_Type",
|
|
1154
|
+
label,
|
|
1155
|
+
options: ["Private", "Commercial"],
|
|
1156
|
+
},
|
|
1157
|
+
updates
|
|
1158
|
+
)
|
|
1159
|
+
)
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
const employerType$1 = (scope, vertical, updates = {}) => {
|
|
1163
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1164
|
+
const label = vertical ? updates.label : "The Employer Is a:";
|
|
1165
|
+
return func(
|
|
1166
|
+
merge(
|
|
1167
|
+
{
|
|
1168
|
+
label,
|
|
1169
|
+
name: scope ? scope + ":" + "Employer_Type" : "Employer_Type",
|
|
1170
|
+
options: [
|
|
1171
|
+
"Sole proprietorship (mom and pop)",
|
|
1172
|
+
"Partnership",
|
|
1173
|
+
"Franchise",
|
|
1174
|
+
"Privately held company",
|
|
1175
|
+
"Public corporation",
|
|
1176
|
+
"Government Agency",
|
|
1177
|
+
"Don't know",
|
|
1178
|
+
],
|
|
1179
|
+
},
|
|
1180
|
+
updates
|
|
1181
|
+
)
|
|
1182
|
+
)
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
const employeeAtCompany$1 = (scope, vertical, updates = {}) => {
|
|
1186
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1187
|
+
const label = vertical ? updates.label : "Do You Still Work at the Company?";
|
|
1188
|
+
return func(
|
|
1189
|
+
merge(
|
|
1190
|
+
{
|
|
1191
|
+
name: scope ? scope + ":" + "Employee_At_Company" : "Employee_At_Company",
|
|
1192
|
+
label,
|
|
1193
|
+
},
|
|
1194
|
+
updates
|
|
1195
|
+
)
|
|
1196
|
+
)
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
const employmentAndWorkplaceTOLPDisplay$1 = (scope, vertical, updates = {}) => {
|
|
1200
|
+
const func = vertical ? col2RadioCenter : col2Radio;
|
|
1201
|
+
const label = vertical ? updates.label : "Select The Workplace Issue:";
|
|
1202
|
+
return func(
|
|
1203
|
+
merge(
|
|
1204
|
+
{
|
|
1205
|
+
label,
|
|
1206
|
+
name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
|
|
1207
|
+
options: [
|
|
1208
|
+
"Workplace Harassment",
|
|
1209
|
+
"Workplace Discrimination",
|
|
1210
|
+
"Wrongful Termination",
|
|
1211
|
+
"Payment Disputes",
|
|
1212
|
+
"Workers Compensation",
|
|
1213
|
+
"Personal Injury",
|
|
1214
|
+
"Unemployment",
|
|
1215
|
+
"Other Workplace Issues",
|
|
1216
|
+
],
|
|
1217
|
+
},
|
|
1218
|
+
updates
|
|
1219
|
+
)
|
|
1220
|
+
)
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
const estateLegalServicesNeeded$1 = (scope, vertical, updates = {}) => {
|
|
1224
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1225
|
+
const label = vertical ? updates.label : "Legal Services Needed for Your Estate:";
|
|
1226
|
+
return func(
|
|
1227
|
+
merge(
|
|
1228
|
+
{
|
|
1229
|
+
name: scope ? scope + ":" + "Estate_Legal_Services_Needed" : "Estate_Legal_Services_Needed",
|
|
1230
|
+
label,
|
|
1231
|
+
options: [
|
|
1232
|
+
"Charitable Giving",
|
|
1233
|
+
"Contested Wills",
|
|
1234
|
+
"Drafting Wills or Trust",
|
|
1235
|
+
"Estate Administration",
|
|
1236
|
+
"Asset Protection",
|
|
1237
|
+
"Other",
|
|
1238
|
+
],
|
|
1239
|
+
},
|
|
1240
|
+
updates
|
|
1241
|
+
)
|
|
1242
|
+
)
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1245
|
+
const TOLPOptions = [
|
|
1246
|
+
"Adoption",
|
|
1247
|
+
"Asbestos and Mesothelioma",
|
|
1248
|
+
"Auto and Car Accidents",
|
|
1249
|
+
"Bankruptcy",
|
|
1250
|
+
"Birth Certificate and Name Change",
|
|
1251
|
+
"Business Lawyers",
|
|
1252
|
+
"Child Custody",
|
|
1253
|
+
"Child Support",
|
|
1254
|
+
"Civil Rights and Discrimination",
|
|
1255
|
+
"Consumer Lawyers",
|
|
1256
|
+
"Copyrights and Trademarks",
|
|
1257
|
+
"Criminal and Felony",
|
|
1258
|
+
"Debt and Collections",
|
|
1259
|
+
"Defend a Lawsuit",
|
|
1260
|
+
"Divorce and Separation",
|
|
1261
|
+
"DUI and DWI",
|
|
1262
|
+
"Elder Law",
|
|
1263
|
+
"Employment and Workplace",
|
|
1264
|
+
"Expungement",
|
|
1265
|
+
"Family Issues",
|
|
1266
|
+
"File a Lawsuit",
|
|
1267
|
+
"Foreclosure",
|
|
1268
|
+
"Guardianship",
|
|
1269
|
+
"Harassment and Discrimination",
|
|
1270
|
+
"Identity Theft",
|
|
1271
|
+
"Immigration and Visas",
|
|
1272
|
+
"Insurance",
|
|
1273
|
+
"Landlord and Tenant",
|
|
1274
|
+
"Lemon Law",
|
|
1275
|
+
"Long Term Disability",
|
|
1276
|
+
"Medical Malpractice",
|
|
1277
|
+
"Non-Workplace Discrimination",
|
|
1278
|
+
"Non-Workplace Harassment",
|
|
1279
|
+
"Patents and Intellectual Property",
|
|
1280
|
+
"Personal Injury",
|
|
1281
|
+
"Power of Attorney",
|
|
1282
|
+
"Probate and Estates",
|
|
1283
|
+
"Product Liability",
|
|
1284
|
+
"Property Damage",
|
|
1285
|
+
"Real Estate",
|
|
1286
|
+
"Sexual Harassment",
|
|
1287
|
+
"Social Security Disability and Insurance",
|
|
1288
|
+
"Tax and IRS",
|
|
1289
|
+
"Traffic and Tickets",
|
|
1290
|
+
"Unemployment",
|
|
1291
|
+
"Victim of a Crime",
|
|
1292
|
+
"Wills and Trusts",
|
|
1293
|
+
"Workers Compensation",
|
|
1294
|
+
"Workplace Discrimination",
|
|
1295
|
+
"Workplace Harassment",
|
|
1296
|
+
"Wrongful Death",
|
|
1297
|
+
"Wrongful Termination",
|
|
1298
|
+
"Not Sure or Other",
|
|
1299
|
+
];
|
|
1300
|
+
|
|
1301
|
+
const generalTOLP$1 = (scope, vertical, updates = {}) => {
|
|
1302
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1303
|
+
const label = vertical ? updates.label : "Type of Help Needed:";
|
|
1304
|
+
return func(
|
|
1305
|
+
merge(
|
|
1306
|
+
{
|
|
1307
|
+
label,
|
|
1308
|
+
name: scope ? scope + ":" + "Type_Of_Legal_Problem" : "Type_Of_Legal_Problem",
|
|
1309
|
+
id: scope ? scope + ":" + "Type_Of_Legal_Problem" : "Type_Of_Legal_Problem",
|
|
1310
|
+
options: TOLPOptions,
|
|
1311
|
+
},
|
|
1312
|
+
updates
|
|
1313
|
+
)
|
|
1314
|
+
)
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
const haveAttorney$1 = (scope, vertical, updates = {}) => {
|
|
1318
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1319
|
+
const label = vertical ? updates.label : "Already Working with An Attorney?";
|
|
1320
|
+
return func(
|
|
1321
|
+
merge(
|
|
1322
|
+
{
|
|
1323
|
+
label,
|
|
1324
|
+
name: scope ? scope + ":" + "Have_Attorney" : "Have_Attorney",
|
|
1325
|
+
},
|
|
1326
|
+
updates
|
|
1327
|
+
)
|
|
1328
|
+
)
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
const haveChildren$1 = (scope, vertical, updates = {}) => {
|
|
1332
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1333
|
+
const label = vertical ? updates.label : "Do You Have Children?";
|
|
1334
|
+
return func(
|
|
1335
|
+
merge(
|
|
1336
|
+
{
|
|
1337
|
+
name: scope ? scope + ":" + "Have_Children" : "Have_Children",
|
|
1338
|
+
label,
|
|
1339
|
+
},
|
|
1340
|
+
updates
|
|
1341
|
+
)
|
|
1342
|
+
)
|
|
1343
|
+
};
|
|
1344
|
+
|
|
1345
|
+
const haveCourtDate$1 = (scope, vertical, updates = {}) => {
|
|
1346
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1347
|
+
const label = vertical ? updates.label : "Do You Have a Court Date?";
|
|
1348
|
+
return func(
|
|
1349
|
+
merge(
|
|
1350
|
+
{
|
|
1351
|
+
name: scope ? scope + ":" + "Have_Court_Date" : "Have_Court_Date",
|
|
1352
|
+
label,
|
|
1353
|
+
},
|
|
1354
|
+
updates
|
|
1355
|
+
)
|
|
1356
|
+
)
|
|
1357
|
+
};
|
|
1358
|
+
|
|
1359
|
+
const immigrationDetails$1 = (scope, vertical, updates = {}) => {
|
|
1360
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1361
|
+
const label = vertical ? updates.label : "Where is the Person Seeking Immigration Located?";
|
|
1362
|
+
return func(
|
|
1363
|
+
merge(
|
|
1364
|
+
{
|
|
1365
|
+
label,
|
|
1366
|
+
name: scope ? scope + ":" + "Immigration_Details" : "Immigration_Details",
|
|
1367
|
+
options: [
|
|
1368
|
+
"In the USA with proper documentation",
|
|
1369
|
+
"In the USA without proper documentation",
|
|
1370
|
+
"Not in the USA",
|
|
1371
|
+
"In Deportation/Removal Proceedings",
|
|
1372
|
+
"Currently Detained (friend or family submitting this request)",
|
|
1373
|
+
"Out on Bond",
|
|
1374
|
+
"None Apply",
|
|
1375
|
+
],
|
|
1376
|
+
},
|
|
1377
|
+
updates
|
|
1378
|
+
)
|
|
1379
|
+
)
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
const immigrationEntry$1 = (scope, vertical, updates = {}) => {
|
|
1383
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1384
|
+
const label = vertical ? updates.label : "How are you Trying to Enter the Country?";
|
|
1385
|
+
return func(
|
|
1386
|
+
merge(
|
|
1387
|
+
{
|
|
1388
|
+
label,
|
|
1389
|
+
name: scope ? scope + ":" + "Immigration_Entry" : "Immigration_Entry",
|
|
1390
|
+
options: [
|
|
1391
|
+
"With Proper Documents/Visa and Inspection through Customs Border Patrol",
|
|
1392
|
+
"Illegally",
|
|
1393
|
+
"No Entry",
|
|
1394
|
+
"Other",
|
|
1395
|
+
],
|
|
1396
|
+
},
|
|
1397
|
+
updates
|
|
1398
|
+
)
|
|
1399
|
+
)
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
const immigrationLocation$1 = (scope, vertical, updates = {}) => {
|
|
1403
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1404
|
+
const label = vertical ? updates.label : "Where Are You Migrating To?";
|
|
1405
|
+
return func(
|
|
1406
|
+
merge(
|
|
1407
|
+
{
|
|
1408
|
+
label,
|
|
1409
|
+
name: scope ? scope + ":" + "Immigration_Location" : "Immigration_Location",
|
|
1410
|
+
options: ["In the USA", "Outside the USA"],
|
|
1411
|
+
},
|
|
1412
|
+
updates
|
|
1413
|
+
)
|
|
1414
|
+
)
|
|
1415
|
+
};
|
|
1416
|
+
|
|
1417
|
+
const immigrationType$1 = (scope, vertical, updates = {}) => {
|
|
1418
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1419
|
+
const label = vertical ? updates.label : "What Type of Immigration Issue?";
|
|
1420
|
+
return func(
|
|
1421
|
+
merge(
|
|
1422
|
+
{
|
|
1423
|
+
label,
|
|
1424
|
+
name: scope ? scope + ":" + "Immigration_Type" : "Immigration_Type",
|
|
1425
|
+
options: [
|
|
1426
|
+
"Citizenship (for current green card holders)",
|
|
1427
|
+
"Permanent Visa Family Based (green cards)",
|
|
1428
|
+
"Permanent Visa Business Based (green cards)",
|
|
1429
|
+
"Temporary Business Visa",
|
|
1430
|
+
"Temporary Tourist Visa",
|
|
1431
|
+
"Investor",
|
|
1432
|
+
"Asylum",
|
|
1433
|
+
"Self Petition (violence & abuse victims)",
|
|
1434
|
+
"Removal/Deportation Proceeding",
|
|
1435
|
+
"Other",
|
|
1436
|
+
],
|
|
1437
|
+
},
|
|
1438
|
+
updates
|
|
1439
|
+
)
|
|
1440
|
+
)
|
|
1441
|
+
};
|
|
1442
|
+
|
|
1443
|
+
const immigrationStatus$1 = (scope, vertical, updates = {}) => {
|
|
1444
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1445
|
+
const label = vertical ? updates.label : "What is the Current Status of the Immigration Case?";
|
|
1446
|
+
return func(
|
|
1447
|
+
merge(
|
|
1448
|
+
{
|
|
1449
|
+
label,
|
|
1450
|
+
name: scope ? scope + ":" + "Immigration_Status" : "Immigration_Status",
|
|
1451
|
+
options: [
|
|
1452
|
+
"Out of Status (overstayed my visa)",
|
|
1453
|
+
"Current Visa Holder (in status)",
|
|
1454
|
+
"Lawful Permanent Resident (green card)",
|
|
1455
|
+
"Not Applicable (outside the USA)",
|
|
1456
|
+
"Other",
|
|
1457
|
+
],
|
|
1458
|
+
},
|
|
1459
|
+
updates
|
|
1460
|
+
)
|
|
1461
|
+
)
|
|
1462
|
+
};
|
|
1463
|
+
|
|
1464
|
+
const incidentDate$1 = (scope, vertical, updates = {}) => {
|
|
1465
|
+
const func = vertical ? verticalDate : sbsDate;
|
|
1466
|
+
const label = vertical ? updates.label : "Date of Incident:";
|
|
1467
|
+
return func(
|
|
1468
|
+
merge(
|
|
1469
|
+
{
|
|
1470
|
+
label,
|
|
1471
|
+
name: scope ? scope + ":" + "Incident_Date" : "Incident_Date",
|
|
1472
|
+
},
|
|
1473
|
+
updates
|
|
1474
|
+
)
|
|
1475
|
+
)
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
const landlordTenantParty$1 = (scope, vertical, updates = {}) => {
|
|
1479
|
+
const func = vertical ? verticalButtonRadio : sbsSelect;
|
|
1480
|
+
const label = vertical ? updates.label : "I am the:";
|
|
1481
|
+
return func(
|
|
1482
|
+
merge(
|
|
1483
|
+
{
|
|
1484
|
+
label,
|
|
1485
|
+
name: scope ? scope + ":" + "Landlord_Tenant_Party" : "Landlord_Tenant_Party",
|
|
1486
|
+
options: ["Landlord", "Tenant", "Other"],
|
|
1487
|
+
},
|
|
1488
|
+
updates
|
|
1489
|
+
)
|
|
1490
|
+
)
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
const landlordTenantIssueRadio = (scope, vertical, updates = {}) => {
|
|
1494
|
+
const func = vertical ? col2RadioCenter : col2Radio;
|
|
1495
|
+
const label = vertical ? updates.label : "What is the Landlord / Tenant Issue?";
|
|
1496
|
+
const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Landlord and Tenant"';
|
|
1497
|
+
return func(
|
|
1498
|
+
merge(
|
|
1499
|
+
{
|
|
1500
|
+
label,
|
|
1501
|
+
if: _if,
|
|
1502
|
+
id: scope ? scope + ":" + "Landlord_Tenant_Issue" : "Landlord_Tenant_Issue",
|
|
1503
|
+
name: scope ? scope + ":" + "Landlord_Tenant_Issue" : "Landlord_Tenant_Issue",
|
|
1504
|
+
options: [
|
|
1505
|
+
"Eviction",
|
|
1506
|
+
"Repairs and Maintenance",
|
|
1507
|
+
"Lease and Rental Agreements",
|
|
1508
|
+
"Discrimination",
|
|
1509
|
+
"Right of Entry and Privacy",
|
|
1510
|
+
"Screening and Applications",
|
|
1511
|
+
"Environmental Hazards",
|
|
1512
|
+
"Other Dispute",
|
|
1513
|
+
],
|
|
1514
|
+
},
|
|
1515
|
+
updates
|
|
1516
|
+
)
|
|
1517
|
+
)
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
const lawsuitOtherParty$1 = (scope, vertical, updates = {}) => {
|
|
1521
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1522
|
+
const label = vertical ? updates.label : "The Other Party is a:";
|
|
1523
|
+
return func(
|
|
1524
|
+
merge(
|
|
1525
|
+
{
|
|
1526
|
+
label,
|
|
1527
|
+
name: scope ? scope + ":" + "Lawsuit_Other_Party" : "Lawsuit_Other_Party",
|
|
1528
|
+
options: ["Individual", "Small Business", "Large Corporation", "Government Entity"],
|
|
1529
|
+
},
|
|
1530
|
+
updates
|
|
1531
|
+
)
|
|
1532
|
+
)
|
|
1533
|
+
};
|
|
1534
|
+
|
|
1535
|
+
const lawyerPaymentMethod$1 = (scope, vertical, updates = {}) => {
|
|
1536
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1537
|
+
const label = vertical ? updates.label : "How Will You Pay for Legal Fees if You Hire a Lawyer?";
|
|
1538
|
+
const help = vertical ? updates.help : "No payment necessary to start a consultation.";
|
|
1539
|
+
const options = vertical
|
|
1540
|
+
? {
|
|
1541
|
+
Cash: "Cash",
|
|
1542
|
+
"Credit Card": "Credit Card",
|
|
1543
|
+
Family: "Family or Friend",
|
|
1544
|
+
Other: "Other",
|
|
1545
|
+
}
|
|
1546
|
+
: ["Cash", "Check", "Credit Card", "Friend", "Family", "Other"];
|
|
1547
|
+
return func(
|
|
1548
|
+
merge(
|
|
1549
|
+
{
|
|
1550
|
+
label,
|
|
1551
|
+
help,
|
|
1552
|
+
name: scope ? scope + ":" + "Lawyer_Payment_Method" : "Lawyer_Payment_Method",
|
|
1553
|
+
options,
|
|
1554
|
+
fieldsetClass: vertical ? "$reset t-flex t-flex-col t-items-center" : undefined,
|
|
1555
|
+
},
|
|
1556
|
+
updates
|
|
1557
|
+
)
|
|
1558
|
+
)
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
const loanAmount$1 = (scope, vertical, updates = {}) => {
|
|
1562
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1563
|
+
const label = vertical ? updates.label : "Total Amount of Loan?";
|
|
1564
|
+
return func(
|
|
1565
|
+
merge(
|
|
1566
|
+
{
|
|
1567
|
+
label,
|
|
1568
|
+
name: scope ? scope + ":" + "Loan_Amount" : "Loan_Amount",
|
|
1569
|
+
options: [
|
|
1570
|
+
"Less than $10,000",
|
|
1571
|
+
"$10,000 - $24,999",
|
|
1572
|
+
"$25,000 - $49,999",
|
|
1573
|
+
"$50,000 - $99,999",
|
|
1574
|
+
"$100,000 - $199,999",
|
|
1575
|
+
"$200,000 - $299,999",
|
|
1576
|
+
"$300,000 - $399,999",
|
|
1577
|
+
"$400,000 - $499,999",
|
|
1578
|
+
"$500,000 - $599,999",
|
|
1579
|
+
"More than $600,000",
|
|
1580
|
+
],
|
|
1581
|
+
},
|
|
1582
|
+
updates
|
|
1583
|
+
)
|
|
1584
|
+
)
|
|
1585
|
+
};
|
|
1586
|
+
|
|
1587
|
+
const maritalStatus$1 = (scope, vertical, updates = {}) => {
|
|
1588
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1589
|
+
const label = vertical ? updates.label : "Marital Status:";
|
|
1590
|
+
return func(
|
|
1591
|
+
merge(
|
|
1592
|
+
{
|
|
1593
|
+
label,
|
|
1594
|
+
name: scope ? scope + ":" + "Marital_Status" : "Marital_Status",
|
|
1595
|
+
options: [
|
|
1596
|
+
"Unmarried, Living Together",
|
|
1597
|
+
"Unmarried, Do Not Live Together",
|
|
1598
|
+
"Married, Living Together",
|
|
1599
|
+
"Separated",
|
|
1600
|
+
"Divorced",
|
|
1601
|
+
"Other",
|
|
1602
|
+
],
|
|
1603
|
+
},
|
|
1604
|
+
updates
|
|
1605
|
+
)
|
|
1606
|
+
)
|
|
1607
|
+
};
|
|
1608
|
+
|
|
1609
|
+
const medicalMalpracticeInjuries$1 = (scope, vertical, updates = {}) => {
|
|
1610
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1611
|
+
const label = vertical ? updates.label : "Injuries from Medical Malpractice:";
|
|
1612
|
+
return func(
|
|
1613
|
+
merge(
|
|
1614
|
+
{
|
|
1615
|
+
label,
|
|
1616
|
+
name: scope ? scope + ":" + "Medical_Malpractice_Injuries" : "Medical_Malpractice_Injuries",
|
|
1617
|
+
options: [
|
|
1618
|
+
"No Injury",
|
|
1619
|
+
"Minor Injury",
|
|
1620
|
+
"Disfigurement or cosmetic injury",
|
|
1621
|
+
"Short term loss of physical ability",
|
|
1622
|
+
"Long term loss of physical injury",
|
|
1623
|
+
"Possibility of future harm",
|
|
1624
|
+
"Death of Patient",
|
|
1625
|
+
],
|
|
1626
|
+
},
|
|
1627
|
+
updates
|
|
1628
|
+
)
|
|
1629
|
+
)
|
|
1630
|
+
};
|
|
1631
|
+
|
|
1632
|
+
const numEmployeesOfBusiness$1 = (scope, vertical, updates = {}) => {
|
|
1633
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1634
|
+
const label = vertical ? updates.label : "Total Employees of Business? (estimated)";
|
|
1635
|
+
return func(
|
|
1636
|
+
merge(
|
|
1637
|
+
{
|
|
1638
|
+
label,
|
|
1639
|
+
name: scope ? scope + ":" + "Num_Employees_Of_Business" : "Num_Employees_Of_Business",
|
|
1640
|
+
options: ["1-5", "6-20", "21-50", "51-100", "101-500", "501-1,000", "More than 1,000"],
|
|
1641
|
+
},
|
|
1642
|
+
updates
|
|
1643
|
+
)
|
|
1644
|
+
)
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1647
|
+
const ownRealEstate$1 = (scope, vertical, updates = {}) => {
|
|
1648
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1649
|
+
const label = vertical ? updates.label : "Do You Own Real Estate?";
|
|
1650
|
+
return func(
|
|
1651
|
+
merge(
|
|
1652
|
+
{
|
|
1653
|
+
name: scope ? scope + ":" + "Own_Real_Estate" : "Own_Real_Estate",
|
|
1654
|
+
label,
|
|
1655
|
+
},
|
|
1656
|
+
updates
|
|
1657
|
+
)
|
|
1658
|
+
)
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1661
|
+
const patentAssistanceType$1 = (scope, vertical, updates = {}) => {
|
|
1662
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1663
|
+
const label = vertical ? updates.label : "Legal Assistance Needed:";
|
|
1664
|
+
return func(
|
|
1665
|
+
merge(
|
|
1666
|
+
{
|
|
1667
|
+
label,
|
|
1668
|
+
name: scope ? scope + ":" + "Patent_Assistance_Type" : "Patent_Assistance_Type",
|
|
1669
|
+
options: [
|
|
1670
|
+
"Obtaining a Patent",
|
|
1671
|
+
"Avoiding Patent Infringement",
|
|
1672
|
+
"Suing for Patent Infringement",
|
|
1673
|
+
"Defending Against a Claim of Patent Infringement",
|
|
1674
|
+
"Other",
|
|
1675
|
+
],
|
|
1676
|
+
},
|
|
1677
|
+
updates
|
|
1678
|
+
)
|
|
1679
|
+
)
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
const patentFor$1 = (scope, vertical, updates = {}) => {
|
|
1683
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1684
|
+
const label = vertical ? updates.label : "The Patent is for a:";
|
|
1685
|
+
return func(
|
|
1686
|
+
merge(
|
|
1687
|
+
{
|
|
1688
|
+
label,
|
|
1689
|
+
name: scope ? scope + ":" + "Patent_For" : "Patent_For",
|
|
1690
|
+
options: [
|
|
1691
|
+
"Product or Machine",
|
|
1692
|
+
"Process",
|
|
1693
|
+
"Computer Software",
|
|
1694
|
+
"Living Organism or Plant",
|
|
1695
|
+
"Ornamental Design",
|
|
1696
|
+
"Other",
|
|
1697
|
+
],
|
|
1698
|
+
},
|
|
1699
|
+
updates
|
|
1700
|
+
)
|
|
1701
|
+
)
|
|
1702
|
+
};
|
|
1703
|
+
|
|
1704
|
+
// XXX HERE
|
|
1705
|
+
|
|
1706
|
+
const pendingCharges$1 = (scope, vertical, updates = {}) => {
|
|
1707
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1708
|
+
const label = vertical ? updates.label : "Do you currently have any pending charges?";
|
|
1709
|
+
return func(
|
|
1710
|
+
merge(
|
|
1711
|
+
{
|
|
1712
|
+
name: scope ? scope + ":" + "Pending_Charges" : "Pending_Charges",
|
|
1713
|
+
label,
|
|
1714
|
+
},
|
|
1715
|
+
updates
|
|
1716
|
+
)
|
|
1717
|
+
)
|
|
1718
|
+
};
|
|
1719
|
+
|
|
1720
|
+
const primaryInjury$1 = (scope, vertical, updates = {}) => {
|
|
1721
|
+
const func = vertical ? col2RadioCenter : sbs2ColRadio;
|
|
1722
|
+
const label = vertical ? updates.label : "Primary Injury:";
|
|
1723
|
+
return func(
|
|
1724
|
+
merge(
|
|
1725
|
+
{
|
|
1726
|
+
label,
|
|
1727
|
+
name: scope ? scope + ":" + "Primary_Injury" : "Primary_Injury",
|
|
1728
|
+
options: [
|
|
1729
|
+
"Anxiety",
|
|
1730
|
+
"Back or Neck Pain",
|
|
1731
|
+
"Broken Bones",
|
|
1732
|
+
"Cuts and Bruises",
|
|
1733
|
+
"Headaches",
|
|
1734
|
+
"Memory Loss",
|
|
1735
|
+
"Loss of Limb",
|
|
1736
|
+
"Not Sure or Other",
|
|
1737
|
+
],
|
|
1738
|
+
},
|
|
1739
|
+
updates
|
|
1740
|
+
)
|
|
1741
|
+
)
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
const priorAlcoholOffenses$1 = (scope, vertical, updates = {}) => {
|
|
1745
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1746
|
+
const label = vertical ? updates.label : "Any Prior Alcohol Related Offenses?";
|
|
1747
|
+
return func(
|
|
1748
|
+
merge(
|
|
1749
|
+
{
|
|
1750
|
+
name: scope ? scope + ":" + "Prior_Alcohol_Offenses" : "Prior_Alcohol_Offenses",
|
|
1751
|
+
label,
|
|
1752
|
+
},
|
|
1753
|
+
updates
|
|
1754
|
+
)
|
|
1755
|
+
)
|
|
1756
|
+
};
|
|
1757
|
+
|
|
1758
|
+
const policeReportFiled$1 = (scope, vertical, updates = {}) => {
|
|
1759
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1760
|
+
const label = vertical ? updates.label : "Was a Police Report Filed?";
|
|
1761
|
+
return func(
|
|
1762
|
+
merge(
|
|
1763
|
+
{
|
|
1764
|
+
name: scope ? scope + ":" + "Police_Report_Filed" : "Police_Report_Filed",
|
|
1765
|
+
label,
|
|
1766
|
+
},
|
|
1767
|
+
updates
|
|
1768
|
+
)
|
|
1769
|
+
)
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
const realEstateArea$1 = (scope, vertical, updates = {}) => {
|
|
1773
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1774
|
+
const label = vertical ? updates.label : "Area of Real Estate:";
|
|
1775
|
+
return func(
|
|
1776
|
+
merge(
|
|
1777
|
+
{
|
|
1778
|
+
label,
|
|
1779
|
+
name: scope ? scope + ":" + "Real_Estate_Area" : "Real_Estate_Area",
|
|
1780
|
+
options: [
|
|
1781
|
+
"Condos and Coops",
|
|
1782
|
+
"Construction Disputes",
|
|
1783
|
+
"Purchase/Sale Contract",
|
|
1784
|
+
"Refinancing Agreement",
|
|
1785
|
+
"Title and Boundary Disputes",
|
|
1786
|
+
"Zoning, Planning and Land Use",
|
|
1787
|
+
"Property Deeds and Transfers",
|
|
1788
|
+
"Liens",
|
|
1789
|
+
"Other",
|
|
1790
|
+
],
|
|
1791
|
+
},
|
|
1792
|
+
updates
|
|
1793
|
+
)
|
|
1794
|
+
)
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
const realEstateTOLPDisplay$1 = (scope, vertical, updates = {}) => {
|
|
1798
|
+
const func = vertical ? col2RadioCenter : col2Radio;
|
|
1799
|
+
const label = vertical ? updates.label : "Select The Real Estate Issue:";
|
|
1800
|
+
const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Real Estate"';
|
|
1801
|
+
return func(
|
|
1802
|
+
merge(
|
|
1803
|
+
{
|
|
1804
|
+
label,
|
|
1805
|
+
if: _if,
|
|
1806
|
+
name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
|
|
1807
|
+
options: [
|
|
1808
|
+
"Contracts and Agreements",
|
|
1809
|
+
"Deeds, Liens, and Titles",
|
|
1810
|
+
"Foreclosure",
|
|
1811
|
+
"Insurance",
|
|
1812
|
+
"Landlord and Tenant",
|
|
1813
|
+
"Loans and Mortgages",
|
|
1814
|
+
"Wills, Trusts, and Estates",
|
|
1815
|
+
"Property Damage",
|
|
1816
|
+
"Not Sure or Other",
|
|
1817
|
+
],
|
|
1818
|
+
},
|
|
1819
|
+
updates
|
|
1820
|
+
)
|
|
1821
|
+
)
|
|
1822
|
+
};
|
|
1823
|
+
|
|
1824
|
+
const relationshipToVictim$1 = (scope, vertical, updates = {}) => {
|
|
1825
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1826
|
+
const label = vertical ? updates.label : "Relationship to the Victim:";
|
|
1827
|
+
return func(
|
|
1828
|
+
merge(
|
|
1829
|
+
{
|
|
1830
|
+
label,
|
|
1831
|
+
name: scope ? scope + ":" + "Relationship_To_Victim" : "Relationship_To_Victim",
|
|
1832
|
+
options: ["Parent", "Spouse", "Sibling", "Friend", "Other"],
|
|
1833
|
+
},
|
|
1834
|
+
updates
|
|
1835
|
+
)
|
|
1836
|
+
)
|
|
1837
|
+
};
|
|
1838
|
+
|
|
1839
|
+
const roleInMatterCriminal$1 = (scope, vertical, updates = {}) => {
|
|
1840
|
+
const func = vertical ? verticalRadio : sbsRadio;
|
|
1841
|
+
const label = vertical ? updates.label : "What is Your Role in this Matter?";
|
|
1842
|
+
return func(
|
|
1843
|
+
merge(
|
|
1844
|
+
{
|
|
1845
|
+
label,
|
|
1846
|
+
name: scope ? scope + ":" + "Role_In_Matter_Criminal" : "Role_In_Matter_Criminal",
|
|
1847
|
+
options: ["I have been accused", "I am acting on behalf of someone who has been accused", "Other"],
|
|
1848
|
+
},
|
|
1849
|
+
updates
|
|
1850
|
+
)
|
|
1851
|
+
)
|
|
1852
|
+
};
|
|
1853
|
+
|
|
1854
|
+
const roleInMatterProbate$1 = (scope, vertical, updates = {}) => {
|
|
1855
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1856
|
+
const label = vertical ? updates.label : "What is Your Role in this Matter?";
|
|
1857
|
+
return func(
|
|
1858
|
+
merge(
|
|
1859
|
+
{
|
|
1860
|
+
label,
|
|
1861
|
+
name: scope ? scope + ":" + "Role_In_Matter_Probate" : "Role_In_Matter_Probate",
|
|
1862
|
+
options: ["Preparing My Will", "Executor", "Heir", "Other"],
|
|
1863
|
+
},
|
|
1864
|
+
updates
|
|
1865
|
+
)
|
|
1866
|
+
)
|
|
1867
|
+
};
|
|
1868
|
+
|
|
1869
|
+
const socialSecurityDisabilityReceivingBenefits$1 = (scope, vertical, updates = {}) => {
|
|
1870
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1871
|
+
const label = vertical ? updates.label : "Are You Currently Receiving Social Security Disability Benefits?";
|
|
1872
|
+
return func(
|
|
1873
|
+
merge(
|
|
1874
|
+
{
|
|
1875
|
+
name: scope
|
|
1876
|
+
? scope + ":" + "Social_Security_Disability_Receiving_Benefits"
|
|
1877
|
+
: "Social_Security_Disability_Receiving_Benefits",
|
|
1878
|
+
label,
|
|
1879
|
+
},
|
|
1880
|
+
updates
|
|
1881
|
+
)
|
|
1882
|
+
)
|
|
1883
|
+
};
|
|
1884
|
+
|
|
1885
|
+
const taxLevel$1 = (scope, vertical, updates = {}) => {
|
|
1886
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1887
|
+
const label = vertical ? updates.label : "Which Level of Tax Issue?";
|
|
1888
|
+
return func(
|
|
1889
|
+
merge(
|
|
1890
|
+
{
|
|
1891
|
+
label,
|
|
1892
|
+
name: scope ? scope + ":" + "Tax_Level" : "Tax_Level",
|
|
1893
|
+
options: ["Federal", "State", "Local"],
|
|
1894
|
+
},
|
|
1895
|
+
updates
|
|
1896
|
+
)
|
|
1897
|
+
)
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
const taxIssueType$1 = (scope, vertical, updates = {}) => {
|
|
1901
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1902
|
+
const label = vertical ? updates.label : "Type of Tax Issue:";
|
|
1903
|
+
return func(
|
|
1904
|
+
merge(
|
|
1905
|
+
{
|
|
1906
|
+
label,
|
|
1907
|
+
name: scope ? scope + ":" + "Tax_Issue_Type" : "Tax_Issue_Type",
|
|
1908
|
+
options: ["Income", "Property", "Corporate"],
|
|
1909
|
+
},
|
|
1910
|
+
updates
|
|
1911
|
+
)
|
|
1912
|
+
)
|
|
1913
|
+
};
|
|
1914
|
+
|
|
1915
|
+
const taxProblemDetails$1 = (scope, vertical, updates = {}) => {
|
|
1916
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1917
|
+
const label = vertical ? updates.label : "Details of Tax Problem:";
|
|
1918
|
+
return func(
|
|
1919
|
+
merge(
|
|
1920
|
+
{
|
|
1921
|
+
label,
|
|
1922
|
+
name: scope ? scope + ":" + "Tax_Problem_Details" : "Tax_Problem_Details",
|
|
1923
|
+
options: [
|
|
1924
|
+
"Assets Seized",
|
|
1925
|
+
"Bank Account Levied",
|
|
1926
|
+
"Cannot Pay Taxes",
|
|
1927
|
+
"Innocent Spouse",
|
|
1928
|
+
"Lien Filed",
|
|
1929
|
+
"Received Audit Notice",
|
|
1930
|
+
"Unpaid Interest",
|
|
1931
|
+
"Wage Garnishment",
|
|
1932
|
+
"Other",
|
|
1933
|
+
],
|
|
1934
|
+
},
|
|
1935
|
+
updates
|
|
1936
|
+
)
|
|
1937
|
+
)
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
const totalDebt$1 = (scope, vertical, updates = {}) => {
|
|
1941
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1942
|
+
const label = vertical ? updates.label : "Total Debt?";
|
|
1943
|
+
return func(
|
|
1944
|
+
merge(
|
|
1945
|
+
{
|
|
1946
|
+
label,
|
|
1947
|
+
name: scope ? scope + ":" + "Total_Debt" : "Total_Debt",
|
|
1948
|
+
options: ["Less than 5K", "5K to 10K", "10K to 20K", "20K to 50K", "More than 50K"],
|
|
1949
|
+
},
|
|
1950
|
+
updates
|
|
1951
|
+
)
|
|
1952
|
+
)
|
|
1953
|
+
};
|
|
1954
|
+
|
|
1955
|
+
const totalMonthlyIncome$1 = (scope, vertical, updates = {}) => {
|
|
1956
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
1957
|
+
const label = vertical ? updates.label : "Total Monthly Income?";
|
|
1958
|
+
return func(
|
|
1959
|
+
merge(
|
|
1960
|
+
{
|
|
1961
|
+
label,
|
|
1962
|
+
name: scope ? scope + ":" + "Total_Monthly_Income" : "Total_Monthly_Income",
|
|
1963
|
+
options: [
|
|
1964
|
+
"Less than 1K",
|
|
1965
|
+
"1K to 2K",
|
|
1966
|
+
"2K to 3K",
|
|
1967
|
+
"3K to 4K",
|
|
1968
|
+
"4K to 5K",
|
|
1969
|
+
"5K to 7K",
|
|
1970
|
+
"7K to 10K",
|
|
1971
|
+
"10K to 15K",
|
|
1972
|
+
"More than 15K",
|
|
1973
|
+
],
|
|
1974
|
+
},
|
|
1975
|
+
updates
|
|
1976
|
+
)
|
|
1977
|
+
)
|
|
1978
|
+
};
|
|
1979
|
+
|
|
1980
|
+
const TCPAConsent = (scope, updates = {}) => ({
|
|
1981
|
+
$formkit: "checkbox",
|
|
1982
|
+
label: "$meta.tcpaLanguage",
|
|
1983
|
+
// Necessary to get links to work in the tcpa language
|
|
1984
|
+
__raw__sectionsSchema: {
|
|
1985
|
+
label: { attrs: { innerHTML: "$label" } },
|
|
1986
|
+
},
|
|
1987
|
+
name: scope ? scope + ":" + "TCPA_Opt_In" : "TCPA_Opt_In",
|
|
1988
|
+
"data-tf-sensitive": "false",
|
|
1989
|
+
validation: "required|accepted",
|
|
1990
|
+
validationMessages: {
|
|
1991
|
+
required: "Consent is required",
|
|
1992
|
+
accepted: "Consent is required",
|
|
1993
|
+
},
|
|
1994
|
+
classes: {
|
|
1995
|
+
outer: updates.outerClass ? updates.outerClass : "",
|
|
1996
|
+
wrapper: updates.wrapperClass ? updates.wrapperClass : "",
|
|
1997
|
+
messages: updates.messagesClass ? updates.messagesClass : "",
|
|
1998
|
+
label:
|
|
1999
|
+
"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
|
|
2000
|
+
(updates.labelClass ? " " + updates.labelClass : ""),
|
|
2001
|
+
},
|
|
2002
|
+
});
|
|
2003
|
+
|
|
2004
|
+
const typeOfAlcoholTest$1 = (scope, vertical, updates = {}) => {
|
|
2005
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
2006
|
+
const label = vertical ? updates.label : "Type of Alcohol Test Performed?";
|
|
2007
|
+
return func(
|
|
2008
|
+
merge(
|
|
2009
|
+
{
|
|
2010
|
+
label,
|
|
2011
|
+
name: scope ? scope + ":" + "Type_Of_Alcohol_Test" : "Type_Of_Alcohol_Test",
|
|
2012
|
+
options: ["No Test", "Refused Test", "Breath Test", "Blood Test", "Urine Test", "Don't Know"],
|
|
2013
|
+
},
|
|
2014
|
+
updates
|
|
2015
|
+
)
|
|
2016
|
+
)
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2019
|
+
const typeOfAssets$1 = (scope, vertical, updates = {}) => {
|
|
2020
|
+
const func = vertical ? verticalCol2Checkbox : col2Checkbox;
|
|
2021
|
+
const label = vertical ? updates.label : "Type of Assets:";
|
|
2022
|
+
return func(
|
|
2023
|
+
merge(
|
|
2024
|
+
{
|
|
2025
|
+
label,
|
|
2026
|
+
name: scope ? scope + ":" + "Type_Of_Assets" : "Type_Of_Assets",
|
|
2027
|
+
options: [
|
|
2028
|
+
"Business Interests",
|
|
2029
|
+
"Cash",
|
|
2030
|
+
"Life Insurance Policies",
|
|
2031
|
+
"Pensions/Retirement",
|
|
2032
|
+
"Personal Possessions",
|
|
2033
|
+
"Property",
|
|
2034
|
+
"Stock/Bonds",
|
|
2035
|
+
],
|
|
2036
|
+
},
|
|
2037
|
+
updates
|
|
2038
|
+
)
|
|
2039
|
+
)
|
|
2040
|
+
};
|
|
2041
|
+
|
|
2042
|
+
const typeOfProperty$1 = (scope, vertical, updates = {}) => {
|
|
2043
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
2044
|
+
const label = vertical ? updates.label : "Type of Property:";
|
|
2045
|
+
return func(
|
|
2046
|
+
merge(
|
|
2047
|
+
{
|
|
2048
|
+
label,
|
|
2049
|
+
name: scope ? scope + ":" + "Type_Of_Property" : "Type_Of_Property",
|
|
2050
|
+
options: ["Residential", "Commercial", "Industrial", "Agricultural", "Recreational", "Other"],
|
|
2051
|
+
},
|
|
2052
|
+
updates
|
|
2053
|
+
)
|
|
2054
|
+
)
|
|
2055
|
+
};
|
|
2056
|
+
|
|
2057
|
+
const trafficViolations$1 = (scope, vertical, updates = {}) => {
|
|
2058
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
2059
|
+
const label = vertical ? updates.label : "Which Type of Violation?";
|
|
2060
|
+
return func(
|
|
2061
|
+
merge(
|
|
2062
|
+
{
|
|
2063
|
+
label,
|
|
2064
|
+
name: scope ? scope + ":" + "Traffic_Violations" : "Traffic_Violations",
|
|
2065
|
+
options: [
|
|
2066
|
+
"Disregarding a Red Light",
|
|
2067
|
+
"Disregarding a Stop Sign",
|
|
2068
|
+
"DMV Letter About License",
|
|
2069
|
+
"DUI/DWI",
|
|
2070
|
+
"Failure to Appear in Court",
|
|
2071
|
+
"License Suspended/Revoked",
|
|
2072
|
+
"Minor in Possession of Alcohol",
|
|
2073
|
+
"No Child Safety Seat",
|
|
2074
|
+
"No Liability Insurance",
|
|
2075
|
+
"No Seat Belt",
|
|
2076
|
+
"Open Container of Alcohol",
|
|
2077
|
+
"Parking Ticket",
|
|
2078
|
+
"Racing",
|
|
2079
|
+
"Speeding",
|
|
2080
|
+
"Unpaid Traffic Tickets",
|
|
2081
|
+
"Warrant Issue for Arrest",
|
|
2082
|
+
"Other Violation",
|
|
2083
|
+
],
|
|
2084
|
+
},
|
|
2085
|
+
updates
|
|
2086
|
+
)
|
|
2087
|
+
)
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
const valueOfAssets$1 = (scope, vertical, updates = {}) => {
|
|
2091
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
2092
|
+
const label = vertical ? updates.label : "Value of Your Assets?";
|
|
2093
|
+
return func(
|
|
2094
|
+
merge(
|
|
2095
|
+
{
|
|
2096
|
+
label,
|
|
2097
|
+
name: scope ? scope + ":" + "Value_Of_Assets" : "Value_Of_Assets",
|
|
2098
|
+
options: ["Less than 50K", "50K to 100K", "100K to 250K", "250K to 500K", "500K to 1M", "More than 1M"],
|
|
2099
|
+
},
|
|
2100
|
+
updates
|
|
2101
|
+
)
|
|
2102
|
+
)
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
const veteransDisabilityApplied$1 = (scope, vertical, updates = {}) => {
|
|
2106
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
2107
|
+
const label = vertical ? updates.label : "Has the Applicant Applied for VA Disability Compensation?";
|
|
2108
|
+
return func(
|
|
2109
|
+
merge(
|
|
2110
|
+
{
|
|
2111
|
+
label,
|
|
2112
|
+
name: scope ? scope + ":" + "Veterans_Disability_Applied" : "Veterans_Disability_Applied",
|
|
2113
|
+
options: [
|
|
2114
|
+
"Yes, Claim filed and awaiting decision",
|
|
2115
|
+
"Yes, Claim denied",
|
|
2116
|
+
"Yes, Claim on appeal",
|
|
2117
|
+
"Yes, Claim approved",
|
|
2118
|
+
"Yes, Benefits awarded",
|
|
2119
|
+
"No, Claim has not been filed",
|
|
2120
|
+
],
|
|
2121
|
+
},
|
|
2122
|
+
updates
|
|
2123
|
+
)
|
|
2124
|
+
)
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
const veteransDisabilityConditions$1 = (scope, vertical, updates = {}) => {
|
|
2128
|
+
const func = vertical ? verticalCheckbox : sbsCheckbox;
|
|
2129
|
+
const label = vertical ? updates.label : "What Service Connected Conditions Does the Applicant Have?";
|
|
2130
|
+
return func(
|
|
2131
|
+
merge(
|
|
2132
|
+
{
|
|
2133
|
+
label,
|
|
2134
|
+
name: scope ? scope + ":" + "Veterans_Disability_Conditions" : "Veterans_Disability_Conditions",
|
|
2135
|
+
options: [
|
|
2136
|
+
"Traumatic Physical Injury (broken bones, loss of limb)",
|
|
2137
|
+
"Mental Injury",
|
|
2138
|
+
"Occupational Disease",
|
|
2139
|
+
"Repeated Trauma Injury",
|
|
2140
|
+
"Other",
|
|
2141
|
+
],
|
|
2142
|
+
},
|
|
2143
|
+
updates
|
|
2144
|
+
)
|
|
2145
|
+
)
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
const veteransDisabilityRelationship$1 = (scope, vertical, updates = {}) => {
|
|
2149
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
2150
|
+
const label = vertical ? updates.label : "What is Your Relationship to the Applicant?";
|
|
2151
|
+
return func(
|
|
2152
|
+
merge(
|
|
2153
|
+
{
|
|
2154
|
+
label,
|
|
2155
|
+
name: scope ? scope + ":" + "Veterans_Disability_Relationship" : "Veterans_Disability_Relationship",
|
|
2156
|
+
options: [
|
|
2157
|
+
"Self, Active Duty",
|
|
2158
|
+
"Self, Active Reserve",
|
|
2159
|
+
"Self, Discharged from Active Duty",
|
|
2160
|
+
"Self, Discharged as Reservist",
|
|
2161
|
+
"Surviving Family Member",
|
|
2162
|
+
"Other",
|
|
2163
|
+
],
|
|
2164
|
+
},
|
|
2165
|
+
updates
|
|
2166
|
+
)
|
|
2167
|
+
)
|
|
2168
|
+
};
|
|
2169
|
+
|
|
2170
|
+
const veteransDisabilityInjured$1 = (scope, vertical, updates = {}) => {
|
|
2171
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
2172
|
+
const label = vertical
|
|
2173
|
+
? updates.label
|
|
2174
|
+
: "Was the Applicant Hurt While on Duty or is the Condition Related to Military Service?";
|
|
2175
|
+
return func(
|
|
2176
|
+
merge(
|
|
2177
|
+
{
|
|
2178
|
+
name: scope ? scope + ":" + "Veterans_Disability_Injured" : "Veterans_Disability_Injured",
|
|
2179
|
+
label,
|
|
2180
|
+
},
|
|
2181
|
+
updates
|
|
2182
|
+
)
|
|
2183
|
+
)
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
const wouldLikeLawyerTo$1 = (scope, vertical, updates = {}) => {
|
|
2187
|
+
const func = vertical ? verticalRadio : sbsRadio;
|
|
2188
|
+
const label = vertical ? updates.label : "I Would Like a Lawyer to:";
|
|
2189
|
+
return func(
|
|
2190
|
+
merge(
|
|
2191
|
+
{
|
|
2192
|
+
label,
|
|
2193
|
+
name: scope ? scope + ":" + "Would_Like_Lawyer_To" : "Would_Like_Lawyer_To",
|
|
2194
|
+
options: [
|
|
2195
|
+
"Give me general advice to protect my interests",
|
|
2196
|
+
"Act as my agent in the transaction",
|
|
2197
|
+
"Assist me in the remaining stages of the transaction",
|
|
2198
|
+
"Bring a lawsuit against another party",
|
|
2199
|
+
"Defend against a lawsuit filed by another party",
|
|
2200
|
+
"Other",
|
|
2201
|
+
],
|
|
2202
|
+
},
|
|
2203
|
+
updates
|
|
2204
|
+
)
|
|
2205
|
+
)
|
|
2206
|
+
};
|
|
2207
|
+
|
|
2208
|
+
const criminalTOLPDisplay$1 = (scope, vertical, updates = {}) => {
|
|
2209
|
+
const func = vertical ? col2RadioCenter : col2Radio;
|
|
2210
|
+
const label = vertical ? updates.label : "Select The Criminal Issue:";
|
|
2211
|
+
const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Criminal and Felony"';
|
|
2212
|
+
return func(
|
|
2213
|
+
merge(
|
|
2214
|
+
{
|
|
2215
|
+
label,
|
|
2216
|
+
if: _if,
|
|
2217
|
+
name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
|
|
2218
|
+
options: [
|
|
2219
|
+
"Criminal Defense",
|
|
2220
|
+
"Victim of a Crime",
|
|
2221
|
+
"DUI and DWI",
|
|
2222
|
+
"Expungement",
|
|
2223
|
+
"Harassment",
|
|
2224
|
+
"Not Sure or Other",
|
|
2225
|
+
],
|
|
2226
|
+
},
|
|
2227
|
+
updates
|
|
2228
|
+
)
|
|
2229
|
+
)
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2232
|
+
const NEXT_ON_ENTER = "$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))";
|
|
2233
|
+
const NEXT_ON_INPUT = "$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))";
|
|
2234
|
+
|
|
2235
|
+
const isInput = (n) => {
|
|
2236
|
+
return n.type !== "group" && n.type !== "section" && n.type !== "form" && n.$formkit !== "hidden" && !n.children
|
|
2237
|
+
};
|
|
2238
|
+
|
|
2239
|
+
const findLastInput = (n) => {
|
|
2240
|
+
if (isInput(n)) {
|
|
2241
|
+
return n
|
|
2242
|
+
}
|
|
2243
|
+
for (var i = n.children.length - 1; i >= 0; i--) {
|
|
2244
|
+
if (typeof n.children === "string") {
|
|
2245
|
+
continue
|
|
2246
|
+
}
|
|
2247
|
+
const child = n.children[i];
|
|
2248
|
+
if (isInput(child)) {
|
|
2249
|
+
return child
|
|
2250
|
+
}
|
|
2251
|
+
const res = findLastInput(child);
|
|
2252
|
+
if (res) {
|
|
2253
|
+
return res
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
return null
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2259
|
+
const secureIconDefault = {
|
|
2260
|
+
$el: "div",
|
|
2261
|
+
if: "$activeStep === $lastStep()",
|
|
2262
|
+
attrs: {
|
|
2263
|
+
class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500",
|
|
2264
|
+
},
|
|
2265
|
+
children: [
|
|
2266
|
+
{
|
|
2267
|
+
$el: "img",
|
|
2268
|
+
attrs: {
|
|
2269
|
+
loading: "lazy",
|
|
2270
|
+
alt: "",
|
|
2271
|
+
style: {
|
|
2272
|
+
border: 0,
|
|
2273
|
+
},
|
|
2274
|
+
width: "25",
|
|
2275
|
+
height: "25",
|
|
2276
|
+
src: "https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg",
|
|
2277
|
+
},
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
$el: "span",
|
|
2281
|
+
children: "Secure & Encrypted",
|
|
2282
|
+
attrs: {
|
|
2283
|
+
class: "t-pl-2 t-pt-1 t-font-medium",
|
|
2284
|
+
},
|
|
2285
|
+
},
|
|
2286
|
+
],
|
|
2287
|
+
};
|
|
2288
|
+
|
|
2289
|
+
function secureIcon(updates = {}) {
|
|
2290
|
+
return merge(secureIconDefault, updates)
|
|
2291
|
+
}
|
|
2292
|
+
|
|
2293
|
+
function secureIconStandalone(updates = {}) {
|
|
2294
|
+
return {
|
|
2295
|
+
if: "$activeStep === $lastStep()",
|
|
2296
|
+
style: {
|
|
2297
|
+
if: "$activeStep !== $lastStep()",
|
|
2298
|
+
then: "display: none;",
|
|
2299
|
+
},
|
|
2300
|
+
children: [
|
|
2301
|
+
secureIcon({
|
|
2302
|
+
attrs: {
|
|
2303
|
+
class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8",
|
|
2304
|
+
},
|
|
2305
|
+
...updates,
|
|
2306
|
+
}),
|
|
2307
|
+
],
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
function verticalStepHeadline(updates) {
|
|
2312
|
+
return {
|
|
2313
|
+
$el: "h3",
|
|
2314
|
+
children: updates.headline || "Tell Us About Your Situation",
|
|
2315
|
+
attrs: {
|
|
2316
|
+
class:
|
|
2317
|
+
"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" +
|
|
2318
|
+
" " +
|
|
2319
|
+
(updates.headlineClass || ""),
|
|
2320
|
+
},
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
function commentsStepHeadline(updates) {
|
|
2325
|
+
return {
|
|
2326
|
+
$el: "h3",
|
|
2327
|
+
children: updates.headline || "Additional Details",
|
|
2328
|
+
attrs: {
|
|
2329
|
+
class:
|
|
2330
|
+
"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" +
|
|
2331
|
+
" " +
|
|
2332
|
+
(updates.headlineClass || ""),
|
|
2333
|
+
},
|
|
2334
|
+
}
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
function firstAndLastStepHeadline(updates) {
|
|
2338
|
+
return {
|
|
2339
|
+
$el: "h3",
|
|
2340
|
+
children: updates.headline || "Please Provide a Contact Name",
|
|
2341
|
+
attrs: {
|
|
2342
|
+
class:
|
|
2343
|
+
"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" +
|
|
2344
|
+
" " +
|
|
2345
|
+
(updates.headlineClass || ""),
|
|
2346
|
+
},
|
|
2347
|
+
}
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
function contactStepHeadline(updates) {
|
|
2351
|
+
return {
|
|
2352
|
+
$el: "h3",
|
|
2353
|
+
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
|
|
2354
|
+
attrs: {
|
|
2355
|
+
class:
|
|
2356
|
+
"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" +
|
|
2357
|
+
" " +
|
|
2358
|
+
(updates.headlineClass || "") +
|
|
2359
|
+
" f-contact-info-headline",
|
|
2360
|
+
},
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
function contactStepSubHeadline(updates) {
|
|
2365
|
+
return {
|
|
2366
|
+
$el: "h5",
|
|
2367
|
+
children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL,
|
|
2368
|
+
attrs: {
|
|
2369
|
+
class:
|
|
2370
|
+
"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3" +
|
|
2371
|
+
" " +
|
|
2372
|
+
(updates.subheadlineClass || "") +
|
|
2373
|
+
" f-contact-info-subheadline",
|
|
2374
|
+
},
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
const TRUSTED_FORM_JS = `(function() {
|
|
2379
|
+
if (window.xxTrustedFormLoaded) {
|
|
2380
|
+
return
|
|
2381
|
+
}
|
|
2382
|
+
var vid = '';
|
|
2383
|
+
if (typeof window.zar !== 'undefined') {
|
|
2384
|
+
vid = window.zar.getVID();
|
|
2385
|
+
}
|
|
2386
|
+
window.xxTrustedFormLoaded = true;
|
|
2387
|
+
var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'
|
|
2388
|
+
var tf = document.createElement('script');
|
|
2389
|
+
tf.type = 'text/javascript'; tf.async = true;
|
|
2390
|
+
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();
|
|
2391
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);
|
|
2392
|
+
})();`;
|
|
2393
|
+
|
|
2394
|
+
function trustedFormScript() {
|
|
2395
|
+
return {
|
|
2396
|
+
$el: "script",
|
|
2397
|
+
if: "$activeStep === $lastStep()",
|
|
2398
|
+
children: TRUSTED_FORM_JS,
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
const stepDefaults = (step, stepKey) => ({
|
|
2403
|
+
$el: "section",
|
|
2404
|
+
if: '$stepEnabled("' + step + '")',
|
|
2405
|
+
attrs: {
|
|
2406
|
+
hidden: '$activeStep !== "' + step + '"',
|
|
2407
|
+
key: stepKey ? stepKey : step,
|
|
2408
|
+
},
|
|
2409
|
+
});
|
|
2410
|
+
|
|
2411
|
+
function step(name, inputs, updates = {}) {
|
|
2412
|
+
const {
|
|
2413
|
+
nextOnEnter = true,
|
|
2414
|
+
nextOnInput = false,
|
|
2415
|
+
stepKey = undefined,
|
|
2416
|
+
nextStepMap = undefined,
|
|
2417
|
+
triggerRedirectMap = undefined,
|
|
2418
|
+
autoFocus = undefined,
|
|
2419
|
+
} = updates;
|
|
2420
|
+
|
|
2421
|
+
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
2422
|
+
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
2423
|
+
if (lastInput && nextOnEnter === true) {
|
|
2424
|
+
lastInput.onKeypress = NEXT_ON_ENTER;
|
|
2425
|
+
}
|
|
2426
|
+
if (lastInput && nextOnInput === true) {
|
|
2427
|
+
lastInput.onInput = NEXT_ON_INPUT;
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
return merge(stepDefaults(name, stepKey), {
|
|
2432
|
+
children: [
|
|
2433
|
+
{
|
|
2434
|
+
$formkit: "group",
|
|
2435
|
+
id: name,
|
|
2436
|
+
name: name,
|
|
2437
|
+
nextStepMap: nextStepMap,
|
|
2438
|
+
triggerRedirectMap: triggerRedirectMap,
|
|
2439
|
+
autoFocus: autoFocus,
|
|
2440
|
+
children: inputs,
|
|
2441
|
+
},
|
|
2442
|
+
],
|
|
2443
|
+
})
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
// Single question step
|
|
2447
|
+
function sqstep(name, input, defaultHeadline, updates = {}) {
|
|
2448
|
+
if (typeof updates.nextOnInput === "undefined") {
|
|
2449
|
+
updates.nextOnInput = true;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
return step(
|
|
2453
|
+
name,
|
|
2454
|
+
[
|
|
2455
|
+
verticalStepHeadline({
|
|
2456
|
+
headline: updates.headline ?? defaultHeadline,
|
|
2457
|
+
headlineClass: updates.headlineClass,
|
|
2458
|
+
}),
|
|
2459
|
+
...(Array.isArray(input) ? input : [input]),
|
|
2460
|
+
],
|
|
2461
|
+
updates
|
|
2462
|
+
)
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
function commentsLegal(updates = {}) {
|
|
2466
|
+
const mergedUpdates = { ...updates, nextOnEnter: false };
|
|
2467
|
+
|
|
2468
|
+
return step(
|
|
2469
|
+
"comments",
|
|
2470
|
+
[
|
|
2471
|
+
commentsStepHeadline(updates),
|
|
2472
|
+
comments(updates.scope, false, {
|
|
2473
|
+
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
2474
|
+
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
2475
|
+
// TODO: this is a mess
|
|
2476
|
+
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
2477
|
+
innerClass: typeof updates.innerClass === "undefined" ? "t-max-w-xl" : updates.innerClass,
|
|
2478
|
+
wrapperClass: typeof updates.wrapperClass === "undefined" ? undefined : updates.wrapperClass,
|
|
2479
|
+
}),
|
|
2480
|
+
],
|
|
2481
|
+
mergedUpdates
|
|
2482
|
+
)
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
function contactInfoV2(updates = {}) {
|
|
2486
|
+
return step(
|
|
2487
|
+
"contactInfo",
|
|
2488
|
+
[
|
|
2489
|
+
contactStepHeadline(updates),
|
|
2490
|
+
contactStepSubHeadline(updates),
|
|
2491
|
+
trustedFormScript(),
|
|
2492
|
+
{
|
|
2493
|
+
$el: "div",
|
|
2494
|
+
attrs: {
|
|
2495
|
+
class: "t-flex t-flex-col t-justify-center t-items-center",
|
|
2496
|
+
},
|
|
2497
|
+
children: [
|
|
2498
|
+
emailFL(updates.scope, {
|
|
2499
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
2500
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
2501
|
+
}),
|
|
2502
|
+
phoneFL(updates.scope, {
|
|
2503
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
2504
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
2505
|
+
}),
|
|
2506
|
+
],
|
|
2507
|
+
},
|
|
2508
|
+
TCPAConsent(updates.scope, {
|
|
2509
|
+
outerClass: "!t-flex !t-flex-col !t-justify-center !t-items-center",
|
|
2510
|
+
wrapperClass: "t-w-[95%] sm:t-w-[80%]",
|
|
2511
|
+
messagesClass: "t-w-[95%] sm:t-w-[80%]",
|
|
2512
|
+
}),
|
|
2513
|
+
],
|
|
2514
|
+
{ nextOnEnter: false }
|
|
2515
|
+
)
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
function firstAndLastV4(updates = {}) {
|
|
2519
|
+
return step(
|
|
2520
|
+
"firstAndLast",
|
|
2521
|
+
[
|
|
2522
|
+
firstAndLastStepHeadline({
|
|
2523
|
+
headline: updates.headline ?? "Who is looking for help?",
|
|
2524
|
+
headlineClass: updates.headlineClass,
|
|
2525
|
+
}),
|
|
2526
|
+
{
|
|
2527
|
+
$el: "div",
|
|
2528
|
+
attrs: {
|
|
2529
|
+
class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
|
|
2530
|
+
},
|
|
2531
|
+
children: [fullNameFLMobileCol(updates.scope)],
|
|
2532
|
+
},
|
|
2533
|
+
],
|
|
2534
|
+
updates
|
|
2535
|
+
)
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
function zipcode(updates = {}) {
|
|
2539
|
+
return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
function generalTOLP(updates = {}) {
|
|
2543
|
+
return step("generalTOLP", [generalTOLP$1(updates.scope, true, updates.input)], updates)
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
function maritalStatus(updates = {}) {
|
|
2547
|
+
return sqstep(
|
|
2548
|
+
"maritalStatus",
|
|
2549
|
+
maritalStatus$1(updates.scope, true, updates.input),
|
|
2550
|
+
"What is your marital status?",
|
|
2551
|
+
updates
|
|
2552
|
+
)
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
function civilLawsuitTOLPDisplay(updates = {}) {
|
|
2556
|
+
return sqstep(
|
|
2557
|
+
"civilLawsuitTOLPDisplay",
|
|
2558
|
+
civilLawsuitTOLPDisplay$1(updates.scope, true, updates.input),
|
|
2559
|
+
"What type of lawsuit would you like to file?",
|
|
2560
|
+
updates
|
|
2561
|
+
)
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
function criminalTOLPDisplay(updates = {}) {
|
|
2565
|
+
return sqstep(
|
|
2566
|
+
"criminalTOLPDisplay",
|
|
2567
|
+
criminalTOLPDisplay$1(updates.scope, true, updates.input),
|
|
2568
|
+
"Which type of criminal issue?",
|
|
2569
|
+
updates
|
|
2570
|
+
)
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
function employmentAndWorkplaceTOLPDisplay(updates = {}) {
|
|
2574
|
+
return sqstep(
|
|
2575
|
+
"employmentAndWorkplaceTOLPDisplay",
|
|
2576
|
+
employmentAndWorkplaceTOLPDisplay$1(updates.scope, true, updates.input),
|
|
2577
|
+
"What type of workplace issue?",
|
|
2578
|
+
updates
|
|
2579
|
+
)
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
function landlordTenantIssue(updates = {}) {
|
|
2583
|
+
return sqstep(
|
|
2584
|
+
"landlordTenantIssue",
|
|
2585
|
+
landlordTenantIssueRadio(updates.scope, true, updates.input),
|
|
2586
|
+
"What is the landlord / tenant issue?",
|
|
2587
|
+
updates
|
|
2588
|
+
)
|
|
2589
|
+
}
|
|
2590
|
+
|
|
2591
|
+
function realEstateTOLPDisplay(updates = {}) {
|
|
2592
|
+
return sqstep(
|
|
2593
|
+
"realEstateTOLPDisplay",
|
|
2594
|
+
realEstateTOLPDisplay$1(updates.scope, true, updates.input),
|
|
2595
|
+
"What type of real estate issue?",
|
|
2596
|
+
updates
|
|
2597
|
+
)
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
function haveChildren(updates = {}) {
|
|
2601
|
+
return sqstep("haveChildren", haveChildren$1(updates.scope, true, updates.input), "Do you have children?", updates)
|
|
2602
|
+
}
|
|
2603
|
+
|
|
2604
|
+
function childRelationship(updates = {}) {
|
|
2605
|
+
return sqstep(
|
|
2606
|
+
"childRelationship",
|
|
2607
|
+
childRelationship$1(updates.scope, true, updates.input),
|
|
2608
|
+
"Your relationship to the children:",
|
|
2609
|
+
updates
|
|
2610
|
+
)
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
function childHome(updates = {}) {
|
|
2614
|
+
return sqstep(
|
|
2615
|
+
"childHome",
|
|
2616
|
+
childHome$1(updates.scope, true, updates.input),
|
|
2617
|
+
"Who do the children currently live with?",
|
|
2618
|
+
updates
|
|
2619
|
+
)
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
function childPrimaryCaregiver(updates = {}) {
|
|
2623
|
+
return sqstep(
|
|
2624
|
+
"childPrimaryCaregiver",
|
|
2625
|
+
childPrimaryCaregiver$1(updates.scope, true, updates.input),
|
|
2626
|
+
"Who is the primary caregiver?",
|
|
2627
|
+
updates
|
|
2628
|
+
)
|
|
2629
|
+
}
|
|
2630
|
+
|
|
2631
|
+
function haveAttorney(updates = {}) {
|
|
2632
|
+
return sqstep(
|
|
2633
|
+
"haveAttorney",
|
|
2634
|
+
haveAttorney$1(updates.scope, true, updates.input),
|
|
2635
|
+
"Already working with an attorney?",
|
|
2636
|
+
updates
|
|
2637
|
+
)
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
function degreeOfInterest(updates = {}) {
|
|
2641
|
+
return sqstep(
|
|
2642
|
+
"degreeOfInterest",
|
|
2643
|
+
degreeOfInterest$1(updates.scope, true, updates.input),
|
|
2644
|
+
"Could you pay if your issue could be resolved?",
|
|
2645
|
+
updates
|
|
2646
|
+
)
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2649
|
+
function lawyerPaymentMethod(updates = {}) {
|
|
2650
|
+
return sqstep(
|
|
2651
|
+
"lawyerPaymentMethod",
|
|
2652
|
+
lawyerPaymentMethod$1(updates.scope, true, updates.input),
|
|
2653
|
+
"How would you pay if a solution required it?",
|
|
2654
|
+
updates
|
|
2655
|
+
)
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
function incidentDate(updates = {}) {
|
|
2659
|
+
return sqstep(
|
|
2660
|
+
"incidentDate",
|
|
2661
|
+
incidentDate$1(updates.scope, true, updates.input),
|
|
2662
|
+
"When did the incident occur?",
|
|
2663
|
+
updates
|
|
2664
|
+
)
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
function doctorTreatment(updates = {}) {
|
|
2668
|
+
return sqstep(
|
|
2669
|
+
"doctorTreatment",
|
|
2670
|
+
doctorTreatment$1(updates.scope, true, updates.input),
|
|
2671
|
+
"Have you seen a doctor about this?",
|
|
2672
|
+
updates
|
|
2673
|
+
)
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
function medicalMalpracticeInjuries(updates = {}) {
|
|
2677
|
+
return sqstep(
|
|
2678
|
+
"medicalMalpracticeInjuries",
|
|
2679
|
+
medicalMalpracticeInjuries$1(updates.scope, true, updates.input),
|
|
2680
|
+
"What injuries did you suffer?",
|
|
2681
|
+
updates
|
|
2682
|
+
)
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
function atFault(updates = {}) {
|
|
2686
|
+
return sqstep("atFault", atFault$1(updates.scope, true, updates.input), "Were you at fault?", updates)
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
function primaryInjury(updates = {}) {
|
|
2690
|
+
return sqstep(
|
|
2691
|
+
"primaryInjury",
|
|
2692
|
+
primaryInjury$1(updates.scope, true, updates.input),
|
|
2693
|
+
"What was the primary injury?",
|
|
2694
|
+
updates
|
|
2695
|
+
)
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
function policeReportFiled(updates = {}) {
|
|
2699
|
+
return sqstep(
|
|
2700
|
+
"policeReportFiled",
|
|
2701
|
+
policeReportFiled$1(updates.scope, true, updates.input),
|
|
2702
|
+
"Was a police report filed?",
|
|
2703
|
+
updates
|
|
2704
|
+
)
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
function totalMonthlyIncome(updates = {}) {
|
|
2708
|
+
return sqstep(
|
|
2709
|
+
"totalMonthlyIncome",
|
|
2710
|
+
totalMonthlyIncome$1(updates.scope, true, updates.input),
|
|
2711
|
+
"What is your total monthly income?",
|
|
2712
|
+
updates
|
|
2713
|
+
)
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
function totalDebt(updates = {}) {
|
|
2717
|
+
return sqstep("totalDebt", totalDebt$1(updates.scope, true, updates.input), "What is your total debt?", updates)
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
function ownRealEstate(updates = {}) {
|
|
2721
|
+
return sqstep(
|
|
2722
|
+
"ownRealEstate",
|
|
2723
|
+
ownRealEstate$1(updates.scope, true, updates.input),
|
|
2724
|
+
"Do you own real estate?",
|
|
2725
|
+
updates
|
|
2726
|
+
)
|
|
2727
|
+
}
|
|
2728
|
+
|
|
2729
|
+
function valueOfAssets(updates = {}) {
|
|
2730
|
+
return sqstep(
|
|
2731
|
+
"valueOfAssets",
|
|
2732
|
+
valueOfAssets$1(updates.scope, true, updates.input),
|
|
2733
|
+
"What is the value of your assets?",
|
|
2734
|
+
updates
|
|
2735
|
+
)
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
function businessServices(updates = {}) {
|
|
2739
|
+
return sqstep(
|
|
2740
|
+
"businessServices",
|
|
2741
|
+
businessServices$1(updates.scope, true, updates.input),
|
|
2742
|
+
"What legal services do you need?",
|
|
2743
|
+
updates
|
|
2744
|
+
)
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
function businessType(updates = {}) {
|
|
2748
|
+
return sqstep(
|
|
2749
|
+
"businessType",
|
|
2750
|
+
businessType$1(updates.scope, true, updates.input),
|
|
2751
|
+
"Is the business public or private?",
|
|
2752
|
+
updates
|
|
2753
|
+
)
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
function employerType(updates = {}) {
|
|
2757
|
+
return sqstep(
|
|
2758
|
+
"employerType",
|
|
2759
|
+
employerType$1(updates.scope, true, updates.input),
|
|
2760
|
+
"What type of employer is it?",
|
|
2761
|
+
updates
|
|
2762
|
+
)
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
function employeeAtCompany(updates = {}) {
|
|
2766
|
+
return sqstep(
|
|
2767
|
+
"employeeAtCompany",
|
|
2768
|
+
employeeAtCompany$1(updates.scope, true, updates.input),
|
|
2769
|
+
"Do you/they still work at the company?",
|
|
2770
|
+
updates
|
|
2771
|
+
)
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
function numEmployeesOfBusiness(updates = {}) {
|
|
2775
|
+
return sqstep(
|
|
2776
|
+
"numEmployeesOfBusiness",
|
|
2777
|
+
numEmployeesOfBusiness$1(updates.scope, true, updates.input),
|
|
2778
|
+
"How many employees does the business have?",
|
|
2779
|
+
updates
|
|
2780
|
+
)
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
function civilRightsType(updates = {}) {
|
|
2784
|
+
return sqstep(
|
|
2785
|
+
"civilRightsType",
|
|
2786
|
+
civilRightsType$1(updates.scope, true, updates.input),
|
|
2787
|
+
"How were your rights violated?",
|
|
2788
|
+
updates
|
|
2789
|
+
)
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
function lawsuitOtherParty(updates = {}) {
|
|
2793
|
+
return sqstep(
|
|
2794
|
+
"lawsuitOtherParty",
|
|
2795
|
+
lawsuitOtherParty$1(updates.scope, true, updates.input),
|
|
2796
|
+
"What describes the other party in the lawsuit?",
|
|
2797
|
+
updates
|
|
2798
|
+
)
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
function crimeCommittedDate(updates = {}) {
|
|
2802
|
+
return sqstep(
|
|
2803
|
+
"crimeCommittedDate",
|
|
2804
|
+
crimeCommittedDate$1(updates.scope, true, updates.input),
|
|
2805
|
+
"When was the alleged crime?",
|
|
2806
|
+
updates
|
|
2807
|
+
)
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
function roleInMatterCriminal(updates = {}) {
|
|
2811
|
+
return sqstep(
|
|
2812
|
+
"roleInMatterCriminal",
|
|
2813
|
+
roleInMatterCriminal$1(updates.scope, true, updates.input),
|
|
2814
|
+
"What is your role in this matter?",
|
|
2815
|
+
updates
|
|
2816
|
+
)
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
function pendingCharges(updates = {}) {
|
|
2820
|
+
return sqstep(
|
|
2821
|
+
"pendingCharges",
|
|
2822
|
+
pendingCharges$1(updates.scope, true, updates.input),
|
|
2823
|
+
"Do you have any pending charges?",
|
|
2824
|
+
updates
|
|
2825
|
+
)
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
function consumerLawyerType(updates = {}) {
|
|
2829
|
+
return sqstep(
|
|
2830
|
+
"consumerLawyerType",
|
|
2831
|
+
consumerLawyerType$1(updates.scope, true, updates.input),
|
|
2832
|
+
"What best describes your issue?",
|
|
2833
|
+
updates
|
|
2834
|
+
)
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
function bloodContentAlcoholTest(updates = {}) {
|
|
2838
|
+
return sqstep(
|
|
2839
|
+
"bloodContentAlcoholTest",
|
|
2840
|
+
bloodContentAlcoholTest$1(updates.scope, true, updates.input),
|
|
2841
|
+
"What was your blood alcohol content?",
|
|
2842
|
+
updates
|
|
2843
|
+
)
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
function priorAlcoholOffenses(updates = {}) {
|
|
2847
|
+
return sqstep(
|
|
2848
|
+
"priorAlcoholOffenses",
|
|
2849
|
+
priorAlcoholOffenses$1(updates.scope, true, updates.input),
|
|
2850
|
+
"Do you have prior alcohol offenses?",
|
|
2851
|
+
updates
|
|
2852
|
+
)
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
function typeOfAlcoholTest(updates = {}) {
|
|
2856
|
+
return sqstep(
|
|
2857
|
+
"typeOfAlcoholTest",
|
|
2858
|
+
typeOfAlcoholTest$1(updates.scope, true, updates.input),
|
|
2859
|
+
"What type of alcohol test was performed?",
|
|
2860
|
+
updates
|
|
2861
|
+
)
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
function driversLicenseType(updates = {}) {
|
|
2865
|
+
return sqstep(
|
|
2866
|
+
"driversLicenseType",
|
|
2867
|
+
driversLicenseType$1(updates.scope, true, updates.input),
|
|
2868
|
+
"What type of license do you have?",
|
|
2869
|
+
updates
|
|
2870
|
+
)
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
function trafficViolations(updates = {}) {
|
|
2874
|
+
return sqstep(
|
|
2875
|
+
"trafficViolations",
|
|
2876
|
+
trafficViolations$1(updates.scope, true, updates.input),
|
|
2877
|
+
"What type of traffic violation?",
|
|
2878
|
+
updates
|
|
2879
|
+
)
|
|
2880
|
+
}
|
|
2881
|
+
|
|
2882
|
+
function haveCourtDate(updates = {}) {
|
|
2883
|
+
return sqstep(
|
|
2884
|
+
"haveCourtDate",
|
|
2885
|
+
haveCourtDate$1(updates.scope, true, updates.input),
|
|
2886
|
+
"Do you have a court date?",
|
|
2887
|
+
updates
|
|
2888
|
+
)
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
function applicantOccupation(updates = {}) {
|
|
2892
|
+
return sqstep(
|
|
2893
|
+
"applicantOccupation",
|
|
2894
|
+
applicantOccupation$1(updates.scope, true, updates.input),
|
|
2895
|
+
"What is the applicant's occupation?",
|
|
2896
|
+
updates
|
|
2897
|
+
)
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
function applicantAge(updates = {}) {
|
|
2901
|
+
return sqstep(
|
|
2902
|
+
"applicantAge",
|
|
2903
|
+
applicantAge$1(updates.scope, true, updates.input),
|
|
2904
|
+
"What is the applicant's age?",
|
|
2905
|
+
updates
|
|
2906
|
+
)
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
function applicantLTDisabilityPolicy(updates = {}) {
|
|
2910
|
+
return sqstep(
|
|
2911
|
+
"applicantLTDisabilityPolicy",
|
|
2912
|
+
applicantLTDisabilityPolicy$1(updates.scope, true, updates.input),
|
|
2913
|
+
"Does the applicant have a disability policy?",
|
|
2914
|
+
updates
|
|
2915
|
+
)
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2918
|
+
function applicantDisabilityHowObtain(updates = {}) {
|
|
2919
|
+
return sqstep(
|
|
2920
|
+
"applicantDisabilityHowObtain",
|
|
2921
|
+
applicantDisabilityHowObtain$1(updates.scope, true, updates.input),
|
|
2922
|
+
"How did the applicant obtain the disability policy?",
|
|
2923
|
+
updates
|
|
2924
|
+
)
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
function applicantPreviouslyAppliedLtdBenefits(updates = {}) {
|
|
2928
|
+
return sqstep(
|
|
2929
|
+
"applicantPreviouslyAppliedLtdBenefits",
|
|
2930
|
+
applicantPreviouslyAppliedLtdBenefits$1(updates.scope, true, updates.input),
|
|
2931
|
+
"Has the applicant previously applied for long-term disability benefits?",
|
|
2932
|
+
updates
|
|
2933
|
+
)
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
function applicantReceivedDisabilityBenefits(updates = {}) {
|
|
2937
|
+
return sqstep(
|
|
2938
|
+
"applicantReceivedDisabilityBenefits",
|
|
2939
|
+
applicantReceivedDisabilityBenefits$1(updates.scope, true, updates.input),
|
|
2940
|
+
"Has the applicant received disability benefits for this claim?",
|
|
2941
|
+
updates
|
|
2942
|
+
)
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2945
|
+
function applicantMonthlySalary(updates = {}) {
|
|
2946
|
+
return sqstep(
|
|
2947
|
+
"applicantMonthlySalary",
|
|
2948
|
+
applicantMonthlySalary$1(updates.scope, true, updates.input),
|
|
2949
|
+
"Applicant's monthly pay when last working:",
|
|
2950
|
+
updates
|
|
2951
|
+
)
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
function claimStatus(updates = {}) {
|
|
2955
|
+
return sqstep(
|
|
2956
|
+
"claimStatus",
|
|
2957
|
+
claimStatus$1(updates.scope, true, updates.input),
|
|
2958
|
+
"What is the status of the claim?",
|
|
2959
|
+
updates
|
|
2960
|
+
)
|
|
2961
|
+
}
|
|
2962
|
+
|
|
2963
|
+
function disabilityConditionStopWork(updates = {}) {
|
|
2964
|
+
return sqstep(
|
|
2965
|
+
"disabilityConditionStopWork",
|
|
2966
|
+
disabilityConditionStopWork$1(updates.scope, true, updates.input),
|
|
2967
|
+
"Do you expect to be out of work for at least a year?",
|
|
2968
|
+
updates
|
|
2969
|
+
)
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
function disabilityWorkHistory(updates = {}) {
|
|
2973
|
+
return sqstep(
|
|
2974
|
+
"disabilityWorkHistory",
|
|
2975
|
+
disabilityWorkHistory$1(updates.scope, true, updates.input),
|
|
2976
|
+
"Have you had a full-time job in the past 5 years?",
|
|
2977
|
+
updates
|
|
2978
|
+
)
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
function socialSecurityDisabilityReceivingBenefits(updates = {}) {
|
|
2982
|
+
return sqstep(
|
|
2983
|
+
"socialSecurityDisabilityReceivingBenefits",
|
|
2984
|
+
socialSecurityDisabilityReceivingBenefits$1(updates.scope, true, updates.input),
|
|
2985
|
+
"Are you receiving Social Security Disability benefits?",
|
|
2986
|
+
updates
|
|
2987
|
+
)
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
function typeOfAssets(updates = {}) {
|
|
2991
|
+
if (typeof updates.nextOnInput === "undefined") {
|
|
2992
|
+
updates.nextOnInput = false;
|
|
2993
|
+
}
|
|
2994
|
+
return sqstep(
|
|
2995
|
+
"typeOfAssets",
|
|
2996
|
+
typeOfAssets$1(updates.scope, true, updates.input),
|
|
2997
|
+
"What type of assets are involved?",
|
|
2998
|
+
updates
|
|
2999
|
+
)
|
|
3000
|
+
}
|
|
3001
|
+
|
|
3002
|
+
function roleInMatterProbate(updates = {}) {
|
|
3003
|
+
return sqstep(
|
|
3004
|
+
"roleInMatterProbate",
|
|
3005
|
+
roleInMatterProbate$1(updates.scope, true, updates.input),
|
|
3006
|
+
"What is your role in this matter?",
|
|
3007
|
+
updates
|
|
3008
|
+
)
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
function estateLegalServicesNeeded(updates = {}) {
|
|
3012
|
+
return sqstep(
|
|
3013
|
+
"estateLegalServicesNeeded",
|
|
3014
|
+
estateLegalServicesNeeded$1(updates.scope, true, updates.input),
|
|
3015
|
+
"What legal services are needed?",
|
|
3016
|
+
updates
|
|
3017
|
+
)
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
function realEstateArea(updates = {}) {
|
|
3021
|
+
return sqstep(
|
|
3022
|
+
"realEstateArea",
|
|
3023
|
+
realEstateArea$1(updates.scope, true, updates.input),
|
|
3024
|
+
"What area of real estate?",
|
|
3025
|
+
updates
|
|
3026
|
+
)
|
|
3027
|
+
}
|
|
3028
|
+
|
|
3029
|
+
function typeOfProperty(updates = {}) {
|
|
3030
|
+
return sqstep(
|
|
3031
|
+
"typeOfProperty",
|
|
3032
|
+
typeOfProperty$1(updates.scope, true, updates.input),
|
|
3033
|
+
"What type of property is involved?",
|
|
3034
|
+
updates
|
|
3035
|
+
)
|
|
3036
|
+
}
|
|
3037
|
+
|
|
3038
|
+
function amountPaymentsPastDue(updates = {}) {
|
|
3039
|
+
return sqstep(
|
|
3040
|
+
"amountPaymentsPastDue",
|
|
3041
|
+
amountPaymentsPastDue$1(updates.scope, true, updates.input),
|
|
3042
|
+
"Total payments past due:",
|
|
3043
|
+
updates
|
|
3044
|
+
)
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
function loanAmount(updates = {}) {
|
|
3048
|
+
return sqstep("loanAmount", loanAmount$1(updates.scope, true, updates.input), "Total amount of the loan:", updates)
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
function defaultNotice(updates = {}) {
|
|
3052
|
+
return sqstep(
|
|
3053
|
+
"defaultNotice",
|
|
3054
|
+
defaultNotice$1(updates.scope, true, updates.input),
|
|
3055
|
+
"Did you get a loan default notice?",
|
|
3056
|
+
updates
|
|
3057
|
+
)
|
|
3058
|
+
}
|
|
3059
|
+
|
|
3060
|
+
function wouldLikeLawyerTo(updates = {}) {
|
|
3061
|
+
return sqstep(
|
|
3062
|
+
"wouldLikeLawyerTo",
|
|
3063
|
+
wouldLikeLawyerTo$1(updates.scope, true, updates.input),
|
|
3064
|
+
"I would like the lawyer to:",
|
|
3065
|
+
updates
|
|
3066
|
+
)
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
function countryOfCitizenship(updates = {}) {
|
|
3070
|
+
return sqstep(
|
|
3071
|
+
"countryOfCitizenship",
|
|
3072
|
+
countryOfCitizenship$1(updates.scope, true, updates.input),
|
|
3073
|
+
"What is your current country of citizenship?",
|
|
3074
|
+
updates
|
|
3075
|
+
)
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
function immigrationLocation(updates = {}) {
|
|
3079
|
+
return sqstep(
|
|
3080
|
+
"immigrationLocation",
|
|
3081
|
+
immigrationLocation$1(updates.scope, true, updates.input),
|
|
3082
|
+
"Where are you migrating to?",
|
|
3083
|
+
updates
|
|
3084
|
+
)
|
|
3085
|
+
}
|
|
3086
|
+
|
|
3087
|
+
function immigrationEntry(updates = {}) {
|
|
3088
|
+
return sqstep(
|
|
3089
|
+
"immigrationEntry",
|
|
3090
|
+
immigrationEntry$1(updates.scope, true, updates.input),
|
|
3091
|
+
"How are you trying to enter the country?",
|
|
3092
|
+
updates
|
|
3093
|
+
)
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
function immigrationType(updates = {}) {
|
|
3097
|
+
return sqstep(
|
|
3098
|
+
"immigrationType",
|
|
3099
|
+
immigrationType$1(updates.scope, true, updates.input),
|
|
3100
|
+
"What type of immigration issue?",
|
|
3101
|
+
updates
|
|
3102
|
+
)
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
function immigrationStatus(updates = {}) {
|
|
3106
|
+
return sqstep(
|
|
3107
|
+
"immigrationStatus",
|
|
3108
|
+
immigrationStatus$1(updates.scope, true, updates.input),
|
|
3109
|
+
"Current statue of the immigration case:",
|
|
3110
|
+
updates
|
|
3111
|
+
)
|
|
3112
|
+
}
|
|
3113
|
+
|
|
3114
|
+
function immigrationDetails(updates = {}) {
|
|
3115
|
+
return sqstep(
|
|
3116
|
+
"immigrationDetails",
|
|
3117
|
+
immigrationDetails$1(updates.scope, true, updates.input),
|
|
3118
|
+
"Where is the person seeking immigration located?",
|
|
3119
|
+
updates
|
|
3120
|
+
)
|
|
3121
|
+
}
|
|
3122
|
+
|
|
3123
|
+
function landlordTenantParty(updates = {}) {
|
|
3124
|
+
return sqstep(
|
|
3125
|
+
"landlordTenantParty",
|
|
3126
|
+
landlordTenantParty$1(updates.scope, true, updates.input),
|
|
3127
|
+
"I am the:",
|
|
3128
|
+
updates
|
|
3129
|
+
)
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3132
|
+
function patentAssistanceType(updates = {}) {
|
|
3133
|
+
return sqstep(
|
|
3134
|
+
"patentAssistanceType",
|
|
3135
|
+
patentAssistanceType$1(updates.scope, true, updates.input),
|
|
3136
|
+
"What type of assistance do you need?",
|
|
3137
|
+
updates
|
|
3138
|
+
)
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
function patentFor(updates = {}) {
|
|
3142
|
+
return sqstep("patentFor", patentFor$1(updates.scope, true, updates.input), "What is the patent for?", updates)
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
function veteransDisabilityRelationship(updates = {}) {
|
|
3146
|
+
return sqstep(
|
|
3147
|
+
"veteransDisabilityRelationship",
|
|
3148
|
+
veteransDisabilityRelationship$1(updates.scope, true, updates.input),
|
|
3149
|
+
"What is your relationship to the applicant?",
|
|
3150
|
+
updates
|
|
3151
|
+
)
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
function veteransDisabilityInjured(updates = {}) {
|
|
3155
|
+
return sqstep(
|
|
3156
|
+
"veteransDisabilityInjured",
|
|
3157
|
+
veteransDisabilityInjured$1(updates.scope, true, updates.input),
|
|
3158
|
+
"Is the condition or injury related to military service?",
|
|
3159
|
+
updates
|
|
3160
|
+
)
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
function veteransDisabilityConditions(updates = {}) {
|
|
3164
|
+
return sqstep(
|
|
3165
|
+
"veteransDisabilityConditions",
|
|
3166
|
+
veteransDisabilityConditions$1(updates.scope, true, updates.input),
|
|
3167
|
+
"What conditions or injuries are applicable?",
|
|
3168
|
+
updates
|
|
3169
|
+
)
|
|
3170
|
+
}
|
|
3171
|
+
|
|
3172
|
+
function veteransDisabilityApplied(updates = {}) {
|
|
3173
|
+
return sqstep(
|
|
3174
|
+
"veteransDisabilityApplied",
|
|
3175
|
+
veteransDisabilityApplied$1(updates.scope, true, updates.input),
|
|
3176
|
+
"Has the applicant applied for VA disability benefits?",
|
|
3177
|
+
updates
|
|
3178
|
+
)
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3181
|
+
function criminalChargeType(updates = {}) {
|
|
3182
|
+
return sqstep(
|
|
3183
|
+
"criminalChargeType",
|
|
3184
|
+
criminalChargeType$1(updates.scope, true, updates.input),
|
|
3185
|
+
"What type of criminal charge?",
|
|
3186
|
+
updates
|
|
3187
|
+
)
|
|
3188
|
+
}
|
|
3189
|
+
|
|
3190
|
+
function taxProblemDetails(updates = {}) {
|
|
3191
|
+
return sqstep(
|
|
3192
|
+
"taxProblemDetails",
|
|
3193
|
+
taxProblemDetails$1(updates.scope, true, updates.input),
|
|
3194
|
+
"Details of the tax problem:",
|
|
3195
|
+
updates
|
|
3196
|
+
)
|
|
3197
|
+
}
|
|
3198
|
+
|
|
3199
|
+
function taxLevel(updates = {}) {
|
|
3200
|
+
return sqstep("taxLevel", taxLevel$1(updates.scope, true, updates.input), "What level of tax issue?", updates)
|
|
3201
|
+
}
|
|
3202
|
+
|
|
3203
|
+
function taxIssueType(updates = {}) {
|
|
3204
|
+
return sqstep(
|
|
3205
|
+
"taxIssueType",
|
|
3206
|
+
taxIssueType$1(updates.scope, true, updates.input),
|
|
3207
|
+
"What type of tax issue?",
|
|
3208
|
+
updates
|
|
3209
|
+
)
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
function causeOfInjury(updates = {}) {
|
|
3213
|
+
return sqstep(
|
|
3214
|
+
"causeOfInjury",
|
|
3215
|
+
causeOfInjury$1(updates.scope, true, updates.input),
|
|
3216
|
+
"What was the cause of the injury?",
|
|
3217
|
+
updates
|
|
3218
|
+
)
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
function causeOfDeath(updates = {}) {
|
|
3222
|
+
return sqstep(
|
|
3223
|
+
"causeOfDeath",
|
|
3224
|
+
causeOfDeath$1(updates.scope, true, updates.input),
|
|
3225
|
+
"What was the cause of death?",
|
|
3226
|
+
updates
|
|
3227
|
+
)
|
|
3228
|
+
}
|
|
3229
|
+
|
|
3230
|
+
function relationshipToVictim(updates = {}) {
|
|
3231
|
+
return sqstep(
|
|
3232
|
+
"relationshipToVictim",
|
|
3233
|
+
relationshipToVictim$1(updates.scope, true, updates.input),
|
|
3234
|
+
"What is your relationship to the victim?",
|
|
3235
|
+
updates
|
|
3236
|
+
)
|
|
3237
|
+
}
|
|
3238
|
+
|
|
3239
|
+
function criminalChargesFiled(updates = {}) {
|
|
3240
|
+
return sqstep(
|
|
3241
|
+
"criminalChargesFiled",
|
|
3242
|
+
criminalChargesFiled$1(updates.scope, true, updates.input),
|
|
3243
|
+
"Have criminal charges been filed?",
|
|
3244
|
+
updates
|
|
3245
|
+
)
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
const formNavigationNoFinalBack = (updates = {}) => ({
|
|
3249
|
+
$el: "div",
|
|
3250
|
+
attrs: {
|
|
3251
|
+
class: {
|
|
3252
|
+
if: "$activeStep === $firstStep()",
|
|
3253
|
+
then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
|
|
3254
|
+
else: {
|
|
3255
|
+
if: "$activeStep === $lastStep()",
|
|
3256
|
+
then: "step-nav !t-justify-center ",
|
|
3257
|
+
else: "step-nav !t-justify-between",
|
|
3258
|
+
},
|
|
3259
|
+
},
|
|
3260
|
+
},
|
|
3261
|
+
children: [
|
|
3262
|
+
{
|
|
3263
|
+
$formkit: "button",
|
|
3264
|
+
name: "back_button",
|
|
3265
|
+
onClick: "$setPreviousStep($prevStepFunc($get(form)))",
|
|
3266
|
+
children: "Back",
|
|
3267
|
+
outerClass: {
|
|
3268
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
3269
|
+
then: "t-hidden sm:t-block",
|
|
3270
|
+
else: "",
|
|
3271
|
+
},
|
|
3272
|
+
style: {
|
|
3273
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
3274
|
+
then: "display: none;",
|
|
3275
|
+
},
|
|
3276
|
+
classes: {
|
|
3277
|
+
input: (updates.inputClass || "") + " f-navigation-input",
|
|
3278
|
+
},
|
|
3279
|
+
},
|
|
3280
|
+
{
|
|
3281
|
+
$formkit: "button",
|
|
3282
|
+
name: "next_button",
|
|
3283
|
+
onClick: "$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",
|
|
3284
|
+
children: {
|
|
3285
|
+
if: "$activeStep === $firstStep()",
|
|
3286
|
+
then: updates.startText || "Start",
|
|
3287
|
+
else: "Next",
|
|
3288
|
+
},
|
|
3289
|
+
outerClass: {
|
|
3290
|
+
if: "$activeStep === $lastStep()",
|
|
3291
|
+
then: "t-hidden",
|
|
3292
|
+
else: "",
|
|
3293
|
+
},
|
|
3294
|
+
style: {
|
|
3295
|
+
if: "$activeStep === $lastStep()",
|
|
3296
|
+
then: "display: none;",
|
|
3297
|
+
},
|
|
3298
|
+
classes: {
|
|
3299
|
+
input: (updates.inputClass || "") + " f-navigation-input",
|
|
3300
|
+
},
|
|
3301
|
+
},
|
|
3302
|
+
{
|
|
3303
|
+
$formkit: "submit",
|
|
3304
|
+
name: "submit_button",
|
|
3305
|
+
label: updates.submitLabel || "Submit",
|
|
3306
|
+
if: "$activeStep === $lastStep()",
|
|
3307
|
+
style: {
|
|
3308
|
+
if: "$activeStep !== $lastStep()",
|
|
3309
|
+
then: "display: none;",
|
|
3310
|
+
},
|
|
3311
|
+
classes: {
|
|
3312
|
+
input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
|
|
3313
|
+
outer: "!t-mt-0 !t-mb-0",
|
|
3314
|
+
},
|
|
3315
|
+
},
|
|
3316
|
+
],
|
|
3317
|
+
});
|
|
3318
|
+
|
|
3319
|
+
const formDetails = () => ({
|
|
3320
|
+
$el: "pre",
|
|
3321
|
+
if: '$urlParam("fdbg", "") == 1',
|
|
3322
|
+
children: [
|
|
3323
|
+
{
|
|
3324
|
+
$el: "pre",
|
|
3325
|
+
children: "$stringify( $get(form).value )",
|
|
3326
|
+
attrs: {
|
|
3327
|
+
class: "t-text-xs",
|
|
3328
|
+
style: "overflow: scroll",
|
|
3329
|
+
},
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
$el: "pre",
|
|
3333
|
+
children: ["activeStep: ", "$activeStep"],
|
|
3334
|
+
attrs: {
|
|
3335
|
+
class: "t-text-xs",
|
|
3336
|
+
style: "overflow: scroll",
|
|
3337
|
+
},
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
$el: "pre",
|
|
3341
|
+
children: ["stepHistory: ", "$stepHistory"],
|
|
3342
|
+
attrs: {
|
|
3343
|
+
class: "t-text-xs",
|
|
3344
|
+
style: "overflow: scroll",
|
|
3345
|
+
},
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
$el: "pre",
|
|
3349
|
+
children: ["stepQueue: ", "$stepQueue"],
|
|
3350
|
+
attrs: {
|
|
3351
|
+
class: "t-text-xs",
|
|
3352
|
+
style: "overflow: scroll",
|
|
3353
|
+
},
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
$el: "pre",
|
|
3357
|
+
children: ["steps: ", "$stepKeys()"],
|
|
3358
|
+
attrs: {
|
|
3359
|
+
class: "t-text-xs",
|
|
3360
|
+
style: "overflow: scroll",
|
|
3361
|
+
},
|
|
3362
|
+
},
|
|
3363
|
+
],
|
|
3364
|
+
});
|
|
3365
|
+
|
|
3366
|
+
const formPropDefaults = {
|
|
3367
|
+
type: "form",
|
|
3368
|
+
id: "form",
|
|
3369
|
+
config: { validationVisibility: "submit" },
|
|
3370
|
+
onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
|
|
3371
|
+
plugins: "$plugins",
|
|
3372
|
+
actions: false,
|
|
3373
|
+
anchorElement: "form-anchor",
|
|
3374
|
+
useLocalStorage: true,
|
|
3375
|
+
prepop: {
|
|
3376
|
+
fromURL: true,
|
|
3377
|
+
},
|
|
3378
|
+
errorCodes: {
|
|
3379
|
+
403: { message: "An Error Occurred", abort: false },
|
|
3380
|
+
409: { abort: false },
|
|
3381
|
+
429: "An Error Occurred",
|
|
3382
|
+
504: { message: "An Error Occurred", abort: false },
|
|
3383
|
+
},
|
|
3384
|
+
formClass: "!t-max-w-[40rem]",
|
|
3385
|
+
};
|
|
3386
|
+
|
|
3387
|
+
function filterMapByKey(obj, keyList) {
|
|
3388
|
+
return Object.fromEntries(Object.entries(obj).filter(([key]) => keyList.includes(key)))
|
|
3389
|
+
}
|
|
3390
|
+
|
|
3391
|
+
// export function filteredNextStepsMapLegal(keyList) {
|
|
3392
|
+
// const res = { Type_Of_Legal_Problem: filterMapByKey(nextStepsMapGeneralLegal["Type_Of_Legal_Problem"], keyList) }
|
|
3393
|
+
// res["*"] = nextStepsMapGeneralLegal["*"]
|
|
3394
|
+
// return res
|
|
3395
|
+
// }
|
|
3396
|
+
|
|
3397
|
+
function formProps(updates) {
|
|
3398
|
+
const props = merge(formPropDefaults, updates);
|
|
3399
|
+
if (props.formId && !props.name) {
|
|
3400
|
+
props.name = props.formId;
|
|
3401
|
+
}
|
|
3402
|
+
return props
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
const metaDefaults = {};
|
|
3406
|
+
|
|
3407
|
+
function metaProps(updates) {
|
|
3408
|
+
const data = merge(metaDefaults, updates);
|
|
3409
|
+
return {
|
|
3410
|
+
type: "meta",
|
|
3411
|
+
data,
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
function defaultMetaPropsLegal(tolps = null) {
|
|
3416
|
+
let commentsPlaceholders = TOLPCommentsPlaceholders;
|
|
3417
|
+
let finalHeadlines = TOLPFinalHeadlines;
|
|
3418
|
+
let finalSubHeadlines = TOLPFinalSubHeadlines;
|
|
3419
|
+
if (tolps) {
|
|
3420
|
+
commentsPlaceholders = filterMapByKey(TOLPCommentsPlaceholders, tolps);
|
|
3421
|
+
finalHeadlines = filterMapByKey(TOLPFinalHeadlines, tolps);
|
|
3422
|
+
finalSubHeadlines = filterMapByKey(TOLPFinalSubHeadlines, tolps);
|
|
3423
|
+
}
|
|
3424
|
+
return metaProps({
|
|
3425
|
+
tcpaLanguage: TCPA_LANGUAGE_LEGAL,
|
|
3426
|
+
defaultCommentsPlaceholder: DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
3427
|
+
commentsPlaceholders: commentsPlaceholders,
|
|
3428
|
+
defaultFinalHeadline: DEFAULT_FINAL_HEADLINE_LEGAL,
|
|
3429
|
+
finalHeadlines: finalHeadlines,
|
|
3430
|
+
defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE_LEGAL,
|
|
3431
|
+
finalSubHeadlines: finalSubHeadlines,
|
|
3432
|
+
})
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
function dynamicSchemaNode(field = "Type_Of_Legal_Problem") {
|
|
3436
|
+
return {
|
|
3437
|
+
$cmp: "FormKitSchema",
|
|
3438
|
+
if: "$get(" + field + ").value",
|
|
3439
|
+
props: {
|
|
3440
|
+
schema: "$meta.dynamicSchema",
|
|
3441
|
+
data: "$buildData($meta)",
|
|
3442
|
+
},
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
const formAnchorDefaults = {
|
|
3447
|
+
$el: "div",
|
|
3448
|
+
children: [
|
|
3449
|
+
{
|
|
3450
|
+
$el: "div",
|
|
3451
|
+
attrs: {
|
|
3452
|
+
id: "form-anchor",
|
|
3453
|
+
class: "t-absolute",
|
|
3454
|
+
style: { top: "-30px", left: 0 },
|
|
3455
|
+
},
|
|
3456
|
+
},
|
|
3457
|
+
],
|
|
3458
|
+
attrs: {
|
|
3459
|
+
class: "t-relative",
|
|
3460
|
+
},
|
|
3461
|
+
};
|
|
3462
|
+
|
|
3463
|
+
function formAnchor(updates) {
|
|
3464
|
+
return merge(formAnchorDefaults, updates)
|
|
3465
|
+
}
|
|
3466
|
+
|
|
3467
|
+
const progressBarDefaults = {
|
|
3468
|
+
$el: "div",
|
|
3469
|
+
attrs: {
|
|
3470
|
+
class: "t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",
|
|
3471
|
+
style: {
|
|
3472
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
3473
|
+
then: "display: none",
|
|
3474
|
+
},
|
|
3475
|
+
},
|
|
3476
|
+
children: [
|
|
3477
|
+
{
|
|
3478
|
+
$el: "div",
|
|
3479
|
+
attrs: {
|
|
3480
|
+
class: "t-flex t-justify-center",
|
|
3481
|
+
},
|
|
3482
|
+
children: [
|
|
3483
|
+
{
|
|
3484
|
+
$el: "span",
|
|
3485
|
+
attrs: {
|
|
3486
|
+
id: "progress-bar-text",
|
|
3487
|
+
class: "t-text-sm t-mb-1",
|
|
3488
|
+
},
|
|
3489
|
+
children: ["0% Complete"],
|
|
3490
|
+
},
|
|
3491
|
+
],
|
|
3492
|
+
},
|
|
3493
|
+
{
|
|
3494
|
+
$el: "div",
|
|
3495
|
+
attrs: {
|
|
3496
|
+
class: "t-bg-gray-100 t-w-9/12 t-rounded",
|
|
3497
|
+
},
|
|
3498
|
+
children: [
|
|
3499
|
+
{
|
|
3500
|
+
$el: "div",
|
|
3501
|
+
attrs: {
|
|
3502
|
+
id: "progress-bar",
|
|
3503
|
+
class:
|
|
3504
|
+
"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]",
|
|
3505
|
+
style: {
|
|
3506
|
+
transition: "width 0.5s ease",
|
|
3507
|
+
},
|
|
3508
|
+
},
|
|
3509
|
+
},
|
|
3510
|
+
],
|
|
3511
|
+
},
|
|
3512
|
+
],
|
|
3513
|
+
};
|
|
3514
|
+
|
|
3515
|
+
function progressBar(updates) {
|
|
3516
|
+
return merge(progressBarDefaults, updates)
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3519
|
+
function headlineDefaults(updates = {}) {
|
|
3520
|
+
return {
|
|
3521
|
+
$el: "h1",
|
|
3522
|
+
attrs: {
|
|
3523
|
+
class:
|
|
3524
|
+
"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" +
|
|
3525
|
+
" " +
|
|
3526
|
+
(updates.headlineClass || "") +
|
|
3527
|
+
" f-first-headline",
|
|
3528
|
+
},
|
|
3529
|
+
}
|
|
3530
|
+
}
|
|
3531
|
+
|
|
3532
|
+
function headline(updates = {}) {
|
|
3533
|
+
return merge(headlineDefaults(updates), updates)
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
function subHeadlineDefaults(updates = {}) {
|
|
3537
|
+
return {
|
|
3538
|
+
$el: "h3",
|
|
3539
|
+
attrs: {
|
|
3540
|
+
class:
|
|
3541
|
+
"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" +
|
|
3542
|
+
" " +
|
|
3543
|
+
(updates.subheadlineClass || "") +
|
|
3544
|
+
" f-first-subheadline",
|
|
3545
|
+
},
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
|
|
3549
|
+
function subHeadline(updates = {}) {
|
|
3550
|
+
return merge(subHeadlineDefaults(updates), updates)
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
function defaultSubHeadline() {
|
|
3554
|
+
return subHeadline({
|
|
3555
|
+
children: '$urlParam("shl", "Our Service is Fast and Free!")',
|
|
3556
|
+
if: "$activeStep === $firstStep()",
|
|
3557
|
+
})
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3560
|
+
const hiddenInputsBase = [
|
|
3561
|
+
{
|
|
3562
|
+
$formkit: "hidden",
|
|
3563
|
+
name: "gclid",
|
|
3564
|
+
value: null,
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
$formkit: "hidden",
|
|
3568
|
+
name: "campaignid",
|
|
3569
|
+
value: null,
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
$formkit: "hidden",
|
|
3573
|
+
name: "s",
|
|
3574
|
+
value: null,
|
|
3575
|
+
},
|
|
3576
|
+
];
|
|
3577
|
+
|
|
3578
|
+
const hiddenInputsLegal = [
|
|
3579
|
+
{
|
|
3580
|
+
$formkit: "hidden",
|
|
3581
|
+
name: "vertical",
|
|
3582
|
+
value: "Legal",
|
|
3583
|
+
},
|
|
3584
|
+
{
|
|
3585
|
+
$formkit: "hidden",
|
|
3586
|
+
name: "TCPA_Language",
|
|
3587
|
+
value: "$meta.tcpaLanguage",
|
|
3588
|
+
},
|
|
3589
|
+
...hiddenInputsBase,
|
|
3590
|
+
];
|
|
3591
|
+
|
|
3592
|
+
const legalRedirectMapDefaults = {
|
|
3593
|
+
"*": LegalRedirectUrl(),
|
|
3594
|
+
};
|
|
3595
|
+
|
|
3596
|
+
function legalRedirectMap(updates) {
|
|
3597
|
+
return merge(legalRedirectMapDefaults, updates)
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
const businessServicesOverrideMap = {
|
|
3601
|
+
Business_Services_Display: {
|
|
3602
|
+
"Business Formation": {
|
|
3603
|
+
Business_Services: "Business Formation",
|
|
3604
|
+
},
|
|
3605
|
+
Contracts: {
|
|
3606
|
+
Business_Services: "Contracts",
|
|
3607
|
+
},
|
|
3608
|
+
"Insurance and Liability": {
|
|
3609
|
+
Business_Services: "Insurance and Liability",
|
|
3610
|
+
},
|
|
3611
|
+
"Mergers and Acquisition": {
|
|
3612
|
+
Business_Services: "Mergers and Acquisition",
|
|
3613
|
+
},
|
|
3614
|
+
"Regulatory Compliance": {
|
|
3615
|
+
Business_Services: "Regulatory Compliance",
|
|
3616
|
+
},
|
|
3617
|
+
"Employee Dispute": {
|
|
3618
|
+
Business_Services: "Employee Dispute",
|
|
3619
|
+
},
|
|
3620
|
+
"Advice and Consulting": {
|
|
3621
|
+
Business_Services: "Other",
|
|
3622
|
+
},
|
|
3623
|
+
Other: {
|
|
3624
|
+
Business_Services: "Other",
|
|
3625
|
+
},
|
|
3626
|
+
},
|
|
3627
|
+
};
|
|
3628
|
+
|
|
3629
|
+
const patentsAndIPTOLPDisplayOverrideMap = {
|
|
3630
|
+
Copyrights: {
|
|
3631
|
+
Type_Of_Legal_Problem: "Copyrights and Trademarks",
|
|
3632
|
+
},
|
|
3633
|
+
Trademarks: {
|
|
3634
|
+
Type_Of_Legal_Problem: "Copyrights and Trademarks",
|
|
3635
|
+
},
|
|
3636
|
+
Patents: {
|
|
3637
|
+
Type_Of_Legal_Problem: "Patents and Intellectual Property",
|
|
3638
|
+
},
|
|
3639
|
+
"Business Lawyers": {
|
|
3640
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3641
|
+
},
|
|
3642
|
+
"Business Consulting": {
|
|
3643
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3644
|
+
},
|
|
3645
|
+
"Not Sure or Other": {
|
|
3646
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
3647
|
+
},
|
|
3648
|
+
};
|
|
3649
|
+
|
|
3650
|
+
const legalAllValueOverrideMap = {
|
|
3651
|
+
Civil_Defense: {
|
|
3652
|
+
Yes: {
|
|
3653
|
+
Type_Of_Legal_Problem: "Defend a Lawsuit",
|
|
3654
|
+
},
|
|
3655
|
+
No: {
|
|
3656
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
3657
|
+
},
|
|
3658
|
+
},
|
|
3659
|
+
businessServicesOverrideMap,
|
|
3660
|
+
Type_Of_Legal_Problem_Display: {
|
|
3661
|
+
...patentsAndIPTOLPDisplayOverrideMap,
|
|
3662
|
+
// Accidents and PI
|
|
3663
|
+
"Auto Accident": {
|
|
3664
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
3665
|
+
},
|
|
3666
|
+
"Dog Bite": {
|
|
3667
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
3668
|
+
},
|
|
3669
|
+
"Slip and Fall": {
|
|
3670
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
3671
|
+
},
|
|
3672
|
+
"Workplace Injury": {
|
|
3673
|
+
Type_Of_Legal_Problem: "Workers Compensation",
|
|
3674
|
+
},
|
|
3675
|
+
"Trucking Accident": {
|
|
3676
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
3677
|
+
},
|
|
3678
|
+
"Motorcycle Accident": {
|
|
3679
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
3680
|
+
},
|
|
3681
|
+
"Other Accidents or Injuries": {
|
|
3682
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
3683
|
+
},
|
|
3684
|
+
// Civil
|
|
3685
|
+
"Automobile Accident": {
|
|
3686
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
3687
|
+
},
|
|
3688
|
+
"Contract Disputes": {
|
|
3689
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3690
|
+
},
|
|
3691
|
+
"Defamation and Slander": {
|
|
3692
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
3693
|
+
},
|
|
3694
|
+
"Dog Bite": {
|
|
3695
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
3696
|
+
},
|
|
3697
|
+
"Employment and Workplace": {
|
|
3698
|
+
Type_Of_Legal_Problem: "Employment and Workplace",
|
|
3699
|
+
},
|
|
3700
|
+
Fraud: {
|
|
3701
|
+
Type_Of_Legal_Problem: "Consumer Lawyers",
|
|
3702
|
+
},
|
|
3703
|
+
"Medical Malpractice": {
|
|
3704
|
+
Type_Of_Legal_Problem: "Medical Malpractice",
|
|
3705
|
+
},
|
|
3706
|
+
"Personal Injury": {
|
|
3707
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
3708
|
+
},
|
|
3709
|
+
"Property Damage": {
|
|
3710
|
+
Type_Of_Legal_Problem: "Property Damage",
|
|
3711
|
+
},
|
|
3712
|
+
"Small Claims": {
|
|
3713
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
3714
|
+
},
|
|
3715
|
+
"Real Estate": {
|
|
3716
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
3717
|
+
},
|
|
3718
|
+
"Other (describe on next page)": {
|
|
3719
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
3720
|
+
},
|
|
3721
|
+
// Contracts
|
|
3722
|
+
"Contract Creation": {
|
|
3723
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3724
|
+
Business_Services: "Contracts",
|
|
3725
|
+
},
|
|
3726
|
+
"Contract Enforcement": {
|
|
3727
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3728
|
+
Business_Services: "Contracts",
|
|
3729
|
+
},
|
|
3730
|
+
"Contract Cancellation": {
|
|
3731
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3732
|
+
Business_Services: "Contracts",
|
|
3733
|
+
},
|
|
3734
|
+
"Contract Fraud": {
|
|
3735
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3736
|
+
Business_Services: "Contracts",
|
|
3737
|
+
},
|
|
3738
|
+
"Breach of Contract": {
|
|
3739
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3740
|
+
Business_Services: "Contracts",
|
|
3741
|
+
},
|
|
3742
|
+
"Other Contract Issues": {
|
|
3743
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
3744
|
+
Business_Services: "Contracts",
|
|
3745
|
+
},
|
|
3746
|
+
// Criminal
|
|
3747
|
+
"Criminal Defense": {
|
|
3748
|
+
Type_Of_Legal_Problem: "Criminal and Felony",
|
|
3749
|
+
},
|
|
3750
|
+
"Victim of a Crime": {
|
|
3751
|
+
Type_Of_Legal_Problem: "Victim of a Crime",
|
|
3752
|
+
},
|
|
3753
|
+
"DUI and DWI": {
|
|
3754
|
+
Type_Of_Legal_Problem: "DUI and DWI",
|
|
3755
|
+
},
|
|
3756
|
+
Expungement: {
|
|
3757
|
+
Type_Of_Legal_Problem: "Expungement",
|
|
3758
|
+
},
|
|
3759
|
+
Harassment: {
|
|
3760
|
+
Type_Of_Legal_Problem: "Criminal and Felony",
|
|
3761
|
+
},
|
|
3762
|
+
"Not Sure or Other": {
|
|
3763
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
3764
|
+
},
|
|
3765
|
+
// Employment and Workplace
|
|
3766
|
+
"Workplace Harassment": {
|
|
3767
|
+
Type_Of_Legal_Problem: "Workplace Harassment",
|
|
3768
|
+
},
|
|
3769
|
+
"Workplace Discrimination": {
|
|
3770
|
+
Type_Of_Legal_Problem: "Workplace Discrimination",
|
|
3771
|
+
},
|
|
3772
|
+
"Wrongful Termination": {
|
|
3773
|
+
Type_Of_Legal_Problem: "Wrongful Termination",
|
|
3774
|
+
},
|
|
3775
|
+
"Payment Disputes": {
|
|
3776
|
+
Type_Of_Legal_Problem: "Employment and Workplace",
|
|
3777
|
+
},
|
|
3778
|
+
"Workers Compensation": {
|
|
3779
|
+
Type_Of_Legal_Problem: "Workers Compensation",
|
|
3780
|
+
},
|
|
3781
|
+
Unemployment: {
|
|
3782
|
+
Type_Of_Legal_Problem: "Unemployment",
|
|
3783
|
+
},
|
|
3784
|
+
"Other Workplace Issues": {
|
|
3785
|
+
Type_Of_Legal_Problem: "Employment and Workplace",
|
|
3786
|
+
},
|
|
3787
|
+
// Malpractice
|
|
3788
|
+
"Attorney Malpractice": {
|
|
3789
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
3790
|
+
},
|
|
3791
|
+
"Other Malpractice Issues": {
|
|
3792
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
3793
|
+
},
|
|
3794
|
+
// Repossession
|
|
3795
|
+
"Vehicle Repossession": {
|
|
3796
|
+
Type_Of_Legal_Problem: "Bankruptcy",
|
|
3797
|
+
},
|
|
3798
|
+
"Property Repossession": {
|
|
3799
|
+
Type_Of_Legal_Problem: "Bankruptcy",
|
|
3800
|
+
},
|
|
3801
|
+
"Other Repossession Issues": {
|
|
3802
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
3803
|
+
},
|
|
3804
|
+
// Real Estate
|
|
3805
|
+
"Contracts and Agreements": {
|
|
3806
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
3807
|
+
},
|
|
3808
|
+
"Deeds, Liens, and Titles": {
|
|
3809
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
3810
|
+
},
|
|
3811
|
+
Foreclosure: {
|
|
3812
|
+
Type_Of_Legal_Problem: "Foreclosure",
|
|
3813
|
+
},
|
|
3814
|
+
Insurance: {
|
|
3815
|
+
Type_Of_Legal_Problem: "Insurance",
|
|
3816
|
+
},
|
|
3817
|
+
"Landlord and Tenant": {
|
|
3818
|
+
Type_Of_Legal_Problem: "Landlord and Tenant",
|
|
3819
|
+
},
|
|
3820
|
+
"Loans and Mortgages": {
|
|
3821
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
3822
|
+
},
|
|
3823
|
+
"Wills, Trusts, and Estates": {
|
|
3824
|
+
Type_Of_Legal_Problem: "Wills and Trusts",
|
|
3825
|
+
},
|
|
3826
|
+
"Property Damage": {
|
|
3827
|
+
Type_Of_Legal_Problem: "Property Damage",
|
|
3828
|
+
},
|
|
3829
|
+
"Other Real Estate Issues": {
|
|
3830
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
3831
|
+
},
|
|
3832
|
+
},
|
|
3833
|
+
};
|
|
3834
|
+
|
|
3835
|
+
const TOLPCommentsPlaceholders = {
|
|
3836
|
+
Adoption: 'Example: "I need help with adoption forms"',
|
|
3837
|
+
"Asbestos and Mesothelioma": 'Example: "I was exposed to asbestos at work and would like to file a claim"',
|
|
3838
|
+
"Auto and Car Accidents":
|
|
3839
|
+
'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',
|
|
3840
|
+
Bankruptcy: 'Example: "I need help filing for bankruptcy"',
|
|
3841
|
+
"Birth Certificate and Name Change": 'Example: "Just married and would like to change my last name"',
|
|
3842
|
+
"Business Lawyers": 'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',
|
|
3843
|
+
"Child Custody and Support": 'Example: "Need help getting custody" or "Issues with child support payments"',
|
|
3844
|
+
"Child Custody": 'Example: "Need help getting custody"',
|
|
3845
|
+
"Child Support": 'Example: "Issues with child support payments"',
|
|
3846
|
+
"Civil Rights and Discrimination": 'Example: "Police brutality" or "Coworker keeps harassing me"',
|
|
3847
|
+
"Civil Lawsuit":
|
|
3848
|
+
'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',
|
|
3849
|
+
"File a Lawsuit": 'Example: "A contractor took my money and never completed the job"',
|
|
3850
|
+
"Defend a Lawsuit": 'Example: "I am being sued by a neighbor"',
|
|
3851
|
+
"Consumer Lawyers":
|
|
3852
|
+
'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',
|
|
3853
|
+
"Copyrights and Trademarks": 'Example: "I would like to register a trademark or copyright a name"',
|
|
3854
|
+
"Criminal and Felony":
|
|
3855
|
+
'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',
|
|
3856
|
+
"Debt and Collections": 'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',
|
|
3857
|
+
"Divorce and Separation": 'Example: "I would like to file for an uncontested divorce"',
|
|
3858
|
+
"DUI and DWI": 'Example: "I was arrested for DUI and need legal defense"',
|
|
3859
|
+
"Elder Law": 'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',
|
|
3860
|
+
"Employment and Workplace": 'Example: "I was injured while on the job" or "My company is discriminating against me"',
|
|
3861
|
+
Expungement: 'Example: "I would like to file for an expungement and clear my record"',
|
|
3862
|
+
"Family Issues": 'Example: "I need help with guardianship" or "I need a simple will created"',
|
|
3863
|
+
Foreclosure: 'Example: "I need help to avoid foreclosure on my house"',
|
|
3864
|
+
Guardianship: 'Example: "I need help with guardianship documents"',
|
|
3865
|
+
"Harassment and Discrimination": 'Example: "I am being discriminated at work" or "My neighbor is harassing me"',
|
|
3866
|
+
"Sexual Harassment": 'Example: "I am being sexually harassed by a coworker"',
|
|
3867
|
+
"Workplace Harassment": 'Example: "My coworker is being aggressive towards me"',
|
|
3868
|
+
"Non-Workplace Harassment": 'Example: "My neighbor is harassing me"',
|
|
3869
|
+
"Workplace Discrimination": 'Example: "I am being discriminated at work based on my age"',
|
|
3870
|
+
"Non-Workplace Discrimination": 'Example: "I am being discriminated against by a local official"',
|
|
3871
|
+
"Identity Theft": 'Example: "Someone stole my identity and I need help fixing the issue"',
|
|
3872
|
+
"Immigration and Visas": 'Example: "I need help filing for a visa" or "Help with a green card"',
|
|
3873
|
+
Insurance: 'Example: "I need help filing an insurance claim for damage to my house"',
|
|
3874
|
+
"Landlord and Tenant":
|
|
3875
|
+
'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',
|
|
3876
|
+
"Lemon Law": 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
|
|
3877
|
+
"Long Term Disability":
|
|
3878
|
+
'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',
|
|
3879
|
+
"Medical Malpractice": 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
|
|
3880
|
+
"Patents and Intellectual Property": 'Example: "I would like to file for a patent" or "I need to copyright a name"',
|
|
3881
|
+
"Personal Injury": 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
|
|
3882
|
+
"Power of Attorney": 'Example: "I need help with a limited or general power of attorney"',
|
|
3883
|
+
"Probate and Estates":
|
|
3884
|
+
'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',
|
|
3885
|
+
"Product Liability": 'Example: "My car battery caught on fire" or "I purchased a faulty product"',
|
|
3886
|
+
"Property Damage": 'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',
|
|
3887
|
+
"Real Estate":
|
|
3888
|
+
'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',
|
|
3889
|
+
"Social Security Disability and Insurance":
|
|
3890
|
+
'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',
|
|
3891
|
+
"Tax and IRS": 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
|
|
3892
|
+
"Traffic and Tickets":
|
|
3893
|
+
'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
|
|
3894
|
+
Unemployment: 'Example: "I need help filing for unemployment benefits"',
|
|
3895
|
+
"Victim of a Crime": 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
|
|
3896
|
+
"Wills and Trusts": 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
|
|
3897
|
+
"Workers Compensation": 'Example: "I broke my arm at work and need help getting compensation"',
|
|
3898
|
+
"Wrongful Death": 'Example: "A family member was killed on the job and we need legal representation"',
|
|
3899
|
+
"Wrongful Termination": 'Example: "I was fired by my employer without cause"',
|
|
3900
|
+
"Not Sure or Other": 'Example: "I was involved in a car accident" or "I need help setting up power of attorney"',
|
|
3901
|
+
};
|
|
3902
|
+
|
|
3903
|
+
const TOLPFinalHeadlines = {
|
|
3904
|
+
Adoption: "Connect With Adoption Professionals Today",
|
|
3905
|
+
"Auto and Car Accidents": "Connect With Accident Professionals Today",
|
|
3906
|
+
Bankruptcy: "Take Control of Your Financial Future",
|
|
3907
|
+
"Birth Certificate and Name Change": "Start Your Change Today",
|
|
3908
|
+
"Business Lawyers": "Connect With Business Professionals Today",
|
|
3909
|
+
"Child Custody": "Connect With Custody Professionals Today",
|
|
3910
|
+
"Child Support": "Connect With Child Support Professionals",
|
|
3911
|
+
// 'Child Custody and Support': '',
|
|
3912
|
+
"Civil Rights and Discrimination": "Stand Up For Your Rights",
|
|
3913
|
+
"Civil Lawsuit": "Connect With Lawsuit Professionals Today",
|
|
3914
|
+
// "Consumer Lawyers": "",
|
|
3915
|
+
"Copyrights and Trademarks": "Protect Your Intellectual Property",
|
|
3916
|
+
// "Criminal and Felony": "Connect With Legal Help",
|
|
3917
|
+
"Debt and Collections": "Connect With Debt Professionals Today",
|
|
3918
|
+
"Divorce and Separation": "Connect With Divorce Professionals Today",
|
|
3919
|
+
"DUI and DWI": "Defend Against DUI Charges",
|
|
3920
|
+
"Elder Law": "Connect With Elder Law Professionals",
|
|
3921
|
+
// "Employment and Workplace": "Connect With Legal Help",
|
|
3922
|
+
Expungement: "Clear Your Record",
|
|
3923
|
+
"Family Issues": "Connect With Family Legal Help",
|
|
3924
|
+
Foreclosure: "Fight to Keep Your Home",
|
|
3925
|
+
Guardianship: "Connect With Guardianship Professionals",
|
|
3926
|
+
// "Harassment and Discrimination": "Connect With Legal Help",
|
|
3927
|
+
// "Identity Theft": "Connect With Legal Help",
|
|
3928
|
+
"Immigration and Visas": "Get Immigration Legal Help",
|
|
3929
|
+
Insurance: "Get Insurance Legal Help",
|
|
3930
|
+
// "Landlord and Tenant": "Connect With Legal Help",
|
|
3931
|
+
"Lemon Law": "Connect With Lemon Law Professionals",
|
|
3932
|
+
"Long Term Disability": "Connect With Disability Professionals",
|
|
3933
|
+
"Medical Malpractice": "Hold Negligent Providers Accountable",
|
|
3934
|
+
"Patents and Intellectual Property": "Connect With IP Professionals Today",
|
|
3935
|
+
"Personal Injury": "Maximize Your Injury Compensation",
|
|
3936
|
+
// "Power of Attorney": "Connect With Legal Help",
|
|
3937
|
+
"Probate and Estates": "Manage Probate with Expert Guidance",
|
|
3938
|
+
"Product Liability": "Get Justice for Faulty Products",
|
|
3939
|
+
// 'Property Damage': 'Connect With Legal Help',
|
|
3940
|
+
"Real Estate": "Connect With Real Estate Professionals",
|
|
3941
|
+
"Sexual Harassment": "Stand Up Against Sexual Harassment",
|
|
3942
|
+
"Social Security Disability and Insurance": "Get the Benefits You Deserve",
|
|
3943
|
+
"Tax and IRS": "Connect With Tax Legal Help",
|
|
3944
|
+
"Traffic and Tickets": "Protect Your Record Today",
|
|
3945
|
+
Unemployment: "Connect With Unemployment Professionals",
|
|
3946
|
+
"Victim of a Crime": "Seek Justice as a Crime Victim",
|
|
3947
|
+
"Wills and Trusts": "Plan Your Estate with Confidence",
|
|
3948
|
+
"Workers Compensation": "Maximize Your Workers' Comp Benefits",
|
|
3949
|
+
"Wrongful Death": "Seek Justice for a Loved One",
|
|
3950
|
+
"Wrongful Termination": "Fight Back Against Unfair Firing Today",
|
|
3951
|
+
// 'Not Sure or Other': ''
|
|
3952
|
+
// 'Workplace Harassment': '',
|
|
3953
|
+
// 'Non-Workplace Harassment': '',
|
|
3954
|
+
// 'Workplace Discrimination': '',
|
|
3955
|
+
// 'Non-Workplace Discrimination': '',
|
|
3956
|
+
};
|
|
3957
|
+
|
|
3958
|
+
const TOLPFinalSubHeadlines = {
|
|
3959
|
+
// Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
|
|
3960
|
+
// // 'Asbestos and Mesothelioma': '',
|
|
3961
|
+
// "Auto and Car Accidents":
|
|
3962
|
+
// "You may benefit from speaking with an accident professional. Please verify your contact information.",
|
|
3963
|
+
// Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
|
|
3964
|
+
// // 'Birth Certificate and Name Change': '',
|
|
3965
|
+
// // 'Business Lawyers': '',
|
|
3966
|
+
// // 'Child Custody and Support': '',
|
|
3967
|
+
// // 'Civil Rights and Discrimination': '',
|
|
3968
|
+
// // 'Civil Lawsuit': '',
|
|
3969
|
+
// // 'Consumer Lawyers': '',
|
|
3970
|
+
// "Copyrights and Trademarks":
|
|
3971
|
+
// "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
|
|
3972
|
+
// // 'Criminal and Felony': '',
|
|
3973
|
+
// // 'Debt and Collections': '',
|
|
3974
|
+
// "Divorce and Separation":
|
|
3975
|
+
// "You may benefit from speaking with a divorce professional. Please verify your contact information.",
|
|
3976
|
+
// "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
|
|
3977
|
+
// "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
|
|
3978
|
+
// // 'Employment and Workplace': '',
|
|
3979
|
+
// // 'Expungement': '',
|
|
3980
|
+
// // 'Family Issues': '',
|
|
3981
|
+
// Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
|
|
3982
|
+
// Guardianship:
|
|
3983
|
+
// "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
|
|
3984
|
+
// // 'Harassment and Discrimination': '',
|
|
3985
|
+
// // 'Identity Theft': '',
|
|
3986
|
+
// "Immigration and Visas":
|
|
3987
|
+
// "You may benefit from speaking with a immigration professional. Please verify your contact information.",
|
|
3988
|
+
// // 'Insurance': '',
|
|
3989
|
+
// "Landlord and Tenant":
|
|
3990
|
+
// "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
|
|
3991
|
+
// // 'Lemon Law': '',
|
|
3992
|
+
// "Long Term Disability":
|
|
3993
|
+
// "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
|
|
3994
|
+
// "Medical Malpractice":
|
|
3995
|
+
// "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
|
|
3996
|
+
// "Patents and Intellectual Property":
|
|
3997
|
+
// "You may benefit from speaking with a patent professional. Please verify your contact information.",
|
|
3998
|
+
// "Personal Injury":
|
|
3999
|
+
// "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
|
|
4000
|
+
// // 'Power of Attorney': '',
|
|
4001
|
+
// "Probate and Estates":
|
|
4002
|
+
// "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
|
|
4003
|
+
// // 'Product Liability': '',
|
|
4004
|
+
// // 'Property Damage': '',
|
|
4005
|
+
// "Real Estate":
|
|
4006
|
+
// "You may benefit from speaking with a real estate professional. Please verify your contact information.",
|
|
4007
|
+
// "Social Security Disability and Insurance":
|
|
4008
|
+
// "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
|
|
4009
|
+
// "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
|
|
4010
|
+
// // 'Traffic and Tickets': '',
|
|
4011
|
+
// Unemployment:
|
|
4012
|
+
// "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
|
|
4013
|
+
// // 'Victim of a Crime': '',
|
|
4014
|
+
// // 'Wills and Trusts': '',
|
|
4015
|
+
// "Workers Compensation":
|
|
4016
|
+
// "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
|
|
4017
|
+
// // 'Wrongful Death': '',
|
|
4018
|
+
// // 'Wrongful Termination': '',
|
|
4019
|
+
// // 'Not Sure or Other': ''
|
|
4020
|
+
// // 'Sexual Harassment': '',
|
|
4021
|
+
// // 'Workplace Harassment': '',
|
|
4022
|
+
// // 'Non-Workplace Harassment': '',
|
|
4023
|
+
// // 'Workplace Discrimination': '',
|
|
4024
|
+
// // 'Non-Workplace Discrimination': '',
|
|
4025
|
+
};
|
|
4026
|
+
|
|
4027
|
+
const nextStepsLegalDefault = [
|
|
4028
|
+
"haveAttorney",
|
|
4029
|
+
"degreeOfInterest",
|
|
4030
|
+
"commentsWithBankruptcy",
|
|
4031
|
+
"zipcode",
|
|
4032
|
+
"legalCrossSells",
|
|
4033
|
+
"firstAndLast",
|
|
4034
|
+
"contactInfo",
|
|
4035
|
+
];
|
|
4036
|
+
|
|
4037
|
+
const nextStepsLegalDefaultLPM = [
|
|
4038
|
+
"haveAttorney",
|
|
4039
|
+
"degreeOfInterest",
|
|
4040
|
+
"lawyerPaymentMethod",
|
|
4041
|
+
"commentsWithBankruptcy",
|
|
4042
|
+
"zipcode",
|
|
4043
|
+
"legalCrossSells",
|
|
4044
|
+
"firstAndLast",
|
|
4045
|
+
"contactInfo",
|
|
4046
|
+
];
|
|
4047
|
+
|
|
4048
|
+
const nextStepsLegalNoDOI = [
|
|
4049
|
+
"haveAttorney",
|
|
4050
|
+
"commentsWithBankruptcy",
|
|
4051
|
+
"zipcode",
|
|
4052
|
+
"legalCrossSells",
|
|
4053
|
+
"firstAndLast",
|
|
4054
|
+
"contactInfo",
|
|
4055
|
+
];
|
|
4056
|
+
|
|
4057
|
+
const nextStepsLegalNoHA = [
|
|
4058
|
+
"degreeOfInterest",
|
|
4059
|
+
"commentsWithBankruptcy",
|
|
4060
|
+
"zipcode",
|
|
4061
|
+
"legalCrossSells",
|
|
4062
|
+
"firstAndLast",
|
|
4063
|
+
"contactInfo",
|
|
4064
|
+
];
|
|
4065
|
+
|
|
4066
|
+
const nextStepsMapGeneralLegal = {
|
|
4067
|
+
values: {
|
|
4068
|
+
Type_Of_Legal_Problem: {
|
|
4069
|
+
Adoption: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
4070
|
+
"Asbestos and Mesothelioma": ["incidentDate", "doctorTreatment", ...nextStepsLegalDefault],
|
|
4071
|
+
"Auto and Car Accidents": [
|
|
4072
|
+
"incidentDate",
|
|
4073
|
+
"atFault",
|
|
4074
|
+
"primaryInjury",
|
|
4075
|
+
"doctorTreatment",
|
|
4076
|
+
"policeReportFiled",
|
|
4077
|
+
...nextStepsLegalNoDOI,
|
|
4078
|
+
],
|
|
4079
|
+
Bankruptcy: ["totalMonthlyIncome", "totalDebt", "ownRealEstate", "valueOfAssets", ...nextStepsLegalDefault],
|
|
4080
|
+
"Business Lawyers": ["businessServices", "businessType", "numEmployeesOfBusiness", ...nextStepsLegalDefault],
|
|
4081
|
+
"Child Custody": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
4082
|
+
"Child Support": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
4083
|
+
"Civil Rights and Discrimination": ["civilRightsType", ...nextStepsLegalDefault],
|
|
4084
|
+
"Civil Lawsuit": ["civilDefense", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4085
|
+
"File a Lawsuit": ["civilLawsuitTOLPDisplay", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4086
|
+
"Defend a Lawsuit": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4087
|
+
"Consumer Lawyers": ["consumerLawyerType", "incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4088
|
+
"Criminal and Felony": [
|
|
4089
|
+
"criminalTOLPDisplay",
|
|
4090
|
+
"crimeCommittedDate",
|
|
4091
|
+
"roleInMatterCriminal",
|
|
4092
|
+
"pendingCharges",
|
|
4093
|
+
...nextStepsLegalDefaultLPM,
|
|
4094
|
+
],
|
|
4095
|
+
"Debt and Collections": [
|
|
4096
|
+
"totalMonthlyIncome",
|
|
4097
|
+
"totalDebt",
|
|
4098
|
+
"ownRealEstate",
|
|
4099
|
+
"valueOfAssets",
|
|
4100
|
+
...nextStepsLegalDefault,
|
|
4101
|
+
],
|
|
4102
|
+
"Divorce and Separation": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
4103
|
+
"DUI and DWI": [
|
|
4104
|
+
"incidentDate",
|
|
4105
|
+
"priorAlcoholOffenses",
|
|
4106
|
+
"typeOfAlcoholTest",
|
|
4107
|
+
"bloodContentAlcoholTest",
|
|
4108
|
+
"pendingCharges",
|
|
4109
|
+
...nextStepsLegalDefault,
|
|
4110
|
+
],
|
|
4111
|
+
"Employment and Workplace": [
|
|
4112
|
+
"employmentAndWorkplaceTOLPDisplay",
|
|
4113
|
+
"numEmployeesOfBusiness",
|
|
4114
|
+
"employerType",
|
|
4115
|
+
"employeeAtCompany",
|
|
4116
|
+
...nextStepsLegalDefault,
|
|
4117
|
+
],
|
|
4118
|
+
Expungement: ["incidentDate", "criminalChargeType", ...nextStepsLegalDefaultLPM],
|
|
4119
|
+
"Family Issues": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
4120
|
+
Foreclosure: [
|
|
4121
|
+
"ownRealEstate",
|
|
4122
|
+
"typeOfProperty",
|
|
4123
|
+
"amountPaymentsPastDue",
|
|
4124
|
+
"loanAmount",
|
|
4125
|
+
"defaultNotice",
|
|
4126
|
+
...nextStepsLegalDefault,
|
|
4127
|
+
],
|
|
4128
|
+
Guardianship: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
4129
|
+
"Immigration and Visas": [
|
|
4130
|
+
"countryOfCitizenship",
|
|
4131
|
+
"immigrationLocation",
|
|
4132
|
+
"immigrationEntry",
|
|
4133
|
+
"immigrationType",
|
|
4134
|
+
"immigrationStatus",
|
|
4135
|
+
"immigrationDetails",
|
|
4136
|
+
...nextStepsLegalDefault,
|
|
4137
|
+
],
|
|
4138
|
+
"Landlord and Tenant": ["landlordTenantIssue", "landlordTenantParty", ...nextStepsLegalDefault],
|
|
4139
|
+
"Lemon Law": ["incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4140
|
+
"Long Term Disability": [
|
|
4141
|
+
"applicantOccupation",
|
|
4142
|
+
"applicantAge",
|
|
4143
|
+
"applicantLTDisabilityPolicy",
|
|
4144
|
+
"applicantDisabilityHowObtain",
|
|
4145
|
+
"applicantPreviouslyAppliedLtdBenefits",
|
|
4146
|
+
"applicantReceivedDisabilityBenefits",
|
|
4147
|
+
"applicantMonthlySalary",
|
|
4148
|
+
...nextStepsLegalNoDOI,
|
|
4149
|
+
],
|
|
4150
|
+
"Medical Malpractice": [
|
|
4151
|
+
"incidentDate",
|
|
4152
|
+
"claimStatus",
|
|
4153
|
+
"doctorTreatment",
|
|
4154
|
+
"medicalMalpracticeInjuries",
|
|
4155
|
+
...nextStepsLegalDefault,
|
|
4156
|
+
],
|
|
4157
|
+
"Patents and Intellectual Property": ["patentAssistanceType", "patentFor", ...nextStepsLegalDefault],
|
|
4158
|
+
"Personal Injury": [
|
|
4159
|
+
"incidentDate",
|
|
4160
|
+
"claimStatus",
|
|
4161
|
+
"atFault",
|
|
4162
|
+
"primaryInjury",
|
|
4163
|
+
"doctorTreatment",
|
|
4164
|
+
...nextStepsLegalNoDOI,
|
|
4165
|
+
],
|
|
4166
|
+
"Probate and Estates": [
|
|
4167
|
+
"valueOfAssets",
|
|
4168
|
+
"typeOfAssets",
|
|
4169
|
+
"roleInMatterProbate",
|
|
4170
|
+
"estateLegalServicesNeeded",
|
|
4171
|
+
...nextStepsLegalDefault,
|
|
4172
|
+
],
|
|
4173
|
+
"Property Damage": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
4174
|
+
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
4175
|
+
"Social Security Disability and Insurance": [
|
|
4176
|
+
"applicantAge",
|
|
4177
|
+
"disabilityConditionStopWork",
|
|
4178
|
+
"disabilityWorkHistory",
|
|
4179
|
+
"socialSecurityDisabilityReceivingBenefits",
|
|
4180
|
+
"doctorTreatment",
|
|
4181
|
+
...nextStepsLegalNoDOI,
|
|
4182
|
+
],
|
|
4183
|
+
"Tax and IRS": ["totalDebt", "taxProblemDetails", "taxLevel", "taxIssueType", ...nextStepsLegalDefault],
|
|
4184
|
+
"Traffic and Tickets": ["driversLicenseType", "trafficViolations", "haveCourtDate", ...nextStepsLegalDefault],
|
|
4185
|
+
Unemployment: ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalNoHA],
|
|
4186
|
+
"Victim of a Crime": [
|
|
4187
|
+
"crimeCommittedDate",
|
|
4188
|
+
"roleInMatterCriminal",
|
|
4189
|
+
"pendingCharges",
|
|
4190
|
+
...nextStepsLegalDefaultLPM,
|
|
4191
|
+
],
|
|
4192
|
+
"Wills and Trusts": [
|
|
4193
|
+
"valueOfAssets",
|
|
4194
|
+
"typeOfAssets",
|
|
4195
|
+
"roleInMatterProbate",
|
|
4196
|
+
"estateLegalServicesNeeded",
|
|
4197
|
+
...nextStepsLegalDefault,
|
|
4198
|
+
],
|
|
4199
|
+
"Workers Compensation": [
|
|
4200
|
+
"incidentDate",
|
|
4201
|
+
"claimStatus",
|
|
4202
|
+
"primaryInjury",
|
|
4203
|
+
"causeOfInjury",
|
|
4204
|
+
"doctorTreatment",
|
|
4205
|
+
...nextStepsLegalNoDOI,
|
|
4206
|
+
],
|
|
4207
|
+
"Workplace Harassment": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
4208
|
+
"Workplace Discrimination": [
|
|
4209
|
+
"numEmployeesOfBusiness",
|
|
4210
|
+
"employerType",
|
|
4211
|
+
"employeeAtCompany",
|
|
4212
|
+
...nextStepsLegalDefault,
|
|
4213
|
+
],
|
|
4214
|
+
"Wrongful Death": [
|
|
4215
|
+
"incidentDate",
|
|
4216
|
+
"relationshipToVictim",
|
|
4217
|
+
"criminalChargesFiled",
|
|
4218
|
+
"causeOfDeath",
|
|
4219
|
+
...nextStepsLegalNoDOI,
|
|
4220
|
+
],
|
|
4221
|
+
"Wrongful Termination": ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalDefault],
|
|
4222
|
+
},
|
|
4223
|
+
"*": nextStepsLegalDefault,
|
|
4224
|
+
},
|
|
4225
|
+
};
|
|
4226
|
+
|
|
4227
|
+
// Helper to take existing map and trim or replace steps
|
|
4228
|
+
function filterNextStepsMap(nextStepsMap, removableSteps = [], replaceSteps = {}) {
|
|
4229
|
+
const modifiedMap = { ...nextStepsMap };
|
|
4230
|
+
|
|
4231
|
+
function filterSteps(steps) {
|
|
4232
|
+
return steps.filter((step) => !removableSteps.includes(step)).map((step) => replaceSteps[step] || step)
|
|
4233
|
+
}
|
|
4234
|
+
|
|
4235
|
+
function modifyValues(values) {
|
|
4236
|
+
const modifiedValues = {};
|
|
4237
|
+
for (const key in values) {
|
|
4238
|
+
if (Array.isArray(values[key])) {
|
|
4239
|
+
modifiedValues[key] = filterSteps(values[key]);
|
|
4240
|
+
} else if (typeof values[key] === "object") {
|
|
4241
|
+
modifiedValues[key] = modifyValues(values[key]);
|
|
4242
|
+
} else {
|
|
4243
|
+
modifiedValues[key] = values[key];
|
|
4244
|
+
}
|
|
4245
|
+
}
|
|
4246
|
+
return modifiedValues
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4249
|
+
modifiedMap.values = modifyValues(nextStepsMap.values);
|
|
4250
|
+
return modifiedMap
|
|
4251
|
+
}
|
|
4252
|
+
|
|
4253
|
+
const nextStepsMapGeneralLegal1to1 = filterNextStepsMap(nextStepsMapGeneralLegal, ["legalCrossSells"], {
|
|
4254
|
+
commentsWithBankruptcy: "comments",
|
|
4255
|
+
});
|
|
4256
|
+
|
|
4257
|
+
const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"];
|
|
4258
|
+
|
|
4259
|
+
({
|
|
4260
|
+
values: {
|
|
4261
|
+
Type_Of_Legal_Problem_Display: {
|
|
4262
|
+
"Auto Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
4263
|
+
"Workplace Injury": TOLPNextSteps["Workers Compensation"].filter((step) => step !== "legalCrossSells"),
|
|
4264
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
4265
|
+
"Slip and Fall": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
4266
|
+
"Trucking Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
4267
|
+
"Motorcycle Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
4268
|
+
"Other Accidents or Injuries": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
4269
|
+
},
|
|
4270
|
+
"*": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
4271
|
+
},
|
|
4272
|
+
});
|
|
4273
|
+
|
|
4274
|
+
({
|
|
4275
|
+
values: {
|
|
4276
|
+
Type_Of_Legal_Problem: {
|
|
4277
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
4278
|
+
"Child Support": TOLPNextSteps["Child Support"],
|
|
4279
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
4280
|
+
},
|
|
4281
|
+
"*": TOLPNextSteps["Family Issues"],
|
|
4282
|
+
},
|
|
4283
|
+
});
|
|
4284
|
+
|
|
4285
|
+
({
|
|
4286
|
+
values: {
|
|
4287
|
+
Type_Of_Legal_Problem_Display: {
|
|
4288
|
+
"Alimony or Child Support": TOLPNextSteps["Child Support"],
|
|
4289
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
4290
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
4291
|
+
},
|
|
4292
|
+
"*": TOLPNextSteps["Divorce and Separation"],
|
|
4293
|
+
},
|
|
4294
|
+
});
|
|
4295
|
+
|
|
4296
|
+
({
|
|
4297
|
+
values: {
|
|
4298
|
+
Civil_Defense: {
|
|
4299
|
+
Yes: TOLPNextSteps["Defend a Lawsuit"],
|
|
4300
|
+
No: TOLPNextSteps["File a Lawsuit"],
|
|
4301
|
+
},
|
|
4302
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4303
|
+
},
|
|
4304
|
+
});
|
|
4305
|
+
|
|
4306
|
+
({
|
|
4307
|
+
values: {
|
|
4308
|
+
Type_Of_Legal_Problem: {
|
|
4309
|
+
"Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
|
|
4310
|
+
"File a Lawsuit": TOLPNextSteps["File a Lawsuit"],
|
|
4311
|
+
},
|
|
4312
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4313
|
+
},
|
|
4314
|
+
});
|
|
4315
|
+
|
|
4316
|
+
const nextStepsMapCivilTOLPDisplay = {
|
|
4317
|
+
values: {
|
|
4318
|
+
Type_Of_Legal_Problem_Display: {
|
|
4319
|
+
"Automobile Accident": TOLPNextSteps["Auto and Car Accidents"],
|
|
4320
|
+
"Contract Disputes": TOLPNextSteps["Business Lawyers"],
|
|
4321
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"],
|
|
4322
|
+
"Employment and Workplace": TOLPNextSteps["Employment and Workplace"],
|
|
4323
|
+
Fraud: TOLPNextSteps["Consumer Lawyers"],
|
|
4324
|
+
"Medical Malpractice": TOLPNextSteps["Medical Malpractice"],
|
|
4325
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
4326
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
4327
|
+
"Real Estate": TOLPNextSteps["Real Estate"],
|
|
4328
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
4329
|
+
},
|
|
4330
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
4331
|
+
},
|
|
4332
|
+
};
|
|
4333
|
+
|
|
4334
|
+
const nextStepsMapCivilTOLPDisplay1to1 = filterNextStepsMap(nextStepsMapCivilTOLPDisplay, ["legalCrossSells"], {
|
|
4335
|
+
commentsWithBankruptcy: "comments",
|
|
4336
|
+
});
|
|
4337
|
+
|
|
4338
|
+
const nextStepsMapCriminalTOLPDisplay = {
|
|
4339
|
+
values: {
|
|
4340
|
+
Type_Of_Legal_Problem_Display: {
|
|
4341
|
+
"Victim of a Crime": TOLPNextSteps["Victim of a Crime"],
|
|
4342
|
+
"DUI and DWI": TOLPNextSteps["DUI and DWI"],
|
|
4343
|
+
Expungement: TOLPNextSteps["Expungement"],
|
|
4344
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
4345
|
+
},
|
|
4346
|
+
"*": ["crimeCommittedDate", "roleInMatterCriminal", "pendingCharges", ...nextStepsLegalDefaultLPM],
|
|
4347
|
+
},
|
|
4348
|
+
};
|
|
4349
|
+
|
|
4350
|
+
const nextStepsMapCriminalTOLPDisplay1to1 = filterNextStepsMap(
|
|
4351
|
+
nextStepsMapCriminalTOLPDisplay,
|
|
4352
|
+
["legalCrossSells"],
|
|
4353
|
+
{
|
|
4354
|
+
commentsWithBankruptcy: "comments",
|
|
4355
|
+
}
|
|
4356
|
+
);
|
|
4357
|
+
|
|
4358
|
+
const nextStepsMapEmploymentAndWorkplaceTOLPDisplay = {
|
|
4359
|
+
values: {
|
|
4360
|
+
Type_Of_Legal_Problem_Display: {
|
|
4361
|
+
"Wrongful Termination": TOLPNextSteps["Wrongful Termination"],
|
|
4362
|
+
"Workers Compensation": TOLPNextSteps["Workers Compensation"],
|
|
4363
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
4364
|
+
Unemployment: TOLPNextSteps["Unemployment"],
|
|
4365
|
+
},
|
|
4366
|
+
"*": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
4367
|
+
},
|
|
4368
|
+
};
|
|
4369
|
+
|
|
4370
|
+
const nextStepsMapEmploymentAndWorkplaceTOLPDisplay1to1 = filterNextStepsMap(
|
|
4371
|
+
nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
|
|
4372
|
+
["legalCrossSells"],
|
|
4373
|
+
{
|
|
4374
|
+
commentsWithBankruptcy: "comments",
|
|
4375
|
+
}
|
|
4376
|
+
);
|
|
4377
|
+
|
|
4378
|
+
({
|
|
4379
|
+
values: {
|
|
4380
|
+
// Custom because we ask typeOfProperty on s1
|
|
4381
|
+
"*": ["amountPaymentsPastDue", "loanAmount", "defaultNotice", "ownRealEstate", ...nextStepsLegalDefault],
|
|
4382
|
+
},
|
|
4383
|
+
});
|
|
4384
|
+
|
|
4385
|
+
({
|
|
4386
|
+
values: {
|
|
4387
|
+
Type_Of_Legal_Problem_Display: {
|
|
4388
|
+
Patents: TOLPNextSteps["Patents and Intellectual Property"],
|
|
4389
|
+
"Business Lawyers": TOLPNextSteps["Business Lawyers"],
|
|
4390
|
+
"Business Consulting": TOLPNextSteps["Business Lawyers"],
|
|
4391
|
+
},
|
|
4392
|
+
"*": nextStepsMapGeneralLegal["values"]["*"],
|
|
4393
|
+
},
|
|
4394
|
+
});
|
|
4395
|
+
|
|
4396
|
+
const nextStepsMapRealEstateTOLPDisplay = {
|
|
4397
|
+
values: {
|
|
4398
|
+
Type_Of_Legal_Problem_Display: {
|
|
4399
|
+
Foreclosure: TOLPNextSteps["Foreclosure"],
|
|
4400
|
+
"Landlord and Tenant": TOLPNextSteps["Landlord and Tenant"],
|
|
4401
|
+
"Wills, Trusts, and Estates": TOLPNextSteps["Wills and Trusts"],
|
|
4402
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
4403
|
+
},
|
|
4404
|
+
"*": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
4405
|
+
},
|
|
4406
|
+
};
|
|
4407
|
+
|
|
4408
|
+
const nextStepsMapRealEstateTOLPDisplay1to1 = filterNextStepsMap(
|
|
4409
|
+
nextStepsMapRealEstateTOLPDisplay,
|
|
4410
|
+
["legalCrossSells"],
|
|
4411
|
+
{
|
|
4412
|
+
commentsWithBankruptcy: "comments",
|
|
4413
|
+
}
|
|
4414
|
+
);
|
|
4415
|
+
|
|
4416
|
+
const meta = defaultMetaPropsLegal();
|
|
4417
|
+
|
|
4418
|
+
meta.data.dynamicSchema = [
|
|
4419
|
+
amountPaymentsPastDue(),
|
|
4420
|
+
applicantAge(),
|
|
4421
|
+
applicantDisabilityHowObtain(),
|
|
4422
|
+
applicantLTDisabilityPolicy(),
|
|
4423
|
+
applicantMonthlySalary(),
|
|
4424
|
+
applicantOccupation({
|
|
4425
|
+
nextOnInput: false,
|
|
4426
|
+
}),
|
|
4427
|
+
applicantPreviouslyAppliedLtdBenefits(),
|
|
4428
|
+
applicantReceivedDisabilityBenefits(),
|
|
4429
|
+
atFault(),
|
|
4430
|
+
bloodContentAlcoholTest(),
|
|
4431
|
+
businessServices(),
|
|
4432
|
+
businessType(),
|
|
4433
|
+
causeOfDeath(),
|
|
4434
|
+
causeOfInjury(),
|
|
4435
|
+
childHome(),
|
|
4436
|
+
childPrimaryCaregiver(),
|
|
4437
|
+
childRelationship(),
|
|
4438
|
+
civilLawsuitTOLPDisplay({
|
|
4439
|
+
nextStepMap: nextStepsMapCivilTOLPDisplay1to1,
|
|
4440
|
+
}),
|
|
4441
|
+
civilRightsType(),
|
|
4442
|
+
claimStatus(),
|
|
4443
|
+
consumerLawyerType(),
|
|
4444
|
+
countryOfCitizenship(),
|
|
4445
|
+
crimeCommittedDate({
|
|
4446
|
+
nextOnInput: false,
|
|
4447
|
+
}),
|
|
4448
|
+
criminalChargeType(),
|
|
4449
|
+
criminalChargesFiled(),
|
|
4450
|
+
criminalTOLPDisplay({
|
|
4451
|
+
nextStepMap: nextStepsMapCriminalTOLPDisplay1to1,
|
|
4452
|
+
}),
|
|
4453
|
+
defaultNotice(),
|
|
4454
|
+
degreeOfInterest(),
|
|
4455
|
+
disabilityConditionStopWork(),
|
|
4456
|
+
disabilityWorkHistory(),
|
|
4457
|
+
doctorTreatment(),
|
|
4458
|
+
driversLicenseType(),
|
|
4459
|
+
estateLegalServicesNeeded(),
|
|
4460
|
+
employerType(),
|
|
4461
|
+
employeeAtCompany(),
|
|
4462
|
+
employmentAndWorkplaceTOLPDisplay({
|
|
4463
|
+
nextStepMap: nextStepsMapEmploymentAndWorkplaceTOLPDisplay1to1,
|
|
4464
|
+
}),
|
|
4465
|
+
haveAttorney(),
|
|
4466
|
+
haveChildren(),
|
|
4467
|
+
haveCourtDate(),
|
|
4468
|
+
immigrationDetails(),
|
|
4469
|
+
immigrationEntry(),
|
|
4470
|
+
immigrationLocation(),
|
|
4471
|
+
immigrationStatus(),
|
|
4472
|
+
immigrationType(),
|
|
4473
|
+
incidentDate({
|
|
4474
|
+
nextOnInput: false,
|
|
4475
|
+
}),
|
|
4476
|
+
landlordTenantIssue(),
|
|
4477
|
+
landlordTenantParty(),
|
|
4478
|
+
lawsuitOtherParty(),
|
|
4479
|
+
lawyerPaymentMethod(),
|
|
4480
|
+
loanAmount(),
|
|
4481
|
+
maritalStatus(),
|
|
4482
|
+
medicalMalpracticeInjuries(),
|
|
4483
|
+
numEmployeesOfBusiness(),
|
|
4484
|
+
ownRealEstate(),
|
|
4485
|
+
patentAssistanceType(),
|
|
4486
|
+
patentFor(),
|
|
4487
|
+
pendingCharges(),
|
|
4488
|
+
policeReportFiled(),
|
|
4489
|
+
primaryInjury(),
|
|
4490
|
+
priorAlcoholOffenses(),
|
|
4491
|
+
realEstateArea(),
|
|
4492
|
+
realEstateTOLPDisplay({
|
|
4493
|
+
nextStepMap: nextStepsMapRealEstateTOLPDisplay1to1,
|
|
4494
|
+
}),
|
|
4495
|
+
relationshipToVictim(),
|
|
4496
|
+
roleInMatterCriminal(),
|
|
4497
|
+
roleInMatterProbate(),
|
|
4498
|
+
socialSecurityDisabilityReceivingBenefits(),
|
|
4499
|
+
taxIssueType(),
|
|
4500
|
+
taxLevel(),
|
|
4501
|
+
taxProblemDetails(),
|
|
4502
|
+
totalDebt(),
|
|
4503
|
+
totalMonthlyIncome(),
|
|
4504
|
+
trafficViolations(),
|
|
4505
|
+
typeOfAlcoholTest(),
|
|
4506
|
+
typeOfAssets(),
|
|
4507
|
+
typeOfProperty(),
|
|
4508
|
+
valueOfAssets(),
|
|
4509
|
+
veteransDisabilityApplied(),
|
|
4510
|
+
veteransDisabilityConditions(),
|
|
4511
|
+
veteransDisabilityInjured(),
|
|
4512
|
+
veteransDisabilityRelationship(),
|
|
4513
|
+
wouldLikeLawyerTo(),
|
|
4514
|
+
commentsLegal({
|
|
4515
|
+
label: null,
|
|
4516
|
+
headline: "Please describe your issue:",
|
|
4517
|
+
headlineClass: "!t-text-dark",
|
|
4518
|
+
wrapperClass: "t-flex t-justify-center",
|
|
4519
|
+
innerClass: "t-w-full",
|
|
4520
|
+
}),
|
|
4521
|
+
firstAndLastV4({
|
|
4522
|
+
headlineClass: "!t-text-dark",
|
|
4523
|
+
}),
|
|
4524
|
+
];
|
|
4525
|
+
|
|
4526
|
+
const schema = [
|
|
4527
|
+
meta,
|
|
4528
|
+
formAnchor(),
|
|
4529
|
+
{
|
|
4530
|
+
$cmp: "FormKit",
|
|
4531
|
+
props: formProps({
|
|
4532
|
+
formId: "generalLegalSingle1to1",
|
|
4533
|
+
redirectMap: legalRedirectMap(),
|
|
4534
|
+
valueOverrideMap: legalAllValueOverrideMap,
|
|
4535
|
+
}),
|
|
4536
|
+
children: [
|
|
4537
|
+
progressBar(),
|
|
4538
|
+
headline({
|
|
4539
|
+
children: '$urlParam("hl", "Need Legal Help? Start Here!")',
|
|
4540
|
+
if: "$activeStep === $firstStep()",
|
|
4541
|
+
}),
|
|
4542
|
+
defaultSubHeadline(),
|
|
4543
|
+
...hiddenInputsLegal,
|
|
4544
|
+
{
|
|
4545
|
+
$el: "div",
|
|
4546
|
+
attrs: {
|
|
4547
|
+
class: "form-body",
|
|
4548
|
+
},
|
|
4549
|
+
children: [
|
|
4550
|
+
generalTOLP({
|
|
4551
|
+
nextOnInput: false,
|
|
4552
|
+
nextStepMap: nextStepsMapGeneralLegal1to1,
|
|
4553
|
+
headlineClass: "t-text-lg",
|
|
4554
|
+
input: {
|
|
4555
|
+
placeholder: "Select a Category",
|
|
4556
|
+
innerClass: "!t-max-w-[275px] md:!t-max-w-xl",
|
|
4557
|
+
inputClass: "t-text-center",
|
|
4558
|
+
},
|
|
4559
|
+
}),
|
|
4560
|
+
dynamicSchemaNode(),
|
|
4561
|
+
zipcode(),
|
|
4562
|
+
contactInfoV2({
|
|
4563
|
+
subheadlineClass: "!t-text-base",
|
|
4564
|
+
}),
|
|
4565
|
+
formNavigationNoFinalBack({
|
|
4566
|
+
startText: "Start Now",
|
|
4567
|
+
submitLabel: "Get Help Now",
|
|
4568
|
+
inputClass: "!t-font-extrabold",
|
|
4569
|
+
firstStepButtonClass: "!t-justify-center",
|
|
4570
|
+
}),
|
|
4571
|
+
secureIconStandalone(),
|
|
4572
|
+
formDetails(),
|
|
4573
|
+
],
|
|
4574
|
+
},
|
|
4575
|
+
],
|
|
4576
|
+
},
|
|
4577
|
+
];
|
|
4578
|
+
|
|
4579
|
+
export { schema as default };
|