@ekyc_qoobiss/qbs-ect-cmp 3.6.15 → 3.6.17

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.
Files changed (33) hide show
  1. package/dist/cjs/agreement-check_19.cjs.entry.js +316 -701
  2. package/dist/cjs/{index-79f82518.js → index-41696e0e.js} +6 -1
  3. package/dist/cjs/loader-dots.cjs.entry.js +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/qbs-ect-cmp.cjs.js +2 -2
  6. package/dist/cjs/random-actions.cjs.entry.js +22 -0
  7. package/dist/cjs/store-4bf93725.js +415 -0
  8. package/dist/collection/collection-manifest.json +1 -0
  9. package/dist/collection/components/common/agreement-check/agreement-check.js +21 -2
  10. package/dist/collection/components/common/random-actions/random-actions.css +0 -0
  11. package/dist/collection/components/common/random-actions/random-actions.js +20 -0
  12. package/dist/collection/components/flow/process-id/process-id.js +3 -0
  13. package/dist/collection/components/flow/user-liveness/user-liveness.js +13 -15
  14. package/dist/collection/components/identification-component/identification-component.css +7 -0
  15. package/dist/esm/agreement-check_19.entry.js +30 -415
  16. package/dist/esm/{index-9d69e511.js → index-cf54a432.js} +7 -2
  17. package/dist/esm/loader-dots.entry.js +1 -1
  18. package/dist/esm/loader.js +3 -3
  19. package/dist/esm/qbs-ect-cmp.js +3 -3
  20. package/dist/esm/random-actions.entry.js +18 -0
  21. package/dist/esm/store-b76678da.js +399 -0
  22. package/dist/qbs-ect-cmp/{p-4c8e922b.entry.js → p-054dc5b3.entry.js} +1 -1
  23. package/dist/qbs-ect-cmp/p-0a37620f.entry.js +1 -0
  24. package/dist/qbs-ect-cmp/p-27abb3e6.js +1 -0
  25. package/dist/qbs-ect-cmp/p-8942656c.js +2 -0
  26. package/dist/qbs-ect-cmp/{p-a85dd6fc.entry.js → p-b828c183.entry.js} +22 -22
  27. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  28. package/dist/types/components/common/agreement-check/agreement-check.d.ts +2 -0
  29. package/dist/types/components/common/random-actions/random-actions.d.ts +7 -0
  30. package/dist/types/components/flow/user-liveness/user-liveness.d.ts +2 -2
  31. package/dist/types/components.d.ts +13 -0
  32. package/package.json +1 -1
  33. package/dist/qbs-ect-cmp/p-06e42b28.js +0 -2
@@ -1,4 +1,5 @@
1
- import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, a as getElement } from './index-9d69e511.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cf54a432.js';
2
+ import { A as ApiUrls, s as state, F as FlowStatus, a as AgreementCheckValues, b as AgreementInfoValues, S as SessionKeys, G as GlobalValues, C as CameraErrorValues, I as IdCaptureValues, c as SelfieCaptureValues, d as CompleteValues, H as HowToValues, L as LandingValues, M as MobileRedirectValues, P as PhoneValidationValues, e as CodeValidationValues } from './store-b76678da.js';
2
3
 
3
4
  var OrderStatuses;
4
5
  (function (OrderStatuses) {
@@ -9,402 +10,6 @@ var OrderStatuses;
9
10
  OrderStatuses[OrderStatuses["Aborted"] = 4] = "Aborted";
10
11
  })(OrderStatuses || (OrderStatuses = {}));
11
12
 
12
- const appendToMap = (map, propName, value) => {
13
- const items = map.get(propName);
14
- if (!items) {
15
- map.set(propName, [value]);
16
- }
17
- else if (!items.includes(value)) {
18
- items.push(value);
19
- }
20
- };
21
- const debounce = (fn, ms) => {
22
- let timeoutId;
23
- return (...args) => {
24
- if (timeoutId) {
25
- clearTimeout(timeoutId);
26
- }
27
- timeoutId = setTimeout(() => {
28
- timeoutId = 0;
29
- fn(...args);
30
- }, ms);
31
- };
32
- };
33
-
34
- /**
35
- * Check if a possible element isConnected.
36
- * The property might not be there, so we check for it.
37
- *
38
- * We want it to return true if isConnected is not a property,
39
- * otherwise we would remove these elements and would not update.
40
- *
41
- * Better leak in Edge than to be useless.
42
- */
43
- const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
44
- const cleanupElements = debounce((map) => {
45
- for (let key of map.keys()) {
46
- map.set(key, map.get(key).filter(isConnected));
47
- }
48
- }, 2000);
49
- const stencilSubscription = () => {
50
- if (typeof getRenderingRef !== 'function') {
51
- // If we are not in a stencil project, we do nothing.
52
- // This function is not really exported by @stencil/core.
53
- return {};
54
- }
55
- const elmsToUpdate = new Map();
56
- return {
57
- dispose: () => elmsToUpdate.clear(),
58
- get: (propName) => {
59
- const elm = getRenderingRef();
60
- if (elm) {
61
- appendToMap(elmsToUpdate, propName, elm);
62
- }
63
- },
64
- set: (propName) => {
65
- const elements = elmsToUpdate.get(propName);
66
- if (elements) {
67
- elmsToUpdate.set(propName, elements.filter(forceUpdate));
68
- }
69
- cleanupElements(elmsToUpdate);
70
- },
71
- reset: () => {
72
- elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
73
- cleanupElements(elmsToUpdate);
74
- },
75
- };
76
- };
77
-
78
- const unwrap = (val) => (typeof val === 'function' ? val() : val);
79
- const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
80
- const unwrappedState = unwrap(defaultState);
81
- let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));
82
- const handlers = {
83
- dispose: [],
84
- get: [],
85
- set: [],
86
- reset: [],
87
- };
88
- const reset = () => {
89
- var _a;
90
- // When resetting the state, the default state may be a function - unwrap it to invoke it.
91
- // otherwise, the state won't be properly reset
92
- states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));
93
- handlers.reset.forEach((cb) => cb());
94
- };
95
- const dispose = () => {
96
- // Call first dispose as resetting the state would
97
- // cause less updates ;)
98
- handlers.dispose.forEach((cb) => cb());
99
- reset();
100
- };
101
- const get = (propName) => {
102
- handlers.get.forEach((cb) => cb(propName));
103
- return states.get(propName);
104
- };
105
- const set = (propName, value) => {
106
- const oldValue = states.get(propName);
107
- if (shouldUpdate(value, oldValue, propName)) {
108
- states.set(propName, value);
109
- handlers.set.forEach((cb) => cb(propName, value, oldValue));
110
- }
111
- };
112
- const state = (typeof Proxy === 'undefined'
113
- ? {}
114
- : new Proxy(unwrappedState, {
115
- get(_, propName) {
116
- return get(propName);
117
- },
118
- ownKeys(_) {
119
- return Array.from(states.keys());
120
- },
121
- getOwnPropertyDescriptor() {
122
- return {
123
- enumerable: true,
124
- configurable: true,
125
- };
126
- },
127
- has(_, propName) {
128
- return states.has(propName);
129
- },
130
- set(_, propName, value) {
131
- set(propName, value);
132
- return true;
133
- },
134
- }));
135
- const on = (eventName, callback) => {
136
- handlers[eventName].push(callback);
137
- return () => {
138
- removeFromArray(handlers[eventName], callback);
139
- };
140
- };
141
- const onChange = (propName, cb) => {
142
- const unSet = on('set', (key, newValue) => {
143
- if (key === propName) {
144
- cb(newValue);
145
- }
146
- });
147
- // We need to unwrap the defaultState because it might be a function.
148
- // Otherwise we might not be sending the right reset value.
149
- const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));
150
- return () => {
151
- unSet();
152
- unReset();
153
- };
154
- };
155
- const use = (...subscriptions) => {
156
- const unsubs = subscriptions.reduce((unsubs, subscription) => {
157
- if (subscription.set) {
158
- unsubs.push(on('set', subscription.set));
159
- }
160
- if (subscription.get) {
161
- unsubs.push(on('get', subscription.get));
162
- }
163
- if (subscription.reset) {
164
- unsubs.push(on('reset', subscription.reset));
165
- }
166
- if (subscription.dispose) {
167
- unsubs.push(on('dispose', subscription.dispose));
168
- }
169
- return unsubs;
170
- }, []);
171
- return () => unsubs.forEach((unsub) => unsub());
172
- };
173
- const forceUpdate = (key) => {
174
- const oldValue = states.get(key);
175
- handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
176
- };
177
- return {
178
- state,
179
- get,
180
- set,
181
- on,
182
- onChange,
183
- use,
184
- dispose,
185
- reset,
186
- forceUpdate,
187
- };
188
- };
189
- const removeFromArray = (array, item) => {
190
- const index = array.indexOf(item);
191
- if (index >= 0) {
192
- array[index] = array[array.length - 1];
193
- array.length--;
194
- }
195
- };
196
-
197
- const createStore = (defaultState, shouldUpdate) => {
198
- const map = createObservableMap(defaultState, shouldUpdate);
199
- map.use(stencilSubscription());
200
- return map;
201
- };
202
-
203
- var FlowStatus;
204
- (function (FlowStatus) {
205
- FlowStatus[FlowStatus["LANDING"] = 0] = "LANDING";
206
- FlowStatus[FlowStatus["AGREEMENT"] = 1] = "AGREEMENT";
207
- FlowStatus[FlowStatus["PHONE"] = 2] = "PHONE";
208
- FlowStatus[FlowStatus["CODE"] = 3] = "CODE";
209
- FlowStatus[FlowStatus["CODEERROR"] = 4] = "CODEERROR";
210
- FlowStatus[FlowStatus["ID"] = 5] = "ID";
211
- FlowStatus[FlowStatus["LIVENESS"] = 6] = "LIVENESS";
212
- FlowStatus[FlowStatus["COMPLETE"] = 7] = "COMPLETE";
213
- FlowStatus[FlowStatus["ERROREND"] = 8] = "ERROREND";
214
- FlowStatus[FlowStatus["CAMERAERROR"] = 9] = "CAMERAERROR";
215
- FlowStatus[FlowStatus["NONE"] = 10] = "NONE";
216
- })(FlowStatus || (FlowStatus = {}));
217
-
218
- class GlobalValues {
219
- }
220
- GlobalValues.FooterText = 'Qoobiss eKYC';
221
- GlobalValues.VideoLenght = 3100;
222
- class HowToValues extends GlobalValues {
223
- }
224
- HowToValues.IdTitile = 'Prezintă actul tău de identitate';
225
- HowToValues.IdSubTitileFace = 'Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.';
226
- HowToValues.IdSubTitileBack = 'Este necesară captarea pe verso a actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.';
227
- HowToValues.IdButton = 'Sunt gata!';
228
- HowToValues.SelfieTitile = 'Validare video';
229
- HowToValues.SelfieSubTitile = 'Este necesară realizarea unei înregistrări video. Respectă intrucțiunile ce vor fi afișate pe ecran.';
230
- HowToValues.SelfieButton = 'Sunt gata!';
231
- class LandingValues extends GlobalValues {
232
- }
233
- LandingValues.Title = 'Validarea identității la distanță este o procedură simplă și rapidă';
234
- LandingValues.Description = 'Asigură-te că ai:';
235
- LandingValues.IdInfo = 'Actul de identitate, în original';
236
- LandingValues.DeviceInfo = 'Un telefon mobil sau un calculator cu camera web';
237
- LandingValues.SmsInfo = 'Acces la un telefon mobil ce permite primirea de mesaje SMS';
238
- LandingValues.Warning = 'ATENȚIE! În cadrul acestui proces se poate utiliza doar cartea de identitate Românească.';
239
- LandingValues.WarningMd = 'ATENȚIE! In cadrul acestui proces se pot utiliza doar buletinele de identitate din Republica Moldova.';
240
- LandingValues.Terms = 'Prin continuarea procesului, confirmi că ai citit termenii de utilizare și ești de acord cu aceștia.';
241
- LandingValues.Button = 'Am înțeles';
242
- LandingValues.ButtonLeave = 'Nu sunt pregătit';
243
- class PhoneValidationValues extends GlobalValues {
244
- }
245
- PhoneValidationValues.Title = 'Este necesar să validăm numărul tău de telefon';
246
- PhoneValidationValues.Description = 'Introdu mai jos numarul tau de telefon:';
247
- PhoneValidationValues.Button = 'Trimite SMS de verificare';
248
- PhoneValidationValues.Label = 'Numarul tau de telefon';
249
- class CodeValidationValues extends GlobalValues {
250
- }
251
- CodeValidationValues.Title = 'Introdu codul de validare primit prin sms:';
252
- CodeValidationValues.Description = ' ';
253
- CodeValidationValues.Button = 'Validează';
254
- CodeValidationValues.Error = 'Codul introdus nu este valid. Asigură-te că îl introduci corect';
255
- class CompleteValues extends GlobalValues {
256
- }
257
- CompleteValues.Title = 'Procesul a fost finalizat.';
258
- CompleteValues.Description = 'Vei fi redirecționat în câteva momente.';
259
- CompleteValues.Message = 'Îți mulțumim!';
260
- class SessionKeys {
261
- }
262
- SessionKeys.FlowStatusKey = 'qbs-ect-flowstatus';
263
- SessionKeys.RequestIdKey = 'qbs-ect-requestid';
264
- SessionKeys.TokenKey = 'qbs-ect-token';
265
- SessionKeys.InitialisedKey = 'qbs-ect-initialised';
266
- SessionKeys.HasIdBackKey = 'qbs-ect-has-id-back';
267
- SessionKeys.AgreementValidationKey = 'qbs-ect-agreement-validation';
268
- SessionKeys.PhoneValidationKey = 'qbs-ect-phone-validation';
269
- SessionKeys.RefreshDoneKey = 'qbs-ect-refresh-done';
270
- class IdCaptureValues extends GlobalValues {
271
- }
272
- IdCaptureValues.Button = 'Încerc din nou';
273
- IdCaptureValues.Title = 'Încadrează actul de identitate în chenarul de pe ecran.';
274
- IdCaptureValues.TitleBack = 'Încadrează spatele actului de identitate în chenarul de pe ecran.';
275
- IdCaptureValues.TtileRotate = 'Întoarce actul de identitate.';
276
- IdCaptureValues.ErrorTitleR1 = 'Nu am putut colecta informațiile din actul de identitate!';
277
- IdCaptureValues.ErrorTitleR2 = 'Te rugăm să mai încerci o dată!';
278
- IdCaptureValues.ErrorR1 = 'Încadrează actul de identitate în așa fel încât chenarul să se potrivească perfect pe colțurile actului de identitate. Trebuie să fie vizibilă întreaga suprafață a actului de identitate. ';
279
- IdCaptureValues.ErrorR2 = 'Ai grijă să te afli într-o zonă cu suficientă lumină și să nu acoperi părți ale actului de identitate cu degetele. Ai grijă de asemenea să nu se formeze reflexii de lumină pe suprafața acestuia.';
280
- IdCaptureValues.IDPoseMapping = {
281
- 0: '',
282
- 1: 'Înclină actul de identitate spre spate.',
283
- 2: '',
284
- 3: '',
285
- 4: '',
286
- };
287
- IdCaptureValues.IDPoseDemoMapping = {
288
- 0: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_front.mp4',
289
- 1: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_front_tilt.mp4',
290
- 2: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_rotate.mp4',
291
- 3: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_back.mp4',
292
- 4: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_back_tilt.mp4',
293
- };
294
- IdCaptureValues.Loading = 'Transferăm datele. Asteptați...';
295
- class SelfieCaptureValues extends GlobalValues {
296
- }
297
- SelfieCaptureValues.Title = 'Încadrează fața în chenarul de pe ecran.';
298
- SelfieCaptureValues.FinalTitle = 'Îndreaptă capul și încadrează fața în chenarul de pe ecran.';
299
- SelfieCaptureValues.ErrorTitleR1 = 'Procesul a eșuat!';
300
- SelfieCaptureValues.ErrorTitleR2 = 'Te rugăm să mai încerci o dată!';
301
- SelfieCaptureValues.ErrorR1 = 'Încadrează fața în așa fel încât chenarul să se suprapună peste linia bărbiei și a frunții, exact așa cum vezi în animația de pe ecran. ';
302
- SelfieCaptureValues.ErrorR2 = 'Rămâi cu fața încadrată în chenar și execută gestul solicitat după ce animația cu explicația a dispărut de pe ecran.';
303
- SelfieCaptureValues.Loading = 'Transferăm datele. Asteptați...';
304
- SelfieCaptureValues.FacePoseMapping = {
305
- 0: 'Întoarce capul spre stânga.',
306
- 1: 'Întoarce capul spre dreapta.',
307
- 2: 'Înclină capul spre spate.',
308
- 3: 'Înclină capul în față.',
309
- // 4: 'Înclină capul spre stânga.',
310
- // 5: 'Înclină capul spre dreapta.',
311
- 4: '',
312
- };
313
- SelfieCaptureValues.FacePoseDemoMapping = {
314
- 0: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_left.mp4',
315
- 1: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_right.mp4',
316
- 2: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_back.mp4',
317
- 3: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_front.mp4',
318
- // 4: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_left.mp4',
319
- // 5: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_right.mp4',
320
- 4: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_main.mp4',
321
- };
322
- class AgreementInfoValues extends GlobalValues {
323
- }
324
- AgreementInfoValues.Title = 'Pentru începerea identificării avem nevoie de acordurile tale:';
325
- AgreementInfoValues.Button = 'Încep identificarea';
326
- AgreementInfoValues.Terms = 'Am luat la cunoștință și sunt de acord cu Termenii și condițiile generale de utilizare';
327
- AgreementInfoValues.Agreement = 'Îmi exprim acordul pentru prelucrarea datelor cu caracter personal';
328
- class AgreementCheckValues extends GlobalValues {
329
- }
330
- AgreementCheckValues.ButtonYes = 'Sunt de acord';
331
- AgreementCheckValues.ButtonNo = 'Nu sunt de acord';
332
- class ApiUrls {
333
- constructor() {
334
- this.uriEnv = '/';
335
- this.uriEnv = state.environment == 'QA' ? '/dev_' : '/';
336
- this.OtpSend = this.uriEnv + 'validation/otp/send';
337
- this.OtpCheck = this.uriEnv + 'validation/otp/check';
338
- this.IdentityInsert = this.uriEnv + 'validation/identity/insert';
339
- this.UploadCapture = this.uriEnv + 'validation/upload/capture';
340
- this.GetAgreement = this.uriEnv + 'validation/agreement/content';
341
- this.GenerateAgreement = this.uriEnv + 'validation/agreement/generate';
342
- this.SendLink = this.uriEnv + 'validation/otp/sendlink';
343
- this.GetStatus = this.uriEnv + 'validation/identity/status';
344
- this.AddLog = this.uriEnv + 'validation/logs/add';
345
- this.AddStep = this.uriEnv + 'validation/logs/step';
346
- this.AbortRequest = this.uriEnv + 'validation/identity/abort';
347
- }
348
- }
349
- class MobileRedirectValues extends GlobalValues {
350
- }
351
- MobileRedirectValues.InfoTop = 'Pentru a continua scanați codul de mai jos cu un smartphone.';
352
- MobileRedirectValues.InfoBottom = 'Sau introduceți un număr de telefon pentru a primi link-ul pe smartphone.';
353
- MobileRedirectValues.Validation = 'Număr de telefon invalid!';
354
- MobileRedirectValues.InfoWaiting = 'Așteptăm finalizarea procesului pe smartphone.';
355
- MobileRedirectValues.InfoAborted = 'Procesului de pe smartphone a fost amanat.';
356
- class CameraErrorValues extends GlobalValues {
357
- }
358
- CameraErrorValues.Title = 'Procesul de indetificare nu poate continua.';
359
- CameraErrorValues.Description = 'Nu am putut detecta nicio camera. Cel mai probabil nu ai acordat drept de acces acestui site, Te rugam sa dai acces si sa apesi butonul de mai jos dupa aceea.';
360
- CameraErrorValues.Button = 'Reincep procesul';
361
- CameraErrorValues.HowToLink = 'https://ekyc.blob.core.windows.net/$web/animations/enable_permissions_sm.mp4';
362
-
363
- const { state, onChange } = createStore({
364
- flowStatus: FlowStatus.NONE,
365
- environment: 'PROD',
366
- debug: false,
367
- requestId: '',
368
- redirectId: '',
369
- initialised: false,
370
- token: '',
371
- cameraIds: [],
372
- cameraId: '',
373
- hasIdBack: false,
374
- hasSelfieGesture: false,
375
- hasIdTilt: false,
376
- agreementsValidation: true,
377
- phoneValidation: true,
378
- phoneNumber: '',
379
- apiBaseUrl: 'https://apiro.id-kyc.com',
380
- device: null,
381
- recordingRetryCount: 0,
382
- });
383
- onChange('environment', value => {
384
- state.debug = value == 'QA';
385
- });
386
- onChange('flowStatus', value => {
387
- sessionStorage.setItem(SessionKeys.FlowStatusKey, FlowStatus[value]);
388
- });
389
- onChange('token', value => {
390
- sessionStorage.setItem(SessionKeys.TokenKey, value);
391
- });
392
- onChange('requestId', value => {
393
- sessionStorage.setItem(SessionKeys.RequestIdKey, value);
394
- });
395
- onChange('initialised', value => {
396
- sessionStorage.setItem(SessionKeys.InitialisedKey, String(value));
397
- });
398
- onChange('hasIdBack', value => {
399
- sessionStorage.setItem(SessionKeys.HasIdBackKey, String(value));
400
- });
401
- onChange('agreementsValidation', value => {
402
- sessionStorage.setItem(SessionKeys.AgreementValidationKey, String(value));
403
- });
404
- onChange('phoneValidation', value => {
405
- sessionStorage.setItem(SessionKeys.PhoneValidationKey, String(value));
406
- });
407
-
408
13
  var FlowSteps;
409
14
  (function (FlowSteps) {
410
15
  FlowSteps[FlowSteps["ComponentLoaded"] = 'component-loaded'] = "ComponentLoaded";
@@ -665,6 +270,7 @@ const AgreementCheck = class {
665
270
  this.agreementType = undefined;
666
271
  this.htmlContent = undefined;
667
272
  this.buttonEnabled = undefined;
273
+ this.scrollClass = 'scroll';
668
274
  this.apiCalls = new ApiCall();
669
275
  this.buttonEnabled = true;
670
276
  }
@@ -680,8 +286,16 @@ const AgreementCheck = class {
680
286
  this.buttonEnabled = false;
681
287
  this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
682
288
  }
289
+ handleScroll(ev) {
290
+ if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
291
+ this.scrollClass = 'scroll-full';
292
+ }
293
+ else {
294
+ this.scrollClass = 'scroll';
295
+ }
296
+ }
683
297
  render() {
684
- let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "scroll", innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, AgreementInfoValues.FooterText))))));
298
+ let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, AgreementInfoValues.FooterText))))));
685
299
  return this.htmlContent ? content : h("div", null);
686
300
  }
687
301
  };
@@ -6211,7 +5825,7 @@ function v4(options, buf, offset) {
6211
5825
  }
6212
5826
 
6213
5827
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
6214
- const version$1 = "3.6.15";
5828
+ const version$1 = "3.6.17";
6215
5829
  const description = "Person Identification Component";
6216
5830
  const main = "./dist/index.cjs.js";
6217
5831
  const module = "./dist/index.js";
@@ -6281,7 +5895,7 @@ const packageJson = {
6281
5895
 
6282
5896
  const loaderSvg = 'data:image/svg+xml;base64,PHN2ZyBpZD0ic3Bpbm5lckxvYWRlclJlZiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBvdmVyZmxvdz0idmlzaWJsZSIgZmlsbD0iIzAwMDAwMCIgc3Ryb2tlPSIjMDMwMzAzIiBjbGFzcz0ic2luZ2xlLWxvYWRlciI+DQogIDxkZWZzPg0KICAgIDxjaXJjbGUgaWQ9InNwaW5uZXIiIHI9IjQiIGN4PSI1MCIgY3k9IjUwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC0zMCkiLz4gICAgDQogIDwvZGVmcz4NCiAgPHVzZSB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeGxpbms6aHJlZj0iI3NwaW5uZXIiIHRyYW5zZm9ybT0icm90YXRlKDAgNTAgNTApIj4NCiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjA7MTswIiBkdXI9IjFzIiBiZWdpbj0iMHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+DQogIDwvdXNlPg0KICA8dXNlIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bGluazpocmVmPSIjc3Bpbm5lciIgdHJhbnNmb3JtPSJyb3RhdGUoNDUgNTAgNTApIj4NCiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjA7MTswIiBkdXI9IjFzIiBiZWdpbj0iMC4xMjVzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPg0KICA8L3VzZT4NCiAgPHVzZSB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeGxpbms6aHJlZj0iI3NwaW5uZXIiIHRyYW5zZm9ybT0icm90YXRlKDkwIDUwIDUwKSI+DQogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIwOzE7MCIgZHVyPSIxcyIgYmVnaW49IjAuMjVzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPg0KICA8L3VzZT4NCiAgPHVzZSB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeGxpbms6aHJlZj0iI3NwaW5uZXIiIHRyYW5zZm9ybT0icm90YXRlKDEzNSA1MCA1MCkiPg0KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9Im9wYWNpdHkiIHZhbHVlcz0iMDsxOzAiIGR1cj0iMXMiIGJlZ2luPSIwLjM3NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+DQogIDwvdXNlPg0KICA8dXNlIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bGluazpocmVmPSIjc3Bpbm5lciIgdHJhbnNmb3JtPSJyb3RhdGUoMTgwIDUwIDUwKSI+DQogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIwOzE7MCIgZHVyPSIxcyIgYmVnaW49IjAuNXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+DQogIDwvdXNlPg0KICA8dXNlIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bGluazpocmVmPSIjc3Bpbm5lciIgdHJhbnNmb3JtPSJyb3RhdGUoMjI1IDUwIDUwKSI+DQogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIwOzE7MCIgZHVyPSIxcyIgYmVnaW49IjAuNjI1cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4NCiAgPC91c2U+DQogIDx1c2UgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhsaW5rOmhyZWY9IiNzcGlubmVyIiB0cmFuc2Zvcm09InJvdGF0ZSgyNzAgNTAgNTApIj4NCiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiB2YWx1ZXM9IjA7MTswIiBkdXI9IjFzIiBiZWdpbj0iMC43NXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+DQogIDwvdXNlPg0KICA8dXNlIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bGluazpocmVmPSIjc3Bpbm5lciIgdHJhbnNmb3JtPSJyb3RhdGUoMzE1IDUwIDUwKSI+DQogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgdmFsdWVzPSIwOzE7MCIgZHVyPSIxcyIgYmVnaW49IjAuODc1cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz4NCiAgPC91c2U+DQo8L3N2Zz4=';
6283
5897
 
6284
- const identificationComponentCss = "@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-vietnamese-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-cyrillic-ext-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-cyrillic-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-greek-ext-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-greek-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-vietnamese-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-latin-ext-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-latin-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-cyrillic-ext-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-cyrillic-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-greek-ext-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-greek-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-vietnamese-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-latin-ext-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-latin-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-cyrillic-ext-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-cyrillic-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-greek-ext-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-greek-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-vietnamese-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-latin-ext-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-latin-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-vietnamese-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{font-family:'Inter', sans-serif}h1{font-weight:900;letter-spacing:0.01em;color:#1f2024;font-size:3.2vh;margin:0;line-height:3.5vh}.row-validare h1{font-size:27px;line-height:29px}body{margin:0;padding:0;height:100vh;position:relative;}.container{width:100%;height:100%;background-color:#fff;max-width:991px;margin:auto;position:relative;overflow:hidden}.container-video{height:99vh;text-align:center;position:relative;overflow:hidden}.row{padding:3.5vh 2.5vh;height:100%;overflow:hidden;position:relative;}.ctheight-100{height:99vh}.d-flex{display:flex}.space-between{justify-content:space-between}.img-info img{width:0.8vh;z-index:5;position:relative}.img-info{width:7vh;height:7vh;border-radius:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(100% 100% at 50% 0%, #d3b6e9 0%, #fbc2bd 100%)}.i-effect{animation:2.5s infinite transition-i;position:absolute;z-index:2;border-radius:100%;background:radial-gradient(100% 100% at 50% 0%, #d3b6e9 0%, #fbc2bd 100%)}.two-buttons{margin-top:3vh;justify-content:center}.align-center{align-items:center}.main-text{font-weight:400;color:#71727a}.link-text{margin-top:1vh;text-decoration:underline}.font-size-2{font-size:2vh}.row-validare .font-size-2{font-size:17px;line-height:19px}.img-text{display:flex;align-items:center;margin-bottom:3vh}.img-text .bg-img img{width:100%;padding:2vh}.img-text h3{color:#333333;font-weight:700;font-size:2.3vh;margin:0}.img-text .bg-img{background:#e1e3e9;border-radius:30%;width:11vh;height:11vh;display:flex;align-items:center;justify-content:center;flex:none;margin-right:3vh}.font-weight-bold{font-weight:bold}.font-size-18{font-size:1.8vh}.row-validare .font-size-18{font-size:15px;line-height:16px}a{font-size:inherit;color:inherit;text-decoration:none}.color-black{color:#000}.main-button{background:#1feaa6;box-shadow:0 6px 8px rgba(71, 182, 162, 0.2);border-radius:25px;text-align:center;width:100%;padding:2vh;color:#fff;border:0;font-size:2vh}.main-button:disabled{color:#71727a}.normal-button{background:#1feaa6;box-shadow:0 6px 8px rgba(71, 182, 162, 0.2);border-radius:25px;text-align:center;padding:2vh;margin-right:1vw;margin-left:1vw;color:#fff;border:0;font-size:2vh}.red-button{background:#ff535d}.row-validare .main-button{font-size:17px}.text-right{text-align:right}.mb-1{margin-bottom:1vh}.mb-0{margin-bottom:0}.row-validare.row{padding:29px 21px}.row-validare .main-button{padding:16px}.row-validare .btn-buletin{position:relative;width:100%;bottom:0}.show-bottom{bottom:-2vh}.row-validare .main-input{padding:14px 12px;border-radius:12px;font-weight:700;border:2px solid #464e58;font-size:19px}.main-input{width:100%;padding:22px 26px;border:3px solid #464e58;border-radius:20px;font-weight:600;font-size:2.3vh;font-family:'Inter', sans-serif}.second-input{width:46px;height:46px;font-weight:700;font-size:16px;font-family:'Inter', sans-serif;text-align:center;border:2px solid #c5c6cc;border-radius:12px;outline:none;padding:2px}.second-input:not(:placeholder-shown){border:2px solid #1feaa6;color:#1feaa6}.mt-9{margin-top:9%}.second-input::placeholder{color:#fff;opacity:0}.second-input:focus{border:2px solid #464e58;color:#464e58}.second-input.error{border:2px solid #b67171}.second-input.error:focus{border:3px solid #b67171;color:#b67171;padding:1px}.second-input.error:not(:placeholder-shown){border:3px solid #b67171;color:#b67171;padding:2px}.second-input-container{margin-top:30%;display:flex;flex-wrap:wrap;justify-content:space-between}.input-container{display:flex;flex-wrap:wrap}.mt-15{margin-top:15%}.row-validare .mt-15{margin-top:40px}.mb-15{margin-bottom:15%}.row-validare .mb-15{margin-bottom:40px}.mb-20{margin-bottom:20%}.row-validare .mb-1{margin-bottom:20px}.row-validare .mb-20{margin-bottom:60px}.mt-90{margin-top:90px}.op-05{opacity:0.5}.color-red{color:#b67171}.error-text{position:relative;top:50px;margin-bottom:0;margin-top:0}.top-50{top:50px}.mt-25{margin-top:25%}.text-center{text-align:center}.scale-2{transform:scale(2)}.mt-20{margin-top:20%}.div-ci img{max-height:60vh;max-width:80vw}.div-ci{text-align:center}.mt-10{margin-top:10vh}.mt-5{margin-top:5vh}.pos-relative{position:relative}.pos-absolute{position:absolute}.btn-buletin{text-align:center}.buletin-container img{width:60%}.buletin-container>img{margin-top:10vh}.buletin-container{text-align:center}.bg-black{background-color:#242426}.color-white{color:#fff}.chenar-buletin{margin-top:3em;text-align:center}.chenar-buletin .ci-img{width:96%}.chenar-buletin .face-img,.chenar-buletin .chenar-img{left:4%;width:92%;top:-20px;min-height:55vw;display:flex;position:absolute;align-items:center;background-color:rgba(255, 255, 255, 0.2);justify-content:center}.chenar-buletin img{width:auto;height:100%;top:0;left:0;position:absolute;border-radius:10px;z-index:4}.chenar-buletin .face-img{background-color:rgba(255, 255, 255, 0.3)}.buletin-container .w-40{width:40%}.animation{width:100%;height:100%;}.color-black-2{color:#71727a}.font-size-3{font-size:3vh}.font-size-25{font-size:2.5vh}.font-weight-900{font-weight:900}.mt-8{margin-top:8vh}.mt-12{margin-top:12vh}.mt-30-i{margin-top:30% !important}.chenar-buletin .face-img{left:-2%;width:104%;top:-40px}.pl-2-5{padding-left:2.5vh}.container-coin{background-color:transparent;perspective:1000px;rotate:120deg 0deg}.coin-flip{animation:flip 0.4s ease-in;animation-delay:0.5s;transform-style:preserve-3d;animation-fill-mode:forwards;visibility:hidden}.coin-scale{animation:show 0.4s ease-in;animation-delay:0.5s;transform-style:preserve-3d;animation-fill-mode:forwards}.scroll{margin:4px, 4px;padding:4px;height:70vh;overflow-x:hidden;overflow-y:auto}.video-demo{z-index:0;width:100%;height:100%;border-radius:20px}.video-capture{padding:2.5vh 2.5vh;margin-top:3em;text-align:center;position:relative}.capture-title{z-index:4;margin-top:3vh;position:absolute;bottom:5vh;padding:2.5vh 2.5vh}@keyframes transition-i{from{width:0;height:0;opacity:1}80%{width:10vh;height:10vh;opacity:0.5}100%{opacity:0}}@keyframes flip{0%{transform:rotateX(140deg);visibility:visible}25%{transform:rotateX(120deg);visibility:visible}50%{transform:rotateX(90deg);visibility:visible}75%{transform:rotateX(75deg);visibility:visible}100%{transform:rotateX(0deg);visibility:visible}}@keyframes show{0%{transform:scale(0)}25%{transform:scale(0.2)}40%{transform:scale(0.4)}50%{transform:scale(0.5)}60%{transform:scale(0.6)}70%{transform:scale(0.7)}100%{transform:scale(1)}}@keyframes rise{0%{visibility:hidden}50%{visibility:visible}100%{visibility:visible}}.buletin-container.rotate-x img{animation:transform-rotate-x 2s infinite ease-in}.rotateimg90{animation:transform-rotate-x2 2s forwards;animation-delay:1s;position:absolute}.rotateimg180{animation:transform-rotate-x3 2s forwards;animation-delay:3s;position:absolute;opacity:0}.buletin-back{display:flex;justify-content:center}@keyframes transform-rotate-x3{from{transform:rotateY(-90deg);opacity:1}to{transform:rotateY(0deg);opacity:1}}@keyframes transform-rotate-x2{to{transform:rotateY(90deg)}}@keyframes transform-rotate-x{to{transform:perspective(600px) rotateX(40deg)}}@media only screen and (max-width: 350px){.second-input{width:36px;height:36px}}@media only screen and (max-width: 390px){.second-input{width:40px;height:40px}}@media only screen and (min-width: 530px) and (max-width: 767px){.chenar-buletin .face-img{width:70%;min-height:auto;margin:auto;left:15%;right:auto;top:-15vh}}@media only screen and (min-width: 600px) and (max-width: 767px){.max-h img{margin-left:15%;margin-right:15%}.max-h{display:flex;align-items:center}}@media only screen and (max-width: 991px){.buletin-container img{max-width:220px}}@media only screen and (min-width: 767px){.container{max-width:530px;margin:40px auto;border-radius:20px;box-shadow:1px 1px 10px rgba(0, 0, 0, 0.1)}body{height:90vh}.btn-buletin{max-width:490px;bottom:7vh}.buletin-container img{width:45%}.chenar-buletin .face-img,.chenar-buletin .chenar-img{min-height:300px}.chenar-buletin .face-img{width:80%;min-height:auto;margin:auto;left:10%;right:auto;top:-10vh}}";
5898
+ const identificationComponentCss = "@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-vietnamese-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-cyrillic-ext-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-cyrillic-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-greek-ext-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-greek-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-vietnamese-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-latin-ext-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:900;src:url('./files/inter-latin-900-normal.woff2') format('woff2'), url('./files/inter-all-900-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-cyrillic-ext-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-cyrillic-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-greek-ext-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-greek-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-vietnamese-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-latin-ext-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:700;src:url('./files/inter-latin-700-normal.woff2') format('woff2'), url('./files/inter-all-700-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-cyrillic-ext-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-cyrillic-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-greek-ext-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-greek-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-vietnamese-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-latin-ext-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:600;src:url('./files/inter-latin-600-normal.woff2') format('woff2'), url('./files/inter-all-600-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-cyrillic-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+1F00-1FFF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-greek-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0370-03FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-vietnamese-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-ext-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:400;src:url('./files/inter-latin-400-normal.woff2') format('woff2'), url('./files/inter-all-400-normal.woff') format('woff');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{font-family:'Inter', sans-serif}h1{font-weight:900;letter-spacing:0.01em;color:#1f2024;font-size:3.2vh;margin:0;line-height:3.5vh}.row-validare h1{font-size:27px;line-height:29px}body{margin:0;padding:0;height:100vh;position:relative;}.container{width:100%;height:100%;background-color:#fff;max-width:991px;margin:auto;position:relative;overflow:hidden}.container-video{height:99vh;text-align:center;position:relative;overflow:hidden}.row{padding:3.5vh 2.5vh;height:100%;overflow:hidden;position:relative;}.ctheight-100{height:99vh}.d-flex{display:flex}.space-between{justify-content:space-between}.img-info img{width:0.8vh;z-index:5;position:relative}.img-info{width:7vh;height:7vh;border-radius:100%;display:flex;align-items:center;justify-content:center;background:radial-gradient(100% 100% at 50% 0%, #d3b6e9 0%, #fbc2bd 100%)}.i-effect{animation:2.5s infinite transition-i;position:absolute;z-index:2;border-radius:100%;background:radial-gradient(100% 100% at 50% 0%, #d3b6e9 0%, #fbc2bd 100%)}.two-buttons{margin-top:3vh;justify-content:center}.align-center{align-items:center}.main-text{font-weight:400;color:#71727a}.link-text{margin-top:1vh;text-decoration:underline}.font-size-2{font-size:2vh}.row-validare .font-size-2{font-size:17px;line-height:19px}.img-text{display:flex;align-items:center;margin-bottom:3vh}.img-text .bg-img img{width:100%;padding:2vh}.img-text h3{color:#333333;font-weight:700;font-size:2.3vh;margin:0}.img-text .bg-img{background:#e1e3e9;border-radius:30%;width:11vh;height:11vh;display:flex;align-items:center;justify-content:center;flex:none;margin-right:3vh}.font-weight-bold{font-weight:bold}.font-size-18{font-size:1.8vh}.row-validare .font-size-18{font-size:15px;line-height:16px}a{font-size:inherit;color:inherit;text-decoration:none}.color-black{color:#000}.main-button{background:#1feaa6;box-shadow:0 6px 8px rgba(71, 182, 162, 0.2);border-radius:25px;text-align:center;width:100%;padding:2vh;color:#fff;border:0;font-size:2vh}.main-button:disabled{color:#71727a}.normal-button{background:#1feaa6;box-shadow:0 6px 8px rgba(71, 182, 162, 0.2);border-radius:25px;text-align:center;padding:2vh;margin-right:1vw;margin-left:1vw;color:#fff;border:0;font-size:2vh}.red-button{background:#ff535d}.row-validare .main-button{font-size:17px}.text-right{text-align:right}.mb-1{margin-bottom:1vh}.mb-0{margin-bottom:0}.row-validare.row{padding:29px 21px}.row-validare .main-button{padding:16px}.row-validare .btn-buletin{position:relative;width:100%;bottom:0}.show-bottom{bottom:-2vh}.row-validare .main-input{padding:14px 12px;border-radius:12px;font-weight:700;border:2px solid #464e58;font-size:19px}.main-input{width:100%;padding:22px 26px;border:3px solid #464e58;border-radius:20px;font-weight:600;font-size:2.3vh;font-family:'Inter', sans-serif}.second-input{width:46px;height:46px;font-weight:700;font-size:16px;font-family:'Inter', sans-serif;text-align:center;border:2px solid #c5c6cc;border-radius:12px;outline:none;padding:2px}.second-input:not(:placeholder-shown){border:2px solid #1feaa6;color:#1feaa6}.mt-9{margin-top:9%}.second-input::placeholder{color:#fff;opacity:0}.second-input:focus{border:2px solid #464e58;color:#464e58}.second-input.error{border:2px solid #b67171}.second-input.error:focus{border:3px solid #b67171;color:#b67171;padding:1px}.second-input.error:not(:placeholder-shown){border:3px solid #b67171;color:#b67171;padding:2px}.second-input-container{margin-top:30%;display:flex;flex-wrap:wrap;justify-content:space-between}.input-container{display:flex;flex-wrap:wrap}.mt-15{margin-top:15%}.row-validare .mt-15{margin-top:40px}.mb-15{margin-bottom:15%}.row-validare .mb-15{margin-bottom:40px}.mb-20{margin-bottom:20%}.row-validare .mb-1{margin-bottom:20px}.row-validare .mb-20{margin-bottom:60px}.mt-90{margin-top:90px}.op-05{opacity:0.5}.color-red{color:#b67171}.error-text{position:relative;top:50px;margin-bottom:0;margin-top:0}.top-50{top:50px}.mt-25{margin-top:25%}.text-center{text-align:center}.scale-2{transform:scale(2)}.mt-20{margin-top:20%}.div-ci img{max-height:60vh;max-width:80vw}.div-ci{text-align:center}.mt-10{margin-top:10vh}.mt-5{margin-top:5vh}.pos-relative{position:relative}.pos-absolute{position:absolute}.btn-buletin{text-align:center}.buletin-container img{width:60%}.buletin-container>img{margin-top:10vh}.buletin-container{text-align:center}.bg-black{background-color:#242426}.color-white{color:#fff}.chenar-buletin{margin-top:3em;text-align:center}.chenar-buletin .ci-img{width:96%}.chenar-buletin .face-img,.chenar-buletin .chenar-img{left:4%;width:92%;top:-20px;min-height:55vw;display:flex;position:absolute;align-items:center;background-color:rgba(255, 255, 255, 0.2);justify-content:center}.chenar-buletin img{width:auto;height:100%;top:0;left:0;position:absolute;border-radius:10px;z-index:4}.chenar-buletin .face-img{background-color:rgba(255, 255, 255, 0.3)}.buletin-container .w-40{width:40%}.animation{width:100%;height:100%;}.color-black-2{color:#71727a}.font-size-3{font-size:3vh}.font-size-25{font-size:2.5vh}.font-weight-900{font-weight:900}.mt-8{margin-top:8vh}.mt-12{margin-top:12vh}.mt-30-i{margin-top:30% !important}.chenar-buletin .face-img{left:-2%;width:104%;top:-40px}.pl-2-5{padding-left:2.5vh}.container-coin{background-color:transparent;perspective:1000px;rotate:120deg 0deg}.coin-flip{animation:flip 0.4s ease-in;animation-delay:0.5s;transform-style:preserve-3d;animation-fill-mode:forwards;visibility:hidden}.coin-scale{animation:show 0.4s ease-in;animation-delay:0.5s;transform-style:preserve-3d;animation-fill-mode:forwards}.scroll{margin:4px, 4px;padding:4px;height:70vh;overflow-x:hidden;overflow-y:auto}.scroll-full{margin:4px, 4px;padding:4px;overflow-x:hidden;overflow-y:auto}.video-demo{z-index:0;width:100%;height:100%;border-radius:20px}.video-capture{padding:2.5vh 2.5vh;margin-top:3em;text-align:center;position:relative}.capture-title{z-index:4;margin-top:3vh;position:absolute;bottom:5vh;padding:2.5vh 2.5vh}@keyframes transition-i{from{width:0;height:0;opacity:1}80%{width:10vh;height:10vh;opacity:0.5}100%{opacity:0}}@keyframes flip{0%{transform:rotateX(140deg);visibility:visible}25%{transform:rotateX(120deg);visibility:visible}50%{transform:rotateX(90deg);visibility:visible}75%{transform:rotateX(75deg);visibility:visible}100%{transform:rotateX(0deg);visibility:visible}}@keyframes show{0%{transform:scale(0)}25%{transform:scale(0.2)}40%{transform:scale(0.4)}50%{transform:scale(0.5)}60%{transform:scale(0.6)}70%{transform:scale(0.7)}100%{transform:scale(1)}}@keyframes rise{0%{visibility:hidden}50%{visibility:visible}100%{visibility:visible}}.buletin-container.rotate-x img{animation:transform-rotate-x 2s infinite ease-in}.rotateimg90{animation:transform-rotate-x2 2s forwards;animation-delay:1s;position:absolute}.rotateimg180{animation:transform-rotate-x3 2s forwards;animation-delay:3s;position:absolute;opacity:0}.buletin-back{display:flex;justify-content:center}@keyframes transform-rotate-x3{from{transform:rotateY(-90deg);opacity:1}to{transform:rotateY(0deg);opacity:1}}@keyframes transform-rotate-x2{to{transform:rotateY(90deg)}}@keyframes transform-rotate-x{to{transform:perspective(600px) rotateX(40deg)}}@media only screen and (max-width: 350px){.second-input{width:36px;height:36px}}@media only screen and (max-width: 390px){.second-input{width:40px;height:40px}}@media only screen and (min-width: 530px) and (max-width: 767px){.chenar-buletin .face-img{width:70%;min-height:auto;margin:auto;left:15%;right:auto;top:-15vh}}@media only screen and (min-width: 600px) and (max-width: 767px){.max-h img{margin-left:15%;margin-right:15%}.max-h{display:flex;align-items:center}}@media only screen and (max-width: 991px){.buletin-container img{max-width:220px}}@media only screen and (min-width: 767px){.container{max-width:530px;margin:40px auto;border-radius:20px;box-shadow:1px 1px 10px rgba(0, 0, 0, 0.1)}body{height:90vh}.btn-buletin{max-width:490px;bottom:7vh}.buletin-container img{width:45%}.chenar-buletin .face-img,.chenar-buletin .chenar-img{min-height:300px}.chenar-buletin .face-img{width:80%;min-height:auto;margin:auto;left:10%;right:auto;top:-10vh}}";
6285
5899
 
6286
5900
  const IdentificationComponent = class {
6287
5901
  async onTokenChange(newValue, _oldValue) {
@@ -9802,6 +9416,9 @@ const ProcessId = class {
9802
9416
  return false;
9803
9417
  }
9804
9418
  triggerErrorFlow(restart = false) {
9419
+ if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9420
+ restart = true;
9421
+ }
9805
9422
  if (restart) {
9806
9423
  this.captureStep = IdCaptureFlowStatus.IdFront;
9807
9424
  }
@@ -10311,7 +9928,7 @@ const UserLiveness = class {
10311
9928
  }
10312
9929
  try {
10313
9930
  var uploadPhoto = new File([selfiePhoto], this.flow.front.fileName, { type: 'image/png' });
10314
- await this.uploadPhoto(uploadPhoto);
9931
+ await this.uploadPhoto(uploadPhoto, this.flow.front.photoType);
10315
9932
  }
10316
9933
  catch (e) {
10317
9934
  this.apiErrorEvent.emit(e);
@@ -10329,16 +9946,15 @@ const UserLiveness = class {
10329
9946
  return;
10330
9947
  }
10331
9948
  let mimeType = selfieRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
10332
- let currentFlow;
10333
- if (this.captureStep == SelfieFlowStatus.Selfie) {
10334
- currentFlow = this.flow.front;
10335
- }
10336
- if (this.captureStep == SelfieFlowStatus.Gesture) {
10337
- currentFlow = this.flow.tilt;
10338
- }
10339
9949
  try {
10340
- let uploadRec = new File([selfieRecording], currentFlow.recName + mimeType.extension, { type: mimeType.type });
10341
- currentFlow.recordingDone = await this.uploadRecording(uploadRec);
9950
+ if (this.captureStep == SelfieFlowStatus.Selfie) {
9951
+ let uploadRec = new File([selfieRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
9952
+ this.flow.front.recordingDone = await this.uploadRecording(uploadRec, this.flow.front.recType);
9953
+ }
9954
+ if (this.captureStep == SelfieFlowStatus.Gesture) {
9955
+ let uploadRec = new File([selfieRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
9956
+ this.flow.tilt.recordingDone = await this.uploadRecording(uploadRec, this.flow.tilt.recType);
9957
+ }
10342
9958
  await this.endFlow();
10343
9959
  }
10344
9960
  catch (e) {
@@ -10352,17 +9968,16 @@ const UserLiveness = class {
10352
9968
  }
10353
9969
  }
10354
9970
  async verificationFinished(_event) {
10355
- this.captureStep = SelfieFlowStatus.End;
10356
9971
  await this.endFlow();
10357
9972
  }
10358
9973
  async disconnectedCallback() {
10359
9974
  await this.baseComponent.finalize();
10360
9975
  }
10361
- async uploadPhoto(photoFile) {
9976
+ async uploadPhoto(photoFile, photoType) {
10362
9977
  if (this.flow.front.photoDone) {
10363
9978
  return;
10364
9979
  }
10365
- this.flow.front.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, 'Selfie', photoFile);
9980
+ this.flow.front.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, photoType, photoFile);
10366
9981
  if (this.flow.front.photoDone) {
10367
9982
  await this.endFlow();
10368
9983
  }
@@ -10370,8 +9985,8 @@ const UserLiveness = class {
10370
9985
  this.triggerErrorFlow();
10371
9986
  }
10372
9987
  }
10373
- async uploadRecording(uploadRec) {
10374
- let uplodDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, 'SelfieVideo', uploadRec);
9988
+ async uploadRecording(uploadRec, recType) {
9989
+ let uplodDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, recType, uploadRec);
10375
9990
  if (uplodDone) {
10376
9991
  return true;
10377
9992
  }
@@ -1395,7 +1395,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1395
1395
  const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1396
1396
  if (listeners) {
1397
1397
  listeners.map(([flags, name, method]) => {
1398
- const target = elm;
1398
+ const target = getHostListenerTarget(elm, flags) ;
1399
1399
  const handler = hostListenerProxy(hostRef, method);
1400
1400
  const opts = hostListenerOpts(flags);
1401
1401
  plt.ael(target, name, handler, opts);
@@ -1419,6 +1419,11 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1419
1419
  consoleError(e);
1420
1420
  }
1421
1421
  };
1422
+ const getHostListenerTarget = (elm, flags) => {
1423
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1424
+ return win;
1425
+ return elm;
1426
+ };
1422
1427
  // prettier-ignore
1423
1428
  const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
1424
1429
  /**
@@ -1535,4 +1540,4 @@ const flush = () => {
1535
1540
  const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1536
1541
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1537
1542
 
1538
- export { getElement as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, getRenderingRef as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1543
+ export { getRenderingRef as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-9d69e511.js';
1
+ import { r as registerInstance, h } from './index-cf54a432.js';
2
2
 
3
3
  const loaderDotsCss = "i,i::before,i::after{animation-duration:0.5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}body{font-family:sans-serif}i{width:300px;height:75px;margin:auto;display:block;background:no-repeat;background-image:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));background-size:75px 75px;background-position:0%, 50%;position:relative;transform:translateZ(0) scale(0.25);animation-name:slide}i::before,i::after{content:'';width:75px;height:75px;background:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));position:absolute;top:50%;margin-top:-37.5px;animation-name:reveal}i::before{left:1%;animation-delay:40ms}i::after{right:1%;animation-direction:reverse}@keyframes slide{from{background-position:0%, 50%}to{background-position:50%, 100%}}@keyframes reveal{from{transform:scale(0.001)}to{transform:scale(1)}}";
4
4