@sekyro/react 0.1.0-rc.12 → 0.1.0-rc.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +9 -0
  3. package/dist/{chunk-PTPTDOWD.js → chunk-6EP4O2CE.js} +1 -1
  4. package/dist/{chunk-K7YYCJUR.js → chunk-AIBCIUYT.js} +1 -1
  5. package/dist/{chunk-34326C2I.js → chunk-IJE64ZEN.js} +1 -1
  6. package/dist/{chunk-LNZR3RXG.js → chunk-JCCXPYU4.js} +1 -1
  7. package/dist/chunk-TLHEN5T3.js +2 -0
  8. package/dist/{chunk-IDZNOWTO.js → chunk-TS3UFW5B.js} +1 -1
  9. package/dist/{chunk-ALUF2O22.js → chunk-UFAOAYQY.js} +1 -1
  10. package/dist/chunk-VKSX4KC3.js +2 -0
  11. package/dist/{chunk-4ZN7GIYK.js → chunk-Z43XZ75N.js} +1 -1
  12. package/dist/{document-capture-view-LR4OLZPG.js → document-capture-view-6NADWNPQ.js} +1 -1
  13. package/dist/{eid-view-OZETO2IS.js → eid-view-BKKVB5QT.js} +1 -1
  14. package/dist/{email-otp-view-2I346KUZ.js → email-otp-view-56JMHX3M.js} +1 -1
  15. package/dist/{flow-views-TEE63CMW.js → flow-views-7FMODRP7.js} +1 -1
  16. package/dist/index.cjs +1 -1
  17. package/dist/index.d.cts +2 -2
  18. package/dist/index.d.ts +2 -2
  19. package/dist/index.js +1 -1
  20. package/dist/{overlay-de-UTUY4YEE.js → overlay-de-PSIG4NLI.js} +1 -1
  21. package/dist/{overlay-es-XQFAQT24.js → overlay-es-36OOIBXG.js} +1 -1
  22. package/dist/{overlay-pt-2YEUC3J2.js → overlay-pt-NWIPFF4D.js} +1 -1
  23. package/dist/{portrait-capture-view-TNKPPDYM.js → portrait-capture-view-JYTBBXFU.js} +1 -1
  24. package/dist/{theme-DqD8Nyoq.d.ts → theme-qTwMxyZM.d.cts} +23 -4
  25. package/dist/{theme-DqD8Nyoq.d.cts → theme-qTwMxyZM.d.ts} +23 -4
  26. package/dist/verification/index.cjs +1 -1
  27. package/dist/verification/index.d.cts +9 -4
  28. package/dist/verification/index.d.ts +9 -4
  29. package/dist/verification/index.js +1 -1
  30. package/dist/verification.css +20 -7
  31. package/package.json +2 -2
  32. package/sbom.cdx.json +4 -4
  33. package/dist/chunk-WAVBS3GL.js +0 -2
  34. package/dist/chunk-ZCAZDOMD.js +0 -2
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";var Je=Object.defineProperty;var Mr=Object.getOwnPropertyDescriptor;var qr=Object.getOwnPropertyNames;var Dr=Object.prototype.hasOwnProperty;var r=(e,n)=>Je(e,"name",{value:n,configurable:!0});var Cn=(e,n)=>()=>(e&&(n=e(e=0)),n);var en=(e,n)=>{for(var t in n)Je(e,t,{get:n[t],enumerable:!0})},Kr=(e,n,t,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of qr(n))!Dr.call(e,o)&&o!==t&&Je(e,o,{get:()=>n[o],enumerable:!(a=Mr(n,o))||a.enumerable});return e};var Hr=e=>Kr(Je({},"__esModule",{value:!0}),e);var pt={};en(pt,{overlay:()=>Wr});var Wr,mt=Cn(()=>{"use strict";Wr={"capture.attemptsRemaining.one":"Queda {count} intento","capture.attemptsRemaining.other":"Quedan {count} intentos","capture.cameraOff":"Cámara apagada","capture.checking":"Estamos verificando su identidad…","capture.checkingHint":"Suele tardar unos segundos. Mantenga esta página abierta","capture.noCamera.body":"Permita el acceso a la cámara e inténtelo de nuevo, o continúe en un teléfono con cámara.","capture.noCamera.continue":"Continuar sin cámara","capture.noCamera.deniedBody":"Su navegador bloqueó la cámara para esta página. Permítala en la configuración del sitio y vuelva a intentarlo.","capture.noCamera.deniedTitle":"Permita el acceso a la cámara para continuar","capture.noCamera.title":"Este paso necesita una cámara","capture.permission.denied":"El acceso a la cámara está bloqueado. Permítalo en la configuración del navegador (el icono de la cámara en la barra de direcciones) y vuelva a cargar esta página","capture.permission.granted":"Acceso a la cámara permitido","capture.permission.prompt":"Su navegador le pedirá usar la cámara. Elija Permitir","capture.permission.unknown":"Le pediremos usar la cámara cuando empiece","capture.preparing.hint":"Configurando la detección facial en el dispositivo. Puede tardar un poco con una conexión lenta","capture.preparing.title":"Preparando la captura segura…","capture.retryCoaching.eyeLevel":"Sostenga el teléfono a la altura de los ojos","capture.retryCoaching.head":"Mire directamente a la cámara y mantenga la cabeza recta","capture.retryCoaching.light":"Busque buena luz. Luz sobre su rostro, no detrás de usted","capture.retryCoaching.title":"Ese intento no funcionó. Estos ajustes le ayudarán:","capture.securityNote":"Sus imágenes se cifran y se usan solo para esta verificación","capture.start":"Activar la cámara","capture.tips.eyeLevel":"Sostenga el teléfono a la altura de los ojos","capture.tips.light":"Colóquese frente a una fuente de luz. Evite una luz fuerte detrás de usted","capture.tips.listen":"Escuchar las instrucciones","capture.tips.stop":"Detener","capture.tips.straight":"Mire directamente a la cámara y no se mueva","capture.tips.summary":"Colóquese en un lugar bien iluminado. Descubra su rostro: sin gafas ni mascarilla. Cuando se active la cámara, sostenga el teléfono a la altura de los ojos, mire directamente a la cámara y no se mueva.","capture.tips.title":"Para que la verificación salga bien:","capture.tips.uncover":"Descubra su rostro: sin gafas, mascarilla ni manos delante","common.loading":"Cargando su sesión de verificación","common.noAttemptsLeft":"No quedan intentos","common.refresh":"Actualizar estado","common.retry":"Intentar de nuevo","consent.human.terms.data":"Sekyro AI recoge una breve captura de su rostro.","consent.human.terms.intro":"Sekyro AI confirma que una persona real está completando este paso, en nombre de la organización que lo solicitó.","consent.human.terms.processing":"La captura se analiza para confirmar que usted es una persona real y presente. Puede compararse con rostros ya verificados para esta organización.","consent.human.terms.retention":"Sus datos se almacenan cifrados y se conservan solo el tiempo que exigen la ley y la configuración de la organización. Para ejercer sus derechos de protección de datos, contacte con la organización que solicitó esta verificación.","consent.human.terms.sharing":"La organización que solicitó esta verificación conoce su resultado.","consent.short":"Al continuar, acepta las {terms}.","consent.termsLink":"condiciones","contact.description":"Elija una opción.","contact.email":"Por correo electrónico","contact.phone":"Por teléfono (WhatsApp o SMS)","contact.switch":"Usar otra opción","contact.title":"¿Cómo quiere recibir su código?","cooldown.retryAt":"Demasiados intentos. Inténtelo de nuevo a partir de {time}.","cooldown.retryIn":"Demasiados intentos. Inténtelo de nuevo {time}.","emailOtp.codeHelper":"Introduzca el código de 6 dígitos del correo","emailOtp.codeLabel":"Código de verificación","emailOtp.emailHelper":"Enviaremos un código de un solo uso a esta dirección","emailOtp.emailInvalid":"Introduzca un correo electrónico válido","emailOtp.emailLabel":"Correo electrónico","emailOtp.emailPlaceholder":"Su correo electrónico","emailOtp.expired":"Ese código ha caducado. Solicite uno nuevo","emailOtp.expiresIn":"El código caduca en {time}","emailOtp.prefilledNotice":"Enviaremos un código de verificación a su dirección de correo registrada.","emailOtp.reason_email_disposable":"Use una dirección de correo permanente, no una temporal","emailOtp.reason_email_invalid":"No podemos enviar a esta dirección. Revísela o introduzca otra","emailOtp.reason_otp_daily_cap_reached":"No podemos enviarle un código por correo hoy. Elija otra forma de verificación si está disponible, o inténtelo de nuevo más tarde.","emailOtp.reason_otp_expired":"Ese código ha caducado. Solicite uno nuevo para continuar","emailOtp.reason_otp_mismatch":"El código no es correcto. Revíselo e introdúzcalo de nuevo","emailOtp.reason_otp_rate_limited":"Se han pedido demasiados códigos. Espere un momento e inténtelo de nuevo","emailOtp.reason_otp_send_failed":"No pudimos enviar el correo. Inténtelo de nuevo en un momento","emailOtp.resend":"Reenviar código","emailOtp.resendIn":"Reenviar código en {seconds} s","emailOtp.send":"Enviarme un código","emailOtp.sendDescription":"Le enviaremos un código de un solo uso para confirmar que esta dirección es suya","emailOtp.sendTitle":"Verifique su correo electrónico","emailOtp.sentTo":"Enviamos un código de 6 dígitos a {email}","emailOtp.verify":"Verificar código","emailOtp.verifyDescription":"Escriba el código de 6 dígitos que le enviamos por correo para terminar de verificar su dirección","emailOtp.verifyTitle":"Introduzca el código de verificación","errors.network_error":"No pudimos conectar con el servicio de verificación. Revise su conexión a internet e inténtelo de nuevo","errors.session_expired":"Esta sesión de verificación ha caducado. Pida un nuevo enlace a la organización que le trajo hasta aquí","fcv2.err.generic":"La cámara no está disponible. Inténtelo de nuevo o contacte con el soporte si sigue fallando","fcv2.err.insecure":"La cámara necesita una conexión segura (HTTPS). Vuelva a abrir esta página con HTTPS","fcv2.err.inuse":"Otra aplicación está usando la cámara. Ciérrela e inténtelo de nuevo","fcv2.err.models":"No se pudieron cargar los modelos de detección facial. Revise su conexión e inténtelo de nuevo","fcv2.err.notfound":"No se detecta ninguna cámara. Conecte o active una cámara e inténtelo de nuevo","fcv2.err.permission":"Permita el acceso a la cámara en la configuración del navegador (el icono de la cámara en la barra de direcciones) e inténtelo de nuevo","fcv2.err.unsupported":"Su navegador no puede grabar en un formato compatible. Abra esta página en un navegador reciente como Chrome o Safari","fcv3.center_face":"Centre su rostro en el círculo","fcv3.come_closer":"Acerque un poco el teléfono","fcv3.hold_still":"Perfecto. No se mueva","fcv3.hold_upright":"Sostenga el teléfono en vertical","fcv3.more_light":"Busque un lugar con más luz. Ilumine su rostro","fcv3.move_back":"Aleje un poco el teléfono","fcv3.no_face":"No vemos su rostro. Sostenga el teléfono delante de usted","fcv3.steady_camera":"Mantenga el teléfono estable","fcv3.straighten":"Mantenga la cabeza recta","fcv3.too_bright":"Demasiada luz. Apártese de la luz directa","handoff.copied":"Enlace copiado. Ábralo en su teléfono","handoff.copyFailed":"No pudimos copiar el enlace. Copie la dirección de esta página desde su navegador","handoff.copyLink":"Copiar enlace","handoff.description":"Escanee con su teléfono para continuar","handoff.qrAlt":"Código QR que abre esta verificación en su teléfono","handoff.title":"Continúe en su teléfono","handoff.waiting":"Esta página avanzará sola cuando termine en su teléfono","inApp.continueAnyway":"Continuar aquí de todos modos","inApp.copied":"Enlace copiado. Péguelo en su navegador","inApp.copyFailed":"No pudimos copiar el enlace. Copie la dirección de esta página","inApp.copyLink":"Copiar enlace","inApp.description":"La cámara no funciona bien dentro de esta aplicación. Abra el enlace en Chrome o Safari para continuar.","inApp.title":"Abra esta página en su navegador","native.close":"Cerrar","native.face.humanIntroLead":"Una captura breve: solo mire la pantalla.","native.face.humanIntroTitle":"Confirme que es una persona real","native.face.introLead":"Una sola captura, sin movimientos especiales: solo mire la pantalla.","native.face.introTitle":"Ahora verifiquemos su rostro","native.result.approved":"Su verificación ha terminado. Puede volver a {org}.","native.result.back":"Volver a {org}","native.result.copied":"Copiado","native.result.expired":"Vuelva a empezar desde {org} para obtener una nueva sesión.","native.result.rejected":"Contacte con {org} si cree que se trata de un error.","native.result.review":"El resultado se enviará a {org}. No necesita hacer nada más.","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.chooseChannel":"¿Cómo quiere recibir su código?","otp.codeHelper":"Introduzca el código de 6 dígitos que le enviamos","otp.codeInvalid":"Introduzca el código de 6 dígitos","otp.codeLabel":"Código de verificación","otp.expired":"Ese código ha caducado. Solicite uno nuevo","otp.expiresIn":"El código caduca en {time}","otp.phoneHelper":"Enviaremos un código de un solo uso a este número","otp.phoneInvalid":"Introduzca su número de teléfono con el prefijo del país","otp.phoneLabel":"Número de teléfono","otp.phonePlaceholder":"8 dígitos","otp.phonePlaceholderGeneric":"Número sin el prefijo del país","otp.prefilledNotice":"Enviaremos un código de verificación a su número de teléfono registrado.","otp.reason_insufficient_balance":"Este método de verificación no está disponible por ahora. Elija otra forma de verificación si está disponible.","otp.reason_otp_channel_unavailable":"Ese canal no está disponible. Elija otra forma de recibir su código","otp.reason_otp_daily_cap_reached":"No podemos enviarle un código hoy. Elija otra forma de verificación si está disponible, o inténtelo de nuevo más tarde.","otp.reason_otp_destination_not_allowed":"No podemos enviar códigos a números de este país. Introduzca otro número","otp.reason_otp_destination_unknown":"No reconocemos este número. Revíselo e introdúzcalo de nuevo con el prefijo del país","otp.reason_otp_expired":"Ese código ha caducado. Solicite uno nuevo para continuar","otp.reason_otp_mismatch":"El código no es correcto. Revíselo e introdúzcalo de nuevo","otp.reason_otp_rate_limited":"Se han pedido demasiados códigos. Espere un momento e inténtelo de nuevo","otp.reason_otp_send_failed":"No pudimos enviar el código. Inténtelo de nuevo en un momento","otp.reason_payment_method_required":"Este método de verificación no está disponible por ahora. Elija otra forma de verificación si está disponible.","otp.reason_spend_cap_reached":"Este método de verificación no está disponible por ahora. Elija otra forma de verificación si está disponible.","otp.resend":"Reenviar código","otp.resendBy":"Reenviar por {channel}","otp.resendIn":"Reenviar código en {seconds} s","otp.send":"Enviar código","otp.sendBy":"Enviar código por {channel}","otp.sendDescription":"Le enviaremos un código de un solo uso para confirmar que este número es suyo","otp.sendTitle":"Verifique su número de teléfono","otp.sentTo":"Enviamos un código de 6 dígitos a {number} por {channel}","otp.verify":"Verificar código","otp.verifyDescription":"Escriba el código de 6 dígitos que le enviamos para terminar de verificar su número","otp.verifyTitle":"Introduzca el código de verificación","reasons.camera_unavailable":"Esta verificación necesita una cámara. Vuelva a {org} para continuar de otra forma.","reasons.capture_tampered":"No pudimos continuar en este dispositivo. Inténtelo de nuevo en otro dispositivo o navegador.","reasons.clip_too_short":"La captura fue demasiado corta","reasons.device_cooldown":"Demasiados intentos. Inténtelo de nuevo más tarde.","reasons.device_velocity_exceeded":"Este dispositivo no se puede usar para otra verificación por ahora. Contacte con la organización.","reasons.media_unreadable":"No se pudo leer la captura enviada","reasons.mobile_required":"Continúe en su teléfono para tomar el selfie.","reasons.no_face":"No se detectó ningún rostro durante la verificación","reasons.review_band":"La verificación automática no fue concluyente, así que se envió a revisión manual","reasons.spoof_detected":"La prueba de vida no pudo confirmar que haya una persona real frente a la cámara","reasons.tester_phone_mismatch":"Use el número de teléfono con el que se registró la persona de prueba","result.platform_unsupported":"Esta verificación necesita una aplicación para teléfono.","result.referenceLabel":"Código de referencia","section.contact":"Verifique su contacto","section.live_photo":"Tome una foto en directo","section.screening":"Comprobaciones adicionales","session.processing.age_estimation.description":"Esto tarda unos segundos","session.processing.age_estimation.title":"Comprobando su edad","session.processing.description":"Suele tardar unos segundos. El resultado aparecerá aquí","session.processing.title":"Estamos procesando su verificación","session.progressLabel":"Progreso de la verificación","session.requestedBy":"{orgName} le pide que verifique su identidad","session.result.approved.description":"Ha terminado. Puede cerrar esta página","session.result.approved.title":"Su identidad está verificada","session.result.detailsMismatch":"Los datos no coinciden con la información que tiene {org}. Contacte con {org}.","session.result.deviceStop":"No pudimos continuar en este dispositivo. Inténtelo de nuevo en otro dispositivo o navegador.","session.result.deviceVelocity":"Este dispositivo no se puede usar para otra verificación por ahora. Contacte con {org}.","session.result.expired.description":"Pida un nuevo enlace a la organización que se lo envió y vuelva a empezar","session.result.expired.title":"Esta sesión de verificación ha caducado","session.result.rejected.description":"Si cree que se trata de un error, contacte con la organización que le envió este enlace","session.result.rejected.title":"No pudimos verificar su identidad","session.result.review.description":"El resultado se enviará a la organización que le dio este enlace. No necesita hacer nada más.","session.result.review.title":"Su verificación está en revisión","session.title":"Verifique su identidad","shell.subtitle":"Verificación de identidad","shell.subtitleHuman":"Verificación humana","shell.verifiedBy":"Verificado por Sekyro AI","unsupported.description":"Este paso necesita una versión más reciente de esta página. Contacte con {org}.","unsupported.title":"Actualización necesaria"}});var ft={};en(ft,{overlay:()=>jr});var jr,gt=Cn(()=>{"use strict";jr={"capture.attemptsRemaining.one":"{count} tentativa restante","capture.attemptsRemaining.other":"{count} tentativas restantes","capture.cameraOff":"Câmera desligada","capture.checking":"Estamos verificando sua identidade…","capture.checkingHint":"Isso costuma levar alguns segundos. Mantenha esta página aberta","capture.noCamera.body":"Permita o acesso à câmera e tente novamente, ou continue em um telefone com câmera.","capture.noCamera.continue":"Continuar sem câmera","capture.noCamera.deniedBody":"O seu navegador bloqueou a câmera para esta página. Permita-a nas configurações do site e tente novamente.","capture.noCamera.deniedTitle":"Permita o acesso à câmera para continuar","capture.noCamera.title":"Esta etapa precisa de uma câmera","capture.permission.denied":"O acesso à câmera está bloqueado. Permita nas configurações do navegador (o ícone da câmera na barra de endereço) e recarregue esta página","capture.permission.granted":"Acesso à câmera permitido","capture.permission.prompt":"Seu navegador vai pedir para usar a câmera. Escolha Permitir","capture.permission.unknown":"Vamos pedir para usar sua câmera quando você começar","capture.preparing.hint":"Configurando a detecção de rosto no dispositivo. Pode levar um momento em uma conexão lenta","capture.preparing.title":"Preparando a captura segura…","capture.retryCoaching.eyeLevel":"Segure o telefone na altura dos olhos","capture.retryCoaching.head":"Olhe diretamente para a câmera e mantenha a cabeça reta","capture.retryCoaching.light":"Procure uma boa iluminação. Luz no seu rosto, não atrás de você","capture.retryCoaching.title":"Essa tentativa não deu certo. Alguns ajustes vão ajudar:","capture.securityNote":"Suas imagens são criptografadas e usadas apenas para esta verificação","capture.start":"Ligar a câmera","capture.tips.eyeLevel":"Segure o telefone na altura dos olhos","capture.tips.light":"Fique de frente para uma fonte de luz. Evite luz forte atrás de você","capture.tips.listen":"Ouvir as instruções","capture.tips.stop":"Parar","capture.tips.straight":"Olhe diretamente para a câmera e fique parado","capture.tips.summary":"Fique em um lugar bem iluminado. Deixe o rosto descoberto: sem óculos e sem máscara. Quando a câmera ligar, segure o telefone na altura dos olhos, olhe diretamente para a câmera e fique parado.","capture.tips.title":"Para uma verificação bem-sucedida:","capture.tips.uncover":"Deixe o rosto descoberto: sem óculos, máscara ou mão na frente","common.loading":"Carregando sua sessão de verificação","common.noAttemptsLeft":"Não há mais tentativas","common.refresh":"Atualizar status","common.retry":"Tentar novamente","consent.human.terms.data":"A Sekyro AI coleta uma breve captura do seu rosto.","consent.human.terms.intro":"A Sekyro AI confirma que uma pessoa real está concluindo esta etapa, em nome da organização que a solicitou.","consent.human.terms.processing":"A captura é analisada para confirmar que você é uma pessoa real e presente. Ela pode ser comparada com rostos já verificados para esta organização.","consent.human.terms.retention":"Seus dados são armazenados com criptografia e mantidos apenas pelo tempo exigido pela lei e pelas configurações da organização. Para exercer seus direitos de proteção de dados, entre em contato com a organização que solicitou esta verificação.","consent.human.terms.sharing":"A organização que solicitou esta verificação fica sabendo do resultado.","consent.short":"Ao continuar, você aceita os {terms}.","consent.termsLink":"termos","contact.description":"Escolha uma opção.","contact.email":"Por e-mail","contact.phone":"Por telefone (WhatsApp ou SMS)","contact.switch":"Usar outra opção","contact.title":"Como você quer receber seu código?","cooldown.retryAt":"Muitas tentativas. Tente novamente a partir de {time}.","cooldown.retryIn":"Muitas tentativas. Tente novamente {time}.","emailOtp.codeHelper":"Digite o código de 6 dígitos do e-mail","emailOtp.codeLabel":"Código de verificação","emailOtp.emailHelper":"Vamos enviar um código de uso único para este endereço","emailOtp.emailInvalid":"Digite um endereço de e-mail válido","emailOtp.emailLabel":"Endereço de e-mail","emailOtp.emailPlaceholder":"Seu endereço de e-mail","emailOtp.expired":"Esse código expirou. Peça um novo","emailOtp.expiresIn":"O código expira em {time}","emailOtp.prefilledNotice":"Vamos enviar um código de verificação para o seu e-mail cadastrado.","emailOtp.reason_email_disposable":"Use um endereço de e-mail permanente, não um temporário","emailOtp.reason_email_invalid":"Não podemos enviar para este endereço. Confira ou digite outro","emailOtp.reason_otp_daily_cap_reached":"Não podemos enviar um código por e-mail hoje. Escolha outra forma de verificação, se houver, ou tente novamente mais tarde.","emailOtp.reason_otp_expired":"Esse código expirou. Peça um novo código para continuar","emailOtp.reason_otp_mismatch":"O código está incorreto. Confira e digite novamente","emailOtp.reason_otp_rate_limited":"Muitos códigos solicitados. Aguarde um momento e tente novamente","emailOtp.reason_otp_send_failed":"Não foi possível enviar o e-mail. Tente novamente em instantes","emailOtp.resend":"Reenviar código","emailOtp.resendIn":"Reenviar código em {seconds} s","emailOtp.send":"Enviar código por e-mail","emailOtp.sendDescription":"Vamos enviar um código de uso único por e-mail para confirmar que este endereço é seu","emailOtp.sendTitle":"Verifique seu endereço de e-mail","emailOtp.sentTo":"Enviamos um código de 6 dígitos para {email}","emailOtp.verify":"Verificar código","emailOtp.verifyDescription":"Digite o código de 6 dígitos que enviamos por e-mail para concluir a verificação do seu endereço","emailOtp.verifyTitle":"Digite o código de verificação","errors.network_error":"Não conseguimos acessar o serviço de verificação. Verifique sua conexão com a internet e tente novamente","errors.session_expired":"Esta sessão de verificação expirou. Peça um novo link à organização que trouxe você até aqui","fcv2.err.generic":"A câmera não está disponível. Tente novamente ou entre em contato com o suporte se o problema continuar","fcv2.err.insecure":"A câmera precisa de uma conexão segura (HTTPS). Abra esta página novamente por HTTPS","fcv2.err.inuse":"Outro aplicativo está usando a câmera. Feche-o e tente novamente","fcv2.err.models":"Não foi possível carregar os modelos de detecção de rosto. Verifique sua conexão e tente novamente","fcv2.err.notfound":"Nenhuma câmera detectada. Conecte ou ative uma câmera e tente novamente","fcv2.err.permission":"Permita o acesso à câmera nas configurações do navegador (o ícone da câmera na barra de endereço) e tente novamente","fcv2.err.unsupported":"Seu navegador não consegue gravar em um formato compatível. Abra esta página em um navegador recente, como Chrome ou Safari","fcv3.center_face":"Centralize o rosto no círculo","fcv3.come_closer":"Aproxime um pouco o telefone","fcv3.hold_still":"Perfeito. Fique parado","fcv3.hold_upright":"Segure o telefone na vertical","fcv3.more_light":"Procure um lugar mais claro. Ilumine seu rosto","fcv3.move_back":"Afaste um pouco o telefone","fcv3.no_face":"Não conseguimos ver seu rosto. Segure o telefone à sua frente","fcv3.steady_camera":"Mantenha o telefone firme","fcv3.straighten":"Mantenha a cabeça reta","fcv3.too_bright":"Luz demais. Saia da luz direta","handoff.copied":"Link copiado. Abra-o no seu telefone","handoff.copyFailed":"Não foi possível copiar o link. Copie o endereço desta página no navegador","handoff.copyLink":"Copiar link","handoff.description":"Escaneie com o telefone para continuar","handoff.qrAlt":"Código QR que abre esta verificação no seu telefone","handoff.title":"Continue no seu telefone","handoff.waiting":"Esta página avança sozinha quando você terminar no telefone","inApp.continueAnyway":"Continuar aqui mesmo assim","inApp.copied":"Link copiado. Cole-o no navegador","inApp.copyFailed":"Não foi possível copiar o link. Copie o endereço desta página","inApp.copyLink":"Copiar link","inApp.description":"A câmera não funciona bem dentro deste aplicativo. Abra o link no Chrome ou no Safari para continuar.","inApp.title":"Abra esta página no navegador","native.close":"Fechar","native.face.humanIntroLead":"Uma captura rápida: basta olhar para a tela.","native.face.humanIntroTitle":"Confirme que você é uma pessoa real","native.face.introLead":"Uma única captura, sem nenhum movimento especial: basta olhar para a tela.","native.face.introTitle":"Agora vamos verificar seu rosto","native.result.approved":"Sua verificação foi concluída. Você pode voltar para {org}.","native.result.back":"Voltar para {org}","native.result.copied":"Copiado","native.result.expired":"Comece de novo a partir de {org} para obter uma nova sessão.","native.result.rejected":"Entre em contato com {org} se você acha que isso é um erro.","native.result.review":"O resultado será enviado para {org}. Você não precisa fazer mais nada.","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.chooseChannel":"Como você quer receber seu código?","otp.codeHelper":"Digite o código de 6 dígitos que enviamos","otp.codeInvalid":"Digite o código de 6 dígitos","otp.codeLabel":"Código de verificação","otp.expired":"Esse código expirou. Peça um novo","otp.expiresIn":"O código expira em {time}","otp.phoneHelper":"Vamos enviar um código de uso único para este número","otp.phoneInvalid":"Digite seu número de telefone com o código do país","otp.phoneLabel":"Número de telefone","otp.phonePlaceholder":"8 dígitos","otp.phonePlaceholderGeneric":"Número sem o código do país","otp.prefilledNotice":"Vamos enviar um código de verificação para o seu número de telefone cadastrado.","otp.reason_insufficient_balance":"Este método de verificação não está disponível no momento. Escolha outra forma de verificação, se houver.","otp.reason_otp_channel_unavailable":"Esse canal não está disponível. Escolha outra forma de receber seu código","otp.reason_otp_daily_cap_reached":"Não podemos enviar um código para você hoje. Escolha outra forma de verificação, se houver, ou tente novamente mais tarde.","otp.reason_otp_destination_not_allowed":"Não podemos enviar códigos para números deste país. Digite outro número","otp.reason_otp_destination_unknown":"Não reconhecemos este número. Confira e digite novamente com o código do país","otp.reason_otp_expired":"Esse código expirou. Peça um novo código para continuar","otp.reason_otp_mismatch":"O código está incorreto. Confira e digite novamente","otp.reason_otp_rate_limited":"Muitos códigos solicitados. Aguarde um momento e tente novamente","otp.reason_otp_send_failed":"Não foi possível enviar o código. Tente novamente em instantes","otp.reason_payment_method_required":"Este método de verificação não está disponível no momento. Escolha outra forma de verificação, se houver.","otp.reason_spend_cap_reached":"Este método de verificação não está disponível no momento. Escolha outra forma de verificação, se houver.","otp.resend":"Reenviar código","otp.resendBy":"Reenviar por {channel}","otp.resendIn":"Reenviar código em {seconds} s","otp.send":"Enviar código","otp.sendBy":"Enviar código por {channel}","otp.sendDescription":"Vamos enviar um código de uso único para confirmar que este número é seu","otp.sendTitle":"Verifique seu número de telefone","otp.sentTo":"Enviamos um código de 6 dígitos para {number} por {channel}","otp.verify":"Verificar código","otp.verifyDescription":"Digite o código de 6 dígitos que enviamos para concluir a verificação do seu número","otp.verifyTitle":"Digite o código de verificação","reasons.camera_unavailable":"Esta verificação precisa de uma câmera. Volte para {org} para continuar de outra forma.","reasons.capture_tampered":"Não foi possível continuar neste dispositivo. Tente novamente em outro dispositivo ou navegador.","reasons.clip_too_short":"A captura foi curta demais","reasons.device_cooldown":"Muitas tentativas. Tente novamente mais tarde.","reasons.device_velocity_exceeded":"Este dispositivo não pode ser usado para outra verificação no momento. Entre em contato com a organização.","reasons.media_unreadable":"Não foi possível ler a captura enviada","reasons.mobile_required":"Continue no seu telefone para tirar a selfie.","reasons.no_face":"Nenhum rosto foi detectado durante a verificação","reasons.review_band":"A verificação automática não foi conclusiva e foi enviada para análise humana","reasons.spoof_detected":"A prova de vida não confirmou uma pessoa real diante da câmera","reasons.tester_phone_mismatch":"Use o número de telefone com que o testador se cadastrou","result.platform_unsupported":"Esta verificação precisa de um aplicativo de celular.","result.referenceLabel":"Código de referência","section.contact":"Verifique seu contato","section.live_photo":"Tire uma foto ao vivo","section.screening":"Verificações adicionais","session.processing.age_estimation.description":"Isso leva alguns segundos","session.processing.age_estimation.title":"Verificando sua idade","session.processing.description":"Isso costuma levar alguns segundos. O resultado aparecerá aqui","session.processing.title":"Estamos processando sua verificação","session.progressLabel":"Progresso da verificação","session.requestedBy":"{orgName} pede que você verifique sua identidade","session.result.approved.description":"Pronto. Você já pode fechar esta página","session.result.approved.title":"Sua identidade foi verificada","session.result.detailsMismatch":"Os dados não correspondem às informações que {org} tem. Entre em contato com {org}.","session.result.deviceStop":"Não foi possível continuar neste dispositivo. Tente novamente em outro dispositivo ou navegador.","session.result.deviceVelocity":"Este dispositivo não pode ser usado para outra verificação no momento. Entre em contato com {org}.","session.result.expired.description":"Peça um novo link à organização que o enviou e comece de novo","session.result.expired.title":"Esta sessão de verificação expirou","session.result.rejected.description":"Se você acha que isso é um erro, entre em contato com a organização que enviou este link","session.result.rejected.title":"Não foi possível verificar sua identidade","session.result.review.description":"O resultado será enviado à organização que passou este link para você. Você não precisa fazer mais nada.","session.result.review.title":"Sua verificação está em análise","session.title":"Verifique sua identidade","shell.subtitle":"Verificação de identidade","shell.subtitleHuman":"Verificação humana","shell.verifiedBy":"Verificado por Sekyro AI","unsupported.description":"Esta etapa precisa de uma versão mais recente desta página. Entre em contato com {org}.","unsupported.title":"Atualização necessária"}});var ht={};en(ht,{overlay:()=>$r});var $r,vt=Cn(()=>{"use strict";$r={"capture.attemptsRemaining.one":"Noch {count} Versuch","capture.attemptsRemaining.other":"Noch {count} Versuche","capture.cameraOff":"Kamera aus","capture.checking":"Wir prüfen Ihre Identität…","capture.checkingHint":"Das dauert meist nur ein paar Sekunden. Lassen Sie diese Seite geöffnet","capture.noCamera.body":"Erlauben Sie den Kamerazugriff und versuchen Sie es erneut, oder fahren Sie auf einem Smartphone mit Kamera fort.","capture.noCamera.continue":"Ohne Kamera fortfahren","capture.noCamera.deniedBody":"Ihr Browser hat die Kamera für diese Seite blockiert. Erlauben Sie sie in den Website-Einstellungen und versuchen Sie es erneut.","capture.noCamera.deniedTitle":"Erlauben Sie den Kamerazugriff, um fortzufahren","capture.noCamera.title":"Für diesen Schritt wird eine Kamera benötigt","capture.permission.denied":"Der Kamerazugriff ist blockiert. Erlauben Sie ihn in den Browsereinstellungen (das Kamerasymbol in der Adressleiste) und laden Sie diese Seite neu","capture.permission.granted":"Kamerazugriff erlaubt","capture.permission.prompt":"Ihr Browser fragt nach der Kamera. Wählen Sie Zulassen","capture.permission.unknown":"Wir fragen nach Ihrer Kamera, sobald Sie beginnen","capture.preparing.hint":"Die Gesichtserkennung auf dem Gerät wird eingerichtet. Bei langsamer Verbindung kann das einen Moment dauern","capture.preparing.title":"Sichere Aufnahme wird vorbereitet…","capture.retryCoaching.eyeLevel":"Halten Sie das Smartphone auf Augenhöhe","capture.retryCoaching.head":"Schauen Sie direkt in die Kamera und halten Sie den Kopf gerade","capture.retryCoaching.light":"Sorgen Sie für gutes Licht: auf Ihrem Gesicht, nicht hinter Ihnen","capture.retryCoaching.title":"Dieser Versuch hat nicht geklappt. Ein paar Anpassungen helfen:","capture.securityNote":"Ihre Bilder werden verschlüsselt und nur für diese Verifizierung verwendet","capture.start":"Kamera starten","capture.tips.eyeLevel":"Halten Sie das Smartphone auf Augenhöhe","capture.tips.light":"Wenden Sie sich einer Lichtquelle zu. Vermeiden Sie starkes Licht hinter sich","capture.tips.listen":"Anweisungen anhören","capture.tips.stop":"Stopp","capture.tips.straight":"Schauen Sie direkt in die Kamera und halten Sie still","capture.tips.summary":"Stellen Sie sich an einen gut beleuchteten Ort. Zeigen Sie Ihr Gesicht frei: keine Brille, keine Maske. Sobald die Kamera startet, halten Sie das Smartphone auf Augenhöhe, schauen Sie direkt in die Kamera und halten Sie still.","capture.tips.title":"So gelingt die Aufnahme:","capture.tips.uncover":"Zeigen Sie Ihr Gesicht frei: keine Brille, keine Maske, keine Hand davor","common.loading":"Ihre Verifizierungssitzung wird geladen","common.noAttemptsLeft":"Keine Versuche mehr übrig","common.refresh":"Status aktualisieren","common.retry":"Erneut versuchen","consent.human.terms.data":"Sekyro AI erfasst eine kurze Aufnahme Ihres Gesichts.","consent.human.terms.intro":"Sekyro AI bestätigt im Auftrag der anfragenden Organisation, dass eine echte Person diesen Schritt ausführt.","consent.human.terms.processing":"Die Aufnahme wird geprüft, um zu bestätigen, dass Sie eine echte, anwesende Person sind. Sie kann mit Gesichtern verglichen werden, die für diese Organisation bereits verifiziert wurden.","consent.human.terms.retention":"Ihre Daten werden verschlüsselt gespeichert und nur so lange aufbewahrt, wie das Gesetz und die Einstellungen der Organisation es verlangen. Um Ihre Datenschutzrechte auszuüben, wenden Sie sich an die Organisation, die diese Verifizierung angefordert hat.","consent.human.terms.sharing":"Die Organisation, die diese Verifizierung angefordert hat, erfährt das Ergebnis.","consent.short":"Wenn Sie fortfahren, stimmen Sie den {terms} zu.","consent.termsLink":"Bedingungen","contact.description":"Wählen Sie eine Option.","contact.email":"Per E-Mail","contact.phone":"Per Telefon (WhatsApp oder SMS)","contact.switch":"Andere Option wählen","contact.title":"Wie möchten Sie Ihren Code erhalten?","cooldown.retryAt":"Zu viele Versuche. Versuchen Sie es ab {time} erneut.","cooldown.retryIn":"Zu viele Versuche. Versuchen Sie es {time} erneut.","emailOtp.codeHelper":"Geben Sie den 6-stelligen Code aus der E-Mail ein","emailOtp.codeLabel":"Bestätigungscode","emailOtp.emailHelper":"Wir senden einen Einmalcode an diese Adresse","emailOtp.emailInvalid":"Geben Sie eine gültige E-Mail-Adresse ein","emailOtp.emailLabel":"E-Mail-Adresse","emailOtp.emailPlaceholder":"Ihre E-Mail-Adresse","emailOtp.expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen an","emailOtp.expiresIn":"Der Code läuft ab in {time}","emailOtp.prefilledNotice":"Wir senden einen Bestätigungscode an Ihre hinterlegte E-Mail-Adresse.","emailOtp.reason_email_disposable":"Verwenden Sie eine dauerhafte E-Mail-Adresse, keine Wegwerfadresse","emailOtp.reason_email_invalid":"An diese Adresse können wir nicht senden. Prüfen Sie sie oder geben Sie eine andere ein","emailOtp.reason_otp_daily_cap_reached":"Wir können Ihnen heute keinen Code per E-Mail senden. Wählen Sie einen anderen Weg, falls angeboten, oder versuchen Sie es später erneut.","emailOtp.reason_otp_expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen Code an, um fortzufahren","emailOtp.reason_otp_mismatch":"Der Code ist falsch. Prüfen Sie ihn und geben Sie ihn erneut ein","emailOtp.reason_otp_rate_limited":"Zu viele Codes angefordert. Warten Sie einen Moment und versuchen Sie es dann erneut","emailOtp.reason_otp_send_failed":"Wir konnten die E-Mail nicht senden. Versuchen Sie es gleich noch einmal","emailOtp.resend":"Code erneut senden","emailOtp.resendIn":"Code erneut senden in {seconds} s","emailOtp.send":"Code per E-Mail senden","emailOtp.sendDescription":"Wir senden Ihnen einen Einmalcode per E-Mail, um zu bestätigen, dass diese Adresse Ihnen gehört","emailOtp.sendTitle":"Bestätigen Sie Ihre E-Mail-Adresse","emailOtp.sentTo":"Wir haben einen 6-stelligen Code an {email} gesendet","emailOtp.verify":"Code bestätigen","emailOtp.verifyDescription":"Geben Sie den 6-stelligen Code aus unserer E-Mail ein, um Ihre Adresse zu bestätigen","emailOtp.verifyTitle":"Bestätigungscode eingeben","errors.network_error":"Wir konnten den Verifizierungsdienst nicht erreichen. Prüfen Sie Ihre Internetverbindung und versuchen Sie es erneut","errors.session_expired":"Diese Verifizierungssitzung ist abgelaufen. Bitten Sie die Organisation, die Sie hierher geschickt hat, um einen neuen Link","fcv2.err.generic":"Die Kamera ist nicht verfügbar. Versuchen Sie es erneut oder wenden Sie sich an den Support, wenn der Fehler bleibt","fcv2.err.insecure":"Die Kamera benötigt eine sichere Verbindung (HTTPS). Öffnen Sie diese Seite erneut über HTTPS","fcv2.err.inuse":"Eine andere App verwendet die Kamera. Schließen Sie sie und versuchen Sie es erneut","fcv2.err.models":"Die Modelle zur Gesichtserkennung konnten nicht geladen werden. Prüfen Sie Ihre Verbindung und versuchen Sie es erneut","fcv2.err.notfound":"Keine Kamera erkannt. Schließen Sie eine Kamera an oder aktivieren Sie sie und versuchen Sie es erneut","fcv2.err.permission":"Erlauben Sie den Kamerazugriff in den Browsereinstellungen (das Kamerasymbol in der Adressleiste) und versuchen Sie es erneut","fcv2.err.unsupported":"Ihr Browser kann nicht in einem unterstützten Format aufnehmen. Öffnen Sie diese Seite in einem aktuellen Browser wie Chrome oder Safari","fcv3.center_face":"Platzieren Sie Ihr Gesicht mittig im Kreis","fcv3.come_closer":"Halten Sie das Smartphone etwas näher","fcv3.hold_still":"Perfekt. Halten Sie still","fcv3.hold_upright":"Halten Sie das Smartphone aufrecht","fcv3.more_light":"Suchen Sie einen helleren Ort. Beleuchten Sie Ihr Gesicht","fcv3.move_back":"Halten Sie das Smartphone etwas weiter weg","fcv3.no_face":"Wir sehen Ihr Gesicht nicht. Halten Sie das Smartphone vor sich","fcv3.steady_camera":"Halten Sie das Smartphone ruhig","fcv3.straighten":"Halten Sie den Kopf gerade","fcv3.too_bright":"Zu viel Licht. Gehen Sie aus dem direkten Licht","handoff.copied":"Link kopiert. Öffnen Sie ihn auf Ihrem Smartphone","handoff.copyFailed":"Wir konnten den Link nicht kopieren. Kopieren Sie stattdessen die Adresse dieser Seite aus Ihrem Browser","handoff.copyLink":"Link kopieren","handoff.description":"Scannen Sie mit Ihrem Smartphone, um fortzufahren","handoff.qrAlt":"QR-Code, der diese Verifizierung auf Ihrem Smartphone öffnet","handoff.title":"Auf dem Smartphone fortfahren","handoff.waiting":"Diese Seite geht von selbst weiter, sobald Sie auf dem Smartphone fertig sind","inApp.continueAnyway":"Trotzdem hier fortfahren","inApp.copied":"Link kopiert. Fügen Sie ihn in Ihren Browser ein","inApp.copyFailed":"Wir konnten den Link nicht kopieren. Kopieren Sie stattdessen die Adresse dieser Seite","inApp.copyLink":"Link kopieren","inApp.description":"Die Kamera funktioniert in dieser App nicht zuverlässig. Öffnen Sie den Link in Chrome oder Safari, um fortzufahren.","inApp.title":"Öffnen Sie diese Seite in Ihrem Browser","native.close":"Schließen","native.face.humanIntroLead":"Eine kurze Aufnahme: Schauen Sie einfach auf den Bildschirm.","native.face.humanIntroTitle":"Bestätigen Sie, dass Sie eine echte Person sind","native.face.introLead":"Eine einzige Aufnahme, keine besondere Bewegung: Schauen Sie einfach auf den Bildschirm.","native.face.introTitle":"Jetzt prüfen wir Ihr Gesicht","native.result.approved":"Ihre Verifizierung ist abgeschlossen. Sie können zu {org} zurückkehren.","native.result.back":"Zurück zu {org}","native.result.copied":"Kopiert","native.result.expired":"Beginnen Sie erneut über {org}, um eine neue Sitzung zu erhalten.","native.result.rejected":"Wenden Sie sich an {org}, wenn Sie glauben, dass es sich um einen Fehler handelt.","native.result.review":"Das Ergebnis wird an {org} gesendet. Sie müssen nichts weiter tun.","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.chooseChannel":"Wie möchten Sie Ihren Code erhalten?","otp.codeHelper":"Geben Sie den 6-stelligen Code ein, den wir Ihnen gesendet haben","otp.codeInvalid":"Geben Sie den 6-stelligen Code ein","otp.codeLabel":"Bestätigungscode","otp.expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen an","otp.expiresIn":"Der Code läuft ab in {time}","otp.phoneHelper":"Wir senden einen Einmalcode an diese Nummer","otp.phoneInvalid":"Geben Sie Ihre Telefonnummer mit Ländervorwahl ein","otp.phoneLabel":"Telefonnummer","otp.phonePlaceholder":"8 Ziffern","otp.phonePlaceholderGeneric":"Nummer ohne Ländervorwahl","otp.prefilledNotice":"Wir senden einen Bestätigungscode an Ihre hinterlegte Telefonnummer.","otp.reason_insufficient_balance":"Diese Verifizierungsmethode ist gerade nicht verfügbar. Wählen Sie einen anderen Weg, falls angeboten.","otp.reason_otp_channel_unavailable":"Dieser Kanal ist nicht verfügbar. Wählen Sie einen anderen Weg für Ihren Code","otp.reason_otp_daily_cap_reached":"Wir können Ihnen heute keinen Code senden. Wählen Sie einen anderen Weg, falls angeboten, oder versuchen Sie es später erneut.","otp.reason_otp_destination_not_allowed":"An Nummern aus diesem Land können wir keine Codes senden. Geben Sie eine andere Nummer ein","otp.reason_otp_destination_unknown":"Wir konnten diese Nummer nicht erkennen. Prüfen Sie sie und geben Sie sie mit Ländervorwahl erneut ein","otp.reason_otp_expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen Code an, um fortzufahren","otp.reason_otp_mismatch":"Der Code ist falsch. Prüfen Sie ihn und geben Sie ihn erneut ein","otp.reason_otp_rate_limited":"Zu viele Codes angefordert. Warten Sie einen Moment und versuchen Sie es dann erneut","otp.reason_otp_send_failed":"Wir konnten den Code nicht senden. Versuchen Sie es gleich noch einmal","otp.reason_payment_method_required":"Diese Verifizierungsmethode ist gerade nicht verfügbar. Wählen Sie einen anderen Weg, falls angeboten.","otp.reason_spend_cap_reached":"Diese Verifizierungsmethode ist gerade nicht verfügbar. Wählen Sie einen anderen Weg, falls angeboten.","otp.resend":"Code erneut senden","otp.resendBy":"Erneut per {channel} senden","otp.resendIn":"Code erneut senden in {seconds} s","otp.send":"Code senden","otp.sendBy":"Code per {channel} senden","otp.sendDescription":"Wir senden Ihnen einen Einmalcode, um zu bestätigen, dass diese Nummer Ihnen gehört","otp.sendTitle":"Bestätigen Sie Ihre Telefonnummer","otp.sentTo":"Wir haben einen 6-stelligen Code per {channel} an {number} gesendet","otp.verify":"Code bestätigen","otp.verifyDescription":"Geben Sie den 6-stelligen Code ein, den wir Ihnen gesendet haben, um Ihre Nummer zu bestätigen","otp.verifyTitle":"Bestätigungscode eingeben","reasons.camera_unavailable":"Für diese Verifizierung wird eine Kamera benötigt. Kehren Sie zu {org} zurück, um auf andere Weise fortzufahren.","reasons.capture_tampered":"Wir konnten auf diesem Gerät nicht fortfahren. Versuchen Sie es auf einem anderen Gerät oder in einem anderen Browser erneut.","reasons.clip_too_short":"Die Aufnahme war zu kurz","reasons.device_cooldown":"Zu viele Versuche. Versuchen Sie es später erneut.","reasons.device_velocity_exceeded":"Dieses Gerät kann derzeit nicht für eine weitere Verifizierung verwendet werden. Wenden Sie sich an die Organisation.","reasons.media_unreadable":"Die gesendete Aufnahme konnte nicht gelesen werden","reasons.mobile_required":"Fahren Sie auf Ihrem Smartphone fort, um das Selfie aufzunehmen.","reasons.no_face":"Bei der Prüfung wurde kein Gesicht erkannt","reasons.review_band":"Die automatische Prüfung war nicht eindeutig und wurde deshalb zur manuellen Prüfung weitergeleitet","reasons.spoof_detected":"Die Lebenderkennung konnte keine echte Person vor der Kamera bestätigen","reasons.tester_phone_mismatch":"Verwenden Sie die Telefonnummer, mit der sich die Testperson registriert hat","result.platform_unsupported":"Für diese Verifizierung wird eine Smartphone-App benötigt.","result.referenceLabel":"Referenzcode","section.contact":"Kontakt bestätigen","section.live_photo":"Live-Foto aufnehmen","section.screening":"Weitere Prüfungen","session.processing.age_estimation.description":"Das dauert nur ein paar Sekunden","session.processing.age_estimation.title":"Ihr Alter wird geprüft","session.processing.description":"Das dauert meist nur ein paar Sekunden. Das Ergebnis erscheint hier","session.processing.title":"Ihre Verifizierung wird bearbeitet","session.progressLabel":"Fortschritt der Verifizierung","session.requestedBy":"{orgName} bittet Sie, Ihre Identität zu bestätigen","session.result.approved.description":"Sie sind fertig. Sie können diese Seite schließen","session.result.approved.title":"Ihre Identität ist bestätigt","session.result.detailsMismatch":"Die Angaben stimmen nicht mit den Informationen von {org} überein. Wenden Sie sich an {org}.","session.result.deviceStop":"Wir konnten auf diesem Gerät nicht fortfahren. Versuchen Sie es auf einem anderen Gerät oder in einem anderen Browser erneut.","session.result.deviceVelocity":"Dieses Gerät kann derzeit nicht für eine weitere Verifizierung verwendet werden. Wenden Sie sich an {org}.","session.result.expired.description":"Fordern Sie bei der Organisation, die Ihnen den Link geschickt hat, einen neuen an und beginnen Sie von vorn","session.result.expired.title":"Diese Verifizierungssitzung ist abgelaufen","session.result.rejected.description":"Wenn Sie glauben, dass es sich um einen Fehler handelt, wenden Sie sich an die Organisation, die Ihnen diesen Link geschickt hat","session.result.rejected.title":"Ihre Identität konnte nicht bestätigt werden","session.result.review.description":"Das Ergebnis wird an die Organisation gesendet, die Ihnen diesen Link gegeben hat. Sie müssen nichts weiter tun.","session.result.review.title":"Ihre Verifizierung wird geprüft","session.title":"Bestätigen Sie Ihre Identität","shell.subtitle":"Identitätsverifizierung","shell.subtitleHuman":"Menschliche Verifizierung","shell.verifiedBy":"Verifiziert von Sekyro AI","unsupported.description":"Für diesen Schritt wird eine neuere Version dieser Seite benötigt. Wenden Sie sich an {org}.","unsupported.title":"Aktualisierung erforderlich"}});var bo={};en(bo,{DEFAULT_THEME:()=>Ie,DEFAULT_TIPS:()=>Ae,LivenessCapture:()=>Cr,NO_FACE_DEBOUNCE_MS:()=>Tn,SekyroThemeProvider:()=>Lr,VOICE_KEYS:()=>Ne,ar:()=>He,attemptsRemainingText:()=>sn,brandingToTheme:()=>wr,captureErrorStringKey:()=>rn,en:()=>ve,fr:()=>Be,hintStringKey:()=>tn,mergeThemes:()=>Ir,reasonStringKey:()=>on,resolveStrings:()=>cn,retryAfterTime:()=>an,themeToCssVars:()=>Nn});module.exports=Hr(bo);var y=require("react");var it=require("react");var st=require("react/jsx-runtime"),W=(0,it.forwardRef)(r(function({kind:n="primary",full:t=!1,className:a,type:o,...i},s){let l=["sekyro-btn",`sekyro-btn--${n}`];return t&&l.push("sekyro-btn--full"),a!==void 0&&l.push(a),(0,st.jsx)("button",{ref:s,type:o??"button",className:l.join(" "),...i})},"Button"));var de=require("react/jsx-runtime");var Br=Array.from({length:56},(e,n)=>{let t=n/56*2*Math.PI-Math.PI/2,a=Math.cos(t),o=Math.sin(t);return{id:`tick-${n}`,frac:n/55,x1:150+108*a,y1:150+108*o,x2:150+138*a,y2:150+138*o,style:{transitionDelay:`${n*6}ms`}}});function Fr(e,n,t,a){return t?"var(--sekyro-color-success)":e?a?"color-mix(in srgb, var(--sekyro-color-warning) 75%, transparent)":n<.33?"color-mix(in srgb, var(--sekyro-color-brand) 55%, transparent)":n<.66?"color-mix(in srgb, var(--sekyro-color-brand) 80%, transparent)":"var(--sekyro-color-brand)":"color-mix(in srgb, var(--sekyro-color-surface) 32%, transparent)"}r(Fr,"tickColor");var Gr="M0 -50 H300 V350 H0 Z M50 150 a100,100 0 1 0 200,0 a100,100 0 1 0 -200,0 Z";function ct({progress:e,phase:n,draining:t=!1}){let a=Math.min(1,Math.max(0,e)),o=Math.round(a*56),i=n==="checking",s=n==="recording",l=n==="frozen",S=i||l,I=i||s||l,x=n==="locked"||I,E=t&&!x;return(0,de.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 300 300",preserveAspectRatio:"xMidYMid meet",className:"sekyro-stage__arc","data-testid":"sekyro-capture-arc","data-phase":n,"data-filled":o,"data-recording":s?"":void 0,"data-draining":E?"":void 0,children:[(0,de.jsx)("path",{fillRule:"evenodd",d:Gr,fill:"color-mix(in srgb, var(--sekyro-color-fg) var(--sekyro-scrim, 96%), transparent)",style:{"--sekyro-scrim":S?"100%":"96%"},className:"sekyro-arc__scrim sekyro-capture-fade-in","data-testid":"sekyro-capture-scrim"}),(0,de.jsxs)("g",{className:n==="locked"?"sekyro-capture-settle":void 0,children:[(0,de.jsx)("g",{className:S?"sekyro-arc__ring sekyro-arc__ring--dim":"sekyro-arc__ring",children:Br.map((m,u)=>(0,de.jsx)("line",{x1:m.x1,y1:m.y1,x2:m.x2,y2:m.y2,stroke:Fr(u<o,m.frac,x,E),strokeWidth:3,strokeLinecap:"round",style:m.style,className:"sekyro-arc__tick"},m.id))}),(0,de.jsx)("g",{className:n==="seeking"?"sekyro-capture-breathe":void 0,children:(0,de.jsx)("circle",{cx:150,cy:150,r:100,fill:"none",stroke:x?"var(--sekyro-color-success)":"var(--sekyro-color-surface)",strokeWidth:x?3.5:2.5,className:I?"sekyro-arc__guide sekyro-arc__guide--spin sekyro-capture-ring-spin":"sekyro-arc__guide sekyro-capture-fade-in","data-testid":"sekyro-capture-guide"})})]})]})}r(ct,"CaptureArc");var ye=require("react");var ve={"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.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","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.result_from_cache":"The registry check was confirmed from a recent copy of the registry","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.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":"Keep your face in the frame the whole time, then try 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 confirm this browser session is genuine. Reload the page and 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.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"};var ut=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"}),Ur=new Map(Object.entries(ut).filter(([e])=>e.startsWith("reasons.")).map(([e,n])=>[n.slice(8),e.slice(8)]));function lt(e){return Ur.get(e)??e}r(lt,"genericReason");function dt(e,n){let t=e,a=n;for(let[o,i]of Object.entries(ut)){let s=a[o],l=a[i];typeof s!="string"&&typeof l=="string"?t[o]=l:typeof l!="string"&&typeof s=="string"&&(t[i]=s)}}r(dt,"aliasRenamedKeys");var He={"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.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":"أمسك الهاتف بشكل عمودي","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.result_from_cache":"أُكِّد فحص السجل استنادًا إلى نسخة حديثة من السجل","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.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.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.voiceGuidance":"الإرشاد الصوتي","capture.preparing.hint":"يجري إعداد كشف الوجه على جهازك. قد يستغرق ذلك لحظة على اتصال بطيء","capture.ready":"جاهز. ابدأ عندما تكون مستعدًا","fcv2.err.models":"تعذّر تحميل نماذج التعرف على الوجه. تحقق من اتصالك ثم أعد المحاولة"};var Be={"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.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","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.result_from_cache":"Le contrôle du registre a été confirmé à partir d'une copie récente du registre","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.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":"Gardez votre visage dans le cadre tout du long, puis réessayez.","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 confirmer l'authenticité de cette session de navigateur. Rechargez la page et 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.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"};var nn={},wn=r(e=>e==="es"||e==="pt"||e==="de","isOverlayLocale");function yt(e){return wn(e)?"en":e}r(yt,"baseLocale");function _t(e){return wn(e)?nn[e]:void 0}r(_t,"overlayOf");function In(e){return wn(e)&&nn[e]===void 0}r(In,"overlayPending");function bt(e){return In(e)?(e==="es"?Promise.resolve().then(()=>(mt(),pt)):e==="pt"?Promise.resolve().then(()=>(gt(),ft)):Promise.resolve().then(()=>(vt(),ht))).then(t=>{nn[e]=t.overlay},()=>{nn[e]={}}):Promise.resolve()}r(bt,"loadSekyroLocale");function tn(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";default:{let n=e;throw new Error(`hintStringKey: unhandled hint ${n}`)}}}r(tn,"hintStringKey");function kt(e){let n=`hints.${e}`;return Object.hasOwn(ve,n)?n:null}r(kt,"retakeHintStringKey");function rn(e){return`fcv2.err.${e}`}r(rn,"captureErrorStringKey");function on(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 n=`reasons.${lt(e)}`;return Object.hasOwn(ve,n)?n:null}}}r(on,"reasonStringKey");function an(e,n,t=new Date){if(n===void 0)return null;let a=new Date(n),o=a.getTime()-t.getTime();if(!Number.isFinite(o)||o<=0)return null;if(o<36e5){let l=Math.max(1,Math.ceil(o/6e4));return{key:"cooldown.retryIn",time:new Intl.RelativeTimeFormat(e,{numeric:"always"}).format(l,"minute")}}let i=a.toDateString()===t.toDateString();return{key:"cooldown.retryAt",time:new Intl.DateTimeFormat(e,{...i?{}:{day:"numeric",month:"long"},hour:"2-digit",minute:"2-digit"}).format(a)}}r(an,"retryAfterTime");function sn(e,n,t){let a=new Intl.PluralRules(n).select(t);return((a==="other"?void 0:e[`capture.attemptsRemaining.${a}`])??e["capture.attemptsRemaining.other"]).replace("{count}",new Intl.NumberFormat(n).format(t))}r(sn,"attemptsRemainingText");var St={ar:He,fr:Be,en:ve};function cn(e,n){let t=_t(e),a=t===void 0?St[yt(e)]:{...St.en,...t};if(n===void 0)return a;let o={...a};for(let i of Object.keys(n)){let s=n[i];typeof s=="string"&&(o[i]=s)}return dt(o,n),o}r(cn,"resolveStrings");function Ct(e){let[,n]=(0,ye.useState)(0),t=In(e);return(0,ye.useEffect)(()=>{if(!t)return;let a=!0;return bt(e).then(()=>a&&n(o=>o+1)),()=>{a=!1}},[e,t]),!t}r(Ct,"useLocaleReady");var wt=(0,ye.createContext)(e=>ve[e]??""),It=wt.Provider;function B(){return(0,ye.useContext)(wt)}r(B,"useStrings");var V=require("react/jsx-runtime");function Lt({videoRef:e,guidanceText:n,guidanceHint:t,guidanceKey:a,progress:o,phase:i,draining:s=!1,stillUrl:l,showChecking:S,onSwitchCamera:I,canSwitchCamera:x,operatorText:E=null,voicePrompt:m,overlay:u,reduceMotion:b=!1}){let h=B(),d=i==="checking",f=d||i==="frozen",L=f&&S?h("capture.checking"):n,N=m?.(t,L,a);return(0,V.jsxs)("div",{className:b?"sekyro-stage sekyro-capture-reduce":"sekyro-stage","data-testid":"sekyro-capture-stage",children:[(0,V.jsx)("video",{ref:e,playsInline:!0,muted:!0,className:"sekyro-stage__video","data-testid":"sekyro-capture-video"}),l!==null&&f?(0,V.jsx)("img",{src:l,alt:h("capture.previewAlt"),className:"sekyro-stage__still sekyro-capture-develop","data-testid":"sekyro-capture-still"}):null,(0,V.jsx)(ct,{progress:o,phase:i,draining:s}),u?.(e),N!=null&&!f?(0,V.jsx)("div",{className:"sekyro-stage__corner-start","data-testid":"sekyro-voice-slot",children:N}):null,x?(0,V.jsx)(W,{kind:"chip",onClick:I,"aria-label":h("capture.switchCamera"),className:"sekyro-stage__corner-end","data-testid":"sekyro-switch-camera",children:(0,V.jsx)(Yr,{})}):null,d&&S?(0,V.jsxs)("span",{className:"sekyro-stage__corner-end sekyro-stage__pill sekyro-capture-pill-in","data-testid":"sekyro-camera-off-pill",children:[(0,V.jsx)(Zr,{}),h("capture.cameraOff")]}):null,(0,V.jsxs)("p",{"aria-live":"polite",className:"sekyro-stage__guidance","data-testid":"sekyro-capture-guidance",children:[(0,V.jsx)("span",{className:"sekyro-stage__guidance-text sekyro-capture-text-in",children:L},L),f&&S?(0,V.jsx)("span",{className:"sekyro-stage__guidance-hint",children:h("capture.checkingHint")}):E!==null&&!f?(0,V.jsx)("span",{className:"sekyro-stage__guidance-hint","data-testid":"sekyro-operator-line",children:E}):null]})]})}r(Lt,"CaptureStage");function Yr(){return(0,V.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"sekyro-icon",children:[(0,V.jsx)("path",{d:"M4 7.5h2.2l1.4-1.9h8.8l1.4 1.9H20a1.6 1.6 0 0 1 1.6 1.6v8.3A1.6 1.6 0 0 1 20 19H4a1.6 1.6 0 0 1-1.6-1.6V9.1A1.6 1.6 0 0 1 4 7.5Z"}),(0,V.jsx)("path",{d:"M15.4 11.9a3.5 3.5 0 0 0-6.1-1.4M15.4 11.9h-2.1m2.1 0V9.8"}),(0,V.jsx)("path",{d:"M8.6 13.4a3.5 3.5 0 0 0 6.1 1.4M8.6 13.4h2.1m-2.1 0v2.1"})]})}r(Yr,"FlipCameraIcon");function Zr(){return(0,V.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"sekyro-icon sekyro-icon--sm",children:[(0,V.jsx)("path",{d:"M4 7.5h2.2l1.4-1.9h8.8l1.4 1.9H20a1.6 1.6 0 0 1 1.6 1.6v8.3A1.6 1.6 0 0 1 20 19H4a1.6 1.6 0 0 1-1.6-1.6V9.1A1.6 1.6 0 0 1 4 7.5Z"}),(0,V.jsx)("path",{d:"M3 3l18 18"})]})}r(Zr,"CameraOffIcon");var un=require("react");var ne=require("react/jsx-runtime");function xt({showCoaching:e,attemptsText:n,showRetake:t,onRetake:a}){let o=B(),i=(0,un.useRef)(null);return(0,un.useEffect)(()=>{t&&i.current?.focus()},[t]),!e&&!t?null:(0,ne.jsxs)("div",{className:"sekyro-stack sekyro-stack--3","data-testid":"sekyro-captured-panel",children:[e?(0,ne.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,ne.jsx)("p",{className:"sekyro-text-body",children:o("capture.retryCoaching.title")}),(0,ne.jsxs)("ul",{className:"sekyro-coaching",children:[(0,ne.jsx)("li",{children:o("capture.retryCoaching.light")}),(0,ne.jsx)("li",{children:o("capture.retryCoaching.eyeLevel")}),(0,ne.jsx)("li",{children:o("capture.retryCoaching.head")})]}),n!==null?(0,ne.jsx)("p",{className:"sekyro-text-muted","data-testid":"sekyro-attempts-remaining",children:n}):null]}):null,t?(0,ne.jsx)(W,{ref:i,className:"sekyro-btn--start",onClick:a,children:o("capture.recordAgain")}):null]})}r(xt,"CapturedPanel");function ln(){try{return process.env.NODE_ENV!=="production"}catch{return!1}}r(ln,"isDevBuild");var Et=require("react"),Rt=(0,Et.createContext)(null);var Z=require("react");var At=require("react/jsx-runtime");function X({tone:e,role:n,children:t,testId:a}){return(0,At.jsx)("div",{role:n??(e==="info"?"status":"alert"),className:`sekyro-notice sekyro-notice--${e}`,"data-testid":a,children:t})}r(X,"Notice");var Tt=require("react");var pe=require("react/jsx-runtime"),Qr=["user","environment"];function Vt({value:e,onChange:n}){let t=B(),a=(0,Tt.useId)();return(0,pe.jsxs)("fieldset",{className:"sekyro-segmented","data-testid":"sekyro-facing",children:[(0,pe.jsx)("legend",{className:"sekyro-segmented__legend",children:t("capture.cameraLabel")}),(0,pe.jsx)("div",{className:"sekyro-segmented__options",children:Qr.map(o=>(0,pe.jsxs)("label",{className:"sekyro-segmented__option",children:[(0,pe.jsx)("input",{type:"radio",className:"sekyro-segmented__input",name:a,value:o,checked:e===o,onChange:()=>n(o)}),(0,pe.jsxs)("span",{className:"sekyro-segmented__face",children:[(0,pe.jsx)("span",{className:"sekyro-segmented__dot","aria-hidden":"true"}),t(`capture.facing.${o}`)]})]},o))})]})}r(Vt,"FacingPicker");var g=require("react/jsx-runtime");function se({className:e,children:n}){return(0,g.jsx)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:e??"sekyro-icon sekyro-icon--sm",children:n})}r(se,"Svg");var Ln="M4 7.5h2.2l1.4-1.9h8.8l1.4 1.9H20a1.6 1.6 0 0 1 1.6 1.6v8.3A1.6 1.6 0 0 1 20 19H4a1.6 1.6 0 0 1-1.6-1.6V9.1A1.6 1.6 0 0 1 4 7.5Z";function Nt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,g.jsx)("path",{d:"M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M5.3 18.7l1.4-1.4M17.3 6.7l1.4-1.4"})]})}r(Nt,"SunIcon");function zt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,g.jsx)("path",{d:"M9 10h.01M15 10h.01M8.8 14.6a4.2 4.2 0 0 0 6.4 0"})]})}r(zt,"FaceUncoveredIcon");function Pt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("rect",{x:"7",y:"2.5",width:"10",height:"19",rx:"2"}),(0,g.jsx)("path",{d:"M10.5 18.5h3M2.5 9.5h2.5M19 9.5h2.5"}),(0,g.jsx)("circle",{cx:"12",cy:"9.5",r:"1.6"})]})}r(Pt,"PhoneEyeLevelIcon");function Ot(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:"M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z"}),(0,g.jsx)("circle",{cx:"12",cy:"12",r:"2.8"})]})}r(Ot,"LookStraightIcon");function Mt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:Ln}),(0,g.jsx)("path",{d:"M9 13l2 2 4-4"})]})}r(Mt,"CameraCheckIcon");function qt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:Ln}),(0,g.jsx)("path",{d:"M10.2 11.2a1.9 1.9 0 1 1 2.6 1.8c-.5.2-.8.6-.8 1.1v.3M12 16.4h.01"})]})}r(qt,"CameraAskIcon");function Dt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:Ln}),(0,g.jsx)("path",{d:"M3 3l18 18"})]})}r(Dt,"CameraBlockedIcon");function Re({off:e,className:n}){return(0,g.jsxs)(se,{className:n,children:[(0,g.jsx)("path",{d:"M4.5 9.5v5H8l4 3.5v-12L8 9.5H4.5Z"}),e?(0,g.jsx)("path",{d:"M4 4l16 16"}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("path",{d:"M15.5 9.7a3.6 3.6 0 0 1 0 4.6"}),(0,g.jsx)("path",{d:"M18 7.6a6.6 6.6 0 0 1 0 8.8"})]})]})}r(Re,"SpeakerIcon");function Kt(e){return(0,g.jsx)(se,{...e,children:(0,g.jsx)("path",{d:"M5 12.5l4.5 4.5L19 7.5"})})}r(Kt,"CheckIcon");function Ht(e){return(0,g.jsxs)(se,{className:e.className??"sekyro-spinner",children:[(0,g.jsx)("circle",{cx:"12",cy:"12",r:"9",opacity:"0.25"}),(0,g.jsx)("path",{d:"M21 12a9 9 0 0 0-9-9"})]})}r(Ht,"SpinnerIcon");var dn=require("react");var _e=require("react/jsx-runtime");function Bt({state:e}){let n=B(),[t,a]=(0,dn.useState)(!1);(0,dn.useEffect)(()=>{e!=="unknown"&&a(!0)},[e]);let o=e==="granted"?(0,_e.jsx)(Mt,{}):e==="denied"?(0,_e.jsx)(Dt,{}):(0,_e.jsx)(qt,{});return(0,_e.jsxs)("div",{role:t?"status":void 0,className:`sekyro-permission sekyro-permission--${e}`,"data-testid":"sekyro-permission","data-state":e,children:[(0,_e.jsx)("span",{className:"sekyro-permission__icon","aria-hidden":"true",children:o}),(0,_e.jsx)("span",{children:n(`capture.permission.${e}`)})]})}r(Bt,"PermissionRow");var Ft=require("react");var J=require("react/jsx-runtime"),Ae=["light","uncover","eyeLevel","straight"],Xr={light:{key:"capture.tips.light",icon:r(()=>(0,J.jsx)(Nt,{}),"icon")},uncover:{key:"capture.tips.uncover",icon:r(()=>(0,J.jsx)(zt,{}),"icon")},eyeLevel:{key:"capture.tips.eyeLevel",icon:r(()=>(0,J.jsx)(Pt,{}),"icon")},straight:{key:"capture.tips.straight",icon:r(()=>(0,J.jsx)(Ot,{}),"icon")}};function Gt({tips:e}){let n=B(),t=(0,Ft.useId)();return e.length===0?null:(0,J.jsxs)("section",{className:"sekyro-tips","aria-labelledby":t,"data-testid":"sekyro-tips",children:[(0,J.jsx)("p",{className:"sekyro-tips__title",id:t,children:n("capture.tips.title")}),(0,J.jsx)("ul",{className:"sekyro-tips__list",children:e.map(a=>{let o=typeof a=="string"?Xr[a]:void 0,i=typeof a=="string"?a:a.id,s=o!==void 0?o.icon():typeof a=="string"?void 0:a.icon,l=o!==void 0?n(o.key):typeof a=="string"?a:a.text;return(0,J.jsxs)("li",{className:"sekyro-tips__item",children:[s!=null?(0,J.jsx)("span",{className:"sekyro-tips__icon","aria-hidden":"true",children:s}):null,(0,J.jsx)("span",{children:l})]},i)})})]})}r(Gt,"TipList");var be=require("react/jsx-runtime");function Ut({voice:e}){let n=B();if(!e.supported)return null;let t=e.enabled;return(0,be.jsxs)("button",{type:"button",role:"switch","aria-checked":t,className:"sekyro-switch","data-testid":"sekyro-voice-switch",onClick:()=>e.toggle(),children:[(0,be.jsxs)("span",{className:"sekyro-switch__label",children:[(0,be.jsx)(Re,{off:!t}),n("capture.voiceGuidance")]}),(0,be.jsx)("span",{className:"sekyro-switch__track","aria-hidden":"true",children:(0,be.jsx)("span",{className:"sekyro-switch__thumb",children:t?(0,be.jsx)(Kt,{className:"sekyro-switch__check"}):null})})]})}r(Ut,"VoiceSwitch");var A=require("react/jsx-runtime");function Wt({assets:e,onRetryAssets:n,permission:t,captureMode:a="self",canChooseFacing:o,facing:i,onFacingChange:s,voice:l,tips:S,summary:I,startLabel:x,startDisabled:E,onStart:m}){let u=B(),b=(0,Z.useRef)(I?.stop);b.current=I?.stop,(0,Z.useEffect)(()=>()=>b.current?.(),[]);let h=(0,Z.useRef)(null),d=(0,Z.useRef)(null),T=(0,Z.useRef)(null),f=(0,Z.useRef)(e),L=(0,Z.useRef)(!1);(0,Z.useEffect)(()=>{let c=f.current;if(f.current=e,c===e)return;let O=L.current;e!=="loading"&&(L.current=!1),Jr(h.current)&&(e==="failed"?T.current?.focus():O&&d.current?.focus())},[e]);let N=(0,Z.useCallback)(()=>{L.current=!0,n()},[n]),G=e==="loading",p=G||E,Y=(0,Z.useCallback)(()=>{p||(b.current?.(),m())},[p,m]),U;e==="failed"?U=(0,A.jsxs)(X,{tone:"danger",testId:"sekyro-assets-error",children:[(0,A.jsx)("p",{className:"sekyro-text-body",children:u("fcv2.err.models")}),(0,A.jsx)(W,{kind:"ghost",ref:T,className:"sekyro-btn--start",onClick:N,"data-testid":"sekyro-assets-retry",children:u("common.retry")})]}):U=(0,A.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,A.jsx)(W,{ref:d,full:!0,"data-testid":"sekyro-start","aria-disabled":p?"true":void 0,"aria-busy":G?"true":void 0,onClick:Y,children:G?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(Ht,{}),u("capture.preparing.title")]}):x??u("capture.start")}),G?(0,A.jsx)("p",{className:"sekyro-text-muted",children:u("capture.preparing.hint")}):null]});let Q=a==="assisted";return(0,A.jsxs)("div",{ref:h,className:"sekyro-stack sekyro-stack--4","data-testid":"sekyro-intro","data-assets":e,children:[Q?(0,A.jsxs)("div",{className:"sekyro-stack sekyro-stack--1","data-testid":"sekyro-assisted-intro",children:[(0,A.jsx)("h2",{className:"sekyro-text-body",children:u("capture.assisted.title")}),(0,A.jsx)("p",{className:"sekyro-text-muted",children:u("capture.assisted.lead")})]}):null,S!==!1?(0,A.jsx)(Gt,{tips:S}):null,I!==void 0?(0,A.jsxs)(W,{kind:"ghost",className:"sekyro-btn--start",onClick:I.toggle,"data-testid":"sekyro-tips-listen",children:[(0,A.jsx)(Re,{off:!1}),u(I.playing?"capture.tips.stop":"capture.tips.listen")]}):null,(0,A.jsx)(Bt,{state:t}),Q&&o?(0,A.jsx)(Vt,{value:i,onChange:s}):null,(0,A.jsx)(Ut,{voice:l}),(0,A.jsx)("p",{className:"sekyro-text-muted",children:u("capture.securityNote")}),U,(0,A.jsx)("p",{role:"status",className:"sekyro-visually-hidden","data-testid":"sekyro-intro-status",children:e==="loading"?u("capture.preparing.title"):e==="ready"?u("capture.ready"):""})]})}r(Wt,"PreCaptureScreen");function Jr(e){if(typeof document>"u")return!1;let n=document.activeElement;return n===null||n===document.body||e!==null&&e.contains(n)}r(Jr,"focusIsOurs");var me=require("react");var jt=require("react");function pn(){return(0,jt.useCallback)(e=>{e?.focus()},[])}r(pn,"useFocusOnMount");var F=require("react/jsx-runtime"),eo=220;function $t({title:e,description:n,options:t,busy:a,error:o,focus:i,testId:s,look:l="cards",marked:S,onChoose:I}){let x=(0,me.useId)(),E=pn(),[m,u]=(0,me.useState)(null),b=(0,me.useRef)(null);(0,me.useEffect)(()=>{o!==null&&u(null)},[o]),(0,me.useEffect)(()=>()=>{b.current!==null&&clearTimeout(b.current)},[]);let h=r(d=>{a||m!==null||(u(d),b.current=setTimeout(()=>{b.current=null,u(null),I(d)},eo))},"choose");return(0,F.jsxs)("section",{className:"sekyro-stack sekyro-stack--4 sekyro-choice","aria-labelledby":x,"data-testid":s,children:[(0,F.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,F.jsx)("h2",{id:x,ref:i?E:void 0,tabIndex:-1,className:"sekyro-text-body",children:e}),n!==void 0&&n!==""?(0,F.jsx)("p",{className:"sekyro-text-muted",children:n}):null]}),o!==null?(0,F.jsx)(X,{tone:"danger",children:(0,F.jsx)("span",{children:o})}):null,l==="buttons"?(0,F.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:t.map((d,T)=>(0,F.jsx)(W,{kind:T===0?"primary":"ghost",full:!0,disabled:a,"aria-busy":a||void 0,onClick:()=>I(d.id),children:d.label},d.id))}):(0,F.jsx)("div",{className:"sekyro-choices",children:t.map(d=>(0,F.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":(m??S)===d.id,"aria-busy":a||void 0,disabled:a||m!==null&&m!==d.id,onClick:()=>h(d.id),children:[d.glyph,(0,F.jsxs)("span",{className:"sekyro-card__body",children:[(0,F.jsx)("span",{className:"sekyro-card__title",children:d.label}),d.sub!==void 0?(0,F.jsx)("span",{className:"sekyro-card__sub",children:d.sub}):null]}),(0,F.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},d.id))})]})}r($t,"ChoiceScreen");var mn=require("@sekyro/web"),Te=require("react");function Yt(){let[e,n]=(0,Te.useState)({state:"unknown",settled:!1}),[t,a]=(0,Te.useState)({canChoose:!1,settled:!1});return(0,Te.useEffect)(()=>(0,mn.subscribeCameraPermission)(o=>n({state:o,settled:!0})),[]),(0,Te.useEffect)(()=>{let o=!0;return(0,mn.hasMultipleCameras)().then(i=>{o&&a({canChoose:i,settled:!0})},()=>{o&&a({canChoose:!1,settled:!0})}),()=>{o=!1}},[]),{permission:e.state,permissionSettled:e.settled,canChooseFacing:t.canChoose,facingSettled:t.settled}}r(Yt,"useCameraStatus");var ke=require("react");function Zt(e){return Xt(e,"mobileRequired")}r(Zt,"useMobileRequired");function Qt(e){return Xt(e,"returning").required}r(Qt,"useReturning");function Xt(e,n){let[t,a]=(0,ke.useState)({required:!1,settled:e===void 0});return(0,ke.useEffect)(()=>{let o=e?.[n];if(e===void 0||typeof o!="function"){a({required:!1,settled:!0});return}let i=!0;return a({required:!1,settled:!1}),Promise.resolve().then(()=>o.call(e)).then(s=>{i&&a({required:s===!0,settled:!0})},()=>{i&&a({required:!1,settled:!0})}),()=>{i=!1}},[e,n]),t}r(Xt,"useFlag");function Jt(e){let[n,t]=(0,ke.useState)({mode:"self",settled:e===void 0});return(0,ke.useEffect)(()=>{let a=e?.captureMode;if(e===void 0||typeof a!="function"){t({mode:"self",settled:!0});return}let o=!0;return t({mode:"self",settled:!1}),Promise.resolve().then(()=>a.call(e)).then(i=>{o&&t({mode:i==="assisted"?"assisted":"self",settled:!0})},()=>{o&&t({mode:"self",settled:!0})}),()=>{o=!1}},[e]),n}r(Jt,"useCaptureMode");function er(e){let[n,t]=(0,ke.useState)(!1);return(0,ke.useEffect)(()=>{if(t(!1),e===void 0)return;let a=e.on("busy",()=>t(!0)),o=e.on("result",()=>t(!1));return()=>{a(),o()}},[e]),n}r(er,"useBusy");var nr=require("@sekyro/web");var rr=require("react/jsx-runtime");function tr({colour:e}){return e===null?null:(0,rr.jsx)("div",{"aria-hidden":"true","data-testid":"sekyro-screen-ramp","data-colour":e,style:{position:"fixed",inset:0,pointerEvents:"none",backgroundColor:(0,nr.screenRampColourValue)(e)}})}r(tr,"ScreenRampLayer");var Ve=require("@sekyro/web"),$=require("react");var no=r(()=>"idle","serverSnapshot");function or(e){return(0,Ve.preloadLivenessAssets)(e!==void 0?{assetBaseUrl:e}:{})}r(or,"preload");function ar(e,n=!0){let t=(0,$.useSyncExternalStore)((0,$.useCallback)(E=>(0,Ve.subscribeLivenessAssets)(E,e),[e]),()=>(0,Ve.getLivenessAssetsStatus)(e),no),[a,o]=(0,$.useState)(null),i=(0,$.useRef)(!1),s=(0,$.useCallback)(()=>{or(e).then(E=>{i.current&&E==="idle"&&o({base:e})})},[e]);(0,$.useEffect)(()=>(i.current=!0,s(),()=>{i.current=!1}),[s]);let l=(0,$.useRef)(null);(0,$.useEffect)(()=>{if(t!=="idle"){l.current={base:e};return}!n||l.current===null||l.current.base!==e||(l.current=null,s())},[t,e,s,n]);let S=(0,$.useCallback)(()=>{or(e)},[e]);return{gate:a!==null&&a.base===e&&t==="idle"||t==="ready"?"ready":t==="failed"?"failed":"loading",retry:S}}r(ar,"useLivenessAssets");var sr=require("@sekyro/web"),R=require("react");var ir={progress:0,hint:null,faceDetected:!1};function cr(e){let{videoRef:n,assetBaseUrl:t}=e,o=(0,R.useRef)(e.verification).current,i=(0,R.useRef)(!1);e.verification!==o&&!i.current&&ln()&&(i.current=!0,console.warn("[@sekyro/react] <LivenessCapture>: the `verification` prop changed identity after mount. The first instance stays bound (the camera is not rebuilt); create the verification once (useMemo / useState / outside render) instead of on every render."));let s=(0,R.useRef)(null),[l,S]=(0,R.useState)("idle"),[I,x]=(0,R.useState)(ir),[E,m]=(0,R.useState)(!1),[u,b]=(0,R.useState)(!1),[h,d]=(0,R.useState)(null),[T,f]=(0,R.useState)(!1),[L,N]=(0,R.useState)(null),[G,p]=(0,R.useState)(null),[Y,U]=(0,R.useState)(null),[Q,c]=(0,R.useState)(null),[O,z]=(0,R.useState)(null),M=(0,R.useRef)(null),D=(0,R.useRef)("idle"),te=(0,R.useRef)(e);te.current=e,(0,R.useEffect)(()=>{let K=n.current;if(K===null)return;let k={video:K,...t!==void 0?{assetBaseUrl:t}:{}},H=o!==void 0?o.liveness(k):(0,sr.createLivenessCapture)(k);s.current=H;let ue=r(()=>z(H.facingMode??null),"readFacing");ue();let P=[H.on("state",w=>{w==="starting"?(p(null),U(null),x(ir),b(!1),m(!1),d(null),N(null),M.current=null):w==="gating"&&D.current==="recording"&&(b(!1),m(!1),d(null),M.current=null),D.current=w,ue(),S(w),te.current.onStateChange?.(w)}),H.on("gate",w=>{let Le=M.current;M.current=w.progress,m(Le!==null&&w.progress<Le-.001&&w.progress>0&&w.progress<1),w.progress>=1&&b(!0),x(w)}),H.on("frozen",({previewDataUrl:w})=>d(w)),H.on("profile",({animations:w})=>f(w==="reduced")),H.on("ramp",({colour:w})=>N(w)),H.on("captured",w=>{p(w),c(null),te.current.onCaptured?.(w)}),H.on("error",w=>{U(w),te.current.onError?.(w)}),o?.on("result",w=>{c(w),te.current.onResult?.(w)})];return()=>{for(let w of P)w?.();s.current=null,H.destroy()}},[o,n,t]);let Se=(0,R.useCallback)(K=>{s.current?.start(K)},[]),q=(0,R.useCallback)(()=>{s.current?.retry()},[]),re=(0,R.useCallback)(()=>{let K=s.current,k=K?.switchCamera()===!0;return k&&(z(K?.facingMode??null),b(!1),m(!1),d(null),M.current=null),k},[]);return{state:l,gate:I,draining:E,gateLocked:u,frozenPreview:h,reduceMotion:T,rampColour:L,artifacts:G,error:Y,result:Q,facingMode:O,start:Se,retry:q,switchCamera:re}}r(cr,"useLivenessHandle");var fe=require("react");var to=new Set(["national_number"]);function ur(e){if(e==null||!e.available||e.selected!==null)return null;let n=e.options.filter(t=>to.has(t));return n.length>0?{...e,options:n}:null}r(ur,"pending");function lr(e){let[n,t]=(0,fe.useState)(null),[a,o]=(0,fe.useState)(e===void 0),[i,s]=(0,fe.useState)(!1),[l,S]=(0,fe.useState)(!1);(0,fe.useEffect)(()=>{if(t(null),e===void 0){o(!0);return}let m=!0,u=e.methodChoice;typeof u=="function"?(o(!1),Promise.resolve().then(()=>u.call(e)).then(h=>{m&&t(ur(h))},()=>{}).finally(()=>{m&&o(!0)})):o(!0);let b=e.on("method",h=>t(ur(h)));return()=>{m=!1,b()}},[e]);let I=(0,fe.useCallback)(async m=>{if(e===void 0)return!1;s(!0),S(!1);try{return await e.selectMethod(m),t(null),!0}catch{return S(!0),!1}finally{s(!1)}},[e]),x=n!==null&&n.options.length===1?n.options[0]:null;return{choice:n,auto:x==="national_number"&&!l?x:null,settled:a,busy:i,failed:l,select:I}}r(lr,"useMethodChoice");var ze=require("react");var Ne=["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","capture.tips.summary"];function we(e){return e!==null&&Ne.includes(e)}r(we,"isVoiceKey");var ro=["ar","fr","en"];function oo(e){if(typeof e!="string")return!1;try{let n=new URL(e);return n.protocol==="https:"||n.protocol==="http:"&&/^(localhost|127\.0\.0\.1)$/.test(n.hostname)}catch{return!1}}r(oo,"isClipUrl");function ao(e){let n=e.clips;if(typeof n!="object"||n===null)return null;let t={};for(let a of ro){let o=n[a];if(!(typeof o!="object"||o===null))for(let[i,s]of Object.entries(o))!we(i)||!oo(s)||((t[a]??(t[a]={}))[i]=s)}return Object.keys(t).length>0?t:null}r(ao,"toVoiceClipMap");function dr(e){let[n,t]=(0,ze.useState)(null);(0,ze.useEffect)(()=>{if(t(null),e===void 0)return;let o=!0,i=r(l=>{if(!o)return;let S=typeof l=="object"&&l!==null&&typeof l.setId=="string"?l:null;t(I=>I?.setId===S?.setId?I:S)},"take");try{typeof e.voiceClips=="function"&&Promise.resolve(e.voiceClips()).then(i,()=>i(null))}catch{i(null)}let s=e.on("view",l=>i(l.voice));return()=>{o=!1,s()}},[e]);let a=(0,ze.useMemo)(()=>n!==null?ao(n):null,[n]);return e===void 0?null:a}r(dr,"useServerVoiceClips");var xn=require("react/jsx-runtime");function pr({voice:e}){let n=B();return(0,xn.jsx)(W,{kind:"chip","aria-pressed":e.enabled,"aria-label":n("capture.voiceGuidance"),"data-testid":"sekyro-voice-toggle",onClick:()=>e.toggle(),children:(0,xn.jsx)(Re,{off:!e.enabled,className:"sekyro-icon"})})}r(pr,"VoiceChip");var v=require("react");var io=r((e,n)=>Object.prototype.hasOwnProperty.call(e,n),"own");function Pe(e,n,t){let a;try{if(typeof e=="function")a=e(n,t);else{let o=e[t];a=o!=null&&io(o,n)?o[n]:null}}catch{return null}return typeof a=="string"&&a!==""?a:null}r(Pe,"resolveClip");var so="UklGRiQAAABXQVZFZm10IBAAAAABAAEAESsAACJWAAACABAAZGF0YQAAAAA=",gr={ar:"ar-SA",fr:"fr-FR",en:"en-US",es:"es-ES",pt:"pt-BR",de:"de-DE"};function ce(){return typeof window<"u"&&"speechSynthesis"in window?window.speechSynthesis:null}r(ce,"synth");function co(){return ce()!==null&&typeof SpeechSynthesisUtterance=="function"}r(co,"speechAvailable");function mr(e){return(e.split(/[-_]/)[0]??e).toLowerCase()}r(mr,"baseLang");function hr(e,n){let t=r(o=>o.replace(/_/g,"-").toLowerCase(),"norm"),a=mr(n);return e.find(o=>t(o.lang)===t(n))??e.find(o=>mr(o.lang)===a)}r(hr,"pickVoice");function vr(e){if(!co())return!1;let n=[];try{n=ce()?.getVoices()??[]}catch{return!0}return n.length===0||hr(n,e)!==void 0}r(vr,"speechUsable");function yr(e){let n=ce();return n===null||typeof n.addEventListener!="function"?()=>{}:(n.addEventListener("voiceschanged",e),()=>n.removeEventListener?.("voiceschanged",e))}r(yr,"subscribeVoices");function Fe(e){try{let n=typeof location<"u"?location.href:"http://localhost/",t=new URL(e,n);return`clip:${t.origin}${t.pathname}`}catch{return`clip:${e}`}}r(Fe,"clipIdentity");function fr(e){e.pause(),e.removeAttribute("src"),e.load()}r(fr,"release");function _r(){let e=null,n=null,t=0,a=null,o=[],i=new Map,s=r(()=>{o=ce()?.getVoices()??[]},"loadVoices"),l=!1,S=r(()=>{let u=ce();l||u===null||(l=!0,s(),u.addEventListener?.("voiceschanged",s))},"bindVoices"),I=r(()=>(e??(e=new Audio),e),"element"),x=r((u,b,h)=>{let d=ce();if(d!==null&&u!==""&&typeof SpeechSynthesisUtterance=="function"){S();let T=hr(o,b);if(o.length===0||T!==void 0){d.cancel();let f=new SpeechSynthesisUtterance(u);f.lang=b,T!==void 0&&(f.voice=T),f.rate=.95,h!==void 0&&(f.onend=f.onerror=h),d.speak(f);return}}h?.()},"speak"),E=r(()=>{t+=1,a=null,e!==null&&(e.pause(),e.currentTime=0),ce()?.cancel()},"stop"),m=r(u=>{for(let b of u){let h=Fe(b);if(i.has(h))continue;let d=new Audio;d.preload="auto",d.src=b,i.set(h,d)}},"warmClips");return{say(u){let b=u.url!==null?Fe(u.url):`tts:${u.lang}:${u.text}`;if(b===a)return;a=b,t+=1;let h=t,d=u.onEnd,T=d!==void 0?()=>{h===t&&d()}:void 0;if(ce()?.cancel(),u.url!==null){let f=I();f.pause(),f.muted=!1,f.src=u.url,f.currentTime=0,f.onended=T??null,f.play()?.catch(L=>{h===t&&L?.name!=="AbortError"&&(u.speech?x(u.text,u.lang,T):T?.())});return}u.speech?x(u.text,u.lang,T):T?.()},unlock({lang:u,speech:b,prefetch:h}){let d=I();if(n===null&&typeof Blob=="function"&&typeof URL.createObjectURL=="function"){let L=Uint8Array.from(atob(so),N=>N.charCodeAt(0));n=URL.createObjectURL(new Blob([L],{type:"audio/wav"}))}let T=d.paused===!1&&n!==null&&d.src!==n;n!==null&&!T&&(d.muted=!0,d.onended=null,d.src=n,d.play()?.catch(()=>{}));let f=ce();if(b&&f!==null&&typeof SpeechSynthesisUtterance=="function"){S();let L=new SpeechSynthesisUtterance(" ");L.volume=0,L.lang=u,f.speak(L)}m(h??[])},prefetch:m,stop:E,dispose(){E(),l&&ce()?.removeEventListener?.("voiceschanged",s),l=!1,n!==null&&URL.revokeObjectURL(n),n=null,e!==null&&fr(e),e=null;for(let u of i.values())fr(u);i.clear()}}}r(_r,"createVoicePlayer");var br="sekyro.voiceGuidance";function kr(e){try{if(typeof window>"u")return null;let n=window.localStorage.getItem(e);return n==="1"?!0:n==="0"?!1:null}catch{return null}}r(kr,"readVoicePreference");function Sr(e,n){try{if(typeof window>"u")return;window.localStorage.setItem(e,n?"1":"0")}catch{}}r(Sr,"writeVoicePreference");var Ge="capture.tips.summary",uo=typeof window<"u"?v.useLayoutEffect:v.useEffect,lo=Object.freeze({});function En(e,n){let t=new Set,a=[];for(let o of Ne){let i=o===Ge?null:Pe(e,o,n);i===null||t.has(Fe(i))||(t.add(Fe(i)),a.push(i))}return a}r(En,"resolvedClipUrls");function Rn({locale:e,defaultClips:n,options:t}){let a=t===!1,o=a?{}:t??{},i=o.storageKey===void 0?br:o.storageKey,[s,l]=(0,v.useState)(o.defaultEnabled??!0),S=(0,v.useRef)(s),[I,x]=(0,v.useState)(!1),[E,m]=(0,v.useState)("none"),[u,b]=(0,v.useState)(!1),h=(0,v.useRef)(!1),[d,T]=(0,v.useState)(0),f=(0,v.useRef)(null),L=(0,v.useCallback)(()=>(f.current??(f.current=_r()),f.current),[]),N=gr[e],G=o.speechFallback,p=G===void 0||G===!0?!0:G===!1?!1:G.includes(e),Y=o.clips??n??lo,U=(0,v.useRef)(!1),Q=(0,v.useRef)(Y);uo(()=>{Q.current=Y,S.current=s}),(0,v.useEffect)(()=>{if(a||i===null)return;let k=kr(i);k!==null&&(S.current=k,l(k))},[a,i]),(0,v.useEffect)(()=>{if(!(a||!p))return yr(()=>T(k=>k+1))},[a,p]);let c=o.clips;(0,v.useEffect)(()=>{if(a)return;let k=p&&vr(N);x(En(Y,e).length>0||k),m(c!==void 0&&Pe(c,Ge,e)!==null?"partner":Pe(Y,Ge,e)!==null||k?"default":"none")},[a,Y,c,e,p,N,d]),(0,v.useEffect)(()=>{if(a||!s||!U.current)return;let k=En(Y,e);k.length>0&&L().prefetch(k)},[a,s,Y,e,L]),(0,v.useEffect)(()=>()=>{f.current?.dispose(),f.current=null,U.current=!1},[]);let O=(0,v.useCallback)(k=>{a||(U.current=!0,L().unlock({lang:N,speech:p,...k?{prefetch:En(Q.current,e)}:{}}))},[a,L,N,p,e]),z=(0,v.useCallback)(()=>O(S.current),[O]),M=(0,v.useCallback)(()=>{h.current=!1,b(!1)},[]),D=(0,v.useCallback)(()=>{M(),f.current?.stop()},[M]),te=(0,v.useCallback)(()=>{h.current&&D()},[D]),Se=(0,v.useCallback)((k,H)=>{if(a)return;if(h.current){D();return}let ue=L();ue.stop(),h.current=!0,b(!0);let P=H?.clip===!1?null:Pe(Q.current,Ge,e);ue.say({url:P,text:k,lang:N,speech:p,onEnd:M})},[a,D,L,e,N,p,M]),q=(0,v.useCallback)(k=>{a||(k?O(!0):D(),i!==null&&Sr(i,k),S.current=k,l(k))},[a,O,D,i]),re=(0,v.useCallback)(()=>q(!S.current),[q]),K=(0,v.useCallback)((k,H)=>{if(a||!s)return;h.current&&M();let ue=Pe(Q.current,k,e);L().say({url:ue,text:H,lang:N,speech:p})},[a,s,e,L,N,p,M]);return(0,v.useMemo)(()=>({supported:!a&&I,enabled:!a&&s,setEnabled:q,toggle:re,unlock:z,speakKey:K,stop:D,summary:a?"none":E,summaryPlaying:u,toggleSummary:Se,stopSummary:te}),[a,I,s,q,re,z,K,D,E,u,Se,te])}r(Rn,"useVoiceGuidance");function An(e,n,t,a){let{speakKey:o,stop:i,enabled:s}=e,l=(0,v.useRef)(!1);(0,v.useEffect)(()=>{if(!a||!s){l.current&&i(),l.current=!1;return}l.current=!0,we(n)&&n!==Ge&&t!==""&&o(n,t)},[a,s,n,t,o,i])}r(An,"useSpeakGuidance");var _=require("react/jsx-runtime"),Tn=800;function po(e){return e===void 0||e!==!1&&e.length===Ae.length&&Ae.every(n=>e.includes(n))}r(po,"isDefaultTips");function mo(e){if(e.type==="keydown"&&e.key==="Escape")return!1;let n=globalThis.navigator?.userActivation;return n===void 0?!(e.type==="pointerup"&&e.pointerType==="touch"):n.isActive}r(mo,"carriesActivation");function fo(e){return typeof e=="object"&&e!==null&&!(0,y.isValidElement)(e)&&"tone"in e&&"text"in e}r(fo,"isNoticeObject");function go(e){return e==="starting"||e==="gating"||e==="recording"}r(go,"isCapturing");function ho(e){return e==="captured"||e==="uploading"||e==="checking"}r(ho,"isPostCapture");function Cr({verification:e,locale:n,dir:t,strings:a,slots:o,autoStart:i=!1,notice:s,startDisabled:l=!1,startLabel:S,tips:I,tipsSummary:x,coach:E,voice:m,onGuidance:u,onCaptured:b,onResult:h,onError:d,onStateChange:T,assetBaseUrl:f,className:L}){let N=Ct(n),G=(0,y.useMemo)(()=>cn(n,a),[n,a,N]),p=(0,y.useMemo)(()=>C=>G[C]??"",[G]),Y=t??(n==="ar"?"rtl":"ltr"),U=(0,y.useRef)(null),Q=(0,y.useContext)(Rt),c=cr({verification:e,videoRef:U,assetBaseUrl:f,onCaptured:b,onResult:h,onError:d,onStateChange:T}),O=ar(f,c.state==="idle"&&c.error===null),z=lr(e),M=z.choice!==null,D=Zt(e),te=Qt(e),Se=er(e),q=Yt(),re=Jt(e),K=re.mode==="assisted",k=K&&q.canChooseFacing,H=m!==!1&&m?.clips===void 0,ue=dr(H?e:void 0),P=Rn({locale:n,defaultClips:ue,options:m}),[w,Le]=(0,y.useState)(null),oe=K?w??(q.canChooseFacing?"environment":"user"):"user",zn=re.settled&&(!K||q.facingSettled),Pn=(0,y.useRef)(null),Ue=(0,y.useRef)(!1),On=(0,y.useRef)(P.unlock);On.current=P.unlock,(0,y.useEffect)(()=>{let C=Pn.current;if(C===null)return;let ie=["pointerup","touchend","click","keydown"],he=r(()=>{for(let Ke of ie)C.removeEventListener(Ke,Ee,!0)},"disarm");function Ee(Ke){if(Ue.current){he();return}mo(Ke)&&(Ue.current=!0,he(),On.current())}r(Ee,"onGesture");for(let Ke of ie)C.addEventListener(Ke,Ee,{capture:!0,passive:!0});return he},[]);let Mn=(0,y.useCallback)(()=>{Ue.current||(Ue.current=!0,P.unlock()),c.start({facing:oe})},[P.unlock,c.start,oe]),qn=(0,y.useCallback)(()=>c.start({facing:oe}),[c.start,oe]),We=(0,y.useRef)(!1),Oe=c.state==="idle"&&c.error===null,Dn=!M&&!D.required&&(i===!0||i==="when-permitted"&&q.permission==="granted"),Kn=Dn&&z.settled&&D.settled&&zn,Er=i==="when-permitted"&&!q.permissionSettled&&!We.current,Hn=Dn&&Oe&&!We.current,gn=(Er||Hn||!zn)&&O.gate==="ready"?"loading":O.gate;(0,y.useEffect)(()=>{!Kn||!Oe||O.gate!=="ready"||We.current||(We.current=!0,qn())},[Kn,Oe,O.gate,qn]);let Rr=Oe&&!M&&!D.required&&!(Hn&&O.gate==="ready"),Bn=(0,y.useCallback)(()=>{c.switchCamera()&&Le(oe==="user"?"environment":"user")},[c.switchCamera,oe]),Fn=c.state!=="idle"&&c.facingMode!==null?c.facingMode:oe;(0,y.useEffect)(()=>{let C=U.current?.style;Fn==="user"?C?.removeProperty("transform"):C&&(C.transform="none")},[Fn]);let je=(0,y.useMemo)(()=>c.artifacts!==null&&typeof URL.createObjectURL=="function"?URL.createObjectURL(c.artifacts.keyframe):null,[c.artifacts]);(0,y.useEffect)(()=>{if(je!==null)return()=>URL.revokeObjectURL(je)},[je]);let Gn=c.frozenPreview??je,xe=e!==void 0,j=go(c.state),ge=ho(c.state),$e=j||ge,ee=c.result,Un=c.state==="done"&&ee!==null,Wn=c.state==="recording"&&c.frozenPreview!==null,hn=Q!==null,Me=ge||Wn,jn=ge?"checking":Wn?"frozen":c.state==="recording"?"recording":c.gateLocked||c.gate.progress>=1?"locked":c.gate.faceDetected?"aligning":"seeking",Ye=j?c.gate.hint:null,Ze=c.state==="starting"?"capture.preparing.title":Ye===null?null:Ye==="center"&&!c.gate.faceDetected?"fcv3.no_face":tn(Ye),[Ar,$n]=(0,y.useState)(null);(0,y.useEffect)(()=>{if(Ze!=="fcv3.no_face"){$n(Ze);return}if(!j)return;let C=setTimeout(()=>$n(Ze),Tn);return()=>clearTimeout(C)},[Ze,j]);let vn=j&&typeof E=="string"&&E!=="",Yn=K&&j?p("capture.assisted.stage"):null,Ce=j&&!vn?Ar:null,yn=vn?E:Ce===null?"":p(Ce);An(P,Ce,yn,j);let Zn=(0,y.useRef)(u);Zn.current=u,(0,y.useEffect)(()=>{if(we(Ce))try{Zn.current?.(Ce)}catch(C){console.error("[@sekyro/react] onGuidance threw:",C)}},[Ce]);let qe=(0,y.useMemo)(()=>({supported:P.supported,enabled:P.enabled,setEnabled:P.setEnabled,toggle:P.toggle}),[P.supported,P.enabled,P.setEnabled,P.toggle]),_n=o?.voicePrompt,Qn=_n!==void 0,Xn=m===void 0,Jn=(0,y.useRef)(!1);(0,y.useEffect)(()=>{!Qn||!Xn||Jn.current||!ln()||(Jn.current=!0,console.warn("[@sekyro/react] <LivenessCapture>: `slots.voicePrompt` is set and `voice` is undefined, so the component speaks the guidance itself. If your slot plays audio, pass voice={false} or the person hears every hint twice; pass voice={{}} to keep the built-in voice and silence this warning."))},[Qn,Xn]);let Tr=_n!==void 0?(C,ie,he)=>_n(C,ie,he,qe):P.supported?()=>(0,_.jsx)(pr,{voice:qe}):void 0,{summary:bn,summaryPlaying:et,toggleSummary:nt,stopSummary:tt}=P,Qe=x!==void 0&&x!=="",rt=Qe?x:p("capture.tips.summary"),ot=Qe?bn!=="none":bn==="partner"||bn==="default"&&po(I),Vr=(0,y.useMemo)(()=>ot?{playing:et,toggle:r(()=>nt(rt,{clip:!Qe}),"toggle"),stop:tt}:void 0,[ot,et,nt,rt,tt,Qe]),Nr=(0,y.useMemo)(()=>({assets:gn,retryAssets:O.retry,permission:q.permission,permissionSettled:q.permissionSettled,captureMode:re.mode,facing:oe,setFacing:Le,canChooseFacing:k,voice:qe}),[gn,O.retry,q.permission,q.permissionSettled,re.mode,k,oe,qe]),zr=fo(s)?(0,_.jsx)(X,{tone:s.tone,testId:"sekyro-host-notice",children:(0,_.jsx)("span",{children:s.text})}):s??null,le=ee!==null&&ee.status==="retry"?ee:null,ae=Un&&ee.status==="unavailable"&&!M&&ee.reason!=="portrait_required"?ee:null,De=Un&&(ee.status==="approved"||ee.status==="rejected"||ee.status==="review")?ee:null,Xe=r((C,ie)=>{if(C===void 0)return null;if(C==="device_cooldown"){let Ee=an(n,ie);if(Ee!==null)return p(Ee.key).replace("{time}",Ee.time)}let he=on(C);return he===null?null:p(he)},"reasonText"),kn=r(C=>{let ie=C.retakeHint===void 0?null:kt(C.retakeHint);return ie===null?Xe(C.reason):p(ie)},"retryText"),Pr=ae!==null&&ae.reason!==void 0&&ae.reason!=="nni_unbound"&&ae.reason!=="id_number_unbound"&&ae.reason!=="method_required"&&ae.reason!=="mobile_required"&&!(ae.reason==="no_recorder"&&c.artifacts?.degraded==="NO_RECORDER"),at=pn(),Or=M&&z.auto===null&&!j&&!ge&&c.error===null,Sn=(0,y.useCallback)(async C=>{await z.select(C)&&c.state==="done"&&c.retry()},[z.select,c.state,c.retry]);return(0,y.useEffect)(()=>{z.auto!==null&&!z.busy&&!j&&!ge&&Sn(z.auto)},[z.auto,z.busy,j,ge,Sn]),(0,_.jsx)(It,{value:p,children:(0,_.jsxs)("div",{ref:Pn,className:L===void 0?"sekyro-capture":`sekyro-capture ${L}`,dir:Y,lang:n,"data-testid":"sekyro-liveness-capture","data-state":c.state,children:[o?.header,le!==null&&kn(le)!==null&&!(hn&&$e)?(0,_.jsx)(X,{tone:"warning",role:"status",testId:"sekyro-retry-notice",children:(0,_.jsx)("span",{children:kn(le)})}):null,Se&&ge&&!hn?(0,_.jsx)(X,{tone:"info",role:"status",testId:"sekyro-busy-notice",children:(0,_.jsx)("span",{children:p("capture.busy")})}):null,D.required&&Oe?(0,_.jsx)(X,{tone:"info",role:"status",testId:"sekyro-mobile-required",children:(0,_.jsx)("span",{children:p("reasons.mobile_required")})}):null,c.error!==null?o?.errorPanel!==void 0?o.errorPanel(c.error,c.retry):(0,_.jsxs)(X,{tone:"danger",testId:"sekyro-error-notice",children:[(0,_.jsx)("span",{children:p(rn(c.error.kind))}),c.error.retryable?(0,_.jsx)(W,{ref:at,kind:"ghost",className:"sekyro-btn--start",onClick:c.retry,children:p("common.retry")}):null]}):null,ae!==null?(0,_.jsxs)(X,{tone:"danger",testId:"sekyro-unavailable-notice",children:[(0,_.jsx)("span",{children:Xe(ae.reason)??p(ae.reason===void 0?"errors.session_expired":"errors.network_error")}),Pr?(0,_.jsx)(W,{ref:at,kind:"ghost",className:"sekyro-btn--start",onClick:c.retry,children:p("capture.recordAgain")}):null]}):null,De!==null&&Xe(De.reason)!==null?(0,_.jsx)(X,{tone:De.status==="rejected"?"danger":"info",testId:"sekyro-result-notice",children:(0,_.jsx)("span",{children:Xe(De.reason,De.retryAfter)})}):null,(0,_.jsx)("div",{className:$e?void 0:"sekyro-hidden","data-capture-live":$e?"":void 0,children:hn?Q({videoRef:U,guidance:Me&&xe?p("capture.checking"):yn,coached:vn&&!(Me&&xe),note:Me?xe?p(Se?"capture.busy":"capture.checkingHint"):null:le!==null?kn(le):Yn,settled:Me&&xe,progress:c.gate.progress,phase:jn,still:Me?Gn:null,live:$e,switchCamera:j&&c.state!=="recording"&&k&&Bn,ramp:c.rampColour===null?null:{colour:c.rampColour}}):(0,_.jsx)(Lt,{videoRef:U,guidanceText:yn,guidanceHint:Ye,guidanceKey:Ce,progress:c.gate.progress,phase:jn,draining:c.draining,stillUrl:Gn,showChecking:xe,onSwitchCamera:Bn,canSwitchCamera:K&&j&&c.state!=="recording",operatorText:Yn,voicePrompt:Tr,overlay:C=>(0,_.jsxs)(_.Fragment,{children:[o?.stageOverlay?.(C),(0,_.jsx)(tr,{colour:c.rampColour})]}),reduceMotion:c.reduceMotion})}),Or&&z.choice!==null?(0,_.jsx)($t,{title:p("method.title"),description:p("method.description"),options:z.choice.options.map(C=>({id:C,label:p(`method.${C}`)})),busy:z.busy,error:z.failed?p("errors.network_error"):null,focus:c.state==="done",testId:"sekyro-method",look:"buttons",onChoose:C=>{Sn(C)}}):null,Rr?(0,_.jsxs)(_.Fragment,{children:[te&&o?.header===void 0?(0,_.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,_.jsx)("h2",{className:"sekyro-text-body",children:p("returning.title")}),(0,_.jsx)("p",{className:"sekyro-text-muted",children:p("returning.description")})]}):null,zr,o?.intro!==void 0?o.intro(Mn,Nr):(0,_.jsx)(Wt,{assets:gn,onRetryAssets:O.retry,permission:q.permission,captureMode:re.mode,canChooseFacing:k,facing:oe,onFacingChange:Le,voice:qe,tips:I??Ae,summary:Vr,startLabel:S,startDisabled:l,onStart:Mn})]}):null,(0,_.jsx)(xt,{showCoaching:le!==null,attemptsText:le?.attemptsRemaining!==void 0?sn(G,n,le.attemptsRemaining):null,showRetake:le!==null&&!j&&!ge||!xe&&c.state==="captured",onRetake:c.retry}),o?.footer]})})}r(Cr,"LivenessCapture");var fn={light:{brand:"#0d3b66",brandFg:"#ffffff",fg:"#13141f",fgMuted:"#4e5270",bg:"#f6f7fb",surface:"#ffffff",ring:"#0d3b66",danger:"#ca0f07",success:"#007a5e",warning:"#735003"},dark:{brand:"#6ea2d3",brandFg:"#051a2e",fg:"#f6f7fb",fgMuted:"#cbcedc",bg:"#13141f",surface:"#1d1e2c",ring:"#6ea2d3",danger:"#ff7c7c",success:"#00c897",warning:"#ffd98a"},roles:{light:{brandSoft:"#eaf2fa",line:"#cbcedc",lineSubtle:"#e2e4ee",lineStrong:"#8c91a9",sunken:"#eeeff5",fgSubtle:"#686d8a"},dark:{brandSoft:"#092b4b",line:"#4e5270",lineSubtle:"#2b2d40",lineStrong:"#686d8a",sunken:"#0b0c14",fgSubtle:"#8c91a9"}},stage:"#051a2e",stageAccent:"#69dfef",radius:"10px",radiusLg:"16px",font:'"Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontDisplay:'"Sekyro Geist", Geist, "Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontArabic:'"Sekyro Cairo", Cairo, "Sekyro Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif'};var xr=require("react/jsx-runtime"),Ie={colors:{...fn.light},radius:fn.radiusLg,fontFamily:fn.font},Vn={brand:"--sekyro-color-brand",brandFg:"--sekyro-color-brand-fg",fg:"--sekyro-color-fg",fgMuted:"--sekyro-color-fg-muted",bg:"--sekyro-color-bg",surface:"--sekyro-color-surface",ring:"--sekyro-color-ring",danger:"--sekyro-color-danger",success:"--sekyro-color-success",warning:"--sekyro-color-warning"};function Nn(e={}){let n={};for(let t of Object.keys(Vn))n[Vn[t]]=e.colors?.[t]??Ie.colors[t];return n["--sekyro-radius"]=e.radius??Ie.radius,n["--sekyro-font"]=e.fontFamily??Ie.fontFamily,n}r(Nn,"themeToCssVars");var vo=/^#[0-9a-f]{6}$/i,yo={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},_o={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function wr(e){let n={};if(!e)return n;let t={};for(let[i,s]of Object.entries(e.colors??{}))i in Vn&&i!=="ring"&&vo.test(s??"")&&(t[i]=s);t.brand&&(t.ring=t.brand),Object.keys(t).length&&(n.colors=t);let a=yo[e.radius];a&&(n.radius=a);let o=_o[e.fontFamily];return o!==void 0&&(n.fontFamily=o?`${o}, ${Ie.fontFamily}`:Ie.fontFamily),n}r(wr,"brandingToTheme");function Ir(...e){let n={};for(let t of e)t?.colors&&(n.colors={...n.colors,...t.colors}),t?.radius&&(n.radius=t.radius),t?.fontFamily&&(n.fontFamily=t.fontFamily);return n}r(Ir,"mergeThemes");function Lr({theme:e,children:n,className:t}){let a=Nn(e);return(0,xr.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:n})}r(Lr,"SekyroThemeProvider");
2
+ "use strict";var en=Object.defineProperty;var qr=Object.getOwnPropertyDescriptor;var Dr=Object.getOwnPropertyNames;var Kr=Object.prototype.hasOwnProperty;var r=(e,n)=>en(e,"name",{value:n,configurable:!0});var Cn=(e,n)=>()=>(e&&(n=e(e=0)),n);var nn=(e,n)=>{for(var t in n)en(e,t,{get:n[t],enumerable:!0})},Hr=(e,n,t,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of Dr(n))!Kr.call(e,o)&&o!==t&&en(e,o,{get:()=>n[o],enumerable:!(a=qr(n,o))||a.enumerable});return e};var Br=e=>Hr(en({},"__esModule",{value:!0}),e);var pt={};nn(pt,{overlay:()=>jr});var jr,mt=Cn(()=>{"use strict";jr={"capture.attemptsRemaining.one":"Queda {count} intento","capture.attemptsRemaining.other":"Quedan {count} intentos","capture.cameraOff":"Cámara apagada","capture.checking":"Estamos verificando su identidad…","capture.checkingHint":"Suele tardar unos segundos. Mantenga esta página abierta","capture.noCamera.body":"Permita el acceso a la cámara e inténtelo de nuevo, o continúe en un teléfono con cámara.","capture.noCamera.continue":"Continuar sin cámara","capture.noCamera.deniedBody":"Su navegador bloqueó la cámara para esta página. Permítala en la configuración del sitio y vuelva a intentarlo.","capture.noCamera.deniedTitle":"Permita el acceso a la cámara para continuar","capture.noCamera.title":"Este paso necesita una cámara","capture.permission.denied":"El acceso a la cámara está bloqueado. Permítalo en la configuración del navegador (el icono de la cámara en la barra de direcciones) y vuelva a cargar esta página","capture.permission.granted":"Acceso a la cámara permitido","capture.permission.prompt":"Su navegador le pedirá usar la cámara. Elija Permitir","capture.permission.unknown":"Le pediremos usar la cámara cuando empiece","capture.preparing.hint":"Configurando la detección facial en el dispositivo. Puede tardar un poco con una conexión lenta","capture.preparing.title":"Preparando la captura segura…","capture.retryCoaching.eyeLevel":"Sostenga el teléfono a la altura de los ojos","capture.retryCoaching.head":"Mire directamente a la cámara y mantenga la cabeza recta","capture.retryCoaching.light":"Busque buena luz. Luz sobre su rostro, no detrás de usted","capture.retryCoaching.title":"Ese intento no funcionó. Estos ajustes le ayudarán:","capture.securityNote":"Sus imágenes se cifran y se usan solo para esta verificación","capture.start":"Activar la cámara","capture.tips.eyeLevel":"Sostenga el teléfono a la altura de los ojos","capture.tips.light":"Colóquese frente a una fuente de luz. Evite una luz fuerte detrás de usted","capture.tips.listen":"Escuchar las instrucciones","capture.tips.stop":"Detener","capture.tips.straight":"Mire directamente a la cámara y no se mueva","capture.tips.summary":"Colóquese en un lugar bien iluminado. Descubra su rostro: sin gafas ni mascarilla. Cuando se active la cámara, sostenga el teléfono a la altura de los ojos, mire directamente a la cámara y no se mueva.","capture.tips.title":"Para que la verificación salga bien:","capture.tips.uncover":"Descubra su rostro: sin gafas, mascarilla ni manos delante","common.loading":"Cargando su sesión de verificación","common.noAttemptsLeft":"No quedan intentos","common.refresh":"Actualizar estado","common.retry":"Intentar de nuevo","consent.human.terms.data":"Sekyro AI recoge una breve captura de su rostro.","consent.human.terms.intro":"Sekyro AI confirma que una persona real está completando este paso, en nombre de la organización que lo solicitó.","consent.human.terms.processing":"La captura se analiza para confirmar que usted es una persona real y presente. Puede compararse con rostros ya verificados para esta organización.","consent.human.terms.retention":"Sus datos se almacenan cifrados y se conservan solo el tiempo que exigen la ley y la configuración de la organización. Para ejercer sus derechos de protección de datos, contacte con la organización que solicitó esta verificación.","consent.human.terms.sharing":"La organización que solicitó esta verificación conoce su resultado.","consent.short":"Al continuar, acepta las {terms}.","consent.termsLink":"condiciones","contact.description":"Elija una opción.","contact.email":"Por correo electrónico","contact.phone":"Por teléfono (WhatsApp o SMS)","contact.switch":"Usar otra opción","contact.title":"¿Cómo quiere recibir su código?","cooldown.retryAt":"Demasiados intentos. Inténtelo de nuevo a partir de {time}.","cooldown.retryIn":"Demasiados intentos. Inténtelo de nuevo {time}.","emailOtp.codeHelper":"Introduzca el código de 6 dígitos del correo","emailOtp.codeLabel":"Código de verificación","emailOtp.emailHelper":"Enviaremos un código de un solo uso a esta dirección","emailOtp.emailInvalid":"Introduzca un correo electrónico válido","emailOtp.emailLabel":"Correo electrónico","emailOtp.emailPlaceholder":"Su correo electrónico","emailOtp.expired":"Ese código ha caducado. Solicite uno nuevo","emailOtp.expiresIn":"El código caduca en {time}","emailOtp.prefilledNotice":"Enviaremos un código de verificación a su dirección de correo registrada.","emailOtp.reason_email_disposable":"Use una dirección de correo permanente, no una temporal","emailOtp.reason_email_invalid":"No podemos enviar a esta dirección. Revísela o introduzca otra","emailOtp.reason_otp_daily_cap_reached":"No podemos enviarle un código por correo hoy. Elija otra forma de verificación si está disponible, o inténtelo de nuevo más tarde.","emailOtp.reason_otp_expired":"Ese código ha caducado. Solicite uno nuevo para continuar","emailOtp.reason_otp_mismatch":"El código no es correcto. Revíselo e introdúzcalo de nuevo","emailOtp.reason_otp_rate_limited":"Se han pedido demasiados códigos. Espere un momento e inténtelo de nuevo","emailOtp.reason_otp_send_failed":"No pudimos enviar el correo. Inténtelo de nuevo en un momento","emailOtp.resend":"Reenviar código","emailOtp.resendIn":"Reenviar código en {seconds} s","emailOtp.send":"Enviarme un código","emailOtp.sendDescription":"Le enviaremos un código de un solo uso para confirmar que esta dirección es suya","emailOtp.sendTitle":"Verifique su correo electrónico","emailOtp.sentTo":"Enviamos un código de 6 dígitos a {email}","emailOtp.verify":"Verificar código","emailOtp.verifyDescription":"Escriba el código de 6 dígitos que le enviamos por correo para terminar de verificar su dirección","emailOtp.verifyTitle":"Introduzca el código de verificación","errors.network_error":"No pudimos conectar con el servicio de verificación. Revise su conexión a internet e inténtelo de nuevo","errors.session_expired":"Esta sesión de verificación ha caducado. Pida un nuevo enlace a la organización que le trajo hasta aquí","fcv2.err.generic":"La cámara no está disponible. Inténtelo de nuevo o contacte con el soporte si sigue fallando","fcv2.err.insecure":"La cámara necesita una conexión segura (HTTPS). Vuelva a abrir esta página con HTTPS","fcv2.err.inuse":"Otra aplicación está usando la cámara. Ciérrela e inténtelo de nuevo","fcv2.err.models":"No se pudieron cargar los modelos de detección facial. Revise su conexión e inténtelo de nuevo","fcv2.err.notfound":"No se detecta ninguna cámara. Conecte o active una cámara e inténtelo de nuevo","fcv2.err.permission":"Permita el acceso a la cámara en la configuración del navegador (el icono de la cámara en la barra de direcciones) e inténtelo de nuevo","fcv2.err.unsupported":"Su navegador no puede grabar en un formato compatible. Abra esta página en un navegador reciente como Chrome o Safari","fcv3.center_face":"Centre su rostro en el círculo","fcv3.come_closer":"Acerque un poco el teléfono","fcv3.hold_still":"Perfecto. No se mueva","fcv3.hold_upright":"Sostenga el teléfono en vertical","fcv3.more_light":"Busque un lugar con más luz. Ilumine su rostro","fcv3.move_back":"Aleje un poco el teléfono","fcv3.no_face":"No vemos su rostro. Sostenga el teléfono delante de usted","fcv3.steady_camera":"Mantenga el teléfono estable","fcv3.straighten":"Mantenga la cabeza recta","fcv3.too_bright":"Demasiada luz. Apártese de la luz directa","handoff.copied":"Enlace copiado. Ábralo en su teléfono","handoff.copyFailed":"No pudimos copiar el enlace. Copie la dirección de esta página desde su navegador","handoff.copyLink":"Copiar enlace","handoff.description":"Escanee con su teléfono para continuar","handoff.qrAlt":"Código QR que abre esta verificación en su teléfono","handoff.title":"Continúe en su teléfono","handoff.waiting":"Esta página avanzará sola cuando termine en su teléfono","inApp.continueAnyway":"Continuar aquí de todos modos","inApp.copied":"Enlace copiado. Péguelo en su navegador","inApp.copyFailed":"No pudimos copiar el enlace. Copie la dirección de esta página","inApp.copyLink":"Copiar enlace","inApp.description":"La cámara no funciona bien dentro de esta aplicación. Abra el enlace en Chrome o Safari para continuar.","inApp.title":"Abra esta página en su navegador","native.close":"Cerrar","native.face.humanIntroLead":"Una captura breve: solo mire la pantalla.","native.face.humanIntroTitle":"Confirme que es una persona real","native.face.introLead":"Una sola captura, sin movimientos especiales: solo mire la pantalla.","native.face.introTitle":"Ahora verifiquemos su rostro","native.result.approved":"Su verificación ha terminado. Puede volver a {org}.","native.result.back":"Volver a {org}","native.result.copied":"Copiado","native.result.expired":"Vuelva a empezar desde {org} para obtener una nueva sesión.","native.result.rejected":"Contacte con {org} si cree que se trata de un error.","native.result.review":"El resultado se enviará a {org}. No necesita hacer nada más.","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.chooseChannel":"¿Cómo quiere recibir su código?","otp.codeHelper":"Introduzca el código de 6 dígitos que le enviamos","otp.codeInvalid":"Introduzca el código de 6 dígitos","otp.codeLabel":"Código de verificación","otp.countryLabel":"País","otp.expired":"Ese código ha caducado. Solicite uno nuevo","otp.expiresIn":"El código caduca en {time}","otp.or":"o","otp.otherCountry":"Otro país","otp.phoneHelper":"Enviaremos un código de un solo uso a este número","otp.phoneInvalid":"Introduzca su número de teléfono con el prefijo del país","otp.phoneLabel":"Número de teléfono","otp.phoneLengthError":"Compruebe el número: debe tener {digits} dígitos.","otp.phonePlaceholder":"8 dígitos","otp.phonePlaceholderGeneric":"Introduzca su número de teléfono sin el prefijo","otp.prefilledNotice":"Enviaremos un código de verificación a su número de teléfono registrado.","otp.reason_insufficient_balance":"Este método de verificación no está disponible por ahora. Elija otra forma de verificación si está disponible.","otp.reason_otp_channel_unavailable":"Ese canal no está disponible. Elija otra forma de recibir su código","otp.reason_otp_daily_cap_reached":"No podemos enviarle un código hoy. Elija otra forma de verificación si está disponible, o inténtelo de nuevo más tarde.","otp.reason_otp_destination_not_allowed":"No podemos enviar códigos a números de este país. Introduzca otro número","otp.reason_otp_destination_unknown":"No reconocemos este número. Revíselo e introdúzcalo de nuevo con el prefijo del país","otp.reason_otp_expired":"Ese código ha caducado. Solicite uno nuevo para continuar","otp.reason_otp_mismatch":"El código no es correcto. Revíselo e introdúzcalo de nuevo","otp.reason_otp_number_invalid":"Este número no parece completo para su país. Compruébelo e inténtelo de nuevo.","otp.reason_otp_number_not_mobile":"Introduzca un número de móvil. Los códigos no llegan a un teléfono fijo.","otp.reason_otp_rate_limited":"Se han pedido demasiados códigos. Espere un momento e inténtelo de nuevo","otp.reason_otp_send_failed":"No pudimos enviar el código. Inténtelo de nuevo en un momento","otp.reason_payment_method_required":"Este método de verificación no está disponible por ahora. Elija otra forma de verificación si está disponible.","otp.reason_spend_cap_reached":"Este método de verificación no está disponible por ahora. Elija otra forma de verificación si está disponible.","otp.resend":"Reenviar código","otp.resendBy":"Reenviar por {channel}","otp.resendIn":"Reenviar código en {seconds} s","otp.send":"Enviar código","otp.sendBy":"Enviar código por {channel}","otp.sendDescription":"Le enviaremos un código de un solo uso para confirmar que este número es suyo","otp.sendTitle":"Verifique su número de teléfono","otp.sentTo":"Enviamos un código de 6 dígitos a {number} por {channel}","otp.verify":"Verificar código","otp.verifyDescription":"Escriba el código de 6 dígitos que le enviamos para terminar de verificar su número","otp.verifyTitle":"Introduzca el código de verificación","reasons.camera_unavailable":"Esta verificación necesita una cámara. Vuelva a {org} para continuar de otra forma.","reasons.capture_tampered":"No pudimos continuar en este dispositivo. Inténtelo de nuevo en otro dispositivo o navegador.","reasons.clip_too_short":"La captura fue demasiado corta","reasons.device_cooldown":"Demasiados intentos. Inténtelo de nuevo más tarde.","reasons.device_velocity_exceeded":"Este dispositivo no se puede usar para otra verificación por ahora. Contacte con la organización.","reasons.media_unreadable":"No se pudo leer la captura enviada","reasons.mobile_required":"Continúe en su teléfono para tomar el selfie.","reasons.no_face":"No se detectó ningún rostro durante la verificación","reasons.review_band":"La verificación automática no fue concluyente, así que se envió a revisión manual","reasons.spoof_detected":"La prueba de vida no pudo confirmar que haya una persona real frente a la cámara","reasons.tester_phone_mismatch":"Use el número de teléfono con el que se registró la persona de prueba","result.platform_unsupported":"Esta verificación necesita una aplicación para teléfono.","result.referenceLabel":"Código de referencia","section.contact":"Verifique su contacto","section.live_photo":"Tome una foto en directo","section.screening":"Comprobaciones adicionales","session.processing.age_estimation.description":"Esto tarda unos segundos","session.processing.age_estimation.title":"Comprobando su edad","session.processing.description":"Suele tardar unos segundos. El resultado aparecerá aquí","session.processing.title":"Estamos procesando su verificación","session.progressLabel":"Progreso de la verificación","session.requestedBy":"{orgName} le pide que verifique su identidad","session.result.approved.description":"Ha terminado. Puede cerrar esta página","session.result.approved.title":"Su identidad está verificada","session.result.detailsMismatch":"Los datos no coinciden con la información que tiene {org}. Contacte con {org}.","session.result.deviceStop":"No pudimos continuar en este dispositivo. Inténtelo de nuevo en otro dispositivo o navegador.","session.result.deviceVelocity":"Este dispositivo no se puede usar para otra verificación por ahora. Contacte con {org}.","session.result.expired.description":"Pida un nuevo enlace a la organización que se lo envió y vuelva a empezar","session.result.expired.title":"Esta sesión de verificación ha caducado","session.result.rejected.description":"Si cree que se trata de un error, contacte con la organización que le envió este enlace","session.result.rejected.title":"No pudimos verificar su identidad","session.result.review.description":"El resultado se enviará a la organización que le dio este enlace. No necesita hacer nada más.","session.result.review.title":"Su verificación está en revisión","session.title":"Verifique su identidad","shell.subtitle":"Verificación de identidad","shell.subtitleHuman":"Verificación humana","shell.verifiedBy":"Verificado por Sekyro AI","unsupported.description":"Este paso necesita una versión más reciente de esta página. Contacte con {org}.","unsupported.title":"Actualización necesaria"}});var ft={};nn(ft,{overlay:()=>$r});var $r,gt=Cn(()=>{"use strict";$r={"capture.attemptsRemaining.one":"{count} tentativa restante","capture.attemptsRemaining.other":"{count} tentativas restantes","capture.cameraOff":"Câmera desligada","capture.checking":"Estamos verificando sua identidade…","capture.checkingHint":"Isso costuma levar alguns segundos. Mantenha esta página aberta","capture.noCamera.body":"Permita o acesso à câmera e tente novamente, ou continue em um telefone com câmera.","capture.noCamera.continue":"Continuar sem câmera","capture.noCamera.deniedBody":"O seu navegador bloqueou a câmera para esta página. Permita-a nas configurações do site e tente novamente.","capture.noCamera.deniedTitle":"Permita o acesso à câmera para continuar","capture.noCamera.title":"Esta etapa precisa de uma câmera","capture.permission.denied":"O acesso à câmera está bloqueado. Permita nas configurações do navegador (o ícone da câmera na barra de endereço) e recarregue esta página","capture.permission.granted":"Acesso à câmera permitido","capture.permission.prompt":"Seu navegador vai pedir para usar a câmera. Escolha Permitir","capture.permission.unknown":"Vamos pedir para usar sua câmera quando você começar","capture.preparing.hint":"Configurando a detecção de rosto no dispositivo. Pode levar um momento em uma conexão lenta","capture.preparing.title":"Preparando a captura segura…","capture.retryCoaching.eyeLevel":"Segure o telefone na altura dos olhos","capture.retryCoaching.head":"Olhe diretamente para a câmera e mantenha a cabeça reta","capture.retryCoaching.light":"Procure uma boa iluminação. Luz no seu rosto, não atrás de você","capture.retryCoaching.title":"Essa tentativa não deu certo. Alguns ajustes vão ajudar:","capture.securityNote":"Suas imagens são criptografadas e usadas apenas para esta verificação","capture.start":"Ligar a câmera","capture.tips.eyeLevel":"Segure o telefone na altura dos olhos","capture.tips.light":"Fique de frente para uma fonte de luz. Evite luz forte atrás de você","capture.tips.listen":"Ouvir as instruções","capture.tips.stop":"Parar","capture.tips.straight":"Olhe diretamente para a câmera e fique parado","capture.tips.summary":"Fique em um lugar bem iluminado. Deixe o rosto descoberto: sem óculos e sem máscara. Quando a câmera ligar, segure o telefone na altura dos olhos, olhe diretamente para a câmera e fique parado.","capture.tips.title":"Para uma verificação bem-sucedida:","capture.tips.uncover":"Deixe o rosto descoberto: sem óculos, máscara ou mão na frente","common.loading":"Carregando sua sessão de verificação","common.noAttemptsLeft":"Não há mais tentativas","common.refresh":"Atualizar status","common.retry":"Tentar novamente","consent.human.terms.data":"A Sekyro AI coleta uma breve captura do seu rosto.","consent.human.terms.intro":"A Sekyro AI confirma que uma pessoa real está concluindo esta etapa, em nome da organização que a solicitou.","consent.human.terms.processing":"A captura é analisada para confirmar que você é uma pessoa real e presente. Ela pode ser comparada com rostos já verificados para esta organização.","consent.human.terms.retention":"Seus dados são armazenados com criptografia e mantidos apenas pelo tempo exigido pela lei e pelas configurações da organização. Para exercer seus direitos de proteção de dados, entre em contato com a organização que solicitou esta verificação.","consent.human.terms.sharing":"A organização que solicitou esta verificação fica sabendo do resultado.","consent.short":"Ao continuar, você aceita os {terms}.","consent.termsLink":"termos","contact.description":"Escolha uma opção.","contact.email":"Por e-mail","contact.phone":"Por telefone (WhatsApp ou SMS)","contact.switch":"Usar outra opção","contact.title":"Como você quer receber seu código?","cooldown.retryAt":"Muitas tentativas. Tente novamente a partir de {time}.","cooldown.retryIn":"Muitas tentativas. Tente novamente {time}.","emailOtp.codeHelper":"Digite o código de 6 dígitos do e-mail","emailOtp.codeLabel":"Código de verificação","emailOtp.emailHelper":"Vamos enviar um código de uso único para este endereço","emailOtp.emailInvalid":"Digite um endereço de e-mail válido","emailOtp.emailLabel":"Endereço de e-mail","emailOtp.emailPlaceholder":"Seu endereço de e-mail","emailOtp.expired":"Esse código expirou. Peça um novo","emailOtp.expiresIn":"O código expira em {time}","emailOtp.prefilledNotice":"Vamos enviar um código de verificação para o seu e-mail cadastrado.","emailOtp.reason_email_disposable":"Use um endereço de e-mail permanente, não um temporário","emailOtp.reason_email_invalid":"Não podemos enviar para este endereço. Confira ou digite outro","emailOtp.reason_otp_daily_cap_reached":"Não podemos enviar um código por e-mail hoje. Escolha outra forma de verificação, se houver, ou tente novamente mais tarde.","emailOtp.reason_otp_expired":"Esse código expirou. Peça um novo código para continuar","emailOtp.reason_otp_mismatch":"O código está incorreto. Confira e digite novamente","emailOtp.reason_otp_rate_limited":"Muitos códigos solicitados. Aguarde um momento e tente novamente","emailOtp.reason_otp_send_failed":"Não foi possível enviar o e-mail. Tente novamente em instantes","emailOtp.resend":"Reenviar código","emailOtp.resendIn":"Reenviar código em {seconds} s","emailOtp.send":"Enviar código por e-mail","emailOtp.sendDescription":"Vamos enviar um código de uso único por e-mail para confirmar que este endereço é seu","emailOtp.sendTitle":"Verifique seu endereço de e-mail","emailOtp.sentTo":"Enviamos um código de 6 dígitos para {email}","emailOtp.verify":"Verificar código","emailOtp.verifyDescription":"Digite o código de 6 dígitos que enviamos por e-mail para concluir a verificação do seu endereço","emailOtp.verifyTitle":"Digite o código de verificação","errors.network_error":"Não conseguimos acessar o serviço de verificação. Verifique sua conexão com a internet e tente novamente","errors.session_expired":"Esta sessão de verificação expirou. Peça um novo link à organização que trouxe você até aqui","fcv2.err.generic":"A câmera não está disponível. Tente novamente ou entre em contato com o suporte se o problema continuar","fcv2.err.insecure":"A câmera precisa de uma conexão segura (HTTPS). Abra esta página novamente por HTTPS","fcv2.err.inuse":"Outro aplicativo está usando a câmera. Feche-o e tente novamente","fcv2.err.models":"Não foi possível carregar os modelos de detecção de rosto. Verifique sua conexão e tente novamente","fcv2.err.notfound":"Nenhuma câmera detectada. Conecte ou ative uma câmera e tente novamente","fcv2.err.permission":"Permita o acesso à câmera nas configurações do navegador (o ícone da câmera na barra de endereço) e tente novamente","fcv2.err.unsupported":"Seu navegador não consegue gravar em um formato compatível. Abra esta página em um navegador recente, como Chrome ou Safari","fcv3.center_face":"Centralize o rosto no círculo","fcv3.come_closer":"Aproxime um pouco o telefone","fcv3.hold_still":"Perfeito. Fique parado","fcv3.hold_upright":"Segure o telefone na vertical","fcv3.more_light":"Procure um lugar mais claro. Ilumine seu rosto","fcv3.move_back":"Afaste um pouco o telefone","fcv3.no_face":"Não conseguimos ver seu rosto. Segure o telefone à sua frente","fcv3.steady_camera":"Mantenha o telefone firme","fcv3.straighten":"Mantenha a cabeça reta","fcv3.too_bright":"Luz demais. Saia da luz direta","handoff.copied":"Link copiado. Abra-o no seu telefone","handoff.copyFailed":"Não foi possível copiar o link. Copie o endereço desta página no navegador","handoff.copyLink":"Copiar link","handoff.description":"Escaneie com o telefone para continuar","handoff.qrAlt":"Código QR que abre esta verificação no seu telefone","handoff.title":"Continue no seu telefone","handoff.waiting":"Esta página avança sozinha quando você terminar no telefone","inApp.continueAnyway":"Continuar aqui mesmo assim","inApp.copied":"Link copiado. Cole-o no navegador","inApp.copyFailed":"Não foi possível copiar o link. Copie o endereço desta página","inApp.copyLink":"Copiar link","inApp.description":"A câmera não funciona bem dentro deste aplicativo. Abra o link no Chrome ou no Safari para continuar.","inApp.title":"Abra esta página no navegador","native.close":"Fechar","native.face.humanIntroLead":"Uma captura rápida: basta olhar para a tela.","native.face.humanIntroTitle":"Confirme que você é uma pessoa real","native.face.introLead":"Uma única captura, sem nenhum movimento especial: basta olhar para a tela.","native.face.introTitle":"Agora vamos verificar seu rosto","native.result.approved":"Sua verificação foi concluída. Você pode voltar para {org}.","native.result.back":"Voltar para {org}","native.result.copied":"Copiado","native.result.expired":"Comece de novo a partir de {org} para obter uma nova sessão.","native.result.rejected":"Entre em contato com {org} se você acha que isso é um erro.","native.result.review":"O resultado será enviado para {org}. Você não precisa fazer mais nada.","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.chooseChannel":"Como você quer receber seu código?","otp.codeHelper":"Digite o código de 6 dígitos que enviamos","otp.codeInvalid":"Digite o código de 6 dígitos","otp.codeLabel":"Código de verificação","otp.countryLabel":"País","otp.expired":"Esse código expirou. Peça um novo","otp.expiresIn":"O código expira em {time}","otp.or":"ou","otp.otherCountry":"Outro país","otp.phoneHelper":"Vamos enviar um código de uso único para este número","otp.phoneInvalid":"Digite seu número de telefone com o código do país","otp.phoneLabel":"Número de telefone","otp.phoneLengthError":"Verifique o número: ele deve ter {digits} dígitos.","otp.phonePlaceholder":"8 dígitos","otp.phonePlaceholderGeneric":"Digite seu número de telefone sem o código do país","otp.prefilledNotice":"Vamos enviar um código de verificação para o seu número de telefone cadastrado.","otp.reason_insufficient_balance":"Este método de verificação não está disponível no momento. Escolha outra forma de verificação, se houver.","otp.reason_otp_channel_unavailable":"Esse canal não está disponível. Escolha outra forma de receber seu código","otp.reason_otp_daily_cap_reached":"Não podemos enviar um código para você hoje. Escolha outra forma de verificação, se houver, ou tente novamente mais tarde.","otp.reason_otp_destination_not_allowed":"Não podemos enviar códigos para números deste país. Digite outro número","otp.reason_otp_destination_unknown":"Não reconhecemos este número. Confira e digite novamente com o código do país","otp.reason_otp_expired":"Esse código expirou. Peça um novo código para continuar","otp.reason_otp_mismatch":"O código está incorreto. Confira e digite novamente","otp.reason_otp_number_invalid":"Este número não parece completo para o país dele. Verifique e tente novamente.","otp.reason_otp_number_not_mobile":"Digite um número de celular. Os códigos não chegam a um telefone fixo.","otp.reason_otp_rate_limited":"Muitos códigos solicitados. Aguarde um momento e tente novamente","otp.reason_otp_send_failed":"Não foi possível enviar o código. Tente novamente em instantes","otp.reason_payment_method_required":"Este método de verificação não está disponível no momento. Escolha outra forma de verificação, se houver.","otp.reason_spend_cap_reached":"Este método de verificação não está disponível no momento. Escolha outra forma de verificação, se houver.","otp.resend":"Reenviar código","otp.resendBy":"Reenviar por {channel}","otp.resendIn":"Reenviar código em {seconds} s","otp.send":"Enviar código","otp.sendBy":"Enviar código por {channel}","otp.sendDescription":"Vamos enviar um código de uso único para confirmar que este número é seu","otp.sendTitle":"Verifique seu número de telefone","otp.sentTo":"Enviamos um código de 6 dígitos para {number} por {channel}","otp.verify":"Verificar código","otp.verifyDescription":"Digite o código de 6 dígitos que enviamos para concluir a verificação do seu número","otp.verifyTitle":"Digite o código de verificação","reasons.camera_unavailable":"Esta verificação precisa de uma câmera. Volte para {org} para continuar de outra forma.","reasons.capture_tampered":"Não foi possível continuar neste dispositivo. Tente novamente em outro dispositivo ou navegador.","reasons.clip_too_short":"A captura foi curta demais","reasons.device_cooldown":"Muitas tentativas. Tente novamente mais tarde.","reasons.device_velocity_exceeded":"Este dispositivo não pode ser usado para outra verificação no momento. Entre em contato com a organização.","reasons.media_unreadable":"Não foi possível ler a captura enviada","reasons.mobile_required":"Continue no seu telefone para tirar a selfie.","reasons.no_face":"Nenhum rosto foi detectado durante a verificação","reasons.review_band":"A verificação automática não foi conclusiva e foi enviada para análise humana","reasons.spoof_detected":"A prova de vida não confirmou uma pessoa real diante da câmera","reasons.tester_phone_mismatch":"Use o número de telefone com que o testador se cadastrou","result.platform_unsupported":"Esta verificação precisa de um aplicativo de celular.","result.referenceLabel":"Código de referência","section.contact":"Verifique seu contato","section.live_photo":"Tire uma foto ao vivo","section.screening":"Verificações adicionais","session.processing.age_estimation.description":"Isso leva alguns segundos","session.processing.age_estimation.title":"Verificando sua idade","session.processing.description":"Isso costuma levar alguns segundos. O resultado aparecerá aqui","session.processing.title":"Estamos processando sua verificação","session.progressLabel":"Progresso da verificação","session.requestedBy":"{orgName} pede que você verifique sua identidade","session.result.approved.description":"Pronto. Você já pode fechar esta página","session.result.approved.title":"Sua identidade foi verificada","session.result.detailsMismatch":"Os dados não correspondem às informações que {org} tem. Entre em contato com {org}.","session.result.deviceStop":"Não foi possível continuar neste dispositivo. Tente novamente em outro dispositivo ou navegador.","session.result.deviceVelocity":"Este dispositivo não pode ser usado para outra verificação no momento. Entre em contato com {org}.","session.result.expired.description":"Peça um novo link à organização que o enviou e comece de novo","session.result.expired.title":"Esta sessão de verificação expirou","session.result.rejected.description":"Se você acha que isso é um erro, entre em contato com a organização que enviou este link","session.result.rejected.title":"Não foi possível verificar sua identidade","session.result.review.description":"O resultado será enviado à organização que passou este link para você. Você não precisa fazer mais nada.","session.result.review.title":"Sua verificação está em análise","session.title":"Verifique sua identidade","shell.subtitle":"Verificação de identidade","shell.subtitleHuman":"Verificação humana","shell.verifiedBy":"Verificado por Sekyro AI","unsupported.description":"Esta etapa precisa de uma versão mais recente desta página. Entre em contato com {org}.","unsupported.title":"Atualização necessária"}});var ht={};nn(ht,{overlay:()=>Yr});var Yr,vt=Cn(()=>{"use strict";Yr={"capture.attemptsRemaining.one":"Noch {count} Versuch","capture.attemptsRemaining.other":"Noch {count} Versuche","capture.cameraOff":"Kamera aus","capture.checking":"Wir prüfen Ihre Identität…","capture.checkingHint":"Das dauert meist nur ein paar Sekunden. Lassen Sie diese Seite geöffnet","capture.noCamera.body":"Erlauben Sie den Kamerazugriff und versuchen Sie es erneut, oder fahren Sie auf einem Smartphone mit Kamera fort.","capture.noCamera.continue":"Ohne Kamera fortfahren","capture.noCamera.deniedBody":"Ihr Browser hat die Kamera für diese Seite blockiert. Erlauben Sie sie in den Website-Einstellungen und versuchen Sie es erneut.","capture.noCamera.deniedTitle":"Erlauben Sie den Kamerazugriff, um fortzufahren","capture.noCamera.title":"Für diesen Schritt wird eine Kamera benötigt","capture.permission.denied":"Der Kamerazugriff ist blockiert. Erlauben Sie ihn in den Browsereinstellungen (das Kamerasymbol in der Adressleiste) und laden Sie diese Seite neu","capture.permission.granted":"Kamerazugriff erlaubt","capture.permission.prompt":"Ihr Browser fragt nach der Kamera. Wählen Sie Zulassen","capture.permission.unknown":"Wir fragen nach Ihrer Kamera, sobald Sie beginnen","capture.preparing.hint":"Die Gesichtserkennung auf dem Gerät wird eingerichtet. Bei langsamer Verbindung kann das einen Moment dauern","capture.preparing.title":"Sichere Aufnahme wird vorbereitet…","capture.retryCoaching.eyeLevel":"Halten Sie das Smartphone auf Augenhöhe","capture.retryCoaching.head":"Schauen Sie direkt in die Kamera und halten Sie den Kopf gerade","capture.retryCoaching.light":"Sorgen Sie für gutes Licht: auf Ihrem Gesicht, nicht hinter Ihnen","capture.retryCoaching.title":"Dieser Versuch hat nicht geklappt. Ein paar Anpassungen helfen:","capture.securityNote":"Ihre Bilder werden verschlüsselt und nur für diese Verifizierung verwendet","capture.start":"Kamera starten","capture.tips.eyeLevel":"Halten Sie das Smartphone auf Augenhöhe","capture.tips.light":"Wenden Sie sich einer Lichtquelle zu. Vermeiden Sie starkes Licht hinter sich","capture.tips.listen":"Anweisungen anhören","capture.tips.stop":"Stopp","capture.tips.straight":"Schauen Sie direkt in die Kamera und halten Sie still","capture.tips.summary":"Stellen Sie sich an einen gut beleuchteten Ort. Zeigen Sie Ihr Gesicht frei: keine Brille, keine Maske. Sobald die Kamera startet, halten Sie das Smartphone auf Augenhöhe, schauen Sie direkt in die Kamera und halten Sie still.","capture.tips.title":"So gelingt die Aufnahme:","capture.tips.uncover":"Zeigen Sie Ihr Gesicht frei: keine Brille, keine Maske, keine Hand davor","common.loading":"Ihre Verifizierungssitzung wird geladen","common.noAttemptsLeft":"Keine Versuche mehr übrig","common.refresh":"Status aktualisieren","common.retry":"Erneut versuchen","consent.human.terms.data":"Sekyro AI erfasst eine kurze Aufnahme Ihres Gesichts.","consent.human.terms.intro":"Sekyro AI bestätigt im Auftrag der anfragenden Organisation, dass eine echte Person diesen Schritt ausführt.","consent.human.terms.processing":"Die Aufnahme wird geprüft, um zu bestätigen, dass Sie eine echte, anwesende Person sind. Sie kann mit Gesichtern verglichen werden, die für diese Organisation bereits verifiziert wurden.","consent.human.terms.retention":"Ihre Daten werden verschlüsselt gespeichert und nur so lange aufbewahrt, wie das Gesetz und die Einstellungen der Organisation es verlangen. Um Ihre Datenschutzrechte auszuüben, wenden Sie sich an die Organisation, die diese Verifizierung angefordert hat.","consent.human.terms.sharing":"Die Organisation, die diese Verifizierung angefordert hat, erfährt das Ergebnis.","consent.short":"Wenn Sie fortfahren, stimmen Sie den {terms} zu.","consent.termsLink":"Bedingungen","contact.description":"Wählen Sie eine Option.","contact.email":"Per E-Mail","contact.phone":"Per Telefon (WhatsApp oder SMS)","contact.switch":"Andere Option wählen","contact.title":"Wie möchten Sie Ihren Code erhalten?","cooldown.retryAt":"Zu viele Versuche. Versuchen Sie es ab {time} erneut.","cooldown.retryIn":"Zu viele Versuche. Versuchen Sie es {time} erneut.","emailOtp.codeHelper":"Geben Sie den 6-stelligen Code aus der E-Mail ein","emailOtp.codeLabel":"Bestätigungscode","emailOtp.emailHelper":"Wir senden einen Einmalcode an diese Adresse","emailOtp.emailInvalid":"Geben Sie eine gültige E-Mail-Adresse ein","emailOtp.emailLabel":"E-Mail-Adresse","emailOtp.emailPlaceholder":"Ihre E-Mail-Adresse","emailOtp.expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen an","emailOtp.expiresIn":"Der Code läuft ab in {time}","emailOtp.prefilledNotice":"Wir senden einen Bestätigungscode an Ihre hinterlegte E-Mail-Adresse.","emailOtp.reason_email_disposable":"Verwenden Sie eine dauerhafte E-Mail-Adresse, keine Wegwerfadresse","emailOtp.reason_email_invalid":"An diese Adresse können wir nicht senden. Prüfen Sie sie oder geben Sie eine andere ein","emailOtp.reason_otp_daily_cap_reached":"Wir können Ihnen heute keinen Code per E-Mail senden. Wählen Sie einen anderen Weg, falls angeboten, oder versuchen Sie es später erneut.","emailOtp.reason_otp_expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen Code an, um fortzufahren","emailOtp.reason_otp_mismatch":"Der Code ist falsch. Prüfen Sie ihn und geben Sie ihn erneut ein","emailOtp.reason_otp_rate_limited":"Zu viele Codes angefordert. Warten Sie einen Moment und versuchen Sie es dann erneut","emailOtp.reason_otp_send_failed":"Wir konnten die E-Mail nicht senden. Versuchen Sie es gleich noch einmal","emailOtp.resend":"Code erneut senden","emailOtp.resendIn":"Code erneut senden in {seconds} s","emailOtp.send":"Code per E-Mail senden","emailOtp.sendDescription":"Wir senden Ihnen einen Einmalcode per E-Mail, um zu bestätigen, dass diese Adresse Ihnen gehört","emailOtp.sendTitle":"Bestätigen Sie Ihre E-Mail-Adresse","emailOtp.sentTo":"Wir haben einen 6-stelligen Code an {email} gesendet","emailOtp.verify":"Code bestätigen","emailOtp.verifyDescription":"Geben Sie den 6-stelligen Code aus unserer E-Mail ein, um Ihre Adresse zu bestätigen","emailOtp.verifyTitle":"Bestätigungscode eingeben","errors.network_error":"Wir konnten den Verifizierungsdienst nicht erreichen. Prüfen Sie Ihre Internetverbindung und versuchen Sie es erneut","errors.session_expired":"Diese Verifizierungssitzung ist abgelaufen. Bitten Sie die Organisation, die Sie hierher geschickt hat, um einen neuen Link","fcv2.err.generic":"Die Kamera ist nicht verfügbar. Versuchen Sie es erneut oder wenden Sie sich an den Support, wenn der Fehler bleibt","fcv2.err.insecure":"Die Kamera benötigt eine sichere Verbindung (HTTPS). Öffnen Sie diese Seite erneut über HTTPS","fcv2.err.inuse":"Eine andere App verwendet die Kamera. Schließen Sie sie und versuchen Sie es erneut","fcv2.err.models":"Die Modelle zur Gesichtserkennung konnten nicht geladen werden. Prüfen Sie Ihre Verbindung und versuchen Sie es erneut","fcv2.err.notfound":"Keine Kamera erkannt. Schließen Sie eine Kamera an oder aktivieren Sie sie und versuchen Sie es erneut","fcv2.err.permission":"Erlauben Sie den Kamerazugriff in den Browsereinstellungen (das Kamerasymbol in der Adressleiste) und versuchen Sie es erneut","fcv2.err.unsupported":"Ihr Browser kann nicht in einem unterstützten Format aufnehmen. Öffnen Sie diese Seite in einem aktuellen Browser wie Chrome oder Safari","fcv3.center_face":"Platzieren Sie Ihr Gesicht mittig im Kreis","fcv3.come_closer":"Halten Sie das Smartphone etwas näher","fcv3.hold_still":"Perfekt. Halten Sie still","fcv3.hold_upright":"Halten Sie das Smartphone aufrecht","fcv3.more_light":"Suchen Sie einen helleren Ort. Beleuchten Sie Ihr Gesicht","fcv3.move_back":"Halten Sie das Smartphone etwas weiter weg","fcv3.no_face":"Wir sehen Ihr Gesicht nicht. Halten Sie das Smartphone vor sich","fcv3.steady_camera":"Halten Sie das Smartphone ruhig","fcv3.straighten":"Halten Sie den Kopf gerade","fcv3.too_bright":"Zu viel Licht. Gehen Sie aus dem direkten Licht","handoff.copied":"Link kopiert. Öffnen Sie ihn auf Ihrem Smartphone","handoff.copyFailed":"Wir konnten den Link nicht kopieren. Kopieren Sie stattdessen die Adresse dieser Seite aus Ihrem Browser","handoff.copyLink":"Link kopieren","handoff.description":"Scannen Sie mit Ihrem Smartphone, um fortzufahren","handoff.qrAlt":"QR-Code, der diese Verifizierung auf Ihrem Smartphone öffnet","handoff.title":"Auf dem Smartphone fortfahren","handoff.waiting":"Diese Seite geht von selbst weiter, sobald Sie auf dem Smartphone fertig sind","inApp.continueAnyway":"Trotzdem hier fortfahren","inApp.copied":"Link kopiert. Fügen Sie ihn in Ihren Browser ein","inApp.copyFailed":"Wir konnten den Link nicht kopieren. Kopieren Sie stattdessen die Adresse dieser Seite","inApp.copyLink":"Link kopieren","inApp.description":"Die Kamera funktioniert in dieser App nicht zuverlässig. Öffnen Sie den Link in Chrome oder Safari, um fortzufahren.","inApp.title":"Öffnen Sie diese Seite in Ihrem Browser","native.close":"Schließen","native.face.humanIntroLead":"Eine kurze Aufnahme: Schauen Sie einfach auf den Bildschirm.","native.face.humanIntroTitle":"Bestätigen Sie, dass Sie eine echte Person sind","native.face.introLead":"Eine einzige Aufnahme, keine besondere Bewegung: Schauen Sie einfach auf den Bildschirm.","native.face.introTitle":"Jetzt prüfen wir Ihr Gesicht","native.result.approved":"Ihre Verifizierung ist abgeschlossen. Sie können zu {org} zurückkehren.","native.result.back":"Zurück zu {org}","native.result.copied":"Kopiert","native.result.expired":"Beginnen Sie erneut über {org}, um eine neue Sitzung zu erhalten.","native.result.rejected":"Wenden Sie sich an {org}, wenn Sie glauben, dass es sich um einen Fehler handelt.","native.result.review":"Das Ergebnis wird an {org} gesendet. Sie müssen nichts weiter tun.","otp.channelSms":"SMS","otp.channelWhatsapp":"WhatsApp","otp.chooseChannel":"Wie möchten Sie Ihren Code erhalten?","otp.codeHelper":"Geben Sie den 6-stelligen Code ein, den wir Ihnen gesendet haben","otp.codeInvalid":"Geben Sie den 6-stelligen Code ein","otp.codeLabel":"Bestätigungscode","otp.countryLabel":"Land","otp.expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen an","otp.expiresIn":"Der Code läuft ab in {time}","otp.or":"oder","otp.otherCountry":"Anderes Land","otp.phoneHelper":"Wir senden einen Einmalcode an diese Nummer","otp.phoneInvalid":"Geben Sie Ihre Telefonnummer mit Ländervorwahl ein","otp.phoneLabel":"Telefonnummer","otp.phoneLengthError":"Prüfen Sie die Nummer: Sie sollte {digits} Ziffern haben.","otp.phonePlaceholder":"8 Ziffern","otp.phonePlaceholderGeneric":"Geben Sie Ihre Telefonnummer ohne Ländervorwahl ein","otp.prefilledNotice":"Wir senden einen Bestätigungscode an Ihre hinterlegte Telefonnummer.","otp.reason_insufficient_balance":"Diese Verifizierungsmethode ist gerade nicht verfügbar. Wählen Sie einen anderen Weg, falls angeboten.","otp.reason_otp_channel_unavailable":"Dieser Kanal ist nicht verfügbar. Wählen Sie einen anderen Weg für Ihren Code","otp.reason_otp_daily_cap_reached":"Wir können Ihnen heute keinen Code senden. Wählen Sie einen anderen Weg, falls angeboten, oder versuchen Sie es später erneut.","otp.reason_otp_destination_not_allowed":"An Nummern aus diesem Land können wir keine Codes senden. Geben Sie eine andere Nummer ein","otp.reason_otp_destination_unknown":"Wir konnten diese Nummer nicht erkennen. Prüfen Sie sie und geben Sie sie mit Ländervorwahl erneut ein","otp.reason_otp_expired":"Dieser Code ist abgelaufen. Fordern Sie einen neuen Code an, um fortzufahren","otp.reason_otp_mismatch":"Der Code ist falsch. Prüfen Sie ihn und geben Sie ihn erneut ein","otp.reason_otp_number_invalid":"Diese Nummer scheint für ihr Land nicht vollständig zu sein. Prüfen Sie sie und versuchen Sie es erneut.","otp.reason_otp_number_not_mobile":"Geben Sie eine Mobilnummer ein. Codes erreichen kein Festnetz.","otp.reason_otp_rate_limited":"Zu viele Codes angefordert. Warten Sie einen Moment und versuchen Sie es dann erneut","otp.reason_otp_send_failed":"Wir konnten den Code nicht senden. Versuchen Sie es gleich noch einmal","otp.reason_payment_method_required":"Diese Verifizierungsmethode ist gerade nicht verfügbar. Wählen Sie einen anderen Weg, falls angeboten.","otp.reason_spend_cap_reached":"Diese Verifizierungsmethode ist gerade nicht verfügbar. Wählen Sie einen anderen Weg, falls angeboten.","otp.resend":"Code erneut senden","otp.resendBy":"Erneut per {channel} senden","otp.resendIn":"Code erneut senden in {seconds} s","otp.send":"Code senden","otp.sendBy":"Code per {channel} senden","otp.sendDescription":"Wir senden Ihnen einen Einmalcode, um zu bestätigen, dass diese Nummer Ihnen gehört","otp.sendTitle":"Bestätigen Sie Ihre Telefonnummer","otp.sentTo":"Wir haben einen 6-stelligen Code per {channel} an {number} gesendet","otp.verify":"Code bestätigen","otp.verifyDescription":"Geben Sie den 6-stelligen Code ein, den wir Ihnen gesendet haben, um Ihre Nummer zu bestätigen","otp.verifyTitle":"Bestätigungscode eingeben","reasons.camera_unavailable":"Für diese Verifizierung wird eine Kamera benötigt. Kehren Sie zu {org} zurück, um auf andere Weise fortzufahren.","reasons.capture_tampered":"Wir konnten auf diesem Gerät nicht fortfahren. Versuchen Sie es auf einem anderen Gerät oder in einem anderen Browser erneut.","reasons.clip_too_short":"Die Aufnahme war zu kurz","reasons.device_cooldown":"Zu viele Versuche. Versuchen Sie es später erneut.","reasons.device_velocity_exceeded":"Dieses Gerät kann derzeit nicht für eine weitere Verifizierung verwendet werden. Wenden Sie sich an die Organisation.","reasons.media_unreadable":"Die gesendete Aufnahme konnte nicht gelesen werden","reasons.mobile_required":"Fahren Sie auf Ihrem Smartphone fort, um das Selfie aufzunehmen.","reasons.no_face":"Bei der Prüfung wurde kein Gesicht erkannt","reasons.review_band":"Die automatische Prüfung war nicht eindeutig und wurde deshalb zur manuellen Prüfung weitergeleitet","reasons.spoof_detected":"Die Lebenderkennung konnte keine echte Person vor der Kamera bestätigen","reasons.tester_phone_mismatch":"Verwenden Sie die Telefonnummer, mit der sich die Testperson registriert hat","result.platform_unsupported":"Für diese Verifizierung wird eine Smartphone-App benötigt.","result.referenceLabel":"Referenzcode","section.contact":"Kontakt bestätigen","section.live_photo":"Live-Foto aufnehmen","section.screening":"Weitere Prüfungen","session.processing.age_estimation.description":"Das dauert nur ein paar Sekunden","session.processing.age_estimation.title":"Ihr Alter wird geprüft","session.processing.description":"Das dauert meist nur ein paar Sekunden. Das Ergebnis erscheint hier","session.processing.title":"Ihre Verifizierung wird bearbeitet","session.progressLabel":"Fortschritt der Verifizierung","session.requestedBy":"{orgName} bittet Sie, Ihre Identität zu bestätigen","session.result.approved.description":"Sie sind fertig. Sie können diese Seite schließen","session.result.approved.title":"Ihre Identität ist bestätigt","session.result.detailsMismatch":"Die Angaben stimmen nicht mit den Informationen von {org} überein. Wenden Sie sich an {org}.","session.result.deviceStop":"Wir konnten auf diesem Gerät nicht fortfahren. Versuchen Sie es auf einem anderen Gerät oder in einem anderen Browser erneut.","session.result.deviceVelocity":"Dieses Gerät kann derzeit nicht für eine weitere Verifizierung verwendet werden. Wenden Sie sich an {org}.","session.result.expired.description":"Fordern Sie bei der Organisation, die Ihnen den Link geschickt hat, einen neuen an und beginnen Sie von vorn","session.result.expired.title":"Diese Verifizierungssitzung ist abgelaufen","session.result.rejected.description":"Wenn Sie glauben, dass es sich um einen Fehler handelt, wenden Sie sich an die Organisation, die Ihnen diesen Link geschickt hat","session.result.rejected.title":"Ihre Identität konnte nicht bestätigt werden","session.result.review.description":"Das Ergebnis wird an die Organisation gesendet, die Ihnen diesen Link gegeben hat. Sie müssen nichts weiter tun.","session.result.review.title":"Ihre Verifizierung wird geprüft","session.title":"Bestätigen Sie Ihre Identität","shell.subtitle":"Identitätsverifizierung","shell.subtitleHuman":"Menschliche Verifizierung","shell.verifiedBy":"Verifiziert von Sekyro AI","unsupported.description":"Für diesen Schritt wird eine neuere Version dieser Seite benötigt. Wenden Sie sich an {org}.","unsupported.title":"Aktualisierung erforderlich"}});var Lo={};nn(Lo,{DEFAULT_THEME:()=>Le,DEFAULT_TIPS:()=>Te,LivenessCapture:()=>Cr,NO_FACE_DEBOUNCE_MS:()=>Tn,SekyroThemeProvider:()=>Er,VOICE_KEYS:()=>ze,ar:()=>Be,attemptsRemainingText:()=>cn,brandingToTheme:()=>Ir,captureErrorStringKey:()=>on,en:()=>ve,fr:()=>Fe,hintStringKey:()=>rn,mergeThemes:()=>xr,reasonStringKey:()=>an,resolveStrings:()=>un,retryAfterTime:()=>sn,themeToCssVars:()=>Vn});module.exports=Br(Lo);var y=require("react");var it=require("react");var st=require("react/jsx-runtime"),W=(0,it.forwardRef)(r(function({kind:n="primary",full:t=!1,className:a,type:o,...i},s){let u=["sekyro-btn",`sekyro-btn--${n}`];return t&&u.push("sekyro-btn--full"),a!==void 0&&u.push(a),(0,st.jsx)("button",{ref:s,type:o??"button",className:u.join(" "),...i})},"Button"));var de=require("react/jsx-runtime");var Fr=Array.from({length:56},(e,n)=>{let t=n/56*2*Math.PI-Math.PI/2,a=Math.cos(t),o=Math.sin(t);return{id:`tick-${n}`,frac:n/55,x1:150+108*a,y1:150+108*o,x2:150+138*a,y2:150+138*o,style:{transitionDelay:`${n*6}ms`}}});function Gr(e,n,t,a){return t?"var(--sekyro-color-success)":e?a?"color-mix(in srgb, var(--sekyro-color-warning) 75%, transparent)":n<.33?"color-mix(in srgb, var(--sekyro-color-brand) 55%, transparent)":n<.66?"color-mix(in srgb, var(--sekyro-color-brand) 80%, transparent)":"var(--sekyro-color-brand)":"color-mix(in srgb, var(--sekyro-color-surface) 32%, transparent)"}r(Gr,"tickColor");var Ur="M0 -50 H300 V350 H0 Z M50 150 a100,100 0 1 0 200,0 a100,100 0 1 0 -200,0 Z";function ct({progress:e,phase:n,draining:t=!1}){let a=Math.min(1,Math.max(0,e)),o=Math.round(a*56),i=n==="checking",s=n==="recording",u=n==="frozen",k=i||u,L=i||s||u,x=n==="locked"||L,E=t&&!x;return(0,de.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 300 300",preserveAspectRatio:"xMidYMid meet",className:"sekyro-stage__arc","data-testid":"sekyro-capture-arc","data-phase":n,"data-filled":o,"data-recording":s?"":void 0,"data-draining":E?"":void 0,children:[(0,de.jsx)("path",{fillRule:"evenodd",d:Ur,fill:"color-mix(in srgb, var(--sekyro-color-fg) var(--sekyro-scrim, 96%), transparent)",style:{"--sekyro-scrim":k?"100%":"96%"},className:"sekyro-arc__scrim sekyro-capture-fade-in","data-testid":"sekyro-capture-scrim"}),(0,de.jsxs)("g",{className:n==="locked"?"sekyro-capture-settle":void 0,children:[(0,de.jsx)("g",{className:k?"sekyro-arc__ring sekyro-arc__ring--dim":"sekyro-arc__ring",children:Fr.map((m,l)=>(0,de.jsx)("line",{x1:m.x1,y1:m.y1,x2:m.x2,y2:m.y2,stroke:Gr(l<o,m.frac,x,E),strokeWidth:3,strokeLinecap:"round",style:m.style,className:"sekyro-arc__tick"},m.id))}),(0,de.jsx)("g",{className:n==="seeking"?"sekyro-capture-breathe":void 0,children:(0,de.jsx)("circle",{cx:150,cy:150,r:100,fill:"none",stroke:x?"var(--sekyro-color-success)":"var(--sekyro-color-surface)",strokeWidth:x?3.5:2.5,className:L?"sekyro-arc__guide sekyro-arc__guide--spin sekyro-capture-ring-spin":"sekyro-arc__guide sekyro-capture-fade-in","data-testid":"sekyro-capture-guide"})})]})]})}r(ct,"CaptureArc");var ye=require("react");var ve={"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.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","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.result_from_cache":"The registry check was confirmed from a recent copy of the registry","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.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":"Keep your face in the frame the whole time, then try 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 confirm this browser session is genuine. Reload the page and 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.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"};var ut=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"}),Wr=new Map(Object.entries(ut).filter(([e])=>e.startsWith("reasons.")).map(([e,n])=>[n.slice(8),e.slice(8)]));function lt(e){return Wr.get(e)??e}r(lt,"genericReason");function dt(e,n){let t=e,a=n;for(let[o,i]of Object.entries(ut)){let s=a[o],u=a[i];typeof s!="string"&&typeof u=="string"?t[o]=u:typeof u!="string"&&typeof s=="string"&&(t[i]=s)}}r(dt,"aliasRenamedKeys");var Be={"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.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":"أمسك الهاتف بشكل عمودي","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.result_from_cache":"أُكِّد فحص السجل استنادًا إلى نسخة حديثة من السجل","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.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.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.voiceGuidance":"الإرشاد الصوتي","capture.preparing.hint":"يجري إعداد كشف الوجه على جهازك. قد يستغرق ذلك لحظة على اتصال بطيء","capture.ready":"جاهز. ابدأ عندما تكون مستعدًا","fcv2.err.models":"تعذّر تحميل نماذج التعرف على الوجه. تحقق من اتصالك ثم أعد المحاولة"};var Fe={"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.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","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.result_from_cache":"Le contrôle du registre a été confirmé à partir d'une copie récente du registre","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.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":"Gardez votre visage dans le cadre tout du long, puis réessayez.","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 confirmer l'authenticité de cette session de navigateur. Rechargez la page et 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.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"};var tn={},wn=r(e=>e==="es"||e==="pt"||e==="de","isOverlayLocale");function yt(e){return wn(e)?"en":e}r(yt,"baseLocale");function _t(e){return wn(e)?tn[e]:void 0}r(_t,"overlayOf");function Ln(e){return wn(e)&&tn[e]===void 0}r(Ln,"overlayPending");function bt(e){return Ln(e)?(e==="es"?Promise.resolve().then(()=>(mt(),pt)):e==="pt"?Promise.resolve().then(()=>(gt(),ft)):Promise.resolve().then(()=>(vt(),ht))).then(t=>{tn[e]=t.overlay},()=>{tn[e]={}}):Promise.resolve()}r(bt,"loadSekyroLocale");function rn(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";default:{let n=e;throw new Error(`hintStringKey: unhandled hint ${n}`)}}}r(rn,"hintStringKey");function St(e){let n=`hints.${e}`;return Object.hasOwn(ve,n)?n:null}r(St,"retakeHintStringKey");function on(e){return`fcv2.err.${e}`}r(on,"captureErrorStringKey");function an(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 n=`reasons.${lt(e)}`;return Object.hasOwn(ve,n)?n:null}}}r(an,"reasonStringKey");function sn(e,n,t=new Date){if(n===void 0)return null;let a=new Date(n),o=a.getTime()-t.getTime();if(!Number.isFinite(o)||o<=0)return null;if(o<36e5){let u=Math.max(1,Math.ceil(o/6e4));return{key:"cooldown.retryIn",time:new Intl.RelativeTimeFormat(e,{numeric:"always"}).format(u,"minute")}}let i=a.toDateString()===t.toDateString();return{key:"cooldown.retryAt",time:new Intl.DateTimeFormat(e,{...i?{}:{day:"numeric",month:"long"},hour:"2-digit",minute:"2-digit"}).format(a)}}r(sn,"retryAfterTime");function cn(e,n,t){let a=new Intl.PluralRules(n).select(t);return((a==="other"?void 0:e[`capture.attemptsRemaining.${a}`])??e["capture.attemptsRemaining.other"]).replace("{count}",new Intl.NumberFormat(n).format(t))}r(cn,"attemptsRemainingText");var kt={ar:Be,fr:Fe,en:ve};function un(e,n){let t=_t(e),a=t===void 0?kt[yt(e)]:{...kt.en,...t};if(n===void 0)return a;let o={...a};for(let i of Object.keys(n)){let s=n[i];typeof s=="string"&&(o[i]=s)}return dt(o,n),o}r(un,"resolveStrings");function Ct(e){let[,n]=(0,ye.useState)(0),t=Ln(e);return(0,ye.useEffect)(()=>{if(!t)return;let a=!0;return bt(e).then(()=>a&&n(o=>o+1)),()=>{a=!1}},[e,t]),!t}r(Ct,"useLocaleReady");var wt=(0,ye.createContext)(e=>ve[e]??""),Lt=wt.Provider;function B(){return(0,ye.useContext)(wt)}r(B,"useStrings");var V=require("react/jsx-runtime");function It({videoRef:e,guidanceText:n,guidanceHint:t,guidanceKey:a,progress:o,phase:i,draining:s=!1,stillUrl:u,showChecking:k,onSwitchCamera:L,canSwitchCamera:x,operatorText:E=null,voicePrompt:m,overlay:l,reduceMotion:b=!1}){let h=B(),d=i==="checking",f=d||i==="frozen",I=f&&k?h("capture.checking"):n,N=m?.(t,I,a);return(0,V.jsxs)("div",{className:b?"sekyro-stage sekyro-capture-reduce":"sekyro-stage","data-testid":"sekyro-capture-stage",children:[(0,V.jsx)("video",{ref:e,playsInline:!0,muted:!0,className:"sekyro-stage__video","data-testid":"sekyro-capture-video"}),u!==null&&f?(0,V.jsx)("img",{src:u,alt:h("capture.previewAlt"),className:"sekyro-stage__still sekyro-capture-develop","data-testid":"sekyro-capture-still"}):null,(0,V.jsx)(ct,{progress:o,phase:i,draining:s}),l?.(e),N!=null&&!f?(0,V.jsx)("div",{className:"sekyro-stage__corner-start","data-testid":"sekyro-voice-slot",children:N}):null,x?(0,V.jsx)(W,{kind:"chip",onClick:L,"aria-label":h("capture.switchCamera"),className:"sekyro-stage__corner-end","data-testid":"sekyro-switch-camera",children:(0,V.jsx)(Zr,{})}):null,d&&k?(0,V.jsxs)("span",{className:"sekyro-stage__corner-end sekyro-stage__pill sekyro-capture-pill-in","data-testid":"sekyro-camera-off-pill",children:[(0,V.jsx)(Qr,{}),h("capture.cameraOff")]}):null,(0,V.jsxs)("p",{"aria-live":"polite",className:"sekyro-stage__guidance","data-testid":"sekyro-capture-guidance",children:[(0,V.jsx)("span",{className:"sekyro-stage__guidance-text sekyro-capture-text-in",children:I},I),f&&k?(0,V.jsx)("span",{className:"sekyro-stage__guidance-hint",children:h("capture.checkingHint")}):E!==null&&!f?(0,V.jsx)("span",{className:"sekyro-stage__guidance-hint","data-testid":"sekyro-operator-line",children:E}):null]})]})}r(It,"CaptureStage");function Zr(){return(0,V.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"sekyro-icon",children:[(0,V.jsx)("path",{d:"M4 7.5h2.2l1.4-1.9h8.8l1.4 1.9H20a1.6 1.6 0 0 1 1.6 1.6v8.3A1.6 1.6 0 0 1 20 19H4a1.6 1.6 0 0 1-1.6-1.6V9.1A1.6 1.6 0 0 1 4 7.5Z"}),(0,V.jsx)("path",{d:"M15.4 11.9a3.5 3.5 0 0 0-6.1-1.4M15.4 11.9h-2.1m2.1 0V9.8"}),(0,V.jsx)("path",{d:"M8.6 13.4a3.5 3.5 0 0 0 6.1 1.4M8.6 13.4h2.1m-2.1 0v2.1"})]})}r(Zr,"FlipCameraIcon");function Qr(){return(0,V.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"sekyro-icon sekyro-icon--sm",children:[(0,V.jsx)("path",{d:"M4 7.5h2.2l1.4-1.9h8.8l1.4 1.9H20a1.6 1.6 0 0 1 1.6 1.6v8.3A1.6 1.6 0 0 1 20 19H4a1.6 1.6 0 0 1-1.6-1.6V9.1A1.6 1.6 0 0 1 4 7.5Z"}),(0,V.jsx)("path",{d:"M3 3l18 18"})]})}r(Qr,"CameraOffIcon");var ln=require("react");var ne=require("react/jsx-runtime");function xt({showCoaching:e,attemptsText:n,showRetake:t,onRetake:a}){let o=B(),i=(0,ln.useRef)(null);return(0,ln.useEffect)(()=>{t&&i.current?.focus()},[t]),!e&&!t?null:(0,ne.jsxs)("div",{className:"sekyro-stack sekyro-stack--3","data-testid":"sekyro-captured-panel",children:[e?(0,ne.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,ne.jsx)("p",{className:"sekyro-text-body",children:o("capture.retryCoaching.title")}),(0,ne.jsxs)("ul",{className:"sekyro-coaching",children:[(0,ne.jsx)("li",{children:o("capture.retryCoaching.light")}),(0,ne.jsx)("li",{children:o("capture.retryCoaching.eyeLevel")}),(0,ne.jsx)("li",{children:o("capture.retryCoaching.head")})]}),n!==null?(0,ne.jsx)("p",{className:"sekyro-text-muted","data-testid":"sekyro-attempts-remaining",children:n}):null]}):null,t?(0,ne.jsx)(W,{ref:i,className:"sekyro-btn--start",onClick:a,children:o("capture.recordAgain")}):null]})}r(xt,"CapturedPanel");function Re(){try{return process.env.NODE_ENV!=="production"}catch{return!1}}r(Re,"isDevBuild");var Et=require("react"),Rt=(0,Et.createContext)(null);var Z=require("react");var At=require("react/jsx-runtime");function X({tone:e,role:n,children:t,testId:a}){return(0,At.jsx)("div",{role:n??(e==="info"?"status":"alert"),className:`sekyro-notice sekyro-notice--${e}`,"data-testid":a,children:t})}r(X,"Notice");var Tt=require("react");var pe=require("react/jsx-runtime"),Xr=["user","environment"];function Vt({value:e,onChange:n}){let t=B(),a=(0,Tt.useId)();return(0,pe.jsxs)("fieldset",{className:"sekyro-segmented","data-testid":"sekyro-facing",children:[(0,pe.jsx)("legend",{className:"sekyro-segmented__legend",children:t("capture.cameraLabel")}),(0,pe.jsx)("div",{className:"sekyro-segmented__options",children:Xr.map(o=>(0,pe.jsxs)("label",{className:"sekyro-segmented__option",children:[(0,pe.jsx)("input",{type:"radio",className:"sekyro-segmented__input",name:a,value:o,checked:e===o,onChange:()=>n(o)}),(0,pe.jsxs)("span",{className:"sekyro-segmented__face",children:[(0,pe.jsx)("span",{className:"sekyro-segmented__dot","aria-hidden":"true"}),t(`capture.facing.${o}`)]})]},o))})]})}r(Vt,"FacingPicker");var g=require("react/jsx-runtime");function se({className:e,children:n}){return(0,g.jsx)("svg",{"aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:e??"sekyro-icon sekyro-icon--sm",children:n})}r(se,"Svg");var In="M4 7.5h2.2l1.4-1.9h8.8l1.4 1.9H20a1.6 1.6 0 0 1 1.6 1.6v8.3A1.6 1.6 0 0 1 20 19H4a1.6 1.6 0 0 1-1.6-1.6V9.1A1.6 1.6 0 0 1 4 7.5Z";function Nt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,g.jsx)("path",{d:"M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M5.3 18.7l1.4-1.4M17.3 6.7l1.4-1.4"})]})}r(Nt,"SunIcon");function zt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("circle",{cx:"12",cy:"12",r:"9"}),(0,g.jsx)("path",{d:"M9 10h.01M15 10h.01M8.8 14.6a4.2 4.2 0 0 0 6.4 0"})]})}r(zt,"FaceUncoveredIcon");function Pt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("rect",{x:"7",y:"2.5",width:"10",height:"19",rx:"2"}),(0,g.jsx)("path",{d:"M10.5 18.5h3M2.5 9.5h2.5M19 9.5h2.5"}),(0,g.jsx)("circle",{cx:"12",cy:"9.5",r:"1.6"})]})}r(Pt,"PhoneEyeLevelIcon");function Ot(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:"M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z"}),(0,g.jsx)("circle",{cx:"12",cy:"12",r:"2.8"})]})}r(Ot,"LookStraightIcon");function Mt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:In}),(0,g.jsx)("path",{d:"M9 13l2 2 4-4"})]})}r(Mt,"CameraCheckIcon");function qt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:In}),(0,g.jsx)("path",{d:"M10.2 11.2a1.9 1.9 0 1 1 2.6 1.8c-.5.2-.8.6-.8 1.1v.3M12 16.4h.01"})]})}r(qt,"CameraAskIcon");function Dt(e){return(0,g.jsxs)(se,{...e,children:[(0,g.jsx)("path",{d:In}),(0,g.jsx)("path",{d:"M3 3l18 18"})]})}r(Dt,"CameraBlockedIcon");function Ae({off:e,className:n}){return(0,g.jsxs)(se,{className:n,children:[(0,g.jsx)("path",{d:"M4.5 9.5v5H8l4 3.5v-12L8 9.5H4.5Z"}),e?(0,g.jsx)("path",{d:"M4 4l16 16"}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("path",{d:"M15.5 9.7a3.6 3.6 0 0 1 0 4.6"}),(0,g.jsx)("path",{d:"M18 7.6a6.6 6.6 0 0 1 0 8.8"})]})]})}r(Ae,"SpeakerIcon");function Kt(e){return(0,g.jsx)(se,{...e,children:(0,g.jsx)("path",{d:"M5 12.5l4.5 4.5L19 7.5"})})}r(Kt,"CheckIcon");function Ht(e){return(0,g.jsxs)(se,{className:e.className??"sekyro-spinner",children:[(0,g.jsx)("circle",{cx:"12",cy:"12",r:"9",opacity:"0.25"}),(0,g.jsx)("path",{d:"M21 12a9 9 0 0 0-9-9"})]})}r(Ht,"SpinnerIcon");var dn=require("react");var _e=require("react/jsx-runtime");function Bt({state:e}){let n=B(),[t,a]=(0,dn.useState)(!1);(0,dn.useEffect)(()=>{e!=="unknown"&&a(!0)},[e]);let o=e==="granted"?(0,_e.jsx)(Mt,{}):e==="denied"?(0,_e.jsx)(Dt,{}):(0,_e.jsx)(qt,{});return(0,_e.jsxs)("div",{role:t?"status":void 0,className:`sekyro-permission sekyro-permission--${e}`,"data-testid":"sekyro-permission","data-state":e,children:[(0,_e.jsx)("span",{className:"sekyro-permission__icon","aria-hidden":"true",children:o}),(0,_e.jsx)("span",{children:n(`capture.permission.${e}`)})]})}r(Bt,"PermissionRow");var Ft=require("react");var J=require("react/jsx-runtime"),Te=["light","uncover","eyeLevel","straight"],Jr={light:{key:"capture.tips.light",icon:r(()=>(0,J.jsx)(Nt,{}),"icon")},uncover:{key:"capture.tips.uncover",icon:r(()=>(0,J.jsx)(zt,{}),"icon")},eyeLevel:{key:"capture.tips.eyeLevel",icon:r(()=>(0,J.jsx)(Pt,{}),"icon")},straight:{key:"capture.tips.straight",icon:r(()=>(0,J.jsx)(Ot,{}),"icon")}};function Gt({tips:e}){let n=B(),t=(0,Ft.useId)();return e.length===0?null:(0,J.jsxs)("section",{className:"sekyro-tips","aria-labelledby":t,"data-testid":"sekyro-tips",children:[(0,J.jsx)("p",{className:"sekyro-tips__title",id:t,children:n("capture.tips.title")}),(0,J.jsx)("ul",{className:"sekyro-tips__list",children:e.map(a=>{let o=typeof a=="string"?Jr[a]:void 0,i=typeof a=="string"?a:a.id,s=o!==void 0?o.icon():typeof a=="string"?void 0:a.icon,u=o!==void 0?n(o.key):typeof a=="string"?a:a.text;return(0,J.jsxs)("li",{className:"sekyro-tips__item",children:[s!=null?(0,J.jsx)("span",{className:"sekyro-tips__icon","aria-hidden":"true",children:s}):null,(0,J.jsx)("span",{children:u})]},i)})})]})}r(Gt,"TipList");var be=require("react/jsx-runtime");function Ut({voice:e}){let n=B();if(!e.supported)return null;let t=e.enabled;return(0,be.jsxs)("button",{type:"button",role:"switch","aria-checked":t,className:"sekyro-switch","data-testid":"sekyro-voice-switch",onClick:()=>e.toggle(),children:[(0,be.jsxs)("span",{className:"sekyro-switch__label",children:[(0,be.jsx)(Ae,{off:!t}),n("capture.voiceGuidance")]}),(0,be.jsx)("span",{className:"sekyro-switch__track","aria-hidden":"true",children:(0,be.jsx)("span",{className:"sekyro-switch__thumb",children:t?(0,be.jsx)(Kt,{className:"sekyro-switch__check"}):null})})]})}r(Ut,"VoiceSwitch");var A=require("react/jsx-runtime");function Wt({assets:e,onRetryAssets:n,permission:t,captureMode:a="self",canChooseFacing:o,facing:i,onFacingChange:s,voice:u,tips:k,summary:L,startLabel:x,startDisabled:E,onStart:m}){let l=B(),b=(0,Z.useRef)(L?.stop);b.current=L?.stop,(0,Z.useEffect)(()=>()=>b.current?.(),[]);let h=(0,Z.useRef)(null),d=(0,Z.useRef)(null),T=(0,Z.useRef)(null),f=(0,Z.useRef)(e),I=(0,Z.useRef)(!1);(0,Z.useEffect)(()=>{let c=f.current;if(f.current=e,c===e)return;let O=I.current;e!=="loading"&&(I.current=!1),eo(h.current)&&(e==="failed"?T.current?.focus():O&&d.current?.focus())},[e]);let N=(0,Z.useCallback)(()=>{I.current=!0,n()},[n]),G=e==="loading",p=G||E,Y=(0,Z.useCallback)(()=>{p||(b.current?.(),m())},[p,m]),U;e==="failed"?U=(0,A.jsxs)(X,{tone:"danger",testId:"sekyro-assets-error",children:[(0,A.jsx)("p",{className:"sekyro-text-body",children:l("fcv2.err.models")}),(0,A.jsx)(W,{kind:"ghost",ref:T,className:"sekyro-btn--start",onClick:N,"data-testid":"sekyro-assets-retry",children:l("common.retry")})]}):U=(0,A.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,A.jsx)(W,{ref:d,full:!0,"data-testid":"sekyro-start","aria-disabled":p?"true":void 0,"aria-busy":G?"true":void 0,onClick:Y,children:G?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(Ht,{}),l("capture.preparing.title")]}):x??l("capture.start")}),G?(0,A.jsx)("p",{className:"sekyro-text-muted",children:l("capture.preparing.hint")}):null]});let Q=a==="assisted";return(0,A.jsxs)("div",{ref:h,className:"sekyro-stack sekyro-stack--4","data-testid":"sekyro-intro","data-assets":e,children:[Q?(0,A.jsxs)("div",{className:"sekyro-stack sekyro-stack--1","data-testid":"sekyro-assisted-intro",children:[(0,A.jsx)("h2",{className:"sekyro-text-body",children:l("capture.assisted.title")}),(0,A.jsx)("p",{className:"sekyro-text-muted",children:l("capture.assisted.lead")})]}):null,k!==!1?(0,A.jsx)(Gt,{tips:k}):null,L!==void 0?(0,A.jsxs)(W,{kind:"ghost",className:"sekyro-btn--start",onClick:L.toggle,"data-testid":"sekyro-tips-listen",children:[(0,A.jsx)(Ae,{off:!1}),l(L.playing?"capture.tips.stop":"capture.tips.listen")]}):null,(0,A.jsx)(Bt,{state:t}),Q&&o?(0,A.jsx)(Vt,{value:i,onChange:s}):null,(0,A.jsx)(Ut,{voice:u}),(0,A.jsx)("p",{className:"sekyro-text-muted",children:l("capture.securityNote")}),U,(0,A.jsx)("p",{role:"status",className:"sekyro-visually-hidden","data-testid":"sekyro-intro-status",children:e==="loading"?l("capture.preparing.title"):e==="ready"?l("capture.ready"):""})]})}r(Wt,"PreCaptureScreen");function eo(e){if(typeof document>"u")return!1;let n=document.activeElement;return n===null||n===document.body||e!==null&&e.contains(n)}r(eo,"focusIsOurs");var me=require("react");var jt=require("react");function pn(){return(0,jt.useCallback)(e=>{e?.focus()},[])}r(pn,"useFocusOnMount");var F=require("react/jsx-runtime"),no=220;function $t({title:e,description:n,options:t,busy:a,error:o,focus:i,testId:s,look:u="cards",marked:k,onChoose:L}){let x=(0,me.useId)(),E=pn(),[m,l]=(0,me.useState)(null),b=(0,me.useRef)(null);(0,me.useEffect)(()=>{o!==null&&l(null)},[o]),(0,me.useEffect)(()=>()=>{b.current!==null&&clearTimeout(b.current)},[]);let h=r(d=>{a||m!==null||(l(d),b.current=setTimeout(()=>{b.current=null,l(null),L(d)},no))},"choose");return(0,F.jsxs)("section",{className:"sekyro-stack sekyro-stack--4 sekyro-choice","aria-labelledby":x,"data-testid":s,children:[(0,F.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,F.jsx)("h2",{id:x,ref:i?E:void 0,tabIndex:-1,className:"sekyro-text-body",children:e}),n!==void 0&&n!==""?(0,F.jsx)("p",{className:"sekyro-text-muted",children:n}):null]}),o!==null?(0,F.jsx)(X,{tone:"danger",children:(0,F.jsx)("span",{children:o})}):null,u==="buttons"?(0,F.jsx)("div",{className:"sekyro-stack sekyro-stack--3",children:t.map((d,T)=>(0,F.jsx)(W,{kind:T===0?"primary":"ghost",full:!0,disabled:a,"aria-busy":a||void 0,onClick:()=>L(d.id),children:d.label},d.id))}):(0,F.jsx)("div",{className:"sekyro-choices",children:t.map(d=>(0,F.jsxs)("button",{type:"button",className:"sekyro-card","aria-pressed":(m??k)===d.id,"aria-busy":a||void 0,disabled:a||m!==null&&m!==d.id,onClick:()=>h(d.id),children:[d.glyph,(0,F.jsxs)("span",{className:"sekyro-card__body",children:[(0,F.jsx)("span",{className:"sekyro-card__title",children:d.label}),d.sub!==void 0?(0,F.jsx)("span",{className:"sekyro-card__sub",children:d.sub}):null]}),(0,F.jsx)("span",{className:"sekyro-radio","aria-hidden":"true"})]},d.id))})]})}r($t,"ChoiceScreen");var mn=require("@sekyro/web"),Ve=require("react");function Yt(){let[e,n]=(0,Ve.useState)({state:"unknown",settled:!1}),[t,a]=(0,Ve.useState)({canChoose:!1,settled:!1});return(0,Ve.useEffect)(()=>(0,mn.subscribeCameraPermission)(o=>n({state:o,settled:!0})),[]),(0,Ve.useEffect)(()=>{let o=!0;return(0,mn.hasMultipleCameras)().then(i=>{o&&a({canChoose:i,settled:!0})},()=>{o&&a({canChoose:!1,settled:!0})}),()=>{o=!1}},[]),{permission:e.state,permissionSettled:e.settled,canChooseFacing:t.canChoose,facingSettled:t.settled}}r(Yt,"useCameraStatus");var Se=require("react");function Zt(e){return Xt(e,"mobileRequired")}r(Zt,"useMobileRequired");function Qt(e){return Xt(e,"returning").required}r(Qt,"useReturning");function Xt(e,n){let[t,a]=(0,Se.useState)({required:!1,settled:e===void 0});return(0,Se.useEffect)(()=>{let o=e?.[n];if(e===void 0||typeof o!="function"){a({required:!1,settled:!0});return}let i=!0;return a({required:!1,settled:!1}),Promise.resolve().then(()=>o.call(e)).then(s=>{i&&a({required:s===!0,settled:!0})},()=>{i&&a({required:!1,settled:!0})}),()=>{i=!1}},[e,n]),t}r(Xt,"useFlag");function Jt(e){let[n,t]=(0,Se.useState)({mode:"self",settled:e===void 0});return(0,Se.useEffect)(()=>{let a=e?.captureMode;if(e===void 0||typeof a!="function"){t({mode:"self",settled:!0});return}let o=!0;return t({mode:"self",settled:!1}),Promise.resolve().then(()=>a.call(e)).then(i=>{o&&t({mode:i==="assisted"?"assisted":"self",settled:!0})},()=>{o&&t({mode:"self",settled:!0})}),()=>{o=!1}},[e]),n}r(Jt,"useCaptureMode");function er(e){let[n,t]=(0,Se.useState)(!1);return(0,Se.useEffect)(()=>{if(t(!1),e===void 0)return;let a=e.on("busy",()=>t(!0)),o=e.on("result",()=>t(!1));return()=>{a(),o()}},[e]),n}r(er,"useBusy");var nr=require("@sekyro/web");var rr=require("react/jsx-runtime");function tr({colour:e}){return e===null?null:(0,rr.jsx)("div",{"aria-hidden":"true","data-testid":"sekyro-screen-ramp","data-colour":e,style:{position:"fixed",inset:0,pointerEvents:"none",backgroundColor:(0,nr.screenRampColourValue)(e)}})}r(tr,"ScreenRampLayer");var Ne=require("@sekyro/web"),$=require("react");var to=r(()=>"idle","serverSnapshot");function or(e){return(0,Ne.preloadLivenessAssets)(e!==void 0?{assetBaseUrl:e}:{})}r(or,"preload");function ar(e,n=!0){let t=(0,$.useSyncExternalStore)((0,$.useCallback)(E=>(0,Ne.subscribeLivenessAssets)(E,e),[e]),()=>(0,Ne.getLivenessAssetsStatus)(e),to),[a,o]=(0,$.useState)(null),i=(0,$.useRef)(!1),s=(0,$.useCallback)(()=>{or(e).then(E=>{i.current&&E==="idle"&&o({base:e})})},[e]);(0,$.useEffect)(()=>(i.current=!0,s(),()=>{i.current=!1}),[s]);let u=(0,$.useRef)(null);(0,$.useEffect)(()=>{if(t!=="idle"){u.current={base:e};return}!n||u.current===null||u.current.base!==e||(u.current=null,s())},[t,e,s,n]);let k=(0,$.useCallback)(()=>{or(e)},[e]);return{gate:a!==null&&a.base===e&&t==="idle"||t==="ready"?"ready":t==="failed"?"failed":"loading",retry:k}}r(ar,"useLivenessAssets");var sr=require("@sekyro/web"),R=require("react");var ir={progress:0,hint:null,faceDetected:!1};function cr(e){let{videoRef:n,assetBaseUrl:t}=e,o=(0,R.useRef)(e.verification).current,i=(0,R.useRef)(!1);e.verification!==o&&!i.current&&Re()&&(i.current=!0,console.warn("[@sekyro/react] <LivenessCapture>: the `verification` prop changed identity after mount. The first instance stays bound (the camera is not rebuilt); create the verification once (useMemo / useState / outside render) instead of on every render."));let s=(0,R.useRef)(null),[u,k]=(0,R.useState)("idle"),[L,x]=(0,R.useState)(ir),[E,m]=(0,R.useState)(!1),[l,b]=(0,R.useState)(!1),[h,d]=(0,R.useState)(null),[T,f]=(0,R.useState)(!1),[I,N]=(0,R.useState)(null),[G,p]=(0,R.useState)(null),[Y,U]=(0,R.useState)(null),[Q,c]=(0,R.useState)(null),[O,z]=(0,R.useState)(null),M=(0,R.useRef)(null),D=(0,R.useRef)("idle"),te=(0,R.useRef)(e);te.current=e,(0,R.useEffect)(()=>{let K=n.current;if(K===null)return;let S={video:K,...t!==void 0?{assetBaseUrl:t}:{}},H=o!==void 0?o.liveness(S):(0,sr.createLivenessCapture)(S);s.current=H;let ue=r(()=>z(H.facingMode??null),"readFacing");ue();let P=[H.on("state",w=>{w==="starting"?(p(null),U(null),x(ir),b(!1),m(!1),d(null),N(null),M.current=null):w==="gating"&&D.current==="recording"&&(b(!1),m(!1),d(null),M.current=null),D.current=w,ue(),k(w),te.current.onStateChange?.(w)}),H.on("gate",w=>{let Ie=M.current;M.current=w.progress,m(Ie!==null&&w.progress<Ie-.001&&w.progress>0&&w.progress<1),w.progress>=1&&b(!0),x(w)}),H.on("frozen",({previewDataUrl:w})=>d(w)),H.on("profile",({animations:w})=>f(w==="reduced")),H.on("ramp",({colour:w})=>N(w)),H.on("captured",w=>{p(w),c(null),te.current.onCaptured?.(w)}),H.on("error",w=>{U(w),te.current.onError?.(w)}),o?.on("result",w=>{c(w),te.current.onResult?.(w)})];return()=>{for(let w of P)w?.();s.current=null,H.destroy()}},[o,n,t]);let ke=(0,R.useCallback)(K=>{s.current?.start(K)},[]),q=(0,R.useCallback)(()=>{s.current?.retry()},[]),re=(0,R.useCallback)(()=>{let K=s.current,S=K?.switchCamera()===!0;return S&&(z(K?.facingMode??null),b(!1),m(!1),d(null),M.current=null),S},[]);return{state:u,gate:L,draining:E,gateLocked:l,frozenPreview:h,reduceMotion:T,rampColour:I,artifacts:G,error:Y,result:Q,facingMode:O,start:ke,retry:q,switchCamera:re}}r(cr,"useLivenessHandle");var fe=require("react");var ro=new Set(["national_number"]);function ur(e){if(e==null||!e.available||e.selected!==null)return null;let n=e.options.filter(t=>ro.has(t));return n.length>0?{...e,options:n}:null}r(ur,"pending");function lr(e){let[n,t]=(0,fe.useState)(null),[a,o]=(0,fe.useState)(e===void 0),[i,s]=(0,fe.useState)(!1),[u,k]=(0,fe.useState)(!1);(0,fe.useEffect)(()=>{if(t(null),e===void 0){o(!0);return}let m=!0,l=e.methodChoice;typeof l=="function"?(o(!1),Promise.resolve().then(()=>l.call(e)).then(h=>{m&&t(ur(h))},()=>{}).finally(()=>{m&&o(!0)})):o(!0);let b=e.on("method",h=>t(ur(h)));return()=>{m=!1,b()}},[e]);let L=(0,fe.useCallback)(async m=>{if(e===void 0)return!1;s(!0),k(!1);try{return await e.selectMethod(m),t(null),!0}catch{return k(!0),!1}finally{s(!1)}},[e]),x=n!==null&&n.options.length===1?n.options[0]:null;return{choice:n,auto:x==="national_number"&&!u?x:null,settled:a,busy:i,failed:u,select:L}}r(lr,"useMethodChoice");var Pe=require("react");var ze=["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","capture.tips.summary"];function we(e){return e!==null&&ze.includes(e)}r(we,"isVoiceKey");var oo=["ar","fr","en"];function ao(e){if(typeof e!="string")return!1;try{let n=new URL(e);return n.protocol==="https:"||n.protocol==="http:"&&/^(localhost|127\.0\.0\.1)$/.test(n.hostname)}catch{return!1}}r(ao,"isClipUrl");function io(e){let n=e.clips;if(typeof n!="object"||n===null)return null;let t={};for(let a of oo){let o=n[a];if(!(typeof o!="object"||o===null))for(let[i,s]of Object.entries(o))!we(i)||!ao(s)||((t[a]??(t[a]={}))[i]=s)}return Object.keys(t).length>0?t:null}r(io,"toVoiceClipMap");function dr(e){let[n,t]=(0,Pe.useState)(null);(0,Pe.useEffect)(()=>{if(t(null),e===void 0)return;let o=!0,i=r(u=>{if(!o)return;let k=typeof u=="object"&&u!==null&&typeof u.setId=="string"?u:null;t(L=>L?.setId===k?.setId?L:k)},"take");try{typeof e.voiceClips=="function"&&Promise.resolve(e.voiceClips()).then(i,()=>i(null))}catch{i(null)}let s=e.on("view",u=>i(u.voice));return()=>{o=!1,s()}},[e]);let a=(0,Pe.useMemo)(()=>n!==null?io(n):null,[n]);return e===void 0?null:a}r(dr,"useServerVoiceClips");var xn=require("react/jsx-runtime");function pr({voice:e}){let n=B();return(0,xn.jsx)(W,{kind:"chip","aria-pressed":e.enabled,"aria-label":n("capture.voiceGuidance"),"data-testid":"sekyro-voice-toggle",onClick:()=>e.toggle(),children:(0,xn.jsx)(Ae,{off:!e.enabled,className:"sekyro-icon"})})}r(pr,"VoiceChip");var v=require("react");var so=r((e,n)=>Object.prototype.hasOwnProperty.call(e,n),"own");function Oe(e,n,t){let a;try{if(typeof e=="function")a=e(n,t);else{let o=e[t];a=o!=null&&so(o,n)?o[n]:null}}catch{return null}return typeof a=="string"&&a!==""?a:null}r(Oe,"resolveClip");var co="UklGRiQAAABXQVZFZm10IBAAAAABAAEAESsAACJWAAACABAAZGF0YQAAAAA=",gr={ar:"ar-SA",fr:"fr-FR",en:"en-US",es:"es-ES",pt:"pt-BR",de:"de-DE"};function ce(){return typeof window<"u"&&"speechSynthesis"in window?window.speechSynthesis:null}r(ce,"synth");function uo(){return ce()!==null&&typeof SpeechSynthesisUtterance=="function"}r(uo,"speechAvailable");function mr(e){return(e.split(/[-_]/)[0]??e).toLowerCase()}r(mr,"baseLang");function hr(e,n){let t=r(o=>o.replace(/_/g,"-").toLowerCase(),"norm"),a=mr(n);return e.find(o=>t(o.lang)===t(n))??e.find(o=>mr(o.lang)===a)}r(hr,"pickVoice");function vr(e){if(!uo())return!1;let n=[];try{n=ce()?.getVoices()??[]}catch{return!0}return n.length===0||hr(n,e)!==void 0}r(vr,"speechUsable");function yr(e){let n=ce();return n===null||typeof n.addEventListener!="function"?()=>{}:(n.addEventListener("voiceschanged",e),()=>n.removeEventListener?.("voiceschanged",e))}r(yr,"subscribeVoices");function Ge(e){try{let n=typeof location<"u"?location.href:"http://localhost/",t=new URL(e,n);return`clip:${t.origin}${t.pathname}`}catch{return`clip:${e}`}}r(Ge,"clipIdentity");function fr(e){e.pause(),e.removeAttribute("src"),e.load()}r(fr,"release");function _r(){let e=null,n=null,t=0,a=null,o=[],i=new Map,s=r(()=>{o=ce()?.getVoices()??[]},"loadVoices"),u=!1,k=r(()=>{let l=ce();u||l===null||(u=!0,s(),l.addEventListener?.("voiceschanged",s))},"bindVoices"),L=r(()=>(e??(e=new Audio),e),"element"),x=r((l,b,h)=>{let d=ce();if(d!==null&&l!==""&&typeof SpeechSynthesisUtterance=="function"){k();let T=hr(o,b);if(o.length===0||T!==void 0){d.cancel();let f=new SpeechSynthesisUtterance(l);f.lang=b,T!==void 0&&(f.voice=T),f.rate=.95,h!==void 0&&(f.onend=f.onerror=h),d.speak(f);return}}h?.()},"speak"),E=r(()=>{t+=1,a=null,e!==null&&(e.pause(),e.currentTime=0),ce()?.cancel()},"stop"),m=r(l=>{for(let b of l){let h=Ge(b);if(i.has(h))continue;let d=new Audio;d.preload="auto",d.src=b,i.set(h,d)}},"warmClips");return{say(l){let b=l.url!==null?Ge(l.url):`tts:${l.lang}:${l.text}`;if(b===a)return;a=b,t+=1;let h=t,d=l.onEnd,T=d!==void 0?()=>{h===t&&d()}:void 0;if(ce()?.cancel(),l.url!==null){let f=L();f.pause(),f.muted=!1,f.src=l.url,f.currentTime=0,f.onended=T??null,f.play()?.catch(I=>{h===t&&I?.name!=="AbortError"&&(l.speech?x(l.text,l.lang,T):T?.())});return}l.speech?x(l.text,l.lang,T):T?.()},unlock({lang:l,speech:b,prefetch:h}){let d=L();if(n===null&&typeof Blob=="function"&&typeof URL.createObjectURL=="function"){let I=Uint8Array.from(atob(co),N=>N.charCodeAt(0));n=URL.createObjectURL(new Blob([I],{type:"audio/wav"}))}let T=d.paused===!1&&n!==null&&d.src!==n;n!==null&&!T&&(d.muted=!0,d.onended=null,d.src=n,d.play()?.catch(()=>{}));let f=ce();if(b&&f!==null&&typeof SpeechSynthesisUtterance=="function"){k();let I=new SpeechSynthesisUtterance(" ");I.volume=0,I.lang=l,f.speak(I)}m(h??[])},prefetch:m,stop:E,dispose(){E(),u&&ce()?.removeEventListener?.("voiceschanged",s),u=!1,n!==null&&URL.revokeObjectURL(n),n=null,e!==null&&fr(e),e=null;for(let l of i.values())fr(l);i.clear()}}}r(_r,"createVoicePlayer");var br="sekyro.voiceGuidance";function Sr(e){try{if(typeof window>"u")return null;let n=window.localStorage.getItem(e);return n==="1"?!0:n==="0"?!1:null}catch{return null}}r(Sr,"readVoicePreference");function kr(e,n){try{if(typeof window>"u")return;window.localStorage.setItem(e,n?"1":"0")}catch{}}r(kr,"writeVoicePreference");var Ue="capture.tips.summary",lo=typeof window<"u"?v.useLayoutEffect:v.useEffect,po=Object.freeze({});function En(e,n){let t=new Set,a=[];for(let o of ze){let i=o===Ue?null:Oe(e,o,n);i===null||t.has(Ge(i))||(t.add(Ge(i)),a.push(i))}return a}r(En,"resolvedClipUrls");function Rn({locale:e,defaultClips:n,options:t}){let a=t===!1,o=a?{}:t??{},i=o.storageKey===void 0?br:o.storageKey,[s,u]=(0,v.useState)(o.defaultEnabled??!0),k=(0,v.useRef)(s),[L,x]=(0,v.useState)(!1),[E,m]=(0,v.useState)("none"),[l,b]=(0,v.useState)(!1),h=(0,v.useRef)(!1),[d,T]=(0,v.useState)(0),f=(0,v.useRef)(null),I=(0,v.useCallback)(()=>(f.current??(f.current=_r()),f.current),[]),N=gr[e],G=o.speechFallback,p=G===void 0||G===!0?!0:G===!1?!1:G.includes(e),Y=o.clips??n??po,U=(0,v.useRef)(!1),Q=(0,v.useRef)(Y);lo(()=>{Q.current=Y,k.current=s}),(0,v.useEffect)(()=>{if(a||i===null)return;let S=Sr(i);S!==null&&(k.current=S,u(S))},[a,i]),(0,v.useEffect)(()=>{if(!(a||!p))return yr(()=>T(S=>S+1))},[a,p]);let c=o.clips;(0,v.useEffect)(()=>{if(a)return;let S=p&&vr(N);x(En(Y,e).length>0||S),m(c!==void 0&&Oe(c,Ue,e)!==null?"partner":Oe(Y,Ue,e)!==null||S?"default":"none")},[a,Y,c,e,p,N,d]),(0,v.useEffect)(()=>{if(a||!s||!U.current)return;let S=En(Y,e);S.length>0&&I().prefetch(S)},[a,s,Y,e,I]),(0,v.useEffect)(()=>()=>{f.current?.dispose(),f.current=null,U.current=!1},[]);let O=(0,v.useCallback)(S=>{a||(U.current=!0,I().unlock({lang:N,speech:p,...S?{prefetch:En(Q.current,e)}:{}}))},[a,I,N,p,e]),z=(0,v.useCallback)(()=>O(k.current),[O]),M=(0,v.useCallback)(()=>{h.current=!1,b(!1)},[]),D=(0,v.useCallback)(()=>{M(),f.current?.stop()},[M]),te=(0,v.useCallback)(()=>{h.current&&D()},[D]),ke=(0,v.useCallback)((S,H)=>{if(a)return;if(h.current){D();return}let ue=I();ue.stop(),h.current=!0,b(!0);let P=H?.clip===!1?null:Oe(Q.current,Ue,e);ue.say({url:P,text:S,lang:N,speech:p,onEnd:M})},[a,D,I,e,N,p,M]),q=(0,v.useCallback)(S=>{a||(S?O(!0):D(),i!==null&&kr(i,S),k.current=S,u(S))},[a,O,D,i]),re=(0,v.useCallback)(()=>q(!k.current),[q]),K=(0,v.useCallback)((S,H)=>{if(a||!s)return;h.current&&M();let ue=Oe(Q.current,S,e);I().say({url:ue,text:H,lang:N,speech:p})},[a,s,e,I,N,p,M]);return(0,v.useMemo)(()=>({supported:!a&&L,enabled:!a&&s,setEnabled:q,toggle:re,unlock:z,speakKey:K,stop:D,summary:a?"none":E,summaryPlaying:l,toggleSummary:ke,stopSummary:te}),[a,L,s,q,re,z,K,D,E,l,ke,te])}r(Rn,"useVoiceGuidance");function An(e,n,t,a){let{speakKey:o,stop:i,enabled:s}=e,u=(0,v.useRef)(!1);(0,v.useEffect)(()=>{if(!a||!s){u.current&&i(),u.current=!1;return}u.current=!0,we(n)&&n!==Ue&&t!==""&&o(n,t)},[a,s,n,t,o,i])}r(An,"useSpeakGuidance");var _=require("react/jsx-runtime"),Tn=800;function mo(e){return e===void 0||e!==!1&&e.length===Te.length&&Te.every(n=>e.includes(n))}r(mo,"isDefaultTips");function fo(e){if(e.type==="keydown"&&e.key==="Escape")return!1;let n=globalThis.navigator?.userActivation;return n===void 0?!(e.type==="pointerup"&&e.pointerType==="touch"):n.isActive}r(fo,"carriesActivation");function go(e){return typeof e=="object"&&e!==null&&!(0,y.isValidElement)(e)&&"tone"in e&&"text"in e}r(go,"isNoticeObject");function ho(e){return e==="starting"||e==="gating"||e==="recording"}r(ho,"isCapturing");function vo(e){return e==="captured"||e==="uploading"||e==="checking"}r(vo,"isPostCapture");function Cr({verification:e,locale:n,dir:t,strings:a,slots:o,autoStart:i=!1,notice:s,startDisabled:u=!1,startLabel:k,tips:L,tipsSummary:x,coach:E,voice:m,onGuidance:l,onCaptured:b,onResult:h,onError:d,onStateChange:T,assetBaseUrl:f,className:I}){let N=Ct(n),G=(0,y.useMemo)(()=>un(n,a),[n,a,N]),p=(0,y.useMemo)(()=>C=>G[C]??"",[G]),Y=t??(n==="ar"?"rtl":"ltr"),U=(0,y.useRef)(null),Q=(0,y.useContext)(Rt),c=cr({verification:e,videoRef:U,assetBaseUrl:f,onCaptured:b,onResult:h,onError:d,onStateChange:T}),O=ar(f,c.state==="idle"&&c.error===null),z=lr(e),M=z.choice!==null,D=Zt(e),te=Qt(e),ke=er(e),q=Yt(),re=Jt(e),K=re.mode==="assisted",S=K&&q.canChooseFacing,H=m!==!1&&m?.clips===void 0,ue=dr(H?e:void 0),P=Rn({locale:n,defaultClips:ue,options:m}),[w,Ie]=(0,y.useState)(null),oe=K?w??(q.canChooseFacing?"environment":"user"):"user",zn=re.settled&&(!K||q.facingSettled),Pn=(0,y.useRef)(null),We=(0,y.useRef)(!1),On=(0,y.useRef)(P.unlock);On.current=P.unlock,(0,y.useEffect)(()=>{let C=Pn.current;if(C===null)return;let ie=["pointerup","touchend","click","keydown"],he=r(()=>{for(let He of ie)C.removeEventListener(He,Ee,!0)},"disarm");function Ee(He){if(We.current){he();return}fo(He)&&(We.current=!0,he(),On.current())}r(Ee,"onGesture");for(let He of ie)C.addEventListener(He,Ee,{capture:!0,passive:!0});return he},[]);let Mn=(0,y.useCallback)(()=>{We.current||(We.current=!0,P.unlock()),c.start({facing:oe})},[P.unlock,c.start,oe]),qn=(0,y.useCallback)(()=>c.start({facing:oe}),[c.start,oe]),je=(0,y.useRef)(!1),Me=c.state==="idle"&&c.error===null,Dn=!M&&!D.required&&(i===!0||i==="when-permitted"&&q.permission==="granted"),Kn=Dn&&z.settled&&D.settled&&zn,Rr=i==="when-permitted"&&!q.permissionSettled&&!je.current,Hn=Dn&&Me&&!je.current,gn=(Rr||Hn||!zn)&&O.gate==="ready"?"loading":O.gate;(0,y.useEffect)(()=>{!Kn||!Me||O.gate!=="ready"||je.current||(je.current=!0,qn())},[Kn,Me,O.gate,qn]);let Ar=Me&&!M&&!D.required&&!(Hn&&O.gate==="ready"),Bn=(0,y.useCallback)(()=>{c.switchCamera()&&Ie(oe==="user"?"environment":"user")},[c.switchCamera,oe]),Fn=c.state!=="idle"&&c.facingMode!==null?c.facingMode:oe;(0,y.useEffect)(()=>{let C=U.current?.style;Fn==="user"?C?.removeProperty("transform"):C&&(C.transform="none")},[Fn]);let $e=(0,y.useMemo)(()=>c.artifacts!==null&&typeof URL.createObjectURL=="function"?URL.createObjectURL(c.artifacts.keyframe):null,[c.artifacts]);(0,y.useEffect)(()=>{if($e!==null)return()=>URL.revokeObjectURL($e)},[$e]);let Gn=c.frozenPreview??$e,xe=e!==void 0,j=ho(c.state),ge=vo(c.state),Ye=j||ge,ee=c.result,Un=c.state==="done"&&ee!==null,Wn=c.state==="recording"&&c.frozenPreview!==null,hn=Q!==null,qe=ge||Wn,jn=ge?"checking":Wn?"frozen":c.state==="recording"?"recording":c.gateLocked||c.gate.progress>=1?"locked":c.gate.faceDetected?"aligning":"seeking",Ze=j?c.gate.hint:null,Qe=c.state==="starting"?"capture.preparing.title":Ze===null?null:Ze==="center"&&!c.gate.faceDetected?"fcv3.no_face":rn(Ze),[Tr,$n]=(0,y.useState)(null);(0,y.useEffect)(()=>{if(Qe!=="fcv3.no_face"){$n(Qe);return}if(!j)return;let C=setTimeout(()=>$n(Qe),Tn);return()=>clearTimeout(C)},[Qe,j]);let vn=j&&typeof E=="string"&&E!=="",Yn=K&&j?p("capture.assisted.stage"):null,Ce=j&&!vn?Tr:null,yn=vn?E:Ce===null?"":p(Ce);An(P,Ce,yn,j);let Zn=(0,y.useRef)(l);Zn.current=l,(0,y.useEffect)(()=>{if(we(Ce))try{Zn.current?.(Ce)}catch(C){console.error("[@sekyro/react] onGuidance threw:",C)}},[Ce]);let De=(0,y.useMemo)(()=>({supported:P.supported,enabled:P.enabled,setEnabled:P.setEnabled,toggle:P.toggle}),[P.supported,P.enabled,P.setEnabled,P.toggle]),_n=o?.voicePrompt,Qn=_n!==void 0,Xn=m===void 0,Jn=(0,y.useRef)(!1);(0,y.useEffect)(()=>{!Qn||!Xn||Jn.current||!Re()||(Jn.current=!0,console.warn("[@sekyro/react] <LivenessCapture>: `slots.voicePrompt` is set and `voice` is undefined, so the component speaks the guidance itself. If your slot plays audio, pass voice={false} or the person hears every hint twice; pass voice={{}} to keep the built-in voice and silence this warning."))},[Qn,Xn]);let Vr=_n!==void 0?(C,ie,he)=>_n(C,ie,he,De):P.supported?()=>(0,_.jsx)(pr,{voice:De}):void 0,{summary:bn,summaryPlaying:et,toggleSummary:nt,stopSummary:tt}=P,Xe=x!==void 0&&x!=="",rt=Xe?x:p("capture.tips.summary"),ot=Xe?bn!=="none":bn==="partner"||bn==="default"&&mo(L),Nr=(0,y.useMemo)(()=>ot?{playing:et,toggle:r(()=>nt(rt,{clip:!Xe}),"toggle"),stop:tt}:void 0,[ot,et,nt,rt,tt,Xe]),zr=(0,y.useMemo)(()=>({assets:gn,retryAssets:O.retry,permission:q.permission,permissionSettled:q.permissionSettled,captureMode:re.mode,facing:oe,setFacing:Ie,canChooseFacing:S,voice:De}),[gn,O.retry,q.permission,q.permissionSettled,re.mode,S,oe,De]),Pr=go(s)?(0,_.jsx)(X,{tone:s.tone,testId:"sekyro-host-notice",children:(0,_.jsx)("span",{children:s.text})}):s??null,le=ee!==null&&ee.status==="retry"?ee:null,ae=Un&&ee.status==="unavailable"&&!M&&ee.reason!=="portrait_required"?ee:null,Ke=Un&&(ee.status==="approved"||ee.status==="rejected"||ee.status==="review")?ee:null,Je=r((C,ie)=>{if(C===void 0)return null;if(C==="device_cooldown"){let Ee=sn(n,ie);if(Ee!==null)return p(Ee.key).replace("{time}",Ee.time)}let he=an(C);return he===null?null:p(he)},"reasonText"),Sn=r(C=>{let ie=C.retakeHint===void 0?null:St(C.retakeHint);return ie===null?Je(C.reason):p(ie)},"retryText"),Or=ae!==null&&ae.reason!==void 0&&ae.reason!=="nni_unbound"&&ae.reason!=="id_number_unbound"&&ae.reason!=="method_required"&&ae.reason!=="mobile_required"&&!(ae.reason==="no_recorder"&&c.artifacts?.degraded==="NO_RECORDER"),at=pn(),Mr=M&&z.auto===null&&!j&&!ge&&c.error===null,kn=(0,y.useCallback)(async C=>{await z.select(C)&&c.state==="done"&&c.retry()},[z.select,c.state,c.retry]);return(0,y.useEffect)(()=>{z.auto!==null&&!z.busy&&!j&&!ge&&kn(z.auto)},[z.auto,z.busy,j,ge,kn]),(0,_.jsx)(Lt,{value:p,children:(0,_.jsxs)("div",{ref:Pn,className:I===void 0?"sekyro-capture":`sekyro-capture ${I}`,dir:Y,lang:n,"data-testid":"sekyro-liveness-capture","data-state":c.state,children:[o?.header,le!==null&&Sn(le)!==null&&!(hn&&Ye)?(0,_.jsx)(X,{tone:"warning",role:"status",testId:"sekyro-retry-notice",children:(0,_.jsx)("span",{children:Sn(le)})}):null,ke&&ge&&!hn?(0,_.jsx)(X,{tone:"info",role:"status",testId:"sekyro-busy-notice",children:(0,_.jsx)("span",{children:p("capture.busy")})}):null,D.required&&Me?(0,_.jsx)(X,{tone:"info",role:"status",testId:"sekyro-mobile-required",children:(0,_.jsx)("span",{children:p("reasons.mobile_required")})}):null,c.error!==null?o?.errorPanel!==void 0?o.errorPanel(c.error,c.retry):(0,_.jsxs)(X,{tone:"danger",testId:"sekyro-error-notice",children:[(0,_.jsx)("span",{children:p(on(c.error.kind))}),c.error.retryable?(0,_.jsx)(W,{ref:at,kind:"ghost",className:"sekyro-btn--start",onClick:c.retry,children:p("common.retry")}):null]}):null,ae!==null?(0,_.jsxs)(X,{tone:"danger",testId:"sekyro-unavailable-notice",children:[(0,_.jsx)("span",{children:Je(ae.reason)??p(ae.reason===void 0?"errors.session_expired":"errors.network_error")}),Or?(0,_.jsx)(W,{ref:at,kind:"ghost",className:"sekyro-btn--start",onClick:c.retry,children:p("capture.recordAgain")}):null]}):null,Ke!==null&&Je(Ke.reason)!==null?(0,_.jsx)(X,{tone:Ke.status==="rejected"?"danger":"info",testId:"sekyro-result-notice",children:(0,_.jsx)("span",{children:Je(Ke.reason,Ke.retryAfter)})}):null,(0,_.jsx)("div",{className:Ye?void 0:"sekyro-hidden","data-capture-live":Ye?"":void 0,children:hn?Q({videoRef:U,guidance:qe&&xe?p("capture.checking"):yn,coached:vn&&!(qe&&xe),note:qe?xe?p(ke?"capture.busy":"capture.checkingHint"):null:le!==null?Sn(le):Yn,settled:qe&&xe,progress:c.gate.progress,phase:jn,still:qe?Gn:null,live:Ye,switchCamera:j&&c.state!=="recording"&&S&&Bn,ramp:c.rampColour===null?null:{colour:c.rampColour}}):(0,_.jsx)(It,{videoRef:U,guidanceText:yn,guidanceHint:Ze,guidanceKey:Ce,progress:c.gate.progress,phase:jn,draining:c.draining,stillUrl:Gn,showChecking:xe,onSwitchCamera:Bn,canSwitchCamera:K&&j&&c.state!=="recording",operatorText:Yn,voicePrompt:Vr,overlay:C=>(0,_.jsxs)(_.Fragment,{children:[o?.stageOverlay?.(C),(0,_.jsx)(tr,{colour:c.rampColour})]}),reduceMotion:c.reduceMotion})}),Mr&&z.choice!==null?(0,_.jsx)($t,{title:p("method.title"),description:p("method.description"),options:z.choice.options.map(C=>({id:C,label:p(`method.${C}`)})),busy:z.busy,error:z.failed?p("errors.network_error"):null,focus:c.state==="done",testId:"sekyro-method",look:"buttons",onChoose:C=>{kn(C)}}):null,Ar?(0,_.jsxs)(_.Fragment,{children:[te&&o?.header===void 0?(0,_.jsxs)("div",{className:"sekyro-stack sekyro-stack--1",children:[(0,_.jsx)("h2",{className:"sekyro-text-body",children:p("returning.title")}),(0,_.jsx)("p",{className:"sekyro-text-muted",children:p("returning.description")})]}):null,Pr,o?.intro!==void 0?o.intro(Mn,zr):(0,_.jsx)(Wt,{assets:gn,onRetryAssets:O.retry,permission:q.permission,captureMode:re.mode,canChooseFacing:S,facing:oe,onFacingChange:Ie,voice:De,tips:L??Te,summary:Nr,startLabel:k,startDisabled:u,onStart:Mn})]}):null,(0,_.jsx)(xt,{showCoaching:le!==null,attemptsText:le?.attemptsRemaining!==void 0?cn(G,n,le.attemptsRemaining):null,showRetake:le!==null&&!j&&!ge||!xe&&c.state==="captured",onRetake:c.retry}),o?.footer]})})}r(Cr,"LivenessCapture");var fn={light:{brand:"#0d3b66",brandFg:"#ffffff",fg:"#13141f",fgMuted:"#4e5270",bg:"#f6f7fb",surface:"#ffffff",ring:"#0d3b66",danger:"#ca0f07",success:"#007a5e",warning:"#735003"},dark:{brand:"#6ea2d3",brandFg:"#051a2e",fg:"#f6f7fb",fgMuted:"#cbcedc",bg:"#13141f",surface:"#1d1e2c",ring:"#6ea2d3",danger:"#ff7c7c",success:"#00c897",warning:"#ffd98a"},roles:{light:{brandSoft:"#eaf2fa",line:"#cbcedc",lineSubtle:"#e2e4ee",lineStrong:"#8c91a9",sunken:"#eeeff5",fgSubtle:"#686d8a"},dark:{brandSoft:"#092b4b",line:"#4e5270",lineSubtle:"#2b2d40",lineStrong:"#686d8a",sunken:"#0b0c14",fgSubtle:"#8c91a9"}},stage:"#051a2e",stageAccent:"#69dfef",radius:"10px",radiusLg:"16px",font:'"Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontDisplay:'"Sekyro Geist", Geist, "Sekyro Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif',fontArabic:'"Sekyro Cairo", Cairo, "Sekyro Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif'};var Nn=require("react/jsx-runtime"),Le={colors:{...fn.light},radius:fn.radiusLg,fontFamily:fn.font},wr={brand:"--sekyro-color-brand",brandFg:"--sekyro-color-brand-fg",fg:"--sekyro-color-fg",fgMuted:"--sekyro-color-fg-muted",bg:"--sekyro-color-bg",surface:"--sekyro-color-surface",ring:"--sekyro-color-ring",danger:"--sekyro-color-danger",success:"--sekyro-color-success",warning:"--sekyro-color-warning"};function Vn(e={}){let n={};for(let t of Object.keys(wr))n[wr[t]]=e.colors?.[t]??Le.colors[t];return n["--sekyro-radius"]=e.radius??Le.radius,n["--sekyro-font"]=e.fontFamily??Le.fontFamily,n}r(Vn,"themeToCssVars");var yo=/^#[0-9a-f]{6}$/i,_o=["brand","brandFg","bg","surface","fg","fgMuted"],bo=["danger","success","warning"],Lr=!1;function So(e){let n=e?.colors;if(e===void 0||n===void 0||!bo.some(s=>s in n))return e;!Lr&&Re()&&(Lr=!0,console.warn("[sekyro] theme.colors.danger/success/warning are ignored: status colours are standard (removed in 1.0)"));let{danger:t,success:a,warning:o,...i}=n;return{...e,colors:i}}r(So,"stripDeprecatedStatusColors");var ko={none:"0px",sm:"6px",md:"10px",lg:"16px",full:"9999px"},Co={system:"",inter:"Inter","ibm-plex-sans-arabic":'"IBM Plex Sans Arabic"',"noto-sans-arabic":'"Noto Sans Arabic"',roboto:"Roboto"};function Ir(e){let n={};if(!e)return n;let t={},a=e.colors??{};for(let s of _o){let u=a[s];u!==void 0&&yo.test(u)&&(t[s]=u)}t.brand&&(t.ring=t.brand),Object.keys(t).length&&(n.colors=t);let o=ko[e.radius];o&&(n.radius=o);let i=Co[e.fontFamily];return i!==void 0&&(n.fontFamily=i?`${i}, ${Le.fontFamily}`:Le.fontFamily),n}r(Ir,"brandingToTheme");function xr(...e){let n={};for(let t of e)t?.colors&&(n.colors={...n.colors,...t.colors}),t?.radius&&(n.radius=t.radius),t?.fontFamily&&(n.fontFamily=t.fontFamily);return n}r(xr,"mergeThemes");function Er({theme:e,children:n,className:t}){return(0,Nn.jsx)(wo,{theme:So(e),...t!==void 0?{className:t}:{},children:n})}r(Er,"SekyroThemeProvider");function wo({theme:e,children:n,className:t}){let a=Vn(e);return(0,Nn.jsx)("div",{className:t===void 0?"sekyro-root":`sekyro-root ${t}`,style:a,children:n})}r(wo,"SekyroThemeRoot");