@regulaforensics/vp-frontend-document-components 7.6.2113-nightly → 7.6.2115-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.iife.js +4 -4
- package/dist/main.js +8 -8
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -11631,7 +11631,7 @@ function jD(t, r) {
|
|
|
11631
11631
|
if (t == null) return {};
|
|
11632
11632
|
var e = {};
|
|
11633
11633
|
for (var a in t) if ({}.hasOwnProperty.call(t, a)) {
|
|
11634
|
-
if (r.
|
|
11634
|
+
if (r.indexOf(a) !== -1) continue;
|
|
11635
11635
|
e[a] = t[a];
|
|
11636
11636
|
}
|
|
11637
11637
|
return e;
|
|
@@ -17305,7 +17305,7 @@ function Bw(t, r, e, a, o) {
|
|
|
17305
17305
|
}), J = {
|
|
17306
17306
|
platform: "Web",
|
|
17307
17307
|
osVersion: "".concat(ur.osVersion),
|
|
17308
|
-
sdkVersion: "7.6.
|
|
17308
|
+
sdkVersion: "7.6.2115-nightly".trim(),
|
|
17309
17309
|
hostAppId: (Z = s.recognizerProcessParam.processParam.backendProcessing) === null || Z === void 0 ? void 0 : Z.serviceURL,
|
|
17310
17310
|
userID: FD(TD),
|
|
17311
17311
|
deviceModel: "".concat(ur.osName, "/").concat(ur.osVersion, " ").concat(ur.browserName, "/").concat(ur.fullBrowserVersion),
|
|
@@ -20420,7 +20420,7 @@ function RH(t) {
|
|
|
20420
20420
|
return y(new Kt(cr.BAD_CONFIGURATION, "Incorrect component configuration"));
|
|
20421
20421
|
}, [o, a, s, c, f]), /* @__PURE__ */ m.jsx(_e.StrictMode, { children: /* @__PURE__ */ m.jsx(RT, { onError: y, supportedBrowserVersions: gD, children: /* @__PURE__ */ m.jsx(X2, { showHeaderAndFooter: g !== we.CAMERA_PROCESSING, onClose: P, direction: r, children: g === we.CHOOSE_INPUT_SOURCE ? /* @__PURE__ */ m.jsx(ST, { onStart: A, onFileImageSet: L, allowRemote: p, onRemoteDevice: O, title: h("verifyYourIdentity"), subtitle: h(SH(ur.isMobile, s, c, p)) }) : g === we.CAMERA_PROCESSING ? /* @__PURE__ */ m.jsx(Ww, { onStatusChange: R, onFileImageSet: L, onError: y, onClose: P }) : g === we.FILE_PROCESSING ? /* @__PURE__ */ m.jsx(sx, { onStatusChange: R, images: v, onError: y }) : g === we.REMOTE_SCANNER ? /* @__PURE__ */ m.jsx(CH, { onError: y, onStatusChange: R }) : g === we.SUCCESS ? /* @__PURE__ */ m.jsx(hr, { type: "verified", title: h("done") }) : g === we.FILE_SIZE_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "error", title: h("largeFile") }) : g === we.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "error", title: h("versionNotSupported") }) : g === we.WASM_LICENSE_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "error", title: h("badLicense") }) : g === we.INCORRECT_FILE_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "error", title: h("fileCorrupt") }) : g === we.CAMERA_PERMISSION_DENIED_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "docreader-camera-disabled", title: h("cameraUnavailable") }) : g === we.HTTP_NOT_SUPPORTED_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "error", title: h("httpNotSupported") }) : g === we.INSECURE_PAGE_CONTEXT_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "error", title: h("insecurePageContext") }) : g === we.NO_CAMERA_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "docreader-camera-disabled", title: h("noCameraAvailable") }) : g === we.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ m.jsx(hr, { type: "docreader-camera-disabled", title: h("incorrectCameraId") }) : g === we.TIMEOUT ? /* @__PURE__ */ m.jsx(hr, { onReset: U, type: "error", title: h("timeout") }) : g === we.DELEGATE_SUCCESS ? /* @__PURE__ */ m.jsx(hr, { type: "verified", title: h("returnToComputer"), subtitle: h("documentCaptured") }) : g === we.PROCESSING ? /* @__PURE__ */ m.jsx(Il, {}) : /* @__PURE__ */ m.jsx(hr, { type: "error", title: h("somethingWentWrong") }) }) }) });
|
|
20422
20422
|
}
|
|
20423
|
-
const AH = PD(IT, gT)(RH), GT = "*,*:before,*:after{box-sizing:border-box}:host{display:block;container-type:inline-size;container-name:host;--font-family: Inter, sans-serif;--font-size: 16px;width:100%;height:100%}._window_1q4wr_15{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:0 8px 16px #0000000a,0 2px 4px #00000008,0 1px 2px #00000005;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);font-family:var(--font-family);font-size:var(--font-size)}._window_1q4wr_15[data-direction=rtl]{direction:rtl}._window_1q4wr_15[data-direction=ltr]{direction:ltr}._header_1q4wr_38{display:flex;justify-content:flex-end;padding:16px 16px 0}._header_1q4wr_38 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease;appearance:none}._footer_1q4wr_59{display:flex;align-items:center;padding:0 16px 10px}@media (max-width: 640px){._footer_1q4wr_59{justify-content:center}}@container host (max-width: 640px){._footer_1q4wr_59{justify-content:center}}", zT = "._start-window_1an07_1{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;row-gap:1.5em;padding:1.5em}._text_1an07_11{display:flex;flex-direction:column;row-gap:1em;align-items:center;text-align:center}._text_1an07_11 ._title_1an07_19{max-width:500px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._text_1an07_11 ._subtitle_1an07_28{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._buttons_1an07_38{display:flex;width:100%;align-items:center;justify-content:center;column-gap:1em}@media (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}@container host (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}", qT = "._info-message_1cchp_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em}._text-container_1cchp_10{display:flex;flex-direction:column;align-items:center;word-break:break-word;row-gap:1em}._title_1cchp_18{margin:0;font-size:1.25em;font-weight:600;line-height:120%;color:#262626;text-align:center}._subtitle_1cchp_27{margin:0;font-size:1em;font-weight:400;line-height:100%;color:#454545;text-align:center}", ZT = "._container_1m9ye_1{display:flex;position:relative;width:100%;height:100%}._container_1m9ye_1,._layout_1m9ye_8{overflow:hidden}._hint-container_1m9ye_12{--message-container-height: auto;--message-margin-top: 50px;--message-top: 0}._layout_1m9ye_8,._hint-container_1m9ye_12{display:flex;justify-content:center}._svg_1m9ye_23,._hint-container_1m9ye_12,._layout_1m9ye_8{position:absolute;inset:0}._svg_1m9ye_23 rect,._svg_1m9ye_23 path{transition:.25s stroke}._message-container_1m9ye_32{display:flex;flex-direction:column;height:var(--message-container-height);width:100%;max-width:370px;position:relative;align-self:center;align-items:center;margin:0 1em}._icon_1m9ye_44{position:absolute;top:50%;display:flex;justify-content:center;align-items:center;width:80px;height:80px;transform:translateY(-50%);border-radius:50%}._message_1m9ye_32{position:absolute;top:var(--message-top);left:0;right:0;display:flex;justify-content:center;margin-top:var(--message-margin-top)}._message-background_1m9ye_66{text-align:center;padding:.75em 1.5em;border-radius:6px}._tips-frameless_1m9ye_72 ._message_1m9ye_32{margin-left:36px;margin-right:36px}._title_1m9ye_77{font-weight:400;margin:0;font-size:1.125em;line-height:1.3em}._bottom-functional-buttons_1m9ye_84,._top-functional-buttons_1m9ye_84{position:absolute;padding:15px;display:flex}._buttons-left_1m9ye_90,._buttons-right_1m9ye_90,._left-functional-buttons_1m9ye_90{display:flex}div[data-orientation=landscape] ._bottom-functional-buttons_1m9ye_84,div[data-orientation=landscape] ._buttons-left_1m9ye_90,div[data-orientation=landscape] ._buttons-right_1m9ye_90{flex-direction:column}div[data-orientation=landscape] ._buttons-left_1m9ye_90 button+button,div[data-orientation=landscape] ._buttons-right_1m9ye_90 button+button,div[data-orientation=landscape] ._bottom-functional-buttons_1m9ye_84 div+div{margin-top:15px}div[data-orientation=portrait] ._left-functional-buttons_1m9ye_90 button+button{margin-bottom:15px}div[data-orientation=landscape] ._top-functional-buttons_1m9ye_84,div[data-orientation=landscape] ._left-functional-buttons_1m9ye_90,div[data-direction=rtl] div[data-orientation=portrait] ._top-functional-buttons_1m9ye_84,._bottom-functional-buttons_1m9ye_84{left:0}div[data-orientation=portrait] ._bottom-functional-buttons_1m9ye_84,div[data-direction=ltr] div[data-orientation=portrait] ._top-functional-buttons_1m9ye_84{right:0}div[data-orientation=portrait] ._bottom-functional-buttons_1m9ye_84{justify-content:space-between}div[data-direction=ltr] div[data-orientation=portrait] ._buttons-left_1m9ye_90 button+button,div[data-direction=ltr] div[data-orientation=portrait] ._buttons-right_1m9ye_90 button+button,div[data-orientation=landscape] ._left-functional-buttons_1m9ye_90 button+button{margin-left:15px}div[data-direction=rtl] div[data-orientation=portrait] ._buttons-left_1m9ye_90 button+button,div[data-direction=rtl] div[data-orientation=portrait] ._buttons-right_1m9ye_90 button+button{margin-right:15px}._left-functional-buttons_1m9ye_90{position:absolute;bottom:50%;transform:translateY(50%);padding:15px}div[data-orientation=portrait] ._left-functional-buttons_1m9ye_90{bottom:0;right:50%;transform:translate(50%);flex-direction:column-reverse;z-index:1}._top-functional-buttons_1m9ye_84{top:0}._bottom-functional-buttons_1m9ye_84{bottom:0}._bottom-functional-buttons_1m9ye_84 button:not(._snapshot-button_1m9ye_160):hover,._top-functional-buttons_1m9ye_84 button:hover,._left-functional-buttons_1m9ye_90 button:hover{transform:scale(1.1)}._bottom-functional-buttons_1m9ye_84 button,._top-functional-buttons_1m9ye_84 button,._left-functional-buttons_1m9ye_90 button,._snapshot-button_1m9ye_160{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease}._snapshot-button_1m9ye_160{position:absolute;bottom:20px;left:50%;transform:translate(-50%)}._left-functional-buttons_1m9ye_90 ._skip-button_1m9ye_190{padding:0 10px;border-radius:6px;background-color:#1b101f80}._snapshot-button_1m9ye_160:hover{transform:translate(-50%) scale(1.1)}@media (max-width: 640px){._snapshot-button_1m9ye_160{padding-bottom:27px}}@container host (max-width: 640px){._snapshot-button_1m9ye_160{padding-bottom:27px}}._flip_1m9ye_212,._one-side_1m9ye_212{width:70%;height:80%;position:relative;align-self:center;perspective:1000px}._flip_1m9ye_212 svg,._flip_1m9ye_212 img,._one-side_1m9ye_212 img,._one-side_1m9ye_212 svg{width:100%;height:auto;object-fit:cover}._slide_1m9ye_229 img,._slide_1m9ye_229 svg{position:absolute;bottom:0;animation:_slide_1m9ye_229 var(--animation-duration) var(--animation-delay) ease-out forwards}._front_1m9ye_235,._back_1m9ye_235{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden}._front_1m9ye_235{z-index:2;animation:_flip-front_1m9ye_1 var(--animation-duration) var(--animation-delay) ease-out forwards}._back_1m9ye_235{transform:rotateY(180deg);animation:_flip-back_1m9ye_1 var(--animation-duration) var(--animation-delay) ease-out forwards}@keyframes _slide_1m9ye_229{0%{transform:translateY(0)}to{transform:translateY(50%)}}@keyframes _flip-front_1m9ye_1{0%{transform:rotateY(0)}to{transform:rotateY(-180deg)}}@keyframes _flip-back_1m9ye_1{0%{transform:rotateY(180deg)}to{transform:rotateY(0)}}._fade-enter_1m9ye_285{opacity:0}._fade-exit_1m9ye_289,._fade-enter-active_1m9ye_293{opacity:1}._fade-exit-active_1m9ye_297{opacity:0}._fade-enter-active_1m9ye_293,._fade-exit-active_1m9ye_297{transition:opacity .3s}._loader_1m9ye_306{position:absolute;inset:0;box-shadow:none}._copyright_1m9ye_312{position:absolute;bottom:10px;right:20px;filter:drop-shadow(0 0 2px rgba(0,0,0,.5))}._copyright_1m9ye_312 span{color:#e9e9e9}", WT = "._process-message_p14bs_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em;row-gap:1.5em}._message_p14bs_11{display:block;font-size:.875em;line-height:1.25em;color:#000}", YT = "._button_b09l6_1{display:flex;width:100%;max-width:290px;padding:.75em 1.5em;justify-content:center;column-gap:5px;background:#fff;border:1px solid #211236;border-radius:112px;cursor:pointer;font-size:1em}._button_b09l6_1 span{font-family:var(--font-family);font-style:normal;line-height:135%;font-size:1.125em;font-weight:400;color:#211236;white-space:nowrap;margin:0}._button_b09l6_1:hover:not(:disabled),._button_b09l6_1:focus:not(:disabled){background:#f5f5f5}._button_b09l6_1:active:not(:disabled){background:#e2e2e2}._button_b09l6_1:disabled{opacity:.5;cursor:default}", KT = "._copyright_71w1z_1{font-size:12px;font-weight:500;line-height:16px;letter-spacing:-.12px;color:#8c8c8c;direction:ltr}._copyright_71w1z_1 svg{vertical-align:bottom}", XT = "._container_1hyic_1{display:flex;flex:1}._video_1hyic_6{background-color:#fff;width:100%;height:100%;object-fit:contain}", QT = '._spinner_1ejqp_1{width:48px;height:48px;position:relative}._circle_1ejqp_7{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-radius:50%;border:2px solid #7E57C5;border-bottom-color:transparent;animation:_spin_1ejqp_1 1s linear infinite}._spinner_1ejqp_1:before{content:"";width:100%;height:100%;border-radius:50%;border:2px solid #D9D9D9;position:absolute;top:0;left:0;box-sizing:border-box}@keyframes _spin_1ejqp_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}', DH = "._remote-scanner-wrapper_12a10_1{display:flex;flex:1;flex-direction:column;align-items:center;row-gap:1.5em;justify-content:center;padding:1.5em}._qr-container_12a10_11{display:flex;flex-direction:column;align-items:center;max-width:350px;max-height:140px}._text_12a10_19{display:flex;flex-direction:column;align-items:center;text-align:center;row-gap:1em}._title_12a10_27{max-width:465px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._subtitle_12a10_36{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._note_12a10_46{display:block;max-width:465px;color:#000;font-size:.875em;line-height:1.375em}", TH = "Подготовка камеры...", OH = "Тайм-аут", yH = "Нет фокусировки камеры", NH = "Что-то пошло не так", LH = "Камера с заданным ID не найдена.", PH = "Подготовка сервиса...", MH = "Готово!", bH = "Камера недоступна!", wH = "Версия вашего браузера не поддерживается", xH = "HTTPS не используется", kH = "Небезопасный контекст", HH = "Лицензия не найдена или недействительна", FH = "Файл поврежден или не поддерживается", VH = "Размер загружаемого файла слишком велик", UH = "Поместите документ в рамку", jH = "Держите документ прямо", $H = "Избегайте бликов на документе", BH = "Повторите попытку", GH = "Отсутствует камера", zH = "Обработка документа...", qH = "Расположите документ в центре", ZH = "Переверните документ", WH = "Загрузите фото", YH = "Подвиньтесь ближе", KH = "Держите устройство неподвижно", XH = "Камера", QH = "Перейдите к мобильному устройству", JH = "Откройте камеру мобильного устройства, отсканируйте QR-код и перейдите по ссылке", eF = "Пожалуйста подождите…", tF = "Мобильное устройство", rF = "Проверка документа, удостоверяющего личность", nF = "Сделайте снимок документа камерой компьютера, загрузите из файлов или отсканируйте с мобильного устройства", iF = "Сделайте снимок документа камерой компьютера или загрузите из файлов", aF = "Сделайте снимок документа камерой компьютера или отсканируйте с мобильного устройства", oF = "Загрузите документ из файлов или отсканируйте его с мобильного устройства", sF = "Воспользуйтесь камерой компьютера, чтобы сделать снимок документа", lF = "Выберите документ из файлов и загрузите его", uF = "Воспользуйтесь камерой мобильного устройства, чтобы сделать снимок документа", cF = "Сделайте снимок документа камерой мобильного устройства или загрузите из галереи", fF = "Выберите документ из галереи и загрузите его", dF = "Галерея", _F = "Файлы", pF = "Вернитесь к компьютеру", mF = "Ваш документ захвачен", hF = {
|
|
20423
|
+
const AH = PD(IT, gT)(RH), GT = "*,*:before,*:after{box-sizing:border-box}:host{display:block;container-type:inline-size;container-name:host;--font-family: Inter, sans-serif;--font-size: 16px;width:100%;height:100%}._window_1q4wr_15{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:0 8px 16px #0000000a,0 2px 4px #00000008,0 1px 2px #00000005;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);font-family:var(--font-family);font-size:var(--font-size)}._window_1q4wr_15[data-direction=rtl]{direction:rtl}._window_1q4wr_15[data-direction=ltr]{direction:ltr}._header_1q4wr_38{display:flex;justify-content:flex-end;padding:16px 16px 0}._header_1q4wr_38 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease;appearance:none}._footer_1q4wr_59{display:flex;align-items:center;padding:0 16px 10px}@media (max-width: 640px){._footer_1q4wr_59{justify-content:center}}@container host (max-width: 640px){._footer_1q4wr_59{justify-content:center}}", zT = "._start-window_1an07_1{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;row-gap:1.5em;padding:1.5em}._text_1an07_11{display:flex;flex-direction:column;row-gap:1em;align-items:center;text-align:center}._text_1an07_11 ._title_1an07_19{max-width:500px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._text_1an07_11 ._subtitle_1an07_28{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._buttons_1an07_38{display:flex;width:100%;align-items:center;justify-content:center;column-gap:1em}@media (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}@container host (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}", qT = "._info-message_1cchp_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em}._text-container_1cchp_10{display:flex;flex-direction:column;align-items:center;word-break:break-word;row-gap:1em}._title_1cchp_18{margin:0;font-size:1.25em;font-weight:600;line-height:120%;color:#262626;text-align:center}._subtitle_1cchp_27{margin:0;font-size:1em;font-weight:400;line-height:100%;color:#454545;text-align:center}", ZT = "._container_1m9ye_1{display:flex;position:relative;width:100%;height:100%}._container_1m9ye_1,._layout_1m9ye_8{overflow:hidden}._hint-container_1m9ye_12{--message-container-height: auto;--message-margin-top: 50px;--message-top: 0}._layout_1m9ye_8,._hint-container_1m9ye_12{display:flex;justify-content:center}._svg_1m9ye_23,._hint-container_1m9ye_12,._layout_1m9ye_8{position:absolute;inset:0}._svg_1m9ye_23 rect,._svg_1m9ye_23 path{transition:.25s stroke}._message-container_1m9ye_32{display:flex;flex-direction:column;height:var(--message-container-height);width:100%;max-width:370px;position:relative;align-self:center;align-items:center;margin:0 1em}._icon_1m9ye_44{position:absolute;top:50%;display:flex;justify-content:center;align-items:center;width:80px;height:80px;transform:translateY(-50%);border-radius:50%}._message_1m9ye_32{position:absolute;top:var(--message-top);left:0;right:0;display:flex;justify-content:center;margin-top:var(--message-margin-top)}._message-background_1m9ye_66{text-align:center;padding:.75em 1.5em;border-radius:6px}._tips-frameless_1m9ye_72 ._message_1m9ye_32{margin-left:36px;margin-right:36px}._title_1m9ye_77{font-weight:400;margin:0;font-size:1.125em;line-height:1.3em}._bottom-functional-buttons_1m9ye_84,._top-functional-buttons_1m9ye_84{position:absolute;padding:15px;display:flex}._buttons-left_1m9ye_90,._buttons-right_1m9ye_90,._left-functional-buttons_1m9ye_90{display:flex}div[data-orientation=landscape] ._bottom-functional-buttons_1m9ye_84,div[data-orientation=landscape] ._buttons-left_1m9ye_90,div[data-orientation=landscape] ._buttons-right_1m9ye_90{flex-direction:column}div[data-orientation=landscape] ._buttons-left_1m9ye_90 button+button,div[data-orientation=landscape] ._buttons-right_1m9ye_90 button+button,div[data-orientation=landscape] ._bottom-functional-buttons_1m9ye_84 div+div{margin-top:15px}div[data-orientation=portrait] ._left-functional-buttons_1m9ye_90 button+button{margin-bottom:15px}div[data-orientation=landscape] ._top-functional-buttons_1m9ye_84,div[data-orientation=landscape] ._left-functional-buttons_1m9ye_90,div[data-direction=rtl] div[data-orientation=portrait] ._top-functional-buttons_1m9ye_84,._bottom-functional-buttons_1m9ye_84{left:0}div[data-orientation=portrait] ._bottom-functional-buttons_1m9ye_84,div[data-direction=ltr] div[data-orientation=portrait] ._top-functional-buttons_1m9ye_84{right:0}div[data-orientation=portrait] ._bottom-functional-buttons_1m9ye_84{justify-content:space-between}div[data-direction=ltr] div[data-orientation=portrait] ._buttons-left_1m9ye_90 button+button,div[data-direction=ltr] div[data-orientation=portrait] ._buttons-right_1m9ye_90 button+button,div[data-orientation=landscape] ._left-functional-buttons_1m9ye_90 button+button{margin-left:15px}div[data-direction=rtl] div[data-orientation=portrait] ._buttons-left_1m9ye_90 button+button,div[data-direction=rtl] div[data-orientation=portrait] ._buttons-right_1m9ye_90 button+button{margin-right:15px}._left-functional-buttons_1m9ye_90{position:absolute;bottom:50%;transform:translateY(50%);padding:15px}div[data-orientation=portrait] ._left-functional-buttons_1m9ye_90{bottom:0;right:50%;transform:translate(50%);flex-direction:column-reverse;z-index:1}._top-functional-buttons_1m9ye_84{top:0}._bottom-functional-buttons_1m9ye_84{bottom:0}._bottom-functional-buttons_1m9ye_84 button:not(._snapshot-button_1m9ye_160):hover,._top-functional-buttons_1m9ye_84 button:hover,._left-functional-buttons_1m9ye_90 button:hover{transform:scale(1.1)}._bottom-functional-buttons_1m9ye_84 button,._top-functional-buttons_1m9ye_84 button,._left-functional-buttons_1m9ye_90 button,._snapshot-button_1m9ye_160{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease}._snapshot-button_1m9ye_160{position:absolute;bottom:20px;left:50%;transform:translate(-50%)}._left-functional-buttons_1m9ye_90 ._skip-button_1m9ye_190{padding:0 10px;border-radius:6px;background-color:#1b101f80}._snapshot-button_1m9ye_160:hover{transform:translate(-50%) scale(1.1)}@media (max-width: 640px){._snapshot-button_1m9ye_160{padding-bottom:27px}}@container host (max-width: 640px){._snapshot-button_1m9ye_160{padding-bottom:27px}}._flip_1m9ye_212,._one-side_1m9ye_212{width:70%;height:80%;position:relative;align-self:center;perspective:1000px}._flip_1m9ye_212 svg,._flip_1m9ye_212 img,._one-side_1m9ye_212 img,._one-side_1m9ye_212 svg{width:100%;height:auto;object-fit:cover}._slide_1m9ye_229 img,._slide_1m9ye_229 svg{position:absolute;bottom:0;animation:_slide_1m9ye_229 var(--animation-duration) var(--animation-delay) ease-out forwards}._front_1m9ye_235,._back_1m9ye_235{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden}._front_1m9ye_235{z-index:2;animation:_flip-front_1m9ye_1 var(--animation-duration) var(--animation-delay) ease-out forwards}._back_1m9ye_235{transform:rotateY(180deg);animation:_flip-back_1m9ye_1 var(--animation-duration) var(--animation-delay) ease-out forwards}@keyframes _slide_1m9ye_229{0%{transform:translateY(0)}to{transform:translateY(50%)}}@keyframes _flip-front_1m9ye_1{0%{transform:rotateY(0)}to{transform:rotateY(-180deg)}}@keyframes _flip-back_1m9ye_1{0%{transform:rotateY(180deg)}to{transform:rotateY(0)}}._fade-enter_1m9ye_285{opacity:0}._fade-exit_1m9ye_289,._fade-enter-active_1m9ye_293{opacity:1}._fade-exit-active_1m9ye_297{opacity:0}._fade-enter-active_1m9ye_293,._fade-exit-active_1m9ye_297{transition:opacity .3s}._loader_1m9ye_306{position:absolute;inset:0;box-shadow:none}._copyright_1m9ye_312{position:absolute;bottom:10px;right:20px;filter:drop-shadow(0 0 2px rgba(0,0,0,.5))}._copyright_1m9ye_312 span{color:#e9e9e9}", WT = "._process-message_p14bs_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em;row-gap:1.5em}._message_p14bs_11{display:block;font-size:.875em;line-height:1.25em;color:#000}", YT = "._button_b09l6_1{display:flex;width:100%;max-width:290px;padding:.75em 1.5em;justify-content:center;column-gap:5px;background:#fff;border:1px solid #211236;border-radius:112px;cursor:pointer;font-size:1em}._button_b09l6_1 span{font-family:var(--font-family);font-style:normal;line-height:135%;font-size:1.125em;font-weight:400;color:#211236;white-space:nowrap;margin:0}._button_b09l6_1:hover:not(:disabled),._button_b09l6_1:focus:not(:disabled){background:#f5f5f5}._button_b09l6_1:active:not(:disabled){background:#e2e2e2}._button_b09l6_1:disabled{opacity:.5;cursor:default}", KT = "._copyright_71w1z_1{font-size:12px;font-weight:500;line-height:16px;letter-spacing:-.12px;color:#8c8c8c;direction:ltr}._copyright_71w1z_1 svg{vertical-align:bottom}", XT = "._container_1hyic_1{display:flex;flex:1}._video_1hyic_6{background-color:#fff;width:100%;height:100%;object-fit:contain}", QT = '._spinner_1ejqp_1{width:48px;height:48px;position:relative}._circle_1ejqp_7{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-radius:50%;border:2px solid #7E57C5;border-bottom-color:transparent;animation:_spin_1ejqp_1 1s linear infinite}._spinner_1ejqp_1:before{content:"";width:100%;height:100%;border-radius:50%;border:2px solid #D9D9D9;position:absolute;top:0;left:0;box-sizing:border-box}@keyframes _spin_1ejqp_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}', DH = "._remote-scanner-wrapper_12a10_1{display:flex;flex:1;flex-direction:column;align-items:center;row-gap:1.5em;justify-content:center;padding:1.5em}._qr-container_12a10_11{display:flex;flex-direction:column;align-items:center;max-width:350px;max-height:140px}._text_12a10_19{display:flex;flex-direction:column;align-items:center;text-align:center;row-gap:1em}._title_12a10_27{max-width:465px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._subtitle_12a10_36{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._note_12a10_46{display:block;max-width:465px;color:#000;font-size:.875em;line-height:1.375em}", TH = "Подготовка камеры...", OH = "Тайм-аут", yH = "Нет фокусировки камеры", NH = "Что-то пошло не так", LH = "Камера с заданным ID не найдена.", PH = "Подготовка сервиса...", MH = "Готово!", bH = "Камера недоступна!", wH = "Версия вашего браузера не поддерживается", xH = "HTTPS не используется", kH = "Небезопасный контекст", HH = "Лицензия не найдена или недействительна", FH = "Файл поврежден или не поддерживается", VH = "Размер загружаемого файла слишком велик", UH = "Поместите документ в рамку", jH = "Держите документ прямо", $H = "Избегайте бликов на документе", BH = "Повторите попытку", GH = "Отсутствует камера", zH = "Обработка документа...", qH = "Расположите документ в центре", ZH = "Переверните документ", WH = "Загрузите фото", YH = "Подвиньтесь ближе", KH = "Держите устройство неподвижно", XH = "Камера", QH = "Перейдите к мобильному устройству", JH = "Откройте камеру мобильного устройства, отсканируйте QR-код и перейдите по ссылке", eF = "Пожалуйста, подождите…", tF = "Мобильное устройство", rF = "Проверка документа, удостоверяющего личность", nF = "Сделайте снимок документа камерой компьютера, загрузите из файлов или отсканируйте с мобильного устройства", iF = "Сделайте снимок документа камерой компьютера или загрузите из файлов", aF = "Сделайте снимок документа камерой компьютера или отсканируйте с мобильного устройства", oF = "Загрузите документ из файлов или отсканируйте его с мобильного устройства", sF = "Воспользуйтесь камерой компьютера, чтобы сделать снимок документа", lF = "Выберите документ из файлов и загрузите его", uF = "Воспользуйтесь камерой мобильного устройства, чтобы сделать снимок документа", cF = "Сделайте снимок документа камерой мобильного устройства или загрузите из галереи", fF = "Выберите документ из галереи и загрузите его", dF = "Галерея", _F = "Файлы", pF = "Вернитесь к компьютеру", mF = "Ваш документ захвачен", hF = {
|
|
20424
20424
|
preparingCamera: TH,
|
|
20425
20425
|
timeout: OH,
|
|
20426
20426
|
noFocus: yH,
|
|
@@ -21905,7 +21905,7 @@ const AH = PD(IT, gT)(RH), GT = "*,*:before,*:after{box-sizing:border-box}:host{
|
|
|
21905
21905
|
files: Yce,
|
|
21906
21906
|
returnToComputer: Kce,
|
|
21907
21907
|
documentCaptured: Xce
|
|
21908
|
-
}, Jce = "Տեսախցիկի նախապատրաստում․․․", efe = "Թայմաութ", tfe = "Տեսախցիկի ֆոկուսավորում չկա", rfe = "Ինչ-որ բան սխալ է", nfe = "Նշված ID-ով տեսախցիկ չգտնվեց։", ife = "Ծառայության նախապատրաստում․․․", afe = "Պատրաստ է", ofe = "Տեսախցիկը հասանելի չէ։", sfe = "Ձեր դիտարկիչի տարբերակը չի աջակցվում", lfe = "HTTPS չի օգտագործվում", ufe = "Վտանգավոր համատեքստ", cfe = "Արտոնագիրը չի գտնվել կամ այն անվավեր է", ffe = "Ֆայլը վնասված է կամ չի աջակցվում", dfe = "Բեռնված ֆայլի չափը շատ մեծ է", _fe = "Փաստաթուղթը տեղադրեք շրջանակի մեջ", pfe = "Փաստաթուղթը պահեք ուղիղ", mfe = "Խուսափեք փաստաթղթի վրա փայլեր հայտնվելուց", hfe = "Կրկնեք փորձը", Efe = "Տեսախցիկը բացակայում է", Cfe = "Փաստաթղթի մշակում․․․", vfe = "Փաստաթուղթը տեղադրեք կենտրոնում", Sfe = "Շրջել փաստաթուղթը", gfe = "Բեռնել լուսանկարը", Ife = "Ավելի մոտ տեղավորվերք", Rfe = "Սարքը պահեք անշարժ", Afe = "Տեսախցիկ", Dfe = "Անցնել բջջային սարքին", Tfe = "բացեք բջջային սարքի տեսախցիկը, սկանավորեք QR կոդը և անցեք հղումով", Ofe = "
|
|
21908
|
+
}, Jce = "Տեսախցիկի նախապատրաստում․․․", efe = "Թայմաութ", tfe = "Տեսախցիկի ֆոկուսավորում չկա", rfe = "Ինչ-որ բան սխալ է", nfe = "Նշված ID-ով տեսախցիկ չգտնվեց։", ife = "Ծառայության նախապատրաստում․․․", afe = "Պատրաստ է", ofe = "Տեսախցիկը հասանելի չէ։", sfe = "Ձեր դիտարկիչի տարբերակը չի աջակցվում", lfe = "HTTPS չի օգտագործվում", ufe = "Վտանգավոր համատեքստ", cfe = "Արտոնագիրը չի գտնվել կամ այն անվավեր է", ffe = "Ֆայլը վնասված է կամ չի աջակցվում", dfe = "Բեռնված ֆայլի չափը շատ մեծ է", _fe = "Փաստաթուղթը տեղադրեք շրջանակի մեջ", pfe = "Փաստաթուղթը պահեք ուղիղ", mfe = "Խուսափեք փաստաթղթի վրա փայլեր հայտնվելուց", hfe = "Կրկնեք փորձը", Efe = "Տեսախցիկը բացակայում է", Cfe = "Փաստաթղթի մշակում․․․", vfe = "Փաստաթուղթը տեղադրեք կենտրոնում", Sfe = "Շրջել փաստաթուղթը", gfe = "Բեռնել լուսանկարը", Ife = "Ավելի մոտ տեղավորվերք", Rfe = "Սարքը պահեք անշարժ", Afe = "Տեսախցիկ", Dfe = "Անցնել բջջային սարքին", Tfe = "բացեք բջջային սարքի տեսախցիկը, սկանավորեք QR կոդը և անցեք հղումով", Ofe = "Խնդրում ենք սպասել...", yfe = "Բջջային սարք", Nfe = "Անձը հաստատող փաստաթղթի ստուգում", Lfe = "Համակարգչի տեսախցիկով լուսանկարեք փաստաթուղթը, բեռնեք ֆայլերից կամ սկանավորեք բջջային սարքից", Pfe = "Փաստաթուղթը լուսանկարեք համակարգչի տեսախցիկի օգնությամբ կամ բեռնեք այն ֆայլերի ցանկից", Mfe = "Համակարգչի տեսախցիկով լուսանկարեք փաստաթուղթը կամ սկանավորեք բջջային սարքից", bfe = "Փաստաթուղթը բեռնեք ֆայլերի ցանկից կամ սկանավորեք այն բջջային սարքից", wfe = "Օգտվեք համակարգչի տեսախցիկից՝ փաստաթուղթը լուսանկարելու համար", xfe = "Ֆայլերի ցանկից փաստաթուղթ ընտրեք և բեռնեք այն", kfe = "Օգտվեք բջջային սարքի տեսախցիկից՝ փաստաթուղթը լուսանկարելու համար", Hfe = "Փաստաթուղթը լուսանկարեք բջջային սարքի տեսախցիկի օգնությամբ կամ բեռնեք այն պատկերադարանից", Ffe = "Պատկերադարանից ընտրեք փաստաթուղթը և բեռնեք այն", Vfe = "Պատկերադարան", Ufe = "Ֆայլեր", jfe = "Վերադարձեք համակարգչի մոտ", $fe = "Ձեր փաստաթուղթը տեսագրված է", Bfe = {
|
|
21909
21909
|
preparingCamera: Jce,
|
|
21910
21910
|
timeout: efe,
|
|
21911
21911
|
noFocus: tfe,
|
|
@@ -21950,7 +21950,7 @@ const AH = PD(IT, gT)(RH), GT = "*,*:before,*:after{box-sizing:border-box}:host{
|
|
|
21950
21950
|
files: Ufe,
|
|
21951
21951
|
returnToComputer: jfe,
|
|
21952
21952
|
documentCaptured: $fe
|
|
21953
|
-
}, Gfe = "Камера даярдалууда...", zfe = "Тайм-аут", qfe = "Камеранын фокусу жок", Zfe = "Бир жерден ката кетти", Wfe = "Көрсөтүлгөн ID менен камера табылган жок.", Yfe = "Кызмат даярдалууда...", Kfe = "Даяр!", Xfe = "Камера жеткиликтүү эмес!", Qfe = "Сиздин браузердин версиясы колдоого алынбайт", Jfe = "HTTPS колдонулбайт", ede = "Коопсуз контекст", tde = "Лицензия табылган жок же жараксыз", rde = "Файл бузулган же колдоого алынбайт", nde = "Жүктөлүп берилген файлдын өлчөмү өтө чоң", ide = "Документти алкакка жайгаштырыңыз:", ade = "Документти түз кармаңыз", ode = "Документиңизде жаркырап калбаңыз", sde = "Кайра аракет кылып көрүңүз", lde = "Камера жок", ude = "Документ иштетилүүдө...", cde = "Документти борборго коюңуз", fde = "Документти которуңуз", dde = "Сүрөт жүктөө", _de = "Жакыныраак жылыңыз", pde = "Түзмөктү кыймылдатпаңыз", mde = "Камера", hde = "Мобилдик түзмөккө өтүңүз", Ede = "Мобилдик түзмөгүңүздүн камерасын ачып, QR кодун сканерлеп, шилтемени басыңыз", Cde = "
|
|
21953
|
+
}, Gfe = "Камера даярдалууда...", zfe = "Тайм-аут", qfe = "Камеранын фокусу жок", Zfe = "Бир жерден ката кетти", Wfe = "Көрсөтүлгөн ID менен камера табылган жок.", Yfe = "Кызмат даярдалууда...", Kfe = "Даяр!", Xfe = "Камера жеткиликтүү эмес!", Qfe = "Сиздин браузердин версиясы колдоого алынбайт", Jfe = "HTTPS колдонулбайт", ede = "Коопсуз контекст", tde = "Лицензия табылган жок же жараксыз", rde = "Файл бузулган же колдоого алынбайт", nde = "Жүктөлүп берилген файлдын өлчөмү өтө чоң", ide = "Документти алкакка жайгаштырыңыз:", ade = "Документти түз кармаңыз", ode = "Документиңизде жаркырап калбаңыз", sde = "Кайра аракет кылып көрүңүз", lde = "Камера жок", ude = "Документ иштетилүүдө...", cde = "Документти борборго коюңуз", fde = "Документти которуңуз", dde = "Сүрөт жүктөө", _de = "Жакыныраак жылыңыз", pde = "Түзмөктү кыймылдатпаңыз", mde = "Камера", hde = "Мобилдик түзмөккө өтүңүз", Ede = "Мобилдик түзмөгүңүздүн камерасын ачып, QR кодун сканерлеп, шилтемени басыңыз", Cde = "Сураныч, күтө туруңуз...", vde = "Мобилдик түзмөк", Sde = "Өздүгүн тастыктаган документти текшерүү", gde = "Компьютериңиздин камерасы менен документти сүрөткө тартыңыз, файлдардан жүктөңүз же мобилдик түзмөгүңүздөн сканерлеңиз", Ide = "Компьютериңиздин камерасы менен документти сүрөткө тартыңыз же файлдардан жүктөңүз", Rde = "Компьютериңиздин камерасы менен документти сүрөткө тартыңыз же мобилдик түзмөгүңүздөн сканерлеңиз", Ade = "Документти файлдардан жүктөө же мобилдик түзмөктөн сканерлөө", Dde = "Документти сүрөткө тартуу үчүн компьютериңиздин камерасын колдонуңуз", Tde = "Файлдардан документти тандап, жүктөңүз", Ode = "Документти сүрөткө тартуу үчүн мобилдик түзмөгүңүздүн камерасын колдонуңуз", yde = "Мобилдик түзмөгүңүздүн камерасы менен документтин сүрөтүн тартыңыз же галереяңыздан жүктөңүз", Nde = "Галереядан документти тандап, жүктөңүз", Lde = "Галерея", Pde = "Файлдар", Mde = "Компьютерге кайтыңыз", bde = "Документиңиз алынды", wde = {
|
|
21954
21954
|
preparingCamera: Gfe,
|
|
21955
21955
|
timeout: zfe,
|
|
21956
21956
|
noFocus: qfe,
|
|
@@ -23671,8 +23671,8 @@ class q_e {
|
|
|
23671
23671
|
processParam: {}
|
|
23672
23672
|
}), xr(this, "imageProcessParam", {
|
|
23673
23673
|
processParam: {}
|
|
23674
|
-
}), xr(this, "recognizeListener", null), xr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/7.6/
|
|
23675
|
-
component: "7.6.
|
|
23674
|
+
}), xr(this, "recognizeListener", null), xr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/7.6/d08cace9-dae9e9087"), xr(this, "version", {
|
|
23675
|
+
component: "7.6.2115-nightly".trim()
|
|
23676
23676
|
});
|
|
23677
23677
|
}
|
|
23678
23678
|
get processingListener() {
|
|
@@ -23744,7 +23744,7 @@ class q_e {
|
|
|
23744
23744
|
return He(this, null, function* () {
|
|
23745
23745
|
var r, e;
|
|
23746
23746
|
wr("Preparing the service");
|
|
23747
|
-
const a = "ProcMgr.worker.js", o = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/7.6/
|
|
23747
|
+
const a = "ProcMgr.worker.js", o = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/7.6/d08cace9-dae9e9087", s = B_e(this.workerPath);
|
|
23748
23748
|
{
|
|
23749
23749
|
let d = yield (yield fetch("".concat(s, "/").concat(a))).text();
|
|
23750
23750
|
o || (d = bw(d, s));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/vp-frontend-document-components",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.2115-nightly",
|
|
4
4
|
"description": "Regula framework agnostic web components to work with webcamera",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/main.js",
|