@incodetech/web 0.0.0-dev-20260403-eccc51c → 0.0.0-dev-20260407-4677d7f
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/AsYouType-DPWqJvFu.js +2482 -0
- package/dist/addressAutocomplete-t809rK3N.js +108 -0
- package/dist/aligndevicelottie-C9xl1spu.js +12757 -0
- package/dist/antifraud/antifraud.es.js +17 -18
- package/dist/antifraud/styles.css +1 -1
- package/dist/authentication/authentication.es.js +28 -50
- package/dist/back-horizontal-hint-Be3dUGk6.js +137 -0
- package/dist/back-tutorial-BNTyW-1N.js +14584 -0
- package/dist/back-vertical-hint-Bz_rnhd-.js +128 -0
- package/dist/backdevicelottie-DBB1YCtW.js +16678 -0
- package/dist/base.css +327 -67
- package/dist/blurdevicelottie-9WvZCZ6C.js +15939 -0
- package/dist/browser-ponyfill-B4Qc6yfW.js +299 -0
- package/dist/button-DrtZRYJX.js +123 -0
- package/dist/checkbox-kZerHUek.js +85 -0
- package/dist/consent/consent.es.js +82 -89
- package/dist/consent/styles.css +1 -1
- package/dist/countries-y2ydYDhN.js +8323 -0
- package/dist/curp-validation/curp-validation.es.js +271 -313
- package/dist/curp-validation/styles.css +1 -1
- package/dist/dateInputComposed-9zbxhNlX.js +94 -0
- package/dist/dateInputComposed-B36DI9FJ.js +2 -0
- package/dist/defineProperty-brqHEHA_.js +39 -0
- package/dist/document-capture/styles.css +1 -1
- package/dist/documentCapture-CY-g1OUT.js +784 -0
- package/dist/dropdownComposed-CWxUwv7E.js +258 -0
- package/dist/ekyb/ekyb.es.js +2 -0
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekybModule-DGOhCY0S.js +286 -0
- package/dist/ekybModule-mBTq_Apn.js +2 -0
- package/dist/ekyc/ekyc.es.js +2 -0
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekycModule-DZlqb6Bc.js +2 -0
- package/dist/ekycModule-rJxf46TS.js +233 -0
- package/dist/email/email.es.js +110 -154
- package/dist/email/styles.css +1 -1
- package/dist/extensibility-CcUfegWj.js +2248 -0
- package/dist/extensibility.es.js +22 -150
- package/dist/face-match/styles.css +147 -73
- package/dist/faceMatch-K9k9f1HF.js +191 -0
- package/dist/flip-animation-DOJzdXB-.js +6983 -0
- package/dist/flow/flow.es.js +2274 -2613
- package/dist/flow/styles.css +432 -73
- package/dist/formField-BBfAFfVZ.js +100 -0
- package/dist/front-horizontal-hint-aGAhadA2.js +380 -0
- package/dist/front-vertical-hint-DZz1VeNp.js +420 -0
- package/dist/frontdevicelottie-DadDp6be.js +17302 -0
- package/dist/geolocation/geolocation.es.js +852 -832
- package/dist/geolocation/styles.css +1 -1
- package/dist/glaredevicelottie-BfI84cPw.js +14466 -0
- package/dist/governmentValidation/governmentValidation.es.js +100 -106
- package/dist/governmentValidation/styles.css +1 -1
- package/dist/i18n-DZOHbK9q.js +1916 -0
- package/dist/icons-BHbofCgJ.js +245 -0
- package/dist/id/id.es.js +53 -59
- package/dist/id/styles.css +1 -1
- package/dist/id-laser-h-BWyU3VgL.js +467 -0
- package/dist/id-laser-v-JiWXUlv0.js +467 -0
- package/dist/id-tutorial-Cc9xg5_J.js +13152 -0
- package/dist/incodeModule-Bf6yJ8RB.js +18 -0
- package/dist/index.es.js +4 -25
- package/dist/inputComposed-rPAh6ptN.js +77 -0
- package/dist/loadingIcon-BDMR5L6z.js +147 -0
- package/dist/mandatoryConsent-ohmxTqe7.js +101 -0
- package/dist/numberedStep-CQVRixRP.js +11 -0
- package/dist/otpInput-DRZiayDi.js +143 -0
- package/dist/page-M9yWRw73.js +61 -0
- package/dist/passport-horizontal-hint-CFsGs7Dp.js +293 -0
- package/dist/passport-tutorial-z0LN7Hsp.js +11688 -0
- package/dist/passport-vertical-hint-BnCpKWeN.js +267 -0
- package/dist/phone/phone.es.js +87 -121
- package/dist/phone/styles.css +1 -1
- package/dist/phoneInput-C9T_8FJt.js +138 -0
- package/dist/phoneInputComposed-CXTXBQ0B.js +407 -0
- package/dist/processing-yJ5QEgaC.js +15 -0
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/richText-Db0PfpkE.js +1973 -0
- package/dist/rolldown-runtime-CjdbFOpI.js +13 -0
- package/dist/selfie/selfie.es.js +29 -50
- package/dist/selfie/styles.css +170 -66
- package/dist/selfieTutorial-B0MIyPrk.js +2676 -0
- package/dist/setup-Dq2bzNKH.js +15 -0
- package/dist/signature/signature.es.js +557 -707
- package/dist/signature/styles.css +1 -1
- package/dist/spacer-DCljE53A.js +59 -0
- package/dist/spinner-BK2pIUzB.js +41 -0
- package/dist/spinner-DjG-sUzI.js +1 -0
- package/dist/successIcon-AHrfmJvv.js +17 -0
- package/dist/tutorial-C2kSUHWe.js +2781 -0
- package/dist/types/ekyb.d.ts +29 -0
- package/dist/types/ekyc.d.ts +29 -0
- package/dist/types/extensibility.d.ts +3 -5
- package/dist/types/flow.d.ts +1 -1
- package/dist/types/index.d.ts +2 -10
- package/dist/typography-BQrJwR60.js +1 -0
- package/dist/typography-BtyuWjzC.js +29 -0
- package/dist/uiConfig-CwpQ-IM6.js +20 -0
- package/dist/vendor-preact-D6SntenC.js +958 -0
- package/dist/warningIcon-Cvj-ayg1.js +17 -0
- package/package.json +8 -11
- package/dist/AsYouType-D1H_js4X.js +0 -2607
- package/dist/Trans-aTzdT_SA.js +0 -55
- package/dist/addressAutocomplete-C8-wL1j_.js +0 -153
- package/dist/aligndevicelottie-DlQCRPfM.js +0 -29
- package/dist/back-horizontal-hint-CSlf9KI1.js +0 -5
- package/dist/back-tutorial-An9AcMSe.js +0 -29
- package/dist/back-vertical-hint-CNieqiCr.js +0 -5
- package/dist/backdevicelottie-B4NgyWmX.js +0 -29
- package/dist/blurdevicelottie-_BZRug1c.js +0 -29
- package/dist/browser-ponyfill-B6W6hHVY.js +0 -344
- package/dist/button-CE9kRlem.js +0 -184
- package/dist/cameraView-C2X7klNb.js +0 -55
- package/dist/captureOverlay-tCb4R4WE.js +0 -592
- package/dist/checkbox-B5X-mfqq.js +0 -137
- package/dist/chevronDown-DSHaPKbi.js +0 -23
- package/dist/closeIcon-9Hc97omv.js +0 -28
- package/dist/countries-DfLkrF0x.js +0 -616
- package/dist/dateInputComposed-C7PCzh-U.js +0 -173
- package/dist/documentCapture-C0mO-RGE.js +0 -692
- package/dist/dropdownComposed-BpinYlrx.js +0 -367
- package/dist/ekybModule-Dr6LJUg-.js +0 -357
- package/dist/ekycModule-C3mswduI.js +0 -291
- package/dist/errorContent-Cb8nmQAE.js +0 -44
- package/dist/errorIcon-DEARBrGx.js +0 -26
- package/dist/faceMatch-DbDp7D3d.js +0 -237
- package/dist/fileIcon-CCSvS10T.js +0 -52
- package/dist/flip-animation-COR596wy.js +0 -29
- package/dist/flipAnimation-BqV462TA.js +0 -2059
- package/dist/formField-CP6wDdfA.js +0 -106
- package/dist/front-horizontal-hint-lRLKd7vY.js +0 -7
- package/dist/front-vertical-hint-qQoJXRE3.js +0 -7
- package/dist/frontdevicelottie-KhKxT5n9.js +0 -29
- package/dist/glaredevicelottie-DLuIStvb.js +0 -29
- package/dist/id-laser-h-BBV3r3rz.js +0 -29
- package/dist/id-laser-v-BTHJaSfx.js +0 -29
- package/dist/id-tutorial-B-F5Q28m.js +0 -29
- package/dist/incodeModule-C4XIllao.js +0 -96
- package/dist/inputComposed-fUbAGrDy.js +0 -103
- package/dist/instance-BWYzq8dk.js +0 -2163
- package/dist/loadingIcon-DmuPXh70.js +0 -195
- package/dist/mandatoryConsent-5xPI0cor.js +0 -94
- package/dist/manualCaptureButton-BvFmTyJe.js +0 -372
- package/dist/numberedStep-DwUB__mh.js +0 -5
- package/dist/otpInput-BFXhqFRT.js +0 -156
- package/dist/page-SrUl0qtN.js +0 -69
- package/dist/passport-horizontal-hint-BCtpMp1Y.js +0 -5
- package/dist/passport-tutorial-CaYBFTqt.js +0 -29
- package/dist/passport-vertical-hint-GaLnzqHP.js +0 -5
- package/dist/permissions-DT4Fz9MR.js +0 -709
- package/dist/phoneInput-CGr8TxOO.js +0 -158
- package/dist/phoneInputComposed-Cm9O2Jba.js +0 -206
- package/dist/processing-szVOCQwZ.js +0 -19
- package/dist/richText-cspvNz2a.js +0 -1807
- package/dist/selfieTutorial-Dm_p0ke9.js +0 -29
- package/dist/spinner-DygONskw.js +0 -60
- package/dist/successIcon-Bjsdc4lF.js +0 -26
- package/dist/tutorial-Cdz1025D.js +0 -473
- package/dist/types/ekyb/styles.d.ts +0 -1
- package/dist/types/ekyc/styles.d.ts +0 -1
- package/dist/typography-BDACYR5i.js +0 -14
- package/dist/uiConfig-Dnt-2YWB.js +0 -23
- package/dist/useMediaQuery-lJdQBmC2.js +0 -18
- package/dist/vendor-preact-BoMmvSgn.js +0 -694
- package/dist/warningIcon-DQq_MrOB.js +0 -26
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const i = "5.7.5", x = 100, o = 0, r = 398, y = 296, p = 296, a = "Comp 1", e = 0, t = {}, s = /* @__PURE__ */ JSON.parse('[{"id":"0","layers":[{"ddd":0,"refId":"1","w":297,"h":296,"ind":1,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"refId":"2","w":296,"h":296,"ind":2,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"3","layers":[{"ddd":0,"refId":"4","w":296,"h":296,"ind":3,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":4,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"1","layers":[{"ddd":0,"refId":"5","w":296,"h":296,"ind":5,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"3","w":297,"h":296,"ind":1,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"4","layers":[{"ddd":0,"ind":6,"ty":4,"nm":"gradient-layer","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","nm":"gradient-group","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[148,287],[148,287],[148,287],[9,148],[148,9],[287,148],[148,287]],"i":[[0,0],[0,0],[0,0],[0,76.768],[-76.768,0],[0,-76.768],[76.768,0]],"o":[[0,0],[0,0],[-76.768,0],[0,-76.768],[76.768,0],[0,76.768],[0,0]]}}},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[148,296],[296,148],[148,0],[0,148],[148,296],[148,296],[148,296]],"i":[[0,0],[0,81.738],[81.738,0],[0,-81.738],[-81.738,0],[0,0],[0,0]],"o":[[81.738,0],[0,-81.738],[-81.738,0],[0,81.738],[0,0],[0,0],[0,0]]}}},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"gf","nm":"brand-gradient","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":2,"k":{"a":0,"k":[0,0,0.48,1,1,0,0.48,1,0,1,1,0],"ix":2}},"s":{"a":0,"k":[24.52,30.76],"ix":2},"e":{"a":0,"k":[217.54,256.77],"ix":2},"t":1},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"r":{"a":1,"k":[{"t":0,"s":[0],"i":{"x":[0.75],"y":[0.75]},"o":{"x":[0.25],"y":[0.25]}},{"t":200,"s":[360],"i":{"x":[0.75],"y":[0.75]},"o":{"x":[0.25],"y":[0.25]}},{"t":400,"s":[720]}],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"5","layers":[{"ddd":0,"ind":7,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[295.99,0],[296,0.01],[296,295.99],[295.99,296],[0.01,296],[0,295.99],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"2","layers":[{"ddd":0,"ind":8,"ty":3,"sr":1,"ks":{"p":{"a":0,"k":[25,148],"ix":2},"a":{"a":0,"k":[1,124],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":9,"ty":3,"sr":1,"ks":{"p":{"a":1,"k":[{"t":67,"s":[1,124],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[244,124],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[1,124]}],"ix":2},"a":{"a":0,"k":[20,20],"ix":2},"s":{"a":1,"k":[{"t":67,"s":[150,288],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[150,622],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[150,232],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[150,666],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[150,288]}],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"parent":8},{"ddd":0,"ind":10,"ty":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"parent":9},{"ddd":0,"ind":11,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"td":1,"ao":0,"parent":10,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[40,20],[20,40],[0,20],[20,0],[40,20],[40,20],[40,20]],"i":[[0,0],[11.046,0],[0,11.046],[-11.046,0],[0,-11.046],[0,0],[0,0]],"o":[[0,11.046],[-11.046,0],[0,-11.046],[11.046,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","o":{"a":1,"k":[{"t":67,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[0]}],"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"refId":"6","w":41,"h":40,"ind":12,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[0,0],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"parent":10,"tt":1},{"ddd":0,"refId":"7","w":297,"h":296,"ind":13,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"6","layers":[{"ddd":0,"ind":14,"ty":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":15,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"parent":14,"shapes":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[81.6,81.6],"ix":2},"p":{"a":0,"k":[20,19.21],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"tr","o":{"a":0,"k":100,"ix":2}}]},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":6,"k":{"a":0,"k":[0,1,1,1,0.115,1,1,1,0.2094,1,1,1,0.7074,1,1,1,0.8664,1,1,1,1,1,1,1,0,1,0.115,1,0.2094,0.88,0.708,0.23,0.8664,0.08,1,0],"ix":2}},"s":{"a":0,"k":[20,19.21],"ix":2},"e":{"a":0,"k":[20,0.88],"ix":2},"t":2},{"ty":"tr","p":{"a":0,"k":[20,19.21],"ix":2},"a":{"a":0,"k":[20,19.21],"ix":2},"o":{"a":0,"k":100,"ix":2}}]},{"ty":"tr","o":{"a":1,"k":[{"t":67,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[0]}],"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":16,"ty":4,"sr":1,"ks":{"o":{"a":1,"k":[{"t":67,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":96,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":157,"s":[0],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":184,"s":[100],"i":{"x":[0.15],"y":[1]},"o":{"x":[0.5],"y":[0.35]}},{"t":241,"s":[0]}],"ix":2}},"ao":0,"parent":14,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[41,40],"ix":2},"p":{"a":0,"k":[20.5,20],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":1,"k":{"a":0,"k":[0,1,1,1,0,0],"ix":2}},"s":{"a":0,"k":[0,0],"ix":2},"e":{"a":0,"k":[0,0],"ix":2},"t":2},{"ty":"tr","o":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"8","layers":[{"ddd":0,"refId":"9","w":296,"h":296,"ind":17,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0},{"ddd":0,"ind":18,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"7","layers":[{"ddd":0,"refId":"a","w":296,"h":296,"ind":19,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"8","w":297,"h":296,"ind":13,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"9","layers":[{"ddd":0,"ind":20,"ty":4,"nm":"path-layer-1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","nm":"path-group-1","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[107.26,76.68],[53.63,152.01],[0,76.68],[53.63,0],[107.26,76.68],[107.26,76.68],[107.26,76.68]],"i":[[0,0],[23.508,0],[0,41.605],[-50.67,0],[0,-37.926],[0,0],[0,0]],"o":[[0,41.605],[-25.712,0],[0,-37.069],[50.67,0],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":2,"k":{"a":0,"k":[0,0.88,0.88,0.88,1,1,1,1,0,1,1,1],"ix":2}},"s":{"a":0,"k":[6.59,75.3],"ix":2},"e":{"a":0,"k":[82.34,75.58],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[148.76,127.48],"ix":2},"a":{"a":0,"k":[53.63,76.01],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":21,"ty":4,"nm":"path-layer-2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","nm":"path-group-2","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[3.84,2.75],[14.35,5.1],[14.35,33.99],[8.44,37.86],[0.88,19.15],[3.84,2.75],[3.84,2.75],[3.84,2.75]],"i":[[0,0],[-1.643,-3.254],[0,0],[3.943,0],[0.657,5.076],[-5.587,7.419],[0,0],[0,0]],"o":[[4.469,-5.935],[0,0],[-0.329,2.473],[-4.929,0],[-0.657,-5.076],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0.0417,0.71,0.71,0.71,0.3625,0.89,0.89,0.89,1,1,1,1,0.0417,1,0.363,1,1,1],"ix":2}},"s":{"a":0,"k":[12.9,18.51],"ix":2},"e":{"a":0,"k":[3.47,19.47],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[205.77,140.44],"ix":2},"a":{"a":0,"k":[7.18,18.93],"ix":2},"s":{"a":0,"k":[99.62,-100.33],"ix":2},"r":{"a":0,"k":174.07,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":-1.809999861760291,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":22,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[3.84,2.75],[14.35,5.1],[14.35,33.99],[8.44,37.86],[0.88,19.15],[3.84,2.75],[3.84,2.75],[3.84,2.75]],"i":[[0,0],[-1.643,-3.254],[0,0],[3.943,0],[0.657,5.076],[-5.587,7.419],[0,0],[0,0]],"o":[[4.469,-5.935],[0,0],[-0.329,2.473],[-4.929,0],[-0.657,-5.076],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":3,"k":{"a":0,"k":[0.1719,0.742,0.742,0.742,0.6406,0.883,0.883,0.883,1,0.87,0.87,0.87,0.1719,1,0.641,1,1,1],"ix":2}},"s":{"a":0,"k":[12.9,18.51],"ix":2},"e":{"a":0,"k":[3.47,19.47],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[93.38,137.48],"ix":2},"a":{"a":0,"k":[7.18,18.93],"ix":2},"s":{"a":0,"k":[99.65,100.3],"ix":2},"r":{"a":0,"k":-5.38,"ix":2},"o":{"a":0,"k":100,"ix":2},"sk":{"a":0,"k":1.809999894378744,"ix":2},"sa":{"a":0,"k":0,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":23,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[176.96,14.26],[88.3,51.56],[0,14.61],[42.84,0.01],[86.68,22.29],[134.95,0],[176.96,14.26],[176.96,14.26],[176.96,14.26]],"i":[[0,0],[34.738,0],[22.487,22.808],[0,0],[-18.981,-0.465],[-6.567,12.387],[-21.056,-8.556],[0,0],[0,0]],"o":[[-22.512,23.016],[-34.56,0],[21.33,-8.748],[6.317,11.412],[20.597,0.505],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,0.48,1],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148.17,246.22],"ix":2},"a":{"a":0,"k":[88.48,25.78],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":24,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[24.93,73.49],[24.93,73.95],[0,96.22],[59.61,122.2],[119.22,96.22],[94.3,73.92],[94.33,29.86],[94.33,29.62],[94.49,16.54],[24.82,30.92],[24.93,73.49],[24.93,73.49],[24.93,73.49]],"i":[[0,0],[0,0],[16.491,-4.974],[-19.87,0],[-19.87,14.434],[0.241,9.888],[-0.017,3.753],[1.084,0.301],[-0.074,16.894],[-1.039,-46.389],[-0.066,-5.357],[0,0],[0,0]],"o":[[0,0],[-0.129,9.871],[19.87,14.434],[19.87,0],[-16.379,-4.98],[0,-3.753],[1.185,0.167],[0.033,-12.362],[0.074,-16.894],[0.014,4.73],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100,"ix":2},"r":1,"bm":0,"g":{"p":2,"k":{"a":0,"k":[0,0.695,0.695,0.695,1,1,1,1,0,1,1,1],"ix":2}},"s":{"a":0,"k":[54.33,33.74],"ix":2},"e":{"a":0,"k":[54.33,91.15],"ix":2},"t":1},{"ty":"tr","p":{"a":0,"k":[148.61,191.41],"ix":2},"a":{"a":0,"k":[59.61,61.1],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":25,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[124,248],[248,124],[124,0],[0,124],[124,248],[124,248],[124,248]],"i":[[0,0],[0,68.483],[68.483,0],[0,-68.483],[-68.483,0],[0,0],[0,0]],"o":[[68.483,0],[0,-68.483],[-68.483,0],[0,68.483],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,0.48,1],"ix":2},"o":{"a":0,"k":7,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[124,124],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]},{"id":"a","layers":[{"ddd":0,"refId":"b","w":297,"h":296,"ind":26,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"c","layers":[{"ddd":0,"ind":27,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[324.58,0],[324.59,0.01],[324.59,324.58],[324.58,324.59],[0.01,324.59],[0,324.58],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148.61,161.61],"ix":2},"a":{"a":0,"k":[162.29,162.29],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":28,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"b","layers":[{"ddd":0,"refId":"d","w":296,"h":296,"ind":29,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"c","w":297,"h":296,"ind":26,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"d","layers":[{"ddd":0,"refId":"e","w":297,"h":296,"ind":30,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0}]},{"id":"f","layers":[{"ddd":0,"ind":31,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[295.99,0],[296,0.01],[296,295.99],[295.99,296],[0.01,296],[0,295.99],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0},{"ddd":0,"ind":32,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"rc","d":1,"s":{"a":0,"k":[297,296],"ix":2},"p":{"a":0,"k":[148.5,148],"ix":2},"r":{"a":0,"k":0,"ix":2}},{"ty":"fl","c":{"a":0,"k":[0,0,0],"ix":2},"o":{"a":0,"k":0,"ix":2},"r":1,"bm":0}],"ip":0,"op":399,"st":0}]},{"id":"e","layers":[{"ddd":0,"refId":"g","w":296,"h":296,"ind":33,"ty":0,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"td":1},{"ddd":0,"refId":"f","w":297,"h":296,"ind":30,"ty":0,"sr":1,"ks":{"p":{"a":0,"k":[148.5,148],"ix":2},"a":{"a":0,"k":[148.5,148],"ix":2},"o":{"a":0,"k":100,"ix":2}},"ao":0,"ip":0,"op":399,"st":0,"tt":1}]},{"id":"g","layers":[{"ddd":0,"ind":34,"ty":4,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":2}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"sh","d":1,"ks":{"a":0,"k":{"c":true,"v":[[0.01,0],[295.99,0],[296,0.01],[296,295.99],[295.99,296],[0.01,296],[0,295.99],[0,0.01],[0.01,0],[0.01,0],[0.01,0]],"i":[[0,0],[0,0],[0,-0.005],[0,0],[0.005,0],[0,0],[0,0.005],[0,0],[-0.005,0],[0,0],[0,0]],"o":[[0,0],[0.006,0],[0,0],[0,0.006],[0,0],[-0.006,0],[0,0],[0,-0.006],[0,0],[0,0],[0,0]]}}},{"ty":"fl","c":{"a":0,"k":[0,1,0],"ix":2},"o":{"a":0,"k":100,"ix":2},"r":1,"bm":0},{"ty":"tr","p":{"a":0,"k":[148,148],"ix":2},"a":{"a":0,"k":[148,148],"ix":2},"o":{"a":0,"k":100,"ix":2}}]}],"ip":0,"op":399,"st":0}]}]'), k = [{ ddd: 0, refId: "0", w: 296, h: 296, ind: 35, ty: 0, sr: 1, ks: { o: { a: 0, k: 100, ix: 2 } }, ao: 0, ip: 0, op: 399, st: 0 }], d = [], n = {
|
|
2
|
-
v: i,
|
|
3
|
-
fr: 100,
|
|
4
|
-
ip: 0,
|
|
5
|
-
op: 398,
|
|
6
|
-
w: 296,
|
|
7
|
-
h: 296,
|
|
8
|
-
nm: a,
|
|
9
|
-
ddd: 0,
|
|
10
|
-
metadata: t,
|
|
11
|
-
assets: s,
|
|
12
|
-
layers: k,
|
|
13
|
-
markers: d
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
s as assets,
|
|
17
|
-
e as ddd,
|
|
18
|
-
n as default,
|
|
19
|
-
x as fr,
|
|
20
|
-
p as h,
|
|
21
|
-
o as ip,
|
|
22
|
-
k as layers,
|
|
23
|
-
d as markers,
|
|
24
|
-
t as metadata,
|
|
25
|
-
a as nm,
|
|
26
|
-
r as op,
|
|
27
|
-
i as v,
|
|
28
|
-
y as w
|
|
29
|
-
};
|
package/dist/spinner-DygONskw.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { c as p, u as n, d as S, S as a } from "./loadingIcon-DmuPXh70.js";
|
|
2
|
-
import { A as m, y as u, k as s } from "./vendor-preact-BoMmvSgn.js";
|
|
3
|
-
import { T as I } from "./typography-BDACYR5i.js";
|
|
4
|
-
const f = {
|
|
5
|
-
small: 24,
|
|
6
|
-
medium: 48,
|
|
7
|
-
large: 64
|
|
8
|
-
}, T = ({
|
|
9
|
-
title: e,
|
|
10
|
-
subtitle: r,
|
|
11
|
-
size: i = "medium",
|
|
12
|
-
fullScreen: d = !0,
|
|
13
|
-
className: o
|
|
14
|
-
}) => {
|
|
15
|
-
const l = f[i], c = m(null);
|
|
16
|
-
u(() => {
|
|
17
|
-
e && c.current?.focus();
|
|
18
|
-
}, [e]);
|
|
19
|
-
const t = p(
|
|
20
|
-
"IncodeSpinner",
|
|
21
|
-
d && "IncodeSpinnerFullScreen",
|
|
22
|
-
o
|
|
23
|
-
);
|
|
24
|
-
return /* @__PURE__ */ n(
|
|
25
|
-
"div",
|
|
26
|
-
{
|
|
27
|
-
class: t,
|
|
28
|
-
"data-testid": "spinner",
|
|
29
|
-
"data-title": e,
|
|
30
|
-
"data-subtitle": r,
|
|
31
|
-
"data-size": i,
|
|
32
|
-
role: "status",
|
|
33
|
-
"aria-live": "polite",
|
|
34
|
-
children: /* @__PURE__ */ n("div", { class: "IncodeSpinnerContent", children: [
|
|
35
|
-
/* @__PURE__ */ n(S, { size: l }),
|
|
36
|
-
(e || r) && /* @__PURE__ */ n(s, { children: [
|
|
37
|
-
/* @__PURE__ */ n(a, { size: 16 }),
|
|
38
|
-
/* @__PURE__ */ n("div", { class: "IncodeSpinnerText", children: [
|
|
39
|
-
e && /* @__PURE__ */ n(
|
|
40
|
-
I,
|
|
41
|
-
{
|
|
42
|
-
ref: c,
|
|
43
|
-
tabIndex: -1,
|
|
44
|
-
className: "IncodeSpinnerTitle",
|
|
45
|
-
children: e
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
r && /* @__PURE__ */ n(s, { children: [
|
|
49
|
-
e && /* @__PURE__ */ n(a, { size: 12 }),
|
|
50
|
-
/* @__PURE__ */ n("p", { class: "IncodeSpinnerSubtitle", children: r })
|
|
51
|
-
] })
|
|
52
|
-
] })
|
|
53
|
-
] })
|
|
54
|
-
] })
|
|
55
|
-
}
|
|
56
|
-
);
|
|
57
|
-
};
|
|
58
|
-
export {
|
|
59
|
-
T as S
|
|
60
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { u as t } from "./loadingIcon-DmuPXh70.js";
|
|
2
|
-
const i = ({ size: s = 64 }) => /* @__PURE__ */ t(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
width: s,
|
|
6
|
-
height: s,
|
|
7
|
-
viewBox: "0 0 16 17",
|
|
8
|
-
fill: "none",
|
|
9
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
-
class: "IncodeSuccessIcon",
|
|
11
|
-
"aria-hidden": "true",
|
|
12
|
-
children: [
|
|
13
|
-
/* @__PURE__ */ t("title", { children: "status" }),
|
|
14
|
-
/* @__PURE__ */ t(
|
|
15
|
-
"path",
|
|
16
|
-
{
|
|
17
|
-
d: "M8 0.5C12.4182 0.500064 16 4.0818 16 8.5C16 12.9182 12.4181 16.4999 8 16.5C3.58181 16.5 3.68521e-05 12.9182 0 8.5C0 4.08176 3.58179 0.5 8 0.5ZM11.1748 6.11621C10.9423 5.88373 10.5747 5.86781 10.3242 6.06934L10.3203 6.07324L10.2764 6.1123L6.85742 9.53125L5.72656 8.40039C5.47758 8.1514 5.0732 8.1514 4.82422 8.40039C4.59169 8.63292 4.57673 9.00038 4.77832 9.25098L4.78125 9.25488L4.82031 9.29883L6.40625 10.8848C6.63867 11.117 7.00542 11.1319 7.25586 10.9307L7.26074 10.9277L7.30371 10.8877L11.1748 7.01758C11.4235 6.76863 11.4234 6.36521 11.1748 6.11621Z",
|
|
18
|
-
fill: "var(--icon-status-positive)"
|
|
19
|
-
}
|
|
20
|
-
)
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
);
|
|
24
|
-
export {
|
|
25
|
-
i as S
|
|
26
|
-
};
|
|
@@ -1,473 +0,0 @@
|
|
|
1
|
-
import { u as t, S as _, b as g, c as N, d as F } from "./loadingIcon-DmuPXh70.js";
|
|
2
|
-
import { A as a, y as p, g as y, q as w, k as L, d as I } from "./vendor-preact-BoMmvSgn.js";
|
|
3
|
-
import "./instance-BWYzq8dk.js";
|
|
4
|
-
import { B as V } from "./button-CE9kRlem.js";
|
|
5
|
-
import { S as P } from "./successIcon-Bjsdc4lF.js";
|
|
6
|
-
import { P as D } from "./page-SrUl0qtN.js";
|
|
7
|
-
import { T as v } from "./typography-BDACYR5i.js";
|
|
8
|
-
import { E as B } from "./errorContent-Cb8nmQAE.js";
|
|
9
|
-
import { a as M } from "./manualCaptureButton-BvFmTyJe.js";
|
|
10
|
-
import { S as U } from "./spinner-DygONskw.js";
|
|
11
|
-
import { B as H } from "./permissions-DT4Fz9MR.js";
|
|
12
|
-
const h = ({
|
|
13
|
-
icon: i,
|
|
14
|
-
title: n,
|
|
15
|
-
className: e
|
|
16
|
-
}) => {
|
|
17
|
-
const r = a(null);
|
|
18
|
-
return p(() => {
|
|
19
|
-
r.current?.focus();
|
|
20
|
-
}, []), /* @__PURE__ */ t(D, { className: `IncodeCaptureStatusPage ${e ?? ""}`, children: [
|
|
21
|
-
/* @__PURE__ */ t(_, { size: 40 }),
|
|
22
|
-
/* @__PURE__ */ t("div", { class: "IncodeCaptureStatusContainer", children: [
|
|
23
|
-
/* @__PURE__ */ t(_, { size: 120 }),
|
|
24
|
-
i,
|
|
25
|
-
/* @__PURE__ */ t(_, { size: 16 }),
|
|
26
|
-
/* @__PURE__ */ t(
|
|
27
|
-
v,
|
|
28
|
-
{
|
|
29
|
-
ref: r,
|
|
30
|
-
className: "IncodeCaptureStatusTitle",
|
|
31
|
-
tabIndex: -1,
|
|
32
|
-
children: n
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
] })
|
|
36
|
-
] });
|
|
37
|
-
}, E = {
|
|
38
|
-
title: "Something went wrong",
|
|
39
|
-
description: "Please try again later"
|
|
40
|
-
}, x = {
|
|
41
|
-
MASK_ERROR: {
|
|
42
|
-
title: "notifications.mask",
|
|
43
|
-
description: "notifications.maskDescription"
|
|
44
|
-
},
|
|
45
|
-
BRIGHTNESS_ERROR: {
|
|
46
|
-
title: "notifications.brightness",
|
|
47
|
-
description: "notifications.brightnessDescription"
|
|
48
|
-
},
|
|
49
|
-
LIVENESS_ERROR: {
|
|
50
|
-
title: "notifications.spoof",
|
|
51
|
-
description: "notifications.spoofDescription"
|
|
52
|
-
},
|
|
53
|
-
CLOSED_EYES_ERROR: {
|
|
54
|
-
title: "notifications.closedEyes",
|
|
55
|
-
description: "notifications.closedEyesDescription"
|
|
56
|
-
},
|
|
57
|
-
HEAD_COVER_ERROR: {
|
|
58
|
-
title: "notifications.removeHeadwear",
|
|
59
|
-
description: "notifications.removeHeadwearDescription"
|
|
60
|
-
},
|
|
61
|
-
LENSES_ERROR: {
|
|
62
|
-
title: "notifications.lenses",
|
|
63
|
-
description: "notifications.lensesDescription"
|
|
64
|
-
},
|
|
65
|
-
FACE_NOT_FOUND: {
|
|
66
|
-
title: "notifications.faceNotFound",
|
|
67
|
-
description: "notifications.faceNotFoundDescription"
|
|
68
|
-
},
|
|
69
|
-
MULTIPLE_FACES: {
|
|
70
|
-
title: "notifications.multiple",
|
|
71
|
-
description: "notifications.multipleDescription"
|
|
72
|
-
},
|
|
73
|
-
TOO_BLURRY_ERROR: E,
|
|
74
|
-
TOO_DARK_ERROR: E,
|
|
75
|
-
SERVER_ERROR: E,
|
|
76
|
-
FACE_CROPPING_FAILED: E,
|
|
77
|
-
FACE_TOO_SMALL: E,
|
|
78
|
-
PROCESSING_ERROR: E,
|
|
79
|
-
BAD_REQUEST: E,
|
|
80
|
-
USER_IS_NOT_RECOGNIZED: {
|
|
81
|
-
title: "notifications.accessDenied",
|
|
82
|
-
description: "notifications.accessDeniedDescription"
|
|
83
|
-
},
|
|
84
|
-
SPOOF_ATTEMPT_DETECTED: {
|
|
85
|
-
title: "notifications.spoof",
|
|
86
|
-
description: "notifications.spoofDescription"
|
|
87
|
-
},
|
|
88
|
-
FACE_TOO_DARK: {
|
|
89
|
-
title: "notifications.brightness",
|
|
90
|
-
description: "notifications.brightnessDescription"
|
|
91
|
-
},
|
|
92
|
-
LENSES_DETECTED: {
|
|
93
|
-
title: "notifications.lenses",
|
|
94
|
-
description: "notifications.lensesDescription"
|
|
95
|
-
},
|
|
96
|
-
FACE_MASK_DETECTED: {
|
|
97
|
-
title: "notifications.mask",
|
|
98
|
-
description: "notifications.maskDescription"
|
|
99
|
-
},
|
|
100
|
-
CLOSED_EYES_DETECTED: {
|
|
101
|
-
title: "notifications.closedEyes",
|
|
102
|
-
description: "notifications.closedEyesDescription"
|
|
103
|
-
},
|
|
104
|
-
HEAD_COVER_DETECTED: {
|
|
105
|
-
title: "notifications.removeHeadwear",
|
|
106
|
-
description: "notifications.removeHeadwearDescription"
|
|
107
|
-
},
|
|
108
|
-
FACE_TOO_BLURRY: {
|
|
109
|
-
title: "notifications.spoof",
|
|
110
|
-
description: "notifications.spoofDescription"
|
|
111
|
-
},
|
|
112
|
-
BAD_PHOTO_QUALITY: {
|
|
113
|
-
title: "notifications.lowQualityImage",
|
|
114
|
-
description: "notifications.lowQualityImageDescription"
|
|
115
|
-
},
|
|
116
|
-
NONEXISTENT_CUSTOMER: {
|
|
117
|
-
title: "notifications.nonexistentCustomer",
|
|
118
|
-
description: "notifications.nonexistentCustomerDescription"
|
|
119
|
-
},
|
|
120
|
-
HINT_NOT_PROVIDED: {
|
|
121
|
-
title: "notifications.hintNotProvided",
|
|
122
|
-
description: "notifications.hintNotProvidedDescription"
|
|
123
|
-
},
|
|
124
|
-
SELFIE_IMAGE_LOW_QUALITY: {
|
|
125
|
-
title: "notifications.selfieImageLowQuality",
|
|
126
|
-
description: "notifications.selfieImageLowQualityDescription"
|
|
127
|
-
}
|
|
128
|
-
}, k = [
|
|
129
|
-
"LIVENESS_ERROR",
|
|
130
|
-
"BRIGHTNESS_ERROR",
|
|
131
|
-
"LENSES_ERROR",
|
|
132
|
-
"MASK_ERROR",
|
|
133
|
-
"CLOSED_EYES_ERROR",
|
|
134
|
-
"HEAD_COVER_ERROR",
|
|
135
|
-
"SERVER_ERROR",
|
|
136
|
-
"FACE_NOT_FOUND",
|
|
137
|
-
"MULTIPLE_FACES",
|
|
138
|
-
"TOO_BLURRY_ERROR",
|
|
139
|
-
"TOO_DARK_ERROR",
|
|
140
|
-
"USER_IS_NOT_RECOGNIZED",
|
|
141
|
-
"SPOOF_ATTEMPT_DETECTED",
|
|
142
|
-
"FACE_TOO_DARK",
|
|
143
|
-
"LENSES_DETECTED",
|
|
144
|
-
"FACE_MASK_DETECTED",
|
|
145
|
-
"CLOSED_EYES_DETECTED",
|
|
146
|
-
"HEAD_COVER_DETECTED",
|
|
147
|
-
"FACE_CROPPING_FAILED",
|
|
148
|
-
"FACE_TOO_SMALL",
|
|
149
|
-
"FACE_TOO_BLURRY",
|
|
150
|
-
"BAD_PHOTO_QUALITY",
|
|
151
|
-
"PROCESSING_ERROR",
|
|
152
|
-
"BAD_REQUEST",
|
|
153
|
-
"NONEXISTENT_CUSTOMER",
|
|
154
|
-
"HINT_NOT_PROVIDED",
|
|
155
|
-
"SELFIE_IMAGE_LOW_QUALITY"
|
|
156
|
-
], Q = (i) => {
|
|
157
|
-
const n = i.toUpperCase();
|
|
158
|
-
if (n.includes("HTTP 400") || n.includes("BAD_REQUEST"))
|
|
159
|
-
return "BAD_REQUEST";
|
|
160
|
-
if (n.includes("HTTP 500") || n.includes("SERVER_ERROR"))
|
|
161
|
-
return "SERVER_ERROR";
|
|
162
|
-
for (const e of k)
|
|
163
|
-
if (n.includes(e))
|
|
164
|
-
return e;
|
|
165
|
-
return null;
|
|
166
|
-
}, A = ({
|
|
167
|
-
error: i,
|
|
168
|
-
attemptsRemaining: n,
|
|
169
|
-
onTryAgain: e
|
|
170
|
-
}) => {
|
|
171
|
-
const { t: r } = g();
|
|
172
|
-
if (!i) return null;
|
|
173
|
-
const c = Q(i) ?? i, { title: s, description: l } = x[c] ?? E, u = r(s) ?? s, d = n <= 0 ? r("notifications.selfieCaptureFailedDescription") : r(l);
|
|
174
|
-
return /* @__PURE__ */ t(
|
|
175
|
-
B,
|
|
176
|
-
{
|
|
177
|
-
"data-testid": "face-capture-error-modal",
|
|
178
|
-
title: u,
|
|
179
|
-
description: d,
|
|
180
|
-
attemptsRemaining: n,
|
|
181
|
-
onButtonClick: e
|
|
182
|
-
}
|
|
183
|
-
);
|
|
184
|
-
}, Y = () => /* @__PURE__ */ t(
|
|
185
|
-
"svg",
|
|
186
|
-
{
|
|
187
|
-
width: "292",
|
|
188
|
-
height: "272",
|
|
189
|
-
viewBox: "0 0 292 272",
|
|
190
|
-
fill: "none",
|
|
191
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
192
|
-
class: "IncodeFaceOutline",
|
|
193
|
-
"aria-hidden": "true",
|
|
194
|
-
children: [
|
|
195
|
-
/* @__PURE__ */ t("title", { children: "Outline" }),
|
|
196
|
-
/* @__PURE__ */ t(
|
|
197
|
-
"path",
|
|
198
|
-
{
|
|
199
|
-
opacity: "0.8",
|
|
200
|
-
d: "M145.633 8.0625C115.606 8.06268 85.6206 26.5984 76.9712 54.293L76.771 54.9492C70.4539 76.1063 75.0139 100.802 76.8687 110.58L77.3628 113.188L75.1528 114.656C66.1187 120.66 63.5861 124.089 62.8472 126.92C62.4669 128.377 62.4644 130.035 62.8003 132.412C63.1635 134.983 63.7533 137.484 64.4233 141.347L64.5142 141.841C65.5056 146.956 68.1062 152.133 71.2749 156.618C74.5527 161.257 78.2056 164.826 80.7349 166.584L82.4517 167.777V169.869C82.4517 177.866 85.3476 186.144 89.6763 194.128C93.9906 202.085 99.5748 209.473 104.623 215.646L105.526 216.751V218.178C105.526 220.891 105.68 223.73 105.801 226.9C105.92 230.011 106.003 233.347 105.828 236.771C105.475 243.652 104.077 251.044 99.7446 258.227C91.1977 272.397 72.1081 284.401 31.8677 291.776L29.936 292.124C-41.1597 304.684 -61.4563 361.617 -63.2153 392.062H145.633V400.062H-71.3638L-71.3462 396.044C-71.2048 364.597 -50.9804 298.295 28.5444 284.246L30.4448 283.904C69.9919 276.654 86.1642 265.253 92.894 254.095C96.3216 248.412 97.5261 242.442 97.8374 236.362C97.9939 233.307 97.9241 230.262 97.8071 227.206C97.7111 224.697 97.5799 222.105 97.5396 219.615C92.5931 213.5 87.048 206.064 82.644 197.941C78.308 189.944 74.9442 181.04 74.5024 171.896C71.3932 169.387 67.8531 165.638 64.7417 161.234C61.1656 156.173 57.9337 149.942 56.6587 143.353L56.5415 142.714C55.9864 139.514 55.2491 136.155 54.8784 133.531C54.4806 130.715 54.3377 127.843 55.106 124.899C56.5344 119.427 60.7885 114.886 68.5259 109.489C66.4692 98.2995 62.7062 74.0938 69.106 52.6602L69.3345 51.9092C79.2266 20.2173 112.853 0.0626788 145.633 0.0625V8.0625ZM145.635 0.0625C178.415 0.0625 212.042 20.2172 221.934 51.9092L222.163 52.6602C228.562 74.0938 224.799 98.2996 222.743 109.489C230.48 114.886 234.734 119.427 236.163 124.899C236.931 127.843 236.788 130.715 236.39 133.531C236.019 136.155 235.282 139.514 234.727 142.714L234.61 143.353C233.335 149.942 230.103 156.173 226.527 161.234C223.415 165.638 219.875 169.387 216.766 171.896C216.324 181.04 212.961 189.944 208.625 197.941C204.221 206.064 198.676 213.5 193.729 219.615C193.689 222.105 193.557 224.697 193.461 227.206C193.344 230.262 193.275 233.307 193.431 236.362C193.742 242.442 194.947 248.412 198.375 254.095C205.104 265.253 221.277 276.654 260.824 283.904L262.724 284.246C342.249 298.294 362.473 364.597 362.615 396.044L362.632 400.062H145.635V392.062H354.484C352.725 361.616 332.429 304.683 261.333 292.124L259.401 291.776C219.161 284.401 200.071 272.397 191.524 258.227C187.192 251.044 185.793 243.652 185.441 236.771C185.266 233.347 185.348 230.011 185.467 226.9C185.589 223.73 185.743 220.891 185.743 218.178V216.751L186.646 215.646C191.694 209.473 197.278 202.085 201.592 194.128C205.921 186.144 208.817 177.866 208.817 169.869V167.777L210.534 166.584C213.063 164.826 216.716 161.257 219.994 156.618C223.162 152.133 225.763 146.956 226.754 141.841L226.845 141.347C227.515 137.484 228.105 134.983 228.468 132.412C228.804 130.034 228.802 128.377 228.421 126.92C227.682 124.089 225.15 120.66 216.116 114.656L213.906 113.188L214.4 110.58C216.255 100.802 220.815 76.1064 214.498 54.9492L214.297 54.293C205.648 26.5983 175.662 8.0625 145.635 8.0625V0.0625Z",
|
|
201
|
-
fill: "white"
|
|
202
|
-
}
|
|
203
|
-
)
|
|
204
|
-
]
|
|
205
|
-
}
|
|
206
|
-
), G = (i) => {
|
|
207
|
-
switch (i) {
|
|
208
|
-
case "success":
|
|
209
|
-
case "capturing":
|
|
210
|
-
return "var(--surface-status-positive-500)";
|
|
211
|
-
case "loading":
|
|
212
|
-
return "var(--surface-brand-500)";
|
|
213
|
-
case "error":
|
|
214
|
-
return "var(--surface-status-negative-500)";
|
|
215
|
-
case "idle":
|
|
216
|
-
return "var(--surface-neutral-100)";
|
|
217
|
-
}
|
|
218
|
-
}, b = ({
|
|
219
|
-
borderState: i = "idle"
|
|
220
|
-
}) => {
|
|
221
|
-
const n = y(), e = i === "loading" || i === "capturing", r = G(i), o = e ? `url(#${n})` : r;
|
|
222
|
-
return /* @__PURE__ */ t(
|
|
223
|
-
"div",
|
|
224
|
-
{
|
|
225
|
-
class: N("IncodeLoadingBorder", {
|
|
226
|
-
IncodeLoadingBorderSpinning: e
|
|
227
|
-
}),
|
|
228
|
-
"aria-hidden": "true",
|
|
229
|
-
children: /* @__PURE__ */ t(
|
|
230
|
-
"svg",
|
|
231
|
-
{
|
|
232
|
-
width: "100%",
|
|
233
|
-
height: "100%",
|
|
234
|
-
viewBox: "0 0 335 335",
|
|
235
|
-
fill: "none",
|
|
236
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
237
|
-
children: [
|
|
238
|
-
/* @__PURE__ */ t("title", { children: "Loading Border" }),
|
|
239
|
-
/* @__PURE__ */ t(
|
|
240
|
-
"path",
|
|
241
|
-
{
|
|
242
|
-
"fill-rule": "evenodd",
|
|
243
|
-
"clip-rule": "evenodd",
|
|
244
|
-
d: "M335 167.5C335 260.008 260.008 335 167.5 335C74.9923 335 0 260.008 0 167.5C0 74.9923 74.9923 0 167.5 0C260.008 0 335 74.9923 335 167.5ZM167.5 325C254.485 325 325 254.485 325 167.5C325 80.5152 254.485 10 167.5 10C80.5152 10 10 80.5152 10 167.5C10 254.485 80.5152 325 167.5 325Z",
|
|
245
|
-
class: "IncodeLoadingBorderPath",
|
|
246
|
-
fill: o
|
|
247
|
-
}
|
|
248
|
-
),
|
|
249
|
-
/* @__PURE__ */ t("defs", { children: /* @__PURE__ */ t(
|
|
250
|
-
"radialGradient",
|
|
251
|
-
{
|
|
252
|
-
id: n,
|
|
253
|
-
cx: "0",
|
|
254
|
-
cy: "0",
|
|
255
|
-
r: "1",
|
|
256
|
-
gradientUnits: "userSpaceOnUse",
|
|
257
|
-
gradientTransform: "translate(240.418 17.4369) rotate(115.674) scale(167.087)",
|
|
258
|
-
children: [
|
|
259
|
-
/* @__PURE__ */ t("stop", { "stop-color": r }),
|
|
260
|
-
/* @__PURE__ */ t("stop", { offset: "1", "stop-color": r, "stop-opacity": "0" })
|
|
261
|
-
]
|
|
262
|
-
}
|
|
263
|
-
) })
|
|
264
|
-
]
|
|
265
|
-
}
|
|
266
|
-
)
|
|
267
|
-
}
|
|
268
|
-
);
|
|
269
|
-
}, z = ({
|
|
270
|
-
detectionState: i,
|
|
271
|
-
disabled: n
|
|
272
|
-
}) => {
|
|
273
|
-
const { t: e } = g(), r = a(null), o = a({
|
|
274
|
-
message: "",
|
|
275
|
-
at: 0
|
|
276
|
-
}), c = a(i), s = a(n), l = a(!1), u = a(), d = a(), C = {
|
|
277
|
-
noFace: e("notifications.faceNotFound"),
|
|
278
|
-
tooManyFaces: e("notifications.tooManyFaces"),
|
|
279
|
-
tooClose: e("notifications.moveAway"),
|
|
280
|
-
tooFar: e("notifications.moveCloser"),
|
|
281
|
-
blur: e("notifications.onBlur"),
|
|
282
|
-
dark: e("notifications.onDark"),
|
|
283
|
-
faceAngle: e("notifications.onFaceAngleV2"),
|
|
284
|
-
headWear: e("notifications.removeHeadwear"),
|
|
285
|
-
lenses: e("notifications.removeLenses"),
|
|
286
|
-
eyesClosed: e("notifications.eyesClosed"),
|
|
287
|
-
faceMask: e("notifications.mask"),
|
|
288
|
-
centerFace: e("notifications.centerFaceV2"),
|
|
289
|
-
getReady: e("notifications.getReady"),
|
|
290
|
-
capturing: e("idv2.capture.takingPhoto")
|
|
291
|
-
}[i] ?? "", f = w((R) => {
|
|
292
|
-
const S = Date.now(), O = o.current;
|
|
293
|
-
if (R === O.message && S - O.at < 200) return;
|
|
294
|
-
o.current = { message: R, at: S };
|
|
295
|
-
const m = r.current;
|
|
296
|
-
m && (clearTimeout(u.current), m.textContent = "", d.current = setTimeout(() => {
|
|
297
|
-
m.textContent = R, u.current = setTimeout(() => {
|
|
298
|
-
m.textContent = "";
|
|
299
|
-
}, 3e3);
|
|
300
|
-
}, 50));
|
|
301
|
-
}, []);
|
|
302
|
-
return p(() => {
|
|
303
|
-
const R = s.current;
|
|
304
|
-
if (s.current = n, n || i === "manualCapture") {
|
|
305
|
-
l.current = !1;
|
|
306
|
-
return;
|
|
307
|
-
}
|
|
308
|
-
if (l.current) return;
|
|
309
|
-
const O = setTimeout(() => {
|
|
310
|
-
l.current = !0, f(e("selfiev2.autoCapture.defaultAriaInstructions"));
|
|
311
|
-
}, R ? 1e3 : 500);
|
|
312
|
-
return () => clearTimeout(O);
|
|
313
|
-
}, [i, n, f, e]), p(() => {
|
|
314
|
-
const R = c.current;
|
|
315
|
-
c.current = i, !n && R !== "manualCapture" && i === "manualCapture" && f(e("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
|
|
316
|
-
}, [f, i, e, n]), p(() => {
|
|
317
|
-
n || !C || f(C);
|
|
318
|
-
}, [C, f, n]), p(() => () => {
|
|
319
|
-
clearTimeout(d.current), clearTimeout(u.current);
|
|
320
|
-
}, []), /* @__PURE__ */ t(L, { children: [
|
|
321
|
-
/* @__PURE__ */ t(
|
|
322
|
-
"div",
|
|
323
|
-
{
|
|
324
|
-
ref: r,
|
|
325
|
-
class: "IncodeCaptureVisuallyHidden",
|
|
326
|
-
"aria-live": "assertive",
|
|
327
|
-
"aria-atomic": "true"
|
|
328
|
-
}
|
|
329
|
-
),
|
|
330
|
-
C ? /* @__PURE__ */ t("div", { class: "IncodeNotification", "aria-hidden": "true", children: /* @__PURE__ */ t("p", { class: "IncodeNotificationText", children: C }) }) : null
|
|
331
|
-
] });
|
|
332
|
-
}, ot = ({ manager: i, state: n }) => {
|
|
333
|
-
const {
|
|
334
|
-
captureStatus: e,
|
|
335
|
-
stream: r,
|
|
336
|
-
detectionStatus: o,
|
|
337
|
-
attemptsRemaining: c,
|
|
338
|
-
uploadError: s,
|
|
339
|
-
assistedOnboarding: l
|
|
340
|
-
} = n, [u, d] = I(!1), { t: T } = g(), C = a(null);
|
|
341
|
-
if (p(() => {
|
|
342
|
-
o === "manualCapture" && C.current?.focus();
|
|
343
|
-
}, [o]), e === "initializing")
|
|
344
|
-
return /* @__PURE__ */ t(
|
|
345
|
-
U,
|
|
346
|
-
{
|
|
347
|
-
fullScreen: !0,
|
|
348
|
-
title: T("v2.selfie.camera.loading"),
|
|
349
|
-
className: "IncodeCameraLoading"
|
|
350
|
-
}
|
|
351
|
-
);
|
|
352
|
-
if (e === "detecting") {
|
|
353
|
-
if (o === "offline")
|
|
354
|
-
return /* @__PURE__ */ t(D, { title: "No internet connection" });
|
|
355
|
-
const f = () => u ? "capturing" : o === "detecting" ? "idle" : o === "getReady" ? "loading" : o === "success" ? "success" : o === "error" ? "error" : "idle";
|
|
356
|
-
return /* @__PURE__ */ t(D, { "data-testid": "capture-container", children: [
|
|
357
|
-
/* @__PURE__ */ t(v, { className: "IncodeCaptureVisuallyHidden", children: T("selfiev2.capture.title") }),
|
|
358
|
-
/* @__PURE__ */ t(_, { size: 48 }),
|
|
359
|
-
/* @__PURE__ */ t("div", { class: "IncodeCaptureContainer", children: [
|
|
360
|
-
/* @__PURE__ */ t(b, { borderState: f() }),
|
|
361
|
-
/* @__PURE__ */ t("div", { class: "IncodeCaptureFrame", children: /* @__PURE__ */ t("div", { class: "IncodeCaptureVideoWrapper", "aria-hidden": "true", children: r ? /* @__PURE__ */ t(L, { children: [
|
|
362
|
-
/* @__PURE__ */ t(K, { stream: r, mirrored: !l }),
|
|
363
|
-
/* @__PURE__ */ t("div", { class: "IncodeCaptureVideo", children: /* @__PURE__ */ t(Y, {}) })
|
|
364
|
-
] }) : null }) }),
|
|
365
|
-
/* @__PURE__ */ t(_, { size: 48 }),
|
|
366
|
-
o ? /* @__PURE__ */ t(L, { children: [
|
|
367
|
-
/* @__PURE__ */ t(
|
|
368
|
-
z,
|
|
369
|
-
{
|
|
370
|
-
detectionState: o,
|
|
371
|
-
disabled: !!s || u
|
|
372
|
-
}
|
|
373
|
-
),
|
|
374
|
-
/* @__PURE__ */ t(_, { size: 24 })
|
|
375
|
-
] }) : null,
|
|
376
|
-
o === "manualCapture" ? /* @__PURE__ */ t(
|
|
377
|
-
M,
|
|
378
|
-
{
|
|
379
|
-
ref: C,
|
|
380
|
-
onClick: () => {
|
|
381
|
-
d(!0), i.capture();
|
|
382
|
-
},
|
|
383
|
-
disabled: u
|
|
384
|
-
}
|
|
385
|
-
) : null
|
|
386
|
-
] }),
|
|
387
|
-
s ? /* @__PURE__ */ t(
|
|
388
|
-
A,
|
|
389
|
-
{
|
|
390
|
-
error: s,
|
|
391
|
-
attemptsRemaining: c,
|
|
392
|
-
onTryAgain: () => {
|
|
393
|
-
i.retryCapture(), d(!1);
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
) : null
|
|
397
|
-
] });
|
|
398
|
-
}
|
|
399
|
-
return e === "capturing" ? /* @__PURE__ */ t(
|
|
400
|
-
D,
|
|
401
|
-
{
|
|
402
|
-
className: "IncodeCaptureCapturingPage",
|
|
403
|
-
title: "Capturing",
|
|
404
|
-
subtitle: "Taking photo...",
|
|
405
|
-
children: /* @__PURE__ */ t("div", { class: "IncodeCaptureCapturingActions", children: /* @__PURE__ */ t(V, { isLoading: !0, children: "Capturing..." }) })
|
|
406
|
-
}
|
|
407
|
-
) : e === "uploading" ? /* @__PURE__ */ t(
|
|
408
|
-
h,
|
|
409
|
-
{
|
|
410
|
-
className: "IncodeCaptureStatusUploading",
|
|
411
|
-
icon: /* @__PURE__ */ t(F, { size: 64 }),
|
|
412
|
-
title: T("idv2.capture.processing.uploading")
|
|
413
|
-
}
|
|
414
|
-
) : e === "uploadError" ? /* @__PURE__ */ t(
|
|
415
|
-
A,
|
|
416
|
-
{
|
|
417
|
-
error: s,
|
|
418
|
-
attemptsRemaining: c,
|
|
419
|
-
onTryAgain: () => {
|
|
420
|
-
i.retryCapture(), d(!1);
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
) : e === "success" ? /* @__PURE__ */ t(
|
|
424
|
-
h,
|
|
425
|
-
{
|
|
426
|
-
icon: /* @__PURE__ */ t(P, { size: 64 }),
|
|
427
|
-
title: T("idv2.capture.processing.success")
|
|
428
|
-
}
|
|
429
|
-
) : null;
|
|
430
|
-
}, K = ({ stream: i, mirrored: n }) => {
|
|
431
|
-
const e = a(null);
|
|
432
|
-
return p(() => {
|
|
433
|
-
e.current && i && (e.current.srcObject = i);
|
|
434
|
-
}, [i]), /* @__PURE__ */ t(
|
|
435
|
-
"video",
|
|
436
|
-
{
|
|
437
|
-
ref: e,
|
|
438
|
-
autoplay: !0,
|
|
439
|
-
playsInline: !0,
|
|
440
|
-
muted: !0,
|
|
441
|
-
"aria-hidden": "true",
|
|
442
|
-
class: n ? "IncodeCaptureVideoElement IncodeCaptureVideoMirrored" : "IncodeCaptureVideoElement"
|
|
443
|
-
}
|
|
444
|
-
);
|
|
445
|
-
}, rt = ({ manager: i }) => {
|
|
446
|
-
const { t: n } = g(), [e, r] = I(!1), [o, c] = I(null);
|
|
447
|
-
p(() => {
|
|
448
|
-
import("./selfieTutorial-Dm_p0ke9.js").then((l) => {
|
|
449
|
-
c(l.default);
|
|
450
|
-
});
|
|
451
|
-
}, []);
|
|
452
|
-
const s = () => {
|
|
453
|
-
r(!0), i.nextStep();
|
|
454
|
-
};
|
|
455
|
-
return o ? /* @__PURE__ */ t(
|
|
456
|
-
H,
|
|
457
|
-
{
|
|
458
|
-
animationData: o,
|
|
459
|
-
title: n("face.tutorial.title"),
|
|
460
|
-
titleId: "face-tutorial-heading",
|
|
461
|
-
subtitle: n("face.tutorial.subtitle"),
|
|
462
|
-
onContinue: s,
|
|
463
|
-
buttonText: n("face.tutorial.startCapture"),
|
|
464
|
-
disclaimerText: n("face.tutorial.autoCapture"),
|
|
465
|
-
isLoading: e,
|
|
466
|
-
className: "IncodeSelfieTutorial"
|
|
467
|
-
}
|
|
468
|
-
) : null;
|
|
469
|
-
};
|
|
470
|
-
export {
|
|
471
|
-
ot as C,
|
|
472
|
-
rt as T
|
|
473
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|