udp-schema 1.0.0 → 2.0.0
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/field-helpers.d.ts +23 -8
- package/dist/field-helpers.d.ts.map +1 -1
- package/dist/field-helpers.js +43 -12
- package/dist/field-helpers.js.map +1 -1
- package/dist/field-meta.d.ts +14 -52
- package/dist/field-meta.d.ts.map +1 -1
- package/dist/field-meta.js +13 -307
- package/dist/field-meta.js.map +1 -1
- package/dist/index.d.ts +23 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -21
- package/dist/index.js.map +1 -1
- package/dist/profile-fields/01-profile.d.ts +264 -0
- package/dist/profile-fields/01-profile.d.ts.map +1 -0
- package/dist/profile-fields/01-profile.js +258 -0
- package/dist/profile-fields/01-profile.js.map +1 -0
- package/dist/profile-fields/02-political.d.ts +133 -0
- package/dist/profile-fields/02-political.d.ts.map +1 -0
- package/dist/profile-fields/02-political.js +133 -0
- package/dist/profile-fields/02-political.js.map +1 -0
- package/dist/profile-fields/03-electoral.d.ts +46 -0
- package/dist/profile-fields/03-electoral.d.ts.map +1 -0
- package/dist/profile-fields/03-electoral.js +91 -0
- package/dist/profile-fields/03-electoral.js.map +1 -0
- package/dist/profile-fields/04-leadership.d.ts +34 -0
- package/dist/profile-fields/04-leadership.d.ts.map +1 -0
- package/dist/profile-fields/04-leadership.js +139 -0
- package/dist/profile-fields/04-leadership.js.map +1 -0
- package/dist/profile-fields/05-psychological.d.ts +58 -0
- package/dist/profile-fields/05-psychological.d.ts.map +1 -0
- package/dist/profile-fields/05-psychological.js +49 -0
- package/dist/profile-fields/05-psychological.js.map +1 -0
- package/dist/profile-fields/06-education.d.ts +28 -0
- package/dist/profile-fields/06-education.d.ts.map +1 -0
- package/dist/profile-fields/06-education.js +136 -0
- package/dist/profile-fields/06-education.js.map +1 -0
- package/dist/profile-fields/07-employment.d.ts +75 -0
- package/dist/profile-fields/07-employment.d.ts.map +1 -0
- package/dist/profile-fields/07-employment.js +112 -0
- package/dist/profile-fields/07-employment.js.map +1 -0
- package/dist/profile-fields/08-neurodiversity.d.ts +100 -0
- package/dist/profile-fields/08-neurodiversity.d.ts.map +1 -0
- package/dist/profile-fields/08-neurodiversity.js +146 -0
- package/dist/profile-fields/08-neurodiversity.js.map +1 -0
- package/dist/profile-fields/09-health.d.ts +89 -0
- package/dist/profile-fields/09-health.d.ts.map +1 -0
- package/dist/profile-fields/09-health.js +160 -0
- package/dist/profile-fields/09-health.js.map +1 -0
- package/dist/profile-fields/10-worldview.d.ts +75 -0
- package/dist/profile-fields/10-worldview.d.ts.map +1 -0
- package/dist/profile-fields/10-worldview.js +140 -0
- package/dist/profile-fields/10-worldview.js.map +1 -0
- package/dist/profile-fields/11-residence.d.ts +3 -0
- package/dist/profile-fields/11-residence.d.ts.map +1 -0
- package/dist/profile-fields/11-residence.js +45 -0
- package/dist/profile-fields/11-residence.js.map +1 -0
- package/dist/profile-fields/12-household.d.ts +90 -0
- package/dist/profile-fields/12-household.d.ts.map +1 -0
- package/dist/profile-fields/12-household.js +187 -0
- package/dist/profile-fields/12-household.js.map +1 -0
- package/dist/profile-fields/index.d.ts +22 -0
- package/dist/profile-fields/index.d.ts.map +1 -0
- package/dist/profile-fields/index.js +47 -0
- package/dist/profile-fields/index.js.map +1 -0
- package/dist/profile-fields/types.d.ts +66 -0
- package/dist/profile-fields/types.d.ts.map +1 -0
- package/dist/profile-fields/types.js +8 -0
- package/dist/profile-fields/types.js.map +1 -0
- package/dist/progress-fields.d.ts +18 -0
- package/dist/progress-fields.d.ts.map +1 -1
- package/dist/progress-fields.js +21 -0
- package/dist/progress-fields.js.map +1 -1
- package/dist/step-01.schema.d.ts.map +1 -1
- package/dist/step-01.schema.js +1 -1
- package/dist/step-01.schema.js.map +1 -1
- package/dist/step-03.schema.d.ts +1 -1
- package/dist/step-03.schema.d.ts.map +1 -1
- package/dist/step-03.schema.js +1 -8
- package/dist/step-03.schema.js.map +1 -1
- package/dist/step-04.schema.d.ts +1 -1
- package/dist/step-04.schema.d.ts.map +1 -1
- package/dist/step-04.schema.js +2 -6
- package/dist/step-04.schema.js.map +1 -1
- package/dist/step-07.schema.d.ts.map +1 -1
- package/dist/step-07.schema.js +2 -16
- package/dist/step-07.schema.js.map +1 -1
- package/dist/step-08.schema.d.ts.map +1 -1
- package/dist/step-08.schema.js +1 -3
- package/dist/step-08.schema.js.map +1 -1
- package/dist/step-09.schema.d.ts +1 -1
- package/dist/step-09.schema.d.ts.map +1 -1
- package/dist/step-09.schema.js +5 -19
- package/dist/step-09.schema.js.map +1 -1
- package/dist/step-12.schema.d.ts +1 -1
- package/dist/step-12.schema.d.ts.map +1 -1
- package/dist/step-12.schema.js +3 -23
- package/dist/step-12.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { FieldGroup } from './types.js';
|
|
2
|
+
export declare const employmentStatusOptions: readonly [{
|
|
3
|
+
readonly value: "employed";
|
|
4
|
+
readonly label: "Employed";
|
|
5
|
+
}, {
|
|
6
|
+
readonly value: "self_employed";
|
|
7
|
+
readonly label: "Self-employed";
|
|
8
|
+
}, {
|
|
9
|
+
readonly value: "unemployed";
|
|
10
|
+
readonly label: "Unemployed";
|
|
11
|
+
}, {
|
|
12
|
+
readonly value: "student";
|
|
13
|
+
readonly label: "Student";
|
|
14
|
+
}, {
|
|
15
|
+
readonly value: "homemaker";
|
|
16
|
+
readonly label: "Homemaker";
|
|
17
|
+
}, {
|
|
18
|
+
readonly value: "retired";
|
|
19
|
+
readonly label: "Retired";
|
|
20
|
+
}, {
|
|
21
|
+
readonly value: "daily_wage";
|
|
22
|
+
readonly label: "Daily wage worker";
|
|
23
|
+
}, {
|
|
24
|
+
readonly value: "other";
|
|
25
|
+
readonly label: "Other";
|
|
26
|
+
}];
|
|
27
|
+
export declare const shiftOptions: readonly [{
|
|
28
|
+
readonly value: "day_shift";
|
|
29
|
+
readonly label: "Day shift";
|
|
30
|
+
}, {
|
|
31
|
+
readonly value: "night_shift";
|
|
32
|
+
readonly label: "Night shift";
|
|
33
|
+
}, {
|
|
34
|
+
readonly value: "rotating";
|
|
35
|
+
readonly label: "Rotating shifts";
|
|
36
|
+
}, {
|
|
37
|
+
readonly value: "flexible";
|
|
38
|
+
readonly label: "Flexible hours";
|
|
39
|
+
}, {
|
|
40
|
+
readonly value: "work_from_home";
|
|
41
|
+
readonly label: "Work from home";
|
|
42
|
+
}, {
|
|
43
|
+
readonly value: "not_applicable";
|
|
44
|
+
readonly label: "Not applicable";
|
|
45
|
+
}];
|
|
46
|
+
export declare const incomeRangeOptions: readonly [{
|
|
47
|
+
readonly value: "below_5k";
|
|
48
|
+
readonly label: "Below ₹5,000";
|
|
49
|
+
}, {
|
|
50
|
+
readonly value: "5k_10k";
|
|
51
|
+
readonly label: "₹5,000 – ₹10,000";
|
|
52
|
+
}, {
|
|
53
|
+
readonly value: "10k_25k";
|
|
54
|
+
readonly label: "₹10,000 – ₹25,000";
|
|
55
|
+
}, {
|
|
56
|
+
readonly value: "25k_50k";
|
|
57
|
+
readonly label: "₹25,000 – ₹50,000";
|
|
58
|
+
}, {
|
|
59
|
+
readonly value: "50k_1L";
|
|
60
|
+
readonly label: "₹50,000 – ₹1 Lakh";
|
|
61
|
+
}, {
|
|
62
|
+
readonly value: "1L_2.5L";
|
|
63
|
+
readonly label: "₹1 Lakh – ₹2.5 Lakh";
|
|
64
|
+
}, {
|
|
65
|
+
readonly value: "2.5L_5L";
|
|
66
|
+
readonly label: "₹2.5 Lakh – ₹5 Lakh";
|
|
67
|
+
}, {
|
|
68
|
+
readonly value: "above_5L";
|
|
69
|
+
readonly label: "Above ₹5 Lakh";
|
|
70
|
+
}, {
|
|
71
|
+
readonly value: "prefer_not_to_say";
|
|
72
|
+
readonly label: "Prefer not to say";
|
|
73
|
+
}];
|
|
74
|
+
export declare const employment: FieldGroup;
|
|
75
|
+
//# sourceMappingURL=07-employment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"07-employment.d.ts","sourceRoot":"","sources":["../../src/profile-fields/07-employment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAOf,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,UAiFxB,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export const employmentStatusOptions = [
|
|
2
|
+
{ value: 'employed', label: 'Employed' },
|
|
3
|
+
{ value: 'self_employed', label: 'Self-employed' },
|
|
4
|
+
{ value: 'unemployed', label: 'Unemployed' },
|
|
5
|
+
{ value: 'student', label: 'Student' },
|
|
6
|
+
{ value: 'homemaker', label: 'Homemaker' },
|
|
7
|
+
{ value: 'retired', label: 'Retired' },
|
|
8
|
+
{ value: 'daily_wage', label: 'Daily wage worker' },
|
|
9
|
+
{ value: 'other', label: 'Other' },
|
|
10
|
+
];
|
|
11
|
+
export const shiftOptions = [
|
|
12
|
+
{ value: 'day_shift', label: 'Day shift' },
|
|
13
|
+
{ value: 'night_shift', label: 'Night shift' },
|
|
14
|
+
{ value: 'rotating', label: 'Rotating shifts' },
|
|
15
|
+
{ value: 'flexible', label: 'Flexible hours' },
|
|
16
|
+
{ value: 'work_from_home', label: 'Work from home' },
|
|
17
|
+
{ value: 'not_applicable', label: 'Not applicable' },
|
|
18
|
+
];
|
|
19
|
+
export const incomeRangeOptions = [
|
|
20
|
+
{ value: 'below_5k', label: 'Below ₹5,000' },
|
|
21
|
+
{ value: '5k_10k', label: '₹5,000 – ₹10,000' },
|
|
22
|
+
{ value: '10k_25k', label: '₹10,000 – ₹25,000' },
|
|
23
|
+
{ value: '25k_50k', label: '₹25,000 – ₹50,000' },
|
|
24
|
+
{ value: '50k_1L', label: '₹50,000 – ₹1 Lakh' },
|
|
25
|
+
{ value: '1L_2.5L', label: '₹1 Lakh – ₹2.5 Lakh' },
|
|
26
|
+
{ value: '2.5L_5L', label: '₹2.5 Lakh – ₹5 Lakh' },
|
|
27
|
+
{ value: 'above_5L', label: 'Above ₹5 Lakh' },
|
|
28
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
29
|
+
];
|
|
30
|
+
export const employment = {
|
|
31
|
+
key: 'employment',
|
|
32
|
+
label: 'Employment & Occupation',
|
|
33
|
+
step: 7,
|
|
34
|
+
description: 'Current job, shift, income, and dream occupation.',
|
|
35
|
+
fields: [
|
|
36
|
+
{
|
|
37
|
+
order: 1,
|
|
38
|
+
key: 'employmentStatus',
|
|
39
|
+
label: 'Employment Status',
|
|
40
|
+
type: 'single_select',
|
|
41
|
+
step: 7,
|
|
42
|
+
isOnboarding: true,
|
|
43
|
+
optional: true,
|
|
44
|
+
options: [...employmentStatusOptions],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
order: 2,
|
|
48
|
+
key: 'occupation',
|
|
49
|
+
label: 'Occupation',
|
|
50
|
+
type: 'text',
|
|
51
|
+
step: 7,
|
|
52
|
+
isOnboarding: true,
|
|
53
|
+
optional: true,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
order: 3,
|
|
57
|
+
key: 'workShift',
|
|
58
|
+
label: 'Work Shift',
|
|
59
|
+
type: 'single_select',
|
|
60
|
+
step: 7,
|
|
61
|
+
isOnboarding: true,
|
|
62
|
+
optional: true,
|
|
63
|
+
options: [...shiftOptions],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
order: 4,
|
|
67
|
+
key: 'comfortableWithShift',
|
|
68
|
+
label: 'Comfortable with Shift',
|
|
69
|
+
type: 'single_select',
|
|
70
|
+
step: 7,
|
|
71
|
+
isOnboarding: true,
|
|
72
|
+
optional: true,
|
|
73
|
+
options: [
|
|
74
|
+
{ value: 'yes', label: 'Yes' },
|
|
75
|
+
{ value: 'no', label: 'No' },
|
|
76
|
+
{ value: 'somewhat', label: 'Somewhat' },
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
order: 5,
|
|
81
|
+
key: 'desiredShift',
|
|
82
|
+
label: 'Desired Shift',
|
|
83
|
+
type: 'single_select',
|
|
84
|
+
step: 7,
|
|
85
|
+
isOnboarding: true,
|
|
86
|
+
optional: true,
|
|
87
|
+
options: [...shiftOptions],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
order: 6,
|
|
91
|
+
key: 'incomeRange',
|
|
92
|
+
label: 'Income Range',
|
|
93
|
+
type: 'single_select',
|
|
94
|
+
step: 7,
|
|
95
|
+
isOnboarding: true,
|
|
96
|
+
optional: true,
|
|
97
|
+
options: [...incomeRangeOptions],
|
|
98
|
+
sensitive: true,
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
order: 7,
|
|
102
|
+
key: 'dreamOccupation',
|
|
103
|
+
label: 'Dream Occupation',
|
|
104
|
+
type: 'textarea',
|
|
105
|
+
step: 7,
|
|
106
|
+
isOnboarding: true,
|
|
107
|
+
optional: true,
|
|
108
|
+
maxLength: 500,
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
};
|
|
112
|
+
//# sourceMappingURL=07-employment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"07-employment.js","sourceRoot":"","sources":["../../src/profile-fields/07-employment.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACxC,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE;IAClD,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;IAC5C,EAAE,KAAK,EAAE,SAAS,EAA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KAAK,EAAE,UAAU,EAAE;aACzC;SACF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,YAAY,CAAC;SAC3B;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,aAAa;YAClB,KAAK,EAAE,cAAc;YACrB,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;YAChC,SAAS,EAAE,IAAI;SAChB;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,iBAAiB;YACtB,KAAK,EAAE,kBAAkB;YACzB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,GAAG;SACf;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const employmentStatusOptions = [\n { value: 'employed', label: 'Employed' },\n { value: 'self_employed', label: 'Self-employed' },\n { value: 'unemployed', label: 'Unemployed' },\n { value: 'student', label: 'Student' },\n { value: 'homemaker', label: 'Homemaker' },\n { value: 'retired', label: 'Retired' },\n { value: 'daily_wage', label: 'Daily wage worker' },\n { value: 'other', label: 'Other' },\n] as const;\n\nexport const shiftOptions = [\n { value: 'day_shift', label: 'Day shift' },\n { value: 'night_shift', label: 'Night shift' },\n { value: 'rotating', label: 'Rotating shifts' },\n { value: 'flexible', label: 'Flexible hours' },\n { value: 'work_from_home', label: 'Work from home' },\n { value: 'not_applicable', label: 'Not applicable' },\n] as const;\n\nexport const incomeRangeOptions = [\n { value: 'below_5k', label: 'Below ₹5,000' },\n { value: '5k_10k', label: '₹5,000 – ₹10,000' },\n { value: '10k_25k', label: '₹10,000 – ₹25,000' },\n { value: '25k_50k', label: '₹25,000 – ₹50,000' },\n { value: '50k_1L', label: '₹50,000 – ₹1 Lakh' },\n { value: '1L_2.5L', label: '₹1 Lakh – ₹2.5 Lakh' },\n { value: '2.5L_5L', label: '₹2.5 Lakh – ₹5 Lakh' },\n { value: 'above_5L', label: 'Above ₹5 Lakh' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const employment: FieldGroup = {\n key: 'employment',\n label: 'Employment & Occupation',\n step: 7,\n description: 'Current job, shift, income, and dream occupation.',\n fields: [\n {\n order: 1,\n key: 'employmentStatus',\n label: 'Employment Status',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...employmentStatusOptions],\n },\n {\n order: 2,\n key: 'occupation',\n label: 'Occupation',\n type: 'text',\n step: 7,\n isOnboarding: true,\n optional: true,\n },\n {\n order: 3,\n key: 'workShift',\n label: 'Work Shift',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...shiftOptions],\n },\n {\n order: 4,\n key: 'comfortableWithShift',\n label: 'Comfortable with Shift',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'somewhat', label: 'Somewhat' },\n ],\n },\n {\n order: 5,\n key: 'desiredShift',\n label: 'Desired Shift',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...shiftOptions],\n },\n {\n order: 6,\n key: 'incomeRange',\n label: 'Income Range',\n type: 'single_select',\n step: 7,\n isOnboarding: true,\n optional: true,\n options: [...incomeRangeOptions],\n sensitive: true,\n },\n {\n order: 7,\n key: 'dreamOccupation',\n label: 'Dream Occupation',\n type: 'textarea',\n step: 7,\n isOnboarding: true,\n optional: true,\n maxLength: 500,\n },\n ],\n};\n"]}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { FieldGroup } from './types.js';
|
|
2
|
+
export declare const neurodiversityConditionOptions: readonly [{
|
|
3
|
+
readonly value: "adhd";
|
|
4
|
+
readonly label: "ADHD";
|
|
5
|
+
readonly description: "Attention Deficit Hyperactivity Disorder";
|
|
6
|
+
}, {
|
|
7
|
+
readonly value: "autism_spectrum";
|
|
8
|
+
readonly label: "Autism Spectrum";
|
|
9
|
+
readonly description: "Autism Spectrum Disorder (ASD)";
|
|
10
|
+
}, {
|
|
11
|
+
readonly value: "dyslexia";
|
|
12
|
+
readonly label: "Dyslexia";
|
|
13
|
+
readonly description: "Difficulty with reading and language processing";
|
|
14
|
+
}, {
|
|
15
|
+
readonly value: "dyspraxia";
|
|
16
|
+
readonly label: "Dyspraxia";
|
|
17
|
+
readonly description: "Difficulty with motor coordination";
|
|
18
|
+
}, {
|
|
19
|
+
readonly value: "dyscalculia";
|
|
20
|
+
readonly label: "Dyscalculia";
|
|
21
|
+
readonly description: "Difficulty with numbers and math";
|
|
22
|
+
}, {
|
|
23
|
+
readonly value: "tourettes";
|
|
24
|
+
readonly label: "Tourette's Syndrome";
|
|
25
|
+
readonly description: "Involuntary tics and movements";
|
|
26
|
+
}, {
|
|
27
|
+
readonly value: "ocd";
|
|
28
|
+
readonly label: "OCD";
|
|
29
|
+
readonly description: "Obsessive-Compulsive Disorder";
|
|
30
|
+
}, {
|
|
31
|
+
readonly value: "bipolar";
|
|
32
|
+
readonly label: "Bipolar Disorder";
|
|
33
|
+
readonly description: "Mood episodes between mania and depression";
|
|
34
|
+
}, {
|
|
35
|
+
readonly value: "anxiety_disorder";
|
|
36
|
+
readonly label: "Anxiety Disorder";
|
|
37
|
+
readonly description: "Persistent excessive worry";
|
|
38
|
+
}, {
|
|
39
|
+
readonly value: "sensory_processing";
|
|
40
|
+
readonly label: "Sensory Processing Disorder";
|
|
41
|
+
readonly description: "Difficulty processing sensory information";
|
|
42
|
+
}, {
|
|
43
|
+
readonly value: "other";
|
|
44
|
+
readonly label: "Other";
|
|
45
|
+
}, {
|
|
46
|
+
readonly value: "prefer_not_to_say";
|
|
47
|
+
readonly label: "Prefer not to say";
|
|
48
|
+
}];
|
|
49
|
+
export declare const sensoryPreferenceOptions: readonly [{
|
|
50
|
+
readonly value: "loud_sounds";
|
|
51
|
+
readonly label: "Sensitive to loud sounds";
|
|
52
|
+
}, {
|
|
53
|
+
readonly value: "bright_lights";
|
|
54
|
+
readonly label: "Sensitive to bright lights";
|
|
55
|
+
}, {
|
|
56
|
+
readonly value: "textures";
|
|
57
|
+
readonly label: "Sensitive to textures";
|
|
58
|
+
}, {
|
|
59
|
+
readonly value: "smells";
|
|
60
|
+
readonly label: "Sensitive to smells";
|
|
61
|
+
}, {
|
|
62
|
+
readonly value: "quiet_environment";
|
|
63
|
+
readonly label: "Needs quiet environment";
|
|
64
|
+
}, {
|
|
65
|
+
readonly value: "seeks_stimulation";
|
|
66
|
+
readonly label: "Seeks sensory stimulation";
|
|
67
|
+
}, {
|
|
68
|
+
readonly value: "no_specific";
|
|
69
|
+
readonly label: "No specific sensory needs";
|
|
70
|
+
}];
|
|
71
|
+
export declare const supportNeedOptions: readonly [{
|
|
72
|
+
readonly value: "flexible_deadlines";
|
|
73
|
+
readonly label: "Flexible deadlines";
|
|
74
|
+
}, {
|
|
75
|
+
readonly value: "written_instructions";
|
|
76
|
+
readonly label: "Written instructions";
|
|
77
|
+
}, {
|
|
78
|
+
readonly value: "quiet_workspace";
|
|
79
|
+
readonly label: "Quiet workspace";
|
|
80
|
+
}, {
|
|
81
|
+
readonly value: "regular_breaks";
|
|
82
|
+
readonly label: "Regular breaks";
|
|
83
|
+
}, {
|
|
84
|
+
readonly value: "structured_routines";
|
|
85
|
+
readonly label: "Structured routines";
|
|
86
|
+
}, {
|
|
87
|
+
readonly value: "assistive_technology";
|
|
88
|
+
readonly label: "Assistive technology";
|
|
89
|
+
}, {
|
|
90
|
+
readonly value: "peer_support";
|
|
91
|
+
readonly label: "Peer support";
|
|
92
|
+
}, {
|
|
93
|
+
readonly value: "professional_support";
|
|
94
|
+
readonly label: "Professional support";
|
|
95
|
+
}, {
|
|
96
|
+
readonly value: "no_specific";
|
|
97
|
+
readonly label: "No specific needs";
|
|
98
|
+
}];
|
|
99
|
+
export declare const neurodiversity: FieldGroup;
|
|
100
|
+
//# sourceMappingURL=08-neurodiversity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"08-neurodiversity.d.ts","sourceRoot":"","sources":["../../src/profile-fields/08-neurodiversity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCjC,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUrB,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,UAsF5B,CAAC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export const neurodiversityConditionOptions = [
|
|
2
|
+
{ value: 'adhd', label: 'ADHD', description: 'Attention Deficit Hyperactivity Disorder' },
|
|
3
|
+
{
|
|
4
|
+
value: 'autism_spectrum',
|
|
5
|
+
label: 'Autism Spectrum',
|
|
6
|
+
description: 'Autism Spectrum Disorder (ASD)',
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
value: 'dyslexia',
|
|
10
|
+
label: 'Dyslexia',
|
|
11
|
+
description: 'Difficulty with reading and language processing',
|
|
12
|
+
},
|
|
13
|
+
{ value: 'dyspraxia', label: 'Dyspraxia', description: 'Difficulty with motor coordination' },
|
|
14
|
+
{ value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },
|
|
15
|
+
{
|
|
16
|
+
value: 'tourettes',
|
|
17
|
+
label: "Tourette's Syndrome",
|
|
18
|
+
description: 'Involuntary tics and movements',
|
|
19
|
+
},
|
|
20
|
+
{ value: 'ocd', label: 'OCD', description: 'Obsessive-Compulsive Disorder' },
|
|
21
|
+
{
|
|
22
|
+
value: 'bipolar',
|
|
23
|
+
label: 'Bipolar Disorder',
|
|
24
|
+
description: 'Mood episodes between mania and depression',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
value: 'anxiety_disorder',
|
|
28
|
+
label: 'Anxiety Disorder',
|
|
29
|
+
description: 'Persistent excessive worry',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
value: 'sensory_processing',
|
|
33
|
+
label: 'Sensory Processing Disorder',
|
|
34
|
+
description: 'Difficulty processing sensory information',
|
|
35
|
+
},
|
|
36
|
+
{ value: 'other', label: 'Other' },
|
|
37
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
38
|
+
];
|
|
39
|
+
export const sensoryPreferenceOptions = [
|
|
40
|
+
{ value: 'loud_sounds', label: 'Sensitive to loud sounds' },
|
|
41
|
+
{ value: 'bright_lights', label: 'Sensitive to bright lights' },
|
|
42
|
+
{ value: 'textures', label: 'Sensitive to textures' },
|
|
43
|
+
{ value: 'smells', label: 'Sensitive to smells' },
|
|
44
|
+
{ value: 'quiet_environment', label: 'Needs quiet environment' },
|
|
45
|
+
{ value: 'seeks_stimulation', label: 'Seeks sensory stimulation' },
|
|
46
|
+
{ value: 'no_specific', label: 'No specific sensory needs' },
|
|
47
|
+
];
|
|
48
|
+
export const supportNeedOptions = [
|
|
49
|
+
{ value: 'flexible_deadlines', label: 'Flexible deadlines' },
|
|
50
|
+
{ value: 'written_instructions', label: 'Written instructions' },
|
|
51
|
+
{ value: 'quiet_workspace', label: 'Quiet workspace' },
|
|
52
|
+
{ value: 'regular_breaks', label: 'Regular breaks' },
|
|
53
|
+
{ value: 'structured_routines', label: 'Structured routines' },
|
|
54
|
+
{ value: 'assistive_technology', label: 'Assistive technology' },
|
|
55
|
+
{ value: 'peer_support', label: 'Peer support' },
|
|
56
|
+
{ value: 'professional_support', label: 'Professional support' },
|
|
57
|
+
{ value: 'no_specific', label: 'No specific needs' },
|
|
58
|
+
];
|
|
59
|
+
export const neurodiversity = {
|
|
60
|
+
key: 'neurodiversity',
|
|
61
|
+
label: 'Neurodiversity',
|
|
62
|
+
step: 8,
|
|
63
|
+
description: 'Neurodivergent identity, learning style, and support needs.',
|
|
64
|
+
fields: [
|
|
65
|
+
{
|
|
66
|
+
order: 1,
|
|
67
|
+
key: 'neurodiverseIdentity',
|
|
68
|
+
label: 'Neurodiverse Identity',
|
|
69
|
+
type: 'single_select',
|
|
70
|
+
step: 8,
|
|
71
|
+
isOnboarding: true,
|
|
72
|
+
optional: true,
|
|
73
|
+
options: [
|
|
74
|
+
{ value: 'yes', label: 'Yes' },
|
|
75
|
+
{ value: 'no', label: 'No' },
|
|
76
|
+
{ value: 'exploring', label: 'Exploring / Not sure' },
|
|
77
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
78
|
+
],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
order: 2,
|
|
82
|
+
key: 'conditions',
|
|
83
|
+
label: 'Conditions',
|
|
84
|
+
type: 'multi_select',
|
|
85
|
+
step: 8,
|
|
86
|
+
isOnboarding: true,
|
|
87
|
+
optional: true,
|
|
88
|
+
options: [...neurodiversityConditionOptions],
|
|
89
|
+
conditionalOn: { field: 'neurodiverseIdentity', values: ['yes', 'exploring'] },
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
order: 3,
|
|
93
|
+
key: 'sensoryPreferences',
|
|
94
|
+
label: 'Sensory Preferences',
|
|
95
|
+
type: 'multi_select',
|
|
96
|
+
step: 8,
|
|
97
|
+
isOnboarding: true,
|
|
98
|
+
optional: true,
|
|
99
|
+
options: [...sensoryPreferenceOptions],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
order: 4,
|
|
103
|
+
key: 'learningStyle',
|
|
104
|
+
label: 'Learning Style',
|
|
105
|
+
type: 'single_select',
|
|
106
|
+
step: 8,
|
|
107
|
+
isOnboarding: true,
|
|
108
|
+
optional: true,
|
|
109
|
+
options: [
|
|
110
|
+
{ value: 'visual', label: 'Visual learner' },
|
|
111
|
+
{ value: 'auditory', label: 'Auditory learner' },
|
|
112
|
+
{ value: 'kinesthetic', label: 'Kinesthetic (hands-on)' },
|
|
113
|
+
{ value: 'reading_writing', label: 'Reading & Writing' },
|
|
114
|
+
{ value: 'mixed', label: 'Mixed / All styles' },
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
order: 5,
|
|
119
|
+
key: 'communicationPreference',
|
|
120
|
+
label: 'Communication Preference',
|
|
121
|
+
type: 'single_select',
|
|
122
|
+
step: 8,
|
|
123
|
+
isOnboarding: true,
|
|
124
|
+
optional: true,
|
|
125
|
+
options: [
|
|
126
|
+
{ value: 'face_to_face', label: 'Face-to-face verbal' },
|
|
127
|
+
{ value: 'written', label: 'Written (text/email)' },
|
|
128
|
+
{ value: 'visual_aids', label: 'Visual aids' },
|
|
129
|
+
{ value: 'phone_calls', label: 'Phone calls' },
|
|
130
|
+
{ value: 'small_groups_only', label: 'Small groups only' },
|
|
131
|
+
{ value: 'prefer_not_to_say', label: 'Prefer not to say' },
|
|
132
|
+
],
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
order: 6,
|
|
136
|
+
key: 'supportNeeds',
|
|
137
|
+
label: 'Support Needs',
|
|
138
|
+
type: 'multi_select',
|
|
139
|
+
step: 8,
|
|
140
|
+
isOnboarding: true,
|
|
141
|
+
optional: true,
|
|
142
|
+
options: [...supportNeedOptions],
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
};
|
|
146
|
+
//# sourceMappingURL=08-neurodiversity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"08-neurodiversity.js","sourceRoot":"","sources":["../../src/profile-fields/08-neurodiversity.ts"],"names":[],"mappings":"A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,aAAa,EAAE,KAAK,EAAE,wBAAwB,EAAE;gBACzD,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,mBAAmB,EAAE;gBACxD,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE;aAChD;SACF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,yBAAyB;YAC9B,KAAK,EAAE,0BAA0B;YACjC,IAAI,EAAE,eAAe;YACrB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,qBAAqB,EAAE;gBACvD,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,sBAAsB,EAAE;gBACnD,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;gBAC9C,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;gBAC9C,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;gBAC1D,EAAE,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,EAAE;aAC3D;SACF;QACD;YACE,KAAK,EAAE,CAAC;YACR,GAAG,EAAE,cAAc;YACnB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,CAAC;YACP,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,CAAC,GAAG,kBAAkB,CAAC;SACjC;KACF;CACF,CAAC","sourcesContent":["import type { FieldGroup } from './types.js';\n\nexport const neurodiversityConditionOptions = [\n { value: 'adhd', label: 'ADHD', description: 'Attention Deficit Hyperactivity Disorder' },\n {\n value: 'autism_spectrum',\n label: 'Autism Spectrum',\n description: 'Autism Spectrum Disorder (ASD)',\n },\n {\n value: 'dyslexia',\n label: 'Dyslexia',\n description: 'Difficulty with reading and language processing',\n },\n { value: 'dyspraxia', label: 'Dyspraxia', description: 'Difficulty with motor coordination' },\n { value: 'dyscalculia', label: 'Dyscalculia', description: 'Difficulty with numbers and math' },\n {\n value: 'tourettes',\n label: \"Tourette's Syndrome\",\n description: 'Involuntary tics and movements',\n },\n { value: 'ocd', label: 'OCD', description: 'Obsessive-Compulsive Disorder' },\n {\n value: 'bipolar',\n label: 'Bipolar Disorder',\n description: 'Mood episodes between mania and depression',\n },\n {\n value: 'anxiety_disorder',\n label: 'Anxiety Disorder',\n description: 'Persistent excessive worry',\n },\n {\n value: 'sensory_processing',\n label: 'Sensory Processing Disorder',\n description: 'Difficulty processing sensory information',\n },\n { value: 'other', label: 'Other' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n] as const;\n\nexport const sensoryPreferenceOptions = [\n { value: 'loud_sounds', label: 'Sensitive to loud sounds' },\n { value: 'bright_lights', label: 'Sensitive to bright lights' },\n { value: 'textures', label: 'Sensitive to textures' },\n { value: 'smells', label: 'Sensitive to smells' },\n { value: 'quiet_environment', label: 'Needs quiet environment' },\n { value: 'seeks_stimulation', label: 'Seeks sensory stimulation' },\n { value: 'no_specific', label: 'No specific sensory needs' },\n] as const;\n\nexport const supportNeedOptions = [\n { value: 'flexible_deadlines', label: 'Flexible deadlines' },\n { value: 'written_instructions', label: 'Written instructions' },\n { value: 'quiet_workspace', label: 'Quiet workspace' },\n { value: 'regular_breaks', label: 'Regular breaks' },\n { value: 'structured_routines', label: 'Structured routines' },\n { value: 'assistive_technology', label: 'Assistive technology' },\n { value: 'peer_support', label: 'Peer support' },\n { value: 'professional_support', label: 'Professional support' },\n { value: 'no_specific', label: 'No specific needs' },\n] as const;\n\nexport const neurodiversity: FieldGroup = {\n key: 'neurodiversity',\n label: 'Neurodiversity',\n step: 8,\n description: 'Neurodivergent identity, learning style, and support needs.',\n fields: [\n {\n order: 1,\n key: 'neurodiverseIdentity',\n label: 'Neurodiverse Identity',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'yes', label: 'Yes' },\n { value: 'no', label: 'No' },\n { value: 'exploring', label: 'Exploring / Not sure' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 2,\n key: 'conditions',\n label: 'Conditions',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...neurodiversityConditionOptions],\n conditionalOn: { field: 'neurodiverseIdentity', values: ['yes', 'exploring'] },\n },\n {\n order: 3,\n key: 'sensoryPreferences',\n label: 'Sensory Preferences',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...sensoryPreferenceOptions],\n },\n {\n order: 4,\n key: 'learningStyle',\n label: 'Learning Style',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'visual', label: 'Visual learner' },\n { value: 'auditory', label: 'Auditory learner' },\n { value: 'kinesthetic', label: 'Kinesthetic (hands-on)' },\n { value: 'reading_writing', label: 'Reading & Writing' },\n { value: 'mixed', label: 'Mixed / All styles' },\n ],\n },\n {\n order: 5,\n key: 'communicationPreference',\n label: 'Communication Preference',\n type: 'single_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [\n { value: 'face_to_face', label: 'Face-to-face verbal' },\n { value: 'written', label: 'Written (text/email)' },\n { value: 'visual_aids', label: 'Visual aids' },\n { value: 'phone_calls', label: 'Phone calls' },\n { value: 'small_groups_only', label: 'Small groups only' },\n { value: 'prefer_not_to_say', label: 'Prefer not to say' },\n ],\n },\n {\n order: 6,\n key: 'supportNeeds',\n label: 'Support Needs',\n type: 'multi_select',\n step: 8,\n isOnboarding: true,\n optional: true,\n options: [...supportNeedOptions],\n },\n ],\n};\n"]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import type { FieldGroup } from './types.js';
|
|
2
|
+
export declare const disabilityOptions: readonly [{
|
|
3
|
+
readonly value: "none";
|
|
4
|
+
readonly label: "None";
|
|
5
|
+
}, {
|
|
6
|
+
readonly value: "physical";
|
|
7
|
+
readonly label: "Physical disability";
|
|
8
|
+
}, {
|
|
9
|
+
readonly value: "visual";
|
|
10
|
+
readonly label: "Visual impairment";
|
|
11
|
+
}, {
|
|
12
|
+
readonly value: "hearing";
|
|
13
|
+
readonly label: "Hearing impairment";
|
|
14
|
+
}, {
|
|
15
|
+
readonly value: "speech";
|
|
16
|
+
readonly label: "Speech disability";
|
|
17
|
+
}, {
|
|
18
|
+
readonly value: "cognitive";
|
|
19
|
+
readonly label: "Cognitive / Intellectual";
|
|
20
|
+
}, {
|
|
21
|
+
readonly value: "multiple";
|
|
22
|
+
readonly label: "Multiple disabilities";
|
|
23
|
+
}, {
|
|
24
|
+
readonly value: "prefer_not_to_say";
|
|
25
|
+
readonly label: "Prefer not to say";
|
|
26
|
+
}];
|
|
27
|
+
export declare const substanceUseOptions: readonly [{
|
|
28
|
+
readonly value: "none";
|
|
29
|
+
readonly label: "None";
|
|
30
|
+
}, {
|
|
31
|
+
readonly value: "tobacco_smoking";
|
|
32
|
+
readonly label: "Tobacco (smoking)";
|
|
33
|
+
}, {
|
|
34
|
+
readonly value: "tobacco_chewing";
|
|
35
|
+
readonly label: "Tobacco (chewing / gutka)";
|
|
36
|
+
}, {
|
|
37
|
+
readonly value: "alcohol";
|
|
38
|
+
readonly label: "Alcohol";
|
|
39
|
+
}, {
|
|
40
|
+
readonly value: "cannabis";
|
|
41
|
+
readonly label: "Cannabis";
|
|
42
|
+
}, {
|
|
43
|
+
readonly value: "other";
|
|
44
|
+
readonly label: "Other";
|
|
45
|
+
}, {
|
|
46
|
+
readonly value: "prefer_not_to_say";
|
|
47
|
+
readonly label: "Prefer not to say";
|
|
48
|
+
}];
|
|
49
|
+
export declare const dietOptions: readonly [{
|
|
50
|
+
readonly value: "vegetarian";
|
|
51
|
+
readonly label: "Vegetarian";
|
|
52
|
+
readonly description: "No meat, fish, or eggs";
|
|
53
|
+
}, {
|
|
54
|
+
readonly value: "vegan";
|
|
55
|
+
readonly label: "Vegan";
|
|
56
|
+
readonly description: "No animal products";
|
|
57
|
+
}, {
|
|
58
|
+
readonly value: "eggetarian";
|
|
59
|
+
readonly label: "Eggetarian";
|
|
60
|
+
readonly description: "Vegetarian but eat eggs";
|
|
61
|
+
}, {
|
|
62
|
+
readonly value: "non_vegetarian";
|
|
63
|
+
readonly label: "Non-Vegetarian";
|
|
64
|
+
readonly description: "Eat everything including meat";
|
|
65
|
+
}, {
|
|
66
|
+
readonly value: "pescatarian";
|
|
67
|
+
readonly label: "Pescatarian";
|
|
68
|
+
readonly description: "No meat, but eat fish";
|
|
69
|
+
}, {
|
|
70
|
+
readonly value: "occasionally_non_veg";
|
|
71
|
+
readonly label: "Occasionally Non-Veg";
|
|
72
|
+
readonly description: "Mostly veg, meat on occasion";
|
|
73
|
+
}, {
|
|
74
|
+
readonly value: "jain";
|
|
75
|
+
readonly label: "Jain";
|
|
76
|
+
readonly description: "No root vegetables, strict Jain rules";
|
|
77
|
+
}, {
|
|
78
|
+
readonly value: "halal";
|
|
79
|
+
readonly label: "Halal";
|
|
80
|
+
readonly description: "Only halal-certified food";
|
|
81
|
+
}, {
|
|
82
|
+
readonly value: "other";
|
|
83
|
+
readonly label: "Other";
|
|
84
|
+
}, {
|
|
85
|
+
readonly value: "prefer_not_to_say";
|
|
86
|
+
readonly label: "Prefer not to say";
|
|
87
|
+
}];
|
|
88
|
+
export declare const healthLifestyle: FieldGroup;
|
|
89
|
+
//# sourceMappingURL=09-health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"09-health.d.ts","sourceRoot":"","sources":["../../src/profile-fields/09-health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EASpB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;EAQtB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBd,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,UAuH7B,CAAC"}
|