@ekyc_qoobiss/qbs-ect-cmp 3.6.15 → 3.6.16

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 (27) hide show
  1. package/dist/cjs/agreement-check_19.cjs.entry.js +305 -698
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
  4. package/dist/cjs/random-actions.cjs.entry.js +22 -0
  5. package/dist/cjs/store-ab631a7a.js +415 -0
  6. package/dist/collection/collection-manifest.json +1 -0
  7. package/dist/collection/components/common/random-actions/random-actions.css +0 -0
  8. package/dist/collection/components/common/random-actions/random-actions.js +20 -0
  9. package/dist/collection/components/flow/process-id/process-id.js +3 -0
  10. package/dist/collection/components/flow/user-liveness/user-liveness.js +13 -14
  11. package/dist/esm/agreement-check_19.entry.js +19 -412
  12. package/dist/esm/{index-9d69e511.js → index-5d6f9123.js} +1 -1
  13. package/dist/esm/loader-dots.entry.js +1 -1
  14. package/dist/esm/loader.js +3 -3
  15. package/dist/esm/qbs-ect-cmp.js +3 -3
  16. package/dist/esm/random-actions.entry.js +18 -0
  17. package/dist/esm/store-b5192087.js +399 -0
  18. package/dist/qbs-ect-cmp/{p-a85dd6fc.entry.js → p-094ad8f3.entry.js} +22 -22
  19. package/dist/qbs-ect-cmp/{p-4c8e922b.entry.js → p-7c33dd41.entry.js} +1 -1
  20. package/dist/qbs-ect-cmp/p-927cd530.entry.js +1 -0
  21. package/dist/qbs-ect-cmp/p-a6506178.js +1 -0
  22. package/dist/qbs-ect-cmp/{p-06e42b28.js → p-aacd7024.js} +1 -1
  23. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  24. package/dist/types/components/common/random-actions/random-actions.d.ts +7 -0
  25. package/dist/types/components/flow/user-liveness/user-liveness.d.ts +2 -2
  26. package/dist/types/components.d.ts +13 -0
  27. package/package.json +1 -1
@@ -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-5d6f9123.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-b5192087.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";
@@ -6211,7 +5816,7 @@ function v4(options, buf, offset) {
6211
5816
  }
6212
5817
 
6213
5818
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
6214
- const version$1 = "3.6.15";
5819
+ const version$1 = "3.6.16";
6215
5820
  const description = "Person Identification Component";
6216
5821
  const main = "./dist/index.cjs.js";
6217
5822
  const module = "./dist/index.js";
@@ -9802,6 +9407,9 @@ const ProcessId = class {
9802
9407
  return false;
9803
9408
  }
9804
9409
  triggerErrorFlow(restart = false) {
9410
+ if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9411
+ restart = true;
9412
+ }
9805
9413
  if (restart) {
9806
9414
  this.captureStep = IdCaptureFlowStatus.IdFront;
9807
9415
  }
@@ -10311,7 +9919,7 @@ const UserLiveness = class {
10311
9919
  }
10312
9920
  try {
10313
9921
  var uploadPhoto = new File([selfiePhoto], this.flow.front.fileName, { type: 'image/png' });
10314
- await this.uploadPhoto(uploadPhoto);
9922
+ await this.uploadPhoto(uploadPhoto, this.flow.front.photoType);
10315
9923
  }
10316
9924
  catch (e) {
10317
9925
  this.apiErrorEvent.emit(e);
@@ -10329,16 +9937,15 @@ const UserLiveness = class {
10329
9937
  return;
10330
9938
  }
10331
9939
  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
9940
  try {
10340
- let uploadRec = new File([selfieRecording], currentFlow.recName + mimeType.extension, { type: mimeType.type });
10341
- currentFlow.recordingDone = await this.uploadRecording(uploadRec);
9941
+ if (this.captureStep == SelfieFlowStatus.Selfie) {
9942
+ let uploadRec = new File([selfieRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
9943
+ this.flow.front.recordingDone = await this.uploadRecording(uploadRec, this.flow.front.recType);
9944
+ }
9945
+ if (this.captureStep == SelfieFlowStatus.Gesture) {
9946
+ let uploadRec = new File([selfieRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
9947
+ this.flow.tilt.recordingDone = await this.uploadRecording(uploadRec, this.flow.tilt.recType);
9948
+ }
10342
9949
  await this.endFlow();
10343
9950
  }
10344
9951
  catch (e) {
@@ -10358,11 +9965,11 @@ const UserLiveness = class {
10358
9965
  async disconnectedCallback() {
10359
9966
  await this.baseComponent.finalize();
10360
9967
  }
10361
- async uploadPhoto(photoFile) {
9968
+ async uploadPhoto(photoFile, photoType) {
10362
9969
  if (this.flow.front.photoDone) {
10363
9970
  return;
10364
9971
  }
10365
- this.flow.front.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, 'Selfie', photoFile);
9972
+ this.flow.front.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, photoType, photoFile);
10366
9973
  if (this.flow.front.photoDone) {
10367
9974
  await this.endFlow();
10368
9975
  }
@@ -10370,8 +9977,8 @@ const UserLiveness = class {
10370
9977
  this.triggerErrorFlow();
10371
9978
  }
10372
9979
  }
10373
- async uploadRecording(uploadRec) {
10374
- let uplodDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, 'SelfieVideo', uploadRec);
9980
+ async uploadRecording(uploadRec, recType) {
9981
+ let uplodDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, recType, uploadRec);
10375
9982
  if (uplodDone) {
10376
9983
  return true;
10377
9984
  }
@@ -1535,4 +1535,4 @@ const flush = () => {
1535
1535
  const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1536
1536
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1537
1537
 
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 };
1538
+ 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-5d6f9123.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
 
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-9d69e511.js';
2
- export { s as setNonce } from './index-9d69e511.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-5d6f9123.js';
2
+ export { s as setNonce } from './index-5d6f9123.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_19",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
14
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_19",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
15
15
  });
16
16
  };
17
17
 
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-9d69e511.js';
2
- export { s as setNonce } from './index-9d69e511.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-5d6f9123.js';
2
+ export { s as setNonce } from './index-5d6f9123.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -14,5 +14,5 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_19",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
17
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_19",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
18
18
  });
@@ -0,0 +1,18 @@
1
+ import { r as registerInstance, h } from './index-5d6f9123.js';
2
+ import { H as HowToValues } from './store-b5192087.js';
3
+
4
+ const randomActionsCss = "";
5
+
6
+ const RandomActions = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ }
10
+ componentWillLoad() { }
11
+ buttonClick() { }
12
+ render() {
13
+ return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "text-center" }, h("h1", null, this.topTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, HowToValues.FooterText))))));
14
+ }
15
+ };
16
+ RandomActions.style = randomActionsCss;
17
+
18
+ export { RandomActions as random_actions };