@digipair/skill-web-ocr 0.93.0 → 0.94.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
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
function __decorate(decorators, target, key, desc) {
|
|
6
4
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
5
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -11,7 +9,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
11
9
|
function __metadata(metadataKey, metadataValue) {
|
|
12
10
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
13
11
|
}
|
|
14
|
-
typeof SuppressedError === "function" ? SuppressedError : function
|
|
12
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
15
13
|
var e = new Error(message);
|
|
16
14
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
17
15
|
};
|
|
@@ -36,7 +34,6 @@ function _defineProperties$3(target, props) {
|
|
|
36
34
|
}
|
|
37
35
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
|
38
36
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
39
|
-
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
|
40
37
|
return Constructor;
|
|
41
38
|
}
|
|
42
39
|
function _instanceof$1(left, right) {
|
|
@@ -46,11 +43,11 @@ function _instanceof$1(left, right) {
|
|
|
46
43
|
return left instanceof right;
|
|
47
44
|
}
|
|
48
45
|
}
|
|
49
|
-
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$
|
|
46
|
+
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;
|
|
50
47
|
var n$3 = /*#__PURE__*/ function() {
|
|
51
48
|
function n(t, e, o) {
|
|
52
49
|
_class_call_check$3(this, n);
|
|
53
|
-
if (this._$cssResult$ =
|
|
50
|
+
if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
54
51
|
this.cssText = t, this.t = e;
|
|
55
52
|
}
|
|
56
53
|
_create_class$3(n, [
|
|
@@ -61,7 +58,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
61
58
|
var s = this.t;
|
|
62
59
|
if (e$2 && void 0 === t) {
|
|
63
60
|
var e1 = void 0 !== s && 1 === s.length;
|
|
64
|
-
e1 && (t = o$
|
|
61
|
+
e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
|
|
65
62
|
}
|
|
66
63
|
return t;
|
|
67
64
|
}
|
|
@@ -75,20 +72,20 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
75
72
|
]);
|
|
76
73
|
return n;
|
|
77
74
|
}();
|
|
78
|
-
var r$
|
|
79
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
|
75
|
+
var r$4 = function(t) {
|
|
76
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
|
|
80
77
|
}, i$3 = function(t) {
|
|
81
78
|
for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
82
79
|
e[_key - 1] = arguments[_key];
|
|
83
80
|
}
|
|
84
81
|
var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
|
|
85
82
|
return e + function(t) {
|
|
86
|
-
if (
|
|
83
|
+
if (true === t._$cssResult$) return t.cssText;
|
|
87
84
|
if ("number" == typeof t) return t;
|
|
88
85
|
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.");
|
|
89
86
|
}(s) + t[o + 1];
|
|
90
87
|
}, t[0]);
|
|
91
|
-
return new n$3(o, t, s$
|
|
88
|
+
return new n$3(o, t, s$2);
|
|
92
89
|
}, S$1 = function(s, o) {
|
|
93
90
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
94
91
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
|
@@ -139,7 +136,7 @@ var r$5 = function(t) {
|
|
|
139
136
|
}
|
|
140
137
|
}
|
|
141
138
|
}
|
|
142
|
-
return r$
|
|
139
|
+
return r$4(e);
|
|
143
140
|
}(t) : t;
|
|
144
141
|
};
|
|
145
142
|
|
|
@@ -281,7 +278,7 @@ function _non_iterable_spread$1() {
|
|
|
281
278
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
282
279
|
}
|
|
283
280
|
function _possible_constructor_return$2(self, call) {
|
|
284
|
-
if (call && (_type_of$
|
|
281
|
+
if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
|
|
285
282
|
return call;
|
|
286
283
|
}
|
|
287
284
|
return _assert_this_initialized$2(self);
|
|
@@ -299,7 +296,7 @@ function _sliced_to_array$1(arr, i) {
|
|
|
299
296
|
function _to_consumable_array$1(arr) {
|
|
300
297
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
|
301
298
|
}
|
|
302
|
-
function _type_of$
|
|
299
|
+
function _type_of$4(obj) {
|
|
303
300
|
"@swc/helpers - typeof";
|
|
304
301
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
305
302
|
}
|
|
@@ -461,7 +458,7 @@ var _Symbol, _a, _a1;
|
|
|
461
458
|
* @license
|
|
462
459
|
* Copyright 2017 Google LLC
|
|
463
460
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
464
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
|
461
|
+
*/ 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) {
|
|
465
462
|
return t;
|
|
466
463
|
}, u$1 = {
|
|
467
464
|
toAttribute: function toAttribute(t, s) {
|
|
@@ -496,25 +493,26 @@ var _Symbol, _a, _a1;
|
|
|
496
493
|
}
|
|
497
494
|
}, f$1 = function(t, s) {
|
|
498
495
|
return !i$2(t, s);
|
|
499
|
-
},
|
|
500
|
-
attribute:
|
|
496
|
+
}, b = {
|
|
497
|
+
attribute: true,
|
|
501
498
|
type: String,
|
|
502
499
|
converter: u$1,
|
|
503
|
-
reflect:
|
|
500
|
+
reflect: false,
|
|
501
|
+
useDefault: false,
|
|
504
502
|
hasChanged: f$1
|
|
505
503
|
};
|
|
506
504
|
var _metadata, _litPropertyMetadata;
|
|
507
505
|
(_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;
|
|
508
|
-
var
|
|
509
|
-
_inherits$2(
|
|
510
|
-
var _super = _create_super$2(
|
|
511
|
-
function
|
|
512
|
-
_class_call_check$2(this,
|
|
506
|
+
var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
507
|
+
_inherits$2(y, HTMLElement1);
|
|
508
|
+
var _super = _create_super$2(y);
|
|
509
|
+
function y() {
|
|
510
|
+
_class_call_check$2(this, y);
|
|
513
511
|
var _this;
|
|
514
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
|
512
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
|
|
515
513
|
return _possible_constructor_return$2(_this);
|
|
516
514
|
}
|
|
517
|
-
_create_class$2(
|
|
515
|
+
_create_class$2(y, [
|
|
518
516
|
{
|
|
519
517
|
key: "_$Ev",
|
|
520
518
|
value: function _$Ev() {
|
|
@@ -582,7 +580,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
582
580
|
value: function connectedCallback() {
|
|
583
581
|
var _this__$EO;
|
|
584
582
|
var _this_renderRoot;
|
|
585
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
|
583
|
+
(_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) {
|
|
586
584
|
var _t_hostConnected;
|
|
587
585
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
|
588
586
|
});
|
|
@@ -609,13 +607,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
609
607
|
}
|
|
610
608
|
},
|
|
611
609
|
{
|
|
612
|
-
key: "_$
|
|
613
|
-
value: function _$
|
|
610
|
+
key: "_$ET",
|
|
611
|
+
value: function _$ET(t, s) {
|
|
614
612
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
|
615
|
-
if (void 0 !== e &&
|
|
613
|
+
if (void 0 !== e && true === i.reflect) {
|
|
616
614
|
var _i_converter;
|
|
617
|
-
var
|
|
618
|
-
this._$Em = t, null ==
|
|
615
|
+
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);
|
|
616
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
|
619
617
|
}
|
|
620
618
|
}
|
|
621
619
|
},
|
|
@@ -624,11 +622,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
624
622
|
value: function _$AK(t, s) {
|
|
625
623
|
var i = this.constructor, e = i._$Eh.get(t);
|
|
626
624
|
if (void 0 !== e && this._$Em !== e) {
|
|
627
|
-
var _t_converter;
|
|
628
|
-
var _$t = i.getPropertyOptions(e),
|
|
625
|
+
var _t_converter, _this__$Ej;
|
|
626
|
+
var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
|
|
629
627
|
fromAttribute: _$t.converter
|
|
630
628
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
|
631
|
-
|
|
629
|
+
var _h_fromAttribute, _ref;
|
|
630
|
+
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;
|
|
632
631
|
}
|
|
633
632
|
}
|
|
634
633
|
},
|
|
@@ -636,30 +635,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
636
635
|
key: "requestUpdate",
|
|
637
636
|
value: function requestUpdate(t, s, i) {
|
|
638
637
|
if (void 0 !== t) {
|
|
638
|
+
var _this__$Ej;
|
|
639
|
+
var e = this.constructor, h = this[t];
|
|
639
640
|
var _i_hasChanged;
|
|
640
|
-
if (i !== null && i !== void 0 ? i : i =
|
|
641
|
-
this.
|
|
641
|
+
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;
|
|
642
|
+
this.C(t, s, i);
|
|
642
643
|
}
|
|
643
|
-
|
|
644
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
644
645
|
}
|
|
645
646
|
},
|
|
646
647
|
{
|
|
647
|
-
key: "
|
|
648
|
-
value: function
|
|
649
|
-
var
|
|
650
|
-
|
|
648
|
+
key: "C",
|
|
649
|
+
value: function C(t, s, param, r) {
|
|
650
|
+
var i = param.useDefault, e = param.reflect, h = param.wrapped;
|
|
651
|
+
var _this__$Ej, _ref, _this__$Eq;
|
|
652
|
+
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));
|
|
651
653
|
}
|
|
652
654
|
},
|
|
653
655
|
{
|
|
654
|
-
key: "_$
|
|
655
|
-
value: function _$
|
|
656
|
+
key: "_$EP",
|
|
657
|
+
value: function _$EP() {
|
|
656
658
|
var _this = this;
|
|
657
659
|
return _async_to_generator(function() {
|
|
658
660
|
var t, _$t, _tmp;
|
|
659
661
|
return _ts_generator(this, function(_state) {
|
|
660
662
|
switch(_state.label){
|
|
661
663
|
case 0:
|
|
662
|
-
_this.isUpdatePending =
|
|
664
|
+
_this.isUpdatePending = true;
|
|
663
665
|
_state.label = 1;
|
|
664
666
|
case 1:
|
|
665
667
|
_state.trys.push([
|
|
@@ -749,7 +751,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
749
751
|
if (t1.size > 0) try {
|
|
750
752
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
751
753
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
752
|
-
|
|
754
|
+
var t2 = i.wrapped, e = this[_$s1];
|
|
755
|
+
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
|
753
756
|
}
|
|
754
757
|
} catch (err) {
|
|
755
758
|
_didIteratorError1 = true;
|
|
@@ -766,18 +769,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
766
769
|
}
|
|
767
770
|
}
|
|
768
771
|
}
|
|
769
|
-
var
|
|
772
|
+
var t3 = false;
|
|
770
773
|
var _$s2 = this._$AL;
|
|
771
774
|
try {
|
|
772
775
|
var _this__$EO;
|
|
773
|
-
|
|
776
|
+
t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
774
777
|
var _t_hostUpdate;
|
|
775
778
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
|
776
|
-
}), this.update(_$s2)) : this._$
|
|
779
|
+
}), this.update(_$s2)) : this._$EM();
|
|
777
780
|
} catch (s) {
|
|
778
|
-
throw
|
|
781
|
+
throw t3 = false, this._$EM(), s;
|
|
779
782
|
}
|
|
780
|
-
|
|
783
|
+
t3 && this._$AE(_$s2);
|
|
781
784
|
}
|
|
782
785
|
},
|
|
783
786
|
{
|
|
@@ -791,13 +794,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
791
794
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
792
795
|
var _t_hostUpdated;
|
|
793
796
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
|
794
|
-
}), this.hasUpdated || (this.hasUpdated =
|
|
797
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
|
795
798
|
}
|
|
796
799
|
},
|
|
797
800
|
{
|
|
798
|
-
key: "_$
|
|
799
|
-
value: function _$
|
|
800
|
-
this._$AL = new Map, this.isUpdatePending =
|
|
801
|
+
key: "_$EM",
|
|
802
|
+
value: function _$EM() {
|
|
803
|
+
this._$AL = new Map, this.isUpdatePending = false;
|
|
801
804
|
}
|
|
802
805
|
},
|
|
803
806
|
{
|
|
@@ -815,16 +818,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
815
818
|
{
|
|
816
819
|
key: "shouldUpdate",
|
|
817
820
|
value: function shouldUpdate(t) {
|
|
818
|
-
return
|
|
821
|
+
return true;
|
|
819
822
|
}
|
|
820
823
|
},
|
|
821
824
|
{
|
|
822
825
|
key: "update",
|
|
823
826
|
value: function update(t) {
|
|
824
827
|
var _this = this;
|
|
825
|
-
this._$
|
|
826
|
-
return _this._$
|
|
827
|
-
})), this._$
|
|
828
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
|
|
829
|
+
return _this._$ET(t, _this[t]);
|
|
830
|
+
})), this._$EM();
|
|
828
831
|
}
|
|
829
832
|
},
|
|
830
833
|
{
|
|
@@ -852,35 +855,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
852
855
|
{
|
|
853
856
|
key: "createProperty",
|
|
854
857
|
value: function createProperty(t) {
|
|
855
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
856
|
-
if (s.state && (s.attribute =
|
|
857
|
-
var i = Symbol(),
|
|
858
|
-
void 0 !==
|
|
858
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
|
|
859
|
+
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) {
|
|
860
|
+
var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
|
|
861
|
+
void 0 !== h && e$1(this.prototype, t, h);
|
|
859
862
|
}
|
|
860
863
|
}
|
|
861
864
|
},
|
|
862
865
|
{
|
|
863
866
|
key: "getPropertyDescriptor",
|
|
864
867
|
value: function getPropertyDescriptor(t, s, i) {
|
|
865
|
-
var
|
|
866
|
-
var _ref = (
|
|
868
|
+
var _h;
|
|
869
|
+
var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
|
|
867
870
|
get: function get() {
|
|
868
871
|
return this[s];
|
|
869
872
|
},
|
|
870
873
|
set: function set(t) {
|
|
871
874
|
this[s] = t;
|
|
872
875
|
}
|
|
873
|
-
}, e = _ref.get,
|
|
876
|
+
}, e = _ref.get, r = _ref.set;
|
|
874
877
|
return {
|
|
875
|
-
get:
|
|
876
|
-
return e === null || e === void 0 ? void 0 : e.call(this);
|
|
877
|
-
},
|
|
878
|
+
get: e,
|
|
878
879
|
set: function set(s) {
|
|
879
|
-
var
|
|
880
|
-
|
|
880
|
+
var h = e === null || e === void 0 ? void 0 : e.call(this);
|
|
881
|
+
r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
|
|
881
882
|
},
|
|
882
|
-
configurable:
|
|
883
|
-
enumerable:
|
|
883
|
+
configurable: true,
|
|
884
|
+
enumerable: true
|
|
884
885
|
};
|
|
885
886
|
}
|
|
886
887
|
},
|
|
@@ -888,7 +889,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
888
889
|
key: "getPropertyOptions",
|
|
889
890
|
value: function getPropertyOptions(t) {
|
|
890
891
|
var _this_elementProperties_get;
|
|
891
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
|
892
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
|
|
892
893
|
}
|
|
893
894
|
},
|
|
894
895
|
{
|
|
@@ -903,8 +904,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
903
904
|
key: "finalize",
|
|
904
905
|
value: function finalize() {
|
|
905
906
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
|
906
|
-
if (this.finalized =
|
|
907
|
-
var t = this.properties, s = _to_consumable_array$1(
|
|
907
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
|
908
|
+
var t = this.properties, s = _to_consumable_array$1(r$3(t)).concat(_to_consumable_array$1(o$3(t)));
|
|
908
909
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
909
910
|
try {
|
|
910
911
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -1009,18 +1010,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1009
1010
|
key: "_$Eu",
|
|
1010
1011
|
value: function _$Eu(t, s) {
|
|
1011
1012
|
var i = s.attribute;
|
|
1012
|
-
return
|
|
1013
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
1013
1014
|
}
|
|
1014
1015
|
}
|
|
1015
1016
|
]);
|
|
1016
|
-
return
|
|
1017
|
+
return y;
|
|
1017
1018
|
}(_wrap_native_super(HTMLElement));
|
|
1018
1019
|
var _reactiveElementVersions;
|
|
1019
|
-
|
|
1020
|
+
y$1.elementStyles = [], y$1.shadowRootOptions = {
|
|
1020
1021
|
mode: "open"
|
|
1021
|
-
},
|
|
1022
|
-
ReactiveElement:
|
|
1023
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0
|
|
1022
|
+
}, 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({
|
|
1023
|
+
ReactiveElement: y$1
|
|
1024
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.0");
|
|
1024
1025
|
|
|
1025
1026
|
/**
|
|
1026
1027
|
* @license
|
|
@@ -1115,7 +1116,7 @@ function _non_iterable_spread() {
|
|
|
1115
1116
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1116
1117
|
}
|
|
1117
1118
|
function _possible_constructor_return$1(self, call) {
|
|
1118
|
-
if (call && (_type_of$
|
|
1119
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
1119
1120
|
return call;
|
|
1120
1121
|
}
|
|
1121
1122
|
return _assert_this_initialized$1(self);
|
|
@@ -1133,7 +1134,7 @@ function _sliced_to_array(arr, i) {
|
|
|
1133
1134
|
function _to_consumable_array(arr) {
|
|
1134
1135
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
1135
1136
|
}
|
|
1136
|
-
function _type_of$
|
|
1137
|
+
function _type_of$3(obj) {
|
|
1137
1138
|
"@swc/helpers - typeof";
|
|
1138
1139
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1139
1140
|
}
|
|
@@ -1170,17 +1171,17 @@ function _create_super$1(Derived) {
|
|
|
1170
1171
|
};
|
|
1171
1172
|
}
|
|
1172
1173
|
var _t;
|
|
1173
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
|
1174
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
|
|
1174
1175
|
createHTML: function(t) {
|
|
1175
1176
|
return t;
|
|
1176
1177
|
}
|
|
1177
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
|
1178
|
-
return r$
|
|
1178
|
+
}) : 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() {
|
|
1179
|
+
return r$2.createComment("");
|
|
1179
1180
|
}, c = function(t) {
|
|
1180
|
-
return null === t || "object" != typeof t && "function" != typeof t;
|
|
1181
|
+
return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$3(t)) && "function" != typeof t;
|
|
1181
1182
|
}, a = Array.isArray, u = function(t) {
|
|
1182
1183
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
|
1183
|
-
}, d = "[
|
|
1184
|
+
}, 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) {
|
|
1184
1185
|
return function(i) {
|
|
1185
1186
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
1186
1187
|
s[_key - 1] = arguments[_key];
|
|
@@ -1191,10 +1192,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
|
|
|
1191
1192
|
values: s
|
|
1192
1193
|
};
|
|
1193
1194
|
};
|
|
1194
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
|
1195
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
|
|
1195
1196
|
function P(t, i) {
|
|
1196
1197
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1197
|
-
return void 0 !== s ? s.createHTML(i) : i;
|
|
1198
|
+
return void 0 !== s$1 ? s$1.createHTML(i) : i;
|
|
1198
1199
|
}
|
|
1199
1200
|
var V = function(t, i) {
|
|
1200
1201
|
var s = t.length - 1, o = [];
|
|
@@ -1269,7 +1270,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1269
1270
|
r.append(t3[s2], l());
|
|
1270
1271
|
}
|
|
1271
1272
|
}
|
|
1272
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
|
1273
|
+
} else if (8 === r.nodeType) if (r.data === o$2) d.push({
|
|
1273
1274
|
type: 2,
|
|
1274
1275
|
index: c
|
|
1275
1276
|
});
|
|
@@ -1287,7 +1288,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1287
1288
|
{
|
|
1288
1289
|
key: "createElement",
|
|
1289
1290
|
value: function createElement(t, i) {
|
|
1290
|
-
var s = r$
|
|
1291
|
+
var s = r$2.createElement("template");
|
|
1291
1292
|
return s.innerHTML = t, s;
|
|
1292
1293
|
}
|
|
1293
1294
|
}
|
|
@@ -1302,7 +1303,7 @@ function S(t, i) {
|
|
|
1302
1303
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
|
1303
1304
|
var o = c(i) ? void 0 : i._$litDirective$;
|
|
1304
1305
|
var __$Co;
|
|
1305
|
-
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,
|
|
1306
|
+
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;
|
|
1306
1307
|
}
|
|
1307
1308
|
var M = /*#__PURE__*/ function() {
|
|
1308
1309
|
function M(t, i) {
|
|
@@ -1326,7 +1327,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1326
1327
|
key: "u",
|
|
1327
1328
|
value: function u(t) {
|
|
1328
1329
|
var _t_creationScope;
|
|
1329
|
-
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$
|
|
1330
|
+
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);
|
|
1330
1331
|
C.currentNode = e;
|
|
1331
1332
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
|
1332
1333
|
for(; void 0 !== l;){
|
|
@@ -1336,7 +1337,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1336
1337
|
}
|
|
1337
1338
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
|
1338
1339
|
}
|
|
1339
|
-
return C.currentNode = r$
|
|
1340
|
+
return C.currentNode = r$2, e;
|
|
1340
1341
|
}
|
|
1341
1342
|
},
|
|
1342
1343
|
{
|
|
@@ -1372,7 +1373,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1372
1373
|
function R(t, i, s, e) {
|
|
1373
1374
|
_class_call_check$1(this, R);
|
|
1374
1375
|
var _e_isConnected;
|
|
1375
|
-
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 :
|
|
1376
|
+
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;
|
|
1376
1377
|
}
|
|
1377
1378
|
_create_class$1(R, [
|
|
1378
1379
|
{
|
|
@@ -1425,7 +1426,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1425
1426
|
{
|
|
1426
1427
|
key: "_",
|
|
1427
1428
|
value: function _(t) {
|
|
1428
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
|
1429
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
|
|
1429
1430
|
}
|
|
1430
1431
|
},
|
|
1431
1432
|
{
|
|
@@ -1481,7 +1482,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1481
1482
|
value: function _$AR() {
|
|
1482
1483
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1483
1484
|
var _this__$AP, _this;
|
|
1484
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
|
1485
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t && t !== this._$AB;){
|
|
1485
1486
|
var i1 = t.nextSibling;
|
|
1486
1487
|
t.remove(), t = i1;
|
|
1487
1488
|
}
|
|
@@ -1520,7 +1521,7 @@ var k = /*#__PURE__*/ function() {
|
|
|
1520
1521
|
value: function _$AI(t) {
|
|
1521
1522
|
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;
|
|
1522
1523
|
var h = this.strings;
|
|
1523
|
-
var o =
|
|
1524
|
+
var o = false;
|
|
1524
1525
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
|
1525
1526
|
else {
|
|
1526
1527
|
var e1 = t;
|
|
@@ -1635,7 +1636,7 @@ var z = /*#__PURE__*/ function() {
|
|
|
1635
1636
|
}();
|
|
1636
1637
|
var j = t$1.litHtmlPolyfillSupport;
|
|
1637
1638
|
var _litHtmlVersions;
|
|
1638
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
|
1639
|
+
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");
|
|
1639
1640
|
var B = function(t, i, s) {
|
|
1640
1641
|
var _s_renderBefore;
|
|
1641
1642
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
|
@@ -1670,7 +1671,6 @@ function _defineProperties(target, props) {
|
|
|
1670
1671
|
}
|
|
1671
1672
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
1672
1673
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1673
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1674
1674
|
return Constructor;
|
|
1675
1675
|
}
|
|
1676
1676
|
function _get(target, property, receiver) {
|
|
@@ -1709,7 +1709,7 @@ function _inherits(subClass, superClass) {
|
|
|
1709
1709
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1710
1710
|
}
|
|
1711
1711
|
function _possible_constructor_return(self, call) {
|
|
1712
|
-
if (call && (_type_of$
|
|
1712
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
|
1713
1713
|
return call;
|
|
1714
1714
|
}
|
|
1715
1715
|
return _assert_this_initialized(self);
|
|
@@ -1728,7 +1728,7 @@ function _super_prop_base(object, property) {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
return object;
|
|
1730
1730
|
}
|
|
1731
|
-
function _type_of$
|
|
1731
|
+
function _type_of$2(obj) {
|
|
1732
1732
|
"@swc/helpers - typeof";
|
|
1733
1733
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1734
1734
|
}
|
|
@@ -1756,17 +1756,18 @@ function _create_super(Derived) {
|
|
|
1756
1756
|
return _possible_constructor_return(this, result);
|
|
1757
1757
|
};
|
|
1758
1758
|
}
|
|
1759
|
-
var
|
|
1760
|
-
var
|
|
1759
|
+
var _s_litElementHydrateSupport;
|
|
1760
|
+
var _s;
|
|
1761
1761
|
/**
|
|
1762
1762
|
* @license
|
|
1763
1763
|
* Copyright 2017 Google LLC
|
|
1764
1764
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1765
|
-
*/ var
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1765
|
+
*/ var s = globalThis;
|
|
1766
|
+
var i = /*#__PURE__*/ function(t) {
|
|
1767
|
+
_inherits(i, t);
|
|
1768
|
+
var _super = _create_super(i);
|
|
1769
|
+
function i() {
|
|
1770
|
+
_class_call_check(this, i);
|
|
1770
1771
|
var _this;
|
|
1771
1772
|
_this = _super.call.apply(_super, [
|
|
1772
1773
|
this
|
|
@@ -1775,12 +1776,12 @@ var _globalThis1;
|
|
|
1775
1776
|
}, _this._$Do = void 0;
|
|
1776
1777
|
return _possible_constructor_return(_this);
|
|
1777
1778
|
}
|
|
1778
|
-
_create_class(
|
|
1779
|
+
_create_class(i, [
|
|
1779
1780
|
{
|
|
1780
1781
|
key: "createRenderRoot",
|
|
1781
1782
|
value: function createRenderRoot() {
|
|
1782
1783
|
var _this_renderOptions;
|
|
1783
|
-
var _$t = _get(_get_prototype_of(
|
|
1784
|
+
var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
|
|
1784
1785
|
var _renderBefore;
|
|
1785
1786
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
1786
1787
|
}
|
|
@@ -1788,22 +1789,22 @@ var _globalThis1;
|
|
|
1788
1789
|
{
|
|
1789
1790
|
key: "update",
|
|
1790
1791
|
value: function update(t) {
|
|
1791
|
-
var
|
|
1792
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
|
1792
|
+
var r = this.render();
|
|
1793
|
+
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);
|
|
1793
1794
|
}
|
|
1794
1795
|
},
|
|
1795
1796
|
{
|
|
1796
1797
|
key: "connectedCallback",
|
|
1797
1798
|
value: function connectedCallback() {
|
|
1798
1799
|
var _this__$Do;
|
|
1799
|
-
_get(_get_prototype_of(
|
|
1800
|
+
_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);
|
|
1800
1801
|
}
|
|
1801
1802
|
},
|
|
1802
1803
|
{
|
|
1803
1804
|
key: "disconnectedCallback",
|
|
1804
1805
|
value: function disconnectedCallback() {
|
|
1805
1806
|
var _this__$Do;
|
|
1806
|
-
_get(_get_prototype_of(
|
|
1807
|
+
_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);
|
|
1807
1808
|
}
|
|
1808
1809
|
},
|
|
1809
1810
|
{
|
|
@@ -1813,17 +1814,17 @@ var _globalThis1;
|
|
|
1813
1814
|
}
|
|
1814
1815
|
}
|
|
1815
1816
|
]);
|
|
1816
|
-
return
|
|
1817
|
-
}(
|
|
1818
|
-
|
|
1819
|
-
LitElement:
|
|
1817
|
+
return i;
|
|
1818
|
+
}(y$1);
|
|
1819
|
+
i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
|
|
1820
|
+
LitElement: i
|
|
1820
1821
|
});
|
|
1821
|
-
var
|
|
1822
|
-
|
|
1823
|
-
LitElement:
|
|
1822
|
+
var o$1 = s.litElementPolyfillSupport;
|
|
1823
|
+
o$1 === null || o$1 === void 0 ? void 0 : o$1({
|
|
1824
|
+
LitElement: i
|
|
1824
1825
|
});
|
|
1825
1826
|
var _litElementVersions;
|
|
1826
|
-
((_litElementVersions = (
|
|
1827
|
+
((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.0");
|
|
1827
1828
|
|
|
1828
1829
|
/**
|
|
1829
1830
|
* @license
|
|
@@ -1837,73 +1838,25 @@ var _litElementVersions;
|
|
|
1837
1838
|
};
|
|
1838
1839
|
};
|
|
1839
1840
|
|
|
1840
|
-
function
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
value: value,
|
|
1844
|
-
enumerable: true,
|
|
1845
|
-
configurable: true,
|
|
1846
|
-
writable: true
|
|
1847
|
-
});
|
|
1848
|
-
} else {
|
|
1849
|
-
obj[key] = value;
|
|
1850
|
-
}
|
|
1851
|
-
return obj;
|
|
1852
|
-
}
|
|
1853
|
-
function _object_spread$1(target) {
|
|
1854
|
-
for(var i = 1; i < arguments.length; i++){
|
|
1855
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
1856
|
-
var ownKeys = Object.keys(source);
|
|
1857
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1858
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1859
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1860
|
-
}));
|
|
1861
|
-
}
|
|
1862
|
-
ownKeys.forEach(function(key) {
|
|
1863
|
-
_define_property$1(target, key, source[key]);
|
|
1864
|
-
});
|
|
1865
|
-
}
|
|
1866
|
-
return target;
|
|
1867
|
-
}
|
|
1868
|
-
function ownKeys$1(object, enumerableOnly) {
|
|
1869
|
-
var keys = Object.keys(object);
|
|
1870
|
-
if (Object.getOwnPropertySymbols) {
|
|
1871
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
1872
|
-
if (enumerableOnly) {
|
|
1873
|
-
symbols = symbols.filter(function(sym) {
|
|
1874
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1875
|
-
});
|
|
1876
|
-
}
|
|
1877
|
-
keys.push.apply(keys, symbols);
|
|
1878
|
-
}
|
|
1879
|
-
return keys;
|
|
1880
|
-
}
|
|
1881
|
-
function _object_spread_props$1(target, source) {
|
|
1882
|
-
source = source != null ? source : {};
|
|
1883
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
1884
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1885
|
-
} else {
|
|
1886
|
-
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1887
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1888
|
-
});
|
|
1889
|
-
}
|
|
1890
|
-
return target;
|
|
1841
|
+
function _type_of$1(obj) {
|
|
1842
|
+
"@swc/helpers - typeof";
|
|
1843
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1891
1844
|
}
|
|
1892
1845
|
/**
|
|
1893
1846
|
* @license
|
|
1894
1847
|
* Copyright 2017 Google LLC
|
|
1895
1848
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1896
1849
|
*/ var o = {
|
|
1897
|
-
attribute:
|
|
1850
|
+
attribute: true,
|
|
1898
1851
|
type: String,
|
|
1899
1852
|
converter: u$1,
|
|
1900
|
-
reflect:
|
|
1853
|
+
reflect: false,
|
|
1901
1854
|
hasChanged: f$1
|
|
1902
1855
|
}, r$1 = function() {
|
|
1903
1856
|
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;
|
|
1904
1857
|
var n = r.kind, i = r.metadata;
|
|
1905
1858
|
var s = globalThis.litPropertyMetadata.get(i);
|
|
1906
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
|
1859
|
+
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) {
|
|
1907
1860
|
var o1 = r.name;
|
|
1908
1861
|
return {
|
|
1909
1862
|
set: function set(r) {
|
|
@@ -1911,7 +1864,7 @@ function _object_spread_props$1(target, source) {
|
|
|
1911
1864
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
|
1912
1865
|
},
|
|
1913
1866
|
init: function init(e) {
|
|
1914
|
-
return void 0 !== e && this.
|
|
1867
|
+
return void 0 !== e && this.C(o1, void 0, _$t, e), e;
|
|
1915
1868
|
}
|
|
1916
1869
|
};
|
|
1917
1870
|
}
|
|
@@ -1926,11 +1879,9 @@ function _object_spread_props$1(target, source) {
|
|
|
1926
1879
|
};
|
|
1927
1880
|
function n(t) {
|
|
1928
1881
|
return function(e, o) {
|
|
1929
|
-
return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
|
|
1882
|
+
return "object" == (typeof o === "undefined" ? "undefined" : _type_of$1(o)) ? r$1(t, e, o) : function(t, e, o) {
|
|
1930
1883
|
var r = e.hasOwnProperty(o);
|
|
1931
|
-
return e.constructor.createProperty(o, r ?
|
|
1932
|
-
wrapped: !0
|
|
1933
|
-
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1884
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1934
1885
|
}(t, e, o);
|
|
1935
1886
|
};
|
|
1936
1887
|
}
|
|
@@ -1967,11 +1918,6 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1967
1918
|
var keys = Object.keys(object);
|
|
1968
1919
|
if (Object.getOwnPropertySymbols) {
|
|
1969
1920
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1970
|
-
if (enumerableOnly) {
|
|
1971
|
-
symbols = symbols.filter(function(sym) {
|
|
1972
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1973
|
-
});
|
|
1974
|
-
}
|
|
1975
1921
|
keys.push.apply(keys, symbols);
|
|
1976
1922
|
}
|
|
1977
1923
|
return keys;
|
|
@@ -1993,8 +1939,8 @@ function _object_spread_props(target, source) {
|
|
|
1993
1939
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1994
1940
|
*/ function r(r) {
|
|
1995
1941
|
return n(_object_spread_props(_object_spread({}, r), {
|
|
1996
|
-
state:
|
|
1997
|
-
attribute:
|
|
1942
|
+
state: true,
|
|
1943
|
+
attribute: false
|
|
1998
1944
|
}));
|
|
1999
1945
|
}
|
|
2000
1946
|
|
|
@@ -2010,7 +1956,7 @@ function _type_of(obj) {
|
|
|
2010
1956
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2011
1957
|
}
|
|
2012
1958
|
function getDefaultExportFromCjs(x) {
|
|
2013
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x,
|
|
1959
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
2014
1960
|
}
|
|
2015
1961
|
var tesseract_min$1 = {
|
|
2016
1962
|
exports: {}
|
|
@@ -2048,9 +1994,9 @@ var tesseract_min$1 = {
|
|
|
2048
1994
|
function l(t, r, e) {
|
|
2049
1995
|
return Object.defineProperty(t, r, {
|
|
2050
1996
|
value: e,
|
|
2051
|
-
enumerable:
|
|
2052
|
-
configurable:
|
|
2053
|
-
writable:
|
|
1997
|
+
enumerable: true,
|
|
1998
|
+
configurable: true,
|
|
1999
|
+
writable: true
|
|
2054
2000
|
}), t[r];
|
|
2055
2001
|
}
|
|
2056
2002
|
try {
|
|
@@ -2189,7 +2135,7 @@ var tesseract_min$1 = {
|
|
|
2189
2135
|
{
|
|
2190
2136
|
tryLoc: "root"
|
|
2191
2137
|
}
|
|
2192
|
-
], t.forEach(_, this), this.reset(
|
|
2138
|
+
], t.forEach(_, this), this.reset(true);
|
|
2193
2139
|
}
|
|
2194
2140
|
function A(t) {
|
|
2195
2141
|
if (t) {
|
|
@@ -2198,8 +2144,8 @@ var tesseract_min$1 = {
|
|
|
2198
2144
|
if ("function" == typeof t.next) return t;
|
|
2199
2145
|
if (!isNaN(t.length)) {
|
|
2200
2146
|
var _$n = -1, i = function e() {
|
|
2201
|
-
for(; ++_$n < t.length;)if (o.call(t, _$n)) return e.value = t[_$n], e.done =
|
|
2202
|
-
return e.value = r, e.done =
|
|
2147
|
+
for(; ++_$n < t.length;)if (o.call(t, _$n)) return e.value = t[_$n], e.done = false, e;
|
|
2148
|
+
return e.value = r, e.done = true, e;
|
|
2203
2149
|
};
|
|
2204
2150
|
return i.next = i;
|
|
2205
2151
|
}
|
|
@@ -2211,15 +2157,15 @@ var tesseract_min$1 = {
|
|
|
2211
2157
|
function G() {
|
|
2212
2158
|
return {
|
|
2213
2159
|
value: r,
|
|
2214
|
-
done:
|
|
2160
|
+
done: true
|
|
2215
2161
|
};
|
|
2216
2162
|
}
|
|
2217
2163
|
return b.prototype = w, i(E, "constructor", {
|
|
2218
2164
|
value: w,
|
|
2219
|
-
configurable:
|
|
2165
|
+
configurable: true
|
|
2220
2166
|
}), i(w, "constructor", {
|
|
2221
2167
|
value: b,
|
|
2222
|
-
configurable:
|
|
2168
|
+
configurable: true
|
|
2223
2169
|
}), b.displayName = l(w, f, "GeneratorFunction"), t.isGeneratorFunction = function(t) {
|
|
2224
2170
|
var r = "function" == typeof t && t.constructor;
|
|
2225
2171
|
return !!r && (r === b || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -2247,17 +2193,17 @@ var tesseract_min$1 = {
|
|
|
2247
2193
|
return _$e.reverse(), function t() {
|
|
2248
2194
|
for(; _$e.length;){
|
|
2249
2195
|
var _$n = _$e.pop();
|
|
2250
|
-
if (_$n in r) return t.value = _$n, t.done =
|
|
2196
|
+
if (_$n in r) return t.value = _$n, t.done = false, t;
|
|
2251
2197
|
}
|
|
2252
|
-
return t.done =
|
|
2198
|
+
return t.done = true, t;
|
|
2253
2199
|
};
|
|
2254
2200
|
}, t.values = A, N.prototype = {
|
|
2255
2201
|
constructor: N,
|
|
2256
2202
|
reset: function reset(t) {
|
|
2257
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = r, this.done =
|
|
2203
|
+
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);
|
|
2258
2204
|
},
|
|
2259
2205
|
stop: function stop() {
|
|
2260
|
-
this.done =
|
|
2206
|
+
this.done = true;
|
|
2261
2207
|
var _$t = this.tryEntries[0].completion;
|
|
2262
2208
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
2263
2209
|
return this.rval;
|
|
@@ -2274,10 +2220,10 @@ var tesseract_min$1 = {
|
|
|
2274
2220
|
if (a.tryLoc <= this.prev) {
|
|
2275
2221
|
var u = o.call(a, "catchLoc"), f = o.call(a, "finallyLoc");
|
|
2276
2222
|
if (u && f) {
|
|
2277
|
-
if (this.prev < a.catchLoc) return n(a.catchLoc,
|
|
2223
|
+
if (this.prev < a.catchLoc) return n(a.catchLoc, true);
|
|
2278
2224
|
if (this.prev < a.finallyLoc) return n(a.finallyLoc);
|
|
2279
2225
|
} else if (u) {
|
|
2280
|
-
if (this.prev < a.catchLoc) return n(a.catchLoc,
|
|
2226
|
+
if (this.prev < a.catchLoc) return n(a.catchLoc, true);
|
|
2281
2227
|
} else {
|
|
2282
2228
|
if (!f) throw new Error("try statement without catch or finally");
|
|
2283
2229
|
if (this.prev < a.finallyLoc) return n(a.finallyLoc);
|
|
@@ -2377,9 +2323,9 @@ var tesseract_min$1 = {
|
|
|
2377
2323
|
function l(t, r, e) {
|
|
2378
2324
|
return Object.defineProperty(t, r, {
|
|
2379
2325
|
value: e,
|
|
2380
|
-
enumerable:
|
|
2381
|
-
configurable:
|
|
2382
|
-
writable:
|
|
2326
|
+
enumerable: true,
|
|
2327
|
+
configurable: true,
|
|
2328
|
+
writable: true
|
|
2383
2329
|
}), t[r];
|
|
2384
2330
|
}
|
|
2385
2331
|
try {
|
|
@@ -2468,7 +2414,7 @@ var tesseract_min$1 = {
|
|
|
2468
2414
|
if ("throw" === o) throw i;
|
|
2469
2415
|
return {
|
|
2470
2416
|
value: void 0,
|
|
2471
|
-
done:
|
|
2417
|
+
done: true
|
|
2472
2418
|
};
|
|
2473
2419
|
}
|
|
2474
2420
|
for(e.method = o, e.arg = i;;){
|
|
@@ -2521,7 +2467,7 @@ var tesseract_min$1 = {
|
|
|
2521
2467
|
{
|
|
2522
2468
|
tryLoc: "root"
|
|
2523
2469
|
}
|
|
2524
|
-
], t.forEach(S, this), this.reset(
|
|
2470
|
+
], t.forEach(S, this), this.reset(true);
|
|
2525
2471
|
}
|
|
2526
2472
|
function k(t) {
|
|
2527
2473
|
if (t) {
|
|
@@ -2530,8 +2476,8 @@ var tesseract_min$1 = {
|
|
|
2530
2476
|
if ("function" == typeof t.next) return t;
|
|
2531
2477
|
if (!isNaN(t.length)) {
|
|
2532
2478
|
var n = -1, _$o = function r() {
|
|
2533
|
-
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done =
|
|
2534
|
-
return r.value = void 0, r.done =
|
|
2479
|
+
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done = false, r;
|
|
2480
|
+
return r.value = void 0, r.done = true, r;
|
|
2535
2481
|
};
|
|
2536
2482
|
return _$o.next = _$o;
|
|
2537
2483
|
}
|
|
@@ -2543,15 +2489,15 @@ var tesseract_min$1 = {
|
|
|
2543
2489
|
function _() {
|
|
2544
2490
|
return {
|
|
2545
2491
|
value: void 0,
|
|
2546
|
-
done:
|
|
2492
|
+
done: true
|
|
2547
2493
|
};
|
|
2548
2494
|
}
|
|
2549
2495
|
return v.prototype = d, i(w, "constructor", {
|
|
2550
2496
|
value: d,
|
|
2551
|
-
configurable:
|
|
2497
|
+
configurable: true
|
|
2552
2498
|
}), i(d, "constructor", {
|
|
2553
2499
|
value: v,
|
|
2554
|
-
configurable:
|
|
2500
|
+
configurable: true
|
|
2555
2501
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
2556
2502
|
var r = "function" == typeof t && t.constructor;
|
|
2557
2503
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -2579,17 +2525,17 @@ var tesseract_min$1 = {
|
|
|
2579
2525
|
return _$e.reverse(), function t() {
|
|
2580
2526
|
for(; _$e.length;){
|
|
2581
2527
|
var n = _$e.pop();
|
|
2582
|
-
if (n in r) return t.value = n, t.done =
|
|
2528
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
2583
2529
|
}
|
|
2584
|
-
return t.done =
|
|
2530
|
+
return t.done = true, t;
|
|
2585
2531
|
};
|
|
2586
2532
|
}, _$t.values = k, P.prototype = {
|
|
2587
2533
|
constructor: P,
|
|
2588
2534
|
reset: function reset(t) {
|
|
2589
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
2535
|
+
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);
|
|
2590
2536
|
},
|
|
2591
2537
|
stop: function stop() {
|
|
2592
|
-
this.done =
|
|
2538
|
+
this.done = true;
|
|
2593
2539
|
var _$t = this.tryEntries[0].completion;
|
|
2594
2540
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
2595
2541
|
return this.rval;
|
|
@@ -2606,10 +2552,10 @@ var tesseract_min$1 = {
|
|
|
2606
2552
|
if (i.tryLoc <= this.prev) {
|
|
2607
2553
|
var c = _$e.call(i, "catchLoc"), u = _$e.call(i, "finallyLoc");
|
|
2608
2554
|
if (c && u) {
|
|
2609
|
-
if (this.prev < i.catchLoc) return n(i.catchLoc,
|
|
2555
|
+
if (this.prev < i.catchLoc) return n(i.catchLoc, true);
|
|
2610
2556
|
if (this.prev < i.finallyLoc) return n(i.finallyLoc);
|
|
2611
2557
|
} else if (c) {
|
|
2612
|
-
if (this.prev < i.catchLoc) return n(i.catchLoc,
|
|
2558
|
+
if (this.prev < i.catchLoc) return n(i.catchLoc, true);
|
|
2613
2559
|
} else {
|
|
2614
2560
|
if (!u) throw new Error("try statement without catch or finally");
|
|
2615
2561
|
if (this.prev < i.finallyLoc) return n(i.finallyLoc);
|
|
@@ -2752,7 +2698,7 @@ var tesseract_min$1 = {
|
|
|
2752
2698
|
},
|
|
2753
2699
|
341: function(t) {
|
|
2754
2700
|
t.exports = {
|
|
2755
|
-
workerBlobURL:
|
|
2701
|
+
workerBlobURL: true,
|
|
2756
2702
|
logger: function logger() {}
|
|
2757
2703
|
};
|
|
2758
2704
|
},
|
|
@@ -2892,9 +2838,9 @@ var tesseract_min$1 = {
|
|
|
2892
2838
|
function l(t, r, e) {
|
|
2893
2839
|
return Object.defineProperty(t, r, {
|
|
2894
2840
|
value: e,
|
|
2895
|
-
enumerable:
|
|
2896
|
-
configurable:
|
|
2897
|
-
writable:
|
|
2841
|
+
enumerable: true,
|
|
2842
|
+
configurable: true,
|
|
2843
|
+
writable: true
|
|
2898
2844
|
}), t[r];
|
|
2899
2845
|
}
|
|
2900
2846
|
try {
|
|
@@ -2983,7 +2929,7 @@ var tesseract_min$1 = {
|
|
|
2983
2929
|
if ("throw" === o) throw i;
|
|
2984
2930
|
return {
|
|
2985
2931
|
value: void 0,
|
|
2986
|
-
done:
|
|
2932
|
+
done: true
|
|
2987
2933
|
};
|
|
2988
2934
|
}
|
|
2989
2935
|
for(e.method = o, e.arg = i;;){
|
|
@@ -3036,7 +2982,7 @@ var tesseract_min$1 = {
|
|
|
3036
2982
|
{
|
|
3037
2983
|
tryLoc: "root"
|
|
3038
2984
|
}
|
|
3039
|
-
], t.forEach(S, this), this.reset(
|
|
2985
|
+
], t.forEach(S, this), this.reset(true);
|
|
3040
2986
|
}
|
|
3041
2987
|
function k(t) {
|
|
3042
2988
|
if (t) {
|
|
@@ -3045,8 +2991,8 @@ var tesseract_min$1 = {
|
|
|
3045
2991
|
if ("function" == typeof t.next) return t;
|
|
3046
2992
|
if (!isNaN(t.length)) {
|
|
3047
2993
|
var n = -1, o = function r() {
|
|
3048
|
-
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done =
|
|
3049
|
-
return r.value = void 0, r.done =
|
|
2994
|
+
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done = false, r;
|
|
2995
|
+
return r.value = void 0, r.done = true, r;
|
|
3050
2996
|
};
|
|
3051
2997
|
return o.next = o;
|
|
3052
2998
|
}
|
|
@@ -3058,15 +3004,15 @@ var tesseract_min$1 = {
|
|
|
3058
3004
|
function _() {
|
|
3059
3005
|
return {
|
|
3060
3006
|
value: void 0,
|
|
3061
|
-
done:
|
|
3007
|
+
done: true
|
|
3062
3008
|
};
|
|
3063
3009
|
}
|
|
3064
3010
|
return v.prototype = d, o(w, "constructor", {
|
|
3065
3011
|
value: d,
|
|
3066
|
-
configurable:
|
|
3012
|
+
configurable: true
|
|
3067
3013
|
}), o(d, "constructor", {
|
|
3068
3014
|
value: v,
|
|
3069
|
-
configurable:
|
|
3015
|
+
configurable: true
|
|
3070
3016
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
3071
3017
|
var r = "function" == typeof t && t.constructor;
|
|
3072
3018
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -3094,17 +3040,17 @@ var tesseract_min$1 = {
|
|
|
3094
3040
|
return _$e.reverse(), function t() {
|
|
3095
3041
|
for(; _$e.length;){
|
|
3096
3042
|
var n = _$e.pop();
|
|
3097
|
-
if (n in r) return t.value = n, t.done =
|
|
3043
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
3098
3044
|
}
|
|
3099
|
-
return t.done =
|
|
3045
|
+
return t.done = true, t;
|
|
3100
3046
|
};
|
|
3101
3047
|
}, _$t.values = k, P.prototype = {
|
|
3102
3048
|
constructor: P,
|
|
3103
3049
|
reset: function reset(t) {
|
|
3104
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
3050
|
+
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);
|
|
3105
3051
|
},
|
|
3106
3052
|
stop: function stop() {
|
|
3107
|
-
this.done =
|
|
3053
|
+
this.done = true;
|
|
3108
3054
|
var _$t = this.tryEntries[0].completion;
|
|
3109
3055
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
3110
3056
|
return this.rval;
|
|
@@ -3121,10 +3067,10 @@ var tesseract_min$1 = {
|
|
|
3121
3067
|
if (_$i.tryLoc <= this.prev) {
|
|
3122
3068
|
var c = _$e.call(_$i, "catchLoc"), u = _$e.call(_$i, "finallyLoc");
|
|
3123
3069
|
if (c && u) {
|
|
3124
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3070
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3125
3071
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
3126
3072
|
} else if (c) {
|
|
3127
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3073
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3128
3074
|
} else {
|
|
3129
3075
|
if (!u) throw new Error("try statement without catch or finally");
|
|
3130
3076
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
@@ -3356,7 +3302,7 @@ var tesseract_min$1 = {
|
|
|
3356
3302
|
var u = function u(t) {
|
|
3357
3303
|
for(var r = 1; r < arguments.length; r++){
|
|
3358
3304
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
3359
|
-
r % 2 ? c(Object(_$e),
|
|
3305
|
+
r % 2 ? c(Object(_$e), true).forEach(function(r) {
|
|
3360
3306
|
f(t, r, _$e[r]);
|
|
3361
3307
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : c(Object(_$e)).forEach(function(r) {
|
|
3362
3308
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -3379,9 +3325,9 @@ var tesseract_min$1 = {
|
|
|
3379
3325
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
3380
3326
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
3381
3327
|
value: e,
|
|
3382
|
-
enumerable:
|
|
3383
|
-
configurable:
|
|
3384
|
-
writable:
|
|
3328
|
+
enumerable: true,
|
|
3329
|
+
configurable: true,
|
|
3330
|
+
writable: true
|
|
3385
3331
|
}) : t[r] = e, t;
|
|
3386
3332
|
};
|
|
3387
3333
|
var l = function l(t, r) {
|
|
@@ -3442,9 +3388,9 @@ var tesseract_min$1 = {
|
|
|
3442
3388
|
function l(t, r, e) {
|
|
3443
3389
|
return Object.defineProperty(t, r, {
|
|
3444
3390
|
value: e,
|
|
3445
|
-
enumerable:
|
|
3446
|
-
configurable:
|
|
3447
|
-
writable:
|
|
3391
|
+
enumerable: true,
|
|
3392
|
+
configurable: true,
|
|
3393
|
+
writable: true
|
|
3448
3394
|
}), t[r];
|
|
3449
3395
|
}
|
|
3450
3396
|
try {
|
|
@@ -3533,7 +3479,7 @@ var tesseract_min$1 = {
|
|
|
3533
3479
|
if ("throw" === o) throw i;
|
|
3534
3480
|
return {
|
|
3535
3481
|
value: void 0,
|
|
3536
|
-
done:
|
|
3482
|
+
done: true
|
|
3537
3483
|
};
|
|
3538
3484
|
}
|
|
3539
3485
|
for(e.method = o, e.arg = i;;){
|
|
@@ -3586,7 +3532,7 @@ var tesseract_min$1 = {
|
|
|
3586
3532
|
{
|
|
3587
3533
|
tryLoc: "root"
|
|
3588
3534
|
}
|
|
3589
|
-
], t.forEach(S, this), this.reset(
|
|
3535
|
+
], t.forEach(S, this), this.reset(true);
|
|
3590
3536
|
}
|
|
3591
3537
|
function k(t) {
|
|
3592
3538
|
if (t) {
|
|
@@ -3595,8 +3541,8 @@ var tesseract_min$1 = {
|
|
|
3595
3541
|
if ("function" == typeof t.next) return t;
|
|
3596
3542
|
if (!isNaN(t.length)) {
|
|
3597
3543
|
var n = -1, o = function r() {
|
|
3598
|
-
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done =
|
|
3599
|
-
return r.value = void 0, r.done =
|
|
3544
|
+
for(; ++n < t.length;)if (_$e.call(t, n)) return r.value = t[n], r.done = false, r;
|
|
3545
|
+
return r.value = void 0, r.done = true, r;
|
|
3600
3546
|
};
|
|
3601
3547
|
return o.next = o;
|
|
3602
3548
|
}
|
|
@@ -3608,15 +3554,15 @@ var tesseract_min$1 = {
|
|
|
3608
3554
|
function _() {
|
|
3609
3555
|
return {
|
|
3610
3556
|
value: void 0,
|
|
3611
|
-
done:
|
|
3557
|
+
done: true
|
|
3612
3558
|
};
|
|
3613
3559
|
}
|
|
3614
3560
|
return v.prototype = d, o(w, "constructor", {
|
|
3615
3561
|
value: d,
|
|
3616
|
-
configurable:
|
|
3562
|
+
configurable: true
|
|
3617
3563
|
}), o(d, "constructor", {
|
|
3618
3564
|
value: v,
|
|
3619
|
-
configurable:
|
|
3565
|
+
configurable: true
|
|
3620
3566
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
3621
3567
|
var r = "function" == typeof t && t.constructor;
|
|
3622
3568
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -3644,17 +3590,17 @@ var tesseract_min$1 = {
|
|
|
3644
3590
|
return _$e.reverse(), function t() {
|
|
3645
3591
|
for(; _$e.length;){
|
|
3646
3592
|
var n = _$e.pop();
|
|
3647
|
-
if (n in r) return t.value = n, t.done =
|
|
3593
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
3648
3594
|
}
|
|
3649
|
-
return t.done =
|
|
3595
|
+
return t.done = true, t;
|
|
3650
3596
|
};
|
|
3651
3597
|
}, _$t.values = k, P.prototype = {
|
|
3652
3598
|
constructor: P,
|
|
3653
3599
|
reset: function reset(t) {
|
|
3654
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
3600
|
+
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);
|
|
3655
3601
|
},
|
|
3656
3602
|
stop: function stop() {
|
|
3657
|
-
this.done =
|
|
3603
|
+
this.done = true;
|
|
3658
3604
|
var _$t = this.tryEntries[0].completion;
|
|
3659
3605
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
3660
3606
|
return this.rval;
|
|
@@ -3671,10 +3617,10 @@ var tesseract_min$1 = {
|
|
|
3671
3617
|
if (_$i.tryLoc <= this.prev) {
|
|
3672
3618
|
var c = _$e.call(_$i, "catchLoc"), u = _$e.call(_$i, "finallyLoc");
|
|
3673
3619
|
if (c && u) {
|
|
3674
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3620
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3675
3621
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
3676
3622
|
} else if (c) {
|
|
3677
|
-
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc,
|
|
3623
|
+
if (this.prev < _$i.catchLoc) return n(_$i.catchLoc, true);
|
|
3678
3624
|
} else {
|
|
3679
3625
|
if (!u) throw new Error("try statement without catch or finally");
|
|
3680
3626
|
if (this.prev < _$i.finallyLoc) return n(_$i.finallyLoc);
|
|
@@ -3892,10 +3838,10 @@ var tesseract_min$1 = {
|
|
|
3892
3838
|
for(;;)switch(t.prev = t.next){
|
|
3893
3839
|
case 0:
|
|
3894
3840
|
return _$e = a.length > 1 && void 0 !== a[1] ? a[1] : {}, n = a.length > 2 && void 0 !== a[2] ? a[2] : {
|
|
3895
|
-
blocks:
|
|
3896
|
-
text:
|
|
3897
|
-
hocr:
|
|
3898
|
-
tsv:
|
|
3841
|
+
blocks: true,
|
|
3842
|
+
text: true,
|
|
3843
|
+
hocr: true,
|
|
3844
|
+
tsv: true
|
|
3899
3845
|
}, o = a.length > 3 ? a[3] : void 0, t.t0 = B, t.t1 = v, t.t2 = o, t.next = 8, E(r);
|
|
3900
3846
|
case 8:
|
|
3901
3847
|
return t.t3 = t.sent, t.t4 = _$e, t.t5 = n, t.t6 = {
|
|
@@ -4045,9 +3991,9 @@ var tesseract_min$1 = {
|
|
|
4045
3991
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
4046
3992
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
4047
3993
|
value: e,
|
|
4048
|
-
enumerable:
|
|
4049
|
-
configurable:
|
|
4050
|
-
writable:
|
|
3994
|
+
enumerable: true,
|
|
3995
|
+
configurable: true,
|
|
3996
|
+
writable: true
|
|
4051
3997
|
}) : t[r] = e, t;
|
|
4052
3998
|
};
|
|
4053
3999
|
function n(t) {
|
|
@@ -4062,7 +4008,7 @@ var tesseract_min$1 = {
|
|
|
4062
4008
|
t.exports = function(t) {
|
|
4063
4009
|
for(var r = 1; r < arguments.length; r++){
|
|
4064
4010
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
4065
|
-
r % 2 ? o(Object(_$e),
|
|
4011
|
+
r % 2 ? o(Object(_$e), true).forEach(function(r) {
|
|
4066
4012
|
i(t, r, _$e[r]);
|
|
4067
4013
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : o(Object(_$e)).forEach(function(r) {
|
|
4068
4014
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -4092,7 +4038,7 @@ var tesseract_min$1 = {
|
|
|
4092
4038
|
var n = function n(t) {
|
|
4093
4039
|
for(var r = 1; r < arguments.length; r++){
|
|
4094
4040
|
var n = null != arguments[r] ? arguments[r] : {};
|
|
4095
|
-
r % 2 ? _$e(Object(n),
|
|
4041
|
+
r % 2 ? _$e(Object(n), true).forEach(function(r) {
|
|
4096
4042
|
o(t, r, n[r]);
|
|
4097
4043
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : _$e(Object(n)).forEach(function(r) {
|
|
4098
4044
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
@@ -4115,9 +4061,9 @@ var tesseract_min$1 = {
|
|
|
4115
4061
|
return "symbol" === r(_$e) ? _$e : String(_$e);
|
|
4116
4062
|
}(e)) in t ? Object.defineProperty(t, e, {
|
|
4117
4063
|
value: n,
|
|
4118
|
-
enumerable:
|
|
4119
|
-
configurable:
|
|
4120
|
-
writable:
|
|
4064
|
+
enumerable: true,
|
|
4065
|
+
configurable: true,
|
|
4066
|
+
writable: true
|
|
4121
4067
|
}) : t[e] = n, t;
|
|
4122
4068
|
};
|
|
4123
4069
|
function r(t) {
|
|
@@ -4188,7 +4134,7 @@ var tesseract_min$1 = {
|
|
|
4188
4134
|
};
|
|
4189
4135
|
},
|
|
4190
4136
|
185: function(t, r) {
|
|
4191
|
-
var _$e = this, n =
|
|
4137
|
+
var _$e = this, n = false;
|
|
4192
4138
|
r.logging = n, r.setLogging = function(t) {
|
|
4193
4139
|
n = t;
|
|
4194
4140
|
}, r.log = function() {
|
|
@@ -4222,9 +4168,9 @@ var tesseract_min$1 = {
|
|
|
4222
4168
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
4223
4169
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
4224
4170
|
value: e,
|
|
4225
|
-
enumerable:
|
|
4226
|
-
configurable:
|
|
4227
|
-
writable:
|
|
4171
|
+
enumerable: true,
|
|
4172
|
+
configurable: true,
|
|
4173
|
+
writable: true
|
|
4228
4174
|
}) : t[r] = e, t;
|
|
4229
4175
|
};
|
|
4230
4176
|
function n(t) {
|
|
@@ -4243,7 +4189,7 @@ var tesseract_min$1 = {
|
|
|
4243
4189
|
var r = function(t) {
|
|
4244
4190
|
for(var r = 1; r < arguments.length; r++){
|
|
4245
4191
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
4246
|
-
r % 2 ? o(Object(_$e),
|
|
4192
|
+
r % 2 ? o(Object(_$e), true).forEach(function(r) {
|
|
4247
4193
|
i(t, r, _$e[r]);
|
|
4248
4194
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : o(Object(_$e)).forEach(function(r) {
|
|
4249
4195
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -4274,7 +4220,7 @@ var tesseract_min$1 = {
|
|
|
4274
4220
|
var i = function i(t) {
|
|
4275
4221
|
for(var r = 1; r < arguments.length; r++){
|
|
4276
4222
|
var _$e = null != arguments[r] ? arguments[r] : {};
|
|
4277
|
-
r % 2 ? o(Object(_$e),
|
|
4223
|
+
r % 2 ? o(Object(_$e), true).forEach(function(r) {
|
|
4278
4224
|
a(t, r, _$e[r]);
|
|
4279
4225
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(_$e)) : o(Object(_$e)).forEach(function(r) {
|
|
4280
4226
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(_$e, r));
|
|
@@ -4297,9 +4243,9 @@ var tesseract_min$1 = {
|
|
|
4297
4243
|
return "symbol" === n(_$r) ? _$r : String(_$r);
|
|
4298
4244
|
}(r)) in t ? Object.defineProperty(t, r, {
|
|
4299
4245
|
value: e,
|
|
4300
|
-
enumerable:
|
|
4301
|
-
configurable:
|
|
4302
|
-
writable:
|
|
4246
|
+
enumerable: true,
|
|
4247
|
+
configurable: true,
|
|
4248
|
+
writable: true
|
|
4303
4249
|
}) : t[r] = e, t;
|
|
4304
4250
|
};
|
|
4305
4251
|
function n(t) {
|
|
@@ -4366,9 +4312,9 @@ var tesseract_min$1 = {
|
|
|
4366
4312
|
function l(t, r, e) {
|
|
4367
4313
|
return Object.defineProperty(t, r, {
|
|
4368
4314
|
value: e,
|
|
4369
|
-
enumerable:
|
|
4370
|
-
configurable:
|
|
4371
|
-
writable:
|
|
4315
|
+
enumerable: true,
|
|
4316
|
+
configurable: true,
|
|
4317
|
+
writable: true
|
|
4372
4318
|
}), t[r];
|
|
4373
4319
|
}
|
|
4374
4320
|
try {
|
|
@@ -4457,7 +4403,7 @@ var tesseract_min$1 = {
|
|
|
4457
4403
|
if ("throw" === o) throw i;
|
|
4458
4404
|
return {
|
|
4459
4405
|
value: void 0,
|
|
4460
|
-
done:
|
|
4406
|
+
done: true
|
|
4461
4407
|
};
|
|
4462
4408
|
}
|
|
4463
4409
|
for(e.method = o, e.arg = i;;){
|
|
@@ -4510,7 +4456,7 @@ var tesseract_min$1 = {
|
|
|
4510
4456
|
{
|
|
4511
4457
|
tryLoc: "root"
|
|
4512
4458
|
}
|
|
4513
|
-
], t.forEach(S, this), this.reset(
|
|
4459
|
+
], t.forEach(S, this), this.reset(true);
|
|
4514
4460
|
}
|
|
4515
4461
|
function k(t) {
|
|
4516
4462
|
if (t) {
|
|
@@ -4519,8 +4465,8 @@ var tesseract_min$1 = {
|
|
|
4519
4465
|
if ("function" == typeof t.next) return t;
|
|
4520
4466
|
if (!isNaN(t.length)) {
|
|
4521
4467
|
var _$e = -1, n = function r() {
|
|
4522
|
-
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done =
|
|
4523
|
-
return r.value = void 0, r.done =
|
|
4468
|
+
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done = false, r;
|
|
4469
|
+
return r.value = void 0, r.done = true, r;
|
|
4524
4470
|
};
|
|
4525
4471
|
return n.next = n;
|
|
4526
4472
|
}
|
|
@@ -4532,15 +4478,15 @@ var tesseract_min$1 = {
|
|
|
4532
4478
|
function _() {
|
|
4533
4479
|
return {
|
|
4534
4480
|
value: void 0,
|
|
4535
|
-
done:
|
|
4481
|
+
done: true
|
|
4536
4482
|
};
|
|
4537
4483
|
}
|
|
4538
4484
|
return v.prototype = d, i(w, "constructor", {
|
|
4539
4485
|
value: d,
|
|
4540
|
-
configurable:
|
|
4486
|
+
configurable: true
|
|
4541
4487
|
}), i(d, "constructor", {
|
|
4542
4488
|
value: v,
|
|
4543
|
-
configurable:
|
|
4489
|
+
configurable: true
|
|
4544
4490
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
4545
4491
|
var r = "function" == typeof t && t.constructor;
|
|
4546
4492
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -4568,17 +4514,17 @@ var tesseract_min$1 = {
|
|
|
4568
4514
|
return _$e.reverse(), function t() {
|
|
4569
4515
|
for(; _$e.length;){
|
|
4570
4516
|
var n = _$e.pop();
|
|
4571
|
-
if (n in r) return t.value = n, t.done =
|
|
4517
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
4572
4518
|
}
|
|
4573
|
-
return t.done =
|
|
4519
|
+
return t.done = true, t;
|
|
4574
4520
|
};
|
|
4575
4521
|
}, _$t.values = k, P.prototype = {
|
|
4576
4522
|
constructor: P,
|
|
4577
4523
|
reset: function reset(t) {
|
|
4578
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
4524
|
+
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);
|
|
4579
4525
|
},
|
|
4580
4526
|
stop: function stop() {
|
|
4581
|
-
this.done =
|
|
4527
|
+
this.done = true;
|
|
4582
4528
|
var _$t = this.tryEntries[0].completion;
|
|
4583
4529
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
4584
4530
|
return this.rval;
|
|
@@ -4595,10 +4541,10 @@ var tesseract_min$1 = {
|
|
|
4595
4541
|
if (i.tryLoc <= this.prev) {
|
|
4596
4542
|
var c = o.call(i, "catchLoc"), u = o.call(i, "finallyLoc");
|
|
4597
4543
|
if (c && u) {
|
|
4598
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4544
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
4599
4545
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
4600
4546
|
} else if (c) {
|
|
4601
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4547
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
4602
4548
|
} else {
|
|
4603
4549
|
if (!u) throw new Error("try statement without catch or finally");
|
|
4604
4550
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
@@ -4809,9 +4755,9 @@ var tesseract_min$1 = {
|
|
|
4809
4755
|
function l(t, r, e) {
|
|
4810
4756
|
return Object.defineProperty(t, r, {
|
|
4811
4757
|
value: e,
|
|
4812
|
-
enumerable:
|
|
4813
|
-
configurable:
|
|
4814
|
-
writable:
|
|
4758
|
+
enumerable: true,
|
|
4759
|
+
configurable: true,
|
|
4760
|
+
writable: true
|
|
4815
4761
|
}), t[r];
|
|
4816
4762
|
}
|
|
4817
4763
|
try {
|
|
@@ -4900,7 +4846,7 @@ var tesseract_min$1 = {
|
|
|
4900
4846
|
if ("throw" === o) throw i;
|
|
4901
4847
|
return {
|
|
4902
4848
|
value: void 0,
|
|
4903
|
-
done:
|
|
4849
|
+
done: true
|
|
4904
4850
|
};
|
|
4905
4851
|
}
|
|
4906
4852
|
for(e.method = o, e.arg = i;;){
|
|
@@ -4953,7 +4899,7 @@ var tesseract_min$1 = {
|
|
|
4953
4899
|
{
|
|
4954
4900
|
tryLoc: "root"
|
|
4955
4901
|
}
|
|
4956
|
-
], t.forEach(S, this), this.reset(
|
|
4902
|
+
], t.forEach(S, this), this.reset(true);
|
|
4957
4903
|
}
|
|
4958
4904
|
function k(t) {
|
|
4959
4905
|
if (t) {
|
|
@@ -4962,8 +4908,8 @@ var tesseract_min$1 = {
|
|
|
4962
4908
|
if ("function" == typeof t.next) return t;
|
|
4963
4909
|
if (!isNaN(t.length)) {
|
|
4964
4910
|
var _$e = -1, n = function r() {
|
|
4965
|
-
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done =
|
|
4966
|
-
return r.value = void 0, r.done =
|
|
4911
|
+
for(; ++_$e < t.length;)if (o.call(t, _$e)) return r.value = t[_$e], r.done = false, r;
|
|
4912
|
+
return r.value = void 0, r.done = true, r;
|
|
4967
4913
|
};
|
|
4968
4914
|
return n.next = n;
|
|
4969
4915
|
}
|
|
@@ -4975,15 +4921,15 @@ var tesseract_min$1 = {
|
|
|
4975
4921
|
function _() {
|
|
4976
4922
|
return {
|
|
4977
4923
|
value: void 0,
|
|
4978
|
-
done:
|
|
4924
|
+
done: true
|
|
4979
4925
|
};
|
|
4980
4926
|
}
|
|
4981
4927
|
return v.prototype = d, i(w, "constructor", {
|
|
4982
4928
|
value: d,
|
|
4983
|
-
configurable:
|
|
4929
|
+
configurable: true
|
|
4984
4930
|
}), i(d, "constructor", {
|
|
4985
4931
|
value: v,
|
|
4986
|
-
configurable:
|
|
4932
|
+
configurable: true
|
|
4987
4933
|
}), v.displayName = l(d, f, "GeneratorFunction"), _$t.isGeneratorFunction = function(t) {
|
|
4988
4934
|
var r = "function" == typeof t && t.constructor;
|
|
4989
4935
|
return !!r && (r === v || "GeneratorFunction" === (r.displayName || r.name));
|
|
@@ -5011,17 +4957,17 @@ var tesseract_min$1 = {
|
|
|
5011
4957
|
return _$e.reverse(), function t() {
|
|
5012
4958
|
for(; _$e.length;){
|
|
5013
4959
|
var n = _$e.pop();
|
|
5014
|
-
if (n in r) return t.value = n, t.done =
|
|
4960
|
+
if (n in r) return t.value = n, t.done = false, t;
|
|
5015
4961
|
}
|
|
5016
|
-
return t.done =
|
|
4962
|
+
return t.done = true, t;
|
|
5017
4963
|
};
|
|
5018
4964
|
}, _$t.values = k, P.prototype = {
|
|
5019
4965
|
constructor: P,
|
|
5020
4966
|
reset: function reset(t) {
|
|
5021
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done =
|
|
4967
|
+
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);
|
|
5022
4968
|
},
|
|
5023
4969
|
stop: function stop() {
|
|
5024
|
-
this.done =
|
|
4970
|
+
this.done = true;
|
|
5025
4971
|
var _$t = this.tryEntries[0].completion;
|
|
5026
4972
|
if ("throw" === _$t.type) throw _$t.arg;
|
|
5027
4973
|
return this.rval;
|
|
@@ -5038,10 +4984,10 @@ var tesseract_min$1 = {
|
|
|
5038
4984
|
if (i.tryLoc <= this.prev) {
|
|
5039
4985
|
var c = o.call(i, "catchLoc"), u = o.call(i, "finallyLoc");
|
|
5040
4986
|
if (c && u) {
|
|
5041
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4987
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
5042
4988
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
5043
4989
|
} else if (c) {
|
|
5044
|
-
if (this.prev < i.catchLoc) return e(i.catchLoc,
|
|
4990
|
+
if (this.prev < i.catchLoc) return e(i.catchLoc, true);
|
|
5045
4991
|
} else {
|
|
5046
4992
|
if (!u) throw new Error("try statement without catch or finally");
|
|
5047
4993
|
if (this.prev < i.finallyLoc) return e(i.finallyLoc);
|
|
@@ -5153,10 +5099,10 @@ var tesseract_min$1 = {
|
|
|
5153
5099
|
if (void 0 !== o) return o.exports;
|
|
5154
5100
|
var i = r[n] = {
|
|
5155
5101
|
id: n,
|
|
5156
|
-
loaded:
|
|
5102
|
+
loaded: false,
|
|
5157
5103
|
exports: {}
|
|
5158
5104
|
};
|
|
5159
|
-
return t[n].call(i.exports, i, i.exports, e), i.loaded =
|
|
5105
|
+
return t[n].call(i.exports, i, i.exports, e), i.loaded = true, i.exports;
|
|
5160
5106
|
}
|
|
5161
5107
|
return e.nmd = function(t) {
|
|
5162
5108
|
return t.paths = [], t.children || (t.children = []), t;
|
|
@@ -5167,7 +5113,7 @@ var tesseract_min$1 = {
|
|
|
5167
5113
|
var tesseract_minExports = tesseract_min$1.exports;
|
|
5168
5114
|
var tesseract_min = /*@__PURE__*/ getDefaultExportFromCjs(tesseract_minExports);
|
|
5169
5115
|
|
|
5170
|
-
class HiddenElement extends
|
|
5116
|
+
class HiddenElement extends i {
|
|
5171
5117
|
get value() {
|
|
5172
5118
|
return this._value;
|
|
5173
5119
|
}
|
|
@@ -5216,7 +5162,7 @@ HiddenElement = __decorate([
|
|
|
5216
5162
|
t('digipair-input-ocr-selector')
|
|
5217
5163
|
], HiddenElement);
|
|
5218
5164
|
|
|
5219
|
-
class InputOcrElement extends
|
|
5165
|
+
class InputOcrElement extends i {
|
|
5220
5166
|
get content() {
|
|
5221
5167
|
return this._content;
|
|
5222
5168
|
}
|