@ekyc_qoobiss/qbs-ect-cmp 3.6.6 → 3.6.10

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 (52) hide show
  1. package/dist/cjs/Stream-1b0beea8.js +5349 -0
  2. package/dist/cjs/agreement-check_18.cjs.entry.js +763 -6009
  3. package/dist/cjs/id-double-side.cjs.entry.js +208 -0
  4. package/dist/cjs/id-single-side.cjs.entry.js +147 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +2 -0
  8. package/dist/collection/components/common/id-back-capture/id-back-capture.js +4 -19
  9. package/dist/collection/components/common/id-capture/id-capture.js +4 -19
  10. package/dist/collection/components/common/id-tilt/id-tilt.css +35 -0
  11. package/dist/collection/components/common/id-tilt/id-tilt.js +194 -0
  12. package/dist/collection/components/common/selfie-capture/selfie-capture.js +4 -3
  13. package/dist/collection/components/controls/camera/camera.js +3 -1
  14. package/dist/collection/components/flow/process-id/process-id.css +0 -0
  15. package/dist/collection/components/flow/process-id/process-id.js +375 -0
  16. package/dist/collection/components/identification-component/identification-component.js +2 -5
  17. package/dist/collection/helpers/Stream.js +10 -8
  18. package/dist/collection/helpers/store.js +1 -0
  19. package/dist/collection/libs/IDML5Detector/IDML5Detector.js +12 -12
  20. package/dist/collection/models/CaptureFlow.js +16 -0
  21. package/dist/collection/models/FlowSteps.js +1 -0
  22. package/dist/collection/models/IRecordingCallback.js +1 -0
  23. package/dist/collection/models/IVerificationMode.js +5 -0
  24. package/dist/esm/Stream-0935dac1.js +5325 -0
  25. package/dist/esm/agreement-check_18.entry.js +446 -5692
  26. package/dist/esm/id-double-side.entry.js +204 -0
  27. package/dist/esm/id-single-side.entry.js +143 -0
  28. package/dist/esm/{index-9d69e511.js → index-5d6f9123.js} +1 -1
  29. package/dist/esm/loader-dots.entry.js +1 -1
  30. package/dist/esm/loader.js +3 -3
  31. package/dist/esm/qbs-ect-cmp.js +3 -3
  32. package/dist/qbs-ect-cmp/{p-4c8e922b.entry.js → p-7c33dd41.entry.js} +1 -1
  33. package/dist/qbs-ect-cmp/p-933b4d66.entry.js +1 -0
  34. package/dist/qbs-ect-cmp/{p-06e42b28.js → p-aacd7024.js} +1 -1
  35. package/dist/qbs-ect-cmp/{p-fef8280d.entry.js → p-c8a04b87.js} +26 -26
  36. package/dist/qbs-ect-cmp/p-d95265e0.entry.js +1 -0
  37. package/dist/qbs-ect-cmp/p-e5c2d08c.entry.js +1 -0
  38. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  39. package/dist/types/components/common/id-back-capture/id-back-capture.d.ts +0 -1
  40. package/dist/types/components/common/id-capture/id-capture.d.ts +0 -1
  41. package/dist/types/components/common/id-tilt/id-tilt.d.ts +26 -0
  42. package/dist/types/components/controls/camera/camera.d.ts +3 -2
  43. package/dist/types/components/flow/process-id/process-id.d.ts +28 -0
  44. package/dist/types/components.d.ts +37 -0
  45. package/dist/types/helpers/Stream.d.ts +5 -2
  46. package/dist/types/libs/IDML5Detector/IDML5Detector.d.ts +4 -3
  47. package/dist/types/models/CaptureFlow.d.ts +29 -0
  48. package/dist/types/models/FlowSteps.d.ts +1 -0
  49. package/dist/types/models/IEctStore.d.ts +1 -0
  50. package/dist/types/models/IRecordingCallback.d.ts +4 -0
  51. package/dist/types/models/IVerificationMode.d.ts +4 -0
  52. package/package.json +1 -1
@@ -0,0 +1,204 @@
1
+ import { r as registerInstance, c as createEvent, h } from './index-5d6f9123.js';
2
+ import { B as BaseComponent, F as FlowSteps, l as getLogMessage, s as state, c as FlowStatus, S as Stream } from './Stream-0935dac1.js';
3
+
4
+ const idDoubleSideCss = "";
5
+
6
+ const IdDoubleSide = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.apiErrorEvent = createEvent(this, "apiError", 7);
10
+ this.recordingResultCount = 0;
11
+ this.showTimeout = undefined;
12
+ this.showInvalid = undefined;
13
+ this.showHowTo = undefined;
14
+ this.front = undefined;
15
+ this.flow = {
16
+ photoDone: false,
17
+ recordingDone: false,
18
+ verificationFinished: false,
19
+ photoFile: null,
20
+ photoFileName: '',
21
+ photoUploadType: '',
22
+ recordingFile: null,
23
+ recordingFileName: '',
24
+ recordingUploadType: '',
25
+ };
26
+ this.baseComponent = new BaseComponent(FlowSteps.CiBack);
27
+ this.baseComponent.setEventEmitter(this.apiErrorEvent);
28
+ }
29
+ componentWillLoad() {
30
+ this.captureRetryCount = 0;
31
+ this.showHowTo = true;
32
+ this.flow.photoFileName = 'idImage.png';
33
+ this.flow.recordingFileName = 'idVideo.';
34
+ this.flow.photoUploadType = 'IdFront';
35
+ this.flow.recordingUploadType = 'IdFrontVideo';
36
+ this.front = true;
37
+ }
38
+ howToDone() {
39
+ this.showHowTo = false;
40
+ }
41
+ timeElapsed() {
42
+ this.showTimeout = true;
43
+ }
44
+ captureErrorDone() {
45
+ if (this.showTimeout == true) {
46
+ this.showTimeout = false;
47
+ }
48
+ if (this.showInvalid == true) {
49
+ this.flow.photoFileName = 'idImage.png';
50
+ this.flow.recordingFileName = 'idVideo.';
51
+ this.flow.photoUploadType = 'IdFront';
52
+ this.flow.recordingUploadType = 'IdFrontVideo';
53
+ this.flow.photoFile = null;
54
+ this.flow.recordingFile = null;
55
+ this.flow.photoDone = false;
56
+ this.flow.recordingDone = false;
57
+ this.front = true;
58
+ this.showInvalid = false;
59
+ }
60
+ }
61
+ async captureIdImage(event) {
62
+ let idPhoto = event.detail;
63
+ if (idPhoto.size == 0) {
64
+ await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
65
+ this.triggerErrorFlow();
66
+ return;
67
+ }
68
+ try {
69
+ this.flow.photoFile = new File([idPhoto], this.flow.photoFileName, { type: 'image/png' });
70
+ this.uploadPhoto();
71
+ }
72
+ catch (e) {
73
+ this.apiErrorEvent.emit(e);
74
+ }
75
+ }
76
+ async captureIdBackImage(event) {
77
+ let idPhoto = event.detail;
78
+ if (idPhoto.size == 0) {
79
+ await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
80
+ this.triggerErrorFlow();
81
+ return;
82
+ }
83
+ try {
84
+ this.flow.photoFile = new File([idPhoto], this.flow.photoFileName, { type: 'image/png' });
85
+ this.uploadPhoto();
86
+ }
87
+ catch (e) {
88
+ this.apiErrorEvent.emit(e);
89
+ }
90
+ }
91
+ async capturedIdRecording(event) {
92
+ let idRecording = event.detail;
93
+ if (idRecording.size == 0 && this.recordingResultCount == 0) {
94
+ this.recordingResultCount++;
95
+ return;
96
+ }
97
+ if (idRecording.size == 0) {
98
+ await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
99
+ this.triggerErrorFlow();
100
+ return;
101
+ }
102
+ this.recordingResultCount = 0;
103
+ let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
104
+ try {
105
+ this.flow.recordingFile = new File([idRecording], this.flow.recordingFileName + mimeType.extension, { type: mimeType.type });
106
+ this.uploadRecording();
107
+ }
108
+ catch (e) {
109
+ if (state.recordingRetryCount < 3) {
110
+ state.recordingRetryCount++;
111
+ this.triggerErrorFlow();
112
+ }
113
+ else {
114
+ this.apiErrorEvent.emit(e);
115
+ }
116
+ }
117
+ }
118
+ async verificationFinished(_event) {
119
+ this.flow.verificationFinished = true;
120
+ await this.endFlow();
121
+ }
122
+ async componentDidLoad() {
123
+ await this.baseComponent.initialize();
124
+ }
125
+ async uploadPhoto() {
126
+ if (this.flow.photoFile == null || this.flow.photoDone) {
127
+ return;
128
+ }
129
+ this.flow.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, this.flow.photoUploadType, this.flow.photoFile);
130
+ if (this.flow.photoDone) {
131
+ await this.endFlow();
132
+ }
133
+ else {
134
+ this.switchCamera();
135
+ this.triggerErrorFlow();
136
+ }
137
+ }
138
+ async uploadRecording() {
139
+ if (this.flow.recordingFile == null || this.flow.recordingDone) {
140
+ return;
141
+ }
142
+ this.flow.recordingDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, this.flow.recordingUploadType, this.flow.recordingFile);
143
+ if (this.flow.recordingDone) {
144
+ await this.endFlow();
145
+ }
146
+ else {
147
+ this.triggerErrorFlow();
148
+ }
149
+ }
150
+ triggerErrorFlow() {
151
+ this.flow.photoFile = null;
152
+ this.flow.recordingFile = null;
153
+ this.showInvalid = true;
154
+ }
155
+ async endFlow() {
156
+ if (!this.flow.photoDone) {
157
+ return;
158
+ }
159
+ if (!this.flow.recordingDone) {
160
+ return;
161
+ }
162
+ if (this.front) {
163
+ this.flow.photoFileName = 'idBackImage.png';
164
+ this.flow.recordingFileName = 'idBackVideo.';
165
+ this.flow.photoUploadType = 'IdBack';
166
+ this.flow.recordingUploadType = 'IdBackVideo';
167
+ this.flow.photoFile = null;
168
+ this.flow.recordingFile = null;
169
+ this.flow.photoDone = false;
170
+ this.flow.recordingDone = false;
171
+ this.front = false;
172
+ this.showHowTo = true;
173
+ return;
174
+ }
175
+ if (!this.flow.verificationFinished) {
176
+ return;
177
+ }
178
+ state.recordingRetryCount = 0;
179
+ state.flowStatus = FlowStatus.LIVENESS;
180
+ }
181
+ async disconnectedCallback() {
182
+ await this.baseComponent.finalize();
183
+ }
184
+ switchCamera() {
185
+ if (this.captureRetryCount == 1) {
186
+ let camIndex = state.cameraIds.indexOf(state.cameraId);
187
+ state.cameraId = camIndex === state.cameraIds.length - 1 ? state.cameraIds[0] : state.cameraIds[camIndex + 1];
188
+ this.captureRetryCount = 0;
189
+ }
190
+ else {
191
+ this.captureRetryCount++;
192
+ }
193
+ }
194
+ render() {
195
+ let error = h("capture-error", { type: "ID" });
196
+ let frontCapture = h("id-capture", { id: "idFront" });
197
+ let secondCapture = h("id-back-capture", { id: "idBack" });
198
+ let howToInfo = h("how-to-info", { idSide: this.front ? 'front' : 'back' });
199
+ return this.showHowTo ? howToInfo : this.showInvalid || this.showTimeout ? error : this.front ? frontCapture : secondCapture;
200
+ }
201
+ };
202
+ IdDoubleSide.style = idDoubleSideCss;
203
+
204
+ export { IdDoubleSide as id_double_side };
@@ -0,0 +1,143 @@
1
+ import { r as registerInstance, c as createEvent, h } from './index-5d6f9123.js';
2
+ import { B as BaseComponent, F as FlowSteps, l as getLogMessage, s as state, c as FlowStatus, S as Stream } from './Stream-0935dac1.js';
3
+
4
+ const idSingleSideCss = "";
5
+
6
+ const IdSingleSide = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.apiErrorEvent = createEvent(this, "apiError", 7);
10
+ this.recordingResultCount = 0;
11
+ this.showTimeout = undefined;
12
+ this.showHowTo = undefined;
13
+ this.idFlow = {
14
+ verificationFinished: false,
15
+ photoDone: false,
16
+ recordingDone: false,
17
+ photoFile: null,
18
+ recordingFile: null,
19
+ };
20
+ this.baseComponent = new BaseComponent(FlowSteps.CiFront);
21
+ this.baseComponent.setEventEmitter(this.apiErrorEvent);
22
+ this.captureRetryCount = 0;
23
+ this.showHowTo = true;
24
+ }
25
+ captureErrorDone() {
26
+ this.idFlow.photoFile = null;
27
+ this.idFlow.recordingFile = null;
28
+ this.showTimeout = false;
29
+ }
30
+ howToDone() {
31
+ this.showHowTo = false;
32
+ }
33
+ timeElapsed() {
34
+ this.showTimeout = true;
35
+ }
36
+ async captureIdImage(event) {
37
+ let idPhoto = event.detail;
38
+ if (idPhoto.size == 0) {
39
+ await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
40
+ this.showTimeout = true;
41
+ return;
42
+ }
43
+ try {
44
+ this.idFlow.photoFile = new File([idPhoto], 'idImage.png', { type: 'image/png' });
45
+ await this.uploadPhoto();
46
+ }
47
+ catch (e) {
48
+ this.apiErrorEvent.emit(e);
49
+ }
50
+ }
51
+ async verificationFinished(_event) {
52
+ this.idFlow.verificationFinished = true;
53
+ await this.endFlow();
54
+ }
55
+ async capturedIdRecording(event) {
56
+ let idRecording = event.detail;
57
+ if (idRecording.size == 0 && this.recordingResultCount == 0) {
58
+ this.recordingResultCount++;
59
+ return;
60
+ }
61
+ if (idRecording.size == 0) {
62
+ await this.baseComponent.apiCall.AddLog({ message: 'Empty ID recording', blobData: idRecording }, getLogMessage());
63
+ this.showTimeout = true;
64
+ return;
65
+ }
66
+ let mimeType = idRecording.type == Stream.mp4MimeType.type ? Stream.mp4MimeType : Stream.webmMimeType;
67
+ if (state.flowStatus == FlowStatus.ID) {
68
+ try {
69
+ this.idFlow.recordingFile = new File([idRecording], 'idVideo.' + mimeType.extension, { type: mimeType.type });
70
+ await this.uploadRecording();
71
+ }
72
+ catch (e) {
73
+ this.apiErrorEvent.emit(e);
74
+ }
75
+ }
76
+ }
77
+ async componentDidLoad() {
78
+ await this.baseComponent.initialize();
79
+ }
80
+ async uploadPhoto() {
81
+ if (this.idFlow.photoFile == null || this.idFlow.photoDone) {
82
+ return;
83
+ }
84
+ this.idFlow.photoDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, 'IdFront', this.idFlow.photoFile);
85
+ if (this.idFlow.photoDone) {
86
+ await this.endFlow();
87
+ }
88
+ else {
89
+ this.idFlow.photoFile = null;
90
+ this.idFlow.recordingFile = null;
91
+ this.switchCamera();
92
+ this.showTimeout = true;
93
+ }
94
+ }
95
+ async uploadRecording() {
96
+ if (this.idFlow.recordingFile == null || this.idFlow.recordingDone) {
97
+ return;
98
+ }
99
+ this.idFlow.recordingDone = await this.baseComponent.apiCall.UploadFileForRequestB64(state.requestId, 'IdFrontVideo', this.idFlow.recordingFile);
100
+ if (this.idFlow.recordingDone) {
101
+ await this.endFlow();
102
+ }
103
+ else {
104
+ this.idFlow.photoFile = null;
105
+ this.idFlow.recordingFile = null;
106
+ this.showTimeout = true;
107
+ }
108
+ }
109
+ async endFlow() {
110
+ if (!this.idFlow.photoDone) {
111
+ return;
112
+ }
113
+ if (!this.idFlow.recordingDone) {
114
+ return;
115
+ }
116
+ if (!this.idFlow.verificationFinished) {
117
+ return;
118
+ }
119
+ state.flowStatus = FlowStatus.LIVENESS;
120
+ }
121
+ async disconnectedCallback() {
122
+ await this.baseComponent.finalize();
123
+ }
124
+ switchCamera() {
125
+ if (this.captureRetryCount == 1) {
126
+ let camIndex = state.cameraIds.indexOf(state.cameraId);
127
+ state.cameraId = camIndex === state.cameraIds.length - 1 ? state.cameraIds[0] : state.cameraIds[camIndex + 1];
128
+ this.captureRetryCount = 0;
129
+ }
130
+ else {
131
+ this.captureRetryCount++;
132
+ }
133
+ }
134
+ render() {
135
+ let error = h("capture-error", { type: "ID" });
136
+ let capture = h("id-capture", { id: "idFront" });
137
+ let howToInfo = h("how-to-info", { idSide: "front" });
138
+ return this.showHowTo ? howToInfo : this.showTimeout ? error : capture;
139
+ }
140
+ };
141
+ IdSingleSide.style = idSingleSideCss;
142
+
143
+ export { IdSingleSide as id_single_side };
@@ -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_18",[[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,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[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,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"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,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[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([["agreement-check_18",[[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],"showHowTo":[32],"selfieFlow":[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-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,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[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,"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"]}]]],["id-double-side",[[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]]]],["id-single-side",[[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]]]],["loader-dots",[[1,"loader-dots"]]]], 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_18",[[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,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[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,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"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,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[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([["agreement-check_18",[[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],"showHowTo":[32],"selfieFlow":[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-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,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[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,"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"]}]]],["id-double-side",[[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]]]],["id-single-side",[[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]]]],["loader-dots",[[1,"loader-dots"]]]], options);
18
18
  });
@@ -1 +1 @@
1
- import{r as i,h as a}from"./p-06e42b28.js";const e=class{constructor(a){i(this,a)}render(){return a("i",null)}};e.style="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)}}";export{e as loader_dots}
1
+ import{r as i,h as a}from"./p-aacd7024.js";const e=class{constructor(a){i(this,a)}render(){return a("i",null)}};e.style="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)}}";export{e as loader_dots}