@digipair/skill-web-pdf 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} +138 -210
- package/{index.esm.js → dist/index.esm.js} +137 -189
- package/{libs/skill-web-pdf → dist}/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/{libs/skill-web-pdf → dist}/src/lib/input-pdf.element.d.ts +1 -0
- package/dist/src/lib/input-pdf.element.d.ts.map +1 -0
- package/dist/src/lib/skill-web-pdf.d.ts +2 -0
- package/dist/src/lib/skill-web-pdf.d.ts.map +1 -0
- package/dist/src/lib/skill-web-pdf.spec.d.ts +2 -0
- package/dist/src/lib/skill-web-pdf.spec.d.ts.map +1 -0
- package/package.json +22 -6
- package/index.d.ts +0 -1
- package/libs/skill-web-pdf/src/lib/skill-web-pdf.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
|
@@ -4,7 +4,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
4
4
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
}
|
|
7
|
-
typeof SuppressedError === "function" ? SuppressedError : function
|
|
7
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
8
8
|
var e = new Error(message);
|
|
9
9
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
10
10
|
};
|
|
@@ -29,7 +29,6 @@ function _defineProperties$3(target, props) {
|
|
|
29
29
|
}
|
|
30
30
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
|
31
31
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
32
|
-
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
|
33
32
|
return Constructor;
|
|
34
33
|
}
|
|
35
34
|
function _instanceof(left, right) {
|
|
@@ -39,11 +38,11 @@ function _instanceof(left, right) {
|
|
|
39
38
|
return left instanceof right;
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
|
-
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$
|
|
41
|
+
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;
|
|
43
42
|
var n$3 = /*#__PURE__*/ function() {
|
|
44
43
|
function n(t, e, o) {
|
|
45
44
|
_class_call_check$3(this, n);
|
|
46
|
-
if (this._$cssResult$ =
|
|
45
|
+
if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
47
46
|
this.cssText = t, this.t = e;
|
|
48
47
|
}
|
|
49
48
|
_create_class$3(n, [
|
|
@@ -54,7 +53,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
54
53
|
var s = this.t;
|
|
55
54
|
if (e$2 && void 0 === t) {
|
|
56
55
|
var e1 = void 0 !== s && 1 === s.length;
|
|
57
|
-
e1 && (t = o$
|
|
56
|
+
e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
|
|
58
57
|
}
|
|
59
58
|
return t;
|
|
60
59
|
}
|
|
@@ -68,20 +67,20 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
68
67
|
]);
|
|
69
68
|
return n;
|
|
70
69
|
}();
|
|
71
|
-
var r$
|
|
72
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
|
70
|
+
var r$4 = function(t) {
|
|
71
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
|
|
73
72
|
}, i$3 = function(t) {
|
|
74
73
|
for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
75
74
|
e[_key - 1] = arguments[_key];
|
|
76
75
|
}
|
|
77
76
|
var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
|
|
78
77
|
return e + function(t) {
|
|
79
|
-
if (
|
|
78
|
+
if (true === t._$cssResult$) return t.cssText;
|
|
80
79
|
if ("number" == typeof t) return t;
|
|
81
80
|
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.");
|
|
82
81
|
}(s) + t[o + 1];
|
|
83
82
|
}, t[0]);
|
|
84
|
-
return new n$3(o, t, s$
|
|
83
|
+
return new n$3(o, t, s$2);
|
|
85
84
|
}, S$1 = function(s, o) {
|
|
86
85
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
87
86
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
|
@@ -132,7 +131,7 @@ var r$5 = function(t) {
|
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
|
-
return r$
|
|
134
|
+
return r$4(e);
|
|
136
135
|
}(t) : t;
|
|
137
136
|
};
|
|
138
137
|
|
|
@@ -274,7 +273,7 @@ function _non_iterable_spread$1() {
|
|
|
274
273
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
275
274
|
}
|
|
276
275
|
function _possible_constructor_return$2(self, call) {
|
|
277
|
-
if (call && (_type_of$
|
|
276
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
278
277
|
return call;
|
|
279
278
|
}
|
|
280
279
|
return _assert_this_initialized$2(self);
|
|
@@ -292,7 +291,7 @@ function _sliced_to_array$1(arr, i) {
|
|
|
292
291
|
function _to_consumable_array$1(arr) {
|
|
293
292
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
|
294
293
|
}
|
|
295
|
-
function _type_of$
|
|
294
|
+
function _type_of$3(obj) {
|
|
296
295
|
"@swc/helpers - typeof";
|
|
297
296
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
298
297
|
}
|
|
@@ -454,7 +453,7 @@ var _Symbol, _a, _a1;
|
|
|
454
453
|
* @license
|
|
455
454
|
* Copyright 2017 Google LLC
|
|
456
455
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
457
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
|
456
|
+
*/ 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) {
|
|
458
457
|
return t;
|
|
459
458
|
}, u$1 = {
|
|
460
459
|
toAttribute: function toAttribute(t, s) {
|
|
@@ -489,25 +488,26 @@ var _Symbol, _a, _a1;
|
|
|
489
488
|
}
|
|
490
489
|
}, f$1 = function(t, s) {
|
|
491
490
|
return !i$2(t, s);
|
|
492
|
-
},
|
|
493
|
-
attribute:
|
|
491
|
+
}, b = {
|
|
492
|
+
attribute: true,
|
|
494
493
|
type: String,
|
|
495
494
|
converter: u$1,
|
|
496
|
-
reflect:
|
|
495
|
+
reflect: false,
|
|
496
|
+
useDefault: false,
|
|
497
497
|
hasChanged: f$1
|
|
498
498
|
};
|
|
499
499
|
var _metadata, _litPropertyMetadata;
|
|
500
500
|
(_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;
|
|
501
|
-
var
|
|
502
|
-
_inherits$2(
|
|
503
|
-
var _super = _create_super$2(
|
|
504
|
-
function
|
|
505
|
-
_class_call_check$2(this,
|
|
501
|
+
var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
502
|
+
_inherits$2(y, HTMLElement1);
|
|
503
|
+
var _super = _create_super$2(y);
|
|
504
|
+
function y() {
|
|
505
|
+
_class_call_check$2(this, y);
|
|
506
506
|
var _this;
|
|
507
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
|
507
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
|
|
508
508
|
return _possible_constructor_return$2(_this);
|
|
509
509
|
}
|
|
510
|
-
_create_class$2(
|
|
510
|
+
_create_class$2(y, [
|
|
511
511
|
{
|
|
512
512
|
key: "_$Ev",
|
|
513
513
|
value: function _$Ev() {
|
|
@@ -575,7 +575,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
575
575
|
value: function connectedCallback() {
|
|
576
576
|
var _this__$EO;
|
|
577
577
|
var _this_renderRoot;
|
|
578
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
|
578
|
+
(_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) {
|
|
579
579
|
var _t_hostConnected;
|
|
580
580
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
|
581
581
|
});
|
|
@@ -602,13 +602,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
{
|
|
605
|
-
key: "_$
|
|
606
|
-
value: function _$
|
|
605
|
+
key: "_$ET",
|
|
606
|
+
value: function _$ET(t, s) {
|
|
607
607
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
|
608
|
-
if (void 0 !== e &&
|
|
608
|
+
if (void 0 !== e && true === i.reflect) {
|
|
609
609
|
var _i_converter;
|
|
610
|
-
var
|
|
611
|
-
this._$Em = t, null ==
|
|
610
|
+
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);
|
|
611
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
},
|
|
@@ -617,11 +617,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
617
617
|
value: function _$AK(t, s) {
|
|
618
618
|
var i = this.constructor, e = i._$Eh.get(t);
|
|
619
619
|
if (void 0 !== e && this._$Em !== e) {
|
|
620
|
-
var _t_converter;
|
|
621
|
-
var _$t = i.getPropertyOptions(e),
|
|
620
|
+
var _t_converter, _this__$Ej;
|
|
621
|
+
var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
|
|
622
622
|
fromAttribute: _$t.converter
|
|
623
623
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
|
624
|
-
|
|
624
|
+
var _h_fromAttribute, _ref;
|
|
625
|
+
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;
|
|
625
626
|
}
|
|
626
627
|
}
|
|
627
628
|
},
|
|
@@ -629,30 +630,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
629
630
|
key: "requestUpdate",
|
|
630
631
|
value: function requestUpdate(t, s, i) {
|
|
631
632
|
if (void 0 !== t) {
|
|
633
|
+
var _this__$Ej;
|
|
634
|
+
var e = this.constructor, h = this[t];
|
|
632
635
|
var _i_hasChanged;
|
|
633
|
-
if (i !== null && i !== void 0 ? i : i =
|
|
634
|
-
this.
|
|
636
|
+
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;
|
|
637
|
+
this.C(t, s, i);
|
|
635
638
|
}
|
|
636
|
-
|
|
639
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
637
640
|
}
|
|
638
641
|
},
|
|
639
642
|
{
|
|
640
|
-
key: "
|
|
641
|
-
value: function
|
|
642
|
-
var
|
|
643
|
-
|
|
643
|
+
key: "C",
|
|
644
|
+
value: function C(t, s, param, r) {
|
|
645
|
+
var i = param.useDefault, e = param.reflect, h = param.wrapped;
|
|
646
|
+
var _this__$Ej, _ref, _this__$Eq;
|
|
647
|
+
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));
|
|
644
648
|
}
|
|
645
649
|
},
|
|
646
650
|
{
|
|
647
|
-
key: "_$
|
|
648
|
-
value: function _$
|
|
651
|
+
key: "_$EP",
|
|
652
|
+
value: function _$EP() {
|
|
649
653
|
var _this = this;
|
|
650
654
|
return _async_to_generator(function() {
|
|
651
655
|
var t, _$t, _tmp;
|
|
652
656
|
return _ts_generator(this, function(_state) {
|
|
653
657
|
switch(_state.label){
|
|
654
658
|
case 0:
|
|
655
|
-
_this.isUpdatePending =
|
|
659
|
+
_this.isUpdatePending = true;
|
|
656
660
|
_state.label = 1;
|
|
657
661
|
case 1:
|
|
658
662
|
_state.trys.push([
|
|
@@ -742,7 +746,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
742
746
|
if (t1.size > 0) try {
|
|
743
747
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
744
748
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
745
|
-
|
|
749
|
+
var t2 = i.wrapped, e = this[_$s1];
|
|
750
|
+
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
|
746
751
|
}
|
|
747
752
|
} catch (err) {
|
|
748
753
|
_didIteratorError1 = true;
|
|
@@ -759,18 +764,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
759
764
|
}
|
|
760
765
|
}
|
|
761
766
|
}
|
|
762
|
-
var
|
|
767
|
+
var t3 = false;
|
|
763
768
|
var _$s2 = this._$AL;
|
|
764
769
|
try {
|
|
765
770
|
var _this__$EO;
|
|
766
|
-
|
|
771
|
+
t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
767
772
|
var _t_hostUpdate;
|
|
768
773
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
|
769
|
-
}), this.update(_$s2)) : this._$
|
|
774
|
+
}), this.update(_$s2)) : this._$EM();
|
|
770
775
|
} catch (s) {
|
|
771
|
-
throw
|
|
776
|
+
throw t3 = false, this._$EM(), s;
|
|
772
777
|
}
|
|
773
|
-
|
|
778
|
+
t3 && this._$AE(_$s2);
|
|
774
779
|
}
|
|
775
780
|
},
|
|
776
781
|
{
|
|
@@ -784,13 +789,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
784
789
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
785
790
|
var _t_hostUpdated;
|
|
786
791
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
|
787
|
-
}), this.hasUpdated || (this.hasUpdated =
|
|
792
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
|
788
793
|
}
|
|
789
794
|
},
|
|
790
795
|
{
|
|
791
|
-
key: "_$
|
|
792
|
-
value: function _$
|
|
793
|
-
this._$AL = new Map, this.isUpdatePending =
|
|
796
|
+
key: "_$EM",
|
|
797
|
+
value: function _$EM() {
|
|
798
|
+
this._$AL = new Map, this.isUpdatePending = false;
|
|
794
799
|
}
|
|
795
800
|
},
|
|
796
801
|
{
|
|
@@ -808,16 +813,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
808
813
|
{
|
|
809
814
|
key: "shouldUpdate",
|
|
810
815
|
value: function shouldUpdate(t) {
|
|
811
|
-
return
|
|
816
|
+
return true;
|
|
812
817
|
}
|
|
813
818
|
},
|
|
814
819
|
{
|
|
815
820
|
key: "update",
|
|
816
821
|
value: function update(t) {
|
|
817
822
|
var _this = this;
|
|
818
|
-
this._$
|
|
819
|
-
return _this._$
|
|
820
|
-
})), this._$
|
|
823
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
|
|
824
|
+
return _this._$ET(t, _this[t]);
|
|
825
|
+
})), this._$EM();
|
|
821
826
|
}
|
|
822
827
|
},
|
|
823
828
|
{
|
|
@@ -845,35 +850,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
845
850
|
{
|
|
846
851
|
key: "createProperty",
|
|
847
852
|
value: function createProperty(t) {
|
|
848
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
849
|
-
if (s.state && (s.attribute =
|
|
850
|
-
var i = Symbol(),
|
|
851
|
-
void 0 !==
|
|
853
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
|
|
854
|
+
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) {
|
|
855
|
+
var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
|
|
856
|
+
void 0 !== h && e$1(this.prototype, t, h);
|
|
852
857
|
}
|
|
853
858
|
}
|
|
854
859
|
},
|
|
855
860
|
{
|
|
856
861
|
key: "getPropertyDescriptor",
|
|
857
862
|
value: function getPropertyDescriptor(t, s, i) {
|
|
858
|
-
var
|
|
859
|
-
var _ref = (
|
|
863
|
+
var _h;
|
|
864
|
+
var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
|
|
860
865
|
get: function get() {
|
|
861
866
|
return this[s];
|
|
862
867
|
},
|
|
863
868
|
set: function set(t) {
|
|
864
869
|
this[s] = t;
|
|
865
870
|
}
|
|
866
|
-
}, e = _ref.get,
|
|
871
|
+
}, e = _ref.get, r = _ref.set;
|
|
867
872
|
return {
|
|
868
|
-
get:
|
|
869
|
-
return e === null || e === void 0 ? void 0 : e.call(this);
|
|
870
|
-
},
|
|
873
|
+
get: e,
|
|
871
874
|
set: function set(s) {
|
|
872
|
-
var
|
|
873
|
-
|
|
875
|
+
var h = e === null || e === void 0 ? void 0 : e.call(this);
|
|
876
|
+
r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
|
|
874
877
|
},
|
|
875
|
-
configurable:
|
|
876
|
-
enumerable:
|
|
878
|
+
configurable: true,
|
|
879
|
+
enumerable: true
|
|
877
880
|
};
|
|
878
881
|
}
|
|
879
882
|
},
|
|
@@ -881,7 +884,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
881
884
|
key: "getPropertyOptions",
|
|
882
885
|
value: function getPropertyOptions(t) {
|
|
883
886
|
var _this_elementProperties_get;
|
|
884
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
|
887
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
|
|
885
888
|
}
|
|
886
889
|
},
|
|
887
890
|
{
|
|
@@ -896,8 +899,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
896
899
|
key: "finalize",
|
|
897
900
|
value: function finalize() {
|
|
898
901
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
|
899
|
-
if (this.finalized =
|
|
900
|
-
var t = this.properties, s = _to_consumable_array$1(
|
|
902
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
|
903
|
+
var t = this.properties, s = _to_consumable_array$1(r$3(t)).concat(_to_consumable_array$1(o$3(t)));
|
|
901
904
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
902
905
|
try {
|
|
903
906
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -1002,18 +1005,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1002
1005
|
key: "_$Eu",
|
|
1003
1006
|
value: function _$Eu(t, s) {
|
|
1004
1007
|
var i = s.attribute;
|
|
1005
|
-
return
|
|
1008
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
1006
1009
|
}
|
|
1007
1010
|
}
|
|
1008
1011
|
]);
|
|
1009
|
-
return
|
|
1012
|
+
return y;
|
|
1010
1013
|
}(_wrap_native_super(HTMLElement));
|
|
1011
1014
|
var _reactiveElementVersions;
|
|
1012
|
-
|
|
1015
|
+
y$1.elementStyles = [], y$1.shadowRootOptions = {
|
|
1013
1016
|
mode: "open"
|
|
1014
|
-
},
|
|
1015
|
-
ReactiveElement:
|
|
1016
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0
|
|
1017
|
+
}, 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({
|
|
1018
|
+
ReactiveElement: y$1
|
|
1019
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.0");
|
|
1017
1020
|
|
|
1018
1021
|
/**
|
|
1019
1022
|
* @license
|
|
@@ -1108,7 +1111,7 @@ function _non_iterable_spread() {
|
|
|
1108
1111
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1109
1112
|
}
|
|
1110
1113
|
function _possible_constructor_return$1(self, call) {
|
|
1111
|
-
if (call && (_type_of$
|
|
1114
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
|
1112
1115
|
return call;
|
|
1113
1116
|
}
|
|
1114
1117
|
return _assert_this_initialized$1(self);
|
|
@@ -1126,7 +1129,7 @@ function _sliced_to_array(arr, i) {
|
|
|
1126
1129
|
function _to_consumable_array(arr) {
|
|
1127
1130
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
1128
1131
|
}
|
|
1129
|
-
function _type_of$
|
|
1132
|
+
function _type_of$2(obj) {
|
|
1130
1133
|
"@swc/helpers - typeof";
|
|
1131
1134
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1132
1135
|
}
|
|
@@ -1163,17 +1166,17 @@ function _create_super$1(Derived) {
|
|
|
1163
1166
|
};
|
|
1164
1167
|
}
|
|
1165
1168
|
var _t;
|
|
1166
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
|
1169
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
|
|
1167
1170
|
createHTML: function(t) {
|
|
1168
1171
|
return t;
|
|
1169
1172
|
}
|
|
1170
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
|
1171
|
-
return r$
|
|
1173
|
+
}) : 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() {
|
|
1174
|
+
return r$2.createComment("");
|
|
1172
1175
|
}, c = function(t) {
|
|
1173
|
-
return null === t || "object" != typeof t && "function" != typeof t;
|
|
1176
|
+
return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$2(t)) && "function" != typeof t;
|
|
1174
1177
|
}, a = Array.isArray, u = function(t) {
|
|
1175
1178
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
|
1176
|
-
}, d = "[
|
|
1179
|
+
}, 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) {
|
|
1177
1180
|
return function(i) {
|
|
1178
1181
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
1179
1182
|
s[_key - 1] = arguments[_key];
|
|
@@ -1184,10 +1187,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
|
|
|
1184
1187
|
values: s
|
|
1185
1188
|
};
|
|
1186
1189
|
};
|
|
1187
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
|
1190
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
|
|
1188
1191
|
function P(t, i) {
|
|
1189
1192
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1190
|
-
return void 0 !== s ? s.createHTML(i) : i;
|
|
1193
|
+
return void 0 !== s$1 ? s$1.createHTML(i) : i;
|
|
1191
1194
|
}
|
|
1192
1195
|
var V = function(t, i) {
|
|
1193
1196
|
var s = t.length - 1, o = [];
|
|
@@ -1262,7 +1265,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1262
1265
|
r.append(t3[s2], l());
|
|
1263
1266
|
}
|
|
1264
1267
|
}
|
|
1265
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
|
1268
|
+
} else if (8 === r.nodeType) if (r.data === o$2) d.push({
|
|
1266
1269
|
type: 2,
|
|
1267
1270
|
index: c
|
|
1268
1271
|
});
|
|
@@ -1280,7 +1283,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1280
1283
|
{
|
|
1281
1284
|
key: "createElement",
|
|
1282
1285
|
value: function createElement(t, i) {
|
|
1283
|
-
var s = r$
|
|
1286
|
+
var s = r$2.createElement("template");
|
|
1284
1287
|
return s.innerHTML = t, s;
|
|
1285
1288
|
}
|
|
1286
1289
|
}
|
|
@@ -1295,7 +1298,7 @@ function S(t, i) {
|
|
|
1295
1298
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
|
1296
1299
|
var o = c(i) ? void 0 : i._$litDirective$;
|
|
1297
1300
|
var __$Co;
|
|
1298
|
-
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,
|
|
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, 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;
|
|
1299
1302
|
}
|
|
1300
1303
|
var M = /*#__PURE__*/ function() {
|
|
1301
1304
|
function M(t, i) {
|
|
@@ -1319,7 +1322,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1319
1322
|
key: "u",
|
|
1320
1323
|
value: function u(t) {
|
|
1321
1324
|
var _t_creationScope;
|
|
1322
|
-
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$
|
|
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$2).importNode(i, true);
|
|
1323
1326
|
C.currentNode = e;
|
|
1324
1327
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
|
1325
1328
|
for(; void 0 !== l;){
|
|
@@ -1329,7 +1332,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1329
1332
|
}
|
|
1330
1333
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
|
1331
1334
|
}
|
|
1332
|
-
return C.currentNode = r$
|
|
1335
|
+
return C.currentNode = r$2, e;
|
|
1333
1336
|
}
|
|
1334
1337
|
},
|
|
1335
1338
|
{
|
|
@@ -1365,7 +1368,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1365
1368
|
function R(t, i, s, e) {
|
|
1366
1369
|
_class_call_check$1(this, R);
|
|
1367
1370
|
var _e_isConnected;
|
|
1368
|
-
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 :
|
|
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 : true;
|
|
1369
1372
|
}
|
|
1370
1373
|
_create_class$1(R, [
|
|
1371
1374
|
{
|
|
@@ -1418,7 +1421,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1418
1421
|
{
|
|
1419
1422
|
key: "_",
|
|
1420
1423
|
value: function _(t) {
|
|
1421
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
|
1424
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
|
|
1422
1425
|
}
|
|
1423
1426
|
},
|
|
1424
1427
|
{
|
|
@@ -1474,7 +1477,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1474
1477
|
value: function _$AR() {
|
|
1475
1478
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1476
1479
|
var _this__$AP, _this;
|
|
1477
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
|
1480
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t && t !== this._$AB;){
|
|
1478
1481
|
var i1 = t.nextSibling;
|
|
1479
1482
|
t.remove(), t = i1;
|
|
1480
1483
|
}
|
|
@@ -1513,7 +1516,7 @@ var k = /*#__PURE__*/ function() {
|
|
|
1513
1516
|
value: function _$AI(t) {
|
|
1514
1517
|
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;
|
|
1515
1518
|
var h = this.strings;
|
|
1516
|
-
var o =
|
|
1519
|
+
var o = false;
|
|
1517
1520
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
|
1518
1521
|
else {
|
|
1519
1522
|
var e1 = t;
|
|
@@ -1628,7 +1631,7 @@ var z = /*#__PURE__*/ function() {
|
|
|
1628
1631
|
}();
|
|
1629
1632
|
var j = t$1.litHtmlPolyfillSupport;
|
|
1630
1633
|
var _litHtmlVersions;
|
|
1631
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
|
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.3.0");
|
|
1632
1635
|
var B = function(t, i, s) {
|
|
1633
1636
|
var _s_renderBefore;
|
|
1634
1637
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
|
@@ -1663,7 +1666,6 @@ function _defineProperties(target, props) {
|
|
|
1663
1666
|
}
|
|
1664
1667
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
1665
1668
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1666
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1667
1669
|
return Constructor;
|
|
1668
1670
|
}
|
|
1669
1671
|
function _get(target, property, receiver) {
|
|
@@ -1702,7 +1704,7 @@ function _inherits(subClass, superClass) {
|
|
|
1702
1704
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1703
1705
|
}
|
|
1704
1706
|
function _possible_constructor_return(self, call) {
|
|
1705
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
1707
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
|
|
1706
1708
|
return call;
|
|
1707
1709
|
}
|
|
1708
1710
|
return _assert_this_initialized(self);
|
|
@@ -1721,7 +1723,7 @@ function _super_prop_base(object, property) {
|
|
|
1721
1723
|
}
|
|
1722
1724
|
return object;
|
|
1723
1725
|
}
|
|
1724
|
-
function _type_of(obj) {
|
|
1726
|
+
function _type_of$1(obj) {
|
|
1725
1727
|
"@swc/helpers - typeof";
|
|
1726
1728
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1727
1729
|
}
|
|
@@ -1749,17 +1751,18 @@ function _create_super(Derived) {
|
|
|
1749
1751
|
return _possible_constructor_return(this, result);
|
|
1750
1752
|
};
|
|
1751
1753
|
}
|
|
1752
|
-
var
|
|
1753
|
-
var
|
|
1754
|
+
var _s_litElementHydrateSupport;
|
|
1755
|
+
var _s;
|
|
1754
1756
|
/**
|
|
1755
1757
|
* @license
|
|
1756
1758
|
* Copyright 2017 Google LLC
|
|
1757
1759
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1758
|
-
*/ var
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1760
|
+
*/ var s = globalThis;
|
|
1761
|
+
var i = /*#__PURE__*/ function(t) {
|
|
1762
|
+
_inherits(i, t);
|
|
1763
|
+
var _super = _create_super(i);
|
|
1764
|
+
function i() {
|
|
1765
|
+
_class_call_check(this, i);
|
|
1763
1766
|
var _this;
|
|
1764
1767
|
_this = _super.call.apply(_super, [
|
|
1765
1768
|
this
|
|
@@ -1768,12 +1771,12 @@ var _globalThis1;
|
|
|
1768
1771
|
}, _this._$Do = void 0;
|
|
1769
1772
|
return _possible_constructor_return(_this);
|
|
1770
1773
|
}
|
|
1771
|
-
_create_class(
|
|
1774
|
+
_create_class(i, [
|
|
1772
1775
|
{
|
|
1773
1776
|
key: "createRenderRoot",
|
|
1774
1777
|
value: function createRenderRoot() {
|
|
1775
1778
|
var _this_renderOptions;
|
|
1776
|
-
var _$t = _get(_get_prototype_of(
|
|
1779
|
+
var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
|
|
1777
1780
|
var _renderBefore;
|
|
1778
1781
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
1779
1782
|
}
|
|
@@ -1781,22 +1784,22 @@ var _globalThis1;
|
|
|
1781
1784
|
{
|
|
1782
1785
|
key: "update",
|
|
1783
1786
|
value: function update(t) {
|
|
1784
|
-
var
|
|
1785
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
|
1787
|
+
var r = this.render();
|
|
1788
|
+
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);
|
|
1786
1789
|
}
|
|
1787
1790
|
},
|
|
1788
1791
|
{
|
|
1789
1792
|
key: "connectedCallback",
|
|
1790
1793
|
value: function connectedCallback() {
|
|
1791
1794
|
var _this__$Do;
|
|
1792
|
-
_get(_get_prototype_of(
|
|
1795
|
+
_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);
|
|
1793
1796
|
}
|
|
1794
1797
|
},
|
|
1795
1798
|
{
|
|
1796
1799
|
key: "disconnectedCallback",
|
|
1797
1800
|
value: function disconnectedCallback() {
|
|
1798
1801
|
var _this__$Do;
|
|
1799
|
-
_get(_get_prototype_of(
|
|
1802
|
+
_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);
|
|
1800
1803
|
}
|
|
1801
1804
|
},
|
|
1802
1805
|
{
|
|
@@ -1806,17 +1809,17 @@ var _globalThis1;
|
|
|
1806
1809
|
}
|
|
1807
1810
|
}
|
|
1808
1811
|
]);
|
|
1809
|
-
return
|
|
1810
|
-
}(
|
|
1811
|
-
|
|
1812
|
-
LitElement:
|
|
1812
|
+
return i;
|
|
1813
|
+
}(y$1);
|
|
1814
|
+
i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
|
|
1815
|
+
LitElement: i
|
|
1813
1816
|
});
|
|
1814
|
-
var
|
|
1815
|
-
|
|
1816
|
-
LitElement:
|
|
1817
|
+
var o$1 = s.litElementPolyfillSupport;
|
|
1818
|
+
o$1 === null || o$1 === void 0 ? void 0 : o$1({
|
|
1819
|
+
LitElement: i
|
|
1817
1820
|
});
|
|
1818
1821
|
var _litElementVersions;
|
|
1819
|
-
((_litElementVersions = (
|
|
1822
|
+
((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.0");
|
|
1820
1823
|
|
|
1821
1824
|
/**
|
|
1822
1825
|
* @license
|
|
@@ -1830,73 +1833,25 @@ var _litElementVersions;
|
|
|
1830
1833
|
};
|
|
1831
1834
|
};
|
|
1832
1835
|
|
|
1833
|
-
function
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
value: value,
|
|
1837
|
-
enumerable: true,
|
|
1838
|
-
configurable: true,
|
|
1839
|
-
writable: true
|
|
1840
|
-
});
|
|
1841
|
-
} else {
|
|
1842
|
-
obj[key] = value;
|
|
1843
|
-
}
|
|
1844
|
-
return obj;
|
|
1845
|
-
}
|
|
1846
|
-
function _object_spread$1(target) {
|
|
1847
|
-
for(var i = 1; i < arguments.length; i++){
|
|
1848
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
1849
|
-
var ownKeys = Object.keys(source);
|
|
1850
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1851
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1852
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1853
|
-
}));
|
|
1854
|
-
}
|
|
1855
|
-
ownKeys.forEach(function(key) {
|
|
1856
|
-
_define_property$1(target, key, source[key]);
|
|
1857
|
-
});
|
|
1858
|
-
}
|
|
1859
|
-
return target;
|
|
1860
|
-
}
|
|
1861
|
-
function ownKeys$1(object, enumerableOnly) {
|
|
1862
|
-
var keys = Object.keys(object);
|
|
1863
|
-
if (Object.getOwnPropertySymbols) {
|
|
1864
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
1865
|
-
if (enumerableOnly) {
|
|
1866
|
-
symbols = symbols.filter(function(sym) {
|
|
1867
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1868
|
-
});
|
|
1869
|
-
}
|
|
1870
|
-
keys.push.apply(keys, symbols);
|
|
1871
|
-
}
|
|
1872
|
-
return keys;
|
|
1873
|
-
}
|
|
1874
|
-
function _object_spread_props$1(target, source) {
|
|
1875
|
-
source = source != null ? source : {};
|
|
1876
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
1877
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1878
|
-
} else {
|
|
1879
|
-
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1880
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1881
|
-
});
|
|
1882
|
-
}
|
|
1883
|
-
return target;
|
|
1836
|
+
function _type_of(obj) {
|
|
1837
|
+
"@swc/helpers - typeof";
|
|
1838
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1884
1839
|
}
|
|
1885
1840
|
/**
|
|
1886
1841
|
* @license
|
|
1887
1842
|
* Copyright 2017 Google LLC
|
|
1888
1843
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1889
1844
|
*/ var o = {
|
|
1890
|
-
attribute:
|
|
1845
|
+
attribute: true,
|
|
1891
1846
|
type: String,
|
|
1892
1847
|
converter: u$1,
|
|
1893
|
-
reflect:
|
|
1848
|
+
reflect: false,
|
|
1894
1849
|
hasChanged: f$1
|
|
1895
1850
|
}, r$1 = function() {
|
|
1896
1851
|
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;
|
|
1897
1852
|
var n = r.kind, i = r.metadata;
|
|
1898
1853
|
var s = globalThis.litPropertyMetadata.get(i);
|
|
1899
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
|
1854
|
+
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) {
|
|
1900
1855
|
var o1 = r.name;
|
|
1901
1856
|
return {
|
|
1902
1857
|
set: function set(r) {
|
|
@@ -1904,7 +1859,7 @@ function _object_spread_props$1(target, source) {
|
|
|
1904
1859
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
|
1905
1860
|
},
|
|
1906
1861
|
init: function init(e) {
|
|
1907
|
-
return void 0 !== e && this.
|
|
1862
|
+
return void 0 !== e && this.C(o1, void 0, _$t, e), e;
|
|
1908
1863
|
}
|
|
1909
1864
|
};
|
|
1910
1865
|
}
|
|
@@ -1919,11 +1874,9 @@ function _object_spread_props$1(target, source) {
|
|
|
1919
1874
|
};
|
|
1920
1875
|
function n(t) {
|
|
1921
1876
|
return function(e, o) {
|
|
1922
|
-
return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
|
|
1877
|
+
return "object" == (typeof o === "undefined" ? "undefined" : _type_of(o)) ? r$1(t, e, o) : function(t, e, o) {
|
|
1923
1878
|
var r = e.hasOwnProperty(o);
|
|
1924
|
-
return e.constructor.createProperty(o, r ?
|
|
1925
|
-
wrapped: !0
|
|
1926
|
-
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1879
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1927
1880
|
}(t, e, o);
|
|
1928
1881
|
};
|
|
1929
1882
|
}
|
|
@@ -1960,11 +1913,6 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1960
1913
|
var keys = Object.keys(object);
|
|
1961
1914
|
if (Object.getOwnPropertySymbols) {
|
|
1962
1915
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1963
|
-
if (enumerableOnly) {
|
|
1964
|
-
symbols = symbols.filter(function(sym) {
|
|
1965
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
1916
|
keys.push.apply(keys, symbols);
|
|
1969
1917
|
}
|
|
1970
1918
|
return keys;
|
|
@@ -1986,12 +1934,12 @@ function _object_spread_props(target, source) {
|
|
|
1986
1934
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1987
1935
|
*/ function r(r) {
|
|
1988
1936
|
return n(_object_spread_props(_object_spread({}, r), {
|
|
1989
|
-
state:
|
|
1990
|
-
attribute:
|
|
1937
|
+
state: true,
|
|
1938
|
+
attribute: false
|
|
1991
1939
|
}));
|
|
1992
1940
|
}
|
|
1993
1941
|
|
|
1994
|
-
class InputPdfElement extends
|
|
1942
|
+
class InputPdfElement extends i {
|
|
1995
1943
|
get content() {
|
|
1996
1944
|
return this._content;
|
|
1997
1945
|
}
|