@digipair/skill-web-ocr 0.92.2 → 0.93.0-0
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/README.md +7 -0
- package/{index.cjs.js → dist/index.cjs.js} +262 -316
- package/{index.esm.js → dist/index.esm.js} +262 -314
- package/{libs/skill-web-ocr → dist}/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/{libs/skill-web-ocr → dist}/src/lib/input-ocr-image.element.d.ts +1 -0
- package/dist/src/lib/input-ocr-image.element.d.ts.map +1 -0
- package/{libs/skill-web-ocr → dist}/src/lib/input-ocr.element.d.ts +1 -0
- package/dist/src/lib/input-ocr.element.d.ts.map +1 -0
- package/{libs/skill-web-ocr → dist}/src/lib/skill-web-ocr.d.ts +1 -0
- package/dist/src/lib/skill-web-ocr.d.ts.map +1 -0
- package/dist/src/lib/skill-web-ocr.spec.d.ts +2 -0
- package/dist/src/lib/skill-web-ocr.spec.d.ts.map +1 -0
- package/package.json +22 -6
- package/index.d.ts +0 -1
- /package/{index.cjs.d.ts → dist/index.d.ts} +0 -0
- /package/{schema.fr.json → dist/schema.fr.json} +0 -0
- /package/{schema.json → dist/schema.json} +0 -0
|
@@ -7,7 +7,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
7
7
|
function __metadata(metadataKey, metadataValue) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
9
9
|
}
|
|
10
|
-
typeof SuppressedError === "function" ? SuppressedError : function
|
|
10
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
11
11
|
var e = new Error(message);
|
|
12
12
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
13
13
|
};
|
|
@@ -32,7 +32,6 @@ function _defineProperties$3(target, props) {
|
|
|
32
32
|
}
|
|
33
33
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
|
34
34
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
35
|
-
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
|
36
35
|
return Constructor;
|
|
37
36
|
}
|
|
38
37
|
function _instanceof$1(left, right) {
|
|
@@ -42,11 +41,11 @@ function _instanceof$1(left, right) {
|
|
|
42
41
|
return left instanceof right;
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
|
-
var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$
|
|
44
|
+
var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$2 = Symbol(), o$4 = new WeakMap;
|
|
46
45
|
var n$3 = /*#__PURE__*/ function() {
|
|
47
46
|
function n(t, e, o) {
|
|
48
47
|
_class_call_check$3(this, n);
|
|
49
|
-
if (this._$cssResult$ =
|
|
48
|
+
if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
50
49
|
this.cssText = t, this.t = e;
|
|
51
50
|
}
|
|
52
51
|
_create_class$3(n, [
|
|
@@ -57,7 +56,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
57
56
|
var s = this.t;
|
|
58
57
|
if (e$2 && void 0 === t) {
|
|
59
58
|
var e1 = void 0 !== s && 1 === s.length;
|
|
60
|
-
e1 && (t = o$
|
|
59
|
+
e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
|
|
61
60
|
}
|
|
62
61
|
return t;
|
|
63
62
|
}
|
|
@@ -71,20 +70,20 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
71
70
|
]);
|
|
72
71
|
return n;
|
|
73
72
|
}();
|
|
74
|
-
var r$
|
|
75
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
|
73
|
+
var r$4 = function(t) {
|
|
74
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
|
|
76
75
|
}, i$3 = function(t) {
|
|
77
76
|
for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
78
77
|
e[_key - 1] = arguments[_key];
|
|
79
78
|
}
|
|
80
79
|
var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
|
|
81
80
|
return e + function(t) {
|
|
82
|
-
if (
|
|
81
|
+
if (true === t._$cssResult$) return t.cssText;
|
|
83
82
|
if ("number" == typeof t) return t;
|
|
84
83
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
85
84
|
}(s) + t[o + 1];
|
|
86
85
|
}, t[0]);
|
|
87
|
-
return new n$3(o, t, s$
|
|
86
|
+
return new n$3(o, t, s$2);
|
|
88
87
|
}, S$1 = function(s, o) {
|
|
89
88
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
90
89
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
|
@@ -135,7 +134,7 @@ var r$5 = function(t) {
|
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
136
|
}
|
|
138
|
-
return r$
|
|
137
|
+
return r$4(e);
|
|
139
138
|
}(t) : t;
|
|
140
139
|
};
|
|
141
140
|
|
|
@@ -277,7 +276,7 @@ function _non_iterable_spread$1() {
|
|
|
277
276
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
278
277
|
}
|
|
279
278
|
function _possible_constructor_return$2(self, call) {
|
|
280
|
-
if (call && (_type_of$
|
|
279
|
+
if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
|
|
281
280
|
return call;
|
|
282
281
|
}
|
|
283
282
|
return _assert_this_initialized$2(self);
|
|
@@ -295,7 +294,7 @@ function _sliced_to_array$1(arr, i) {
|
|
|
295
294
|
function _to_consumable_array$1(arr) {
|
|
296
295
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
|
297
296
|
}
|
|
298
|
-
function _type_of$
|
|
297
|
+
function _type_of$4(obj) {
|
|
299
298
|
"@swc/helpers - typeof";
|
|
300
299
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
301
300
|
}
|
|
@@ -457,7 +456,7 @@ var _Symbol, _a, _a1;
|
|
|
457
456
|
* @license
|
|
458
457
|
* Copyright 2017 Google LLC
|
|
459
458
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
460
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
|
459
|
+
*/ var i$2 = Object.is, e$1 = Object.defineProperty, h$1 = Object.getOwnPropertyDescriptor, r$3 = Object.getOwnPropertyNames, o$3 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
|
|
461
460
|
return t;
|
|
462
461
|
}, u$1 = {
|
|
463
462
|
toAttribute: function toAttribute(t, s) {
|
|
@@ -492,25 +491,26 @@ var _Symbol, _a, _a1;
|
|
|
492
491
|
}
|
|
493
492
|
}, f$1 = function(t, s) {
|
|
494
493
|
return !i$2(t, s);
|
|
495
|
-
},
|
|
496
|
-
attribute:
|
|
494
|
+
}, b = {
|
|
495
|
+
attribute: true,
|
|
497
496
|
type: String,
|
|
498
497
|
converter: u$1,
|
|
499
|
-
reflect:
|
|
498
|
+
reflect: false,
|
|
499
|
+
useDefault: false,
|
|
500
500
|
hasChanged: f$1
|
|
501
501
|
};
|
|
502
502
|
var _metadata, _litPropertyMetadata;
|
|
503
503
|
(_metadata = (_Symbol = Symbol).metadata) !== null && _metadata !== void 0 ? _metadata : _Symbol.metadata = Symbol("metadata"), (_litPropertyMetadata = (_a = a$1).litPropertyMetadata) !== null && _litPropertyMetadata !== void 0 ? _litPropertyMetadata : _a.litPropertyMetadata = new WeakMap;
|
|
504
|
-
var
|
|
505
|
-
_inherits$2(
|
|
506
|
-
var _super = _create_super$2(
|
|
507
|
-
function
|
|
508
|
-
_class_call_check$2(this,
|
|
504
|
+
var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
505
|
+
_inherits$2(y, HTMLElement1);
|
|
506
|
+
var _super = _create_super$2(y);
|
|
507
|
+
function y() {
|
|
508
|
+
_class_call_check$2(this, y);
|
|
509
509
|
var _this;
|
|
510
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
|
510
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
|
|
511
511
|
return _possible_constructor_return$2(_this);
|
|
512
512
|
}
|
|
513
|
-
_create_class$2(
|
|
513
|
+
_create_class$2(y, [
|
|
514
514
|
{
|
|
515
515
|
key: "_$Ev",
|
|
516
516
|
value: function _$Ev() {
|
|
@@ -578,7 +578,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
578
578
|
value: function connectedCallback() {
|
|
579
579
|
var _this__$EO;
|
|
580
580
|
var _this_renderRoot;
|
|
581
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
|
581
|
+
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(true), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
582
582
|
var _t_hostConnected;
|
|
583
583
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
|
584
584
|
});
|
|
@@ -605,13 +605,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
|
-
key: "_$
|
|
609
|
-
value: function _$
|
|
608
|
+
key: "_$ET",
|
|
609
|
+
value: function _$ET(t, s) {
|
|
610
610
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
|
611
|
-
if (void 0 !== e &&
|
|
611
|
+
if (void 0 !== e && true === i.reflect) {
|
|
612
612
|
var _i_converter;
|
|
613
|
-
var
|
|
614
|
-
this._$Em = t, null ==
|
|
613
|
+
var h = (void 0 !== ((_i_converter = i.converter) === null || _i_converter === void 0 ? void 0 : _i_converter.toAttribute) ? i.converter : u$1).toAttribute(s, i.type);
|
|
614
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
},
|
|
@@ -620,11 +620,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
620
620
|
value: function _$AK(t, s) {
|
|
621
621
|
var i = this.constructor, e = i._$Eh.get(t);
|
|
622
622
|
if (void 0 !== e && this._$Em !== e) {
|
|
623
|
-
var _t_converter;
|
|
624
|
-
var _$t = i.getPropertyOptions(e),
|
|
623
|
+
var _t_converter, _this__$Ej;
|
|
624
|
+
var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
|
|
625
625
|
fromAttribute: _$t.converter
|
|
626
626
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
|
627
|
-
|
|
627
|
+
var _h_fromAttribute, _ref;
|
|
628
|
+
this._$Em = e, this[e] = (_ref = (_h_fromAttribute = h.fromAttribute(s, _$t.type)) !== null && _h_fromAttribute !== void 0 ? _h_fromAttribute : (_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(e)) !== null && _ref !== void 0 ? _ref : null, this._$Em = null;
|
|
628
629
|
}
|
|
629
630
|
}
|
|
630
631
|
},
|
|
@@ -632,30 +633,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
632
633
|
key: "requestUpdate",
|
|
633
634
|
value: function requestUpdate(t, s, i) {
|
|
634
635
|
if (void 0 !== t) {
|
|
636
|
+
var _this__$Ej;
|
|
637
|
+
var e = this.constructor, h = this[t];
|
|
635
638
|
var _i_hasChanged;
|
|
636
|
-
if (i !== null && i !== void 0 ? i : i =
|
|
637
|
-
this.
|
|
639
|
+
if (i !== null && i !== void 0 ? i : i = e.getPropertyOptions(t), !(((_i_hasChanged = i.hasChanged) !== null && _i_hasChanged !== void 0 ? _i_hasChanged : f$1)(h, s) || i.useDefault && i.reflect && h === ((_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(t)) && !this.hasAttribute(e._$Eu(t, i)))) return;
|
|
640
|
+
this.C(t, s, i);
|
|
638
641
|
}
|
|
639
|
-
|
|
642
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
640
643
|
}
|
|
641
644
|
},
|
|
642
645
|
{
|
|
643
|
-
key: "
|
|
644
|
-
value: function
|
|
645
|
-
var
|
|
646
|
-
|
|
646
|
+
key: "C",
|
|
647
|
+
value: function C(t, s, param, r) {
|
|
648
|
+
var i = param.useDefault, e = param.reflect, h = param.wrapped;
|
|
649
|
+
var _this__$Ej, _ref, _this__$Eq;
|
|
650
|
+
i && !((_this__$Ej = this._$Ej) !== null && _this__$Ej !== void 0 ? _this__$Ej : this._$Ej = new Map).has(t) && (this._$Ej.set(t, (_ref = r !== null && r !== void 0 ? r : s) !== null && _ref !== void 0 ? _ref : this[t]), true !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), true === e && this._$Em !== t && ((_this__$Eq = this._$Eq) !== null && _this__$Eq !== void 0 ? _this__$Eq : this._$Eq = new Set).add(t));
|
|
647
651
|
}
|
|
648
652
|
},
|
|
649
653
|
{
|
|
650
|
-
key: "_$
|
|
651
|
-
value: function _$
|
|
654
|
+
key: "_$EP",
|
|
655
|
+
value: function _$EP() {
|
|
652
656
|
var _this = this;
|
|
653
657
|
return _async_to_generator(function() {
|
|
654
658
|
var t, _$t, _tmp;
|
|
655
659
|
return _ts_generator(this, function(_state) {
|
|
656
660
|
switch(_state.label){
|
|
657
661
|
case 0:
|
|
658
|
-
_this.isUpdatePending =
|
|
662
|
+
_this.isUpdatePending = true;
|
|
659
663
|
_state.label = 1;
|
|
660
664
|
case 1:
|
|
661
665
|
_state.trys.push([
|
|
@@ -745,7 +749,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
745
749
|
if (t1.size > 0) try {
|
|
746
750
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
747
751
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
748
|
-
|
|
752
|
+
var t2 = i.wrapped, e = this[_$s1];
|
|
753
|
+
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
|
749
754
|
}
|
|
750
755
|
} catch (err) {
|
|
751
756
|
_didIteratorError1 = true;
|
|
@@ -762,18 +767,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
762
767
|
}
|
|
763
768
|
}
|
|
764
769
|
}
|
|
765
|
-
var
|
|
770
|
+
var t3 = false;
|
|
766
771
|
var _$s2 = this._$AL;
|
|
767
772
|
try {
|
|
768
773
|
var _this__$EO;
|
|
769
|
-
|
|
774
|
+
t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
770
775
|
var _t_hostUpdate;
|
|
771
776
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
|
772
|
-
}), this.update(_$s2)) : this._$
|
|
777
|
+
}), this.update(_$s2)) : this._$EM();
|
|
773
778
|
} catch (s) {
|
|
774
|
-
throw
|
|
779
|
+
throw t3 = false, this._$EM(), s;
|
|
775
780
|
}
|
|
776
|
-
|
|
781
|
+
t3 && this._$AE(_$s2);
|
|
777
782
|
}
|
|
778
783
|
},
|
|
779
784
|
{
|
|
@@ -787,13 +792,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
787
792
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
788
793
|
var _t_hostUpdated;
|
|
789
794
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
|
790
|
-
}), this.hasUpdated || (this.hasUpdated =
|
|
795
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
|
791
796
|
}
|
|
792
797
|
},
|
|
793
798
|
{
|
|
794
|
-
key: "_$
|
|
795
|
-
value: function _$
|
|
796
|
-
this._$AL = new Map, this.isUpdatePending =
|
|
799
|
+
key: "_$EM",
|
|
800
|
+
value: function _$EM() {
|
|
801
|
+
this._$AL = new Map, this.isUpdatePending = false;
|
|
797
802
|
}
|
|
798
803
|
},
|
|
799
804
|
{
|
|
@@ -811,16 +816,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
811
816
|
{
|
|
812
817
|
key: "shouldUpdate",
|
|
813
818
|
value: function shouldUpdate(t) {
|
|
814
|
-
return
|
|
819
|
+
return true;
|
|
815
820
|
}
|
|
816
821
|
},
|
|
817
822
|
{
|
|
818
823
|
key: "update",
|
|
819
824
|
value: function update(t) {
|
|
820
825
|
var _this = this;
|
|
821
|
-
this._$
|
|
822
|
-
return _this._$
|
|
823
|
-
})), this._$
|
|
826
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
|
|
827
|
+
return _this._$ET(t, _this[t]);
|
|
828
|
+
})), this._$EM();
|
|
824
829
|
}
|
|
825
830
|
},
|
|
826
831
|
{
|
|
@@ -848,35 +853,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
848
853
|
{
|
|
849
854
|
key: "createProperty",
|
|
850
855
|
value: function createProperty(t) {
|
|
851
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
852
|
-
if (s.state && (s.attribute =
|
|
853
|
-
var i = Symbol(),
|
|
854
|
-
void 0 !==
|
|
856
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
|
|
857
|
+
if (s.state && (s.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = true), this.elementProperties.set(t, s), !s.noAccessor) {
|
|
858
|
+
var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
|
|
859
|
+
void 0 !== h && e$1(this.prototype, t, h);
|
|
855
860
|
}
|
|
856
861
|
}
|
|
857
862
|
},
|
|
858
863
|
{
|
|
859
864
|
key: "getPropertyDescriptor",
|
|
860
865
|
value: function getPropertyDescriptor(t, s, i) {
|
|
861
|
-
var
|
|
862
|
-
var _ref = (
|
|
866
|
+
var _h;
|
|
867
|
+
var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
|
|
863
868
|
get: function get() {
|
|
864
869
|
return this[s];
|
|
865
870
|
},
|
|
866
871
|
set: function set(t) {
|
|
867
872
|
this[s] = t;
|
|
868
873
|
}
|
|
869
|
-
}, e = _ref.get,
|
|
874
|
+
}, e = _ref.get, r = _ref.set;
|
|
870
875
|
return {
|
|
871
|
-
get:
|
|
872
|
-
return e === null || e === void 0 ? void 0 : e.call(this);
|
|
873
|
-
},
|
|
876
|
+
get: e,
|
|
874
877
|
set: function set(s) {
|
|
875
|
-
var
|
|
876
|
-
|
|
878
|
+
var h = e === null || e === void 0 ? void 0 : e.call(this);
|
|
879
|
+
r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
|
|
877
880
|
},
|
|
878
|
-
configurable:
|
|
879
|
-
enumerable:
|
|
881
|
+
configurable: true,
|
|
882
|
+
enumerable: true
|
|
880
883
|
};
|
|
881
884
|
}
|
|
882
885
|
},
|
|
@@ -884,7 +887,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
884
887
|
key: "getPropertyOptions",
|
|
885
888
|
value: function getPropertyOptions(t) {
|
|
886
889
|
var _this_elementProperties_get;
|
|
887
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
|
890
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
|
|
888
891
|
}
|
|
889
892
|
},
|
|
890
893
|
{
|
|
@@ -899,8 +902,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
899
902
|
key: "finalize",
|
|
900
903
|
value: function finalize() {
|
|
901
904
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
|
902
|
-
if (this.finalized =
|
|
903
|
-
var t = this.properties, s = _to_consumable_array$1(
|
|
905
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
|
906
|
+
var t = this.properties, s = _to_consumable_array$1(r$3(t)).concat(_to_consumable_array$1(o$3(t)));
|
|
904
907
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
905
908
|
try {
|
|
906
909
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -1005,18 +1008,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1005
1008
|
key: "_$Eu",
|
|
1006
1009
|
value: function _$Eu(t, s) {
|
|
1007
1010
|
var i = s.attribute;
|
|
1008
|
-
return
|
|
1011
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
1009
1012
|
}
|
|
1010
1013
|
}
|
|
1011
1014
|
]);
|
|
1012
|
-
return
|
|
1015
|
+
return y;
|
|
1013
1016
|
}(_wrap_native_super(HTMLElement));
|
|
1014
1017
|
var _reactiveElementVersions;
|
|
1015
|
-
|
|
1018
|
+
y$1.elementStyles = [], y$1.shadowRootOptions = {
|
|
1016
1019
|
mode: "open"
|
|
1017
|
-
},
|
|
1018
|
-
ReactiveElement:
|
|
1019
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0
|
|
1020
|
+
}, y$1[d$1("elementProperties")] = new Map, y$1[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
|
|
1021
|
+
ReactiveElement: y$1
|
|
1022
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.0");
|
|
1020
1023
|
|
|
1021
1024
|
/**
|
|
1022
1025
|
* @license
|
|
@@ -1111,7 +1114,7 @@ function _non_iterable_spread() {
|
|
|
1111
1114
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1112
1115
|
}
|
|
1113
1116
|
function _possible_constructor_return$1(self, call) {
|
|
1114
|
-
if (call && (_type_of$
|
|
1117
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
1115
1118
|
return call;
|
|
1116
1119
|
}
|
|
1117
1120
|
return _assert_this_initialized$1(self);
|
|
@@ -1129,7 +1132,7 @@ function _sliced_to_array(arr, i) {
|
|
|
1129
1132
|
function _to_consumable_array(arr) {
|
|
1130
1133
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
1131
1134
|
}
|
|
1132
|
-
function _type_of$
|
|
1135
|
+
function _type_of$3(obj) {
|
|
1133
1136
|
"@swc/helpers - typeof";
|
|
1134
1137
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1135
1138
|
}
|
|
@@ -1166,17 +1169,17 @@ function _create_super$1(Derived) {
|
|
|
1166
1169
|
};
|
|
1167
1170
|
}
|
|
1168
1171
|
var _t;
|
|
1169
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
|
1172
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
|
|
1170
1173
|
createHTML: function(t) {
|
|
1171
1174
|
return t;
|
|
1172
1175
|
}
|
|
1173
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
|
1174
|
-
return r$
|
|
1176
|
+
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$2 = "?" + h, n$1 = "<".concat(o$2, ">"), r$2 = document, l = function() {
|
|
1177
|
+
return r$2.createComment("");
|
|
1175
1178
|
}, c = function(t) {
|
|
1176
|
-
return null === t || "object" != typeof t && "function" != typeof t;
|
|
1179
|
+
return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$3(t)) && "function" != typeof t;
|
|
1177
1180
|
}, a = Array.isArray, u = function(t) {
|
|
1178
1181
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
|
1179
|
-
}, d = "[
|
|
1182
|
+
}, d = "[ \t\n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(">|".concat(d, "(?:([^\\s\"'>=/]+)(").concat(d, "*=").concat(d, "*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"), "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = function(t) {
|
|
1180
1183
|
return function(i) {
|
|
1181
1184
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
1182
1185
|
s[_key - 1] = arguments[_key];
|
|
@@ -1187,10 +1190,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
|
|
|
1187
1190
|
values: s
|
|
1188
1191
|
};
|
|
1189
1192
|
};
|
|
1190
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
|
1193
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
|
|
1191
1194
|
function P(t, i) {
|
|
1192
1195
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1193
|
-
return void 0 !== s ? s.createHTML(i) : i;
|
|
1196
|
+
return void 0 !== s$1 ? s$1.createHTML(i) : i;
|
|
1194
1197
|
}
|
|
1195
1198
|
var V = function(t, i) {
|
|
1196
1199
|
var s = t.length - 1, o = [];
|
|
@@ -1265,7 +1268,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1265
1268
|
r.append(t3[s2], l());
|
|
1266
1269
|
}
|
|
1267
1270
|
}
|
|
1268
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
|
1271
|
+
} else if (8 === r.nodeType) if (r.data === o$2) d.push({
|
|
1269
1272
|
type: 2,
|
|
1270
1273
|
index: c
|
|
1271
1274
|
});
|
|
@@ -1283,7 +1286,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1283
1286
|
{
|
|
1284
1287
|
key: "createElement",
|
|
1285
1288
|
value: function createElement(t, i) {
|
|
1286
|
-
var s = r$
|
|
1289
|
+
var s = r$2.createElement("template");
|
|
1287
1290
|
return s.innerHTML = t, s;
|
|
1288
1291
|
}
|
|
1289
1292
|
}
|
|
@@ -1298,7 +1301,7 @@ function S(t, i) {
|
|
|
1298
1301
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
|
1299
1302
|
var o = c(i) ? void 0 : i._$litDirective$;
|
|
1300
1303
|
var __$Co;
|
|
1301
|
-
return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h,
|
|
1304
|
+
return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, false), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
|
|
1302
1305
|
}
|
|
1303
1306
|
var M = /*#__PURE__*/ function() {
|
|
1304
1307
|
function M(t, i) {
|
|
@@ -1322,7 +1325,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1322
1325
|
key: "u",
|
|
1323
1326
|
value: function u(t) {
|
|
1324
1327
|
var _t_creationScope;
|
|
1325
|
-
var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$
|
|
1328
|
+
var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$2).importNode(i, true);
|
|
1326
1329
|
C.currentNode = e;
|
|
1327
1330
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
|
1328
1331
|
for(; void 0 !== l;){
|
|
@@ -1332,7 +1335,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1332
1335
|
}
|
|
1333
1336
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
|
1334
1337
|
}
|
|
1335
|
-
return C.currentNode = r$
|
|
1338
|
+
return C.currentNode = r$2, e;
|
|
1336
1339
|
}
|
|
1337
1340
|
},
|
|
1338
1341
|
{
|
|
@@ -1368,7 +1371,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1368
1371
|
function R(t, i, s, e) {
|
|
1369
1372
|
_class_call_check$1(this, R);
|
|
1370
1373
|
var _e_isConnected;
|
|
1371
|
-
this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected :
|
|
1374
|
+
this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : true;
|
|
1372
1375
|
}
|
|
1373
1376
|
_create_class$1(R, [
|
|
1374
1377
|
{
|
|
@@ -1421,7 +1424,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1421
1424
|
{
|
|
1422
1425
|
key: "_",
|
|
1423
1426
|
value: function _(t) {
|
|
1424
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
|
1427
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
|
|
1425
1428
|
}
|
|
1426
1429
|
},
|
|
1427
1430
|
{
|
|
@@ -1477,7 +1480,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1477
1480
|
value: function _$AR() {
|
|
1478
1481
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1479
1482
|
var _this__$AP, _this;
|
|
1480
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
|
1483
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t && t !== this._$AB;){
|
|
1481
1484
|
var i1 = t.nextSibling;
|
|
1482
1485
|
t.remove(), t = i1;
|
|
1483
1486
|
}
|
|
@@ -1516,7 +1519,7 @@ var k = /*#__PURE__*/ function() {
|
|
|
1516
1519
|
value: function _$AI(t) {
|
|
1517
1520
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this, s = arguments.length > 2 ? arguments[2] : void 0, e = arguments.length > 3 ? arguments[3] : void 0;
|
|
1518
1521
|
var h = this.strings;
|
|
1519
|
-
var o =
|
|
1522
|
+
var o = false;
|
|
1520
1523
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
|
1521
1524
|
else {
|
|
1522
1525
|
var e1 = t;
|
|
@@ -1631,7 +1634,7 @@ var z = /*#__PURE__*/ function() {
|
|
|
1631
1634
|
}();
|
|
1632
1635
|
var j = t$1.litHtmlPolyfillSupport;
|
|
1633
1636
|
var _litHtmlVersions;
|
|
1634
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
|
1637
|
+
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.3.0");
|
|
1635
1638
|
var B = function(t, i, s) {
|
|
1636
1639
|
var _s_renderBefore;
|
|
1637
1640
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
|
@@ -1666,7 +1669,6 @@ function _defineProperties(target, props) {
|
|
|
1666
1669
|
}
|
|
1667
1670
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
1668
1671
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1669
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1670
1672
|
return Constructor;
|
|
1671
1673
|
}
|
|
1672
1674
|
function _get(target, property, receiver) {
|
|
@@ -1705,7 +1707,7 @@ function _inherits(subClass, superClass) {
|
|
|
1705
1707
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1706
1708
|
}
|
|
1707
1709
|
function _possible_constructor_return(self, call) {
|
|
1708
|
-
if (call && (_type_of$
|
|
1710
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
|
1709
1711
|
return call;
|
|
1710
1712
|
}
|
|
1711
1713
|
return _assert_this_initialized(self);
|
|
@@ -1724,7 +1726,7 @@ function _super_prop_base(object, property) {
|
|
|
1724
1726
|
}
|
|
1725
1727
|
return object;
|
|
1726
1728
|
}
|
|
1727
|
-
function _type_of$
|
|
1729
|
+
function _type_of$2(obj) {
|
|
1728
1730
|
"@swc/helpers - typeof";
|
|
1729
1731
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1730
1732
|
}
|
|
@@ -1752,17 +1754,18 @@ function _create_super(Derived) {
|
|
|
1752
1754
|
return _possible_constructor_return(this, result);
|
|
1753
1755
|
};
|
|
1754
1756
|
}
|
|
1755
|
-
var
|
|
1756
|
-
var
|
|
1757
|
+
var _s_litElementHydrateSupport;
|
|
1758
|
+
var _s;
|
|
1757
1759
|
/**
|
|
1758
1760
|
* @license
|
|
1759
1761
|
* Copyright 2017 Google LLC
|
|
1760
1762
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1761
|
-
*/ var
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1763
|
+
*/ var s = globalThis;
|
|
1764
|
+
var i = /*#__PURE__*/ function(t) {
|
|
1765
|
+
_inherits(i, t);
|
|
1766
|
+
var _super = _create_super(i);
|
|
1767
|
+
function i() {
|
|
1768
|
+
_class_call_check(this, i);
|
|
1766
1769
|
var _this;
|
|
1767
1770
|
_this = _super.call.apply(_super, [
|
|
1768
1771
|
this
|
|
@@ -1771,12 +1774,12 @@ var _globalThis1;
|
|
|
1771
1774
|
}, _this._$Do = void 0;
|
|
1772
1775
|
return _possible_constructor_return(_this);
|
|
1773
1776
|
}
|
|
1774
|
-
_create_class(
|
|
1777
|
+
_create_class(i, [
|
|
1775
1778
|
{
|
|
1776
1779
|
key: "createRenderRoot",
|
|
1777
1780
|
value: function createRenderRoot() {
|
|
1778
1781
|
var _this_renderOptions;
|
|
1779
|
-
var _$t = _get(_get_prototype_of(
|
|
1782
|
+
var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
|
|
1780
1783
|
var _renderBefore;
|
|
1781
1784
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
1782
1785
|
}
|
|
@@ -1784,22 +1787,22 @@ var _globalThis1;
|
|
|
1784
1787
|
{
|
|
1785
1788
|
key: "update",
|
|
1786
1789
|
value: function update(t) {
|
|
1787
|
-
var
|
|
1788
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
|
1790
|
+
var r = this.render();
|
|
1791
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(i.prototype), "update", this).call(this, t), this._$Do = B(r, this.renderRoot, this.renderOptions);
|
|
1789
1792
|
}
|
|
1790
1793
|
},
|
|
1791
1794
|
{
|
|
1792
1795
|
key: "connectedCallback",
|
|
1793
1796
|
value: function connectedCallback() {
|
|
1794
1797
|
var _this__$Do;
|
|
1795
|
-
_get(_get_prototype_of(
|
|
1798
|
+
_get(_get_prototype_of(i.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(true);
|
|
1796
1799
|
}
|
|
1797
1800
|
},
|
|
1798
1801
|
{
|
|
1799
1802
|
key: "disconnectedCallback",
|
|
1800
1803
|
value: function disconnectedCallback() {
|
|
1801
1804
|
var _this__$Do;
|
|
1802
|
-
_get(_get_prototype_of(
|
|
1805
|
+
_get(_get_prototype_of(i.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(false);
|
|
1803
1806
|
}
|
|
1804
1807
|
},
|
|
1805
1808
|
{
|
|
@@ -1809,17 +1812,17 @@ var _globalThis1;
|
|
|
1809
1812
|
}
|
|
1810
1813
|
}
|
|
1811
1814
|
]);
|
|
1812
|
-
return
|
|
1813
|
-
}(
|
|
1814
|
-
|
|
1815
|
-
LitElement:
|
|
1815
|
+
return i;
|
|
1816
|
+
}(y$1);
|
|
1817
|
+
i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
|
|
1818
|
+
LitElement: i
|
|
1816
1819
|
});
|
|
1817
|
-
var
|
|
1818
|
-
|
|
1819
|
-
LitElement:
|
|
1820
|
+
var o$1 = s.litElementPolyfillSupport;
|
|
1821
|
+
o$1 === null || o$1 === void 0 ? void 0 : o$1({
|
|
1822
|
+
LitElement: i
|
|
1820
1823
|
});
|
|
1821
1824
|
var _litElementVersions;
|
|
1822
|
-
((_litElementVersions = (
|
|
1825
|
+
((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.0");
|
|
1823
1826
|
|
|
1824
1827
|
/**
|
|
1825
1828
|
* @license
|
|
@@ -1833,73 +1836,25 @@ var _litElementVersions;
|
|
|
1833
1836
|
};
|
|
1834
1837
|
};
|
|
1835
1838
|
|
|
1836
|
-
function
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
value: value,
|
|
1840
|
-
enumerable: true,
|
|
1841
|
-
configurable: true,
|
|
1842
|
-
writable: true
|
|
1843
|
-
});
|
|
1844
|
-
} else {
|
|
1845
|
-
obj[key] = value;
|
|
1846
|
-
}
|
|
1847
|
-
return obj;
|
|
1848
|
-
}
|
|
1849
|
-
function _object_spread$1(target) {
|
|
1850
|
-
for(var i = 1; i < arguments.length; i++){
|
|
1851
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
1852
|
-
var ownKeys = Object.keys(source);
|
|
1853
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1854
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1855
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1856
|
-
}));
|
|
1857
|
-
}
|
|
1858
|
-
ownKeys.forEach(function(key) {
|
|
1859
|
-
_define_property$1(target, key, source[key]);
|
|
1860
|
-
});
|
|
1861
|
-
}
|
|
1862
|
-
return target;
|
|
1863
|
-
}
|
|
1864
|
-
function ownKeys$1(object, enumerableOnly) {
|
|
1865
|
-
var keys = Object.keys(object);
|
|
1866
|
-
if (Object.getOwnPropertySymbols) {
|
|
1867
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
1868
|
-
if (enumerableOnly) {
|
|
1869
|
-
symbols = symbols.filter(function(sym) {
|
|
1870
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1871
|
-
});
|
|
1872
|
-
}
|
|
1873
|
-
keys.push.apply(keys, symbols);
|
|
1874
|
-
}
|
|
1875
|
-
return keys;
|
|
1876
|
-
}
|
|
1877
|
-
function _object_spread_props$1(target, source) {
|
|
1878
|
-
source = source != null ? source : {};
|
|
1879
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
1880
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1881
|
-
} else {
|
|
1882
|
-
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1883
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1884
|
-
});
|
|
1885
|
-
}
|
|
1886
|
-
return target;
|
|
1839
|
+
function _type_of$1(obj) {
|
|
1840
|
+
"@swc/helpers - typeof";
|
|
1841
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1887
1842
|
}
|
|
1888
1843
|
/**
|
|
1889
1844
|
* @license
|
|
1890
1845
|
* Copyright 2017 Google LLC
|
|
1891
1846
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1892
1847
|
*/ var o = {
|
|
1893
|
-
attribute:
|
|
1848
|
+
attribute: true,
|
|
1894
1849
|
type: String,
|
|
1895
1850
|
converter: u$1,
|
|
1896
|
-
reflect:
|
|
1851
|
+
reflect: false,
|
|
1897
1852
|
hasChanged: f$1
|
|
1898
1853
|
}, r$1 = function() {
|
|
1899
1854
|
var _$t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : o, _$e = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0;
|
|
1900
1855
|
var n = r.kind, i = r.metadata;
|
|
1901
1856
|
var s = globalThis.litPropertyMetadata.get(i);
|
|
1902
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
|
1857
|
+
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), "setter" === n && ((_$t = Object.create(_$t)).wrapped = true), s.set(r.name, _$t), "accessor" === n) {
|
|
1903
1858
|
var o1 = r.name;
|
|
1904
1859
|
return {
|
|
1905
1860
|
set: function set(r) {
|
|
@@ -1907,7 +1862,7 @@ function _object_spread_props$1(target, source) {
|
|
|
1907
1862
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
|
1908
1863
|
},
|
|
1909
1864
|
init: function init(e) {
|
|
1910
|
-
return void 0 !== e && this.
|
|
1865
|
+
return void 0 !== e && this.C(o1, void 0, _$t, e), e;
|
|
1911
1866
|
}
|
|
1912
1867
|
};
|
|
1913
1868
|
}
|
|
@@ -1922,11 +1877,9 @@ function _object_spread_props$1(target, source) {
|
|
|
1922
1877
|
};
|
|
1923
1878
|
function n(t) {
|
|
1924
1879
|
return function(e, o) {
|
|
1925
|
-
return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
|
|
1880
|
+
return "object" == (typeof o === "undefined" ? "undefined" : _type_of$1(o)) ? r$1(t, e, o) : function(t, e, o) {
|
|
1926
1881
|
var r = e.hasOwnProperty(o);
|
|
1927
|
-
return e.constructor.createProperty(o, r ?
|
|
1928
|
-
wrapped: !0
|
|
1929
|
-
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1882
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1930
1883
|
}(t, e, o);
|
|
1931
1884
|
};
|
|
1932
1885
|
}
|
|
@@ -1963,11 +1916,6 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1963
1916
|
var keys = Object.keys(object);
|
|
1964
1917
|
if (Object.getOwnPropertySymbols) {
|
|
1965
1918
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1966
|
-
if (enumerableOnly) {
|
|
1967
|
-
symbols = symbols.filter(function(sym) {
|
|
1968
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1969
|
-
});
|
|
1970
|
-
}
|
|
1971
1919
|
keys.push.apply(keys, symbols);
|
|
1972
1920
|
}
|
|
1973
1921
|
return keys;
|
|
@@ -1989,8 +1937,8 @@ function _object_spread_props(target, source) {
|
|
|
1989
1937
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1990
1938
|
*/ function r(r) {
|
|
1991
1939
|
return n(_object_spread_props(_object_spread({}, r), {
|
|
1992
|
-
state:
|
|
1993
|
-
attribute:
|
|
1940
|
+
state: true,
|
|
1941
|
+
attribute: false
|
|
1994
1942
|
}));
|
|
1995
1943
|
}
|
|
1996
1944
|
|
|
@@ -2006,7 +1954,7 @@ function _type_of(obj) {
|
|
|
2006
1954
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2007
1955
|
}
|
|
2008
1956
|
function getDefaultExportFromCjs(x) {
|
|
2009
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x,
|
|
1957
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
2010
1958
|
}
|
|
2011
1959
|
var tesseract_min$1 = {
|
|
2012
1960
|
exports: {}
|
|
@@ -2044,9 +1992,9 @@ var tesseract_min$1 = {
|
|
|
2044
1992
|
function l(t, r, e) {
|
|
2045
1993
|
return Object.defineProperty(t, r, {
|
|
2046
1994
|
value: e,
|
|
2047
|
-
enumerable:
|
|
2048
|
-
configurable:
|
|
2049
|
-
writable:
|
|
1995
|
+
enumerable: true,
|
|
1996
|
+
configurable: true,
|
|
1997
|
+
writable: true
|
|
2050
1998
|
}), t[r];
|
|
2051
1999
|
}
|
|
2052
2000
|
try {
|
|
@@ -2185,7 +2133,7 @@ var tesseract_min$1 = {
|
|
|
2185
2133
|
{
|
|
2186
2134
|
tryLoc: "root"
|
|
2187
2135
|
}
|
|
2188
|
-
], t.forEach(_, this), this.reset(
|
|
2136
|
+
], t.forEach(_, this), this.reset(true);
|
|
2189
2137
|
}
|
|
2190
2138
|
function A(t) {
|
|
2191
2139
|
if (t) {
|
|
@@ -2194,8 +2142,8 @@ var tesseract_min$1 = {
|
|
|
2194
2142
|
if ("function" == typeof t.next) return t;
|
|
2195
2143
|
if (!isNaN(t.length)) {
|
|
2196
2144
|
var _$n = -1, i = function e() {
|
|
2197
|
-
for(; ++_$n < t.length;)if (o.call(t, _$n)) return e.value = t[_$n], e.done =
|
|
2198
|
-
return e.value = r, e.done =
|
|
2145
|
+
for(; ++_$n < t.length;)if (o.call(t, _$n)) return e.value = t[_$n], e.done = false, e;
|
|
2146
|
+
return e.value = r, e.done = true, e;
|
|
2199
2147
|
};
|
|
2200
2148
|
return i.next = i;
|
|
2201
2149
|
}
|
|
@@ -2207,15 +2155,15 @@ var tesseract_min$1 = {
|
|
|
2207
2155
|
function G() {
|
|
2208
2156
|
return {
|
|
2209
2157
|
value: r,
|
|
2210
|
-
done:
|
|
2158
|
+
done: true
|
|
2211
2159
|
};
|
|
2212
2160
|
}
|
|
2213
2161
|
return b.prototype = w, i(E, "constructor", {
|
|
2214
2162
|
value: w,
|
|
2215
|
-
configurable:
|
|
2163
|
+
configurable: true
|
|
2216
2164
|
}), i(w, "constructor", {
|
|
2217
2165
|
value: b,
|
|
2218
|
-
configurable:
|
|
2166
|
+
configurable: true
|
|
2219
2167
|
}), b.displayName = l(w, f, "GeneratorFunction"), t.isGeneratorFunction = function(t) {
|
|
2220
2168
|
var r = "function" == typeof t && t.constructor;
|
|
2221
2169
|
return !!r && (r === b || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -2243,17 +2191,17 @@ var tesseract_min$1 = {
|
|
|
2243
2191
|
return _$e.reverse(), function t() {
|
|
2244
2192
|
for(; _$e.length;){
|
|
2245
2193
|
var _$n = _$e.pop();
|
|
2246
|
-
if (_$n in r) return t.value = _$n, t.done =
|
|
2194
|
+
if (_$n in r) return t.value = _$n, t.done = false, t;
|
|
2247
2195
|
}
|
|
2248
|
-
return t.done =
|
|
2196
|
+
return t.done = true, t;
|
|
2249
2197
|
};
|
|
2250
2198
|
}, t.values = A, N.prototype = {
|
|
2251
2199
|
constructor: N,
|
|
2252
2200
|
reset: function reset(t) {
|
|
2253
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = r, this.done =
|
|
2201
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = r, this.done = false, this.delegate = null, this.method = "next", this.arg = r, this.tryEntries.forEach(T), !t) for(var _$e in this)"t" === _$e.charAt(0) && o.call(this, _$e) && !isNaN(+_$e.slice(1)) && (this[_$e] = r);
|
|
2254
2202
|
},
|
|
2255
2203
|
stop: function stop() {
|
|
2256
|
-
this.done =
|
|
2204
|
+
this.done = true;
|
|
2257
2205
|
var _$t = this.tryEntries[0].completion;
|
|
2258
2206
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
2259
2207
|
return this.rval;
|
|
@@ -2270,10 +2218,10 @@ var tesseract_min$1 = {
|
|
|
2270
2218
|
if (a.tryLoc <= this.prev) {
|
|
2271
2219
|
var u = o.call(a, "catchLoc"), f = o.call(a, "finallyLoc");
|
|
2272
2220
|
if (u && f) {
|
|
2273
|
-
if (this.prev < a.catchLoc) return n(a.catchLoc,
|
|
2221
|
+
if (this.prev < a.catchLoc) return n(a.catchLoc, true);
|
|
2274
2222
|
if (this.prev < a.finallyLoc) return n(a.finallyLoc);
|
|
2275
2223
|
} else if (u) {
|
|
2276
|
-
if (this.prev < a.catchLoc) return n(a.catchLoc,
|
|
2224
|
+
if (this.prev < a.catchLoc) return n(a.catchLoc, true);
|
|
2277
2225
|
} else {
|
|
2278
2226
|
if (!f) throw new Error("try statement without catch or finally");
|
|
2279
2227
|
if (this.prev < a.finallyLoc) return n(a.finallyLoc);
|
|
@@ -2373,9 +2321,9 @@ var tesseract_min$1 = {
|
|
|
2373
2321
|
function l(t, r, e) {
|
|
2374
2322
|
return Object.defineProperty(t, r, {
|
|
2375
2323
|
value: e,
|
|
2376
|
-
enumerable:
|
|
2377
|
-
configurable:
|
|
2378
|
-
writable:
|
|
2324
|
+
enumerable: true,
|
|
2325
|
+
configurable: true,
|
|
2326
|
+
writable: true
|
|
2379
2327
|
}), t[r];
|
|
2380
2328
|
}
|
|
2381
2329
|
try {
|
|
@@ -2464,7 +2412,7 @@ var tesseract_min$1 = {
|
|
|
2464
2412
|
if ("throw" === o) throw i;
|
|
2465
2413
|
return {
|
|
2466
2414
|
value: void 0,
|
|
2467
|
-
done:
|
|
2415
|
+
done: true
|
|
2468
2416
|
};
|
|
2469
2417
|
}
|
|
2470
2418
|
for(e.method = o, e.arg = i;;){
|
|
@@ -2517,7 +2465,7 @@ var tesseract_min$1 = {
|
|
|
2517
2465
|
{
|
|
2518
2466
|
tryLoc: "root"
|
|
2519
2467
|
}
|
|
2520
|
-
], t.forEach(S, this), this.reset(
|
|
2468
|
+
], t.forEach(S, this), this.reset(true);
|
|
2521
2469
|
}
|
|
2522
2470
|
function k(t) {
|
|
2523
2471
|
if (t) {
|
|
@@ -2526,8 +2474,8 @@ var tesseract_min$1 = {
|
|
|
2526
2474
|
if ("function" == typeof t.next) return t;
|
|
2527
2475
|
if (!isNaN(t.length)) {
|
|
2528
2476
|
var n = -1, _$o = function r() {
|
|
2529
|
-
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done =
|
|
2530
|
-
return r.value = void 0, r.done =
|
|
2477
|
+
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done = false, r;
|
|
2478
|
+
return r.value = void 0, r.done = true, r;
|
|
2531
2479
|
};
|
|
2532
2480
|
return _$o.next = _$o;
|
|
2533
2481
|
}
|
|
@@ -2539,15 +2487,15 @@ var tesseract_min$1 = {
|
|
|
2539
2487
|
function _() {
|
|
2540
2488
|
return {
|
|
2541
2489
|
value: void 0,
|
|
2542
|
-
done:
|
|
2490
|
+
done: true
|
|
2543
2491
|
};
|
|
2544
2492
|
}
|
|
2545
2493
|
return v.prototype = d, i(w, "constructor", {
|
|
2546
2494
|
value: d,
|
|
2547
|
-
configurable:
|
|
2495
|
+
configurable: true
|
|
2548
2496
|
}), i(d, "constructor", {
|
|
2549
2497
|
value: v,
|
|
2550
|
-
configurable:
|
|
2498
|
+
configurable: true
|
|
2551
2499
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
2552
2500
|
var r = "function" == typeof t && t.constructor;
|
|
2553
2501
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -2575,17 +2523,17 @@ var tesseract_min$1 = {
|
|
|
2575
2523
|
return _$e.reverse(), function t() {
|
|
2576
2524
|
for(; _$e.length;){
|
|
2577
2525
|
var n = _$e.pop();
|
|
2578
|
-
if (n in r) return t.value = n, t.done =
|
|
2526
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
2579
2527
|
}
|
|
2580
|
-
return t.done =
|
|
2528
|
+
return t.done = true, t;
|
|
2581
2529
|
};
|
|
2582
2530
|
}, _$t.values = k, P.prototype = {
|
|
2583
2531
|
constructor: P,
|
|
2584
2532
|
reset: function reset(t) {
|
|
2585
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
2533
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(j), !t) for(var r in this)"t" === r.charAt(0) && _$e.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = void 0);
|
|
2586
2534
|
},
|
|
2587
2535
|
stop: function stop() {
|
|
2588
|
-
this.done =
|
|
2536
|
+
this.done = true;
|
|
2589
2537
|
var _$t = this.tryEntries[0].completion;
|
|
2590
2538
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
2591
2539
|
return this.rval;
|
|
@@ -2602,10 +2550,10 @@ var tesseract_min$1 = {
|
|
|
2602
2550
|
if (i.tryLoc <= this.prev) {
|
|
2603
2551
|
var c = _$e.call(i, "catchLoc"), u = _$e.call(i, "finallyLoc");
|
|
2604
2552
|
if (c && u) {
|
|
2605
|
-
if (this.prev < i.catchLoc) return n(i.catchLoc,
|
|
2553
|
+
if (this.prev < i.catchLoc) return n(i.catchLoc, true);
|
|
2606
2554
|
if (this.prev < i.finallyLoc) return n(i.finallyLoc);
|
|
2607
2555
|
} else if (c) {
|
|
2608
|
-
if (this.prev < i.catchLoc) return n(i.catchLoc,
|
|
2556
|
+
if (this.prev < i.catchLoc) return n(i.catchLoc, true);
|
|
2609
2557
|
} else {
|
|
2610
2558
|
if (!u) throw new Error("try statement without catch or finally");
|
|
2611
2559
|
if (this.prev < i.finallyLoc) return n(i.finallyLoc);
|
|
@@ -2748,7 +2696,7 @@ var tesseract_min$1 = {
|
|
|
2748
2696
|
},
|
|
2749
2697
|
341: function(t) {
|
|
2750
2698
|
t.exports = {
|
|
2751
|
-
workerBlobURL:
|
|
2699
|
+
workerBlobURL: true,
|
|
2752
2700
|
logger: function logger() {}
|
|
2753
2701
|
};
|
|
2754
2702
|
},
|
|
@@ -2888,9 +2836,9 @@ var tesseract_min$1 = {
|
|
|
2888
2836
|
function l(t, r, e) {
|
|
2889
2837
|
return Object.defineProperty(t, r, {
|
|
2890
2838
|
value: e,
|
|
2891
|
-
enumerable:
|
|
2892
|
-
configurable:
|
|
2893
|
-
writable:
|
|
2839
|
+
enumerable: true,
|
|
2840
|
+
configurable: true,
|
|
2841
|
+
writable: true
|
|
2894
2842
|
}), t[r];
|
|
2895
2843
|
}
|
|
2896
2844
|
try {
|
|
@@ -2979,7 +2927,7 @@ var tesseract_min$1 = {
|
|
|
2979
2927
|
if ("throw" === o) throw i;
|
|
2980
2928
|
return {
|
|
2981
2929
|
value: void 0,
|
|
2982
|
-
done:
|
|
2930
|
+
done: true
|
|
2983
2931
|
};
|
|
2984
2932
|
}
|
|
2985
2933
|
for(e.method = o, e.arg = i;;){
|
|
@@ -3032,7 +2980,7 @@ var tesseract_min$1 = {
|
|
|
3032
2980
|
{
|
|
3033
2981
|
tryLoc: "root"
|
|
3034
2982
|
}
|
|
3035
|
-
], t.forEach(S, this), this.reset(
|
|
2983
|
+
], t.forEach(S, this), this.reset(true);
|
|
3036
2984
|
}
|
|
3037
2985
|
function k(t) {
|
|
3038
2986
|
if (t) {
|
|
@@ -3041,8 +2989,8 @@ var tesseract_min$1 = {
|
|
|
3041
2989
|
if ("function" == typeof t.next) return t;
|
|
3042
2990
|
if (!isNaN(t.length)) {
|
|
3043
2991
|
var n = -1, o = function r() {
|
|
3044
|
-
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done =
|
|
3045
|
-
return r.value = void 0, r.done =
|
|
2992
|
+
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done = false, r;
|
|
2993
|
+
return r.value = void 0, r.done = true, r;
|
|
3046
2994
|
};
|
|
3047
2995
|
return o.next = o;
|
|
3048
2996
|
}
|
|
@@ -3054,15 +3002,15 @@ var tesseract_min$1 = {
|
|
|
3054
3002
|
function _() {
|
|
3055
3003
|
return {
|
|
3056
3004
|
value: void 0,
|
|
3057
|
-
done:
|
|
3005
|
+
done: true
|
|
3058
3006
|
};
|
|
3059
3007
|
}
|
|
3060
3008
|
return v.prototype = d, o(w, "constructor", {
|
|
3061
3009
|
value: d,
|
|
3062
|
-
configurable:
|
|
3010
|
+
configurable: true
|
|
3063
3011
|
}), o(d, "constructor", {
|
|
3064
3012
|
value: v,
|
|
3065
|
-
configurable:
|
|
3013
|
+
configurable: true
|
|
3066
3014
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
3067
3015
|
var r = "function" == typeof t && t.constructor;
|
|
3068
3016
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -3090,17 +3038,17 @@ var tesseract_min$1 = {
|
|
|
3090
3038
|
return _$e.reverse(), function t() {
|
|
3091
3039
|
for(; _$e.length;){
|
|
3092
3040
|
var n = _$e.pop();
|
|
3093
|
-
if (n in r) return t.value = n, t.done =
|
|
3041
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
3094
3042
|
}
|
|
3095
|
-
return t.done =
|
|
3043
|
+
return t.done = true, t;
|
|
3096
3044
|
};
|
|
3097
3045
|
}, _$t.values = k, P.prototype = {
|
|
3098
3046
|
constructor: P,
|
|
3099
3047
|
reset: function reset(t) {
|
|
3100
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
3048
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(j), !t) for(var r in this)"t" === r.charAt(0) && _$e.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = void 0);
|
|
3101
3049
|
},
|
|
3102
3050
|
stop: function stop() {
|
|
3103
|
-
this.done =
|
|
3051
|
+
this.done = true;
|
|
3104
3052
|
var _$t = this.tryEntries[0].completion;
|
|
3105
3053
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
3106
3054
|
return this.rval;
|
|
@@ -3117,10 +3065,10 @@ var tesseract_min$1 = {
|
|
|
3117
3065
|
if (_$i.tryLoc <= this.prev) {
|
|
3118
3066
|
var c = _$e.call(_$i, "catchLoc"), u = _$e.call(_$i, "finallyLoc");
|
|
3119
3067
|
if (c && u) {
|
|
3120
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3068
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3121
3069
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
3122
3070
|
} else if (c) {
|
|
3123
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3071
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3124
3072
|
} else {
|
|
3125
3073
|
if (!u) throw new Error("try statement without catch or finally");
|
|
3126
3074
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
@@ -3352,7 +3300,7 @@ var tesseract_min$1 = {
|
|
|
3352
3300
|
var u = function u(t) {
|
|
3353
3301
|
for(var r = 1; r < arguments.length; r++){
|
|
3354
3302
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
3355
|
-
r % 2 ? c(Object(_$e),
|
|
3303
|
+
r % 2 ? c(Object(_$e), true).forEach(function(r) {
|
|
3356
3304
|
f(t, r, _$e[r]);
|
|
3357
3305
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : c(Object(_$e)).forEach(function(r) {
|
|
3358
3306
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -3375,9 +3323,9 @@ var tesseract_min$1 = {
|
|
|
3375
3323
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
3376
3324
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
3377
3325
|
value: e,
|
|
3378
|
-
enumerable:
|
|
3379
|
-
configurable:
|
|
3380
|
-
writable:
|
|
3326
|
+
enumerable: true,
|
|
3327
|
+
configurable: true,
|
|
3328
|
+
writable: true
|
|
3381
3329
|
}) : t[r] = e, t;
|
|
3382
3330
|
};
|
|
3383
3331
|
var l = function l(t, r) {
|
|
@@ -3438,9 +3386,9 @@ var tesseract_min$1 = {
|
|
|
3438
3386
|
function l(t, r, e) {
|
|
3439
3387
|
return Object.defineProperty(t, r, {
|
|
3440
3388
|
value: e,
|
|
3441
|
-
enumerable:
|
|
3442
|
-
configurable:
|
|
3443
|
-
writable:
|
|
3389
|
+
enumerable: true,
|
|
3390
|
+
configurable: true,
|
|
3391
|
+
writable: true
|
|
3444
3392
|
}), t[r];
|
|
3445
3393
|
}
|
|
3446
3394
|
try {
|
|
@@ -3529,7 +3477,7 @@ var tesseract_min$1 = {
|
|
|
3529
3477
|
if ("throw" === o) throw i;
|
|
3530
3478
|
return {
|
|
3531
3479
|
value: void 0,
|
|
3532
|
-
done:
|
|
3480
|
+
done: true
|
|
3533
3481
|
};
|
|
3534
3482
|
}
|
|
3535
3483
|
for(e.method = o, e.arg = i;;){
|
|
@@ -3582,7 +3530,7 @@ var tesseract_min$1 = {
|
|
|
3582
3530
|
{
|
|
3583
3531
|
tryLoc: "root"
|
|
3584
3532
|
}
|
|
3585
|
-
], t.forEach(S, this), this.reset(
|
|
3533
|
+
], t.forEach(S, this), this.reset(true);
|
|
3586
3534
|
}
|
|
3587
3535
|
function k(t) {
|
|
3588
3536
|
if (t) {
|
|
@@ -3591,8 +3539,8 @@ var tesseract_min$1 = {
|
|
|
3591
3539
|
if ("function" == typeof t.next) return t;
|
|
3592
3540
|
if (!isNaN(t.length)) {
|
|
3593
3541
|
var n = -1, o = function r() {
|
|
3594
|
-
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done =
|
|
3595
|
-
return r.value = void 0, r.done =
|
|
3542
|
+
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done = false, r;
|
|
3543
|
+
return r.value = void 0, r.done = true, r;
|
|
3596
3544
|
};
|
|
3597
3545
|
return o.next = o;
|
|
3598
3546
|
}
|
|
@@ -3604,15 +3552,15 @@ var tesseract_min$1 = {
|
|
|
3604
3552
|
function _() {
|
|
3605
3553
|
return {
|
|
3606
3554
|
value: void 0,
|
|
3607
|
-
done:
|
|
3555
|
+
done: true
|
|
3608
3556
|
};
|
|
3609
3557
|
}
|
|
3610
3558
|
return v.prototype = d, o(w, "constructor", {
|
|
3611
3559
|
value: d,
|
|
3612
|
-
configurable:
|
|
3560
|
+
configurable: true
|
|
3613
3561
|
}), o(d, "constructor", {
|
|
3614
3562
|
value: v,
|
|
3615
|
-
configurable:
|
|
3563
|
+
configurable: true
|
|
3616
3564
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
3617
3565
|
var r = "function" == typeof t && t.constructor;
|
|
3618
3566
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -3640,17 +3588,17 @@ var tesseract_min$1 = {
|
|
|
3640
3588
|
return _$e.reverse(), function t() {
|
|
3641
3589
|
for(; _$e.length;){
|
|
3642
3590
|
var n = _$e.pop();
|
|
3643
|
-
if (n in r) return t.value = n, t.done =
|
|
3591
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
3644
3592
|
}
|
|
3645
|
-
return t.done =
|
|
3593
|
+
return t.done = true, t;
|
|
3646
3594
|
};
|
|
3647
3595
|
}, _$t.values = k, P.prototype = {
|
|
3648
3596
|
constructor: P,
|
|
3649
3597
|
reset: function reset(t) {
|
|
3650
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
3598
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(j), !t) for(var r in this)"t" === r.charAt(0) && _$e.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = void 0);
|
|
3651
3599
|
},
|
|
3652
3600
|
stop: function stop() {
|
|
3653
|
-
this.done =
|
|
3601
|
+
this.done = true;
|
|
3654
3602
|
var _$t = this.tryEntries[0].completion;
|
|
3655
3603
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
3656
3604
|
return this.rval;
|
|
@@ -3667,10 +3615,10 @@ var tesseract_min$1 = {
|
|
|
3667
3615
|
if (_$i.tryLoc <= this.prev) {
|
|
3668
3616
|
var c = _$e.call(_$i, "catchLoc"), u = _$e.call(_$i, "finallyLoc");
|
|
3669
3617
|
if (c && u) {
|
|
3670
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3618
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3671
3619
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
3672
3620
|
} else if (c) {
|
|
3673
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3621
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3674
3622
|
} else {
|
|
3675
3623
|
if (!u) throw new Error("try statement without catch or finally");
|
|
3676
3624
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
@@ -3888,10 +3836,10 @@ var tesseract_min$1 = {
|
|
|
3888
3836
|
for(;;)switch(t.prev = t.next){
|
|
3889
3837
|
case 0:
|
|
3890
3838
|
return _$e = a.length > 1 && void 0 !== a[1] ? a[1] : {}, n = a.length > 2 && void 0 !== a[2] ? a[2] : {
|
|
3891
|
-
blocks:
|
|
3892
|
-
text:
|
|
3893
|
-
hocr:
|
|
3894
|
-
tsv:
|
|
3839
|
+
blocks: true,
|
|
3840
|
+
text: true,
|
|
3841
|
+
hocr: true,
|
|
3842
|
+
tsv: true
|
|
3895
3843
|
}, o = a.length > 3 ? a[3] : void 0, t.t0 = B, t.t1 = v, t.t2 = o, t.next = 8, E(r);
|
|
3896
3844
|
case 8:
|
|
3897
3845
|
return t.t3 = t.sent, t.t4 = _$e, t.t5 = n, t.t6 = {
|
|
@@ -4041,9 +3989,9 @@ var tesseract_min$1 = {
|
|
|
4041
3989
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
4042
3990
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
4043
3991
|
value: e,
|
|
4044
|
-
enumerable:
|
|
4045
|
-
configurable:
|
|
4046
|
-
writable:
|
|
3992
|
+
enumerable: true,
|
|
3993
|
+
configurable: true,
|
|
3994
|
+
writable: true
|
|
4047
3995
|
}) : t[r] = e, t;
|
|
4048
3996
|
};
|
|
4049
3997
|
function n(t) {
|
|
@@ -4058,7 +4006,7 @@ var tesseract_min$1 = {
|
|
|
4058
4006
|
t.exports = function(t) {
|
|
4059
4007
|
for(var r = 1; r < arguments.length; r++){
|
|
4060
4008
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
4061
|
-
r % 2 ? o(Object(_$e),
|
|
4009
|
+
r % 2 ? o(Object(_$e), true).forEach(function(r) {
|
|
4062
4010
|
i(t, r, _$e[r]);
|
|
4063
4011
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : o(Object(_$e)).forEach(function(r) {
|
|
4064
4012
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -4088,7 +4036,7 @@ var tesseract_min$1 = {
|
|
|
4088
4036
|
var n = function n(t) {
|
|
4089
4037
|
for(var r = 1; r < arguments.length; r++){
|
|
4090
4038
|
var n = null != arguments[r] ? arguments[r] : {};
|
|
4091
|
-
r % 2 ? _$e(Object(n),
|
|
4039
|
+
r % 2 ? _$e(Object(n), true).forEach(function(r) {
|
|
4092
4040
|
o(t, r, n[r]);
|
|
4093
4041
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : _$e(Object(n)).forEach(function(r) {
|
|
4094
4042
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
@@ -4111,9 +4059,9 @@ var tesseract_min$1 = {
|
|
|
4111
4059
|
return "symbol" === r(_$e) ? _$e : String(_$e);
|
|
4112
4060
|
}(e)) in t ? Object.defineProperty(t, e, {
|
|
4113
4061
|
value: n,
|
|
4114
|
-
enumerable:
|
|
4115
|
-
configurable:
|
|
4116
|
-
writable:
|
|
4062
|
+
enumerable: true,
|
|
4063
|
+
configurable: true,
|
|
4064
|
+
writable: true
|
|
4117
4065
|
}) : t[e] = n, t;
|
|
4118
4066
|
};
|
|
4119
4067
|
function r(t) {
|
|
@@ -4184,7 +4132,7 @@ var tesseract_min$1 = {
|
|
|
4184
4132
|
};
|
|
4185
4133
|
},
|
|
4186
4134
|
185: function(t, r) {
|
|
4187
|
-
var _$e = this, n =
|
|
4135
|
+
var _$e = this, n = false;
|
|
4188
4136
|
r.logging = n, r.setLogging = function(t) {
|
|
4189
4137
|
n = t;
|
|
4190
4138
|
}, r.log = function() {
|
|
@@ -4218,9 +4166,9 @@ var tesseract_min$1 = {
|
|
|
4218
4166
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
4219
4167
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
4220
4168
|
value: e,
|
|
4221
|
-
enumerable:
|
|
4222
|
-
configurable:
|
|
4223
|
-
writable:
|
|
4169
|
+
enumerable: true,
|
|
4170
|
+
configurable: true,
|
|
4171
|
+
writable: true
|
|
4224
4172
|
}) : t[r] = e, t;
|
|
4225
4173
|
};
|
|
4226
4174
|
function n(t) {
|
|
@@ -4239,7 +4187,7 @@ var tesseract_min$1 = {
|
|
|
4239
4187
|
var r = function(t) {
|
|
4240
4188
|
for(var r = 1; r < arguments.length; r++){
|
|
4241
4189
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
4242
|
-
r % 2 ? o(Object(_$e),
|
|
4190
|
+
r % 2 ? o(Object(_$e), true).forEach(function(r) {
|
|
4243
4191
|
i(t, r, _$e[r]);
|
|
4244
4192
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : o(Object(_$e)).forEach(function(r) {
|
|
4245
4193
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -4270,7 +4218,7 @@ var tesseract_min$1 = {
|
|
|
4270
4218
|
var i = function i(t) {
|
|
4271
4219
|
for(var r = 1; r < arguments.length; r++){
|
|
4272
4220
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
4273
|
-
r % 2 ? o(Object(_$e),
|
|
4221
|
+
r % 2 ? o(Object(_$e), true).forEach(function(r) {
|
|
4274
4222
|
a(t, r, _$e[r]);
|
|
4275
4223
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : o(Object(_$e)).forEach(function(r) {
|
|
4276
4224
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -4293,9 +4241,9 @@ var tesseract_min$1 = {
|
|
|
4293
4241
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
4294
4242
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
4295
4243
|
value: e,
|
|
4296
|
-
enumerable:
|
|
4297
|
-
configurable:
|
|
4298
|
-
writable:
|
|
4244
|
+
enumerable: true,
|
|
4245
|
+
configurable: true,
|
|
4246
|
+
writable: true
|
|
4299
4247
|
}) : t[r] = e, t;
|
|
4300
4248
|
};
|
|
4301
4249
|
function n(t) {
|
|
@@ -4362,9 +4310,9 @@ var tesseract_min$1 = {
|
|
|
4362
4310
|
function l(t, r, e) {
|
|
4363
4311
|
return Object.defineProperty(t, r, {
|
|
4364
4312
|
value: e,
|
|
4365
|
-
enumerable:
|
|
4366
|
-
configurable:
|
|
4367
|
-
writable:
|
|
4313
|
+
enumerable: true,
|
|
4314
|
+
configurable: true,
|
|
4315
|
+
writable: true
|
|
4368
4316
|
}), t[r];
|
|
4369
4317
|
}
|
|
4370
4318
|
try {
|
|
@@ -4453,7 +4401,7 @@ var tesseract_min$1 = {
|
|
|
4453
4401
|
if ("throw" === o) throw i;
|
|
4454
4402
|
return {
|
|
4455
4403
|
value: void 0,
|
|
4456
|
-
done:
|
|
4404
|
+
done: true
|
|
4457
4405
|
};
|
|
4458
4406
|
}
|
|
4459
4407
|
for(e.method = o, e.arg = i;;){
|
|
@@ -4506,7 +4454,7 @@ var tesseract_min$1 = {
|
|
|
4506
4454
|
{
|
|
4507
4455
|
tryLoc: "root"
|
|
4508
4456
|
}
|
|
4509
|
-
], t.forEach(S, this), this.reset(
|
|
4457
|
+
], t.forEach(S, this), this.reset(true);
|
|
4510
4458
|
}
|
|
4511
4459
|
function k(t) {
|
|
4512
4460
|
if (t) {
|
|
@@ -4515,8 +4463,8 @@ var tesseract_min$1 = {
|
|
|
4515
4463
|
if ("function" == typeof t.next) return t;
|
|
4516
4464
|
if (!isNaN(t.length)) {
|
|
4517
4465
|
var _$e = -1, n = function r() {
|
|
4518
|
-
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done =
|
|
4519
|
-
return r.value = void 0, r.done =
|
|
4466
|
+
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done = false, r;
|
|
4467
|
+
return r.value = void 0, r.done = true, r;
|
|
4520
4468
|
};
|
|
4521
4469
|
return n.next = n;
|
|
4522
4470
|
}
|
|
@@ -4528,15 +4476,15 @@ var tesseract_min$1 = {
|
|
|
4528
4476
|
function _() {
|
|
4529
4477
|
return {
|
|
4530
4478
|
value: void 0,
|
|
4531
|
-
done:
|
|
4479
|
+
done: true
|
|
4532
4480
|
};
|
|
4533
4481
|
}
|
|
4534
4482
|
return v.prototype = d, i(w, "constructor", {
|
|
4535
4483
|
value: d,
|
|
4536
|
-
configurable:
|
|
4484
|
+
configurable: true
|
|
4537
4485
|
}), i(d, "constructor", {
|
|
4538
4486
|
value: v,
|
|
4539
|
-
configurable:
|
|
4487
|
+
configurable: true
|
|
4540
4488
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
4541
4489
|
var r = "function" == typeof t && t.constructor;
|
|
4542
4490
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -4564,17 +4512,17 @@ var tesseract_min$1 = {
|
|
|
4564
4512
|
return _$e.reverse(), function t() {
|
|
4565
4513
|
for(; _$e.length;){
|
|
4566
4514
|
var n = _$e.pop();
|
|
4567
|
-
if (n in r) return t.value = n, t.done =
|
|
4515
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
4568
4516
|
}
|
|
4569
|
-
return t.done =
|
|
4517
|
+
return t.done = true, t;
|
|
4570
4518
|
};
|
|
4571
4519
|
}, _$t.values = k, P.prototype = {
|
|
4572
4520
|
constructor: P,
|
|
4573
4521
|
reset: function reset(t) {
|
|
4574
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
4522
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(j), !t) for(var r in this)"t" === r.charAt(0) && o.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = void 0);
|
|
4575
4523
|
},
|
|
4576
4524
|
stop: function stop() {
|
|
4577
|
-
this.done =
|
|
4525
|
+
this.done = true;
|
|
4578
4526
|
var _$t = this.tryEntries[0].completion;
|
|
4579
4527
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
4580
4528
|
return this.rval;
|
|
@@ -4591,10 +4539,10 @@ var tesseract_min$1 = {
|
|
|
4591
4539
|
if (i.tryLoc <= this.prev) {
|
|
4592
4540
|
var c = o.call(i, "catchLoc"), u = o.call(i, "finallyLoc");
|
|
4593
4541
|
if (c && u) {
|
|
4594
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4542
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
4595
4543
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
4596
4544
|
} else if (c) {
|
|
4597
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4545
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
4598
4546
|
} else {
|
|
4599
4547
|
if (!u) throw new Error("try statement without catch or finally");
|
|
4600
4548
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
@@ -4805,9 +4753,9 @@ var tesseract_min$1 = {
|
|
|
4805
4753
|
function l(t, r, e) {
|
|
4806
4754
|
return Object.defineProperty(t, r, {
|
|
4807
4755
|
value: e,
|
|
4808
|
-
enumerable:
|
|
4809
|
-
configurable:
|
|
4810
|
-
writable:
|
|
4756
|
+
enumerable: true,
|
|
4757
|
+
configurable: true,
|
|
4758
|
+
writable: true
|
|
4811
4759
|
}), t[r];
|
|
4812
4760
|
}
|
|
4813
4761
|
try {
|
|
@@ -4896,7 +4844,7 @@ var tesseract_min$1 = {
|
|
|
4896
4844
|
if ("throw" === o) throw i;
|
|
4897
4845
|
return {
|
|
4898
4846
|
value: void 0,
|
|
4899
|
-
done:
|
|
4847
|
+
done: true
|
|
4900
4848
|
};
|
|
4901
4849
|
}
|
|
4902
4850
|
for(e.method = o, e.arg = i;;){
|
|
@@ -4949,7 +4897,7 @@ var tesseract_min$1 = {
|
|
|
4949
4897
|
{
|
|
4950
4898
|
tryLoc: "root"
|
|
4951
4899
|
}
|
|
4952
|
-
], t.forEach(S, this), this.reset(
|
|
4900
|
+
], t.forEach(S, this), this.reset(true);
|
|
4953
4901
|
}
|
|
4954
4902
|
function k(t) {
|
|
4955
4903
|
if (t) {
|
|
@@ -4958,8 +4906,8 @@ var tesseract_min$1 = {
|
|
|
4958
4906
|
if ("function" == typeof t.next) return t;
|
|
4959
4907
|
if (!isNaN(t.length)) {
|
|
4960
4908
|
var _$e = -1, n = function r() {
|
|
4961
|
-
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done =
|
|
4962
|
-
return r.value = void 0, r.done =
|
|
4909
|
+
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done = false, r;
|
|
4910
|
+
return r.value = void 0, r.done = true, r;
|
|
4963
4911
|
};
|
|
4964
4912
|
return n.next = n;
|
|
4965
4913
|
}
|
|
@@ -4971,15 +4919,15 @@ var tesseract_min$1 = {
|
|
|
4971
4919
|
function _() {
|
|
4972
4920
|
return {
|
|
4973
4921
|
value: void 0,
|
|
4974
|
-
done:
|
|
4922
|
+
done: true
|
|
4975
4923
|
};
|
|
4976
4924
|
}
|
|
4977
4925
|
return v.prototype = d, i(w, "constructor", {
|
|
4978
4926
|
value: d,
|
|
4979
|
-
configurable:
|
|
4927
|
+
configurable: true
|
|
4980
4928
|
}), i(d, "constructor", {
|
|
4981
4929
|
value: v,
|
|
4982
|
-
configurable:
|
|
4930
|
+
configurable: true
|
|
4983
4931
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
4984
4932
|
var r = "function" == typeof t && t.constructor;
|
|
4985
4933
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -5007,17 +4955,17 @@ var tesseract_min$1 = {
|
|
|
5007
4955
|
return _$e.reverse(), function t() {
|
|
5008
4956
|
for(; _$e.length;){
|
|
5009
4957
|
var n = _$e.pop();
|
|
5010
|
-
if (n in r) return t.value = n, t.done =
|
|
4958
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
5011
4959
|
}
|
|
5012
|
-
return t.done =
|
|
4960
|
+
return t.done = true, t;
|
|
5013
4961
|
};
|
|
5014
4962
|
}, _$t.values = k, P.prototype = {
|
|
5015
4963
|
constructor: P,
|
|
5016
4964
|
reset: function reset(t) {
|
|
5017
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
4965
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(j), !t) for(var r in this)"t" === r.charAt(0) && o.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = void 0);
|
|
5018
4966
|
},
|
|
5019
4967
|
stop: function stop() {
|
|
5020
|
-
this.done =
|
|
4968
|
+
this.done = true;
|
|
5021
4969
|
var _$t = this.tryEntries[0].completion;
|
|
5022
4970
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
5023
4971
|
return this.rval;
|
|
@@ -5034,10 +4982,10 @@ var tesseract_min$1 = {
|
|
|
5034
4982
|
if (i.tryLoc <= this.prev) {
|
|
5035
4983
|
var c = o.call(i, "catchLoc"), u = o.call(i, "finallyLoc");
|
|
5036
4984
|
if (c && u) {
|
|
5037
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4985
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
5038
4986
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
5039
4987
|
} else if (c) {
|
|
5040
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4988
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
5041
4989
|
} else {
|
|
5042
4990
|
if (!u) throw new Error("try statement without catch or finally");
|
|
5043
4991
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
@@ -5149,10 +5097,10 @@ var tesseract_min$1 = {
|
|
|
5149
5097
|
if (void 0 !== o) return o.exports;
|
|
5150
5098
|
var i = r[n] = {
|
|
5151
5099
|
id: n,
|
|
5152
|
-
loaded:
|
|
5100
|
+
loaded: false,
|
|
5153
5101
|
exports: {}
|
|
5154
5102
|
};
|
|
5155
|
-
return t[n].call(i.exports, i, i.exports, e), i.loaded =
|
|
5103
|
+
return t[n].call(i.exports, i, i.exports, e), i.loaded = true, i.exports;
|
|
5156
5104
|
}
|
|
5157
5105
|
return e.nmd = function(t) {
|
|
5158
5106
|
return t.paths = [], t.children || (t.children = []), t;
|
|
@@ -5163,7 +5111,7 @@ var tesseract_min$1 = {
|
|
|
5163
5111
|
var tesseract_minExports = tesseract_min$1.exports;
|
|
5164
5112
|
var tesseract_min = /*@__PURE__*/ getDefaultExportFromCjs(tesseract_minExports);
|
|
5165
5113
|
|
|
5166
|
-
class HiddenElement extends
|
|
5114
|
+
class HiddenElement extends i {
|
|
5167
5115
|
get value() {
|
|
5168
5116
|
return this._value;
|
|
5169
5117
|
}
|
|
@@ -5212,7 +5160,7 @@ HiddenElement = __decorate([
|
|
|
5212
5160
|
t('digipair-input-ocr-selector')
|
|
5213
5161
|
], HiddenElement);
|
|
5214
5162
|
|
|
5215
|
-
class InputOcrElement extends
|
|
5163
|
+
class InputOcrElement extends i {
|
|
5216
5164
|
get content() {
|
|
5217
5165
|
return this._content;
|
|
5218
5166
|
}
|