@regulaforensics/idv-document 4.0.671-nightly → 4.0.673-rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.iife.js +16 -16
- package/dist/main.js +132 -160
- package/package.json +1 -6
package/dist/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/@lit/reactive-element/css-tag.js
|
|
2
2
|
var e = globalThis, t = e.ShadowRoot && (e.ShadyCSS === void 0 || e.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, n = Symbol(), r = /* @__PURE__ */ new WeakMap(), i = class {
|
|
3
3
|
constructor(e, t, r) {
|
|
4
4
|
if (this._$cssResult$ = !0, r !== n) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -30,8 +30,7 @@ var e = globalThis, t = e.ShadowRoot && (e.ShadyCSS === void 0 || e.ShadyCSS.nat
|
|
|
30
30
|
for (let n of e.cssRules) t += n.cssText;
|
|
31
31
|
return a(t);
|
|
32
32
|
})(e) : e;
|
|
33
|
-
|
|
34
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/asyncToGenerator.js
|
|
33
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/asyncToGenerator.js
|
|
35
34
|
function l(e, t, n, r, i, a, o) {
|
|
36
35
|
try {
|
|
37
36
|
var s = e[a](o), c = s.value;
|
|
@@ -56,8 +55,7 @@ function u(e) {
|
|
|
56
55
|
});
|
|
57
56
|
};
|
|
58
57
|
}
|
|
59
|
-
|
|
60
|
-
//#region ../../node_modules/@lit/reactive-element/reactive-element.js
|
|
58
|
+
// ../../node_modules/@lit/reactive-element/reactive-element.js
|
|
61
59
|
var d, f, { is: p, defineProperty: m, getOwnPropertyDescriptor: h, getOwnPropertyNames: g, getOwnPropertySymbols: _, getPrototypeOf: v } = Object, y = globalThis, b = y.trustedTypes, x = b ? b.emptyScript : "", S = y.reactiveElementPolyfillSupport, C = (e, t) => e, w = {
|
|
62
60
|
toAttribute(e, t) {
|
|
63
61
|
switch (t) {
|
|
@@ -311,8 +309,7 @@ var D = class extends HTMLElement {
|
|
|
311
309
|
firstUpdated(e) {}
|
|
312
310
|
};
|
|
313
311
|
D.elementStyles = [], D.shadowRootOptions = { mode: "open" }, D[C("elementProperties")] = /* @__PURE__ */ new Map(), D[C("finalized")] = /* @__PURE__ */ new Map(), S == null || S({ ReactiveElement: D }), ((f = y.reactiveElementVersions) == null ? y.reactiveElementVersions = [] : f).push("2.1.2");
|
|
314
|
-
|
|
315
|
-
//#region ../../node_modules/lit-html/lit-html.js
|
|
312
|
+
// ../../node_modules/lit-html/lit-html.js
|
|
316
313
|
var O, k = globalThis, A = (e) => e, j = k.trustedTypes, M = j ? j.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, N = "$lit$", P = `lit$${Math.random().toFixed(9).slice(2)}$`, F = "?" + P, I = `<${F}>`, L = document, ee = () => L.createComment(""), te = (e) => e === null || typeof e != "object" && typeof e != "function", ne = Array.isArray, R = (e) => ne(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", re = "[ \n\f\r]", ie = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ae = /-->/g, oe = />/g, se = RegExp(`>|${re}(?:([^\\s"'>=/]+)(${re}*=${re}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), ce = /'/g, le = /"/g, ue = /^(?:script|style|textarea|title)$/i, de = ((e) => (t, ...n) => ({
|
|
317
314
|
_$litType$: e,
|
|
318
315
|
strings: t,
|
|
@@ -598,8 +595,7 @@ var Oe = (e, t, n) => {
|
|
|
598
595
|
Me._$litElement$ = !0, Me.finalized = !0, (ke = je.litElementHydrateSupport) == null || ke.call(je, { LitElement: Me });
|
|
599
596
|
var Ne = je.litElementPolyfillSupport;
|
|
600
597
|
Ne == null || Ne({ LitElement: Me }), ((Ae = je.litElementVersions) == null ? je.litElementVersions = [] : Ae).push("4.2.2");
|
|
601
|
-
|
|
602
|
-
//#region ../../node_modules/lit-html/directive.js
|
|
598
|
+
// ../../node_modules/lit-html/directive.js
|
|
603
599
|
var Pe = (e) => (...t) => ({
|
|
604
600
|
_$litDirective$: e,
|
|
605
601
|
values: t
|
|
@@ -9769,7 +9765,7 @@ function Nb(...e) {
|
|
|
9769
9765
|
let { caseless: t, skipUndefined: n } = Mb(this) && this || {}, r = {}, i = (e, i) => {
|
|
9770
9766
|
if (i === "__proto__" || i === "constructor" || i === "prototype") return;
|
|
9771
9767
|
let a = t && Ab(r, i) || i, o = Gb(r, a) ? r[a] : void 0;
|
|
9772
|
-
ub(o) && ub(e) ? r[a] = Nb(o, e) : ub(e) ? r[a] = Nb({}, e) : eb(e) ? r[a] = e.slice() :
|
|
9768
|
+
ub(o) && ub(e) ? r[a] = Nb(o, e) : ub(e) ? r[a] = Nb({}, e) : eb(e) ? r[a] = e.slice() : n && tb(e) || (r[a] = e);
|
|
9773
9769
|
};
|
|
9774
9770
|
for (let t = 0, n = e.length; t < n; t++) e[t] && kb(e[t], i);
|
|
9775
9771
|
return r;
|
|
@@ -9803,7 +9799,7 @@ var Pb = (e, t, n, { allOwnKeys: r } = {}) => (kb(t, (t, r) => {
|
|
|
9803
9799
|
let i, a, o, s = {};
|
|
9804
9800
|
if (t = t || {}, e == null) return t;
|
|
9805
9801
|
do {
|
|
9806
|
-
for (i = Object.getOwnPropertyNames(e), a = i.length; a-- > 0;) o = i[a],
|
|
9802
|
+
for (i = Object.getOwnPropertyNames(e), a = i.length; a-- > 0;) o = i[a], r && !r(o, e, t) || s[o] || (t[o] = e[o], s[o] = !0);
|
|
9807
9803
|
e = n !== !1 && Jy(e);
|
|
9808
9804
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
9809
9805
|
return t;
|
|
@@ -10394,7 +10390,7 @@ function Wx(e) {
|
|
|
10394
10390
|
let a = e[i++];
|
|
10395
10391
|
if (a === "__proto__") return !0;
|
|
10396
10392
|
let o = Number.isFinite(+a), s = i >= e.length;
|
|
10397
|
-
return a = !a && Q.isArray(r) ? r.length : a, s ? (Q.hasOwnProp(r, a) ? r[a] = Q.isArray(r[a]) ? r[a].concat(n) : [r[a], n] : r[a] = n, !o) : (
|
|
10393
|
+
return a = !a && Q.isArray(r) ? r.length : a, s ? (Q.hasOwnProp(r, a) ? r[a] = Q.isArray(r[a]) ? r[a].concat(n) : [r[a], n] : r[a] = n, !o) : (r[a] && Q.isObject(r[a]) || (r[a] = []), t(e, n, r[a], i) && Q.isArray(r[a]) && (r[a] = Ux(r[a])), !o);
|
|
10398
10394
|
}
|
|
10399
10395
|
if (Q.isFormData(e) && Q.isFunction(e.entries)) {
|
|
10400
10396
|
let n = {};
|
|
@@ -19794,7 +19790,7 @@ var jL = (function(e) {
|
|
|
19794
19790
|
var t;
|
|
19795
19791
|
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
|
|
19796
19792
|
var n = this.closed;
|
|
19797
|
-
e.prototype.unsubscribe.call(this),
|
|
19793
|
+
e.prototype.unsubscribe.call(this), n || (t = this.onFinalize) == null || t.call(this);
|
|
19798
19794
|
}
|
|
19799
19795
|
}, t;
|
|
19800
19796
|
})(hL), ML = rL(function(e) {
|
|
@@ -20323,7 +20319,7 @@ function LR(e, t) {
|
|
|
20323
20319
|
let n = Array.isArray(t.customProtocols) ? t.customProtocols : [], r = new Set(n.map((e) => OR(e)).filter(Boolean)), i = kR(e);
|
|
20324
20320
|
if (i && !r.has(i)) return e;
|
|
20325
20321
|
let a = e.startsWith("//");
|
|
20326
|
-
|
|
20322
|
+
!a && /^\.*\//.test(e) || i || (e = e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//, t.defaultProtocol));
|
|
20327
20323
|
let o = new URL(e);
|
|
20328
20324
|
if (t.forceHttp && t.forceHttps) throw Error("The `forceHttp` and `forceHttps` options cannot be used together");
|
|
20329
20325
|
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) {
|
|
@@ -20611,8 +20607,7 @@ function KR() {
|
|
|
20611
20607
|
]);
|
|
20612
20608
|
});
|
|
20613
20609
|
}
|
|
20614
|
-
|
|
20615
|
-
//#region ../../node_modules/@lit/reactive-element/decorators/property.js
|
|
20610
|
+
// ../../node_modules/@lit/reactive-element/decorators/property.js
|
|
20616
20611
|
var qR = {
|
|
20617
20612
|
attribute: !0,
|
|
20618
20613
|
type: String,
|
|
@@ -20648,14 +20643,12 @@ function YR(e) {
|
|
|
20648
20643
|
return t.constructor.createProperty(n, e), r ? Object.getOwnPropertyDescriptor(t, n) : void 0;
|
|
20649
20644
|
})(e, t, n);
|
|
20650
20645
|
}
|
|
20651
|
-
|
|
20652
|
-
//#region ../../node_modules/lit-html/directives/choose.js
|
|
20646
|
+
// ../../node_modules/lit-html/directives/choose.js
|
|
20653
20647
|
var XR = (e, t, n) => {
|
|
20654
20648
|
for (let n of t) if (n[0] === e) return (0, n[1])();
|
|
20655
20649
|
return n == null ? void 0 : n();
|
|
20656
20650
|
};
|
|
20657
|
-
|
|
20658
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
|
|
20651
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/typeof.js
|
|
20659
20652
|
function ZR(e) {
|
|
20660
20653
|
"@babel/helpers - typeof";
|
|
20661
20654
|
return ZR = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -20664,8 +20657,7 @@ function ZR(e) {
|
|
|
20664
20657
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
20665
20658
|
}, ZR(e);
|
|
20666
20659
|
}
|
|
20667
|
-
|
|
20668
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
|
|
20660
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/toPrimitive.js
|
|
20669
20661
|
function QR(e, t) {
|
|
20670
20662
|
if (ZR(e) != "object" || !e) return e;
|
|
20671
20663
|
var n = e[Symbol.toPrimitive];
|
|
@@ -20676,14 +20668,12 @@ function QR(e, t) {
|
|
|
20676
20668
|
}
|
|
20677
20669
|
return (t === "string" ? String : Number)(e);
|
|
20678
20670
|
}
|
|
20679
|
-
|
|
20680
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
|
|
20671
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/toPropertyKey.js
|
|
20681
20672
|
function $R(e) {
|
|
20682
20673
|
var t = QR(e, "string");
|
|
20683
20674
|
return ZR(t) == "symbol" ? t : t + "";
|
|
20684
20675
|
}
|
|
20685
|
-
|
|
20686
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
|
|
20676
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/defineProperty.js
|
|
20687
20677
|
function ez(e, t, n) {
|
|
20688
20678
|
return (t = $R(t)) in e ? Object.defineProperty(e, t, {
|
|
20689
20679
|
value: n,
|
|
@@ -20692,8 +20682,7 @@ function ez(e, t, n) {
|
|
|
20692
20682
|
writable: !0
|
|
20693
20683
|
}) : e[t] = n, e;
|
|
20694
20684
|
}
|
|
20695
|
-
|
|
20696
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/objectSpread2.js
|
|
20685
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/objectSpread2.js
|
|
20697
20686
|
function tz(e, t) {
|
|
20698
20687
|
var n = Object.keys(e);
|
|
20699
20688
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -20715,8 +20704,7 @@ function nz(e) {
|
|
|
20715
20704
|
}
|
|
20716
20705
|
return e;
|
|
20717
20706
|
}
|
|
20718
|
-
|
|
20719
|
-
//#region ../interfaces-idv/src/index.ts
|
|
20707
|
+
// ../interfaces-idv/src/index.ts
|
|
20720
20708
|
var rz = class e {
|
|
20721
20709
|
constructor({ errorCode: e, errorCodeKey: t, message: n, underlyingError: r, underlyingBaseError: i, domain: a, module: o, errorEnumName: s, shortDomainCode: c }) {
|
|
20722
20710
|
this.errorCode = e, this.errorCodeKey = t, this.message = n, this.underlyingError = r, this.underlyingBaseError = i, this.module = o, this.domain = a, this.errorEnumName = s, this.shortDomainCode = c;
|
|
@@ -20769,50 +20757,43 @@ function az(e) {
|
|
|
20769
20757
|
var oz = {
|
|
20770
20758
|
FORM: "form",
|
|
20771
20759
|
DATA: "data"
|
|
20772
|
-
}, sz = (e) => {
|
|
20773
|
-
if (typeof e != "string") return !1;
|
|
20774
|
-
try {
|
|
20775
|
-
return new URL(e), !0;
|
|
20776
|
-
} catch (e) {
|
|
20777
|
-
return !1;
|
|
20778
|
-
}
|
|
20779
|
-
}, cz = ["ar", "he"], lz = (e) => {
|
|
20760
|
+
}, sz = ["ar", "he"], cz = (e) => {
|
|
20780
20761
|
var t;
|
|
20781
20762
|
let n = e ? (t = e.substring(0, 2)) == null ? void 0 : t.toLowerCase() : "";
|
|
20782
|
-
return
|
|
20783
|
-
},
|
|
20763
|
+
return sz.includes(n) ? "rtl" : "ltr";
|
|
20764
|
+
}, lz = (e, t) => e.base64 && !(t != null && t.base64.has(e.base64)) ? e.base64 : e.imageURL && !(t != null && t.imageURL.has(e.imageURL)) ? e.imageURL : "", uz = (e, t, n) => {
|
|
20784
20765
|
var r;
|
|
20785
20766
|
if (!t) return;
|
|
20786
20767
|
let i = (r = e == null ? void 0 : e.idvAsset) == null ? null : r;
|
|
20787
20768
|
for (; i;) {
|
|
20788
|
-
let e =
|
|
20769
|
+
let e = lz(i, n);
|
|
20789
20770
|
if (e) return e;
|
|
20790
20771
|
i = i.failurePolicy === "placeholderImage" && i.placeholderImage || null;
|
|
20791
20772
|
}
|
|
20792
|
-
},
|
|
20773
|
+
}, dz = {
|
|
20793
20774
|
DOC_READER: "DOC_READER",
|
|
20794
20775
|
DOC_READER_GALLERY: "DOC_READER_GALLERY"
|
|
20795
|
-
},
|
|
20776
|
+
}, fz = /* @__PURE__ */ function(e) {
|
|
20796
20777
|
return e[e.NO_INITIALIZED = 0] = "NO_INITIALIZED", e[e.UNKNOWN_STEP = 1] = "UNKNOWN_STEP", e[e.SCAN_ERROR = 2] = "SCAN_ERROR", e[e.RFID_ERROR = 3] = "RFID_ERROR", e[e.IMAGE_LOADING_FAILED = 4] = "IMAGE_LOADING_FAILED", e;
|
|
20797
|
-
}({}),
|
|
20778
|
+
}({}), pz = /* @__PURE__ */ function(e) {
|
|
20798
20779
|
return e[e.CONFIGURATION_FAILED = 0] = "CONFIGURATION_FAILED", e[e.INTERNAL_ERROR = 1] = "INTERNAL_ERROR", e[e.PRESENTER_UNAVAILABLE = 2] = "PRESENTER_UNAVAILABLE", e;
|
|
20799
|
-
}({}),
|
|
20780
|
+
}({}), mz = "idv-document", hz = {
|
|
20800
20781
|
0: ff.auto,
|
|
20801
20782
|
1: ff.captureVideo,
|
|
20802
20783
|
2: ff.captureFrame
|
|
20803
|
-
},
|
|
20784
|
+
}, gz = {
|
|
20804
20785
|
0: vf.line,
|
|
20805
20786
|
1: vf.corners
|
|
20806
|
-
},
|
|
20787
|
+
}, _z = {
|
|
20807
20788
|
0: !0,
|
|
20808
20789
|
1: !0,
|
|
20809
20790
|
2: !1,
|
|
20810
20791
|
3: !0
|
|
20811
|
-
},
|
|
20792
|
+
}, vz = 1920, yz = 4e6, bz = 5e7, xz = /* @__PURE__ */ function(e) {
|
|
20812
20793
|
return e.BarcodeMRZ = "BarcodeMRZ", e.BoundsLite = "BoundsLite", e;
|
|
20813
|
-
}({}), Cz, wz
|
|
20794
|
+
}({}), Sz, Cz, wz = class e extends rz {
|
|
20814
20795
|
constructor({ errorCode: t, message: n, underlyingError: r, underlyingBaseError: i }) {
|
|
20815
|
-
let a = rz.getErrorKey(t,
|
|
20796
|
+
let a = rz.getErrorKey(t, fz);
|
|
20816
20797
|
super({
|
|
20817
20798
|
errorCode: t,
|
|
20818
20799
|
errorCodeKey: a,
|
|
@@ -20826,10 +20807,10 @@ var oz = {
|
|
|
20826
20807
|
});
|
|
20827
20808
|
}
|
|
20828
20809
|
};
|
|
20829
|
-
|
|
20830
|
-
var
|
|
20810
|
+
Sz = wz, Sz.MODULE = mz, Sz.ERROR_ENUM_NAME = "ReaderModuleError", Sz.SHORT_CODE = "RM";
|
|
20811
|
+
var Tz = class e extends rz {
|
|
20831
20812
|
constructor({ errorCode: t, message: n, underlyingError: r, underlyingBaseError: i }) {
|
|
20832
|
-
let a = rz.getErrorKey(t,
|
|
20813
|
+
let a = rz.getErrorKey(t, pz);
|
|
20833
20814
|
super({
|
|
20834
20815
|
errorCode: t,
|
|
20835
20816
|
errorCodeKey: a,
|
|
@@ -20843,28 +20824,24 @@ var Ez = class e extends rz {
|
|
|
20843
20824
|
});
|
|
20844
20825
|
}
|
|
20845
20826
|
};
|
|
20846
|
-
|
|
20847
|
-
|
|
20848
|
-
|
|
20849
|
-
var Dz = (e) => (t, n) => {
|
|
20827
|
+
Cz = Tz, Cz.MODULE = mz, Cz.ERROR_ENUM_NAME = "ScanError", Cz.SHORT_CODE = "RMS";
|
|
20828
|
+
// ../../node_modules/@lit/reactive-element/decorators/custom-element.js
|
|
20829
|
+
var Ez = (e) => (t, n) => {
|
|
20850
20830
|
n === void 0 ? customElements.define(e, t) : n.addInitializer(() => {
|
|
20851
20831
|
customElements.define(e, t);
|
|
20852
20832
|
});
|
|
20853
20833
|
};
|
|
20854
|
-
|
|
20855
|
-
|
|
20856
|
-
function Oz(e) {
|
|
20834
|
+
// ../../node_modules/@lit/reactive-element/decorators/state.js
|
|
20835
|
+
function Dz(e) {
|
|
20857
20836
|
return YR(nz(nz({}, e), {}, {
|
|
20858
20837
|
state: !0,
|
|
20859
20838
|
attribute: !1
|
|
20860
20839
|
}));
|
|
20861
20840
|
}
|
|
20862
|
-
|
|
20863
|
-
|
|
20864
|
-
|
|
20865
|
-
|
|
20866
|
-
//#region ../../node_modules/@lit/reactive-element/decorators/query.js
|
|
20867
|
-
function Az(e, t) {
|
|
20841
|
+
// ../../node_modules/@lit/reactive-element/decorators/base.js
|
|
20842
|
+
var Oz = (e, t, n) => (n.configurable = !0, n.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(e, t, n), n);
|
|
20843
|
+
// ../../node_modules/@lit/reactive-element/decorators/query.js
|
|
20844
|
+
function kz(e, t) {
|
|
20868
20845
|
return (n, r, i) => {
|
|
20869
20846
|
let a = (t) => {
|
|
20870
20847
|
var n, r;
|
|
@@ -20882,31 +20859,30 @@ function Az(e, t) {
|
|
|
20882
20859
|
}
|
|
20883
20860
|
};
|
|
20884
20861
|
})() : i;
|
|
20885
|
-
return
|
|
20862
|
+
return Oz(n, r, { get() {
|
|
20886
20863
|
let n = e.call(this);
|
|
20887
20864
|
return n === void 0 && (n = a(this), (n !== null || this.hasUpdated) && t.call(this, n)), n;
|
|
20888
20865
|
} });
|
|
20889
20866
|
}
|
|
20890
|
-
return
|
|
20867
|
+
return Oz(n, r, { get() {
|
|
20891
20868
|
return a(this);
|
|
20892
20869
|
} });
|
|
20893
20870
|
};
|
|
20894
20871
|
}
|
|
20895
|
-
|
|
20896
|
-
|
|
20897
|
-
|
|
20898
|
-
return Mz.apply(this, arguments);
|
|
20872
|
+
// src/utils/index.ts
|
|
20873
|
+
function Az(e) {
|
|
20874
|
+
return jz.apply(this, arguments);
|
|
20899
20875
|
}
|
|
20900
|
-
function
|
|
20901
|
-
return
|
|
20876
|
+
function jz() {
|
|
20877
|
+
return jz = u(function* (e) {
|
|
20902
20878
|
return new Promise((t) => setTimeout(t, e));
|
|
20903
|
-
}),
|
|
20879
|
+
}), jz.apply(this, arguments);
|
|
20904
20880
|
}
|
|
20905
|
-
function
|
|
20906
|
-
return
|
|
20881
|
+
function Mz(e) {
|
|
20882
|
+
return Nz.apply(this, arguments);
|
|
20907
20883
|
}
|
|
20908
|
-
function
|
|
20909
|
-
return
|
|
20884
|
+
function Nz() {
|
|
20885
|
+
return Nz = u(function* (e, t = 0, n = 0) {
|
|
20910
20886
|
let r = null, i = n * 1e3;
|
|
20911
20887
|
for (let n = 0; n <= t; n++) {
|
|
20912
20888
|
try {
|
|
@@ -20916,12 +20892,18 @@ function Pz() {
|
|
|
20916
20892
|
} catch (e) {
|
|
20917
20893
|
r = e;
|
|
20918
20894
|
}
|
|
20919
|
-
n < t && (yield
|
|
20895
|
+
n < t && (yield Az(i));
|
|
20920
20896
|
}
|
|
20921
20897
|
throw r;
|
|
20922
|
-
}),
|
|
20898
|
+
}), Nz.apply(this, arguments);
|
|
20923
20899
|
}
|
|
20924
|
-
var
|
|
20900
|
+
var Pz = (e) => e ? (e.internalScenario && (e.scenario = e.internalScenario), delete e.internalScenario, e) : {}, Fz = (e) => {
|
|
20901
|
+
try {
|
|
20902
|
+
return new URL(e), !0;
|
|
20903
|
+
} catch (e) {
|
|
20904
|
+
return !1;
|
|
20905
|
+
}
|
|
20906
|
+
};
|
|
20925
20907
|
function Iz(e, t, n, r, i) {
|
|
20926
20908
|
let a = e * t, o = a > i;
|
|
20927
20909
|
return {
|
|
@@ -21205,21 +21187,18 @@ var Vz = (e) => {
|
|
|
21205
21187
|
height: 100%;
|
|
21206
21188
|
}
|
|
21207
21189
|
`;
|
|
21208
|
-
|
|
21209
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/decorateMetadata.js
|
|
21190
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/decorateMetadata.js
|
|
21210
21191
|
function Wz(e, t) {
|
|
21211
21192
|
if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
|
|
21212
21193
|
}
|
|
21213
|
-
|
|
21214
|
-
//#region \0@oxc-project+runtime@0.154.0/helpers/esm/decorate.js
|
|
21194
|
+
// \0@oxc-project+runtime@0.155.0/helpers/esm/decorate.js
|
|
21215
21195
|
function Gz(e, t, n, r) {
|
|
21216
21196
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
21217
21197
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
|
|
21218
21198
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
21219
21199
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
21220
21200
|
}
|
|
21221
|
-
|
|
21222
|
-
//#region src/web-components/document-idv/components/document-reader-camera/index.ts
|
|
21201
|
+
// src/web-components/document-idv/components/document-reader-camera/index.ts
|
|
21223
21202
|
var Kz = class extends Me {
|
|
21224
21203
|
constructor(...e) {
|
|
21225
21204
|
super(...e), this._performType = oz.DATA, this.props = null, this._handleDocumentReader = (e) => {
|
|
@@ -21238,12 +21217,9 @@ var Kz = class extends Me {
|
|
|
21238
21217
|
}
|
|
21239
21218
|
let t = (o = e.detail.data) == null ? void 0 : o.status, n = t === rp.OK, r = t === rp.TIMEOUT;
|
|
21240
21219
|
if (!(n || r) || !((s = e.detail.data) != null && s.response)) return;
|
|
21241
|
-
|
|
21242
|
-
var d, f;
|
|
21243
|
-
(d = this.props) == null || (f = d.idvEventListener) == null || f.call(d, "IDV-DOCUMENT", "Success. Start to finalize package", "DEBUG"), this.props.isProcessing(!0);
|
|
21244
|
-
}
|
|
21220
|
+
(c = this.props) != null && c.isProcessing && this.props.isProcessing(!0);
|
|
21245
21221
|
let i = (l = this.props) == null || (l = l.moduleProps) == null ? void 0 : l.finalizePackageSettings;
|
|
21246
|
-
|
|
21222
|
+
Mz(() => window.RegulaDocumentSDK.finalizePackage(), i == null ? void 0 : i.retryCount, i == null ? void 0 : i.retryDelay).then((e) => {
|
|
21247
21223
|
var t;
|
|
21248
21224
|
let n = {
|
|
21249
21225
|
transactionId: (e == null ? void 0 : e.transactionId) || "",
|
|
@@ -21263,8 +21239,8 @@ var Kz = class extends Me {
|
|
|
21263
21239
|
});
|
|
21264
21240
|
}
|
|
21265
21241
|
if (((i = e.detail) == null ? void 0 : i.action) === W.CLOSE || e.detail.action === W.CAMERA_PROCESS_CLOSED) {
|
|
21266
|
-
var
|
|
21267
|
-
(
|
|
21242
|
+
var d;
|
|
21243
|
+
(d = this.props) == null || d.perform({
|
|
21268
21244
|
transactionId: "",
|
|
21269
21245
|
cancel: !0,
|
|
21270
21246
|
has_nfc: !1,
|
|
@@ -21332,7 +21308,7 @@ var Kz = class extends Me {
|
|
|
21332
21308
|
background-color: ${a(e.cameraPreviewBackgroundColor)};
|
|
21333
21309
|
}
|
|
21334
21310
|
`), e != null && e.containerCloseButtonImage) {
|
|
21335
|
-
let i =
|
|
21311
|
+
let i = uz(e.containerCloseButtonImage, t, n);
|
|
21336
21312
|
i && r.push(o`
|
|
21337
21313
|
document-reader::part(container-close-button)::before {
|
|
21338
21314
|
background-image: url(${a(i)});
|
|
@@ -21340,7 +21316,7 @@ var Kz = class extends Me {
|
|
|
21340
21316
|
`);
|
|
21341
21317
|
}
|
|
21342
21318
|
if (e != null && e.menuFromCameraButtonImage) {
|
|
21343
|
-
let i =
|
|
21319
|
+
let i = uz(e.menuFromCameraButtonImage, t, n);
|
|
21344
21320
|
i && r.push(o`
|
|
21345
21321
|
document-reader::part(menu-from-camera-button)::before {
|
|
21346
21322
|
background-image: url(${a(i)});
|
|
@@ -21348,7 +21324,7 @@ var Kz = class extends Me {
|
|
|
21348
21324
|
`);
|
|
21349
21325
|
}
|
|
21350
21326
|
if (e != null && e.menuFromGalleryButtonImage) {
|
|
21351
|
-
let i =
|
|
21327
|
+
let i = uz(e.menuFromGalleryButtonImage, t, n);
|
|
21352
21328
|
i && r.push(o`
|
|
21353
21329
|
document-reader::part(menu-from-gallery-button)::before {
|
|
21354
21330
|
background-image: url(${a(i)});
|
|
@@ -21356,7 +21332,7 @@ var Kz = class extends Me {
|
|
|
21356
21332
|
`);
|
|
21357
21333
|
}
|
|
21358
21334
|
if (e != null && e.menuFromMobileButtonImage) {
|
|
21359
|
-
let i =
|
|
21335
|
+
let i = uz(e.menuFromMobileButtonImage, t, n);
|
|
21360
21336
|
i && r.push(o`
|
|
21361
21337
|
document-reader::part(menu-from-mobile-button)::before {
|
|
21362
21338
|
background-image: url(${a(i)});
|
|
@@ -21364,7 +21340,7 @@ var Kz = class extends Me {
|
|
|
21364
21340
|
`);
|
|
21365
21341
|
}
|
|
21366
21342
|
if (e != null && e.closeButton) {
|
|
21367
|
-
let i =
|
|
21343
|
+
let i = uz(e.closeButton, t, n);
|
|
21368
21344
|
i && r.push(o`
|
|
21369
21345
|
document-reader::part(controls-process-close-button)::before {
|
|
21370
21346
|
background-image: url(${a(i)});
|
|
@@ -21372,7 +21348,7 @@ var Kz = class extends Me {
|
|
|
21372
21348
|
`);
|
|
21373
21349
|
}
|
|
21374
21350
|
if (e != null && e.switchButton) {
|
|
21375
|
-
let i =
|
|
21351
|
+
let i = uz(e.switchButton, t, n);
|
|
21376
21352
|
i && r.push(o`
|
|
21377
21353
|
document-reader::part(controls-change-camera-button)::before {
|
|
21378
21354
|
background-image: url(${a(i)});
|
|
@@ -21380,7 +21356,7 @@ var Kz = class extends Me {
|
|
|
21380
21356
|
`);
|
|
21381
21357
|
}
|
|
21382
21358
|
if (e != null && e.infoTryAgainButtonImage) {
|
|
21383
|
-
let i =
|
|
21359
|
+
let i = uz(e.infoTryAgainButtonImage, t, n);
|
|
21384
21360
|
i && r.push(o`
|
|
21385
21361
|
document-reader::part(info-try-again-button)::before {
|
|
21386
21362
|
background-image: url(${a(i)});
|
|
@@ -21439,20 +21415,20 @@ var Kz = class extends Me {
|
|
|
21439
21415
|
uploadFileButton: t == null ? void 0 : t.uploadFileButton,
|
|
21440
21416
|
mirrorButton: t == null ? void 0 : t.mirrorButton,
|
|
21441
21417
|
nonce: (i = this.props) == null ? void 0 : i.nonce
|
|
21442
|
-
}), u = nz(nz(nz(nz(nz({}, !!r && typeof r == "string" && { locale: r.slice(0, 2).toLowerCase() }), typeof (n == null ? void 0 : n.captureMode) == "number" && n.captureMode in
|
|
21418
|
+
}), u = nz(nz(nz(nz(nz({}, !!r && typeof r == "string" && { locale: r.slice(0, 2).toLowerCase() }), typeof (n == null ? void 0 : n.captureMode) == "number" && n.captureMode in hz && { captureMode: hz[n.captureMode] }), typeof (t == null ? void 0 : t.cameraFrameShapeType) == "number" && t.cameraFrameShapeType in gz && { cameraFrameShapeType: gz[t.cameraFrameShapeType] }), (typeof (n == null || (a = n.videoOutputSettings) == null ? void 0 : a.AVVideoWidthKey) == "number" || typeof (n == null || (o = n.videoOutputSettings) == null ? void 0 : o.AVVideoHeightKey) == "number") && { resolution: nz(nz({}, typeof (n == null || (s = n.videoOutputSettings) == null ? void 0 : s.AVVideoWidthKey) == "number" && { width: n.videoOutputSettings.AVVideoWidthKey }), typeof (n == null || (c = n.videoOutputSettings) == null ? void 0 : c.AVVideoHeightKey) == "number" && { height: n.videoOutputSettings.AVVideoHeightKey }) }), typeof (n == null ? void 0 : n.cameraFrame) == "number" && n.cameraFrame in _z && { cameraFrame: _z[n.cameraFrame] });
|
|
21443
21419
|
return nz(nz({}, l), u);
|
|
21444
21420
|
}
|
|
21445
21421
|
_setDocReaderProps() {
|
|
21446
21422
|
var e, t, n;
|
|
21447
21423
|
if (!this.props || !this._component) return;
|
|
21448
21424
|
(e = (t = this.props).isProcessing) == null || e.call(t, !0);
|
|
21449
|
-
let { processParam: r, functionality: i, customization: a, sessionId: o, copyright: c, serviceToken: l, locale: u, preloadAssetsRequired: d, failedAssets: f } = this.props.moduleProps, p =
|
|
21450
|
-
if (!m || !
|
|
21451
|
-
let e = new
|
|
21452
|
-
errorCode:
|
|
21425
|
+
let { processParam: r, functionality: i, customization: a, sessionId: o, copyright: c, serviceToken: l, locale: u, preloadAssetsRequired: d, failedAssets: f } = this.props.moduleProps, p = Pz(r), m = p == null || (n = p.backendProcessing) == null ? void 0 : n.serviceURL;
|
|
21426
|
+
if (!m || !Fz(m)) {
|
|
21427
|
+
let e = new Tz({
|
|
21428
|
+
errorCode: pz.CONFIGURATION_FAILED,
|
|
21453
21429
|
message: "serviceURL is not defined or is invalid."
|
|
21454
|
-
}), t = new
|
|
21455
|
-
errorCode:
|
|
21430
|
+
}), t = new wz({
|
|
21431
|
+
errorCode: fz.SCAN_ERROR,
|
|
21456
21432
|
underlyingBaseError: e
|
|
21457
21433
|
});
|
|
21458
21434
|
this.props.perform(t);
|
|
@@ -21480,9 +21456,8 @@ var Kz = class extends Me {
|
|
|
21480
21456
|
></document-reader>`;
|
|
21481
21457
|
}
|
|
21482
21458
|
}, qz = (Kz.styles = [Uz], Kz);
|
|
21483
|
-
Gz([
|
|
21484
|
-
|
|
21485
|
-
//#region ../../node_modules/lit-html/directives/if-defined.js
|
|
21459
|
+
Gz([Dz(), Wz("design:type", Object)], qz.prototype, "props", void 0), Gz([kz("document-reader"), Wz("design:type", wI === void 0 ? Object : wI)], qz.prototype, "_component", void 0), qz = Gz([Ez("document-reader-camera")], qz);
|
|
21460
|
+
// ../../node_modules/lit-html/directives/if-defined.js
|
|
21486
21461
|
var Jz = (e) => e == null ? z : e, Yz = o`
|
|
21487
21462
|
.gallery-root {
|
|
21488
21463
|
display: flex;
|
|
@@ -21624,12 +21599,11 @@ var Jz = (e) => e == null ? z : e, Yz = o`
|
|
|
21624
21599
|
let a = [...(n = e.target.files) == null ? [] : n];
|
|
21625
21600
|
if (!a.length) return;
|
|
21626
21601
|
(r = t.props) != null && r.isProcessing && t.props.isProcessing(!0), yield window.RegulaDocumentSDK.createBackendTransaction({}, window.RegulaDocumentSDK.recognizerProcessParam);
|
|
21627
|
-
let o = [];
|
|
21628
21602
|
for (let e of a) {
|
|
21629
|
-
let { isExtraLargeResolution: n, isDownscaleNeeded: r } = yield Lz(e, yz, bz
|
|
21603
|
+
let { isExtraLargeResolution: n, isDownscaleNeeded: r } = yield Lz(e, vz, yz, bz), i = e.type.startsWith("image/webp");
|
|
21630
21604
|
if (n) {
|
|
21631
|
-
var
|
|
21632
|
-
(
|
|
21605
|
+
var o;
|
|
21606
|
+
(o = t.props) == null || o.perform({
|
|
21633
21607
|
transactionId: "",
|
|
21634
21608
|
cancel: !1,
|
|
21635
21609
|
has_nfc: !1,
|
|
@@ -21637,49 +21611,49 @@ var Jz = (e) => e == null ? z : e, Yz = o`
|
|
|
21637
21611
|
}, t._performType);
|
|
21638
21612
|
return;
|
|
21639
21613
|
}
|
|
21614
|
+
let a;
|
|
21640
21615
|
if (r || i) {
|
|
21641
|
-
let n = yield zz(e,
|
|
21616
|
+
let n = yield zz(e, vz, yz);
|
|
21642
21617
|
if (!n.ok) {
|
|
21643
|
-
var
|
|
21618
|
+
var s;
|
|
21644
21619
|
let e = {
|
|
21645
21620
|
transactionId: "",
|
|
21646
21621
|
cancel: !1,
|
|
21647
21622
|
has_nfc: !1,
|
|
21648
21623
|
errorCode: r ? "IMAGE_DOWNSCALING_ERROR" : "IMAGE_PROCESSING_ERROR"
|
|
21649
21624
|
};
|
|
21650
|
-
(
|
|
21625
|
+
(s = t.props) == null || s.perform(e, t._performType);
|
|
21651
21626
|
return;
|
|
21652
21627
|
}
|
|
21653
|
-
|
|
21654
|
-
} else
|
|
21655
|
-
|
|
21656
|
-
|
|
21657
|
-
|
|
21658
|
-
|
|
21659
|
-
|
|
21660
|
-
|
|
21661
|
-
|
|
21662
|
-
|
|
21663
|
-
|
|
21664
|
-
|
|
21665
|
-
}
|
|
21666
|
-
return;
|
|
21628
|
+
a = [n.imageData];
|
|
21629
|
+
} else a = [yield e.arrayBuffer()];
|
|
21630
|
+
try {
|
|
21631
|
+
yield window.RegulaDocumentSDK.processImage(a);
|
|
21632
|
+
} catch (e) {
|
|
21633
|
+
var c;
|
|
21634
|
+
(c = t.props) == null || c.perform({
|
|
21635
|
+
transactionId: "",
|
|
21636
|
+
cancel: !1,
|
|
21637
|
+
has_nfc: !1,
|
|
21638
|
+
errorCode: "IMAGE_PROCESSING_ERROR"
|
|
21639
|
+
}, t._performType);
|
|
21640
|
+
}
|
|
21667
21641
|
}
|
|
21668
|
-
let
|
|
21642
|
+
let l = (i = t.props) == null || (i = i.moduleProps) == null ? void 0 : i.finalizePackageSettings;
|
|
21669
21643
|
try {
|
|
21670
|
-
var
|
|
21671
|
-
let e = yield
|
|
21644
|
+
var d;
|
|
21645
|
+
let e = yield Mz(u(function* () {
|
|
21672
21646
|
return window.RegulaDocumentSDK.finalizePackage();
|
|
21673
|
-
}),
|
|
21647
|
+
}), l == null ? void 0 : l.retryCount, l == null ? void 0 : l.retryDelay), n = {
|
|
21674
21648
|
transactionId: e == null ? void 0 : e.transactionId,
|
|
21675
21649
|
cancel: !1,
|
|
21676
21650
|
has_nfc: !1,
|
|
21677
21651
|
errorCode: ""
|
|
21678
21652
|
};
|
|
21679
|
-
(
|
|
21653
|
+
(d = t.props) == null || d.perform(n, t._performType);
|
|
21680
21654
|
} catch (e) {
|
|
21681
|
-
var
|
|
21682
|
-
console.log("finalizePackage error: ", e), (
|
|
21655
|
+
var f;
|
|
21656
|
+
console.log("finalizePackage error: ", e), (f = t.props) == null || f.perform({
|
|
21683
21657
|
transactionId: "",
|
|
21684
21658
|
cancel: !0,
|
|
21685
21659
|
has_nfc: !1,
|
|
@@ -21709,13 +21683,13 @@ var Jz = (e) => e == null ? z : e, Yz = o`
|
|
|
21709
21683
|
if (!this.props) return;
|
|
21710
21684
|
let { processParam: t, sessionId: n, serviceToken: r, selectionLimit: i } = this.props.moduleProps;
|
|
21711
21685
|
this._input.multiple = typeof i == "number" && (i === 0 || i > 1);
|
|
21712
|
-
let a =
|
|
21713
|
-
if (!o || !
|
|
21714
|
-
let e = new
|
|
21715
|
-
errorCode:
|
|
21686
|
+
let a = Pz(t), o = a == null || (e = a.backendProcessing) == null ? void 0 : e.serviceURL;
|
|
21687
|
+
if (!o || !Fz(o)) {
|
|
21688
|
+
let e = new Tz({
|
|
21689
|
+
errorCode: pz.CONFIGURATION_FAILED,
|
|
21716
21690
|
message: "serviceURL is not defined or is invalid."
|
|
21717
|
-
}), t = new
|
|
21718
|
-
errorCode:
|
|
21691
|
+
}), t = new wz({
|
|
21692
|
+
errorCode: fz.SCAN_ERROR,
|
|
21719
21693
|
underlyingBaseError: e
|
|
21720
21694
|
});
|
|
21721
21695
|
this.props.perform(t);
|
|
@@ -21733,7 +21707,7 @@ var Jz = (e) => e == null ? z : e, Yz = o`
|
|
|
21733
21707
|
return de`<div
|
|
21734
21708
|
part="gallery-root"
|
|
21735
21709
|
class="gallery-root"
|
|
21736
|
-
dir="${
|
|
21710
|
+
dir="${cz(n)}"
|
|
21737
21711
|
lang="${n}"
|
|
21738
21712
|
style="background: ${Jz((t = this.props) == null || (t = t.moduleProps) == null ? void 0 : t.backgroundColor)}"
|
|
21739
21713
|
>
|
|
@@ -21754,9 +21728,8 @@ var Jz = (e) => e == null ? z : e, Yz = o`
|
|
|
21754
21728
|
</div>`;
|
|
21755
21729
|
}
|
|
21756
21730
|
}, eB = ($z.styles = [Yz], $z);
|
|
21757
|
-
Gz([
|
|
21758
|
-
|
|
21759
|
-
//#region src/web-components/document-idv/index.ts
|
|
21731
|
+
Gz([Dz(), Wz("design:type", Object)], eB.prototype, "props", void 0), Gz([kz("#file-input"), Wz("design:type", typeof HTMLInputElement > "u" ? Object : HTMLInputElement)], eB.prototype, "_input", void 0), eB = Gz([Ez("document-reader-gallery")], eB);
|
|
21732
|
+
// src/web-components/document-idv/index.ts
|
|
21760
21733
|
var tB, nB = !1, rB = class e extends Me {
|
|
21761
21734
|
constructor(...e) {
|
|
21762
21735
|
super(...e), this.props = null, this.renderVersion = 0;
|
|
@@ -21764,8 +21737,8 @@ var tB, nB = !1, rB = class e extends Me {
|
|
|
21764
21737
|
setProps(t) {
|
|
21765
21738
|
if (!e.getSupportedTemplates().includes(t.moduleProps.templateId)) {
|
|
21766
21739
|
var n;
|
|
21767
|
-
let e = new
|
|
21768
|
-
errorCode:
|
|
21740
|
+
let e = new wz({
|
|
21741
|
+
errorCode: fz.UNKNOWN_STEP,
|
|
21769
21742
|
message: `TemplateId ${t.moduleProps.templateId} is not supported`
|
|
21770
21743
|
});
|
|
21771
21744
|
(n = t.perform) == null || n.call(t, e);
|
|
@@ -21773,8 +21746,8 @@ var tB, nB = !1, rB = class e extends Me {
|
|
|
21773
21746
|
let r = t.moduleProps.failedAssets;
|
|
21774
21747
|
if (r && r.blockingAssets.size > 0) {
|
|
21775
21748
|
var i;
|
|
21776
|
-
let e = new
|
|
21777
|
-
errorCode:
|
|
21749
|
+
let e = new wz({
|
|
21750
|
+
errorCode: fz.IMAGE_LOADING_FAILED,
|
|
21778
21751
|
message: `Failed to load image asset${r.blockingAssets.size > 1 ? "s" : ""}: ${[...r.blockingAssets].join(", ")}`
|
|
21779
21752
|
});
|
|
21780
21753
|
(i = t.perform) == null || i.call(t, e);
|
|
@@ -21785,7 +21758,7 @@ var tB, nB = !1, rB = class e extends Me {
|
|
|
21785
21758
|
return nB;
|
|
21786
21759
|
}
|
|
21787
21760
|
static getSupportedTemplates() {
|
|
21788
|
-
return [
|
|
21761
|
+
return [dz.DOC_READER, dz.DOC_READER_GALLERY];
|
|
21789
21762
|
}
|
|
21790
21763
|
static initialize(e) {
|
|
21791
21764
|
var t, n;
|
|
@@ -21802,14 +21775,13 @@ var tB, nB = !1, rB = class e extends Me {
|
|
|
21802
21775
|
nB = !1, (e = window.RegulaDocumentSDK) == null || e.shutdown();
|
|
21803
21776
|
}
|
|
21804
21777
|
static getIdentifier() {
|
|
21805
|
-
return
|
|
21778
|
+
return mz;
|
|
21806
21779
|
}
|
|
21807
21780
|
static cancel() {}
|
|
21808
21781
|
render() {
|
|
21809
21782
|
var e;
|
|
21810
|
-
return de`${ze(this.renderVersion, de`${XR((e = this.props) == null || (e = e.moduleProps) == null ? void 0 : e.templateId, [[
|
|
21783
|
+
return de`${ze(this.renderVersion, de`${XR((e = this.props) == null || (e = e.moduleProps) == null ? void 0 : e.templateId, [[dz.DOC_READER, () => de`<document-reader-camera .props=${this.props}></document-reader-camera>`], [dz.DOC_READER_GALLERY, () => de`<document-reader-gallery .props=${this.props}></document-reader-gallery>`]])}`)}`;
|
|
21811
21784
|
}
|
|
21812
21785
|
};
|
|
21813
|
-
tB = rB, tB.displayName =
|
|
21814
|
-
|
|
21815
|
-
export { rB as DocumentIdv, Sz as ModuleType };
|
|
21786
|
+
tB = rB, tB.displayName = mz, Gz([YR({ attribute: !1 }), Wz("design:type", Object)], rB.prototype, "props", void 0), Gz([YR({ attribute: !1 }), Wz("design:type", Object)], rB.prototype, "renderVersion", void 0), iz(mz, rB);
|
|
21787
|
+
export { rB as DocumentIdv, xz as ModuleType };
|