@digipair/skill-web-heygen 0.93.0 → 0.94.0-1
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} +139 -203
- package/{index.esm.js → dist/index.esm.js} +139 -201
- package/{libs/skill-web-heygen → dist}/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/{libs/skill-web-heygen → dist}/src/lib/skill-web-heygen.d.ts +2 -1
- package/dist/src/lib/skill-web-heygen.d.ts.map +1 -0
- package/dist/src/lib/skill-web-heygen.spec.d.ts +2 -0
- package/dist/src/lib/skill-web-heygen.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(left, right) {
|
@@ -46,11 +43,11 @@ function _instanceof(left, right) {
|
|
46
43
|
return left instanceof right;
|
47
44
|
}
|
48
45
|
}
|
49
|
-
var t$2 = globalThis, e$4 = 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$4 = 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$4 && 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,8 +72,8 @@ 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$3 = function(t) {
|
76
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
|
80
77
|
}, S$1 = function(s, o) {
|
81
78
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
82
79
|
if (e$4) s.adoptedStyleSheets = o.map(function(t) {
|
@@ -127,7 +124,7 @@ var r$4 = function(t) {
|
|
127
124
|
}
|
128
125
|
}
|
129
126
|
}
|
130
|
-
return r$
|
127
|
+
return r$3(e);
|
131
128
|
}(t) : t;
|
132
129
|
};
|
133
130
|
|
@@ -269,7 +266,7 @@ function _non_iterable_spread$1() {
|
|
269
266
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
270
267
|
}
|
271
268
|
function _possible_constructor_return$2(self, call) {
|
272
|
-
if (call && (_type_of$
|
269
|
+
if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
|
273
270
|
return call;
|
274
271
|
}
|
275
272
|
return _assert_this_initialized$2(self);
|
@@ -287,7 +284,7 @@ function _sliced_to_array$1(arr, i) {
|
|
287
284
|
function _to_consumable_array$1(arr) {
|
288
285
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
289
286
|
}
|
290
|
-
function _type_of$
|
287
|
+
function _type_of$4(obj) {
|
291
288
|
"@swc/helpers - typeof";
|
292
289
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
293
290
|
}
|
@@ -449,7 +446,7 @@ var _Symbol, _a, _a1;
|
|
449
446
|
* @license
|
450
447
|
* Copyright 2017 Google LLC
|
451
448
|
* SPDX-License-Identifier: BSD-3-Clause
|
452
|
-
*/ var i$2 = Object.is, e$3 = Object.defineProperty,
|
449
|
+
*/ var i$2 = Object.is, e$3 = Object.defineProperty, h$1 = Object.getOwnPropertyDescriptor, r$2 = 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) {
|
453
450
|
return t;
|
454
451
|
}, u$1 = {
|
455
452
|
toAttribute: function toAttribute(t, s) {
|
@@ -484,25 +481,26 @@ var _Symbol, _a, _a1;
|
|
484
481
|
}
|
485
482
|
}, f$1 = function(t, s) {
|
486
483
|
return !i$2(t, s);
|
487
|
-
},
|
488
|
-
attribute:
|
484
|
+
}, b = {
|
485
|
+
attribute: true,
|
489
486
|
type: String,
|
490
487
|
converter: u$1,
|
491
|
-
reflect:
|
488
|
+
reflect: false,
|
489
|
+
useDefault: false,
|
492
490
|
hasChanged: f$1
|
493
491
|
};
|
494
492
|
var _metadata, _litPropertyMetadata;
|
495
493
|
(_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;
|
496
|
-
var
|
497
|
-
_inherits$2(
|
498
|
-
var _super = _create_super$2(
|
499
|
-
function
|
500
|
-
_class_call_check$2(this,
|
494
|
+
var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
495
|
+
_inherits$2(y, HTMLElement1);
|
496
|
+
var _super = _create_super$2(y);
|
497
|
+
function y() {
|
498
|
+
_class_call_check$2(this, y);
|
501
499
|
var _this;
|
502
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
500
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
|
503
501
|
return _possible_constructor_return$2(_this);
|
504
502
|
}
|
505
|
-
_create_class$2(
|
503
|
+
_create_class$2(y, [
|
506
504
|
{
|
507
505
|
key: "_$Ev",
|
508
506
|
value: function _$Ev() {
|
@@ -570,7 +568,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
570
568
|
value: function connectedCallback() {
|
571
569
|
var _this__$EO;
|
572
570
|
var _this_renderRoot;
|
573
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
571
|
+
(_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) {
|
574
572
|
var _t_hostConnected;
|
575
573
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
576
574
|
});
|
@@ -597,13 +595,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
597
595
|
}
|
598
596
|
},
|
599
597
|
{
|
600
|
-
key: "_$
|
601
|
-
value: function _$
|
598
|
+
key: "_$ET",
|
599
|
+
value: function _$ET(t, s) {
|
602
600
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
603
|
-
if (void 0 !== e &&
|
601
|
+
if (void 0 !== e && true === i.reflect) {
|
604
602
|
var _i_converter;
|
605
|
-
var
|
606
|
-
this._$Em = t, null ==
|
603
|
+
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);
|
604
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
607
605
|
}
|
608
606
|
}
|
609
607
|
},
|
@@ -612,11 +610,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
612
610
|
value: function _$AK(t, s) {
|
613
611
|
var i = this.constructor, e = i._$Eh.get(t);
|
614
612
|
if (void 0 !== e && this._$Em !== e) {
|
615
|
-
var _t_converter;
|
616
|
-
var _$t = i.getPropertyOptions(e),
|
613
|
+
var _t_converter, _this__$Ej;
|
614
|
+
var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
|
617
615
|
fromAttribute: _$t.converter
|
618
616
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
619
|
-
|
617
|
+
var _h_fromAttribute, _ref;
|
618
|
+
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;
|
620
619
|
}
|
621
620
|
}
|
622
621
|
},
|
@@ -624,30 +623,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
624
623
|
key: "requestUpdate",
|
625
624
|
value: function requestUpdate(t, s, i) {
|
626
625
|
if (void 0 !== t) {
|
626
|
+
var _this__$Ej;
|
627
|
+
var e = this.constructor, h = this[t];
|
627
628
|
var _i_hasChanged;
|
628
|
-
if (i !== null && i !== void 0 ? i : i =
|
629
|
-
this.
|
629
|
+
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;
|
630
|
+
this.C(t, s, i);
|
630
631
|
}
|
631
|
-
|
632
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
632
633
|
}
|
633
634
|
},
|
634
635
|
{
|
635
|
-
key: "
|
636
|
-
value: function
|
637
|
-
var
|
638
|
-
|
636
|
+
key: "C",
|
637
|
+
value: function C(t, s, param, r) {
|
638
|
+
var i = param.useDefault, e = param.reflect, h = param.wrapped;
|
639
|
+
var _this__$Ej, _ref, _this__$Eq;
|
640
|
+
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));
|
639
641
|
}
|
640
642
|
},
|
641
643
|
{
|
642
|
-
key: "_$
|
643
|
-
value: function _$
|
644
|
+
key: "_$EP",
|
645
|
+
value: function _$EP() {
|
644
646
|
var _this = this;
|
645
647
|
return _async_to_generator(function() {
|
646
648
|
var t, _$t, _tmp;
|
647
649
|
return _ts_generator(this, function(_state) {
|
648
650
|
switch(_state.label){
|
649
651
|
case 0:
|
650
|
-
_this.isUpdatePending =
|
652
|
+
_this.isUpdatePending = true;
|
651
653
|
_state.label = 1;
|
652
654
|
case 1:
|
653
655
|
_state.trys.push([
|
@@ -737,7 +739,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
737
739
|
if (t1.size > 0) try {
|
738
740
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
739
741
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
740
|
-
|
742
|
+
var t2 = i.wrapped, e = this[_$s1];
|
743
|
+
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
741
744
|
}
|
742
745
|
} catch (err) {
|
743
746
|
_didIteratorError1 = true;
|
@@ -754,18 +757,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
754
757
|
}
|
755
758
|
}
|
756
759
|
}
|
757
|
-
var
|
760
|
+
var t3 = false;
|
758
761
|
var _$s2 = this._$AL;
|
759
762
|
try {
|
760
763
|
var _this__$EO;
|
761
|
-
|
764
|
+
t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
762
765
|
var _t_hostUpdate;
|
763
766
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
764
|
-
}), this.update(_$s2)) : this._$
|
767
|
+
}), this.update(_$s2)) : this._$EM();
|
765
768
|
} catch (s) {
|
766
|
-
throw
|
769
|
+
throw t3 = false, this._$EM(), s;
|
767
770
|
}
|
768
|
-
|
771
|
+
t3 && this._$AE(_$s2);
|
769
772
|
}
|
770
773
|
},
|
771
774
|
{
|
@@ -779,13 +782,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
779
782
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
780
783
|
var _t_hostUpdated;
|
781
784
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
782
|
-
}), this.hasUpdated || (this.hasUpdated =
|
785
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
783
786
|
}
|
784
787
|
},
|
785
788
|
{
|
786
|
-
key: "_$
|
787
|
-
value: function _$
|
788
|
-
this._$AL = new Map, this.isUpdatePending =
|
789
|
+
key: "_$EM",
|
790
|
+
value: function _$EM() {
|
791
|
+
this._$AL = new Map, this.isUpdatePending = false;
|
789
792
|
}
|
790
793
|
},
|
791
794
|
{
|
@@ -803,16 +806,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
803
806
|
{
|
804
807
|
key: "shouldUpdate",
|
805
808
|
value: function shouldUpdate(t) {
|
806
|
-
return
|
809
|
+
return true;
|
807
810
|
}
|
808
811
|
},
|
809
812
|
{
|
810
813
|
key: "update",
|
811
814
|
value: function update(t) {
|
812
815
|
var _this = this;
|
813
|
-
this._$
|
814
|
-
return _this._$
|
815
|
-
})), this._$
|
816
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
|
817
|
+
return _this._$ET(t, _this[t]);
|
818
|
+
})), this._$EM();
|
816
819
|
}
|
817
820
|
},
|
818
821
|
{
|
@@ -840,35 +843,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
840
843
|
{
|
841
844
|
key: "createProperty",
|
842
845
|
value: function createProperty(t) {
|
843
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
844
|
-
if (s.state && (s.attribute =
|
845
|
-
var i = Symbol(),
|
846
|
-
void 0 !==
|
846
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
|
847
|
+
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) {
|
848
|
+
var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
|
849
|
+
void 0 !== h && e$3(this.prototype, t, h);
|
847
850
|
}
|
848
851
|
}
|
849
852
|
},
|
850
853
|
{
|
851
854
|
key: "getPropertyDescriptor",
|
852
855
|
value: function getPropertyDescriptor(t, s, i) {
|
853
|
-
var
|
854
|
-
var _ref = (
|
856
|
+
var _h;
|
857
|
+
var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
|
855
858
|
get: function get() {
|
856
859
|
return this[s];
|
857
860
|
},
|
858
861
|
set: function set(t) {
|
859
862
|
this[s] = t;
|
860
863
|
}
|
861
|
-
}, e = _ref.get,
|
864
|
+
}, e = _ref.get, r = _ref.set;
|
862
865
|
return {
|
863
|
-
get:
|
864
|
-
return e === null || e === void 0 ? void 0 : e.call(this);
|
865
|
-
},
|
866
|
+
get: e,
|
866
867
|
set: function set(s) {
|
867
|
-
var
|
868
|
-
|
868
|
+
var h = e === null || e === void 0 ? void 0 : e.call(this);
|
869
|
+
r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
|
869
870
|
},
|
870
|
-
configurable:
|
871
|
-
enumerable:
|
871
|
+
configurable: true,
|
872
|
+
enumerable: true
|
872
873
|
};
|
873
874
|
}
|
874
875
|
},
|
@@ -876,7 +877,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
876
877
|
key: "getPropertyOptions",
|
877
878
|
value: function getPropertyOptions(t) {
|
878
879
|
var _this_elementProperties_get;
|
879
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
880
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
|
880
881
|
}
|
881
882
|
},
|
882
883
|
{
|
@@ -891,8 +892,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
891
892
|
key: "finalize",
|
892
893
|
value: function finalize() {
|
893
894
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
894
|
-
if (this.finalized =
|
895
|
-
var t = this.properties, s = _to_consumable_array$1(
|
895
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
896
|
+
var t = this.properties, s = _to_consumable_array$1(r$2(t)).concat(_to_consumable_array$1(o$3(t)));
|
896
897
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
897
898
|
try {
|
898
899
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
@@ -997,18 +998,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
997
998
|
key: "_$Eu",
|
998
999
|
value: function _$Eu(t, s) {
|
999
1000
|
var i = s.attribute;
|
1000
|
-
return
|
1001
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
1001
1002
|
}
|
1002
1003
|
}
|
1003
1004
|
]);
|
1004
|
-
return
|
1005
|
+
return y;
|
1005
1006
|
}(_wrap_native_super(HTMLElement));
|
1006
1007
|
var _reactiveElementVersions;
|
1007
|
-
|
1008
|
+
y$1.elementStyles = [], y$1.shadowRootOptions = {
|
1008
1009
|
mode: "open"
|
1009
|
-
},
|
1010
|
-
ReactiveElement:
|
1011
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0
|
1010
|
+
}, 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({
|
1011
|
+
ReactiveElement: y$1
|
1012
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.0");
|
1012
1013
|
|
1013
1014
|
/**
|
1014
1015
|
* @license
|
@@ -1103,7 +1104,7 @@ function _non_iterable_spread() {
|
|
1103
1104
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1104
1105
|
}
|
1105
1106
|
function _possible_constructor_return$1(self, call) {
|
1106
|
-
if (call && (_type_of$
|
1107
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
1107
1108
|
return call;
|
1108
1109
|
}
|
1109
1110
|
return _assert_this_initialized$1(self);
|
@@ -1121,7 +1122,7 @@ function _sliced_to_array(arr, i) {
|
|
1121
1122
|
function _to_consumable_array(arr) {
|
1122
1123
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
1123
1124
|
}
|
1124
|
-
function _type_of$
|
1125
|
+
function _type_of$3(obj) {
|
1125
1126
|
"@swc/helpers - typeof";
|
1126
1127
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1127
1128
|
}
|
@@ -1158,17 +1159,17 @@ function _create_super$1(Derived) {
|
|
1158
1159
|
};
|
1159
1160
|
}
|
1160
1161
|
var _t;
|
1161
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
1162
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
|
1162
1163
|
createHTML: function(t) {
|
1163
1164
|
return t;
|
1164
1165
|
}
|
1165
|
-
}) : void 0, e$2 = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
1166
|
-
return r$
|
1166
|
+
}) : void 0, e$2 = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$2 = "?" + h, n$1 = "<".concat(o$2, ">"), r$1 = document, l = function() {
|
1167
|
+
return r$1.createComment("");
|
1167
1168
|
}, c = function(t) {
|
1168
|
-
return null === t || "object" != typeof t && "function" != typeof t;
|
1169
|
+
return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$3(t)) && "function" != typeof t;
|
1169
1170
|
}, a = Array.isArray, u = function(t) {
|
1170
1171
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
1171
|
-
}, d = "[
|
1172
|
+
}, 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) {
|
1172
1173
|
return function(i) {
|
1173
1174
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
1174
1175
|
s[_key - 1] = arguments[_key];
|
@@ -1179,10 +1180,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
|
|
1179
1180
|
values: s
|
1180
1181
|
};
|
1181
1182
|
};
|
1182
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
1183
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$1.createTreeWalker(r$1, 129);
|
1183
1184
|
function P(t, i) {
|
1184
1185
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
1185
|
-
return void 0 !== s ? s.createHTML(i) : i;
|
1186
|
+
return void 0 !== s$1 ? s$1.createHTML(i) : i;
|
1186
1187
|
}
|
1187
1188
|
var V = function(t, i) {
|
1188
1189
|
var s = t.length - 1, o = [];
|
@@ -1257,7 +1258,7 @@ var N = /*#__PURE__*/ function() {
|
|
1257
1258
|
r.append(t3[s2], l());
|
1258
1259
|
}
|
1259
1260
|
}
|
1260
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
1261
|
+
} else if (8 === r.nodeType) if (r.data === o$2) d.push({
|
1261
1262
|
type: 2,
|
1262
1263
|
index: c
|
1263
1264
|
});
|
@@ -1275,7 +1276,7 @@ var N = /*#__PURE__*/ function() {
|
|
1275
1276
|
{
|
1276
1277
|
key: "createElement",
|
1277
1278
|
value: function createElement(t, i) {
|
1278
|
-
var s = r$
|
1279
|
+
var s = r$1.createElement("template");
|
1279
1280
|
return s.innerHTML = t, s;
|
1280
1281
|
}
|
1281
1282
|
}
|
@@ -1290,7 +1291,7 @@ function S(t, i) {
|
|
1290
1291
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
1291
1292
|
var o = c(i) ? void 0 : i._$litDirective$;
|
1292
1293
|
var __$Co;
|
1293
|
-
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,
|
1294
|
+
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;
|
1294
1295
|
}
|
1295
1296
|
var M = /*#__PURE__*/ function() {
|
1296
1297
|
function M(t, i) {
|
@@ -1314,7 +1315,7 @@ var M = /*#__PURE__*/ function() {
|
|
1314
1315
|
key: "u",
|
1315
1316
|
value: function u(t) {
|
1316
1317
|
var _t_creationScope;
|
1317
|
-
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$
|
1318
|
+
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$1).importNode(i, true);
|
1318
1319
|
C.currentNode = e;
|
1319
1320
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
1320
1321
|
for(; void 0 !== l;){
|
@@ -1324,7 +1325,7 @@ var M = /*#__PURE__*/ function() {
|
|
1324
1325
|
}
|
1325
1326
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
1326
1327
|
}
|
1327
|
-
return C.currentNode = r$
|
1328
|
+
return C.currentNode = r$1, e;
|
1328
1329
|
}
|
1329
1330
|
},
|
1330
1331
|
{
|
@@ -1360,7 +1361,7 @@ var R = /*#__PURE__*/ function() {
|
|
1360
1361
|
function R(t, i, s, e) {
|
1361
1362
|
_class_call_check$1(this, R);
|
1362
1363
|
var _e_isConnected;
|
1363
|
-
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 :
|
1364
|
+
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;
|
1364
1365
|
}
|
1365
1366
|
_create_class$1(R, [
|
1366
1367
|
{
|
@@ -1413,7 +1414,7 @@ var R = /*#__PURE__*/ function() {
|
|
1413
1414
|
{
|
1414
1415
|
key: "_",
|
1415
1416
|
value: function _(t) {
|
1416
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
1417
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$1.createTextNode(t)), this._$AH = t;
|
1417
1418
|
}
|
1418
1419
|
},
|
1419
1420
|
{
|
@@ -1469,7 +1470,7 @@ var R = /*#__PURE__*/ function() {
|
|
1469
1470
|
value: function _$AR() {
|
1470
1471
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
1471
1472
|
var _this__$AP, _this;
|
1472
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
1473
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t && t !== this._$AB;){
|
1473
1474
|
var i1 = t.nextSibling;
|
1474
1475
|
t.remove(), t = i1;
|
1475
1476
|
}
|
@@ -1508,7 +1509,7 @@ var k = /*#__PURE__*/ function() {
|
|
1508
1509
|
value: function _$AI(t) {
|
1509
1510
|
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;
|
1510
1511
|
var h = this.strings;
|
1511
|
-
var o =
|
1512
|
+
var o = false;
|
1512
1513
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
1513
1514
|
else {
|
1514
1515
|
var e1 = t;
|
@@ -1623,7 +1624,7 @@ var z = /*#__PURE__*/ function() {
|
|
1623
1624
|
}();
|
1624
1625
|
var j = t$1.litHtmlPolyfillSupport;
|
1625
1626
|
var _litHtmlVersions;
|
1626
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
1627
|
+
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");
|
1627
1628
|
var B = function(t, i, s) {
|
1628
1629
|
var _s_renderBefore;
|
1629
1630
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
@@ -1658,7 +1659,6 @@ function _defineProperties(target, props) {
|
|
1658
1659
|
}
|
1659
1660
|
function _create_class(Constructor, protoProps, staticProps) {
|
1660
1661
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
1661
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
1662
1662
|
return Constructor;
|
1663
1663
|
}
|
1664
1664
|
function _get(target, property, receiver) {
|
@@ -1697,7 +1697,7 @@ function _inherits(subClass, superClass) {
|
|
1697
1697
|
if (superClass) _set_prototype_of(subClass, superClass);
|
1698
1698
|
}
|
1699
1699
|
function _possible_constructor_return(self, call) {
|
1700
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
1700
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
1701
1701
|
return call;
|
1702
1702
|
}
|
1703
1703
|
return _assert_this_initialized(self);
|
@@ -1716,7 +1716,7 @@ function _super_prop_base(object, property) {
|
|
1716
1716
|
}
|
1717
1717
|
return object;
|
1718
1718
|
}
|
1719
|
-
function _type_of(obj) {
|
1719
|
+
function _type_of$2(obj) {
|
1720
1720
|
"@swc/helpers - typeof";
|
1721
1721
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1722
1722
|
}
|
@@ -1744,17 +1744,18 @@ function _create_super(Derived) {
|
|
1744
1744
|
return _possible_constructor_return(this, result);
|
1745
1745
|
};
|
1746
1746
|
}
|
1747
|
-
var
|
1748
|
-
var
|
1747
|
+
var _s_litElementHydrateSupport;
|
1748
|
+
var _s;
|
1749
1749
|
/**
|
1750
1750
|
* @license
|
1751
1751
|
* Copyright 2017 Google LLC
|
1752
1752
|
* SPDX-License-Identifier: BSD-3-Clause
|
1753
|
-
*/ var
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1753
|
+
*/ var s = globalThis;
|
1754
|
+
var i = /*#__PURE__*/ function(t) {
|
1755
|
+
_inherits(i, t);
|
1756
|
+
var _super = _create_super(i);
|
1757
|
+
function i() {
|
1758
|
+
_class_call_check(this, i);
|
1758
1759
|
var _this;
|
1759
1760
|
_this = _super.call.apply(_super, [
|
1760
1761
|
this
|
@@ -1763,12 +1764,12 @@ var _globalThis1;
|
|
1763
1764
|
}, _this._$Do = void 0;
|
1764
1765
|
return _possible_constructor_return(_this);
|
1765
1766
|
}
|
1766
|
-
_create_class(
|
1767
|
+
_create_class(i, [
|
1767
1768
|
{
|
1768
1769
|
key: "createRenderRoot",
|
1769
1770
|
value: function createRenderRoot() {
|
1770
1771
|
var _this_renderOptions;
|
1771
|
-
var _$t = _get(_get_prototype_of(
|
1772
|
+
var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
|
1772
1773
|
var _renderBefore;
|
1773
1774
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
1774
1775
|
}
|
@@ -1776,22 +1777,22 @@ var _globalThis1;
|
|
1776
1777
|
{
|
1777
1778
|
key: "update",
|
1778
1779
|
value: function update(t) {
|
1779
|
-
var
|
1780
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
1780
|
+
var r = this.render();
|
1781
|
+
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);
|
1781
1782
|
}
|
1782
1783
|
},
|
1783
1784
|
{
|
1784
1785
|
key: "connectedCallback",
|
1785
1786
|
value: function connectedCallback() {
|
1786
1787
|
var _this__$Do;
|
1787
|
-
_get(_get_prototype_of(
|
1788
|
+
_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);
|
1788
1789
|
}
|
1789
1790
|
},
|
1790
1791
|
{
|
1791
1792
|
key: "disconnectedCallback",
|
1792
1793
|
value: function disconnectedCallback() {
|
1793
1794
|
var _this__$Do;
|
1794
|
-
_get(_get_prototype_of(
|
1795
|
+
_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);
|
1795
1796
|
}
|
1796
1797
|
},
|
1797
1798
|
{
|
@@ -1801,17 +1802,17 @@ var _globalThis1;
|
|
1801
1802
|
}
|
1802
1803
|
}
|
1803
1804
|
]);
|
1804
|
-
return
|
1805
|
-
}(
|
1806
|
-
|
1807
|
-
LitElement:
|
1805
|
+
return i;
|
1806
|
+
}(y$1);
|
1807
|
+
i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
|
1808
|
+
LitElement: i
|
1808
1809
|
});
|
1809
|
-
var
|
1810
|
-
|
1811
|
-
LitElement:
|
1810
|
+
var o$1 = s.litElementPolyfillSupport;
|
1811
|
+
o$1 === null || o$1 === void 0 ? void 0 : o$1({
|
1812
|
+
LitElement: i
|
1812
1813
|
});
|
1813
1814
|
var _litElementVersions;
|
1814
|
-
((_litElementVersions = (
|
1815
|
+
((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.0");
|
1815
1816
|
|
1816
1817
|
/**
|
1817
1818
|
* @license
|
@@ -1825,73 +1826,25 @@ var _litElementVersions;
|
|
1825
1826
|
};
|
1826
1827
|
};
|
1827
1828
|
|
1828
|
-
function
|
1829
|
-
|
1830
|
-
|
1831
|
-
value: value,
|
1832
|
-
enumerable: true,
|
1833
|
-
configurable: true,
|
1834
|
-
writable: true
|
1835
|
-
});
|
1836
|
-
} else {
|
1837
|
-
obj[key] = value;
|
1838
|
-
}
|
1839
|
-
return obj;
|
1840
|
-
}
|
1841
|
-
function _object_spread(target) {
|
1842
|
-
for(var i = 1; i < arguments.length; i++){
|
1843
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
1844
|
-
var ownKeys = Object.keys(source);
|
1845
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
1846
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
1847
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
1848
|
-
}));
|
1849
|
-
}
|
1850
|
-
ownKeys.forEach(function(key) {
|
1851
|
-
_define_property(target, key, source[key]);
|
1852
|
-
});
|
1853
|
-
}
|
1854
|
-
return target;
|
1855
|
-
}
|
1856
|
-
function ownKeys(object, enumerableOnly) {
|
1857
|
-
var keys = Object.keys(object);
|
1858
|
-
if (Object.getOwnPropertySymbols) {
|
1859
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
1860
|
-
if (enumerableOnly) {
|
1861
|
-
symbols = symbols.filter(function(sym) {
|
1862
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
1863
|
-
});
|
1864
|
-
}
|
1865
|
-
keys.push.apply(keys, symbols);
|
1866
|
-
}
|
1867
|
-
return keys;
|
1868
|
-
}
|
1869
|
-
function _object_spread_props(target, source) {
|
1870
|
-
source = source != null ? source : {};
|
1871
|
-
if (Object.getOwnPropertyDescriptors) {
|
1872
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
1873
|
-
} else {
|
1874
|
-
ownKeys(Object(source)).forEach(function(key) {
|
1875
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
1876
|
-
});
|
1877
|
-
}
|
1878
|
-
return target;
|
1829
|
+
function _type_of$1(obj) {
|
1830
|
+
"@swc/helpers - typeof";
|
1831
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1879
1832
|
}
|
1880
1833
|
/**
|
1881
1834
|
* @license
|
1882
1835
|
* Copyright 2017 Google LLC
|
1883
1836
|
* SPDX-License-Identifier: BSD-3-Clause
|
1884
1837
|
*/ var o = {
|
1885
|
-
attribute:
|
1838
|
+
attribute: true,
|
1886
1839
|
type: String,
|
1887
1840
|
converter: u$1,
|
1888
|
-
reflect:
|
1841
|
+
reflect: false,
|
1889
1842
|
hasChanged: f$1
|
1890
1843
|
}, r = function() {
|
1891
1844
|
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;
|
1892
1845
|
var n = r.kind, i = r.metadata;
|
1893
1846
|
var s = globalThis.litPropertyMetadata.get(i);
|
1894
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
1847
|
+
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) {
|
1895
1848
|
var o1 = r.name;
|
1896
1849
|
return {
|
1897
1850
|
set: function set(r) {
|
@@ -1899,7 +1852,7 @@ function _object_spread_props(target, source) {
|
|
1899
1852
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
1900
1853
|
},
|
1901
1854
|
init: function init(e) {
|
1902
|
-
return void 0 !== e && this.
|
1855
|
+
return void 0 !== e && this.C(o1, void 0, _$t, e), e;
|
1903
1856
|
}
|
1904
1857
|
};
|
1905
1858
|
}
|
@@ -1914,11 +1867,9 @@ function _object_spread_props(target, source) {
|
|
1914
1867
|
};
|
1915
1868
|
function n(t) {
|
1916
1869
|
return function(e, o) {
|
1917
|
-
return "object" == typeof o ? r(t, e, o) : function(t, e, o) {
|
1870
|
+
return "object" == (typeof o === "undefined" ? "undefined" : _type_of$1(o)) ? r(t, e, o) : function(t, e, o) {
|
1918
1871
|
var r = e.hasOwnProperty(o);
|
1919
|
-
return e.constructor.createProperty(o, r ?
|
1920
|
-
wrapped: !0
|
1921
|
-
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
1872
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
1922
1873
|
}(t, e, o);
|
1923
1874
|
};
|
1924
1875
|
}
|
@@ -1927,8 +1878,12 @@ function n(t) {
|
|
1927
1878
|
* @license
|
1928
1879
|
* Copyright 2017 Google LLC
|
1929
1880
|
* SPDX-License-Identifier: BSD-3-Clause
|
1930
|
-
*/
|
1931
|
-
|
1881
|
+
*/ function _type_of(obj) {
|
1882
|
+
"@swc/helpers - typeof";
|
1883
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1884
|
+
}
|
1885
|
+
var e$1 = function(e, t, c) {
|
1886
|
+
return c.configurable = true, c.enumerable = true, Reflect.decorate && "object" != (typeof t === "undefined" ? "undefined" : _type_of(t)) && Object.defineProperty(e, t, c), c;
|
1932
1887
|
};
|
1933
1888
|
|
1934
1889
|
/**
|
@@ -1942,25 +1897,6 @@ function n(t) {
|
|
1942
1897
|
var _t_renderRoot_querySelector;
|
1943
1898
|
return (_t_renderRoot_querySelector = (_t_renderRoot = t.renderRoot) === null || _t_renderRoot === void 0 ? void 0 : _t_renderRoot.querySelector(e)) !== null && _t_renderRoot_querySelector !== void 0 ? _t_renderRoot_querySelector : null;
|
1944
1899
|
};
|
1945
|
-
if (r) {
|
1946
|
-
var _ref = "object" == typeof s ? n : i !== null && i !== void 0 ? i : function() {
|
1947
|
-
var _$t = Symbol();
|
1948
|
-
return {
|
1949
|
-
get: function get() {
|
1950
|
-
return this[_$t];
|
1951
|
-
},
|
1952
|
-
set: function set(e) {
|
1953
|
-
this[_$t] = e;
|
1954
|
-
}
|
1955
|
-
};
|
1956
|
-
}(), e1 = _ref.get, _$r = _ref.set;
|
1957
|
-
return e$1(n, s, {
|
1958
|
-
get: function get() {
|
1959
|
-
var _$t = e1.call(this);
|
1960
|
-
return void 0 === _$t && (_$t = o(this), (null !== _$t || this.hasUpdated) && _$r.call(this, _$t)), _$t;
|
1961
|
-
}
|
1962
|
-
});
|
1963
|
-
}
|
1964
1900
|
return e$1(n, s, {
|
1965
1901
|
get: function get() {
|
1966
1902
|
return o(this);
|
@@ -1969,7 +1905,7 @@ function n(t) {
|
|
1969
1905
|
};
|
1970
1906
|
}
|
1971
1907
|
|
1972
|
-
class HeygenElement extends
|
1908
|
+
class HeygenElement extends i {
|
1973
1909
|
updateStatus(status, data) {
|
1974
1910
|
this.dispatchEvent(new CustomEvent('status', {
|
1975
1911
|
detail: {
|