@ekyc_qoobiss/qbs-ect-cmp 3.6.7 → 3.6.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Stream-7793cdf8.js +5352 -0
- package/dist/cjs/agreement-check_18.cjs.entry.js +763 -6009
- package/dist/cjs/id-double-side.cjs.entry.js +208 -0
- package/dist/cjs/id-single-side.cjs.entry.js +147 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/common/id-back-capture/id-back-capture.js +4 -19
- package/dist/collection/components/common/id-capture/id-capture.js +4 -19
- package/dist/collection/components/common/id-tilt/id-tilt.css +35 -0
- package/dist/collection/components/common/id-tilt/id-tilt.js +194 -0
- package/dist/collection/components/common/selfie-capture/selfie-capture.js +4 -3
- package/dist/collection/components/controls/camera/camera.js +3 -1
- package/dist/collection/components/flow/process-id/process-id.css +0 -0
- package/dist/collection/components/flow/process-id/process-id.js +375 -0
- package/dist/collection/components/identification-component/identification-component.js +2 -5
- package/dist/collection/helpers/ApiCall.js +2 -0
- package/dist/collection/helpers/Stream.js +10 -8
- package/dist/collection/helpers/store.js +2 -0
- package/dist/collection/libs/IDML5Detector/IDML5Detector.js +12 -12
- package/dist/collection/models/CaptureFlow.js +16 -0
- package/dist/collection/models/FlowSteps.js +1 -0
- package/dist/collection/models/IRecordingCallback.js +1 -0
- package/dist/collection/models/IVerificationMode.js +5 -0
- package/dist/esm/Stream-b0b71a36.js +5328 -0
- package/dist/esm/agreement-check_18.entry.js +446 -5692
- package/dist/esm/id-double-side.entry.js +204 -0
- package/dist/esm/id-single-side.entry.js +143 -0
- package/dist/esm/{index-9d69e511.js → index-5d6f9123.js} +1 -1
- package/dist/esm/loader-dots.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/qbs-ect-cmp.js +3 -3
- package/dist/qbs-ect-cmp/{p-4c8e922b.entry.js → p-7c33dd41.entry.js} +1 -1
- package/dist/qbs-ect-cmp/{p-06e42b28.js → p-aacd7024.js} +1 -1
- package/dist/qbs-ect-cmp/{p-3083aa5e.entry.js → p-acd71227.js} +26 -26
- package/dist/qbs-ect-cmp/p-bbc70bcf.entry.js +1 -0
- package/dist/qbs-ect-cmp/p-c429f75a.entry.js +1 -0
- package/dist/qbs-ect-cmp/p-f6c2922f.entry.js +1 -0
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/common/id-back-capture/id-back-capture.d.ts +0 -1
- package/dist/types/components/common/id-capture/id-capture.d.ts +0 -1
- package/dist/types/components/common/id-tilt/id-tilt.d.ts +26 -0
- package/dist/types/components/controls/camera/camera.d.ts +3 -2
- package/dist/types/components/flow/process-id/process-id.d.ts +28 -0
- package/dist/types/components.d.ts +37 -0
- package/dist/types/helpers/Stream.d.ts +5 -2
- package/dist/types/libs/IDML5Detector/IDML5Detector.d.ts +4 -3
- package/dist/types/models/CaptureFlow.d.ts +29 -0
- package/dist/types/models/FlowSteps.d.ts +1 -0
- package/dist/types/models/IAddRequest.d.ts +2 -0
- package/dist/types/models/IEctStore.d.ts +2 -0
- package/dist/types/models/IRecordingCallback.d.ts +4 -0
- package/dist/types/models/IVerificationMode.d.ts +4 -0
- 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-b0b71a36.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-b0b71a36.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 {
|
|
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-
|
|
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
|
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
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([["
|
|
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
|
|
package/dist/esm/qbs-ect-cmp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
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([["
|
|
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-
|
|
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}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
let n,e,t=null,l=!1;const o={},s=n=>"object"==(n=typeof n)||"function"===n;function c(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,e,...t)=>{let l=null,o=!1,c=!1;const i=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&c?i[i.length-1].t+=l:i.push(o?r(null,l):l),c=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=r(n,null);return a.l=e,i.length>0&&(a.o=i),a},r=(n,e)=>({i:0,u:n,t:e,m:null,o:null,l:null}),u={},a=n=>z(n).p,f=(n,e,t)=>{const l=a(n);return{emit:n=>d(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},d=(n,e,t)=>{const l=nn.ce(e,t);return n.dispatchEvent(l),l},m=new WeakMap,p=n=>"sc-"+n.h,h=(n,e,t,l,o,c)=>{if(t!==l){let i=I(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=$(t),s=$(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if("style"===e){for(const e in t)l&&null!=l[e]||(e.includes("-")?n.style.removeProperty(e):n.style[e]="");for(const e in l)t&&l[e]===t[e]||(e.includes("-")?n.style.setProperty(e,l[e]):n.style[e]=l[e])}else if("ref"===e)l&&l(n);else if(i||"o"!==e[0]||"n"!==e[1]){const r=s(l);if((i||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!i||4&c||o)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else e="-"===e[2]?e.slice(3):I(Y,r)?r.slice(2):r[2]+e.slice(3),t&&nn.rel(n,e,t,!1),l&&nn.ael(n,e,l,!1)}},y=/\s/,$=n=>n?n.split(y):[],b=(n,e,t,l)=>{const s=11===e.m.nodeType&&e.m.host?e.m.host:e.m,c=n&&n.l||o,i=e.l||o;for(l in c)l in i||h(s,l,c[l],void 0,t,e.i);for(l in i)h(s,l,c[l],i[l],t,e.i)},w=(e,t,l)=>{const o=t.o[l];let s,c,i=0;if(null!==o.t)s=o.m=Z.createTextNode(o.t);else if(s=o.m=Z.createElement(o.u),b(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(i=0;i<o.o.length;++i)c=w(e,o,i),c&&s.appendChild(c);return s},v=(n,t,l,o,s,c)=>{let i,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=c;++s)o[s]&&(i=w(null,l,s),i&&(o[s].m=i,r.insertBefore(i,t)))},S=(n,e,t,l,o)=>{for(;e<=t;++e)(l=n[e])&&(o=l.m,M(l),o.remove())},g=(n,e)=>n.u===e.u,j=(n,e)=>{const t=e.m=n.m,l=n.o,o=e.o,s=e.t;null===s?(b(n,e,!1),null!==l&&null!==o?((n,e,t,l)=>{let o,s=0,c=0,i=e.length-1,r=e[0],u=e[i],a=l.length-1,f=l[0],d=l[a];for(;s<=i&&c<=a;)null==r?r=e[++s]:null==u?u=e[--i]:null==f?f=l[++c]:null==d?d=l[--a]:g(r,f)?(j(r,f),r=e[++s],f=l[++c]):g(u,d)?(j(u,d),u=e[--i],d=l[--a]):g(r,d)?(j(r,d),n.insertBefore(r.m,u.m.nextSibling),r=e[++s],d=l[--a]):g(u,f)?(j(u,f),n.insertBefore(u.m,r.m),u=e[--i],f=l[++c]):(o=w(e&&e[c],t,c),f=l[++c],o&&r.m.parentNode.insertBefore(o,r.m));s>i?v(n,null==l[a+1]?null:l[a+1].m,t,l,c,a):c>a&&S(e,s,i)})(t,l,e,o):null!==o?(null!==n.t&&(t.textContent=""),v(t,null,e,o,0,o.length-1)):null!==l&&S(l,0,l.length-1)):n.t!==s&&(t.data=s)},M=n=>{n.l&&n.l.ref&&n.l.ref(null),n.o&&n.o.map(M)},k=(n,e)=>{e&&!n.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.$=e)))},C=(n,e)=>{if(n.i|=16,!(4&n.i))return k(n,n.v),an((()=>O(n,e)));n.i|=512},O=(n,e)=>{const t=n.S;let l;return e&&(n.i|=256,n.g&&(n.g.map((([n,e])=>R(t,n,e))),n.g=null),l=R(t,"componentWillLoad")),l=T(l,(()=>R(t,"componentWillRender"))),T(l,(()=>L(n,t,e)))},L=async(n,e,t)=>{const l=n.p,o=l["s-rc"];t&&(n=>{const e=n.j,t=n.p,l=e.i,o=((n,e)=>{var t;let l=p(e);const o=X.get(l);if(n=11===n.nodeType?n:Z,o)if("string"==typeof o){let e,s=m.get(n=n.head||n);if(s||m.set(n,s=new Set),!s.has(l)){{e=Z.createElement("style"),e.innerHTML=o;const l=null!==(t=nn.M)&&void 0!==t?t:c(Z);null!=l&&e.setAttribute("nonce",l),n.insertBefore(e,n.querySelector("link"))}s&&s.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(n);P(n,e),o&&(o.map((n=>n())),l["s-rc"]=void 0);{const e=l["s-p"],t=()=>x(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},P=(l,o)=>{try{t=o,o=o.render(),l.i&=-17,l.i|=2,((t,l)=>{const o=t.p,s=t.j,c=t.k||r(null,null),a=(n=>n&&n.u===u)(l)?l:i(null,null,l);e=o.tagName,s.C&&(a.l=a.l||{},s.C.map((([n,e])=>a.l[e]=o[n]))),a.u=null,a.i|=4,t.k=a,a.m=c.m=o.shadowRoot||o,n=o["s-sc"],j(c,a)})(l,o)}catch(n){J(n,l.p)}return t=null,null},W=()=>t,x=n=>{const e=n.p,t=n.S,l=n.v;64&n.i||(n.i|=64,q(e),R(t,"componentDidLoad"),n.O(e),l||N()),n.$&&(n.$(),n.$=void 0),512&n.i&&un((()=>C(n,!1))),n.i&=-517},E=n=>{{const e=z(n),t=e.p.isConnected;return t&&2==(18&e.i)&&C(e,!1),t}},N=()=>{q(Z.documentElement),un((()=>d(Y,"appload",{detail:{namespace:"qbs-ect-cmp"}})))},R=(n,e,t)=>{if(n&&n[e])try{return n[e](t)}catch(n){J(n)}},T=(n,e)=>n&&n.then?n.then(e):e(),q=n=>n.classList.add("hydrated"),A=(n,e,t)=>{if(e.L){n.watchers&&(e.P=n.watchers);const l=Object.entries(e.L),o=n.prototype;if(l.map((([n,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,n,{get(){return((n,e)=>z(this).W.get(e))(0,n)},set(t){((n,e,t,l)=>{const o=z(n),c=o.p,i=o.W.get(e),r=o.i,u=o.S;if(t=((n,e)=>null==n||s(n)?n:2&e?parseFloat(n):1&e?n+"":n)(t,l.L[e][0]),(!(8&r)||void 0===i)&&t!==i&&(!Number.isNaN(i)||!Number.isNaN(t))&&(o.W.set(e,t),u)){if(l.P&&128&r){const n=l.P[e];n&&n.map((n=>{try{u[n](t,i,e)}catch(n){J(n,c)}}))}2==(18&r)&&C(o,!1)}})(this,n,t,e)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(n,e,l){nn.jmp((()=>{const e=t.get(n);if(this.hasOwnProperty(e))l=this[e],delete this[e];else if(o.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==l)return;this[e]=(null!==l||"boolean"!=typeof this[e])&&l}))},n.observedAttributes=l.filter((([n,e])=>15&e[0])).map((([n,l])=>{const o=l[1]||n;return t.set(o,n),512&l[0]&&e.C.push([n,o]),o}))}}return n},F=(n,e={})=>{var t;const l=[],o=e.exclude||[],s=Y.customElements,i=Z.head,r=i.querySelector("meta[charset]"),u=Z.createElement("style"),a=[];let f,d=!0;Object.assign(nn,e),nn.N=new URL(e.resourcesUrl||"./",Z.baseURI).href,n.map((n=>{n[1].map((e=>{const t={i:e[0],h:e[1],L:e[2],R:e[3]};t.L=e[2],t.R=e[3],t.C=[],t.P={};const c=t.h,i=class extends HTMLElement{constructor(n){super(n),G(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),d?a.push(this):nn.jmp((()=>(n=>{if(0==(1&nn.i)){const e=z(n),t=e.j,l=()=>{};if(1&e.i)U(n,e,t.R);else{e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){k(e,e.v=t);break}}t.L&&Object.entries(t.L).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t,l,o)=>{if(0==(32&e.i)){{if(e.i|=32,(o=Q(t)).then){const n=()=>{};o=await o,n()}o.isProxied||(t.P=o.watchers,A(o,t,2),o.isProxied=!0);const n=()=>{};e.i|=8;try{new o(e)}catch(n){J(n)}e.i&=-9,e.i|=128,n()}if(o.style){let n=o.style;const e=p(t);if(!X.has(e)){const l=()=>{};((n,e,t)=>{let l=X.get(n);tn&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,X.set(n,l)})(e,n,!!(1&t.i)),l()}}}const s=e.v,c=()=>C(e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,e,t)}l()}})(this)))}disconnectedCallback(){nn.jmp((()=>(()=>{if(0==(1&nn.i)){const n=z(this),e=n.S;n.T&&(n.T.map((n=>n())),n.T=void 0),R(e,"disconnectedCallback")}})()))}componentOnReady(){return z(this).q}};t.A=n[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,A(i,t,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(t=nn.M)&&void 0!==t?t:c(Z);null!=n&&u.setAttribute("nonce",n),i.insertBefore(u,r?r.nextSibling:i.firstChild)}d=!1,a.length?a.map((n=>n.connectedCallback())):nn.jmp((()=>f=setTimeout(N,30)))},U=(n,e,t)=>{t&&t.map((([t,l,o])=>{const s=n,c=D(e,o),i=H(t);nn.ael(s,l,c,i),(e.T=e.T||[]).push((()=>nn.rel(s,l,c,i)))}))},D=(n,e)=>t=>{try{256&n.i?n.S[e](t):(n.g=n.g||[]).push([e,t])}catch(n){J(n)}},H=n=>0!=(2&n),V=n=>nn.M=n,_=new WeakMap,z=n=>_.get(n),B=(n,e)=>_.set(e.S=n,e),G=(n,e)=>{const t={i:0,p:n,j:e,W:new Map};return t.q=new Promise((n=>t.O=n)),n["s-p"]=[],n["s-rc"]=[],U(n,t,e.R),_.set(n,t)},I=(n,e)=>e in n,J=(n,e)=>(0,console.error)(n,e),K=new Map,Q=n=>{const e=n.h.replace(/-/g,"_"),t=n.A,l=K.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(K.set(t,n),n[e])),J)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},X=new Map,Y="undefined"!=typeof window?window:{},Z=Y.document||{head:{}},nn={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},en=n=>Promise.resolve(n),tn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),ln=[],on=[],sn=(n,e)=>t=>{n.push(t),l||(l=!0,e&&4&nn.i?un(rn):nn.raf(rn))},cn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){J(n)}n.length=0},rn=()=>{cn(ln),cn(on),(l=ln.length>0)&&nn.raf(rn)},un=n=>en().then(n),an=sn(on,!0);export{a,F as b,f as c,E as f,
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},X=new Map,Y="undefined"!=typeof window?window:{},Z=Y.document||{head:{}},nn={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},en=n=>Promise.resolve(n),tn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),ln=[],on=[],sn=(n,e)=>t=>{n.push(t),l||(l=!0,e&&4&nn.i?un(rn):nn.raf(rn))},cn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){J(n)}n.length=0},rn=()=>{cn(ln),cn(on),(l=ln.length>0)&&nn.raf(rn)},un=n=>en().then(n),an=sn(on,!0);export{W as a,F as b,f as c,E as f,a as g,i as h,en as p,B as r,V as s}
|