@regulaforensics/vp-frontend-document-components 9.10.3123-nightly → 9.10.3129-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/index.d.ts +1 -1
- package/dist/main.iife.js +26 -26
- package/dist/main.js +701 -797
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -2526,8 +2526,7 @@ var Xn = /* @__PURE__ */ s(((e, t) => {
|
|
|
2526
2526
|
if (o) return o < 67;
|
|
2527
2527
|
if (s) return !0;
|
|
2528
2528
|
if (l) return l < 602;
|
|
2529
|
-
var e = new p(516), t = Array(516), n, r;
|
|
2530
|
-
for (n = 0; n < 516; n++) r = n % 4, e[n] = 515 - n, t[n] = n - 2 * r + 3;
|
|
2529
|
+
for (var e = new p(516), t = Array(516), n = 0, r; n < 516; n++) r = n % 4, e[n] = 515 - n, t[n] = n - 2 * r + 3;
|
|
2531
2530
|
for (m(e, function(e, t) {
|
|
2532
2531
|
return (e / 4 | 0) - (t / 4 | 0);
|
|
2533
2532
|
}), n = 0; n < 516; n++) if (e[n] !== t[n]) return !0;
|
|
@@ -2771,8 +2770,7 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
2771
2770
|
if (!(u && u > 3)) {
|
|
2772
2771
|
if (d) return !0;
|
|
2773
2772
|
if (p) return p < 603;
|
|
2774
|
-
var e = "", t, n, r, i;
|
|
2775
|
-
for (t = 65; t < 76; t++) {
|
|
2773
|
+
for (var e = "", t = 65, n, r, i; t < 76; t++) {
|
|
2776
2774
|
switch (n = String.fromCharCode(t), t) {
|
|
2777
2775
|
case 66:
|
|
2778
2776
|
case 69:
|
|
@@ -2813,8 +2811,7 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
2813
2811
|
e !== void 0 && n(e);
|
|
2814
2812
|
var t = r(this);
|
|
2815
2813
|
if (S) return e === void 0 ? h(t) : h(t, e);
|
|
2816
|
-
var o = [], s = i(t), l, u;
|
|
2817
|
-
for (u = 0; u < s; u++) u in t && g(o, t[u]);
|
|
2814
|
+
for (var o = [], s = i(t), l, u = 0; u < s; u++) u in t && g(o, t[u]);
|
|
2818
2815
|
for (c(o, w(e)), l = i(o), u = 0; u < l;) t[u] = o[u++];
|
|
2819
2816
|
for (; u < s;) a(t, u++);
|
|
2820
2817
|
return t;
|
|
@@ -2976,8 +2973,7 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
2976
2973
|
}, A = function(e) {
|
|
2977
2974
|
var t = [];
|
|
2978
2975
|
e = D(e);
|
|
2979
|
-
var n = e.length, s = u, c = 0, f = l, p, h;
|
|
2980
|
-
for (p = 0; p < e.length; p++) h = e[p], h < 128 && C(t, y(h));
|
|
2976
|
+
for (var n = e.length, s = u, c = 0, f = l, p = 0, h; p < e.length; p++) h = e[p], h < 128 && C(t, y(h));
|
|
2981
2977
|
var _ = t.length, b = _;
|
|
2982
2978
|
for (_ && C(t, d); b < n;) {
|
|
2983
2979
|
var x = r;
|
|
@@ -3001,8 +2997,7 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
3001
2997
|
return S(t, "");
|
|
3002
2998
|
};
|
|
3003
2999
|
t.exports = function(e) {
|
|
3004
|
-
var t = [], n = T(w(E(e), p, "."), "."), r, i;
|
|
3005
|
-
for (r = 0; r < n.length; r++) i = n[r], C(t, _(f, i) ? "xn--" + A(i) : i);
|
|
3000
|
+
for (var t = [], n = T(w(E(e), p, "."), "."), r = 0, i; r < n.length; r++) i = n[r], C(t, _(f, i) ? "xn--" + A(i) : i);
|
|
3006
3001
|
return S(t, ".");
|
|
3007
3002
|
};
|
|
3008
3003
|
})), fa = /* @__PURE__ */ s((() => {
|
|
@@ -3302,8 +3297,7 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
3302
3297
|
return e >= 65281 && e <= 65374 ? e - 65248 : e === 160 || e === 5760 || e === 8239 || e === 8287 || e === 12288 || e >= 8192 && e <= 8202 || e <= 65535 && ie(we, P(e)) > -1 ? 32 : e;
|
|
3303
3298
|
}, Ae = function(e) {
|
|
3304
3299
|
if (!I(Ce, e)) return e === "" ? null : h(e);
|
|
3305
|
-
var t = d(e), n = "", r, i, a;
|
|
3306
|
-
for (r = 0; r < t.length; r++) {
|
|
3300
|
+
for (var t = d(e), n = "", r = 0, i, a; r < t.length; r++) {
|
|
3307
3301
|
if (i = m(t[r], 0), De(i)) return null;
|
|
3308
3302
|
Ee(i) || (a = Oe(i), n += a === i ? t[r] : P(a));
|
|
3309
3303
|
}
|
|
@@ -3354,33 +3348,33 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
3354
3348
|
if (f() === ":") {
|
|
3355
3349
|
if (r !== null) return;
|
|
3356
3350
|
i++, n++, r = n;
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3351
|
+
} else {
|
|
3352
|
+
for (a = o = 0; o < 4 && I(_e, f());) a = a * 16 + M(f(), 16), i++, o++;
|
|
3353
|
+
if (f() === ".") {
|
|
3354
|
+
if (o === 0 || (i -= o, n > 6)) return;
|
|
3355
|
+
for (s = 0; f();) {
|
|
3356
|
+
if (c = null, s > 0) {
|
|
3357
|
+
if (f() === "." && s < 4) i++;
|
|
3358
|
+
else return;
|
|
3359
|
+
}
|
|
3360
|
+
if (!I(pe, f())) return;
|
|
3361
|
+
for (; I(pe, f());) {
|
|
3362
|
+
if (l = M(f(), 10), c === null) c = l;
|
|
3363
|
+
else if (c === 0) return;
|
|
3364
|
+
else c = c * 10 + l;
|
|
3365
|
+
if (c > 255) return;
|
|
3366
|
+
i++;
|
|
3367
|
+
}
|
|
3368
|
+
t[n] = t[n] * 256 + c, s++, (s === 2 || s === 4) && n++;
|
|
3374
3369
|
}
|
|
3375
|
-
|
|
3370
|
+
if (s !== 4) return;
|
|
3371
|
+
break;
|
|
3376
3372
|
}
|
|
3377
|
-
if (
|
|
3378
|
-
|
|
3373
|
+
if (f() === ":") {
|
|
3374
|
+
if (i++, !f()) return;
|
|
3375
|
+
} else if (f()) return;
|
|
3376
|
+
t[n++] = a;
|
|
3379
3377
|
}
|
|
3380
|
-
if (f() === ":") {
|
|
3381
|
-
if (i++, !f()) return;
|
|
3382
|
-
} else if (f()) return;
|
|
3383
|
-
t[n++] = a;
|
|
3384
3378
|
}
|
|
3385
3379
|
if (r !== null) for (u = n - r, n = 7; n !== 0 && u > 0;) d = t[n], t[n--] = t[r + u - 1], t[r + --u] = d;
|
|
3386
3380
|
else if (n !== 8) return;
|
|
@@ -3542,12 +3536,11 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
3542
3536
|
s && (o = "%40" + o), s = !0, h = d(o);
|
|
3543
3537
|
for (var v = 0; v < h.length; v++) {
|
|
3544
3538
|
var y = h[v];
|
|
3545
|
-
if (y === ":" && !u)
|
|
3546
|
-
|
|
3547
|
-
|
|
3539
|
+
if (y === ":" && !u) u = !0;
|
|
3540
|
+
else {
|
|
3541
|
+
var b = We(y, Ue);
|
|
3542
|
+
u ? r.password += b : r.username += b;
|
|
3548
3543
|
}
|
|
3549
|
-
var b = We(y, Ue);
|
|
3550
|
-
u ? r.password += b : r.username += b;
|
|
3551
3544
|
}
|
|
3552
3545
|
o = "";
|
|
3553
3546
|
} else if (m === Te || m === "/" || m === "?" || m === "#" || m === "\\" && r.isSpecial()) {
|
|
@@ -3771,11 +3764,7 @@ var $r = /* @__PURE__ */ function(e) {
|
|
|
3771
3764
|
return e ? "#" + e : "";
|
|
3772
3765
|
},
|
|
3773
3766
|
setHash: function(e) {
|
|
3774
|
-
|
|
3775
|
-
this.fragment = null;
|
|
3776
|
-
return;
|
|
3777
|
-
}
|
|
3778
|
-
F(e, 0) === "#" && (e = H(e, 1)), this.fragment = "", this.parse(e, bt);
|
|
3767
|
+
e = _(e), e === "" ? this.fragment = null : (F(e, 0) === "#" && (e = H(e, 1)), this.fragment = "", this.parse(e, bt));
|
|
3779
3768
|
},
|
|
3780
3769
|
update: function() {
|
|
3781
3770
|
this.query = this.searchParams.serialize() || null;
|
|
@@ -5848,7 +5837,7 @@ function gs(e, t, n) {
|
|
|
5848
5837
|
return fs(o);
|
|
5849
5838
|
}
|
|
5850
5839
|
//#endregion
|
|
5851
|
-
//#region \0@oxc-project+runtime@0.
|
|
5840
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
|
|
5852
5841
|
cs();
|
|
5853
5842
|
var _s = us();
|
|
5854
5843
|
function vs(e) {
|
|
@@ -5860,7 +5849,7 @@ function vs(e) {
|
|
|
5860
5849
|
}, vs(e);
|
|
5861
5850
|
}
|
|
5862
5851
|
//#endregion
|
|
5863
|
-
//#region \0@oxc-project+runtime@0.
|
|
5852
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
|
|
5864
5853
|
function ys(e, t) {
|
|
5865
5854
|
if (vs(e) != "object" || !e) return e;
|
|
5866
5855
|
var n = e[Symbol.toPrimitive];
|
|
@@ -5872,13 +5861,13 @@ function ys(e, t) {
|
|
|
5872
5861
|
return (t === "string" ? String : Number)(e);
|
|
5873
5862
|
}
|
|
5874
5863
|
//#endregion
|
|
5875
|
-
//#region \0@oxc-project+runtime@0.
|
|
5864
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
|
|
5876
5865
|
function bs(e) {
|
|
5877
5866
|
var t = ys(e, "string");
|
|
5878
5867
|
return vs(t) == "symbol" ? t : t + "";
|
|
5879
5868
|
}
|
|
5880
5869
|
//#endregion
|
|
5881
|
-
//#region \0@oxc-project+runtime@0.
|
|
5870
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
|
|
5882
5871
|
function xs(e, t, n) {
|
|
5883
5872
|
return (t = bs(t)) in e ? Object.defineProperty(e, t, {
|
|
5884
5873
|
value: n,
|
|
@@ -5888,7 +5877,7 @@ function xs(e, t, n) {
|
|
|
5888
5877
|
}) : e[t] = n, e;
|
|
5889
5878
|
}
|
|
5890
5879
|
//#endregion
|
|
5891
|
-
//#region \0@oxc-project+runtime@0.
|
|
5880
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/objectSpread2.js
|
|
5892
5881
|
function Ss(e, t) {
|
|
5893
5882
|
var n = Object.keys(e);
|
|
5894
5883
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -6346,11 +6335,8 @@ function pc(e) {
|
|
|
6346
6335
|
f((e) => nc(nc({}, e), {}, { status: zi.PLAY }));
|
|
6347
6336
|
}, []);
|
|
6348
6337
|
return J(() => {
|
|
6349
|
-
if (b.current)
|
|
6350
|
-
|
|
6351
|
-
return;
|
|
6352
|
-
}
|
|
6353
|
-
try {
|
|
6338
|
+
if (b.current) b.current = !1;
|
|
6339
|
+
else try {
|
|
6354
6340
|
let e = i.width > 1e4 ? Yi.FULL_HD.width : i.width, t = i.height > 1e4 ? Yi.FULL_HD.height : i.height, n = { ideal: e }, r = { ideal: t }, a = i.width < 900 ? 18 : 30;
|
|
6355
6341
|
_s.isFirefox && _s.browserVersion >= "145" && (n.min = e, r.min = t);
|
|
6356
6342
|
let o = {
|
|
@@ -6373,7 +6359,7 @@ function pc(e) {
|
|
|
6373
6359
|
};
|
|
6374
6360
|
}, []), J(() => {
|
|
6375
6361
|
let e = !0;
|
|
6376
|
-
if (
|
|
6362
|
+
if (m && !_) return As(m, o).then((t) => {
|
|
6377
6363
|
fc(`Sorted cameras: ${JSON.stringify(t)}`), e && v(t);
|
|
6378
6364
|
}).catch((t) => {
|
|
6379
6365
|
if (fc(`Error sorting cameras: ${t}`), e) {
|
|
@@ -6385,7 +6371,7 @@ function pc(e) {
|
|
|
6385
6371
|
};
|
|
6386
6372
|
}, [m, o]), J(() => {
|
|
6387
6373
|
let e = !0, t = l === zi.PREPARING || l === zi.REQUESTING;
|
|
6388
|
-
if (
|
|
6374
|
+
if (_ && t) return (function() {
|
|
6389
6375
|
var t = W(function* () {
|
|
6390
6376
|
try {
|
|
6391
6377
|
yield Rs(_s.isFirefox ? 500 : 0);
|
|
@@ -6418,7 +6404,7 @@ function pc(e) {
|
|
|
6418
6404
|
}, [u]), J(() => {
|
|
6419
6405
|
if (!a || !y.current) return;
|
|
6420
6406
|
let e = a !== y.current;
|
|
6421
|
-
l
|
|
6407
|
+
l === zi.PLAY && e && f({
|
|
6422
6408
|
status: zi.PREPARING,
|
|
6423
6409
|
stream: null,
|
|
6424
6410
|
camera: {
|
|
@@ -6470,18 +6456,14 @@ var vc = ec.create("main"), yc = class {
|
|
|
6470
6456
|
}
|
|
6471
6457
|
init(e) {
|
|
6472
6458
|
var t = this;
|
|
6473
|
-
|
|
6474
|
-
vc("MediaRecorder is missing");
|
|
6475
|
-
return;
|
|
6476
|
-
}
|
|
6477
|
-
this.mimeType = MediaRecorder.isTypeSupported("video/webm") ? "video/webm" : "video/mp4;codecs=avc1", this.recorder = new MediaRecorder(e, {
|
|
6459
|
+
"MediaRecorder" in window ? (this.mimeType = MediaRecorder.isTypeSupported("video/webm") ? "video/webm" : "video/mp4;codecs=avc1", this.recorder = new MediaRecorder(e, {
|
|
6478
6460
|
mimeType: this.mimeType,
|
|
6479
6461
|
videoBitsPerSecond: this.bitrate
|
|
6480
6462
|
}), this.recorder.addEventListener("dataavailable", this.setChunk.bind(this)), this.recorder.addEventListener("error", this.errorHandle.bind(this)), this.delay ? this.delayTimeout = setTimeout(() => {
|
|
6481
6463
|
this.delayTimeout = null, this.startRecording();
|
|
6482
6464
|
}, this.delay) : this.startRecording(), this.duration && (this.durationTimeout = setTimeout(W(function* () {
|
|
6483
6465
|
t.durationTimeout = null, t.record = yield t.getRecord();
|
|
6484
|
-
}), this.delay + this.duration)), vc(`MediaRecorder initialized: { duration: ${this.duration}, delay: ${this.delay}, mimeType: ${this.mimeType} }`);
|
|
6466
|
+
}), this.delay + this.duration)), vc(`MediaRecorder initialized: { duration: ${this.duration}, delay: ${this.delay}, mimeType: ${this.mimeType} }`)) : vc("MediaRecorder is missing");
|
|
6485
6467
|
}
|
|
6486
6468
|
startRecording() {
|
|
6487
6469
|
this.recorder && (this.recorder.start(), this.isRecording = !0, vc("Recording has started"));
|
|
@@ -6507,11 +6489,7 @@ var vc = ec.create("main"), yc = class {
|
|
|
6507
6489
|
}
|
|
6508
6490
|
stopRecord() {
|
|
6509
6491
|
var e, t, n;
|
|
6510
|
-
|
|
6511
|
-
this.clearTimeouts();
|
|
6512
|
-
return;
|
|
6513
|
-
}
|
|
6514
|
-
(e = this.recorder) == null || e.stop(), (t = this.recorder) == null || t.removeEventListener("dataavailable", this.setChunk), (n = this.recorder) == null || n.removeEventListener("error", this.errorHandle), this.clearTimeouts(), this.isRecording = !1, vc("Recording stopped");
|
|
6492
|
+
!this.recorder || this.recorder.state === "inactive" ? this.clearTimeouts() : ((e = this.recorder) == null || e.stop(), (t = this.recorder) == null || t.removeEventListener("dataavailable", this.setChunk), (n = this.recorder) == null || n.removeEventListener("error", this.errorHandle), this.clearTimeouts(), this.isRecording = !1, vc("Recording stopped"));
|
|
6515
6493
|
}
|
|
6516
6494
|
errorHandle(e) {
|
|
6517
6495
|
vc(`Stream recorder service error: ${JSON.stringify(e)}`);
|
|
@@ -6625,7 +6603,7 @@ var Dc = vo(function(e, t) {
|
|
|
6625
6603
|
w((e) => !e);
|
|
6626
6604
|
} })), J(() => {
|
|
6627
6605
|
let e = E.current, t = D.current, n = () => {
|
|
6628
|
-
|
|
6606
|
+
e && t && (r == null || r({
|
|
6629
6607
|
videoElement: e,
|
|
6630
6608
|
videoParams: {
|
|
6631
6609
|
width: e.videoWidth,
|
|
@@ -6635,7 +6613,7 @@ var Dc = vo(function(e, t) {
|
|
|
6635
6613
|
width: t.clientWidth,
|
|
6636
6614
|
height: t.clientHeight
|
|
6637
6615
|
}
|
|
6638
|
-
});
|
|
6616
|
+
}));
|
|
6639
6617
|
};
|
|
6640
6618
|
return e && (window.addEventListener("resize", n), e.addEventListener("resize", n)), () => {
|
|
6641
6619
|
var t;
|
|
@@ -6687,7 +6665,8 @@ var Dc = vo(function(e, t) {
|
|
|
6687
6665
|
style: { transform: `scaleX(${C ? -1 : 1})` },
|
|
6688
6666
|
ref: E,
|
|
6689
6667
|
playsInline: !0,
|
|
6690
|
-
disablePictureInPicture: !0
|
|
6668
|
+
disablePictureInPicture: !0,
|
|
6669
|
+
"aria-hidden": "true"
|
|
6691
6670
|
})
|
|
6692
6671
|
});
|
|
6693
6672
|
});
|
|
@@ -6874,99 +6853,15 @@ function Bc(e) {
|
|
|
6874
6853
|
});
|
|
6875
6854
|
}
|
|
6876
6855
|
//#endregion
|
|
6877
|
-
//#region ../../node_modules/localize-react/dist/index.mjs
|
|
6878
|
-
cs(), cs();
|
|
6879
|
-
var Vc = "[LOCALIZE-REACT]: There are no translations for specified locale", Hc = "[LOCALIZE-REACT] Looks like template is being used, but no value passed for ", Uc = /\{\{([^{}]+)\}\}/g;
|
|
6880
|
-
function Wc(e, t) {
|
|
6881
|
-
if (!e) return null;
|
|
6882
|
-
if (typeof t[e] == "object") return e;
|
|
6883
|
-
let n = e.toLowerCase().replaceAll("-", "_");
|
|
6884
|
-
if (typeof t[n] == "object") return n;
|
|
6885
|
-
let r = n.split("_")[0];
|
|
6886
|
-
return r && typeof t[r] == "object" ? r : (console.warn(Vc, e), e);
|
|
6887
|
-
}
|
|
6888
|
-
function Gc(e) {
|
|
6889
|
-
let t = /* @__PURE__ */ Object.create(null);
|
|
6890
|
-
return (n, r, i) => {
|
|
6891
|
-
let a = r ? JSON.stringify(r) + n + (i == null ? "" : i) : n + (i == null ? "" : i), o = t[a];
|
|
6892
|
-
if (o !== void 0) return o;
|
|
6893
|
-
let s = e(n, r, i);
|
|
6894
|
-
return t[a] = s, s;
|
|
6895
|
-
};
|
|
6896
|
-
}
|
|
6897
|
-
function Kc(e, t) {
|
|
6898
|
-
return e.map((e) => {
|
|
6899
|
-
let n = e.slice(2, -2);
|
|
6900
|
-
return Object.hasOwn(t, n) ? [e, t[n]] : (console.warn(Hc, e), [e, e]);
|
|
6901
|
-
});
|
|
6902
|
-
}
|
|
6903
|
-
function qc(e, t) {
|
|
6904
|
-
if (!t || Object.keys(t).length === 0) return e;
|
|
6905
|
-
let n = e.match(Uc);
|
|
6906
|
-
if (!n || n.length === 0) return e;
|
|
6907
|
-
let r = Kc(n, t), i = e;
|
|
6908
|
-
for (let [e, t] of r) i = i.replaceAll(e, String(t));
|
|
6909
|
-
return i;
|
|
6910
|
-
}
|
|
6911
|
-
var Jc = Sn({
|
|
6912
|
-
locale: void 0,
|
|
6913
|
-
translate: (e, t, n) => n == null ? e : n,
|
|
6914
|
-
translations: {}
|
|
6915
|
-
});
|
|
6916
|
-
Jc.displayName = "LocalizationContext";
|
|
6917
|
-
function Yc({ children: e, disableCache: t = !1, locale: n, translations: r = {} }) {
|
|
6918
|
-
let i = Pa(() => {
|
|
6919
|
-
let e = Wc(n, r), t = e === null ? r : r[e];
|
|
6920
|
-
return t && typeof t == "object" ? t : {};
|
|
6921
|
-
}, [n, r]), a = Pa(() => {
|
|
6922
|
-
let e = (e, t, n) => {
|
|
6923
|
-
if (!e) return n == null ? e : n;
|
|
6924
|
-
let r = typeof n == "string" ? n : e, a = i[e];
|
|
6925
|
-
if (typeof a == "string") return t ? qc(a, t) : a;
|
|
6926
|
-
let o = e.split(".");
|
|
6927
|
-
if (o.length === 1) return qc(r, t);
|
|
6928
|
-
let s = Xc(i, o);
|
|
6929
|
-
return qc(typeof s == "string" ? s : r, t);
|
|
6930
|
-
};
|
|
6931
|
-
return t ? e : Gc(e);
|
|
6932
|
-
}, [t, i]), o = Pa(() => ({
|
|
6933
|
-
locale: n,
|
|
6934
|
-
translate: a,
|
|
6935
|
-
translations: r
|
|
6936
|
-
}), [
|
|
6937
|
-
n,
|
|
6938
|
-
a,
|
|
6939
|
-
r
|
|
6940
|
-
]);
|
|
6941
|
-
return /* @__PURE__ */ Z(Jc.Provider, {
|
|
6942
|
-
value: o,
|
|
6943
|
-
children: e
|
|
6944
|
-
});
|
|
6945
|
-
}
|
|
6946
|
-
Jc.Consumer;
|
|
6947
|
-
function Xc(e, t) {
|
|
6948
|
-
let n = e;
|
|
6949
|
-
for (let e of t) {
|
|
6950
|
-
if (n === void 0 || typeof n == "string") return;
|
|
6951
|
-
n = n[e];
|
|
6952
|
-
}
|
|
6953
|
-
return typeof n == "string" ? n : void 0;
|
|
6954
|
-
}
|
|
6955
|
-
function Zc() {
|
|
6956
|
-
return Ia(Jc);
|
|
6957
|
-
}
|
|
6958
|
-
//#endregion
|
|
6959
6856
|
//#region src/components/common/layout/components/frame/index.tsx
|
|
6960
|
-
function
|
|
6961
|
-
let t = e.layoutParams, n = e.maskParams, r = e.isDocumentAvailable, i =
|
|
6857
|
+
function Vc(e) {
|
|
6858
|
+
let t = e.layoutParams, n = e.maskParams, r = e.isDocumentAvailable, i = Mc(), a = i.cameraFrameShapeType, o = a === void 0 ? si.line : a, s = i.cameraFrameCornerRadius, c = s === void 0 ? 15 : s, l = i.cameraFrameActiveColor, u = i.cameraFrameDefaultColor, d = i.newLayout, f = r ? l == null ? d ? Si : xi : l : u == null ? d ? bi : yi : u, p = d ? r ? 0 : 2 : 0, m = n.stroke || 0, h = d && r ? m + 2 : m;
|
|
6962
6859
|
return Z("svg", {
|
|
6963
6860
|
part: "frame",
|
|
6964
6861
|
className: kc.svg,
|
|
6965
6862
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6966
6863
|
preserveAspectRatio: "xMidYMid slice",
|
|
6967
6864
|
viewBox: `0 0 ${t.width} ${t.height}`,
|
|
6968
|
-
role: "img",
|
|
6969
|
-
"aria-label": i("documentFrame"),
|
|
6970
6865
|
children: [
|
|
6971
6866
|
Z("defs", { children: Z("mask", {
|
|
6972
6867
|
id: "bgClip",
|
|
@@ -6980,8 +6875,8 @@ function Qc(e) {
|
|
|
6980
6875
|
}), Z("rect", {
|
|
6981
6876
|
x: n.left,
|
|
6982
6877
|
y: n.top,
|
|
6983
|
-
rx:
|
|
6984
|
-
ry:
|
|
6878
|
+
rx: c,
|
|
6879
|
+
ry: c,
|
|
6985
6880
|
width: n.width,
|
|
6986
6881
|
height: n.height,
|
|
6987
6882
|
stroke: "black",
|
|
@@ -6996,35 +6891,35 @@ function Qc(e) {
|
|
|
6996
6891
|
height: t.height,
|
|
6997
6892
|
part: "frame-external-background"
|
|
6998
6893
|
}),
|
|
6999
|
-
|
|
6894
|
+
o === si.line && Z(Bc, {
|
|
7000
6895
|
maskParams: n,
|
|
7001
|
-
borderColor:
|
|
7002
|
-
strokeWidth:
|
|
7003
|
-
adjustment:
|
|
6896
|
+
borderColor: f,
|
|
6897
|
+
strokeWidth: h,
|
|
6898
|
+
adjustment: p
|
|
7004
6899
|
}),
|
|
7005
|
-
|
|
6900
|
+
o === si.corners && Z(zc, {
|
|
7006
6901
|
maskParams: n,
|
|
7007
|
-
borderColor:
|
|
7008
|
-
strokeWidth:
|
|
7009
|
-
adjustment:
|
|
6902
|
+
borderColor: f,
|
|
6903
|
+
strokeWidth: h,
|
|
6904
|
+
adjustment: p
|
|
7010
6905
|
})
|
|
7011
6906
|
]
|
|
7012
6907
|
});
|
|
7013
6908
|
}
|
|
7014
6909
|
//#endregion
|
|
7015
6910
|
//#region ../../node_modules/@babel/runtime/helpers/esm/extends.js
|
|
7016
|
-
function
|
|
7017
|
-
return
|
|
6911
|
+
function Hc() {
|
|
6912
|
+
return Hc = Object.assign ? Object.assign.bind() : function(e) {
|
|
7018
6913
|
for (var t = 1; t < arguments.length; t++) {
|
|
7019
6914
|
var n = arguments[t];
|
|
7020
6915
|
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
7021
6916
|
}
|
|
7022
6917
|
return e;
|
|
7023
|
-
},
|
|
6918
|
+
}, Hc.apply(null, arguments);
|
|
7024
6919
|
}
|
|
7025
6920
|
//#endregion
|
|
7026
6921
|
//#region ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
7027
|
-
function
|
|
6922
|
+
function Uc(e, t) {
|
|
7028
6923
|
if (e == null) return {};
|
|
7029
6924
|
var n = {};
|
|
7030
6925
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -7035,54 +6930,54 @@ function el(e, t) {
|
|
|
7035
6930
|
}
|
|
7036
6931
|
//#endregion
|
|
7037
6932
|
//#region ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
7038
|
-
function
|
|
7039
|
-
return
|
|
6933
|
+
function Wc(e, t) {
|
|
6934
|
+
return Wc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, t) {
|
|
7040
6935
|
return e.__proto__ = t, e;
|
|
7041
|
-
},
|
|
6936
|
+
}, Wc(e, t);
|
|
7042
6937
|
}
|
|
7043
6938
|
//#endregion
|
|
7044
6939
|
//#region ../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
|
|
7045
|
-
function
|
|
7046
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
6940
|
+
function Gc(e, t) {
|
|
6941
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Wc(e, t);
|
|
7047
6942
|
}
|
|
7048
6943
|
//#endregion
|
|
7049
6944
|
//#region ../../node_modules/dom-helpers/esm/hasClass.js
|
|
7050
|
-
function
|
|
6945
|
+
function Kc(e, t) {
|
|
7051
6946
|
return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
|
|
7052
6947
|
}
|
|
7053
6948
|
//#endregion
|
|
7054
6949
|
//#region ../../node_modules/dom-helpers/esm/addClass.js
|
|
7055
|
-
function
|
|
7056
|
-
e.classList ? e.classList.add(t) :
|
|
6950
|
+
function qc(e, t) {
|
|
6951
|
+
e.classList ? e.classList.add(t) : Kc(e, t) || (typeof e.className == "string" ? e.className = e.className + " " + t : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + t));
|
|
7057
6952
|
}
|
|
7058
6953
|
//#endregion
|
|
7059
6954
|
//#region ../../node_modules/dom-helpers/esm/removeClass.js
|
|
7060
|
-
function
|
|
6955
|
+
function Jc(e, t) {
|
|
7061
6956
|
return e.replace(RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
7062
6957
|
}
|
|
7063
|
-
function
|
|
7064
|
-
e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className =
|
|
6958
|
+
function Yc(e, t) {
|
|
6959
|
+
e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = Jc(e.className, t) : e.setAttribute("class", Jc(e.className && e.className.baseVal || "", t));
|
|
7065
6960
|
}
|
|
7066
6961
|
//#endregion
|
|
7067
6962
|
//#region ../../node_modules/react-transition-group/esm/config.js
|
|
7068
|
-
var
|
|
6963
|
+
var Xc = { disabled: !1 };
|
|
7069
6964
|
//#endregion
|
|
7070
6965
|
//#region ../../node_modules/react-transition-group/esm/TransitionGroupContext.js
|
|
7071
6966
|
cs();
|
|
7072
|
-
var
|
|
6967
|
+
var Zc = Y.createContext(null), Qc = function(e) {
|
|
7073
6968
|
return e.scrollTop;
|
|
7074
6969
|
};
|
|
7075
6970
|
//#endregion
|
|
7076
6971
|
//#region ../../node_modules/react-transition-group/esm/Transition.js
|
|
7077
6972
|
cs();
|
|
7078
|
-
var
|
|
7079
|
-
|
|
6973
|
+
var $c = "unmounted", el = "exited", tl = "entering", nl = "entered", rl = "exiting", il = /*#__PURE__*/ function(e) {
|
|
6974
|
+
Gc(t, e);
|
|
7080
6975
|
function t(t, n) {
|
|
7081
6976
|
var r = e.call(this, t, n) || this, i = n, a = i && !i.isMounting ? t.enter : t.appear, o;
|
|
7082
|
-
return r.appearStatus = null, t.in ? a ? (o =
|
|
6977
|
+
return r.appearStatus = null, t.in ? a ? (o = el, r.appearStatus = tl) : o = nl : o = t.unmountOnExit || t.mountOnEnter ? $c : el, r.state = { status: o }, r.nextCallback = null, r;
|
|
7083
6978
|
}
|
|
7084
6979
|
t.getDerivedStateFromProps = function(e, t) {
|
|
7085
|
-
return e.in && t.status === "unmounted" ? { status:
|
|
6980
|
+
return e.in && t.status === "unmounted" ? { status: el } : null;
|
|
7086
6981
|
};
|
|
7087
6982
|
var n = t.prototype;
|
|
7088
6983
|
return n.componentDidMount = function() {
|
|
@@ -7091,7 +6986,7 @@ var ul = "unmounted", dl = "exited", fl = "entering", pl = "entered", ml = "exit
|
|
|
7091
6986
|
var t = null;
|
|
7092
6987
|
if (e !== this.props) {
|
|
7093
6988
|
var n = this.state.status;
|
|
7094
|
-
this.props.in ? n !== "entering" && n !== "entered" && (t =
|
|
6989
|
+
this.props.in ? n !== "entering" && n !== "entered" && (t = tl) : (n === "entering" || n === "entered") && (t = rl);
|
|
7095
6990
|
}
|
|
7096
6991
|
this.updateStatus(!1, t);
|
|
7097
6992
|
}, n.componentWillUnmount = function() {
|
|
@@ -7108,41 +7003,33 @@ var ul = "unmounted", dl = "exited", fl = "entering", pl = "entered", ml = "exit
|
|
|
7108
7003
|
if (this.cancelNextCallback(), t === "entering") {
|
|
7109
7004
|
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
7110
7005
|
var n = this.props.nodeRef ? this.props.nodeRef.current : Y.findDOMNode(this);
|
|
7111
|
-
n &&
|
|
7006
|
+
n && Qc(n);
|
|
7112
7007
|
}
|
|
7113
7008
|
this.performEnter(e);
|
|
7114
7009
|
} else this.performExit();
|
|
7115
|
-
} else this.props.unmountOnExit && this.state.status === "exited" && this.setState({ status:
|
|
7010
|
+
} else this.props.unmountOnExit && this.state.status === "exited" && this.setState({ status: $c });
|
|
7116
7011
|
}, n.performEnter = function(e) {
|
|
7117
7012
|
var t = this, n = this.props.enter, r = this.context ? this.context.isMounting : e, i = this.props.nodeRef ? [r] : [Y.findDOMNode(this), r], a = i[0], o = i[1], s = this.getTimeouts(), c = r ? s.appear : s.enter;
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
});
|
|
7122
|
-
return;
|
|
7123
|
-
}
|
|
7124
|
-
this.props.onEnter(a, o), this.safeSetState({ status: fl }, function() {
|
|
7013
|
+
!e && !n || Xc.disabled ? this.safeSetState({ status: nl }, function() {
|
|
7014
|
+
t.props.onEntered(a);
|
|
7015
|
+
}) : (this.props.onEnter(a, o), this.safeSetState({ status: tl }, function() {
|
|
7125
7016
|
t.props.onEntering(a, o), t.onTransitionEnd(c, function() {
|
|
7126
|
-
t.safeSetState({ status:
|
|
7017
|
+
t.safeSetState({ status: nl }, function() {
|
|
7127
7018
|
t.props.onEntered(a, o);
|
|
7128
7019
|
});
|
|
7129
7020
|
});
|
|
7130
|
-
});
|
|
7021
|
+
}));
|
|
7131
7022
|
}, n.performExit = function() {
|
|
7132
7023
|
var e = this, t = this.props.exit, n = this.getTimeouts(), r = this.props.nodeRef ? void 0 : Y.findDOMNode(this);
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
});
|
|
7137
|
-
return;
|
|
7138
|
-
}
|
|
7139
|
-
this.props.onExit(r), this.safeSetState({ status: ml }, function() {
|
|
7024
|
+
!t || Xc.disabled ? this.safeSetState({ status: el }, function() {
|
|
7025
|
+
e.props.onExited(r);
|
|
7026
|
+
}) : (this.props.onExit(r), this.safeSetState({ status: rl }, function() {
|
|
7140
7027
|
e.props.onExiting(r), e.onTransitionEnd(n.exit, function() {
|
|
7141
|
-
e.safeSetState({ status:
|
|
7028
|
+
e.safeSetState({ status: el }, function() {
|
|
7142
7029
|
e.props.onExited(r);
|
|
7143
7030
|
});
|
|
7144
7031
|
});
|
|
7145
|
-
});
|
|
7032
|
+
}));
|
|
7146
7033
|
}, n.cancelNextCallback = function() {
|
|
7147
7034
|
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
7148
7035
|
}, n.safeSetState = function(e, t) {
|
|
@@ -7157,21 +7044,20 @@ var ul = "unmounted", dl = "exited", fl = "entering", pl = "entered", ml = "exit
|
|
|
7157
7044
|
}, n.onTransitionEnd = function(e, t) {
|
|
7158
7045
|
this.setNextCallback(t);
|
|
7159
7046
|
var n = this.props.nodeRef ? this.props.nodeRef.current : Y.findDOMNode(this), r = e == null && !this.props.addEndListener;
|
|
7160
|
-
if (!n || r)
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
this.
|
|
7047
|
+
if (!n || r) setTimeout(this.nextCallback, 0);
|
|
7048
|
+
else {
|
|
7049
|
+
if (this.props.addEndListener) {
|
|
7050
|
+
var i = this.props.nodeRef ? [this.nextCallback] : [n, this.nextCallback], a = i[0], o = i[1];
|
|
7051
|
+
this.props.addEndListener(a, o);
|
|
7052
|
+
}
|
|
7053
|
+
e != null && setTimeout(this.nextCallback, e);
|
|
7167
7054
|
}
|
|
7168
|
-
e != null && setTimeout(this.nextCallback, e);
|
|
7169
7055
|
}, n.render = function() {
|
|
7170
7056
|
var e = this.state.status;
|
|
7171
7057
|
if (e === "unmounted") return null;
|
|
7172
7058
|
var t = this.props, n = t.children;
|
|
7173
7059
|
t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
|
|
7174
|
-
var r =
|
|
7060
|
+
var r = Uc(t, [
|
|
7175
7061
|
"children",
|
|
7176
7062
|
"in",
|
|
7177
7063
|
"mountOnEnter",
|
|
@@ -7189,37 +7075,37 @@ var ul = "unmounted", dl = "exited", fl = "entering", pl = "entered", ml = "exit
|
|
|
7189
7075
|
"onExited",
|
|
7190
7076
|
"nodeRef"
|
|
7191
7077
|
]);
|
|
7192
|
-
return /*#__PURE__*/ Y.createElement(
|
|
7078
|
+
return /*#__PURE__*/ Y.createElement(Zc.Provider, { value: null }, typeof n == "function" ? n(e, r) : Y.cloneElement(Y.Children.only(n), r));
|
|
7193
7079
|
}, t;
|
|
7194
7080
|
}(Y.Component);
|
|
7195
|
-
|
|
7196
|
-
function
|
|
7081
|
+
il.contextType = Zc, il.propTypes = {};
|
|
7082
|
+
function al() {}
|
|
7197
7083
|
//#endregion
|
|
7198
7084
|
//#region ../../node_modules/react-transition-group/esm/CSSTransition.js
|
|
7199
|
-
|
|
7085
|
+
il.defaultProps = {
|
|
7200
7086
|
in: !1,
|
|
7201
7087
|
mountOnEnter: !1,
|
|
7202
7088
|
unmountOnExit: !1,
|
|
7203
7089
|
appear: !1,
|
|
7204
7090
|
enter: !0,
|
|
7205
7091
|
exit: !0,
|
|
7206
|
-
onEnter:
|
|
7207
|
-
onEntering:
|
|
7208
|
-
onEntered:
|
|
7209
|
-
onExit:
|
|
7210
|
-
onExiting:
|
|
7211
|
-
onExited:
|
|
7212
|
-
},
|
|
7213
|
-
var
|
|
7092
|
+
onEnter: al,
|
|
7093
|
+
onEntering: al,
|
|
7094
|
+
onEntered: al,
|
|
7095
|
+
onExit: al,
|
|
7096
|
+
onExiting: al,
|
|
7097
|
+
onExited: al
|
|
7098
|
+
}, il.UNMOUNTED = $c, il.EXITED = el, il.ENTERING = tl, il.ENTERED = nl, il.EXITING = rl, cs();
|
|
7099
|
+
var ol = function(e, t) {
|
|
7214
7100
|
return e && t && t.split(" ").forEach(function(t) {
|
|
7215
|
-
return
|
|
7101
|
+
return qc(e, t);
|
|
7216
7102
|
});
|
|
7217
|
-
},
|
|
7103
|
+
}, sl = function(e, t) {
|
|
7218
7104
|
return e && t && t.split(" ").forEach(function(t) {
|
|
7219
|
-
return
|
|
7105
|
+
return Yc(e, t);
|
|
7220
7106
|
});
|
|
7221
|
-
},
|
|
7222
|
-
|
|
7107
|
+
}, cl = /*#__PURE__*/ function(e) {
|
|
7108
|
+
Gc(t, e);
|
|
7223
7109
|
function t() {
|
|
7224
7110
|
var t, n = [...arguments];
|
|
7225
7111
|
return t = e.call.apply(e, [this].concat(n)) || this, t.appliedClasses = {
|
|
@@ -7258,15 +7144,15 @@ var _l = function(e, t) {
|
|
|
7258
7144
|
var n = t.prototype;
|
|
7259
7145
|
return n.addClass = function(e, t, n) {
|
|
7260
7146
|
var r = this.getClassNames(t)[n + "ClassName"], i = this.getClassNames("enter").doneClassName;
|
|
7261
|
-
t === "appear" && n === "done" && i && (r += " " + i), n === "active" && e &&
|
|
7147
|
+
t === "appear" && n === "done" && i && (r += " " + i), n === "active" && e && Qc(e), r && (this.appliedClasses[t][n] = r, ol(e, r));
|
|
7262
7148
|
}, n.removeClasses = function(e, t) {
|
|
7263
7149
|
var n = this.appliedClasses[t], r = n.base, i = n.active, a = n.done;
|
|
7264
|
-
this.appliedClasses[t] = {}, r &&
|
|
7150
|
+
this.appliedClasses[t] = {}, r && sl(e, r), i && sl(e, i), a && sl(e, a);
|
|
7265
7151
|
}, n.render = function() {
|
|
7266
7152
|
var e = this.props;
|
|
7267
7153
|
e.classNames;
|
|
7268
|
-
var t =
|
|
7269
|
-
return /*#__PURE__*/ Y.createElement(
|
|
7154
|
+
var t = Uc(e, ["classNames"]);
|
|
7155
|
+
return /*#__PURE__*/ Y.createElement(il, Hc({}, t, {
|
|
7270
7156
|
onEnter: this.onEnter,
|
|
7271
7157
|
onEntered: this.onEntered,
|
|
7272
7158
|
onEntering: this.onEntering,
|
|
@@ -7278,57 +7164,57 @@ var _l = function(e, t) {
|
|
|
7278
7164
|
}(Y.Component);
|
|
7279
7165
|
//#endregion
|
|
7280
7166
|
//#region ../../node_modules/react-transition-group/esm/SwitchTransition.js
|
|
7281
|
-
|
|
7282
|
-
var
|
|
7283
|
-
function
|
|
7167
|
+
cl.defaultProps = { classNames: "" }, cl.propTypes = {}, cs();
|
|
7168
|
+
var ll, ul;
|
|
7169
|
+
function dl(e, t) {
|
|
7284
7170
|
return !(e === t || Y.isValidElement(e) && Y.isValidElement(t) && e.key != null && e.key === t.key);
|
|
7285
7171
|
}
|
|
7286
|
-
var
|
|
7172
|
+
var fl = {
|
|
7287
7173
|
out: "out-in",
|
|
7288
7174
|
in: "in-out"
|
|
7289
|
-
},
|
|
7175
|
+
}, pl = function(e, t, n) {
|
|
7290
7176
|
return function() {
|
|
7291
7177
|
var r;
|
|
7292
7178
|
e.props[t] && (r = e.props)[t].apply(r, arguments), n();
|
|
7293
7179
|
};
|
|
7294
|
-
},
|
|
7180
|
+
}, ml = (ll = {}, ll[fl.out] = function(e) {
|
|
7295
7181
|
var t = e.current, n = e.changeState;
|
|
7296
7182
|
return Y.cloneElement(t, {
|
|
7297
7183
|
in: !1,
|
|
7298
|
-
onExited:
|
|
7299
|
-
n(
|
|
7184
|
+
onExited: pl(t, "onExited", function() {
|
|
7185
|
+
n(tl, null);
|
|
7300
7186
|
})
|
|
7301
7187
|
});
|
|
7302
|
-
},
|
|
7188
|
+
}, ll[fl.in] = function(e) {
|
|
7303
7189
|
var t = e.current, n = e.changeState, r = e.children;
|
|
7304
7190
|
return [t, Y.cloneElement(r, {
|
|
7305
7191
|
in: !0,
|
|
7306
|
-
onEntered:
|
|
7307
|
-
n(
|
|
7192
|
+
onEntered: pl(r, "onEntered", function() {
|
|
7193
|
+
n(tl);
|
|
7308
7194
|
})
|
|
7309
7195
|
})];
|
|
7310
|
-
},
|
|
7196
|
+
}, ll), hl = (ul = {}, ul[fl.out] = function(e) {
|
|
7311
7197
|
var t = e.children, n = e.changeState;
|
|
7312
7198
|
return Y.cloneElement(t, {
|
|
7313
7199
|
in: !0,
|
|
7314
|
-
onEntered:
|
|
7315
|
-
n(
|
|
7200
|
+
onEntered: pl(t, "onEntered", function() {
|
|
7201
|
+
n(nl, Y.cloneElement(t, { in: !0 }));
|
|
7316
7202
|
})
|
|
7317
7203
|
});
|
|
7318
|
-
},
|
|
7204
|
+
}, ul[fl.in] = function(e) {
|
|
7319
7205
|
var t = e.current, n = e.children, r = e.changeState;
|
|
7320
7206
|
return [Y.cloneElement(t, {
|
|
7321
7207
|
in: !1,
|
|
7322
|
-
onExited:
|
|
7323
|
-
r(
|
|
7208
|
+
onExited: pl(t, "onExited", function() {
|
|
7209
|
+
r(nl, Y.cloneElement(n, { in: !0 }));
|
|
7324
7210
|
})
|
|
7325
7211
|
}), Y.cloneElement(n, { in: !0 })];
|
|
7326
|
-
},
|
|
7327
|
-
|
|
7212
|
+
}, ul), gl = /*#__PURE__*/ function(e) {
|
|
7213
|
+
Gc(t, e);
|
|
7328
7214
|
function t() {
|
|
7329
7215
|
var t, n = [...arguments];
|
|
7330
7216
|
return t = e.call.apply(e, [this].concat(n)) || this, t.state = {
|
|
7331
|
-
status:
|
|
7217
|
+
status: nl,
|
|
7332
7218
|
current: null
|
|
7333
7219
|
}, t.appeared = !1, t.changeState = function(e, n) {
|
|
7334
7220
|
n === void 0 && (n = t.state.current), t.setState({
|
|
@@ -7341,7 +7227,7 @@ var Cl = {
|
|
|
7341
7227
|
return n.componentDidMount = function() {
|
|
7342
7228
|
this.appeared = !0;
|
|
7343
7229
|
}, t.getDerivedStateFromProps = function(e, t) {
|
|
7344
|
-
return e.children == null ? { current: null } : t.status === "entering" && e.mode ===
|
|
7230
|
+
return e.children == null ? { current: null } : t.status === "entering" && e.mode === fl.in ? { status: tl } : t.current && dl(t.current, e.children) ? { status: rl } : { current: Y.cloneElement(e.children, { in: !0 }) };
|
|
7345
7231
|
}, n.render = function() {
|
|
7346
7232
|
var e = this.props, t = e.children, n = e.mode, r = this.state, i = r.status, a = r.current, o = {
|
|
7347
7233
|
children: t,
|
|
@@ -7350,19 +7236,19 @@ var Cl = {
|
|
|
7350
7236
|
status: i
|
|
7351
7237
|
}, s;
|
|
7352
7238
|
switch (i) {
|
|
7353
|
-
case
|
|
7354
|
-
s =
|
|
7239
|
+
case tl:
|
|
7240
|
+
s = hl[n](o);
|
|
7355
7241
|
break;
|
|
7356
|
-
case
|
|
7357
|
-
s =
|
|
7242
|
+
case rl:
|
|
7243
|
+
s = ml[n](o);
|
|
7358
7244
|
break;
|
|
7359
|
-
case
|
|
7245
|
+
case nl: s = a;
|
|
7360
7246
|
}
|
|
7361
|
-
return /*#__PURE__*/ Y.createElement(
|
|
7247
|
+
return /*#__PURE__*/ Y.createElement(Zc.Provider, { value: { isMounting: !this.appeared } }, s);
|
|
7362
7248
|
}, t;
|
|
7363
7249
|
}(Y.Component);
|
|
7364
|
-
|
|
7365
|
-
var
|
|
7250
|
+
gl.propTypes = {}, gl.defaultProps = { mode: fl.out };
|
|
7251
|
+
var _l = {
|
|
7366
7252
|
"hint-container": "_hint-container_1r2jg_1",
|
|
7367
7253
|
"tips-frameless": "_tips-frameless_1r2jg_10",
|
|
7368
7254
|
message: "_message_1r2jg_10",
|
|
@@ -7378,7 +7264,90 @@ var Ol = {
|
|
|
7378
7264
|
"message-background": "_message-background_1r2jg_86",
|
|
7379
7265
|
title: "_title_1r2jg_105",
|
|
7380
7266
|
copyright: "_copyright_1r2jg_112"
|
|
7381
|
-
}
|
|
7267
|
+
};
|
|
7268
|
+
//#endregion
|
|
7269
|
+
//#region ../../node_modules/localize-react/dist/index.mjs
|
|
7270
|
+
cs(), cs();
|
|
7271
|
+
var vl = "[LOCALIZE-REACT]: There are no translations for specified locale", yl = "[LOCALIZE-REACT] Looks like template is being used, but no value passed for ", bl = /\{\{([^{}]+)\}\}/g;
|
|
7272
|
+
function xl(e, t) {
|
|
7273
|
+
if (!e) return null;
|
|
7274
|
+
if (typeof t[e] == "object") return e;
|
|
7275
|
+
let n = e.toLowerCase().replaceAll("-", "_");
|
|
7276
|
+
if (typeof t[n] == "object") return n;
|
|
7277
|
+
let r = n.split("_")[0];
|
|
7278
|
+
return r && typeof t[r] == "object" ? r : (console.warn(vl, e), e);
|
|
7279
|
+
}
|
|
7280
|
+
function Sl(e) {
|
|
7281
|
+
let t = /* @__PURE__ */ Object.create(null);
|
|
7282
|
+
return (n, r, i) => {
|
|
7283
|
+
let a = r ? JSON.stringify(r) + n + (i == null ? "" : i) : n + (i == null ? "" : i), o = t[a];
|
|
7284
|
+
if (o !== void 0) return o;
|
|
7285
|
+
let s = e(n, r, i);
|
|
7286
|
+
return t[a] = s, s;
|
|
7287
|
+
};
|
|
7288
|
+
}
|
|
7289
|
+
function Cl(e, t) {
|
|
7290
|
+
return e.map((e) => {
|
|
7291
|
+
let n = e.slice(2, -2);
|
|
7292
|
+
return Object.hasOwn(t, n) ? [e, t[n]] : (console.warn(yl, e), [e, e]);
|
|
7293
|
+
});
|
|
7294
|
+
}
|
|
7295
|
+
function wl(e, t) {
|
|
7296
|
+
if (!t || Object.keys(t).length === 0) return e;
|
|
7297
|
+
let n = e.match(bl);
|
|
7298
|
+
if (!n || n.length === 0) return e;
|
|
7299
|
+
let r = Cl(n, t), i = e;
|
|
7300
|
+
for (let [e, t] of r) i = i.replaceAll(e, String(t));
|
|
7301
|
+
return i;
|
|
7302
|
+
}
|
|
7303
|
+
var Tl = Sn({
|
|
7304
|
+
locale: void 0,
|
|
7305
|
+
translate: (e, t, n) => n == null ? e : n,
|
|
7306
|
+
translations: {}
|
|
7307
|
+
});
|
|
7308
|
+
Tl.displayName = "LocalizationContext";
|
|
7309
|
+
function El({ children: e, disableCache: t = !1, locale: n, translations: r = {} }) {
|
|
7310
|
+
let i = Pa(() => {
|
|
7311
|
+
let e = xl(n, r), t = e === null ? r : r[e];
|
|
7312
|
+
return t && typeof t == "object" ? t : {};
|
|
7313
|
+
}, [n, r]), a = Pa(() => {
|
|
7314
|
+
let e = (e, t, n) => {
|
|
7315
|
+
if (!e) return n == null ? e : n;
|
|
7316
|
+
let r = typeof n == "string" ? n : e, a = i[e];
|
|
7317
|
+
if (typeof a == "string") return t ? wl(a, t) : a;
|
|
7318
|
+
let o = e.split(".");
|
|
7319
|
+
if (o.length === 1) return wl(r, t);
|
|
7320
|
+
let s = Dl(i, o);
|
|
7321
|
+
return wl(typeof s == "string" ? s : r, t);
|
|
7322
|
+
};
|
|
7323
|
+
return t ? e : Sl(e);
|
|
7324
|
+
}, [t, i]), o = Pa(() => ({
|
|
7325
|
+
locale: n,
|
|
7326
|
+
translate: a,
|
|
7327
|
+
translations: r
|
|
7328
|
+
}), [
|
|
7329
|
+
n,
|
|
7330
|
+
a,
|
|
7331
|
+
r
|
|
7332
|
+
]);
|
|
7333
|
+
return /* @__PURE__ */ Z(Tl.Provider, {
|
|
7334
|
+
value: o,
|
|
7335
|
+
children: e
|
|
7336
|
+
});
|
|
7337
|
+
}
|
|
7338
|
+
Tl.Consumer;
|
|
7339
|
+
function Dl(e, t) {
|
|
7340
|
+
let n = e;
|
|
7341
|
+
for (let e of t) {
|
|
7342
|
+
if (n === void 0 || typeof n == "string") return;
|
|
7343
|
+
n = n[e];
|
|
7344
|
+
}
|
|
7345
|
+
return typeof n == "string" ? n : void 0;
|
|
7346
|
+
}
|
|
7347
|
+
function Ol() {
|
|
7348
|
+
return Ia(Tl);
|
|
7349
|
+
}
|
|
7350
|
+
var kl = { copyright: "_copyright_7zsy1_1" }, Al = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='33'%20height='11'%20viewBox='0%200%2033%2011'%20fill='none'%3e%3cpath%20d='M4.98344%205.36204C5.67499%204.93985%206.16388%204.1039%206.16388%203.18439C6.16388%201.43957%204.78591%200.299805%203.05391%200.299805C1.3219%200.299805%200%201.43993%200%203.40978V4.88744H1.26767V3.40942C1.26767%202.22751%202.0699%201.566%203.055%201.566C4.04011%201.566%204.74339%202.24143%204.74339%203.18439C4.74339%204.12736%203.98367%204.88708%202.99857%204.88708H1.26767V8.09564H2.53423V6.01291H3.02679C4.26513%206.01291%205.08129%206.9698%205.10951%208.09564H6.43215C6.40869%206.98153%205.87546%205.85716%204.98454%205.36204'%20fill='%23BD7DFF'/%3e%3cpath%20d='M31.8037%202.5231V3.32533C31.4658%202.81885%2030.8747%202.48242%2030.0307%202.48242C28.4827%202.48242%2027.3286%203.72077%2027.3286%205.31094C27.3286%206.88682%2028.4827%208.13946%2030.0307%208.13946C30.8326%208.13946%2031.4098%207.81585%2031.8037%207.3233V8.09731H32.9999V2.5231H31.8037ZM30.1714%206.92787C29.2706%206.92787%2028.6234%206.22422%2028.6234%205.30947C28.6234%204.39473%2029.2706%203.69108%2030.1714%203.69108C31.0722%203.69108%2031.7334%204.39473%2031.7334%205.30947C31.7334%206.22422%2031.0737%206.92787%2030.1714%206.92787Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M23.2758%205.40839C23.2758%206.50601%2022.7129%206.91427%2021.9953%206.91427C21.2777%206.91427%2020.7148%206.50601%2020.7148%205.40839V2.52344H19.4482V5.35196C19.4482%207.20966%2020.4051%208.13723%2021.9953%208.13723C23.5855%208.13723%2024.5424%207.20856%2024.5424%205.35196V2.52344H23.2758V5.40839Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M9.55541%202.48047C7.99309%202.48047%206.78296%203.76096%206.78296%205.32328C6.78296%206.8856%207.99235%208.13751%209.59755%208.13751C10.5684%208.13751%2011.272%207.79997%2011.8492%207.19491L11.1595%206.37875C10.7795%206.71628%2010.3012%206.9556%209.62577%206.9556C8.95034%206.9556%208.31706%206.6177%208.12099%205.88583H12.2853C12.3358%205.66432%2012.3594%205.43755%2012.3557%205.2104C12.3557%203.63452%2011.1174%202.48047%209.55541%202.48047ZM8.04953%204.8868C8.21847%204.15383%208.83746%203.66274%209.6254%203.66274C10.4133%203.66274%2010.948%204.14101%2011.1031%204.8868H8.04953Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M26.6533%200.356445H25.3867V8.09621H26.6533V0.356445Z'%20fill='%23BD7DFF'/%3e%3cpath%20d='M17.4077%203.32533C17.1263%202.84671%2016.4791%202.48242%2015.6347%202.48242C14.157%202.48242%2012.9326%203.72077%2012.9326%205.31094C12.9326%206.88682%2014.157%208.09621%2015.6347%208.09621C16.4369%208.09621%2016.9434%207.8569%2017.3374%207.36325V7.87009C17.3374%208.96771%2016.5634%209.36168%2015.8176%209.36168C15.0718%209.36168%2014.4806%208.9952%2014.3681%208.1937H13.1298C13.1862%209.601%2014.3117%2010.5025%2015.8176%2010.5025C17.3235%2010.5025%2018.6028%209.64424%2018.6028%207.78654V2.5231H17.4077V3.32533ZM15.7754%206.88572C14.8746%206.88572%2014.2274%206.22422%2014.2274%205.30984C14.2274%204.39547%2014.8746%203.69145%2015.7754%203.69145C16.6762%203.69145%2017.3374%204.3951%2017.3374%205.30984C17.3374%206.22458%2016.6759%206.88572%2015.7754%206.88572Z'%20fill='%23BD7DFF'/%3e%3c/svg%3e";
|
|
7382
7351
|
//#endregion
|
|
7383
7352
|
//#region src/components/common/copyright/index.tsx
|
|
7384
7353
|
cs();
|
|
@@ -7429,29 +7398,187 @@ function Nl(e) {
|
|
|
7429
7398
|
default: return "";
|
|
7430
7399
|
}
|
|
7431
7400
|
}
|
|
7432
|
-
|
|
7401
|
+
//#endregion
|
|
7402
|
+
//#region ../../node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js
|
|
7403
|
+
var Pl = /* @__PURE__ */ s(((e, t) => {
|
|
7404
|
+
Jn();
|
|
7405
|
+
var n = B(), r = Fe(), i = qn(), a = v(), o = I(), s = Oe(), c = o("species"), l = RegExp.prototype;
|
|
7406
|
+
t.exports = function(e, t, u, d) {
|
|
7407
|
+
var f = o(e), p = !a(function() {
|
|
7408
|
+
var t = {};
|
|
7409
|
+
return t[f] = function() {
|
|
7410
|
+
return 7;
|
|
7411
|
+
}, ""[e](t) !== 7;
|
|
7412
|
+
}), m = p && !a(function() {
|
|
7413
|
+
var t = !1, n = /a/;
|
|
7414
|
+
if (e === "split") {
|
|
7415
|
+
var r = {};
|
|
7416
|
+
r[c] = function() {
|
|
7417
|
+
return n;
|
|
7418
|
+
}, n = {
|
|
7419
|
+
constructor: r,
|
|
7420
|
+
flags: ""
|
|
7421
|
+
}, n[f] = /./[f];
|
|
7422
|
+
}
|
|
7423
|
+
return n.exec = function() {
|
|
7424
|
+
return t = !0, null;
|
|
7425
|
+
}, n[f](""), !t;
|
|
7426
|
+
});
|
|
7427
|
+
if (!p || !m || u) {
|
|
7428
|
+
var h = /./[f], g = t(f, ""[e], function(e, t, r, a, o) {
|
|
7429
|
+
var s = t.exec;
|
|
7430
|
+
return s === i || s === l.exec ? p && !o ? {
|
|
7431
|
+
done: !0,
|
|
7432
|
+
value: n(h, t, r, a)
|
|
7433
|
+
} : {
|
|
7434
|
+
done: !0,
|
|
7435
|
+
value: n(e, r, t, a)
|
|
7436
|
+
} : { done: !1 };
|
|
7437
|
+
});
|
|
7438
|
+
r(String.prototype, e, g[0]), r(l, f, g[1]);
|
|
7439
|
+
}
|
|
7440
|
+
d && s(l[f], "sham", !0);
|
|
7441
|
+
};
|
|
7442
|
+
})), Fl = /* @__PURE__ */ s(((e, t) => {
|
|
7443
|
+
var n = oa().charAt;
|
|
7444
|
+
t.exports = function(e, t, r) {
|
|
7445
|
+
return t + (r && n(e, t).length || 1);
|
|
7446
|
+
};
|
|
7447
|
+
})), Il = /* @__PURE__ */ s(((e, t) => {
|
|
7448
|
+
var n = b(), r = A(), i = Math.floor, a = n("".charAt), o = n("".replace), s = n("".slice), c = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, l = /\$([$&'`]|\d{1,2})/g;
|
|
7449
|
+
t.exports = function(e, t, n, u, d, f) {
|
|
7450
|
+
var p = n + e.length, m = u.length, h = l;
|
|
7451
|
+
return d !== void 0 && (d = r(d), h = c), o(f, h, function(r, o) {
|
|
7452
|
+
var c;
|
|
7453
|
+
switch (a(o, 0)) {
|
|
7454
|
+
case "$": return "$";
|
|
7455
|
+
case "&": return e;
|
|
7456
|
+
case "`": return s(t, 0, n);
|
|
7457
|
+
case "'": return s(t, p);
|
|
7458
|
+
case "<":
|
|
7459
|
+
c = d[s(o, 1, -1)];
|
|
7460
|
+
break;
|
|
7461
|
+
default:
|
|
7462
|
+
var l = +o;
|
|
7463
|
+
if (l === 0) return r;
|
|
7464
|
+
if (l > m) {
|
|
7465
|
+
var f = i(l / 10);
|
|
7466
|
+
return f === 0 ? r : f <= m ? u[f - 1] === void 0 ? a(o, 1) : u[f - 1] + a(o, 1) : r;
|
|
7467
|
+
}
|
|
7468
|
+
c = u[l - 1];
|
|
7469
|
+
}
|
|
7470
|
+
return c === void 0 ? "" : c;
|
|
7471
|
+
});
|
|
7472
|
+
};
|
|
7473
|
+
})), Ll = /* @__PURE__ */ s(((e, t) => {
|
|
7474
|
+
var n = f(), r = v(), i = n.RegExp;
|
|
7475
|
+
t.exports = { correct: !r(function() {
|
|
7476
|
+
var e = !0;
|
|
7477
|
+
try {
|
|
7478
|
+
i(".", "d");
|
|
7479
|
+
} catch (t) {
|
|
7480
|
+
e = !1;
|
|
7481
|
+
}
|
|
7482
|
+
var t = {}, n = "", r = e ? "dgimsy" : "gimsy", a = function(e, r) {
|
|
7483
|
+
Object.defineProperty(t, e, { get: function() {
|
|
7484
|
+
return n += r, !0;
|
|
7485
|
+
} });
|
|
7486
|
+
}, o = {
|
|
7487
|
+
dotAll: "s",
|
|
7488
|
+
global: "g",
|
|
7489
|
+
ignoreCase: "i",
|
|
7490
|
+
multiline: "m",
|
|
7491
|
+
sticky: "y"
|
|
7492
|
+
};
|
|
7493
|
+
for (var s in e && (o.hasIndices = "d"), o) a(s, o[s]);
|
|
7494
|
+
return Object.getOwnPropertyDescriptor(i.prototype, "flags").get.call(t) !== r || n !== r;
|
|
7495
|
+
}) };
|
|
7496
|
+
})), Rl = /* @__PURE__ */ s(((e, t) => {
|
|
7497
|
+
var n = B(), r = j(), i = ne(), a = Ll(), o = Un(), s = RegExp.prototype;
|
|
7498
|
+
t.exports = a.correct ? function(e) {
|
|
7499
|
+
return e.flags;
|
|
7500
|
+
} : function(e) {
|
|
7501
|
+
return !a.correct && i(s, e) && !r(e, "flags") ? n(o, e) : e.flags;
|
|
7502
|
+
};
|
|
7503
|
+
})), zl = /* @__PURE__ */ s(((e, t) => {
|
|
7504
|
+
var n = B(), r = L(), i = m(), a = x(), o = qn(), s = TypeError;
|
|
7505
|
+
t.exports = function(e, t) {
|
|
7506
|
+
var c = e.exec;
|
|
7507
|
+
if (i(c)) {
|
|
7508
|
+
var l = n(c, e, t);
|
|
7509
|
+
return l !== null && r(l), l;
|
|
7510
|
+
}
|
|
7511
|
+
if (a(e) === "RegExp") return n(o, e, t);
|
|
7512
|
+
throw new s("RegExp#exec called on incompatible receiver");
|
|
7513
|
+
};
|
|
7514
|
+
}));
|
|
7515
|
+
(/* @__PURE__ */ s((() => {
|
|
7516
|
+
var e = tt(), t = B(), n = b(), r = Pl(), i = v(), a = L(), o = m(), s = h(), c = de(), l = pe(), u = ot(), d = w(), f = Fl(), p = ae(), g = Il(), _ = Rl(), y = zl(), x = I()("replace"), S = Math.max, C = Math.min, T = n([].concat), E = n([].push), D = n("".indexOf), O = n("".slice), k = function(e) {
|
|
7517
|
+
return e === void 0 ? e : String(e);
|
|
7518
|
+
}, A = (function() {
|
|
7519
|
+
return "a".replace(/./, "$0") === "$0";
|
|
7520
|
+
})(), j = (function() {
|
|
7521
|
+
return /./[x] ? /./[x]("a", "$0") === "" : !1;
|
|
7522
|
+
})();
|
|
7523
|
+
r("replace", function(n, r, i) {
|
|
7524
|
+
var m = j ? "$" : "$0";
|
|
7525
|
+
return [function(e, n) {
|
|
7526
|
+
var i = d(this), a = s(e) ? p(e, x) : void 0;
|
|
7527
|
+
return a ? t(a, e, i, n) : t(r, u(i), e, n);
|
|
7528
|
+
}, function(t, n) {
|
|
7529
|
+
var s = a(this), d = u(t), p = o(n);
|
|
7530
|
+
p || (n = u(n));
|
|
7531
|
+
var h = u(_(s));
|
|
7532
|
+
if (typeof n == "string" && !~D(n, m) && !~D(n, "$<") && !~D(h, "y")) {
|
|
7533
|
+
var v = i(r, s, d, n);
|
|
7534
|
+
if (v.done) return v.value;
|
|
7535
|
+
}
|
|
7536
|
+
var b = !!~D(h, "g"), x;
|
|
7537
|
+
b && (x = !!~D(h, "u") || !!~D(h, "v"), s.lastIndex = 0);
|
|
7538
|
+
for (var w = [], A; A = y(s, d), !(A === null || (E(w, A), !b));) u(A[0]) === "" && (s.lastIndex = f(d, l(s.lastIndex), x));
|
|
7539
|
+
for (var j = "", M = 0, ee = 0; ee < w.length; ee++) {
|
|
7540
|
+
A = w[ee];
|
|
7541
|
+
for (var N = u(A[0]), P = S(C(c(A.index), d.length), 0), F = [], I, L = 1; L < A.length; L++) E(F, k(A[L]));
|
|
7542
|
+
var R = A.groups;
|
|
7543
|
+
if (p) {
|
|
7544
|
+
var te = T([N], F, P, d);
|
|
7545
|
+
R !== void 0 && E(te, R), I = u(e(n, void 0, te));
|
|
7546
|
+
} else I = g(N, d, P, F, R, n);
|
|
7547
|
+
P >= M && (j += O(d, M, P) + I, M = P + N.length);
|
|
7548
|
+
}
|
|
7549
|
+
return j + O(d, M);
|
|
7550
|
+
}];
|
|
7551
|
+
}, !!i(function() {
|
|
7552
|
+
var e = /./;
|
|
7553
|
+
return e.exec = function() {
|
|
7554
|
+
var e = [];
|
|
7555
|
+
return e.groups = { a: "7" }, e;
|
|
7556
|
+
}, "".replace(e, "$<a>") !== "7";
|
|
7557
|
+
}) || !A || j);
|
|
7558
|
+
})))();
|
|
7559
|
+
var Bl = { announcer: "_announcer_1qj2e_1" };
|
|
7433
7560
|
//#endregion
|
|
7434
7561
|
//#region ../../common/components/a11y-announce/index.tsx
|
|
7435
7562
|
oo();
|
|
7436
|
-
function
|
|
7437
|
-
return
|
|
7563
|
+
function Vl(e, t) {
|
|
7564
|
+
return Kl(e) || Gl(e, t) || Ul(e, t) || Hl();
|
|
7438
7565
|
}
|
|
7439
|
-
function
|
|
7566
|
+
function Hl() {
|
|
7440
7567
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7441
7568
|
}
|
|
7442
|
-
function
|
|
7569
|
+
function Ul(e, t) {
|
|
7443
7570
|
if (e) {
|
|
7444
|
-
if (typeof e == "string") return
|
|
7571
|
+
if (typeof e == "string") return Wl(e, t);
|
|
7445
7572
|
var n = {}.toString.call(e).slice(8, -1);
|
|
7446
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
7573
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Wl(e, t) : void 0;
|
|
7447
7574
|
}
|
|
7448
7575
|
}
|
|
7449
|
-
function
|
|
7576
|
+
function Wl(e, t) {
|
|
7450
7577
|
(t == null || t > e.length) && (t = e.length);
|
|
7451
7578
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
7452
7579
|
return r;
|
|
7453
7580
|
}
|
|
7454
|
-
function
|
|
7581
|
+
function Gl(e, t) {
|
|
7455
7582
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
7456
7583
|
if (n != null) {
|
|
7457
7584
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -7472,37 +7599,38 @@ function zl(e, t) {
|
|
|
7472
7599
|
return s;
|
|
7473
7600
|
}
|
|
7474
7601
|
}
|
|
7475
|
-
function
|
|
7602
|
+
function Kl(e) {
|
|
7476
7603
|
if (Array.isArray(e)) return e;
|
|
7477
7604
|
}
|
|
7478
|
-
function
|
|
7479
|
-
let t = e.text, n = e.timeout, r = n === void 0 ? 100 : n, i =
|
|
7605
|
+
function ql(e) {
|
|
7606
|
+
let t = e.text, n = e.timeout, r = n === void 0 ? 100 : n, i = Vl(q(""), 2), a = i[0], o = i[1];
|
|
7480
7607
|
return J(() => {
|
|
7481
7608
|
if (!t) return;
|
|
7609
|
+
let e = t.replace(/\.{3}$/, "");
|
|
7482
7610
|
o("");
|
|
7483
|
-
let
|
|
7484
|
-
o(
|
|
7611
|
+
let n = setTimeout(() => {
|
|
7612
|
+
o(e);
|
|
7485
7613
|
}, r);
|
|
7486
7614
|
return () => {
|
|
7487
|
-
clearTimeout(
|
|
7615
|
+
clearTimeout(n);
|
|
7488
7616
|
};
|
|
7489
7617
|
}, [t, r]), Z("div", {
|
|
7490
7618
|
role: "status",
|
|
7491
7619
|
"aria-live": "assertive",
|
|
7492
|
-
className:
|
|
7620
|
+
className: Bl.announcer,
|
|
7493
7621
|
children: a
|
|
7494
7622
|
});
|
|
7495
7623
|
}
|
|
7496
7624
|
//#endregion
|
|
7497
7625
|
//#region ../../node_modules/lodash/head.js
|
|
7498
|
-
var
|
|
7626
|
+
var Jl = /* @__PURE__ */ s(((e, t) => {
|
|
7499
7627
|
function n(e) {
|
|
7500
7628
|
return e && e.length ? e[0] : void 0;
|
|
7501
7629
|
}
|
|
7502
7630
|
t.exports = n;
|
|
7503
|
-
})),
|
|
7504
|
-
t.exports =
|
|
7505
|
-
})))(), 1),
|
|
7631
|
+
})), Yl = /* @__PURE__ */ u((/* @__PURE__ */ s(((e, t) => {
|
|
7632
|
+
t.exports = Jl();
|
|
7633
|
+
})))(), 1), Xl = {
|
|
7506
7634
|
tilt: "_tilt_5ot88_1",
|
|
7507
7635
|
vertical: "_vertical_5ot88_19",
|
|
7508
7636
|
horizontal: "_horizontal_5ot88_23",
|
|
@@ -7524,16 +7652,16 @@ var Hl = /* @__PURE__ */ s(((e, t) => {
|
|
|
7524
7652
|
//#endregion
|
|
7525
7653
|
//#region src/components/common/layout/components/tips/components/document-animation/components/tilt/index.tsx
|
|
7526
7654
|
cs();
|
|
7527
|
-
var
|
|
7655
|
+
var Zl = vo(function(e, t) {
|
|
7528
7656
|
var n, r;
|
|
7529
|
-
let i = e.animation, a =
|
|
7530
|
-
return Z(Yt, { children: [Z(
|
|
7657
|
+
let i = e.animation, a = Ol().translate, o = Ml((n = (0, Yl.default)(i.image)) == null ? mi.IDFront : n);
|
|
7658
|
+
return Z(Yt, { children: [Z(ql, { text: a("tiltDocument") }), Z("div", {
|
|
7531
7659
|
part: `hint-holo-icon hint-holo-${o}`,
|
|
7532
|
-
className: `${
|
|
7660
|
+
className: `${Xl.tilt} ${Xl[Nl(i.tiltType)]} ${(r = Xl[o]) == null ? "" : r}`,
|
|
7533
7661
|
ref: t,
|
|
7534
7662
|
role: "img"
|
|
7535
7663
|
})] });
|
|
7536
|
-
}),
|
|
7664
|
+
}), Ql = {
|
|
7537
7665
|
flip: "_flip_1nryz_1",
|
|
7538
7666
|
"one-side": "_one-side_1nryz_2",
|
|
7539
7667
|
front: "_front_1nryz_10",
|
|
@@ -7557,58 +7685,58 @@ var Gl = vo(function(e, t) {
|
|
|
7557
7685
|
//#endregion
|
|
7558
7686
|
//#region src/components/common/layout/components/tips/components/document-animation/components/flip/index.tsx
|
|
7559
7687
|
cs();
|
|
7560
|
-
var
|
|
7688
|
+
var $l = vo(function(e, t) {
|
|
7561
7689
|
var n, r, i, a, o;
|
|
7562
|
-
let s = e.animation, c =
|
|
7690
|
+
let s = e.animation, c = Ol().translate, l = Mc().nextPageAnimationStartDelay, u = l === void 0 ? Ti : l, d = s.image.length === 1, f = d && (0, Yl.default)(s.image) === mi.PassportTwoPages, p = Ml((n = (0, Yl.default)(s.image)) == null ? mi.DocumentFront : n), m = {
|
|
7563
7691
|
"--animation-delay": u + "ms",
|
|
7564
7692
|
"--animation-duration": wi + "ms"
|
|
7565
7693
|
};
|
|
7566
7694
|
if (d) {
|
|
7567
7695
|
var h;
|
|
7568
|
-
return Z(Yt, { children: [Z(
|
|
7696
|
+
return Z(Yt, { children: [Z(ql, { text: c("slideDocument") }), Z("div", {
|
|
7569
7697
|
ref: t,
|
|
7570
7698
|
part: `hint-one-side-page-icon ${p}`,
|
|
7571
|
-
className: `${
|
|
7699
|
+
className: `${Ql["one-side"]} ${f ? Ql.slide : ""} ${(h = Ql[p]) == null ? "" : h}`,
|
|
7572
7700
|
style: m,
|
|
7573
7701
|
role: "img"
|
|
7574
7702
|
})] });
|
|
7575
7703
|
}
|
|
7576
7704
|
let g = Ml((r = (i = s.image) == null ? void 0 : i[1]) == null ? mi.DocumentBack : r);
|
|
7577
|
-
return Z(Yt, { children: [Z(
|
|
7705
|
+
return Z(Yt, { children: [Z(ql, { text: c("flipDocument") }), Z("div", {
|
|
7578
7706
|
ref: t,
|
|
7579
|
-
className:
|
|
7707
|
+
className: Ql.flip,
|
|
7580
7708
|
style: m,
|
|
7581
7709
|
role: "img",
|
|
7582
7710
|
part: "hint-next-page-icon",
|
|
7583
7711
|
children: [Z("div", {
|
|
7584
7712
|
part: `hint-next-page-icon-front-side hint-next-page-front-${p}`,
|
|
7585
|
-
className: `${
|
|
7713
|
+
className: `${Ql.front} ${(a = Ql[p]) == null ? "" : a}`
|
|
7586
7714
|
}), Z("div", {
|
|
7587
7715
|
part: `hint-next-page-icon-back-side hint-next-page-back-${g}`,
|
|
7588
|
-
className: `${
|
|
7716
|
+
className: `${Ql.back} ${(o = Ql[g]) == null ? "" : o}`
|
|
7589
7717
|
})]
|
|
7590
7718
|
})] });
|
|
7591
7719
|
});
|
|
7592
7720
|
oo(), cs();
|
|
7593
|
-
function
|
|
7594
|
-
return
|
|
7721
|
+
function eu(e, t) {
|
|
7722
|
+
return au(e) || iu(e, t) || nu(e, t) || tu();
|
|
7595
7723
|
}
|
|
7596
|
-
function
|
|
7724
|
+
function tu() {
|
|
7597
7725
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7598
7726
|
}
|
|
7599
|
-
function
|
|
7727
|
+
function nu(e, t) {
|
|
7600
7728
|
if (e) {
|
|
7601
|
-
if (typeof e == "string") return
|
|
7729
|
+
if (typeof e == "string") return ru(e, t);
|
|
7602
7730
|
var n = {}.toString.call(e).slice(8, -1);
|
|
7603
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
7731
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ru(e, t) : void 0;
|
|
7604
7732
|
}
|
|
7605
7733
|
}
|
|
7606
|
-
function
|
|
7734
|
+
function ru(e, t) {
|
|
7607
7735
|
(t == null || t > e.length) && (t = e.length);
|
|
7608
7736
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
7609
7737
|
return r;
|
|
7610
7738
|
}
|
|
7611
|
-
function
|
|
7739
|
+
function iu(e, t) {
|
|
7612
7740
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
7613
7741
|
if (n != null) {
|
|
7614
7742
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -7629,19 +7757,19 @@ function Ql(e, t) {
|
|
|
7629
7757
|
return s;
|
|
7630
7758
|
}
|
|
7631
7759
|
}
|
|
7632
|
-
function
|
|
7760
|
+
function au(e) {
|
|
7633
7761
|
if (Array.isArray(e)) return e;
|
|
7634
7762
|
}
|
|
7635
|
-
var
|
|
7636
|
-
let n = e.animation, r =
|
|
7763
|
+
var ou = vo(function(e, t) {
|
|
7764
|
+
let n = e.animation, r = eu(q(null), 2), i = r[0], a = r[1];
|
|
7637
7765
|
ja(() => {
|
|
7638
7766
|
n && a(n.type);
|
|
7639
7767
|
}, [n]);
|
|
7640
7768
|
let o = (n == null ? void 0 : n.type) || i;
|
|
7641
|
-
return o === pi.Tilt && (n == null ? void 0 : n.type) === pi.Tilt ? Z(
|
|
7769
|
+
return o === pi.Tilt && (n == null ? void 0 : n.type) === pi.Tilt ? Z(Zl, {
|
|
7642
7770
|
animation: n,
|
|
7643
7771
|
ref: t
|
|
7644
|
-
}) : o === pi.Flip && (n == null ? void 0 : n.type) === pi.Flip ? Z(
|
|
7772
|
+
}) : o === pi.Flip && (n == null ? void 0 : n.type) === pi.Flip ? Z($l, {
|
|
7645
7773
|
animation: n,
|
|
7646
7774
|
ref: t
|
|
7647
7775
|
}) : null;
|
|
@@ -7649,7 +7777,7 @@ var eu = vo(function(e, t) {
|
|
|
7649
7777
|
//#endregion
|
|
7650
7778
|
//#region src/components/common/layout/components/tips/index.tsx
|
|
7651
7779
|
oo();
|
|
7652
|
-
function
|
|
7780
|
+
function su(e, t) {
|
|
7653
7781
|
var n = Object.keys(e);
|
|
7654
7782
|
if (Object.getOwnPropertySymbols) {
|
|
7655
7783
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -7659,30 +7787,30 @@ function tu(e, t) {
|
|
|
7659
7787
|
}
|
|
7660
7788
|
return n;
|
|
7661
7789
|
}
|
|
7662
|
-
function
|
|
7790
|
+
function cu(e) {
|
|
7663
7791
|
for (var t = 1; t < arguments.length; t++) {
|
|
7664
7792
|
var n = arguments[t] == null ? {} : arguments[t];
|
|
7665
|
-
t % 2 ?
|
|
7666
|
-
|
|
7667
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
7793
|
+
t % 2 ? su(Object(n), !0).forEach(function(t) {
|
|
7794
|
+
lu(e, t, n[t]);
|
|
7795
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : su(Object(n)).forEach(function(t) {
|
|
7668
7796
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
7669
7797
|
});
|
|
7670
7798
|
}
|
|
7671
7799
|
return e;
|
|
7672
7800
|
}
|
|
7673
|
-
function
|
|
7674
|
-
return (t =
|
|
7801
|
+
function lu(e, t, n) {
|
|
7802
|
+
return (t = uu(t)) in e ? Object.defineProperty(e, t, {
|
|
7675
7803
|
value: n,
|
|
7676
7804
|
enumerable: !0,
|
|
7677
7805
|
configurable: !0,
|
|
7678
7806
|
writable: !0
|
|
7679
7807
|
}) : e[t] = n, e;
|
|
7680
7808
|
}
|
|
7681
|
-
function
|
|
7682
|
-
var t =
|
|
7809
|
+
function uu(e) {
|
|
7810
|
+
var t = du(e, "string");
|
|
7683
7811
|
return typeof t == "symbol" ? t : t + "";
|
|
7684
7812
|
}
|
|
7685
|
-
function
|
|
7813
|
+
function du(e, t) {
|
|
7686
7814
|
if (typeof e != "object" || !e) return e;
|
|
7687
7815
|
var n = e[Symbol.toPrimitive];
|
|
7688
7816
|
if (n !== void 0) {
|
|
@@ -7692,14 +7820,14 @@ function au(e, t) {
|
|
|
7692
7820
|
}
|
|
7693
7821
|
return (t === "string" ? String : Number)(e);
|
|
7694
7822
|
}
|
|
7695
|
-
function
|
|
7823
|
+
function fu(e) {
|
|
7696
7824
|
var t;
|
|
7697
|
-
let n = e.layoutParams, r = e.icon, i = e.title, a = e.maskParams, o = e.animation, s = e.videoSize, c = e.controlsSizes, l = e.isLandscape, u = Mc(), d = u.statusIcon, f = d === void 0 || d, p = u.statusPositionMultiplier, m = u.activityIndicatorPortraitPositionMultiplier, h = u.activityIndicatorLandscapePositionMultiplier, g = u.newLayout, _ = Ma(null), v = Ma(null), y = Ma(null), b = Ma(null), x = Ma(null), S = l && a == null, C = `${
|
|
7825
|
+
let n = e.layoutParams, r = e.icon, i = e.title, a = e.maskParams, o = e.animation, s = e.videoSize, c = e.controlsSizes, l = e.isLandscape, u = Mc(), d = u.statusIcon, f = d === void 0 || d, p = u.statusPositionMultiplier, m = u.activityIndicatorPortraitPositionMultiplier, h = u.activityIndicatorLandscapePositionMultiplier, g = u.newLayout, _ = Ma(null), v = Ma(null), y = Ma(null), b = Ma(null), x = Ma(null), S = l && a == null, C = `${_l["hint-container"]} ${S ? _l["tips-frameless"] : ""}`, w = Ol().translate, T = {
|
|
7698
7826
|
classNames: {
|
|
7699
|
-
enter:
|
|
7700
|
-
enterActive:
|
|
7701
|
-
exit:
|
|
7702
|
-
exitActive:
|
|
7827
|
+
enter: _l["fade-enter"],
|
|
7828
|
+
enterActive: _l["fade-enter-active"],
|
|
7829
|
+
exit: _l["fade-exit"],
|
|
7830
|
+
exitActive: _l["fade-exit-active"]
|
|
7703
7831
|
},
|
|
7704
7832
|
timeout: 300
|
|
7705
7833
|
};
|
|
@@ -7736,57 +7864,57 @@ function ou(e) {
|
|
|
7736
7864
|
part: "hint-container",
|
|
7737
7865
|
ref: v,
|
|
7738
7866
|
className: C,
|
|
7739
|
-
children: g ? Z(Yt, { children: [Z(
|
|
7867
|
+
children: g ? Z(Yt, { children: [Z(cl, cu(cu({
|
|
7740
7868
|
in: !!o,
|
|
7741
7869
|
nodeRef: _,
|
|
7742
7870
|
unmountOnExit: !0
|
|
7743
|
-
}, T), {}, { children: Z(
|
|
7871
|
+
}, T), {}, { children: Z(ou, {
|
|
7744
7872
|
animation: o,
|
|
7745
7873
|
ref: _
|
|
7746
7874
|
}) })), Z("div", {
|
|
7747
7875
|
part: "hint-status-message-container",
|
|
7748
|
-
className:
|
|
7876
|
+
className: _l["message-container"],
|
|
7749
7877
|
children: !!i && Z("div", {
|
|
7750
7878
|
part: "hint-status-message",
|
|
7751
7879
|
ref: x,
|
|
7752
|
-
className:
|
|
7880
|
+
className: _l.message,
|
|
7753
7881
|
children: Z("div", {
|
|
7754
7882
|
part: "hint-status-message-background",
|
|
7755
|
-
className:
|
|
7883
|
+
className: _l["message-background"],
|
|
7756
7884
|
children: Z("p", {
|
|
7757
7885
|
role: "status",
|
|
7758
7886
|
"aria-live": "assertive",
|
|
7759
7887
|
part: "hint-status-message-title",
|
|
7760
|
-
className:
|
|
7888
|
+
className: _l.title,
|
|
7761
7889
|
children: w(i)
|
|
7762
7890
|
})
|
|
7763
7891
|
})
|
|
7764
7892
|
})
|
|
7765
|
-
})] }) : Z(Yt, { children: [Z(jl, { className:
|
|
7893
|
+
})] }) : Z(Yt, { children: [Z(jl, { className: _l.copyright }), Z(gl, { children: Z(cl, cu(cu({ nodeRef: o ? _ : y }, T), {}, { children: o ? Z(ou, {
|
|
7766
7894
|
animation: o,
|
|
7767
7895
|
ref: _
|
|
7768
7896
|
}) : Z("div", {
|
|
7769
7897
|
part: "hint-status-message-container",
|
|
7770
7898
|
ref: y,
|
|
7771
|
-
className:
|
|
7899
|
+
className: _l["message-container"],
|
|
7772
7900
|
children: [f && !!r && Z("div", {
|
|
7773
7901
|
role: "img",
|
|
7774
7902
|
"aria-label": w("statusIcon"),
|
|
7775
7903
|
part: `hint-status-${r}`,
|
|
7776
7904
|
ref: b,
|
|
7777
|
-
className: `${
|
|
7905
|
+
className: `${_l.icon} ${(t = _l[r]) == null ? "" : t}`
|
|
7778
7906
|
}), !!i && Z("div", {
|
|
7779
7907
|
part: "hint-status-message",
|
|
7780
7908
|
ref: x,
|
|
7781
|
-
className:
|
|
7909
|
+
className: _l.message,
|
|
7782
7910
|
children: Z("div", {
|
|
7783
7911
|
part: "hint-status-message-background",
|
|
7784
|
-
className:
|
|
7912
|
+
className: _l["message-background"],
|
|
7785
7913
|
children: Z("p", {
|
|
7786
7914
|
role: "status",
|
|
7787
7915
|
"aria-live": "assertive",
|
|
7788
7916
|
part: "hint-status-message-title",
|
|
7789
|
-
className:
|
|
7917
|
+
className: _l.title,
|
|
7790
7918
|
children: w(i)
|
|
7791
7919
|
})
|
|
7792
7920
|
})
|
|
@@ -7794,7 +7922,7 @@ function ou(e) {
|
|
|
7794
7922
|
}) }), o ? "document-animation" : "message-container") })] })
|
|
7795
7923
|
});
|
|
7796
7924
|
}
|
|
7797
|
-
var
|
|
7925
|
+
var pu = {
|
|
7798
7926
|
"top-functional-buttons": "_top-functional-buttons_r3hg6_1",
|
|
7799
7927
|
"bottom-functional-buttons": "_bottom-functional-buttons_r3hg6_2",
|
|
7800
7928
|
"left-functional-buttons": "_left-functional-buttons_r3hg6_3",
|
|
@@ -7813,25 +7941,25 @@ var su = {
|
|
|
7813
7941
|
//#endregion
|
|
7814
7942
|
//#region src/components/common/layout/components/controls/index.tsx
|
|
7815
7943
|
oo();
|
|
7816
|
-
function
|
|
7817
|
-
return
|
|
7944
|
+
function mu(e, t) {
|
|
7945
|
+
return yu(e) || vu(e, t) || gu(e, t) || hu();
|
|
7818
7946
|
}
|
|
7819
|
-
function
|
|
7947
|
+
function hu() {
|
|
7820
7948
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7821
7949
|
}
|
|
7822
|
-
function
|
|
7950
|
+
function gu(e, t) {
|
|
7823
7951
|
if (e) {
|
|
7824
|
-
if (typeof e == "string") return
|
|
7952
|
+
if (typeof e == "string") return _u(e, t);
|
|
7825
7953
|
var n = {}.toString.call(e).slice(8, -1);
|
|
7826
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
7954
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _u(e, t) : void 0;
|
|
7827
7955
|
}
|
|
7828
7956
|
}
|
|
7829
|
-
function
|
|
7957
|
+
function _u(e, t) {
|
|
7830
7958
|
(t == null || t > e.length) && (t = e.length);
|
|
7831
7959
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
7832
7960
|
return r;
|
|
7833
7961
|
}
|
|
7834
|
-
function
|
|
7962
|
+
function vu(e, t) {
|
|
7835
7963
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
7836
7964
|
if (n != null) {
|
|
7837
7965
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -7852,12 +7980,12 @@ function fu(e, t) {
|
|
|
7852
7980
|
return s;
|
|
7853
7981
|
}
|
|
7854
7982
|
}
|
|
7855
|
-
function
|
|
7983
|
+
function yu(e) {
|
|
7856
7984
|
if (Array.isArray(e)) return e;
|
|
7857
7985
|
}
|
|
7858
|
-
function
|
|
7986
|
+
function bu(e) {
|
|
7859
7987
|
var t;
|
|
7860
|
-
let n = e.mirroring, r = e.isSkipButtonVisible, i = e.isChangeCameraAvailable, a = e.isLandscape, o = e.onClose, s = e.onChangeCamera, c = e.onChangeMirroring, l = e.maskParams, u = e.captureButton, d = e.facing, f = e.onSnapshotProcess, p = e.onCameraSnapshot, m = e.onSkip, h = e.onControlsSizes, g = e.direction, _ = Mc(), v = _.closeButton, y = v === void 0 || v, b = _.skipButton, x = b === void 0 || b, S = _.mirrorButton, C = S !== void 0 && S, w = _.changeCameraButton, T = _.captureButtonDelay, E = _.newLayout, D =
|
|
7988
|
+
let n = e.mirroring, r = e.isSkipButtonVisible, i = e.isChangeCameraAvailable, a = e.isLandscape, o = e.onClose, s = e.onChangeCamera, c = e.onChangeMirroring, l = e.maskParams, u = e.captureButton, d = e.facing, f = e.onSnapshotProcess, p = e.onCameraSnapshot, m = e.onSkip, h = e.onControlsSizes, g = e.direction, _ = Mc(), v = _.closeButton, y = v === void 0 || v, b = _.skipButton, x = b === void 0 || b, S = _.mirrorButton, C = S !== void 0 && S, w = _.changeCameraButton, T = _.captureButtonDelay, E = _.newLayout, D = Ol().translate, O = mu(q(T === void 0), 2), k = O[0], A = O[1], j = Ma(null), M = Ma(null), ee = Ma(null), N = Ma(null), P = f && u && k, F = x, I = d !== Bi.environment && C, L = i && w, R = y, te = P || !!p || F, z = I || L, B = P || !!p || I || L, V = B || F, ne = n ? "mirrored" : "not-mirrored", re = { "--skip-position": ((t = g === Wi.Ltr && E ? l == null ? void 0 : l.right : l == null ? void 0 : l.left) == null ? 0 : t) + 18 + "px" };
|
|
7861
7989
|
return J(() => {
|
|
7862
7990
|
var e, t, n, r, i, o;
|
|
7863
7991
|
let s = ((e = j.current) == null ? void 0 : e.offsetWidth) || 0, c = ((t = M.current) == null ? void 0 : t.offsetWidth) || 0, l = ((n = ee.current) == null ? void 0 : n.offsetWidth) || 0, u = ((r = N.current) == null ? void 0 : r.offsetWidth) || 0, d = ((i = N.current) == null ? void 0 : i.offsetHeight) || 0, f = ((o = j.current) == null ? void 0 : o.offsetHeight) || 0;
|
|
@@ -7882,79 +8010,79 @@ function mu(e) {
|
|
|
7882
8010
|
};
|
|
7883
8011
|
}, [T]), Z("div", {
|
|
7884
8012
|
part: "controls-container",
|
|
7885
|
-
className:
|
|
8013
|
+
className: pu["controls-container"],
|
|
7886
8014
|
style: a ? re : void 0,
|
|
7887
8015
|
children: [
|
|
7888
8016
|
Z("div", {
|
|
7889
8017
|
part: "controls-top-buttons",
|
|
7890
|
-
className:
|
|
8018
|
+
className: pu["top-functional-buttons"],
|
|
7891
8019
|
ref: j,
|
|
7892
8020
|
children: y && Z("button", {
|
|
7893
8021
|
part: "controls-process-close-button",
|
|
7894
|
-
className:
|
|
8022
|
+
className: pu["process-close-button"],
|
|
7895
8023
|
onClick: o,
|
|
7896
8024
|
"aria-label": D("closeProcessing")
|
|
7897
8025
|
})
|
|
7898
8026
|
}),
|
|
7899
8027
|
te && !E && Z("div", {
|
|
7900
8028
|
part: "controls-left-buttons",
|
|
7901
|
-
className:
|
|
8029
|
+
className: pu["left-functional-buttons"],
|
|
7902
8030
|
ref: M,
|
|
7903
8031
|
children: [(P || p) && Z("button", {
|
|
7904
8032
|
part: P ? "controls-process-button" : "controls-snapshot-button",
|
|
7905
|
-
className: P ?
|
|
8033
|
+
className: P ? pu["process-button"] : pu["snapshot-button"],
|
|
7906
8034
|
onClick: P ? f : p,
|
|
7907
8035
|
"aria-label": D(P ? "processFrame" : "takeSnapshot")
|
|
7908
8036
|
}), F && Z("button", {
|
|
7909
8037
|
"aria-label": D("skipPage"),
|
|
7910
8038
|
part: "controls-skip-button",
|
|
7911
|
-
className: `${
|
|
8039
|
+
className: `${pu["skip-button"]} ${r ? pu.visible : ""}`,
|
|
7912
8040
|
onClick: m
|
|
7913
8041
|
})]
|
|
7914
8042
|
}),
|
|
7915
8043
|
z && !E && Z("div", {
|
|
7916
8044
|
part: "controls-bottom-buttons",
|
|
7917
|
-
className:
|
|
8045
|
+
className: pu["bottom-functional-buttons"],
|
|
7918
8046
|
ref: ee,
|
|
7919
8047
|
children: [L && Z("button", {
|
|
7920
8048
|
part: "controls-change-camera-button",
|
|
7921
|
-
className:
|
|
8049
|
+
className: pu["change-camera-button"],
|
|
7922
8050
|
onClick: s,
|
|
7923
8051
|
"aria-label": D("changeCamera")
|
|
7924
8052
|
}), I && Z("button", {
|
|
7925
8053
|
part: `controls-mirror-button ${ne}`,
|
|
7926
|
-
className:
|
|
8054
|
+
className: pu[ne],
|
|
7927
8055
|
onClick: c,
|
|
7928
8056
|
"aria-label": D("flipHorizontally")
|
|
7929
8057
|
})]
|
|
7930
8058
|
}),
|
|
7931
8059
|
V && E && Z("div", {
|
|
7932
8060
|
part: "controls-main-buttons",
|
|
7933
|
-
className:
|
|
8061
|
+
className: pu["main-functional-buttons"],
|
|
7934
8062
|
ref: N,
|
|
7935
8063
|
children: [
|
|
7936
8064
|
L && Z("button", {
|
|
7937
8065
|
part: "controls-change-camera-button",
|
|
7938
8066
|
"aria-label": D("changeCamera"),
|
|
7939
|
-
className:
|
|
8067
|
+
className: pu["change-camera-button"],
|
|
7940
8068
|
onClick: s
|
|
7941
8069
|
}),
|
|
7942
8070
|
P && Z("button", {
|
|
7943
8071
|
part: `controls-process-button ${a ? "landscape" : "portrait"}`,
|
|
7944
|
-
className:
|
|
8072
|
+
className: pu["process-button"],
|
|
7945
8073
|
onClick: f,
|
|
7946
8074
|
"aria-label": D("processFrame")
|
|
7947
8075
|
}),
|
|
7948
8076
|
I && Z("button", {
|
|
7949
8077
|
part: "controls-mirror-button",
|
|
7950
|
-
className:
|
|
8078
|
+
className: pu["mirror-button"],
|
|
7951
8079
|
onClick: c,
|
|
7952
8080
|
"aria-label": D("flipHorizontally")
|
|
7953
8081
|
}),
|
|
7954
8082
|
F && Z("button", {
|
|
7955
8083
|
part: `controls-skip-button ${a ? "landscape" : "portrait"}`,
|
|
7956
8084
|
"aria-label": D("skipPage"),
|
|
7957
|
-
className: `${
|
|
8085
|
+
className: `${pu["skip-button"]} ${r ? pu.visible : ""}`,
|
|
7958
8086
|
onClick: m,
|
|
7959
8087
|
children: D("skip")
|
|
7960
8088
|
})
|
|
@@ -7963,7 +8091,7 @@ function mu(e) {
|
|
|
7963
8091
|
]
|
|
7964
8092
|
});
|
|
7965
8093
|
}
|
|
7966
|
-
var
|
|
8094
|
+
var xu = {
|
|
7967
8095
|
spinner: "_spinner_1vpw0_1",
|
|
7968
8096
|
spin: "_spin_1vpw0_1",
|
|
7969
8097
|
"process-message": "_process-message_1vpw0_41",
|
|
@@ -7971,25 +8099,25 @@ var hu = {
|
|
|
7971
8099
|
};
|
|
7972
8100
|
//#endregion
|
|
7973
8101
|
//#region src/components/common/process-screen/index.tsx
|
|
7974
|
-
function
|
|
7975
|
-
let t = e.title, n =
|
|
7976
|
-
return Z(Yt, { children: [Z(
|
|
8102
|
+
function Su(e) {
|
|
8103
|
+
let t = e.title, n = Ol().translate;
|
|
8104
|
+
return Z(Yt, { children: [Z(ql, { text: t || n("pleaseWait") }), Z("div", {
|
|
7977
8105
|
part: "processing-container",
|
|
7978
|
-
className:
|
|
8106
|
+
className: xu["process-message"],
|
|
7979
8107
|
children: [Z("div", {
|
|
7980
8108
|
role: "img",
|
|
7981
8109
|
"aria-label": n("spinnerIcon"),
|
|
7982
8110
|
part: "spinner-container",
|
|
7983
|
-
className:
|
|
8111
|
+
className: xu.spinner,
|
|
7984
8112
|
children: Z("div", { part: "spinner-circle" })
|
|
7985
8113
|
}), Z("span", {
|
|
7986
8114
|
part: "processing-message",
|
|
7987
|
-
className:
|
|
8115
|
+
className: xu.message,
|
|
7988
8116
|
children: t || n("pleaseWait")
|
|
7989
8117
|
})]
|
|
7990
8118
|
})] });
|
|
7991
8119
|
}
|
|
7992
|
-
var
|
|
8120
|
+
var Cu = {
|
|
7993
8121
|
window: "_window_989nk_14",
|
|
7994
8122
|
header: "_header_989nk_36",
|
|
7995
8123
|
footer: "_footer_989nk_57",
|
|
@@ -7997,19 +8125,19 @@ var _u = {
|
|
|
7997
8125
|
};
|
|
7998
8126
|
//#endregion
|
|
7999
8127
|
//#region src/components/common/container/index.tsx
|
|
8000
|
-
function
|
|
8001
|
-
let t = e.onClose, n = e.children, r = e.direction, i = e.showHeaderAndFooter, a = i === void 0 || i, o = e.className, s = Mc().closeButton, c = s === void 0 || s, l =
|
|
8128
|
+
function wu(e) {
|
|
8129
|
+
let t = e.onClose, n = e.children, r = e.direction, i = e.showHeaderAndFooter, a = i === void 0 || i, o = e.className, s = Mc().closeButton, c = s === void 0 || s, l = Ol().translate;
|
|
8002
8130
|
return Z("div", {
|
|
8003
8131
|
part: "container",
|
|
8004
|
-
className: `${
|
|
8132
|
+
className: `${Cu.window} ${o == null ? "" : o}`,
|
|
8005
8133
|
"data-direction": r,
|
|
8006
8134
|
children: [
|
|
8007
8135
|
a && Z("div", {
|
|
8008
8136
|
part: "container-header",
|
|
8009
|
-
className:
|
|
8137
|
+
className: Cu.header,
|
|
8010
8138
|
children: c && Z("button", {
|
|
8011
8139
|
part: "container-close-button",
|
|
8012
|
-
className:
|
|
8140
|
+
className: Cu["close-button"],
|
|
8013
8141
|
"data-e2e": "cross",
|
|
8014
8142
|
onClick: t,
|
|
8015
8143
|
"aria-label": l("closeDocumentReaderComponent")
|
|
@@ -8018,13 +8146,13 @@ function vu(e) {
|
|
|
8018
8146
|
n,
|
|
8019
8147
|
a && Z("div", {
|
|
8020
8148
|
part: "container-footer",
|
|
8021
|
-
className:
|
|
8149
|
+
className: Cu.footer,
|
|
8022
8150
|
children: Z(jl, {})
|
|
8023
8151
|
})
|
|
8024
8152
|
]
|
|
8025
8153
|
});
|
|
8026
8154
|
}
|
|
8027
|
-
var
|
|
8155
|
+
var Tu = {
|
|
8028
8156
|
container: "_container_1fvj1_1",
|
|
8029
8157
|
layout: "_layout_1fvj1_2",
|
|
8030
8158
|
loader: "_loader_1fvj1_20",
|
|
@@ -8033,25 +8161,25 @@ var yu = {
|
|
|
8033
8161
|
//#endregion
|
|
8034
8162
|
//#region src/components/common/layout/index.tsx
|
|
8035
8163
|
oo();
|
|
8036
|
-
function
|
|
8037
|
-
return
|
|
8164
|
+
function Eu(e, t) {
|
|
8165
|
+
return ju(e) || Au(e, t) || Ou(e, t) || Du();
|
|
8038
8166
|
}
|
|
8039
|
-
function
|
|
8167
|
+
function Du() {
|
|
8040
8168
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8041
8169
|
}
|
|
8042
|
-
function
|
|
8170
|
+
function Ou(e, t) {
|
|
8043
8171
|
if (e) {
|
|
8044
|
-
if (typeof e == "string") return
|
|
8172
|
+
if (typeof e == "string") return ku(e, t);
|
|
8045
8173
|
var n = {}.toString.call(e).slice(8, -1);
|
|
8046
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
8174
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? ku(e, t) : void 0;
|
|
8047
8175
|
}
|
|
8048
8176
|
}
|
|
8049
|
-
function
|
|
8177
|
+
function ku(e, t) {
|
|
8050
8178
|
(t == null || t > e.length) && (t = e.length);
|
|
8051
8179
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
8052
8180
|
return r;
|
|
8053
8181
|
}
|
|
8054
|
-
function
|
|
8182
|
+
function Au(e, t) {
|
|
8055
8183
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
8056
8184
|
if (n != null) {
|
|
8057
8185
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -8072,11 +8200,11 @@ function wu(e, t) {
|
|
|
8072
8200
|
return s;
|
|
8073
8201
|
}
|
|
8074
8202
|
}
|
|
8075
|
-
function
|
|
8203
|
+
function ju(e) {
|
|
8076
8204
|
if (Array.isArray(e)) return e;
|
|
8077
8205
|
}
|
|
8078
|
-
function
|
|
8079
|
-
let t = e.direction, n = e.status, r = e.children, i = e.mirroring, a = e.onChangeMirroring, o = e.onChangeCamera, s = e.videoStatusParams, c = e.videoElementParams, l = e.onProcessClose, u = e.onClose, d = e.onSnapshotProcess, f = e.onCameraSnapshot, p = e.onSkip, m = e.frameParams, h = e.captureButton, g = e.animation, _ = e.onControlsWidth, v = Mc(), y = v.cameraFrameBorderWidth, b = v.cameraFrame, x = b === void 0 || b, S = v.newLayout, C = v.cameraFrameVerticalPositionMultiplier, w = v.cameraFrameHorizontalPositionMultiplier, T = v.manualMultipageMode, E = Ma(null), D = Ma(null), O =
|
|
8206
|
+
function Mu(e) {
|
|
8207
|
+
let t = e.direction, n = e.status, r = e.children, i = e.mirroring, a = e.onChangeMirroring, o = e.onChangeCamera, s = e.videoStatusParams, c = e.videoElementParams, l = e.onProcessClose, u = e.onClose, d = e.onSnapshotProcess, f = e.onCameraSnapshot, p = e.onSkip, m = e.frameParams, h = e.captureButton, g = e.animation, _ = e.onControlsWidth, v = Mc(), y = v.cameraFrameBorderWidth, b = v.cameraFrame, x = b === void 0 || b, S = v.newLayout, C = v.cameraFrameVerticalPositionMultiplier, w = v.cameraFrameHorizontalPositionMultiplier, T = v.manualMultipageMode, E = Ma(null), D = Ma(null), O = Eu(q(!1), 2), k = O[0], A = O[1], j = Eu(q(null), 2), M = j[0], ee = j[1], N = Eu(q(null), 2), P = N[0], F = N[1], I = Eu(q(null), 2), L = I[0], R = I[1], te = !!(s.sortedDevices && s.sortedDevices.frontCameras.length + s.sortedDevices.backCameras.length > 1), z = n === G.HOLD || n === G.FOCUS || n === G.RESOLUTION || n === G.PROCESSING || n === G.GLARE || n === G.OCCLUSION, B = n !== G.SERVICE_PREPARING, V = s.videoStatus === zi.PLAY, ne = Oc(n), re = ne.icon, ie = ne.title, H = c.videoParams.width > c.videoParams.height, ae = S ? c.videoContainerParams : P;
|
|
8080
8208
|
return J(() => {
|
|
8081
8209
|
n !== G.START_NEXT_PAGE || T || A(!0);
|
|
8082
8210
|
}, [n, T]), ja(() => {
|
|
@@ -8147,7 +8275,7 @@ function Eu(e) {
|
|
|
8147
8275
|
S
|
|
8148
8276
|
]), Z("div", {
|
|
8149
8277
|
part: "layout-container",
|
|
8150
|
-
className:
|
|
8278
|
+
className: Tu.container,
|
|
8151
8279
|
"data-layout": S ? "new" : "old",
|
|
8152
8280
|
"data-orientation": H ? "landscape" : "portrait",
|
|
8153
8281
|
children: [
|
|
@@ -8155,14 +8283,14 @@ function Eu(e) {
|
|
|
8155
8283
|
V && Z("div", {
|
|
8156
8284
|
part: "layout",
|
|
8157
8285
|
ref: E,
|
|
8158
|
-
className:
|
|
8286
|
+
className: Tu.layout,
|
|
8159
8287
|
children: [
|
|
8160
|
-
x && M && ae && Z(
|
|
8288
|
+
x && M && ae && Z(Vc, {
|
|
8161
8289
|
layoutParams: ae,
|
|
8162
8290
|
maskParams: M,
|
|
8163
8291
|
isDocumentAvailable: z
|
|
8164
8292
|
}),
|
|
8165
|
-
Z(
|
|
8293
|
+
Z(fu, {
|
|
8166
8294
|
layoutParams: ae,
|
|
8167
8295
|
title: ie,
|
|
8168
8296
|
icon: re,
|
|
@@ -8172,7 +8300,7 @@ function Eu(e) {
|
|
|
8172
8300
|
isLandscape: H,
|
|
8173
8301
|
animation: g
|
|
8174
8302
|
}),
|
|
8175
|
-
Z(
|
|
8303
|
+
Z(bu, {
|
|
8176
8304
|
mirroring: i,
|
|
8177
8305
|
captureButton: h,
|
|
8178
8306
|
facing: s.camera.facing,
|
|
@@ -8191,24 +8319,24 @@ function Eu(e) {
|
|
|
8191
8319
|
}),
|
|
8192
8320
|
S && Z(jl, {
|
|
8193
8321
|
ref: D,
|
|
8194
|
-
className:
|
|
8322
|
+
className: Tu.copyright
|
|
8195
8323
|
})
|
|
8196
8324
|
]
|
|
8197
8325
|
}),
|
|
8198
|
-
(n === G.SERVICE_PREPARING || !V) && Z(
|
|
8326
|
+
(n === G.SERVICE_PREPARING || !V) && Z(wu, {
|
|
8199
8327
|
onClose: u,
|
|
8200
|
-
className:
|
|
8201
|
-
children: Z(
|
|
8328
|
+
className: Tu.loader,
|
|
8329
|
+
children: Z(Su, {})
|
|
8202
8330
|
})
|
|
8203
8331
|
]
|
|
8204
8332
|
});
|
|
8205
8333
|
}
|
|
8206
8334
|
//#endregion
|
|
8207
8335
|
//#region ../../node_modules/core-js/internals/whitespaces.js
|
|
8208
|
-
var
|
|
8336
|
+
var Nu = /* @__PURE__ */ s(((e, t) => {
|
|
8209
8337
|
t.exports = " \n\v\f\r \xA0 \u2028\u2029";
|
|
8210
|
-
})),
|
|
8211
|
-
var n = b(), r = w(), i = ot(), a =
|
|
8338
|
+
})), Pu = /* @__PURE__ */ s(((e, t) => {
|
|
8339
|
+
var n = b(), r = w(), i = ot(), a = Nu(), o = n("".replace), s = RegExp("^[" + a + "]+"), c = RegExp("(^|[^" + a + "])[" + a + "]+$"), l = function(e) {
|
|
8212
8340
|
return function(t) {
|
|
8213
8341
|
var n = i(r(t));
|
|
8214
8342
|
return e & 1 && (n = o(n, s, "")), e & 2 && (n = o(n, c, "$1")), n;
|
|
@@ -8219,23 +8347,23 @@ var Du = /* @__PURE__ */ s(((e, t) => {
|
|
|
8219
8347
|
end: l(2),
|
|
8220
8348
|
trim: l(3)
|
|
8221
8349
|
};
|
|
8222
|
-
})),
|
|
8223
|
-
var n = Me().PROPER, r = v(), i =
|
|
8350
|
+
})), Fu = /* @__PURE__ */ s(((e, t) => {
|
|
8351
|
+
var n = Me().PROPER, r = v(), i = Nu(), a = "
";
|
|
8224
8352
|
t.exports = function(e) {
|
|
8225
8353
|
return r(function() {
|
|
8226
8354
|
return !!i[e]() || a[e]() !== a || n && i[e].name !== e;
|
|
8227
8355
|
});
|
|
8228
8356
|
};
|
|
8229
|
-
})),
|
|
8230
|
-
var e = Ve(), t =
|
|
8357
|
+
})), Iu = /* @__PURE__ */ s((() => {
|
|
8358
|
+
var e = Ve(), t = Pu().trim;
|
|
8231
8359
|
e({
|
|
8232
8360
|
target: "String",
|
|
8233
8361
|
proto: !0,
|
|
8234
|
-
forced:
|
|
8362
|
+
forced: Fu()("trim")
|
|
8235
8363
|
}, { trim: function() {
|
|
8236
8364
|
return t(this);
|
|
8237
8365
|
} });
|
|
8238
|
-
})),
|
|
8366
|
+
})), Lu = /* @__PURE__ */ s((() => {
|
|
8239
8367
|
var e = Ve(), t = B(), n = Lt(), r = H(), i = L(), a = St(), o = wt(), s = At()("find", TypeError);
|
|
8240
8368
|
e({
|
|
8241
8369
|
target: "Iterator",
|
|
@@ -8259,26 +8387,26 @@ var Du = /* @__PURE__ */ s(((e, t) => {
|
|
|
8259
8387
|
}).result;
|
|
8260
8388
|
} });
|
|
8261
8389
|
}));
|
|
8262
|
-
|
|
8263
|
-
function
|
|
8264
|
-
return
|
|
8390
|
+
Iu(), Lu(), oo();
|
|
8391
|
+
function Ru(e, t) {
|
|
8392
|
+
return Uu(e) || Hu(e, t) || Bu(e, t) || zu();
|
|
8265
8393
|
}
|
|
8266
|
-
function
|
|
8394
|
+
function zu() {
|
|
8267
8395
|
throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8268
8396
|
}
|
|
8269
|
-
function
|
|
8397
|
+
function Bu(e, t) {
|
|
8270
8398
|
if (e) {
|
|
8271
|
-
if (typeof e == "string") return
|
|
8399
|
+
if (typeof e == "string") return Vu(e, t);
|
|
8272
8400
|
var n = {}.toString.call(e).slice(8, -1);
|
|
8273
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
8401
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Vu(e, t) : void 0;
|
|
8274
8402
|
}
|
|
8275
8403
|
}
|
|
8276
|
-
function
|
|
8404
|
+
function Vu(e, t) {
|
|
8277
8405
|
(t == null || t > e.length) && (t = e.length);
|
|
8278
8406
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
8279
8407
|
return r;
|
|
8280
8408
|
}
|
|
8281
|
-
function
|
|
8409
|
+
function Hu(e, t) {
|
|
8282
8410
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
8283
8411
|
if (n != null) {
|
|
8284
8412
|
var r, i, a, o, s = [], c = !0, l = !1;
|
|
@@ -8299,10 +8427,10 @@ function Iu(e, t) {
|
|
|
8299
8427
|
return s;
|
|
8300
8428
|
}
|
|
8301
8429
|
}
|
|
8302
|
-
function
|
|
8430
|
+
function Uu(e) {
|
|
8303
8431
|
if (Array.isArray(e)) return e;
|
|
8304
8432
|
}
|
|
8305
|
-
function
|
|
8433
|
+
function Wu(e) {
|
|
8306
8434
|
let t = e.videoSize, n = e.mirroring, r = e.controlsWidth, i = e.cameraFrameOffsetWidth, a = e.landscapeAspectRatio, o = e.portraitAspectRatio, s = e.cameraFrameVerticalPositionMultiplier, c = e.cameraFrameHorizontalPositionMultiplier, l = e.newLayout, u = t.width > t.height, d = u && !l ? r : 0, f = (u ? t.height : t.width) / 100 * (u ? i == null ? 6 : i : i == null ? l ? 6 : 2 : i), p = (t.width - (u ? d : 0)) / t.height, m = u ? a : o, h, g, _, v;
|
|
8307
8435
|
if (u) {
|
|
8308
8436
|
p > m ? (g = t.height - f * 2, h = g * m, _ = ((!!l === n ? d : 0) + (t.width - d - h) / 2) * (l || c == null ? 1 : c), v = f) : (h = t.width - d - f * 2, g = h / m, _ = (!!l === n ? d : 0) + f, v = (t.height - g) / 2);
|
|
@@ -8316,15 +8444,15 @@ function Ru(e) {
|
|
|
8316
8444
|
top: Math.round(v)
|
|
8317
8445
|
};
|
|
8318
8446
|
}
|
|
8319
|
-
function
|
|
8320
|
-
let t = e.videoSize, n = e.mirroring, r = e.controlsWidth, i = e.scenario, a = e.scenarioParams, o = Mc(), s = o.cameraFramePortraitAspectRatio, c = o.cameraFrameLandscapeAspectRatio, l = o.cameraFrameOffsetWidth, u = o.cameraFrameVerticalPositionMultiplier, d = o.cameraFrameHorizontalPositionMultiplier, f = o.cameraFrame, p = f === void 0 || f, m = o.newLayout, h =
|
|
8447
|
+
function Gu(e) {
|
|
8448
|
+
let t = e.videoSize, n = e.mirroring, r = e.controlsWidth, i = e.scenario, a = e.scenarioParams, o = Mc(), s = o.cameraFramePortraitAspectRatio, c = o.cameraFrameLandscapeAspectRatio, l = o.cameraFrameOffsetWidth, u = o.cameraFrameVerticalPositionMultiplier, d = o.cameraFrameHorizontalPositionMultiplier, f = o.cameraFrame, p = f === void 0 || f, m = o.newLayout, h = Ru(q(null), 2), g = h[0], _ = h[1];
|
|
8321
8449
|
return J(() => {
|
|
8322
8450
|
if (!p) return _(null);
|
|
8323
8451
|
let e = !!t.width, o = !!t.height;
|
|
8324
8452
|
if (!(e && o && a != null && a.length) || !i) return;
|
|
8325
8453
|
let f = a.find((e) => e.name === i), h = window.RegulaDocumentSDK.recognizerProcessParam.processParam.doublePageSpread, g = h ? f == null ? void 0 : f.frameKWHDoublePageSpreadLandscape : f == null ? void 0 : f.frameKWHLandscape, v = h ? f == null ? void 0 : f.frameKWHDoublePageSpreadPortrait : f == null ? void 0 : f.frameKWHPortrait;
|
|
8326
8454
|
if (!g || !v) return;
|
|
8327
|
-
let y = c == null ? Number(g) : c, b = s == null ? Number(v) : s, x =
|
|
8455
|
+
let y = c == null ? Number(g) : c, b = s == null ? Number(v) : s, x = Wu({
|
|
8328
8456
|
videoSize: t,
|
|
8329
8457
|
mirroring: n,
|
|
8330
8458
|
controlsWidth: r,
|
|
@@ -8358,19 +8486,19 @@ function zu(e) {
|
|
|
8358
8486
|
}
|
|
8359
8487
|
//#endregion
|
|
8360
8488
|
//#region ../../common/models/CustomError.ts
|
|
8361
|
-
function
|
|
8362
|
-
return (t =
|
|
8489
|
+
function Ku(e, t, n) {
|
|
8490
|
+
return (t = qu(t)) in e ? Object.defineProperty(e, t, {
|
|
8363
8491
|
value: n,
|
|
8364
8492
|
enumerable: !0,
|
|
8365
8493
|
configurable: !0,
|
|
8366
8494
|
writable: !0
|
|
8367
8495
|
}) : e[t] = n, e;
|
|
8368
8496
|
}
|
|
8369
|
-
function
|
|
8370
|
-
var t =
|
|
8497
|
+
function qu(e) {
|
|
8498
|
+
var t = Ju(e, "string");
|
|
8371
8499
|
return typeof t == "symbol" ? t : t + "";
|
|
8372
8500
|
}
|
|
8373
|
-
function
|
|
8501
|
+
function Ju(e, t) {
|
|
8374
8502
|
if (typeof e != "object" || !e) return e;
|
|
8375
8503
|
var n = e[Symbol.toPrimitive];
|
|
8376
8504
|
if (n !== void 0) {
|
|
@@ -8380,167 +8508,14 @@ function Hu(e, t) {
|
|
|
8380
8508
|
}
|
|
8381
8509
|
return (t === "string" ? String : Number)(e);
|
|
8382
8510
|
}
|
|
8383
|
-
var
|
|
8511
|
+
var Yu = class {
|
|
8384
8512
|
constructor(e) {
|
|
8385
8513
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
8386
|
-
|
|
8514
|
+
Ku(this, "type", void 0), Ku(this, "details", void 0), this.type = e, this.details = t;
|
|
8387
8515
|
}
|
|
8388
|
-
}
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
t.exports = function(e, t, u, d) {
|
|
8392
|
-
var f = o(e), p = !a(function() {
|
|
8393
|
-
var t = {};
|
|
8394
|
-
return t[f] = function() {
|
|
8395
|
-
return 7;
|
|
8396
|
-
}, ""[e](t) !== 7;
|
|
8397
|
-
}), m = p && !a(function() {
|
|
8398
|
-
var t = !1, n = /a/;
|
|
8399
|
-
if (e === "split") {
|
|
8400
|
-
var r = {};
|
|
8401
|
-
r[c] = function() {
|
|
8402
|
-
return n;
|
|
8403
|
-
}, n = {
|
|
8404
|
-
constructor: r,
|
|
8405
|
-
flags: ""
|
|
8406
|
-
}, n[f] = /./[f];
|
|
8407
|
-
}
|
|
8408
|
-
return n.exec = function() {
|
|
8409
|
-
return t = !0, null;
|
|
8410
|
-
}, n[f](""), !t;
|
|
8411
|
-
});
|
|
8412
|
-
if (!p || !m || u) {
|
|
8413
|
-
var h = /./[f], g = t(f, ""[e], function(e, t, r, a, o) {
|
|
8414
|
-
var s = t.exec;
|
|
8415
|
-
return s === i || s === l.exec ? p && !o ? {
|
|
8416
|
-
done: !0,
|
|
8417
|
-
value: n(h, t, r, a)
|
|
8418
|
-
} : {
|
|
8419
|
-
done: !0,
|
|
8420
|
-
value: n(e, r, t, a)
|
|
8421
|
-
} : { done: !1 };
|
|
8422
|
-
});
|
|
8423
|
-
r(String.prototype, e, g[0]), r(l, f, g[1]);
|
|
8424
|
-
}
|
|
8425
|
-
d && s(l[f], "sham", !0);
|
|
8426
|
-
};
|
|
8427
|
-
})), Gu = /* @__PURE__ */ s(((e, t) => {
|
|
8428
|
-
var n = oa().charAt;
|
|
8429
|
-
t.exports = function(e, t, r) {
|
|
8430
|
-
return t + (r && n(e, t).length || 1);
|
|
8431
|
-
};
|
|
8432
|
-
})), Ku = /* @__PURE__ */ s(((e, t) => {
|
|
8433
|
-
var n = b(), r = A(), i = Math.floor, a = n("".charAt), o = n("".replace), s = n("".slice), c = /\$([$&'`]|\d{1,2}|<[^>]*>)/g, l = /\$([$&'`]|\d{1,2})/g;
|
|
8434
|
-
t.exports = function(e, t, n, u, d, f) {
|
|
8435
|
-
var p = n + e.length, m = u.length, h = l;
|
|
8436
|
-
return d !== void 0 && (d = r(d), h = c), o(f, h, function(r, o) {
|
|
8437
|
-
var c;
|
|
8438
|
-
switch (a(o, 0)) {
|
|
8439
|
-
case "$": return "$";
|
|
8440
|
-
case "&": return e;
|
|
8441
|
-
case "`": return s(t, 0, n);
|
|
8442
|
-
case "'": return s(t, p);
|
|
8443
|
-
case "<":
|
|
8444
|
-
c = d[s(o, 1, -1)];
|
|
8445
|
-
break;
|
|
8446
|
-
default:
|
|
8447
|
-
var l = +o;
|
|
8448
|
-
if (l === 0) return r;
|
|
8449
|
-
if (l > m) {
|
|
8450
|
-
var f = i(l / 10);
|
|
8451
|
-
return f === 0 ? r : f <= m ? u[f - 1] === void 0 ? a(o, 1) : u[f - 1] + a(o, 1) : r;
|
|
8452
|
-
}
|
|
8453
|
-
c = u[l - 1];
|
|
8454
|
-
}
|
|
8455
|
-
return c === void 0 ? "" : c;
|
|
8456
|
-
});
|
|
8457
|
-
};
|
|
8458
|
-
})), qu = /* @__PURE__ */ s(((e, t) => {
|
|
8459
|
-
var n = f(), r = v(), i = n.RegExp;
|
|
8460
|
-
t.exports = { correct: !r(function() {
|
|
8461
|
-
var e = !0;
|
|
8462
|
-
try {
|
|
8463
|
-
i(".", "d");
|
|
8464
|
-
} catch (t) {
|
|
8465
|
-
e = !1;
|
|
8466
|
-
}
|
|
8467
|
-
var t = {}, n = "", r = e ? "dgimsy" : "gimsy", a = function(e, r) {
|
|
8468
|
-
Object.defineProperty(t, e, { get: function() {
|
|
8469
|
-
return n += r, !0;
|
|
8470
|
-
} });
|
|
8471
|
-
}, o = {
|
|
8472
|
-
dotAll: "s",
|
|
8473
|
-
global: "g",
|
|
8474
|
-
ignoreCase: "i",
|
|
8475
|
-
multiline: "m",
|
|
8476
|
-
sticky: "y"
|
|
8477
|
-
};
|
|
8478
|
-
for (var s in e && (o.hasIndices = "d"), o) a(s, o[s]);
|
|
8479
|
-
return Object.getOwnPropertyDescriptor(i.prototype, "flags").get.call(t) !== r || n !== r;
|
|
8480
|
-
}) };
|
|
8481
|
-
})), Ju = /* @__PURE__ */ s(((e, t) => {
|
|
8482
|
-
var n = B(), r = j(), i = ne(), a = qu(), o = Un(), s = RegExp.prototype;
|
|
8483
|
-
t.exports = a.correct ? function(e) {
|
|
8484
|
-
return e.flags;
|
|
8485
|
-
} : function(e) {
|
|
8486
|
-
return !a.correct && i(s, e) && !r(e, "flags") ? n(o, e) : e.flags;
|
|
8487
|
-
};
|
|
8488
|
-
})), Yu = /* @__PURE__ */ s(((e, t) => {
|
|
8489
|
-
var n = B(), r = L(), i = m(), a = x(), o = qn(), s = TypeError;
|
|
8490
|
-
t.exports = function(e, t) {
|
|
8491
|
-
var c = e.exec;
|
|
8492
|
-
if (i(c)) {
|
|
8493
|
-
var l = n(c, e, t);
|
|
8494
|
-
return l !== null && r(l), l;
|
|
8495
|
-
}
|
|
8496
|
-
if (a(e) === "RegExp") return n(o, e, t);
|
|
8497
|
-
throw new s("RegExp#exec called on incompatible receiver");
|
|
8498
|
-
};
|
|
8499
|
-
}));
|
|
8500
|
-
(/* @__PURE__ */ s((() => {
|
|
8501
|
-
var e = tt(), t = B(), n = b(), r = Wu(), i = v(), a = L(), o = m(), s = h(), c = de(), l = pe(), u = ot(), d = w(), f = Gu(), p = ae(), g = Ku(), _ = Ju(), y = Yu(), x = I()("replace"), S = Math.max, C = Math.min, T = n([].concat), E = n([].push), D = n("".indexOf), O = n("".slice), k = function(e) {
|
|
8502
|
-
return e === void 0 ? e : String(e);
|
|
8503
|
-
}, A = (function() {
|
|
8504
|
-
return "a".replace(/./, "$0") === "$0";
|
|
8505
|
-
})(), j = (function() {
|
|
8506
|
-
return /./[x] ? /./[x]("a", "$0") === "" : !1;
|
|
8507
|
-
})();
|
|
8508
|
-
r("replace", function(n, r, i) {
|
|
8509
|
-
var m = j ? "$" : "$0";
|
|
8510
|
-
return [function(e, n) {
|
|
8511
|
-
var i = d(this), a = s(e) ? p(e, x) : void 0;
|
|
8512
|
-
return a ? t(a, e, i, n) : t(r, u(i), e, n);
|
|
8513
|
-
}, function(t, n) {
|
|
8514
|
-
var s = a(this), d = u(t), p = o(n);
|
|
8515
|
-
p || (n = u(n));
|
|
8516
|
-
var h = u(_(s));
|
|
8517
|
-
if (typeof n == "string" && !~D(n, m) && !~D(n, "$<") && !~D(h, "y")) {
|
|
8518
|
-
var v = i(r, s, d, n);
|
|
8519
|
-
if (v.done) return v.value;
|
|
8520
|
-
}
|
|
8521
|
-
var b = !!~D(h, "g"), x;
|
|
8522
|
-
b && (x = !!~D(h, "u") || !!~D(h, "v"), s.lastIndex = 0);
|
|
8523
|
-
for (var w = [], A; A = y(s, d), !(A === null || (E(w, A), !b));) u(A[0]) === "" && (s.lastIndex = f(d, l(s.lastIndex), x));
|
|
8524
|
-
for (var j = "", M = 0, ee = 0; ee < w.length; ee++) {
|
|
8525
|
-
A = w[ee];
|
|
8526
|
-
for (var N = u(A[0]), P = S(C(c(A.index), d.length), 0), F = [], I, L = 1; L < A.length; L++) E(F, k(A[L]));
|
|
8527
|
-
var R = A.groups;
|
|
8528
|
-
if (p) {
|
|
8529
|
-
var te = T([N], F, P, d);
|
|
8530
|
-
R !== void 0 && E(te, R), I = u(e(n, void 0, te));
|
|
8531
|
-
} else I = g(N, d, P, F, R, n);
|
|
8532
|
-
P >= M && (j += O(d, M, P) + I, M = P + N.length);
|
|
8533
|
-
}
|
|
8534
|
-
return j + O(d, M);
|
|
8535
|
-
}];
|
|
8536
|
-
}, !!i(function() {
|
|
8537
|
-
var e = /./;
|
|
8538
|
-
return e.exec = function() {
|
|
8539
|
-
var e = [];
|
|
8540
|
-
return e.groups = { a: "7" }, e;
|
|
8541
|
-
}, "".replace(e, "$<a>") !== "7";
|
|
8542
|
-
}) || !A || j);
|
|
8543
|
-
})))();
|
|
8516
|
+
};
|
|
8517
|
+
//#endregion
|
|
8518
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/asyncIterator.js
|
|
8544
8519
|
function Xu(e) {
|
|
8545
8520
|
var t, n, r, i = 2;
|
|
8546
8521
|
for (typeof Symbol < "u" && (n = Symbol.asyncIterator, r = Symbol.iterator); i--;) {
|
|
@@ -8583,17 +8558,17 @@ function Zu(e) {
|
|
|
8583
8558
|
}, new Zu(e);
|
|
8584
8559
|
}
|
|
8585
8560
|
//#endregion
|
|
8586
|
-
//#region \0@oxc-project+runtime@0.
|
|
8561
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/OverloadYield.js
|
|
8587
8562
|
function Qu(e, t) {
|
|
8588
8563
|
this.v = e, this.k = t;
|
|
8589
8564
|
}
|
|
8590
8565
|
//#endregion
|
|
8591
|
-
//#region \0@oxc-project+runtime@0.
|
|
8566
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/awaitAsyncGenerator.js
|
|
8592
8567
|
function $u(e) {
|
|
8593
8568
|
return new Qu(e, 0);
|
|
8594
8569
|
}
|
|
8595
8570
|
//#endregion
|
|
8596
|
-
//#region \0@oxc-project+runtime@0.
|
|
8571
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/asyncGeneratorDelegate.js
|
|
8597
8572
|
function ed(e) {
|
|
8598
8573
|
var t = {}, n = !1;
|
|
8599
8574
|
function r(t, r) {
|
|
@@ -8616,7 +8591,7 @@ function ed(e) {
|
|
|
8616
8591
|
}), t;
|
|
8617
8592
|
}
|
|
8618
8593
|
//#endregion
|
|
8619
|
-
//#region \0@oxc-project+runtime@0.
|
|
8594
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/wrapAsyncGenerator.js
|
|
8620
8595
|
function td(e) {
|
|
8621
8596
|
return function() {
|
|
8622
8597
|
return new nd(e.apply(this, arguments));
|
|
@@ -8682,7 +8657,7 @@ nd.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIter
|
|
|
8682
8657
|
return this._invoke("return", e);
|
|
8683
8658
|
};
|
|
8684
8659
|
//#endregion
|
|
8685
|
-
//#region \0@oxc-project+runtime@0.
|
|
8660
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/objectWithoutPropertiesLoose.js
|
|
8686
8661
|
function rd(e, t) {
|
|
8687
8662
|
if (e == null) return {};
|
|
8688
8663
|
var n = {};
|
|
@@ -8693,7 +8668,7 @@ function rd(e, t) {
|
|
|
8693
8668
|
return n;
|
|
8694
8669
|
}
|
|
8695
8670
|
//#endregion
|
|
8696
|
-
//#region \0@oxc-project+runtime@0.
|
|
8671
|
+
//#region \0@oxc-project+runtime@0.153.0/helpers/esm/objectWithoutProperties.js
|
|
8697
8672
|
function id(e, t) {
|
|
8698
8673
|
if (e == null) return {};
|
|
8699
8674
|
var n, r, i = rd(e, t);
|
|
@@ -9184,7 +9159,7 @@ var Zf = class {
|
|
|
9184
9159
|
has(e, t) {
|
|
9185
9160
|
if (e = Bf(e), e) {
|
|
9186
9161
|
let n = Q.findKey(this, e);
|
|
9187
|
-
return
|
|
9162
|
+
return !(!n || this[n] === void 0 || t && !Jf(this, this[n], n, t));
|
|
9188
9163
|
}
|
|
9189
9164
|
return !1;
|
|
9190
9165
|
}
|
|
@@ -9899,13 +9874,9 @@ function sm(e, t) {
|
|
|
9899
9874
|
}
|
|
9900
9875
|
var cm = ["content-type", "content-length"];
|
|
9901
9876
|
function lm(e, t, n) {
|
|
9902
|
-
|
|
9903
|
-
e.set(t);
|
|
9904
|
-
return;
|
|
9905
|
-
}
|
|
9906
|
-
Object.entries(t || {}).forEach(([t, n]) => {
|
|
9877
|
+
n === "content-only" ? Object.entries(t || {}).forEach(([t, n]) => {
|
|
9907
9878
|
cm.includes(t.toLowerCase()) && e.set(t, n);
|
|
9908
|
-
});
|
|
9879
|
+
}) : e.set(t);
|
|
9909
9880
|
}
|
|
9910
9881
|
var um = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16)));
|
|
9911
9882
|
function dm(e) {
|
|
@@ -9980,11 +9951,7 @@ var fm = typeof XMLHttpRequest < "u" && function(e) {
|
|
|
9980
9951
|
g && (g = (n(!t || t.type ? new Bp(null, e, g) : t), g.abort(), h(), null));
|
|
9981
9952
|
}, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
|
|
9982
9953
|
let v = Wp(r.url);
|
|
9983
|
-
|
|
9984
|
-
n(new $("Unsupported protocol " + v + ":", $.ERR_BAD_REQUEST, e)), h();
|
|
9985
|
-
return;
|
|
9986
|
-
}
|
|
9987
|
-
g.send(i || null);
|
|
9954
|
+
v && !Dp.protocols.includes(v) ? (n(new $("Unsupported protocol " + v + ":", $.ERR_BAD_REQUEST, e)), h()) : g.send(i || null);
|
|
9988
9955
|
});
|
|
9989
9956
|
}, pm = (e, t) => {
|
|
9990
9957
|
if (e = e ? e.filter(Boolean) : [], !t && !e.length) return;
|
|
@@ -10462,9 +10429,7 @@ function Jm(e, t, n) {
|
|
|
10462
10429
|
if (o) {
|
|
10463
10430
|
let t = e[a], n = t === void 0 || o(t, a, e);
|
|
10464
10431
|
if (n !== !0) throw new $("option " + a + " must be " + n, $.ERR_BAD_OPTION_VALUE);
|
|
10465
|
-
|
|
10466
|
-
}
|
|
10467
|
-
if (n !== !0) throw new $("Unknown option " + a, $.ERR_BAD_OPTION);
|
|
10432
|
+
} else if (n !== !0) throw new $("Unknown option " + a, $.ERR_BAD_OPTION);
|
|
10468
10433
|
}
|
|
10469
10434
|
}
|
|
10470
10435
|
var Ym = {
|
|
@@ -10630,11 +10595,7 @@ var Qm = class e {
|
|
|
10630
10595
|
if (this.reason) throw this.reason;
|
|
10631
10596
|
}
|
|
10632
10597
|
subscribe(e) {
|
|
10633
|
-
|
|
10634
|
-
e(this.reason);
|
|
10635
|
-
return;
|
|
10636
|
-
}
|
|
10637
|
-
this._listeners ? this._listeners.push(e) : this._listeners = [e];
|
|
10598
|
+
this.reason ? e(this.reason) : this._listeners ? this._listeners.push(e) : this._listeners = [e];
|
|
10638
10599
|
}
|
|
10639
10600
|
unsubscribe(e) {
|
|
10640
10601
|
if (!this._listeners) return;
|
|
@@ -11707,8 +11668,8 @@ var x_ = (e) => e < 256 ? f_[e] : f_[256 + (e >>> 7)], S_ = (e, t) => {
|
|
|
11707
11668
|
for (O_(u_, 287, a), e = 0; e < Yg; e++) d_[e * 2 + 1] = 5, d_[e * 2] = T_(e, 5);
|
|
11708
11669
|
__ = new g_(u_, a_, 257, Jg, Qg), v_ = new g_(d_, o_, 0, Yg, Qg), y_ = new g_([], s_, 0, Xg, e_);
|
|
11709
11670
|
}, A_ = (e) => {
|
|
11710
|
-
let t;
|
|
11711
|
-
for (
|
|
11671
|
+
let t = 0;
|
|
11672
|
+
for (; t < Jg; t++) e.dyn_ltree[t * 2] = 0;
|
|
11712
11673
|
for (t = 0; t < Yg; t++) e.dyn_dtree[t * 2] = 0;
|
|
11713
11674
|
for (t = 0; t < Xg; t++) e.bl_tree[t * 2] = 0;
|
|
11714
11675
|
e.dyn_ltree[t_ * 2] = 1, e.opt_len = e.static_len = 0, e.sym_next = e.matches = 0;
|
|
@@ -11758,8 +11719,8 @@ var x_ = (e) => e < 256 ? f_[e] : f_[256 + (e >>> 7)], S_ = (e, t) => {
|
|
|
11758
11719
|
for (C_(e, t - 257, 5), C_(e, n - 1, 5), C_(e, r - 4, 4), i = 0; i < r; i++) C_(e, e.bl_tree[c_[i] * 2 + 1], 3);
|
|
11759
11720
|
L_(e, e.dyn_ltree, t - 1), L_(e, e.dyn_dtree, n - 1);
|
|
11760
11721
|
}, B_ = (e) => {
|
|
11761
|
-
let t = 4093624447, n;
|
|
11762
|
-
for (
|
|
11722
|
+
let t = 4093624447, n = 0;
|
|
11723
|
+
for (; n <= 31; n++, t >>>= 1) if (t & 1 && e.dyn_ltree[n * 2] !== 0) return zg;
|
|
11763
11724
|
if (e.dyn_ltree[18] !== 0 || e.dyn_ltree[20] !== 0 || e.dyn_ltree[26] !== 0) return Bg;
|
|
11764
11725
|
for (n = 32; n < qg; n++) if (e.dyn_ltree[n * 2] !== 0) return Bg;
|
|
11765
11726
|
return zg;
|
|
@@ -11779,7 +11740,7 @@ var x_ = (e) => e < 256 ? f_[e] : f_[256 + (e >>> 7)], S_ = (e, t) => {
|
|
|
11779
11740
|
C_(e, Wg << 1, 3), w_(e, t_, u_), E_(e);
|
|
11780
11741
|
}
|
|
11781
11742
|
}, G_ = (e, t, n, r) => {
|
|
11782
|
-
let i = e & 65535
|
|
11743
|
+
let i = e & 65535, a = e >>> 16 & 65535, o = 0;
|
|
11783
11744
|
for (; n !== 0;) {
|
|
11784
11745
|
o = n > 2e3 ? 2e3 : n, n -= o;
|
|
11785
11746
|
do
|
|
@@ -11787,7 +11748,7 @@ var x_ = (e) => e < 256 ? f_[e] : f_[256 + (e >>> 7)], S_ = (e, t) => {
|
|
|
11787
11748
|
while (--o);
|
|
11788
11749
|
i %= 65521, a %= 65521;
|
|
11789
11750
|
}
|
|
11790
|
-
return i | a << 16
|
|
11751
|
+
return i | a << 16;
|
|
11791
11752
|
}, K_ = new Uint32Array((() => {
|
|
11792
11753
|
let e, t = [];
|
|
11793
11754
|
for (var n = 0; n < 256; n++) {
|
|
@@ -12155,16 +12116,11 @@ var _y = (e) => {
|
|
|
12155
12116
|
continue;
|
|
12156
12117
|
}
|
|
12157
12118
|
let o = gy[t];
|
|
12158
|
-
if (o > 4)
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
for (t &= o === 2 ? 31 : o === 3 ? 15 : 7; o > 1 && r < n;) t = t << 6 | e[r++] & 63, o--;
|
|
12163
|
-
if (o > 1) {
|
|
12164
|
-
a[i++] = 65533;
|
|
12165
|
-
continue;
|
|
12119
|
+
if (o > 4) a[i++] = 65533, r += o - 1;
|
|
12120
|
+
else {
|
|
12121
|
+
for (t &= o === 2 ? 31 : o === 3 ? 15 : 7; o > 1 && r < n;) t = t << 6 | e[r++] & 63, o--;
|
|
12122
|
+
o > 1 ? a[i++] = 65533 : t < 65536 ? a[i++] = t : (t -= 65536, a[i++] = 55296 | t >> 10 & 1023, a[i++] = 56320 | t & 1023);
|
|
12166
12123
|
}
|
|
12167
|
-
t < 65536 ? a[i++] = t : (t -= 65536, a[i++] = 55296 | t >> 10 & 1023, a[i++] = 56320 | t & 1023);
|
|
12168
12124
|
}
|
|
12169
12125
|
return vy(a, i);
|
|
12170
12126
|
},
|
|
@@ -12201,21 +12157,12 @@ function My(e) {
|
|
|
12201
12157
|
My.prototype.push = function(e, t) {
|
|
12202
12158
|
let n = this.strm, r = this.options.chunkSize, i, a;
|
|
12203
12159
|
if (this.ended) return !1;
|
|
12204
|
-
for (a = t === ~~t ? t : t === !0 ? Ey : Cy, n.input = typeof e == "string" ? yy.string2buf(e) : Sy.call(e) === "[object ArrayBuffer]" ? new Uint8Array(e) : e, n.next_in = 0, n.avail_in = n.input.length;;)
|
|
12205
|
-
|
|
12206
|
-
this.onData(n.output.subarray(0, n.next_out)), n.avail_out = 0;
|
|
12207
|
-
continue;
|
|
12208
|
-
}
|
|
12160
|
+
for (a = t === ~~t ? t : t === !0 ? Ey : Cy, n.input = typeof e == "string" ? yy.string2buf(e) : Sy.call(e) === "[object ArrayBuffer]" ? new Uint8Array(e) : e, n.next_in = 0, n.avail_in = n.input.length;;) if (n.avail_out === 0 && (n.output = new Uint8Array(r), n.next_out = 0, n.avail_out = r), (a === wy || a === Ty) && n.avail_out <= 6) this.onData(n.output.subarray(0, n.next_out)), n.avail_out = 0;
|
|
12161
|
+
else {
|
|
12209
12162
|
if (i = fy.deflate(n, a), i === Oy) return n.next_out > 0 && this.onData(n.output.subarray(0, n.next_out)), i = fy.deflateEnd(this.strm), this.onEnd(i), this.ended = !0, i === Dy;
|
|
12210
|
-
if (n.avail_out === 0)
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
}
|
|
12214
|
-
if (a > 0 && n.next_out > 0) {
|
|
12215
|
-
this.onData(n.output.subarray(0, n.next_out)), n.avail_out = 0;
|
|
12216
|
-
continue;
|
|
12217
|
-
}
|
|
12218
|
-
if (n.avail_in === 0) break;
|
|
12163
|
+
if (n.avail_out === 0) this.onData(n.output);
|
|
12164
|
+
else if (a > 0 && n.next_out > 0) this.onData(n.output.subarray(0, n.next_out)), n.avail_out = 0;
|
|
12165
|
+
else if (n.avail_in === 0) break;
|
|
12219
12166
|
}
|
|
12220
12167
|
return !0;
|
|
12221
12168
|
}, My.prototype.onData = function(e) {
|
|
@@ -12466,7 +12413,7 @@ var Iy = {
|
|
|
12466
12413
|
for (;;) {
|
|
12467
12414
|
k = l - h, o[u] + 1 < T ? (A = 0, j = o[u]) : o[u] >= T ? (A = O[o[u] - T], j = w[o[u] - T]) : (A = 96, j = 0), y = 1 << l - h, b = 1 << m, d = b;
|
|
12468
12415
|
do
|
|
12469
|
-
b -= y, i[C + (v >> h) + b] = k << 24 | A << 16 | j
|
|
12416
|
+
b -= y, i[C + (v >> h) + b] = k << 24 | A << 16 | j;
|
|
12470
12417
|
while (b !== 0);
|
|
12471
12418
|
for (y = 1 << l - 1; v & y;) y >>= 1;
|
|
12472
12419
|
if (y === 0 ? v = 0 : (v &= y - 1, v += y), u++, --E[l] === 0) {
|
|
@@ -12476,7 +12423,7 @@ var Iy = {
|
|
|
12476
12423
|
if (l > p && (v & S) !== x) {
|
|
12477
12424
|
for (h === 0 && (h = p), C += d, m = l - h, g = 1 << m; m + h < f && (g -= E[m + h], !(g <= 0));) m++, g <<= 1;
|
|
12478
12425
|
if (_ += 1 << m, e === Wy && _ > Vy || e === Gy && _ > Hy) return 1;
|
|
12479
|
-
x = v & S, i[x] = p << 24 | m << 16 | C - a
|
|
12426
|
+
x = v & S, i[x] = p << 24 | m << 16 | C - a;
|
|
12480
12427
|
}
|
|
12481
12428
|
}
|
|
12482
12429
|
return v !== 0 && (i[C + v] = l - h << 24 | 4194304), s.bits = p, 0;
|
|
@@ -12890,7 +12837,7 @@ var Jb = (e) => {
|
|
|
12890
12837
|
if (s === 0) break inf_leave;
|
|
12891
12838
|
s--, l += r[a++] << u, u += 8;
|
|
12892
12839
|
}
|
|
12893
|
-
if (n.wrap & 4 && l !== (n.total
|
|
12840
|
+
if (n.wrap & 4 && l !== (n.total | 0)) {
|
|
12894
12841
|
e.msg = "incorrect length check", n.mode = Bb;
|
|
12895
12842
|
break;
|
|
12896
12843
|
}
|
|
@@ -13177,19 +13124,19 @@ function zx() {
|
|
|
13177
13124
|
return zx = W(function* (e) {
|
|
13178
13125
|
let t = Array.from(e).map(function() {
|
|
13179
13126
|
var e = W(function* (e) {
|
|
13180
|
-
if (!e || !e.size) throw new
|
|
13127
|
+
if (!e || !e.size) throw new Yu($r.INCORRECT_FILE);
|
|
13181
13128
|
let t = URL.createObjectURL(e), n = yield ((e) => new Promise((n, r) => {
|
|
13182
13129
|
let i = new Image();
|
|
13183
13130
|
i.onload = () => {
|
|
13184
13131
|
n(i), URL.revokeObjectURL(t);
|
|
13185
13132
|
}, i.onerror = () => {
|
|
13186
|
-
r(new
|
|
13133
|
+
r(new Yu($r.INCORRECT_FILE)), URL.revokeObjectURL(t);
|
|
13187
13134
|
}, i.src = e;
|
|
13188
13135
|
}))(t);
|
|
13189
|
-
if (n.width * n.height > 536870912) throw new
|
|
13136
|
+
if (n.width * n.height > 536870912) throw new Yu($r.INCORRECT_FILE);
|
|
13190
13137
|
let r = yield new Promise((t, n) => {
|
|
13191
13138
|
let r = new FileReader();
|
|
13192
|
-
r.onload = () => t(r.result), r.onerror = () => n(new
|
|
13139
|
+
r.onload = () => t(r.result), r.onerror = () => n(new Yu($r.INCORRECT_FILE, r.error)), r.readAsArrayBuffer(e);
|
|
13193
13140
|
});
|
|
13194
13141
|
return {
|
|
13195
13142
|
width: n.width,
|
|
@@ -13230,11 +13177,11 @@ function Ux(e, t) {
|
|
|
13230
13177
|
var n, r;
|
|
13231
13178
|
let i = {
|
|
13232
13179
|
[hi.BarcodeMRZ]: {
|
|
13233
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/9.10/barcodemrz/
|
|
13180
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/9.10/barcodemrz/4a831f8f-fce7318b7",
|
|
13234
13181
|
DEV: "./wasm/barcode-mrz/"
|
|
13235
13182
|
},
|
|
13236
13183
|
[hi.BoundsLite]: {
|
|
13237
|
-
PROD: "https://wasm-development.regulaforensics.com/document/nightly/9.10/boundslite/
|
|
13184
|
+
PROD: "https://wasm-development.regulaforensics.com/document/nightly/9.10/boundslite/4a831f8f-fce7318b7",
|
|
13238
13185
|
DEV: "./wasm/bounds-lite/"
|
|
13239
13186
|
}
|
|
13240
13187
|
};
|
|
@@ -13384,7 +13331,7 @@ function oS(e) {
|
|
|
13384
13331
|
initData: i.initData
|
|
13385
13332
|
}), 2), o = a[0], s = a[1];
|
|
13386
13333
|
return J(() => {
|
|
13387
|
-
if (
|
|
13334
|
+
if (o.initData && !o.initialized && t) {
|
|
13388
13335
|
if (o.initData.license.errorCode === 0 && o.initData.license.status) {
|
|
13389
13336
|
let e = o.initData.scenario.filter((e) => e.name !== Ci);
|
|
13390
13337
|
e.some((e) => e.name === t) ? (s({
|
|
@@ -13396,12 +13343,12 @@ function oS(e) {
|
|
|
13396
13343
|
}), r({
|
|
13397
13344
|
action: ei.SERVICE_INITIALIZED,
|
|
13398
13345
|
data: null
|
|
13399
|
-
})) : (n(new
|
|
13400
|
-
} else n(new
|
|
13346
|
+
})) : (n(new Yu($r.INCORRECT_SCENARIO)), aS(`Incorrect scenario: ${t}`));
|
|
13347
|
+
} else n(new Yu($r.WASM_LICENSE, o.initData.license.message)), aS("Problems with initialization.");
|
|
13401
13348
|
}
|
|
13402
13349
|
}, [o, t]), J(() => {
|
|
13403
13350
|
!i || i.isInitialized || i.initData || (i.initializeListener = (e) => {
|
|
13404
|
-
|
|
13351
|
+
e.isInitialized && i.initData && s((e) => Yx(Yx({}, e), {}, { initData: i.initData }));
|
|
13405
13352
|
});
|
|
13406
13353
|
}, [i]), o;
|
|
13407
13354
|
}
|
|
@@ -13632,7 +13579,7 @@ function FS(e) {
|
|
|
13632
13579
|
}), 2), V = B[0], ne = B[1], re = oS({
|
|
13633
13580
|
scenario: ee,
|
|
13634
13581
|
onError: i
|
|
13635
|
-
}), ie = re.initData, H = re.initialized, ae =
|
|
13582
|
+
}), ie = re.initData, H = re.initialized, ae = Gu({
|
|
13636
13583
|
videoSize: t.videoParams,
|
|
13637
13584
|
mirroring: r,
|
|
13638
13585
|
controlsWidth: a,
|
|
@@ -13676,14 +13623,14 @@ function FS(e) {
|
|
|
13676
13623
|
let t = yield Ws({
|
|
13677
13624
|
cameras: [...n.sortedDevices.frontCameras, ...n.sortedDevices.backCameras],
|
|
13678
13625
|
cameraID: n.camera.deviceId,
|
|
13679
|
-
sdkVersion: "9.10.
|
|
13626
|
+
sdkVersion: "9.10.3129-nightly",
|
|
13680
13627
|
serviceUrl: ((e = s.recognizerProcessParam.processParam.backendProcessing) == null ? void 0 : e.serviceURL) || ""
|
|
13681
13628
|
});
|
|
13682
13629
|
PS(`Metadata: ${JSON.stringify(t)}`);
|
|
13683
13630
|
try {
|
|
13684
13631
|
s.recognizerProcessParam.processParam.backendProcessing ? yield s.createBackendTransaction(t) : yield s.startNewDocument(t), O(!0), PS("New document started");
|
|
13685
13632
|
} catch (e) {
|
|
13686
|
-
ne((e) => wS(wS({}, e), {}, { status: G.FAILED })), i(new
|
|
13633
|
+
ne((e) => wS(wS({}, e), {}, { status: G.FAILED })), i(new Yu($r.WASM_ERROR, e));
|
|
13687
13634
|
}
|
|
13688
13635
|
});
|
|
13689
13636
|
return function(t) {
|
|
@@ -13730,20 +13677,20 @@ function FS(e) {
|
|
|
13730
13677
|
}
|
|
13731
13678
|
if ("lightType" in e.rawResponse) {
|
|
13732
13679
|
let t = e.rawResponse, n = t.lightType, r = t.liveness;
|
|
13733
|
-
r && (r.hologramTiltType !== void 0 && (0,
|
|
13680
|
+
r && (r.hologramTiltType !== void 0 && (0, Yl.default)(n) === 67108870 ? I({
|
|
13734
13681
|
type: pi.Tilt,
|
|
13735
13682
|
image: [r.livenessAnimationImage],
|
|
13736
13683
|
tiltType: r.hologramTiltType
|
|
13737
13684
|
}) : I(null), S.current || (l({
|
|
13738
13685
|
action: ei.PROCESS_LIVENESS,
|
|
13739
13686
|
data: null
|
|
13740
|
-
}), S.current = !0)), te((0,
|
|
13687
|
+
}), S.current = !0)), te((0, Yl.default)(n));
|
|
13741
13688
|
} else te(void 0);
|
|
13742
13689
|
}).catch((e) => {
|
|
13743
13690
|
ne({
|
|
13744
13691
|
response: null,
|
|
13745
13692
|
status: G.FAILED
|
|
13746
|
-
}), i(new
|
|
13693
|
+
}), i(new Yu($r.WASM_ERROR, e)), T(!1);
|
|
13747
13694
|
});
|
|
13748
13695
|
}, [
|
|
13749
13696
|
A,
|
|
@@ -13766,7 +13713,7 @@ function FS(e) {
|
|
|
13766
13713
|
data: null
|
|
13767
13714
|
}), T(!0), I(null), PS("New page started");
|
|
13768
13715
|
} catch (e) {
|
|
13769
|
-
ne((e) => wS(wS({}, e), {}, { status: G.FAILED })), i(new
|
|
13716
|
+
ne((e) => wS(wS({}, e), {}, { status: G.FAILED })), i(new Yu($r.WASM_ERROR, e));
|
|
13770
13717
|
}
|
|
13771
13718
|
}), m + wi + g);
|
|
13772
13719
|
return () => {
|
|
@@ -14033,7 +13980,7 @@ function $S(e) {
|
|
|
14033
13980
|
r(t), e.dispose();
|
|
14034
13981
|
}
|
|
14035
13982
|
}, [N.videoElement, f]), he = (e) => {
|
|
14036
|
-
i(new
|
|
13983
|
+
i(new Yu(e));
|
|
14037
13984
|
}, ge = (u === void 0 ? !d : u) || f === ti.captureFrame || f === ti.captureVideo;
|
|
14038
13985
|
J(() => {
|
|
14039
13986
|
if (ne) {
|
|
@@ -14052,7 +13999,7 @@ function $S(e) {
|
|
|
14052
13999
|
_,
|
|
14053
14000
|
b
|
|
14054
14001
|
]), J(() => {
|
|
14055
|
-
ae === ni.AVAILABLE && n(K.DELEGATE_SUCCESS), ae === ni.ERROR && i(new
|
|
14002
|
+
ae === ni.AVAILABLE && n(K.DELEGATE_SUCCESS), ae === ni.ERROR && i(new Yu($r.CONNECTION_ERROR, "Transaction check failed."));
|
|
14056
14003
|
}, [ae]), J(() => {
|
|
14057
14004
|
z(c);
|
|
14058
14005
|
}, [c]);
|
|
@@ -14067,7 +14014,7 @@ function $S(e) {
|
|
|
14067
14014
|
data: null
|
|
14068
14015
|
});
|
|
14069
14016
|
};
|
|
14070
|
-
return Pa(() => Z(
|
|
14017
|
+
return Pa(() => Z(Mu, {
|
|
14071
14018
|
direction: t,
|
|
14072
14019
|
mirroring: O,
|
|
14073
14020
|
onChangeMirroring: ue,
|
|
@@ -14148,8 +14095,8 @@ var rC = {
|
|
|
14148
14095
|
[gi.CameraDisabled]: "camera-disabled"
|
|
14149
14096
|
};
|
|
14150
14097
|
function iC(e) {
|
|
14151
|
-
let t = e.title, n = e.subtitle, r = e.type, i = e.onReset, a =
|
|
14152
|
-
return Z(Yt, { children: [Z(
|
|
14098
|
+
let t = e.title, n = e.subtitle, r = e.type, i = e.onReset, a = Ol().translate, o = rC[r];
|
|
14099
|
+
return Z(Yt, { children: [Z(ql, { text: t }), Z("div", {
|
|
14153
14100
|
part: "info-container",
|
|
14154
14101
|
className: eC["info-message"],
|
|
14155
14102
|
children: Z("div", {
|
|
@@ -14192,7 +14139,7 @@ var aC = {
|
|
|
14192
14139
|
//#region src/components/common/start-screen/index.tsx
|
|
14193
14140
|
oo();
|
|
14194
14141
|
function oC(e) {
|
|
14195
|
-
let t = e.onStart, n = e.onFileImageSet, r = e.title, i = e.subtitle, a = e.allowRemote, o = a !== void 0 && a, s = e.onRemoteDevice, c = Mc(), l = c.onEvent, u = c.multipleFileInput, d = u === void 0 || u, f = c.fromCameraButton, p = f === void 0 || f, m = c.uploadFileButton, h = m === void 0 || m, g = Ma(null), _ =
|
|
14142
|
+
let t = e.onStart, n = e.onFileImageSet, r = e.title, i = e.subtitle, a = e.allowRemote, o = a !== void 0 && a, s = e.onRemoteDevice, c = Mc(), l = c.onEvent, u = c.multipleFileInput, d = u === void 0 || u, f = c.fromCameraButton, p = f === void 0 || f, m = c.uploadFileButton, h = m === void 0 || m, g = Ma(null), _ = Ol().translate;
|
|
14196
14143
|
return Z("div", {
|
|
14197
14144
|
part: "menu-container",
|
|
14198
14145
|
className: aC["start-window"],
|
|
@@ -14410,7 +14357,7 @@ function yC(e) {
|
|
|
14410
14357
|
try {
|
|
14411
14358
|
var n;
|
|
14412
14359
|
if ((n = a.imageProcessParam.processParam) != null && n.backendProcessing) {
|
|
14413
|
-
let e = yield Ws({ sdkVersion: "9.10.
|
|
14360
|
+
let e = yield Ws({ sdkVersion: "9.10.3129-nightly" });
|
|
14414
14361
|
yield a.createBackendTransaction(e, a.imageProcessParam);
|
|
14415
14362
|
}
|
|
14416
14363
|
let e = yield a.processImage(t, o);
|
|
@@ -14422,7 +14369,7 @@ function yC(e) {
|
|
|
14422
14369
|
f({
|
|
14423
14370
|
response: null,
|
|
14424
14371
|
status: G.FAILED
|
|
14425
|
-
}), r(new
|
|
14372
|
+
}), r(new Yu($r.WASM_ERROR, e));
|
|
14426
14373
|
}
|
|
14427
14374
|
}
|
|
14428
14375
|
});
|
|
@@ -14490,14 +14437,14 @@ function EC(e) {
|
|
|
14490
14437
|
isRecognizerProcessParam: f
|
|
14491
14438
|
}), v = _.status, y = _.response;
|
|
14492
14439
|
return J(() => {
|
|
14493
|
-
if (
|
|
14440
|
+
if (n && !a.current) {
|
|
14494
14441
|
if (a.current = !0, !(n instanceof FileList)) return p(!0), g(n);
|
|
14495
14442
|
Rx(n).then((e) => {
|
|
14496
14443
|
let t = e.reduce((e, t) => (e.resolution += t.width * t.height, e.bytes += t.data.byteLength, e), {
|
|
14497
14444
|
resolution: 0,
|
|
14498
14445
|
bytes: 0
|
|
14499
14446
|
}), n = t.resolution, i = t.bytes, a = l && i / 1024 > l;
|
|
14500
|
-
if (n > (u || 25e6) || a) r(new
|
|
14447
|
+
if (n > (u || 25e6) || a) r(new Yu($r.FILE_SIZE));
|
|
14501
14448
|
else {
|
|
14502
14449
|
let t = e.map((e) => e.data);
|
|
14503
14450
|
g(t);
|
|
@@ -14529,7 +14476,7 @@ function EC(e) {
|
|
|
14529
14476
|
f,
|
|
14530
14477
|
i,
|
|
14531
14478
|
c
|
|
14532
|
-
]), Z(
|
|
14479
|
+
]), Z(Su, {});
|
|
14533
14480
|
}
|
|
14534
14481
|
//#endregion
|
|
14535
14482
|
//#region ../../common/hoc/withLocalize.tsx
|
|
@@ -14649,7 +14596,7 @@ function FC(e) {
|
|
|
14649
14596
|
}
|
|
14650
14597
|
}
|
|
14651
14598
|
let l = qi.includes(o.substring(0, 2)) ? Wi.Rtl : Wi.Ltr;
|
|
14652
|
-
return Z(
|
|
14599
|
+
return Z(El, {
|
|
14653
14600
|
disableCache: !0,
|
|
14654
14601
|
locale: o,
|
|
14655
14602
|
translations: a,
|
|
@@ -14742,14 +14689,14 @@ var GC = class extends Xt {
|
|
|
14742
14689
|
super(e), HC(this, "onError", void 0), HC(this, "supportedBrowserVersions", void 0), this.supportedBrowserVersions = e.supportedBrowserVersions, this.onError = e.onError;
|
|
14743
14690
|
}
|
|
14744
14691
|
componentDidCatch(e) {
|
|
14745
|
-
this.onError(new
|
|
14692
|
+
this.onError(new Yu("UNKNOWN_ERROR", e));
|
|
14746
14693
|
}
|
|
14747
14694
|
componentDidMount() {
|
|
14748
14695
|
if (this.supportedBrowserVersions) {
|
|
14749
14696
|
let e = null;
|
|
14750
14697
|
if (_s.isMobile && _s.osName in this.supportedBrowserVersions && (e = this.supportedBrowserVersions[_s.osName]), _s.isDesktop && (e = this.supportedBrowserVersions.desktop), e && _s.browserName in e) {
|
|
14751
14698
|
let t = e[_s.browserName];
|
|
14752
|
-
t !== void 0 && Number(_s.browserVersion) < t && this.onError(new
|
|
14699
|
+
t !== void 0 && Number(_s.browserVersion) < t && this.onError(new Yu("NOT_SUPPORTED"));
|
|
14753
14700
|
}
|
|
14754
14701
|
}
|
|
14755
14702
|
}
|
|
@@ -15492,8 +15439,8 @@ var ew = Object.defineProperty, tw = Object.getOwnPropertySymbols, nw = Object.p
|
|
|
15492
15439
|
}
|
|
15493
15440
|
static makeAlphanumeric(t) {
|
|
15494
15441
|
if (!e.isAlphanumeric(t)) throw RangeError("String contains unencodable characters in alphanumeric mode");
|
|
15495
|
-
let r = [], i;
|
|
15496
|
-
for (
|
|
15442
|
+
let r = [], i = 0;
|
|
15443
|
+
for (; i + 2 <= t.length; i += 2) {
|
|
15497
15444
|
let a = e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i)) * 45;
|
|
15498
15445
|
a += e.ALPHANUMERIC_CHARSET.indexOf(t.charAt(i + 1)), n(a, 11, r);
|
|
15499
15446
|
}
|
|
@@ -15592,16 +15539,11 @@ function yw(e, t = 0) {
|
|
|
15592
15539
|
return e.forEach(function(e, r) {
|
|
15593
15540
|
let i = null;
|
|
15594
15541
|
e.forEach(function(a, o) {
|
|
15595
|
-
if (!a && i !== null) {
|
|
15596
|
-
|
|
15597
|
-
return;
|
|
15598
|
-
}
|
|
15599
|
-
if (o === e.length - 1) {
|
|
15542
|
+
if (!a && i !== null) n.push(`M${i + t} ${r + t}h${o - i}v1H${i + t}z`), i = null;
|
|
15543
|
+
else if (o === e.length - 1) {
|
|
15600
15544
|
if (!a) return;
|
|
15601
15545
|
i === null ? n.push(`M${o + t},${r + t} h1v1H${o + t}z`) : n.push(`M${i + t},${r + t} h${o + 1 - i}v1H${i + t}z`);
|
|
15602
|
-
|
|
15603
|
-
}
|
|
15604
|
-
a && i === null && (i = o);
|
|
15546
|
+
} else a && i === null && (i = o);
|
|
15605
15547
|
});
|
|
15606
15548
|
}), n.join("");
|
|
15607
15549
|
}
|
|
@@ -16865,7 +16807,7 @@ var Dw = /* @__PURE__ */ s(((e, t) => {
|
|
|
16865
16807
|
}
|
|
16866
16808
|
t.exports = a;
|
|
16867
16809
|
})), sD = /* @__PURE__ */ u(sE(), 1), cD = /* @__PURE__ */ u(zE(), 1), lD = /* @__PURE__ */ u(rD(), 1), uD = /* @__PURE__ */ u(oD(), 1), dD = (e) => {
|
|
16868
|
-
let t = (0,
|
|
16810
|
+
let t = (0, Yl.default)(e);
|
|
16869
16811
|
if (e && (e == null ? void 0 : e.length) > 1) {
|
|
16870
16812
|
let n = (0, uD.default)(e, "state"), r = (0, lD.default)(e, { state: n == null ? void 0 : n.state });
|
|
16871
16813
|
t = (0, uD.default)(r, (e) => new Date(e.updatedAt));
|
|
@@ -16923,7 +16865,7 @@ var vD = ec.create("main"), yD = (e) => {
|
|
|
16923
16865
|
};
|
|
16924
16866
|
function bD(e) {
|
|
16925
16867
|
var t, n, r;
|
|
16926
|
-
let i = e.onError, a = e.onStatusChange, o = Mc(), s = o.onEvent, c = o.continueInBrowserButton, l = c === void 0 || c, u =
|
|
16868
|
+
let i = e.onError, a = e.onStatusChange, o = Mc(), s = o.onEvent, c = o.continueInBrowserButton, l = c === void 0 || c, u = Ol().translate, d = window.RegulaDocumentSDK, f = ((t = d.recognizerProcessParam) == null ? void 0 : t.tag) || hs(), p = (((n = d.recognizerProcessParam) == null || (n = n.delegateProcessing) == null ? void 0 : n.delegateURL) || window.location.href).replace("{tag}", f), m = new Px({
|
|
16927
16869
|
basePath: ((r = d.recognizerProcessParam.delegateProcessing) == null ? void 0 : r.serviceURL) || "",
|
|
16928
16870
|
baseOptions: { headers: yD(d) }
|
|
16929
16871
|
}), h = Ma(), g = Ma(), _ = fD(q(!1), 2), v = _[0], y = _[1];
|
|
@@ -16951,7 +16893,7 @@ function bD(e) {
|
|
|
16951
16893
|
}), a(K.SUCCESS);
|
|
16952
16894
|
}
|
|
16953
16895
|
} catch (e) {
|
|
16954
|
-
clearInterval(g.current), i(new
|
|
16896
|
+
clearInterval(g.current), i(new Yu($r.CONNECTION_ERROR, e)), a(K.FAILED);
|
|
16955
16897
|
}
|
|
16956
16898
|
});
|
|
16957
16899
|
return function() {
|
|
@@ -16959,7 +16901,7 @@ function bD(e) {
|
|
|
16959
16901
|
};
|
|
16960
16902
|
}();
|
|
16961
16903
|
return e(), g.current = setInterval(e, 5e3), () => clearInterval(g.current);
|
|
16962
|
-
}, []), v ? Z(
|
|
16904
|
+
}, []), v ? Z(Su, {}) : Z("div", {
|
|
16963
16905
|
part: "remote-scanner-container",
|
|
16964
16906
|
className: $C["remote-scanner-wrapper"],
|
|
16965
16907
|
children: [Z("div", {
|
|
@@ -17049,7 +16991,7 @@ function AD(e) {
|
|
|
17049
16991
|
if (Array.isArray(e)) return e;
|
|
17050
16992
|
}
|
|
17051
16993
|
function jD(e) {
|
|
17052
|
-
let t = e.direction, n = Mc(), r = n.onEvent, i = n.startScreen, a = n.internalScenario, o = n.allDevicesSwitchToMobileButton, s = o !== void 0 && o, c = n.fromCameraButton, l = c === void 0 || c, u = n.uploadFileButton, d = u === void 0 || u, f = xD(s), p = CD(!!i, l, d, f), m =
|
|
16994
|
+
let t = e.direction, n = Mc(), r = n.onEvent, i = n.startScreen, a = n.internalScenario, o = n.allDevicesSwitchToMobileButton, s = o !== void 0 && o, c = n.fromCameraButton, l = c === void 0 || c, u = n.uploadFileButton, d = u === void 0 || u, f = xD(s), p = CD(!!i, l, d, f), m = Ol().translate, h = QC().orientation, g = TD(q(null), 2), _ = g[0], v = g[1], y = TD(q(p), 2), b = y[0], x = y[1], S = () => {
|
|
17053
16995
|
r({
|
|
17054
16996
|
action: ei.PRESS_CAMERA_BUTTON,
|
|
17055
16997
|
data: null
|
|
@@ -17077,11 +17019,11 @@ function jD(e) {
|
|
|
17077
17019
|
v(null), x(p);
|
|
17078
17020
|
};
|
|
17079
17021
|
return J(() => {
|
|
17080
|
-
|
|
17022
|
+
_s.isMobile && b === K.CAMERA_PROCESSING && D();
|
|
17081
17023
|
}, [h]), ja(() => {
|
|
17082
17024
|
let e = window.RegulaDocumentSDK.recognizerProcessParam.processParam.scenario, t = window.RegulaDocumentSDK.imageProcessParam.processParam.scenario;
|
|
17083
|
-
if (!wD(!!i, !!a, l, d, !!e, !!t)) return E(new
|
|
17084
|
-
if (p === K.CONFIGURATION_ERROR) return E(new
|
|
17025
|
+
if (!wD(!!i, !!a, l, d, !!e, !!t)) return E(new Yu($r.MISSING_SCENARIO, "Set processing scenario (video and image)"));
|
|
17026
|
+
if (p === K.CONFIGURATION_ERROR) return E(new Yu($r.BAD_CONFIGURATION, "Incorrect component configuration"));
|
|
17085
17027
|
}, [
|
|
17086
17028
|
a,
|
|
17087
17029
|
i,
|
|
@@ -17091,7 +17033,7 @@ function jD(e) {
|
|
|
17091
17033
|
]), Z(Yt, { children: Z(GC, {
|
|
17092
17034
|
onError: E,
|
|
17093
17035
|
supportedBrowserVersions: ji,
|
|
17094
|
-
children: Z(
|
|
17036
|
+
children: Z(wu, {
|
|
17095
17037
|
showHeaderAndFooter: b !== K.CAMERA_PROCESSING,
|
|
17096
17038
|
onClose: C,
|
|
17097
17039
|
direction: t,
|
|
@@ -17158,7 +17100,7 @@ function jD(e) {
|
|
|
17158
17100
|
type: gi.Verified,
|
|
17159
17101
|
title: m("returnToComputer"),
|
|
17160
17102
|
subtitle: m("documentCaptured")
|
|
17161
|
-
}) : b === K.PROCESSING ? Z(
|
|
17103
|
+
}) : b === K.PROCESSING ? Z(Su, {}) : Z(iC, {
|
|
17162
17104
|
type: gi.Error,
|
|
17163
17105
|
title: m("somethingWentWrong")
|
|
17164
17106
|
})
|
|
@@ -17227,8 +17169,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17227
17169
|
statusIcon: "Значок состояния",
|
|
17228
17170
|
slideDocument: "Переместите документ",
|
|
17229
17171
|
flipDocument: "Переверните документ",
|
|
17230
|
-
tiltDocument: "Наклоните документ"
|
|
17231
|
-
documentFrame: "Кадр камеры"
|
|
17172
|
+
tiltDocument: "Наклоните документ"
|
|
17232
17173
|
},
|
|
17233
17174
|
"en-us": {
|
|
17234
17175
|
preparingCamera: "Preparing the camera",
|
|
@@ -17291,8 +17232,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17291
17232
|
statusIcon: "Status icon",
|
|
17292
17233
|
slideDocument: "Slide the document",
|
|
17293
17234
|
flipDocument: "Flip the document",
|
|
17294
|
-
tiltDocument: "Tilt the document"
|
|
17295
|
-
documentFrame: "Camera frame"
|
|
17235
|
+
tiltDocument: "Tilt the document"
|
|
17296
17236
|
},
|
|
17297
17237
|
"de-de": {
|
|
17298
17238
|
preparingCamera: "Kamera wird vorbereitet",
|
|
@@ -17355,8 +17295,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17355
17295
|
statusIcon: "Statussymbol",
|
|
17356
17296
|
slideDocument: "Dokument verschieben",
|
|
17357
17297
|
flipDocument: "Dokument drehen",
|
|
17358
|
-
tiltDocument: "Kippen Sie das Dokument"
|
|
17359
|
-
documentFrame: "Kamerabild"
|
|
17298
|
+
tiltDocument: "Kippen Sie das Dokument"
|
|
17360
17299
|
},
|
|
17361
17300
|
"pl-pl": {
|
|
17362
17301
|
preparingCamera: "Przygotowywanie kamery",
|
|
@@ -17419,8 +17358,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17419
17358
|
statusIcon: "Ikona stanu",
|
|
17420
17359
|
slideDocument: "Przesuń dokument",
|
|
17421
17360
|
flipDocument: "Odwróć dokument",
|
|
17422
|
-
tiltDocument: "Pochyl dokument"
|
|
17423
|
-
documentFrame: "Kadr kamery"
|
|
17361
|
+
tiltDocument: "Pochyl dokument"
|
|
17424
17362
|
},
|
|
17425
17363
|
"it-it": {
|
|
17426
17364
|
preparingCamera: "Preparazione della fotocamera in corso",
|
|
@@ -17483,8 +17421,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17483
17421
|
statusIcon: "Icona di stato",
|
|
17484
17422
|
slideDocument: "Fai scorrere il documento",
|
|
17485
17423
|
flipDocument: "Capovolgi il documento",
|
|
17486
|
-
tiltDocument: "Inclina il documento"
|
|
17487
|
-
documentFrame: "Fotogramma della fotocamera"
|
|
17424
|
+
tiltDocument: "Inclina il documento"
|
|
17488
17425
|
},
|
|
17489
17426
|
"hu-hu": {
|
|
17490
17427
|
preparingCamera: "A kamera előkészítése",
|
|
@@ -17547,8 +17484,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17547
17484
|
statusIcon: "Állapotikon",
|
|
17548
17485
|
slideDocument: "Csúsztassa el a dokumentumot",
|
|
17549
17486
|
flipDocument: "Fordítsa meg az okiratot",
|
|
17550
|
-
tiltDocument: "Döntse meg az okiratot!"
|
|
17551
|
-
documentFrame: "Kamerakép"
|
|
17487
|
+
tiltDocument: "Döntse meg az okiratot!"
|
|
17552
17488
|
},
|
|
17553
17489
|
"zh-hans": {
|
|
17554
17490
|
preparingCamera: "正在准备相机",
|
|
@@ -17611,8 +17547,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17611
17547
|
statusIcon: "状态图标",
|
|
17612
17548
|
slideDocument: "滑动文档",
|
|
17613
17549
|
flipDocument: "翻转证件",
|
|
17614
|
-
tiltDocument: "请倾斜证件"
|
|
17615
|
-
documentFrame: "摄像头画面"
|
|
17550
|
+
tiltDocument: "请倾斜证件"
|
|
17616
17551
|
},
|
|
17617
17552
|
"zh-hant": {
|
|
17618
17553
|
preparingCamera: "準備相機",
|
|
@@ -17675,8 +17610,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17675
17610
|
statusIcon: "狀態圖示",
|
|
17676
17611
|
slideDocument: "滑動文件",
|
|
17677
17612
|
flipDocument: "翻轉檔案",
|
|
17678
|
-
tiltDocument: "傾斜檔案"
|
|
17679
|
-
documentFrame: "攝影機畫面"
|
|
17613
|
+
tiltDocument: "傾斜檔案"
|
|
17680
17614
|
},
|
|
17681
17615
|
"sk-sk": {
|
|
17682
17616
|
preparingCamera: "Príprava fotoaparátu",
|
|
@@ -17739,8 +17673,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17739
17673
|
statusIcon: "Ikona stavu",
|
|
17740
17674
|
slideDocument: "Posuňte dokument",
|
|
17741
17675
|
flipDocument: "Prevrátiť dokument",
|
|
17742
|
-
tiltDocument: "Nakloniť dokument"
|
|
17743
|
-
documentFrame: "Záber kamery"
|
|
17676
|
+
tiltDocument: "Nakloniť dokument"
|
|
17744
17677
|
},
|
|
17745
17678
|
"uk-ua": {
|
|
17746
17679
|
preparingCamera: "Підготовка камери",
|
|
@@ -17803,8 +17736,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17803
17736
|
statusIcon: "Значок стану",
|
|
17804
17737
|
slideDocument: "Перемістіть документ",
|
|
17805
17738
|
flipDocument: "Переверніть документ",
|
|
17806
|
-
tiltDocument: "Нахиліть документ"
|
|
17807
|
-
documentFrame: "Кадр камери"
|
|
17739
|
+
tiltDocument: "Нахиліть документ"
|
|
17808
17740
|
},
|
|
17809
17741
|
"fr-fr": {
|
|
17810
17742
|
preparingCamera: "Caméra en préparation",
|
|
@@ -17867,8 +17799,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17867
17799
|
statusIcon: "Icône d’état",
|
|
17868
17800
|
slideDocument: "Faites glisser le document",
|
|
17869
17801
|
flipDocument: "Inverser le document",
|
|
17870
|
-
tiltDocument: "Incliner le document"
|
|
17871
|
-
documentFrame: "Image de la caméra"
|
|
17802
|
+
tiltDocument: "Incliner le document"
|
|
17872
17803
|
},
|
|
17873
17804
|
"es-es": {
|
|
17874
17805
|
preparingCamera: "Preparando la cámara",
|
|
@@ -17931,8 +17862,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17931
17862
|
statusIcon: "Icono de estado",
|
|
17932
17863
|
slideDocument: "Deslice el documento",
|
|
17933
17864
|
flipDocument: "Déle la vuelta al documento",
|
|
17934
|
-
tiltDocument: "Incline el documento"
|
|
17935
|
-
documentFrame: "Fotograma de la cámara"
|
|
17865
|
+
tiltDocument: "Incline el documento"
|
|
17936
17866
|
},
|
|
17937
17867
|
"pt-pt": {
|
|
17938
17868
|
preparingCamera: "Preparando a câmara",
|
|
@@ -17995,8 +17925,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
17995
17925
|
statusIcon: "Ícone de estado",
|
|
17996
17926
|
slideDocument: "Deslize o documento",
|
|
17997
17927
|
flipDocument: "Vire o documento",
|
|
17998
|
-
tiltDocument: "Incline o documento"
|
|
17999
|
-
documentFrame: "Fotograma da câmara"
|
|
17928
|
+
tiltDocument: "Incline o documento"
|
|
18000
17929
|
},
|
|
18001
17930
|
"ar-ae": {
|
|
18002
17931
|
preparingCamera: "تحضير الكاميرا",
|
|
@@ -18007,7 +17936,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18007
17936
|
done: "تم!",
|
|
18008
17937
|
cameraUnavailable: "الكاميرا غير متاحة!",
|
|
18009
17938
|
versionNotSupported: "إصدار المتصفح الخاص بك غير مدعوم",
|
|
18010
|
-
httpNotSupported: "HTTPS غير مستخدم",
|
|
17939
|
+
httpNotSupported: "HTTPS غير مستخدم",
|
|
18011
17940
|
insecurePageContext: "سياق غير آمن",
|
|
18012
17941
|
badLicense: "لا يتم العثور على الترخيص أو انتهت صلاحيته",
|
|
18013
17942
|
fileCorrupt: "هذا الملف تالف أو غير مدعوم",
|
|
@@ -18023,7 +17952,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18023
17952
|
keepDeviceStill: "أمسك الجهاز بشكل ثابت",
|
|
18024
17953
|
camera: "كاميرا",
|
|
18025
17954
|
switchToMobile: "تبديل إلى المحمول",
|
|
18026
|
-
openPhoneCamera: "افتح كاميرا جهازك المحمول، وامسح رمز QR
|
|
17955
|
+
openPhoneCamera: "افتح كاميرا جهازك المحمول، وامسح رمز QR، ثم اتبع الرابط",
|
|
18027
17956
|
pleaseWait: "يرجى الانتظار...",
|
|
18028
17957
|
mobileDevice: "الجهاز المحمول",
|
|
18029
17958
|
verifyYourIdentity: "التحقق من وثيقة الهوية",
|
|
@@ -18054,13 +17983,12 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18054
17983
|
takeSnapshot: "التقاط صورة",
|
|
18055
17984
|
closeDocumentReaderComponent: "إغلاق المكون",
|
|
18056
17985
|
takePhoto: "التقاط صورة",
|
|
18057
|
-
QRCodeForScanning: "رمز QR للمسح الضوئي",
|
|
17986
|
+
QRCodeForScanning: "رمز QR للمسح الضوئي",
|
|
18058
17987
|
spinnerIcon: "أيقونة التقدم",
|
|
18059
17988
|
statusIcon: "أيقونة الحالة",
|
|
18060
17989
|
slideDocument: "حرّك المستند",
|
|
18061
17990
|
flipDocument: "اقلب المستند",
|
|
18062
|
-
tiltDocument: "يرجى إمالة المستند"
|
|
18063
|
-
documentFrame: "إطار الكاميرا"
|
|
17991
|
+
tiltDocument: "يرجى إمالة المستند"
|
|
18064
17992
|
},
|
|
18065
17993
|
"nl-nl": {
|
|
18066
17994
|
preparingCamera: "De camera aan het voorbereiden",
|
|
@@ -18123,8 +18051,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18123
18051
|
statusIcon: "Statuspictogram",
|
|
18124
18052
|
slideDocument: "Schuif het document",
|
|
18125
18053
|
flipDocument: "Draai het document om",
|
|
18126
|
-
tiltDocument: "Kantel het document"
|
|
18127
|
-
documentFrame: "Camerabeeld"
|
|
18054
|
+
tiltDocument: "Kantel het document"
|
|
18128
18055
|
},
|
|
18129
18056
|
"id-id": {
|
|
18130
18057
|
preparingCamera: "Menyiapkan kamera",
|
|
@@ -18187,8 +18114,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18187
18114
|
statusIcon: "Ikon status",
|
|
18188
18115
|
slideDocument: "Geser dokumen",
|
|
18189
18116
|
flipDocument: "Putar balik dokumen",
|
|
18190
|
-
tiltDocument: "Miringkan dokumen"
|
|
18191
|
-
documentFrame: "Bingkai kamera"
|
|
18117
|
+
tiltDocument: "Miringkan dokumen"
|
|
18192
18118
|
},
|
|
18193
18119
|
"vi-vn": {
|
|
18194
18120
|
preparingCamera: "Đang chuẩn bị camera",
|
|
@@ -18251,8 +18177,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18251
18177
|
statusIcon: "Biểu tượng trạng thái",
|
|
18252
18178
|
slideDocument: "Trượt tài liệu",
|
|
18253
18179
|
flipDocument: "Lật giấy tờ",
|
|
18254
|
-
tiltDocument: "Nghiêng tài liệu"
|
|
18255
|
-
documentFrame: "Khung hình camera"
|
|
18180
|
+
tiltDocument: "Nghiêng tài liệu"
|
|
18256
18181
|
},
|
|
18257
18182
|
"ko-kr": {
|
|
18258
18183
|
preparingCamera: "카메라 준비 중",
|
|
@@ -18315,8 +18240,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18315
18240
|
statusIcon: "상태 아이콘",
|
|
18316
18241
|
slideDocument: "문서를 밀어 이동하세요",
|
|
18317
18242
|
flipDocument: "문서를 뒤집으십시오",
|
|
18318
|
-
tiltDocument: "문서를 기울이십시오"
|
|
18319
|
-
documentFrame: "카메라 프레임"
|
|
18243
|
+
tiltDocument: "문서를 기울이십시오"
|
|
18320
18244
|
},
|
|
18321
18245
|
"ms-my": {
|
|
18322
18246
|
preparingCamera: "Menyediakan kamera",
|
|
@@ -18379,8 +18303,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18379
18303
|
statusIcon: "Ikon status",
|
|
18380
18304
|
slideDocument: "Luncurkan dokumen",
|
|
18381
18305
|
flipDocument: "Terbalikkan dokumen",
|
|
18382
|
-
tiltDocument: "Condongkan dokumen"
|
|
18383
|
-
documentFrame: "Bingkai kamera"
|
|
18306
|
+
tiltDocument: "Condongkan dokumen"
|
|
18384
18307
|
},
|
|
18385
18308
|
"ro-ro": {
|
|
18386
18309
|
preparingCamera: "Se pregătește camera",
|
|
@@ -18443,8 +18366,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18443
18366
|
statusIcon: "Pictogramă de stare",
|
|
18444
18367
|
slideDocument: "Glisați documentul",
|
|
18445
18368
|
flipDocument: "Întoarceți documentul",
|
|
18446
|
-
tiltDocument: "Rotiți documentul"
|
|
18447
|
-
documentFrame: "Cadru al camerei"
|
|
18369
|
+
tiltDocument: "Rotiți documentul"
|
|
18448
18370
|
},
|
|
18449
18371
|
"el-gr": {
|
|
18450
18372
|
preparingCamera: "Προετοιμασία της κάμερας",
|
|
@@ -18507,8 +18429,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18507
18429
|
statusIcon: "Εικονίδιο κατάστασης",
|
|
18508
18430
|
slideDocument: "Σύρετε το έγγραφο",
|
|
18509
18431
|
flipDocument: "Γυρίστε το έγγραφο",
|
|
18510
|
-
tiltDocument: "Γείρετε το έγγραφο"
|
|
18511
|
-
documentFrame: "Καρέ κάμερας"
|
|
18432
|
+
tiltDocument: "Γείρετε το έγγραφο"
|
|
18512
18433
|
},
|
|
18513
18434
|
"tr-tr": {
|
|
18514
18435
|
preparingCamera: "Kamera hazırlanıyor",
|
|
@@ -18571,8 +18492,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18571
18492
|
statusIcon: "Durum simgesi",
|
|
18572
18493
|
slideDocument: "Belgeyi kaydırın",
|
|
18573
18494
|
flipDocument: "Belgeyi ters çevirin",
|
|
18574
|
-
tiltDocument: "Belgeyi Eğ"
|
|
18575
|
-
documentFrame: "Kamera karesi"
|
|
18495
|
+
tiltDocument: "Belgeyi Eğ"
|
|
18576
18496
|
},
|
|
18577
18497
|
"ja-jp": {
|
|
18578
18498
|
preparingCamera: "カメラ準備中",
|
|
@@ -18635,8 +18555,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18635
18555
|
statusIcon: "ステータスアイコン",
|
|
18636
18556
|
slideDocument: "ドキュメントをスライドしてください",
|
|
18637
18557
|
flipDocument: "書類を裏返す",
|
|
18638
|
-
tiltDocument: "文書を傾けてください"
|
|
18639
|
-
documentFrame: "カメラフレーム"
|
|
18558
|
+
tiltDocument: "文書を傾けてください"
|
|
18640
18559
|
},
|
|
18641
18560
|
"cs-cz": {
|
|
18642
18561
|
preparingCamera: "Příprava fotoaparátu",
|
|
@@ -18699,8 +18618,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18699
18618
|
statusIcon: "Ikona stavu",
|
|
18700
18619
|
slideDocument: "Posuňte dokument",
|
|
18701
18620
|
flipDocument: "Obraťte dokument",
|
|
18702
|
-
tiltDocument: "Nakloňte dokument"
|
|
18703
|
-
documentFrame: "Záběr kamery"
|
|
18621
|
+
tiltDocument: "Nakloňte dokument"
|
|
18704
18622
|
},
|
|
18705
18623
|
"th-th": {
|
|
18706
18624
|
preparingCamera: "กำลังเตรียมกล้องถ่ายรูป",
|
|
@@ -18763,8 +18681,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18763
18681
|
statusIcon: "ไอคอนสถานะ",
|
|
18764
18682
|
slideDocument: "เลื่อนเอกสาร",
|
|
18765
18683
|
flipDocument: "พลิกเอกสาร",
|
|
18766
|
-
tiltDocument: "เอียงเอกสาร"
|
|
18767
|
-
documentFrame: "เฟรมกล้อง"
|
|
18684
|
+
tiltDocument: "เอียงเอกสาร"
|
|
18768
18685
|
},
|
|
18769
18686
|
"hi-in": {
|
|
18770
18687
|
preparingCamera: "कैमरा तैयार करना",
|
|
@@ -18827,8 +18744,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18827
18744
|
statusIcon: "स्थिति आइकन",
|
|
18828
18745
|
slideDocument: "दस्तावेज़ को स्लाइड करें",
|
|
18829
18746
|
flipDocument: "दस्तावेज़ पलटें",
|
|
18830
|
-
tiltDocument: "दस्तावेज़ को टिल्ट करें"
|
|
18831
|
-
documentFrame: "कैमरा फ़्रेम"
|
|
18747
|
+
tiltDocument: "दस्तावेज़ को टिल्ट करें"
|
|
18832
18748
|
},
|
|
18833
18749
|
"bn-bd": {
|
|
18834
18750
|
preparingCamera: "ক্যামেরা প্রস্তুত করা হচ্ছে",
|
|
@@ -18891,8 +18807,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18891
18807
|
statusIcon: "স্থিতি আইকন",
|
|
18892
18808
|
slideDocument: "ডকুমেন্টটি সরান",
|
|
18893
18809
|
flipDocument: "ডকুমেন্টটি উল্টান",
|
|
18894
|
-
tiltDocument: "ডকুমেন্টটি কাত করুন"
|
|
18895
|
-
documentFrame: "ক্যামেরা ফ্রেম"
|
|
18810
|
+
tiltDocument: "ডকুমেন্টটি কাত করুন"
|
|
18896
18811
|
},
|
|
18897
18812
|
"he-il": {
|
|
18898
18813
|
preparingCamera: "המצלמה בהכנה",
|
|
@@ -18955,8 +18870,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
18955
18870
|
statusIcon: "סמל מצב",
|
|
18956
18871
|
slideDocument: "החלק את המסמך",
|
|
18957
18872
|
flipDocument: "יש להפוך את המסמך לצידו השני",
|
|
18958
|
-
tiltDocument: "צריך להטות את המסמך הצידה"
|
|
18959
|
-
documentFrame: "מסגרת המצלמה"
|
|
18873
|
+
tiltDocument: "צריך להטות את המסמך הצידה"
|
|
18960
18874
|
},
|
|
18961
18875
|
"fi-fi": {
|
|
18962
18876
|
preparingCamera: "Valmistellaan kameraa",
|
|
@@ -19019,8 +18933,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19019
18933
|
statusIcon: "Tilakuvake",
|
|
19020
18934
|
slideDocument: "Liu'uta asiakirjaa",
|
|
19021
18935
|
flipDocument: "Käännä asiakirja",
|
|
19022
|
-
tiltDocument: "Kallista asiakirjaa"
|
|
19023
|
-
documentFrame: "Kameran kuva"
|
|
18936
|
+
tiltDocument: "Kallista asiakirjaa"
|
|
19024
18937
|
},
|
|
19025
18938
|
"sv-se": {
|
|
19026
18939
|
preparingCamera: "Förbereder kameran",
|
|
@@ -19083,8 +18996,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19083
18996
|
statusIcon: "Statusikon",
|
|
19084
18997
|
slideDocument: "Skjut dokumentet",
|
|
19085
18998
|
flipDocument: "Vänd på dokumentet",
|
|
19086
|
-
tiltDocument: "Luta dokumentet"
|
|
19087
|
-
documentFrame: "Kamerabild"
|
|
18999
|
+
tiltDocument: "Luta dokumentet"
|
|
19088
19000
|
},
|
|
19089
19001
|
"da-dk": {
|
|
19090
19002
|
preparingCamera: "Gør kameraet klar",
|
|
@@ -19143,12 +19055,11 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19143
19055
|
closeDocumentReaderComponent: "Luk komponenten",
|
|
19144
19056
|
takePhoto: "Tag et foto",
|
|
19145
19057
|
QRCodeForScanning: "QR-kode til scanning",
|
|
19146
|
-
spinnerIcon: "
|
|
19058
|
+
spinnerIcon: "Fremdriftsikon",
|
|
19147
19059
|
statusIcon: "Statusikon",
|
|
19148
19060
|
slideDocument: "Skub dokumentet",
|
|
19149
19061
|
flipDocument: "Vend dokumentet",
|
|
19150
|
-
tiltDocument: "Vip dokumentet"
|
|
19151
|
-
documentFrame: "Kamerabillede"
|
|
19062
|
+
tiltDocument: "Vip dokumentet"
|
|
19152
19063
|
},
|
|
19153
19064
|
"hr-hr": {
|
|
19154
19065
|
preparingCamera: "Priprema kamere",
|
|
@@ -19211,8 +19122,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19211
19122
|
statusIcon: "Ikona statusa",
|
|
19212
19123
|
slideDocument: "Pomaknite dokument",
|
|
19213
19124
|
flipDocument: "Okrenite dokument",
|
|
19214
|
-
tiltDocument: "Nagnite dokument"
|
|
19215
|
-
documentFrame: "Kadar kamere"
|
|
19125
|
+
tiltDocument: "Nagnite dokument"
|
|
19216
19126
|
},
|
|
19217
19127
|
"no-no": {
|
|
19218
19128
|
preparingCamera: "Forbereder kameraet",
|
|
@@ -19275,8 +19185,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19275
19185
|
statusIcon: "Statusikon",
|
|
19276
19186
|
slideDocument: "Skyv dokumentet",
|
|
19277
19187
|
flipDocument: "Vend dokumentet",
|
|
19278
|
-
tiltDocument: "Vipp dokumentet"
|
|
19279
|
-
documentFrame: "Kamerabilde"
|
|
19188
|
+
tiltDocument: "Vipp dokumentet"
|
|
19280
19189
|
},
|
|
19281
19190
|
"uz-latn": {
|
|
19282
19191
|
preparingCamera: "Kamerani tayyorlash",
|
|
@@ -19339,8 +19248,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19339
19248
|
statusIcon: "Holat belgisi",
|
|
19340
19249
|
slideDocument: "Hujjatni suring",
|
|
19341
19250
|
flipDocument: "Hujjatni aylantiring",
|
|
19342
|
-
tiltDocument: "Hujjatni egib oling"
|
|
19343
|
-
documentFrame: "Kamera kadri"
|
|
19251
|
+
tiltDocument: "Hujjatni egib oling"
|
|
19344
19252
|
},
|
|
19345
19253
|
"hy-am": {
|
|
19346
19254
|
preparingCamera: "Տեսախցիկի նախապատրաստում",
|
|
@@ -19403,8 +19311,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19403
19311
|
statusIcon: "Կարգավիճակի պատկերակ",
|
|
19404
19312
|
slideDocument: "Սահեցրեք փաստաթուղթը",
|
|
19405
19313
|
flipDocument: "Շրջել փաստաթուղթը",
|
|
19406
|
-
tiltDocument: "Թեքեք նկարը"
|
|
19407
|
-
documentFrame: "Տեսախցիկի կադր"
|
|
19314
|
+
tiltDocument: "Թեքեք նկարը"
|
|
19408
19315
|
},
|
|
19409
19316
|
"ky-kg": {
|
|
19410
19317
|
preparingCamera: "Камера даярдалууда",
|
|
@@ -19467,8 +19374,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19467
19374
|
statusIcon: "Абал белгиси",
|
|
19468
19375
|
slideDocument: "Документти жылдырыңыз",
|
|
19469
19376
|
flipDocument: "Документти которуңуз",
|
|
19470
|
-
tiltDocument: "Документти ийиңиз"
|
|
19471
|
-
documentFrame: "Камера кадры"
|
|
19377
|
+
tiltDocument: "Документти ийиңиз"
|
|
19472
19378
|
},
|
|
19473
19379
|
"ku-arab": {
|
|
19474
19380
|
preparingCamera: "ئامادەکردنی کامێرا",
|
|
@@ -19531,8 +19437,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19531
19437
|
statusIcon: "ئایکۆنی دۆخ",
|
|
19532
19438
|
slideDocument: "بەڵگەنامەکە بکشێنە",
|
|
19533
19439
|
flipDocument: "بەڵگەنامەکە بگۆڕە",
|
|
19534
|
-
tiltDocument: "بەڵگەنامەکە بە لات بگۆڕە"
|
|
19535
|
-
documentFrame: "چوارچێوەی کامێرا"
|
|
19440
|
+
tiltDocument: "بەڵگەنامەکە بە لات بگۆڕە"
|
|
19536
19441
|
},
|
|
19537
19442
|
"tg-tj": {
|
|
19538
19443
|
preparingCamera: "Омодасозии камера",
|
|
@@ -19595,8 +19500,7 @@ var MD = ws(VC, FC)(jD), ND = "*,:before,:after{box-sizing:border-box}:host{widt
|
|
|
19595
19500
|
statusIcon: "Нишонаи ҳолат",
|
|
19596
19501
|
slideDocument: "Ҳуҷҷатро лағжонед",
|
|
19597
19502
|
flipDocument: "Ҳуҷҷатро гардонед",
|
|
19598
|
-
tiltDocument: "Ҳуҷҷатро хам кунед"
|
|
19599
|
-
documentFrame: "Кадри камера"
|
|
19503
|
+
tiltDocument: "Ҳуҷҷатро хам кунед"
|
|
19600
19504
|
}
|
|
19601
19505
|
};
|
|
19602
19506
|
//#endregion
|
|
@@ -19794,7 +19698,7 @@ function cO(e) {
|
|
|
19794
19698
|
}), 2), S = x[0], C = x[1], w = nO(q(s), 2), T = w[0], E = w[1];
|
|
19795
19699
|
return J(() => {
|
|
19796
19700
|
E(s);
|
|
19797
|
-
}, [s]), Z(
|
|
19701
|
+
}, [s]), Z(Mu, {
|
|
19798
19702
|
mirroring: g,
|
|
19799
19703
|
onChangeMirroring: () => {
|
|
19800
19704
|
var e;
|
|
@@ -19838,7 +19742,7 @@ function cO(e) {
|
|
|
19838
19742
|
onVideoStatusChange: C,
|
|
19839
19743
|
resolution: m,
|
|
19840
19744
|
onFailStatus: (e) => {
|
|
19841
|
-
r(new
|
|
19745
|
+
r(new Yu(e));
|
|
19842
19746
|
},
|
|
19843
19747
|
mode: u || Bi.environment,
|
|
19844
19748
|
cameraId: T,
|
|
@@ -19912,10 +19816,10 @@ function mO() {
|
|
|
19912
19816
|
raw: r,
|
|
19913
19817
|
mimeType: i
|
|
19914
19818
|
});
|
|
19915
|
-
} else r(new
|
|
19819
|
+
} else r(new Yu($r.INCORRECT_FILE));
|
|
19916
19820
|
URL.revokeObjectURL(e);
|
|
19917
|
-
}, n.onerror = () => r(new
|
|
19918
|
-
}, n.src = e, n.onerror = () => r(new
|
|
19821
|
+
}, n.onerror = () => r(new Yu($r.INCORRECT_FILE));
|
|
19822
|
+
}, n.src = e, n.onerror = () => r(new Yu($r.INCORRECT_FILE));
|
|
19919
19823
|
}
|
|
19920
19824
|
});
|
|
19921
19825
|
t.push(r);
|
|
@@ -19981,7 +19885,7 @@ function xO(e) {
|
|
|
19981
19885
|
i(e);
|
|
19982
19886
|
});
|
|
19983
19887
|
})), s.length && (n(s), t(K.SUCCESS));
|
|
19984
|
-
}, [r, s]), Z(
|
|
19888
|
+
}, [r, s]), Z(Su, {});
|
|
19985
19889
|
}
|
|
19986
19890
|
//#endregion
|
|
19987
19891
|
//#region src/components/camera-snapshot/helpers.ts
|
|
@@ -20032,7 +19936,7 @@ function OO(e) {
|
|
|
20032
19936
|
if (Array.isArray(e)) return e;
|
|
20033
19937
|
}
|
|
20034
19938
|
function kO(e) {
|
|
20035
|
-
let t = e.direction, n = Mc(), r = n.onEvent, i = n.startScreen, a = n.fromCameraButton, o = a === void 0 || a, s = n.uploadFileButton, c = s === void 0 || s, l =
|
|
19939
|
+
let t = e.direction, n = Mc(), r = n.onEvent, i = n.startScreen, a = n.fromCameraButton, o = a === void 0 || a, s = n.uploadFileButton, c = s === void 0 || s, l = Ol().translate, u = CO(q(i ? K.CHOOSE_INPUT_SOURCE : K.CAMERA_PROCESSING), 2), d = u[0], f = u[1], p = CO(q(null), 2), m = p[0], h = p[1], g = CO(q([{
|
|
20036
19940
|
raw: "",
|
|
20037
19941
|
mimeType: ""
|
|
20038
19942
|
}]), 2), _ = g[0], v = g[1], y = (e) => {
|
|
@@ -20076,7 +19980,7 @@ function kO(e) {
|
|
|
20076
19980
|
}, [d, _]), Z(GC, {
|
|
20077
19981
|
onError: x,
|
|
20078
19982
|
supportedBrowserVersions: ji,
|
|
20079
|
-
children: Z(
|
|
19983
|
+
children: Z(wu, {
|
|
20080
19984
|
showHeaderAndFooter: d !== K.CAMERA_PROCESSING,
|
|
20081
19985
|
onClose: C,
|
|
20082
19986
|
direction: t,
|
|
@@ -21498,7 +21402,7 @@ function HA(e, t) {
|
|
|
21498
21402
|
let n = Array.isArray(t.customProtocols) ? t.customProtocols : [], r = new Set(n.map((e) => NA(e)).filter(Boolean)), i = PA(e);
|
|
21499
21403
|
if (i && !r.has(i)) return e;
|
|
21500
21404
|
let a = e.startsWith("//");
|
|
21501
|
-
|
|
21405
|
+
(a || !/^\.*\//.test(e)) && !i && (e = e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//, t.defaultProtocol));
|
|
21502
21406
|
let o = new URL(e);
|
|
21503
21407
|
if (t.forceHttp && t.forceHttps) throw Error("The `forceHttp` and `forceHttps` options cannot be used together");
|
|
21504
21408
|
if (t.forceHttp && o.protocol === "https:" && (o.protocol = "http:"), t.forceHttps && o.protocol === "http:" && (o.protocol = "https:"), t.stripAuthentication && (o.username = "", o.password = ""), t.stripHash ? o.hash = "" : t.stripTextFragment && (o.hash = o.hash.replace(/#?:~:text.*?$/i, "")), o.pathname) {
|
|
@@ -21584,7 +21488,7 @@ function qA(e, t) {
|
|
|
21584
21488
|
}
|
|
21585
21489
|
var JA = ec.create("wasm"), YA = ec.create("main"), XA = class {
|
|
21586
21490
|
constructor() {
|
|
21587
|
-
GA(this, "_worker", null), GA(this, "_initializeListener", null), GA(this, "_processingListener", null), GA(this, "_queueService", new CA()), GA(this, "_initProcess", null), GA(this, "version", { component: "9.10.
|
|
21491
|
+
GA(this, "_worker", null), GA(this, "_initializeListener", null), GA(this, "_processingListener", null), GA(this, "_queueService", new CA()), GA(this, "_initProcess", null), GA(this, "version", { component: "9.10.3129-nightly" }), GA(this, "onFinalize", null), GA(this, "isPrepared", !1), GA(this, "isInitialized", !1), GA(this, "isProcessing", !1), GA(this, "initData", null), GA(this, "recognizerProcessParam", { processParam: {} }), GA(this, "imageProcessParam", { processParam: {} }), GA(this, "recognizeListener", null), GA(this, "workerPath", "https://wasm-development.regulaforensics.com/document/nightly/9.10/barcodemrz/4a831f8f-fce7318b7"), GA(this, "pageIdx", null);
|
|
21588
21492
|
}
|
|
21589
21493
|
get processingListener() {
|
|
21590
21494
|
return this._processingListener;
|
|
@@ -21637,7 +21541,7 @@ var JA = ec.create("wasm"), YA = ec.create("main"), XA = class {
|
|
|
21637
21541
|
var n;
|
|
21638
21542
|
YA("Preparing the service");
|
|
21639
21543
|
{
|
|
21640
|
-
let n = t.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/9.10/barcodemrz/
|
|
21544
|
+
let n = t.workerPath === "https://wasm-development.regulaforensics.com/document/nightly/9.10/barcodemrz/4a831f8f-fce7318b7", r = HA(e && n ? Ux(e, "PROD") : t.workerPath), i = yield (yield fetch(`${r}/${Di}`)).text();
|
|
21641
21545
|
n || (i = Hx(i, r));
|
|
21642
21546
|
let a = new Blob([i], { type: "text/plain" }), o = URL.createObjectURL(a);
|
|
21643
21547
|
t._worker = new Worker(o), URL.revokeObjectURL(o);
|
|
@@ -21676,7 +21580,7 @@ var JA = ec.create("wasm"), YA = ec.create("main"), XA = class {
|
|
|
21676
21580
|
hostName: (n = document.location) == null ? void 0 : n.origin,
|
|
21677
21581
|
license: e == null ? void 0 : e.license
|
|
21678
21582
|
},
|
|
21679
|
-
telemetry: yield Ws({ sdkVersion: "9.10.
|
|
21583
|
+
telemetry: yield Ws({ sdkVersion: "9.10.3129-nightly" }),
|
|
21680
21584
|
processParam: t.recognizerProcessParam.processParam || t.imageProcessParam.processParam
|
|
21681
21585
|
}
|
|
21682
21586
|
}), a = i.scenario, o = i.license;
|
|
@@ -21876,10 +21780,10 @@ var ej = class {
|
|
|
21876
21780
|
})()();
|
|
21877
21781
|
}), e._cameraInfo = e._streamData.camera, e._streamData.stream && e.videoElement ? (e.videoElement.srcObject = e._streamData.stream, e._videoEventListener = () => {
|
|
21878
21782
|
e.videoElement && (e._canvas.width = e.videoElement.videoWidth, e._canvas.height = e.videoElement.videoHeight, t());
|
|
21879
|
-
}, e.videoElement.addEventListener("loadeddata", e._videoEventListener)) : n(new
|
|
21783
|
+
}, e.videoElement.addEventListener("loadeddata", e._videoEventListener)) : n(new Yu(Qi[e._streamData.status] || $r.CAMERA_UNKNOWN_ERROR));
|
|
21880
21784
|
} catch (e) {
|
|
21881
|
-
if (e instanceof Error && e.name === "NotAllowedError") return n(new
|
|
21882
|
-
n(new
|
|
21785
|
+
if (e instanceof Error && e.name === "NotAllowedError") return n(new Yu($r.CAMERA_PERMISSION_DENIED, e));
|
|
21786
|
+
n(new Yu($r.CAMERA_UNKNOWN_ERROR, e));
|
|
21883
21787
|
}
|
|
21884
21788
|
});
|
|
21885
21789
|
return function() {
|
|
@@ -21953,7 +21857,7 @@ var ej = class {
|
|
|
21953
21857
|
var t = this;
|
|
21954
21858
|
return W(function* () {
|
|
21955
21859
|
let n = yield Rx(e);
|
|
21956
|
-
if (n.reduce((e, t) => e + t.width * t.height, 0) > 25e6) return Promise.reject(new
|
|
21860
|
+
if (n.reduce((e, t) => e + t.width * t.height, 0) > 25e6) return Promise.reject(new Yu($r.FILE_SIZE));
|
|
21957
21861
|
{
|
|
21958
21862
|
let e = n.map((e) => e.data);
|
|
21959
21863
|
return yield t._documentReaderService.processImage(e);
|