@ekyc_qoobiss/qbs-ect-cmp 1.5.21 → 1.5.22

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 (66) hide show
  1. package/README.md +3 -4
  2. package/dist/cjs/agreement-check_12.cjs.entry.js +45 -48
  3. package/dist/cjs/{index-9ebcada7.js → index-be29a2a8.js} +0 -5
  4. package/dist/cjs/loader-dots.cjs.entry.js +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/qbs-ect-cmp.cjs.js +2 -2
  7. package/dist/collection/components/id-back-capture/id-back-capture.js +18 -21
  8. package/dist/collection/components/id-capture/id-capture.js +18 -21
  9. package/dist/collection/components/selfie-capture/selfie-capture.js +17 -20
  10. package/dist/esm/agreement-check_12.entry.js +45 -48
  11. package/dist/esm/{index-3fe6775c.js → index-b6e6428d.js} +1 -5
  12. package/dist/esm/loader-dots.entry.js +1 -1
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/esm/qbs-ect-cmp.js +2 -2
  15. package/dist/qbs-ect-cmp/{p-a69bb428.entry.js → p-45a94ee0.entry.js} +1 -1
  16. package/dist/qbs-ect-cmp/p-742256cd.js +2 -0
  17. package/dist/qbs-ect-cmp/{p-d2c3c6ec.entry.js → p-96512201.entry.js} +2 -2
  18. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  19. package/dist/types/components/id-back-capture/id-back-capture.d.ts +0 -2
  20. package/dist/types/components/id-capture/id-capture.d.ts +0 -2
  21. package/dist/types/components/selfie-capture/selfie-capture.d.ts +0 -2
  22. package/package.json +1 -1
  23. package/dist/components/ApiCall.js +0 -156
  24. package/dist/components/Cameras.js +0 -100
  25. package/dist/components/agreement-check.d.ts +0 -11
  26. package/dist/components/agreement-check.js +0 -6
  27. package/dist/components/agreement-check2.js +0 -45
  28. package/dist/components/agreement-info.d.ts +0 -11
  29. package/dist/components/agreement-info.js +0 -6
  30. package/dist/components/agreement-info2.js +0 -76
  31. package/dist/components/camera-comp.d.ts +0 -11
  32. package/dist/components/camera-comp.js +0 -6
  33. package/dist/components/camera.js +0 -4609
  34. package/dist/components/capture-error.d.ts +0 -11
  35. package/dist/components/capture-error.js +0 -6
  36. package/dist/components/capture-error2.js +0 -69
  37. package/dist/components/end-redirect.d.ts +0 -11
  38. package/dist/components/end-redirect.js +0 -6
  39. package/dist/components/end-redirect2.js +0 -37
  40. package/dist/components/how-to-info.d.ts +0 -11
  41. package/dist/components/how-to-info.js +0 -6
  42. package/dist/components/how-to-info2.js +0 -92
  43. package/dist/components/id-back-capture.d.ts +0 -11
  44. package/dist/components/id-back-capture.js +0 -6
  45. package/dist/components/id-back-capture2.js +0 -142
  46. package/dist/components/id-capture.d.ts +0 -11
  47. package/dist/components/id-capture.js +0 -6
  48. package/dist/components/id-capture2.js +0 -142
  49. package/dist/components/identification-component.d.ts +0 -11
  50. package/dist/components/identification-component.js +0 -411
  51. package/dist/components/index.d.ts +0 -34
  52. package/dist/components/index.js +0 -14
  53. package/dist/components/landing-validation.d.ts +0 -11
  54. package/dist/components/landing-validation.js +0 -6
  55. package/dist/components/landing-validation2.js +0 -61
  56. package/dist/components/loader-dots.d.ts +0 -11
  57. package/dist/components/loader-dots.js +0 -33
  58. package/dist/components/selfie-capture.d.ts +0 -11
  59. package/dist/components/selfie-capture.js +0 -6
  60. package/dist/components/selfie-capture2.js +0 -140
  61. package/dist/components/sms-code-validation.d.ts +0 -11
  62. package/dist/components/sms-code-validation.js +0 -6
  63. package/dist/components/sms-code-validation2.js +0 -98
  64. package/dist/components/store.js +0 -209
  65. package/dist/components/textValues.js +0 -84
  66. package/dist/qbs-ect-cmp/p-3fa495e4.js +0 -2
@@ -1,11 +1,12 @@
1
- import { h, getAssetPath } from '@stencil/core';
1
+ import { h, } from '@stencil/core';
2
2
  import Events from '../../helpers/Events';
3
3
  import { Cameras } from '../../helpers/Cameras';
4
4
  import { Stream } from '../../helpers/Stream';
5
- import { FacePose } from '../../libs/FaceML5Detector/FacePose';
6
5
  import { SelfieCaptureValues } from '../../helpers/textValues';
7
6
  import { FaceML5Detector } from '../../libs/FaceML5Detector/FaceML5Detector';
7
+ // import { FacePose } from '../../libs/FaceML5Detector/FacePose';
8
8
  export class SelfieCapture {
9
+ // @State() private animationPath: string;
9
10
  constructor() {
10
11
  this.photoIsReady = photos => {
11
12
  this.closeCamera();
@@ -14,21 +15,19 @@ export class SelfieCapture {
14
15
  this.device = undefined;
15
16
  this.videoStarted = undefined;
16
17
  this.cameraSize = undefined;
17
- this.stopAnimation = undefined;
18
18
  this.captureTaken = undefined;
19
19
  this.titleMesage = undefined;
20
- this.animationPath = undefined;
21
20
  this.captureTaken = false;
22
21
  this.cameras = new Cameras();
23
22
  }
24
23
  eventChangeTitle(event) {
25
- this.stopAnimation = false;
24
+ // this.stopAnimation = false;
26
25
  if (event.detail == null) {
27
- this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
26
+ // this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
28
27
  this.titleMesage = SelfieCaptureValues.FinalTitle;
29
28
  }
30
29
  else {
31
- this.animationPath = getAssetPath('../../assets/animations/face/' + FacePose[event.detail] + '.gif');
30
+ // this.animationPath = getAssetPath('../../assets/animations/face/' + FacePose[event.detail] + '.gif');
32
31
  this.titleMesage = SelfieCaptureValues.FacePoseMapping[event.detail];
33
32
  }
34
33
  }
@@ -37,7 +36,7 @@ export class SelfieCapture {
37
36
  this.cameraSize = event.detail;
38
37
  }
39
38
  eventStopAnimation() {
40
- this.stopAnimation = true;
39
+ // this.stopAnimation = true;
41
40
  }
42
41
  componentWillLoad() {
43
42
  Events.init(this.component);
@@ -48,7 +47,7 @@ export class SelfieCapture {
48
47
  }
49
48
  async componentDidLoad() {
50
49
  this.openCamera();
51
- this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
50
+ // this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
52
51
  }
53
52
  async openCamera() {
54
53
  const constraints = this.cameras.GetConstraints('', this.device, true);
@@ -92,17 +91,17 @@ export class SelfieCapture {
92
91
  if (this.captureTaken) {
93
92
  loadingBlock = (h("div", { class: "pos-relative" }, h("div", { class: "dot-effect" }, h("div", { class: "snippet", "data-title": ".dot-shuttle" }, h("div", { class: "stage filter-contrast" }, h("div", { class: "dot-shuttle" }))))));
94
93
  }
95
- let animationBlock;
96
- if (this.videoStarted && this.stopAnimation !== true) {
97
- let left = 0;
98
- if (this.cameraSize.width > this.cameraSize.height)
99
- left = (this.cameraSize.width) / 2 - (this.cameraSize.height / 1.77 / 2);
100
- animationBlock = (h("img", { class: "animation", style: { left: left + 'px' }, "data-src": this.animationPath, src: this.animationPath }));
101
- }
94
+ // let animationBlock: HTMLImageElement;
95
+ // if (this.videoStarted && this.stopAnimation !== true) {
96
+ // let left = 0;
97
+ // if (this.cameraSize.width > this.cameraSize.height)
98
+ // left = (this.cameraSize.width) / 2 - (this.cameraSize.height / 1.77 / 2);
99
+ // animationBlock = (<img class="animation" style={{left:left+'px'}} data-src={this.animationPath} src={this.animationPath} />);
100
+ // }
102
101
  let divClass = "chenar-buletin pos-relative";
103
102
  if (this.videoStarted && this.cameraSize.width < this.cameraSize.height)
104
103
  divClass += " block";
105
- return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: divClass }, animationBlock, h("camera-comp", { device: this.device, "capture-mode": "selfie" })), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, SelfieCaptureValues.FooterText)))));
104
+ return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: divClass }, h("camera-comp", { device: this.device, "capture-mode": "selfie" })), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, SelfieCaptureValues.FooterText)))));
106
105
  }
107
106
  static get is() { return "selfie-capture"; }
108
107
  static get originalStyleUrls() {
@@ -143,10 +142,8 @@ export class SelfieCapture {
143
142
  return {
144
143
  "videoStarted": {},
145
144
  "cameraSize": {},
146
- "stopAnimation": {},
147
145
  "captureTaken": {},
148
- "titleMesage": {},
149
- "animationPath": {}
146
+ "titleMesage": {}
150
147
  };
151
148
  }
152
149
  static get events() {
@@ -1,4 +1,4 @@
1
- import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, a as getElement, d as getAssetPath } from './index-3fe6775c.js';
1
+ import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, a as getElement } from './index-b6e6428d.js';
2
2
 
3
3
  const appendToMap = (map, propName, value) => {
4
4
  const items = map.get(propName);
@@ -5328,6 +5328,7 @@ class Cameras {
5328
5328
  const idBackCaptureCss = ".logo{max-height:450px;max-width:450px}.canvas-on-video{max-width:100%;max-height:100%;position:absolute;z-index:2;transform:scale(-1, 1)}";
5329
5329
 
5330
5330
  const IdBackCapture = class {
5331
+ // @State() private animationPath: string;
5331
5332
  constructor(hostRef) {
5332
5333
  registerInstance(this, hostRef);
5333
5334
  this.eventPhotoCapture = createEvent(this, "photoIdBackCapture", 7);
@@ -5338,21 +5339,19 @@ const IdBackCapture = class {
5338
5339
  this.device = undefined;
5339
5340
  this.videoStarted = undefined;
5340
5341
  this.cameraSize = undefined;
5341
- this.stopAnimation = undefined;
5342
5342
  this.captureTaken = undefined;
5343
5343
  this.titleMesage = undefined;
5344
- this.animationPath = undefined;
5345
5344
  this.captureTaken = false;
5346
5345
  this.cameras = new Cameras();
5347
5346
  }
5348
5347
  eventChangeTitle(event) {
5349
- this.stopAnimation = false;
5350
- if (event.detail == IDPose.Tilted) {
5351
- this.animationPath = getAssetPath('../../assets/animations/id/tilt-id.gif');
5352
- }
5353
- if (event.detail == IDPose.Straight) {
5354
- this.animationPath = getAssetPath('../../assets/animations/id/straighten-id.gif');
5355
- }
5348
+ // this.stopAnimation = false;
5349
+ // if (event.detail == IDPose.Tilted) {
5350
+ // this.animationPath = getAssetPath('../../assets/animations/id/tilt-id.gif');
5351
+ // }
5352
+ // if (event.detail == IDPose.Straight) {
5353
+ // this.animationPath = getAssetPath('../../assets/animations/id/straighten-id.gif');
5354
+ // }
5356
5355
  this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
5357
5356
  }
5358
5357
  eventVideoStarted(event) {
@@ -5360,7 +5359,7 @@ const IdBackCapture = class {
5360
5359
  this.cameraSize = event.detail;
5361
5360
  }
5362
5361
  eventStopAnimation() {
5363
- this.stopAnimation = true;
5362
+ // this.stopAnimation = true;
5364
5363
  }
5365
5364
  async componentWillLoad() {
5366
5365
  Events.init(this.component);
@@ -5371,7 +5370,7 @@ const IdBackCapture = class {
5371
5370
  }
5372
5371
  componentDidLoad() {
5373
5372
  this.openCamera();
5374
- this.animationPath = getAssetPath('../../assets/animations/id/present-id.gif');
5373
+ // this.animationPath = getAssetPath('../../assets/animations/id/present-id.gif');
5375
5374
  }
5376
5375
  async openCamera() {
5377
5376
  let _cameras = await this.cameras.GetCameras(this.device);
@@ -5418,17 +5417,17 @@ const IdBackCapture = class {
5418
5417
  if (this.captureTaken) {
5419
5418
  loadingBlock = (h("div", { class: "pos-relative" }, h("div", { class: "dot-effect" }, h("div", { class: "snippet", "data-title": ".dot-shuttle" }, h("div", { class: "stage filter-contrast" }, h("div", { class: "dot-shuttle" }))))));
5420
5419
  }
5421
- let animationBlock;
5422
- if (this.videoStarted && this.stopAnimation !== true) {
5423
- animationBlock = (h("img", { class: "animation", "data-src": this.animationPath, src: this.animationPath }));
5424
- }
5420
+ // let animationBlock: HTMLImageElement;
5421
+ // if (this.videoStarted && this.stopAnimation !== true) {
5422
+ // animationBlock = (<img class="animation" data-src={this.animationPath} src={this.animationPath} />);
5423
+ // }
5425
5424
  let cameraStyle;
5426
5425
  let cameraStyleInner;
5427
5426
  if (this.videoStarted) {
5428
5427
  cameraStyle = { width: Math.round(this.cameraSize.width) + 'px', height: Math.round(this.cameraSize.width * 9 / 16) + 'px', overflow: 'hidden', borderRadius: '10px' };
5429
5428
  cameraStyleInner = { marginTop: Math.round((this.cameraSize.height - this.cameraSize.width * 9 / 16) / 2) * -1 + 'px' };
5430
5429
  }
5431
- return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: "chenar-buletin pos-relative" }, animationBlock, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { device: this.device, "capture-mode": "id" })))), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, IdCaptureValues.FooterText)))));
5430
+ return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: "chenar-buletin pos-relative" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { device: this.device, "capture-mode": "id" })))), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, IdCaptureValues.FooterText)))));
5432
5431
  }
5433
5432
  get component() { return getElement(this); }
5434
5433
  };
@@ -5437,6 +5436,7 @@ IdBackCapture.style = idBackCaptureCss;
5437
5436
  const idCaptureCss = ".logo{max-height:450px;max-width:450px}.canvas-on-video{max-width:100%;max-height:100%;position:absolute;z-index:2;transform:scale(-1, 1)}";
5438
5437
 
5439
5438
  const IdCapture = class {
5439
+ // @State() private animationPath: string;
5440
5440
  constructor(hostRef) {
5441
5441
  registerInstance(this, hostRef);
5442
5442
  this.eventPhotoCapture = createEvent(this, "photoIdCapture", 7);
@@ -5447,21 +5447,19 @@ const IdCapture = class {
5447
5447
  this.device = undefined;
5448
5448
  this.videoStarted = undefined;
5449
5449
  this.cameraSize = undefined;
5450
- this.stopAnimation = undefined;
5451
5450
  this.captureTaken = undefined;
5452
5451
  this.titleMesage = undefined;
5453
- this.animationPath = undefined;
5454
5452
  this.captureTaken = false;
5455
5453
  this.cameras = new Cameras();
5456
5454
  }
5457
5455
  eventChangeTitle(event) {
5458
- this.stopAnimation = false;
5459
- if (event.detail == IDPose.Tilted) {
5460
- this.animationPath = getAssetPath('../../assets/animations/id/tilt-id.gif');
5461
- }
5462
- if (event.detail == IDPose.Straight) {
5463
- this.animationPath = getAssetPath('../../assets/animations/id/straighten-id.gif');
5464
- }
5456
+ // this.stopAnimation = false;
5457
+ // if (event.detail == IDPose.Tilted) {
5458
+ // this.animationPath = getAssetPath('../../assets/animations/id/tilt-id.gif');
5459
+ // }
5460
+ // if (event.detail == IDPose.Straight) {
5461
+ // this.animationPath = getAssetPath('../../assets/animations/id/straighten-id.gif');
5462
+ // }
5465
5463
  this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
5466
5464
  }
5467
5465
  eventVideoStarted(event) {
@@ -5469,7 +5467,7 @@ const IdCapture = class {
5469
5467
  this.cameraSize = event.detail;
5470
5468
  }
5471
5469
  eventStopAnimation() {
5472
- this.stopAnimation = true;
5470
+ // this.stopAnimation = true;
5473
5471
  }
5474
5472
  async componentWillLoad() {
5475
5473
  Events.init(this.component);
@@ -5480,7 +5478,7 @@ const IdCapture = class {
5480
5478
  }
5481
5479
  componentDidLoad() {
5482
5480
  this.openCamera();
5483
- this.animationPath = getAssetPath('../../assets/animations/id/present-id.gif');
5481
+ // this.animationPath = getAssetPath('../../assets/animations/id/present-id.gif');
5484
5482
  }
5485
5483
  async openCamera() {
5486
5484
  let _cameras = await this.cameras.GetCameras(this.device);
@@ -5527,17 +5525,17 @@ const IdCapture = class {
5527
5525
  if (this.captureTaken) {
5528
5526
  loadingBlock = (h("div", { class: "pos-relative" }, h("div", { class: "dot-effect" }, h("div", { class: "snippet", "data-title": ".dot-shuttle" }, h("div", { class: "stage filter-contrast" }, h("div", { class: "dot-shuttle" }))))));
5529
5527
  }
5530
- let animationBlock;
5531
- if (this.videoStarted && this.stopAnimation !== true) {
5532
- animationBlock = (h("img", { class: "animation", "data-src": this.animationPath, src: this.animationPath }));
5533
- }
5528
+ // let animationBlock: HTMLImageElement;
5529
+ // if (this.videoStarted && this.stopAnimation !== true) {
5530
+ // animationBlock = (<img class="animation" data-src={this.animationPath} src={this.animationPath} />);
5531
+ // }
5534
5532
  let cameraStyle;
5535
5533
  let cameraStyleInner;
5536
5534
  if (this.videoStarted) {
5537
5535
  cameraStyle = { width: Math.round(this.cameraSize.width) + 'px', height: Math.round(this.cameraSize.width * 9 / 16) + 'px', overflow: 'hidden', borderRadius: '10px' };
5538
5536
  cameraStyleInner = { marginTop: Math.round((this.cameraSize.height - this.cameraSize.width * 9 / 16) / 2) * -1 + 'px' };
5539
5537
  }
5540
- return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: "chenar-buletin pos-relative" }, animationBlock, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { device: this.device, "capture-mode": "id" })))), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, IdCaptureValues.FooterText)))));
5538
+ return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: "chenar-buletin pos-relative" }, h("div", { style: cameraStyle }, h("div", { style: cameraStyleInner }, h("camera-comp", { device: this.device, "capture-mode": "id" })))), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, IdCaptureValues.FooterText)))));
5541
5539
  }
5542
5540
  get component() { return getElement(this); }
5543
5541
  };
@@ -5898,6 +5896,7 @@ LandingValidation.style = landingValidationCss;
5898
5896
  const selfieCaptureCss = ".block{width:60%;margin-left:20%}.canvas-on-video{max-width:100%;max-height:100%;position:absolute;left:50%;top:50%;z-index:2;transform:scale(-1, 1)}";
5899
5897
 
5900
5898
  const SelfieCapture = class {
5899
+ // @State() private animationPath: string;
5901
5900
  constructor(hostRef) {
5902
5901
  registerInstance(this, hostRef);
5903
5902
  this.eventPhotoCapture = createEvent(this, "photoSelfieCapture", 7);
@@ -5908,21 +5907,19 @@ const SelfieCapture = class {
5908
5907
  this.device = undefined;
5909
5908
  this.videoStarted = undefined;
5910
5909
  this.cameraSize = undefined;
5911
- this.stopAnimation = undefined;
5912
5910
  this.captureTaken = undefined;
5913
5911
  this.titleMesage = undefined;
5914
- this.animationPath = undefined;
5915
5912
  this.captureTaken = false;
5916
5913
  this.cameras = new Cameras();
5917
5914
  }
5918
5915
  eventChangeTitle(event) {
5919
- this.stopAnimation = false;
5916
+ // this.stopAnimation = false;
5920
5917
  if (event.detail == null) {
5921
- this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
5918
+ // this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
5922
5919
  this.titleMesage = SelfieCaptureValues.FinalTitle;
5923
5920
  }
5924
5921
  else {
5925
- this.animationPath = getAssetPath('../../assets/animations/face/' + FacePose[event.detail] + '.gif');
5922
+ // this.animationPath = getAssetPath('../../assets/animations/face/' + FacePose[event.detail] + '.gif');
5926
5923
  this.titleMesage = SelfieCaptureValues.FacePoseMapping[event.detail];
5927
5924
  }
5928
5925
  }
@@ -5931,7 +5928,7 @@ const SelfieCapture = class {
5931
5928
  this.cameraSize = event.detail;
5932
5929
  }
5933
5930
  eventStopAnimation() {
5934
- this.stopAnimation = true;
5931
+ // this.stopAnimation = true;
5935
5932
  }
5936
5933
  componentWillLoad() {
5937
5934
  Events.init(this.component);
@@ -5942,7 +5939,7 @@ const SelfieCapture = class {
5942
5939
  }
5943
5940
  async componentDidLoad() {
5944
5941
  this.openCamera();
5945
- this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
5942
+ // this.animationPath = getAssetPath('../../assets/animations/face/general.gif');
5946
5943
  }
5947
5944
  async openCamera() {
5948
5945
  const constraints = this.cameras.GetConstraints('', this.device, true);
@@ -5986,17 +5983,17 @@ const SelfieCapture = class {
5986
5983
  if (this.captureTaken) {
5987
5984
  loadingBlock = (h("div", { class: "pos-relative" }, h("div", { class: "dot-effect" }, h("div", { class: "snippet", "data-title": ".dot-shuttle" }, h("div", { class: "stage filter-contrast" }, h("div", { class: "dot-shuttle" }))))));
5988
5985
  }
5989
- let animationBlock;
5990
- if (this.videoStarted && this.stopAnimation !== true) {
5991
- let left = 0;
5992
- if (this.cameraSize.width > this.cameraSize.height)
5993
- left = (this.cameraSize.width) / 2 - (this.cameraSize.height / 1.77 / 2);
5994
- animationBlock = (h("img", { class: "animation", style: { left: left + 'px' }, "data-src": this.animationPath, src: this.animationPath }));
5995
- }
5986
+ // let animationBlock: HTMLImageElement;
5987
+ // if (this.videoStarted && this.stopAnimation !== true) {
5988
+ // let left = 0;
5989
+ // if (this.cameraSize.width > this.cameraSize.height)
5990
+ // left = (this.cameraSize.width) / 2 - (this.cameraSize.height / 1.77 / 2);
5991
+ // animationBlock = (<img class="animation" style={{left:left+'px'}} data-src={this.animationPath} src={this.animationPath} />);
5992
+ // }
5996
5993
  let divClass = "chenar-buletin pos-relative";
5997
5994
  if (this.videoStarted && this.cameraSize.width < this.cameraSize.height)
5998
5995
  divClass += " block";
5999
- return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: divClass }, animationBlock, h("camera-comp", { device: this.device, "capture-mode": "selfie" })), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, SelfieCaptureValues.FooterText)))));
5996
+ return (h("div", { class: "container bg-black" }, h("div", { class: "row ctheight-100" }, h("div", null, h("h1", { class: "color-white" }, this.titleMesage)), h("div", { hidden: this.captureTaken, class: divClass }, h("camera-comp", { device: this.device, "capture-mode": "selfie" })), loadingBlock, h("div", { class: "pos-relative" }, h("p", { class: "main-text font-size-18 text-right mb-0" }, SelfieCaptureValues.FooterText)))));
6000
5997
  }
6001
5998
  get component() { return getElement(this); }
6002
5999
  };
@@ -13,10 +13,6 @@ let hostTagName;
13
13
  let isSvgMode = false;
14
14
  let renderingRef = null;
15
15
  let queuePending = false;
16
- const getAssetPath = (path) => {
17
- const assetUrl = new URL(path, plt.$resourcesUrl$);
18
- return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
19
- };
20
16
  const createTime = (fnName, tagName = '') => {
21
17
  {
22
18
  return () => {
@@ -1454,4 +1450,4 @@ const flush = () => {
1454
1450
  const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1455
1451
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1456
1452
 
1457
- export { getElement as a, bootstrapLazy as b, createEvent as c, getAssetPath as d, forceUpdate as f, getRenderingRef as g, h, promiseResolve as p, registerInstance as r };
1453
+ export { getElement as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, getRenderingRef as g, h, promiseResolve as p, registerInstance as r };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-3fe6775c.js';
1
+ import { r as registerInstance, h } from './index-b6e6428d.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, #47b6a2 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #47b6a2 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, #47b6a2 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,4 +1,4 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-3fe6775c.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-b6e6428d.js';
2
2
 
3
3
  /*
4
4
  Stencil Client Patch Esm v2.19.3 | MIT Licensed | https://stenciljs.com
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_12",[[1,"identification-component",{"token":[1],"order_id":[1537],"api_url":[1],"idErrorType":[32],"idSide":[32],"idFlow":[32],"idBackFlow":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"timeElapsed","timeElapsed"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"id-back-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"stopAnimation":[32],"captureTaken":[32],"titleMesage":[32],"animationPath":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"stopAnimation":[32],"captureTaken":[32],"titleMesage":[32],"animationPath":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"stopAnimation":[32],"captureTaken":[32],"titleMesage":[32],"animationPath":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"capture-error",{"idSide":[1537,"id-side"],"type":[1]}],[0,"end-redirect"],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"descriptionR1":[32],"descriptionR2":[32],"descriptionR3":[32],"imagePath":[32],"buttonText":[32]}],[0,"landing-validation",{"device":[16],"warningText":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32]}],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"device":[16],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
13
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_12",[[1,"identification-component",{"token":[1],"order_id":[1537],"api_url":[1],"idErrorType":[32],"idSide":[32],"idFlow":[32],"idBackFlow":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"timeElapsed","timeElapsed"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"id-back-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"titleMesage":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"titleMesage":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"titleMesage":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"capture-error",{"idSide":[1537,"id-side"],"type":[1]}],[0,"end-redirect"],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"descriptionR1":[32],"descriptionR2":[32],"descriptionR3":[32],"imagePath":[32],"buttonText":[32]}],[0,"landing-validation",{"device":[16],"warningText":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32]}],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"device":[16],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1,4 +1,4 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-3fe6775c.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-b6e6428d.js';
2
2
 
3
3
  /*
4
4
  Stencil Client Patch Browser v2.19.3 | MIT Licensed | https://stenciljs.com
@@ -13,5 +13,5 @@ const patchBrowser = () => {
13
13
  };
14
14
 
15
15
  patchBrowser().then(options => {
16
- return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_12",[[1,"identification-component",{"token":[1],"order_id":[1537],"api_url":[1],"idErrorType":[32],"idSide":[32],"idFlow":[32],"idBackFlow":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"timeElapsed","timeElapsed"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"id-back-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"stopAnimation":[32],"captureTaken":[32],"titleMesage":[32],"animationPath":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"stopAnimation":[32],"captureTaken":[32],"titleMesage":[32],"animationPath":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"stopAnimation":[32],"captureTaken":[32],"titleMesage":[32],"animationPath":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"capture-error",{"idSide":[1537,"id-side"],"type":[1]}],[0,"end-redirect"],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"descriptionR1":[32],"descriptionR2":[32],"descriptionR3":[32],"imagePath":[32],"buttonText":[32]}],[0,"landing-validation",{"device":[16],"warningText":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32]}],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"device":[16],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
16
+ return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_12",[[1,"identification-component",{"token":[1],"order_id":[1537],"api_url":[1],"idErrorType":[32],"idSide":[32],"idFlow":[32],"idBackFlow":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"timeElapsed","timeElapsed"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"id-back-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"titleMesage":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"titleMesage":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"device":[16],"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"titleMesage":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"stopAnimation","eventStopAnimation"],[0,"takePhoto","takePhoto"]]],[0,"capture-error",{"idSide":[1537,"id-side"],"type":[1]}],[0,"end-redirect"],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"descriptionR1":[32],"descriptionR2":[32],"descriptionR3":[32],"imagePath":[32],"buttonText":[32]}],[0,"landing-validation",{"device":[16],"warningText":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32]}],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"device":[16],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
17
17
  });
@@ -1 +1 @@
1
- import{r as a,h as i}from"./p-3fa495e4.js";const e=class{constructor(i){a(this,i)}render(){return i("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, #47b6a2 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #47b6a2 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, #47b6a2 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 a,h as i}from"./p-742256cd.js";const e=class{constructor(i){a(this,i)}render(){return i("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, #47b6a2 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #47b6a2 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, #47b6a2 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}
@@ -0,0 +1,2 @@
1
+ let e,t,n=null,l=!1;const s={},o=e=>"object"==(e=typeof e)||"function"===e,c=(e,t,...n)=>{let l=null,s=!1,c=!1;const i=[],u=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!o(l))&&(l+=""),s&&c?i[i.length-1].t+=l:i.push(s?r(null,l):l),c=s)};if(u(n),t){const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}const a=r(e,null);return a.l=t,i.length>0&&(a.o=i),a},r=(e,t)=>({i:0,u:e,t,h:null,o:null,l:null}),i={},u=e=>V(e).p,a=(e,t,n)=>{const l=u(e);return{emit:e=>f(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},f=(e,t,n)=>{const l=Y.ce(t,n);return e.dispatchEvent(l),l},d=new WeakMap,h=e=>"sc-"+e.m,p=(e,t,n,l,s,c)=>{if(n!==l){let r=B(e,t),i=t.toLowerCase();if("class"===t){const t=e.classList,s=m(n),o=m(l);t.remove(...s.filter((e=>e&&!o.includes(e)))),t.add(...o.filter((e=>e&&!s.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const i=o(l);if((r||i&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const s=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==s||(e[t]=s)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&c||s)&&!i&&e.setAttribute(t,l=!0===l?"":l)}else t="-"===t[2]?t.slice(3):B(Q,i)?i.slice(2):i[2]+t.slice(3),n&&Y.rel(e,t,n,!1),l&&Y.ael(e,t,l,!1)}},y=/\s/,m=e=>e?e.split(y):[],$=(e,t,n,l)=>{const o=11===t.h.nodeType&&t.h.host?t.h.host:t.h,c=e&&e.l||s,r=t.l||s;for(l in c)l in r||p(o,l,c[l],void 0,n,t.i);for(l in r)p(o,l,c[l],r[l],n,t.i)},b=(t,n,l)=>{const s=n.o[l];let o,c,r=0;if(null!==s.t)o=s.h=X.createTextNode(s.t);else if(o=s.h=X.createElement(s.u),$(null,s,!1),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),s.o)for(r=0;r<s.o.length;++r)c=b(t,s,r),c&&o.appendChild(c);return o},w=(e,n,l,s,o,c)=>{let r,i=e;for(i.shadowRoot&&i.tagName===t&&(i=i.shadowRoot);o<=c;++o)s[o]&&(r=b(null,l,o),r&&(s[o].h=r,i.insertBefore(r,n)))},S=(e,t,n,l,s)=>{for(;t<=n;++t)(l=e[t])&&(s=l.h,v(l),s.remove())},g=(e,t)=>e.u===t.u,j=(e,t)=>{const n=t.h=e.h,l=e.o,s=t.o,o=t.t;null===o?($(e,t,!1),null!==l&&null!==s?((e,t,n,l)=>{let s,o=0,c=0,r=t.length-1,i=t[0],u=t[r],a=l.length-1,f=l[0],d=l[a];for(;o<=r&&c<=a;)null==i?i=t[++o]:null==u?u=t[--r]:null==f?f=l[++c]:null==d?d=l[--a]:g(i,f)?(j(i,f),i=t[++o],f=l[++c]):g(u,d)?(j(u,d),u=t[--r],d=l[--a]):g(i,d)?(j(i,d),e.insertBefore(i.h,u.h.nextSibling),i=t[++o],d=l[--a]):g(u,f)?(j(u,f),e.insertBefore(u.h,i.h),u=t[--r],f=l[++c]):(s=b(t&&t[c],n,c),f=l[++c],s&&i.h.parentNode.insertBefore(s,i.h));o>r?w(e,null==l[a+1]?null:l[a+1].h,n,l,c,a):c>a&&S(t,o,r)})(n,l,t,s):null!==s?(null!==e.t&&(n.textContent=""),w(n,null,t,s,0,s.length-1)):null!==l&&S(l,0,l.length-1)):e.t!==o&&(n.data=o)},v=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(v)},M=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},k=(e,t)=>{if(e.i|=16,!(4&e.i))return M(e,e.S),re((()=>C(e,t)));e.i|=512},C=(e,t)=>{const n=e.g;let l;return t&&(e.i|=256,e.j&&(e.j.map((([e,t])=>N(n,e,t))),e.j=null),l=N(n,"componentWillLoad")),l=R(l,(()=>N(n,"componentWillRender"))),R(l,(()=>O(e,n,t)))},O=async(e,t,n)=>{const l=e.p,s=l["s-rc"];n&&(e=>{const t=e.v,n=e.p,l=t.i,s=((e,t)=>{let n=h(t);const l=K.get(n);if(e=11===e.nodeType?e:X,l)if("string"==typeof l){let t,s=d.get(e=e.head||e);s||d.set(e,s=new Set),s.has(n)||(t=X.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);L(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>W(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},L=(l,s)=>{try{n=s,s=s.render(),l.i&=-17,l.i|=2,((n,l)=>{const s=n.p,o=n.v,u=n.M||r(null,null),a=(e=>e&&e.u===i)(l)?l:c(null,null,l);t=s.tagName,o.k&&(a.l=a.l||{},o.k.map((([e,t])=>a.l[t]=s[e]))),a.u=null,a.i|=4,n.M=a,a.h=u.h=s.shadowRoot||s,e=s["s-sc"],j(u,a)})(l,s)}catch(e){G(e,l.p)}return n=null,null},P=()=>n,W=e=>{const t=e.p,n=e.g,l=e.S;64&e.i||(e.i|=64,T(t),N(n,"componentDidLoad"),e.C(t),l||E()),e.$&&(e.$(),e.$=void 0),512&e.i&&ce((()=>k(e,!1))),e.i&=-517},x=e=>{{const t=V(e),n=t.p.isConnected;return n&&2==(18&t.i)&&k(t,!1),n}},E=()=>{T(X.documentElement),ce((()=>f(Q,"appload",{detail:{namespace:"qbs-ect-cmp"}})))},N=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){G(e)}},R=(e,t)=>e&&e.then?e.then(t):t(),T=e=>e.classList.add("hydrated"),q=(e,t,n)=>{if(t.O){e.watchers&&(t.L=e.watchers);const l=Object.entries(t.O),s=e.prototype;if(l.map((([e,[l]])=>{(31&l||2&n&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>V(this).P.get(t))(0,e)},set(n){((e,t,n,l)=>{const s=V(e),c=s.p,r=s.P.get(t),i=s.i,u=s.g;if(n=((e,t)=>null==e||o(e)?e:2&t?parseFloat(e):1&t?e+"":e)(n,l.O[t][0]),(!(8&i)||void 0===r)&&n!==r&&(!Number.isNaN(r)||!Number.isNaN(n))&&(s.P.set(t,n),u)){if(l.L&&128&i){const e=l.L[t];e&&e.map((e=>{try{u[e](n,r,t)}catch(e){G(e,c)}}))}2==(18&i)&&k(s,!1)}})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const n=new Map;s.attributeChangedCallback=function(e,t,l){Y.jmp((()=>{const t=n.get(e);if(this.hasOwnProperty(t))l=this[t],delete this[t];else if(s.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==l)return;this[t]=(null!==l||"boolean"!=typeof this[t])&&l}))},e.observedAttributes=l.filter((([e,t])=>15&t[0])).map((([e,l])=>{const s=l[1]||e;return n.set(s,e),512&l[0]&&t.k.push([e,s]),s}))}}return e},A=(e,t={})=>{const n=[],l=t.exclude||[],s=Q.customElements,o=X.head,c=o.querySelector("meta[charset]"),r=X.createElement("style"),i=[];let u,a=!0;Object.assign(Y,t),Y.W=new URL(t.resourcesUrl||"./",X.baseURI).href,e.map((e=>{e[1].map((t=>{const o={i:t[0],m:t[1],O:t[2],N:t[3]};o.O=t[2],o.N=t[3],o.k=[],o.L={};const c=o.m,r=class extends HTMLElement{constructor(e){super(e),z(e=this,o),1&o.i&&e.attachShadow({mode:"open"})}connectedCallback(){u&&(clearTimeout(u),u=null),a?i.push(this):Y.jmp((()=>(e=>{if(0==(1&Y.i)){const t=V(e),n=t.v,l=()=>{};if(1&t.i)F(e,t,n.N);else{t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){M(t,t.S=n);break}}n.O&&Object.entries(n.O).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.i)){{if(t.i|=32,(s=J(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(n.L=s.watchers,q(s,n,2),s.isProxied=!0);const e=()=>{};t.i|=8;try{new s(t)}catch(e){G(e)}t.i&=-9,t.i|=128,e()}if(s.style){let e=s.style;const t=h(n);if(!K.has(t)){const l=()=>{};((e,t,n)=>{let l=K.get(e);ee&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,K.set(e,l)})(t,e,!!(1&n.i)),l()}}}const o=t.S,c=()=>k(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(0,t,n)}l()}})(this)))}disconnectedCallback(){Y.jmp((()=>(()=>{if(0==(1&Y.i)){const e=V(this),t=e.g;e.R&&(e.R.map((e=>e())),e.R=void 0),N(t,"disconnectedCallback")}})()))}componentOnReady(){return V(this).T}};o.q=e[0],l.includes(c)||s.get(c)||(n.push(c),s.define(c,q(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,c?c.nextSibling:o.firstChild),a=!1,i.length?i.map((e=>e.connectedCallback())):Y.jmp((()=>u=setTimeout(E,30)))},F=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,c=U(t,s),r=D(n);Y.ael(o,l,c,r),(t.R=t.R||[]).push((()=>Y.rel(o,l,c,r)))}))},U=(e,t)=>n=>{try{256&e.i?e.g[t](n):(e.j=e.j||[]).push([t,n])}catch(e){G(e)}},D=e=>0!=(2&e),H=new WeakMap,V=e=>H.get(e),_=(e,t)=>H.set(t.g=e,t),z=(e,t)=>{const n={i:0,p:e,v:t,P:new Map};return n.T=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],F(e,n,t.N),H.set(e,n)},B=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),I=new Map,J=e=>{const t=e.m.replace(/-/g,"_"),n=e.q,l=I.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(I.set(n,e),e[t])),G)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},K=new Map,Q="undefined"!=typeof window?window:{},X=Q.document||{head:{}},Y={i:0,W:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},Z=e=>Promise.resolve(e),ee=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),te=[],ne=[],le=(e,t)=>n=>{e.push(n),l||(l=!0,t&&4&Y.i?ce(oe):Y.raf(oe))},se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){G(e)}e.length=0},oe=()=>{se(te),se(ne),(l=te.length>0)&&Y.raf(oe)},ce=e=>Z().then(e),re=le(ne,!0);export{u as a,A as b,a as c,x as f,P as g,c as h,Z as p,_ as r}