@sekyro/react 0.1.0-rc.2 → 0.1.0-rc.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +477 -0
- package/LICENSE +25 -16
- package/README.md +228 -16
- package/dist/chunk-2I4BU32X.js +2 -0
- package/dist/chunk-2KED7D2Q.js +2 -0
- package/dist/chunk-55NNQK5P.js +2 -0
- package/dist/chunk-5CLPIFBP.js +2 -0
- package/dist/chunk-5RQLU3VM.js +2 -0
- package/dist/chunk-7MMT5M4E.js +2 -0
- package/dist/chunk-BGAPVTOP.js +2 -0
- package/dist/chunk-D65O3EVR.js +2 -0
- package/dist/chunk-E4OK3CB5.js +2 -0
- package/dist/chunk-EGCGC7NK.js +2 -0
- package/dist/chunk-FTKNXQTF.js +2 -0
- package/dist/chunk-GUTF3SPK.js +2 -0
- package/dist/chunk-MH5E5KTI.js +2 -0
- package/dist/chunk-SDO324RU.js +2 -0
- package/dist/chunk-VRDPGOXM.js +2 -0
- package/dist/chunk-WPSVDW2G.js +2 -0
- package/dist/chunk-XQNZJ3J3.js +2 -0
- package/dist/chunk-ZLA6BTHU.js +2 -0
- package/dist/document-capture-view-GZX5JJ7N.js +2 -0
- package/dist/eid-view-ERVRHLLD.js +2 -0
- package/dist/email-otp-view-B7UQ5CHL.js +2 -0
- package/dist/flow-views-IGQ5MYS2.js +2 -0
- package/dist/fonts/Cairo-OFL.txt +93 -0
- package/dist/fonts/Geist-OFL.txt +93 -0
- package/dist/fonts/Inter-OFL.txt +93 -0
- package/dist/fonts/SekyroCairo-Bold.woff2 +0 -0
- package/dist/fonts/SekyroCairo-Regular.woff2 +0 -0
- package/dist/fonts/SekyroCairo-SemiBold.woff2 +0 -0
- package/dist/fonts/SekyroGeist-Bold.woff2 +0 -0
- package/dist/fonts/SekyroGeist-SemiBold.woff2 +0 -0
- package/dist/fonts/SekyroInter-Medium.woff2 +0 -0
- package/dist/fonts/SekyroInter-Regular.woff2 +0 -0
- package/dist/fonts/SekyroInter-SemiBold.woff2 +0 -0
- package/dist/index.cjs +2 -901
- package/dist/index.d.cts +7 -233
- package/dist/index.d.ts +7 -233
- package/dist/index.js +2 -880
- package/dist/overlay-de-5KYN4JFO.js +2 -0
- package/dist/overlay-es-6CAERCCN.js +2 -0
- package/dist/overlay-pt-UBGXJ3C3.js +2 -0
- package/dist/portrait-capture-view-TMHG2UX2.js +2 -0
- package/dist/portrait-review-view-XUWQ5LIN.js +2 -0
- package/dist/styles.css +310 -12
- package/dist/theme-quu7XV_Y.d.cts +544 -0
- package/dist/theme-quu7XV_Y.d.ts +544 -0
- package/dist/verification/index.cjs +2 -0
- package/dist/verification/index.d.cts +689 -0
- package/dist/verification/index.d.ts +689 -0
- package/dist/verification/index.js +2 -0
- package/dist/verification.css +757 -0
- package/package.json +28 -13
- package/sbom.cdx.json +153 -0
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{a as X,b as H,c as B,d as J,e as ee,g as te}from"./chunk-SDO324RU.js";import{a as x}from"./chunk-ZLA6BTHU.js";import{f as V,j as P}from"./chunk-EGCGC7NK.js";import"./chunk-XQNZJ3J3.js";import"./chunk-7MMT5M4E.js";import{a as W,b as z,c as j}from"./chunk-55NNQK5P.js";import{a as Y}from"./chunk-VRDPGOXM.js";import{d as $}from"./chunk-5CLPIFBP.js";import{a as D,b as Z,d as L,p as G}from"./chunk-D65O3EVR.js";import"./chunk-FTKNXQTF.js";import{a as S,s as R}from"./chunk-BGAPVTOP.js";import{a as m}from"./chunk-2KED7D2Q.js";import{HostedApiError as pe}from"@sekyro/web";import{detectIsMobile as fe}from"@sekyro/web/core";import{useEffect as Q,useId as M,useMemo as A,useRef as _e,useState as N}from"react";var ne={"consent.human.terms.intro":"تؤكد Sekyro AI أن شخصًا حقيقيًا يُجري هذه الخطوة، نيابةً عن الجهة التي طلبتها.","consent.human.terms.data":"تلتقط Sekyro AI تسجيلًا قصيرًا لوجهك.","consent.human.terms.processing":"يُفحص هذا التسجيل للتأكد من أنك شخص حقيقي وحاضر، وقد يُقارَن بالوجوه التي سبق التحقق منها لدى هذه الجهة.","consent.human.terms.sharing":"تُبلَّغ الجهة التي طلبت هذا التحقق بنتيجته.","consent.human.terms.retention":"تُخزَّن بياناتك مشفّرة ولا يُحتفظ بها إلا للمدة التي يقتضيها القانون وإعدادات الجهة. لممارسة حقوقك المتعلقة بحماية البيانات، تواصل مع الجهة التي طلبت هذا التحقق.","capture.noCamera.title":"تتطلب هذه الخطوة كاميرا","capture.noCamera.body":"اسمح بالوصول إلى الكاميرا وحاول مرة أخرى، أو تابع على هاتف مزوّد بكاميرا.","capture.noCamera.continue":"المتابعة بدون كاميرا","capture.noCamera.deniedTitle":"اسمح بالوصول إلى الكاميرا","capture.noCamera.deniedBody":"حظر متصفحك الوصول إلى الكاميرا في هذه الصفحة. اسمح به من إعدادات الموقع ثم أعد المحاولة.","choice.title":"كيف تريد المتابعة؟","choice.description":"اختر خيارًا واحدًا.","choice.switch":"استخدم خيارًا آخر","contact.title":"كيف تريد استلام الرمز؟","contact.description":"اختر خيارًا واحدًا.","contact.phone":"عبر الهاتف (واتساب أو رسالة نصية)","contact.email":"عبر البريد الإلكتروني","contact.switch":"استخدم خيارًا آخر","summary.title":"تحقق من بياناتك","summary.description":"تأكد من أن هذه بياناتك قبل الصورة الحية.","summary.fullName":"الاسم الكامل","summary.birthDate":"تاريخ الميلاد","summary.nationality":"الجنسية","summary.documentType":"الوثيقة","summary.documentNumber":"رقم الوثيقة","summary.nni":"الرقم الوطني للتعريف الموريتاني (NNI)","summary.id_number":"رقم الهوية","summary.expiryDate":"تاريخ الانتهاء","summary.portraitAlt":"الصورة المسجلة","summary.source.registry":"من سجل الحالة المدنية","summary.source.document":"مقروءة من وثيقتك","summary.source.chip":"مقروءة من شريحة وثيقتك","summary.name":"الاسم","summary.birthYear":"سنة الميلاد","summary.confirm":"تأكيد ومتابعة","summary.retakeDocument":"مسح وثيقتي مرة أخرى","summary.retakeNationalNumber":"إدخال رقمي مرة أخرى","summary.noRetake":"لم يعد بإمكانك إعادة المحاولة. تواصل مع {org} إذا كانت هذه البيانات غير صحيحة","capture.tipsIcao.title":"لصورة الهوية:","capture.tipsIcao.glasses":"انزع نظارتك","capture.tipsIcao.headwear":"انزع القبعة. يُقبل غطاء الرأس الديني إذا كان الوجه ظاهرًا بالكامل","capture.tipsIcao.expression":"حافظ على تعبير محايد وفمك مغلق","capture.tipsIcao.faceCamera":"انظر مباشرة إلى الكاميرا وعيناك مفتوحتان","capture.tipsIcao.background":"قف أمام خلفية سادة فاتحة اللون","capture.tipsIcao.lighting":"استخدم إضاءة متساوية على وجهك: دون ظلال","capture.tipsIcao.hair":"أبعد شعرك عن وجهك وعينيك","capture.tipsIcao.summary":"قف أمام جدار سادة فاتح اللون مع إضاءة متساوية على وجهك. انزع نظارتك وأي قبعة. أبعد شعرك عن وجهك، وانظر مباشرة إلى الكاميرا وعيناك مفتوحتان، وحافظ على تعبير محايد وفمك مغلق، وابقَ ثابتًا.","portrait.retakeOnly":"نجح التحقق الحي. الصورة فقط تحتاج إلى محاولة أخرى","portrait.keepCamera":"ابقَ أمام الكاميرا","handoff.description":"امسح الرمز بهاتفك للمتابعة","handoff.qrAlt":"رمز QR يفتح عملية التحقق هذه على هاتفك","handoff.copyLink":"نسخ الرابط","handoff.copyFailed":"تعذّر نسخ الرابط. انسخ عنوان هذه الصفحة من متصفحك بدلًا من ذلك","handoff.waiting":"ستنتقل هذه الصفحة تلقائيًا بعد أن تُكمل الخطوة على هاتفك","inApp.title":"افتح الصفحة في متصفحك","inApp.description":"لا تعمل الكاميرا جيدًا داخل هذا التطبيق. افتح الرابط في Chrome أو Safari للمتابعة.","inApp.copyLink":"نسخ الرابط","inApp.copied":"تم نسخ الرابط. الصقه في متصفحك","inApp.copyFailed":"تعذّر نسخ الرابط. انسخ عنوان هذه الصفحة بدلًا من ذلك","inApp.continueAnyway":"المتابعة هنا على أي حال","inApp.openBrowser":"افتح في المتصفح","testerGate.action":"إجراء فحوصات حقيقية بصفتي مختبِرًا","testerGate.title":"إجراء فحوصات حقيقية بصفتي مختبِرًا","testerGate.body":"انظر إلى الكاميرا. إذا تطابق وجهك مع أحد المختبِرين المسجَّلين لدى المؤسسة، فستُجري هذه الجلسة فحوصات حقيقية. وإلا فلن يُحتفظ بأي شيء وستتابع باستخدام بيانات الاختبار.","testerGate.start":"ابدأ","testerGate.checking":"جارٍ التحقق من وجهك","testerGate.boundTitle":"الفحوصات الحقيقية مفعّلة","testerGate.boundBody":"تم التعرّف عليك كمختبِر مسجَّل. ستُجري الخطوات التالية فحوصات حقيقية.","testerGate.missTitle":"لا يوجد مختبِر مسجَّل مطابق","testerGate.missBody":"لم يُحتفظ بأي شيء. يمكنك إعادة المحاولة أو المتابعة باستخدام بيانات الاختبار.","testerGate.retry":"أعد المحاولة","testerGate.continueTest":"المتابعة باستخدام بيانات الاختبار","testerGate.continue":"متابعة","testerGate.limitBody":"تم بلوغ الحد اليومي للفحوصات الحقيقية للمختبِرين. تابع باستخدام بيانات الاختبار، أو أعد المحاولة غدًا.","testerGate.exhaustedBody":"لم تتبقَّ أي محاولة في هذه الجلسة. تابع باستخدام بيانات الاختبار، أو ابدأ جلسة جديدة.","testerGate.closedBody":"لا يمكن بدء الفحوصات الحقيقية إلا قبل أول التقاط. تابع باستخدام بيانات الاختبار، أو ابدأ جلسة جديدة."};var _={"consent.human.terms.intro":"Sekyro AI confirms that a real person is completing this step, on behalf of the organization that asked for it.","consent.human.terms.data":"Sekyro AI collects a short capture of your face.","consent.human.terms.processing":"The capture is checked to confirm that you are a real person who is present. It may be compared with faces already verified for this organization.","consent.human.terms.sharing":"The organization that requested this verification learns its outcome.","consent.human.terms.retention":"Your data is stored encrypted and kept only as long as the law and the organization's settings require. To exercise your data-protection rights, contact the organization that requested this verification.","capture.noCamera.title":"This step needs a camera","capture.noCamera.body":"Allow camera access and try again, or continue on a phone with a camera.","capture.noCamera.continue":"Continue without a camera","capture.noCamera.deniedTitle":"Allow camera access","capture.noCamera.deniedBody":"Your browser blocked the camera for this page. Allow it in the site settings, then try again.","choice.title":"Choose how to continue","choice.description":"Choose one option.","choice.switch":"Use another option","contact.title":"Where to send your code","contact.description":"Choose one option.","contact.phone":"By phone (WhatsApp or SMS)","contact.email":"By email","contact.switch":"Use another option","summary.title":"Check your details","summary.description":"Make sure this is you before the live photo.","summary.fullName":"Full name","summary.birthDate":"Date of birth","summary.nationality":"Nationality","summary.documentType":"Document","summary.documentNumber":"Document number","summary.nni":"Mauritanian national ID number (NNI)","summary.id_number":"ID number","summary.expiryDate":"Expiry date","summary.portraitAlt":"Photo on record","summary.source.registry":"From the civil registry","summary.source.document":"Read from your document","summary.source.chip":"Read from your document's chip","summary.name":"Name","summary.birthYear":"Year of birth","summary.confirm":"Confirm and continue","summary.retakeDocument":"Scan my document again","summary.retakeNationalNumber":"Enter my number again","summary.noRetake":"You can't try again. Contact {org} if these details are wrong","capture.tipsIcao.title":"For your ID photo:","capture.tipsIcao.glasses":"Remove your glasses","capture.tipsIcao.headwear":"Remove hats and caps. A religious head covering is fine if your whole face shows","capture.tipsIcao.expression":"Keep a neutral expression with your mouth closed","capture.tipsIcao.faceCamera":"Look straight at the camera with your eyes open","capture.tipsIcao.background":"Stand in front of a plain, light background","capture.tipsIcao.lighting":"Use even light on your face: no shadows","capture.tipsIcao.hair":"Keep your hair away from your face and eyes","capture.tipsIcao.summary":"Stand in front of a plain, light wall with even light on your face. Remove your glasses and any hat. Keep your hair off your face, look straight at the camera with your eyes open, keep a neutral expression with your mouth closed, and hold still.","portrait.retakeOnly":"Your live check passed. Only the photo needs another try","portrait.keepCamera":"Stay in front of the camera","handoff.description":"Scan with your phone to continue","handoff.qrAlt":"QR code that opens this verification on your phone","handoff.copyLink":"Copy link","handoff.copyFailed":"We couldn't copy the link. Copy this page's address from your browser instead","handoff.waiting":"This page moves on by itself once you finish on your phone","inApp.title":"Open in your browser","inApp.description":"The camera doesn't work well inside this app. Open the link in Chrome or Safari to continue.","inApp.copyLink":"Copy link","inApp.copied":"Link copied. Paste it in your browser","inApp.copyFailed":"We couldn't copy the link. Copy this page's address instead","inApp.continueAnyway":"Continue here anyway","inApp.openBrowser":"Open in browser","testerGate.action":"Run real checks as a tester","testerGate.title":"Run real checks as a tester","testerGate.body":"Look at the camera. If your face matches one of the organization's enrolled testers, this session runs real checks. If not, nothing is kept and you continue with test data.","testerGate.start":"Start","testerGate.checking":"Checking your face","testerGate.boundTitle":"Real checks are on","testerGate.boundBody":"You were recognised as an enrolled tester. The next steps run real checks.","testerGate.missTitle":"No enrolled tester matched","testerGate.missBody":"Nothing was kept. You can try again or continue with test data.","testerGate.retry":"Try again","testerGate.continueTest":"Continue with test data","testerGate.continue":"Continue","testerGate.limitBody":"Today's limit of real checks for testers is reached. Continue with test data, or try again tomorrow.","testerGate.exhaustedBody":"No tries are left on this session. Continue with test data, or start a new session.","testerGate.closedBody":"Real checks can start only before the first capture. Continue with test data, or start a new session."};var oe={"consent.human.terms.intro":"Sekyro AI confirme qu'une personne réelle effectue cette étape, pour le compte de l'organisme qui l'a demandée.","consent.human.terms.data":"Sekyro AI recueille une courte capture de votre visage.","consent.human.terms.processing":"La capture est analysée pour confirmer que vous êtes une personne réelle et présente. Elle peut être comparée aux visages déjà vérifiés pour cet organisme.","consent.human.terms.sharing":"L'organisme qui a demandé cette vérification est informé de son résultat.","consent.human.terms.retention":"Vos données sont stockées chiffrées et conservées uniquement pendant la durée exigée par la loi et les paramètres de l'organisme. Pour exercer vos droits en matière de protection des données, contactez l'organisme qui a demandé cette vérification.","capture.noCamera.title":"Une caméra est nécessaire","capture.noCamera.body":"Autorisez l'accès à la caméra et réessayez, ou continuez sur un téléphone équipé d'une caméra.","capture.noCamera.continue":"Continuer sans caméra","capture.noCamera.deniedTitle":"Autorisez la caméra","capture.noCamera.deniedBody":"Votre navigateur a bloqué la caméra pour cette page. Autorisez-la dans les paramètres du site, puis réessayez.","choice.title":"Comment continuer ?","choice.description":"Choisissez une option.","choice.switch":"Utiliser une autre option","contact.title":"Où envoyer votre code ?","contact.description":"Choisissez une option.","contact.phone":"Par téléphone (WhatsApp ou SMS)","contact.email":"Par e-mail","contact.switch":"Utiliser une autre option","summary.title":"Vérifiez vos informations","summary.description":"Assurez-vous qu'il s'agit bien de vous avant la photo en direct.","summary.fullName":"Nom complet","summary.birthDate":"Date de naissance","summary.nationality":"Nationalité","summary.documentType":"Document","summary.documentNumber":"Numéro du document","summary.nni":"Numéro national d'identification mauritanien (NNI)","summary.id_number":"Numéro d'identité","summary.expiryDate":"Date d'expiration","summary.portraitAlt":"Photo enregistrée","summary.source.registry":"Issu de l'état civil","summary.source.document":"Lu sur votre document","summary.source.chip":"Lu sur la puce de votre document","summary.name":"Nom","summary.birthYear":"Année de naissance","summary.confirm":"Confirmer et continuer","summary.retakeDocument":"Scanner à nouveau mon document","summary.retakeNationalNumber":"Saisir à nouveau mon numéro","summary.noRetake":"Vous ne pouvez plus réessayer. Contactez {org} si ces informations sont incorrectes","capture.tipsIcao.title":"Pour votre photo d'identité :","capture.tipsIcao.glasses":"Retirez vos lunettes","capture.tipsIcao.headwear":"Retirez chapeau et casquette. Un couvre-chef religieux est accepté si tout le visage est visible","capture.tipsIcao.expression":"Gardez une expression neutre, la bouche fermée","capture.tipsIcao.faceCamera":"Regardez la caméra bien en face, les yeux ouverts","capture.tipsIcao.background":"Placez-vous devant un fond uni et clair","capture.tipsIcao.lighting":"Éclairez votre visage de façon uniforme : sans ombres","capture.tipsIcao.hair":"Dégagez vos cheveux du visage et des yeux","capture.tipsIcao.summary":"Placez-vous devant un mur uni et clair, le visage éclairé de façon uniforme. Retirez vos lunettes et tout chapeau. Dégagez vos cheveux du visage, regardez la caméra bien en face, les yeux ouverts, gardez une expression neutre, la bouche fermée, et ne bougez plus.","portrait.retakeOnly":"Votre vérification en direct est validée. Seule la photo est à refaire","portrait.keepCamera":"Restez face à la caméra","handoff.description":"Scannez avec votre téléphone pour continuer","handoff.qrAlt":"Code QR qui ouvre cette vérification sur votre téléphone","handoff.copyLink":"Copier le lien","handoff.copyFailed":"Nous n'avons pas pu copier le lien. Copiez plutôt l'adresse de cette page depuis votre navigateur","handoff.waiting":"Cette page avancera d’elle-même une fois l’étape terminée sur votre téléphone","inApp.title":"Ouvrez dans le navigateur","inApp.description":"La caméra fonctionne mal dans cette application. Ouvrez le lien dans Chrome ou Safari pour continuer.","inApp.copyLink":"Copier le lien","inApp.copied":"Lien copié. Collez-le dans votre navigateur","inApp.copyFailed":"Impossible de copier le lien. Copiez plutôt l'adresse de cette page","inApp.continueAnyway":"Continuer ici quand même","inApp.openBrowser":"Ouvrir dans le navigateur","testerGate.action":"Lancer de vrais contrôles en tant que testeur","testerGate.title":"Lancer de vrais contrôles en tant que testeur","testerGate.body":"Regardez la caméra. Si votre visage correspond à l'un des testeurs inscrits de l'organisation, cette session lance de vrais contrôles. Sinon, rien n'est conservé et vous continuez avec des données de test.","testerGate.start":"Commencer","testerGate.checking":"Vérification de votre visage","testerGate.boundTitle":"Les vrais contrôles sont activés","testerGate.boundBody":"Vous avez été reconnu comme testeur inscrit. Les étapes suivantes lancent de vrais contrôles.","testerGate.missTitle":"Aucun testeur inscrit ne correspond","testerGate.missBody":"Rien n'a été conservé. Vous pouvez réessayer ou continuer avec des données de test.","testerGate.retry":"Réessayer","testerGate.continueTest":"Continuer avec des données de test","testerGate.continue":"Continuer","testerGate.limitBody":"La limite de vrais contrôles pour les testeurs est atteinte pour aujourd'hui. Continuez avec des données de test, ou réessayez demain.","testerGate.exhaustedBody":"Il ne reste plus d'essai sur cette session. Continuez avec des données de test, ou lancez une nouvelle session.","testerGate.closedBody":"Les vrais contrôles ne peuvent commencer qu'avant la première capture. Continuez avec des données de test, ou lancez une nouvelle session."};var ae={M:{perBlock:[10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26],blocks:[1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16],formatBits:0},H:{perBlock:[17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28],blocks:[1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25],formatBits:2}},re=20;function we(e){let t=(16*e+128)*e+64;if(e>=2){let o=Math.floor(e/7)+2;t-=(25*o-10)*o-55,e>=7&&(t-=36)}return t}m(we,"rawDataModules");function se(e,t){let{perBlock:o,blocks:n}=ae[t],a=o[e-1],s=n[e-1],c=Math.floor(we(e)/8),i=s-c%s,r=Math.floor(c/s)-a;return[a,i===s?[[s,r]]:[[i,r],[s-i,r+1]]]}m(se,"blockLayout");var O=m((e,t)=>se(e,t)[1].reduce((o,[n,a])=>o+n*a,0),"dataCapacity");function E(e,t){let o=0;for(let n=7;n>=0;n-=1)o=o<<1^(o>>>7)*285,o^=(t>>>n&1)*e;return o&255}m(E,"gfMul");function ve(e){let t=new Array(e).fill(0);t[e-1]=1;let o=1;for(let n=0;n<e;n+=1){for(let a=0;a<e;a+=1)t[a]=E(t[a],o),a+1<e&&(t[a]=t[a]^t[a+1]);o=E(o,2)}return t}m(ve,"rsDivisor");function Ce(e,t){let o=t.map(()=>0);for(let n of e){let a=n^o.shift();o.push(0),t.forEach((s,c)=>{o[c]=o[c]^E(s,a)})}return o}m(Ce,"rsRemainder");function Se(e,t,o){let n=[],a=m((u,p)=>{for(let h=p-1;h>=0;h-=1)n.push(u>>>h&1)},"put");a(4,4),a(e.length,t<10?8:16);for(let u of e)a(u,8);let s=O(t,o)*8;a(0,Math.min(4,s-n.length)),a(0,(8-n.length%8)%8);let c=[];for(let u=0;u<n.length;u+=8)c.push(n.slice(u,u+8).reduce((p,h)=>p<<1|h,0));for(let u=236;c.length<O(t,o);u^=253)c.push(u);let[i,r]=se(t,o),d=ve(i),f=[],b=0;for(let[u,p]of r)for(let h=0;h<u;h+=1){let w=c.slice(b,b+p);b+=p,f.push({data:w,ec:Ce(w,d)})}let y=[],g=Math.max(...f.map(u=>u.data.length));for(let u=0;u<g;u+=1)for(let p of f)u<p.data.length&&y.push(p.data[u]);for(let u=0;u<i;u+=1)for(let p of f)y.push(p.ec[u]);return y}m(Se,"codewords");function ie(e){if(e===1)return[];let t=Math.floor(e/7)+2,o=Math.ceil((e*4+4)/(t*2-2))*2,n=[6];for(let a=e*4+10;n.length<t;a-=o)n.splice(1,0,a);return n}m(ie,"alignmentPositions");var Ae=[(e,t)=>(e+t)%2===0,e=>e%2===0,(e,t)=>t%3===0,(e,t)=>(e+t)%3===0,(e,t)=>(Math.floor(e/2)+Math.floor(t/3))%2===0,(e,t)=>e*t%2+e*t%3===0,(e,t)=>(e*t%2+e*t%3)%2===0,(e,t)=>((e+t)%2+e*t%3)%2===0],q=class q{constructor(t){this.size=t,this.dark=new Array(t*t).fill(!1),this.fixed=new Array(t*t).fill(!1)}set(t,o,n){this.dark[t*this.size+o]=n,this.fixed[t*this.size+o]=!0}get(t,o){return this.dark[t*this.size+o]===!0}};m(q,"Grid");var U=q;function xe(e,t){let o=e.size;for(let s=0;s<o;s+=1)e.set(6,s,s%2===0),e.set(s,6,s%2===0);for(let[s,c]of[[3,3],[3,o-4],[o-4,3]])for(let i=-4;i<=4;i+=1)for(let r=-4;r<=4;r+=1){let d=s+i,f=c+r;if(d<0||d>=o||f<0||f>=o)continue;let b=Math.max(Math.abs(i),Math.abs(r));e.set(d,f,b!==2&&b!==4)}let n=ie(t),a=n.length-1;if(n.forEach((s,c)=>n.forEach((i,r)=>{if(!(c===0&&r===0||c===0&&r===a||c===a&&r===0))for(let d=-2;d<=2;d+=1)for(let f=-2;f<=2;f+=1)e.set(s+d,i+f,Math.max(Math.abs(d),Math.abs(f))!==1)})),ce(e,0),t>=7){let s=t;for(let i=0;i<12;i+=1)s=s<<1^(s>>>11)*7973;let c=t<<12|s;for(let i=0;i<18;i+=1){let r=(c>>>i&1)===1,d=o-11+i%3,f=Math.floor(i/3);e.set(d,f,r),e.set(f,d,r)}}}m(xe,"drawFunctionPatterns");function ce(e,t,o=0){let n=e.size,a=o<<3|t,s=a;for(let r=0;r<10;r+=1)s=s<<1^(s>>>9)*1335;let c=(a<<10|s)^21522,i=m(r=>(c>>>r&1)===1,"bit");for(let r=0;r<=5;r+=1)e.set(r,8,i(r));e.set(7,8,i(6)),e.set(8,8,i(7)),e.set(8,7,i(8));for(let r=9;r<15;r+=1)e.set(8,14-r,i(r));for(let r=0;r<8;r+=1)e.set(8,n-1-r,i(r));for(let r=8;r<15;r+=1)e.set(n-15+r,8,i(r));e.set(n-8,8,!0)}m(ce,"drawFormat");function Ie(e,t){let o=e.size,n=0;for(let a=o-1;a>=1;a-=2){a===6&&(a=5);for(let s=0;s<o;s+=1)for(let c=0;c<2;c+=1){let i=a-c,d=(a+1&2)===0?o-1-s:s;e.fixed[d*o+i]!==!0&&(n<t.length*8&&(e.dark[d*o+i]=(t[n>>>3]>>>7-(n&7)&1)===1),n+=1)}}}m(Ie,"placeData");function Ne(e,t){let o=Ae[t];for(let n=0;n<e.size;n+=1)for(let a=0;a<e.size;a+=1)e.fixed[n*e.size+a]!==!0&&o(n,a)&&(e.dark[n*e.size+a]=!e.dark[n*e.size+a])}m(Ne,"applyMask");function Ge(e){let t=e.size,o=0,n=m(s=>{let c=1;for(let i=1;i<=t;i+=1)i<t&&s(i)===s(i-1)?c+=1:(c>=5&&(o+=3+(c-5)),c=1);for(let i=0;i+10<t;i+=1){let r=[!0,!1,!0,!0,!0,!1,!0];if(!(r.every((y,g)=>s(i+g)===y)||r.every((y,g)=>s(i+4+g)===y)))continue;let f=[0,1,2,3].every(y=>!s(i+y))&&r.every((y,g)=>s(i+4+g)===y),b=r.every((y,g)=>s(i+g)===y)&&[7,8,9,10].every(y=>!s(i+y));f&&(o+=40),b&&(o+=40)}},"line");for(let s=0;s<t;s+=1)n(c=>e.get(s,c));for(let s=0;s<t;s+=1)n(c=>e.get(c,s));for(let s=0;s+1<t;s+=1)for(let c=0;c+1<t;c+=1){let i=e.get(s,c);i===e.get(s,c+1)&&i===e.get(s+1,c)&&i===e.get(s+1,c+1)&&(o+=3)}let a=e.dark.filter(Boolean).length;return o+=Math.floor(Math.abs(a*20-t*t*10)/(t*t))*10,o}m(Ge,"penalty");function ue(e,t={}){let o=t.ecl??"M",n=new TextEncoder().encode(e),a=1;for(;a<=re&&!(4+(a<10?8:16)+n.length*8<=O(a,o)*8);a+=1);if(a>re)throw new RangeError("text too long for a QR code");let s=Se(n,a,o),c=m(d=>{let f=new U(a*4+17);return xe(f,a),Ie(f,s),Ne(f,d),ce(f,d,ae[o].formatBits),f},"build"),i=null;if(t.mask!==void 0)i=c(t.mask);else{let d=Number.POSITIVE_INFINITY;for(let f=0;f<8;f+=1){let b=c(f),y=Ge(b);y<d&&(d=y,i=b)}}let r=i;return{size:r.size,get:m((d,f)=>r.get(d,f),"get")}}m(ue,"encodeQr");var le={viewBox:"0 0 100 100",d:"M22.37,0H77.63A22.37,22.37 0 0 1 100,22.37V77.63A22.37,22.37 0 0 1 77.63,100H22.37A22.37,22.37 0 0 1 0,77.63V22.37A22.37,22.37 0 0 1 22.37,0ZM48.067,21H38.308A17.308,17.308 0 0 0 21,38.308V42.543A19.886,19.886 0 0 0 40.886,62.429H60.219V57.641A4.419,4.419 0 0 0 55.8,53.222H43.463A11.416,11.416 0 0 1 32.048,41.806V38.308A8.102,8.102 0 0 1 40.149,30.206H43.648A4.419,4.419 0 0 0 48.067,25.787ZM38.676,79H59.114A19.886,19.886 0 0 0 79,59.114V57.457A19.886,19.886 0 0 0 59.114,37.571H38.676V42.359A4.419,4.419 0 0 0 43.095,46.778H56.537A11.416,11.416 0 0 1 67.952,58.194V58.378A11.416,11.416 0 0 1 56.537,69.794H43.095A4.419,4.419 0 0 0 38.676,74.213ZM51.933,21H79V37.571H69.794V30.206H51.933ZM21,71.543A7.457,7.457 0 1 0 35.914,71.543A7.457,7.457 0 1 0 21,71.543Z"},T=.42,ze=.2,k=m(e=>{let t=Math.round(e*1e3)/1e3;return String(t===0?0:t)},"num");function I(e,t,o,n){let a=`A${k(n)} ${k(n)} 0 0 1 `;return`M${k(e+n)} ${k(t)}H${k(e+o-n)}${a}${k(e+o)} ${k(t+n)}V${k(t+o-n)}${a}${k(e+o-n)} ${k(t+o)}H${k(e+n)}${a}${k(e)} ${k(t+o-n)}V${k(t+n)}${a}${k(e+n)} ${k(t)}Z`}m(I,"roundedSquare");function Be(e){let t=(e-17)/4,o=ie(t),n=o.length-1,a=[];return o.forEach((s,c)=>o.forEach((i,r)=>{c===0&&r===0||c===0&&r===n||c===n&&r===0||a.push([s,i])})),a}m(Be,"alignmentCentres");function de(e,{quiet:t=4,logo:o=!1}={}){let n=e.size,a=m((u,p)=>u<7&&p<7||u<7&&p>=n-7||u>=n-7&&p<7,"isFinder"),s=Math.floor(n*ze),c=o?s%2===0?s-1:s:0,i=(n-c)/2,r=m((u,p)=>c>0&&u>=i&&u<i+c&&p>=i&&p<i+c,"inZone"),d=Be(n).filter(([u,p])=>!r(u,p)),f=m((u,p)=>d.some(([h,w])=>Math.abs(u-h)<=2&&Math.abs(p-w)<=2),"isAlign"),b=`a${k(T)} ${k(T)} 0 1 0 `,y="";for(let u=0;u<n;u+=1)for(let p=0;p<n;p+=1)!e.get(u,p)||a(u,p)||f(u,p)||r(u,p)||(y+=`M${k(p+t+.5-T)} ${k(u+t+.5)}${b}${k(2*T)} 0${b}${k(-2*T)} 0Z`);let g="";for(let[u,p]of[[0,0],[0,n-7],[n-7,0]]){let h=p+t,w=u+t;g+=I(h,w,7,1.6)+I(h+1,w+1,5,.6)+I(h+2,w+2,3,.6)}for(let[u,p]of d){let h=p-2+t,w=u-2+t;g+=I(h,w,5,1.2)+I(h+1,w+1,3,.5)+I(h+2,w+2,1,.5)}return{size:n+t*2,dots:y,finders:g,logo:c>0?{x:i+t+.5,y:i+t+.5,size:c-1}:null}}m(de,"styledQr");function me(e){let t=Math.round(e.size/100*1e5)/1e5;return`translate(${k(e.x)} ${k(e.y)}) scale(${t})`}m(me,"qrLogoTransform");import{Fragment as F,jsx as l,jsxs as v}from"react/jsx-runtime";var Te={en:_,fr:oe,ar:ne,es:_,pt:_,de:_},ye={en:z,fr:j,ar:W,es:z,pt:z,de:z};function C(e){let t=e.strings;return(o,n)=>$(t[o]??Te[e.locale][o]??"",n)}m(C,"flowT");function he(e,t){let o=C(t);return e.flatMap(n=>{let a=n.service==="phone_otp"?o("contact.phone"):n.service==="email_otp"?o("contact.email"):H(n,t),s=X[n.service];return a===null?[]:[{id:n.id,label:a,...s!==void 0?{glyph:l(D,{name:s})}:{}}]})}m(he,"labelled");function be({step:e,i18n:t,onError:o}){let n=C(t),{busy:a,error:s,run:c}=B(t,o),i=e.kind==="contact_choice";return l(V,{title:n(i?"contact.title":"choice.title"),description:n(i?"contact.description":"choice.description"),options:he(e.choice.options,t),busy:a,error:s,focus:!0,testId:i?"sekyro-contact-choice":"sekyro-choice",onChoose:r=>c(()=>e.choose(r))})}m(be,"PlanChoiceView");var yt=be,ht=be;function bt({step:e,i18n:t,onError:o,onOpen:n}){let a=C(t),{busy:s,error:c,run:i}=B(t,o),r=e,d=e.context.switchable,f=d===void 0?[]:d.options.filter(h=>h.id!==d.current),b=r.kind==="registry"&&(r.reason==="nni_not_found"||r.reason==="registry_record_not_found")&&r.canUseDocument||r.kind==="eid"&&r.reason?.startsWith("eid_")&&r.canUseCamera,y=f.length===1?f[0]:void 0,g=y!==void 0&&(y.service==="phone_otp"||y.service==="email_otp"),u=g&&r.canSwitch&&r.switchTo!==void 0?()=>r.switchTo.call(e):r.chooseOption===void 0||y===void 0?void 0:()=>r.chooseOption.call(e,y.id);if(f.length===0||b||y!==void 0&&(u===void 0||p()===null)||y===void 0&&r.chooseOption===void 0)return null;function p(){return y===void 0?a("choice.switch"):y.service==="phone_otp"||y.service==="email_otp"?a("contact.switch"):r.kind==="registry"&&y.service==="document"?t.t("population.useDocument"):r.kind==="eid"?t.strings["eid.useCamera"]??ye[t.locale]["eid.useCamera"]:H(y,t)}return m(p,"labelOf"),v("div",{className:"sekyro-stack sekyro-stack--1",children:[c!==null?l(G,{tone:"danger",children:l("span",{children:c})}):null,l(S,{kind:"secondary",disabled:s,"aria-busy":s||void 0,onClick:()=>u===void 0?n():i(u),"data-testid":g?"sekyro-contact-switch":"sekyro-lane-switch",children:p()})]})}m(bt,"LaneSwitch");function gt({step:e,i18n:t,onError:o,onClose:n}){let a=C(t),{busy:s,error:c,run:i}=B(t,o),r=e.context.switchable,d=e.chooseOption;return r===void 0||d===void 0?null:l(V,{title:a("choice.title"),description:a("choice.description"),options:he(r.options,t),...r.current!==null?{marked:r.current}:{},busy:s,error:c,focus:!0,testId:"sekyro-lane-choice",onChoose:f=>f===r.current?n():i(()=>d.call(e,f))})}m(gt,"LaneChoiceView");var Me=[["fullName","summary.fullName",!1],["birthDate","summary.birthDate",!0],["birthYear","summary.birthYear",!0],["nationality","summary.nationality",!0],["documentType","summary.documentType",!1],["documentNumberMasked","summary.documentNumber",!0],["idNumberMasked","summary.id_number",!0],["expiryDate","summary.expiryDate",!0]];function Re(e){let[t,o]=N(null);return Q(()=>{if(!e.portraitAvailable)return;let n=!0,a=null;return e.portrait().then(s=>{!n||s===null||!s.type.startsWith("image/")||typeof URL.createObjectURL!="function"||(a=URL.createObjectURL(s),o(a))}),()=>{n=!1,a!==null&&URL.revokeObjectURL(a)}},[e.portraitAvailable]),t}m(Re,"usePortraitUrl");var Le=m(e=>/^\d{4}-\d{2}-\d{2}$/.test(e),"isoDate");function Fe(e,t){try{return new Intl.DateTimeFormat(t==="ar"?"ar-u-nu-latn":t,{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}).format(new Date(`${e}T00:00:00Z`))}catch{return e}}m(Fe,"formatDate");function kt({step:e,i18n:t,onError:o}){let n=C(t),a=M(),s=R(),c=Re(e),{busy:i,error:r,run:d}=B(t,o),f=e.context.orgName,b=["registry","document","chip"].find(u=>u===e.source),y=e.summaryKind==="partial",g=m(u=>t.strings[`doc.type.${u}`]??u,"documentLabel");return v("section",{className:"sekyro-step","aria-labelledby":a,"data-testid":"sekyro-identity-summary",children:[v("div",{className:"sekyro-heading",children:[l("h2",{id:a,ref:s,tabIndex:-1,className:"sekyro-text-body",children:n("summary.title")}),l("p",{className:"sekyro-text-muted",children:n("summary.description")})]}),b!==void 0?l("p",{className:"sekyro-summary__source",children:n(`summary.source.${b}`)}):null,v("div",{className:"sekyro-summary",children:[c!==null?l("img",{className:"sekyro-summary__portrait",src:c,alt:n("summary.portraitAlt")}):null,l("dl",{className:"sekyro-summary__list",children:Me.map(([u,p,h])=>{let w=u==="idNumberMasked"?e.idNumberMasked??e.nniMasked:e[u];return w===void 0?null:v("div",{className:"sekyro-summary__row",children:[l("dt",{className:"sekyro-text-muted",children:n(u==="fullName"&&y?"summary.name":p)}),l("dd",{children:Le(w)?Fe(w,t.locale):h?l("bdi",{dir:"ltr",children:w}):u==="documentType"?g(w):w})]},u)})})]}),r!==null?l(G,{tone:"danger",children:l("span",{children:r})}):null,e.retakeAvailable?null:l("p",{className:"sekyro-text-muted",children:n("summary.noRetake",{org:f})}),v(L,{children:[l(S,{full:!0,disabled:i,"aria-busy":i||void 0,onClick:()=>d(()=>e.confirm()),children:n("summary.confirm")}),e.retakeAvailable?l(S,{kind:"secondary",full:!0,disabled:i,onClick:()=>d(()=>e.retake()),children:n(e.retakeTarget==="national_number"?"summary.retakeNationalNumber":"summary.retakeDocument")}):null]})]})}m(kt,"IdentitySummaryView");var Ve=["glasses","headwear","expression","faceCamera","background","lighting","hair"];function wt({step:e,i18n:t,livenessProps:o,sekyroIntro:n}){let a=C(t),[s,c]=N(null);Q(()=>e.onLivePhoto(p=>{let h=p.update?.coach;c(p.holding||h===void 0?null:t.t(`portrait.coach.${h}`))}),[e,t]);let i=e.instructions==="icao",r=A(()=>J(e),[e]),d=e.icao?.profile==="selfie",f=A(()=>i?Ve.filter(p=>!d||p!=="background").map(p=>({id:p,text:a(`capture.tipsIcao.${p}`)})):void 0,[i,d,t]),b=A(()=>i&&!d?{...o.strings,"capture.tips.title":a("capture.tipsIcao.title")}:o.strings,[i,d,o.strings,t]),y=d?void 0:a("capture.tipsIcao.title"),g=A(()=>n===!0&&f!==void 0?{...o.slots,intro:m((p,h)=>l(ee,{start:p,context:h,tips:f,...y!==void 0?{tipsTitle:y}:{},...r!==void 0?{retry:r}:{}}),"intro")}:o.slots,[n,f,y,r,o.slots,t]),u=d?`${(f??[]).map(p=>p.text).join(". ")}.`:a("capture.tipsIcao.summary");return l(P,{...o,...g!==void 0?{slots:g}:{},...b!==void 0?{strings:b}:{},...f!==void 0?{tips:f,tipsSummary:u}:{},coach:s})}m(wt,"LivePhotoLiveness");function vt({i18n:e}){let t=C(e);return v(G,{tone:"info",children:[l("strong",{children:t("portrait.retakeOnly")}),l("span",{children:t("portrait.keepCamera")})]})}m(vt,"PortraitRetakeNotice");function Ct({i18n:e,provider:t}){let o=e.strings,n=m(a=>o[a]??ye[e.locale][a]??"","pick");return l("p",{className:"sekyro-text-muted","data-testid":"sekyro-eid-continue",children:t?$(n("eid.continueHint"),{provider:t}):n("eid.continueHintGeneric")})}m(Ct,"EidContinueHint");async function Pe(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}m(Pe,"copy");function ge({url:e,i18n:t,label:o,primary:n}){let a=C(t),[s,c]=N("idle"),i=o.startsWith("inApp.")?"inApp":"handoff";return v("div",{className:"sekyro-stack sekyro-stack--1",children:[l(S,{kind:n?"primary":"secondary",full:!0,onClick:()=>{Pe(e).then(r=>c(r?"copied":"failed"))},children:a(o)}),l("p",{role:"status","aria-live":"polite",className:"sekyro-text-muted",children:s==="idle"?"":a(`${i}.${s==="copied"?"copied":"copyFailed"}`)})]})}m(ge,"CopyLink");function ke({url:e,i18n:t,refresh:o,footer:n,lead:a}){let s=C(t),c=M(),i=A(()=>{try{return de(ue(e,{ecl:"H"}),{logo:!0})}catch{return null}},[e]),r=_e(o);r.current=o;let d=R();return Q(()=>{let f=setInterval(()=>{(typeof document>"u"||document.visibilityState!=="hidden")&&r.current?.().catch(()=>{})},5e3);return()=>clearInterval(f)},[]),v("section",{className:"sekyro-step sekyro-handoff","aria-labelledby":c,"data-testid":"sekyro-handoff",children:[v("div",{className:"sekyro-heading",children:[l("h2",{id:c,ref:d,tabIndex:-1,className:"sekyro-text-body",children:t.t("handoff.title")}),a!==void 0?l("p",{children:a}):null,l("p",{className:"sekyro-text-muted",children:s("handoff.description")})]}),i!==null?v("svg",{className:"sekyro-qr",viewBox:`0 0 ${i.size} ${i.size}`,role:"img","aria-label":s("handoff.qrAlt"),children:[l("rect",{width:i.size,height:i.size,className:"sekyro-qr__bg"}),l("path",{d:i.dots,className:"sekyro-qr__fg"}),l("path",{d:i.finders,className:"sekyro-qr__fg",fillRule:"evenodd"}),i.logo!==null?l("path",{d:le.d,className:"sekyro-qr__fg",fillRule:"evenodd",transform:me(i.logo),"data-qr-mark":""}):null]}):null,v("p",{className:"sekyro-handoff__waiting",role:"status",children:[l("span",{className:"sekyro-handoff__pulse","aria-hidden":"true"}),s("handoff.waiting")]}),v(L,{children:[l(ge,{url:e,i18n:t,label:"handoff.copyLink"}),n??null]})]})}m(ke,"HandoffView");var $e=["intro","data","processing","sharing","retention"];function St({i18n:e}){let t=C(e);return l(F,{children:$e.map(o=>l("p",{children:t(`consent.human.terms.${o}`)},o))})}m(St,"HumanConsentTerms");function At({url:e,i18n:t}){return A(()=>!fe(),[])?l(ke,{url:e,i18n:t}):null}m(At,"DesktopHandoffView");function xt({i18n:e,cause:t,onRetry:o,onContinue:n,handoffUrl:a}){let s=C(e),c=M(),i=R(),[r,d]=N("idle"),f=A(()=>a!==void 0&&!fe(),[a]),b=t==="denied",y=m(()=>{n!==void 0&&(d("busy"),n(t).then(()=>d("idle"),p=>d(p instanceof pe&&p.code==="check_out_of_order"?"idle":"failed")))},"end"),g=v(F,{children:[l(S,{full:!0,kind:b||n===void 0?"primary":"secondary",onClick:o,children:e.t("common.retry")}),n!==void 0?l(S,{full:!0,kind:b?"secondary":"primary",disabled:r==="busy","aria-busy":r==="busy"||void 0,onClick:y,children:s("capture.noCamera.continue")}):null]}),u=r==="failed"?l(G,{tone:"danger",children:l("span",{children:e.t("errors.network_error")})}):null;return f&&a!==void 0?v("section",{className:"sekyro-stack sekyro-stack--4","aria-labelledby":c,"data-testid":"sekyro-no-camera","data-cause":t,children:[l(ke,{url:a,i18n:e}),l("h2",{id:c,ref:i,tabIndex:-1,className:"sekyro-text-body",children:s(b?"capture.noCamera.deniedTitle":"capture.noCamera.title")}),l("p",{className:"sekyro-text-muted",children:s(b?"capture.noCamera.deniedBody":"capture.noCamera.body")}),u,l("div",{className:"sekyro-stack sekyro-stack--3",children:g})]}):v(x,{tone:b?"warning":"neutral",icon:"camera",titleId:c,title:s(b?"capture.noCamera.deniedTitle":"capture.noCamera.title"),testId:"sekyro-no-camera",actions:g,children:[l("p",{children:s(b?"capture.noCamera.deniedBody":"capture.noCamera.body")}),u]})}m(xt,"NoCameraView");function It({url:e,i18n:t,onContinue:o}){let n=C(t),a=M(),s=A(()=>te(e),[e]);return l(x,{tone:"brand",icon:"external",titleId:a,title:n("inApp.title"),testId:"sekyro-in-app",actions:v(F,{children:[s!==null?v("a",{className:"sekyro-btn sekyro-btn--primary sekyro-btn--full",href:s,"data-testid":"sekyro-open-browser",children:[l(D,{name:"external"}),n("inApp.openBrowser")]}):null,l(ge,{url:e,i18n:t,label:"inApp.copyLink",primary:s===null}),l(S,{kind:"ghost",full:!0,onClick:o,children:n("inApp.continueAnyway")})]}),children:l("p",{children:n("inApp.description")})})}m(It,"InAppBrowserPrompt");var De={tester_limit_reached:"testerGate.limitBody",gate_attempts_exhausted:"testerGate.exhaustedBody",tester_gate_closed:"testerGate.closedBody"};function Nt({i18n:e,onOpen:t}){let o=C(e);return l(S,{kind:"ghost",full:!0,onClick:t,"data-testid":"sekyro-tester-gate-action",children:o("testerGate.action")})}m(Nt,"TesterGateAction");function Gt({i18n:e,verification:t,attemptsLeft:o,livenessProps:n,onBound:a,onDone:s}){let c=C(e),i=M(),[r,d]=N("intro"),[f,b]=N(null),y=t.testerGate,g=m(p=>{y!==void 0&&(d("checking"),y.call(t,p).then(({bound:h})=>{h&&a(),d(h?"bound":"miss")},h=>{let w=h instanceof pe?h.code:"",K=De[w];b(K!==void 0?c(K):e.t(Y(h,e.strings))),d("failed")}))},"captured"),u=l(S,{full:!0,kind:r==="intro"?"secondary":"primary",onClick:()=>s(!0),"data-testid":"sekyro-tester-gate-continue",children:c("testerGate.continueTest")});return r==="capture"?l(P,{...n,onCaptured:g}):r==="checking"?l(x,{tone:"brand",icon:"face",busy:!0,live:!0,title:c("testerGate.checking"),testId:"sekyro-tester-gate-checking"}):r==="bound"?l(x,{tone:"success",icon:"success",title:c("testerGate.boundTitle"),testId:"sekyro-tester-gate-bound",actions:l(S,{full:!0,onClick:()=>s(!1),children:c("testerGate.continue")}),children:l("p",{children:c("testerGate.boundBody")})}):r==="miss"||r==="failed"?l(x,{tone:"warning",icon:"info",title:c(r==="miss"?"testerGate.missTitle":"testerGate.title"),testId:"sekyro-tester-gate-miss",actions:v(F,{children:[u,o>0&&r==="miss"?l(S,{full:!0,kind:"secondary",onClick:()=>d("capture"),children:c("testerGate.retry")}):null]}),children:l("p",{children:r==="miss"?c("testerGate.missBody"):f})}):v("section",{className:"sekyro-stack sekyro-stack--4","aria-labelledby":i,"data-testid":"sekyro-tester-gate",children:[l(Z,{id:i,title:c("testerGate.title"),lead:c("testerGate.body")}),v(L,{children:[l(S,{full:!0,onClick:()=>d("capture"),disabled:y===void 0,"data-testid":"sekyro-tester-gate-start",children:c("testerGate.start")}),u]})]})}m(Gt,"TesterGateView");export{yt as ContactChoiceView,At as DesktopHandoffView,Ct as EidContinueHint,ht as GenericChoiceView,ke as HandoffView,St as HumanConsentTerms,kt as IdentitySummaryView,It as InAppBrowserPrompt,gt as LaneChoiceView,bt as LaneSwitch,wt as LivePhotoLiveness,xt as NoCameraView,vt as PortraitRetakeNotice,Nt as TesterGateAction,Gt as TesterGateView};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2009 The Cairo Project Authors (https://github.com/Gue3bara/Cairo)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font.git)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|