@jumio/websdk 0.1.2-dadac834.1 → 0.1.4
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/{ar-w5gviYqa.js → ar-r_DoysMW.js} +131 -110
- package/assets/da_object-En8q-z2F.js +2 -0
- package/assets/da_system_worker-x3TQoc4z.js +2 -0
- package/{bg-pS4fM7wz.js → bg-K3UMs6MV.js} +148 -127
- package/{cs-CX1W0ItD.js → cs-oGImcAou.js} +108 -87
- package/{da-6eglnNWd.js → da-uc4Vru3M.js} +96 -75
- package/dac-PjLlwi1Y.js +5 -0
- package/dac-vj2mao-O.js +5 -0
- package/dac_simd-PjLlwi1Y.js +5 -0
- package/dac_simd-pr5isM2g.js +5 -0
- package/{de-iOsDBSJ5.js → de-cQD0d0A0.js} +108 -87
- package/{el-69TqgEiT.js → el-leBfjUfs.js} +128 -107
- package/{en-3PE5EKe2.js → en-0qDOCvQn.js} +142 -111
- package/{en_GB-kCek_FfB.js → en_GB-n6QtnSZN.js} +114 -93
- package/{es-iuvzixFW.js → es-aNYmSPki.js} +132 -111
- package/{es_MX-f-BtGQQe.js → es_MX-r36U_Jqq.js} +108 -87
- package/{et-IK8RSI80.js → et-9fpmHCkv.js} +114 -93
- package/{fi-fGCLuc23.js → fi-fT9A2Vh5.js} +132 -111
- package/{fr-jHEJonyq.js → fr-OKZdZJEt.js} +126 -105
- package/{he-g1SVSAjw.js → he-uO8_5V1g.js} +122 -101
- package/{hr-_XLF1ZwG.js → hr-KcV9q2Xx.js} +120 -99
- package/{hu-KqLoeFS3.js → hu-iM2u6OaD.js} +120 -99
- package/{hy-sLyRHKyP.js → hy-zybQB3Tm.js} +117 -96
- package/{id-NONg2a4q.js → id-xHr32v_R.js} +115 -94
- package/index-0Sg4F775.js +1133 -0
- package/index-CJaKL1b3.js +42309 -0
- package/index.html +1 -1
- package/index.js +400 -39204
- package/{it-rOW5DSsW.js → it-zm7gbFz3.js} +126 -105
- package/{ja-VRM6w3sZ.js → ja-Bd_CADVD.js} +129 -108
- package/{ka_GE-99HJuZu7.js → ka_GE-_y6zr4EZ.js} +147 -126
- package/{km_KH-x0MIUOyk.js → km_KH-mwP5WeAa.js} +134 -113
- package/{ko-SudAZFCg.js → ko--JSSGq__.js} +117 -96
- package/{lt-KI7Ei0Ro.js → lt-_UnGIkKt.js} +126 -105
- package/{ms-if2b3Dyx.js → ms-78aI09ta.js} +121 -100
- package/{nl-WLiTB6Z5.js → nl-4esHvruC.js} +114 -93
- package/{no-lwFRiShq.js → no-oP5LAaE-.js} +126 -105
- package/package.json +2 -4
- package/{pl-nGp03TTa.js → pl-5JCiR8ab.js} +126 -105
- package/{pt-8txaUU5k.js → pt-TifT68ls.js} +126 -105
- package/{pt_BR-gqcdIUXJ.js → pt_BR-WPIjpqul.js} +114 -93
- package/{ro-BAAC6d0f.js → ro-Gg-G4ybY.js} +102 -81
- package/{ru-bJTL0Kzz.js → ru-c7W5B2L3.js} +130 -109
- package/{sk-kDo0jTul.js → sk-W0z_fs8T.js} +102 -81
- package/{sr_Cyrl-qiw6cA7i.js → sr_Cyrl-IOWbdVLW.js} +129 -108
- package/{sr_Latn-6znGB7n_.js → sr_Latn-TIZaWQxn.js} +121 -100
- package/{sv-DpSn2qyk.js → sv-bud0Rfop.js} +114 -93
- package/{sw-qp7sb4UB.js → sw-bNz6x2em.js} +128 -107
- package/{th-vyiWi761.js → th-_DeBSBsT.js} +136 -115
- package/third-party-licenses.txt +253 -12
- package/{tr-YgEDxCpH.js → tr-fCyFs10x.js} +109 -88
- package/{uk-3woEuVNu.js → uk-L1MBDENH.js} +163 -142
- package/{vi-Gy_Ajv4v.js → vi-UJfY1Plg.js} +132 -111
- package/{zh_CN-yeSQgG9R.js → zh_CN-h9kBmIpr.js} +126 -105
- package/{zh_HK-fyQTcaC9.js → zh_HK-d3DRFqpo.js} +129 -108
- package/ar-8Z_JkSBP.cjs +0 -17
- package/bg-ym9eSYwF.cjs +0 -13
- package/cs-e4DqA192.cjs +0 -19
- package/da-3wpmo6dQ.cjs +0 -14
- package/de--3LVIcGo.cjs +0 -15
- package/el-a4MgoJj1.cjs +0 -13
- package/en-KnZK-j0K.cjs +0 -16
- package/en_GB-VBr-YqLU.cjs +0 -15
- package/es-T-az38JA.cjs +0 -15
- package/es_MX-jrzoZchj.cjs +0 -15
- package/et-pCsU7F7s.cjs +0 -14
- package/fi-wX5emSr5.cjs +0 -13
- package/fr-AASOXomt.cjs +0 -15
- package/he-0BNcl_Jn.cjs +0 -18
- package/hr-z2MESh9o.cjs +0 -18
- package/hu-jIAyMG7_.cjs +0 -15
- package/hy--j1yijME.cjs +0 -14
- package/id-WokcKfj_.cjs +0 -13
- package/index.cjs +0 -5073
- package/it-vZ2G9lD2.cjs +0 -15
- package/ja-RtE9sX2Q.cjs +0 -13
- package/ka_GE-67rYmS_D.cjs +0 -15
- package/km_KH-99xVdedp.cjs +0 -12
- package/ko-4XukDqXe.cjs +0 -13
- package/lt-yvI2IifV.cjs +0 -15
- package/ms-20fUIf4Z.cjs +0 -13
- package/nl-U11sIEOs.cjs +0 -15
- package/no-a4qAAPMy.cjs +0 -13
- package/pl-TDuIHbdS.cjs +0 -19
- package/pt-ncfeZXIH.cjs +0 -14
- package/pt_BR-ZDlnCtRt.cjs +0 -15
- package/ro-VBbVeFG0.cjs +0 -15
- package/ru-vJnnetkz.cjs +0 -19
- package/sk-fo1uninG.cjs +0 -14
- package/sr_Cyrl-9R71PQza.cjs +0 -16
- package/sr_Latn-UHzr_TSS.cjs +0 -18
- package/sv-KmpCYw1T.cjs +0 -15
- package/sw-WRG-_i-G.cjs +0 -14
- package/th-zDV_OAtN.cjs +0 -13
- package/tr-2NaTacHH.cjs +0 -13
- package/uk-HvYMcq4r.cjs +0 -16
- package/vi-euL3a9tT.cjs +0 -13
- package/zh_CN-YwVLH0Qu.cjs +0 -13
- package/zh_HK-ul4Xm2Ff.cjs +0 -13
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
const e = "© 2019 Jumio Corp.",
|
|
1
|
+
const e = "ضع وجهك داخل الإطار", o = "© 2019 Jumio Corp.", t = "Switch to next camera", r = "The user has intentionally exited the application", i = "There was an error getting video from the camera", n = "إغلاق", _ = "خطأ", c = "Transaction setup problem", a = "We had a network problem setting up this transaction; please check your device connection and try again.", s = "There was a problem accessing your camera", p = "Your camera is already in use", d = "Please try closing other applications using the camera and try again.", u = "We encountered an unknown camera error. Please try closing other applications using the camera and try again.", l = "The camera you are using isn't supported", m = "We couldn't request a high enough quality video from your camera.", y = "Permission to access the camera has been denied", v = "Please allow camera access, then reload the page for the settings to take effect.", g = "Device motion permission denied", f = "Permission to access device motion has been denied. Please allow device motion access to use iProov. You may need to reload the page or reopen the tab.", h = "Your device does not seem to fully report device motion", b = "Some devices do not support device motion, please try using another device.", k = "Canceled", j = "Exited full-screen without completing iProov, please try again.", w = "The iProov integration has been unloaded from the page", x = "Your token is invalid", P = "This usually happens when your iProov configuration isn't correct. Please check and try again.", q = "Network error", z = "We couldn't find a camera connected to your device", D = "A camera must be available to use iProov.", F = "No face could be found", J = "Please ensure your camera is front facing and is not covered or blocked.", C = "الجهاز غير مدعوم", G = "We can't access your device's sensors to iProov you. Please check your device and settings before trying again.", S = "Server error", T = "Sorry, but there was an error with the service. Please try again.", N = "Your session did not start in time", R = "This normally happens if your session didn't start in time. Please try again.", E = "Please try again later", M = "Sorry, this service is exceptionally busy right now; please try again later.", A = "This transaction has been canceled", Y = "حاول مرة أخرى", W = "Failed", Q = "أبقِ عينيك مفتوحتين", L = "ابتعد بوجهك عن الشاشة", B = "اقترب بوجهك نحو الشاشة", H = "اجعل حدود وجهك في الإطار البيضاوي", I = "Ensure only one person is visible", V = "Sorry, network problem", $ = "اخلع أي أغطية على الوجه", K = "اخلع النظارة الشمسية", O = "انتقل إلى مكان ذو إضاءة أخفت", U = "انتقل إلى مكان ذو إضاءة أسطع", X = "حافظ على ثباتك", Z = "حاول مرة أخرى", ee = "Scan face", oe = "Ready to iProov", te = "You have iProoved successfully", re = "اختيار الكاميرا:", ie = "Secured by iProov", ne = "en", _e = "شعار", ce = "Passed", ae = "جارٍ تقييم الوجود الحقيقي…", se = "جارٍ تقييم الحيوية…", pe = "جارٍ تأكيد الهوية…", de = "جارٍ إنشاء الهوية…", ue = "جارٍ البحث عن وجه…", le = "جارٍ تحديد الوجه…", me = "جار التحميل…", ye = "جارٍ البث…", ve = "احمل الجهاز مقابل وجهك وانظر إلى الشاشة", ge = "Put your face in front of the camera and look forwards", fe = "جارٍ الاتصال…", he = "اجعل حدود وجهك في الإطار البيضاوي", be = "استعد…", ke = "Grant Device Permissions", je = "Device permissions must be granted to use iProov.", we = "اجعل حدود وجهك في الإطار البيضاوي", xe = "حافظ على ثباتك", Pe = "اجعل حدود وجهك في الإطار البيضاوي", qe = "اجعل حدود وجهك في الإطار البيضاوي", ze = "اكتمل المسح الضوئي", De = "يرجى الانتظار…", Fe = "Please rotate your device to portrait", Je = "Rotate to portrait", Ce = "جار المسح الضوئي", Ge = "قريب جدًا", Se = "اقترب", Te = "Move down", Ne = "Move right", Re = "Move up", Ee = "تحرك إلى اليسار", Me = "نريد إجراء مسح لوجهك للتحقق من أنك شخص حقيقي.", Ae = "قبل أن تبدأ:", Ye = "تجنب الانعكاسات والوهج على الزجاج", We = "انظر مباشرة إلى الكاميرا", Qe = "اجعل وجهك في وسط الإطار واتبع التعليمات التي تظهر على الشاشة.", Le = "المؤخر", Be = "الوجه", He = "التقط صورة لمستندك أو قم بتحميل إصدار PDF", Ie = "التقاط صورة", Ve = "تحميل ملف PDF", $e = "أعد التقاط كليهما", Ke = "إعادة الالتقاط", Oe = "أمسك المستند بثبات عند التقاط صورة", Ue = "تأكد من أن جميع التفاصيل الموجودة في مستندك قابلة للقراءة", Xe = "يجب إعادة التقاط الصور", Ze = "يُرجى المحاولة مرة أخرى باستخدام صورة ملونة", eo = "الصورة عبارة عن نسخة بالأبيض والأسود", oo = "يبدو أن الصورة عبارة عن نسخة ملونة", to = "يُرجى المحاولة مرة أخرى باستخدام مستند مختلف", ro = "يبدو أن المستند تالف", io = "التقط صورة من المستند الأصلي", no = "تبدو الصورة وكأنها صورة لشاشة إلكترونية", _o = "تأكد من التقاط مستند أصلي في ظروف إضاءة جيدة", co = "لا يمكن معالجة المستند لإجراء مزيد من التحقق", ao = "تجنب التقاط الصور في الظلام", so = "الصورة بها انعكاسات", po = "التقط صورة للجانب الخلفي من المستند", uo = "الجانب الخلفي من المستند مفقود", lo = "التقط صورة للجانب الأمامي من المستند", mo = "الجانب الأمامي من المستند مفقود", yo = "لا تُظهر صورة مستندك التفاصيل المطلوبة للتحقق", vo = "استخدم مستند هوية صالح صادر عن الحكومة", go = "لا تغطي مستند الهوية بيدك", fo = "تأكد من التقاط المستند بأكمله", ho = "لا تقدم الصورة نموذجًا صالحًا لتحديد الهوية", bo = "يجب إعادة التقاط الصورة", ko = "بالنقر على "بدء"، فإنني أوافق على أن تجمع Jumio وتعالج وتشارك معلوماتي الشخصية، والتي قد تتضمن البيانات الحيوية، وعلى النحو المنصوص عليه في [({إخطار الخصوصية})].", jo = "أوافق على أن تجمع Jumio وتعالج وتشارك معلوماتي الشخصية، والتي قد تتضمن البيانات الحيوية، وعلى النحو المنصوص عليه في [({إخطار الخصوصية})].", wo = "تم التقاط الجزء الخلفي", xo = "اجعل الرمز الشريطي في الوسط", Po = "حسنًا!", qo = "اجعل المستند في الوسط", zo = "اقلبه إلى الجانب الخلفي", Do = "تم التقاط الجزء الأمامي", Fo = "الجهة الأمامية للوثيقة", Jo = "حافظ على استقامتك", Co = "اقلب مستند هويتك", Go = "ضع مستندك داخل الإطار", So = "اقترب", To = "جارٍ التحقق من الصورة…", No = "التقط صورة لرخصة القيادة الخاصة بك", Ro = "التقط صورة لبطاقة الهوية الخاصة بك", Eo = "التقط صورة لإقامتك", Mo = "صور إقامتك", Ao = "قريب جدًا", Yo = "قم بتكبير الرمز الشريطي الخاص بك", Wo = "التقط صورة يدويًا", Qo = "التقاط صورة ذاتية", Lo = "التحقق من الوجه", Bo = "صيغه آخرى", Ho = "بطاقة بلاستيكية", Io = "أعد التقاط الجانب الخلفي", Vo = "أعد التقاط كليهما", $o = "أعد التقاط السيلفي", Ko = "أعد التصوير للجانب الأمامي", Oo = "أمسك الجهاز على مستوى العين", Uo = "لم يتم التعرف على الوجه", Xo = "فشل المسح. يرجى إعادة المحاولة.", Zo = "حسناً", et = "انتظر ...", ot = "انظر مباشرة إلى الكاميرا", tt = "فهمت! فلنحاول مرة أخرى", rt = "ابتعد بوجهك عن الشاشة", it = "اقترب", nt = "تحميل", _t = "كن الشخص الوحيد في الإطار", ct = "جرى اكتشاف أشخاص متعددين", at = "الأعين مغلقة", st = "الوجه مشوش", pt = "فشل التحقق من الوجه", dt = "تم اكتشاف النظارات الشمسية", ut = "مظلمة للغاية", lt = "مُضاءة للغاية", mt = "حركة كثيرة للغاية", yt = "اكتمل المسح", vt = "التقاط صورة ذاتية", gt = "تحميل ناجح", ft = "تغيير اللغة", ht = "بحث", bt = "اختر لغة", kt = "An unknown error occurred", jt = {
|
|
2
|
+
jumio_liveness_prompt_no_target: e,
|
|
2
3
|
"app.camera.flip": "عكس الصورة",
|
|
3
4
|
"app.camera.switch": "تبديل الكاميرا",
|
|
4
5
|
"app.consent.3dl": 'بالنقر على "متابعة" فأنت توافق على أن تجمع Jumio بياناتك الشخصية وتكشف عنها وفقًا <a href="{{link}}">لسياسة الخصوصية</a>الخاصة بها.',
|
|
@@ -29,7 +30,7 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
29
30
|
"button.more": "عرض المزيد",
|
|
30
31
|
"cam.button.take.first": "التقاط صورة",
|
|
31
32
|
"copy-session-link": "انسخ رابط هذه الجلسة وحاول مرة أخرى في متصفح مختلف",
|
|
32
|
-
copyright:
|
|
33
|
+
copyright: o,
|
|
33
34
|
"country.abw": "أروبا",
|
|
34
35
|
"country.afg": "أفغانستان",
|
|
35
36
|
"country.ago": "أنغولا",
|
|
@@ -536,22 +537,21 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
536
537
|
"instant.feedback.button.retake.webcam": "أعد التقاط الصورة عبر كاميرا الويب",
|
|
537
538
|
"iproov.intro.flash.paragraph": "ضع وجهك في وسط الإطار وثبته جيدًا أثناء وميض الشاشة.",
|
|
538
539
|
"iproov.intro.la.paragraph": "اجعل وجهك في وسط الإطار واتبع التعليمات التي تظهر على الشاشة.",
|
|
539
|
-
iproov_camera_next_button_aria:
|
|
540
|
-
iproov_canceled_user:
|
|
541
|
-
iproov_client_camera:
|
|
542
|
-
iproov_close_button_aria:
|
|
543
|
-
iproov_error:
|
|
540
|
+
iproov_camera_next_button_aria: t,
|
|
541
|
+
iproov_canceled_user: r,
|
|
542
|
+
iproov_client_camera: i,
|
|
543
|
+
iproov_close_button_aria: n,
|
|
544
|
+
iproov_error: _,
|
|
544
545
|
iproov_error_asset_fetch: c,
|
|
545
546
|
iproov_error_asset_fetch_message: a,
|
|
546
|
-
iproov_error_camera:
|
|
547
|
-
iproov_error_camera_in_use:
|
|
547
|
+
iproov_error_camera: s,
|
|
548
|
+
iproov_error_camera_in_use: p,
|
|
548
549
|
iproov_error_camera_in_use_message: d,
|
|
549
|
-
iproov_error_camera_message:
|
|
550
|
-
iproov_error_camera_not_supported:
|
|
551
|
-
iproov_error_camera_not_supported_message:
|
|
552
|
-
iproov_error_camera_permission_denied:
|
|
553
|
-
iproov_error_camera_permission_denied_message:
|
|
554
|
-
iproov_error_client: v,
|
|
550
|
+
iproov_error_camera_message: u,
|
|
551
|
+
iproov_error_camera_not_supported: l,
|
|
552
|
+
iproov_error_camera_not_supported_message: m,
|
|
553
|
+
iproov_error_camera_permission_denied: y,
|
|
554
|
+
iproov_error_camera_permission_denied_message: v,
|
|
555
555
|
iproov_error_device_motion_denied: g,
|
|
556
556
|
iproov_error_device_motion_denied_message: f,
|
|
557
557
|
iproov_error_device_motion_unsupported: h,
|
|
@@ -565,11 +565,11 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
565
565
|
iproov_error_no_camera: z,
|
|
566
566
|
iproov_error_no_camera_message: D,
|
|
567
567
|
iproov_error_no_face_found: F,
|
|
568
|
-
iproov_error_no_face_found_message:
|
|
569
|
-
iproov_error_not_supported:
|
|
570
|
-
iproov_error_not_supported_message:
|
|
571
|
-
iproov_error_server:
|
|
572
|
-
iproov_error_server_message:
|
|
568
|
+
iproov_error_no_face_found_message: J,
|
|
569
|
+
iproov_error_not_supported: C,
|
|
570
|
+
iproov_error_not_supported_message: G,
|
|
571
|
+
iproov_error_server: S,
|
|
572
|
+
iproov_error_server_message: T,
|
|
573
573
|
iproov_error_token_timeout: N,
|
|
574
574
|
iproov_error_token_timeout_message: R,
|
|
575
575
|
iproov_error_too_many_requests: E,
|
|
@@ -595,12 +595,12 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
595
595
|
iproov_label_camera_selector: re,
|
|
596
596
|
iproov_label_secured_by_iproov_aria: ie,
|
|
597
597
|
iproov_language_file: ne,
|
|
598
|
-
iproov_logo_aria:
|
|
599
|
-
iproov_passed:
|
|
600
|
-
iproov_progress_assessing_genuine_presence:
|
|
598
|
+
iproov_logo_aria: _e,
|
|
599
|
+
iproov_passed: ce,
|
|
600
|
+
iproov_progress_assessing_genuine_presence: ae,
|
|
601
601
|
iproov_progress_assessing_liveness: se,
|
|
602
|
-
iproov_progress_confirming_identity:
|
|
603
|
-
iproov_progress_creating_identity:
|
|
602
|
+
iproov_progress_confirming_identity: pe,
|
|
603
|
+
iproov_progress_creating_identity: de,
|
|
604
604
|
iproov_progress_finding_face: ue,
|
|
605
605
|
iproov_progress_identifying_face: le,
|
|
606
606
|
iproov_progress_loading: me,
|
|
@@ -619,11 +619,11 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
619
619
|
iproov_prompt_liveness_scan_completed: ze,
|
|
620
620
|
iproov_prompt_loading: De,
|
|
621
621
|
iproov_prompt_rotate_portrait: Fe,
|
|
622
|
-
iproov_prompt_rotate_portrait_short:
|
|
623
|
-
iproov_prompt_scanning:
|
|
624
|
-
iproov_prompt_too_close:
|
|
625
|
-
iproov_prompt_too_far:
|
|
626
|
-
iproov_prompt_too_high:
|
|
622
|
+
iproov_prompt_rotate_portrait_short: Je,
|
|
623
|
+
iproov_prompt_scanning: Ce,
|
|
624
|
+
iproov_prompt_too_close: Ge,
|
|
625
|
+
iproov_prompt_too_far: Se,
|
|
626
|
+
iproov_prompt_too_high: Te,
|
|
627
627
|
iproov_prompt_too_left: Ne,
|
|
628
628
|
iproov_prompt_too_low: Re,
|
|
629
629
|
iproov_prompt_too_right: Ee,
|
|
@@ -649,9 +649,9 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
649
649
|
jumio_error_instant_feedback_damaged_doc_title: ro,
|
|
650
650
|
jumio_error_instant_feedback_digital_copy_tip: io,
|
|
651
651
|
jumio_error_instant_feedback_digital_copy_title: no,
|
|
652
|
-
jumio_error_instant_feedback_generic_tip_genuine_doc:
|
|
653
|
-
jumio_error_instant_feedback_generic_title:
|
|
654
|
-
jumio_error_instant_feedback_glare_tip_lighting:
|
|
652
|
+
jumio_error_instant_feedback_generic_tip_genuine_doc: _o,
|
|
653
|
+
jumio_error_instant_feedback_generic_title: co,
|
|
654
|
+
jumio_error_instant_feedback_glare_tip_lighting: ao,
|
|
655
655
|
jumio_error_instant_feedback_glare_title: so,
|
|
656
656
|
jumio_error_instant_feedback_missing_back_tip_back_side_doc: po,
|
|
657
657
|
jumio_error_instant_feedback_missing_back_title: uo,
|
|
@@ -672,11 +672,11 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
672
672
|
jumio_id_scan_prompt_flip_to_back: zo,
|
|
673
673
|
jumio_id_scan_prompt_front_captured: Do,
|
|
674
674
|
jumio_id_scan_prompt_front_of_document: Fo,
|
|
675
|
-
jumio_id_scan_prompt_hold_straight:
|
|
676
|
-
jumio_id_scan_prompt_initial_back:
|
|
677
|
-
jumio_id_scan_prompt_initial_linefinder:
|
|
678
|
-
jumio_id_scan_prompt_move_closer:
|
|
679
|
-
jumio_id_scan_prompt_processing:
|
|
675
|
+
jumio_id_scan_prompt_hold_straight: Jo,
|
|
676
|
+
jumio_id_scan_prompt_initial_back: Co,
|
|
677
|
+
jumio_id_scan_prompt_initial_linefinder: Go,
|
|
678
|
+
jumio_id_scan_prompt_move_closer: So,
|
|
679
|
+
jumio_id_scan_prompt_processing: To,
|
|
680
680
|
jumio_id_scan_prompt_take_photo_of_your_drivers_license: No,
|
|
681
681
|
jumio_id_scan_prompt_take_photo_of_your_id_card: Ro,
|
|
682
682
|
jumio_id_scan_prompt_take_photo_of_your_residence_permit: Eo,
|
|
@@ -695,22 +695,28 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
695
695
|
jumio_iproov_failure_generic_angle: Oo,
|
|
696
696
|
jumio_iproov_failure_generic_title: Uo,
|
|
697
697
|
jumio_liveness_failure_try_again: Xo,
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
698
|
+
jumio_liveness_prompt_got_it: Zo,
|
|
699
|
+
jumio_liveness_prompt_hold_still: et,
|
|
700
|
+
jumio_liveness_prompt_look_straight_into_the_camera: ot,
|
|
701
|
+
jumio_liveness_prompt_success_another_shot: tt,
|
|
702
|
+
jumio_liveness_prompt_too_close: rt,
|
|
703
|
+
jumio_liveness_prompt_too_far: it,
|
|
704
|
+
jumio_liveness_prompt_uploading: nt,
|
|
705
|
+
jumio_liveness_retry_instr_multiple_people_detected: _t,
|
|
706
|
+
jumio_liveness_retry_multiple_people_detected: ct,
|
|
707
|
+
jumio_liveness_retry_title_eyes_closed: at,
|
|
708
|
+
jumio_liveness_retry_title_face_obscured: st,
|
|
709
|
+
jumio_liveness_retry_title_generic_error: pt,
|
|
710
|
+
jumio_liveness_retry_title_sunglasses: dt,
|
|
711
|
+
jumio_liveness_retry_title_too_dark: ut,
|
|
712
|
+
jumio_liveness_retry_title_too_much_light: lt,
|
|
713
|
+
jumio_liveness_retry_title_too_much_movement: mt,
|
|
714
|
+
jumio_nfc_header_finish: yt,
|
|
715
|
+
jumio_start_step_identity: vt,
|
|
716
|
+
jumio_uploading_success: gt,
|
|
717
|
+
language_selection_button: ft,
|
|
718
|
+
language_selection_search: ht,
|
|
719
|
+
language_selection_title: bt,
|
|
714
720
|
"not-found.button.back": "رجوع",
|
|
715
721
|
"not-found.header": "لم يتم التعرف على الصفحة",
|
|
716
722
|
"noti.session.timeout.description": "ستنتهي جلستك في {{countdown}}. يُرجى المتابعة قبل انتهاء صلاحيته.",
|
|
@@ -754,6 +760,13 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
754
760
|
"preview.done": "تأكيد",
|
|
755
761
|
"preview.image": "معاينة الصورة",
|
|
756
762
|
"preview.retry": "إعادة الالتقاط",
|
|
763
|
+
"proceed-recommended-tag": "موصى به",
|
|
764
|
+
"proceed-smartphones-description": "تلتقط الهواتف الذكية صوراً أوضح لمستنداتك",
|
|
765
|
+
"proceed-this-device-title": "متابعة على هذا الجهاز",
|
|
766
|
+
"proceed-title": "اختر كيفية المتابعة",
|
|
767
|
+
"proceed-upload-description": "حمل الملف بأحد التنسيقات التالية: JPG أو JPEG أو PNG من هذا الجهاز",
|
|
768
|
+
"proceed-upload-title": "حمل ملف",
|
|
769
|
+
"proceed-webcam-description": "استخدم الكاميرا المدمجة أو كاميرا ويب مرفقة",
|
|
757
770
|
"prompt.checking": "جارٍ التحقق من الصورة…",
|
|
758
771
|
"retry.button.try-again": "حاول مرة أخرى",
|
|
759
772
|
"retry.header": "يُرجى المحاولة مرة أخرى",
|
|
@@ -890,6 +903,7 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
890
903
|
"title.logo": "شعار",
|
|
891
904
|
"title.qrcode": "رمز QR",
|
|
892
905
|
"title.success": "نجاح",
|
|
906
|
+
unknown_error: kt,
|
|
893
907
|
"upload-progress.description": "يُرجى الانتظار بينما نقوم بنقل ملفاتك.",
|
|
894
908
|
"upload-progress.header": "يُرجى الانتظار بينما نقوم بنقل ملفاتك.",
|
|
895
909
|
"upload.back.only": "تحميل الخلف",
|
|
@@ -904,7 +918,7 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
904
918
|
"upload.file.processing": "معالجة",
|
|
905
919
|
"upload.front.only": "تحميل الوجه",
|
|
906
920
|
"upload.generic.button": "اضغط أو أفلت ملف لتحميله",
|
|
907
|
-
"upload.notice": "يُرجى عدم إغلاق متصفحك
|
|
921
|
+
"upload.notice": "يُرجى عدم إغلاق متصفحك — قد يستغرق هذا بعض الوقت.",
|
|
908
922
|
"upload.redact.deu": "إخفاء رقم معرف الهوية قبل تحميل الصورة.",
|
|
909
923
|
"upload.redact.kor": "لم يتم حفظ RRN الخاص بك ويتم تنقيحه من صورة الهوية تلقائيًا عند إرساله.",
|
|
910
924
|
"upload.redact.nld": "إخفاء BSN الخاص بك قبل تحميل الصورة.",
|
|
@@ -964,24 +978,23 @@ const e = "© 2019 Jumio Corp.", o = "Switch to next camera", t = "The user has
|
|
|
964
978
|
"zoom.intro.webcam.header": "اجعل الكاميرا في الوسط"
|
|
965
979
|
};
|
|
966
980
|
export {
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
981
|
+
o as copyright,
|
|
982
|
+
jt as default,
|
|
983
|
+
t as iproov_camera_next_button_aria,
|
|
984
|
+
r as iproov_canceled_user,
|
|
985
|
+
i as iproov_client_camera,
|
|
986
|
+
n as iproov_close_button_aria,
|
|
987
|
+
_ as iproov_error,
|
|
974
988
|
c as iproov_error_asset_fetch,
|
|
975
989
|
a as iproov_error_asset_fetch_message,
|
|
976
|
-
|
|
977
|
-
|
|
990
|
+
s as iproov_error_camera,
|
|
991
|
+
p as iproov_error_camera_in_use,
|
|
978
992
|
d as iproov_error_camera_in_use_message,
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
v as iproov_error_client,
|
|
993
|
+
u as iproov_error_camera_message,
|
|
994
|
+
l as iproov_error_camera_not_supported,
|
|
995
|
+
m as iproov_error_camera_not_supported_message,
|
|
996
|
+
y as iproov_error_camera_permission_denied,
|
|
997
|
+
v as iproov_error_camera_permission_denied_message,
|
|
985
998
|
g as iproov_error_device_motion_denied,
|
|
986
999
|
f as iproov_error_device_motion_denied_message,
|
|
987
1000
|
h as iproov_error_device_motion_unsupported,
|
|
@@ -995,11 +1008,11 @@ export {
|
|
|
995
1008
|
z as iproov_error_no_camera,
|
|
996
1009
|
D as iproov_error_no_camera_message,
|
|
997
1010
|
F as iproov_error_no_face_found,
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1011
|
+
J as iproov_error_no_face_found_message,
|
|
1012
|
+
C as iproov_error_not_supported,
|
|
1013
|
+
G as iproov_error_not_supported_message,
|
|
1014
|
+
S as iproov_error_server,
|
|
1015
|
+
T as iproov_error_server_message,
|
|
1003
1016
|
N as iproov_error_token_timeout,
|
|
1004
1017
|
R as iproov_error_token_timeout_message,
|
|
1005
1018
|
E as iproov_error_too_many_requests,
|
|
@@ -1025,12 +1038,12 @@ export {
|
|
|
1025
1038
|
re as iproov_label_camera_selector,
|
|
1026
1039
|
ie as iproov_label_secured_by_iproov_aria,
|
|
1027
1040
|
ne as iproov_language_file,
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1041
|
+
_e as iproov_logo_aria,
|
|
1042
|
+
ce as iproov_passed,
|
|
1043
|
+
ae as iproov_progress_assessing_genuine_presence,
|
|
1031
1044
|
se as iproov_progress_assessing_liveness,
|
|
1032
|
-
|
|
1033
|
-
|
|
1045
|
+
pe as iproov_progress_confirming_identity,
|
|
1046
|
+
de as iproov_progress_creating_identity,
|
|
1034
1047
|
ue as iproov_progress_finding_face,
|
|
1035
1048
|
le as iproov_progress_identifying_face,
|
|
1036
1049
|
me as iproov_progress_loading,
|
|
@@ -1049,11 +1062,11 @@ export {
|
|
|
1049
1062
|
ze as iproov_prompt_liveness_scan_completed,
|
|
1050
1063
|
De as iproov_prompt_loading,
|
|
1051
1064
|
Fe as iproov_prompt_rotate_portrait,
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1065
|
+
Je as iproov_prompt_rotate_portrait_short,
|
|
1066
|
+
Ce as iproov_prompt_scanning,
|
|
1067
|
+
Ge as iproov_prompt_too_close,
|
|
1068
|
+
Se as iproov_prompt_too_far,
|
|
1069
|
+
Te as iproov_prompt_too_high,
|
|
1057
1070
|
Ne as iproov_prompt_too_left,
|
|
1058
1071
|
Re as iproov_prompt_too_low,
|
|
1059
1072
|
Ee as iproov_prompt_too_right,
|
|
@@ -1079,9 +1092,9 @@ export {
|
|
|
1079
1092
|
ro as jumio_error_instant_feedback_damaged_doc_title,
|
|
1080
1093
|
io as jumio_error_instant_feedback_digital_copy_tip,
|
|
1081
1094
|
no as jumio_error_instant_feedback_digital_copy_title,
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1095
|
+
_o as jumio_error_instant_feedback_generic_tip_genuine_doc,
|
|
1096
|
+
co as jumio_error_instant_feedback_generic_title,
|
|
1097
|
+
ao as jumio_error_instant_feedback_glare_tip_lighting,
|
|
1085
1098
|
so as jumio_error_instant_feedback_glare_title,
|
|
1086
1099
|
po as jumio_error_instant_feedback_missing_back_tip_back_side_doc,
|
|
1087
1100
|
uo as jumio_error_instant_feedback_missing_back_title,
|
|
@@ -1102,11 +1115,11 @@ export {
|
|
|
1102
1115
|
zo as jumio_id_scan_prompt_flip_to_back,
|
|
1103
1116
|
Do as jumio_id_scan_prompt_front_captured,
|
|
1104
1117
|
Fo as jumio_id_scan_prompt_front_of_document,
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1118
|
+
Jo as jumio_id_scan_prompt_hold_straight,
|
|
1119
|
+
Co as jumio_id_scan_prompt_initial_back,
|
|
1120
|
+
Go as jumio_id_scan_prompt_initial_linefinder,
|
|
1121
|
+
So as jumio_id_scan_prompt_move_closer,
|
|
1122
|
+
To as jumio_id_scan_prompt_processing,
|
|
1110
1123
|
No as jumio_id_scan_prompt_take_photo_of_your_drivers_license,
|
|
1111
1124
|
Ro as jumio_id_scan_prompt_take_photo_of_your_id_card,
|
|
1112
1125
|
Eo as jumio_id_scan_prompt_take_photo_of_your_residence_permit,
|
|
@@ -1125,21 +1138,29 @@ export {
|
|
|
1125
1138
|
Oo as jumio_iproov_failure_generic_angle,
|
|
1126
1139
|
Uo as jumio_iproov_failure_generic_title,
|
|
1127
1140
|
Xo as jumio_liveness_failure_try_again,
|
|
1128
|
-
Zo as
|
|
1129
|
-
et as
|
|
1130
|
-
ot as
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
pt as
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1141
|
+
Zo as jumio_liveness_prompt_got_it,
|
|
1142
|
+
et as jumio_liveness_prompt_hold_still,
|
|
1143
|
+
ot as jumio_liveness_prompt_look_straight_into_the_camera,
|
|
1144
|
+
e as jumio_liveness_prompt_no_target,
|
|
1145
|
+
tt as jumio_liveness_prompt_success_another_shot,
|
|
1146
|
+
rt as jumio_liveness_prompt_too_close,
|
|
1147
|
+
it as jumio_liveness_prompt_too_far,
|
|
1148
|
+
nt as jumio_liveness_prompt_uploading,
|
|
1149
|
+
_t as jumio_liveness_retry_instr_multiple_people_detected,
|
|
1150
|
+
ct as jumio_liveness_retry_multiple_people_detected,
|
|
1151
|
+
at as jumio_liveness_retry_title_eyes_closed,
|
|
1152
|
+
st as jumio_liveness_retry_title_face_obscured,
|
|
1153
|
+
pt as jumio_liveness_retry_title_generic_error,
|
|
1154
|
+
dt as jumio_liveness_retry_title_sunglasses,
|
|
1155
|
+
ut as jumio_liveness_retry_title_too_dark,
|
|
1156
|
+
lt as jumio_liveness_retry_title_too_much_light,
|
|
1157
|
+
mt as jumio_liveness_retry_title_too_much_movement,
|
|
1158
|
+
yt as jumio_nfc_header_finish,
|
|
1159
|
+
vt as jumio_start_step_identity,
|
|
1160
|
+
gt as jumio_uploading_success,
|
|
1161
|
+
ft as language_selection_button,
|
|
1162
|
+
ht as language_selection_search,
|
|
1163
|
+
bt as language_selection_title,
|
|
1164
|
+
kt as unknown_error
|
|
1144
1165
|
};
|
|
1145
|
-
//# sourceMappingURL=ar-
|
|
1166
|
+
//# sourceMappingURL=ar-r_DoysMW.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){"use strict";const A=":BYTES,",y=",",I="get_config",U="initialize",k="terminate";function T(n){return Object.values(n).filter(x).map(M)}function x(n){return n instanceof ArrayBuffer||n instanceof ImageData}function M(n){if(n instanceof ImageData)return n.data.buffer;if(n.buffer&&n.buffer instanceof ArrayBuffer)return n.buffer}let d,_;async function O(n,t){const{wasm_module:e,wasm_js_url:r}=t;if(!(e&&r))throw"Worker has not initialized WASM. Events should contain WASM module and its Emscripten bootstrap";return await(await import(r)).default({instantiateWasm:function(c,s){const o=new WebAssembly.Instance(e,c);return s(o),o.exports}})}onmessage=async function(n){const{wasm_module:t,wasm_js_url:e,...r}=n.data;let a=r;_||(_=await O(e,n.data));const c=a.event;if(c===U){const o=a.object_name;o&&(d=o)}if(!d&&c!==I)return;const s=b(a);for(let o=0;o<s;o++){const i=B(o),f={};f.OBJECT_NAME=d,f.EVENT=i,postMessage(f,T(i))}_._clear_return_packets(),d===k&&(d=void 0)};function S(n){let t=1;return Object.keys(n).forEach(e=>{const r=e.length,a=n[e];if(t+=4+r+1+4,h(a)){const c=a.length;t+=c}else(a instanceof Uint8Array||a instanceof ImageData)&&(t+=9)}),t}function g(n,t,e){return t[e++]=n>>24&255,t[e++]=n>>16&255,t[e++]=n>>8&255,t[e++]=n&255,e}function j(n,t){let e=0,r=Object.keys(n).length;t[e++]=r&255,Object.keys(n).forEach(a=>{const c=a.length,s=n[a];e=g(c,t,e);for(let i=0;i<c;i++){const f=a.charCodeAt(i);t[e++]=f&255}let o=0;if(h(s)?(t[e++]=1,o=s.length):s instanceof Uint8Array||s instanceof ImageData?(t[e++]=2,o=9):t[e++]=0,e=g(o,t,e),h(s))for(let i=0;i<o;i++){let f=s.charCodeAt(i);t[e++]=f&255}else s instanceof Uint8Array?(e=g(1,t,e),e=g(s.length,t,e),t[e++]=1):s instanceof ImageData&&(e=g(s.height,t,e),e=g(s.width,t,e),t[e++]=4)})}function C(n){const t=S(n),e=new Uint8Array(t);return j(n,e),e}function E(n,t){let e=0;for(let r=0;r<4;r++)e=e*256+n[t+r];return e}function v(n){let t=0;const e=n[t];t++;const r={};let a=0;for(let c=0;c<e;c++){const s=E(n,t);t+=4;const o=new Uint8Array(s);for(let l=0;l<s;l++)o[l]=n[t+l];t+=s;const i=String.fromCharCode(...o),f=n[t++],u=E(n,t);if(t+=4,f===1){const l=new Uint8Array(u);for(let m=0;m<u;m++)l[m]=n[t+m];t+=u,r[i]=String.fromCharCode(...l)}else if(f===2)if(u!==9)t+=u;else{const l=E(n,t);t+=4;const m=E(n,t);t+=4;let p=0;p+=n[t++],a++,r[i]=":BYTES,"+l+","+m+","+p+","+a}}return r}function N(n){const t=[];let e=0;return t[e++]=C(n),Object.keys(n).forEach(r=>{const a=n[r];a instanceof Uint8Array?t[e++]=a:a instanceof ImageData&&(t[e++]=a.data)}),t}function b(n){const t=N(n),e=t.length,r=[],a=1+e*4,c=new Uint8Array(a);let s=0;c[s++]=e;for(let f=0;f<e;f++){const u=t[f].length,l=_._new_memory(u);_.HEAPU8.set(t[f],l),c[s++]=u>>24&255,c[s++]=u>>16&255,c[s++]=u>>8&255,c[s++]=u&255,r[f]=l}const o=_._new_memory(a);_.HEAPU8.set(c,o);let i=0;e===1?i=_._process_event_data(a,o,r[0],0):e===2&&(i=_._process_event_data(a,o,r[0],r[1])),_._free_memory(o);for(let f=0;f<e;f++)_._free_memory(r[f]);return i}function B(n){const t=_._get_return_n_packets(n);let e=_._get_return_packet_len(n,0),r=_._get_return_packet(n,0),a=new Uint8Array(_.HEAPU8.buffer,r,e);const c=v(a);return t===2&&Object.keys(c).forEach(s=>{const o=c[s];if(o.startsWith(A)){const i=o.split(y),f=parseInt(i[1]),u=parseInt(i[2]),l=parseInt(i[3]);if(e=_._get_return_packet_len(n,1),r=_._get_return_packet(n,1),f===1&&l===1){const m=new Uint8Array(_.HEAPU8.buffer,r,e);c[s]=w(m)}else{const m=new Uint8ClampedArray(_.HEAPU8.buffer,r,e),p=w(m);c[s]=new ImageData(p,u,f)}}}),c}function w(n){const t=n.constructor,e=new t(n.length);return e.set(n),e}const D="string";function h(n){return typeof n===D||n instanceof String}})();
|
|
2
|
+
//# sourceMappingURL=da_object-En8q-z2F.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){"use strict";const a=",",v="get_config",m="get_config_result",u="initialize",o="initialize_error",l="initialize_success",d="ready",f="assets",E="config_name",p="da_object_js_url",g="wasm_js_url",j="wasm_module",w="already_initialized";function h(n){return Object.values(n).filter(b).map(y)}function b(n){return n instanceof ArrayBuffer||n instanceof ImageData}function y(n){if(n instanceof ImageData)return n.data.buffer;if(n.buffer&&n.buffer instanceof ArrayBuffer)return n.buffer}class T{constructor(){this.max_n_objects=1,this.clear()}onmessage(e){throw new Error("Not implemented")}onerror(e){throw e}terminate(){if(this.da_objects)for(let e=0;e<this.max_n_objects;e++)this.da_objects[e].worker.terminate();this.clear()}clear(){this.n_objects=0,this.n_successes=0,this.n_errors=0,this.output_events=[],this.s_asset_data=void 0,this.s_config_name=void 0,this.s_wasm_module=void 0,this.s_da_object_js_url=void 0,this.s_wasm_js_url=void 0,this.da_system=void 0,this.da_objects=void 0}initializeSystemWorker(){if(this.da_system)throw"System worker already initialized";this.da_system=new Worker(this.s_da_object_js_url,{type:"module"}),this.da_system.onmessage=e=>{this.process_system_message(e.data.EVENT)}}initializeNodeWorkers(){if(this.da_objects)throw"Node workers already initialized";this.da_objects=[];for(let e=0;e<this.max_n_objects;e++)this.da_objects[e]={worker:new Worker(this.s_da_object_js_url,{type:"module"}),name:"",req_events:[],is_ready:!0,queue:new I}}requireProperty(e,t){if(!e[t])throw`Expected property "${t}" not present in the object`}postAppMessage(e){this.onmessage({data:e})}postMessage(e,t=[]){const s=e,{event:r}=s;if(r===u){if(this.n_objects!==0){this.postAppMessage({event:o,reason:w});return}this.validateInitializeEvent(s),this.s_config_name=s.config_name,this.s_asset_data=s.assets,this.s_wasm_module=s.wasm_module,this.s_wasm_js_url=s.wasm_js_url,this.s_da_object_js_url=s.da_object_js_url,this.initializeSystemWorker(),this.initializeNodeWorkers(),this.da_system.postMessage({event:v,timestamp:Date.now().toString(),assets:this.s_asset_data,config_name:this.s_config_name,wasm_module:this.s_wasm_module,wasm_js_url:this.s_wasm_js_url},t)}else this.send_event(s)}process_system_message(e){const{event:t}=e;if(t===m){let s={event:u,timestamp:Date.now().toString(),assets:this.s_asset_data,config_name:this.s_config_name,wasm_module:this.s_wasm_module,wasm_js_url:this.s_wasm_js_url};const r=e.names.split(a);for(const i in r){this.da_objects[i].name=r[i],s.object_name=r[i];const _=this.da_objects[i].worker;_.onmessage=x=>{this.process_worker_event(x)},_.postMessage(s,h(s)),this.n_objects++}this.output_events=e.output_events.split(a)}}service_queue(e){if(!e.is_ready||e.queue.isEmpty)return;const t=e.queue.getEvent();t&&(e.worker.postMessage(t,h(t)),e.is_ready=!1)}send_event(e){const{event:t}=e;for(const s in this.output_events)if(t===this.output_events[s]){this.postAppMessage(e);break}for(let s=0;s<this.n_objects;s++){const r=this.da_objects[s].req_events;let i=!1;for(const _ in r)if(r[_]===t){i=!0;break}i&&(this.da_objects[s].queue.addEvent(e),this.service_queue(this.da_objects[s]))}}process_worker_event(e){const{OBJECT_NAME:t,EVENT:s}=e.data,{event:r}=s;if(!r)return;let i=null;for(let _=0;_<this.n_objects;_++)if(this.da_objects[_].name===t){i=this.da_objects[_];break}i&&(r===l?(this.n_successes++,s.event_names&&(i.req_events=s.event_names.split(a)),s.throttled_events&&i.queue.setThrottledEvents(s.throttled_events.split(a)),s.max_events&&i.queue.setMaxOldestEvents(parseInt(s.max_events)),this.n_successes+this.n_errors===this.n_objects&&(this.postAppMessage({event:this.n_errors?o:l,timestamp:s.timestamp}),this.n_successes=0,this.n_errors=0)):r===o&&(this.n_errors++,this.n_successes+this.n_errors===this.n_objects&&(this.postAppMessage({event:o,timestamp:s.timestamp}),this.n_successes=0,this.n_errors=0)),r===d?(s.max_events&&i.queue.setMaxOldestEvents(parseInt(s.max_events)),i.is_ready=!0,this.service_queue(i)):this.send_event(s))}validateInitializeEvent(e){this.requireProperty(e,E),this.requireProperty(e,f),this.requireProperty(e,j),this.requireProperty(e,g),this.requireProperty(e,p)}}class I{constructor(){this.events={},this.n_events=0,this.throttled_events=[],this.use_newest_event=!0,this.max_oldest_events=-1,this.num_extra_events=2}setMaxOldestEvents(e){this.use_newest_event=!1,this.max_oldest_events=e}setThrottledEvents(e){this.throttled_events=e}addEvent(e){if(this.isThrottledEvent(e)){const t=this.getNumThrottledEventsInt();if(this.max_oldest_events>=0){const s=this.max_oldest_events+this.num_extra_events;if(t>=s)return}if(this.use_newest_event){const s=this.num_extra_events+1;t>=s&&this.removeFirstThrottledEvent()}}this.events[this.n_events]=e,this.n_events++}getEvent(){if(!this.n_events)return null;const e=this.events[0];for(let t=1;t<this.n_events;t++)this.events[t-1]=this.events[t];return this.n_events--,delete this.events[this.n_events],this.use_newest_event||!this.isThrottledEvent(e)?e:this.max_oldest_events?(this.max_oldest_events>0&&this.max_oldest_events--,e):null}get length(){return this.n_events}get isEmpty(){return this.n_events===0}isThrottledEvent(e){const{event:t}=e;for(let s in this.throttled_events)if(this.throttled_events[s]===t)return!0;return!1}getNumThrottledEventsInt(){let e=0;for(let t=0;t<this.n_events;t++)this.isThrottledEvent(this.events[t])&&e++;return e}removeFirstThrottledEvent(){if(this.length===0)return;let e=-1;for(let t=0;t<this.n_events;t++)if(this.isThrottledEvent(this.events[t])){e=t;break}if(!(e<0)){for(let t=e+1;t<this.n_events;t++)this.events[t-1]=this.events[t];this.n_events--,delete this.events[this.n_events]}}}let c=new T;c.onmessage=function(n){postMessage(n.data,h(n.data))},onmessage=function(n){c.postMessage(n.data)}})();
|
|
2
|
+
//# sourceMappingURL=da_system_worker-x3TQoc4z.js.map
|