@regulaforensics/vp-frontend-document-components 8.3.2373-nightly → 8.3.2375-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 +2 -2
- package/dist/main.js +189 -189
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -8244,7 +8244,7 @@ function jO() {
|
|
|
8244
8244
|
}
|
|
8245
8245
|
jO();
|
|
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 || {}), mg = /* @__PURE__ */ ((e) => (e.butt = "butt", e.round = "round", e.square = "square", e))(mg || {}), fp = /* @__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))(fp || {}), qO = /* @__PURE__ */ ((e) => (e.Glares = "glaresCheck", e.Focus = "focusCheck", e.Resolution = "dpiThreshold", e.Perspective = "perspectiveCheck", e.Bounds = "documentPosition", e.Portrait = "portraitCheck", e.Brightness = "brightnessCheck", e))(qO || {}), x2 = /* @__PURE__ */ ((e) => (e[e.STARTED = 0] = "STARTED", e[e.UPLOADED = 1] = "UPLOADED", e[e.PROCESSED = 2] = "PROCESSED", e))(x2 || {}), 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 || {}), P2 = /* @__PURE__ */ ((e) => (e.BarcodeMRZ = "BarcodeMRZ", e.BoundsLite = "BoundsLite", e))(P2 || {});
|
|
8247
|
-
const WO = "document-reader", YO = "camera-snapshot", KO = 2.5, XO = 1, Eg = 25e6, QO = 536870912, JO = 5,
|
|
8247
|
+
const WO = "document-reader", YO = "camera-snapshot", KO = 2.5, XO = 1, Eg = 25e6, QO = 536870912, JO = 5, ey = 15, ty = 5, ry = "rgba(255, 255, 255, 0.9)", ny = "rgba(30, 130, 76, 0.9)", iy = "Capture", Cg = 1500, Ig = 1500, ay = 1500, oy = "ProcMgr.worker.js", Sg = {
|
|
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 WO = "document-reader", YO = "camera-snapshot", KO = 2.5, XO = 1, Eg = 25e
|
|
|
8261
8261
|
TIMEOUT: "TIMEOUT",
|
|
8262
8262
|
FAILED: "FAILED"
|
|
8263
8263
|
/* FAILED */
|
|
8264
|
-
},
|
|
8264
|
+
}, sy = {
|
|
8265
8265
|
1: "Command not supported.",
|
|
8266
8266
|
2: "Bad input data.",
|
|
8267
8267
|
3: "Command already done.",
|
|
@@ -8305,7 +8305,7 @@ const WO = "document-reader", YO = "camera-snapshot", KO = 2.5, XO = 1, Eg = 25e
|
|
|
8305
8305
|
"Mobile Safari": 11,
|
|
8306
8306
|
"Samsung Browser": 7
|
|
8307
8307
|
}
|
|
8308
|
-
},
|
|
8308
|
+
}, ly = {
|
|
8309
8309
|
processParam: {
|
|
8310
8310
|
returnUncroppedImage: !0,
|
|
8311
8311
|
multipageProcessing: !1,
|
|
@@ -8326,23 +8326,23 @@ const WO = "document-reader", YO = "camera-snapshot", KO = 2.5, XO = 1, Eg = 25e
|
|
|
8326
8326
|
}
|
|
8327
8327
|
}
|
|
8328
8328
|
}
|
|
8329
|
-
},
|
|
8329
|
+
}, cy = {
|
|
8330
8330
|
processParam: {
|
|
8331
8331
|
returnUncroppedImage: !0
|
|
8332
8332
|
}
|
|
8333
|
-
},
|
|
8333
|
+
}, uy = {
|
|
8334
8334
|
processParam: {
|
|
8335
8335
|
returnUncroppedImage: !0,
|
|
8336
8336
|
timeoutFromFirstDetect: 0,
|
|
8337
8337
|
timeoutFromFirstDocType: 0
|
|
8338
8338
|
}
|
|
8339
|
-
},
|
|
8339
|
+
}, fy = {
|
|
8340
8340
|
processParam: {
|
|
8341
8341
|
returnUncroppedImage: !0
|
|
8342
8342
|
}
|
|
8343
|
-
},
|
|
8343
|
+
}, dy = ["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 || {}), B2 = /* @__PURE__ */ ((e) => (e.contain = "contain", e.cover = "cover", e))(B2 || {}), Dg = /* @__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))(Dg || {}), un = /* @__PURE__ */ ((e) => (e.stdout = "stdout", e.stderr = "stderr", e.custom = "custom", e.gl = "gl", e.init = "worker-init", e))(un || {}), dp = /* @__PURE__ */ ((e) => (e.Rtl = "rtl", e.Ltr = "ltr", e))(dp || {}), pp = /* @__PURE__ */ ((e) => (e.mirror = "mirror", e.noMirror = "noMirror", e))(pp || {});
|
|
8345
|
-
const gg = "NotAllowedError",
|
|
8345
|
+
const gg = "NotAllowedError", py = "en", hy = ["ar", "he"], _y = 1, Rg = 500, my = 1500, bI = 1e4, ui = {
|
|
8346
8346
|
VGA: {
|
|
8347
8347
|
width: 640,
|
|
8348
8348
|
height: 480
|
|
@@ -8359,7 +8359,7 @@ const gg = "NotAllowedError", p9 = "en", h9 = ["ar", "he"], _9 = 1, Rg = 500, m9
|
|
|
8359
8359
|
width: 720,
|
|
8360
8360
|
height: 720
|
|
8361
8361
|
}
|
|
8362
|
-
},
|
|
8362
|
+
}, Ey = ["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", "बैक"], Ag = {
|
|
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 gg = "NotAllowedError", p9 = "en", h9 = ["ar", "he"], _9 = 1, Rg = 500, m9
|
|
|
8370
8370
|
/* INSECURE_PAGE_CONTEXT */
|
|
8371
8371
|
}, Tg = "rgl-uid";
|
|
8372
8372
|
var wI = {}, W1, HI;
|
|
8373
|
-
function
|
|
8373
|
+
function Cy() {
|
|
8374
8374
|
if (HI) return W1;
|
|
8375
8375
|
HI = 1;
|
|
8376
8376
|
var e = jt(), r = th(), t = TypeError, a = Object.getOwnPropertyDescriptor, o = e && !function() {
|
|
@@ -8390,7 +8390,7 @@ function C9() {
|
|
|
8390
8390
|
}, W1;
|
|
8391
8391
|
}
|
|
8392
8392
|
var Y1, VI;
|
|
8393
|
-
function
|
|
8393
|
+
function Iy() {
|
|
8394
8394
|
if (VI) return Y1;
|
|
8395
8395
|
VI = 1;
|
|
8396
8396
|
var e = TypeError, r = 9007199254740991;
|
|
@@ -8400,10 +8400,10 @@ function I9() {
|
|
|
8400
8400
|
}, Y1;
|
|
8401
8401
|
}
|
|
8402
8402
|
var kI;
|
|
8403
|
-
function
|
|
8403
|
+
function Sy() {
|
|
8404
8404
|
if (kI) return wI;
|
|
8405
8405
|
kI = 1;
|
|
8406
|
-
var e = zt(), r = Tn(), t = Jr(), a =
|
|
8406
|
+
var e = zt(), r = Tn(), t = Jr(), a = Cy(), o = Iy(), 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 S9() {
|
|
|
8423
8423
|
}
|
|
8424
8424
|
}), wI;
|
|
8425
8425
|
}
|
|
8426
|
-
|
|
8426
|
+
Sy();
|
|
8427
8427
|
var FI = {}, K1, UI;
|
|
8428
8428
|
function Og() {
|
|
8429
8429
|
if (UI) return K1;
|
|
@@ -8434,7 +8434,7 @@ function Og() {
|
|
|
8434
8434
|
}, K1;
|
|
8435
8435
|
}
|
|
8436
8436
|
var xI;
|
|
8437
|
-
function
|
|
8437
|
+
function vy() {
|
|
8438
8438
|
if (xI) return FI;
|
|
8439
8439
|
xI = 1;
|
|
8440
8440
|
var e = zt(), r = Et(), t = Ks(), a = ar(), o = Xt(), l = Ws(), c = bi(), u = Og(), p = vt(), f = Hr(), h = cr(), C = tc().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 v9() {
|
|
|
8457
8457
|
Iterator: O
|
|
8458
8458
|
}), FI;
|
|
8459
8459
|
}
|
|
8460
|
-
|
|
8460
|
+
vy();
|
|
8461
8461
|
var BI = {}, X1, $I;
|
|
8462
8462
|
function Ba() {
|
|
8463
8463
|
return $I || ($I = 1, X1 = function(e) {
|
|
@@ -8491,7 +8491,7 @@ function Zn() {
|
|
|
8491
8491
|
}, Q1;
|
|
8492
8492
|
}
|
|
8493
8493
|
var J1, ZI;
|
|
8494
|
-
function
|
|
8494
|
+
function Dy() {
|
|
8495
8495
|
if (ZI) return J1;
|
|
8496
8496
|
ZI = 1;
|
|
8497
8497
|
var e = Zn();
|
|
@@ -8511,7 +8511,7 @@ var ef, jI;
|
|
|
8511
8511
|
function yg() {
|
|
8512
8512
|
if (jI) return ef;
|
|
8513
8513
|
jI = 1;
|
|
8514
|
-
var e = Mt(), r = Fa(), t = On(), a = nh(), o = cr(), l = di(), c = zs(), u = tc().IteratorPrototype, p = rc(), f = Zn(), h =
|
|
8514
|
+
var e = Mt(), r = Fa(), t = On(), a = nh(), o = cr(), l = di(), c = zs(), u = tc().IteratorPrototype, p = rc(), f = Zn(), h = Dy(), 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
|
}, nf;
|
|
8600
8600
|
}
|
|
8601
8601
|
var YI;
|
|
8602
|
-
function
|
|
8602
|
+
function gy() {
|
|
8603
8603
|
if (YI) return BI;
|
|
8604
8604
|
YI = 1;
|
|
8605
8605
|
var e = zt(), r = Mt(), t = Qr(), a = ar(), o = Ba(), l = yg(), c = dh(), u = Pi(), p = Zn(), f = Ng(), h = $a(), C = !u && !f("filter", function() {
|
|
@@ -8623,7 +8623,7 @@ function g9() {
|
|
|
8623
8623
|
}
|
|
8624
8624
|
}), BI;
|
|
8625
8625
|
}
|
|
8626
|
-
|
|
8626
|
+
gy();
|
|
8627
8627
|
var KI = {}, af, XI;
|
|
8628
8628
|
function Qs() {
|
|
8629
8629
|
if (XI) return af;
|
|
@@ -8662,7 +8662,7 @@ function Qs() {
|
|
|
8662
8662
|
}, af;
|
|
8663
8663
|
}
|
|
8664
8664
|
var QI;
|
|
8665
|
-
function
|
|
8665
|
+
function Ry() {
|
|
8666
8666
|
if (QI) return KI;
|
|
8667
8667
|
QI = 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 R9() {
|
|
|
8682
8682
|
}
|
|
8683
8683
|
}), KI;
|
|
8684
8684
|
}
|
|
8685
|
-
|
|
8685
|
+
Ry();
|
|
8686
8686
|
var JI = {}, of, eS;
|
|
8687
|
-
function
|
|
8687
|
+
function Ay() {
|
|
8688
8688
|
if (eS) return of;
|
|
8689
8689
|
eS = 1;
|
|
8690
8690
|
var e = Ho(), r = TypeError;
|
|
@@ -8693,7 +8693,7 @@ function A9() {
|
|
|
8693
8693
|
}, of;
|
|
8694
8694
|
}
|
|
8695
8695
|
var sf, tS;
|
|
8696
|
-
function
|
|
8696
|
+
function Ty() {
|
|
8697
8697
|
if (tS) return sf;
|
|
8698
8698
|
tS = 1;
|
|
8699
8699
|
var e = vt();
|
|
@@ -8707,10 +8707,10 @@ function T9() {
|
|
|
8707
8707
|
}, sf;
|
|
8708
8708
|
}
|
|
8709
8709
|
var rS;
|
|
8710
|
-
function
|
|
8710
|
+
function Oy() {
|
|
8711
8711
|
if (rS) return JI;
|
|
8712
8712
|
rS = 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 = Ay(), c = yn(), u = vt(), p = uh(), f = Ty(), h = pg(), C = hg(), E = X2(), m = _g(), 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 O9() {
|
|
|
8763
8763
|
}
|
|
8764
8764
|
}), JI;
|
|
8765
8765
|
}
|
|
8766
|
-
|
|
8766
|
+
Oy();
|
|
8767
8767
|
var nS = {}, iS;
|
|
8768
|
-
function
|
|
8768
|
+
function yy() {
|
|
8769
8769
|
if (iS) return nS;
|
|
8770
8770
|
iS = 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 y9() {
|
|
|
8785
8785
|
}
|
|
8786
8786
|
}), nS;
|
|
8787
8787
|
}
|
|
8788
|
-
|
|
8788
|
+
yy();
|
|
8789
8789
|
var aS = {}, oS;
|
|
8790
|
-
function
|
|
8790
|
+
function Ny() {
|
|
8791
8791
|
if (oS) return aS;
|
|
8792
8792
|
oS = 1;
|
|
8793
8793
|
var e = zt(), r = Mt(), t = Qr(), a = ar(), o = Ba(), l = yg(), c = dh(), u = Zn(), p = Ng(), f = $a(), h = Pi(), C = !h && !p("map", function() {
|
|
@@ -8809,9 +8809,9 @@ function N9() {
|
|
|
8809
8809
|
}
|
|
8810
8810
|
}), aS;
|
|
8811
8811
|
}
|
|
8812
|
-
|
|
8812
|
+
Ny();
|
|
8813
8813
|
var sS = {}, lS;
|
|
8814
|
-
function
|
|
8814
|
+
function Ly() {
|
|
8815
8815
|
if (lS) return sS;
|
|
8816
8816
|
lS = 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 L9() {
|
|
|
8831
8831
|
}
|
|
8832
8832
|
}), sS;
|
|
8833
8833
|
}
|
|
8834
|
-
|
|
8834
|
+
Ly();
|
|
8835
8835
|
var cS = {}, lf, uS;
|
|
8836
8836
|
function Lg() {
|
|
8837
8837
|
if (uS) return lf;
|
|
@@ -8843,7 +8843,7 @@ function Lg() {
|
|
|
8843
8843
|
}, lf;
|
|
8844
8844
|
}
|
|
8845
8845
|
var cf, fS;
|
|
8846
|
-
function
|
|
8846
|
+
function My() {
|
|
8847
8847
|
if (fS) return cf;
|
|
8848
8848
|
fS = 1;
|
|
8849
8849
|
var e = vt(), r = Et(), t = r.RegExp, a = e(function() {
|
|
@@ -8862,7 +8862,7 @@ function M9() {
|
|
|
8862
8862
|
}, cf;
|
|
8863
8863
|
}
|
|
8864
8864
|
var uf, dS;
|
|
8865
|
-
function
|
|
8865
|
+
function Py() {
|
|
8866
8866
|
if (dS) return uf;
|
|
8867
8867
|
dS = 1;
|
|
8868
8868
|
var e = vt(), r = Et(), t = r.RegExp;
|
|
@@ -8873,7 +8873,7 @@ function P9() {
|
|
|
8873
8873
|
}), uf;
|
|
8874
8874
|
}
|
|
8875
8875
|
var ff, pS;
|
|
8876
|
-
function
|
|
8876
|
+
function by() {
|
|
8877
8877
|
if (pS) return ff;
|
|
8878
8878
|
pS = 1;
|
|
8879
8879
|
var e = vt(), r = Et(), t = r.RegExp;
|
|
@@ -8886,7 +8886,7 @@ var df, hS;
|
|
|
8886
8886
|
function ph() {
|
|
8887
8887
|
if (hS) return df;
|
|
8888
8888
|
hS = 1;
|
|
8889
|
-
var e = Mt(), r = St(), t = yn(), a = Lg(), o =
|
|
8889
|
+
var e = Mt(), r = St(), t = yn(), a = Lg(), o = My(), l = Zp(), c = Fa(), u = di().get, p = Py(), f = by(), 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 Mg() {
|
|
|
8916
8916
|
}
|
|
8917
8917
|
Mg();
|
|
8918
8918
|
var mS = {}, pf, ES;
|
|
8919
|
-
function
|
|
8919
|
+
function wy() {
|
|
8920
8920
|
if (ES) return pf;
|
|
8921
8921
|
ES = 1, Mg();
|
|
8922
8922
|
var e = Mt(), r = pi(), t = ph(), a = vt(), o = cr(), l = On(), c = o("species"), u = RegExp.prototype;
|
|
@@ -8964,7 +8964,7 @@ function hh() {
|
|
|
8964
8964
|
}, hf;
|
|
8965
8965
|
}
|
|
8966
8966
|
var _f, IS;
|
|
8967
|
-
function
|
|
8967
|
+
function Hy() {
|
|
8968
8968
|
if (IS) return _f;
|
|
8969
8969
|
IS = 1;
|
|
8970
8970
|
var e = hh().charAt;
|
|
@@ -8973,7 +8973,7 @@ function H9() {
|
|
|
8973
8973
|
}, _f;
|
|
8974
8974
|
}
|
|
8975
8975
|
var mf, SS;
|
|
8976
|
-
function
|
|
8976
|
+
function Vy() {
|
|
8977
8977
|
if (SS) return mf;
|
|
8978
8978
|
SS = 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 V9() {
|
|
|
9007
9007
|
}, mf;
|
|
9008
9008
|
}
|
|
9009
9009
|
var Ef, vS;
|
|
9010
|
-
function
|
|
9010
|
+
function ky() {
|
|
9011
9011
|
if (vS) return Ef;
|
|
9012
9012
|
vS = 1;
|
|
9013
9013
|
var e = Et(), r = vt(), t = e.RegExp, a = !r(function() {
|
|
@@ -9036,10 +9036,10 @@ function k9() {
|
|
|
9036
9036
|
return Ef = { correct: a }, Ef;
|
|
9037
9037
|
}
|
|
9038
9038
|
var Cf, DS;
|
|
9039
|
-
function
|
|
9039
|
+
function Fy() {
|
|
9040
9040
|
if (DS) return Cf;
|
|
9041
9041
|
DS = 1;
|
|
9042
|
-
var e = Mt(), r = Hr(), t = ka(), a =
|
|
9042
|
+
var e = Mt(), r = Hr(), t = ka(), a = ky(), o = Lg(), l = RegExp.prototype;
|
|
9043
9043
|
return Cf = a.correct ? function(c) {
|
|
9044
9044
|
return c.flags;
|
|
9045
9045
|
} : function(c) {
|
|
@@ -9047,7 +9047,7 @@ function F9() {
|
|
|
9047
9047
|
}, Cf;
|
|
9048
9048
|
}
|
|
9049
9049
|
var If, gS;
|
|
9050
|
-
function
|
|
9050
|
+
function Uy() {
|
|
9051
9051
|
if (gS) return If;
|
|
9052
9052
|
gS = 1;
|
|
9053
9053
|
var e = Mt(), r = ar(), t = Xt(), a = na(), o = ph(), l = TypeError;
|
|
@@ -9062,10 +9062,10 @@ function U9() {
|
|
|
9062
9062
|
}, If;
|
|
9063
9063
|
}
|
|
9064
9064
|
var RS;
|
|
9065
|
-
function
|
|
9065
|
+
function xy() {
|
|
9066
9066
|
if (RS) return mS;
|
|
9067
9067
|
RS = 1;
|
|
9068
|
-
var e = nc(), r = Mt(), t = St(), a =
|
|
9068
|
+
var e = nc(), r = Mt(), t = St(), a = wy(), o = vt(), l = ar(), c = Xt(), u = wr(), p = fi(), f = Vo(), h = yn(), C = wo(), E = Hy(), m = zs(), S = Vy(), v = Fy(), D = Uy(), 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 x9() {
|
|
|
9119
9119
|
];
|
|
9120
9120
|
}, !z || !V || U), mS;
|
|
9121
9121
|
}
|
|
9122
|
-
|
|
9122
|
+
xy();
|
|
9123
9123
|
var AS = {}, TS = {}, OS = {}, yS;
|
|
9124
|
-
function
|
|
9124
|
+
function By() {
|
|
9125
9125
|
if (yS) return OS;
|
|
9126
9126
|
yS = 1;
|
|
9127
9127
|
var e = hh().charAt, r = yn(), t = di(), a = QD(), o = rc(), l = "String Iterator", c = t.set, u = t.getterFor(l);
|
|
@@ -9149,7 +9149,7 @@ function Pg() {
|
|
|
9149
9149
|
}), Sf;
|
|
9150
9150
|
}
|
|
9151
9151
|
var vf, LS;
|
|
9152
|
-
function $
|
|
9152
|
+
function $y() {
|
|
9153
9153
|
if (LS) return vf;
|
|
9154
9154
|
LS = 1;
|
|
9155
9155
|
var e = jt(), r = St(), t = Mt(), a = vt(), o = jD(), l = KD(), c = zD(), u = Tn(), p = K2(), f = Object.assign, h = Object.defineProperty, C = r([].concat);
|
|
@@ -9175,7 +9175,7 @@ function $9() {
|
|
|
9175
9175
|
} : f, vf;
|
|
9176
9176
|
}
|
|
9177
9177
|
var Df, MS;
|
|
9178
|
-
function
|
|
9178
|
+
function Gy() {
|
|
9179
9179
|
if (MS) return Df;
|
|
9180
9180
|
MS = 1;
|
|
9181
9181
|
var e = xa(), r = Mt(), t = Tn(), a = dh(), o = lh(), l = sh(), c = Jr(), u = Og(), p = ac(), f = Xs(), h = Array;
|
|
@@ -9193,7 +9193,7 @@ function G9() {
|
|
|
9193
9193
|
}, Df;
|
|
9194
9194
|
}
|
|
9195
9195
|
var gf, PS;
|
|
9196
|
-
function
|
|
9196
|
+
function Zy() {
|
|
9197
9197
|
if (PS) return gf;
|
|
9198
9198
|
PS = 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 oc() {
|
|
|
9262
9262
|
}, Rf;
|
|
9263
9263
|
}
|
|
9264
9264
|
var wS = {}, HS;
|
|
9265
|
-
function
|
|
9265
|
+
function jy() {
|
|
9266
9266
|
if (HS) return wS;
|
|
9267
9267
|
HS = 1;
|
|
9268
9268
|
var e = zt(), r = St(), t = J2(), a = RangeError, o = String.fromCharCode, l = String.fromCodePoint, c = r([].join), u = !!l && l.length !== 1;
|
|
@@ -9278,7 +9278,7 @@ function j9() {
|
|
|
9278
9278
|
}), wS;
|
|
9279
9279
|
}
|
|
9280
9280
|
var Af, VS;
|
|
9281
|
-
function
|
|
9281
|
+
function zy() {
|
|
9282
9282
|
if (VS) return Af;
|
|
9283
9283
|
VS = 1;
|
|
9284
9284
|
var e = Et(), r = jt(), t = Object.getOwnPropertyDescriptor;
|
|
@@ -9291,8 +9291,8 @@ function z9() {
|
|
|
9291
9291
|
var Tf, kS;
|
|
9292
9292
|
function bg() {
|
|
9293
9293
|
if (kS) return Tf;
|
|
9294
|
-
kS = 1, JD(),
|
|
9295
|
-
var e = zt(), r = Et(), t =
|
|
9294
|
+
kS = 1, JD(), jy();
|
|
9295
|
+
var e = zt(), r = Et(), t = zy(), a = ia(), o = Mt(), l = St(), c = jt(), u = Pg(), p = pi(), f = bi(), h = nh(), C = ko(), E = XD(), m = di(), S = Ks(), v = Xt(), D = Hr(), T = xa(), R = aa(), g = ar(), O = wr(), y = yn(), P = Fa(), M = Ua(), k = ac(), w = Xs(), V = rc(), U = oc(), z = cr(), W = uh(), 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 bg() {
|
|
|
9551
9551
|
}, Tf;
|
|
9552
9552
|
}
|
|
9553
9553
|
var FS;
|
|
9554
|
-
function
|
|
9554
|
+
function qy() {
|
|
9555
9555
|
if (FS) return TS;
|
|
9556
|
-
FS = 1,
|
|
9557
|
-
var e = zt(), r = jt(), t = Pg(), a = Et(), o = xa(), l = St(), c = pi(), u = bi(), p = Ks(), f = Hr(), h = $
|
|
9556
|
+
FS = 1, By();
|
|
9557
|
+
var e = zt(), r = jt(), t = Pg(), a = Et(), o = xa(), l = St(), c = pi(), u = bi(), p = Ks(), f = Hr(), h = $y(), C = Gy(), E = ic(), m = hh().codeAt, S = Zy(), v = yn(), D = ko(), T = oc(), R = bg(), 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 q9() {
|
|
|
10082
10082
|
}), TS;
|
|
10083
10083
|
}
|
|
10084
10084
|
var US;
|
|
10085
|
-
function
|
|
10086
|
-
return US || (US = 1,
|
|
10085
|
+
function Wy() {
|
|
10086
|
+
return US || (US = 1, qy()), AS;
|
|
10087
10087
|
}
|
|
10088
|
-
|
|
10088
|
+
Wy();
|
|
10089
10089
|
var xS = {}, BS;
|
|
10090
|
-
function
|
|
10090
|
+
function Yy() {
|
|
10091
10091
|
if (BS) return xS;
|
|
10092
10092
|
BS = 1;
|
|
10093
10093
|
var e = zt(), r = Mt();
|
|
@@ -10097,14 +10097,14 @@ function Y9() {
|
|
|
10097
10097
|
}
|
|
10098
10098
|
}), xS;
|
|
10099
10099
|
}
|
|
10100
|
-
|
|
10100
|
+
Yy();
|
|
10101
10101
|
var $S = {}, GS;
|
|
10102
|
-
function
|
|
10102
|
+
function Ky() {
|
|
10103
10103
|
return GS || (GS = 1, bg()), $S;
|
|
10104
10104
|
}
|
|
10105
|
-
|
|
10105
|
+
Ky();
|
|
10106
10106
|
var ZS = {}, jS;
|
|
10107
|
-
function
|
|
10107
|
+
function Xy() {
|
|
10108
10108
|
if (jS) return ZS;
|
|
10109
10109
|
jS = 1;
|
|
10110
10110
|
var e = pi(), r = St(), t = yn(), a = oc(), 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 X9() {
|
|
|
10121
10121
|
y = S[R++], y.key === v && y.value === D || c(this, y.key, y.value);
|
|
10122
10122
|
}, { enumerable: !0, unsafe: !0 }), ZS;
|
|
10123
10123
|
}
|
|
10124
|
-
|
|
10124
|
+
Xy();
|
|
10125
10125
|
var zS = {}, qS;
|
|
10126
|
-
function
|
|
10126
|
+
function Qy() {
|
|
10127
10127
|
if (qS) return zS;
|
|
10128
10128
|
qS = 1;
|
|
10129
10129
|
var e = pi(), r = St(), t = yn(), a = oc(), o = URLSearchParams, l = o.prototype, c = r(l.getAll), u = r(l.has), p = new o("a=1");
|
|
@@ -10137,9 +10137,9 @@ function Q9() {
|
|
|
10137
10137
|
return !1;
|
|
10138
10138
|
}, { enumerable: !0, unsafe: !0 }), zS;
|
|
10139
10139
|
}
|
|
10140
|
-
|
|
10140
|
+
Qy();
|
|
10141
10141
|
var WS = {}, YS;
|
|
10142
|
-
function
|
|
10142
|
+
function Jy() {
|
|
10143
10143
|
if (YS) return WS;
|
|
10144
10144
|
YS = 1;
|
|
10145
10145
|
var e = jt(), r = St(), t = bi(), a = URLSearchParams.prototype, o = r(a.forEach);
|
|
@@ -10154,18 +10154,18 @@ function J9() {
|
|
|
10154
10154
|
enumerable: !0
|
|
10155
10155
|
}), WS;
|
|
10156
10156
|
}
|
|
10157
|
-
|
|
10158
|
-
var KS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
|
10157
|
+
Jy();
|
|
10158
|
+
var KS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", e9 = typeof Uint8Array == "undefined" ? [] : new Uint8Array(256);
|
|
10159
10159
|
for (var m2 = 0; m2 < KS.length; m2++)
|
|
10160
|
-
|
|
10160
|
+
e9[KS.charCodeAt(m2)] = m2;
|
|
10161
10161
|
function E2(e, r, t) {
|
|
10162
|
-
return (r =
|
|
10162
|
+
return (r = t9(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
10163
10163
|
}
|
|
10164
|
-
function
|
|
10165
|
-
var r =
|
|
10164
|
+
function t9(e) {
|
|
10165
|
+
var r = r9(e, "string");
|
|
10166
10166
|
return typeof r == "symbol" ? r : r + "";
|
|
10167
10167
|
}
|
|
10168
|
-
function
|
|
10168
|
+
function r9(e, r) {
|
|
10169
10169
|
if (typeof e != "object" || !e) return e;
|
|
10170
10170
|
var t = e[Symbol.toPrimitive];
|
|
10171
10171
|
if (t !== void 0) {
|
|
@@ -10180,8 +10180,8 @@ class XS {
|
|
|
10180
10180
|
E2(this, "deviceId", void 0), E2(this, "facing", void 0), E2(this, "groupId", void 0), E2(this, "label", void 0), this.deviceId = r.deviceId, this.facing = t, this.groupId = r.groupId, this.label = r.label;
|
|
10181
10181
|
}
|
|
10182
10182
|
}
|
|
10183
|
-
var we = {}, Ns = { exports: {} },
|
|
10184
|
-
function
|
|
10183
|
+
var we = {}, Ns = { exports: {} }, n9 = Ns.exports, QS;
|
|
10184
|
+
function i9() {
|
|
10185
10185
|
return QS || (QS = 1, function(e, r) {
|
|
10186
10186
|
(function(t, a) {
|
|
10187
10187
|
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) {
|
|
@@ -10260,17 +10260,17 @@ function iy() {
|
|
|
10260
10260
|
Lt.ua[Be] = He[Be];
|
|
10261
10261
|
};
|
|
10262
10262
|
}
|
|
10263
|
-
})(typeof window == "object" ? window :
|
|
10263
|
+
})(typeof window == "object" ? window : n9);
|
|
10264
10264
|
}(Ns, Ns.exports)), Ns.exports;
|
|
10265
10265
|
}
|
|
10266
10266
|
var JS;
|
|
10267
|
-
function
|
|
10267
|
+
function a9() {
|
|
10268
10268
|
if (JS) return we;
|
|
10269
10269
|
JS = 1, Object.defineProperty(we, "__esModule", { value: !0 });
|
|
10270
10270
|
function e(G) {
|
|
10271
10271
|
return G && typeof G == "object" && "default" in G ? G.default : G;
|
|
10272
10272
|
}
|
|
10273
|
-
var r = Ys(), t = e(r), a =
|
|
10273
|
+
var r = Ys(), t = e(r), a = i9(), o = new a(), l = o.getBrowser(), c = o.getCPU(), u = o.getDevice(), p = o.getEngine(), f = o.getOS(), h = o.getUA(), C = function(N) {
|
|
10274
10274
|
return o.setUA(N);
|
|
10275
10275
|
}, E = function(N) {
|
|
10276
10276
|
if (!N) {
|
|
@@ -10909,33 +10909,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
10909
10909
|
}
|
|
10910
10910
|
return we.AndroidView = dl, we.BrowserTypes = Q, we.BrowserView = pl, we.ConsoleView = pa, we.CustomView = yc, 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 = gc, we.engineVersion = Rc, 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 = Ac, we.isIPad13 = Tc, we.isIPhone13 = Go, we.isIPod13 = cl, we.isLegacyEdge = Oc, 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 = Dc, 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;
|
|
10911
10911
|
}
|
|
10912
|
-
var Kt =
|
|
10912
|
+
var Kt = a9();
|
|
10913
10913
|
const Rr = [];
|
|
10914
10914
|
for (let e = 0; e < 256; ++e)
|
|
10915
10915
|
Rr.push((e + 256).toString(16).slice(1));
|
|
10916
|
-
function
|
|
10916
|
+
function o9(e, r = 0) {
|
|
10917
10917
|
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();
|
|
10918
10918
|
}
|
|
10919
10919
|
let Of;
|
|
10920
|
-
const
|
|
10921
|
-
function
|
|
10920
|
+
const s9 = new Uint8Array(16);
|
|
10921
|
+
function l9() {
|
|
10922
10922
|
if (!Of) {
|
|
10923
10923
|
if (typeof crypto == "undefined" || !crypto.getRandomValues)
|
|
10924
10924
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
10925
10925
|
Of = crypto.getRandomValues.bind(crypto);
|
|
10926
10926
|
}
|
|
10927
|
-
return Of(
|
|
10927
|
+
return Of(s9);
|
|
10928
10928
|
}
|
|
10929
|
-
const
|
|
10929
|
+
const c9 = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), e6 = { randomUUID: c9 };
|
|
10930
10930
|
function hp(e, r, t) {
|
|
10931
10931
|
var o, l, c;
|
|
10932
10932
|
if (e6.randomUUID && !e)
|
|
10933
10933
|
return e6.randomUUID();
|
|
10934
10934
|
e = e || {};
|
|
10935
|
-
const a = (c = (l = e.random) != null ? l : (o = e.rng) == null ? void 0 : o.call(e)) != null ? c :
|
|
10935
|
+
const a = (c = (l = e.random) != null ? l : (o = e.rng) == null ? void 0 : o.call(e)) != null ? c : l9();
|
|
10936
10936
|
if (a.length < 16)
|
|
10937
10937
|
throw new Error("Random bytes length must be >= 16");
|
|
10938
|
-
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128,
|
|
10938
|
+
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, o9(a);
|
|
10939
10939
|
}
|
|
10940
10940
|
const wg = (e) => {
|
|
10941
10941
|
switch (e) {
|
|
@@ -10987,7 +10987,7 @@ function kg() {
|
|
|
10987
10987
|
};
|
|
10988
10988
|
});
|
|
10989
10989
|
}
|
|
10990
|
-
function
|
|
10990
|
+
function u9(e, r) {
|
|
10991
10991
|
const t = e.toLowerCase();
|
|
10992
10992
|
return r.some((a) => t.includes(a));
|
|
10993
10993
|
}
|
|
@@ -11006,7 +11006,7 @@ function Fg(e) {
|
|
|
11006
11006
|
t = (yield navigator.mediaDevices.enumerateDevices()).filter((l) => l.kind === "videoinput"), a.getTracks().forEach((l) => l.stop());
|
|
11007
11007
|
}
|
|
11008
11008
|
for (const a of t)
|
|
11009
|
-
|
|
11009
|
+
u9(a.label, Ey) ? r.backCameras.push(new XS(a, fn.environment)) : r.frontCameras.push(new XS(a, fn.user));
|
|
11010
11010
|
return r;
|
|
11011
11011
|
});
|
|
11012
11012
|
}
|
|
@@ -11159,7 +11159,7 @@ const $g = (e) => {
|
|
|
11159
11159
|
r = hp();
|
|
11160
11160
|
}
|
|
11161
11161
|
return r;
|
|
11162
|
-
},
|
|
11162
|
+
}, f9 = () => ["localhost", "127.0.0.1", "", "::1"].includes(window.location.hostname), d9 = () => !f9() && window.location.protocol === "http:", p9 = () => {
|
|
11163
11163
|
if (typeof window == "undefined") return "SERVER_SIDE_RENDERING";
|
|
11164
11164
|
if (!document.referrer) return window.location.origin;
|
|
11165
11165
|
try {
|
|
@@ -11178,7 +11178,7 @@ const $g = (e) => {
|
|
|
11178
11178
|
platform: "Web",
|
|
11179
11179
|
osVersion: "".concat(Kt.osVersion),
|
|
11180
11180
|
sdkVersion: t,
|
|
11181
|
-
hostAppId:
|
|
11181
|
+
hostAppId: p9(),
|
|
11182
11182
|
serviceUrl: a,
|
|
11183
11183
|
userID: $g(Tg),
|
|
11184
11184
|
deviceModel: "".concat(Kt.osName, "/").concat(Kt.osVersion, " ").concat(Kt.browserName, "/").concat(Kt.fullBrowserVersion),
|
|
@@ -11192,13 +11192,13 @@ const $g = (e) => {
|
|
|
11192
11192
|
var ae = Ys();
|
|
11193
11193
|
const dt = /* @__PURE__ */ Gs(ae);
|
|
11194
11194
|
function Rs(e, r, t) {
|
|
11195
|
-
return (r =
|
|
11195
|
+
return (r = h9(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
11196
11196
|
}
|
|
11197
|
-
function
|
|
11198
|
-
var r =
|
|
11197
|
+
function h9(e) {
|
|
11198
|
+
var r = _9(e, "string");
|
|
11199
11199
|
return typeof r == "symbol" ? r : r + "";
|
|
11200
11200
|
}
|
|
11201
|
-
function
|
|
11201
|
+
function _9(e, r) {
|
|
11202
11202
|
if (typeof e != "object" || !e) return e;
|
|
11203
11203
|
var t = e[Symbol.toPrimitive];
|
|
11204
11204
|
if (t !== void 0) {
|
|
@@ -11208,7 +11208,7 @@ function _y(e, r) {
|
|
|
11208
11208
|
}
|
|
11209
11209
|
return (r === "string" ? String : Number)(e);
|
|
11210
11210
|
}
|
|
11211
|
-
class
|
|
11211
|
+
class m9 {
|
|
11212
11212
|
constructor() {
|
|
11213
11213
|
Rs(this, "_levels", []), Rs(this, "_transports", []), Rs(this, "_logs", []), Rs(this, "_prevTime", 0), Rs(this, "logListener", null);
|
|
11214
11214
|
try {
|
|
@@ -11242,7 +11242,7 @@ class my {
|
|
|
11242
11242
|
o.download = "log.txt", o.href = a, o.click(), window.URL.revokeObjectURL(a), this._logs = [];
|
|
11243
11243
|
}
|
|
11244
11244
|
}
|
|
11245
|
-
const Gr = new
|
|
11245
|
+
const Gr = new m9();
|
|
11246
11246
|
function r6(e, r) {
|
|
11247
11247
|
var t = Object.keys(e);
|
|
11248
11248
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -11257,21 +11257,21 @@ function In(e) {
|
|
|
11257
11257
|
for (var r = 1; r < arguments.length; r++) {
|
|
11258
11258
|
var t = arguments[r] != null ? arguments[r] : {};
|
|
11259
11259
|
r % 2 ? r6(Object(t), !0).forEach(function(a) {
|
|
11260
|
-
|
|
11260
|
+
E9(e, a, t[a]);
|
|
11261
11261
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : r6(Object(t)).forEach(function(a) {
|
|
11262
11262
|
Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(t, a));
|
|
11263
11263
|
});
|
|
11264
11264
|
}
|
|
11265
11265
|
return e;
|
|
11266
11266
|
}
|
|
11267
|
-
function
|
|
11268
|
-
return (r =
|
|
11267
|
+
function E9(e, r, t) {
|
|
11268
|
+
return (r = C9(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
11269
11269
|
}
|
|
11270
|
-
function
|
|
11271
|
-
var r =
|
|
11270
|
+
function C9(e) {
|
|
11271
|
+
var r = I9(e, "string");
|
|
11272
11272
|
return typeof r == "symbol" ? r : r + "";
|
|
11273
11273
|
}
|
|
11274
|
-
function
|
|
11274
|
+
function I9(e, r) {
|
|
11275
11275
|
if (typeof e != "object" || !e) return e;
|
|
11276
11276
|
var t = e[Symbol.toPrimitive];
|
|
11277
11277
|
if (t !== void 0) {
|
|
@@ -11282,7 +11282,7 @@ function Iy(e, r) {
|
|
|
11282
11282
|
return (r === "string" ? String : Number)(e);
|
|
11283
11283
|
}
|
|
11284
11284
|
const ya = Gr.create("main");
|
|
11285
|
-
function
|
|
11285
|
+
function S9() {
|
|
11286
11286
|
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;
|
|
11287
11287
|
const [{
|
|
11288
11288
|
status: a,
|
|
@@ -11310,7 +11310,7 @@ function Sy() {
|
|
|
11310
11310
|
})), p(S));
|
|
11311
11311
|
}).catch((S) => {
|
|
11312
11312
|
ya("Error in receiving media devices: ".concat(S)), m && c((v) => In(In({}, v), {}, {
|
|
11313
|
-
status:
|
|
11313
|
+
status: d9() ? Ft.HTTP_NOT_SUPPORTED : window.isSecureContext ? Ft.NOT_SUPPORTED : Ft.INSECURE_PAGE_CONTEXT
|
|
11314
11314
|
}));
|
|
11315
11315
|
}), () => {
|
|
11316
11316
|
m = !1;
|
|
@@ -11379,18 +11379,18 @@ function Sy() {
|
|
|
11379
11379
|
onPlay: E
|
|
11380
11380
|
};
|
|
11381
11381
|
}
|
|
11382
|
-
const
|
|
11383
|
-
container:
|
|
11384
|
-
video:
|
|
11382
|
+
const v9 = "_container_1hyic_1", D9 = "_video_1hyic_6", n6 = {
|
|
11383
|
+
container: v9,
|
|
11384
|
+
video: D9
|
|
11385
11385
|
};
|
|
11386
11386
|
function Un(e, r, t) {
|
|
11387
|
-
return (r =
|
|
11387
|
+
return (r = g9(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
11388
11388
|
}
|
|
11389
|
-
function
|
|
11390
|
-
var r =
|
|
11389
|
+
function g9(e) {
|
|
11390
|
+
var r = R9(e, "string");
|
|
11391
11391
|
return typeof r == "symbol" ? r : r + "";
|
|
11392
11392
|
}
|
|
11393
|
-
function
|
|
11393
|
+
function R9(e, r) {
|
|
11394
11394
|
if (typeof e != "object" || !e) return e;
|
|
11395
11395
|
var t = e[Symbol.toPrimitive];
|
|
11396
11396
|
if (t !== void 0) {
|
|
@@ -11401,7 +11401,7 @@ function Ry(e, r) {
|
|
|
11401
11401
|
return (r === "string" ? String : Number)(e);
|
|
11402
11402
|
}
|
|
11403
11403
|
const go = Gr.create("main");
|
|
11404
|
-
class
|
|
11404
|
+
class A9 {
|
|
11405
11405
|
constructor() {
|
|
11406
11406
|
Un(this, "chunks", []), Un(this, "recorder", null), Un(
|
|
11407
11407
|
this,
|
|
@@ -11502,7 +11502,7 @@ const Zg = ae.forwardRef(function(r, t) {
|
|
|
11502
11502
|
camera: T,
|
|
11503
11503
|
sortedDevices: R,
|
|
11504
11504
|
onPlay: g
|
|
11505
|
-
} =
|
|
11505
|
+
} = S9(l, c, p), [O, y] = ae.useState(!1), P = ae.useRef(null), M = ae.useRef(null), k = ae.useRef(null), w = () => {
|
|
11506
11506
|
g(), C == null || C();
|
|
11507
11507
|
};
|
|
11508
11508
|
return ae.useEffect(() => {
|
|
@@ -11533,12 +11533,12 @@ const Zg = ae.forwardRef(function(r, t) {
|
|
|
11533
11533
|
};
|
|
11534
11534
|
}, []), ae.useEffect(() => {
|
|
11535
11535
|
const V = M.current;
|
|
11536
|
-
if (v === Ft.READY && V && D && (V.srcObject = D, Kt.isIOS ? setTimeout(() => V.play(),
|
|
11536
|
+
if (v === Ft.READY && V && D && (V.srcObject = D, Kt.isIOS ? setTimeout(() => V.play(), my) : V.play(), h)) {
|
|
11537
11537
|
if (P.current) {
|
|
11538
11538
|
var X;
|
|
11539
11539
|
(X = P.current) === null || X === void 0 || X.stopRecord();
|
|
11540
11540
|
} else {
|
|
11541
|
-
const ce = new
|
|
11541
|
+
const ce = new A9();
|
|
11542
11542
|
if (typeof h != "boolean") {
|
|
11543
11543
|
var z, W;
|
|
11544
11544
|
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;
|
|
@@ -11556,12 +11556,12 @@ const Zg = ae.forwardRef(function(r, t) {
|
|
|
11556
11556
|
}, [v, T, D, R, h]), /* @__PURE__ */ q.jsx("div", { part: "webcamera-container", ref: k, className: n6.container, children: /* @__PURE__ */ q.jsx("video", { part: "webcamera-video", onAbort: E, onLoadedData: w, className: n6.video, style: {
|
|
11557
11557
|
transform: "scaleX(".concat(O ? -1 : 1, ")")
|
|
11558
11558
|
}, ref: M, playsInline: !0, disablePictureInPicture: !0 }) });
|
|
11559
|
-
}),
|
|
11560
|
-
container:
|
|
11561
|
-
layout:
|
|
11562
|
-
loader:
|
|
11559
|
+
}), T9 = "_container_bzjwi_1", O9 = "_layout_bzjwi_2", y9 = "_loader_bzjwi_19", yf = {
|
|
11560
|
+
container: T9,
|
|
11561
|
+
layout: O9,
|
|
11562
|
+
loader: y9
|
|
11563
11563
|
};
|
|
11564
|
-
function
|
|
11564
|
+
function N9(e) {
|
|
11565
11565
|
switch (e) {
|
|
11566
11566
|
case it.SHAKING:
|
|
11567
11567
|
return {
|
|
@@ -11605,12 +11605,12 @@ function Ny(e) {
|
|
|
11605
11605
|
};
|
|
11606
11606
|
}
|
|
11607
11607
|
}
|
|
11608
|
-
const
|
|
11609
|
-
svg:
|
|
11610
|
-
},
|
|
11611
|
-
onEvent: () =>
|
|
11608
|
+
const L9 = "_svg_15k34_1", M9 = {
|
|
11609
|
+
svg: L9
|
|
11610
|
+
}, P9 = Gr.create("main"), jg = ae.createContext({
|
|
11611
|
+
onEvent: () => P9('Function "onEvent" not defined.')
|
|
11612
11612
|
}), ur = () => ae.useContext(jg);
|
|
11613
|
-
function
|
|
11613
|
+
function b9(e) {
|
|
11614
11614
|
let {
|
|
11615
11615
|
layoutParams: r,
|
|
11616
11616
|
maskParams: t,
|
|
@@ -11619,8 +11619,8 @@ function by(e) {
|
|
|
11619
11619
|
const {
|
|
11620
11620
|
cameraFrameShapeType: o = ys.line,
|
|
11621
11621
|
cameraFrameLineCap: l = mg.butt,
|
|
11622
|
-
cameraFrameLineLength: c =
|
|
11623
|
-
cameraFrameCornerRadius: u =
|
|
11622
|
+
cameraFrameLineLength: c = ty,
|
|
11623
|
+
cameraFrameCornerRadius: u = ey
|
|
11624
11624
|
} = ur(), [p, f] = ae.useState(null);
|
|
11625
11625
|
return ae.useEffect(() => {
|
|
11626
11626
|
if (o !== ys.corners) return;
|
|
@@ -11644,7 +11644,7 @@ function by(e) {
|
|
|
11644
11644
|
},
|
|
11645
11645
|
pathWidth: h
|
|
11646
11646
|
});
|
|
11647
|
-
}, [o, t, c, u]), /* @__PURE__ */ q.jsxs("svg", { part: "frame", className:
|
|
11647
|
+
}, [o, t, c, u]), /* @__PURE__ */ q.jsxs("svg", { part: "frame", className: M9.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: [
|
|
11648
11648
|
/* @__PURE__ */ q.jsx("defs", { children: /* @__PURE__ */ q.jsxs("mask", { id: "bgClip", children: [
|
|
11649
11649
|
/* @__PURE__ */ q.jsx("rect", { x: "0", y: "0", width: r.width, height: r.height, fill: "#fff", part: "frame-mask-background" }),
|
|
11650
11650
|
/* @__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" })
|
|
@@ -11685,20 +11685,20 @@ function Ep(e, r) {
|
|
|
11685
11685
|
function mh(e, r) {
|
|
11686
11686
|
e.prototype = Object.create(r.prototype), e.prototype.constructor = e, Ep(e, r);
|
|
11687
11687
|
}
|
|
11688
|
-
function
|
|
11688
|
+
function w9(e, r) {
|
|
11689
11689
|
return e.classList ? !!r && e.classList.contains(r) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + r + " ") !== -1;
|
|
11690
11690
|
}
|
|
11691
|
-
function
|
|
11692
|
-
e.classList ? e.classList.add(r) :
|
|
11691
|
+
function H9(e, r) {
|
|
11692
|
+
e.classList ? e.classList.add(r) : w9(e, r) || (typeof e.className == "string" ? e.className = e.className + " " + r : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + r));
|
|
11693
11693
|
}
|
|
11694
11694
|
function i6(e, r) {
|
|
11695
11695
|
return e.replace(new RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
11696
11696
|
}
|
|
11697
|
-
function
|
|
11697
|
+
function V9(e, r) {
|
|
11698
11698
|
e.classList ? e.classList.remove(r) : typeof e.className == "string" ? e.className = i6(e.className, r) : e.setAttribute("class", i6(e.className && e.className.baseVal || "", r));
|
|
11699
11699
|
}
|
|
11700
|
-
var
|
|
11701
|
-
const C2 = /* @__PURE__ */ Gs(
|
|
11700
|
+
var k9 = eg();
|
|
11701
|
+
const C2 = /* @__PURE__ */ Gs(k9), a6 = {
|
|
11702
11702
|
disabled: !1
|
|
11703
11703
|
}, Eh = dt.createContext(null);
|
|
11704
11704
|
var qg = function(r) {
|
|
@@ -11854,13 +11854,13 @@ wi.EXITED = Na;
|
|
|
11854
11854
|
wi.ENTERING = gn;
|
|
11855
11855
|
wi.ENTERED = ci;
|
|
11856
11856
|
wi.EXITING = ks;
|
|
11857
|
-
var
|
|
11857
|
+
var F9 = function(r, t) {
|
|
11858
11858
|
return r && t && t.split(" ").forEach(function(a) {
|
|
11859
|
-
return
|
|
11859
|
+
return H9(r, a);
|
|
11860
11860
|
});
|
|
11861
11861
|
}, Nf = function(r, t) {
|
|
11862
11862
|
return r && t && t.split(" ").forEach(function(a) {
|
|
11863
|
-
return
|
|
11863
|
+
return V9(r, a);
|
|
11864
11864
|
});
|
|
11865
11865
|
}, Ch = /* @__PURE__ */ function(e) {
|
|
11866
11866
|
mh(r, e);
|
|
@@ -11903,7 +11903,7 @@ var Fy = function(r, t) {
|
|
|
11903
11903
|
var t = r.prototype;
|
|
11904
11904
|
return t.addClass = function(o, l, c) {
|
|
11905
11905
|
var u = this.getClassNames(l)[c + "ClassName"], p = this.getClassNames("enter"), f = p.doneClassName;
|
|
11906
|
-
l === "appear" && c === "done" && f && (u += " " + f), c === "active" && o && qg(o), u && (this.appliedClasses[l][c] = u,
|
|
11906
|
+
l === "appear" && c === "done" && f && (u += " " + f), c === "active" && o && qg(o), u && (this.appliedClasses[l][c] = u, F9(o, u));
|
|
11907
11907
|
}, t.removeClasses = function(o, l) {
|
|
11908
11908
|
var c = this.appliedClasses[l], u = c.base, p = c.active, f = c.done;
|
|
11909
11909
|
this.appliedClasses[l] = {}, u && Nf(o, u), p && Nf(o, p), f && Nf(o, f);
|
|
@@ -11926,7 +11926,7 @@ Ch.defaultProps = {
|
|
|
11926
11926
|
};
|
|
11927
11927
|
Ch.propTypes = {};
|
|
11928
11928
|
var I2, S2;
|
|
11929
|
-
function
|
|
11929
|
+
function U9(e, r) {
|
|
11930
11930
|
return !(e === r || dt.isValidElement(e) && dt.isValidElement(r) && e.key != null && e.key === r.key);
|
|
11931
11931
|
}
|
|
11932
11932
|
var Po = {
|
|
@@ -11937,7 +11937,7 @@ var Po = {
|
|
|
11937
11937
|
var o;
|
|
11938
11938
|
r.props[t] && (o = r.props)[t].apply(o, arguments), a();
|
|
11939
11939
|
};
|
|
11940
|
-
},
|
|
11940
|
+
}, x9 = (I2 = {}, I2[Po.out] = function(e) {
|
|
11941
11941
|
var r = e.current, t = e.changeState;
|
|
11942
11942
|
return dt.cloneElement(r, {
|
|
11943
11943
|
in: !1,
|
|
@@ -11953,7 +11953,7 @@ var Po = {
|
|
|
11953
11953
|
t(gn);
|
|
11954
11954
|
})
|
|
11955
11955
|
})];
|
|
11956
|
-
}, I2),
|
|
11956
|
+
}, I2), B9 = (S2 = {}, S2[Po.out] = function(e) {
|
|
11957
11957
|
var r = e.children, t = e.changeState;
|
|
11958
11958
|
return dt.cloneElement(r, {
|
|
11959
11959
|
in: !0,
|
|
@@ -11998,7 +11998,7 @@ var Po = {
|
|
|
11998
11998
|
current: null
|
|
11999
11999
|
} : l.status === gn && o.mode === Po.in ? {
|
|
12000
12000
|
status: gn
|
|
12001
|
-
} : l.current &&
|
|
12001
|
+
} : l.current && U9(l.current, o.children) ? {
|
|
12002
12002
|
status: ks
|
|
12003
12003
|
} : {
|
|
12004
12004
|
current: dt.cloneElement(o.children, {
|
|
@@ -12014,10 +12014,10 @@ var Po = {
|
|
|
12014
12014
|
}, C;
|
|
12015
12015
|
switch (p) {
|
|
12016
12016
|
case gn:
|
|
12017
|
-
C =
|
|
12017
|
+
C = B9[c](h);
|
|
12018
12018
|
break;
|
|
12019
12019
|
case ks:
|
|
12020
|
-
C =
|
|
12020
|
+
C = x9[c](h);
|
|
12021
12021
|
break;
|
|
12022
12022
|
case ci:
|
|
12023
12023
|
C = f;
|
|
@@ -12033,29 +12033,29 @@ Ih.propTypes = {};
|
|
|
12033
12033
|
Ih.defaultProps = {
|
|
12034
12034
|
mode: Po.out
|
|
12035
12035
|
};
|
|
12036
|
-
const $
|
|
12036
|
+
const $9 = "_message_13yzs_10", G9 = "_icon_13yzs_45", Z9 = "_title_13yzs_96", j9 = "_copyright_13yzs_103", sn = {
|
|
12037
12037
|
"hint-container": "_hint-container_13yzs_1",
|
|
12038
12038
|
"tips-frameless": "_tips-frameless_13yzs_10",
|
|
12039
|
-
message: $
|
|
12039
|
+
message: $9,
|
|
12040
12040
|
"fade-enter": "_fade-enter_13yzs_14",
|
|
12041
12041
|
"fade-exit": "_fade-exit_13yzs_18",
|
|
12042
12042
|
"fade-enter-active": "_fade-enter-active_13yzs_22",
|
|
12043
12043
|
"fade-exit-active": "_fade-exit-active_13yzs_26",
|
|
12044
12044
|
"message-container": "_message-container_13yzs_35",
|
|
12045
|
-
icon:
|
|
12045
|
+
icon: G9,
|
|
12046
12046
|
"processing-error-icon": "_processing-error-icon_13yzs_61",
|
|
12047
12047
|
"search-icon": "_search-icon_13yzs_67",
|
|
12048
12048
|
"square-icon": "_square-icon_13yzs_73",
|
|
12049
12049
|
"message-background": "_message-background_13yzs_88",
|
|
12050
|
-
title:
|
|
12051
|
-
copyright:
|
|
12050
|
+
title: Z9,
|
|
12051
|
+
copyright: j9
|
|
12052
12052
|
};
|
|
12053
|
-
var Ms = { exports: {} },
|
|
12054
|
-
function
|
|
12053
|
+
var Ms = { exports: {} }, z9 = Ms.exports, o6;
|
|
12054
|
+
function q9() {
|
|
12055
12055
|
return o6 || (o6 = 1, function(e, r) {
|
|
12056
12056
|
(function(t, a) {
|
|
12057
12057
|
a(r, Ys());
|
|
12058
|
-
})(
|
|
12058
|
+
})(z9, function(t, a) {
|
|
12059
12059
|
var o = "default" in a ? a.default : a;
|
|
12060
12060
|
function l(S) {
|
|
12061
12061
|
return (l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(v) {
|
|
@@ -12117,10 +12117,10 @@ function qy() {
|
|
|
12117
12117
|
});
|
|
12118
12118
|
}(Ms, Ms.exports)), Ms.exports;
|
|
12119
12119
|
}
|
|
12120
|
-
var oa =
|
|
12121
|
-
const
|
|
12122
|
-
copyright:
|
|
12123
|
-
},
|
|
12120
|
+
var oa = q9();
|
|
12121
|
+
const W9 = "_copyright_6b3ik_1", Y9 = {
|
|
12122
|
+
copyright: W9
|
|
12123
|
+
}, K9 = "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";
|
|
12124
12124
|
function Wg(e) {
|
|
12125
12125
|
let {
|
|
12126
12126
|
className: r
|
|
@@ -12128,10 +12128,10 @@ function Wg(e) {
|
|
|
12128
12128
|
const {
|
|
12129
12129
|
copyright: t = !0
|
|
12130
12130
|
} = ur();
|
|
12131
|
-
return t ? /* @__PURE__ */ q.jsxs("div", { part: "container-copyright", className: "".concat(
|
|
12131
|
+
return t ? /* @__PURE__ */ q.jsxs("div", { part: "container-copyright", className: "".concat(Y9.copyright, " ").concat(r != null ? r : ""), children: [
|
|
12132
12132
|
/* @__PURE__ */ q.jsx("span", { "data-e2e": "powered-by", children: "Powered by" }),
|
|
12133
12133
|
" ",
|
|
12134
|
-
/* @__PURE__ */ q.jsx("img", { src:
|
|
12134
|
+
/* @__PURE__ */ q.jsx("img", { src: K9, alt: "regula-logo" })
|
|
12135
12135
|
] }) : null;
|
|
12136
12136
|
}
|
|
12137
12137
|
function Cp(e) {
|
|
@@ -12166,7 +12166,7 @@ function Cp(e) {
|
|
|
12166
12166
|
return "id-front-icon";
|
|
12167
12167
|
}
|
|
12168
12168
|
}
|
|
12169
|
-
function
|
|
12169
|
+
function X9(e) {
|
|
12170
12170
|
switch (e) {
|
|
12171
12171
|
case yo.Horizontal:
|
|
12172
12172
|
return "horizontal";
|
|
@@ -12180,8 +12180,8 @@ function Xy(e) {
|
|
|
12180
12180
|
return "";
|
|
12181
12181
|
}
|
|
12182
12182
|
}
|
|
12183
|
-
const
|
|
12184
|
-
announcer:
|
|
12183
|
+
const Q9 = "_announcer_1qj2e_1", J9 = {
|
|
12184
|
+
announcer: Q9
|
|
12185
12185
|
};
|
|
12186
12186
|
function Fs(e) {
|
|
12187
12187
|
let {
|
|
@@ -12198,7 +12198,7 @@ function Fs(e) {
|
|
|
12198
12198
|
return () => {
|
|
12199
12199
|
clearTimeout(l);
|
|
12200
12200
|
};
|
|
12201
|
-
}, [r, t]), /* @__PURE__ */ q.jsx("div", { role: "status", "aria-live": "assertive", className:
|
|
12201
|
+
}, [r, t]), /* @__PURE__ */ q.jsx("div", { role: "status", "aria-live": "assertive", className: J9.announcer, children: a });
|
|
12202
12202
|
}
|
|
12203
12203
|
const eN = "_tilt_e1bzj_1", tN = "_vertical_e1bzj_19", rN = "_horizontal_e1bzj_23", Lf = {
|
|
12204
12204
|
tilt: eN,
|
|
@@ -12226,7 +12226,7 @@ const eN = "_tilt_e1bzj_1", tN = "_vertical_e1bzj_19", rN = "_horizontal_e1bzj_2
|
|
|
12226
12226
|
const u = Cp((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;
|
|
12227
12227
|
return /* @__PURE__ */ q.jsxs(q.Fragment, { children: [
|
|
12228
12228
|
/* @__PURE__ */ q.jsx(Fs, { text: "Tilt the document" }),
|
|
12229
|
-
/* @__PURE__ */ q.jsx("div", { part: "hint-holo-".concat(u), className: "".concat(Lf.tilt, " ").concat(Lf[
|
|
12229
|
+
/* @__PURE__ */ q.jsx("div", { part: "hint-holo-".concat(u), className: "".concat(Lf.tilt, " ").concat(Lf[X9(p)], " ").concat((l = Lf[u]) !== null && l !== void 0 ? l : ""), ref: t, role: "img", "aria-label": "Document tilt animation" })
|
|
12230
12230
|
] });
|
|
12231
12231
|
}), iN = "_flip_194nz_1", aN = "_front_194nz_10", oN = "_back_194nz_11", sN = "_slide_194nz_22", Xi = {
|
|
12232
12232
|
flip: iN,
|
|
@@ -12480,12 +12480,12 @@ function Yg(e) {
|
|
|
12480
12480
|
const {
|
|
12481
12481
|
cameraFrameBorderWidth: R = JO,
|
|
12482
12482
|
cameraFrame: g = !0,
|
|
12483
|
-
cameraFrameDefaultColor: O =
|
|
12484
|
-
cameraFrameActiveColor: y =
|
|
12485
|
-
} = 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 >
|
|
12483
|
+
cameraFrameDefaultColor: O = ry,
|
|
12484
|
+
cameraFrameActiveColor: y = ny
|
|
12485
|
+
} = 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 > _y), 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, {
|
|
12486
12486
|
icon: Q,
|
|
12487
12487
|
title: b
|
|
12488
|
-
} =
|
|
12488
|
+
} = N9(r), j = u.videoParams.width > u.videoParams.height;
|
|
12489
12489
|
return ae.useEffect(() => {
|
|
12490
12490
|
r === it.START_NEXT_PAGE && k(!0);
|
|
12491
12491
|
}, [r]), ae.useEffect(() => {
|
|
@@ -12532,7 +12532,7 @@ function Yg(e) {
|
|
|
12532
12532
|
}, [U, W, u.videoParams.width]), /* @__PURE__ */ q.jsxs("div", { part: "layout-container", className: yf.container, children: [
|
|
12533
12533
|
t,
|
|
12534
12534
|
r !== it.SERVICE_PREPARING && ee ? /* @__PURE__ */ q.jsxs("div", { part: "layout", ref: P, className: yf.layout, children: [
|
|
12535
|
-
g && w && U && /* @__PURE__ */ q.jsx(
|
|
12535
|
+
g && w && U && /* @__PURE__ */ q.jsx(b9, { layoutParams: U, maskParams: w, borderColor: B }),
|
|
12536
12536
|
/* @__PURE__ */ q.jsx(hN, { status: r, title: b, icon: Q, maskParams: w, layoutParams: U, controlsWidth: W, isLandscape: j, animationImage: D, holoData: h }),
|
|
12537
12537
|
/* @__PURE__ */ q.jsx(_N, { 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 })
|
|
12538
12538
|
] }) : /* @__PURE__ */ q.jsx(Sh, { onClose: f, className: yf.loader, children: /* @__PURE__ */ q.jsx(Js, {}) })
|
|
@@ -16763,11 +16763,11 @@ function Ob(e, r) {
|
|
|
16763
16763
|
var t, a;
|
|
16764
16764
|
const o = {
|
|
16765
16765
|
[P2.BarcodeMRZ]: {
|
|
16766
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.3/barcodemrz/aba92da2-
|
|
16766
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.3/barcodemrz/aba92da2-1380ce7c3",
|
|
16767
16767
|
DEV: "./wasm/barcode-mrz/"
|
|
16768
16768
|
},
|
|
16769
16769
|
[P2.BoundsLite]: {
|
|
16770
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.3/boundslite/aba92da2-
|
|
16770
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/8.3/boundslite/aba92da2-1380ce7c3",
|
|
16771
16771
|
DEV: "./wasm/bounds-lite/"
|
|
16772
16772
|
}
|
|
16773
16773
|
};
|
|
@@ -16826,7 +16826,7 @@ function jR(e) {
|
|
|
16826
16826
|
return ae.useEffect(() => {
|
|
16827
16827
|
if (!(!l.initData || l.initialized || !r))
|
|
16828
16828
|
if (l.initData.license.errorCode === 0 && l.initData.license.status) {
|
|
16829
|
-
const u = l.initData.scenario.filter((f) => f.name !==
|
|
16829
|
+
const u = l.initData.scenario.filter((f) => f.name !== iy);
|
|
16830
16830
|
u.some((f) => f.name === r) ? (c({
|
|
16831
16831
|
initialized: !0,
|
|
16832
16832
|
initData: {
|
|
@@ -16952,7 +16952,7 @@ function kb(e) {
|
|
|
16952
16952
|
internalScenario: h,
|
|
16953
16953
|
videoCaptureMotionControl: C,
|
|
16954
16954
|
nextPageAnimationStartDelay: E = Ig,
|
|
16955
|
-
nextPageAnimationEndDelay: m =
|
|
16955
|
+
nextPageAnimationEndDelay: m = ay
|
|
16956
16956
|
} = ur(), {
|
|
16957
16957
|
isShake: S
|
|
16958
16958
|
} = bb(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({
|
|
@@ -16973,7 +16973,7 @@ function kb(e) {
|
|
|
16973
16973
|
}), b = c === ra.captureFrame, j = ce.status === it.START_NEXT_PAGE;
|
|
16974
16974
|
return ae.useEffect(() => {
|
|
16975
16975
|
if (u) {
|
|
16976
|
-
if (u.recognizerProcessParam = $r(
|
|
16976
|
+
if (u.recognizerProcessParam = $r(ly, u.recognizerProcessParam), f !== void 0) {
|
|
16977
16977
|
const le = {
|
|
16978
16978
|
processParam: {
|
|
16979
16979
|
multipageProcessing: f
|
|
@@ -17011,7 +17011,7 @@ function kb(e) {
|
|
|
17011
17011
|
}, [Q, X]), ae.useEffect(() => {
|
|
17012
17012
|
var le;
|
|
17013
17013
|
if (!u || !ee || R || b || t.videoStatus !== Ft.PLAY || !t.sortedDevices) return;
|
|
17014
|
-
const pe = Gg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.
|
|
17014
|
+
const pe = Gg([...t.sortedDevices.frontCameras, ...t.sortedDevices.backCameras], t.camera.deviceId, "8.3.2375-nightly".trim(), ((le = u.recognizerProcessParam.processParam.backendProcessing) === null || le === void 0 ? void 0 : le.serviceURL) || "");
|
|
17015
17015
|
Qi("Metadata: ".concat(JSON.stringify(pe))), (u.recognizerProcessParam.processParam.backendProcessing ? u.createBackendTransaction(pe) : u.startNewDocument(pe)).then(() => {
|
|
17016
17016
|
g(!0), Qi("New document started");
|
|
17017
17017
|
}).catch((ge) => {
|
|
@@ -17408,7 +17408,7 @@ function zR(e) {
|
|
|
17408
17408
|
] }),
|
|
17409
17409
|
/* @__PURE__ */ q.jsx("input", { ref: C, style: {
|
|
17410
17410
|
display: "none"
|
|
17411
|
-
}, type: "file", multiple: p, accept:
|
|
17411
|
+
}, type: "file", multiple: p, accept: dy.join(","), onChange: S })
|
|
17412
17412
|
] });
|
|
17413
17413
|
}
|
|
17414
17414
|
var f7 = {}, d7;
|
|
@@ -17498,7 +17498,7 @@ function tw(e) {
|
|
|
17498
17498
|
});
|
|
17499
17499
|
return ae.useEffect(() => {
|
|
17500
17500
|
if (l) {
|
|
17501
|
-
if (l.imageProcessParam = $r(
|
|
17501
|
+
if (l.imageProcessParam = $r(cy, l.imageProcessParam), c !== void 0) {
|
|
17502
17502
|
const E = {
|
|
17503
17503
|
processParam: {
|
|
17504
17504
|
scenario: c
|
|
@@ -17526,7 +17526,7 @@ function tw(e) {
|
|
|
17526
17526
|
var D;
|
|
17527
17527
|
if ((D = l.imageProcessParam.processParam) !== null && D !== void 0 && D.backendProcessing) {
|
|
17528
17528
|
var T;
|
|
17529
|
-
const g = Gg([], "", "8.3.
|
|
17529
|
+
const g = Gg([], "", "8.3.2375-nightly".trim(), ((T = l.recognizerProcessParam.processParam) === null || T === void 0 || (T = T.backendProcessing) === null || T === void 0 ? void 0 : T.serviceURL) || "");
|
|
17530
17530
|
yield l.createBackendTransaction(g, l.imageProcessParam);
|
|
17531
17531
|
}
|
|
17532
17532
|
const R = yield l.processImage(r, m);
|
|
@@ -17634,7 +17634,7 @@ function qR(e) {
|
|
|
17634
17634
|
[h]: C
|
|
17635
17635
|
});
|
|
17636
17636
|
}
|
|
17637
|
-
let u =
|
|
17637
|
+
let u = py;
|
|
17638
17638
|
const p = [a, nw(), iw()];
|
|
17639
17639
|
for (const h of p) {
|
|
17640
17640
|
if (!h) continue;
|
|
@@ -17644,7 +17644,7 @@ function qR(e) {
|
|
|
17644
17644
|
break;
|
|
17645
17645
|
}
|
|
17646
17646
|
}
|
|
17647
|
-
const f =
|
|
17647
|
+
const f = hy.includes(u) ? dp.Rtl : dp.Ltr;
|
|
17648
17648
|
return /* @__PURE__ */ q.jsx(oa.LocalizationProvider, { disableCache: !0, locale: u, translations: c, children: /* @__PURE__ */ q.jsx(e, Do(ke({}, t), { direction: f })) });
|
|
17649
17649
|
}
|
|
17650
17650
|
return r;
|
|
@@ -23346,12 +23346,12 @@ const UD = Gr.create("wasm"), Ir = Gr.create("main");
|
|
|
23346
23346
|
class n0e {
|
|
23347
23347
|
constructor() {
|
|
23348
23348
|
Pr(this, "_worker", null), Pr(this, "_initializeListener", null), Pr(this, "_processingListener", null), Pr(this, "_queueService", new Wue()), Pr(this, "_initProcess", null), Pr(this, "version", {
|
|
23349
|
-
component: "8.3.
|
|
23349
|
+
component: "8.3.2375-nightly".trim()
|
|
23350
23350
|
}), Pr(this, "onFinalize", null), Pr(this, "isPrepared", !1), Pr(this, "isInitialized", !1), Pr(this, "isProcessing", !1), Pr(this, "initData", null), Pr(this, "recognizerProcessParam", {
|
|
23351
23351
|
processParam: {}
|
|
23352
23352
|
}), Pr(this, "imageProcessParam", {
|
|
23353
23353
|
processParam: {}
|
|
23354
|
-
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.3/barcodemrz/aba92da2-
|
|
23354
|
+
}), Pr(this, "recognizeListener", null), Pr(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/8.3/barcodemrz/aba92da2-1380ce7c3");
|
|
23355
23355
|
}
|
|
23356
23356
|
get processingListener() {
|
|
23357
23357
|
return this._processingListener;
|
|
@@ -23402,7 +23402,7 @@ class n0e {
|
|
|
23402
23402
|
if (u === fp.ok || u === fp.badLicense && !p)
|
|
23403
23403
|
Ir("Method ".concat(l, ": { code: ").concat(u, " } ")), t(c);
|
|
23404
23404
|
else {
|
|
23405
|
-
const f =
|
|
23405
|
+
const f = sy[u] || u, h = "Method ".concat(l, ": ").concat(f);
|
|
23406
23406
|
Ir(h), a(h);
|
|
23407
23407
|
}
|
|
23408
23408
|
}
|
|
@@ -23417,8 +23417,8 @@ class n0e {
|
|
|
23417
23417
|
var t;
|
|
23418
23418
|
Ir("Preparing the service");
|
|
23419
23419
|
{
|
|
23420
|
-
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.3/barcodemrz/aba92da2-
|
|
23421
|
-
let c = yield (yield fetch("".concat(o, "/").concat(
|
|
23420
|
+
const a = this.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/8.3/barcodemrz/aba92da2-1380ce7c3", o = e0e(r ? Ob(r, "PROD") : this.workerPath);
|
|
23421
|
+
let c = yield (yield fetch("".concat(o, "/").concat(oy))).text();
|
|
23422
23422
|
!a && !r && (c = Tb(c, o));
|
|
23423
23423
|
const u = new Blob([c], {
|
|
23424
23424
|
type: "text/plain"
|
|
@@ -23596,7 +23596,7 @@ class A0e {
|
|
|
23596
23596
|
cameraMode: fn.environment,
|
|
23597
23597
|
preferredCameraId: "",
|
|
23598
23598
|
resolution: ui.HD
|
|
23599
|
-
}), cn(this, "isProcessing", !1), cn(this, "isInitialized", !1), cn(this, "videoElement", null), this.videoElement = r || null, this._documentReaderService.recognizerProcessParam =
|
|
23599
|
+
}), cn(this, "isProcessing", !1), cn(this, "isInitialized", !1), cn(this, "videoElement", null), this.videoElement = r || null, this._documentReaderService.recognizerProcessParam = uy, this._documentReaderService.imageProcessParam = fy;
|
|
23600
23600
|
}
|
|
23601
23601
|
get recognizeListener() {
|
|
23602
23602
|
return this._documentReaderService.recognizeListener;
|