@regulaforensics/vp-frontend-document-components 8.3.2406-nightly → 8.3.2408-rc
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 +2 -2
- package/dist/main.js +189 -189
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -8244,7 +8244,7 @@ function GO() {
|
|
|
8244
8244
|
}
|
|
8245
8245
|
GO();
|
|
8246
8246
|
var rr = /* @__PURE__ */ ((e) => (e.WASM_ERROR = "WASM_ERROR", e.WASM_LICENSE = "WASM_LICENSE", e.FILE_SIZE = "FILE_SIZE", e.INCORRECT_FILE = "INCORRECT_FILE", e.INCORRECT_SCENARIO = "INCORRECT_SCENARIO", e.MISSING_SCENARIO = "MISSING_SCENARIO", e.UNKNOWN_ERROR = "UNKNOWN_ERROR", e.NOT_SUPPORTED = "NOT_SUPPORTED", e.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR", e.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED", e.NO_CAMERA = "NO_CAMERA", e.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID", e.CONNECTION_ERROR = "CONNECTION_ERROR", e.HTTP_NOT_SUPPORTED = "HTTP_NOT_SUPPORTED", e.INSECURE_PAGE_CONTEXT = "INSECURE_PAGE_CONTEXT", e.BAD_CONFIGURATION = "BAD_CONFIGURATION", e))(rr || {}), pt = /* @__PURE__ */ ((e) => (e.ELEMENT_VISIBLE = "ELEMENT_VISIBLE", e.PRESS_CAMERA_BUTTON = "PRESS_CAMERA_BUTTON", e.PRESS_FILE_BUTTON = "PRESS_FILE_BUTTON", e.PRESS_RETRY_BUTTON = "PRESS_RETRY_BUTTON", e.PRESS_SKIP_BUTTON = "PRESS_SKIP_BUTTON", e.PRESS_CAPTURE_BUTTON = "PRESS_CAPTURE_BUTTON", e.PRESS_CHANGE_CAMERA_BUTTON = "PRESS_CHANGE_CAMERA_BUTTON", e.PRESS_REMOTE_DEVICE_BUTTON = "PRESS_REMOTE_DEVICE_BUTTON", e.PRESS_MIRRORING_BUTTON = "PRESS_MIRRORING_BUTTON", e.NEW_PAGE_AVAILABLE = "NEW_PAGE_AVAILABLE", e.NEW_PAGE_STARTED = "NEW_PAGE_STARTED", e.CLOSE = "CLOSE", e.CAMERA_PROCESS_CLOSED = "CAMERA_PROCESS_CLOSED", e.CAMERA_PROCESS_STARTED = "CAMERA_PROCESS_STARTED", e.VIDEO_STARTED = "VIDEO_STARTED", e.VIDEO_STOPPED = "VIDEO_STOPPED", e.FILE_PROCESS_STARTED = "FILE_PROCESS_STARTED", e.PROCESS_FINISHED = "PROCESS_FINISHED", e.SERVICE_INITIALIZED = "SERVICE_INITIALIZED", e.REMOTE_TRANSACTION_UPLOADED = "REMOTE_TRANSACTION_UPLOADED", e.REMOTE_PROCESS_FINISHED = "REMOTE_PROCESS_FINISHED", e))(pt || {}), it = /* @__PURE__ */ ((e) => (e.FINDING = "FINDING", e.PROCESSING = "PROCESSING", e.SUCCESS = "SUCCESS", e.FAILED = "FAILED", e.RESOLUTION = "RESOLUTION", e.GLARE = "GLARE", e.FOCUS = "FOCUS", e.SHAKING = "SHAKING", e.HOLD = "HOLD", e.SERVICE_PREPARING = "SERVICE_PREPARING", e.START_NEXT_PAGE = "START_NEXT_PAGE", e.SNAPSHOT = "SNAPSHOT", e.TIMEOUT = "TIMEOUT", e))(it || {}), ra = /* @__PURE__ */ ((e) => (e.auto = "auto", e.captureVideo = "captureVideo", e.captureFrame = "captureFrame", e))(ra || {}), Ne = /* @__PURE__ */ ((e) => (e.CHOOSE_INPUT_SOURCE = "CHOOSE_INPUT_SOURCE", e.CAMERA_PROCESSING = "CAMERA_PROCESSING", e.FILE_PROCESSING = "FILE_PROCESSING", e.API_PROCESSING = "API_PROCESSING", e.REMOTE_SCANNER = "REMOTE_SCANNER", e.PROCESSING = "PROCESSING", e.SUCCESS = "SUCCESS", e.DELEGATE_SUCCESS = "DELEGATE_SUCCESS", e.FAILED = "FAILED", e.FILE_SIZE_ERROR = "FILE_SIZE_ERROR", e.WASM_DEFAULT_ERROR = "WASM_DEFAULT_ERROR", e.NOT_SUPPORTED_ERROR = "NOT_SUPPORTED_ERROR", e.WASM_LICENSE_ERROR = "WASM_LICENSE_ERROR", e.INCORRECT_FILE_ERROR = "INCORRECT_FILE_ERROR", e.UNKNOWN_ERROR = "UNKNOWN_ERROR", e.TIMEOUT = "TIMEOUT", e.CAMERA_PERMISSION_DENIED_ERROR = "CAMERA_PERMISSION_DENIED_ERROR", e.HTTP_NOT_SUPPORTED_ERROR = "HTTP_NOT_SUPPORTED_ERROR", e.INSECURE_PAGE_CONTEXT_ERROR = "INSECURE_PAGE_CONTEXT_ERROR", e.NO_CAMERA_ERROR = "NO_CAMERA_ERROR", e.INCORRECT_CAMERA_ID_ERROR = "INCORRECT_CAMERA_ID_ERROR", e.CONFIGURATION_ERROR = "CONFIGURATION_ERROR", e))(Ne || {}), Ni = /* @__PURE__ */ ((e) => (e.CHECKING = "CHECKING", e.AVAILABLE = "AVAILABLE", e.NOT_AVAILABLE = "NOT_AVAILABLE", e.ERROR = "ERROR", e))(Ni || {}), vn = /* @__PURE__ */ ((e) => (e.locale = "locale", e.multiple = "multiple", e.copyright = "copyright", e.startScreen = "start-screen", e.internalScenario = "internal-scenario", e.multipageProcessing = "multipage-processing", e.cameraId = "camera-id", e.changeCamera = "change-camera", e.closeButton = "close-button", e.captureButton = "capture-button", e))(vn || {}), Ti = /* @__PURE__ */ ((e) => (e.locale = "locale", e.multiple = "multiple", e.copyright = "copyright", e.startScreen = "start-screen", e.cameraId = "camera-id", e.changeCamera = "change-camera", e.closeButton = "close-button", e))(Ti || {}), ZO = /* @__PURE__ */ ((e) => (e.MrzAndLocate = "MrzAndLocate", e.MrzOrLocate = "MrzOrLocate", e.Mrz = "Mrz", e.Locate = "Locate", e.Barcode = "Barcode", e.MrzOrBarcode = "MrzOrBarcode", e.BarcodeAndLocate = "BarcodeAndLocate", e))(ZO || {}), Dn = /* @__PURE__ */ ((e) => (e[e.prepare = 12e3] = "prepare", e[e.initialize = 12100] = "initialize", e[e.process = 12101] = "process", e[e.processImage = 12104] = "processImage", e[e.startNewPage = 12106] = "startNewPage", e[e.startNewDocument = 12105] = "startNewDocument", e[e.createBackendTransaction = 12125] = "createBackendTransaction", e[e.finalizePackage = 12122] = "finalizePackage", e[e.addDataToPackage = 12121] = "addDataToPackage", e))(Dn || {}), ys = /* @__PURE__ */ ((e) => (e.line = "line", e.corners = "corners", e))(ys || {}), hg = /* @__PURE__ */ ((e) => (e.butt = "butt", e.round = "round", e.square = "square", e))(hg || {}), up = /* @__PURE__ */ ((e) => (e[e.ok = 0] = "ok", e[e.unsupportedCommand = 1] = "unsupportedCommand", e[e.badInputData = 2] = "badInputData", e[e.finished = 3] = "finished", e[e.currentlyUnavailable = 4] = "currentlyUnavailable", e[e.badLicense = 5] = "badLicense", e[e.alreadyDone = 6] = "alreadyDone", e))(up || {}), jO = /* @__PURE__ */ ((e) => (e.Glares = "glaresCheck", e.Focus = "focusCheck", e.Resolution = "dpiThreshold", e.Perspective = "perspectiveCheck", e.Bounds = "documentPosition", e.Portrait = "portraitCheck", e.Brightness = "brightnessCheck", e))(jO || {}), U2 = /* @__PURE__ */ ((e) => (e[e.STARTED = 0] = "STARTED", e[e.UPLOADED = 1] = "UPLOADED", e[e.PROCESSED = 2] = "PROCESSED", e))(U2 || {}), yo = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Horizontal = 1] = "Horizontal", e[e.Vertical = 2] = "Vertical", e[e.LeftBottomRightTop = 4] = "LeftBottomRightTop", e[e.RightBottomLeftTop = 8] = "RightBottomLeftTop", e))(yo || {}), Vs = /* @__PURE__ */ ((e) => (e.Flip = "flip", e.Tilt = "tilt", e))(Vs || {}), lr = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.PassportSinglePage = 1] = "PassportSinglePage", e[e.PassportTwoPages = 2] = "PassportTwoPages", e[e.IDFront = 3] = "IDFront", e[e.IDFrontMRZ = 4] = "IDFrontMRZ", e[e.IDBack = 5] = "IDBack", e[e.IDBackMrz = 6] = "IDBackMrz", e[e.IDBackBarcode = 7] = "IDBackBarcode", e[e.IDBackBarcodeMRZ = 8] = "IDBackBarcodeMRZ", e[e.BankCardFront = 9] = "BankCardFront", e[e.BankCardBack = 10] = "BankCardBack", e[e.DocumentFront = 11] = "DocumentFront", e[e.DocumentBack = 12] = "DocumentBack", e))(lr || {}), M2 = /* @__PURE__ */ ((e) => (e.BarcodeMRZ = "BarcodeMRZ", e.BoundsLite = "BoundsLite", e))(M2 || {});
|
|
8247
|
-
const zO = "document-reader", qO = "camera-snapshot", WO = 2.5, YO = 1, _g = 25e6, KO = 536870912, XO = 5, QO = 15, JO = 5,
|
|
8247
|
+
const zO = "document-reader", qO = "camera-snapshot", WO = 2.5, YO = 1, _g = 25e6, KO = 536870912, XO = 5, QO = 15, JO = 5, e9 = "rgba(255, 255, 255, 0.9)", t9 = "rgba(30, 130, 76, 0.9)", r9 = "Capture", mg = 1500, Eg = 1500, n9 = 1500, i9 = "ProcMgr.worker.js", Cg = {
|
|
8248
8248
|
FILE_SIZE: "FILE_SIZE_ERROR",
|
|
8249
8249
|
WASM_ERROR: "WASM_DEFAULT_ERROR",
|
|
8250
8250
|
NOT_SUPPORTED: "NOT_SUPPORTED_ERROR",
|
|
@@ -8261,7 +8261,7 @@ const zO = "document-reader", qO = "camera-snapshot", WO = 2.5, YO = 1, _g = 25e
|
|
|
8261
8261
|
TIMEOUT: "TIMEOUT",
|
|
8262
8262
|
FAILED: "FAILED"
|
|
8263
8263
|
/* FAILED */
|
|
8264
|
-
},
|
|
8264
|
+
}, a9 = {
|
|
8265
8265
|
1: "Command not supported.",
|
|
8266
8266
|
2: "Bad input data.",
|
|
8267
8267
|
3: "Command already done.",
|
|
@@ -8305,7 +8305,7 @@ const zO = "document-reader", qO = "camera-snapshot", WO = 2.5, YO = 1, _g = 25e
|
|
|
8305
8305
|
"Mobile Safari": 11,
|
|
8306
8306
|
"Samsung Browser": 7
|
|
8307
8307
|
}
|
|
8308
|
-
},
|
|
8308
|
+
}, o9 = {
|
|
8309
8309
|
processParam: {
|
|
8310
8310
|
returnUncroppedImage: !0,
|
|
8311
8311
|
multipageProcessing: !1,
|
|
@@ -8326,23 +8326,23 @@ const zO = "document-reader", qO = "camera-snapshot", WO = 2.5, YO = 1, _g = 25e
|
|
|
8326
8326
|
}
|
|
8327
8327
|
}
|
|
8328
8328
|
}
|
|
8329
|
-
},
|
|
8329
|
+
}, s9 = {
|
|
8330
8330
|
processParam: {
|
|
8331
8331
|
returnUncroppedImage: !0
|
|
8332
8332
|
}
|
|
8333
|
-
},
|
|
8333
|
+
}, l9 = {
|
|
8334
8334
|
processParam: {
|
|
8335
8335
|
returnUncroppedImage: !0,
|
|
8336
8336
|
timeoutFromFirstDetect: 0,
|
|
8337
8337
|
timeoutFromFirstDocType: 0
|
|
8338
8338
|
}
|
|
8339
|
-
},
|
|
8339
|
+
}, c9 = {
|
|
8340
8340
|
processParam: {
|
|
8341
8341
|
returnUncroppedImage: !0
|
|
8342
8342
|
}
|
|
8343
|
-
},
|
|
8343
|
+
}, u9 = ["image/jpeg", "image/jpg", "image/png", "image/gif", "image/bmp"];
|
|
8344
8344
|
var ba = /* @__PURE__ */ ((e) => (e.UINT = "UINT", e.BASE64 = "BASE64", e.UINT_AND_BASE64 = "UINT_AND_BASE64", e))(ba || {}), Li = /* @__PURE__ */ ((e) => (e[e.EMPTY = -1] = "EMPTY", e[e.ERROR = 0] = "ERROR", e[e.OK = 1] = "OK", e[e.TIMEOUT = 2] = "TIMEOUT", e))(Li || {}), Ft = /* @__PURE__ */ ((e) => (e.PREPARING = "StreamStatus.PREPARING", e.REQUESTING = "StreamStatus.REQUESTING", e.READY = "StreamStatus.READY", e.PLAY = "StreamStatus.PLAY", e.UNKNOWN_ERROR = "StreamStatus.UNKNOWN_ERROR", e.NOT_SUPPORTED = "StreamStatus.NOT_SUPPORTED", e.HTTP_NOT_SUPPORTED = "StreamStatus.HTTP_NOT_SUPPORTED", e.INSECURE_PAGE_CONTEXT = "StreamStatus.INSECURE_PAGE_CONTEXT", e.PERMISSION_DENIED = "StreamStatus.PERMISSION_DENIED", e.NO_CAMERA = "StreamStatus.NO_CAMERA", e.INCORRECT_CAMERA_ID = "StreamStatus.INCORRECT_CAMERA_ID", e))(Ft || {}), fn = /* @__PURE__ */ ((e) => (e.user = "user", e.environment = "environment", e))(fn || {}), x2 = /* @__PURE__ */ ((e) => (e.contain = "contain", e.cover = "cover", e))(x2 || {}), Sg = /* @__PURE__ */ ((e) => (e[e.HAVE_NOTHING = 0] = "HAVE_NOTHING", e[e.HAVE_METADATA = 1] = "HAVE_METADATA", e[e.HAVE_CURRENT_DATA = 2] = "HAVE_CURRENT_DATA", e[e.HAVE_FUTURE_DATA = 3] = "HAVE_FUTURE_DATA", e[e.HAVE_ENOUGH_DATA = 4] = "HAVE_ENOUGH_DATA", e))(Sg || {}), un = /* @__PURE__ */ ((e) => (e.stdout = "stdout", e.stderr = "stderr", e.custom = "custom", e.gl = "gl", e.init = "worker-init", e))(un || {}), fp = /* @__PURE__ */ ((e) => (e.Rtl = "rtl", e.Ltr = "ltr", e))(fp || {}), dp = /* @__PURE__ */ ((e) => (e.mirror = "mirror", e.noMirror = "noMirror", e))(dp || {});
|
|
8345
|
-
const vg = "NotAllowedError",
|
|
8345
|
+
const vg = "NotAllowedError", f9 = "en", d9 = ["ar", "he"], p9 = 1, Dg = 500, h9 = 1500, PI = 1e4, ui = {
|
|
8346
8346
|
VGA: {
|
|
8347
8347
|
width: 640,
|
|
8348
8348
|
height: 480
|
|
@@ -8359,7 +8359,7 @@ const vg = "NotAllowedError", fy = "en", dy = ["ar", "he"], py = 1, Dg = 500, hy
|
|
|
8359
8359
|
width: 720,
|
|
8360
8360
|
height: 720
|
|
8361
8361
|
}
|
|
8362
|
-
},
|
|
8362
|
+
}, _9 = ["rear", "back", "rück", "arrière", "trasera", "trás", "traseira", "posteriore", "posterior", "后面", "後面", "背面", "后置", "後置", "背置", "задней", "الخلفية", "خلفية", "후", "arka", "achterzijde", "หลัง", "baksidan", "bagside", "sau", "bak", "tylny", "takakamera", "belakang", "אחורית", "πίσω", "spate", "hátsó", "zadní", "darrere", "zadná", "задня", "задна", "birou", "артқы", "stražnja", "belakang", "बैक"], gg = {
|
|
8363
8363
|
"StreamStatus.UNKNOWN_ERROR": "CAMERA_UNKNOWN_ERROR",
|
|
8364
8364
|
"StreamStatus.PERMISSION_DENIED": "CAMERA_PERMISSION_DENIED",
|
|
8365
8365
|
"StreamStatus.NO_CAMERA": "NO_CAMERA",
|
|
@@ -8370,7 +8370,7 @@ const vg = "NotAllowedError", fy = "en", dy = ["ar", "he"], py = 1, Dg = 500, hy
|
|
|
8370
8370
|
/* INSECURE_PAGE_CONTEXT */
|
|
8371
8371
|
}, Rg = "rgl-uid";
|
|
8372
8372
|
var bI = {}, q1, wI;
|
|
8373
|
-
function
|
|
8373
|
+
function m9() {
|
|
8374
8374
|
if (wI) return q1;
|
|
8375
8375
|
wI = 1;
|
|
8376
8376
|
var e = jt(), r = eh(), t = TypeError, a = Object.getOwnPropertyDescriptor, o = e && !function() {
|
|
@@ -8390,7 +8390,7 @@ function my() {
|
|
|
8390
8390
|
}, q1;
|
|
8391
8391
|
}
|
|
8392
8392
|
var W1, HI;
|
|
8393
|
-
function
|
|
8393
|
+
function E9() {
|
|
8394
8394
|
if (HI) return W1;
|
|
8395
8395
|
HI = 1;
|
|
8396
8396
|
var e = TypeError, r = 9007199254740991;
|
|
@@ -8400,10 +8400,10 @@ function Ey() {
|
|
|
8400
8400
|
}, W1;
|
|
8401
8401
|
}
|
|
8402
8402
|
var VI;
|
|
8403
|
-
function
|
|
8403
|
+
function C9() {
|
|
8404
8404
|
if (VI) return bI;
|
|
8405
8405
|
VI = 1;
|
|
8406
|
-
var e = zt(), r = Tn(), t = Jr(), a =
|
|
8406
|
+
var e = zt(), r = Tn(), t = Jr(), a = m9(), o = E9(), l = vt(), c = l(function() {
|
|
8407
8407
|
return [].push.call({ length: 4294967296 }, 1) !== 4294967297;
|
|
8408
8408
|
}), u = function() {
|
|
8409
8409
|
try {
|
|
@@ -8423,7 +8423,7 @@ function Cy() {
|
|
|
8423
8423
|
}
|
|
8424
8424
|
}), bI;
|
|
8425
8425
|
}
|
|
8426
|
-
|
|
8426
|
+
C9();
|
|
8427
8427
|
var kI = {}, Y1, FI;
|
|
8428
8428
|
function Ag() {
|
|
8429
8429
|
if (FI) return Y1;
|
|
@@ -8434,7 +8434,7 @@ function Ag() {
|
|
|
8434
8434
|
}, Y1;
|
|
8435
8435
|
}
|
|
8436
8436
|
var UI;
|
|
8437
|
-
function
|
|
8437
|
+
function I9() {
|
|
8438
8438
|
if (UI) return kI;
|
|
8439
8439
|
UI = 1;
|
|
8440
8440
|
var e = zt(), r = Et(), t = Ks(), a = ar(), o = Xt(), l = Ws(), c = bi(), u = Ag(), p = vt(), f = Hr(), h = cr(), C = ec().IteratorPrototype, E = jt(), m = Pi(), S = "constructor", v = "Iterator", D = h("toStringTag"), T = TypeError, R = r[v], g = m || !o(R) || R.prototype !== C || !p(function() {
|
|
@@ -8457,7 +8457,7 @@ function Iy() {
|
|
|
8457
8457
|
Iterator: O
|
|
8458
8458
|
}), kI;
|
|
8459
8459
|
}
|
|
8460
|
-
|
|
8460
|
+
I9();
|
|
8461
8461
|
var xI = {}, K1, BI;
|
|
8462
8462
|
function Ba() {
|
|
8463
8463
|
return BI || (BI = 1, K1 = function(e) {
|
|
@@ -8491,7 +8491,7 @@ function Zn() {
|
|
|
8491
8491
|
}, X1;
|
|
8492
8492
|
}
|
|
8493
8493
|
var Q1, GI;
|
|
8494
|
-
function
|
|
8494
|
+
function S9() {
|
|
8495
8495
|
if (GI) return Q1;
|
|
8496
8496
|
GI = 1;
|
|
8497
8497
|
var e = Zn();
|
|
@@ -8511,7 +8511,7 @@ var J1, ZI;
|
|
|
8511
8511
|
function Tg() {
|
|
8512
8512
|
if (ZI) return J1;
|
|
8513
8513
|
ZI = 1;
|
|
8514
|
-
var e = Mt(), r = Fa(), t = On(), a = rh(), o = cr(), l = di(), c = zs(), u = ec().IteratorPrototype, p = tc(), f = Zn(), h =
|
|
8514
|
+
var e = Mt(), r = Fa(), t = On(), a = rh(), o = cr(), l = di(), c = zs(), u = ec().IteratorPrototype, p = tc(), f = Zn(), h = S9(), C = o("toStringTag"), E = "IteratorHelper", m = "WrapForValidIterator", S = "normal", v = "throw", D = l.set, T = function(O) {
|
|
8515
8515
|
var y = l.getterFor(O ? m : E);
|
|
8516
8516
|
return a(r(u), {
|
|
8517
8517
|
next: function() {
|
|
@@ -8599,7 +8599,7 @@ function $a() {
|
|
|
8599
8599
|
}, rf;
|
|
8600
8600
|
}
|
|
8601
8601
|
var WI;
|
|
8602
|
-
function
|
|
8602
|
+
function v9() {
|
|
8603
8603
|
if (WI) return xI;
|
|
8604
8604
|
WI = 1;
|
|
8605
8605
|
var e = zt(), r = Mt(), t = Qr(), a = ar(), o = Ba(), l = Tg(), c = fh(), u = Pi(), p = Zn(), f = Og(), h = $a(), C = !u && !f("filter", function() {
|
|
@@ -8623,7 +8623,7 @@ function vy() {
|
|
|
8623
8623
|
}
|
|
8624
8624
|
}), xI;
|
|
8625
8625
|
}
|
|
8626
|
-
|
|
8626
|
+
v9();
|
|
8627
8627
|
var YI = {}, nf, KI;
|
|
8628
8628
|
function Qs() {
|
|
8629
8629
|
if (KI) return nf;
|
|
@@ -8662,7 +8662,7 @@ function Qs() {
|
|
|
8662
8662
|
}, nf;
|
|
8663
8663
|
}
|
|
8664
8664
|
var XI;
|
|
8665
|
-
function
|
|
8665
|
+
function D9() {
|
|
8666
8666
|
if (XI) return YI;
|
|
8667
8667
|
XI = 1;
|
|
8668
8668
|
var e = zt(), r = Mt(), t = Qs(), a = Qr(), o = ar(), l = Ba(), c = Zn(), u = $a(), p = u("forEach", TypeError);
|
|
@@ -8682,9 +8682,9 @@ function Dy() {
|
|
|
8682
8682
|
}
|
|
8683
8683
|
}), YI;
|
|
8684
8684
|
}
|
|
8685
|
-
|
|
8685
|
+
D9();
|
|
8686
8686
|
var QI = {}, af, JI;
|
|
8687
|
-
function
|
|
8687
|
+
function g9() {
|
|
8688
8688
|
if (JI) return af;
|
|
8689
8689
|
JI = 1;
|
|
8690
8690
|
var e = Ho(), r = TypeError;
|
|
@@ -8693,7 +8693,7 @@ function gy() {
|
|
|
8693
8693
|
}, af;
|
|
8694
8694
|
}
|
|
8695
8695
|
var of, eS;
|
|
8696
|
-
function
|
|
8696
|
+
function R9() {
|
|
8697
8697
|
if (eS) return of;
|
|
8698
8698
|
eS = 1;
|
|
8699
8699
|
var e = vt();
|
|
@@ -8707,10 +8707,10 @@ function Ry() {
|
|
|
8707
8707
|
}, of;
|
|
8708
8708
|
}
|
|
8709
8709
|
var tS;
|
|
8710
|
-
function
|
|
8710
|
+
function A9() {
|
|
8711
8711
|
if (tS) return QI;
|
|
8712
8712
|
tS = 1;
|
|
8713
|
-
var e = zt(), r = St(), t = Qr(), a = Tn(), o = Jr(), l =
|
|
8713
|
+
var e = zt(), r = St(), t = Qr(), a = Tn(), o = Jr(), l = g9(), c = yn(), u = vt(), p = ch(), f = R9(), h = fg(), C = dg(), E = K2(), m = pg(), S = [], v = r(S.sort), D = r(S.push), T = u(function() {
|
|
8714
8714
|
S.sort(void 0);
|
|
8715
8715
|
}), R = u(function() {
|
|
8716
8716
|
S.sort(null);
|
|
@@ -8763,9 +8763,9 @@ function Ay() {
|
|
|
8763
8763
|
}
|
|
8764
8764
|
}), QI;
|
|
8765
8765
|
}
|
|
8766
|
-
|
|
8766
|
+
A9();
|
|
8767
8767
|
var rS = {}, nS;
|
|
8768
|
-
function
|
|
8768
|
+
function T9() {
|
|
8769
8769
|
if (nS) return rS;
|
|
8770
8770
|
nS = 1;
|
|
8771
8771
|
var e = zt(), r = Mt(), t = Qs(), a = Qr(), o = ar(), l = Ba(), c = Zn(), u = $a(), p = u("every", TypeError);
|
|
@@ -8785,9 +8785,9 @@ function Ty() {
|
|
|
8785
8785
|
}
|
|
8786
8786
|
}), rS;
|
|
8787
8787
|
}
|
|
8788
|
-
|
|
8788
|
+
T9();
|
|
8789
8789
|
var iS = {}, aS;
|
|
8790
|
-
function
|
|
8790
|
+
function O9() {
|
|
8791
8791
|
if (aS) return iS;
|
|
8792
8792
|
aS = 1;
|
|
8793
8793
|
var e = zt(), r = Mt(), t = Qr(), a = ar(), o = Ba(), l = Tg(), c = fh(), u = Zn(), p = Og(), f = $a(), h = Pi(), C = !h && !p("map", function() {
|
|
@@ -8809,9 +8809,9 @@ function Oy() {
|
|
|
8809
8809
|
}
|
|
8810
8810
|
}), iS;
|
|
8811
8811
|
}
|
|
8812
|
-
|
|
8812
|
+
O9();
|
|
8813
8813
|
var oS = {}, sS;
|
|
8814
|
-
function
|
|
8814
|
+
function y9() {
|
|
8815
8815
|
if (sS) return oS;
|
|
8816
8816
|
sS = 1;
|
|
8817
8817
|
var e = zt(), r = Mt(), t = Qs(), a = Qr(), o = ar(), l = Ba(), c = Zn(), u = $a(), p = u("some", TypeError);
|
|
@@ -8831,7 +8831,7 @@ function yy() {
|
|
|
8831
8831
|
}
|
|
8832
8832
|
}), oS;
|
|
8833
8833
|
}
|
|
8834
|
-
|
|
8834
|
+
y9();
|
|
8835
8835
|
var lS = {}, sf, cS;
|
|
8836
8836
|
function yg() {
|
|
8837
8837
|
if (cS) return sf;
|
|
@@ -8843,7 +8843,7 @@ function yg() {
|
|
|
8843
8843
|
}, sf;
|
|
8844
8844
|
}
|
|
8845
8845
|
var lf, uS;
|
|
8846
|
-
function
|
|
8846
|
+
function N9() {
|
|
8847
8847
|
if (uS) return lf;
|
|
8848
8848
|
uS = 1;
|
|
8849
8849
|
var e = vt(), r = Et(), t = r.RegExp, a = e(function() {
|
|
@@ -8862,7 +8862,7 @@ function Ny() {
|
|
|
8862
8862
|
}, lf;
|
|
8863
8863
|
}
|
|
8864
8864
|
var cf, fS;
|
|
8865
|
-
function
|
|
8865
|
+
function L9() {
|
|
8866
8866
|
if (fS) return cf;
|
|
8867
8867
|
fS = 1;
|
|
8868
8868
|
var e = vt(), r = Et(), t = r.RegExp;
|
|
@@ -8873,7 +8873,7 @@ function Ly() {
|
|
|
8873
8873
|
}), cf;
|
|
8874
8874
|
}
|
|
8875
8875
|
var uf, dS;
|
|
8876
|
-
function
|
|
8876
|
+
function M9() {
|
|
8877
8877
|
if (dS) return uf;
|
|
8878
8878
|
dS = 1;
|
|
8879
8879
|
var e = vt(), r = Et(), t = r.RegExp;
|
|
@@ -8886,7 +8886,7 @@ var ff, pS;
|
|
|
8886
8886
|
function dh() {
|
|
8887
8887
|
if (pS) return ff;
|
|
8888
8888
|
pS = 1;
|
|
8889
|
-
var e = Mt(), r = St(), t = yn(), a = yg(), o =
|
|
8889
|
+
var e = Mt(), r = St(), t = yn(), a = yg(), o = N9(), l = Gp(), c = Fa(), u = di().get, p = L9(), f = M9(), h = l("native-string-replace", String.prototype.replace), C = RegExp.prototype.exec, E = C, m = r("".charAt), S = r("".indexOf), v = r("".replace), D = r("".slice), T = function() {
|
|
8890
8890
|
var y = /a/, P = /b*/g;
|
|
8891
8891
|
return e(C, y, "a"), e(C, P, "a"), y.lastIndex !== 0 || P.lastIndex !== 0;
|
|
8892
8892
|
}(), R = o.BROKEN_CARET, g = /()??/.exec("")[1] !== void 0, O = T || g || R || p || f;
|
|
@@ -8916,7 +8916,7 @@ function Ng() {
|
|
|
8916
8916
|
}
|
|
8917
8917
|
Ng();
|
|
8918
8918
|
var _S = {}, df, mS;
|
|
8919
|
-
function
|
|
8919
|
+
function P9() {
|
|
8920
8920
|
if (mS) return df;
|
|
8921
8921
|
mS = 1, Ng();
|
|
8922
8922
|
var e = Mt(), r = pi(), t = dh(), a = vt(), o = cr(), l = On(), c = o("species"), u = RegExp.prototype;
|
|
@@ -8964,7 +8964,7 @@ function ph() {
|
|
|
8964
8964
|
}, pf;
|
|
8965
8965
|
}
|
|
8966
8966
|
var hf, CS;
|
|
8967
|
-
function
|
|
8967
|
+
function b9() {
|
|
8968
8968
|
if (CS) return hf;
|
|
8969
8969
|
CS = 1;
|
|
8970
8970
|
var e = ph().charAt;
|
|
@@ -8973,7 +8973,7 @@ function by() {
|
|
|
8973
8973
|
}, hf;
|
|
8974
8974
|
}
|
|
8975
8975
|
var _f, IS;
|
|
8976
|
-
function
|
|
8976
|
+
function w9() {
|
|
8977
8977
|
if (IS) return _f;
|
|
8978
8978
|
IS = 1;
|
|
8979
8979
|
var e = St(), r = Tn(), t = Math.floor, a = e("".charAt), o = e("".replace), l = e("".slice), c = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, u = /\$([$&'`]|\d{1,2})/g;
|
|
@@ -9007,7 +9007,7 @@ function wy() {
|
|
|
9007
9007
|
}, _f;
|
|
9008
9008
|
}
|
|
9009
9009
|
var mf, SS;
|
|
9010
|
-
function
|
|
9010
|
+
function H9() {
|
|
9011
9011
|
if (SS) return mf;
|
|
9012
9012
|
SS = 1;
|
|
9013
9013
|
var e = Et(), r = vt(), t = e.RegExp, a = !r(function() {
|
|
@@ -9036,10 +9036,10 @@ function Hy() {
|
|
|
9036
9036
|
return mf = { correct: a }, mf;
|
|
9037
9037
|
}
|
|
9038
9038
|
var Ef, vS;
|
|
9039
|
-
function
|
|
9039
|
+
function V9() {
|
|
9040
9040
|
if (vS) return Ef;
|
|
9041
9041
|
vS = 1;
|
|
9042
|
-
var e = Mt(), r = Hr(), t = ka(), a =
|
|
9042
|
+
var e = Mt(), r = Hr(), t = ka(), a = H9(), o = yg(), l = RegExp.prototype;
|
|
9043
9043
|
return Ef = a.correct ? function(c) {
|
|
9044
9044
|
return c.flags;
|
|
9045
9045
|
} : function(c) {
|
|
@@ -9047,7 +9047,7 @@ function Vy() {
|
|
|
9047
9047
|
}, Ef;
|
|
9048
9048
|
}
|
|
9049
9049
|
var Cf, DS;
|
|
9050
|
-
function
|
|
9050
|
+
function k9() {
|
|
9051
9051
|
if (DS) return Cf;
|
|
9052
9052
|
DS = 1;
|
|
9053
9053
|
var e = Mt(), r = ar(), t = Xt(), a = na(), o = dh(), l = TypeError;
|
|
@@ -9062,10 +9062,10 @@ function ky() {
|
|
|
9062
9062
|
}, Cf;
|
|
9063
9063
|
}
|
|
9064
9064
|
var gS;
|
|
9065
|
-
function
|
|
9065
|
+
function F9() {
|
|
9066
9066
|
if (gS) return _S;
|
|
9067
9067
|
gS = 1;
|
|
9068
|
-
var e = rc(), r = Mt(), t = St(), a =
|
|
9068
|
+
var e = rc(), r = Mt(), t = St(), a = P9(), o = vt(), l = ar(), c = Xt(), u = wr(), p = fi(), f = Vo(), h = yn(), C = wo(), E = b9(), m = zs(), S = w9(), v = V9(), D = k9(), T = cr(), R = T("replace"), g = Math.max, O = Math.min, y = t([].concat), P = t([].push), M = t("".indexOf), k = t("".slice), w = function(W) {
|
|
9069
9069
|
return W === void 0 ? W : String(W);
|
|
9070
9070
|
}, V = function() {
|
|
9071
9071
|
return "a".replace(/./, "$0") === "$0";
|
|
@@ -9119,9 +9119,9 @@ function Fy() {
|
|
|
9119
9119
|
];
|
|
9120
9120
|
}, !z || !V || U), _S;
|
|
9121
9121
|
}
|
|
9122
|
-
|
|
9122
|
+
F9();
|
|
9123
9123
|
var RS = {}, AS = {}, TS = {}, OS;
|
|
9124
|
-
function
|
|
9124
|
+
function U9() {
|
|
9125
9125
|
if (OS) return TS;
|
|
9126
9126
|
OS = 1;
|
|
9127
9127
|
var e = ph().charAt, r = yn(), t = di(), a = KD(), o = tc(), l = "String Iterator", c = t.set, u = t.getterFor(l);
|
|
@@ -9149,7 +9149,7 @@ function Lg() {
|
|
|
9149
9149
|
}), If;
|
|
9150
9150
|
}
|
|
9151
9151
|
var Sf, NS;
|
|
9152
|
-
function
|
|
9152
|
+
function x9() {
|
|
9153
9153
|
if (NS) return Sf;
|
|
9154
9154
|
NS = 1;
|
|
9155
9155
|
var e = jt(), r = St(), t = Mt(), a = vt(), o = GD(), l = WD(), c = ZD(), u = Tn(), p = Y2(), f = Object.assign, h = Object.defineProperty, C = r([].concat);
|
|
@@ -9175,7 +9175,7 @@ function xy() {
|
|
|
9175
9175
|
} : f, Sf;
|
|
9176
9176
|
}
|
|
9177
9177
|
var vf, LS;
|
|
9178
|
-
function
|
|
9178
|
+
function B9() {
|
|
9179
9179
|
if (LS) return vf;
|
|
9180
9180
|
LS = 1;
|
|
9181
9181
|
var e = xa(), r = Mt(), t = Tn(), a = fh(), o = sh(), l = oh(), c = Jr(), u = Ag(), p = ic(), f = Xs(), h = Array;
|
|
@@ -9193,7 +9193,7 @@ function By() {
|
|
|
9193
9193
|
}, vf;
|
|
9194
9194
|
}
|
|
9195
9195
|
var Df, MS;
|
|
9196
|
-
function $
|
|
9196
|
+
function $9() {
|
|
9197
9197
|
if (MS) return Df;
|
|
9198
9198
|
MS = 1;
|
|
9199
9199
|
var e = St(), r = 2147483647, t = 36, a = 1, o = 26, l = 38, c = 700, u = 72, p = 128, f = "-", h = /[^\0-\u007E]/, C = /[.\u3002\uFF0E\uFF61]/g, E = "Overflow: input needs wider integers to process", m = t - a, S = RangeError, v = e(C.exec), D = Math.floor, T = String.fromCharCode, R = e("".charCodeAt), g = e([].join), O = e([].push), y = e("".replace), P = e("".split), M = e("".toLowerCase), k = function(z) {
|
|
@@ -9262,7 +9262,7 @@ function ac() {
|
|
|
9262
9262
|
}, gf;
|
|
9263
9263
|
}
|
|
9264
9264
|
var bS = {}, wS;
|
|
9265
|
-
function
|
|
9265
|
+
function G9() {
|
|
9266
9266
|
if (wS) return bS;
|
|
9267
9267
|
wS = 1;
|
|
9268
9268
|
var e = zt(), r = St(), t = Q2(), a = RangeError, o = String.fromCharCode, l = String.fromCodePoint, c = r([].join), u = !!l && l.length !== 1;
|
|
@@ -9278,7 +9278,7 @@ function Gy() {
|
|
|
9278
9278
|
}), bS;
|
|
9279
9279
|
}
|
|
9280
9280
|
var Rf, HS;
|
|
9281
|
-
function
|
|
9281
|
+
function Z9() {
|
|
9282
9282
|
if (HS) return Rf;
|
|
9283
9283
|
HS = 1;
|
|
9284
9284
|
var e = Et(), r = jt(), t = Object.getOwnPropertyDescriptor;
|
|
@@ -9291,8 +9291,8 @@ function Zy() {
|
|
|
9291
9291
|
var Af, VS;
|
|
9292
9292
|
function Mg() {
|
|
9293
9293
|
if (VS) return Af;
|
|
9294
|
-
VS = 1, XD(),
|
|
9295
|
-
var e = zt(), r = Et(), t =
|
|
9294
|
+
VS = 1, XD(), G9();
|
|
9295
|
+
var e = zt(), r = Et(), t = Z9(), a = ia(), o = Mt(), l = St(), c = jt(), u = Lg(), p = pi(), f = bi(), h = rh(), C = ko(), E = YD(), m = di(), S = Ks(), v = Xt(), D = Hr(), T = xa(), R = aa(), g = ar(), O = wr(), y = yn(), P = Fa(), M = Ua(), k = ic(), w = Xs(), V = tc(), U = ac(), z = cr(), W = ch(), X = z("iterator"), te = "URLSearchParams", ce = te + "Iterator", se = m.set, B = m.getterFor(te), ee = m.getterFor(ce), Q = t("fetch"), b = t("Request"), j = t("Headers"), le = b && b.prototype, pe = j && j.prototype, oe = r.TypeError, ge = r.encodeURIComponent, Ae = String.fromCharCode, Ce = a("String", "fromCodePoint"), Le = parseInt, Ze = l("".charAt), at = l([].join), ot = l([].push), ct = l("".replace), lt = l([].shift), Ct = l([].splice), yt = l("".split), It = l("".slice), st = l(/./.exec), ze = /\+/g, ht = "�", me = /^[0-9a-f]+$/i, ye = function(Se, Me) {
|
|
9296
9296
|
var Te = It(Se, Me, Me + 2);
|
|
9297
9297
|
return st(me, Te) ? Le(Te, 16) : NaN;
|
|
9298
9298
|
}, xe = function(Se) {
|
|
@@ -9551,10 +9551,10 @@ function Mg() {
|
|
|
9551
9551
|
}, Af;
|
|
9552
9552
|
}
|
|
9553
9553
|
var kS;
|
|
9554
|
-
function
|
|
9554
|
+
function j9() {
|
|
9555
9555
|
if (kS) return AS;
|
|
9556
|
-
kS = 1,
|
|
9557
|
-
var e = zt(), r = jt(), t = Lg(), a = Et(), o = xa(), l = St(), c = pi(), u = bi(), p = Ks(), f = Hr(), h =
|
|
9556
|
+
kS = 1, U9();
|
|
9557
|
+
var e = zt(), r = jt(), t = Lg(), a = Et(), o = xa(), l = St(), c = pi(), u = bi(), p = Ks(), f = Hr(), h = x9(), C = B9(), E = nc(), m = ph().codeAt, S = $9(), v = yn(), D = ko(), T = ac(), R = Mg(), g = di(), O = g.set, y = g.getterFor("URL"), P = R.URLSearchParams, M = R.getState, k = a.URL, w = a.TypeError, V = a.parseInt, U = Math.floor, z = Math.pow, W = l("".charAt), X = l(/./.exec), te = l([].join), ce = l(1.1.toString), se = l([].pop), B = l([].push), ee = l("".replace), Q = l([].shift), b = l("".split), j = l("".slice), le = l("".toLowerCase), pe = l([].unshift), oe = "Invalid authority", ge = "Invalid scheme", Ae = "Invalid host", Ce = "Invalid port", Le = /[a-z]/i, Ze = /[\d+-.a-z]/i, at = /\d/, ot = /^0x/i, ct = /^[0-7]+$/, lt = /^\d+$/, Ct = /^[\da-f]+$/i, yt = /[\0\t\n\r #%/:<>?@[\\\]^|]/, It = /[\0\t\n\r #/:<>?@[\\\]^|]/, st = /^[\u0000-\u0020]+/, ze = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/, ht = /[\t\n\r]/g, me, ye = function(K) {
|
|
9558
9558
|
var Ee = b(K, "."), re, $, ue, Ke, Ve, Ht, tt;
|
|
9559
9559
|
if (Ee.length && Ee[Ee.length - 1] === "" && Ee.length--, re = Ee.length, re > 4) return K;
|
|
9560
9560
|
for ($ = [], ue = 0; ue < re; ue++) {
|
|
@@ -10082,12 +10082,12 @@ function jy() {
|
|
|
10082
10082
|
}), AS;
|
|
10083
10083
|
}
|
|
10084
10084
|
var FS;
|
|
10085
|
-
function
|
|
10086
|
-
return FS || (FS = 1,
|
|
10085
|
+
function z9() {
|
|
10086
|
+
return FS || (FS = 1, j9()), RS;
|
|
10087
10087
|
}
|
|
10088
|
-
|
|
10088
|
+
z9();
|
|
10089
10089
|
var US = {}, xS;
|
|
10090
|
-
function
|
|
10090
|
+
function q9() {
|
|
10091
10091
|
if (xS) return US;
|
|
10092
10092
|
xS = 1;
|
|
10093
10093
|
var e = zt(), r = Mt();
|
|
@@ -10097,14 +10097,14 @@ function qy() {
|
|
|
10097
10097
|
}
|
|
10098
10098
|
}), US;
|
|
10099
10099
|
}
|
|
10100
|
-
|
|
10100
|
+
q9();
|
|
10101
10101
|
var BS = {}, $S;
|
|
10102
|
-
function
|
|
10102
|
+
function W9() {
|
|
10103
10103
|
return $S || ($S = 1, Mg()), BS;
|
|
10104
10104
|
}
|
|
10105
|
-
|
|
10105
|
+
W9();
|
|
10106
10106
|
var GS = {}, ZS;
|
|
10107
|
-
function
|
|
10107
|
+
function Y9() {
|
|
10108
10108
|
if (ZS) return GS;
|
|
10109
10109
|
ZS = 1;
|
|
10110
10110
|
var e = pi(), r = St(), t = yn(), a = ac(), o = URLSearchParams, l = o.prototype, c = r(l.append), u = r(l.delete), p = r(l.forEach), f = r([].push), h = new o("a=1&a=2&b=3");
|
|
@@ -10121,9 +10121,9 @@ function Yy() {
|
|
|
10121
10121
|
y = S[R++], y.key === v && y.value === D || c(this, y.key, y.value);
|
|
10122
10122
|
}, { enumerable: !0, unsafe: !0 }), GS;
|
|
10123
10123
|
}
|
|
10124
|
-
|
|
10124
|
+
Y9();
|
|
10125
10125
|
var jS = {}, zS;
|
|
10126
|
-
function
|
|
10126
|
+
function K9() {
|
|
10127
10127
|
if (zS) return jS;
|
|
10128
10128
|
zS = 1;
|
|
10129
10129
|
var e = pi(), r = St(), t = yn(), a = ac(), o = URLSearchParams, l = o.prototype, c = r(l.getAll), u = r(l.has), p = new o("a=1");
|
|
@@ -10137,9 +10137,9 @@ function Ky() {
|
|
|
10137
10137
|
return !1;
|
|
10138
10138
|
}, { enumerable: !0, unsafe: !0 }), jS;
|
|
10139
10139
|
}
|
|
10140
|
-
|
|
10140
|
+
K9();
|
|
10141
10141
|
var qS = {}, WS;
|
|
10142
|
-
function
|
|
10142
|
+
function X9() {
|
|
10143
10143
|
if (WS) return qS;
|
|
10144
10144
|
WS = 1;
|
|
10145
10145
|
var e = jt(), r = St(), t = bi(), a = URLSearchParams.prototype, o = r(a.forEach);
|
|
@@ -10154,15 +10154,15 @@ function Xy() {
|
|
|
10154
10154
|
enumerable: !0
|
|
10155
10155
|
}), qS;
|
|
10156
10156
|
}
|
|
10157
|
-
|
|
10157
|
+
X9();
|
|
10158
10158
|
function m2(e, r, t) {
|
|
10159
|
-
return (r =
|
|
10159
|
+
return (r = Q9(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
10160
10160
|
}
|
|
10161
|
-
function
|
|
10162
|
-
var r =
|
|
10161
|
+
function Q9(e) {
|
|
10162
|
+
var r = J9(e, "string");
|
|
10163
10163
|
return typeof r == "symbol" ? r : r + "";
|
|
10164
10164
|
}
|
|
10165
|
-
function
|
|
10165
|
+
function J9(e, r) {
|
|
10166
10166
|
if (typeof e != "object" || !e) return e;
|
|
10167
10167
|
var t = e[Symbol.toPrimitive];
|
|
10168
10168
|
if (t !== void 0) {
|
|
@@ -10177,8 +10177,8 @@ class YS {
|
|
|
10177
10177
|
m2(this, "deviceId", void 0), m2(this, "facing", void 0), m2(this, "groupId", void 0), m2(this, "label", void 0), this.deviceId = r.deviceId, this.facing = t, this.groupId = r.groupId, this.label = r.label;
|
|
10178
10178
|
}
|
|
10179
10179
|
}
|
|
10180
|
-
var we = {}, Ns = { exports: {} },
|
|
10181
|
-
function
|
|
10180
|
+
var we = {}, Ns = { exports: {} }, ey = Ns.exports, KS;
|
|
10181
|
+
function ty() {
|
|
10182
10182
|
return KS || (KS = 1, function(e, r) {
|
|
10183
10183
|
(function(t, a) {
|
|
10184
10184
|
var o = "1.0.40", l = "", c = "?", u = "function", p = "undefined", f = "object", h = "string", C = "major", E = "model", m = "name", S = "type", v = "vendor", D = "version", T = "architecture", R = "console", g = "mobile", O = "tablet", y = "smarttv", P = "wearable", M = "embedded", k = 500, w = "Amazon", V = "Apple", U = "ASUS", z = "BlackBerry", W = "Browser", X = "Chrome", te = "Edge", ce = "Firefox", se = "Google", B = "Huawei", ee = "LG", Q = "Microsoft", b = "Motorola", j = "Opera", le = "Samsung", pe = "Sharp", oe = "Sony", ge = "Xiaomi", Ae = "Zebra", Ce = "Facebook", Le = "Chromium OS", Ze = "Mac OS", at = " Browser", ot = function(Re, He) {
|
|
@@ -10257,17 +10257,17 @@ function t9() {
|
|
|
10257
10257
|
Lt.ua[Be] = He[Be];
|
|
10258
10258
|
};
|
|
10259
10259
|
}
|
|
10260
|
-
})(typeof window == "object" ? window :
|
|
10260
|
+
})(typeof window == "object" ? window : ey);
|
|
10261
10261
|
}(Ns, Ns.exports)), Ns.exports;
|
|
10262
10262
|
}
|
|
10263
10263
|
var XS;
|
|
10264
|
-
function
|
|
10264
|
+
function ry() {
|
|
10265
10265
|
if (XS) return we;
|
|
10266
10266
|
XS = 1, Object.defineProperty(we, "__esModule", { value: !0 });
|
|
10267
10267
|
function e(G) {
|
|
10268
10268
|
return G && typeof G == "object" && "default" in G ? G.default : G;
|
|
10269
10269
|
}
|
|
10270
|
-
var r = Ys(), t = e(r), a =
|
|
10270
|
+
var r = Ys(), t = e(r), a = ty(), o = new a(), l = o.getBrowser(), c = o.getCPU(), u = o.getDevice(), p = o.getEngine(), f = o.getOS(), h = o.getUA(), C = function(N) {
|
|
10271
10271
|
return o.setUA(N);
|
|
10272
10272
|
}, E = function(N) {
|
|
10273
10273
|
if (!N) {
|
|
@@ -10906,33 +10906,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10906
10906
|
}
|
|
10907
10907
|
return we.AndroidView = dl, we.BrowserTypes = Q, we.BrowserView = pl, we.ConsoleView = pa, we.CustomView = Oc, we.IEView = hl, we.IOSView = qo, we.MobileOnlyView = Kn, we.MobileView = Wa, we.OsTypes = b, we.SmartTVView = da, we.TabletView = Wn, we.WearableView = Xn, we.WinPhoneView = Yn, we.browserName = ca, we.browserVersion = Ur, we.deviceDetect = lt, we.deviceType = qa, we.engineName = Dc, we.engineVersion = gc, we.fullBrowserVersion = _i, we.getSelectorsByUserAgent = zo, we.getUA = ja, we.isAndroid = Ke, we.isBrowser = $, we.isChrome = tt, we.isChromium = la, we.isConsole = Mn, we.isDesktop = ue, we.isEdge = za, we.isEdgeChromium = fa, we.isElectron = Zo, we.isEmbedded = Tr, we.isFirefox = nr, we.isIE = Vt, we.isIOS = Ht, we.isIOS13 = Rc, we.isIPad13 = Ac, we.isIPhone13 = Go, we.isIPod13 = cl, we.isLegacyEdge = Tc, we.isMIUI = ul, we.isMacOs = Ot, we.isMobile = K, we.isMobileOnly = Ee, we.isMobileSafari = dn, we.isOpera = _e, we.isSafari = _r, we.isSamsungBrowser = fl, we.isSmartTV = qn, we.isTablet = re, we.isWearable = or, we.isWinPhone = Ve, we.isWindows = jo, we.isYandex = ua, we.mobileModel = vc, we.mobileVendor = tn, we.osName = Vi, we.osVersion = en, we.parseUserAgent = E, we.setUserAgent = pe, we.useDeviceData = ml, we.useDeviceSelectors = El, we.useMobileOrientation = ha, we.withOrientationChange = _l, we;
|
|
10908
10908
|
}
|
|
10909
|
-
var Kt =
|
|
10909
|
+
var Kt = ry();
|
|
10910
10910
|
const Rr = [];
|
|
10911
10911
|
for (let e = 0; e < 256; ++e)
|
|
10912
10912
|
Rr.push((e + 256).toString(16).slice(1));
|
|
10913
|
-
function
|
|
10913
|
+
function ny(e, r = 0) {
|
|
10914
10914
|
return (Rr[e[r + 0]] + Rr[e[r + 1]] + Rr[e[r + 2]] + Rr[e[r + 3]] + "-" + Rr[e[r + 4]] + Rr[e[r + 5]] + "-" + Rr[e[r + 6]] + Rr[e[r + 7]] + "-" + Rr[e[r + 8]] + Rr[e[r + 9]] + "-" + Rr[e[r + 10]] + Rr[e[r + 11]] + Rr[e[r + 12]] + Rr[e[r + 13]] + Rr[e[r + 14]] + Rr[e[r + 15]]).toLowerCase();
|
|
10915
10915
|
}
|
|
10916
10916
|
let Tf;
|
|
10917
|
-
const
|
|
10918
|
-
function
|
|
10917
|
+
const iy = new Uint8Array(16);
|
|
10918
|
+
function ay() {
|
|
10919
10919
|
if (!Tf) {
|
|
10920
10920
|
if (typeof crypto == "undefined" || !crypto.getRandomValues)
|
|
10921
10921
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
10922
10922
|
Tf = crypto.getRandomValues.bind(crypto);
|
|
10923
10923
|
}
|
|
10924
|
-
return Tf(
|
|
10924
|
+
return Tf(iy);
|
|
10925
10925
|
}
|
|
10926
|
-
const
|
|
10926
|
+
const oy = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), QS = { randomUUID: oy };
|
|
10927
10927
|
function pp(e, r, t) {
|
|
10928
10928
|
var o, l, c;
|
|
10929
10929
|
if (QS.randomUUID && !e)
|
|
10930
10930
|
return QS.randomUUID();
|
|
10931
10931
|
e = e || {};
|
|
10932
|
-
const a = (c = (l = e.random) != null ? l : (o = e.rng) == null ? void 0 : o.call(e)) != null ? c :
|
|
10932
|
+
const a = (c = (l = e.random) != null ? l : (o = e.rng) == null ? void 0 : o.call(e)) != null ? c : ay();
|
|
10933
10933
|
if (a.length < 16)
|
|
10934
10934
|
throw new Error("Random bytes length must be >= 16");
|
|
10935
|
-
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128,
|
|
10935
|
+
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, ny(a);
|
|
10936
10936
|
}
|
|
10937
10937
|
const Pg = (e) => {
|
|
10938
10938
|
switch (e) {
|
|
@@ -10984,7 +10984,7 @@ function Hg() {
|
|
|
10984
10984
|
};
|
|
10985
10985
|
});
|
|
10986
10986
|
}
|
|
10987
|
-
function
|
|
10987
|
+
function sy(e, r) {
|
|
10988
10988
|
const t = e.toLowerCase();
|
|
10989
10989
|
return r.some((a) => t.includes(a));
|
|
10990
10990
|
}
|
|
@@ -11003,7 +11003,7 @@ function Vg(e) {
|
|
|
11003
11003
|
t = (yield navigator.mediaDevices.enumerateDevices()).filter((l) => l.kind === "videoinput"), a.getTracks().forEach((l) => l.stop());
|
|
11004
11004
|
}
|
|
11005
11005
|
for (const a of t)
|
|
11006
|
-
|
|
11006
|
+
sy(a.label, _9) ? r.backCameras.push(new YS(a, fn.environment)) : r.frontCameras.push(new YS(a, fn.user));
|
|
11007
11007
|
return r;
|
|
11008
11008
|
});
|
|
11009
11009
|
}
|
|
@@ -11156,7 +11156,7 @@ const xg = (e) => {
|
|
|
11156
11156
|
r = pp();
|
|
11157
11157
|
}
|
|
11158
11158
|
return r;
|
|
11159
|
-
},
|
|
11159
|
+
}, ly = () => ["localhost", "127.0.0.1", "", "::1"].includes(window.location.hostname), cy = () => !ly() && window.location.protocol === "http:", uy = () => {
|
|
11160
11160
|
if (typeof window == "undefined") return "SERVER_SIDE_RENDERING";
|
|
11161
11161
|
if (!document.referrer) return window.location.origin;
|
|
11162
11162
|
try {
|
|
@@ -11175,7 +11175,7 @@ const xg = (e) => {
|
|
|
11175
11175
|
platform: "Web",
|
|
11176
11176
|
osVersion: "".concat(Kt.osVersion),
|
|
11177
11177
|
sdkVersion: t,
|
|
11178
|
-
hostAppId:
|
|
11178
|
+
hostAppId: uy(),
|
|
11179
11179
|
serviceUrl: a,
|
|
11180
11180
|
userID: xg(Rg),
|
|
11181
11181
|
deviceModel: "".concat(Kt.osName, "/").concat(Kt.osVersion, " ").concat(Kt.browserName, "/").concat(Kt.fullBrowserVersion),
|
|
@@ -11189,13 +11189,13 @@ const xg = (e) => {
|
|
|
11189
11189
|
var ae = Ys();
|
|
11190
11190
|
const dt = /* @__PURE__ */ Gs(ae);
|
|
11191
11191
|
function Rs(e, r, t) {
|
|
11192
|
-
return (r =
|
|
11192
|
+
return (r = fy(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
11193
11193
|
}
|
|
11194
|
-
function
|
|
11195
|
-
var r =
|
|
11194
|
+
function fy(e) {
|
|
11195
|
+
var r = dy(e, "string");
|
|
11196
11196
|
return typeof r == "symbol" ? r : r + "";
|
|
11197
11197
|
}
|
|
11198
|
-
function
|
|
11198
|
+
function dy(e, r) {
|
|
11199
11199
|
if (typeof e != "object" || !e) return e;
|
|
11200
11200
|
var t = e[Symbol.toPrimitive];
|
|
11201
11201
|
if (t !== void 0) {
|
|
@@ -11205,7 +11205,7 @@ function d9(e, r) {
|
|
|
11205
11205
|
}
|
|
11206
11206
|
return (r === "string" ? String : Number)(e);
|
|
11207
11207
|
}
|
|
11208
|
-
class
|
|
11208
|
+
class py {
|
|
11209
11209
|
constructor() {
|
|
11210
11210
|
Rs(this, "_levels", []), Rs(this, "_transports", []), Rs(this, "_logs", []), Rs(this, "_prevTime", 0), Rs(this, "logListener", null);
|
|
11211
11211
|
try {
|
|
@@ -11239,7 +11239,7 @@ class p9 {
|
|
|
11239
11239
|
o.download = "log.txt", o.href = a, o.click(), window.URL.revokeObjectURL(a), this._logs = [];
|
|
11240
11240
|
}
|
|
11241
11241
|
}
|
|
11242
|
-
const Gr = new
|
|
11242
|
+
const Gr = new py();
|
|
11243
11243
|
function e6(e, r) {
|
|
11244
11244
|
var t = Object.keys(e);
|
|
11245
11245
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -11254,21 +11254,21 @@ function In(e) {
|
|
|
11254
11254
|
for (var r = 1; r < arguments.length; r++) {
|
|
11255
11255
|
var t = arguments[r] != null ? arguments[r] : {};
|
|
11256
11256
|
r % 2 ? e6(Object(t), !0).forEach(function(a) {
|
|
11257
|
-
|
|
11257
|
+
hy(e, a, t[a]);
|
|
11258
11258
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : e6(Object(t)).forEach(function(a) {
|
|
11259
11259
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
11260
11260
|
});
|
|
11261
11261
|
}
|
|
11262
11262
|
return e;
|
|
11263
11263
|
}
|
|
11264
|
-
function
|
|
11265
|
-
return (r =
|
|
11264
|
+
function hy(e, r, t) {
|
|
11265
|
+
return (r = _y(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
11266
11266
|
}
|
|
11267
|
-
function
|
|
11268
|
-
var r =
|
|
11267
|
+
function _y(e) {
|
|
11268
|
+
var r = my(e, "string");
|
|
11269
11269
|
return typeof r == "symbol" ? r : r + "";
|
|
11270
11270
|
}
|
|
11271
|
-
function
|
|
11271
|
+
function my(e, r) {
|
|
11272
11272
|
if (typeof e != "object" || !e) return e;
|
|
11273
11273
|
var t = e[Symbol.toPrimitive];
|
|
11274
11274
|
if (t !== void 0) {
|
|
@@ -11279,7 +11279,7 @@ function m9(e, r) {
|
|
|
11279
11279
|
return (r === "string" ? String : Number)(e);
|
|
11280
11280
|
}
|
|
11281
11281
|
const ya = Gr.create("main");
|
|
11282
|
-
function
|
|
11282
|
+
function Ey() {
|
|
11283
11283
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : fn.environment, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ui.VGA, t = arguments.length > 2 ? arguments[2] : void 0;
|
|
11284
11284
|
const [{
|
|
11285
11285
|
status: a,
|
|
@@ -11307,7 +11307,7 @@ function E9() {
|
|
|
11307
11307
|
})), p(S));
|
|
11308
11308
|
}).catch((S) => {
|
|
11309
11309
|
ya("Error in receiving media devices: ".concat(S)), m && c((v) => In(In({}, v), {}, {
|
|
11310
|
-
status:
|
|
11310
|
+
status: cy() ? Ft.HTTP_NOT_SUPPORTED : window.isSecureContext ? Ft.NOT_SUPPORTED : Ft.INSECURE_PAGE_CONTEXT
|
|
11311
11311
|
}));
|
|
11312
11312
|
}), () => {
|
|
11313
11313
|
m = !1;
|
|
@@ -11376,18 +11376,18 @@ function E9() {
|
|
|
11376
11376
|
onPlay: E
|
|
11377
11377
|
};
|
|
11378
11378
|
}
|
|
11379
|
-
const
|
|
11380
|
-
container:
|
|
11381
|
-
video:
|
|
11379
|
+
const Cy = "_container_1hyic_1", Iy = "_video_1hyic_6", t6 = {
|
|
11380
|
+
container: Cy,
|
|
11381
|
+
video: Iy
|
|
11382
11382
|
};
|
|
11383
11383
|
function Un(e, r, t) {
|
|
11384
|
-
return (r =
|
|
11384
|
+
return (r = Sy(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
11385
11385
|
}
|
|
11386
|
-
function
|
|
11387
|
-
var r =
|
|
11386
|
+
function Sy(e) {
|
|
11387
|
+
var r = vy(e, "string");
|
|
11388
11388
|
return typeof r == "symbol" ? r : r + "";
|
|
11389
11389
|
}
|
|
11390
|
-
function
|
|
11390
|
+
function vy(e, r) {
|
|
11391
11391
|
if (typeof e != "object" || !e) return e;
|
|
11392
11392
|
var t = e[Symbol.toPrimitive];
|
|
11393
11393
|
if (t !== void 0) {
|
|
@@ -11398,7 +11398,7 @@ function v9(e, r) {
|
|
|
11398
11398
|
return (r === "string" ? String : Number)(e);
|
|
11399
11399
|
}
|
|
11400
11400
|
const go = Gr.create("main");
|
|
11401
|
-
class
|
|
11401
|
+
class Dy {
|
|
11402
11402
|
constructor() {
|
|
11403
11403
|
Un(this, "chunks", []), Un(this, "recorder", null), Un(
|
|
11404
11404
|
this,
|
|
@@ -11499,7 +11499,7 @@ const $g = ae.forwardRef(function(r, t) {
|
|
|
11499
11499
|
camera: T,
|
|
11500
11500
|
sortedDevices: R,
|
|
11501
11501
|
onPlay: g
|
|
11502
|
-
} =
|
|
11502
|
+
} = Ey(l, c, p), [O, y] = ae.useState(!1), P = ae.useRef(null), M = ae.useRef(null), k = ae.useRef(null), w = () => {
|
|
11503
11503
|
g(), C == null || C();
|
|
11504
11504
|
};
|
|
11505
11505
|
return ae.useEffect(() => {
|
|
@@ -11530,12 +11530,12 @@ const $g = ae.forwardRef(function(r, t) {
|
|
|
11530
11530
|
};
|
|
11531
11531
|
}, []), ae.useEffect(() => {
|
|
11532
11532
|
const V = M.current;
|
|
11533
|
-
if (v === Ft.READY && V && D && (V.srcObject = D, Kt.isIOS ? setTimeout(() => V.play(),
|
|
11533
|
+
if (v === Ft.READY && V && D && (V.srcObject = D, Kt.isIOS ? setTimeout(() => V.play(), h9) : V.play(), h)) {
|
|
11534
11534
|
if (P.current) {
|
|
11535
11535
|
var X;
|
|
11536
11536
|
(X = P.current) === null || X === void 0 || X.stopRecord();
|
|
11537
11537
|
} else {
|
|
11538
|
-
const ce = new
|
|
11538
|
+
const ce = new Dy();
|
|
11539
11539
|
if (typeof h != "boolean") {
|
|
11540
11540
|
var z, W;
|
|
11541
11541
|
ce.delay = (z = h.delay) !== null && z !== void 0 ? z : ce.delay, ce.duration = h.duration, ce.bitrate = (W = h.bitrate) !== null && W !== void 0 ? W : ce.bitrate, ce.debug = !!h.debug;
|
|
@@ -11553,12 +11553,12 @@ const $g = ae.forwardRef(function(r, t) {
|
|
|
11553
11553
|
}, [v, T, D, R, h]), /* @__PURE__ */ q.jsx("div", { part: "webcamera-container", ref: k, className: t6.container, children: /* @__PURE__ */ q.jsx("video", { part: "webcamera-video", onAbort: E, onLoadedData: w, className: t6.video, style: {
|
|
11554
11554
|
transform: "scaleX(".concat(O ? -1 : 1, ")")
|
|
11555
11555
|
}, ref: M, playsInline: !0, disablePictureInPicture: !0 }) });
|
|
11556
|
-
}),
|
|
11557
|
-
container:
|
|
11558
|
-
layout:
|
|
11559
|
-
loader:
|
|
11556
|
+
}), gy = "_container_bzjwi_1", Ry = "_layout_bzjwi_2", Ay = "_loader_bzjwi_19", Of = {
|
|
11557
|
+
container: gy,
|
|
11558
|
+
layout: Ry,
|
|
11559
|
+
loader: Ay
|
|
11560
11560
|
};
|
|
11561
|
-
function
|
|
11561
|
+
function Ty(e) {
|
|
11562
11562
|
switch (e) {
|
|
11563
11563
|
case it.SHAKING:
|
|
11564
11564
|
return {
|
|
@@ -11602,12 +11602,12 @@ function T9(e) {
|
|
|
11602
11602
|
};
|
|
11603
11603
|
}
|
|
11604
11604
|
}
|
|
11605
|
-
const
|
|
11606
|
-
svg:
|
|
11607
|
-
},
|
|
11608
|
-
onEvent: () =>
|
|
11605
|
+
const Oy = "_svg_15k34_1", yy = {
|
|
11606
|
+
svg: Oy
|
|
11607
|
+
}, Ny = Gr.create("main"), Gg = ae.createContext({
|
|
11608
|
+
onEvent: () => Ny('Function "onEvent" not defined.')
|
|
11609
11609
|
}), ur = () => ae.useContext(Gg);
|
|
11610
|
-
function
|
|
11610
|
+
function Ly(e) {
|
|
11611
11611
|
let {
|
|
11612
11612
|
layoutParams: r,
|
|
11613
11613
|
maskParams: t,
|
|
@@ -11641,7 +11641,7 @@ function L9(e) {
|
|
|
11641
11641
|
},
|
|
11642
11642
|
pathWidth: h
|
|
11643
11643
|
});
|
|
11644
|
-
}, [o, t, c, u]), /* @__PURE__ */ q.jsxs("svg", { part: "frame", className:
|
|
11644
|
+
}, [o, t, c, u]), /* @__PURE__ */ q.jsxs("svg", { part: "frame", className: yy.svg, xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid slice", viewBox: "0 0 ".concat(r.width, " ").concat(r.height), role: "img", "aria-label": "Document frame", children: [
|
|
11645
11645
|
/* @__PURE__ */ q.jsx("defs", { children: /* @__PURE__ */ q.jsxs("mask", { id: "bgClip", children: [
|
|
11646
11646
|
/* @__PURE__ */ q.jsx("rect", { x: "0", y: "0", width: r.width, height: r.height, fill: "#fff", part: "frame-mask-background" }),
|
|
11647
11647
|
/* @__PURE__ */ q.jsx("rect", { x: t.left, y: t.top, rx: u, ry: u, width: t.width, height: t.height, stroke: "black", strokeWidth: t.stroke, part: "frame-mask-background-clip" })
|
|
@@ -11682,20 +11682,20 @@ function mp(e, r) {
|
|
|
11682
11682
|
function _h(e, r) {
|
|
11683
11683
|
e.prototype = Object.create(r.prototype), e.prototype.constructor = e, mp(e, r);
|
|
11684
11684
|
}
|
|
11685
|
-
function
|
|
11685
|
+
function My(e, r) {
|
|
11686
11686
|
return e.classList ? !!r && e.classList.contains(r) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + r + " ") !== -1;
|
|
11687
11687
|
}
|
|
11688
|
-
function
|
|
11689
|
-
e.classList ? e.classList.add(r) :
|
|
11688
|
+
function Py(e, r) {
|
|
11689
|
+
e.classList ? e.classList.add(r) : My(e, r) || (typeof e.className == "string" ? e.className = e.className + " " + r : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + r));
|
|
11690
11690
|
}
|
|
11691
11691
|
function r6(e, r) {
|
|
11692
11692
|
return e.replace(new RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
11693
11693
|
}
|
|
11694
|
-
function
|
|
11694
|
+
function by(e, r) {
|
|
11695
11695
|
e.classList ? e.classList.remove(r) : typeof e.className == "string" ? e.className = r6(e.className, r) : e.setAttribute("class", r6(e.className && e.className.baseVal || "", r));
|
|
11696
11696
|
}
|
|
11697
|
-
var
|
|
11698
|
-
const E2 = /* @__PURE__ */ Gs(
|
|
11697
|
+
var wy = QD();
|
|
11698
|
+
const E2 = /* @__PURE__ */ Gs(wy), n6 = {
|
|
11699
11699
|
disabled: !1
|
|
11700
11700
|
}, mh = dt.createContext(null);
|
|
11701
11701
|
var jg = function(r) {
|
|
@@ -11851,13 +11851,13 @@ wi.EXITED = Na;
|
|
|
11851
11851
|
wi.ENTERING = gn;
|
|
11852
11852
|
wi.ENTERED = ci;
|
|
11853
11853
|
wi.EXITING = ks;
|
|
11854
|
-
var
|
|
11854
|
+
var Hy = function(r, t) {
|
|
11855
11855
|
return r && t && t.split(" ").forEach(function(a) {
|
|
11856
|
-
return
|
|
11856
|
+
return Py(r, a);
|
|
11857
11857
|
});
|
|
11858
11858
|
}, yf = function(r, t) {
|
|
11859
11859
|
return r && t && t.split(" ").forEach(function(a) {
|
|
11860
|
-
return
|
|
11860
|
+
return by(r, a);
|
|
11861
11861
|
});
|
|
11862
11862
|
}, Eh = /* @__PURE__ */ function(e) {
|
|
11863
11863
|
_h(r, e);
|
|
@@ -11900,7 +11900,7 @@ var H9 = function(r, t) {
|
|
|
11900
11900
|
var t = r.prototype;
|
|
11901
11901
|
return t.addClass = function(o, l, c) {
|
|
11902
11902
|
var u = this.getClassNames(l)[c + "ClassName"], p = this.getClassNames("enter"), f = p.doneClassName;
|
|
11903
|
-
l === "appear" && c === "done" && f && (u += " " + f), c === "active" && o && jg(o), u && (this.appliedClasses[l][c] = u,
|
|
11903
|
+
l === "appear" && c === "done" && f && (u += " " + f), c === "active" && o && jg(o), u && (this.appliedClasses[l][c] = u, Hy(o, u));
|
|
11904
11904
|
}, t.removeClasses = function(o, l) {
|
|
11905
11905
|
var c = this.appliedClasses[l], u = c.base, p = c.active, f = c.done;
|
|
11906
11906
|
this.appliedClasses[l] = {}, u && yf(o, u), p && yf(o, p), f && yf(o, f);
|
|
@@ -11923,7 +11923,7 @@ Eh.defaultProps = {
|
|
|
11923
11923
|
};
|
|
11924
11924
|
Eh.propTypes = {};
|
|
11925
11925
|
var C2, I2;
|
|
11926
|
-
function
|
|
11926
|
+
function Vy(e, r) {
|
|
11927
11927
|
return !(e === r || dt.isValidElement(e) && dt.isValidElement(r) && e.key != null && e.key === r.key);
|
|
11928
11928
|
}
|
|
11929
11929
|
var Po = {
|
|
@@ -11934,7 +11934,7 @@ var Po = {
|
|
|
11934
11934
|
var o;
|
|
11935
11935
|
r.props[t] && (o = r.props)[t].apply(o, arguments), a();
|
|
11936
11936
|
};
|
|
11937
|
-
},
|
|
11937
|
+
}, ky = (C2 = {}, C2[Po.out] = function(e) {
|
|
11938
11938
|
var r = e.current, t = e.changeState;
|
|
11939
11939
|
return dt.cloneElement(r, {
|
|
11940
11940
|
in: !1,
|
|
@@ -11950,7 +11950,7 @@ var Po = {
|
|
|
11950
11950
|
t(gn);
|
|
11951
11951
|
})
|
|
11952
11952
|
})];
|
|
11953
|
-
}, C2),
|
|
11953
|
+
}, C2), Fy = (I2 = {}, I2[Po.out] = function(e) {
|
|
11954
11954
|
var r = e.children, t = e.changeState;
|
|
11955
11955
|
return dt.cloneElement(r, {
|
|
11956
11956
|
in: !0,
|
|
@@ -11995,7 +11995,7 @@ var Po = {
|
|
|
11995
11995
|
current: null
|
|
11996
11996
|
} : l.status === gn && o.mode === Po.in ? {
|
|
11997
11997
|
status: gn
|
|
11998
|
-
} : l.current &&
|
|
11998
|
+
} : l.current && Vy(l.current, o.children) ? {
|
|
11999
11999
|
status: ks
|
|
12000
12000
|
} : {
|
|
12001
12001
|
current: dt.cloneElement(o.children, {
|
|
@@ -12011,10 +12011,10 @@ var Po = {
|
|
|
12011
12011
|
}, C;
|
|
12012
12012
|
switch (p) {
|
|
12013
12013
|
case gn:
|
|
12014
|
-
C =
|
|
12014
|
+
C = Fy[c](h);
|
|
12015
12015
|
break;
|
|
12016
12016
|
case ks:
|
|
12017
|
-
C =
|
|
12017
|
+
C = ky[c](h);
|
|
12018
12018
|
break;
|
|
12019
12019
|
case ci:
|
|
12020
12020
|
C = f;
|
|
@@ -12030,29 +12030,29 @@ Ch.propTypes = {};
|
|
|
12030
12030
|
Ch.defaultProps = {
|
|
12031
12031
|
mode: Po.out
|
|
12032
12032
|
};
|
|
12033
|
-
const
|
|
12033
|
+
const Uy = "_message_13yzs_10", xy = "_icon_13yzs_45", By = "_title_13yzs_96", $y = "_copyright_13yzs_103", sn = {
|
|
12034
12034
|
"hint-container": "_hint-container_13yzs_1",
|
|
12035
12035
|
"tips-frameless": "_tips-frameless_13yzs_10",
|
|
12036
|
-
message:
|
|
12036
|
+
message: Uy,
|
|
12037
12037
|
"fade-enter": "_fade-enter_13yzs_14",
|
|
12038
12038
|
"fade-exit": "_fade-exit_13yzs_18",
|
|
12039
12039
|
"fade-enter-active": "_fade-enter-active_13yzs_22",
|
|
12040
12040
|
"fade-exit-active": "_fade-exit-active_13yzs_26",
|
|
12041
12041
|
"message-container": "_message-container_13yzs_35",
|
|
12042
|
-
icon:
|
|
12042
|
+
icon: xy,
|
|
12043
12043
|
"processing-error-icon": "_processing-error-icon_13yzs_61",
|
|
12044
12044
|
"search-icon": "_search-icon_13yzs_67",
|
|
12045
12045
|
"square-icon": "_square-icon_13yzs_73",
|
|
12046
12046
|
"message-background": "_message-background_13yzs_88",
|
|
12047
|
-
title:
|
|
12048
|
-
copyright: $
|
|
12047
|
+
title: By,
|
|
12048
|
+
copyright: $y
|
|
12049
12049
|
};
|
|
12050
|
-
var Ms = { exports: {} },
|
|
12051
|
-
function
|
|
12050
|
+
var Ms = { exports: {} }, Gy = Ms.exports, i6;
|
|
12051
|
+
function Zy() {
|
|
12052
12052
|
return i6 || (i6 = 1, function(e, r) {
|
|
12053
12053
|
(function(t, a) {
|
|
12054
12054
|
a(r, Ys());
|
|
12055
|
-
})(
|
|
12055
|
+
})(Gy, function(t, a) {
|
|
12056
12056
|
var o = "default" in a ? a.default : a;
|
|
12057
12057
|
function l(S) {
|
|
12058
12058
|
return (l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(v) {
|
|
@@ -12114,10 +12114,10 @@ function Z9() {
|
|
|
12114
12114
|
});
|
|
12115
12115
|
}(Ms, Ms.exports)), Ms.exports;
|
|
12116
12116
|
}
|
|
12117
|
-
var oa =
|
|
12118
|
-
const
|
|
12119
|
-
copyright:
|
|
12120
|
-
},
|
|
12117
|
+
var oa = Zy();
|
|
12118
|
+
const jy = "_copyright_6b3ik_1", zy = {
|
|
12119
|
+
copyright: jy
|
|
12120
|
+
}, qy = "data:image/svg+xml,%3csvg%20width='39'%20height='13'%20viewBox='0%200%2039%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.88952%205.98264C6.70681%205.48369%207.28459%204.49575%207.28459%203.40906C7.28459%201.34699%205.65607%200%203.60916%200C1.56225%200%200%201.34743%200%203.67543V5.42175H1.49815V3.675C1.49815%202.27819%202.44624%201.49642%203.61046%201.49642C4.77468%201.49642%205.60583%202.29465%205.60583%203.40906C5.60583%204.52347%204.70798%205.42132%203.54376%205.42132H1.49815V9.21326H2.995V6.75186H3.57711C5.04061%206.75186%206.00516%207.88272%206.03851%209.21326H7.60163C7.57391%207.89658%206.94373%206.56778%205.89082%205.98264'%20fill='%23BD7DFF'/%3e%3cpath%20d='M37.5857%202.6262V3.57429C37.1863%202.97573%2036.4877%202.57812%2035.4902%202.57812C33.6608%202.57812%2032.2969%204.04163%2032.2969%205.92092C32.2969%207.78332%2033.6608%209.26371%2035.4902%209.26371C36.4379%209.26371%2037.1201%208.88127%2037.5857%208.29916V9.21391H38.9994V2.6262H37.5857ZM35.6566%207.83183C34.592%207.83183%2033.8271%207.00025%2033.8271%205.91919C33.8271%204.83813%2034.592%204.00654%2035.6566%204.00654C36.7212%204.00654%2037.5025%204.83813%2037.5025%205.91919C37.5025%207.00025%2036.7229%207.83183%2035.6566%207.83183Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M27.5078%206.0384C27.5078%207.33559%2026.8426%207.81808%2025.9945%207.81808C25.1465%207.81808%2024.4812%207.33559%2024.4812%206.0384V2.62891H22.9844V5.9717C22.9844%208.16717%2024.1152%209.26339%2025.9945%209.26339C27.8738%209.26339%2029.0047%208.16587%2029.0047%205.9717V2.62891H27.5078V6.0384Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M11.2922%202.57812C9.44578%202.57812%208.01562%204.09143%208.01562%205.93781C8.01562%207.78419%209.44491%209.26371%2011.342%209.26371C12.4893%209.26371%2013.3209%208.86481%2014.003%208.14974L13.1879%207.18519C12.7388%207.58409%2012.1735%207.86691%2011.3753%207.86691C10.5771%207.86691%209.82865%207.46758%209.59693%206.60264H14.5184C14.578%206.34086%2014.6059%206.07286%2014.6016%205.80441C14.6016%203.94201%2013.1381%202.57812%2011.2922%202.57812ZM9.51248%205.42197C9.71214%204.55574%2010.4437%203.97536%2011.3749%203.97536C12.3061%203.97536%2012.938%204.54058%2013.1212%205.42197H9.51248Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M31.4988%200.0664062H30.002V9.2134H31.4988V0.0664062Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M20.572%203.57429C20.2394%203.00864%2019.4745%202.57812%2018.4766%202.57812C16.7302%202.57812%2015.2832%204.04163%2015.2832%205.92092C15.2832%207.78332%2016.7302%209.21261%2018.4766%209.21261C19.4247%209.21261%2020.0232%208.92978%2020.4888%208.34637V8.94537C20.4888%2010.2426%2019.5741%2010.7082%2018.6927%2010.7082C17.8113%2010.7082%2017.1127%2010.275%2016.9797%209.32782H15.5162C15.5829%2010.991%2016.913%2012.0565%2018.6927%2012.0565C20.4724%2012.0565%2021.9844%2011.0421%2021.9844%208.84662V2.6262H20.572V3.57429ZM18.6429%207.78202C17.5783%207.78202%2016.8134%207.00025%2016.8134%205.91962C16.8134%204.839%2017.5783%204.00698%2018.6429%204.00698C19.7075%204.00698%2020.4888%204.83856%2020.4888%205.91962C20.4888%207.00068%2019.7071%207.78202%2018.6429%207.78202Z'%20fill='%23BD7DFF'/%3e%3c/svg%3e";
|
|
12121
12121
|
function zg(e) {
|
|
12122
12122
|
let {
|
|
12123
12123
|
className: r
|
|
@@ -12125,10 +12125,10 @@ function zg(e) {
|
|
|
12125
12125
|
const {
|
|
12126
12126
|
copyright: t = !0
|
|
12127
12127
|
} = ur();
|
|
12128
|
-
return t ? /* @__PURE__ */ q.jsxs("div", { part: "container-copyright", className: "".concat(
|
|
12128
|
+
return t ? /* @__PURE__ */ q.jsxs("div", { part: "container-copyright", className: "".concat(zy.copyright, " ").concat(r != null ? r : ""), children: [
|
|
12129
12129
|
/* @__PURE__ */ q.jsx("span", { "data-e2e": "powered-by", children: "Powered by" }),
|
|
12130
12130
|
" ",
|
|
12131
|
-
/* @__PURE__ */ q.jsx("img", { src:
|
|
12131
|
+
/* @__PURE__ */ q.jsx("img", { src: qy, alt: "regula-logo" })
|
|
12132
12132
|
] }) : null;
|
|
12133
12133
|
}
|
|
12134
12134
|
function Ep(e) {
|
|
@@ -12163,7 +12163,7 @@ function Ep(e) {
|
|
|
12163
12163
|
return "id-front-icon";
|
|
12164
12164
|
}
|
|
12165
12165
|
}
|
|
12166
|
-
function
|
|
12166
|
+
function Wy(e) {
|
|
12167
12167
|
switch (e) {
|
|
12168
12168
|
case yo.Horizontal:
|
|
12169
12169
|
return "horizontal";
|
|
@@ -12177,8 +12177,8 @@ function W9(e) {
|
|
|
12177
12177
|
return "";
|
|
12178
12178
|
}
|
|
12179
12179
|
}
|
|
12180
|
-
const
|
|
12181
|
-
announcer:
|
|
12180
|
+
const Yy = "_announcer_1qj2e_1", Ky = {
|
|
12181
|
+
announcer: Yy
|
|
12182
12182
|
};
|
|
12183
12183
|
function Fs(e) {
|
|
12184
12184
|
let {
|
|
@@ -12195,12 +12195,12 @@ function Fs(e) {
|
|
|
12195
12195
|
return () => {
|
|
12196
12196
|
clearTimeout(l);
|
|
12197
12197
|
};
|
|
12198
|
-
}, [r, t]), /* @__PURE__ */ q.jsx("div", { role: "status", "aria-live": "assertive", className:
|
|
12198
|
+
}, [r, t]), /* @__PURE__ */ q.jsx("div", { role: "status", "aria-live": "assertive", className: Ky.announcer, children: a });
|
|
12199
12199
|
}
|
|
12200
|
-
const
|
|
12201
|
-
tilt:
|
|
12202
|
-
vertical:
|
|
12203
|
-
horizontal:
|
|
12200
|
+
const Xy = "_tilt_e1bzj_1", Qy = "_vertical_e1bzj_19", Jy = "_horizontal_e1bzj_23", Nf = {
|
|
12201
|
+
tilt: Xy,
|
|
12202
|
+
vertical: Qy,
|
|
12203
|
+
horizontal: Jy,
|
|
12204
12204
|
"left-bottom-right-top": "_left-bottom-right-top_e1bzj_27",
|
|
12205
12205
|
"right-bottom-left-top": "_right-bottom-left-top_e1bzj_31",
|
|
12206
12206
|
"id-front-icon": "_id-front-icon_e1bzj_35",
|
|
@@ -12223,7 +12223,7 @@ const X9 = "_tilt_e1bzj_1", Q9 = "_vertical_e1bzj_19", J9 = "_horizontal_e1bzj_2
|
|
|
12223
12223
|
const u = Ep((a = c == null ? void 0 : c.livenessAnimationImage) !== null && a !== void 0 ? a : lr.IDFront), p = (o = c == null ? void 0 : c.hologramTiltType) !== null && o !== void 0 ? o : yo.Vertical;
|
|
12224
12224
|
return /* @__PURE__ */ q.jsxs(q.Fragment, { children: [
|
|
12225
12225
|
/* @__PURE__ */ q.jsx(Fs, { text: "Tilt the document" }),
|
|
12226
|
-
/* @__PURE__ */ q.jsx("div", { part: "hint-holo-".concat(u), className: "".concat(Nf.tilt, " ").concat(Nf[
|
|
12226
|
+
/* @__PURE__ */ q.jsx("div", { part: "hint-holo-".concat(u), className: "".concat(Nf.tilt, " ").concat(Nf[Wy(p)], " ").concat((l = Nf[u]) !== null && l !== void 0 ? l : ""), ref: t, role: "img", "aria-label": "Document tilt animation" })
|
|
12227
12227
|
] });
|
|
12228
12228
|
}), tN = "_flip_194nz_1", rN = "_front_194nz_10", nN = "_back_194nz_11", iN = "_slide_194nz_22", Xi = {
|
|
12229
12229
|
flip: tN,
|
|
@@ -12477,12 +12477,12 @@ function qg(e) {
|
|
|
12477
12477
|
const {
|
|
12478
12478
|
cameraFrameBorderWidth: R = XO,
|
|
12479
12479
|
cameraFrame: g = !0,
|
|
12480
|
-
cameraFrameDefaultColor: O =
|
|
12481
|
-
cameraFrameActiveColor: y =
|
|
12482
|
-
} = ur(), P = ae.useRef(null), [M, k] = ae.useState(!1), [w, V] = ae.useState(null), [U, z] = ae.useState(null), [W, X] = ae.useState(0), te = !!(c.sortedDevices && c.sortedDevices.frontCameras.length + c.sortedDevices.backCameras.length >
|
|
12480
|
+
cameraFrameDefaultColor: O = e9,
|
|
12481
|
+
cameraFrameActiveColor: y = t9
|
|
12482
|
+
} = ur(), P = ae.useRef(null), [M, k] = ae.useState(!1), [w, V] = ae.useState(null), [U, z] = ae.useState(null), [W, X] = ae.useState(0), te = !!(c.sortedDevices && c.sortedDevices.frontCameras.length + c.sortedDevices.backCameras.length > p9), ce = r === it.HOLD || r === it.FOCUS || r === it.RESOLUTION || r === it.PROCESSING || r === it.GLARE, se = r !== it.SERVICE_PREPARING, B = ce ? y : O, ee = c.videoStatus === Ft.PLAY, {
|
|
12483
12483
|
icon: Q,
|
|
12484
12484
|
title: b
|
|
12485
|
-
} =
|
|
12485
|
+
} = Ty(r), j = u.videoParams.width > u.videoParams.height;
|
|
12486
12486
|
return ae.useEffect(() => {
|
|
12487
12487
|
r === it.START_NEXT_PAGE && k(!0);
|
|
12488
12488
|
}, [r]), ae.useEffect(() => {
|
|
@@ -12529,7 +12529,7 @@ function qg(e) {
|
|
|
12529
12529
|
}, [U, W, u.videoParams.width]), /* @__PURE__ */ q.jsxs("div", { part: "layout-container", className: Of.container, children: [
|
|
12530
12530
|
t,
|
|
12531
12531
|
r !== it.SERVICE_PREPARING && ee ? /* @__PURE__ */ q.jsxs("div", { part: "layout", ref: P, className: Of.layout, children: [
|
|
12532
|
-
g && w && U && /* @__PURE__ */ q.jsx(
|
|
12532
|
+
g && w && U && /* @__PURE__ */ q.jsx(Ly, { layoutParams: U, maskParams: w, borderColor: B }),
|
|
12533
12533
|
/* @__PURE__ */ q.jsx(fN, { status: r, title: b, icon: Q, maskParams: w, layoutParams: U, controlsWidth: W, isLandscape: j, animationImage: D, holoData: h }),
|
|
12534
12534
|
/* @__PURE__ */ q.jsx(dN, { mirroring: a, captureButton: v, facing: c.camera.facing, isLandscape: j, isSkipButtonVisible: M, isChangeCameraAvailable: te, onClose: p, onChangeCamera: l, onChangeMirroring: o, onSnapshotProcess: C, onCameraSnapshot: E, onSkip: m, onControlsWidth: X })
|
|
12535
12535
|
] }) : /* @__PURE__ */ q.jsx(Ih, { onClose: f, className: Of.loader, children: /* @__PURE__ */ q.jsx(Js, {}) })
|
|
@@ -16760,11 +16760,11 @@ function Rb(e, r) {
|
|
|
16760
16760
|
var t, a;
|
|
16761
16761
|
const o = {
|
|
16762
16762
|
[M2.BarcodeMRZ]: {
|
|
16763
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
16763
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.3/barcodemrz/f1cbbcba-6fccf84dc",
|
|
16764
16764
|
DEV: "./wasm/barcode-mrz/"
|
|
16765
16765
|
},
|
|
16766
16766
|
[M2.BoundsLite]: {
|
|
16767
|
-
PROD: "https://wasm-development.regulaforensics.com/document/
|
|
16767
|
+
PROD: "https://wasm-development.regulaforensics.com/document/rc/8.3/boundslite/f1cbbcba-6fccf84dc",
|
|
16768
16768
|
DEV: "./wasm/bounds-lite/"
|
|
16769
16769
|
}
|
|
16770
16770
|
};
|
|
@@ -16823,7 +16823,7 @@ function GR(e) {
|
|
|
16823
16823
|
return ae.useEffect(() => {
|
|
16824
16824
|
if (!(!l.initData || l.initialized || !r))
|
|
16825
16825
|
if (l.initData.license.errorCode === 0 && l.initData.license.status) {
|
|
16826
|
-
const u = l.initData.scenario.filter((f) => f.name !==
|
|
16826
|
+
const u = l.initData.scenario.filter((f) => f.name !== r9);
|
|
16827
16827
|
u.some((f) => f.name === r) ? (c({
|
|
16828
16828
|
initialized: !0,
|
|
16829
16829
|
initData: {
|
|
@@ -16949,7 +16949,7 @@ function wb(e) {
|
|
|
16949
16949
|
internalScenario: h,
|
|
16950
16950
|
videoCaptureMotionControl: C,
|
|
16951
16951
|
nextPageAnimationStartDelay: E = Eg,
|
|
16952
|
-
nextPageAnimationEndDelay: m =
|
|
16952
|
+
nextPageAnimationEndDelay: m = n9
|
|
16953
16953
|
} = ur(), {
|
|
16954
16954
|
isShake: S
|
|
16955
16955
|
} = Lb(C), v = ae.useRef(!1), [D, T] = ae.useState(!1), [R, g] = ae.useState(!1), [O, y] = ae.useState(!1), [P, M] = ae.useState(0), [k, w] = ae.useState(void 0), [V, U] = ae.useState([lr.DocumentFront, lr.DocumentBack]), [z, W] = ae.useState(null), [X, te] = ae.useState(void 0), [ce, se] = ae.useState({
|
|
@@ -16970,7 +16970,7 @@ function wb(e) {
|
|
|
16970
16970
|
}), b = c === ra.captureFrame, j = ce.status === it.START_NEXT_PAGE;
|
|
16971
16971
|
return ae.useEffect(() => {
|
|
16972
16972
|
if (u) {
|
|
16973
|
-
if (u.recognizerProcessParam = $r(
|
|
16973
|
+
if (u.recognizerProcessParam = $r(o9, u.recognizerProcessParam), f !== void 0) {
|
|
16974
16974
|
const le = {
|
|
16975
16975
|
processParam: {
|
|
16976
16976
|
multipageProcessing: f
|
|
@@ -17008,7 +17008,7 @@ function wb(e) {
|
|
|
17008
17008
|
}, [Q, X]), ae.useEffect(() => {
|
|
17009
17009
|
var le;
|
|
17010
17010
|
if (!u || !ee || R || b || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
17011
|
-
const pe = Bg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.
|
|
17011
|
+
const pe = Bg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.2408-rc".trim(), ((le = u.recognizerProcessParam.processParam.backendProcessing) === null || le === void 0 ? void 0 : le.serviceURL) || "");
|
|
17012
17012
|
Qi("Metadata: ".concat(JSON.stringify(pe))), (u.recognizerProcessParam.processParam.backendProcessing ? u.createBackendTransaction(pe) : u.startNewDocument(pe)).then(() => {
|
|
17013
17013
|
g(!0), Qi("New document started");
|
|
17014
17014
|
}).catch((ge) => {
|
|
@@ -17405,7 +17405,7 @@ function ZR(e) {
|
|
|
17405
17405
|
] }),
|
|
17406
17406
|
/* @__PURE__ */ q.jsx("input", { ref: C, style: {
|
|
17407
17407
|
display: "none"
|
|
17408
|
-
}, type: "file", multiple: p, accept:
|
|
17408
|
+
}, type: "file", multiple: p, accept: u9.join(","), onChange: S })
|
|
17409
17409
|
] });
|
|
17410
17410
|
}
|
|
17411
17411
|
var c7 = {}, u7;
|
|
@@ -17495,7 +17495,7 @@ function Qb(e) {
|
|
|
17495
17495
|
});
|
|
17496
17496
|
return ae.useEffect(() => {
|
|
17497
17497
|
if (l) {
|
|
17498
|
-
if (l.imageProcessParam = $r(
|
|
17498
|
+
if (l.imageProcessParam = $r(s9, l.imageProcessParam), c !== void 0) {
|
|
17499
17499
|
const E = {
|
|
17500
17500
|
processParam: {
|
|
17501
17501
|
scenario: c
|
|
@@ -17523,7 +17523,7 @@ function Qb(e) {
|
|
|
17523
17523
|
var D;
|
|
17524
17524
|
if ((D = l.imageProcessParam.processParam) !== null && D !== void 0 && D.backendProcessing) {
|
|
17525
17525
|
var T;
|
|
17526
|
-
const g = Bg([], "", "8.3.
|
|
17526
|
+
const g = Bg([], "", "8.3.2408-rc".trim(), ((T = l.recognizerProcessParam.processParam) === null || T === void 0 || (T = T.backendProcessing) === null || T === void 0 ? void 0 : T.serviceURL) || "");
|
|
17527
17527
|
yield l.createBackendTransaction(g, l.imageProcessParam);
|
|
17528
17528
|
}
|
|
17529
17529
|
const R = yield l.processImage(r, m);
|
|
@@ -17631,7 +17631,7 @@ function jR(e) {
|
|
|
17631
17631
|
[h]: C
|
|
17632
17632
|
});
|
|
17633
17633
|
}
|
|
17634
|
-
let u =
|
|
17634
|
+
let u = f9;
|
|
17635
17635
|
const p = [a, ew(), tw()];
|
|
17636
17636
|
for (const h of p) {
|
|
17637
17637
|
if (!h) continue;
|
|
@@ -17641,7 +17641,7 @@ function jR(e) {
|
|
|
17641
17641
|
break;
|
|
17642
17642
|
}
|
|
17643
17643
|
}
|
|
17644
|
-
const f =
|
|
17644
|
+
const f = d9.includes(u) ? fp.Rtl : fp.Ltr;
|
|
17645
17645
|
return /* @__PURE__ */ q.jsx(oa.LocalizationProvider, { disableCache: !0, locale: u, translations: c, children: /* @__PURE__ */ q.jsx(e, Do(ke({}, t), { direction: f })) });
|
|
17646
17646
|
}
|
|
17647
17647
|
return r;
|
|
@@ -23343,12 +23343,12 @@ const kD = Gr.create("wasm"), Ir = Gr.create("main");
|
|
|
23343
23343
|
class e0e {
|
|
23344
23344
|
constructor() {
|
|
23345
23345
|
Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new jue()), Pr(this, "_initProcess", null), Pr(this, "version", {
|
|
23346
|
-
component: "8.3.
|
|
23346
|
+
component: "8.3.2408-rc".trim()
|
|
23347
23347
|
}), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
|
|
23348
23348
|
processParam: {}
|
|
23349
23349
|
}), Pr(this, "imageProcessParam", {
|
|
23350
23350
|
processParam: {}
|
|
23351
|
-
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/
|
|
23351
|
+
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/8.3/barcodemrz/f1cbbcba-6fccf84dc");
|
|
23352
23352
|
}
|
|
23353
23353
|
get processingListener() {
|
|
23354
23354
|
return this._processingListener;
|
|
@@ -23399,7 +23399,7 @@ class e0e {
|
|
|
23399
23399
|
if (u === up.ok || u === up.badLicense && !p)
|
|
23400
23400
|
Ir("Method ".concat(l, ": { code: ").concat(u, " } ")), t(c);
|
|
23401
23401
|
else {
|
|
23402
|
-
const f =
|
|
23402
|
+
const f = a9[u] || u, h = "Method ".concat(l, ": ").concat(f);
|
|
23403
23403
|
Ir(h), a(h);
|
|
23404
23404
|
}
|
|
23405
23405
|
}
|
|
@@ -23414,8 +23414,8 @@ class e0e {
|
|
|
23414
23414
|
var t;
|
|
23415
23415
|
Ir("Preparing the service");
|
|
23416
23416
|
{
|
|
23417
|
-
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/
|
|
23418
|
-
let c = yield (yield fetch("".concat(o, "/").concat(
|
|
23417
|
+
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/rc/8.3/barcodemrz/f1cbbcba-6fccf84dc", o = Xue(r ? Rb(r, "PROD") : this.workerPath);
|
|
23418
|
+
let c = yield (yield fetch("".concat(o, "/").concat(i9))).text();
|
|
23419
23419
|
!a && !r && (c = gb(c, o));
|
|
23420
23420
|
const u = new Blob([c], {
|
|
23421
23421
|
type: "text/plain"
|
|
@@ -23593,7 +23593,7 @@ class D0e {
|
|
|
23593
23593
|
cameraMode: fn.environment,
|
|
23594
23594
|
preferredCameraId: "",
|
|
23595
23595
|
resolution: ui.HD
|
|
23596
|
-
}), cn(this, "isProcessing", !1), cn(this, "isInitialized", !1), cn(this, "videoElement", null), this.videoElement = r || null, this._documentReaderService.recognizerProcessParam =
|
|
23596
|
+
}), cn(this, "isProcessing", !1), cn(this, "isInitialized", !1), cn(this, "videoElement", null), this.videoElement = r || null, this._documentReaderService.recognizerProcessParam = l9, this._documentReaderService.imageProcessParam = c9;
|
|
23597
23597
|
}
|
|
23598
23598
|
get recognizeListener() {
|
|
23599
23599
|
return this._documentReaderService.recognizeListener;
|