@eka-care/abha-stg 0.0.41 → 0.1.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/.eslintignore +3 -0
- package/.eslintrc +29 -0
- package/.prettierrc +7 -0
- package/.turbo/daemon/da13e0828a6aedf8-turbo.log.2025-10-30 +0 -0
- package/{dist/index.html → index.html} +1 -2
- package/package/styles/pds2/border.ts +69 -0
- package/package/styles/pds2/colors.ts +70 -0
- package/package/styles/pds2/spacing.ts +1007 -0
- package/package/tailwind/tailwind.config.ts +124 -0
- package/package.json +9 -8
- package/postcss.config.js +6 -0
- package/scripts/build-purged-css.cjs +70 -0
- package/src/App.css +0 -0
- package/src/App.tsx +43 -0
- package/src/api-queries/aorta-go/v3/get-profile-patient.ts +32 -0
- package/src/api-queries/aorta-go/v3/get-profiles-phr-user.ts +26 -0
- package/src/api-queries/aorta-go/v3/post-auth-init-v2.ts +34 -0
- package/src/api-queries/aorta-go/v3/post-auth-logout-v2.ts +32 -0
- package/src/api-queries/aorta-go/v3/post-auth-verify-v2.ts +38 -0
- package/src/api-queries/aorta-go/v3/post-profile-switch.ts +39 -0
- package/src/api-queries/ndhm/get-abdm-register-suggest.ts +37 -0
- package/src/api-queries/ndhm/get-pincode-details.ts +28 -0
- package/src/api-queries/ndhm/post-abdm-login-init.ts +37 -0
- package/src/api-queries/ndhm/post-abdm-login-phr.ts +37 -0
- package/src/api-queries/ndhm/post-abdm-login-verify.ts +37 -0
- package/src/api-queries/ndhm/post-abdm-profile-eka-link-phr.ts +40 -0
- package/src/api-queries/ndhm/post-abdm-profile-eka.ts +66 -0
- package/src/api-queries/ndhm/post-abdm-register-abha-number-create-phr.ts +37 -0
- package/src/api-queries/ndhm/post-abdm-register-mobile-create-phr.ts +66 -0
- package/src/api-queries/ndhm/post-abdm-register-mobile-resend-otp.ts +32 -0
- package/src/api-queries/ndhm/post-abdm-register-mobile-verify.ts +38 -0
- package/src/api-queries/ndhm/post-abdm-register-phr-check.ts +34 -0
- package/src/api-queries/ndhm/post-register-aadhaar-create-phr.ts +37 -0
- package/src/api-queries/ndhm/post-register-aadhaar-init.ts +34 -0
- package/src/api-queries/ndhm/post-register-aadhaar-mobile-resend-otp.ts +34 -0
- package/src/api-queries/ndhm/post-register-aadhaar-mobile-verify.ts +37 -0
- package/src/api-queries/ndhm/post-register-aadhaar-resend-otp.ts +34 -0
- package/src/api-queries/ndhm/post-register-aadhaar-verify.ts +40 -0
- package/src/api-queries/ndhm/post-register-mobile-init.ts +34 -0
- package/src/api-queries/use-get-profiles-patient.ts +12 -0
- package/src/api-queries/use-get-profiles-phr-user.ts +28 -0
- package/src/api-queries/use-post-abdm-login-verify-v1.ts +26 -0
- package/src/api-queries/use-post-auth-verify-v2.ts +50 -0
- package/src/api-queries/use-post-profile-switch.ts +58 -0
- package/src/api-queries/use-post-register-mobile-create-phr.ts +39 -0
- package/src/api-queries/user-post-abdm-profile-login-phr.ts +26 -0
- package/src/assets/Success.json +1 -0
- package/src/assets/react.svg +1 -0
- package/src/atoms/button/custom-button.tsx +32 -0
- package/src/atoms/button/index.tsx +40 -0
- package/src/atoms/button/types.d.ts +31 -0
- package/src/atoms/header.tsx +25 -0
- package/src/atoms/input-field/index.tsx +63 -0
- package/src/atoms/input-field/patient-input-field.tsx +16 -0
- package/src/atoms/input-field/types.ts +24 -0
- package/src/atoms/pds2-otp-input/index.tsx +35 -0
- package/src/atoms/pds2-otp-input/types.d.ts +3 -0
- package/src/atoms/single-input-chip/index.tsx +32 -0
- package/src/atoms/single-input-chip/types.ts +6 -0
- package/src/atoms/spinner.tsx +33 -0
- package/src/atoms/text-separator.tsx +11 -0
- package/src/atoms/ui/spinner.tsx +75 -0
- package/src/constants/constants.ts +376 -0
- package/src/fetch-client/index.ts +164 -0
- package/src/index.css +152 -0
- package/src/main.tsx +374 -0
- package/src/molecules/abha/bottom-sheet/bottom-sheet-wrapper.tsx +40 -0
- package/src/molecules/abha/bottom-sheet/index.tsx +66 -0
- package/src/molecules/abha/spaced-input-component.tsx +168 -0
- package/src/molecules/copyright-year.tsx +16 -0
- package/src/molecules/exit-popup/index.tsx +101 -0
- package/src/molecules/pds2-otp-component/index.tsx +147 -0
- package/src/organisms/abha/abha-header.tsx +25 -0
- package/src/organisms/abha/abha-stepper.tsx +83 -0
- package/src/organisms/abha/error-bottom-sheet.tsx +27 -0
- package/src/organisms/abha/otp-card.tsx +99 -0
- package/src/organisms/abha/verification-status.tsx +30 -0
- package/src/organisms/choose-language/choose-language.tsx +53 -0
- package/src/organisms/choose-language/types.ts +10 -0
- package/src/organisms/screen-switcher/screen-switcher.tsx +80 -0
- package/src/routes/abha-aadhaar-verification-status-screen.tsx +246 -0
- package/src/routes/abha-created-screen.tsx +45 -0
- package/src/routes/abha-login-otp-verify-screen.tsx +519 -0
- package/src/routes/abha-mobile-linking-status-screen.tsx +267 -0
- package/src/routes/abha-otp-and-mobile-screen.tsx +435 -0
- package/src/routes/abha-phone-number-verification-screen.tsx +388 -0
- package/src/routes/create-abha-address-screen.tsx +928 -0
- package/src/routes/create-abha-with-aadhaar-screen.tsx +986 -0
- package/src/routes/create-eka-profile-screen.tsx +831 -0
- package/src/routes/get-all-profiles-screen.tsx +161 -0
- package/src/routes/login-or-create-abha-address-screen.tsx +1056 -0
- package/src/routes/login-with-abha-screen.tsx +454 -0
- package/src/routes/select-abha-from-list-screen.tsx +792 -0
- package/src/routes/select-eka-profile-screen.tsx +446 -0
- package/src/routes/utils/trackAbhaEvent.ts +41 -0
- package/src/stores/auth-abha-store/index.ts +152 -0
- package/src/stores/auth-abha-store/types.ts +217 -0
- package/src/utils/mock-auth-response.ts +29 -0
- package/src/utils/send-event-utils.ts +76 -0
- package/src/utils/validations.ts +89 -0
- package/src/vite-env.d.ts +1 -0
- package/tailwind.config.ts +9 -0
- package/tsconfig.json +25 -0
- package/tsconfig.node.json +10 -0
- package/tsconfig.node.tsbuildinfo +1 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/vite.config.d.ts +2 -0
- package/vite.config.js +45 -0
- package/vite.config.ts +50 -0
- package/dist/sdk/abha/css/abha.css +0 -1
- package/dist/sdk/abha/js/abha.js +0 -146
- /package/{dist → public}/images/adhaar.webp +0 -0
- /package/{dist → public}/images/at-the-rate.webp +0 -0
- /package/{dist → public}/images/avatar.webp +0 -0
- /package/{dist → public}/images/ayushman-bharat.webp +0 -0
- /package/{dist → public}/images/circle-checkmark.webp +0 -0
- /package/{dist → public}/images/link-abha.webp +0 -0
- /package/{dist → public}/images/national-authority.webp +0 -0
- /package/{dist → public}/images/three-dots.webp +0 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { ABHA_AUTH_FLOW_METHOD, ABHA_V3_SKIP_STATES, REGISTRATION_TYPE } from '../../constants/constants';
|
|
2
|
+
import { TMethod } from '../../main';
|
|
3
|
+
|
|
4
|
+
export enum SCREEN_NAMES {
|
|
5
|
+
LOGIN_WITH_ABHA = 'LOGIN_WITH_ABHA',
|
|
6
|
+
VERIFY_OTP_LOGIN_WITH_ABHA = 'VERIFY_OTP_LOGIN_WITH_ABHA',
|
|
7
|
+
CREATE_ABHA_WITH_AADHAAR = 'CREATE_ABHA_WITH_AADHAAR',
|
|
8
|
+
ABHA_OTP_AND_MOBILE = 'ABHA_OTP_AND_MOBILE',
|
|
9
|
+
ABHA_PHONE_NUMBER_VERIFICATION = 'ABHA_PHONE_NUMBER_VERIFICATION',
|
|
10
|
+
AADHAAR_VERIFICATION_STATUS = 'AADHAAR_VERIFICATION_STATUS',
|
|
11
|
+
ABHA_MOBILE_LINKING_STATUS = 'ABHA_MOBILE_LINKING_STATUS',
|
|
12
|
+
SELECT_ABHA_FROM_LIST = 'SELECT_ABHA_FROM_LIST',
|
|
13
|
+
CREATE_ABHA_ADDRESS = 'CREATE_ABHA_ADDRESS',
|
|
14
|
+
CREATE_EKA_PROFILE = 'CREATE_EKA_PROFILE',
|
|
15
|
+
SELECT_EKA_PROFILE = 'SELECT_EKA_PROFILE',
|
|
16
|
+
CREATE_PHR_EKA_PROFILE = 'CREATE_PHR_EKA_PROFILE',
|
|
17
|
+
|
|
18
|
+
// TODO: New screen for calling get all profiles
|
|
19
|
+
GET_ALL_PROFILES = 'GET_ALL_PROFILES',
|
|
20
|
+
|
|
21
|
+
// screen for login and create abha
|
|
22
|
+
LOGIN_OR_CREATE_ABHA = 'LOGIN_OR_CREATE_ABHA',
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type TAbhaAddress = {
|
|
26
|
+
kyc_verified?: string;
|
|
27
|
+
oid?: string;
|
|
28
|
+
abha_address: string;
|
|
29
|
+
eka_username?: string;
|
|
30
|
+
age?: number;
|
|
31
|
+
gender?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export type TAbhaAuthStoreInitValues = Omit<
|
|
36
|
+
TAbhaAuthStore,
|
|
37
|
+
| 'setScreen'
|
|
38
|
+
| 'setUrlParams'
|
|
39
|
+
| 'setAadhaarInitResponse'
|
|
40
|
+
| 'setMobileInitResponse'
|
|
41
|
+
| 'setAadhaarVerificationSkipStateStatus'
|
|
42
|
+
| 'clearAbhaAuthStore'
|
|
43
|
+
| 'setBottomsheetErrorInfo'
|
|
44
|
+
| 'setEkaSmallToken'
|
|
45
|
+
| 'setAbhaAddressList'
|
|
46
|
+
| 'setTxnId'
|
|
47
|
+
| 'setLoginIdentifierValue'
|
|
48
|
+
| 'setAbhaAuthFlowMethod'
|
|
49
|
+
| 'setInitState'
|
|
50
|
+
| 'setSelectedAbhaAddress'
|
|
51
|
+
| 'goBackScreen'
|
|
52
|
+
| 'goBackLoginScreen'
|
|
53
|
+
| 'setPhrProfiles'
|
|
54
|
+
| 'setEkaProfileInfo'
|
|
55
|
+
| 'setRegistrationType'
|
|
56
|
+
| 'setInitAbhaAppMethod'
|
|
57
|
+
| 'setInitAbhaAppMobileNumber'
|
|
58
|
+
| 'setInitAbhaAppIdentifier'
|
|
59
|
+
| 'setInitAbhaAppIdentifierType'
|
|
60
|
+
| 'setIsEkaAppLogin'
|
|
61
|
+
| 'setIsDocAppRequest'
|
|
62
|
+
| 'setIsLoggedInFromRedirect'
|
|
63
|
+
| 'setClientId'
|
|
64
|
+
| 'setOid'
|
|
65
|
+
| 'setIsApiTriggered'
|
|
66
|
+
| 'setIsNewLoginOrCreateFlow'
|
|
67
|
+
| 'setSelectedAbhaFlow'
|
|
68
|
+
| 'setIsInitApiTriggered'
|
|
69
|
+
| 'setIdentityValue'
|
|
70
|
+
| 'setCurrentStepperIndex'
|
|
71
|
+
>;
|
|
72
|
+
|
|
73
|
+
export type TPartialAbhaAuthStoreInitValues = Partial<TAbhaAuthStoreInitValues>;
|
|
74
|
+
|
|
75
|
+
export type TAbhaAuthStore = {
|
|
76
|
+
screen: Array<SCREEN_NAMES>;
|
|
77
|
+
setScreen: (screen: SCREEN_NAMES) => void;
|
|
78
|
+
goBackScreen: () => void;
|
|
79
|
+
goBackLoginScreen: () => void;
|
|
80
|
+
|
|
81
|
+
urlParams?: { nextUrl: string };
|
|
82
|
+
setUrlParams: (urlParams: { nextUrl: string }) => void;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* aorta (auth) txn id
|
|
86
|
+
*/
|
|
87
|
+
authTxnId: string | null;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* abha txn_id
|
|
91
|
+
*/
|
|
92
|
+
txnId: string | null;
|
|
93
|
+
setTxnId: (txnId: TAbhaAuthStore['txnId']) => void;
|
|
94
|
+
|
|
95
|
+
aadhaarOtpSentToHint: string | null;
|
|
96
|
+
setAadhaarInitResponse: (
|
|
97
|
+
params: Pick<TAbhaAuthStore, 'authTxnId' | 'txnId' | 'aadhaarOtpSentToHint'>
|
|
98
|
+
) => void;
|
|
99
|
+
|
|
100
|
+
mobileOtpSentToHint: string | null;
|
|
101
|
+
setMobileInitResponse: (
|
|
102
|
+
params: Pick<TAbhaAuthStore, 'authTxnId' | 'txnId' | 'mobileOtpSentToHint'>
|
|
103
|
+
) => void;
|
|
104
|
+
|
|
105
|
+
// phoneOtpSentToHint: string | null;
|
|
106
|
+
// setPhoneOtpSentToHint: (hint: TAbhaAuthStore['phoneOtpSentToHint']) => void;
|
|
107
|
+
|
|
108
|
+
aadhaarVerificationSkipStateStatus: ABHA_V3_SKIP_STATES | null;
|
|
109
|
+
setAadhaarVerificationSkipStateStatus: (status: ABHA_V3_SKIP_STATES) => void;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* To store the minimum token returned by ndhm-eka services.
|
|
113
|
+
* Call auth verify v2 with this token to receive the complete jwt.
|
|
114
|
+
*/
|
|
115
|
+
ekaSmallToken: string | null;
|
|
116
|
+
setEkaSmallToken: (token: TAbhaAuthStore['ekaSmallToken']) => void;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Error info for global bottomsheet
|
|
120
|
+
*/
|
|
121
|
+
bottomsheetErrorInfo: {
|
|
122
|
+
title: string;
|
|
123
|
+
img: string;
|
|
124
|
+
description: string;
|
|
125
|
+
cta: {
|
|
126
|
+
title: string;
|
|
127
|
+
pid: string;
|
|
128
|
+
params: string | null;
|
|
129
|
+
};
|
|
130
|
+
} | null;
|
|
131
|
+
setBottomsheetErrorInfo: (info: TAbhaAuthStore['bottomsheetErrorInfo']) => void;
|
|
132
|
+
|
|
133
|
+
abhaAddressList: TAbhaAddress[] | null;
|
|
134
|
+
setAbhaAddressList: (info: TAbhaAddress[]) => void;
|
|
135
|
+
|
|
136
|
+
loginIdentifierValue: string | null;
|
|
137
|
+
setLoginIdentifierValue: (val: string) => void;
|
|
138
|
+
|
|
139
|
+
abhaAuthFlowMethod: ABHA_AUTH_FLOW_METHOD | null;
|
|
140
|
+
setAbhaAuthFlowMethod: (val: ABHA_AUTH_FLOW_METHOD) => void;
|
|
141
|
+
|
|
142
|
+
registrationType: REGISTRATION_TYPE | null;
|
|
143
|
+
setRegistrationType: (val: REGISTRATION_TYPE) => void;
|
|
144
|
+
|
|
145
|
+
selectedAbhaAddress: string | null;
|
|
146
|
+
setSelectedAbhaAddress: (val: string) => void;
|
|
147
|
+
|
|
148
|
+
// set method from window's bridge
|
|
149
|
+
initAbhaAppMethod: TMethod;
|
|
150
|
+
setInitAbhaAppMethod: (val: TMethod) => void;
|
|
151
|
+
|
|
152
|
+
initAbhaAppMobileNumber: string | null;
|
|
153
|
+
setInitAbhaAppMobileNumber: (val: string) => void;
|
|
154
|
+
|
|
155
|
+
initAbhaAppIdentifier: string | null;
|
|
156
|
+
setInitAbhaAppIdentifier: (val: string) => void;
|
|
157
|
+
|
|
158
|
+
initAbhaAppIdentifierType: string | null;
|
|
159
|
+
setInitAbhaAppIdentifierType: (val: string) => void;
|
|
160
|
+
|
|
161
|
+
isEkaAppLogin: boolean;
|
|
162
|
+
setIsEkaAppLogin: (val: boolean) => void;
|
|
163
|
+
|
|
164
|
+
isDocAppRequest: boolean;
|
|
165
|
+
setIsDocAppRequest: (val: boolean) => void;
|
|
166
|
+
|
|
167
|
+
ekaProfileInfo: {
|
|
168
|
+
/**
|
|
169
|
+
* this oid is being used at the moment to check whether
|
|
170
|
+
* to call profile/eka or link-phr
|
|
171
|
+
* in create-abha-address-screen
|
|
172
|
+
*/
|
|
173
|
+
oid?: string;
|
|
174
|
+
firstname: string;
|
|
175
|
+
middlename?: string;
|
|
176
|
+
lastname: string;
|
|
177
|
+
abha_address?: string;
|
|
178
|
+
abha_number?: string;
|
|
179
|
+
date_of_birth: string;
|
|
180
|
+
pincode: string;
|
|
181
|
+
gender: string;
|
|
182
|
+
mobile?: string;
|
|
183
|
+
name?: string; // full name
|
|
184
|
+
} | null;
|
|
185
|
+
setEkaProfileInfo: (info: TAbhaAuthStore['ekaProfileInfo']) => void;
|
|
186
|
+
|
|
187
|
+
setInitState: (initState: TPartialAbhaAuthStoreInitValues) => void;
|
|
188
|
+
|
|
189
|
+
isLoggedInFromRedirect: boolean;
|
|
190
|
+
setIsLoggedInFromRedirect: (val: boolean) => void;
|
|
191
|
+
|
|
192
|
+
clientId: string;
|
|
193
|
+
setClientId: (val: string) => void;
|
|
194
|
+
|
|
195
|
+
isApiTriggered: boolean;
|
|
196
|
+
setIsApiTriggered: (val: boolean) => void;
|
|
197
|
+
|
|
198
|
+
oid: string;
|
|
199
|
+
setOid: (val: string) => void;
|
|
200
|
+
|
|
201
|
+
isNewLoginOrCreateFlow: boolean;
|
|
202
|
+
setIsNewLoginOrCreateFlow: (val: boolean) => void;
|
|
203
|
+
|
|
204
|
+
selectedAbhaFlow: string;
|
|
205
|
+
setSelectedAbhaFlow: (val: string) => void;
|
|
206
|
+
|
|
207
|
+
isInitApiTriggered: boolean;
|
|
208
|
+
setIsInitApiTriggered: (val: boolean) => void;
|
|
209
|
+
|
|
210
|
+
identityValue : string;
|
|
211
|
+
setIdentityValue : (val: string) => void;
|
|
212
|
+
|
|
213
|
+
currentStepperIndex: number,
|
|
214
|
+
setCurrentStepperIndex: (val: number) => void;
|
|
215
|
+
|
|
216
|
+
clearAbhaAuthStore: () => void;
|
|
217
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AUTH_METHOD, TAuthVerifyV2Response, TProfileRecord
|
|
3
|
+
} from '../constants/constants';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const getMockAuthVerifyResponse = (profile: TProfileRecord): TAuthVerifyV2Response => ({
|
|
7
|
+
skip_state: 0,
|
|
8
|
+
method: AUTH_METHOD.MOBILE,
|
|
9
|
+
txn_id: '',
|
|
10
|
+
data: {
|
|
11
|
+
tokens: {
|
|
12
|
+
sess: '',
|
|
13
|
+
refresh: '',
|
|
14
|
+
},
|
|
15
|
+
profile: {
|
|
16
|
+
oid: profile.oid,
|
|
17
|
+
fn: profile.fn,
|
|
18
|
+
mn: profile.mn,
|
|
19
|
+
ln: profile.ln,
|
|
20
|
+
gen: profile.gen,
|
|
21
|
+
dob: profile.dob,
|
|
22
|
+
fln: profile.fln,
|
|
23
|
+
at: '',
|
|
24
|
+
mobile: profile.mobile,
|
|
25
|
+
abha_number: profile.abha_number || '',
|
|
26
|
+
'health-ids': profile['health-ids'] || [],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
mxpDataLayer?: unknown[];
|
|
5
|
+
dataLayer?: unknown[];
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const fallback: Array<{ fn: string; params: unknown }> = [];
|
|
10
|
+
|
|
11
|
+
function fallbackFn(name: string) {
|
|
12
|
+
return function (...params: unknown[]) {
|
|
13
|
+
fallback.push({ fn: name, params });
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
let mixpanel = {
|
|
18
|
+
notInitiated: true, // just a dummy flag to indicate that mixpanel is not initialised
|
|
19
|
+
track: fallbackFn("track"),
|
|
20
|
+
init: fallbackFn("init"),
|
|
21
|
+
identify: fallbackFn("identify"),
|
|
22
|
+
register: fallbackFn("register"),
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
function pushToMxpDataLayer({ data }: { data: unknown }) {
|
|
26
|
+
if (typeof window !== "undefined") {
|
|
27
|
+
window.mxpDataLayer = window.mxpDataLayer || [];
|
|
28
|
+
window.mxpDataLayer.push(data);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
export function sendApiFailedEvent({
|
|
34
|
+
category = "api-failed",
|
|
35
|
+
url,
|
|
36
|
+
params,
|
|
37
|
+
}: {
|
|
38
|
+
category?: string;
|
|
39
|
+
url: string;
|
|
40
|
+
params: object;
|
|
41
|
+
}) {
|
|
42
|
+
pushToMxpDataLayer({
|
|
43
|
+
data: {
|
|
44
|
+
name: category,
|
|
45
|
+
data: { url, ...params },
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
const eventName = category;
|
|
49
|
+
const eventData = { url, ...params };
|
|
50
|
+
// if (canSendAnalyticsDataToNative()) {
|
|
51
|
+
// sendAnalyticsData({ eventName, eventData });
|
|
52
|
+
// } else {
|
|
53
|
+
// }
|
|
54
|
+
mixpanel.track(eventName, eventData);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
const handleSendEvent = ({
|
|
59
|
+
eventName,
|
|
60
|
+
eventData,
|
|
61
|
+
}: {
|
|
62
|
+
eventName: string;
|
|
63
|
+
eventData?: Record<string, string>;
|
|
64
|
+
}) => {
|
|
65
|
+
if (!window?.Eka?.sendEvent) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
window.Eka.sendEvent(
|
|
69
|
+
JSON.stringify({
|
|
70
|
+
event: eventName,
|
|
71
|
+
properties: eventData,
|
|
72
|
+
})
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export default handleSendEvent;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// --------------------
|
|
2
|
+
// Aadhaar Validator using Verhoeff Algorithm
|
|
3
|
+
// --------------------
|
|
4
|
+
|
|
5
|
+
// Verhoeff multiplication table
|
|
6
|
+
const d: number[][] = [
|
|
7
|
+
[0,1,2,3,4,5,6,7,8,9],
|
|
8
|
+
[1,2,3,4,0,6,7,8,9,5],
|
|
9
|
+
[2,3,4,0,1,7,8,9,5,6],
|
|
10
|
+
[3,4,0,1,2,8,9,5,6,7],
|
|
11
|
+
[4,0,1,2,3,9,5,6,7,8],
|
|
12
|
+
[5,9,8,7,6,0,4,3,2,1],
|
|
13
|
+
[6,5,9,8,7,1,0,4,3,2],
|
|
14
|
+
[7,6,5,9,8,2,1,0,4,3],
|
|
15
|
+
[8,7,6,5,9,3,2,1,0,4],
|
|
16
|
+
[9,8,7,6,5,4,3,2,1,0]
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
// Verhoeff permutation table
|
|
20
|
+
const p: number[][] = [
|
|
21
|
+
[0,1,2,3,4,5,6,7,8,9],
|
|
22
|
+
[1,5,7,6,2,8,3,0,9,4],
|
|
23
|
+
[5,8,0,3,7,9,6,1,4,2],
|
|
24
|
+
[8,9,1,6,0,4,3,5,2,7],
|
|
25
|
+
[9,4,5,3,1,2,6,8,7,0],
|
|
26
|
+
[4,2,8,6,5,7,3,9,0,1],
|
|
27
|
+
[2,7,9,3,8,0,6,4,1,5],
|
|
28
|
+
[7,0,4,6,9,1,3,2,5,8]
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
const inv: number[] = [0,4,3,2,1,5,6,7,8,9];
|
|
32
|
+
|
|
33
|
+
// Verhoeff checksum validation
|
|
34
|
+
function verhoeffValidate(num: string): boolean {
|
|
35
|
+
let c = 0;
|
|
36
|
+
const numReversed = num.split('').reverse().map(digit => parseInt(digit, 10));
|
|
37
|
+
for (let i = 0; i < numReversed.length; i++) {
|
|
38
|
+
c = d[c][p[i % 8][numReversed[i]]];
|
|
39
|
+
}
|
|
40
|
+
return c === 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// Aadhaar validation function
|
|
44
|
+
export function isValidAadhaar(aadhaarNumber: string): boolean {
|
|
45
|
+
// Basic 12-digit structure check
|
|
46
|
+
if (!/^\d{12}$/.test(aadhaarNumber)) return false;
|
|
47
|
+
|
|
48
|
+
// Checksum validation
|
|
49
|
+
return verhoeffValidate(aadhaarNumber);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// --------------------
|
|
53
|
+
// ABHA Validator using Luhn Algorithm
|
|
54
|
+
// --------------------
|
|
55
|
+
|
|
56
|
+
// 14-digit numeric regex
|
|
57
|
+
const abhaRegex = /^[0-9]{14}$/;
|
|
58
|
+
|
|
59
|
+
// Luhn checksum implementation
|
|
60
|
+
function luhnCheck(abha: string): boolean {
|
|
61
|
+
let sum = 0;
|
|
62
|
+
let alt = false;
|
|
63
|
+
|
|
64
|
+
for (let i = abha.length - 1; i >= 0; i--) {
|
|
65
|
+
let d = parseInt(abha[i], 10);
|
|
66
|
+
if (alt) {
|
|
67
|
+
d *= 2;
|
|
68
|
+
if (d > 9) d -= 9;
|
|
69
|
+
}
|
|
70
|
+
sum += d;
|
|
71
|
+
alt = !alt;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return sum % 10 === 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// ABHA validation function
|
|
78
|
+
export function isValidABHA(abha: string): boolean {
|
|
79
|
+
if (!abhaRegex.test(abha)) return false;
|
|
80
|
+
|
|
81
|
+
// Reject if all digits are the same
|
|
82
|
+
const allSame = abha.split('').every(ch => ch === abha[0]);
|
|
83
|
+
if (allSame) return false;
|
|
84
|
+
|
|
85
|
+
// Validate using Luhn
|
|
86
|
+
return luhnCheck(abha);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export const isValidMobile = (value: string): boolean => /^[6-9]\d{9}$/.test(value);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Config } from 'tailwindcss';
|
|
2
|
+
import sharedConfig from "./package/tailwind/tailwind.config"
|
|
3
|
+
|
|
4
|
+
const tailwindConfig = {
|
|
5
|
+
...sharedConfig,
|
|
6
|
+
content: ['./src/**/*.{js,jsx,ts,tsx}', './index.html'],
|
|
7
|
+
} satisfies Config;
|
|
8
|
+
|
|
9
|
+
export default tailwindConfig;
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"useDefineForClassFields": true,
|
|
5
|
+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
6
|
+
"allowJs": false,
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"esModuleInterop": false,
|
|
9
|
+
"allowSyntheticDefaultImports": true,
|
|
10
|
+
"strict": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"module": "ESNext",
|
|
13
|
+
"moduleResolution": "Node",
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"isolatedModules": true,
|
|
16
|
+
"noEmit": true,
|
|
17
|
+
"jsx": "react-jsx",
|
|
18
|
+
"types": ["vite-plugin-svgr/client", "node"],
|
|
19
|
+
"paths": {
|
|
20
|
+
"react": ["./node_modules/@types/react"]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"include": ["src", "styles"],
|
|
24
|
+
"references": [{ "path": "./tsconfig.node.json" }]
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["./node_modules/typescript/lib/lib.d.ts","./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.esnext.disposable.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/@types/node/ts5.6/compatibility/float16array.d.ts","./node_modules/@types/node/compatibility/iterators.d.ts","./node_modules/@types/node/ts5.6/globals.typedarray.d.ts","./node_modules/@types/node/ts5.6/buffer.buffer.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/web-globals/abortcontroller.d.ts","./node_modules/@types/node/web-globals/crypto.d.ts","./node_modules/@types/node/web-globals/domexception.d.ts","./node_modules/@types/node/web-globals/events.d.ts","./node_modules/undici-types/utility.d.ts","./node_modules/undici-types/header.d.ts","./node_modules/undici-types/readable.d.ts","./node_modules/undici-types/fetch.d.ts","./node_modules/undici-types/formdata.d.ts","./node_modules/undici-types/connector.d.ts","./node_modules/undici-types/client-stats.d.ts","./node_modules/undici-types/client.d.ts","./node_modules/undici-types/errors.d.ts","./node_modules/undici-types/dispatcher.d.ts","./node_modules/undici-types/global-dispatcher.d.ts","./node_modules/undici-types/global-origin.d.ts","./node_modules/undici-types/pool-stats.d.ts","./node_modules/undici-types/pool.d.ts","./node_modules/undici-types/handlers.d.ts","./node_modules/undici-types/balanced-pool.d.ts","./node_modules/undici-types/h2c-client.d.ts","./node_modules/undici-types/agent.d.ts","./node_modules/undici-types/mock-interceptor.d.ts","./node_modules/undici-types/mock-call-history.d.ts","./node_modules/undici-types/mock-agent.d.ts","./node_modules/undici-types/mock-client.d.ts","./node_modules/undici-types/mock-pool.d.ts","./node_modules/undici-types/snapshot-agent.d.ts","./node_modules/undici-types/mock-errors.d.ts","./node_modules/undici-types/proxy-agent.d.ts","./node_modules/undici-types/env-http-proxy-agent.d.ts","./node_modules/undici-types/retry-handler.d.ts","./node_modules/undici-types/retry-agent.d.ts","./node_modules/undici-types/api.d.ts","./node_modules/undici-types/cache-interceptor.d.ts","./node_modules/undici-types/interceptors.d.ts","./node_modules/undici-types/util.d.ts","./node_modules/undici-types/cookies.d.ts","./node_modules/undici-types/patch.d.ts","./node_modules/undici-types/websocket.d.ts","./node_modules/undici-types/eventsource.d.ts","./node_modules/undici-types/diagnostics-channel.d.ts","./node_modules/undici-types/content-type.d.ts","./node_modules/undici-types/cache.d.ts","./node_modules/undici-types/index.d.ts","./node_modules/@types/node/web-globals/fetch.d.ts","./node_modules/@types/node/web-globals/navigator.d.ts","./node_modules/@types/node/web-globals/storage.d.ts","./node_modules/@types/node/web-globals/streams.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/inspector.generated.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/sea.d.ts","./node_modules/@types/node/sqlite.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/ts5.6/index.d.ts","./node_modules/@swc/types/assumptions.d.ts","./node_modules/@swc/types/index.d.ts","./node_modules/@swc/core/binding.d.ts","./node_modules/@swc/core/spack.d.ts","./node_modules/@swc/core/index.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/rollup/dist/rollup.d.ts","./node_modules/rollup/dist/parseast.d.ts","./node_modules/vite/types/hmrpayload.d.ts","./node_modules/vite/types/customevent.d.ts","./node_modules/vite/types/hot.d.ts","./node_modules/vite/dist/node/types.d-agj9qkwt.d.ts","./node_modules/esbuild/lib/main.d.ts","./node_modules/source-map-js/source-map.d.ts","./node_modules/postcss/lib/previous-map.d.ts","./node_modules/postcss/lib/input.d.ts","./node_modules/postcss/lib/css-syntax-error.d.ts","./node_modules/postcss/lib/declaration.d.ts","./node_modules/postcss/lib/root.d.ts","./node_modules/postcss/lib/warning.d.ts","./node_modules/postcss/lib/lazy-result.d.ts","./node_modules/postcss/lib/no-work-result.d.ts","./node_modules/postcss/lib/processor.d.ts","./node_modules/postcss/lib/result.d.ts","./node_modules/postcss/lib/document.d.ts","./node_modules/postcss/lib/rule.d.ts","./node_modules/postcss/lib/node.d.ts","./node_modules/postcss/lib/comment.d.ts","./node_modules/postcss/lib/container.d.ts","./node_modules/postcss/lib/at-rule.d.ts","./node_modules/postcss/lib/list.d.ts","./node_modules/postcss/lib/postcss.d.ts","./node_modules/postcss/lib/postcss.d.mts","./node_modules/vite/dist/node/runtime.d.ts","./node_modules/vite/types/importglob.d.ts","./node_modules/vite/types/metadata.d.ts","./node_modules/vite/dist/node/index.d.ts","./node_modules/@vitejs/plugin-react-swc/index.d.ts","./vite.config.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/prop-types/index.d.ts","./node_modules/@types/react/global.d.ts","./node_modules/csstype/index.d.ts","./node_modules/@types/react/index.d.ts","./node_modules/@types/react-dom/index.d.ts"],"fileIdsList":[[53,107,124,125],[53,107,124,125,157,159,160,161],[53,107,124,125,159],[53,107,124,125,158],[53,104,105,107,124,125],[53,106,107,124,125],[53,107,112,124,125,142],[53,107,108,113,118,124,125,127,139,150],[53,107,108,109,118,124,125,127],[53,107,110,124,125,151],[53,107,111,112,119,124,125,128],[53,107,112,124,125,139,147],[53,107,113,115,118,124,125,127],[53,106,107,114,124,125],[53,107,115,116,124,125],[53,107,117,118,124,125],[53,106,107,118,124,125],[53,107,118,119,120,124,125,139,150],[53,107,118,119,120,124,125,134,139,142],[53,99,107,115,118,121,124,125,127,139,150],[53,107,118,119,121,122,124,125,127,139,147,150],[53,107,121,123,124,125,139,147,150],[53,107,118,124,125],[53,107,124,125,126,150],[53,107,115,118,124,125,127,139],[53,107,124,125,128],[53,107,124,125,129],[53,106,107,124,125,130],[53,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156],[53,107,124,125,132],[53,107,124,125,133],[53,107,118,124,125,134,135],[53,107,124,125,134,136,151,153],[53,107,119,124,125],[53,107,118,124,125,139,140,142],[53,107,124,125,141,142],[53,107,124,125,139,140],[53,107,124,125,142],[53,107,124,125,143],[53,104,107,124,125,139,144],[53,107,118,124,125,145,146],[53,107,124,125,145,146],[53,107,112,124,125,127,139,147],[53,107,124,125,148],[107,124,125],[50,51,52,53,54,55,56,57,58,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156],[53,107,124,125,127,149],[53,107,121,124,125,133,150],[53,107,112,124,125,151],[53,107,124,125,139,152],[53,107,124,125,126,153],[53,107,124,125,154],[53,107,112,124,125],[53,99,107,124,125],[53,107,124,125,155],[53,99,107,118,120,124,125,130,139,142,150,152,153,155],[53,107,124,125,139,156],[53,107,124,125,201],[53,107,124,125,198,199,200],[53,107,124,125,162,194],[53,107,124,125,186],[53,107,124,125,184,186],[53,107,124,125,175,183,184,185,187,189],[53,107,124,125,173],[53,107,124,125,176,181,186,189],[53,107,124,125,172,189],[53,107,124,125,176,177,180,181,182,189],[53,107,124,125,176,177,178,180,181,189],[53,107,124,125,173,174,175,176,177,181,182,183,185,186,187,189],[53,107,124,125,189],[53,107,124,125,171,173,174,175,176,177,178,180,181,182,183,184,185,186,187,188],[53,107,124,125,171,189],[53,107,124,125,176,178,179,181,182,189],[53,107,124,125,180,189],[53,107,124,125,181,182,186,189],[53,107,124,125,174,184],[53,107,124,125,164,193],[53,107,124,125,163,164],[53,65,68,71,72,107,124,125,150],[53,68,107,124,125,139,150],[53,68,72,107,124,125,150],[53,107,124,125,139],[53,62,107,124,125],[53,66,107,124,125],[53,64,65,68,107,124,125,150],[53,107,124,125,127,147],[53,107,124,125,157],[53,62,107,124,125,157],[53,64,68,107,124,125,127,150],[53,59,60,61,63,67,107,118,124,125,139,150],[53,68,76,84,107,124,125],[53,60,66,107,124,125],[53,68,93,94,107,124,125],[53,60,63,68,107,124,125,142,150,157],[53,68,107,124,125],[53,64,68,107,124,125,150],[53,59,107,124,125],[53,62,63,64,66,67,68,69,70,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,94,95,96,97,98,107,124,125],[53,68,86,89,107,115,124,125],[53,68,76,77,78,107,124,125],[53,66,68,77,79,107,124,125],[53,67,107,124,125],[53,60,62,68,107,124,125],[53,68,72,77,79,107,124,125],[53,72,107,124,125],[53,66,68,71,107,124,125,150],[53,60,64,68,76,107,124,125],[53,68,86,107,124,125],[53,79,107,124,125],[53,62,68,93,107,124,125,142,155,157],[53,107,118,119,121,122,123,124,125,127,139,147,150,156,157,164,165,166,167,168,169,170,190,191,192,193],[53,107,124,125,166,167,168,169],[53,107,124,125,166,167,168],[53,107,124,125,166],[53,107,124,125,167],[53,107,124,125,164],[53,107,124,125,129,194,195]],"fileInfos":[{"version":"a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa","impliedFormat":1},{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"394fda71d5d6bd00a372437dff510feab37b92f345861e592f956d6995e9c1ce","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f2442c0ca5e7fcb9d51ebbd7d43079844bcbfd947bb679b9419900745f871d5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a98aedd64ad81793f146d36d1611ed9ba61b8b49ff040f0d13a103ed626595d9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"830171b27c5fdf9bcbe4cf7d428fcf3ae2c67780fb7fbdccdf70d1623d938bc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b21e13ed07d0df176ae31d6b7f01f7b17d66dbeb489c0d31d00de2ca14883da","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"f929f0b6b3421a2d34344b0f421f45aeb2c84ad365ebf29d04312023b3accc58","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"d8cf132379078d0974a59df26069689a2d33c7dc826b5be56231841cb2f32e58","impliedFormat":1},{"version":"fbf413fc617837453c878a9174a1f1b383616857a3f8366bc41cf30df4aea7d5","impliedFormat":1},{"version":"148c73ec11318850f571172ceae3e55ce479d850fe18ec8eae0abd99d9f6c319","impliedFormat":1},{"version":"230bdc111d7578276e4a3bb9d075d85c78c6b68f428c3a9935e2eaa10f4ae1f5","impliedFormat":1},{"version":"e8aabbee5e7b9101b03bb4222607d57f38859b8115a8050a4eb91b4ee43a3a73","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"c0bb1b65757c72bbf8ddf7eaa532223bacf58041ff16c883e76f45506596e925","impliedFormat":1},{"version":"c8b85f7aed29f8f52b813f800611406b0bfe5cf3224d20a4bdda7c7f73ce368e","affectsGlobalScope":true,"impliedFormat":1},{"version":"145dcf25fd4967c610c53d93d7bc4dce8fbb1b6dd7935362472d4ae49363c7ba","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"9043daec15206650fa119bad6b8d70136021ea7d52673a71f79a87a42ee38d44","affectsGlobalScope":true,"impliedFormat":1},{"version":"8ba0db41ed773e152647a78e9053e36a747891db41d6a51c7030a0d0f01babb2","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"28e3631087ecef78fef8efdb21d4d2509f776ef6f0d660ff605b5ee6a22ebb8c","impliedFormat":1},{"version":"b33b74b97952d9bf4fbd2951dcfbb5136656ddb310ce1c84518aaa77dbca9992","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"6b306cd4282bbb54d4a6bb23cfb7a271160983dfc38c67b5a132504cfcc34896","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"450172a56b944c2d83f45cc11c9a388ea967cd301a21202aa0a23c34c7506a18","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"72f8936aebf0c4a1adab767b97d34ba7d3a308afcf76de4417b9c16fb92ed548","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"04aa8fb012abeecf5666b013c59ba01dca5aa0c28173cb5385bc88d4adeb8d64","affectsGlobalScope":true,"impliedFormat":1},{"version":"3585d6891e9ea18e07d0755a6d90d71331558ba5dc5561933553209f886db106","affectsGlobalScope":true,"impliedFormat":1},{"version":"86be71cbb0593468644932a6eb96d527cfa600cecfc0b698af5f52e51804451d","impliedFormat":1},{"version":"84dd6b0fd2505135692935599d6606f50a421389e8d4535194bcded307ee5cf2","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"db19ea066fdc5f97df3f769e582ae3000380ab7942e266654bdb1a4650d19eaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"2a034894bf28c220a331c7a0229d33564803abe2ac1b9a5feee91b6b9b6e88ea","impliedFormat":1},{"version":"cc6a8f0089e3c787e829bd1bbfb563aadc9f60bf569326abea8220f390ec5e0b","impliedFormat":1},{"version":"7a0b3e902cabef41f2d37e5eb4dab644c5b8470594318810434df7cc547b0cf8","impliedFormat":1},{"version":"1ee702469d04572c1088f82c3016f1e5c39e08764c8c76a3a5f18d199ead432c","impliedFormat":1},{"version":"d7d1b49e0462eb979fd506c9667f1d4afbb0d39940ec9da5ef4473d1b952b0b6","impliedFormat":1},{"version":"136ac2fb228b2c64ad2d039eb4de311212505a20a91b9ba632bd6cfdc3b4126f","impliedFormat":1},{"version":"7d98e7acbe7ffe68b699bf7656af842f5d5efecd1df67800b92ed71ed60f2287","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"67f0933742a1e547fc31cc52c4183b2be0726ffa9689586b761cef241ca6b251","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","impliedFormat":1},{"version":"6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","impliedFormat":1},{"version":"8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87","impliedFormat":99},{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","affectsGlobalScope":true,"impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"333caa2bfff7f06017f114de738050dd99a765c7eb16571c6d25a38c0d5365dc","impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","impliedFormat":1},{"version":"1251d53755b03cde02466064260bb88fd83c30006a46395b7d9167340bc59b73","impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","impliedFormat":1},{"version":"4cdf27e29feae6c7826cdd5c91751cc35559125e8304f9e7aed8faef97dcf572","impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","impliedFormat":1},{"version":"183f480885db5caa5a8acb833c2be04f98056bdcc5fb29e969ff86e07efe57ab","impliedFormat":99},{"version":"82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","impliedFormat":99},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","impliedFormat":1},{"version":"8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","impliedFormat":1},{"version":"257b83faa134d971c738a6b9e4c47e59bb7b23274719d92197580dd662bfafc3","impliedFormat":99},{"version":"064569cccad7d2ee3b9ec0e306919ca0c1bab8169de19a0784adaf798125fd49","impliedFormat":99},{"version":"2b15f93994f8ba4c9a1232f02ebf377591a79af1b980326a3cb5c550ac95436c","signature":"4b96dd19fd2949d28ce80e913412b0026dc421e5bf6c31d87c7b5eb11b5753b4"},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","impliedFormat":1},{"version":"7a3aa194cfd5919c4da251ef04ea051077e22702638d4edcb9579e9101653519","affectsGlobalScope":true,"impliedFormat":1},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","impliedFormat":1}],"root":[196],"options":{"allowSyntheticDefaultImports":true,"composite":true,"module":99,"skipLibCheck":true},"referencedMap":[[160,1],[162,2],[161,3],[158,1],[159,4],[163,1],[197,1],[104,5],[105,5],[106,6],[107,7],[108,8],[109,9],[51,1],[110,10],[111,11],[112,12],[113,13],[114,14],[115,15],[116,15],[117,16],[118,17],[119,18],[120,19],[54,1],[121,20],[122,21],[123,22],[124,23],[125,1],[126,24],[127,25],[128,26],[129,27],[130,28],[131,29],[132,30],[133,31],[134,32],[135,32],[136,33],[137,1],[138,34],[139,35],[141,36],[140,37],[142,38],[143,39],[144,40],[145,41],[146,42],[147,43],[148,44],[53,45],[50,1],[52,1],[157,46],[149,47],[150,48],[151,49],[152,50],[153,51],[154,52],[55,1],[56,53],[57,1],[58,1],[100,54],[101,55],[102,1],[103,38],[155,56],[156,57],[198,1],[202,58],[199,1],[201,59],[195,60],[200,1],[170,1],[187,61],[185,62],[186,63],[174,64],[175,62],[182,65],[173,66],[178,67],[188,1],[179,68],[184,69],[190,70],[189,71],[172,72],[180,73],[181,74],[176,75],[183,61],[177,76],[165,77],[164,78],[171,1],[1,1],[48,1],[49,1],[9,1],[13,1],[12,1],[3,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[4,1],[22,1],[5,1],[23,1],[27,1],[24,1],[25,1],[26,1],[28,1],[29,1],[30,1],[6,1],[31,1],[32,1],[33,1],[34,1],[7,1],[38,1],[35,1],[36,1],[37,1],[39,1],[8,1],[40,1],[45,1],[46,1],[41,1],[42,1],[43,1],[44,1],[2,1],[47,1],[11,1],[10,1],[76,79],[88,80],[74,81],[89,82],[98,83],[65,84],[66,85],[64,86],[97,87],[92,88],[96,89],[68,90],[85,91],[67,92],[95,93],[62,94],[63,88],[69,95],[70,1],[75,96],[73,95],[60,97],[99,98],[90,99],[79,100],[78,95],[80,101],[83,102],[77,103],[81,104],[93,87],[71,105],[72,106],[84,107],[61,82],[87,108],[86,95],[82,109],[91,1],[59,1],[94,110],[194,111],[191,112],[169,113],[167,114],[166,1],[168,115],[192,1],[193,116],[196,117]],"latestChangedDtsFile":"./vite.config.d.ts","version":"5.6.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/api-queries/use-get-profiles-patient.ts","./src/api-queries/use-get-profiles-phr-user.ts","./src/api-queries/use-post-abdm-login-verify-v1.ts","./src/api-queries/use-post-auth-verify-v2.ts","./src/api-queries/use-post-profile-switch.ts","./src/api-queries/use-post-register-mobile-create-phr.ts","./src/api-queries/user-post-abdm-profile-login-phr.ts","./src/api-queries/aorta-go/v3/get-profile-patient.ts","./src/api-queries/aorta-go/v3/get-profiles-phr-user.ts","./src/api-queries/aorta-go/v3/post-auth-init-v2.ts","./src/api-queries/aorta-go/v3/post-auth-logout-v2.ts","./src/api-queries/aorta-go/v3/post-auth-verify-v2.ts","./src/api-queries/aorta-go/v3/post-profile-switch.ts","./src/api-queries/ndhm/get-abdm-register-suggest.ts","./src/api-queries/ndhm/get-pincode-details.ts","./src/api-queries/ndhm/post-abdm-login-init.ts","./src/api-queries/ndhm/post-abdm-login-phr.ts","./src/api-queries/ndhm/post-abdm-login-verify.ts","./src/api-queries/ndhm/post-abdm-profile-eka-link-phr.ts","./src/api-queries/ndhm/post-abdm-profile-eka.ts","./src/api-queries/ndhm/post-abdm-register-abha-number-create-phr.ts","./src/api-queries/ndhm/post-abdm-register-mobile-create-phr.ts","./src/api-queries/ndhm/post-abdm-register-mobile-resend-otp.ts","./src/api-queries/ndhm/post-abdm-register-mobile-verify.ts","./src/api-queries/ndhm/post-abdm-register-phr-check.ts","./src/api-queries/ndhm/post-register-aadhaar-create-phr.ts","./src/api-queries/ndhm/post-register-aadhaar-init.ts","./src/api-queries/ndhm/post-register-aadhaar-mobile-resend-otp.ts","./src/api-queries/ndhm/post-register-aadhaar-mobile-verify.ts","./src/api-queries/ndhm/post-register-aadhaar-resend-otp.ts","./src/api-queries/ndhm/post-register-aadhaar-verify.ts","./src/api-queries/ndhm/post-register-mobile-init.ts","./src/atoms/header.tsx","./src/atoms/spinner.tsx","./src/atoms/text-separator.tsx","./src/atoms/button/custom-button.tsx","./src/atoms/button/index.tsx","./src/atoms/button/types.d.ts","./src/atoms/input-field/index.tsx","./src/atoms/input-field/patient-input-field.tsx","./src/atoms/input-field/types.ts","./src/atoms/pds2-otp-input/index.tsx","./src/atoms/pds2-otp-input/types.d.ts","./src/atoms/single-input-chip/index.tsx","./src/atoms/single-input-chip/types.ts","./src/atoms/ui/spinner.tsx","./src/constants/constants.ts","./src/fetch-client/index.ts","./src/molecules/copyright-year.tsx","./src/molecules/abha/spaced-input-component.tsx","./src/molecules/abha/bottom-sheet/bottom-sheet-wrapper.tsx","./src/molecules/abha/bottom-sheet/index.tsx","./src/molecules/exit-popup/index.tsx","./src/molecules/pds2-otp-component/index.tsx","./src/organisms/abha/abha-header.tsx","./src/organisms/abha/abha-stepper.tsx","./src/organisms/abha/error-bottom-sheet.tsx","./src/organisms/abha/otp-card.tsx","./src/organisms/abha/verification-status.tsx","./src/organisms/choose-language/choose-language.tsx","./src/organisms/choose-language/types.ts","./src/organisms/screen-switcher/screen-switcher.tsx","./src/routes/abha-aadhaar-verification-status-screen.tsx","./src/routes/abha-created-screen.tsx","./src/routes/abha-login-otp-verify-screen.tsx","./src/routes/abha-mobile-linking-status-screen.tsx","./src/routes/abha-otp-and-mobile-screen.tsx","./src/routes/abha-phone-number-verification-screen.tsx","./src/routes/create-abha-address-screen.tsx","./src/routes/create-abha-with-aadhaar-screen.tsx","./src/routes/create-eka-profile-screen.tsx","./src/routes/get-all-profiles-screen.tsx","./src/routes/login-or-create-abha-address-screen.tsx","./src/routes/login-with-abha-screen.tsx","./src/routes/select-abha-from-list-screen.tsx","./src/routes/select-eka-profile-screen.tsx","./src/routes/utils/trackabhaevent.ts","./src/stores/auth-abha-store/index.ts","./src/stores/auth-abha-store/types.ts","./src/utils/mock-auth-response.ts","./src/utils/send-event-utils.ts","./src/utils/validations.ts"],"version":"5.6.3"}
|
package/vite.config.d.ts
ADDED
package/vite.config.js
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import react from '@vitejs/plugin-react-swc';
|
|
2
|
+
import { defineConfig } from 'vite';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
// https://vite.dev/config/
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
plugins: [react()],
|
|
7
|
+
build: {
|
|
8
|
+
cssCodeSplit: false, // ✅ one CSS file
|
|
9
|
+
rollupOptions: {
|
|
10
|
+
// ✅ one JS file (no code-splitting)
|
|
11
|
+
output: {
|
|
12
|
+
inlineDynamicImports: true,
|
|
13
|
+
manualChunks: undefined,
|
|
14
|
+
// Fixed file names
|
|
15
|
+
entryFileNames: 'sdk/abha/js/abha.js',
|
|
16
|
+
// even though we disabled splitting, set a pattern just in case
|
|
17
|
+
chunkFileNames: 'sdk/abha/js/[name]-[hash].js',
|
|
18
|
+
assetFileNames: function (assetInfo) {
|
|
19
|
+
var name = assetInfo.name || '';
|
|
20
|
+
var ext = path.extname(name).slice(1).toLowerCase();
|
|
21
|
+
if (ext === 'css')
|
|
22
|
+
return 'sdk/abha/css/abha.css';
|
|
23
|
+
// images & other assets
|
|
24
|
+
if (/(png|jpe?g|svg|gif|tiff|bmp|ico|webp|avif)/i.test(ext)) {
|
|
25
|
+
return 'sdk/abha/assets/img/[name]-[hash][extname]';
|
|
26
|
+
}
|
|
27
|
+
if (/(woff2?|ttf|otf|eot)/i.test(ext)) {
|
|
28
|
+
return 'sdk/abha/assets/fonts/[name]-[hash][extname]';
|
|
29
|
+
}
|
|
30
|
+
return 'sdk/abha/assets/[name]-[hash][extname]';
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
resolve: {
|
|
36
|
+
dedupe: ['react', 'react-dom', 'react/jsx-runtime'],
|
|
37
|
+
alias: {
|
|
38
|
+
react: path.resolve(__dirname, 'node_modules/react'),
|
|
39
|
+
'react-dom': path.resolve(__dirname, 'node_modules/react-dom'),
|
|
40
|
+
},
|
|
41
|
+
// default is false; keep it false so symlinks resolve to the real path
|
|
42
|
+
// preserveSymlinks: false,
|
|
43
|
+
},
|
|
44
|
+
server: { port: 80, host: 'nishant.eka.care' },
|
|
45
|
+
});
|