bhl-forms 0.0.8 → 0.0.11
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/bhl-forms.iife.js +1 -1
- package/dist/bhl-forms.umd.js +1 -1
- package/dist/forms/childAndFamily.es.js +34 -33
- package/dist/forms/childAndFamily.iife.js +34 -33
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/testForm.es.js +12 -10
- package/dist/forms/testForm.iife.js +12 -10
- package/dist/forms/testForm.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -87,7 +87,6 @@ var childAndFamily = (function () {
|
|
|
87
87
|
const childHome = () => sbsSelect({
|
|
88
88
|
label: 'With Whom Do the Children Currently Live? *',
|
|
89
89
|
name: 'Child_Home',
|
|
90
|
-
// id: 'Child_Home',
|
|
91
90
|
options: [
|
|
92
91
|
'Mother',
|
|
93
92
|
'Father',
|
|
@@ -134,7 +133,7 @@ var childAndFamily = (function () {
|
|
|
134
133
|
const degreeOfInterest = () => sbsSelect({
|
|
135
134
|
label: 'How Likely Are You to Pay if Your Issue Could be Resolved? *',
|
|
136
135
|
name: 'Degree_Of_Interest',
|
|
137
|
-
help: 'No payment necessary to speak with lawyers.',
|
|
136
|
+
// help: 'No payment necessary to speak with lawyers.',
|
|
138
137
|
options: [
|
|
139
138
|
'Definitely',
|
|
140
139
|
'Probably',
|
|
@@ -143,7 +142,7 @@ var childAndFamily = (function () {
|
|
|
143
142
|
]
|
|
144
143
|
});
|
|
145
144
|
|
|
146
|
-
const firstName = () => ({
|
|
145
|
+
const firstName = () => sbsText({
|
|
147
146
|
$formkit: 'text',
|
|
148
147
|
label: 'First Name *',
|
|
149
148
|
name: 'First_Name',
|
|
@@ -153,7 +152,7 @@ var childAndFamily = (function () {
|
|
|
153
152
|
},
|
|
154
153
|
});
|
|
155
154
|
|
|
156
|
-
const email = () => ({
|
|
155
|
+
const email = () => sbsText({
|
|
157
156
|
$formkit: 'email',
|
|
158
157
|
name: 'Email',
|
|
159
158
|
label: 'Email Address *',
|
|
@@ -175,7 +174,7 @@ var childAndFamily = (function () {
|
|
|
175
174
|
label: 'Do You Have Children? *',
|
|
176
175
|
});
|
|
177
176
|
|
|
178
|
-
const lastName = () => ({
|
|
177
|
+
const lastName = () => sbsText({
|
|
179
178
|
$formkit: 'text',
|
|
180
179
|
label: 'Last Name *',
|
|
181
180
|
name: 'Last_Name',
|
|
@@ -212,12 +211,12 @@ var childAndFamily = (function () {
|
|
|
212
211
|
]
|
|
213
212
|
});
|
|
214
213
|
|
|
215
|
-
const phone = () => ({
|
|
214
|
+
const phone = () => sbsText({
|
|
216
215
|
$formkit: 'tel',
|
|
217
216
|
name: 'Primary_Phone',
|
|
218
217
|
label: 'Phone Number *',
|
|
219
218
|
placeholder: 'xxx-xxx-xxxx',
|
|
220
|
-
help: '10-digit US phone number, hyphens optional.',
|
|
219
|
+
// help: '10-digit US phone number, hyphens optional.',
|
|
221
220
|
validation: 'required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/',
|
|
222
221
|
validationMessages: {
|
|
223
222
|
required: 'Phone Number is required',
|
|
@@ -234,7 +233,7 @@ var childAndFamily = (function () {
|
|
|
234
233
|
accepted: 'Consent is required',
|
|
235
234
|
},
|
|
236
235
|
classes: {
|
|
237
|
-
label: "text-xs text-slate-500"
|
|
236
|
+
label: "text-xs text-slate-500 font-normal"
|
|
238
237
|
}
|
|
239
238
|
});
|
|
240
239
|
|
|
@@ -364,7 +363,7 @@ var childAndFamily = (function () {
|
|
|
364
363
|
$el: 'h3',
|
|
365
364
|
children: 'Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:',
|
|
366
365
|
attrs: {
|
|
367
|
-
class: 'flex justify-center text-lg font-bold pb-5 pt-0'
|
|
366
|
+
class: 'flex justify-center text-center text-lg font-bold pb-5 pt-0 px-3'
|
|
368
367
|
}
|
|
369
368
|
},
|
|
370
369
|
email(),
|
|
@@ -406,6 +405,27 @@ var childAndFamily = (function () {
|
|
|
406
405
|
)
|
|
407
406
|
}
|
|
408
407
|
|
|
408
|
+
function TOLPQuestions() {
|
|
409
|
+
return step(
|
|
410
|
+
'TOLPQuestions',
|
|
411
|
+
[
|
|
412
|
+
{
|
|
413
|
+
$el: 'h3',
|
|
414
|
+
children: 'Please Complete the Following:',
|
|
415
|
+
attrs: {
|
|
416
|
+
class: 'flex justify-center text-center text-2xl font-bold text-blue-500 pb-5 pt-0 px-3'
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
AdoptionQuestions(),
|
|
420
|
+
ChildCustodyAndSupportQuestions(),
|
|
421
|
+
NotSureOrOtherQuestions()
|
|
422
|
+
],
|
|
423
|
+
...arguments
|
|
424
|
+
)
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
// ------ Utilities
|
|
428
|
+
|
|
409
429
|
const formNavigation = () => ({
|
|
410
430
|
$el: 'div',
|
|
411
431
|
attrs: {
|
|
@@ -415,7 +435,7 @@ var childAndFamily = (function () {
|
|
|
415
435
|
{
|
|
416
436
|
$formkit: 'button',
|
|
417
437
|
onClick: '$setPreviousStep()',
|
|
418
|
-
children: '
|
|
438
|
+
children: 'Back',
|
|
419
439
|
style: {
|
|
420
440
|
if: '$activeStep === $firstStep()',
|
|
421
441
|
then: 'visibility: hidden;'
|
|
@@ -424,7 +444,7 @@ var childAndFamily = (function () {
|
|
|
424
444
|
{
|
|
425
445
|
$formkit: 'button',
|
|
426
446
|
onClick: '$setNextStep()',
|
|
427
|
-
children: 'Next
|
|
447
|
+
children: 'Next',
|
|
428
448
|
style: {
|
|
429
449
|
if: '$activeStep === $lastStep()',
|
|
430
450
|
then: 'display: none;'
|
|
@@ -432,7 +452,7 @@ var childAndFamily = (function () {
|
|
|
432
452
|
},
|
|
433
453
|
{
|
|
434
454
|
$formkit: 'submit',
|
|
435
|
-
label: 'Submit
|
|
455
|
+
label: 'Submit',
|
|
436
456
|
if: '$activeStep === $lastStep()',
|
|
437
457
|
style: {
|
|
438
458
|
if: '$activeStep !== $lastStep()',
|
|
@@ -481,25 +501,6 @@ var childAndFamily = (function () {
|
|
|
481
501
|
]
|
|
482
502
|
});
|
|
483
503
|
|
|
484
|
-
function TOLPQuestions() {
|
|
485
|
-
return step(
|
|
486
|
-
'TOLPQuestions',
|
|
487
|
-
[
|
|
488
|
-
{
|
|
489
|
-
$el: 'h3',
|
|
490
|
-
children: 'Please Complete the Following:',
|
|
491
|
-
attrs: {
|
|
492
|
-
class: 'flex justify-center text-2xl font-bold text-blue-500 pb-5 pt-0'
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
AdoptionQuestions(),
|
|
496
|
-
ChildCustodyAndSupportQuestions(),
|
|
497
|
-
NotSureOrOtherQuestions()
|
|
498
|
-
],
|
|
499
|
-
...arguments
|
|
500
|
-
)
|
|
501
|
-
}
|
|
502
|
-
|
|
503
504
|
const schema = [
|
|
504
505
|
{
|
|
505
506
|
type: 'meta',
|
|
@@ -532,7 +533,7 @@ var childAndFamily = (function () {
|
|
|
532
533
|
if: '$activeStep === $firstStep()',
|
|
533
534
|
children: 'Get Child & Family Help Today',
|
|
534
535
|
attrs: {
|
|
535
|
-
class: 'flex justify-center text-3xl font-bold pt-5'
|
|
536
|
+
class: 'flex justify-center text-center text-3xl font-bold pt-5 px-3'
|
|
536
537
|
}
|
|
537
538
|
},
|
|
538
539
|
{
|
|
@@ -540,7 +541,7 @@ var childAndFamily = (function () {
|
|
|
540
541
|
if: '$activeStep === $firstStep()',
|
|
541
542
|
children: 'Contact Us Now for Child Support, Custody and Family Issues',
|
|
542
543
|
attrs: {
|
|
543
|
-
class: 'flex justify-center text-l font-bold text-blue-500'
|
|
544
|
+
class: 'flex justify-center text-center text-l font-bold text-blue-500 px-3'
|
|
544
545
|
}
|
|
545
546
|
},
|
|
546
547
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"type":"meta","data":{"tcpaLanguage":"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 855-506-0847."}},{"$cmp":"FormKit","props":{"type":"form","id":"form","onSubmit":"$submit(\"https://httpbin.org/post\", $prepData)","plugins":"$plugins","actions":false,"prepop":{"fromURL":true},"errorCodes":{"403":"An Error Occurred","409":{"abort":false},"429":"An Error Occurred"},"formClass":"!max-w-xl"},"children":[{"$el":"h1","if":"$activeStep === $firstStep()","children":"Get Child & Family Help Today","attrs":{"class":"flex justify-center text-3xl font-bold pt-5"}},{"$el":"h3","if":"$activeStep === $firstStep()","children":"Contact Us Now for Child Support, Custody and Family Issues","attrs":{"class":"flex justify-center text-l font-bold text-blue-500"}},{"$formkit":"hidden","name":"vertical","value":"Legal"},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepIsEnabled(\"childAndFamilyTOLPAndZip\")","attrs":{"style":{"if":"$activeStep !== \"childAndFamilyTOLPAndZip\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"childAndFamilyTOLPAndZip","name":"childAndFamilyTOLPAndZip","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1","label":"Which Type of Help is Needed? *","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","options":["Adoption","Child Custody and Support","Not Sure or Other"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"label":"Zip Code *","placeholder":"90210","name":"Zip","labelClass":"center-label","wrapperClass":"side-by-side"}]}]},{"$el":"section","if":"$stepIsEnabled(\"TOLPQuestions\")","attrs":{"style":{"if":"$activeStep !== \"TOLPQuestions\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"TOLPQuestions","name":"TOLPQuestions","children":[{"$el":"h3","children":"Please Complete the Following:","attrs":{"class":"flex justify-center text-2xl font-bold text-blue-500 pb-5 pt-0"}},{"$cmp":"FormKit","props":{"type":"group","key":"AdoptionQuestions","id":"AdoptionQuestions","name":"AdoptionQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Adoption\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Attorney","label":"Are You Currently Working with An Attorney? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"Marital Status *","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Children","label":"Do You Have Children? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Likely Are You to Pay if Your Issue Could be Resolved? *","name":"Degree_Of_Interest","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Will You Pay for Legal Fees if You Hire a Lawyer? *","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"}]},{"$cmp":"FormKit","props":{"type":"group","key":"ChildCustodyAndSupportQuestions","id":"ChildCustodyAndSupportQuestions","name":"ChildCustodyAndSupportQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Child Custody and Support\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Attorney","label":"Are You Currently Working with An Attorney? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"Your Relationship to Child(ren): *","name":"Child_Relationship","options":["Father","Mother","Grandparent","Aunt/Uncle","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"With Whom Do the Children Currently Live? *","name":"Child_Home","options":["Mother","Father","Grandparents","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"Who is the Primary Caregiver? *","name":"Child_Primary_Caregiver","options":["Mother","Father","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Likely Are You to Pay if Your Issue Could be Resolved? *","name":"Degree_Of_Interest","help":"No payment necessary to speak with lawyers.","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Will You Pay for Legal Fees if You Hire a Lawyer? *","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"}]},{"$cmp":"FormKit","props":{"type":"group","key":"NotSureOrOtherQuestions","id":"NotSureOrOtherQuestions","name":"NotSureOrOtherQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Not Sure or Other\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Attorney","label":"Are You Currently Working with An Attorney? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Will You Pay for Legal Fees if You Hire a Lawyer? *","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"}]}]}]},{"$el":"section","if":"$stepIsEnabled(\"comments\")","attrs":{"style":{"if":"$activeStep !== \"comments\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","label":"Please provide a brief description of your situation *","name":"Comments","placeholder":"For Example: \"I would like help with child support payments\" or \"I need help with visitation rights\"","rows":1,"validation":"required","maxlength":1000,"validationMessages":{"required":"Description is required"}}]}]},{"$el":"section","if":"$stepIsEnabled(\"firstAndLast\")","attrs":{"style":{"if":"$activeStep !== \"firstAndLast\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$formkit":"text","label":"First Name *","name":"First_Name","validation":"required","validationMessages":{"required":"First Name is required"}},{"$formkit":"text","label":"Last Name *","name":"Last_Name","validation":"required","validationMessages":{"required":"Last Name is required"}}]}]},{"$el":"section","if":"$stepIsEnabled(\"contactInfo\")","attrs":{"style":{"if":"$activeStep !== \"contactInfo\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:","attrs":{"class":"flex justify-center text-lg font-bold pb-5 pt-0"}},{"$formkit":"email","name":"Email","label":"Email Address *","placeholder":"email@domain.com","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"}},{"$formkit":"tel","name":"Primary_Phone","label":"Phone Number *","placeholder":"xxx-xxx-xxxx","help":"10-digit US phone number, hyphens optional.","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Number"}},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"TCPA_Opt_In","validation":"required|accepted","validationMessages":{"accepted":"Consent is required"},"classes":{"label":"text-xs text-slate-500"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"flex justify-center"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"src":"https://www.jotform.com/uploads/bunker_hill/form_files/SecurePrivacy.61e1c17c976f80.61736956.png","width":"320","height":"100"}}]}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","onClick":"$setPreviousStep()","children":"Previous Step","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"button","onClick":"$setNextStep()","children":"Next Step","style":{"if":"$activeStep === $lastStep()","then":"display: none;"}},{"$formkit":"submit","label":"Submit Application","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"text-xs","style":"overflow: scroll"}}]}]}]}]
|
|
1
|
+
[{"type":"meta","data":{"tcpaLanguage":"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 855-506-0847."}},{"$cmp":"FormKit","props":{"type":"form","id":"form","onSubmit":"$submit(\"https://httpbin.org/post\", $prepData)","plugins":"$plugins","actions":false,"prepop":{"fromURL":true},"errorCodes":{"403":"An Error Occurred","409":{"abort":false},"429":"An Error Occurred"},"formClass":"!max-w-xl"},"children":[{"$el":"h1","if":"$activeStep === $firstStep()","children":"Get Child & Family Help Today","attrs":{"class":"flex justify-center text-center text-3xl font-bold pt-5 px-3"}},{"$el":"h3","if":"$activeStep === $firstStep()","children":"Contact Us Now for Child Support, Custody and Family Issues","attrs":{"class":"flex justify-center text-center text-l font-bold text-blue-500 px-3"}},{"$formkit":"hidden","name":"vertical","value":"Legal"},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepIsEnabled(\"childAndFamilyTOLPAndZip\")","attrs":{"style":{"if":"$activeStep !== \"childAndFamilyTOLPAndZip\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"childAndFamilyTOLPAndZip","name":"childAndFamilyTOLPAndZip","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1","label":"Which Type of Help is Needed? *","name":"Type_Of_Legal_Problem","id":"Type_Of_Legal_Problem","options":["Adoption","Child Custody and Support","Not Sure or Other"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"label":"Zip Code *","placeholder":"90210","name":"Zip","labelClass":"center-label","wrapperClass":"side-by-side"}]}]},{"$el":"section","if":"$stepIsEnabled(\"TOLPQuestions\")","attrs":{"style":{"if":"$activeStep !== \"TOLPQuestions\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"TOLPQuestions","name":"TOLPQuestions","children":[{"$el":"h3","children":"Please Complete the Following:","attrs":{"class":"flex justify-center text-center text-2xl font-bold text-blue-500 pb-5 pt-0 px-3"}},{"$cmp":"FormKit","props":{"type":"group","key":"AdoptionQuestions","id":"AdoptionQuestions","name":"AdoptionQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Adoption\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Attorney","label":"Are You Currently Working with An Attorney? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"Marital Status *","name":"Marital_Status","options":["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Children","label":"Do You Have Children? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Likely Are You to Pay if Your Issue Could be Resolved? *","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Will You Pay for Legal Fees if You Hire a Lawyer? *","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"}]},{"$cmp":"FormKit","props":{"type":"group","key":"ChildCustodyAndSupportQuestions","id":"ChildCustodyAndSupportQuestions","name":"ChildCustodyAndSupportQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Child Custody and Support\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Attorney","label":"Are You Currently Working with An Attorney? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"Your Relationship to Child(ren): *","name":"Child_Relationship","options":["Father","Mother","Grandparent","Aunt/Uncle","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"With Whom Do the Children Currently Live? *","name":"Child_Home","options":["Mother","Father","Grandparents","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"Who is the Primary Caregiver? *","name":"Child_Primary_Caregiver","options":["Mother","Father","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Likely Are You to Pay if Your Issue Could be Resolved? *","name":"Degree_Of_Interest","options":["Definitely","Probably","Maybe","Absolutely Can't Afford"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Will You Pay for Legal Fees if You Hire a Lawyer? *","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"}]},{"$cmp":"FormKit","props":{"type":"group","key":"NotSureOrOtherQuestions","id":"NotSureOrOtherQuestions","name":"NotSureOrOtherQuestions"},"if":"$get(Type_Of_Legal_Problem).value == \"Not Sure or Other\"","children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"pl-1 side-by-side center-label","name":"Have_Attorney","label":"Are You Currently Working with An Attorney? *","options":["Yes","No"],"legendClass":"legend-left","fieldsetClass":"$reset side-by-side","innerClass":"center-label"},{"$formkit":"select","placeholder":"Please Select","validation":"required","validationMessages":{"required":"Field is required"},"inputClass":"bg-white","label":"How Will You Pay for Legal Fees if You Hire a Lawyer? *","name":"Lawyer_Payment_Method","help":"No payment necessary to speak with lawyers.","options":["Cash","Check","Credit Card","Friend","Family","Other"],"labelClass":"center-label","wrapperClass":"side-by-side","innerClass":"select-height-content"}]}]}]},{"$el":"section","if":"$stepIsEnabled(\"comments\")","attrs":{"style":{"if":"$activeStep !== \"comments\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$formkit":"textarea","label":"Please provide a brief description of your situation *","name":"Comments","placeholder":"For Example: \"I would like help with child support payments\" or \"I need help with visitation rights\"","rows":1,"validation":"required","maxlength":1000,"validationMessages":{"required":"Description is required"}}]}]},{"$el":"section","if":"$stepIsEnabled(\"firstAndLast\")","attrs":{"style":{"if":"$activeStep !== \"firstAndLast\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"label":"First Name *","name":"First_Name","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"label":"Last Name *","name":"Last_Name","labelClass":"center-label","wrapperClass":"side-by-side"}]}]},{"$el":"section","if":"$stepIsEnabled(\"contactInfo\")","attrs":{"style":{"if":"$activeStep !== \"contactInfo\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:","attrs":{"class":"flex justify-center text-center text-lg font-bold pb-5 pt-0 px-3"}},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"name":"Email","label":"Email Address *","placeholder":"email@domain.com","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Number"},"name":"Primary_Phone","label":"Phone Number *","placeholder":"xxx-xxx-xxxx","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"TCPA_Opt_In","validation":"required|accepted","validationMessages":{"accepted":"Consent is required"},"classes":{"label":"text-xs text-slate-500 font-normal"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"flex justify-center"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"src":"https://www.jotform.com/uploads/bunker_hill/form_files/SecurePrivacy.61e1c17c976f80.61736956.png","width":"320","height":"100"}}]}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","onClick":"$setPreviousStep()","children":"Back","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"button","onClick":"$setNextStep()","children":"Next","style":{"if":"$activeStep === $lastStep()","then":"display: none;"}},{"$formkit":"submit","label":"Submit","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"text-xs","style":"overflow: scroll"}}]}]}]}]
|
|
@@ -32,7 +32,7 @@ const category = () => ({
|
|
|
32
32
|
]
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
const firstName = () => ({
|
|
35
|
+
const firstName = () => sbsText({
|
|
36
36
|
$formkit: 'text',
|
|
37
37
|
label: 'First Name *',
|
|
38
38
|
name: 'First_Name',
|
|
@@ -42,7 +42,7 @@ const firstName = () => ({
|
|
|
42
42
|
},
|
|
43
43
|
});
|
|
44
44
|
|
|
45
|
-
const email = () => ({
|
|
45
|
+
const email = () => sbsText({
|
|
46
46
|
$formkit: 'email',
|
|
47
47
|
name: 'Email',
|
|
48
48
|
label: 'Email Address *',
|
|
@@ -54,7 +54,7 @@ const email = () => ({
|
|
|
54
54
|
},
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
const lastName = () => ({
|
|
57
|
+
const lastName = () => sbsText({
|
|
58
58
|
$formkit: 'text',
|
|
59
59
|
label: 'Last Name *',
|
|
60
60
|
name: 'Last_Name',
|
|
@@ -64,12 +64,12 @@ const lastName = () => ({
|
|
|
64
64
|
},
|
|
65
65
|
});
|
|
66
66
|
|
|
67
|
-
const phone = () => ({
|
|
67
|
+
const phone = () => sbsText({
|
|
68
68
|
$formkit: 'tel',
|
|
69
69
|
name: 'Primary_Phone',
|
|
70
70
|
label: 'Phone Number *',
|
|
71
71
|
placeholder: 'xxx-xxx-xxxx',
|
|
72
|
-
help: '10-digit US phone number, hyphens optional.',
|
|
72
|
+
// help: '10-digit US phone number, hyphens optional.',
|
|
73
73
|
validation: 'required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/',
|
|
74
74
|
validationMessages: {
|
|
75
75
|
required: 'Phone Number is required',
|
|
@@ -86,7 +86,7 @@ const TCPAConsent = () => ({
|
|
|
86
86
|
accepted: 'Consent is required',
|
|
87
87
|
},
|
|
88
88
|
classes: {
|
|
89
|
-
label: "text-xs text-slate-500"
|
|
89
|
+
label: "text-xs text-slate-500 font-normal"
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
|
|
@@ -149,7 +149,7 @@ function contactInfo() {
|
|
|
149
149
|
$el: 'h3',
|
|
150
150
|
children: 'Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:',
|
|
151
151
|
attrs: {
|
|
152
|
-
class: 'flex justify-center text-lg font-bold pb-5 pt-0'
|
|
152
|
+
class: 'flex justify-center text-center text-lg font-bold pb-5 pt-0 px-3'
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
email(),
|
|
@@ -191,6 +191,8 @@ function firstAndLast() {
|
|
|
191
191
|
)
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
+
// ------ Utilities
|
|
195
|
+
|
|
194
196
|
const formNavigation = () => ({
|
|
195
197
|
$el: 'div',
|
|
196
198
|
attrs: {
|
|
@@ -200,7 +202,7 @@ const formNavigation = () => ({
|
|
|
200
202
|
{
|
|
201
203
|
$formkit: 'button',
|
|
202
204
|
onClick: '$setPreviousStep()',
|
|
203
|
-
children: '
|
|
205
|
+
children: 'Back',
|
|
204
206
|
style: {
|
|
205
207
|
if: '$activeStep === $firstStep()',
|
|
206
208
|
then: 'visibility: hidden;'
|
|
@@ -209,7 +211,7 @@ const formNavigation = () => ({
|
|
|
209
211
|
{
|
|
210
212
|
$formkit: 'button',
|
|
211
213
|
onClick: '$setNextStep()',
|
|
212
|
-
children: 'Next
|
|
214
|
+
children: 'Next',
|
|
213
215
|
style: {
|
|
214
216
|
if: '$activeStep === $lastStep()',
|
|
215
217
|
then: 'display: none;'
|
|
@@ -217,7 +219,7 @@ const formNavigation = () => ({
|
|
|
217
219
|
},
|
|
218
220
|
{
|
|
219
221
|
$formkit: 'submit',
|
|
220
|
-
label: 'Submit
|
|
222
|
+
label: 'Submit',
|
|
221
223
|
if: '$activeStep === $lastStep()',
|
|
222
224
|
style: {
|
|
223
225
|
if: '$activeStep !== $lastStep()',
|
|
@@ -35,7 +35,7 @@ var testForm = (function () {
|
|
|
35
35
|
]
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
const firstName = () => ({
|
|
38
|
+
const firstName = () => sbsText({
|
|
39
39
|
$formkit: 'text',
|
|
40
40
|
label: 'First Name *',
|
|
41
41
|
name: 'First_Name',
|
|
@@ -45,7 +45,7 @@ var testForm = (function () {
|
|
|
45
45
|
},
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
const email = () => ({
|
|
48
|
+
const email = () => sbsText({
|
|
49
49
|
$formkit: 'email',
|
|
50
50
|
name: 'Email',
|
|
51
51
|
label: 'Email Address *',
|
|
@@ -57,7 +57,7 @@ var testForm = (function () {
|
|
|
57
57
|
},
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
const lastName = () => ({
|
|
60
|
+
const lastName = () => sbsText({
|
|
61
61
|
$formkit: 'text',
|
|
62
62
|
label: 'Last Name *',
|
|
63
63
|
name: 'Last_Name',
|
|
@@ -67,12 +67,12 @@ var testForm = (function () {
|
|
|
67
67
|
},
|
|
68
68
|
});
|
|
69
69
|
|
|
70
|
-
const phone = () => ({
|
|
70
|
+
const phone = () => sbsText({
|
|
71
71
|
$formkit: 'tel',
|
|
72
72
|
name: 'Primary_Phone',
|
|
73
73
|
label: 'Phone Number *',
|
|
74
74
|
placeholder: 'xxx-xxx-xxxx',
|
|
75
|
-
help: '10-digit US phone number, hyphens optional.',
|
|
75
|
+
// help: '10-digit US phone number, hyphens optional.',
|
|
76
76
|
validation: 'required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/',
|
|
77
77
|
validationMessages: {
|
|
78
78
|
required: 'Phone Number is required',
|
|
@@ -89,7 +89,7 @@ var testForm = (function () {
|
|
|
89
89
|
accepted: 'Consent is required',
|
|
90
90
|
},
|
|
91
91
|
classes: {
|
|
92
|
-
label: "text-xs text-slate-500"
|
|
92
|
+
label: "text-xs text-slate-500 font-normal"
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
95
|
|
|
@@ -152,7 +152,7 @@ var testForm = (function () {
|
|
|
152
152
|
$el: 'h3',
|
|
153
153
|
children: 'Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:',
|
|
154
154
|
attrs: {
|
|
155
|
-
class: 'flex justify-center text-lg font-bold pb-5 pt-0'
|
|
155
|
+
class: 'flex justify-center text-center text-lg font-bold pb-5 pt-0 px-3'
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
email(),
|
|
@@ -194,6 +194,8 @@ var testForm = (function () {
|
|
|
194
194
|
)
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
+
// ------ Utilities
|
|
198
|
+
|
|
197
199
|
const formNavigation = () => ({
|
|
198
200
|
$el: 'div',
|
|
199
201
|
attrs: {
|
|
@@ -203,7 +205,7 @@ var testForm = (function () {
|
|
|
203
205
|
{
|
|
204
206
|
$formkit: 'button',
|
|
205
207
|
onClick: '$setPreviousStep()',
|
|
206
|
-
children: '
|
|
208
|
+
children: 'Back',
|
|
207
209
|
style: {
|
|
208
210
|
if: '$activeStep === $firstStep()',
|
|
209
211
|
then: 'visibility: hidden;'
|
|
@@ -212,7 +214,7 @@ var testForm = (function () {
|
|
|
212
214
|
{
|
|
213
215
|
$formkit: 'button',
|
|
214
216
|
onClick: '$setNextStep()',
|
|
215
|
-
children: 'Next
|
|
217
|
+
children: 'Next',
|
|
216
218
|
style: {
|
|
217
219
|
if: '$activeStep === $lastStep()',
|
|
218
220
|
then: 'display: none;'
|
|
@@ -220,7 +222,7 @@ var testForm = (function () {
|
|
|
220
222
|
},
|
|
221
223
|
{
|
|
222
224
|
$formkit: 'submit',
|
|
223
|
-
label: 'Submit
|
|
225
|
+
label: 'Submit',
|
|
224
226
|
if: '$activeStep === $lastStep()',
|
|
225
227
|
style: {
|
|
226
228
|
if: '$activeStep !== $lastStep()',
|
package/dist/forms/testForm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"type":"meta","data":{"tcpaLanguage":"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 855-506-0847."}},{"$cmp":"FormKit","props":{"type":"form","id":"form","onSubmit":"$submit(\"http://localhost:8080/api/v1/form_leads_ext\", $prepData)","plugins":"$plugins","actions":false,"prepop":{"fromURL":true},"errorCodes":{"403":"An Error Occurred","409":{"abort":false},"429":"An Error Occurred"}},"children":[{"$el":"h1","children":"Need Help? Start Here!","attrs":{"class":"flex justify-center text-3xl font-bold"}},{"$el":"h3","children":"Get Your Questions Answered Today!","attrs":{"class":"flex justify-center text-l font-bold text-blue-500"}},{"$formkit":"hidden","name":"vertical","value":"Legal"},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepIsEnabled(\"categoryAndZip\")","attrs":{"style":{"if":"$activeStep !== \"categoryAndZip\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"categoryAndZip","name":"categoryAndZip","children":[{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"label":"Zip Code *","placeholder":"90210","name":"Zip","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"select","label":"Category *","name":"category","id":"category","validation":"required","options":["Fruits","Vegetables"]}]}]},{"$el":"section","if":"$stepIsEnabled(\"firstAndLast\")","attrs":{"style":{"if":"$activeStep !== \"firstAndLast\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$formkit":"text","label":"First Name *","name":"First_Name","validation":"required","validationMessages":{"required":"
|
|
1
|
+
[{"type":"meta","data":{"tcpaLanguage":"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 855-506-0847."}},{"$cmp":"FormKit","props":{"type":"form","id":"form","onSubmit":"$submit(\"http://localhost:8080/api/v1/form_leads_ext\", $prepData)","plugins":"$plugins","actions":false,"prepop":{"fromURL":true},"errorCodes":{"403":"An Error Occurred","409":{"abort":false},"429":"An Error Occurred"}},"children":[{"$el":"h1","children":"Need Help? Start Here!","attrs":{"class":"flex justify-center text-3xl font-bold"}},{"$el":"h3","children":"Get Your Questions Answered Today!","attrs":{"class":"flex justify-center text-l font-bold text-blue-500"}},{"$formkit":"hidden","name":"vertical","value":"Legal"},{"$formkit":"hidden","name":"TCPA_Language","value":"$meta.tcpaLanguage"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepIsEnabled(\"categoryAndZip\")","attrs":{"style":{"if":"$activeStep !== \"categoryAndZip\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"categoryAndZip","name":"categoryAndZip","children":[{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"label":"Zip Code *","placeholder":"90210","name":"Zip","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"select","label":"Category *","name":"category","id":"category","validation":"required","options":["Fruits","Vegetables"]}]}]},{"$el":"section","if":"$stepIsEnabled(\"firstAndLast\")","attrs":{"style":{"if":"$activeStep !== \"firstAndLast\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"label":"First Name *","name":"First_Name","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"label":"Last Name *","name":"Last_Name","labelClass":"center-label","wrapperClass":"side-by-side"}]}]},{"$el":"section","if":"$stepIsEnabled(\"contactInfo\")","attrs":{"style":{"if":"$activeStep !== \"contactInfo\"","then":"display: none;"}},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Based on your input, you may benefit from speaking with a family lawyer. Please verify your contact information:","attrs":{"class":"flex justify-center text-center text-lg font-bold pb-5 pt-0 px-3"}},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"name":"Email","label":"Email Address *","placeholder":"email@domain.com","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Number"},"name":"Primary_Phone","label":"Phone Number *","placeholder":"xxx-xxx-xxxx","labelClass":"center-label","wrapperClass":"side-by-side"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","name":"TCPA_Opt_In","validation":"required|accepted","validationMessages":{"accepted":"Consent is required"},"classes":{"label":"text-xs text-slate-500 font-normal"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"flex justify-center"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"src":"https://www.jotform.com/uploads/bunker_hill/form_files/SecurePrivacy.61e1c17c976f80.61736956.png","width":"320","height":"100"}}]}]}]},{"$el":"div","attrs":{"class":"step-nav"},"children":[{"$formkit":"button","onClick":"$setPreviousStep()","children":"Back","style":{"if":"$activeStep === $firstStep()","then":"visibility: hidden;"}},{"$formkit":"button","onClick":"$setNextStep()","children":"Next","style":{"if":"$activeStep === $lastStep()","then":"display: none;"}},{"$formkit":"submit","label":"Submit","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"text-xs","style":"overflow: scroll"}}]}]}]}]
|
package/dist/main.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mb-5{margin-bottom:1.25rem}.mb-0{margin-bottom:0}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-2{height:.5rem}.h-32{height:8rem}.w-full{width:100%}.w-5{width:1.25rem}.w-16{width:4rem}.max-w-md{max-width:28rem}.\!max-w-xl{max-width:36rem!important}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-none{border-style:none}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.p-0{padding:0}.p-1{padding:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.pb-1{padding-bottom:.25rem}.pt-5{padding-top:1.25rem}.pt-3{padding-top:.75rem}.pl-1{padding-left:.25rem}.pb-5{padding-bottom:1.25rem}.pt-0{padding-top:0}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-400:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}:root{--gray: #ccccd7;--gray-l: #eeeef4}.formkit-form{max-width:500px;flex-shrink:0;margin-top:1em;margin-bottom:1em;background:#fff;color:#000;border:1px solid var(--gray);border-radius:.5em;box-shadow:.25em .25em 1em #0000001a}#app .source-content{padding:2em;background:transparent}.side-by-side{display:grid;grid-template-columns:40fr 60fr;grid-gap:30px}.select-height-content{height:-webkit-min-content;height:-moz-min-content;height:min-content}.center-label{display:grid;align-items:center}.legend-left{float:left}.required label:after{content:"*";color:red}.steps{list-style-type:none;margin:0;display:flex;padding-left:0;background:var(--gray-l);border-radius:.4em .4em 0 0;overflow:hidden;border-bottom:1px solid var(--gray)}.step{font-size:14px;display:flex;align-items:center;padding:16px 20px;background:var(--gray-l);border-right:1px solid var(--gray);color:gray;flex-grow:0;flex-shrink:0;position:relative}.step:last-child{box-shadow:.1em -.1 .1em #00000054}.step:hover{cursor:pointer}[data-step-active=true]{color:#000;background:white!important;border-bottom:none;position:relative}.step--errors,[data-step-valid=true]:after{content:"\e2\153\201c";background-color:#54a085;position:absolute;top:4px;right:4px;height:18px;width:18px;border-radius:50%;z-index:10;display:flex;font-size:10px;flex-direction:column;justify-content:center;text-align:center;color:#fff}.step--errors{background-color:#ff4949;color:#fff;z-index:100}.step-nav{display:flex;margin-top:2em;margin-bottom:1em;justify-content:space-between}.form-body{padding:2em}.next{margin-left:auto}.formkit-outer[data-type=submit] .formkit-wrapper{padding:0 2em 1em;display:flex}.formkit-outer[data-type=submit] .formkit-input{margin-left:auto;margin-right:0}details{border:1px solid var(--gray);background:var(--gray-l);border-radius:.15em;padding:1em}.formkit-form>.formkit-messages{padding:0 2em}.formkit-form>.formkit-messages:last-child{padding:0 2em 2em}[data-errors=true] .formkit-label{color:#ff4949}.formkit-wrapper{max-width:100%}button:hover,summary{cursor:pointer}p small{color:#999}h1{margin:.25em 0}@media (max-width: 438px){h1{font-size:1.15em}#app .source-content{padding:.5em}.steps{flex-direction:column}.step{border-bottom:1px solid var(--gray);border-right:none}.step:last-child{border-bottom:none}.side-by-side{display:unset;grid-template-columns:unset;grid-gap:unset}.legend-left{float:unset;padding-bottom:1em}.form-body{padding:1em}.formkit-outer[data-type=submit] .formkit-wrapper{padding:0 1em 1em;display:flex}.formkit-form>.formkit-messages{padding:0 1em}.formkit-form>.formkit-messages:last-child{padding:0 1em 1em}}.file\:mr-4::-webkit-file-upload-button{margin-right:1rem}.file\:mr-4::file-selector-button{margin-right:1rem}.file\:rounded-full::-webkit-file-upload-button{border-radius:9999px}.file\:rounded-full::file-selector-button{border-radius:9999px}.file\:border-0::-webkit-file-upload-button{border-width:0px}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-blue-500::-webkit-file-upload-button{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.file\:bg-blue-500::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.file\:py-2::-webkit-file-upload-button{padding-top:.5rem;padding-bottom:.5rem}.file\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\:px-4::-webkit-file-upload-button{padding-left:1rem;padding-right:1rem}.file\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\:text-sm::-webkit-file-upload-button{font-size:.875rem;line-height:1.25rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:text-white::-webkit-file-upload-button{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.file\:text-white::file-selector-button{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.placeholder\:text-sm::-moz-placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\:text-sm:-ms-input-placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.checked\:bg-blue-500:checked{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.focus-within\:border-blue-500:focus-within{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:file\:bg-blue-600::-webkit-file-upload-button:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:file\:bg-blue-600::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input:-ms-input-placeholder,textarea:-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mb-5{margin-bottom:1.25rem}.mb-0{margin-bottom:0}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-2{height:.5rem}.h-32{height:8rem}.w-full{width:100%}.w-5{width:1.25rem}.w-16{width:4rem}.max-w-md{max-width:28rem}.\!max-w-xl{max-width:36rem!important}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-none{border-style:none}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.p-0{padding:0}.p-1{padding:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.pb-1{padding-bottom:.25rem}.pt-5{padding-top:1.25rem}.pt-3{padding-top:.75rem}.pl-1{padding-left:.25rem}.pb-5{padding-bottom:1.25rem}.pt-0{padding-top:0}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-400:-ms-input-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}:root{--gray: #ccccd7;--gray-l: #eeeef4}.formkit-form{max-width:500px;flex-shrink:0;margin-top:1em;margin-bottom:1em;background:#fff;color:#000;border:1px solid var(--gray);border-radius:.5em;box-shadow:.25em .25em 1em #0000001a}#app .source-content{padding:2em;background:transparent}.side-by-side{display:grid;grid-template-columns:40fr 60fr;grid-gap:30px}.select-height-content{height:-webkit-min-content;height:-moz-min-content;height:min-content}.center-label{display:grid;align-items:center}.legend-left{float:left}.required label:after{content:"*";color:red}.steps{list-style-type:none;margin:0;display:flex;padding-left:0;background:var(--gray-l);border-radius:.4em .4em 0 0;overflow:hidden;border-bottom:1px solid var(--gray)}.step{font-size:14px;display:flex;align-items:center;padding:16px 20px;background:var(--gray-l);border-right:1px solid var(--gray);color:gray;flex-grow:0;flex-shrink:0;position:relative}.step:last-child{box-shadow:.1em -.1 .1em #00000054}.step:hover{cursor:pointer}[data-step-active=true]{color:#000;background:white!important;border-bottom:none;position:relative}.step--errors,[data-step-valid=true]:after{content:"\e2\153\201c";background-color:#54a085;position:absolute;top:4px;right:4px;height:18px;width:18px;border-radius:50%;z-index:10;display:flex;font-size:10px;flex-direction:column;justify-content:center;text-align:center;color:#fff}.step--errors{background-color:#ff4949;color:#fff;z-index:100}.step-nav{display:flex;margin-top:2em;margin-bottom:1em;justify-content:space-between}.form-body{padding:2em 2em 0}.next{margin-left:auto}.formkit-outer[data-type=submit] .formkit-wrapper{display:flex}.formkit-outer[data-type=submit] .formkit-input{margin-left:auto;margin-right:0}details{border:1px solid var(--gray);background:var(--gray-l);border-radius:.15em;padding:1em}.formkit-form>.formkit-messages{padding:0 2em}.formkit-form>.formkit-messages:last-child{padding:0 2em 2em}[data-errors=true] .formkit-label{color:#ff4949}.formkit-wrapper{max-width:100%}button:hover,summary{cursor:pointer}p small{color:#999}h1{margin:.25em 0}@media (max-width: 438px){h1{font-size:1.15em}#app .source-content{padding:.5em}.steps{flex-direction:column}.step{border-bottom:1px solid var(--gray);border-right:none}.step:last-child{border-bottom:none}.side-by-side{display:unset;grid-template-columns:unset;grid-gap:unset}.legend-left{float:unset;padding-bottom:1em}.form-body{padding:1em}.formkit-outer[data-type=submit] .formkit-wrapper{padding:0 1em 1em;display:flex}.formkit-form>.formkit-messages{padding:0 1em}.formkit-form>.formkit-messages:last-child{padding:0 1em 1em}.formkit-options.side-by-side{padding-left:0}}.file\:mr-4::-webkit-file-upload-button{margin-right:1rem}.file\:mr-4::file-selector-button{margin-right:1rem}.file\:rounded-full::-webkit-file-upload-button{border-radius:9999px}.file\:rounded-full::file-selector-button{border-radius:9999px}.file\:border-0::-webkit-file-upload-button{border-width:0px}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-blue-500::-webkit-file-upload-button{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.file\:bg-blue-500::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.file\:py-2::-webkit-file-upload-button{padding-top:.5rem;padding-bottom:.5rem}.file\:py-2::file-selector-button{padding-top:.5rem;padding-bottom:.5rem}.file\:px-4::-webkit-file-upload-button{padding-left:1rem;padding-right:1rem}.file\:px-4::file-selector-button{padding-left:1rem;padding-right:1rem}.file\:text-sm::-webkit-file-upload-button{font-size:.875rem;line-height:1.25rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:text-white::-webkit-file-upload-button{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.file\:text-white::file-selector-button{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.placeholder\:text-sm::-moz-placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\:text-sm:-ms-input-placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.checked\:bg-blue-500:checked{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.focus-within\:border-blue-500:focus-within{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:file\:bg-blue-600::-webkit-file-upload-button:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:file\:bg-blue-600::file-selector-button:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}
|