@sekyro/react 0.1.0-rc.3 → 0.1.0-rc.31
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/CHANGELOG.md +578 -0
- package/LICENSE +25 -16
- package/README.md +189 -39
- package/dist/chunk-2KED7D2Q.js +2 -0
- package/dist/chunk-55NNQK5P.js +2 -0
- package/dist/chunk-7MMT5M4E.js +2 -0
- package/dist/chunk-AZF7USGM.js +2 -0
- package/dist/chunk-DYWLZHSM.js +2 -0
- package/dist/chunk-FE6AS435.js +2 -0
- package/dist/chunk-GUTF3SPK.js +2 -0
- package/dist/chunk-JEOESSNW.js +2 -0
- package/dist/chunk-K5H7KWEY.js +2 -0
- package/dist/chunk-M7JKVIGW.js +2 -0
- package/dist/chunk-MBLJZVNN.js +2 -0
- package/dist/chunk-OHNOGFT2.js +2 -0
- package/dist/chunk-PMNUDJWG.js +2 -0
- package/dist/chunk-Q5BGUJMS.js +2 -0
- package/dist/chunk-QD66CL7R.js +2 -0
- package/dist/chunk-RGI6OVB2.js +2 -0
- package/dist/chunk-VNVE5DMF.js +2 -0
- package/dist/chunk-VRDPGOXM.js +2 -0
- package/dist/chunk-WC4U54LZ.js +2 -0
- package/dist/chunk-ZARKJW2C.js +2 -0
- package/dist/document-capture-view-GENB535Z.js +2 -0
- package/dist/eid-view-IQRZGEMP.js +2 -0
- package/dist/email-otp-view-CL76K5TY.js +2 -0
- package/dist/flow-views-C3EIMXME.js +2 -0
- package/dist/fonts/Cairo-OFL.txt +93 -0
- package/dist/fonts/Geist-OFL.txt +93 -0
- package/dist/fonts/Inter-OFL.txt +93 -0
- package/dist/fonts/SekyroCairo-Bold.woff2 +0 -0
- package/dist/fonts/SekyroCairo-Regular.woff2 +0 -0
- package/dist/fonts/SekyroCairo-SemiBold.woff2 +0 -0
- package/dist/fonts/SekyroGeist-Bold.woff2 +0 -0
- package/dist/fonts/SekyroGeist-SemiBold.woff2 +0 -0
- package/dist/fonts/SekyroInter-Medium.woff2 +0 -0
- package/dist/fonts/SekyroInter-Regular.woff2 +0 -0
- package/dist/fonts/SekyroInter-SemiBold.woff2 +0 -0
- package/dist/form-view-MEYCK437.js +2 -0
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +7 -380
- package/dist/index.d.ts +7 -380
- package/dist/index.js +1 -2
- package/dist/overlay-de-LOQWEHOH.js +2 -0
- package/dist/overlay-es-F54CKFZO.js +2 -0
- package/dist/overlay-pt-NHIQY3JB.js +2 -0
- package/dist/portrait-capture-view-VTN2VU3E.js +2 -0
- package/dist/portrait-review-view-JTRGDYNV.js +2 -0
- package/dist/proof-of-address-view-UQOZZXQO.js +2 -0
- package/dist/styles.css +35 -11
- package/dist/theme-BASMEql8.d.cts +548 -0
- package/dist/theme-BASMEql8.d.ts +548 -0
- package/dist/verification/index.cjs +2 -0
- package/dist/verification/index.d.cts +871 -0
- package/dist/verification/index.d.ts +871 -0
- package/dist/verification/index.js +2 -0
- package/dist/verification.css +848 -0
- package/package.json +27 -16
- package/sbom.cdx.json +153 -0
- package/assets/audio/v1/README.md +0 -60
- package/assets/audio/v1/manifest.json +0 -7
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as b}from"./chunk-RGI6OVB2.js";import{d as I}from"./chunk-QD66CL7R.js";import{a as _,b as P,d as S,p as x,q as C}from"./chunk-Q5BGUJMS.js";import{a as f}from"./chunk-WC4U54LZ.js";import{a as s}from"./chunk-2KED7D2Q.js";import{useRef as E,useState as k}from"react";var N={"portrait.source.title":"كيف تريد إضافة صورتك الشخصية؟","portrait.source.description":"التقط صورة جديدة بالكاميرا، أو ارفع صورة حديثة من هذا الجهاز.","portrait.source.camera":"التقاط صورة","portrait.source.upload":"رفع صورة","portrait.source.uploadInstead":"رفع صورة بدلًا من ذلك","portrait.upload.title":"ارفع صورتك الشخصية","portrait.upload.hint":"صورة حديثة لوجهك، تنظر فيها مباشرة إلى الكاميرا، أمام جدار فاتح وبلون واحد.","portrait.upload.choose":"اختيار صورة","portrait.upload.unsupported":"اختر صورة بصيغة JPEG أو PNG أو HEIC.","portrait.upload.failed":"تعذّر إرسال هذه الصورة. حاول مرة أخرى.","portrait.review.title":"تحقّق من صورتك المعدّلة","portrait.review.description":"عدّلنا صورتك لتطابق قواعد صور الهوية. لم نغيّر وجهك.","portrait.review.original":"صورتك","portrait.review.fixed":"الصورة المعدّلة","portrait.review.fixesTitle":"ما الذي غيّرناه","portrait.review.accept":"استخدام هذه الصورة","portrait.review.retake":"إعادة الالتقاط","portrait.review.uploadAnother":"رفع صورة أخرى","portrait.fixes.crop":"قُصّت","portrait.fixes.scale":"غُيّر حجمها","portrait.fixes.straighten":"عُدّل ميلها","portrait.fixes.background":"استُبدلت الخلفية","portrait.fixes.exposure":"عُدّل السطوع","portrait.fixes.white_balance":"وُزنت الألوان","reasons.portrait_morph_suspected":"لا يمكن استخدام هذه الصورة. التقط صورة جديدة للشخص.","reasons.portrait_reference_mismatch":"لا تطابق الصورة المرجع. التقط صورة جديدة للشخص.","reasons.portrait_declined_fix":"التقط صورة أخرى أو ارفعها."};var g={"portrait.source.title":"How do you want to add your ID photo?","portrait.source.description":"Take a new photo with the camera, or upload a recent photo from this device.","portrait.source.camera":"Take a photo","portrait.source.upload":"Upload a photo","portrait.source.uploadInstead":"Upload a photo instead","portrait.upload.title":"Upload your ID photo","portrait.upload.hint":"A recent photo of your face, looking straight at the camera, in front of a plain, light wall.","portrait.upload.choose":"Choose a photo","portrait.upload.unsupported":"Choose a JPEG, PNG or HEIC photo.","portrait.upload.failed":"We could not send this photo. Try again.","portrait.review.title":"Check your adjusted photo","portrait.review.description":"We adjusted your photo to meet the ID photo rules. Your face was not changed.","portrait.review.original":"Your photo","portrait.review.fixed":"Adjusted photo","portrait.review.fixesTitle":"What we changed","portrait.review.accept":"Use this photo","portrait.review.retake":"Take another","portrait.review.uploadAnother":"Upload another","portrait.fixes.crop":"Cropped","portrait.fixes.scale":"Resized","portrait.fixes.straighten":"Straightened","portrait.fixes.background":"Background replaced","portrait.fixes.exposure":"Brightness adjusted","portrait.fixes.white_balance":"Colours balanced","reasons.portrait_morph_suspected":"This photo cannot be used. Take a new photo of the person.","reasons.portrait_reference_mismatch":"The photo does not match the reference. Take a new photo of the person.","reasons.portrait_declined_fix":"Take or upload another photo."};var T={"portrait.source.title":"Comment voulez-vous ajouter votre photo d'identité ?","portrait.source.description":"Prenez une nouvelle photo avec la caméra, ou importez une photo récente depuis cet appareil.","portrait.source.camera":"Prendre une photo","portrait.source.upload":"Importer une photo","portrait.source.uploadInstead":"Importer une photo à la place","portrait.upload.title":"Importez votre photo d'identité","portrait.upload.hint":"Une photo récente de votre visage, de face, devant un mur clair et uni.","portrait.upload.choose":"Choisir une photo","portrait.upload.unsupported":"Choisissez une photo JPEG, PNG ou HEIC.","portrait.upload.failed":"Nous n'avons pas pu envoyer cette photo. Réessayez.","portrait.review.title":"Vérifiez votre photo ajustée","portrait.review.description":"Nous avons ajusté votre photo pour qu'elle respecte les règles des photos d'identité. Votre visage n'a pas été modifié.","portrait.review.original":"Votre photo","portrait.review.fixed":"Photo ajustée","portrait.review.fixesTitle":"Ce que nous avons modifié","portrait.review.accept":"Utiliser cette photo","portrait.review.retake":"Reprendre","portrait.review.uploadAnother":"Importer une autre","portrait.fixes.crop":"Recadrée","portrait.fixes.scale":"Redimensionnée","portrait.fixes.straighten":"Redressée","portrait.fixes.background":"Fond remplacé","portrait.fixes.exposure":"Luminosité ajustée","portrait.fixes.white_balance":"Couleurs équilibrées","reasons.portrait_morph_suspected":"Cette photo ne peut pas être utilisée. Prenez une nouvelle photo de la personne.","reasons.portrait_reference_mismatch":"La photo ne correspond pas à la référence. Prenez une nouvelle photo de la personne.","reasons.portrait_declined_fix":"Prenez ou importez une autre photo."};import{jsx as t,jsxs as n}from"react/jsx-runtime";var H={en:g,fr:T,ar:N,es:g,pt:g,de:g},V="image/jpeg,image/png,image/heic,image/heif";function v(r){let o=r.strings,i=H[r.locale];return e=>o[e]??i[e]??""}s(v,"portraitCopy");function R({step:r,i18n:o}){if(r.reason===void 0||r.reason==="portrait_fix_review")return null;let i=v(o)(`reasons.${r.reason}`)||o.t("portrait.retryTitle");return n(x,{tone:"warning",children:[t("span",{children:i}),t("span",{children:C(o,r.attemptsRemaining,r.attemptsExhausted)})]})}s(R,"ReasonNotice");function z({step:r,i18n:o,onCamera:i,onUpload:e}){let a=v(o),p=r.photo?.cameraOnPhone===!0;return t(b,{testId:"sekyro-portrait-source",title:a("portrait.source.title"),lead:a("portrait.source.description"),cameraLabel:p?o.t("capture.source.phone"):a("portrait.source.camera"),onPhone:p,uploadLabel:a("portrait.source.upload"),notice:t(R,{step:r,i18n:o}),onCamera:i,onUpload:e})}s(z,"PortraitSourceView");function A({step:r,i18n:o,onCamera:i}){let e=v(o),a=E(null),[p,h]=k("idle"),u=p==="sending",l=r.photo?.uploadOffered===!0,w=s(async c=>{let y=c.currentTarget.files?.[0];if(c.currentTarget.value="",y!==void 0){h("sending");try{await r.uploadPortrait(y),h("idle")}catch(m){h(m instanceof TypeError&&m.message==="unsupported_file"?"unsupported":"failed")}}},"onFile");return n("section",{className:"sekyro-step","data-testid":"sekyro-portrait-upload-screen",children:[t(P,{title:e("portrait.upload.title"),lead:e("portrait.upload.hint")}),p==="idle"||p==="sending"?t(R,{step:r,i18n:o}):null,p==="unsupported"||p==="failed"?t(x,{tone:"warning",children:t("span",{children:e(p==="unsupported"?"portrait.upload.unsupported":"portrait.upload.failed")})}):null,u?t("p",{className:"sekyro-text-muted",role:"status","aria-busy":"true",children:o.t("portrait.uploading")}):null,t("input",{ref:a,type:"file",accept:V,hidden:!0,"data-testid":"sekyro-portrait-upload","aria-label":e("portrait.upload.title"),onChange:c=>{w(c)}}),n(S,{children:[t(f,{full:!0,onClick:()=>a.current?.click(),disabled:u||!l||r.attemptsExhausted,children:e("portrait.upload.choose")}),i!==void 0?n(f,{full:!0,kind:"ghost",onClick:i,disabled:u,children:[t(_,{name:"camera"}),e("portrait.source.camera")]}):null]})]})}s(A,"PortraitUploadView");function j({step:r,i18n:o,onDeclined:i}){let e=v(o),[a,p]=k(!1),[h,u]=k(!1),l=r.pendingFix;if(l==null)return null;let w=s(async d=>{p(!0),u(!1);try{await r.confirmFix(d),d||i?.()}catch{u(!0)}finally{p(!1)}},"answer"),c=r.photo?.source==="upload"?e("portrait.review.uploadAnother"):e("portrait.review.retake"),y=s(d=>e(`portrait.fixes.${d}`)||d,"fixName"),m=e("portrait.review.original"),U=e("portrait.review.fixed");return n("section",{className:"sekyro-step","data-testid":"sekyro-portrait-review",children:[t(P,{title:e("portrait.review.title"),lead:e("portrait.review.description")}),n("div",{className:"sekyro-portrait-pair",children:[n("figure",{className:"sekyro-portrait-pair__item",children:[t("img",{src:l.originalUrl,alt:m}),t("figcaption",{className:"sekyro-text-muted",children:m})]}),n("figure",{className:"sekyro-portrait-pair__item",children:[t("img",{src:l.fixedUrl,alt:U}),t("figcaption",{className:"sekyro-text-muted",children:U})]})]}),l.fixes.length>0?n("div",{className:"sekyro-stack sekyro-stack--1",children:[t("p",{className:"sekyro-text-body",children:e("portrait.review.fixesTitle")}),t("ul",{className:"sekyro-portrait-fixes","data-testid":"sekyro-portrait-fixes",children:l.fixes.map(d=>t("li",{children:y(d)},d))})]}):null,h?t(x,{tone:"danger",children:t("span",{children:o.t("errors.network_error")})}):null,n(S,{children:[t(f,{full:!0,onClick:()=>{w(!0)},disabled:a,"data-testid":"sekyro-portrait-accept",children:e("portrait.review.accept")}),t(f,{full:!0,kind:"ghost",onClick:()=>{w(!1)},disabled:a,"data-testid":"sekyro-portrait-decline",children:c})]})]})}s(j,"PortraitReviewView");function Q({screen:r,step:o,i18n:i,onCamera:e,onUpload:a,onDeclined:p}){return r==="phone"?t(I,{i18n:i,lead:i.t("handoff.lead.portrait"),refresh:o.refresh,actions:t(f,{kind:"ghost",full:!0,onClick:a,children:v(i)("portrait.source.upload")})}):r==="review"?t(j,{step:o,i18n:i,onDeclined:p}):r==="upload"?t(A,{step:o,i18n:i,...e!==void 0?{onCamera:e}:{}}):t(z,{step:o,i18n:i,onCamera:e??a,onUpload:a})}s(Q,"PortraitScreens");export{v as a,z as b,A as c,j as d,Q as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as p,b as u}from"./chunk-DYWLZHSM.js";import{d as a,g as c,h as d}from"./chunk-WC4U54LZ.js";import{a as i}from"./chunk-2KED7D2Q.js";var l={"session.title":"تحقّق من هويتك","session.requestedBy":"تطلب {orgName} منك التحقق من هويتك","returning.requestedBy":"تطلب {orgName} منك تأكيد أنك أنت","consent.notice":"بإكمال عملية التحقق من الهوية، فإنك توافق على معالجة بياناتك الشخصية والبيومترية للتحقق من هويتك.","consent.details":"التفاصيل","consent.terms.intro":"تتحقق Sekyro AI من هويتك نيابةً عن الجهة التي أرسلت إليك هذا الرابط. قبل البدء، اطّلع على كيفية استخدام بياناتك.","consent.terms.data":"أثناء التحقق، تجمع Sekyro AI صور وثيقة هويتك، ومقطع فيديو ذاتيًا قصيرًا، وصورة ذاتية، ورقم وثيقة هويتك.","consent.terms.processing":"تُستخدم هذه البيانات للتحقق من هويتك فقط: يُقارَن وجهك بالصورة الموجودة على وثيقتك، ويُطابَق رقمك مع سجلات الجهة المُصدِرة متى أمكن ذلك. وقد يفحص بعض الخطوات مراجع بشري مخوَّل.","consent.terms.sharing":"تُبلَّغ الجهة التي طلبت هذا التحقق بنتيجته.","consent.terms.retention":"تُخزَّن بياناتك مشفّرة ولا يُحتفظ بها إلا للمدة التي يقتضيها القانون. لممارسة حقوقك المتعلقة بحماية البيانات، تواصل مع الجهة التي طلبت هذا التحقق.","capture.modeSwitch.toSelfPhoto":"ألتقط الصورة بنفسي","capture.modeSwitch.toAssistedLabelPhoto":"التبديل إلى التصوير بمساعدة شخص آخر يحمل الهاتف ويلتقط صورتك","capture.modeSwitch.toSelfLabelPhoto":"التبديل إلى التصوير الذاتي والتقاط صورتك بالكاميرا الأمامية","reasons.camera_unavailable":"يتطلب هذا التحقق كاميرا. عُد إلى {org} للمتابعة بطريقة أخرى.","otp.sendTitle":"تحقّق من رقم هاتفك","otp.sendDescription":"سنرسل إليك رمزًا يُستخدم مرة واحدة لتأكيد أن هذا الرقم يخصّك","otp.prefilledNotice":"سنرسل رمز تحقّق إلى رقم هاتفك المسجّل.","otp.phoneLabel":"رقم الهاتف","otp.phoneHelper":"سنرسل رمزًا يُستخدم مرة واحدة إلى هذا الرقم","otp.phonePlaceholder":"8 أرقام","otp.send":"إرسال الرمز","otp.channelSms":"رسالة نصية","otp.channelWhatsapp":"واتساب","otp.verifyTitle":"أدخل الرمز","otp.verifyDescription":"أدخل الرمز المكوّن من 6 أرقام الذي أرسلناه إليك لإتمام التحقّق من رقمك","otp.sentTo":"أرسلنا رمزًا مكوّنًا من 6 أرقام إلى {number} عبر {channel}","otp.codeLabel":"رمز التحقّق","otp.codeHelper":"أدخل الرمز المكوّن من 6 أرقام الذي أرسلناه إليك","otp.verify":"تحقّق من الرمز","otp.resend":"إعادة إرسال الرمز","otp.resendIn":"إعادة إرسال الرمز خلال {seconds} ثانية","otp.expiresIn":"ينتهي الرمز خلال {time}","otp.expired":"انتهت صلاحية الرمز. أعد إرسال رمز جديد","otp.reason_otp_mismatch":"الرمز غير صحيح. تحقّق منه وأعد إدخاله","otp.reason_otp_expired":"انتهت صلاحية الرمز. أعد إرسال رمز جديد للمتابعة","otp.reason_otp_send_failed":"تعذّر إرسال الرمز. أعد المحاولة بعد قليل","otp.chooseChannel":"كيف تريد أن تتلقّى رمزك؟","otp.sendBy":"إرسال الرمز عبر {channel}","otp.resendBy":"إعادة الإرسال عبر {channel}","otp.sending":"جارٍ إرسال الرمز عبر {channel}","otp.reason_otp_channel_unavailable":"هذه الوسيلة غير متاحة. اختر طريقة أخرى لتلقّي رمزك","otp.reason_otp_destination_not_allowed":"لا يمكننا إرسال الرموز إلى أرقام هذا البلد. أدخل رقمًا آخر","otp.reason_otp_destination_unknown":"تعذّر التعرّف على هذا الرقم. تحقّق منه وأعد إدخاله مع رمز البلد","otp.reason_otp_rate_limited":"طُلبت رموز كثيرة لهذا الرقم. أعد المحاولة لاحقًا أو أدخل رقمًا آخر.","otp.reason_otp_daily_cap_reached":"لا يمكننا إرسال رمز إليك اليوم. اختر طريقة أخرى للتحقق إن كانت متاحة، أو حاول مرة أخرى لاحقًا.","otp.reason_payment_method_required":"طريقة التحقق هذه غير متاحة حاليًا. اختر طريقة أخرى للتحقق إن كانت متاحة.","otp.reason_spend_cap_reached":"طريقة التحقق هذه غير متاحة حاليًا. اختر طريقة أخرى للتحقق إن كانت متاحة.","otp.reason_insufficient_balance":"طريقة التحقق هذه غير متاحة حاليًا. اختر طريقة أخرى للتحقق إن كانت متاحة.","otp.phonePlaceholderGeneric":"أدخل رقم هاتفك بدون رمز البلد","otp.countryLabel":"البلد","otp.phoneLengthError":"تحقق من الرقم: يجب أن يكون عدد أرقامه {digits}.","otp.or":"أو","otp.otherCountry":"بلد آخر","otp.countrySearch":"ابحث عن بلد","otp.reason_otp_number_invalid":"لا يبدو هذا الرقم كاملاً لبلده. تحقق منه ثم أعد المحاولة.","otp.reason_otp_number_not_mobile":"أدخل رقم هاتف محمول. لا يمكن إرسال الرموز إلى خط أرضي.","session.steps.population.title":"أدخل رقم تعريفك الوطني","session.steps.population.description":"يُطابَق رقمك الوطني المكوّن من 10 أرقام مع سجل الحالة المدنية","population.label":"الرقم الوطني للتعريف الموريتاني (NNI)","population.helper":"رقم التعريف الوطني المكوّن من 10 أرقام كما هو مطبوع على بطاقتك","population.placeholder":"10 أرقام","population.submit":"تحقّق من رقمي","population.invalid":"أدخل الأرقام العشرة للرقم الوطني كما هو مطبوع على بطاقة هويتك","population.reason_registry_unavailable":"سجل الحالة المدنية غير متاح مؤقتًا. لم يُتحقَّق من رقمك. أعد المحاولة بعد قليل","population.reason_nni_not_found":"لم يُعثر على هذا الرقم في سجل الحالة المدنية. تأكد من مطابقته تمامًا لبطاقتك","population.reason_nni_invalid":"هذا الرقم ليس رقمًا وطنيًا صالحًا. تحقق من الأرقام العشرة المطبوعة على بطاقة هويتك","population.bound.description":"قدّمت الجهة الطالبة رقمك الوطني للتعريف مسبقًا. أكّد للتحقق منه في سجل الحالة المدنية","population.bound.confirm":"تأكيد ومتابعة","population.reason_nni_not_found_or_document":"لم نعثر على هذا الرقم. تأكّد منه، أو استخدم وثيقتك بدلًا منه.","population.useDocument":"استخدام وثيقتي بدلًا من ذلك","population.fromDocument.title":"التحقق في السجل المدني","population.fromDocument.description":"نتحقق من الرقم الوطني المقروء من وثيقتك في السجل المدني","population.fromDocument.continue":"متابعة","population.reason_id_number_invalid":"هذا الرقم ليس رقمًا وطنيًا صالحًا. تحقق من الأرقام العشرة المطبوعة على بطاقة هويتك","population.reason_registry_record_not_found":"لم يُعثر على هذا الرقم في سجل الحالة المدنية. تأكد من مطابقته تمامًا لبطاقتك","population.reason_registry_record_not_found_or_document":"لم نعثر على هذا الرقم. تأكّد منه، أو استخدم وثيقتك بدلًا منه.","session.steps.doc.titleRecto":"صوّر الوجه الأمامي لوثيقة هويتك","session.steps.doc.titleVerso":"صوّر الوجه الخلفي لوثيقة هويتك","session.steps.doc.description":"استخدم إضاءة جيدة وأبقِ البطاقة كاملة داخل الإطار","doc.pickTitle":"أي وثيقة ستستخدم؟","doc.pickDescription":"اختر وثيقة الهوية التي بحوزتك. ستمسحها بالكاميرا","doc.pickLabel":"نوع الوثيقة","doc.startScan":"بدء المسح","doc.titlePassport":"امسح صفحة بيانات جواز سفرك","doc.reason_side_missing":"حُفظ أحد الوجهين. صوّر الآن الوجه المتبقي من الوثيقة","doc.reason_unreadable":"تعذّرت قراءة الوثيقة. أعد التقاط الصورة بحيث تكون البطاقة كاملة وواضحة داخل الإطار","doc.reason_document_type_mismatch":"هذه ليست الوثيقة التي اخترتها. صوّر الوثيقة التي اخترتها، أو عُد واختر الوثيقة الصحيحة","doc.reason_document_number_invalid":"تعذّرت قراءة رقم الرخصة. أعد التقاط الصورة","doc.reason_document_sides_mismatch":"يجب أن يكون الوجهان من البطاقة نفسها. امسح ظهر هذه البطاقة","doc.reason_document_type_not_supported":"لا يمكن هنا استخدام نوع الوثيقة الذي اخترته. اختر وثيقة أخرى","doc.reason_provider_unavailable":"تعذّر فحص الوثيقة حاليًا. حاول مرة أخرى بعد قليل","doc.process_failed":"تعذّرت معالجة هذه الصورة. التقط صورة جديدة وأعد المحاولة","doc.uploading":"جارٍ رفع وثيقتك…","doc.cameraBlocked":"نحتاج إلى الكاميرا لمسح الوثيقة. الوصول إلى الكاميرا محظور أو غير متاح","doc.cameraBlockedHint":"اسمح بالوصول إلى الكاميرا لهذا الموقع من إعدادات المتصفح ثم أعد المحاولة","doc.retryCamera":"إعادة تجربة الكاميرا","doc.holdUpright":"ضع الوثيقة داخل الإطار. سيتم الالتقاط تلقائيًا. للحصول على صورة أوضح، أدر هاتفك أفقيًا","doc.ageStepUp":"لم نتمكّن من التأكد من عمرك من الصورة الذاتية. تابع باستخدام وثيقة هوية.","reasons.underage_estimated":"هذه الخدمة مخصّصة لمن بلغوا الحد الأدنى للسن المطلوب.","reasons.starter_credit_claimed":"سبق أن منح تحققك رصيدًا ابتدائيًا لمؤسسة أخرى. يُمنح هذا الرصيد مرة واحدة لكل شخص.","reasons.blocked_by_org":"لا يمكن متابعة هذا التحقق. تواصل مع الجهة التي أرسلت لك هذا الرابط.","reasons.identity_not_verified":"تعذّر علينا التحقق من هويتك. تواصل مع {org} للحصول على المساعدة.","session.result.identityNotVerified":"تعذّر علينا التحقق من هويتك. تواصل مع الجهة التي أرسلت لك هذا الرابط للحصول على المساعدة.","dcv2.sensing":"جارٍ البحث عن الوثيقة. ضعها داخل الإطار","dcv2.too_far":"قرّب الوثيقة حتى تملأ الإطار","dcv2.too_close":"ابتعد قليلًا. أبقِ الوثيقة كاملة داخل الإطار","dcv2.edge_clipped":"أدخل الوثيقة كاملة داخل الإطار. أبقِ الحواف ظاهرة","dcv2.wrong_shape":"هذا لا يبدو صحيحًا. ضع الوثيقة مسطحة باتجاه الكاميرا مباشرة","dcv2.tilted":"أمسك الهاتف بشكل مستوٍ فوق الوثيقة. الزاوية كبيرة جدًا","dcv2.too_dark":"ابحث عن مكان أكثر إضاءة. أنر الوثيقة","dcv2.too_bright":"الإضاءة قوية جدًا. أمل الوثيقة بعيدًا عن الانعكاس","dcv2.blurry":"ثبّت هاتفك. الصورة غير واضحة","dcv2.focus_far":"قريب جدًا للتركيز. أبعد الهاتف قليلًا","dcv2.glare":"الضوء ينعكس على الوثيقة. أملها قليلًا","dcv2.hold_still":"ممتاز. لا تتحرك","dcv2.processing":"جارٍ الالتقاط…","dcv2.side_captured":"تم التقاط هذا الوجه. اقلب الوثيقة إلى الوجه الخلفي","dcv2.captured":"تم الالتقاط","session.processing.title":"جارٍ معالجة عمليات التحقق","session.processing.description":"يستغرق ذلك عادةً بضع ثوانٍ. وستظهر النتيجة هنا","handoff.title":"تابع على هاتفك","handoff.lead.document":"التقط صورة وثيقتك بهاتفك","handoff.lead.portrait":"التقط صورتك الشخصية بهاتفك","capture.source.phone":"المتابعة على هاتفي","session.processing.age_estimation.title":"التحقق من عمرك","session.processing.age_estimation.description":"يستغرق ذلك بضع ثوانٍ","session.result.review.title":"تحققك قيد المراجعة","session.result.review.description":"سيراجع شخص عملية التحقق الخاصة بك. ستتواصل معك الجهة التي أرسلت إليك هذا الرابط.","session.result.rejected.title":"تعذّر التحقق من هويتك","session.result.rejected.description":"لم تؤكد عمليات التحقق هويتك. تواصل مع الجهة التي أرسلت إليك هذا الرابط إذا كنت تعتقد أن هذا خطأ.","session.result.expired.title":"انتهت صلاحية هذا الرابط","session.result.expired.description":"اطلب رابطًا جديدًا من الجهة التي أرسلت إليك هذا الرابط.","session.result.detailsMismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى {org}. تواصل مع {org}.","session.result.deviceVelocity":"لا يمكن استخدام هذا الجهاز لعملية تحقق أخرى حاليًا. تواصل مع {org}.","session.result.verified.title":"تم التحقق من هويتك","session.result.verified.titleHuman":"تم التحقق منك","session.result.verified.titlePhone":"تم تأكيد رقم هاتفك","session.result.verified.titleEmail":"تم تأكيد بريدك الإلكتروني","session.result.verified.titleContact":"تم تأكيد بياناتك","session.result.verified.description":"انتهيت. يمكنك إغلاق هذه الصفحة","session.result.inconclusive.title":"تعذّر علينا تأكيد هويتك هذه المرة","session.result.inconclusive.description":"لم تكن الصور واضحة بما يكفي لاتخاذ قرار. اطلب رابطًا جديدًا من الجهة التي أرسلت إليك هذا الرابط، وحاول في إضاءة جيدة مع إمساك الهاتف بشكل مستقيم.","session.result.unavailable.title":"لم تكن خدمة التحقق متاحة","session.result.unavailable.description":"كانت خدمتنا غير متاحة عند محاولتك. اطلب رابطًا جديدًا من الجهة التي أرسلت إليك هذا الرابط.","session.result.policy.title":"توقّف التحقق","session.result.policy.description":"لا يمكن للجهة التي أرسلت إليك هذا الرابط التحقق منك بهذه الوثيقة أو من هذا الموقع.","session.result.cooldown.title":"حاول لاحقًا","session.result.cooldown.description":"يحتاج هذا الجهاز إلى استراحة قصيرة قبل عملية تحقق أخرى.","session.result.deviceStop":"تعذّر المتابعة على هذا الجهاز. حاول مرة أخرى من جهاز أو متصفح آخر.","result.referenceLabel":"الرمز المرجعي","capture.retrySamePerson.message":"يجب أن يظهر الشخص نفسه أمام الكاميرا من البداية إلى النهاية. سجّل الفيديو مرة أخرى","capture.retryMatch.message":"لم نتمكّن من التأكد من أنك أنت. سجّل الفيديو مرة أخرى في إضاءة جيدة ومن دون نظارات","common.loading":"جارٍ تحميل جلسة التحقق","common.refresh":"حدّث الحالة","common.noAttemptsLeft":"لم تتبقَّ أي محاولة","session.steps.portrait.title":"التقط صورة الهوية","session.steps.portrait.description":"انظر مباشرة إلى الكاميرا بملامح محايدة، أمام جدار سادة وفاتح","portrait.coach.no_face":"ضع وجهك داخل الإطار البيضاوي","portrait.coach.multiple_faces":"تأكد من عدم وجود أي شخص آخر في الصورة","portrait.coach.center":"ضع وجهك في وسط الإطار البيضاوي","portrait.coach.too_close":"ابتعد قليلاً","portrait.coach.pose":"انظر مباشرة إلى الكاميرا","portrait.coach.eyes":"افتح عينيك أكثر قليلاً","portrait.coach.mouth":"أغلق فمك، بتعبير محايد","portrait.coach.glare":"أمِل نظارتك أو انزعها","portrait.coach.lighting":"اجعل وجهك مقابل نافذة أو مصباح","portrait.coach.lighting_side":"تجنّب الإضاءة من جانب واحد","portrait.coach.background":"قف أمام جدار فاتح اللون وسادة","portrait.coach.resolution":"اقترب قليلاً","portrait.coach.hold_still":"لا تتحرك","portrait.coach.hold":"ممتاز. لا تتحرك","portrait.criteria.face":"الوجه داخل الإطار","portrait.criteria.framing":"في الوسط","portrait.criteria.pose":"النظر مباشرة","portrait.criteria.eyes":"العينان مفتوحتان","portrait.criteria.mouth":"تعبير محايد","portrait.criteria.glare":"بلا انعكاس","portrait.criteria.lighting":"إضاءة متساوية","portrait.criteria.background":"خلفية سادة","portrait.criteria.resolution":"قريب بما يكفي","portrait.criteria.sharpness":"ثابت","portrait.report.pose":"وضعية الرأس","portrait.report.eyes":"العينان","portrait.report.mouth":"تعبير الوجه","portrait.report.occlusion":"الوجه مكشوف","portrait.report.glare":"انعكاس النظارة","portrait.report.lighting":"الإضاءة","portrait.report.background":"الخلفية","portrait.report.resolution":"المسافة","portrait.checksLabel":"فحوصات الصورة","portrait.met":"تم","portrait.notMet":"ليس بعد","portrait.starting":"جارٍ تشغيل الكاميرا…","portrait.taken":"تم التقاط الصورة","portrait.uploading":"جارٍ إرسال صورتك…","portrait.checking":"جارٍ التحقق من صورتك…","portrait.retryTitle":"لنلتقط صورتك مرة أخرى","portrait.reportTitle":"ما يجب تصحيحه","portrait.retake":"التقط الصورة مرة أخرى","portrait.uploadFailed":"تعذّر إرسال صورتك. تحقّق من اتصالك ثم أعد المحاولة.","portrait.sendAgain":"أرسل الصورة مرة أخرى","portrait.matching":"جارٍ مقارنة الصور…","portrait.reviewTitle":"سنراجع صورتك","portrait.reviewDescription":"سيتحقق أحد أعضاء فريقنا من صورتك. يمكنك المتابعة.","portrait.cameraBlocked":"نحتاج إلى الكاميرا لالتقاط صورة الهوية. الوصول إلى الكاميرا محظور أو غير متاح","portrait.cameraBlockedHint":"اسمح بالوصول إلى الكاميرا لهذا الموقع من إعدادات المتصفح ثم أعد المحاولة","portrait.retryCamera":"إعادة تجربة الكاميرا","reasons.icao_pose":"انظر مباشرة إلى الكاميرا","reasons.icao_eyes":"افتح عينيك أكثر قليلاً","reasons.icao_mouth":"أغلق فمك وحافظ على ملامح محايدة","reasons.icao_occlusion":"أزل ما يغطي وجهك، وأمِل نظارتك أو انزعها","reasons.icao_lighting":"قف مقابل نافذة أو مصباح، وتجنب الضوء من جهة واحدة","reasons.icao_background":"قف أمام جدار سادة وفاتح","reasons.icao_resolution":"اقترب قليلاً من الكاميرا","reasons.portrait_not_from_liveness":"يجب أن تكون الصورة للشخص نفسه الذي أجرى فحص الوجه. التقطها بنفسك مرة أخرى","reasons.tester_document_mismatch":"هذه الوثيقة لا تخص المختبِر","reasons.tester_phone_mismatch":"استخدم رقم الهاتف الذي سجّل به المختبِر","method.national_eid":"التحقق عبر {provider}","method.national_eidGeneric":"التحقق عبر هويتك الرقمية الوطنية","consent.short":"بالمتابعة، فإنك توافق على {terms}.","consent.termsLink":"الشروط","session.progressLabel":"تقدّم التحقق","section.contact":"تحقق من وسيلة التواصل","section.identity":"تحقق من هويتك","section.live_photo":"التقط صورة حية","section.screening":"فحوصات إضافية","handoff.copied":"تم نسخ الرابط. افتحه على هاتفك","needsApp.title":"تتطلب هذه الخطوة التطبيق","needsApp.description":"تطلب {org} قراءة شريحة مستندك. افتح تطبيق {org} على هاتف يدعم NFC للمتابعة.","needsApp.descriptionNoOrg":"يقرأ هذا التحقق شريحة مستندك. افتح التطبيق على هاتف يدعم NFC للمتابعة.","consent.termsTitle":"كيف تُستخدم بياناتك","leave.title":"مغادرة التحقق؟","leave.body":"إذا غادرت الآن، فلن يكتمل التحقق.","leave.confirm":"مغادرة","leave.stay":"البقاء","otp.changeNumber":"تغيير الرقم","otp.backToCode":"العودة إلى الرمز","otp.reason_otp_resend_limit":"لا يمكنك طلب رموز أخرى. أدخل آخر رمز وصلك","reasons.otp_resend_limit":"تم بلوغ الحد الأقصى لرموز التحقق في هذه الجلسة","common.back":"رجوع","capture.assisted.heading":"صوّر وجه الشخص","returning.heading":"أكّد أنك أنت","capture.checkingTitle":"جارٍ التحقق من هويتك…","method.heading":"كيف تريد التحقق من هويتك؟","sandbox.otpHint":"جلسة اختبار: لم يُرسَل أي شيء. أدخل الرمز {code}.","sandbox.skipCapture":"التخطي باستخدام بيانات الاختبار","sandbox.simulatedTitle":"كانت هذه محاكاة","sandbox.simulatedNoTesters":"استخدمت هذه الجلسة بيانات اختبار. لم يُجرَ أي فحص حقيقي. لإجراء فحوصات حقيقية، سجِّل مختبِرًا في Sandbox من لوحة التحكم.","sandbox.simulatedGate":"استخدمت هذه الجلسة بيانات اختبار. لم يُجرَ أي فحص حقيقي. لإجراء فحوصات حقيقية، أجرِ فحص المختبِر في بداية الجلسة.","app.sandboxBadge":"جلسة اختبار","handoff.lead.poa":"التقط صور وثيقتك بهاتفك","session.processing.proof_of_address.title":"جارٍ فحص وثيقتك","session.processing.proof_of_address.description":"نقرأ الوثيقة ونتحقق من التاريخ والاسم","section.documents":"تحقق من عنوانك","section.form":"أجب عن بضعة أسئلة","population.recheck.title":"تحقّق من رقمك الوطني","population.recheck.description":"لم يتطابق وجهك مع السجل الخاص بهذا الرقم. تحقّق من الرقم وأدخله مرة أخرى.","otp.phoneInvalid":"أدخل رقم هاتفك مع رمز البلد","otp.codeInvalid":"أدخل الرمز المكوّن من 6 أرقام","doc.countryTitle":"اختر البلد المُصدِر","doc.countryLabel":"بلد الإصدار","doc.countrySearch":"ابحث عن بلد","doc.noCountryMatch":"لا يوجد بلد يطابق بحثك","doc.type.carte_identite":"بطاقة الهوية","doc.type.residence_permit":"بطاقة الإقامة","doc.type.passport":"جواز السفر","doc.showSide":"اعرض أحد وجهي البطاقة","doc.showPage":"اعرض صفحة الصورة","doc.flip":"اقلب البطاقة","doc.sameFace":"الوجه نفسه · اقلب البطاقة","doc.reaskRecto":"اعرض الوجه الأمامي مرة أخرى","doc.reread":"تعذّرت قراءة هذا الوجه · ثبّت البطاقة في إضاءة جيدة","doc.photoTaken":"تم التقاط الصورة","doc.frontCaptured":"تم التقاط الوجه الأمامي","doc.backCaptured":"تم التقاط الوجه الخلفي","doc.pageCaptured":"تم التقاط الصفحة","doc.progressFront":"الأمام","doc.progressBack":"الخلف","doc.progressPage":"صفحة الصورة","doc.shutter":"التقط الصورة","doc.torchOn":"شغّل الضوء","doc.torchOff":"أطفئ الضوء","result.platform_unsupported":"يتطلب هذا التحقق تطبيقًا على الهاتف.","unsupported.title":"يلزم التحديث","unsupported.description":"تتطلب هذه الخطوة إصدارًا أحدث من هذه الصفحة. تواصل مع {org}.","shell.subtitle":"التحقق من الهوية","shell.subtitleHuman":"التحقق البشري","shell.verifiedBy":"تم التحقق بواسطة Sekyro AI","doc.sub.carte_identite":"الوجه والظهر","doc.sub.residence_permit":"الوجه والظهر","doc.sub.passport":"الصفحة التي تحمل صورتك","doc.type.drivers_license":"رخصة القيادة","doc.sub.drivers_license":"الوجه والظهر","native.close":"إغلاق","native.face.introTitle":"لنتحقق الآن من وجهك","native.face.introLead":"لقطة واحدة دون أي حركة خاصة: انظر إلى الشاشة فقط.","native.face.humanIntroTitle":"أكّد أنك شخص حقيقي","native.face.humanIntroLead":"لقطة قصيرة واحدة: انظر إلى الشاشة فقط.","native.doc.holdIt":"احتفظ بوثيقتك في متناول يدك.","native.doc.changeCountry":"تغيير البلد","native.result.review":"سيراجع شخص عملية التحقق الخاصة بك. ستتواصل معك {org}.","native.result.rejected":"لم تؤكد عمليات التحقق هويتك. تواصل مع {org} إذا كنت تعتقد أن هذا خطأ.","native.result.expired":"ابدأ من جديد عبر {org}.","native.result.expiredTitle":"انتهت عملية التحقق هذه","native.result.copied":"تم النسخ","native.result.continue":"متابعة","native.result.verified":"اكتمل التحقق.","native.result.inconclusive":"لم تكن الصور واضحة بما يكفي لاتخاذ قرار. ابدأ من جديد عبر {org} في إضاءة جيدة مع إمساك الهاتف بشكل مستقيم. تواصل مع {org} إذا تكررت المشكلة.","native.result.unavailable":"كانت خدمتنا غير متاحة عند محاولتك. حاول مرة أخرى لاحقًا عبر {org}، أو تواصل مع {org} إذا تكررت المشكلة.","native.result.policy":"لا يمكن التحقق منك لدى {org} بهذه الوثيقة أو من هذا الموقع."};var h={"session.title":"Verify your identity","session.requestedBy":"{orgName} asks you to verify your identity","returning.requestedBy":"{orgName} asks you to confirm it's you","consent.notice":"By completing this identity verification, you consent to the processing of your personal and biometric data to verify your identity.","consent.details":"Learn more","consent.terms.intro":"Sekyro AI verifies your identity on behalf of the organization that sent you this link. Before you start, review how your data is used.","consent.terms.data":"During verification, Sekyro AI collects photos of your identity document, a short selfie video, a selfie photo, and your identity document number.","consent.terms.processing":"This data is used only to verify your identity: your face is compared with the photo on your document, and your number is checked against the issuing authority's records when available. Some steps may be examined by an authorized human reviewer.","consent.terms.sharing":"The organization that requested this verification is informed of its outcome.","consent.terms.retention":"Your data is stored encrypted and kept only as long as the law requires. To exercise your data-protection rights, contact the organization that requested this verification.","capture.modeSwitch.toSelfPhoto":"I take the photo myself","capture.modeSwitch.toAssistedLabelPhoto":"Switch to assisted capture: another person holds the phone and takes your photo","capture.modeSwitch.toSelfLabelPhoto":"Switch to self capture: you take your own photo with the front camera","reasons.camera_unavailable":"This verification needs a camera. Go back to {org} to continue another way.","otp.sendTitle":"Verify your phone number","otp.sendDescription":"We'll send you a one-time code to confirm this number is yours","otp.prefilledNotice":"We'll send a verification code to your registered phone number.","otp.phoneLabel":"Phone number","otp.phoneHelper":"We'll send a one-time code to this number","otp.phonePlaceholder":"8 digits","otp.send":"Send code","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.verifyTitle":"Enter the code","otp.verifyDescription":"Type the 6-digit code we sent you to finish verifying your number","otp.sentTo":"We sent a 6-digit code to {number} via {channel}","otp.codeLabel":"Verification code","otp.codeHelper":"Enter the 6-digit code we sent you","otp.verify":"Verify code","otp.resend":"Resend code","otp.resendIn":"Resend code in {seconds}s","otp.expiresIn":"Code expires in {time}","otp.expired":"That code has expired. Resend a new one","otp.reason_otp_mismatch":"That code was incorrect. Check it and enter it again","otp.reason_otp_expired":"That code has expired. Resend a new code to continue","otp.reason_otp_send_failed":"We couldn't send the code. Try again in a moment","otp.chooseChannel":"How should we send your code?","otp.sendBy":"Send code by {channel}","otp.resendBy":"Resend by {channel}","otp.sending":"Sending your code by {channel}","otp.reason_otp_channel_unavailable":"That channel isn't available. Choose another way to get your code","otp.reason_otp_destination_not_allowed":"We can't send codes to numbers from this country. Enter another number","otp.reason_otp_destination_unknown":"We couldn't recognize this number. Check it and enter it again with the country code","otp.reason_otp_rate_limited":"Too many codes were requested for this number. Try again later, or enter another number.","otp.reason_otp_daily_cap_reached":"We can't send you a code today. Choose another way to verify if one is offered, or try again later.","otp.reason_payment_method_required":"This verification method is not available right now. Choose another way to verify if one is offered.","otp.reason_spend_cap_reached":"This verification method is not available right now. Choose another way to verify if one is offered.","otp.reason_insufficient_balance":"This verification method is not available right now. Choose another way to verify if one is offered.","otp.phonePlaceholderGeneric":"Type your phone number without the prefix","otp.countryLabel":"Country","otp.phoneLengthError":"Check the number: it should have {digits} digits.","otp.or":"or","otp.otherCountry":"Another country","otp.countrySearch":"Search a country","otp.reason_otp_number_invalid":"This number does not look complete for its country. Check it and try again.","otp.reason_otp_number_not_mobile":"Enter a mobile number. Codes cannot reach a landline.","session.steps.population.title":"Enter your ID number","session.steps.population.description":"Your 10-digit NNI is checked against the civil registry","population.label":"Mauritanian national ID number (NNI)","population.helper":"10-digit national identification number, exactly as printed on your ID","population.placeholder":"10 digits","population.submit":"Verify my number","population.invalid":"Enter the 10-digit NNI printed on your national ID","population.reason_registry_unavailable":"The civil registry is temporarily unreachable. Your number was not checked. Try again in a moment","population.reason_nni_not_found":"This number was not found in the civil registry. Check that it matches your ID exactly","population.reason_nni_invalid":"This is not a valid NNI. Check the 10 digits printed on your national ID","population.bound.description":"The requester already provided your national ID number. Confirm to check it against the civil registry","population.bound.confirm":"Confirm and continue","population.reason_nni_not_found_or_document":"We couldn't find this number. Check it, or use your document instead.","population.useDocument":"Use my document instead","population.fromDocument.title":"Checking the civil registry","population.fromDocument.description":"We're checking the national number from your document against the civil registry","population.fromDocument.continue":"Continue","population.reason_id_number_invalid":"This is not a valid NNI. Check the 10 digits printed on your national ID","population.reason_registry_record_not_found":"This number was not found in the civil registry. Check that it matches your ID exactly","population.reason_registry_record_not_found_or_document":"We couldn't find this number. Check it, or use your document instead.","session.steps.doc.titleRecto":"Photograph the front of your ID document","session.steps.doc.titleVerso":"Photograph the back of your ID document","session.steps.doc.description":"Use good lighting and keep the whole card inside the frame","doc.pickTitle":"Choose your document","doc.pickDescription":"Choose the identity document you have with you. You will scan it with your camera","doc.pickLabel":"Document type","doc.startScan":"Start scanning","doc.titlePassport":"Scan your passport data page","doc.reason_side_missing":"One side is saved. Now photograph the remaining side of the document","doc.reason_unreadable":"We could not read the document. Retake the photo with the whole card sharp and inside the frame","doc.reason_document_type_mismatch":"This is not the document you chose. Take a photo of the one you chose, or go back and choose the right one","doc.reason_document_number_invalid":"We could not read the license number. Take the photo again","doc.reason_document_sides_mismatch":"Both sides must be from the same card. Scan the back of this card","doc.reason_document_type_not_supported":"The type of document you chose cannot be used here. Choose another document","doc.reason_provider_unavailable":"We could not check the document right now. Try again in a moment","doc.process_failed":"We could not process this photo. Take a new one and try again","doc.uploading":"Uploading your document…","doc.cameraBlocked":"We need your camera to scan the document. Camera access is blocked or unavailable","doc.cameraBlockedHint":"Allow camera access for this site in your browser settings, then try again","doc.retryCamera":"Try the camera again","doc.holdUpright":"Fit the document inside the frame. It captures by itself. For a sharper photo, turn your phone sideways","doc.ageStepUp":"We could not confirm your age from the selfie. Continue with an ID document.","reasons.underage_estimated":"This service is for people who have reached its minimum age.","reasons.starter_credit_claimed":"Your verification already earned a starting credit for another organization. It is given once per person.","reasons.blocked_by_org":"This verification can't continue. Contact the organization that sent you this link.","reasons.identity_not_verified":"We couldn't verify your identity. Contact {org} for help.","session.result.identityNotVerified":"We couldn't verify your identity. Contact the organization that sent you this link for help.","dcv2.sensing":"Looking for the document. Fit it inside the frame","dcv2.too_far":"Bring the document closer so it fills the frame","dcv2.too_close":"Move back a little. Keep the whole document in the frame","dcv2.edge_clipped":"Fit the whole document inside the frame. Keep the edges visible","dcv2.wrong_shape":"That doesn't look right. Lay the document flat, straight toward the camera","dcv2.tilted":"Hold the phone flat above the document. Too much angle","dcv2.too_dark":"Find a brighter spot. Light the document","dcv2.too_bright":"Too much light. Tilt the document away from the glare","dcv2.blurry":"Hold your phone steady. The image is blurry","dcv2.focus_far":"Too close to focus. Move the phone a little farther","dcv2.glare":"Light is reflecting off the document. Tilt it slightly","dcv2.hold_still":"Perfect. Hold still","dcv2.processing":"Capturing…","dcv2.side_captured":"Side captured. Flip the document to the back","dcv2.captured":"Captured","session.processing.title":"Processing your checks","session.processing.description":"This usually takes a few seconds. The result will appear here","handoff.title":"Continue on your phone","handoff.lead.document":"Take the photo of your document with your phone","handoff.lead.portrait":"Take your ID photo with your phone","capture.source.phone":"Continue on my phone","session.processing.age_estimation.title":"Checking your age","session.processing.age_estimation.description":"This takes a few seconds","session.result.review.title":"Under review","session.result.review.description":"A person will check your verification. You will hear from the organization that gave you this link.","session.result.rejected.title":"Identity not verified","session.result.rejected.description":"The checks did not confirm your identity. Contact the organization that sent you this link if you think this is wrong.","session.result.expired.title":"This link has expired","session.result.expired.description":"Ask the organization that sent you this link for a new one.","session.result.detailsMismatch":"The details don't match the information {org} has. Contact {org}.","session.result.deviceVelocity":"This device can't be used for another verification right now. Contact {org}.","session.result.verified.title":"Your identity is verified","session.result.verified.titleHuman":"You're verified","session.result.verified.titlePhone":"Your phone number is confirmed","session.result.verified.titleEmail":"Your email address is confirmed","session.result.verified.titleContact":"Your details are confirmed","session.result.verified.description":"You are done. You can close this page","session.result.inconclusive.title":"We could not confirm your identity this time","session.result.inconclusive.description":"The captures were not clear enough to decide. Ask the organization that sent you this link for a new one and try in good light, holding the phone upright.","session.result.unavailable.title":"Verification was not available","session.result.unavailable.description":"Our service was unavailable when you tried. Ask the organization that sent you this link for a new one.","session.result.policy.title":"Verification stopped","session.result.policy.description":"The organization that sent you this link cannot verify you with this document or from this location.","session.result.cooldown.title":"Try again later","session.result.cooldown.description":"This device needs a short pause before another verification.","session.result.deviceStop":"We couldn't continue on this device. Try again on another device or browser.","result.referenceLabel":"Reference code","capture.retrySamePerson.message":"The same person needs to be on camera from start to finish. Record the video again","capture.retryMatch.message":"We couldn't confirm it's you. Record the video again in good light, without glasses","common.loading":"Loading your session","common.refresh":"Refresh status","common.noAttemptsLeft":"No attempts left","session.steps.portrait.title":"Take your ID photo","session.steps.portrait.description":"Look straight at the camera with a neutral expression, in front of a plain, light wall","portrait.coach.no_face":"Place your face inside the oval","portrait.coach.multiple_faces":"Make sure no one else is in the picture","portrait.coach.center":"Center your face in the oval","portrait.coach.too_close":"Move back a little","portrait.coach.pose":"Look straight at the camera","portrait.coach.eyes":"Open your eyes a little more","portrait.coach.mouth":"Close your mouth, neutral expression","portrait.coach.glare":"Tilt your glasses or remove them","portrait.coach.lighting":"Face a window or a lamp","portrait.coach.lighting_side":"Avoid light from one side","portrait.coach.background":"Stand in front of a plain, light wall","portrait.coach.resolution":"Come a little closer","portrait.coach.hold_still":"Hold still","portrait.coach.hold":"Perfect. Hold still","portrait.criteria.face":"Face in the oval","portrait.criteria.framing":"Centered","portrait.criteria.pose":"Looking straight","portrait.criteria.eyes":"Eyes open","portrait.criteria.mouth":"Neutral expression","portrait.criteria.glare":"No glare","portrait.criteria.lighting":"Even light","portrait.criteria.background":"Plain background","portrait.criteria.resolution":"Close enough","portrait.criteria.sharpness":"Steady","portrait.report.pose":"Head position","portrait.report.eyes":"Eyes","portrait.report.mouth":"Expression","portrait.report.occlusion":"Face uncovered","portrait.report.glare":"Glasses glare","portrait.report.lighting":"Lighting","portrait.report.background":"Background","portrait.report.resolution":"Distance","portrait.checksLabel":"Photo checks","portrait.met":"done","portrait.notMet":"not yet","portrait.starting":"Starting the camera…","portrait.taken":"Photo taken","portrait.uploading":"Sending your photo…","portrait.checking":"Checking your photo…","portrait.retryTitle":"Let's take your photo again","portrait.reportTitle":"What to fix","portrait.retake":"Take the photo again","portrait.uploadFailed":"We couldn't send your photo. Check your connection, then try again.","portrait.sendAgain":"Send the photo again","portrait.matching":"Comparing your photos…","portrait.reviewTitle":"We'll review your photo","portrait.reviewDescription":"A member of our team will check your photo. You can continue.","portrait.cameraBlocked":"We need your camera to take your ID photo. Camera access is blocked or unavailable","portrait.cameraBlockedHint":"Allow camera access for this site in your browser settings, then try again","portrait.retryCamera":"Try the camera again","reasons.icao_pose":"Look straight at the camera","reasons.icao_eyes":"Open your eyes a little more","reasons.icao_mouth":"Close your mouth and keep a neutral expression","reasons.icao_occlusion":"Remove anything covering your face, and tilt or remove your glasses","reasons.icao_lighting":"Face a window or a lamp, and avoid light from one side","reasons.icao_background":"Stand in front of a plain, light wall","reasons.icao_resolution":"Come a little closer to the camera","reasons.portrait_not_from_liveness":"The photo must be of the same person who did the face check. Take it again yourself","reasons.tester_document_mismatch":"This document doesn't belong to the tester","reasons.tester_phone_mismatch":"Use the phone number the tester enrolled with","method.national_eid":"Verify with {provider}","method.national_eidGeneric":"Verify with your national eID","consent.short":"By continuing, you agree to the {terms}.","consent.termsLink":"terms","session.progressLabel":"Verification progress","section.contact":"Verify your contact","section.identity":"Verify your identity","section.live_photo":"Take a live photo","section.screening":"Additional checks","handoff.copied":"Link copied. Open it on your phone","needsApp.title":"This step needs the app","needsApp.description":"{org} asks to read your document's chip. Open {org}'s app on a phone with NFC to continue.","needsApp.descriptionNoOrg":"This verification reads your document's chip. Open the app on a phone with NFC to continue.","consent.termsTitle":"How your data is used","leave.title":"Leave verification?","leave.body":"If you leave now, your verification will not be finished.","leave.confirm":"Leave","leave.stay":"Stay","otp.changeNumber":"Change number","otp.backToCode":"Back to code","otp.reason_otp_resend_limit":"You can't get more codes. Enter the last code you received","reasons.otp_resend_limit":"The maximum number of verification codes for this session was reached","common.back":"Back","capture.assisted.heading":"Film the person's face","returning.heading":"Confirm it's you","capture.checkingTitle":"Checking your identity…","method.heading":"How do you want to verify?","sandbox.otpHint":"Test session: nothing was sent. Enter the code {code}.","sandbox.skipCapture":"Skip with test data","sandbox.simulatedTitle":"This was a simulation","sandbox.simulatedNoTesters":"This session used test data. No real check ran. To run real checks, enroll a Sandbox tester in the dashboard.","sandbox.simulatedGate":"This session used test data. No real check ran. To run real checks, run the tester check at the start of the session.","app.sandboxBadge":"Test session","handoff.lead.poa":"Take the photos of your document with your phone","session.processing.proof_of_address.title":"Checking your document","session.processing.proof_of_address.description":"We are reading the document and checking the date and the name","section.documents":"Verify your address","section.form":"Answer a few questions","population.recheck.title":"Check your ID number","population.recheck.description":"Your face didn't match the record for this number. Check the number and enter it again.","otp.phoneInvalid":"Enter your phone number with the country code","otp.codeInvalid":"Enter the 6-digit code","doc.countryTitle":"Choose the issuing country","doc.countryLabel":"Issuing country","doc.countrySearch":"Search for a country","doc.noCountryMatch":"No country matches your search","doc.type.carte_identite":"Identity card","doc.type.residence_permit":"Residence permit","doc.type.passport":"Passport","doc.showSide":"Show one side of the card","doc.showPage":"Show the photo page","doc.flip":"Turn the card over","doc.sameFace":"Same side · turn the card over","doc.reaskRecto":"Show the front again","doc.reread":"We couldn't read this side · hold it steady in good light","doc.photoTaken":"Photo taken","doc.frontCaptured":"Front captured","doc.backCaptured":"Back captured","doc.pageCaptured":"Page captured","doc.progressFront":"Front","doc.progressBack":"Back","doc.progressPage":"Photo page","doc.shutter":"Take the photo","doc.torchOn":"Turn on the light","doc.torchOff":"Turn off the light","result.platform_unsupported":"This verification needs a phone app.","unsupported.title":"Update required","unsupported.description":"This step needs a newer version of this page. Contact {org}.","shell.subtitle":"Identity verification","shell.subtitleHuman":"Human verification","shell.verifiedBy":"Verified by Sekyro AI","doc.sub.carte_identite":"Front and back","doc.sub.residence_permit":"Front and back","doc.sub.passport":"The page with your photo","doc.type.drivers_license":"Driver's license","doc.sub.drivers_license":"Front and back","native.close":"Close","native.face.introTitle":"Now let's check your face","native.face.introLead":"One capture, no special movement: just look at the screen.","native.face.humanIntroTitle":"Confirm you're human","native.face.humanIntroLead":"One short capture: just look at the screen.","native.doc.holdIt":"Keep your document within reach.","native.doc.changeCountry":"Change country","native.result.review":"A person will check your verification. You will hear from {org}.","native.result.rejected":"The checks did not confirm your identity. Contact {org} if you think this is wrong.","native.result.expired":"Start again from {org}.","native.result.expiredTitle":"This verification has ended","native.result.copied":"Copied","native.result.continue":"Continue","native.result.verified":"Your verification is complete.","native.result.inconclusive":"The captures were not clear enough to decide. Start again from {org}, in good light and holding the phone upright. Contact {org} if this keeps happening.","native.result.unavailable":"Our service was unavailable when you tried. Try again later from {org}, or contact {org} if this keeps happening.","native.result.policy":"{org} cannot verify you with this document or from this location."};var m={"session.title":"Vérifiez votre identité","session.requestedBy":"{orgName} vous demande de vérifier votre identité","returning.requestedBy":"{orgName} vous demande de confirmer qu'il s'agit bien de vous","consent.notice":"En poursuivant la vérification d'identité, vous consentez au traitement de vos données personnelles et biométriques afin de vérifier votre identité.","consent.details":"En savoir plus","consent.terms.intro":"Sekyro AI vérifie votre identité pour le compte de l'organisme qui vous a envoyé ce lien. Avant de commencer, consultez la façon dont vos données sont utilisées.","consent.terms.data":"Pendant la vérification, Sekyro AI recueille les photos de votre pièce d'identité, une courte vidéo selfie, une photo selfie et le numéro de votre pièce d'identité.","consent.terms.processing":"Ces données servent uniquement à vérifier votre identité : votre visage est comparé à la photo de votre document et votre numéro est vérifié auprès des registres de l'autorité émettrice lorsque c'est possible. Certaines étapes peuvent être examinées par un examinateur humain habilité.","consent.terms.sharing":"L'organisme qui a demandé cette vérification est informé de son résultat.","consent.terms.retention":"Vos données sont stockées chiffrées et conservées uniquement pendant la durée exigée par la loi. Pour exercer vos droits en matière de protection des données, contactez l'organisme qui a demandé cette vérification.","capture.modeSwitch.toSelfPhoto":"Je prends la photo moi-même","capture.modeSwitch.toAssistedLabelPhoto":"Passer à la capture assistée : une autre personne tient le téléphone et vous prend en photo","capture.modeSwitch.toSelfLabelPhoto":"Passer à la capture seule : vous prenez votre photo avec la caméra avant","reasons.camera_unavailable":"Cette vérification nécessite une caméra. Retournez sur {org} pour continuer autrement.","otp.sendTitle":"Vérifiez votre numéro","otp.sendDescription":"Nous vous enverrons un code à usage unique pour confirmer que ce numéro vous appartient","otp.prefilledNotice":"Nous enverrons un code de vérification à votre numéro de téléphone enregistré.","otp.phoneLabel":"Numéro de téléphone","otp.phoneHelper":"Nous enverrons un code à usage unique à ce numéro","otp.phonePlaceholder":"8 chiffres","otp.send":"Envoyer le code","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.verifyTitle":"Saisissez le code","otp.verifyDescription":"Saisissez le code à 6 chiffres que nous vous avons envoyé pour finaliser la vérification de votre numéro","otp.sentTo":"Nous avons envoyé un code à 6 chiffres au {number} par {channel}","otp.codeLabel":"Code de vérification","otp.codeHelper":"Saisissez le code à 6 chiffres que nous vous avons envoyé","otp.verify":"Vérifier le code","otp.resend":"Renvoyer le code","otp.resendIn":"Renvoyer le code dans {seconds} s","otp.expiresIn":"Le code expire dans {time}","otp.expired":"Ce code a expiré. Renvoyez-en un nouveau","otp.reason_otp_mismatch":"Ce code est incorrect. Vérifiez-le et saisissez-le à nouveau","otp.reason_otp_expired":"Ce code a expiré. Renvoyez un nouveau code pour continuer","otp.reason_otp_send_failed":"Nous n'avons pas pu envoyer le code. Réessayez dans un instant","otp.chooseChannel":"Comment souhaitez-vous recevoir votre code ?","otp.sendBy":"Envoyer le code par {channel}","otp.resendBy":"Renvoyer par {channel}","otp.sending":"Envoi du code par {channel}","otp.reason_otp_channel_unavailable":"Ce moyen d'envoi n'est pas disponible. Choisissez une autre façon de recevoir votre code","otp.reason_otp_destination_not_allowed":"Nous ne pouvons pas envoyer de code aux numéros de ce pays. Saisissez un autre numéro","otp.reason_otp_destination_unknown":"Nous n'avons pas reconnu ce numéro. Vérifiez-le et saisissez-le à nouveau avec l'indicatif du pays","otp.reason_otp_rate_limited":"Trop de codes ont été demandés pour ce numéro. Réessayez plus tard ou saisissez un autre numéro.","otp.reason_otp_daily_cap_reached":"Nous ne pouvons pas vous envoyer de code aujourd'hui. Choisissez une autre méthode si elle est proposée, ou réessayez plus tard.","otp.reason_payment_method_required":"Cette méthode de vérification n'est pas disponible pour le moment. Choisissez une autre méthode si elle est proposée.","otp.reason_spend_cap_reached":"Cette méthode de vérification n'est pas disponible pour le moment. Choisissez une autre méthode si elle est proposée.","otp.reason_insufficient_balance":"Cette méthode de vérification n'est pas disponible pour le moment. Choisissez une autre méthode si elle est proposée.","otp.phonePlaceholderGeneric":"Saisissez votre numéro sans l'indicatif","otp.countryLabel":"Pays","otp.phoneLengthError":"Vérifiez le numéro : il doit comporter {digits} chiffres.","otp.or":"ou","otp.otherCountry":"Autre pays","otp.countrySearch":"Rechercher un pays","otp.reason_otp_number_invalid":"Ce numéro ne semble pas complet pour son pays. Vérifiez-le et réessayez.","otp.reason_otp_number_not_mobile":"Saisissez un numéro de mobile. Les codes ne peuvent pas atteindre une ligne fixe.","session.steps.population.title":"Saisissez votre numéro","session.steps.population.description":"Votre NNI à 10 chiffres est vérifié auprès du registre d'état civil","population.label":"Numéro national d'identification mauritanien (NNI)","population.helper":"Numéro national d'identification à 10 chiffres, tel qu'imprimé sur votre pièce","population.placeholder":"10 chiffres","population.submit":"Vérifier mon numéro","population.invalid":"Saisissez les 10 chiffres du NNI imprimé sur votre pièce d'identité","population.reason_registry_unavailable":"Le registre d'état civil est temporairement inaccessible. Votre numéro n'a pas été vérifié. Réessayez dans un instant","population.reason_nni_not_found":"Ce numéro est introuvable dans le registre d'état civil. Vérifiez qu'il correspond exactement à votre pièce","population.reason_nni_invalid":"Ce numéro n'est pas un NNI valide. Vérifiez les 10 chiffres imprimés sur votre pièce d'identité","population.bound.description":"L'organisme demandeur a déjà fourni votre numéro national d'identification. Confirmez pour le vérifier auprès de l'état civil","population.bound.confirm":"Confirmer et continuer","population.reason_nni_not_found_or_document":"Nous n'avons pas trouvé ce numéro. Vérifiez-le, ou utilisez plutôt votre document.","population.useDocument":"Utiliser plutôt mon document","population.fromDocument.title":"Consultation du registre","population.fromDocument.description":"Nous vérifions le numéro national lu sur votre document auprès du registre civil","population.fromDocument.continue":"Continuer","population.reason_id_number_invalid":"Ce numéro n'est pas un NNI valide. Vérifiez les 10 chiffres imprimés sur votre pièce d'identité","population.reason_registry_record_not_found":"Ce numéro est introuvable dans le registre d'état civil. Vérifiez qu'il correspond exactement à votre pièce","population.reason_registry_record_not_found_or_document":"Nous n'avons pas trouvé ce numéro. Vérifiez-le, ou utilisez plutôt votre document.","session.steps.doc.titleRecto":"Photographiez le recto de votre pièce d'identité","session.steps.doc.titleVerso":"Photographiez le verso de votre pièce d'identité","session.steps.doc.description":"Utilisez un bon éclairage et gardez la carte entière dans le cadre","doc.pickTitle":"Choisissez votre document","doc.pickDescription":"Choisissez la pièce d'identité en votre possession. Vous la scannerez avec votre caméra","doc.pickLabel":"Type de document","doc.startScan":"Commencer le scan","doc.titlePassport":"Scannez la page de données de votre passeport","doc.reason_side_missing":"Une face est enregistrée. Photographiez maintenant l'autre face du document","doc.reason_unreadable":"Nous n'avons pas pu lire le document. Reprenez la photo avec la carte entière, nette et dans le cadre","doc.reason_document_type_mismatch":"Ce n'est pas le document que vous avez choisi. Prenez en photo le document choisi, ou revenez en arrière et choisissez le bon document","doc.reason_document_number_invalid":"Nous n'avons pas pu lire le numéro du permis. Reprenez la photo","doc.reason_document_sides_mismatch":"Les deux faces doivent provenir de la même carte. Scannez le verso de cette carte","doc.reason_document_type_not_supported":"Le type de document que vous avez choisi ne peut pas être utilisé ici. Choisissez un autre document","doc.reason_provider_unavailable":"Le document n'a pas pu être vérifié pour le moment. Réessayez dans un instant","doc.process_failed":"Nous n'avons pas pu traiter cette photo. Prenez-en une nouvelle et réessayez","doc.uploading":"Envoi de votre document…","doc.cameraBlocked":"Nous avons besoin de votre caméra pour scanner le document. L'accès est bloqué ou indisponible","doc.cameraBlockedHint":"Autorisez l'accès à la caméra pour ce site dans les réglages du navigateur, puis réessayez","doc.retryCamera":"Réessayer la caméra","doc.holdUpright":"Placez le document dans le cadre. La capture est automatique. Pour une photo plus nette, tournez votre téléphone à l'horizontale","doc.ageStepUp":"Nous n'avons pas pu confirmer votre âge à partir du selfie. Continuez avec une pièce d'identité.","reasons.underage_estimated":"Ce service est réservé aux personnes qui ont atteint l'âge minimum requis.","reasons.starter_credit_claimed":"Votre vérification a déjà donné un crédit de départ à une autre organisation. Il n’est accordé qu’une fois par personne.","reasons.blocked_by_org":"Cette vérification ne peut pas continuer. Contactez l'organisation qui vous a envoyé ce lien.","reasons.identity_not_verified":"Nous n'avons pas pu vérifier votre identité. Contactez {org} pour obtenir de l'aide.","session.result.identityNotVerified":"Nous n'avons pas pu vérifier votre identité. Contactez l'organisation qui vous a envoyé ce lien pour obtenir de l'aide.","dcv2.sensing":"Recherche du document. Placez-le dans le cadre","dcv2.too_far":"Rapprochez le document pour qu'il remplisse le cadre","dcv2.too_close":"Reculez un peu. Gardez tout le document dans le cadre","dcv2.edge_clipped":"Placez tout le document dans le cadre. Gardez les bords visibles","dcv2.wrong_shape":"Cela ne semble pas correct. Posez le document à plat, face à la caméra","dcv2.tilted":"Tenez le téléphone à plat au-dessus du document. Trop d'angle","dcv2.too_dark":"Trouvez un endroit plus lumineux. Éclairez le document","dcv2.too_bright":"Trop de lumière. Inclinez le document pour éviter les reflets","dcv2.blurry":"Tenez votre téléphone immobile. L'image est floue","dcv2.focus_far":"Trop près pour la mise au point. Éloignez un peu le téléphone","dcv2.glare":"La lumière se reflète sur le document. Inclinez-le légèrement","dcv2.hold_still":"Parfait. Ne bougez plus","dcv2.processing":"Capture…","dcv2.side_captured":"Face capturée. Retournez le document","dcv2.captured":"Capturé","session.processing.title":"Traitement en cours","session.processing.description":"Cela prend généralement quelques secondes. Le résultat s'affichera ici","handoff.title":"Continuez sur mobile","handoff.lead.document":"Prenez la photo de votre document avec votre téléphone","handoff.lead.portrait":"Prenez votre photo d'identité avec votre téléphone","capture.source.phone":"Continuer sur mon téléphone","session.processing.age_estimation.title":"Vérification de votre âge","session.processing.age_estimation.description":"Cela prend quelques secondes","session.result.review.title":"En cours d'examen","session.result.review.description":"Une personne va examiner votre vérification. L'organisme qui vous a donné ce lien vous tiendra informé.","session.result.rejected.title":"Identité non vérifiée","session.result.rejected.description":"Les contrôles n'ont pas confirmé votre identité. Contactez l'organisme qui vous a envoyé ce lien si vous pensez qu'il s'agit d'une erreur.","session.result.expired.title":"Ce lien a expiré","session.result.expired.description":"Demandez un nouveau lien à l'organisme qui vous a envoyé celui-ci.","session.result.detailsMismatch":"Ces informations ne correspondent pas à celles dont dispose {org}. Contactez {org}.","session.result.deviceVelocity":"Cet appareil ne peut pas servir à une autre vérification pour le moment. Contactez {org}.","session.result.verified.title":"Identité vérifiée","session.result.verified.titleHuman":"Vérification réussie","session.result.verified.titlePhone":"Numéro de téléphone confirmé","session.result.verified.titleEmail":"Adresse e-mail confirmée","session.result.verified.titleContact":"Vos coordonnées sont confirmées","session.result.verified.description":"C'est terminé. Vous pouvez fermer cette page","session.result.inconclusive.title":"Nous n'avons pas pu confirmer votre identité cette fois","session.result.inconclusive.description":"Les captures n'étaient pas assez nettes pour décider. Demandez un nouveau lien à l'organisme qui vous a envoyé celui-ci et réessayez dans un endroit bien éclairé, en tenant le téléphone droit.","session.result.unavailable.title":"La vérification n'était pas disponible","session.result.unavailable.description":"Notre service était indisponible au moment de votre essai. Demandez un nouveau lien à l'organisme qui vous a envoyé celui-ci.","session.result.policy.title":"Vérification interrompue","session.result.policy.description":"L'organisme qui vous a envoyé ce lien ne peut pas vous vérifier avec ce document ou depuis cet endroit.","session.result.cooldown.title":"Réessayez plus tard","session.result.cooldown.description":"Cet appareil a besoin d'une courte pause avant une nouvelle vérification.","session.result.deviceStop":"Impossible de continuer sur cet appareil. Réessayez sur un autre appareil ou navigateur.","result.referenceLabel":"Code de référence","capture.retrySamePerson.message":"La même personne doit être devant la caméra du début à la fin. Enregistrez à nouveau la vidéo","capture.retryMatch.message":"Nous n'avons pas pu confirmer qu'il s'agit bien de vous. Enregistrez à nouveau la vidéo dans un endroit bien éclairé, sans lunettes","common.loading":"Chargement…","common.refresh":"Actualiser le statut","common.noAttemptsLeft":"Plus aucune tentative","session.steps.portrait.title":"Prenez votre photo","session.steps.portrait.description":"Regardez la caméra bien en face, l’expression neutre, devant un mur uni et clair","portrait.coach.no_face":"Placez votre visage dans l'ovale","portrait.coach.multiple_faces":"Assurez-vous d'être seul sur la photo","portrait.coach.center":"Centrez votre visage dans l'ovale","portrait.coach.too_close":"Reculez un peu","portrait.coach.pose":"Regardez droit vers la caméra","portrait.coach.eyes":"Ouvrez un peu plus les yeux","portrait.coach.mouth":"Fermez la bouche, expression neutre","portrait.coach.glare":"Inclinez vos lunettes ou retirez-les","portrait.coach.lighting":"Placez-vous face à une fenêtre ou une lampe","portrait.coach.lighting_side":"Évitez la lumière venant d'un seul côté","portrait.coach.background":"Placez-vous devant un mur uni et clair","portrait.coach.resolution":"Rapprochez-vous un peu","portrait.coach.hold_still":"Ne bougez plus","portrait.coach.hold":"Parfait. Ne bougez plus","portrait.criteria.face":"Visage dans l'ovale","portrait.criteria.framing":"Centré","portrait.criteria.pose":"Regard droit","portrait.criteria.eyes":"Yeux ouverts","portrait.criteria.mouth":"Expression neutre","portrait.criteria.glare":"Sans reflet","portrait.criteria.lighting":"Lumière uniforme","portrait.criteria.background":"Fond uni","portrait.criteria.resolution":"Assez proche","portrait.criteria.sharpness":"Stable","portrait.report.pose":"Position de la tête","portrait.report.eyes":"Yeux","portrait.report.mouth":"Expression","portrait.report.occlusion":"Visage dégagé","portrait.report.glare":"Reflets des lunettes","portrait.report.lighting":"Éclairage","portrait.report.background":"Arrière-plan","portrait.report.resolution":"Distance","portrait.checksLabel":"Contrôles de la photo","portrait.met":"validé","portrait.notMet":"pas encore","portrait.starting":"Démarrage de la caméra…","portrait.taken":"Photo prise","portrait.uploading":"Envoi de votre photo…","portrait.checking":"Vérification en cours…","portrait.retryTitle":"Reprenons votre photo","portrait.reportTitle":"À corriger","portrait.retake":"Reprendre la photo","portrait.uploadFailed":"Nous n'avons pas pu envoyer votre photo. Vérifiez votre connexion, puis réessayez.","portrait.sendAgain":"Renvoyer la photo","portrait.matching":"Comparaison des photos…","portrait.reviewTitle":"Vérification de la photo","portrait.reviewDescription":"Un membre de notre équipe vérifiera votre photo. Vous pouvez continuer.","portrait.cameraBlocked":"Nous avons besoin de votre caméra pour prendre votre photo d'identité. L'accès à la caméra est bloqué ou indisponible","portrait.cameraBlockedHint":"Autorisez l'accès à la caméra pour ce site dans les réglages du navigateur, puis réessayez","portrait.retryCamera":"Réessayer la caméra","reasons.icao_pose":"Regardez la caméra bien en face","reasons.icao_eyes":"Ouvrez un peu plus les yeux","reasons.icao_mouth":"Fermez la bouche et gardez une expression neutre","reasons.icao_occlusion":"Retirez ce qui couvre votre visage, et inclinez ou retirez vos lunettes","reasons.icao_lighting":"Placez-vous face à une fenêtre ou une lampe, sans lumière d’un seul côté","reasons.icao_background":"Placez-vous devant un mur uni et clair","reasons.icao_resolution":"Rapprochez-vous un peu de la caméra","reasons.portrait_not_from_liveness":"La photo doit être celle de la personne qui a fait le contrôle du visage. Reprenez-la vous-même","reasons.tester_document_mismatch":"Ce document n'appartient pas au testeur","reasons.tester_phone_mismatch":"Utilisez le numéro avec lequel le testeur s'est inscrit","method.national_eid":"Vérifier avec {provider}","method.national_eidGeneric":"Vérifier avec votre eID national","consent.short":"En continuant, vous acceptez les {terms}.","consent.termsLink":"conditions","session.progressLabel":"Progression de la vérification","section.contact":"Vérifiez votre contact","section.identity":"Vérifiez votre identité","section.live_photo":"Prenez une photo en direct","section.screening":"Contrôles complémentaires","handoff.copied":"Lien copié. Ouvrez-le sur votre téléphone","needsApp.title":"Il faut l'application","needsApp.description":"{org} demande de lire la puce de votre document. Ouvrez l'application de {org} sur un téléphone avec NFC pour continuer.","needsApp.descriptionNoOrg":"Cette vérification lit la puce de votre document. Ouvrez l'application sur un téléphone avec NFC pour continuer.","consent.termsTitle":"Utilisation de vos données","leave.title":"Quitter la vérification ?","leave.body":"Si vous quittez maintenant, votre vérification ne sera pas terminée.","leave.confirm":"Quitter","leave.stay":"Rester","otp.changeNumber":"Changer de numéro","otp.backToCode":"Retour au code","otp.reason_otp_resend_limit":"Vous ne pouvez plus demander de code. Saisissez le dernier code reçu","reasons.otp_resend_limit":"Le nombre maximal de codes de vérification pour cette session a été atteint","common.back":"Retour","capture.assisted.heading":"Filmez la personne","returning.heading":"Confirmez que c'est vous","capture.checkingTitle":"Vérification en cours…","method.heading":"Choisissez une méthode","sandbox.otpHint":"Session de test : rien n'a été envoyé. Saisissez le code {code}.","sandbox.skipCapture":"Passer avec des données de test","sandbox.simulatedTitle":"C'était une simulation","sandbox.simulatedNoTesters":"Cette session a utilisé des données de test. Aucun vrai contrôle n'a été lancé. Pour lancer de vrais contrôles, inscrivez un testeur Sandbox dans le tableau de bord.","sandbox.simulatedGate":"Cette session a utilisé des données de test. Aucun vrai contrôle n'a été lancé. Pour lancer de vrais contrôles, faites le contrôle du testeur au début de la session.","app.sandboxBadge":"Mode test","handoff.lead.poa":"Prenez les photos de votre document avec votre téléphone","session.processing.proof_of_address.title":"Vérification de votre document","session.processing.proof_of_address.description":"Nous lisons le document et vérifions la date et le nom","section.documents":"Vérifiez votre adresse","section.form":"Répondre à quelques questions","population.recheck.title":"Vérifiez votre numéro","population.recheck.description":"Votre visage ne correspond pas au dossier de ce numéro. Vérifiez le numéro et saisissez-le à nouveau.","otp.phoneInvalid":"Saisissez votre numéro avec l'indicatif du pays","otp.codeInvalid":"Saisissez le code à 6 chiffres","doc.countryTitle":"Choisissez le pays","doc.countryLabel":"Pays de délivrance","doc.countrySearch":"Rechercher un pays","doc.noCountryMatch":"Aucun pays ne correspond à votre recherche","doc.type.carte_identite":"Carte d'identité","doc.type.residence_permit":"Titre de séjour","doc.type.passport":"Passeport","doc.showSide":"Montrez une face de la carte","doc.showPage":"Montrez la page avec la photo","doc.flip":"Retournez la carte","doc.sameFace":"Même face · retournez la carte","doc.reaskRecto":"Remontrez le recto","doc.reread":"Lecture impossible · tenez la carte stable, bien éclairée","doc.photoTaken":"Photo prise","doc.frontCaptured":"Recto capturé","doc.backCaptured":"Verso capturé","doc.pageCaptured":"Page capturée","doc.progressFront":"Recto","doc.progressBack":"Verso","doc.progressPage":"Page photo","doc.shutter":"Prendre la photo","doc.torchOn":"Allumer la lampe","doc.torchOff":"Éteindre la lampe","result.platform_unsupported":"Cette vérification nécessite une application mobile.","unsupported.title":"Mise à jour requise","unsupported.description":"Cette étape nécessite une version plus récente de cette page. Contactez {org}.","shell.subtitle":"Vérification d'identité","shell.subtitleHuman":"Vérification humaine","shell.verifiedBy":"Vérifié par Sekyro AI","doc.sub.carte_identite":"Recto et verso","doc.sub.residence_permit":"Recto et verso","doc.sub.passport":"La page avec votre photo","doc.type.drivers_license":"Permis de conduire","doc.sub.drivers_license":"Recto et verso","native.close":"Fermer","native.face.introTitle":"Vérifions votre visage","native.face.introLead":"Une seule prise, sans geste particulier : regardez simplement l'écran.","native.face.humanIntroTitle":"Confirmez votre présence","native.face.humanIntroLead":"Une courte prise : regardez simplement l'écran.","native.doc.holdIt":"Gardez votre document à portée de main.","native.doc.changeCountry":"Changer de pays","native.result.review":"Une personne va examiner votre vérification. {org} vous tiendra informé.","native.result.rejected":"Les contrôles n'ont pas confirmé votre identité. Contactez {org} si vous pensez qu'il s'agit d'une erreur.","native.result.expired":"Recommencez depuis {org}.","native.result.expiredTitle":"Cette vérification a pris fin","native.result.copied":"Copiée","native.result.continue":"Continuer","native.result.verified":"Votre vérification est terminée.","native.result.inconclusive":"Les captures n'étaient pas assez nettes pour décider. Recommencez depuis {org}, dans un endroit bien éclairé et en tenant le téléphone droit. Contactez {org} si le problème persiste.","native.result.unavailable":"Notre service était indisponible au moment de votre essai. Réessayez plus tard depuis {org}, ou contactez {org} si le problème persiste.","native.result.policy":"{org} ne peut pas vous vérifier avec ce document ou depuis cet endroit."};import{createContext as y,useContext as _,useMemo as v}from"react";import{jsx as C}from"react/jsx-runtime";var b={en:h,fr:m,ar:l};function k(o,e){return e===void 0?o:o.replace(/\{(\w+)\}/g,(t,r)=>Object.hasOwn(e,r)?String(e[r]):t)}i(k,"formatTemplate");function z(o,e){let t=c(o),r={...p(t),...b[t],...d(o)};if(e!==void 0){for(let n of Object.keys(e)){let s=e[n];typeof s=="string"&&(r[n]=s)}a(r,e)}return r}i(z,"resolveSekyroStrings");var f=y(null);function g(o,e){let t=z(o,e);return{locale:o,strings:t,t:i((r,n)=>k(t[r]??"",n),"t")}}i(g,"build");function q({locale:o,strings:e,children:t}){let r=u(o),n=v(()=>g(o,e),[o,e,r]);return r?C(f.Provider,{value:n,children:t}):null}i(q,"StepI18nProvider");function A(o,e){let t=_(f);return v(()=>t!==null&&o===void 0&&e===void 0?t:g(o??t?.locale??"en",e),[t,o,e])}i(A,"useStepI18n");export{l as a,h as b,m as c,k as d,z as e,q as f,A as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{q as h,r as M,s as m}from"./chunk-WC4U54LZ.js";import{a as n}from"./chunk-2KED7D2Q.js";var f={success:'<path d="M2 12A10 10 0 1 0 22 12A10 10 0 1 0 2 12Z" stroke="currentColor"/><path d="M8.5 12.5L10.5 14.5L15.5 9.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',pending:'<path d="M2 12A10 10 0 1 0 22 12A10 10 0 1 0 2 12Z" stroke="currentColor"/><path d="M12 8V12L14.5 14.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',info:'<path d="M2 12A10 10 0 1 0 22 12A10 10 0 1 0 2 12Z" stroke="currentColor"/><path d="M12 17V11" stroke="currentColor" stroke-linecap="round"/><path d="M12 8H12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',timer:'<path d="M3 13A9 9 0 1 0 21 13A9 9 0 1 0 3 13Z" stroke="currentColor"/><path d="M12 9V13L14.5 15.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M3.5 4.5L7.5 2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.5 4.5L16.5 2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',closeCircle:'<path d="M2 12A10 10 0 1 0 22 12A10 10 0 1 0 2 12Z" stroke="currentColor"/><path d="M14.5 9.5L9.5 14.5M9.5 9.5L14.5 14.5" stroke="currentColor" stroke-linecap="round"/>',sms:'<path d="M14.6 19.21C14.26 19.41 14.05 19.76 13.63 20.47L13.09 21.39C12.6 22.2 11.4 22.2 10.91 21.39L10.37 20.47C9.95 19.76 9.74 19.41 9.4 19.21C9.07 19.01 8.64 19.01 7.79 18.99C6.53 18.97 5.75 18.89 5.09 18.62C3.86 18.11 2.89 17.14 2.38 15.91C2 14.99 2 13.83 2 11.5V10.5C2 7.23 2 5.59 2.74 4.39C3.15 3.71 3.71 3.15 4.39 2.74C5.59 2 7.23 2 10.5 2H13.5C16.77 2 18.41 2 19.61 2.74C20.29 3.15 20.85 3.71 21.26 4.39C22 5.59 22 7.23 22 10.5V11.5C22 13.83 22 14.99 21.62 15.91C21.11 17.14 20.14 18.11 18.91 18.62C18.25 18.89 17.47 18.97 16.21 18.99C15.36 19.01 14.93 19.01 14.6 19.21Z" stroke="currentColor" stroke-linecap="round"/>',whatsapp:'<path d="M17.47 14.38c-0.3-0.15-1.76-0.87-2.03-0.97c-0.27-0.1-0.47-0.15-0.670.15c-0.20.3-0.770.97-0.94 1.16c-0.170.2-0.350.22-0.640.07c-0.3-0.15-1.25-0.46-2.39-1.48c-0.88-0.79-1.48-1.76-1.65-2.06c-0.17-0.3-0.02-0.460.13-0.61c0.13-0.130.3-0.350.45-0.52s0.2-0.30.3-0.5c0.1-0.20.05-0.37-0.03-0.52s-0.67-1.61-0.92-2.21c-0.24-0.58-0.49-0.5-0.67-0.51a13 13 0 0 0-0.57-0.01c-0.2 0-0.520.07-0.790.37c-0.270.3-1.04 1.02-1.04 2.48c0 1.46 1.06 2.88 1.21 3.07s2.1 3.2 5.08 4.49c0.710.31 1.260.49 1.690.63c0.710.23 1.360.2 1.870.12c0.57-0.09 1.76-0.72 2.01-1.41s0.25-1.290.17-1.41c-0.07-0.12-0.27-0.2-0.57-0.35m-5.42 7.4h0a9.87 9.87 0 0 1-5.03-1.38l-0.36-0.21l-3.740.98l1-3.65l-0.23-0.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88c2.64 0 5.12 1.03 6.99 2.9a9.82 9.82 0 0 1 2.89 6.99c0 5.45-4.44 9.88-9.88 9.88m8.41-18.3A11.82 11.82 0 0 0 12.05 0C5.5 0 0.16 5.330.16 11.89c0 2.10.55 4.14 1.59 5.95L0.06 24l6.3-1.65a11.9 11.9 0 0 0 5.68 1.45h0.01c6.55 0 11.89-5.33 11.89-11.89a11.82 11.82 0 0 0-3.48-8.41" fill="currentColor"/>',back:'<path d="M15 5L9 12L15 19" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',warning:'<path d="M5.31 10.76C8.23 5.59 9.69 3 12 3C14.31 3 15.77 5.59 18.69 10.76L19.05 11.41C21.48 15.71 22.69 17.86 21.59 19.43C20.5 21 17.79 21 12.36 21H11.64C6.21 21 3.5 21 2.41 19.43C1.31 17.86 2.52 15.71 4.95 11.41L5.31 10.76Z" stroke="currentColor"/><path d="M12 8V13" stroke="currentColor" stroke-linecap="round"/><path d="M12 16H12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>',external:'<path d="M9 15L15 9M15 13.5V9H10.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 12C2 7.29 2 4.93 3.46 3.46C4.93 2 7.29 2 12 2C16.71 2 19.07 2 20.54 3.46C22 4.93 22 7.29 22 12C22 16.71 22 19.07 20.54 20.54C19.07 22 16.71 22 12 22C7.29 22 4.93 22 3.46 20.54C2 19.07 2 16.71 2 12Z" stroke="currentColor"/>'};var u={id:'<path d="M4 6H17C18.66 6 20 7.34 20 9V19C20 20.66 18.66 22 17 22H7C5.34 22 4 20.66 4 19V6ZM4 6V5" stroke="currentColor" stroke-linejoin="round"/><path d="M9 13A3 3 0 1 0 15 13A3 3 0 1 0 9 13Z" stroke="currentColor"/><path d="M18 6H5.07C4.48 6 4 5.52 4 4.93C4 4.4 4.39 3.94 4.92 3.87L15.72 2.33C16.92 2.15 18 3.09 18 4.31V6Z" stroke="currentColor" stroke-linejoin="round"/><path d="M10 19H14" stroke="currentColor" stroke-linecap="round"/>',card:'<path d="M2 12C2 8.23 2 6.34 3.17 5.17C4.34 4 6.23 4 10 4H14C17.77 4 19.66 4 20.83 5.17C22 6.34 22 8.23 22 12C22 15.77 22 17.66 20.83 18.83C19.66 20 17.77 20 14 20H10C6.23 20 4.34 20 3.17 18.83C2 17.66 2 15.77 2 12Z" stroke="currentColor"/><path d="M10 16H6" stroke="currentColor" stroke-linecap="round"/><path d="M14 16H12.5" stroke="currentColor" stroke-linecap="round"/><path d="M2 10L22 10" stroke="currentColor" stroke-linecap="round"/>',lock:'<path d="M2 16C2 13.17 2 11.76 2.88 10.88C3.76 10 5.17 10 8 10H16C18.83 10 20.24 10 21.12 10.88C22 11.76 22 13.17 22 16C22 18.83 22 20.24 21.12 21.12C20.24 22 18.83 22 16 22H8C5.17 22 3.76 22 2.88 21.12C2 20.24 2 18.83 2 16Z" stroke="currentColor"/><path d="M6 10V8C6 4.69 8.69 2 12 2C15.31 2 18 4.69 18 8V10" stroke="currentColor" stroke-linecap="round"/>',passport:'<path d="M4 6H17C18.66 6 20 7.34 20 9V19C20 20.66 18.66 22 17 22H7C5.34 22 4 20.66 4 19V6ZM4 6V5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M15 13A3 3 0 1 1 9 13A3 3 0 1 1 15 13Z" stroke="currentColor" stroke-linecap="round"/><path d="M18 6H5.07C4.48 6 4 5.52 4 4.93C4 4.4 4.39 3.94 4.92 3.87L15.72 2.33C16.92 2.15 18 3.09 18 4.31V6Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 19H14" stroke="currentColor" stroke-linecap="round"/>',camera:'<path d="M9 13A3 3 0 1 0 15 13A3 3 0 1 0 9 13Z" stroke="currentColor"/><path d="M9.78 21H14.22C17.34 21 18.9 21 20.02 20.26C20.51 19.95 20.93 19.54 21.25 19.06C22 17.96 22 16.43 22 13.36C22 10.3 22 8.77 21.25 7.67C20.93 7.19 20.51 6.78 20.02 6.46C19.3 5.99 18.4 5.82 17.02 5.76C16.36 5.76 15.8 5.27 15.67 4.64C15.47 3.68 14.62 3 13.63 3H10.37C9.38 3 8.53 3.68 8.33 4.64C8.2 5.27 7.64 5.76 6.98 5.76C5.6 5.82 4.7 5.99 3.98 6.46C3.49 6.78 3.07 7.19 2.75 7.67C2 8.77 2 10.3 2 13.36C2 16.43 2 17.96 2.75 19.06C3.07 19.54 3.49 19.95 3.98 20.26C5.1 21 6.66 21 9.78 21Z" stroke="currentColor"/><path d="M19 10H18" stroke="currentColor" stroke-linecap="round"/>',light:'<path d="M6 12A6 6 0 1 0 18 12A6 6 0 1 0 6 12Z" stroke="currentColor"/><path d="M12 2V3" stroke="currentColor" stroke-linecap="round"/><path d="M12 21V22" stroke="currentColor" stroke-linecap="round"/><path d="M22 12L21 12" stroke="currentColor" stroke-linecap="round"/><path d="M3 12L2 12" stroke="currentColor" stroke-linecap="round"/><path d="M19.07 4.93L18.68 5.32" stroke="currentColor" stroke-linecap="round"/><path d="M5.32 18.68L4.93 19.07" stroke="currentColor" stroke-linecap="round"/><path d="M19.07 19.07L18.68 18.68" stroke="currentColor" stroke-linecap="round"/><path d="M5.32 5.32L4.93 4.93" stroke="currentColor" stroke-linecap="round"/>',jGlasses:'<path d="M14 16A4 4 0 1 0 22 16A4 4 0 1 0 14 16Z" stroke="currentColor"/><path d="M2 16A4 4 0 1 0 10 16A4 4 0 1 0 2 16Z" stroke="currentColor"/><path d="M14 16.21L13.34 15.98C12.47 15.67 11.53 15.67 10.66 15.98L10 16.21" stroke="currentColor" stroke-linecap="round"/><path d="M2 16L2.76 7.61C2.88 6.34 2.94 5.71 3.31 5.24C3.68 4.77 4.28 4.57 5.48 4.17L6 4" stroke="currentColor" stroke-linecap="round"/><path d="M22 16L21.24 7.61C21.12 6.34 21.06 5.71 20.69 5.24C20.32 4.77 19.72 4.57 18.52 4.17L18 4" stroke="currentColor" stroke-linecap="round"/>',smartphone:'<path d="M4 10C4 6.23 4 4.34 5.17 3.17C6.34 2 8.23 2 12 2C15.77 2 17.66 2 18.83 3.17C20 4.34 20 6.23 20 10V14C20 17.77 20 19.66 18.83 20.83C17.66 22 15.77 22 12 22C8.23 22 6.34 22 5.17 20.83C4 19.66 4 17.77 4 14V10Z" stroke="currentColor" stroke-linecap="round"/><path d="M15 19H9" stroke="currentColor" stroke-linecap="round"/>',close:'<path d="M19.01 5L5.01 19" stroke="currentColor" stroke-linecap="round"/><path d="M19 19L5 5" stroke="currentColor" stroke-linecap="round"/>',phone:'<path d="M18.68 19.96C19.19 19.91 19.64 19.63 20 19.25L21.42 17.76C22.38 16.75 22.11 15.02 20.88 14.31L18.97 13.21C18.17 12.75 17.19 12.88 16.56 13.55L16.1 14.03C16.1 14.03 15.02 15.17 12.06 12.06C9.11 8.94 10.19 7.81 10.19 7.81L10.48 7.5C11.18 6.76 11.25 5.56 10.63 4.69L9.37 2.91C8.61 1.83 7.14 1.69 6.26 2.61L4.69 4.26C4.26 4.72 3.97 5.31 4 5.97C4.09 7.65 4.81 11.26 8.82 15.48C13.06 19.95 17.05 20.12 18.68 19.96Z" stroke="currentColor" stroke-linecap="round"/>',email:'<path d="M2 12C2 8.23 2 6.34 3.17 5.17C4.34 4 6.23 4 10 4H14C17.77 4 19.66 4 20.83 5.17C22 6.34 22 8.23 22 12C22 15.77 22 17.66 20.83 18.83C19.66 20 17.77 20 14 20H10C6.23 20 4.34 20 3.17 18.83C2 17.66 2 15.77 2 12Z" stroke="currentColor"/><path d="M6 8L8.16 9.8C10 11.33 10.91 12.09 12 12.09C13.09 12.09 14 11.33 15.84 9.8L18 8" stroke="currentColor" stroke-linecap="round"/>',face:'<path d="M9 16C9.85 16.63 10.88 17 12 17C13.12 17 14.15 16.63 15 16" stroke="currentColor" stroke-linecap="round"/><path d="M2.2 10C3 6.08 6.08 3 10 2.2" stroke="currentColor" stroke-linecap="round"/><path d="M2.2 14C3 17.92 6.08 21 10 21.8" stroke="currentColor" stroke-linecap="round"/><path d="M21.8 10C21 6.08 17.92 3 14 2.2" stroke="currentColor" stroke-linecap="round"/><path d="M21.8 14C21 17.92 17.92 21 14 21.8" stroke="currentColor" stroke-linecap="round"/><path d="M15.5 10.5C15.5 11.05 15.28 11.5 15 11.5C14.72 11.5 14.5 11.05 14.5 10.5C14.5 9.95 14.72 9.5 15 9.5C15.28 9.5 15.5 9.95 15.5 10.5Z" stroke="currentColor"/><path d="M8.5 10.5A0.5 1 0 1 0 9.5 10.5A0.5 1 0 1 0 8.5 10.5Z" stroke="currentColor"/>',copy:'<path d="M6 11C6 8.17 6 6.76 6.88 5.88C7.76 5 9.17 5 12 5H15C17.83 5 19.24 5 20.12 5.88C21 6.76 21 8.17 21 11V16C21 18.83 21 20.24 20.12 21.12C19.24 22 17.83 22 15 22H12C9.17 22 7.76 22 6.88 21.12C6 20.24 6 18.83 6 16V11Z" stroke="currentColor"/><path d="M6 19C4.34 19 3 17.66 3 16V10C3 6.23 3 4.34 4.17 3.17C5.34 2 7.23 2 11 2H15C16.66 2 18 3.34 18 5" stroke="currentColor"/>'};import{jsx as S}from"react/jsx-runtime";function L({name:e,className:o}){return S("svg",{className:`sekyro-glyph${o?` ${o}`:""}`,viewBox:"0 0 24 24",fill:"none",stroke:"none",strokeWidth:1.5,"aria-hidden":"true",focusable:"false",dangerouslySetInnerHTML:{__html:e in u?u[e]:f[e]}})}n(L,"Icon");import{createContext as c,useContext as d,useEffect as i,useId as x,useLayoutEffect as g,useRef as y,useState as H}from"react";import{jsx as a,jsxs as p}from"react/jsx-runtime";function B({id:e,title:o,lead:r,lang:t}){let C=m(),l=t?.title!==void 0?t.dir:void 0,s=t?.lead!==void 0?t.dir:void 0;return p("div",{className:"sekyro-heading",children:[a("h2",{id:e,ref:C,tabIndex:-1,className:"sekyro-text-body",lang:t?.title,dir:l,children:o}),r!==void 0?a("p",{className:"sekyro-text-muted",lang:t?.lead,dir:s,children:r}):null]})}n(B,"StepHeading");var A=c(null),v=typeof window>"u"?i:g;function G({children:e}){let o=d(A),r=x(),t=o?.claim;return v(()=>t?.(r),[t,r]),p("div",{className:"sekyro-actions",children:[e,o!==null&&o.owner===r?o.node:null]})}n(G,"StepActions");var Z=c(()=>{});function D(e){let o=d(Z),r=y(e);r.current=e;let t=e!==null;i(()=>{if(t)return o(()=>r.current?.()),()=>o(null)},[t,o])}n(D,"useFlowBack");var P=c(void 0),q=c(void 0),V=c(()=>{});function z(e){let o=d(V);i(()=>(o(e),()=>o(!1)),[e,o])}n(z,"useImmersive");var b=c(null);function J({onStop:e}){let o=d(b);return o===null?null:a("button",{type:"button",className:"sekyro-lm-upload",disabled:o.busy,"aria-busy":o.busy||void 0,"data-testid":"sekyro-skip-capture",onClick:()=>{e?.(),o.run()},children:o.label})}n(J,"CameraSkip");function Q({template:e,code:o}){let[r,t]=e.split("{code}");return p("span",{"data-testid":"sekyro-test-code-line",children:[r,a("bdi",{dir:"ltr",className:"sekyro-mono sekyro-test-code",children:o}),t]})}n(Q,"TestCodeLine");var I=100;function w({swapKey:e,className:o,children:r}){let[t,C]=H({key:e,node:r}),l=y(r);l.current=r;let s=t.key!==e;return i(()=>{if(!s)return;let N=setTimeout(()=>C({key:e,node:l.current}),I);return()=>clearTimeout(N)},[s,e]),a("div",{className:`${o}${s?" is-leaving":""}`,"aria-hidden":s||void 0,children:s?t.node:r},t.key)}n(w,"Swap");var U=n(({pageKey:e,children:o})=>a(w,{swapKey:e,className:"sekyro-page",children:o}),"PageSwap");import{jsx as k,jsxs as _}from"react/jsx-runtime";var O={info:"info",warning:"warning",danger:"warning"};function s1({tone:e,children:o}){return _(M,{tone:e,children:[k("span",{className:"sekyro-notice__icon","aria-hidden":"true",children:k(L,{name:O[e]})}),k("div",{className:"sekyro-notice__body",children:o})]})}n(s1,"StepNotice");function a1(e,o,r){return r?e.t("common.noAttemptsLeft"):h(e.strings,e.locale,o)}n(a1,"attemptsLine");export{L as a,B as b,A as c,G as d,Z as e,D as f,P as g,q as h,V as i,z as j,b as k,J as l,Q as m,w as n,U as o,s1 as p,a1 as q};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as y}from"./chunk-VNVE5DMF.js";import{p as w}from"./chunk-Q5BGUJMS.js";import{a as d}from"./chunk-WC4U54LZ.js";import{a as t}from"./chunk-2KED7D2Q.js";import{createContext as C,useContext as R,useState as v}from"react";import{lazy as S,Suspense as b,useMemo as x,useState as g}from"react";import{Component as N}from"react";var c=class c extends N{constructor(){super(...arguments);this.state={failed:!1}}static getDerivedStateFromError(){return{failed:!0}}render(){return this.state.failed?this.props.fallback:this.props.children}};t(c,"LoadBoundary");var p=c;import{jsx as r,jsxs as V}from"react/jsx-runtime";var h={load:t(()=>import("./flow-views-C3EIMXME.js"),"load")};function k({view:n,i18n:e,quiet:o,...a}){let[i,f]=g(0),s=x(()=>S(()=>h.load().then(m=>({default:m[n]}))),[n,i]),u=V(w,{tone:"danger",children:[r("span",{children:e.t("errors.network_error")}),r(d,{kind:"secondary",onClick:()=>f(m=>m+1),children:e.t("common.retry")})]});return r(p,{fallback:u,children:r(b,{fallback:o===!0?null:r("p",{role:"status","aria-busy":"true",className:"sekyro-text-muted",children:e.t("common.loading")}),children:r(s,{...a,i18n:e})})},i)}t(k,"Flow");import{Fragment as F,jsx as l,jsxs as B}from"react/jsx-runtime";var P=C(void 0);function K({i18n:n,lead:e,refresh:o,actions:a}){let i=R(P),[f,s]=v(!1);if(i!==void 0)return l(k,{view:"HandoffView",i18n:n,url:i,lead:e,...o!==void 0?{refresh:o}:{},footer:a});let u=t(()=>{o!==void 0&&(s(!0),o().catch(()=>{}).finally(()=>s(!1)))},"again");return l(y,{tone:"brand",icon:"smartphone",title:n.t("handoff.title"),testId:"sekyro-phone-handoff",actions:B(F,{children:[a,o!==void 0?l(d,{kind:"secondary",full:!0,disabled:f,onClick:u,children:n.t("common.refresh")}):null]}),children:l("p",{children:e})})}t(K,"PhoneHandoff");export{p as a,k as b,P as c,K as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as n,b as r,d as c}from"./chunk-Q5BGUJMS.js";import{a as t}from"./chunk-WC4U54LZ.js";import{a as i}from"./chunk-2KED7D2Q.js";import{jsx as e,jsxs as a}from"react/jsx-runtime";function k({title:s,lead:l,cameraLabel:p,uploadLabel:d,notice:m,testId:o,onCamera:u,onUpload:f,onPhone:g=!1}){return a("section",{className:"sekyro-step","data-testid":o,children:[e(r,{title:s,lead:l}),m,a(c,{children:[a(t,{full:!0,onClick:u,"data-testid":`${o}-camera`,children:[e(n,{name:g?"smartphone":"camera"}),p]}),e(t,{full:!0,kind:"ghost",onClick:f,"data-testid":`${o}-upload`,children:d})]})]})}i(k,"PhotoSourceView");export{k as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as r,d as i}from"./chunk-Q5BGUJMS.js";import{s as n}from"./chunk-WC4U54LZ.js";import{a}from"./chunk-2KED7D2Q.js";import{jsx as t,jsxs as s}from"react/jsx-runtime";function g({tone:c,icon:l,busy:d,title:u,titleId:o,children:m,actions:e,live:y,testId:p}){let f=n();return s("section",{className:"sekyro-step sekyro-status",...o!==void 0?{"aria-labelledby":o}:{},...y?{role:"status","aria-live":"polite"}:{},"data-testid":p,children:[s("div",{className:"sekyro-status__body",children:[t("span",{className:`sekyro-tile sekyro-tile--${c}${d?" is-busy":""}`,"aria-hidden":"true",children:t(r,{name:l})}),s("div",{className:"sekyro-heading sekyro-status__text",children:[t("h2",{id:o,ref:f,tabIndex:-1,className:"sekyro-text-body",children:u}),m]})]}),e!=null&&e!==!1?t(i,{children:e}):null]})}a(g,"StatusPage");export{g as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as i}from"./chunk-2KED7D2Q.js";import{HostedApiError as o,InvalidInputError as r,OtpInputError as a}from"@sekyro/web";function d(n,t){if(n instanceof r)return n.field==="phone"?"otp.phoneInvalid":n.field==="code"?"otp.codeInvalid":n.kind==="check_digit"?"population.reason_id_number_invalid":"population.invalid";if(n instanceof a&&n.field==="channel")return"otp.reason_otp_channel_unavailable";if(n instanceof o){let e=`errors.${n.code}`;if(Object.hasOwn(t,e))return e}return"errors.network_error"}i(d,"errorKey");export{d as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as r}from"./chunk-2KED7D2Q.js";import{forwardRef as h}from"react";import{jsx as g}from"react/jsx-runtime";var C=h(r(function({kind:t="primary",full:n=!1,className:a,type:o,...s},c){let i=["sekyro-btn",`sekyro-btn--${t}`];return n&&i.push("sekyro-btn--full"),a!==void 0&&i.push(a),g("button",{ref:c,type:o??"button",className:i.join(" "),...s})},"Button"));var p={"capture.start":"Start camera","capture.recordAgain":"Start a new attempt","capture.switchCamera":"Switch camera","capture.preparing.title":"Preparing secure capture…","capture.checking":"We're checking your identity…","capture.checkingHint":"This usually takes a few seconds. Keep this page open","capture.securityNote":"Your images are encrypted and used only for this verification","capture.cameraOff":"Camera off","capture.previewAlt":"Preview of the captured image of your face","capture.retryCoaching.title":"That attempt didn't work. A few adjustments will help:","capture.retryCoaching.light":"Find good lighting, with the light on your face and not behind you","capture.retryCoaching.eyeLevel":"Hold your phone at eye level","capture.retryCoaching.head":"Look straight at the camera and keep your head upright","capture.retryTips.title":"Before you film again:","capture.retryOneFace.alone":"Make sure nobody is next to or behind the person being verified","capture.retryOneFace.screens":"Keep photos and screens that show a face out of view","capture.retryFrontCamera.screenSide":"The front camera is the one on the screen side, so you can see yourself","capture.retryBackCamera.backSide":"The back camera is the one on the side without the screen","capture.retryBackCamera.circle":"Hold the phone upright in front of the person, with their face in the circle","capture.retryUpright.vertical":"Hold the phone straight up and down, with the camera at the top","capture.retryUpright.untilEnd":"Keep it that way until the recording ends","capture.retryRecording.cameraOn":"Keep the camera on until the recording finishes","capture.retryRecording.stay":"Stay on this screen. Don't switch apps or lock your phone","capture.retryRecording.network":"Use a stable internet connection","capture.retryDevice.screenRecording":"Stop any screen recording or screen sharing","capture.retryDevice.phone":"Use the app on a phone, not on an emulator","capture.attemptsRemaining.one":"{count} attempt remaining","capture.attemptsRemaining.other":"{count} attempts remaining","common.retry":"Try again","fcv2.err.permission":"Allow camera access in your browser settings (the camera icon in the address bar), then try again","fcv2.err.notfound":"No camera detected. Connect or enable a camera, then try again","fcv2.err.inuse":"Another app is using the camera. Close it, then try again","fcv2.err.insecure":"The camera needs a secure connection (HTTPS). Reopen this page over HTTPS","fcv2.err.unsupported":"Your browser cannot capture in a supported format. Open this page in a recent browser such as Chrome or Safari","fcv2.err.generic":"The camera is unavailable. Try again, or contact support if it keeps failing","fcv3.no_face":"We can't see your face. Hold the phone in front of you","fcv3.come_closer":"Bring the phone a little closer","fcv3.move_back":"Move the phone a little farther away","fcv3.center_face":"Center your face in the circle","fcv3.straighten":"Hold your head straight","fcv3.more_light":"Find a brighter spot. Light your face","fcv3.too_bright":"Too much light. Move out of direct light","fcv3.hold_still":"Perfect, hold still","fcv3.steady_camera":"Hold the phone steady","fcv3.hold_upright":"Hold the phone upright","fcv3.one_face":"Only one person should be in the frame","reasons.no_face":"No face could be detected during the check","reasons.media_unreadable":"The submitted capture could not be read","reasons.clip_too_short":"The capture was too short","reasons.spoof_detected":"The liveness check could not confirm a live person in front of the camera","reasons.review_band":"The automatic check was not conclusive, so it was sent to human review","reasons.nni_not_found":"The national identification number was not found in the civil registry","reasons.nni_invalid":"The national identification number is not a valid 10-digit NNI","reasons.registry_unavailable":"The civil registry could not be reached to confirm your number","reasons.no_face_source":"No face could be detected in the selfie photo","reasons.no_face_reference":"No reference photo was available to compare your selfie against. The requester needs to resolve this, so retaking your selfie will not help","reasons.low_quality_reference":"The reference photo on file was not clear enough to compare against","reasons.below_threshold":"The selfie did not match the photo on the identity document closely enough","reasons.side_missing":"One side of the identity document was not submitted","reasons.mrz_checksum_failed":"The machine-readable zone of the document could not be validated","reasons.unreadable":"The document photo was not clear enough to read","reasons.expired_document":"The identity document has expired","reasons.authenticity_review":"The document was sent to human review to confirm its authenticity","reasons.registry_mismatch":"The document's details did not match the civil registry. A reviewer will check","reasons.document_nni_mismatch":"This document belongs to a different person than the one this verification was created for","reasons.id_number_invalid":"The ID number is not valid","reasons.registry_record_not_found":"No record was found in the registry for this ID number","reasons.document_id_number_mismatch":"This document belongs to a different person than the one this verification was created for","reasons.otp_mismatch":"The verification code did not match the one we sent","reasons.otp_expired":"The verification code expired before it was entered","reasons.otp_send_failed":"We could not send a verification code to your phone","reasons.uncalibrated_capture_channel":"Desktop/webcam captures are not yet auto-decided, so your verification went to human review","reasons.capture_back_camera":"Use the front camera. Hold the phone in front of your face and try again","reasons.capture_not_upright":"Hold your phone upright, not sideways, and try again","reasons.capture_front_camera":"Use the back camera. Point it at the person's face and try again","reasons.multiple_faces":"Someone else appeared in the video. Film again with only one person in the frame","reasons.location_not_allowed":"Verification isn't available in your region.","reasons.anonymizer_blocked":"Turn off your VPN or proxy, then open the link again.","reasons.nationality_not_allowed":"This service can't verify this document. Contact the organization for other options.","reasons.document_type_not_accepted":"This type of document isn't accepted. Choose another document.","reasons.underage":"You don't meet the minimum age for this service.","reasons.age_unverifiable":"We couldn't read your date of birth. Take a clearer photo of your document.","reasons.nationality_unreadable":"We couldn't read your nationality. Take a clearer photo of your document.","reasons.name_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.birth_date_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.nationality_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.document_number_mismatch":"The details don't match the information the organization has. Contact the organization.","reasons.liveness_inconclusive":"Let's try again: face a light source and hold still.","reasons.match_inconclusive":"We couldn't confirm it's you. Try again in good light, without glasses.","hints.appearance":"Let's try again: face a light source and hold still.","hints.motion":"Hold still and keep the phone steady, then try again.","hints.lighting":"Face a window or a lamp so your face is well lit, then try again.","hints.framing":"Move closer so your face fills the frame, then try again.","reasons.subject_revoked":"The identity on file for this check is no longer available. The requester needs to run a full verification, so retrying will not help","reasons.probe_not_from_liveness":"The same person needs to be on camera from start to finish. Record the video again","reasons.document_authenticity":"Use the original card, not a photo or a copy, and avoid reflections.","reasons.mobile_required":"Continue on your phone to take the selfie.","reasons.capture_tampered":"We couldn't verify this capture. Use your phone's built-in camera, without screen recording or camera apps.","reasons.device_velocity_exceeded":"This device can't be used for another verification right now. Contact the organization.","reasons.device_cooldown":"Too many attempts. Try again later.","cooldown.retryIn":"Too many attempts. Try again {time}.","cooldown.retryAt":"Too many attempts. Try again after {time}.","capture.busy":"Our service is busy. Trying again…","errors.inference_unavailable":"Try again in a moment.","method.title":"How do you want to verify?","method.description":"Choose one option to continue","returning.title":"Confirm it's you","returning.description":"You verified your identity before. One short face capture confirms it's still you.","method.national_number":"Enter my Mauritanian national ID number (NNI)","method.document_photo":"Photo of my document","errors.method_required":"Choose how you want to verify, then continue","errors.attestation_invalid":"We could not complete the security check. Check your connection and try again","errors.device_clock":"Set your phone's date and time to automatic, then try again","errors.network_error":"We could not reach the verification service. Check your internet connection and try again","errors.session_expired":"This verification session has expired. Ask the organisation that sent you here for a new link","errors.nni_unbound":"This link was created without your national ID number. Ask the requester for a new link","errors.id_number_unbound":"This link was created without your ID number. Ask the requester for a new link","capture.tips.title":"For a successful check:","capture.tips.light":"Face a light source and avoid strong light behind you","capture.tips.uncover":"Uncover your face: no glasses, mask or hand in front of it","capture.tips.eyeLevel":"Hold your phone at eye level","capture.tips.straight":"Look straight at the camera and keep still","capture.tips.summary":"Stand in a well-lit area. Uncover your face: no glasses, no mask. Once the camera starts, hold your phone at eye level, look straight at the camera and keep still.","capture.tips.listen":"Listen to the instructions","capture.tips.stop":"Stop","capture.permission.granted":"Camera access allowed","capture.permission.prompt":"Your browser will ask to use the camera. Choose Allow","capture.permission.denied":"Camera access is blocked. Allow it in your browser settings (the camera icon in the address bar), then reload this page","capture.permission.unknown":"We'll ask to use your camera when you start","capture.cameraLabel":"Camera","capture.facing.user":"Front camera","capture.facing.environment":"Back camera","capture.assisted.title":"Capture the person's face","capture.assisted.lead":"Point the back camera at the person's face and hold the phone upright. The voice guidance speaks to the person being filmed.","capture.assisted.stage":"Point the camera at the person's face","capture.modeSwitch.toAssisted":"Someone is helping me","capture.modeSwitch.toSelf":"I film myself","capture.modeSwitch.toAssistedLabel":"Switch to assisted capture: another person holds the phone and films you","capture.modeSwitch.toSelfLabel":"Switch to self capture: you film yourself with the front camera","capture.modeSwitch.restarted":"Camera switched. Start again when you are ready","capture.lookAtColours":"Look at the colours","capture.voiceGuidance":"Voice guidance","capture.preparing.hint":"Setting up on-device face detection. This can take a moment on a slow connection","capture.ready":"Ready. Start when you are","fcv2.err.models":"The face-detection models could not be loaded. Check your connection and try again","fcv2.err.backcamera":"The back camera could not be opened, and assisted capture needs it. Try again, or continue on another phone"};var f={"capture.start":"تشغيل الكاميرا","capture.recordAgain":"ابدأ محاولة جديدة","capture.switchCamera":"تبديل الكاميرا","capture.preparing.title":"جارٍ تجهيز الالتقاط الآمن…","capture.checking":"نتحقق من هويتك…","capture.checkingHint":"يستغرق هذا عادةً بضع ثوانٍ. أبقِ هذه الصفحة مفتوحة","capture.securityNote":"تُشفَّر لقطاتك وتُستخدم فقط لهذا التحقق","capture.cameraOff":"الكاميرا مطفأة","capture.previewAlt":"معاينة الصورة الملتقطة لوجهك","capture.retryCoaching.title":"لم تنجح هذه المحاولة. بعض التعديلات ستساعد:","capture.retryCoaching.light":"اختر مكانًا جيد الإضاءة، بحيث يكون الضوء على وجهك لا خلفك","capture.retryCoaching.eyeLevel":"أمسك هاتفك بمستوى العينين","capture.retryCoaching.head":"انظر مباشرة إلى الكاميرا وأبقِ رأسك مستقيمًا","capture.retryTips.title":"قبل التصوير مرة أخرى:","capture.retryOneFace.alone":"تأكد من عدم وجود أي شخص بجانب الشخص الذي يتم التحقق منه أو خلفه","capture.retryOneFace.screens":"أبعد عن الإطار الصور والشاشات التي يظهر فيها وجه","capture.retryFrontCamera.screenSide":"الكاميرا الأمامية هي التي في جهة الشاشة، حيث ترى نفسك","capture.retryBackCamera.backSide":"الكاميرا الخلفية هي التي في الجهة المقابلة للشاشة","capture.retryBackCamera.circle":"أمسك الهاتف بشكل عمودي أمام الشخص، مع إبقاء وجهه داخل الدائرة","capture.retryUpright.vertical":"أمسك الهاتف بشكل عمودي، والكاميرا في الأعلى","capture.retryUpright.untilEnd":"أبقِه كذلك حتى ينتهي التسجيل","capture.retryRecording.cameraOn":"أبقِ الكاميرا تعمل حتى ينتهي التسجيل","capture.retryRecording.stay":"ابقَ في هذه الشاشة. لا تنتقل إلى تطبيق آخر ولا تقفل هاتفك","capture.retryRecording.network":"استخدم اتصال إنترنت مستقرًا","capture.retryDevice.screenRecording":"أوقف أي تسجيل للشاشة أو مشاركة لها","capture.retryDevice.phone":"استخدم التطبيق على هاتف، لا على محاكي","capture.attemptsRemaining.zero":"لم تتبقَّ أي محاولة","capture.attemptsRemaining.one":"تبقّت محاولة واحدة","capture.attemptsRemaining.two":"تبقّت محاولتان","capture.attemptsRemaining.few":"تبقّت {count} محاولات","capture.attemptsRemaining.many":"تبقّت {count} محاولة","capture.attemptsRemaining.other":"تبقّت {count} محاولة","common.retry":"أعد المحاولة","fcv2.err.permission":"اسمح بالوصول إلى الكاميرا من إعدادات المتصفح (أيقونة الكاميرا في شريط العنوان) ثم أعد المحاولة","fcv2.err.notfound":"لم يتم العثور على كاميرا. وصِّل كاميرا أو فعِّلها ثم أعد المحاولة","fcv2.err.inuse":"تطبيق آخر يستخدم الكاميرا. أغلقه ثم أعد المحاولة","fcv2.err.insecure":"تتطلب الكاميرا اتصالًا آمنًا (HTTPS). افتح هذه الصفحة عبر HTTPS","fcv2.err.unsupported":"متصفحك لا يستطيع الالتقاط بصيغة مدعومة. افتح هذه الصفحة في متصفح حديث مثل كروم أو سفاري","fcv2.err.generic":"الكاميرا غير متاحة. أعد المحاولة، وتواصل مع الدعم إذا استمرت المشكلة","fcv3.no_face":"لا نرى وجهك. أمسك الهاتف أمامك","fcv3.come_closer":"قرّب الهاتف قليلًا","fcv3.move_back":"أبعد الهاتف قليلًا","fcv3.center_face":"ضع وجهك في منتصف الدائرة","fcv3.straighten":"أبقِ رأسك مستقيمًا","fcv3.more_light":"انتقل إلى مكان أكثر إضاءة. أضئ وجهك","fcv3.too_bright":"الإضاءة قوية جدًا. تجنّب الضوء المباشر على وجهك","fcv3.hold_still":"ممتاز، لا تتحرك","fcv3.steady_camera":"أمسك الهاتف بثبات","fcv3.hold_upright":"أمسك الهاتف بشكل عمودي","fcv3.one_face":"يجب أن يظهر شخص واحد فقط في الإطار","reasons.no_face":"تعذّر اكتشاف أي وجه أثناء التحقق","reasons.media_unreadable":"تعذّرت قراءة اللقطة المُرسلة","reasons.clip_too_short":"كانت اللقطة أقصر من اللازم","reasons.spoof_detected":"لم يتمكن فحص الحضور الحي من تأكيد وجود شخص حقيقي أمام الكاميرا","reasons.review_band":"لم يكن الفحص التلقائي حاسمًا، لذا أُحيل إلى مراجعة بشرية","reasons.nni_not_found":"لم يُعثر على الرقم الوطني في سجل الحالة المدنية","reasons.nni_invalid":"الرقم الوطني ليس رقمًا صالحًا مكوّنًا من 10 أرقام","reasons.registry_unavailable":"تعذّر الوصول إلى سجل الحالة المدنية لتأكيد رقمك","reasons.no_face_source":"تعذّر اكتشاف وجه في الصورة الذاتية","reasons.no_face_reference":"لم تتوفّر صورة مرجعية لمقارنة صورتك الذاتية بها. على الجهة الطالبة معالجة ذلك، وإعادة التقاط صورتك الذاتية لن تُجدي","reasons.low_quality_reference":"الصورة المرجعية المحفوظة لم تكن واضحة بما يكفي للمقارنة","reasons.below_threshold":"الصورة الذاتية لم تطابق صورة وثيقة الهوية بدرجة كافية","reasons.side_missing":"أحد وجهي وثيقة الهوية لم يُرسل","reasons.mrz_checksum_failed":"تعذّر التحقق من منطقة القراءة الآلية في الوثيقة","reasons.unreadable":"صورة الوثيقة لم تكن واضحة بما يكفي للقراءة","reasons.expired_document":"انتهت صلاحية وثيقة الهوية","reasons.authenticity_review":"أُحيلت الوثيقة إلى مراجعة بشرية للتأكد من صحتها","reasons.registry_mismatch":"بيانات الوثيقة لا تطابق السجل المدني. سيتحقق منها مراجع","reasons.document_nni_mismatch":"هذه الوثيقة تخص شخصًا آخر غير الشخص الذي أُنشئ له هذا التحقق","reasons.id_number_invalid":"رقم الهوية غير صالح","reasons.registry_record_not_found":"لم يُعثر على أي سجل لرقم الهوية هذا في السجل","reasons.document_id_number_mismatch":"هذه الوثيقة تخص شخصًا آخر غير الشخص الذي أُنشئ له هذا التحقق","reasons.otp_mismatch":"رمز التحقّق لا يطابق الرمز الذي أرسلناه","reasons.otp_expired":"انتهت صلاحية رمز التحقّق قبل إدخاله","reasons.otp_send_failed":"تعذّر إرسال رمز التحقّق إلى هاتفك","reasons.uncalibrated_capture_channel":"جودة الكاميرا المكتبية غير معايَرة بعد، لذا أُحيل تحققك إلى مراجعة بشرية","reasons.capture_back_camera":"استخدم الكاميرا الأمامية. أمسك الهاتف أمام وجهك وحاول مرة أخرى","reasons.capture_not_upright":"أمسك هاتفك بشكل عمودي وليس أفقيًا، ثم حاول مرة أخرى","reasons.capture_front_camera":"استخدم الكاميرا الخلفية. وجّهها نحو وجه الشخص وحاول مرة أخرى","reasons.multiple_faces":"ظهر شخص آخر في الفيديو. صوّر مرة أخرى مع وجود شخص واحد فقط في الإطار","reasons.location_not_allowed":"التحقق غير متاح في منطقتك.","reasons.anonymizer_blocked":"أوقف تشغيل VPN أو الوكيل ثم افتح الرابط مجددًا.","reasons.nationality_not_allowed":"لا يمكن لهذه الخدمة التحقق من هذه الوثيقة. تواصل مع الجهة لمعرفة الخيارات الأخرى.","reasons.document_type_not_accepted":"هذا النوع من الوثائق غير مقبول. اختر وثيقة أخرى.","reasons.underage":"لا تستوفي الحد الأدنى للسن لهذه الخدمة.","reasons.age_unverifiable":"تعذّرت قراءة تاريخ ميلادك. التقط صورة أوضح لوثيقتك.","reasons.nationality_unreadable":"تعذّرت قراءة جنسيتك. التقط صورة أوضح لوثيقتك.","reasons.name_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.birth_date_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.nationality_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.document_number_mismatch":"بياناتك لا تطابق المعلومات المتوفرة لدى الجهة. تواصل مع الجهة.","reasons.liveness_inconclusive":"لنحاول مجددًا: اجعل وجهك مقابل مصدر ضوء وابقَ ثابتًا.","reasons.match_inconclusive":"لم نتمكّن من التأكد من أنك أنت. حاول مجددًا في إضاءة جيدة ومن دون نظارات.","hints.appearance":"لنحاول مجددًا: اجعل وجهك مقابل مصدر ضوء وابقَ ثابتًا.","hints.motion":"ابقَ ثابتًا وأمسك الهاتف بثبات، ثم حاول مجددًا.","hints.lighting":"اجعل وجهك مقابل نافذة أو مصباح حتى يكون مضاءً جيدًا، ثم حاول مجددًا.","hints.framing":"اقترب أكثر حتى يملأ وجهك الإطار، ثم حاول مجددًا.","reasons.subject_revoked":"لم تعد الهوية المحفوظة لهذا التحقق متاحة. على الجهة الطالبة إجراء تحقق كامل، وإعادة المحاولة لن تُجدي","reasons.probe_not_from_liveness":"يجب أن يظهر الشخص نفسه أمام الكاميرا من البداية إلى النهاية. سجّل الفيديو مرة أخرى","reasons.document_authenticity":"استخدم البطاقة الأصلية، لا صورة لها ولا نسخة منها، وتجنّب الانعكاسات.","reasons.mobile_required":"تابع على هاتفك لالتقاط صورة لوجهك.","reasons.capture_tampered":"تعذّر التحقق من هذا الالتقاط. استخدم الكاميرا المدمجة في هاتفك، دون تسجيل الشاشة أو تطبيقات الكاميرا.","reasons.device_velocity_exceeded":"لا يمكن استخدام هذا الجهاز لعملية تحقق أخرى حاليًا. تواصل مع الجهة.","reasons.device_cooldown":"محاولات كثيرة. حاول مجددًا لاحقًا.","cooldown.retryIn":"محاولات كثيرة. حاول مجددًا {time}.","cooldown.retryAt":"محاولات كثيرة. حاول مجددًا بعد {time}.","capture.busy":"خدمتنا مشغولة حاليًا. نعيد المحاولة…","errors.inference_unavailable":"حاول مجددًا بعد لحظات.","method.title":"كيف تريد التحقق من هويتك؟","method.description":"اختر إحدى الطريقتين للمتابعة","returning.title":"أكّد أنك أنت","returning.description":"سبق أن تحقّقت من هويتك. التقاط قصير لوجهك يكفي لتأكيد أنك أنت.","method.national_number":"إدخال الرقم الوطني للتعريف الموريتاني (NNI)","method.document_photo":"تصوير وثيقتي","errors.method_required":"اختر طريقة التحقق، ثم تابع","errors.attestation_invalid":"تعذّر إكمال فحص الأمان. تحقّق من اتصالك وحاول مجددًا","errors.device_clock":"اضبط تاريخ ووقت هاتفك على الوضع التلقائي، ثم حاول مجددًا","errors.network_error":"تعذّر الوصول إلى خدمة التحقق. تحقق من اتصالك بالإنترنت وأعد المحاولة","errors.session_expired":"انتهت صلاحية جلسة التحقق هذه. اطلب رابطًا جديدًا من الجهة التي أرسلتك إلى هنا","errors.nni_unbound":"أُنشئ هذا الرابط دون رقمك الوطني للتعريف. اطلب رابطًا جديدًا من الجهة الطالبة","errors.id_number_unbound":"أُنشئ هذا الرابط دون رقم هويتك. اطلب رابطًا جديدًا من الجهة الطالبة","capture.tips.title":"لتحقق ناجح:","capture.tips.light":"اجعل الضوء أمام وجهك وتجنّب الإضاءة القوية خلفك","capture.tips.uncover":"اكشف وجهك: بلا نظارات أو كمامة أو يد أمامه","capture.tips.eyeLevel":"أمسك هاتفك بمستوى العينين","capture.tips.straight":"انظر مباشرة إلى الكاميرا وابقَ ثابتًا","capture.tips.summary":"اختر مكانًا جيد الإضاءة. اكشف وجهك: بلا نظارات أو كمامة. بعد تشغيل الكاميرا، أمسك هاتفك بمستوى العينين، وانظر مباشرة إلى الكاميرا وابقَ ثابتًا.","capture.tips.listen":"استمع إلى التعليمات","capture.tips.stop":"إيقاف","capture.permission.granted":"تم السماح بالوصول إلى الكاميرا","capture.permission.prompt":"سيطلب متصفحك استخدام الكاميرا. اختر «السماح»","capture.permission.denied":"الوصول إلى الكاميرا محظور. اسمح به من إعدادات المتصفح (رمز الكاميرا في شريط العنوان)، ثم أعد تحميل الصفحة","capture.permission.unknown":"سنطلب استخدام الكاميرا عند البدء","capture.cameraLabel":"الكاميرا","capture.facing.user":"الكاميرا الأمامية","capture.facing.environment":"الكاميرا الخلفية","capture.assisted.title":"صوّر وجه الشخص","capture.assisted.lead":"وجّه الكاميرا الخلفية نحو وجه الشخص وأمسك الهاتف بشكل عمودي. الإرشادات الصوتية تخاطب الشخص الذي تصوّره.","capture.assisted.stage":"وجّه الكاميرا نحو وجه الشخص","capture.modeSwitch.toAssisted":"شخص يساعدني","capture.modeSwitch.toSelf":"أصوّر نفسي","capture.modeSwitch.toAssistedLabel":"التبديل إلى التصوير بمساعدة شخص آخر يحمل الهاتف ويصوّرك","capture.modeSwitch.toSelfLabel":"التبديل إلى التصوير الذاتي بالكاميرا الأمامية","capture.modeSwitch.restarted":"تم تبديل الكاميرا. ابدأ من جديد عندما تكون جاهزًا","capture.lookAtColours":"انظر إلى الألوان","capture.voiceGuidance":"الإرشاد الصوتي","capture.preparing.hint":"يجري إعداد كشف الوجه على جهازك. قد يستغرق ذلك لحظة على اتصال بطيء","capture.ready":"جاهز. ابدأ عندما تكون مستعدًا","fcv2.err.models":"تعذّر تحميل نماذج التعرف على الوجه. تحقق من اتصالك ثم أعد المحاولة","fcv2.err.backcamera":"تعذّر فتح الكاميرا الخلفية، والالتقاط المساعَد يحتاج إليها. أعد المحاولة أو تابع على هاتف آخر"};var v={"capture.start":"Démarrer la caméra","capture.recordAgain":"Commencer une nouvelle tentative","capture.switchCamera":"Changer de caméra","capture.preparing.title":"Préparation de la capture sécurisée…","capture.checking":"Nous vérifions votre identité…","capture.checkingHint":"Cela prend généralement quelques secondes. Gardez cette page ouverte","capture.securityNote":"Vos images sont chiffrées et utilisées uniquement pour cette vérification","capture.cameraOff":"Caméra éteinte","capture.previewAlt":"Aperçu de l’image capturée de votre visage","capture.retryCoaching.title":"Cette tentative n'a pas abouti. Quelques ajustements vous aideront :","capture.retryCoaching.light":"Placez-vous dans un endroit bien éclairé, avec la lumière sur le visage et non derrière vous","capture.retryCoaching.eyeLevel":"Tenez votre téléphone à hauteur des yeux","capture.retryCoaching.head":"Regardez droit vers la caméra, la tête bien droite","capture.retryTips.title":"Avant de filmer à nouveau :","capture.retryOneFace.alone":"Assurez-vous que personne ne se trouve à côté ou derrière la personne vérifiée","capture.retryOneFace.screens":"Gardez hors du cadre les photos et les écrans qui montrent un visage","capture.retryFrontCamera.screenSide":"La caméra avant est celle du côté de l'écran : vous vous voyez à l'écran","capture.retryBackCamera.backSide":"La caméra arrière est celle du côté opposé à l'écran","capture.retryBackCamera.circle":"Tenez le téléphone droit face à la personne, son visage dans le cercle","capture.retryUpright.vertical":"Tenez le téléphone bien droit, la caméra en haut","capture.retryUpright.untilEnd":"Gardez-le ainsi jusqu'à la fin de l'enregistrement","capture.retryRecording.cameraOn":"Laissez la caméra allumée jusqu'à la fin de l'enregistrement","capture.retryRecording.stay":"Restez sur cet écran. Ne changez pas d'application et ne verrouillez pas votre téléphone","capture.retryRecording.network":"Utilisez une connexion internet stable","capture.retryDevice.screenRecording":"Arrêtez tout enregistrement ou partage d'écran","capture.retryDevice.phone":"Utilisez l'application sur un téléphone, pas sur un émulateur","capture.attemptsRemaining.one":"{count} tentative restante","capture.attemptsRemaining.other":"{count} tentatives restantes","common.retry":"Réessayer","fcv2.err.permission":"Autorisez la caméra dans les réglages du navigateur (icône caméra dans la barre d’adresse), puis réessayez","fcv2.err.notfound":"Aucune caméra détectée. Branchez ou activez une caméra, puis réessayez","fcv2.err.inuse":"La caméra est utilisée par une autre application. Fermez-la, puis réessayez","fcv2.err.insecure":"La caméra nécessite une connexion sécurisée (HTTPS). Rouvrez cette page en HTTPS","fcv2.err.unsupported":"Votre navigateur ne prend pas en charge un format de capture compatible. Ouvrez cette page dans un navigateur récent comme Chrome ou Safari","fcv2.err.generic":"Caméra indisponible. Réessayez, ou contactez le support si le problème persiste","fcv3.no_face":"Nous ne voyons pas votre visage. Tenez le téléphone devant vous","fcv3.come_closer":"Rapprochez un peu le téléphone","fcv3.move_back":"Éloignez un peu le téléphone","fcv3.center_face":"Centrez votre visage dans le cercle","fcv3.straighten":"Tenez la tête droite","fcv3.more_light":"Cherchez un endroit plus lumineux. Éclairez votre visage","fcv3.too_bright":"Trop de lumière. Évitez la lumière directe sur le visage","fcv3.hold_still":"Parfait, ne bougez plus","fcv3.steady_camera":"Tenez le téléphone stable","fcv3.hold_upright":"Tenez le téléphone à la verticale","fcv3.one_face":"Une seule personne doit être dans le cadre","reasons.no_face":"Aucun visage n’a pu être détecté pendant la vérification","reasons.media_unreadable":"La capture envoyée n’a pas pu être lue","reasons.clip_too_short":"La capture était trop courte","reasons.spoof_detected":"Le contrôle de présence n'a pas pu confirmer la présence d'une personne réelle devant la caméra","reasons.review_band":"Le contrôle automatique n'a pas été concluant, il a donc été transmis à un examen humain","reasons.nni_not_found":"Le numéro national d'identification n'a pas été trouvé dans le registre d'état civil","reasons.nni_invalid":"Le numéro national d'identification n'est pas un NNI valide à 10 chiffres","reasons.registry_unavailable":"Le registre d'état civil n'a pas pu être joint pour confirmer votre numéro","reasons.no_face_source":"Aucun visage n'a pu être détecté sur la photo selfie","reasons.no_face_reference":"Aucune photo de référence n'était disponible pour comparer votre selfie. C'est au demandeur de le résoudre : reprendre votre selfie n'y changera rien","reasons.low_quality_reference":"La photo de référence enregistrée n'était pas assez nette pour la comparaison","reasons.below_threshold":"Le selfie ne correspondait pas suffisamment à la photo de la pièce d'identité","reasons.side_missing":"Un côté de la pièce d'identité n'a pas été envoyé","reasons.mrz_checksum_failed":"La zone de lecture automatique du document n'a pas pu être validée","reasons.unreadable":"La photo du document n'était pas assez nette pour être lue","reasons.expired_document":"La pièce d'identité a expiré","reasons.authenticity_review":"Le document a été transmis à un examen humain pour confirmer son authenticité","reasons.registry_mismatch":"Les informations du document ne correspondent pas au registre civil. Un examinateur va vérifier","reasons.document_nni_mismatch":"Ce document appartient à une autre personne que celle pour qui cette vérification a été créée","reasons.id_number_invalid":"Le numéro d'identité n'est pas valide","reasons.registry_record_not_found":"Aucun dossier n'a été trouvé dans le registre pour ce numéro d'identité","reasons.document_id_number_mismatch":"Ce document appartient à une autre personne que celle pour qui cette vérification a été créée","reasons.otp_mismatch":"Le code de vérification ne correspond pas à celui que nous avons envoyé","reasons.otp_expired":"Le code de vérification a expiré avant d'être saisi","reasons.otp_send_failed":"Nous n'avons pas pu envoyer de code de vérification à votre téléphone","reasons.uncalibrated_capture_channel":"Les captures webcam ne sont pas encore décidées automatiquement, votre vérification part donc en revue humaine","reasons.capture_back_camera":"Utilisez la caméra avant. Tenez le téléphone devant votre visage et réessayez","reasons.capture_not_upright":"Tenez votre téléphone à la verticale, pas à l'horizontale, et réessayez","reasons.capture_front_camera":"Utilisez la caméra arrière. Dirigez-la vers le visage de la personne et réessayez","reasons.multiple_faces":"Une autre personne est apparue dans la vidéo. Filmez à nouveau avec une seule personne dans le cadre","reasons.location_not_allowed":"La vérification n'est pas disponible dans votre région.","reasons.anonymizer_blocked":"Désactivez votre VPN ou proxy, puis rouvrez le lien.","reasons.nationality_not_allowed":"Ce service ne peut pas vérifier ce document. Contactez l'organisation pour d'autres options.","reasons.document_type_not_accepted":"Ce type de document n'est pas accepté. Choisissez un autre document.","reasons.underage":"Vous n'avez pas l'âge minimum requis pour ce service.","reasons.age_unverifiable":"Nous n'avons pas pu lire votre date de naissance. Prenez une photo plus nette de votre document.","reasons.nationality_unreadable":"Nous n'avons pas pu lire votre nationalité. Prenez une photo plus nette de votre document.","reasons.name_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.birth_date_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.nationality_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.document_number_mismatch":"Ces informations ne correspondent pas à celles dont dispose l'organisation. Contactez l'organisation.","reasons.liveness_inconclusive":"Réessayons : placez-vous face à une source de lumière et restez immobile.","reasons.match_inconclusive":"Nous n'avons pas pu confirmer qu'il s'agit bien de vous. Réessayez dans un endroit bien éclairé, sans lunettes.","hints.appearance":"Réessayons : placez-vous face à une source de lumière et restez immobile.","hints.motion":"Restez immobile et tenez le téléphone bien stable, puis réessayez.","hints.lighting":"Placez-vous face à une fenêtre ou une lampe pour que votre visage soit bien éclairé, puis réessayez.","hints.framing":"Rapprochez-vous pour que votre visage remplisse le cadre, puis réessayez.","reasons.subject_revoked":"L'identité enregistrée pour cette vérification n'est plus disponible. Le demandeur doit lancer une vérification complète : réessayer n'y changera rien","reasons.probe_not_from_liveness":"La même personne doit être devant la caméra du début à la fin. Enregistrez à nouveau la vidéo","reasons.document_authenticity":"Utilisez la carte originale, pas une photo ni une copie, et évitez les reflets.","reasons.mobile_required":"Continuez sur votre téléphone pour prendre le selfie.","reasons.capture_tampered":"Nous n'avons pas pu vérifier cette capture. Utilisez l'appareil photo intégré de votre téléphone, sans enregistrement d'écran ni application de caméra.","reasons.device_velocity_exceeded":"Cet appareil ne peut pas servir à une autre vérification pour le moment. Contactez l'organisation.","reasons.device_cooldown":"Trop de tentatives. Réessayez plus tard.","cooldown.retryIn":"Trop de tentatives. Réessayez {time}.","cooldown.retryAt":"Trop de tentatives. Réessayez à partir de {time}.","capture.busy":"Notre service est très sollicité. Nouvel essai en cours…","errors.inference_unavailable":"Réessayez dans un instant.","method.title":"Comment souhaitez-vous vérifier votre identité ?","method.description":"Choisissez une option pour continuer","returning.title":"Confirmez qu'il s'agit bien de vous","returning.description":"Vous avez déjà vérifié votre identité. Une courte capture du visage confirme qu'il s'agit toujours de vous.","method.national_number":"Saisir mon numéro national d'identification mauritanien (NNI)","method.document_photo":"Photographier mon document","errors.method_required":"Choisissez comment vérifier votre identité, puis continuez","errors.attestation_invalid":"Nous n'avons pas pu terminer le contrôle de sécurité. Vérifiez votre connexion et réessayez","errors.device_clock":"Réglez la date et l'heure de votre téléphone sur automatique, puis réessayez","errors.network_error":"Nous n'avons pas pu joindre le service de vérification. Vérifiez votre connexion internet et réessayez","errors.session_expired":"Cette session de vérification a expiré. Demandez un nouveau lien à l'organisme qui vous a envoyé ici","errors.nni_unbound":"Ce lien a été créé sans votre numéro national d'identification. Demandez un nouveau lien à l'organisme demandeur","errors.id_number_unbound":"Ce lien a été créé sans votre numéro d'identité. Demandez un nouveau lien à l'organisme demandeur","capture.tips.title":"Pour une vérification réussie :","capture.tips.light":"Placez-vous face à la lumière et évitez une forte lumière derrière vous","capture.tips.uncover":"Dégagez votre visage : ni lunettes, ni masque, ni main devant","capture.tips.eyeLevel":"Tenez votre téléphone à hauteur des yeux","capture.tips.straight":"Regardez droit vers la caméra et restez immobile","capture.tips.summary":"Placez-vous dans une zone bien éclairée. Dégagez votre visage : ni lunettes, ni masque. Une fois la caméra démarrée, tenez votre téléphone à hauteur des yeux, regardez droit vers la caméra et restez immobile.","capture.tips.listen":"Écouter les instructions","capture.tips.stop":"Arrêter","capture.permission.granted":"Accès à la caméra autorisé","capture.permission.prompt":"Votre navigateur va demander l’accès à la caméra. Choisissez « Autoriser »","capture.permission.denied":"L’accès à la caméra est bloqué. Autorisez-le dans les réglages du navigateur (icône caméra dans la barre d’adresse), puis rechargez la page","capture.permission.unknown":"Nous demanderons l’accès à la caméra au démarrage","capture.cameraLabel":"Caméra","capture.facing.user":"Caméra avant","capture.facing.environment":"Caméra arrière","capture.assisted.title":"Filmez le visage de la personne","capture.assisted.lead":"Pointez la caméra arrière vers le visage de la personne et tenez le téléphone à la verticale. Le guidage vocal s'adresse à la personne filmée.","capture.assisted.stage":"Pointez la caméra vers le visage de la personne","capture.modeSwitch.toAssisted":"Quelqu'un m'aide","capture.modeSwitch.toSelf":"Je me filme","capture.modeSwitch.toAssistedLabel":"Passer à la capture assistée : une autre personne tient le téléphone et vous filme","capture.modeSwitch.toSelfLabel":"Passer à la capture seule : vous vous filmez avec la caméra avant","capture.modeSwitch.restarted":"Caméra changée. Recommencez quand vous le souhaitez","capture.lookAtColours":"Regardez les couleurs","capture.voiceGuidance":"Guidage vocal","capture.preparing.hint":"Mise en place de la détection du visage sur l’appareil. Cela peut prendre un instant sur une connexion lente","capture.ready":"Prêt. Commencez quand vous voulez","fcv2.err.models":"Impossible de charger les modèles de détection du visage. Vérifiez votre connexion puis réessayez","fcv2.err.backcamera":"La caméra arrière n'a pas pu s'ouvrir, et la capture assistée en a besoin. Réessayez ou continuez sur un autre téléphone"};var u={},l=r(e=>e==="es"||e==="pt"||e==="de","isOverlayLocale");function q(e){return l(e)?"en":e}r(q,"baseLocale");function N(e){return l(e)?u[e]:void 0}r(N,"overlayOf");function _(e){return l(e)&&u[e]===void 0}r(_,"overlayPending");function O(e){return _(e)?(e==="es"?import("./overlay-es-F54CKFZO.js"):e==="pt"?import("./overlay-pt-NHIQY3JB.js"):import("./overlay-de-LOQWEHOH.js")).then(n=>{u[e]=n.overlay},()=>{u[e]={}}):Promise.resolve()}r(O,"loadSekyroLocale");var d=Object.freeze({"reasons.id_number_invalid":"reasons.nni_invalid","reasons.registry_record_not_found":"reasons.nni_not_found","reasons.document_id_number_mismatch":"reasons.document_nni_mismatch","errors.id_number_unbound":"errors.nni_unbound","population.reason_id_number_invalid":"population.reason_nni_invalid","population.reason_registry_record_not_found":"population.reason_nni_not_found","population.reason_registry_record_not_found_or_document":"population.reason_nni_not_found_or_document","summary.id_number":"summary.nni"}),y=new Map(Object.entries(d).filter(([e])=>e.startsWith("reasons.")).map(([e,t])=>[t.slice(8),e.slice(8)]));function m(e){return y.get(e)??e}r(m,"genericReason");function D(e,t){let n=e,a=t;for(let[o,s]of Object.entries(d)){let c=a[o],i=a[s];typeof c!="string"&&typeof i=="string"?n[o]=i:typeof i!="string"&&typeof c=="string"&&(n[s]=c)}}r(D,"aliasRenamedKeys");function E(e){switch(e){case"center":return"fcv3.center_face";case"closer":return"fcv3.come_closer";case"farther":return"fcv3.move_back";case"light":return"fcv3.more_light";case"still":case"hold":return"fcv3.hold_still";case"upright":return"fcv3.hold_upright";case"one_face":return"fcv3.one_face";default:{let t=e;throw new Error(`hintStringKey: unhandled hint ${t}`)}}}r(E,"hintStringKey");function B(e){let t=`hints.${e}`;return Object.hasOwn(p,t)?t:null}r(B,"retakeHintStringKey");function b(e){return`fcv2.err.${e}`}r(b,"captureErrorStringKey");function M(e){return e.detail?.engineKind==="backcamera"?"fcv2.err.backcamera":b(e.kind)}r(M,"captureErrorCopyKey");function j(e){switch(e){case"no_recorder":return"fcv2.err.unsupported";case"attestation":return"errors.attestation_invalid";case"network":return"errors.network_error";case"nni_unbound":case"id_number_unbound":return"errors.id_number_unbound";case"method_required":return"errors.method_required";case"inference_unavailable":return"errors.inference_unavailable";default:{let t=`reasons.${m(e)}`;return Object.hasOwn(p,t)?t:null}}}r(j,"reasonStringKey");function V(e,t,n=new Date){if(t===void 0)return null;let a=new Date(t),o=a.getTime()-n.getTime();if(!Number.isFinite(o)||o<=0)return null;if(o<36e5){let i=Math.max(1,Math.ceil(o/6e4));return{key:"cooldown.retryIn",time:new Intl.RelativeTimeFormat(e,{numeric:"always"}).format(i,"minute")}}let s=a.toDateString()===n.toDateString();return{key:"cooldown.retryAt",time:new Intl.DateTimeFormat(e,{...s?{}:{day:"numeric",month:"long"},hour:"2-digit",minute:"2-digit"}).format(a)}}r(V,"retryAfterTime");function G(e,t,n){let a=new Intl.PluralRules(t).select(n);return((a==="other"?void 0:e[`capture.attemptsRemaining.${a}`])??e["capture.attemptsRemaining.other"]).replace("{count}",new Intl.NumberFormat(t).format(n))}r(G,"attemptsRemainingText");import{useCallback as w}from"react";function X(){return w(e=>{e?.focus()},[])}r(X,"useFocusOnMount");import{jsx as k}from"react/jsx-runtime";function re({tone:e,role:t,children:n,testId:a}){return k("div",{role:t??(e==="info"?"status":"alert"),className:`sekyro-notice sekyro-notice--${e}`,"data-testid":a,children:n})}r(re,"Notice");export{C as a,p as b,m as c,D as d,f as e,v as f,q as g,N as h,_ as i,O as j,E as k,B as l,b as m,M as n,j as o,V as p,G as q,re as r,X as s};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as r}from"./chunk-2KED7D2Q.js";var ie="AC247 AD376 AE971/0 AF93/0 AG1/1 AI1/1 AL355/0 AM374/0 AO244 AR54/0 AS1/1 AT43/0 AU61/0 AW297 AX358/0 AZ994/0 BA387/0 BB1/1 BD880/0 BE32/0 BF226 BG359/0 BH973 BI257 BJ229 BL590/0 BM1/1 BN673 BO591/0 BQ599 BR55/0 BS1/1 BT975 BW267 BY375/8 BZ501 CA1/1 CC61/0 CD243/0 CF236 CG242 CH41/0 CI225 CK682 CL56 CM237 CN86/0 CO57/0 CR506 CU53/0 CV238 CW599 CX61/0 CY357 CZ420 DE49/0 DJ253 DK45 DM1/1 DO1/1 DZ213/0 EC593/0 EE372 EG20/0 EH212/0 ER291/0 ES34 ET251/0 FI358/0 FJ679 FK500 FM691 FO298 FR33/0 GA241 GB44/0 GD1/1 GE995/0 GF594/0 GG44/0 GH233/0 GI350 GL299 GM220 GN224 GP590/0 GQ240 GR30 GT502 GU1/1 GW245 GY592 HK852 HN504 HR385/0 HT509 HU36/06 ID62/0 IE353/0 IL972/0 IM44/0 IN91/0 IO246 IQ964/0 IR98/0 IS354 IT39 JE44/0 JM1/1 JO962/0 JP81/0 KE254/0 KG996/0 KH855/0 KI686/0 KM269 KN1/1 KP850/0 KR82/0 KW965 KY1/1 KZ7/8 LA856/0 LB961/0 LC1/1 LI423/0 LK94/0 LR231/0 LS266 LT370/0 LU352 LV371 LY218/0 MA212/0 MC377/0 MD373/0 ME382/0 MF590/0 MG261/0 MH692/1 MK389/0 ML223 MM95/0 MN976/0 MO853 MP1/1 MQ596/0 MR222 MS1/1 MT356 MU230 MV960 MW265/0 MX52 MY60/0 MZ258 NA264/0 NC687 NE227 NF672 NG234/0 NI505 NL31/0 NO47 NP977/0 NR674 NU683 NZ64/0 OM968 PA507 PE51/0 PF689 PG675 PH63/0 PK92/0 PL48 PM508/0 PR1/1 PS970/0 PT351 PW680 PY595/0 QA974 RE262/0 RO40/0 RS381/0 RU7/8 RW250/0 SA966/0 SB677 SC248 SD249/0 SE46/0 SG65 SH290 SI386/0 SJ47 SK421/0 SL232/0 SM378 SN221 SO252/0 SR597 SS211/0 ST239 SV503 SX1/1 SY963/0 SZ268 TA290 TC1/1 TD235 TG228 TH66/0 TJ992 TK690 TL670 TM993/8 TN216 TO676 TR90/0 TT1/1 TV688 TW886/0 TZ255/0 UA380/0 UG256/0 US1/1 UY598/0 UZ998 VA39 VC1/1 VE58/0 VG1/1 VI1/1 VN84/0 VU678 WF681 WS685 XK383/0 YE967/0 YT262/0 ZA27/0 ZM260/0 ZW263/0",X;function z(e){return X??(X=new Map(ie.split(" ").map(n=>{let[o,t]=n.slice(2).split("/");return[n.slice(0,2),[o,t]]}))),X.get(e.toUpperCase())}r(z,"entryOf");function Ne(e){return z(e)?.[0]}r(Ne,"dialCodeOf");function ee(e){return z(e)?.[1]}r(ee,"nationalPrefixOf");import{useEffect as he,useId as fe,useMemo as ge,useRef as W,useState as K}from"react";import{useId as ae,useState as ue}from"react";import{Fragment as de,jsx as M,jsxs as B}from"react/jsx-runtime";var ne=r(e=>e.normalize("NFD").replace(/\p{Diacritic}/gu,"").toLocaleLowerCase(),"fold");function ce(e,n){let o=ne(n.trim());return o===""?e:e.filter(t=>ne(t.name).includes(o)||t.code.toLowerCase()===o)}r(ce,"matchCountries");function te({countries:e,label:n,searchPlaceholder:o,noMatch:t,onPick:P,selected:S,searchRef:d,scroll:R=!1,searchable:T=!0,detail:O,extra:p}){let[m,N]=ue(""),i=ae(),k=ce(e,m),f=B("ul",{className:`sekyro-rows${R?" sekyro-rows--scroll":""}`,children:[k.map(a=>{let C=O?.(a.code);return M("li",{children:B("button",{type:"button",className:"sekyro-row-btn","aria-current":S===a.code||void 0,onClick:()=>P(a.code),children:[M("span",{className:"sekyro-row-btn__flag","aria-hidden":"true",children:J(a.code)}),M("span",{className:"sekyro-row-btn__name",children:a.name}),C!==void 0?M("bdi",{className:"sekyro-row-btn__detail",dir:"ltr",children:C}):null]})},a.code)}),p!==void 0?M("li",{children:B("button",{type:"button",className:"sekyro-row-btn","aria-current":p.current||void 0,onClick:p.onPick,children:[M("span",{className:"sekyro-row-btn__flag","aria-hidden":"true",children:"🌐"}),M("span",{className:"sekyro-row-btn__name",children:p.label})]})}):null]});return T?B(de,{children:[B("div",{className:"sekyro-field",children:[M("label",{className:"sekyro-label",htmlFor:i,children:n}),M("input",{ref:d,id:i,type:"search",className:"sekyro-input",placeholder:o,value:m,onChange:a=>N(a.target.value)})]}),k.length===0&&p===void 0?M("p",{className:"sekyro-text-muted",children:t}):f]}):f}r(te,"CountryList");import{normalizeNni as pe}from"@sekyro/web";function H(e){let n=pe(e).replace(/\D/g,"");return/^\D*\+/.test(e)?`+${n}`:n.startsWith("00")?`+${n.slice(2)}`:n}r(H,"digitsOf");var q=r((e,n)=>(n.trunk!==void 0&&e.startsWith(n.trunk)?e.slice(n.trunk.length):e).slice(0,Math.max(...n.lengths)),"fitDigits");function Z(e,n){let o="",t=0;for(let P of n?.formats?.find(S=>new RegExp(`^(?:${S.leading})`).test(e))?.groups??[])t<e.length&&(o+=(t>0?" ":"")+e.slice(t,t+P)),t+=P;return o+e.slice(t)}r(Z,"groupDigits");function oe(e,n){let o=0;for(let t=n;t>0&&o<e.length;o+=1)e[o]!==" "&&(t-=1);return o}r(oe,"caretAfter");var Q=r((e,n)=>n.find(o=>e.startsWith(o.dial)),"countryOfNumber"),re=r((e,n)=>e.lengths.join(", ").replace(/, (\d+)$/,` ${n} $1`),"lengthsLabel");import{Fragment as Pe,jsx as L,jsxs as j}from"react/jsx-runtime";function le(e){let n=H(e).replace("+","");return/^\d{8,15}$/.test(n)?`+${n}`:null}r(le,"normalizedPhone");var J=r(e=>String.fromCodePoint(...Array.from(e.toUpperCase(),n=>127397+n.charCodeAt(0))),"flagOf");function ye(e,n){if(n===null||!e.startsWith(n.dial))return le(e);let o=e.slice(n.dial.length).replace(/\D/g,""),t=ee(n.code);return t!==void 0&&o.startsWith(t)&&(o=o.slice(t.length)),le(n.dial+o)}r(ye,"e164Of");var se=r((e,n)=>(Q(e,n)??n[0])?.code??null,"countryFor");function me(e){let n=null;try{n=new Intl.DisplayNames([e],{type:"region"})}catch{}return o=>`${n?.of(o.code)??o.code} (${o.dial})`}r(me,"countryLabels");var Ce="other",be=8;function _e({countries:e,international:n,closed:o,defaultPhone:t}){let[P,S]=K(()=>se(t,e)),[d,R]=K(t),[T,O]=K(!1),[p,m]=K(!1),N=e.map(u=>u.code).join(","),i=e.find(u=>u.code===P)??null,k=W(i);i!==null&&(k.current=i),he(()=>{if(P===null||!e.some(u=>u.code===P)){let u=se(t,e);S(u);let l=k.current,b=e.find(h=>h.code===u)?.dial;b!==void 0&&R(h=>l!==null&&h.startsWith(l.dial)?b+h.slice(l.dial.length):h.startsWith("+")?h:b)}},[N,t]);let f=T||i===null,a=f||d.startsWith("+")&&!d.startsWith(i.dial),C=a?void 0:i.rule,$=a?d:d.replace(i.dial,"").replace(/\D/g,""),c=C?q($,C):$,_=a&&!f&&!n&&o&&!e.some(u=>u.dial.startsWith(d)),A=_?null:C?C.lengths.includes(c.length)?i.dial+c:null:f&&!d.startsWith("+")?null:ye(d,T?null:i),U=a||i===null?A??d:`${i.dial} ${Z(c,C)}`,x=a?H(d).replace("+","")==="":c==="";return{countries:e,international:n,phone:d,selected:i,other:T,whole:a,free:f,rule:C,national:c,refused:_,typed:A,shown:U,empty:x,lengthShown:p,setLengthShown:m,onNumber:r(u=>{let l=u.target,b=u.nativeEvent.inputType,h=Math.max(0,l.value.lastIndexOf("+")),E=H(l.value.slice(h)),w=Q(E,e),I=H(l.value.slice(h,l.selectionStart)).length,G=E,V=E;if(m(!1),!w&&(f||E.startsWith("+")))n&&O(!0);else{let D=w??i,g=w?E.slice(w.dial.length):E;if(S(D.code),O(!1),g===c&&b?.startsWith("delete")&&(b.endsWith("Forward")||(I-=1),g=g.slice(0,I)+g.slice(I+1)),D.rule){let s=q(g,D.rule),y=g.length-s.length;I-=y,g=y>0&&!w&&c.length===s.length?c:s}V=D.dial+g,G=Z(g,D.rule)}R(V),l.value=G;let v=oe(G,I);l.setSelectionRange(v,v)},"onNumber"),onCountry:r(u=>{m(!1);let l=e.find(b=>b.code===u);O(l===void 0),l!==void 0&&S(l.code),R(l===void 0?"":l.dial+(a?"":c))},"onCountry")}}r(_e,"usePhoneField");function xe({field:e,id:n,locale:o,t,inputRef:P,invalid:S=!1,describedby:d,required:R,compact:T=!1,ready:O}){let{selected:p,whole:m,other:N,free:i,national:k,rule:f,phone:a,refused:C,typed:$,countries:c,international:_}=e,[A,U]=K(!1),x=W(null),F=W(null),Y=W(null),u=W(null),l=P??u,b=fe(),h=C?t("otp.reason_otp_destination_not_allowed"):e.lengthShown&&f?t("otp.phoneLengthError",{digits:re(f,t("otp.or"))}):"",E=c.length>1||_,w=me(o),I=ge(()=>{let s=null;try{s=new Intl.DisplayNames([o],{type:"region"})}catch{}return c.map(y=>({code:y.code,name:s?.of(y.code)??y.code}))},[c,o]),G=c.length>be,V=[m?"":`${n}-dial ${n}-hint`,h?`${n}-error`:"",d??""].join(" ").trim()||void 0,v=r(s=>{U(!1),requestAnimationFrame(()=>(s==="lead"?x.current:l.current)?.focus())},"close"),D=r(()=>{if(A)return v("lead");U(!0),requestAnimationFrame(()=>(Y.current??F.current?.querySelector('[aria-current="true"]')??F.current?.querySelector("button"))?.focus())},"toggle"),g=r(()=>j("span",{className:"sekyro-phone__dial",id:`${n}-dial`,"aria-hidden":E||void 0,children:[L("span",{className:"sekyro-phone__flag","aria-hidden":"true",children:N?"🌐":J(p.code)}),N?null:p.dial]}),"dial");return j(Pe,{children:[j("div",{className:`sekyro-phone${T?" sekyro-phone--compact":""}`,dir:"ltr",children:[p===null||m&&!N?null:E?L("button",{ref:x,type:"button",className:"sekyro-phone__lead sekyro-phone__pick","aria-label":`${t("otp.countryLabel")}: ${N?t("otp.otherCountry"):w(p)}`,"aria-expanded":A,"aria-controls":A?b:void 0,onClick:D,children:g()}):L("div",{className:"sekyro-phone__lead",children:g()}),L("input",{ref:l,id:n,className:"sekyro-phone__input",type:"tel",dir:"ltr",inputMode:"tel",autoComplete:"tel",required:R,"aria-describedby":V,"aria-invalid":!!h||S||void 0,placeholder:i?"+":void 0,value:m?a:Z(k,f),onChange:e.onNumber,onKeyDown:s=>{s.key==="Enter"&&O===!1&&e.setLengthShown(!0)},onBlur:s=>{let y=s.relatedTarget;y!==null&&(x.current?.contains(y)||F.current?.contains(y))||e.setLengthShown(k!==""&&$===null)}})]}),A?L("div",{ref:F,id:b,className:"sekyro-phone__list",onKeyDown:s=>{s.key==="Escape"&&(s.preventDefault(),v("lead"))},children:L(te,{countries:I,label:L("span",{className:"sekyro-visually-hidden",children:t("otp.countrySearch")}),searchPlaceholder:t("otp.countrySearch"),noMatch:t("doc.noCountryMatch"),searchable:G,scroll:!0,...G?{searchRef:Y}:{},...!N&&p!==null?{selected:p.code}:{},detail:s=>c.find(y=>y.code===s)?.dial,onPick:s=>{e.onCountry(s),v("number")},..._?{extra:{label:t("otp.otherCountry"),current:N,onPick:r(()=>{e.onCountry(Ce),v("number")},"onPick")}}:{}})}):null,m?null:L("span",{className:"sekyro-help",id:`${n}-hint`,children:t("otp.phonePlaceholderGeneric")}),h?L("span",{className:"sekyro-help is-danger",id:`${n}-error`,role:"alert",children:h}):null]})}r(xe,"PhoneField");export{Ne as a,te as b,J as c,_e as d,xe as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as Be}from"./chunk-RGI6OVB2.js";import{d as Ve}from"./chunk-QD66CL7R.js";import"./chunk-VNVE5DMF.js";import{a as $e,b as Ue,c as Ee}from"./chunk-7MMT5M4E.js";import{d as Pe}from"./chunk-PMNUDJWG.js";import{a as Y,b as pe,d as me,j as Ie,k as Oe,l as Ae,n as Ke,p as he,q as fe}from"./chunk-Q5BGUJMS.js";import"./chunk-DYWLZHSM.js";import{a as O,m as He,o as Re}from"./chunk-WC4U54LZ.js";import{a as d}from"./chunk-2KED7D2Q.js";import{useContext as qe,useEffect as G,useLayoutEffect as mt,useRef as F,useState as k}from"react";var Ye={image:'<path d="M2 12C2 7.29 2 4.93 3.46 3.46C4.93 2 7.29 2 12 2C16.71 2 19.07 2 20.54 3.46C22 4.93 22 7.29 22 12C22 16.71 22 19.07 20.54 20.54C19.07 22 16.71 22 12 22C7.29 22 4.93 22 3.46 20.54C2 19.07 2 16.71 2 12Z" stroke="currentColor"/><path d="M14 8A2 2 0 1 0 18 8A2 2 0 1 0 14 8Z" stroke="currentColor"/><path d="M2 12.5L3.75 10.97C4.66 10.17 6.04 10.22 6.89 11.07L11.18 15.36C11.87 16.05 12.95 16.14 13.75 15.58L14.04 15.37C15.19 14.57 16.74 14.66 17.78 15.6L21 18.5" stroke="currentColor" stroke-linecap="round"/>',flashlight:'<path d="M9 11.66V19C9 19.93 9 20.4 9.15 20.77C9.36 21.26 9.74 21.64 10.23 21.85C10.6 22 11.07 22 12 22C12.93 22 13.4 22 13.77 21.85C14.26 21.64 14.64 21.26 14.85 20.77C15 20.4 15 19.93 15 19V11.66C15 10.84 15 10.43 15.15 10.06C15.3 9.7 15.59 9.41 16.17 8.83L16.17 8.83L19.41 5.59C19.7 5.3 19.85 5.15 19.92 4.97C20 4.78 20 4.58 20 4.17V4C20 3.06 20 2.59 19.71 2.29C19.41 2 18.94 2 18 2H6C5.06 2 4.59 2 4.29 2.29C4 2.59 4 3.06 4 4V4.17C4 4.58 4 4.78 4.08 4.97C4.15 5.15 4.3 5.3 4.59 5.59L7.83 8.83C8.41 9.41 8.7 9.7 8.85 10.06C9 10.43 9 10.84 9 11.66Z" stroke="currentColor" stroke-linecap="round"/><path d="M15 10H9" stroke="currentColor" stroke-linecap="round"/><path d="M12 13V15" stroke="currentColor" stroke-linecap="round"/><path d="M4.5 5H19.5" stroke="currentColor" stroke-linecap="round"/>'};var Ge={"dcv3.mrz.searching":"ضع صفحة جواز السفر كاملة داخل الإطار","dcv3.mrz.showMrzSide":"اعرض الوجه الذي يحتوي على سطرين أو ثلاثة أسطر من الحروف","dcv3.mrz.reading":"جارٍ قراءة الوثيقة… ثبّتها","dcv3.mrz.moveCloser":"اقترب حتى تملأ أسطر الحروف الإطار","dcv3.mrz.turnSideways":"أدر هاتفك أفقيًا لقراءة أسطر الحروف","dcv3.mrz.glare":"أمِل الوثيقة لإزالة الانعكاس","dcv3.mrz.holdStill":"لا تتحرك","dcv3.mrz.valid":"تمت قراءة الوثيقة. جارٍ التقاط الصورة","dcv3.mrz.looksLikePassport":"يبدو أن هذا جواز سفر","dcv3.mrz.looksLikeCard":"يبدو أن هذه بطاقة تعريف أو بطاقة إقامة"};var Q={"dcv3.mrz.searching":"Fit the whole passport page in the frame","dcv3.mrz.showMrzSide":"Show the side with the two or three lines of characters","dcv3.mrz.reading":"Reading the document… hold it steady","dcv3.mrz.moveCloser":"Move closer so the lines of characters fill the frame","dcv3.mrz.turnSideways":"Turn your phone sideways to read the lines of characters","dcv3.mrz.glare":"Tilt the document to remove the reflection","dcv3.mrz.holdStill":"Hold still","dcv3.mrz.valid":"Document read. Taking the photo","dcv3.mrz.looksLikePassport":"This looks like a passport","dcv3.mrz.looksLikeCard":"This looks like an identity card or residence permit"};var Fe={"dcv3.mrz.searching":"Cadrez toute la page du passeport","dcv3.mrz.showMrzSide":"Montrez la face avec les deux ou trois lignes de caractères","dcv3.mrz.reading":"Lecture du document… tenez-le immobile","dcv3.mrz.moveCloser":"Rapprochez-vous pour que les lignes de caractères remplissent le cadre","dcv3.mrz.turnSideways":"Tournez votre téléphone à l’horizontale pour lire les lignes de caractères","dcv3.mrz.glare":"Inclinez le document pour supprimer le reflet","dcv3.mrz.holdStill":"Ne bougez plus","dcv3.mrz.valid":"Document lu. Prise de la photo","dcv3.mrz.looksLikePassport":"Ceci ressemble à un passeport","dcv3.mrz.looksLikeCard":"Ceci ressemble à une carte d’identité ou un titre de séjour"};var We={"doc.uploadInstead":"رفع صورة بدلًا من ذلك","doc.uploadTitle":"ارفع صورة لوثيقتك","doc.uploadHint":"صورة واضحة للوثيقة كاملة، ملتقطة بكاميرا.","doc.uploadUnsupported":"اختر صورة للوثيقة بصيغة JPEG أو PNG أو HEIC.","doc.uploadFailed":"تعذّر إرسال هذه الصورة. أعد المحاولة.","doc.source.title":"كيف تريد إضافة وثيقتك؟","doc.source.description":"التقط صورة بالكاميرا، أو ارفع صورة للوثيقة من هذا الجهاز.","doc.source.camera":"التقاط صورة","doc.source.upload":"رفع صورة"};var Z={"doc.uploadInstead":"Upload a photo instead","doc.uploadTitle":"Upload a photo of your document","doc.uploadHint":"A clear photo of the whole document, taken with a camera.","doc.uploadUnsupported":"Choose a JPEG, PNG or HEIC photo of the document.","doc.uploadFailed":"We could not send this photo. Try again.","doc.source.title":"How do you want to add your document?","doc.source.description":"Take a photo with the camera, or upload a photo of the document from this device.","doc.source.camera":"Take a photo","doc.source.upload":"Upload a photo"};var Xe={"doc.uploadInstead":"Téléverser une photo à la place","doc.uploadTitle":"Téléversez une photo de votre document","doc.uploadHint":"Une photo nette du document entier, prise avec un appareil photo.","doc.uploadUnsupported":"Choisissez une photo JPEG, PNG ou HEIC du document.","doc.uploadFailed":"Nous n'avons pas pu envoyer cette photo. Réessayez.","doc.source.title":"Comment voulez-vous ajouter votre document ?","doc.source.description":"Prenez une photo avec la caméra, ou importez une photo du document depuis cet appareil.","doc.source.camera":"Prendre une photo","doc.source.upload":"Importer une photo"};var je={"native.doc.introTitle":"سنلتقط صورة لوثيقتك","native.doc.introLead":"ستُفتح كاميرا هاتفك، وتُلتقط الصورة تلقائيًا بمجرد أن تكون الوثيقة داخل الإطار.","native.doc.tip.flat":"ضع الوثيقة مسطحة على سطح داكن.","native.doc.tip.glare":"تجنّب انعكاسات المصابيح أو الشمس.","native.doc.tip.frame":"أبقِ الوثيقة كاملة داخل الإطار.","native.doc.openCamera":"افتح الكاميرا","native.doc.changeDocument":"تغيير الوثيقة","native.scan.closer":"اقترب قليلًا","native.scan.farther":"ابتعد قليلًا","native.scan.glare":"أمِل البطاقة قليلًا","native.scan.dark":"الإضاءة ضعيفة. شغّل المصباح.","native.scan.blurry":"الصورة غير واضحة. ثبّت الهاتف.","native.scan.holdStill":"لا تتحرك","native.scan.reading":"جارٍ التحقق من وثيقتك…","native.scan.putDown":"يمكنك وضع وثيقتك جانبًا.","native.scan.retry":"لنحاول مرة أخرى"};var q={"native.doc.introTitle":"Photograph your document","native.doc.introLead":"Your phone's camera will open. The photo is taken by itself as soon as the document is well framed.","native.doc.tip.flat":"Lay the document flat on a dark surface.","native.doc.tip.glare":"Avoid glare from lamps or sunlight.","native.doc.tip.frame":"Keep the whole document in the frame.","native.doc.openCamera":"Open the camera","native.doc.changeDocument":"Change document","native.scan.closer":"Move a little closer","native.scan.farther":"Move back a little","native.scan.glare":"Tilt the card a little","native.scan.dark":"Too dark. Turn on the light.","native.scan.blurry":"Blurry image. Hold the phone still.","native.scan.holdStill":"Hold still","native.scan.reading":"Checking your document…","native.scan.putDown":"You can put your document down.","native.scan.retry":"Let's try that again"};var Qe={"native.doc.introTitle":"Photographiez votre pièce","native.doc.introLead":"La caméra de votre téléphone va s'ouvrir. La photo est prise automatiquement dès que la pièce est bien cadrée.","native.doc.tip.flat":"Posez la pièce à plat, sur une surface sombre.","native.doc.tip.glare":"Évitez les reflets de lampe ou de soleil.","native.doc.tip.frame":"Gardez toute la pièce dans le cadre.","native.doc.openCamera":"Ouvrir la caméra","native.doc.changeDocument":"Changer de document","native.scan.closer":"Approchez un peu","native.scan.farther":"Reculez un peu","native.scan.glare":"Inclinez un peu la carte","native.scan.dark":"Trop sombre. Allumez la lampe.","native.scan.blurry":"Image floue. Tenez le téléphone immobile.","native.scan.holdStill":"Ne bougez plus","native.scan.reading":"Vérification de votre document…","native.scan.putDown":"Vous pouvez poser votre pièce.","native.scan.retry":"Réessayons"};var pt=["locking","capturing"],ge=class ge{constructor(){this.shown={hint:null,locking:!1,card:null,manualShutter:!1};this.candidate=null;this.candidateSince=0;this.hintShownAt=0;this.lockLostAt=null;this.detectedSince=null;this.lostSince=null;this.shutterSince=null}present(e,o){return this.presentHint(e,o),this.presentLock(e,o),this.presentCard(e,o),this.shutterSince=e.manualShutter?this.shutterSince??o:null,this.shown={...this.shown,manualShutter:this.shutterSince!==null&&o-this.shutterSince>=1e3},this.shown}presentHint(e,o){let a=e.phase==="framing"&&!(e.hint==="blurry"&&e.card===null)?e.hint:null;if(e.phase!=="framing"){this.shown={...this.shown,hint:null},this.candidate=null;return}if(a!==this.candidate&&(this.candidate=a,this.candidateSince=o),a===this.shown.hint)return;let r=o-this.candidateSince>=(a===null?0:350),h=this.shown.hint===null||o-this.hintShownAt>=1200;r&&h&&(this.shown={...this.shown,hint:a},this.hintShownAt=o)}presentLock(e,o){if(pt.includes(e.phase)){this.shown={...this.shown,locking:!0},this.lockLostAt=null;return}if(this.shown.locking){if(e.phase!=="framing"){this.shown={...this.shown,locking:!1},this.lockLostAt=null;return}this.lockLostAt??(this.lockLostAt=o),o-this.lockLostAt>=300&&(this.shown={...this.shown,locking:!1},this.lockLostAt=null)}}presentCard(e,o){let a=e.card;if(a===null||e.phase!=="framing"){if(e.phase!=="framing"){this.shown={...this.shown,card:null},this.detectedSince=null,this.lostSince=null;return}this.detectedSince=null,this.lostSince??(this.lostSince=o),o-this.lostSince>=300&&(this.shown={...this.shown,card:null});return}if(this.lostSince=null,this.detectedSince??(this.detectedSince=o),o-this.detectedSince<250)return;let r=this.shown.card;if(r===null){this.shown={...this.shown,card:{...a}};return}let h=.35;this.shown={...this.shown,card:{fill:r.fill+(a.fill-r.fill)*h,offsetX:r.offsetX+(a.offsetX-r.offsetX)*h,offsetY:r.offsetY+(a.offsetY-r.offsetY)*h}}}};d(ge,"ScanPresenter");var ae=ge;import{Fragment as Se,jsx as n,jsxs as i}from"react/jsx-runtime";var ht={en:q,fr:Qe,ar:je,es:q,pt:q,de:q},ft=450,ve=d(t=>e=>Pe(t.strings[e]??ht[t.locale][e]??""),"useScanCopy");function re({name:t}){return n("svg",{className:"sekyro-glyph",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",dangerouslySetInnerHTML:{__html:Ye[t]}})}d(re,"ScanGlyph");var gt={en:Q,fr:Fe,ar:Ge,es:Q,pt:Q,de:Q},St={en:Z,fr:Xe,ar:We,es:Z,pt:Z,de:Z},vt="image/jpeg,image/png,image/heic,image/heif";function W(t){let e=t.strings,o=d(a=>e[a]??St[t.locale][a],"text");return{t:d(a=>o(a)??"","t")}}d(W,"uploadCopy");function yt(t,e){return t===null||t.state==="fallback"||t.state==="mismatch"?null:t.state==="searching"?e?"dcv3.mrz.searching":"dcv3.mrz.showMrzSide":t.state==="valid"?"dcv3.mrz.valid":t.coach!==void 0?`dcv3.mrz.${t.coach}`:"dcv3.mrz.reading"}d(yt,"mrzInstruction");var kt={document_type_mismatch:"doc.reason_document_type_mismatch",document_number_invalid:"doc.reason_document_number_invalid",provider_unavailable:"doc.reason_provider_unavailable",document_type_not_supported:"doc.reason_document_type_not_supported",document_sides_mismatch:"doc.reason_document_sides_mismatch"};function ye(t){if(t.reason==="unreadable")return"doc.reason_unreadable";let e=t.reason!==void 0?kt[t.reason]:void 0;return e!==void 0?e:t.reason==="tester_document_mismatch"?"reasons.tester_document_mismatch":t.reason!==void 0&&t.reason!=="side_missing"?Re(t.reason):null}d(ye,"reasonOf");var bt=new Set(["document_type_not_accepted","tester_document_mismatch","document_type_mismatch","provider_unavailable","document_type_not_supported","document_sides_mismatch"]);function un({step:t,i18n:e,liveMrz:o,barcodeAssetBaseUrl:a,ageLead:r,...h}){let[b,v]=k(!1),g=F(-1),[f,S]=k("idle"),L=F(null),w=typeof t.uploadDocument=="function",N=w?t.photo?.source??"camera":"camera",A=w&&N!=="camera"&&t.photo?.uploadOffered===!0,[y,K]=k(null),M=N==="upload"?"upload":N==="choice"?y??t.photo?.pick??"source":"camera",H=f==="sending"?void 0:()=>L.current?.click(),m=d(async R=>{let ee=R.currentTarget.files?.[0];if(R.currentTarget.value="",ee!==void 0){v(!1),S("sending");try{await t.uploadDocument(ee),S("idle")}catch(j){S(j instanceof TypeError&&j.message==="unsupported_file"?"unsupported":"failed")}}},"onFile"),J=A?n("input",{ref:L,type:"file",accept:vt,hidden:!0,"data-testid":"sekyro-doc-upload","aria-label":W(e).t("doc.uploadTitle"),onChange:R=>{m(R)}}):null,C=W(e),X=t.photo?.cameraOnPhone===!0;return M==="camera"&&X?n(Ve,{i18n:e,lead:e.t("handoff.lead.document"),refresh:t.refresh,actions:n(O,{kind:"ghost",full:!0,onClick:()=>K("upload"),children:C.t("doc.source.upload")})}):M==="source"?n(Be,{testId:"sekyro-doc-source",title:C.t("doc.source.title"),lead:C.t("doc.source.description"),cameraLabel:X?e.t("capture.source.phone"):C.t("doc.source.camera"),onPhone:X,uploadLabel:C.t("doc.source.upload"),notice:n(ke,{step:t,i18n:e}),onCamera:()=>K("camera"),onUpload:()=>K("upload")}):M==="upload"?i(Se,{children:[n(_t,{step:t,i18n:e,ageLead:r===!0,upload:f,offered:A,onPick:()=>L.current?.click(),...N==="choice"?{onCamera:d(()=>K("camera"),"onCamera")}:{},...h}),J]}):i(Se,{children:[b?n(Lt,{step:t,i18n:e,attempts:g,...o!==void 0?{liveMrz:o}:{},...a!==void 0?{barcodeAssetBaseUrl:a}:{},...A&&H!==void 0?{onUpload:H}:{},onClose:()=>v(!1)}):n(Ct,{step:t,i18n:e,ageLead:r===!0,onOpen:()=>v(!0),upload:f,...A&&H!==void 0?{onUpload:H}:{},...h}),J]})}d(un,"DocumentCaptureView");function Je({passport:t}){let o=Math.round(228/(t?1.42:1.586));return i("svg",{className:"sekyro-mark sekyro-mark--card",viewBox:`-12 -12 252 ${o+24}`,"aria-hidden":"true",focusable:"false",children:[n("defs",{children:n("clipPath",{id:"sekyro-card-clip",children:n("rect",{width:228,height:o,rx:"12.5"})})}),n("rect",{className:"sekyro-mark__card",width:228,height:o,rx:"12.5"}),n("rect",{className:"sekyro-mark__photo",x:"17",y:"17",width:"55",height:o*.52,rx:"6"}),[0,1,2].map(a=>n("rect",{className:"sekyro-mark__text",x:"88",y:23+a*o*.12,width:100-a*20,height:"6",rx:"3"},a)),[0,1].map(a=>n("rect",{className:"sekyro-mark__text",x:"17",y:o*.74+a*9,width:194,height:"4",rx:"2"},a)),n("g",{clipPath:"url(#sekyro-card-clip)",children:n("g",{className:"sekyro-mark__read",style:{"--sekyro-read-w":"228px"},children:n("rect",{x:"-1",width:"2",height:o,className:"sekyro-mark__beam"})})}),n("path",{className:"sekyro-mark__brackets",d:wt(-10,-10,248,o+20,16,30)})]})}d(Je,"ScanMark");function wt(t,e,o,a,r,h){let b=Math.min(r,h*.6);return[[t,e,1,1],[t+o,e,-1,1],[t,e+a,1,-1],[t+o,e+a,-1,-1]].map(([g,f,S,L])=>`M${g} ${f+L*h}V${f+L*b}Q${g} ${f} ${g+S*b} ${f}H${g+S*h}`).join("")}d(wt,"brackets");function Ct({step:t,i18n:e,ageLead:o,onOpen:a,onChangeCountry:r,onChangeDocument:h,upload:b,onUpload:v}){let g=ve(e),f=W(e),S=t.documentType==="passport",L=ye(t),w=b==="sending",N=qe(Oe)?.busy===!0;return i("section",{className:"sekyro-step","data-testid":"sekyro-document",children:[n(Je,{passport:S}),n(pe,{title:g("native.doc.introTitle"),lead:o?e.t("doc.ageStepUp"):g("native.doc.introLead")}),n(ke,{step:t,i18n:e}),t.reason!==void 0&&bt.has(t.reason)?null:i("ul",{className:"sekyro-tiprows",children:[i("li",{children:[n(Y,{name:S?"passport":"card"}),g("native.doc.tip.flat")]}),i("li",{children:[n(Y,{name:"light"}),g("native.doc.tip.glare")]}),i("li",{children:[n(re,{name:"image"}),g("native.doc.tip.frame")]})]}),n(et,{i18n:e,...h!==void 0?{onChangeDocument:h}:{},...r!==void 0?{onChangeCountry:r}:{}}),n(tt,{i18n:e,upload:b}),w?n("p",{className:"sekyro-text-muted",role:"status",children:e.t("doc.uploading")}):v!==void 0?n("p",{className:"sekyro-text-muted",children:f.t("doc.uploadHint")}):null,i(me,{children:[i(O,{full:!0,onClick:a,disabled:w||N,children:[n(Y,{name:"camera"}),g("native.doc.openCamera")]}),v!==void 0?i(O,{full:!0,kind:"ghost",onClick:v,children:[n(re,{name:"image"}),f.t("doc.uploadInstead")]}):null]})]})}d(Ct,"DocumentIntro");function ke({step:t,i18n:e}){let o=ye(t);return o===null?null:i(he,{tone:"warning",children:[n("span",{children:e.t(o)}),n("span",{children:fe(e,t.attemptsRemaining,t.attemptsExhausted)})]})}d(ke,"ReasonNotice");function et({i18n:t,onChangeCountry:e,onChangeDocument:o}){let a=ve(t);return o===void 0&&e===void 0?null:i("div",{className:"sekyro-links",children:[o!==void 0?n("button",{type:"button",className:"sekyro-link",onClick:o,children:a("native.doc.changeDocument")}):null,e!==void 0?n("button",{type:"button",className:"sekyro-link",onClick:e,children:t.t("native.doc.changeCountry")}):null]})}d(et,"ChangeLinks");function tt({i18n:t,upload:e}){return e!=="unsupported"&&e!=="failed"?null:n(he,{tone:"warning",children:n("span",{children:W(t).t(e==="unsupported"?"doc.uploadUnsupported":"doc.uploadFailed")})})}d(tt,"UploadNotice");function _t({step:t,i18n:e,ageLead:o,upload:a,offered:r,onPick:h,onCamera:b,onChangeCountry:v,onChangeDocument:g}){let f=W(e),S=a==="sending";return i("section",{className:"sekyro-step","data-testid":"sekyro-doc-upload-screen",children:[n(Je,{passport:t.documentType==="passport"}),n(pe,{title:f.t("doc.uploadTitle"),lead:o?e.t("doc.ageStepUp"):f.t("doc.uploadHint")}),o?n("p",{className:"sekyro-text-muted",children:f.t("doc.uploadHint")}):null,n(ke,{step:t,i18n:e}),n(et,{i18n:e,...g!==void 0?{onChangeDocument:g}:{},...v!==void 0?{onChangeCountry:v}:{}}),n(tt,{i18n:e,upload:a}),S?n("p",{className:"sekyro-text-muted",role:"status",children:e.t("doc.uploading")}):null,i(me,{children:[i(O,{full:!0,onClick:h,disabled:S||!r||t.attemptsExhausted,children:[n(re,{name:"image"}),f.t("doc.source.upload")]}),b!==void 0?i(O,{full:!0,kind:"ghost",onClick:b,disabled:S,children:[n(Y,{name:"camera"}),f.t("doc.source.camera")]}):null]})]})}d(_t,"DocumentUploadScreen");function Ze(t,e,o){let a=t*.88,r=a/o;return{x:(t-a)/2,y:e*.42-r/2,w:a,h:r}}d(Ze,"guideRect");var Dt={too_far:"native.scan.closer",too_close:"native.scan.farther",focus_far:"native.scan.farther",glare:"native.scan.glare",too_bright:"native.scan.glare",too_dark:"native.scan.dark",blurry:"native.scan.blurry"},Nt=d(()=>typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches===!0,"reduceMotion");function Lt({step:t,i18n:e,liveMrz:o,barcodeAssetBaseUrl:a,onClose:r,attempts:h,onUpload:b}){let v=ve(e),g=qe($e),f=F(g);f.current=g;let S=F(null),L=F(null),w=F(null),[N,A]=k("idle"),[y,K]=k(null),[M,H]=k(null),[m,J]=k({w:0,h:0}),[C,X]=k({hint:null,locking:!1,card:null,manualShutter:!1}),[R,ee]=k({}),[j,nt]=k(null),[be,ot]=k(null),[we,Ce]=k(0),[_e,De]=k(null),[te,Ne]=k(null),$=t.documentType==="passport",ne=$?1.42:1.586;Ie(!0),mt(()=>{let c=S.current;if(c===null)return;let u=d(()=>J({w:c.clientWidth,h:c.clientHeight}),"measure");if(u(),typeof ResizeObserver>"u")return;let l=new ResizeObserver(u);return l.observe(c),()=>l.disconnect()},[]);let s=Ze(m.w,m.h,ne);G(()=>{m.w===0||m.h===0||w.current?.setGuide?.({viewAspect:m.w/m.h,rect:{x:s.x/m.w,y:s.y/m.h,width:s.w/m.w,height:s.h/m.h}})},[m.w,m.h,s.x,s.y,s.w,s.h]),G(()=>{let c=L.current;if(c===null)return;let u=t.capture({video:c,...o!==void 0?{liveMrz:o}:{},...a!==void 0?{barcodeAssetBaseUrl:a}:{}});w.current=u;let l=S.current;if(l!==null&&l.clientWidth>0&&l.clientHeight>0){let p=Ze(l.clientWidth,l.clientHeight,ne);u.setGuide?.({viewAspect:l.clientWidth/l.clientHeight,rect:{x:p.x/l.clientWidth,y:p.y/l.clientHeight,width:p.w/l.clientWidth,height:p.h/l.clientHeight}})}let T=new ae,D={scan:null,feedback:null,gate:null},E=d(p=>{D={...D,...p};let x=D.gate?.guide,ut={phase:D.scan?.phase??"framing",hint:D.feedback?.reticle==="coaching"?D.feedback.key:null,card:x?.detected?{fill:x.fill,offsetX:x.offsetX,offsetY:x.offsetY}:null,manualShutter:D.scan?.manualShutter??!1},P=T.present(ut,performance.now());X(I=>I.hint===P.hint&&I.locking===P.locking&&I.manualShutter===P.manualShutter&&I.card?.fill===P.card?.fill&&I.card?.offsetX===P.card?.offsetX&&I.card?.offsetY===P.card?.offsetY?I:P)},"present"),dt=[u.on("state",A),u.on("feedback",p=>E({feedback:p})),u.on("gate",p=>E({gate:p})),u.on("scan",p=>{K(p),E({scan:p})}),u.on("captured",p=>{ee(x=>({...x,[zt(p.side,$,x)]:p.previewDataUrl})),nt(p.previewDataUrl),ot(Tt(c))}),u.on("error",p=>{H(p);let x=f.current;x!==null&&Ee(x,Ue("document",p,Math.max(0,h.current)))}),u.on("mrz",p=>{p.state==="mismatch"?Ne(p.format??null):De(p)})];return h.current+=1,u.start().catch(()=>{}),()=>{for(let p of dt)p();u.destroy(),w.current=null}},[t.issuer,t.documentType]);let z=y?.phase??"framing",U=z==="reading"||z==="result",se=z==="flipCue"||z==="reaskRecto",V=C.locking,Le=y?.captured.length??0;G(()=>{V&&Ce(c=>c+1)},[V]),G(()=>{Le>0&&Ce(c=>c+1)},[Le]);let at=y?.expected??null;G(()=>{De(null)},[at]),G(()=>{if(te===null)return;let c=setTimeout(()=>Ne(null),2e3);return()=>clearTimeout(c)},[te]);let ze=se||U||t.documentType==="drivers_license"?null:yt(_e,$),ie=te!==null?te==="TD3"?"dcv3.mrz.looksLikePassport":"dcv3.mrz.looksLikeCard":ze,rt=ie===null?null:e.strings[ie]??gt[e.locale][ie],ce=ye(t),xe=C.hint===null?null:Dt[C.hint]??`dcv2.${C.hint}`,st=xe??(z==="flipCue"?y?.notice==="same_face"?"doc.sameFace":"doc.flip":z==="reaskRecto"?"doc.reaskRecto":U?"native.scan.reading":z==="locking"||z==="capturing"||V?"native.scan.holdStill":y?.notice==="reread"?ce??"doc.reread":y?.notice==="technical"?"native.scan.retry":y?.notice==="blurry"?"native.scan.blurry":ce??($?"doc.showPage":"doc.showSide")),le=rt??v(st),B=C.card,_=s;if(!V&&B!==null&&B.fill>=.45&&B.fill<=1.25&&!Nt()){let c=s.w*B.fill,u=c/ne,l=s.x+s.w/2+s.w*Math.max(-.25,Math.min(.25,B.offsetX)),T=s.y+s.h/2+s.h*Math.max(-.25,Math.min(.25,B.offsetY));_={x:l-c/2,y:T-u/2,w:c,h:u}}let oe=s.w*.045,de=28,Te=Math.min(oe,de*.6),it=[[_.x,_.y,1,1],[_.x+_.w,_.y,-1,1],[_.x,_.y+_.h,1,-1],[_.x+_.w,_.y+_.h,-1,-1]],ct=V?"is-locked":C.hint!==null?"is-coaching":"",lt=$?[{side:"single",label:"doc.progressPage"}]:[{side:"recto",label:"doc.progressFront"},{side:"verso",label:"doc.progressBack"}],Me=s.y+s.h+48,ue={insetInlineStart:s.x,insetBlockStart:s.y,inlineSize:s.w,blockSize:s.h,borderRadius:oe};return n("section",{className:"sekyro-lm","aria-label":le,"data-testid":"sekyro-document",children:i("div",{ref:S,className:`sekyro-lm-stage${U?" is-reading":""}${se?" is-flip":""}`,style:{"--sekyro-guide-w":`${s.w}px`},children:[n("video",{ref:L,className:"sekyro-lm-video",playsInline:!0,muted:!0,autoPlay:!0,"aria-hidden":"true",onPointerUp:c=>{let u=c.currentTarget,l=u.getBoundingClientRect(),T=Math.max(l.width/(u.videoWidth||1),l.height/(u.videoHeight||1)),D=u.videoWidth*T,E=u.videoHeight*T;D>0&&E>0&&w.current?.focusAt((c.clientX-l.left+(D-l.width)/2)/D,(c.clientY-l.top+(E-l.height)/2)/E)}}),m.w>0?i(Se,{children:[U&&be!==null?n("img",{className:"sekyro-lm-scene",src:be,alt:""}):null,U&&j!==null?n("img",{className:"sekyro-lm-frozen",src:j,alt:"",style:ue}):null,i("svg",{className:"sekyro-lm-overlay",viewBox:`0 0 ${m.w} ${m.h}`,"aria-hidden":"true",focusable:"false",children:[i("defs",{children:[i("linearGradient",{id:"sekyro-lm-top",x1:"0",y1:"0",x2:"0",y2:"1",children:[n("stop",{offset:"0",className:"sekyro-lm-ink",stopOpacity:"0.85"}),n("stop",{offset:"1",className:"sekyro-lm-ink",stopOpacity:"0"})]}),i("linearGradient",{id:"sekyro-lm-bottom",x1:"0",y1:"0",x2:"0",y2:"1",children:[n("stop",{offset:"0",className:"sekyro-lm-ink",stopOpacity:"0"}),n("stop",{offset:"1",className:"sekyro-lm-ink",stopOpacity:"0.9"})]})]}),n("path",{className:"sekyro-lm-scrim",fillRule:"evenodd",d:`M0 0H${m.w}V${m.h}H0Z${xt(s,oe)}`}),n("rect",{width:m.w,height:Math.max(0,s.y),fill:"url(#sekyro-lm-top)"}),n("rect",{y:s.y+s.h,width:m.w,height:Math.max(0,m.h-s.y-s.h),fill:"url(#sekyro-lm-bottom)"}),n("g",{className:`sekyro-lm-brackets ${ct}`,children:it.map(([c,u,l,T],D)=>n("path",{style:{transform:`translate(${c}px, ${u}px) scale(${l}, ${T})`},d:`M0 ${de}V${Te}Q0 0 ${Te} 0H${de}`},D))}),V?n("rect",{className:"sekyro-lm-trace",x:s.x,y:s.y,width:s.w,height:s.h,rx:oe,pathLength:"1",style:{animationDuration:`${ft}ms`}}):null]}),n("div",{className:"sekyro-lm-slot",style:ue,"aria-hidden":"true",children:U?n("span",{className:"sekyro-lm-read is-repeating"}):we>0?n("span",{className:"sekyro-lm-read"},we):null})]}):null,ze!==null?n("div",{className:"sekyro-lm-slot",style:ue,"aria-hidden":"true",children:n("span",{"data-testid":"sekyro-mrz-strip",className:`sekyro-lm-mrz${$?" is-page":""}${_e?.state==="valid"?" is-valid":""}`})}):null,i("div",{className:"sekyro-lm-instruction",style:{insetBlockStart:s.y-64},children:[n("div",{role:"status","aria-live":"polite",children:n(Ke,{swapKey:le,className:"sekyro-lm-line",children:le})}),ce!==null&&z==="framing"&&xe===null?n("p",{className:"sekyro-lm-attempts",children:fe(e,t.attemptsRemaining,t.attemptsExhausted)}):null]}),U?i("p",{className:"sekyro-lm-under sekyro-lm-note",style:{insetBlockStart:Me-12},children:[n("span",{className:"sekyro-lm-spinner","aria-hidden":"true"}),v("native.scan.putDown")]}):se?n("div",{className:`sekyro-lm-under sekyro-lm-flip${z==="reaskRecto"?" is-toFront":""}`,style:{insetBlockStart:Me-20},"data-testid":"sekyro-flip-cue","aria-hidden":"true",children:i("span",{className:"sekyro-lm-flip-card",style:{aspectRatio:String(ne)},children:[n("span",{className:"sekyro-lm-flip-front"}),n("span",{className:"sekyro-lm-flip-back"})]})}):null,i("div",{className:"sekyro-lm-controls",children:[i("div",{className:"sekyro-lm-bar",children:[n("button",{type:"button",className:"sekyro-glass","aria-label":e.t("native.close"),onClick:r,children:n(Y,{name:"close"})}),y?.torchAvailable?n("button",{type:"button",className:`sekyro-glass${y.torch?" is-on":""}`,"aria-label":e.t("doc.torchOn"),"aria-pressed":y.torch,onClick:()=>w.current?.setTorch(!y.torch),children:n(re,{name:"flashlight"})}):null]}),M!==null?i("div",{className:"sekyro-lm-error",role:"alert",children:[n("p",{children:e.t("doc.cameraBlocked")}),n("p",{children:e.t(M.kind==="permission"?"doc.cameraBlockedHint":He(M.kind))}),n(O,{onClick:()=>{H(null),h.current+=1,w.current?.retry()},children:e.t("doc.retryCamera")})]}):null,C.manualShutter?n("button",{type:"button",className:"sekyro-shutter","aria-label":e.t("doc.shutter"),onClick:()=>w.current?.shutter()}):null,n("ol",{className:"sekyro-lm-tray",children:lt.map(({side:c,label:u})=>{let l=y?.captured.includes(c)??!1;return i("li",{className:l?"is-done":void 0,"aria-current":!l&&($||y?.expected===c)?"step":void 0,children:[l?i("span",{className:"sekyro-lm-thumb",children:[R[c]!==void 0?n("img",{src:R[c],alt:""}):null,n("svg",{className:"sekyro-lm-check",viewBox:"0 0 18 18","aria-hidden":"true",children:n("path",{d:"M5 9.2l2.6 2.6L13 6.4"})})]}):null,v(u)]},c)})}),b!==void 0?n("button",{type:"button",className:"sekyro-lm-upload",onClick:b,children:W(e).t("doc.uploadInstead")}):null,N==="uploading"||N==="checking"?null:n(Ae,{onStop:r})]}),N==="uploading"||N==="checking"?n("span",{className:"sekyro-visually-hidden",role:"status",children:N==="uploading"?e.t("doc.uploading"):v("native.scan.reading")}):null]})})}d(Lt,"LumiereScan");function zt(t,e,o){return e?"single":t==="recto"||t==="verso"?t:o.recto===void 0?"recto":"verso"}d(zt,"slotOf");function xt({x:t,y:e,w:o,h:a},r){return`M${t+r} ${e}H${t+o-r}Q${t+o} ${e} ${t+o} ${e+r}V${e+a-r}Q${t+o} ${e+a} ${t+o-r} ${e+a}H${t+r}Q${t} ${e+a} ${t} ${e+a-r}V${e+r}Q${t} ${e} ${t+r} ${e}Z`}d(xt,"roundedRect");function Tt(t){let e=Math.round(t.videoWidth/4),o=Math.round(t.videoHeight/4);if(e===0||o===0||typeof document>"u")return null;try{let a=document.createElement("canvas");a.width=e,a.height=o;let r=a.getContext("2d");return r===null?null:(r.drawImage(t,0,0,e,o),a.toDataURL("image/jpeg",.7))}catch{return null}}d(Tt,"sceneSnapshot");export{un as DocumentCaptureView,ft as LOCK_TRACE_MS,vt as UPLOAD_ACCEPT,Ze as guideRect,yt as mrzInstruction,zt as slotOf};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as O,b as K,c as z}from"./chunk-GUTF3SPK.js";import{a as Y,b as y,c as q}from"./chunk-55NNQK5P.js";import{a as U}from"./chunk-VRDPGOXM.js";import{d as $}from"./chunk-PMNUDJWG.js";import{d as x,m as W,p as A}from"./chunk-Q5BGUJMS.js";import"./chunk-DYWLZHSM.js";import{a as N,s as G}from"./chunk-WC4U54LZ.js";import{a}from"./chunk-2KED7D2Q.js";import{isValidNni as ce,normalizeNni as J}from"@sekyro/web";import{useEffect as R,useId as ue,useRef as Q,useState as S}from"react";import{Fragment as w,jsx as n,jsxs as l}from"react/jsx-runtime";var X={en:y,fr:q,ar:Y,es:y,pt:y,de:y},C=6,me=new Set(["eid_identifier_invalid","eid_code_invalid","eid_locked","eid_not_enrolled"]),Z=a((e,t)=>{if(e===void 0)return 0;let p=Date.parse(e)-t;return Number.isFinite(p)?Math.max(0,Math.ceil(p/1e3)):0},"secondsUntil"),pe=a(e=>`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`,"mmss");function Ae({step:e,i18n:t,className:p,onError:j}){let B=t.strings,o=a((i,s)=>$(B[i]??X[t.locale][i]??"",s),"t"),P=a((i,s)=>{let ae=new Intl.PluralRules(t.locale).select(s),V=`${i}.${ae}`,le=B[V]??X[t.locale][V]??o(`${i}.other`);return $(le,{count:new Intl.NumberFormat(t.locale).format(s)})},"plural"),v=a(i=>e.providerName?o(`eid.${i}`,{provider:e.providerName}):o(`eid.${i}Generic`),"named"),[I,ee]=S(""),[f,h]=S(""),[c,D]=S(!1),[g,u]=S(null),r=e.phase==="code",F=z(r),d=ue(),ne=G(),[ie,oe]=O(e.reason==="eid_code_invalid",e.codeAttemptsRemaining??0,()=>h("")),m=a(async i=>{D(!0),u(null);try{await i()}catch(s){u(U(s,t.strings)),j?.(s)}finally{D(!1)}},"run"),T=Q(!1);R(()=>{!e.identifierBound||r||e.reason!==void 0||T.current||(T.current=!0,m(()=>e.start()))},[e.identifierBound,r,e.reason]),R(()=>{(e.reason==="eid_code_invalid"||e.codeExpiresAt!==void 0)&&h("")},[e.reason,e.codeExpiresAt,e.codeAttemptsRemaining]);let H=Q(r);R(()=>{r&&!H.current&&document.getElementById(`${d}-code`)?.focus(),H.current=r},[r,d]);let b=e.reason==="eid_locked",M=Z(e.codeExpiresAt,F),E=r&&e.codeExpiresAt!==void 0&&M===0,_=Z(e.resendAvailableAt,F),L=e.resendsRemaining===0||e.reason==="eid_resend_limit",te=a(i=>{if(i.preventDefault(),r){f.length===C&&!b&&m(()=>e.verify(f));return}if(e.identifierBound){m(()=>e.start());return}let s=J(I);if(e.country==="MR"){if(!/^\d{10}$/.test(s))return u("population.invalid");if(!ce(s))return u("population.reason_nni_invalid")}m(()=>e.start(s))},"onSubmit"),k=e.reason?.startsWith("eid_")?e.reason:void 0,re=l(w,{children:[k!==void 0?l(A,{tone:me.has(k)?"danger":"warning",children:[n("span",{children:o(`reasons.${k}`)}),k==="eid_code_invalid"&&e.codeAttemptsRemaining!==void 0?n("span",{children:P("eid.codeAttemptsRemaining",e.codeAttemptsRemaining)}):null,e.canUseCamera?n(N,{kind:"secondary",disabled:c,onClick:()=>{m(()=>e.useCamera())},children:o("eid.useCamera")}):null]}):null,g!==null?n(A,{tone:"danger",children:n("span",{children:t.t(g)})}):null]}),[de,se]=r?[v("codeTitle"),v("codeHelp")]:[v("identifierTitle"),v(e.identifierBound?"boundDescription":"identifierDescription")];return l("form",{className:`sekyro-step sekyro-otp${p?` ${p}`:""}`,"aria-labelledby":d,onSubmit:te,noValidate:!0,"data-testid":"sekyro-eid",children:[l("div",{className:"sekyro-heading",children:[n("h2",{id:d,ref:ne,tabIndex:-1,className:"sekyro-text-body",children:de}),n("p",{className:"sekyro-text-muted",children:r&&e.context.simulation!==void 0?n(W,{template:t.t("sandbox.otpHint"),code:e.context.simulation.otpCode}):se}),e.afterPass==="continue"?n("p",{className:"sekyro-text-muted","data-testid":"sekyro-eid-continue",children:e.providerName?o("eid.continueHint",{provider:e.providerName}):o("eid.continueHintGeneric")}):null]}),re,r?l(w,{children:[l("div",{className:"sekyro-field",children:[n("label",{className:"sekyro-label",htmlFor:`${d}-code`,children:o("eid.codeLabel")}),b?n("input",{id:`${d}-code`,className:"sekyro-input sekyro-input--number",dir:"ltr",value:f,disabled:!0,readOnly:!0}):n(K,{id:`${d}-code`,value:f,length:C,invalid:ie,onChange:i=>{u(null),i!==""&&oe(),h(i)}}),e.codeExpiresAt!==void 0?n("span",{className:`sekyro-help sekyro-otp-expiry${E?" is-danger":""}`,children:E?o("eid.expired"):o("eid.expiresIn",{time:pe(M)})}):null]}),n("span",{className:"sekyro-visually-hidden",role:"status","aria-live":"polite",children:E?o("eid.expired"):""}),l(x,{children:[n(N,{type:"submit",full:!0,disabled:c||f.length!==C||b,"aria-busy":c||void 0,children:o("eid.verify")}),n("div",{className:"sekyro-resend-row",children:L?n("p",{className:"sekyro-resend is-waiting",children:o("eid.noResendsLeft")}):n("button",{type:"button",className:"sekyro-link sekyro-resend",disabled:c||_>0||b,onClick:()=>{m(()=>e.resend())},children:_>0?o("eid.resendIn",{seconds:_}):o("eid.resend")})}),!L&&e.resendsRemaining!==void 0?n("p",{className:"sekyro-help sekyro-center",children:P("eid.resendsRemaining",e.resendsRemaining)}):null]})]}):l(w,{children:[e.identifierBound?null:l("div",{className:"sekyro-field",children:[n("label",{className:"sekyro-label",htmlFor:`${d}-nni`,children:t.t("population.label")}),n("input",{id:`${d}-nni`,className:"sekyro-input sekyro-input--number",dir:"ltr",inputMode:"numeric",autoComplete:"off",placeholder:t.t("population.placeholder"),value:I,"aria-describedby":`${d}-nni-help`,"aria-invalid":g==="population.invalid"||g==="population.reason_nni_invalid"||void 0,onChange:i=>{u(null),ee(J(i.target.value).replace(/\D/g,"").slice(0,10))}}),n("span",{id:`${d}-nni-help`,className:"sekyro-help",children:t.t("population.helper")})]}),n(x,{children:n(N,{type:"submit",full:!0,disabled:c,"aria-busy":c||void 0,children:o("eid.start")})})]})]})}a(Ae,"EidView");export{Ae as EidView};
|