metag-sdk-ionic 1.2.7-native-0.115 → 1.2.7-native-0.116
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/src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.d.ts +2 -1
- package/dist/src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.js +68 -21
- package/dist/src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.js.map +1 -1
- package/package.json +1 -1
|
@@ -26,13 +26,14 @@ export declare class NativeVideoSelfiePreviewComponent implements AfterViewInit,
|
|
|
26
26
|
ngOnDestroy(): Promise<void>;
|
|
27
27
|
startCameraPreview(): Promise<void>;
|
|
28
28
|
stopCameraPreview(): Promise<void>;
|
|
29
|
+
handleScreenTap(): void;
|
|
29
30
|
recordVideo(): void;
|
|
30
31
|
startVideoRecord(): Promise<void>;
|
|
31
32
|
stopRecording(): Promise<void>;
|
|
32
33
|
getLatestVideoFile(): Promise<string>;
|
|
33
34
|
pathToFile(videoPath: string): Promise<File>;
|
|
34
35
|
closeOverlayVideo(): Promise<void>;
|
|
35
|
-
closeRequestedFunction(): void;
|
|
36
|
+
closeRequestedFunction(event?: Event): void;
|
|
36
37
|
private showError;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<NativeVideoSelfiePreviewComponent, never>;
|
|
38
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<NativeVideoSelfiePreviewComponent, "app-native-video-selfie-preview", never, { "text1": { "alias": "text1"; "required": false; }; "text2": { "alias": "text2"; "required": false; }; "backFunction": { "alias": "backFunction"; "required": false; }; }, { "closeRequested": "closeRequested"; }, never, never, true, never>;
|
|
@@ -10,7 +10,24 @@ import * as i1 from "@ionic/angular";
|
|
|
10
10
|
import * as i2 from "../../services/modal-services/modal-dpi-services";
|
|
11
11
|
import * as i3 from "@angular/common";
|
|
12
12
|
function NativeVideoSelfiePreviewComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
13
|
-
i0.ɵɵelementStart(0, "div",
|
|
13
|
+
i0.ɵɵelementStart(0, "div", 6)(1, "div", 7)(2, "h2");
|
|
14
|
+
i0.ɵɵtext(3);
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
i0.ɵɵelementStart(4, "p");
|
|
17
|
+
i0.ɵɵtext(5);
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵelementStart(6, "p", 8);
|
|
20
|
+
i0.ɵɵtext(7, "\uD83D\uDC46 Toca la pantalla para iniciar");
|
|
21
|
+
i0.ɵɵelementEnd()()();
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
24
|
+
i0.ɵɵadvance(3);
|
|
25
|
+
i0.ɵɵtextInterpolate(ctx_r0.text1);
|
|
26
|
+
i0.ɵɵadvance(2);
|
|
27
|
+
i0.ɵɵtextInterpolate(ctx_r0.text2);
|
|
28
|
+
} }
|
|
29
|
+
function NativeVideoSelfiePreviewComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 10);
|
|
14
31
|
i0.ɵɵtext(2);
|
|
15
32
|
i0.ɵɵelementEnd()();
|
|
16
33
|
} if (rf & 2) {
|
|
@@ -18,18 +35,21 @@ function NativeVideoSelfiePreviewComponent_div_1_Template(rf, ctx) { if (rf & 1)
|
|
|
18
35
|
i0.ɵɵadvance(2);
|
|
19
36
|
i0.ɵɵtextInterpolate(ctx_r0.countdown);
|
|
20
37
|
} }
|
|
21
|
-
function
|
|
22
|
-
i0.ɵɵelementStart(0, "div",
|
|
38
|
+
function NativeVideoSelfiePreviewComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
39
|
+
i0.ɵɵelementStart(0, "div", 11)(1, "div", 12);
|
|
23
40
|
i0.ɵɵtext(2);
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(3, "div", 13);
|
|
43
|
+
i0.ɵɵtext(4, "GRABANDO");
|
|
24
44
|
i0.ɵɵelementEnd()();
|
|
25
45
|
} if (rf & 2) {
|
|
26
46
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
27
47
|
i0.ɵɵadvance(2);
|
|
28
|
-
i0.ɵɵtextInterpolate1("", ctx_r0.timeRemaining, "s");
|
|
48
|
+
i0.ɵɵtextInterpolate1("\uD83D\uDD34 ", ctx_r0.timeRemaining, "s");
|
|
29
49
|
} }
|
|
30
|
-
function
|
|
31
|
-
i0.ɵɵelementStart(0, "div",
|
|
32
|
-
i0.ɵɵelement(1, "ion-spinner",
|
|
50
|
+
function NativeVideoSelfiePreviewComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
+
i0.ɵɵelementStart(0, "div", 14);
|
|
52
|
+
i0.ɵɵelement(1, "ion-spinner", 15);
|
|
33
53
|
i0.ɵɵelementStart(2, "p");
|
|
34
54
|
i0.ɵɵtext(3, "Procesando video...");
|
|
35
55
|
i0.ɵɵelementEnd()();
|
|
@@ -65,10 +85,6 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
65
85
|
}
|
|
66
86
|
}
|
|
67
87
|
await this.startCameraPreview();
|
|
68
|
-
// Iniciar grabación automáticamente después de 2 segundos
|
|
69
|
-
setTimeout(() => {
|
|
70
|
-
this.recordVideo();
|
|
71
|
-
}, 2000);
|
|
72
88
|
this.modalDpiServices.closeModalAndChangeBrightness$.subscribe(async () => await this.closeOverlayVideo());
|
|
73
89
|
}
|
|
74
90
|
async ngOnDestroy() {
|
|
@@ -90,7 +106,10 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
90
106
|
y: 0,
|
|
91
107
|
width: window.screen.width,
|
|
92
108
|
height: window.screen.height,
|
|
93
|
-
disableAudio: false
|
|
109
|
+
disableAudio: false,
|
|
110
|
+
enableOpacity: true,
|
|
111
|
+
enableZoom: false,
|
|
112
|
+
lockAndroidOrientation: true
|
|
94
113
|
};
|
|
95
114
|
console.log('[NativeVideoSelfiePreview] Iniciando CameraPreview con toBack: false (cámara encima de todo)');
|
|
96
115
|
await CameraPreview.start(cameraPreviewOptions);
|
|
@@ -111,6 +130,12 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
111
130
|
console.error('[NativeVideoSelfiePreview] Error deteniendo CameraPreview:', error);
|
|
112
131
|
}
|
|
113
132
|
}
|
|
133
|
+
handleScreenTap() {
|
|
134
|
+
// Solo iniciar si no está grabando y no está procesando
|
|
135
|
+
if (!this.isRecording && !this.isProcessing && this.countdown === 0) {
|
|
136
|
+
this.recordVideo();
|
|
137
|
+
}
|
|
138
|
+
}
|
|
114
139
|
recordVideo() {
|
|
115
140
|
this.countdown = 3;
|
|
116
141
|
const interval = setInterval(() => {
|
|
@@ -234,7 +259,10 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
234
259
|
}
|
|
235
260
|
this.modalController.dismiss();
|
|
236
261
|
}
|
|
237
|
-
closeRequestedFunction() {
|
|
262
|
+
closeRequestedFunction(event) {
|
|
263
|
+
if (event) {
|
|
264
|
+
event.stopPropagation(); // Evitar que el tap cierre y también inicie grabación
|
|
265
|
+
}
|
|
238
266
|
this.closeOverlayVideo();
|
|
239
267
|
this.modalDpiServices.requestCloseModalAndBrightness();
|
|
240
268
|
}
|
|
@@ -250,23 +278,38 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
250
278
|
await alert.present();
|
|
251
279
|
}
|
|
252
280
|
static { this.ɵfac = function NativeVideoSelfiePreviewComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NativeVideoSelfiePreviewComponent)(i0.ɵɵdirectiveInject(i1.Platform), i0.ɵɵdirectiveInject(i1.ModalController), i0.ɵɵdirectiveInject(i1.AlertController), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i2.ModalDpiServices)); }; }
|
|
253
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NativeVideoSelfiePreviewComponent, selectors: [["app-native-video-selfie-preview"]], inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls:
|
|
281
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NativeVideoSelfiePreviewComponent, selectors: [["app-native-video-selfie-preview"]], inputs: { text1: "text1", text2: "text2", backFunction: "backFunction" }, outputs: { closeRequested: "closeRequested" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 7, vars: 4, consts: [[1, "camera-fullscreen", 3, "click"], ["class", "instructions-overlay", 4, "ngIf"], ["class", "countdown-overlay", 4, "ngIf"], ["class", "timer-overlay", 4, "ngIf"], ["class", "processing-overlay", 4, "ngIf"], [1, "close-button", 3, "click"], [1, "instructions-overlay"], [1, "instruction-box"], [1, "tap-instruction"], [1, "countdown-overlay"], [1, "countdown"], [1, "timer-overlay"], [1, "timer"], [1, "recording-indicator"], [1, "processing-overlay"], ["name", "crescent"]], template: function NativeVideoSelfiePreviewComponent_Template(rf, ctx) { if (rf & 1) {
|
|
254
282
|
i0.ɵɵelementStart(0, "div", 0);
|
|
255
|
-
i0.ɵɵ
|
|
256
|
-
i0.ɵɵ
|
|
283
|
+
i0.ɵɵlistener("click", function NativeVideoSelfiePreviewComponent_Template_div_click_0_listener() { return ctx.handleScreenTap(); });
|
|
284
|
+
i0.ɵɵtemplate(1, NativeVideoSelfiePreviewComponent_div_1_Template, 8, 2, "div", 1)(2, NativeVideoSelfiePreviewComponent_div_2_Template, 3, 1, "div", 2)(3, NativeVideoSelfiePreviewComponent_div_3_Template, 5, 1, "div", 3)(4, NativeVideoSelfiePreviewComponent_div_4_Template, 4, 0, "div", 4);
|
|
285
|
+
i0.ɵɵelementStart(5, "button", 5);
|
|
286
|
+
i0.ɵɵlistener("click", function NativeVideoSelfiePreviewComponent_Template_button_click_5_listener($event) { return ctx.closeRequestedFunction($event); });
|
|
287
|
+
i0.ɵɵtext(6, "\u2715");
|
|
288
|
+
i0.ɵɵelementEnd()();
|
|
257
289
|
} if (rf & 2) {
|
|
290
|
+
i0.ɵɵadvance();
|
|
291
|
+
i0.ɵɵproperty("ngIf", !ctx.isRecording && ctx.countdown === 0 && !ctx.isProcessing);
|
|
258
292
|
i0.ɵɵadvance();
|
|
259
293
|
i0.ɵɵproperty("ngIf", ctx.countdown > 0);
|
|
260
294
|
i0.ɵɵadvance();
|
|
261
295
|
i0.ɵɵproperty("ngIf", ctx.isRecording);
|
|
262
296
|
i0.ɵɵadvance();
|
|
263
297
|
i0.ɵɵproperty("ngIf", ctx.isProcessing);
|
|
264
|
-
} }, dependencies: [IonicModule, i1.IonSpinner, CommonModule, i3.NgIf], styles: ["[_nghost-%COMP%] { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
|
|
298
|
+
} }, dependencies: [IonicModule, i1.IonSpinner, CommonModule, i3.NgIf], styles: ["[_nghost-%COMP%] { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }", ".camera-fullscreen[_ngcontent-%COMP%] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }", ".instructions-overlay[_ngcontent-%COMP%] { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 99998; pointer-events: none; }", ".instruction-box[_ngcontent-%COMP%] { background: rgba(156, 39, 176, 0.95); padding: 30px; border-radius: 20px; text-align: center; max-width: 80%; box-shadow: 0 8px 16px rgba(0,0,0,0.3); }", ".instruction-box[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] { color: white; font-size: 28px; font-weight: bold; margin: 0 0 15px 0; }", ".instruction-box[_ngcontent-%COMP%] p[_ngcontent-%COMP%] { color: white; font-size: 16px; margin: 10px 0; line-height: 1.5; }", ".tap-instruction[_ngcontent-%COMP%] { font-size: 20px; font-weight: bold; margin-top: 20px !important; animation: blink 1.5s ease-in-out infinite; }", "@keyframes _ngcontent-%COMP%_blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }", ".countdown-overlay[_ngcontent-%COMP%] { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".countdown[_ngcontent-%COMP%] { font-size: 120px; color: white; font-weight: bold; animation: pulse 1s ease-in-out; }", "@keyframes _ngcontent-%COMP%_pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }", ".timer-overlay[_ngcontent-%COMP%] { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 99999; pointer-events: none; text-align: center; }", ".timer[_ngcontent-%COMP%] { background: rgba(244, 67, 54, 0.95); color: white; font-size: 32px; font-weight: bold; padding: 10px 20px; border-radius: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.3); margin-bottom: 10px; }", ".recording-indicator[_ngcontent-%COMP%] { background: rgba(0, 0, 0, 0.7); color: white; font-size: 14px; font-weight: bold; padding: 5px 15px; border-radius: 10px; }", ".processing-overlay[_ngcontent-%COMP%] { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".processing-overlay[_ngcontent-%COMP%] ion-spinner[_ngcontent-%COMP%] { --color: white; width: 60px; height: 60px; margin-bottom: 20px; }", ".processing-overlay[_ngcontent-%COMP%] p[_ngcontent-%COMP%] { color: white; font-size: 18px; font-weight: bold; }", ".close-button[_ngcontent-%COMP%] { position: fixed; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: white; border: 2px solid white; font-size: 24px; font-weight: bold; cursor: pointer; z-index: 99999; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px rgba(0,0,0,0.3); }"] }); }
|
|
265
299
|
}
|
|
266
300
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NativeVideoSelfiePreviewComponent, [{
|
|
267
301
|
type: Component,
|
|
268
302
|
args: [{ selector: 'app-native-video-selfie-preview', standalone: true, imports: [IonicModule, CommonModule], template: `
|
|
269
|
-
<div class="camera-fullscreen">
|
|
303
|
+
<div class="camera-fullscreen" (click)="handleScreenTap()">
|
|
304
|
+
<!-- Instrucciones iniciales -->
|
|
305
|
+
<div *ngIf="!isRecording && countdown === 0 && !isProcessing" class="instructions-overlay">
|
|
306
|
+
<div class="instruction-box">
|
|
307
|
+
<h2>{{ text1 }}</h2>
|
|
308
|
+
<p>{{ text2 }}</p>
|
|
309
|
+
<p class="tap-instruction">👆 Toca la pantalla para iniciar</p>
|
|
310
|
+
</div>
|
|
311
|
+
</div>
|
|
312
|
+
|
|
270
313
|
<!-- Countdown antes de iniciar -->
|
|
271
314
|
<div *ngIf="countdown > 0" class="countdown-overlay">
|
|
272
315
|
<div class="countdown">{{ countdown }}</div>
|
|
@@ -274,7 +317,8 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
274
317
|
|
|
275
318
|
<!-- Timer durante grabación -->
|
|
276
319
|
<div *ngIf="isRecording" class="timer-overlay">
|
|
277
|
-
<div class="timer"
|
|
320
|
+
<div class="timer">🔴 {{ timeRemaining }}s</div>
|
|
321
|
+
<div class="recording-indicator">GRABANDO</div>
|
|
278
322
|
</div>
|
|
279
323
|
|
|
280
324
|
<!-- Mensaje de procesamiento -->
|
|
@@ -282,8 +326,11 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
282
326
|
<ion-spinner name="crescent"></ion-spinner>
|
|
283
327
|
<p>Procesando video...</p>
|
|
284
328
|
</div>
|
|
329
|
+
|
|
330
|
+
<!-- Botón cerrar siempre visible -->
|
|
331
|
+
<button class="close-button" (click)="closeRequestedFunction($event)">✕</button>
|
|
285
332
|
</div>
|
|
286
|
-
`, encapsulation: ViewEncapsulation.Emulated, styles: [":host { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
|
|
333
|
+
`, encapsulation: ViewEncapsulation.Emulated, styles: [":host { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }", ".camera-fullscreen { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }", ".instructions-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 99998; pointer-events: none; }", ".instruction-box { background: rgba(156, 39, 176, 0.95); padding: 30px; border-radius: 20px; text-align: center; max-width: 80%; box-shadow: 0 8px 16px rgba(0,0,0,0.3); }", ".instruction-box h2 { color: white; font-size: 28px; font-weight: bold; margin: 0 0 15px 0; }", ".instruction-box p { color: white; font-size: 16px; margin: 10px 0; line-height: 1.5; }", ".tap-instruction { font-size: 20px; font-weight: bold; margin-top: 20px !important; animation: blink 1.5s ease-in-out infinite; }", "@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }", ".countdown-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".countdown { font-size: 120px; color: white; font-weight: bold; animation: pulse 1s ease-in-out; }", "@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.95); } }", ".timer-overlay { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 99999; pointer-events: none; text-align: center; }", ".timer { background: rgba(244, 67, 54, 0.95); color: white; font-size: 32px; font-weight: bold; padding: 10px 20px; border-radius: 20px; box-shadow: 0 4px 8px rgba(0,0,0,0.3); margin-bottom: 10px; }", ".recording-indicator { background: rgba(0, 0, 0, 0.7); color: white; font-size: 14px; font-weight: bold; padding: 5px 15px; border-radius: 10px; }", ".processing-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 99999; pointer-events: none; }", ".processing-overlay ion-spinner { --color: white; width: 60px; height: 60px; margin-bottom: 20px; }", ".processing-overlay p { color: white; font-size: 18px; font-weight: bold; }", ".close-button { position: fixed; top: 20px; right: 20px; width: 50px; height: 50px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: white; border: 2px solid white; font-size: 24px; font-weight: bold; cursor: pointer; z-index: 99999; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px rgba(0,0,0,0.3); }"] }]
|
|
287
334
|
}], () => [{ type: i1.Platform }, { type: i1.ModalController }, { type: i1.AlertController }, { type: i0.ChangeDetectorRef }, { type: i2.ModalDpiServices }], { text1: [{
|
|
288
335
|
type: Input
|
|
289
336
|
}], text2: [{
|
|
@@ -293,5 +340,5 @@ export class NativeVideoSelfiePreviewComponent {
|
|
|
293
340
|
}], closeRequested: [{
|
|
294
341
|
type: Output
|
|
295
342
|
}] }); })();
|
|
296
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NativeVideoSelfiePreviewComponent, { className: "NativeVideoSelfiePreviewComponent", filePath: "src\\app\\pages\\id-vision\\components\\native-video-selfie-preview\\native-video-selfie-preview.component.ts", lineNumber:
|
|
343
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(NativeVideoSelfiePreviewComponent, { className: "NativeVideoSelfiePreviewComponent", filePath: "src\\app\\pages\\id-vision\\components\\native-video-selfie-preview\\native-video-selfie-preview.component.ts", lineNumber: 71 }); })();
|
|
297
344
|
//# sourceMappingURL=native-video-selfie-preview.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-video-selfie-preview.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAC6B,SAAS,EAAE,YAAY,EACzD,KAAK,EAAa,MAAM,EAAE,iBAAiB,EAC5C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAA8C,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,aAAa,EAAwB,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;;;;;;
|
|
1
|
+
{"version":3,"file":"native-video-selfie-preview.component.js","sourceRoot":"","sources":["../../../../../../../src/app/pages/id-vision/components/native-video-selfie-preview/native-video-selfie-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAC6B,SAAS,EAAE,YAAY,EACzD,KAAK,EAAa,MAAM,EAAE,iBAAiB,EAC5C,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAA8C,MAAM,gBAAgB,CAAC;AACzF,OAAO,EAAE,aAAa,EAAwB,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;;;;;;IAYhE,AADF,AADF,8BAA2F,aAC5D,SACvB;IAAA,YAAW;IAAA,iBAAK;IACpB,yBAAG;IAAA,YAAW;IAAA,iBAAI;IAClB,4BAA2B;IAAA,0DAAgC;IAE/D,AADE,AAD6D,iBAAI,EAC3D,EACF;;;IAJE,eAAW;IAAX,kCAAW;IACZ,eAAW;IAAX,kCAAW;;;IAOhB,AADF,8BAAqD,cAC5B;IAAA,YAAe;IACxC,AADwC,iBAAM,EACxC;;;IADmB,eAAe;IAAf,sCAAe;;;IAKtC,AADF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