@digipair/skill-web-editor 0.94.0-8 → 0.95.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/{dist/index.cjs.js → index.cjs.js} +3 -1
- package/{dist/index.cjs2.js → index.cjs2.js} +180 -133
- package/index.d.ts +1 -0
- package/{dist/index.esm2.js → index.esm2.js} +180 -133
- package/{dist → libs/skill-web-editor}/src/index.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/blocks/json.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/editor.element.d.ts +0 -1
- package/libs/skill-web-editor/src/lib/generator/blockly-to-json.d.ts +1 -0
- package/{dist → libs/skill-web-editor}/src/lib/generator/json-to-blockly.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/generator/pins-to-blockly.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/schemas/web.fr.schema.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/schemas/web.schema.d.ts +0 -1
- package/libs/skill-web-editor/src/lib/skill-web-editor.d.ts +1 -0
- package/package.json +6 -22
- package/README.md +0 -7
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/lib/blocks/json.d.ts.map +0 -1
- package/dist/src/lib/editor.element.d.ts.map +0 -1
- package/dist/src/lib/generator/blockly-to-json.d.ts +0 -2
- package/dist/src/lib/generator/blockly-to-json.d.ts.map +0 -1
- package/dist/src/lib/generator/json-to-blockly.d.ts.map +0 -1
- package/dist/src/lib/generator/pins-to-blockly.d.ts.map +0 -1
- package/dist/src/lib/schemas/web.fr.schema.d.ts.map +0 -1
- package/dist/src/lib/schemas/web.schema.d.ts.map +0 -1
- package/dist/src/lib/skill-web-editor.d.ts +0 -2
- package/dist/src/lib/skill-web-editor.d.ts.map +0 -1
- package/dist/src/lib/skill-web-editor.spec.d.ts +0 -2
- package/dist/src/lib/skill-web-editor.spec.d.ts.map +0 -1
- /package/{dist/blockly-to-json.cjs.js → blockly-to-json.cjs.js} +0 -0
- /package/{dist/blockly-to-json.esm.js → blockly-to-json.esm.js} +0 -0
- /package/{dist/index.d.ts → index.cjs.d.ts} +0 -0
- /package/{dist/index.esm.js → index.esm.js} +0 -0
- /package/{dist/pins-to-blockly.cjs.js → pins-to-blockly.cjs.js} +0 -0
- /package/{dist/pins-to-blockly.esm.js → pins-to-blockly.esm.js} +0 -0
- /package/{dist/schema.fr.json → schema.fr.json} +0 -0
- /package/{dist/schema.json → schema.json} +0 -0
@@ -18,7 +18,7 @@ function __decorate(decorators, target, key, desc) {
|
|
18
18
|
function __metadata(metadataKey, metadataValue) {
|
19
19
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
20
20
|
}
|
21
|
-
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
21
|
+
typeof SuppressedError === "function" ? SuppressedError : function _SuppressedError(error, suppressed, message) {
|
22
22
|
var e = new Error(message);
|
23
23
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
24
24
|
};
|
@@ -43,6 +43,7 @@ function _defineProperties$3(target, props) {
|
|
43
43
|
}
|
44
44
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
45
45
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
46
|
+
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
46
47
|
return Constructor;
|
47
48
|
}
|
48
49
|
function _instanceof(left, right) {
|
@@ -52,11 +53,11 @@ function _instanceof(left, right) {
|
|
52
53
|
return left instanceof right;
|
53
54
|
}
|
54
55
|
}
|
55
|
-
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$
|
56
|
+
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$1 = Symbol(), o$3 = new WeakMap;
|
56
57
|
var n$3 = /*#__PURE__*/ function() {
|
57
58
|
function n(t, e, o) {
|
58
59
|
_class_call_check$3(this, n);
|
59
|
-
if (this._$cssResult$ =
|
60
|
+
if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
60
61
|
this.cssText = t, this.t = e;
|
61
62
|
}
|
62
63
|
_create_class$3(n, [
|
@@ -67,7 +68,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
67
68
|
var s = this.t;
|
68
69
|
if (e$2 && void 0 === t) {
|
69
70
|
var e1 = void 0 !== s && 1 === s.length;
|
70
|
-
e1 && (t = o$
|
71
|
+
e1 && (t = o$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$3.set(s, t));
|
71
72
|
}
|
72
73
|
return t;
|
73
74
|
}
|
@@ -81,8 +82,8 @@ var n$3 = /*#__PURE__*/ function() {
|
|
81
82
|
]);
|
82
83
|
return n;
|
83
84
|
}();
|
84
|
-
var r$
|
85
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
85
|
+
var r$4 = function(t) {
|
86
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
|
86
87
|
}, S$1 = function(s, o) {
|
87
88
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
88
89
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
@@ -133,7 +134,7 @@ var r$3 = function(t) {
|
|
133
134
|
}
|
134
135
|
}
|
135
136
|
}
|
136
|
-
return r$
|
137
|
+
return r$4(e);
|
137
138
|
}(t) : t;
|
138
139
|
};
|
139
140
|
|
@@ -275,7 +276,7 @@ function _non_iterable_spread$1() {
|
|
275
276
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
276
277
|
}
|
277
278
|
function _possible_constructor_return$2(self, call) {
|
278
|
-
if (call && (_type_of$
|
279
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
279
280
|
return call;
|
280
281
|
}
|
281
282
|
return _assert_this_initialized$2(self);
|
@@ -293,7 +294,7 @@ function _sliced_to_array$1(arr, i) {
|
|
293
294
|
function _to_consumable_array$1(arr) {
|
294
295
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
295
296
|
}
|
296
|
-
function _type_of$
|
297
|
+
function _type_of$2(obj) {
|
297
298
|
"@swc/helpers - typeof";
|
298
299
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
299
300
|
}
|
@@ -455,7 +456,7 @@ var _Symbol, _a, _a1;
|
|
455
456
|
* @license
|
456
457
|
* Copyright 2017 Google LLC
|
457
458
|
* SPDX-License-Identifier: BSD-3-Clause
|
458
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
459
|
+
*/ var i$2 = Object.is, e$1 = Object.defineProperty, r$3 = Object.getOwnPropertyDescriptor, h$1 = Object.getOwnPropertyNames, o$2 = 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) {
|
459
460
|
return t;
|
460
461
|
}, u$1 = {
|
461
462
|
toAttribute: function toAttribute(t, s) {
|
@@ -490,26 +491,25 @@ var _Symbol, _a, _a1;
|
|
490
491
|
}
|
491
492
|
}, f$1 = function(t, s) {
|
492
493
|
return !i$2(t, s);
|
493
|
-
},
|
494
|
-
attribute:
|
494
|
+
}, y$1 = {
|
495
|
+
attribute: !0,
|
495
496
|
type: String,
|
496
497
|
converter: u$1,
|
497
|
-
reflect:
|
498
|
-
useDefault: false,
|
498
|
+
reflect: !1,
|
499
499
|
hasChanged: f$1
|
500
500
|
};
|
501
501
|
var _metadata, _litPropertyMetadata;
|
502
502
|
(_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;
|
503
|
-
var
|
504
|
-
_inherits$2(
|
505
|
-
var _super = _create_super$2(
|
506
|
-
function
|
507
|
-
_class_call_check$2(this,
|
503
|
+
var b = /*#__PURE__*/ function(HTMLElement1) {
|
504
|
+
_inherits$2(b, HTMLElement1);
|
505
|
+
var _super = _create_super$2(b);
|
506
|
+
function b() {
|
507
|
+
_class_call_check$2(this, b);
|
508
508
|
var _this;
|
509
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
509
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
510
510
|
return _possible_constructor_return$2(_this);
|
511
511
|
}
|
512
|
-
_create_class$2(
|
512
|
+
_create_class$2(b, [
|
513
513
|
{
|
514
514
|
key: "_$Ev",
|
515
515
|
value: function _$Ev() {
|
@@ -577,7 +577,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
577
577
|
value: function connectedCallback() {
|
578
578
|
var _this__$EO;
|
579
579
|
var _this_renderRoot;
|
580
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
580
|
+
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(!0), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
581
581
|
var _t_hostConnected;
|
582
582
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
583
583
|
});
|
@@ -604,13 +604,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
604
604
|
}
|
605
605
|
},
|
606
606
|
{
|
607
|
-
key: "_$
|
608
|
-
value: function _$
|
607
|
+
key: "_$EC",
|
608
|
+
value: function _$EC(t, s) {
|
609
609
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
610
|
-
if (void 0 !== e &&
|
610
|
+
if (void 0 !== e && !0 === i.reflect) {
|
611
611
|
var _i_converter;
|
612
|
-
var
|
613
|
-
this._$Em = t, null ==
|
612
|
+
var r = (void 0 !== ((_i_converter = i.converter) === null || _i_converter === void 0 ? void 0 : _i_converter.toAttribute) ? i.converter : u$1).toAttribute(s, i.type);
|
613
|
+
this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
|
614
614
|
}
|
615
615
|
}
|
616
616
|
},
|
@@ -619,12 +619,11 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
619
619
|
value: function _$AK(t, s) {
|
620
620
|
var i = this.constructor, e = i._$Eh.get(t);
|
621
621
|
if (void 0 !== e && this._$Em !== e) {
|
622
|
-
var _t_converter
|
623
|
-
var _$t = i.getPropertyOptions(e),
|
622
|
+
var _t_converter;
|
623
|
+
var _$t = i.getPropertyOptions(e), r = "function" == typeof _$t.converter ? {
|
624
624
|
fromAttribute: _$t.converter
|
625
625
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
626
|
-
|
627
|
-
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;
|
626
|
+
this._$Em = e, this[e] = r.fromAttribute(s, _$t.type), this._$Em = null;
|
628
627
|
}
|
629
628
|
}
|
630
629
|
},
|
@@ -632,33 +631,30 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
632
631
|
key: "requestUpdate",
|
633
632
|
value: function requestUpdate(t, s, i) {
|
634
633
|
if (void 0 !== t) {
|
635
|
-
var _this__$Ej;
|
636
|
-
var e = this.constructor, h = this[t];
|
637
634
|
var _i_hasChanged;
|
638
|
-
if (i !== null && i !== void 0 ? i : i =
|
639
|
-
this.
|
635
|
+
if (i !== null && i !== void 0 ? i : i = this.constructor.getPropertyOptions(t), !((_i_hasChanged = i.hasChanged) !== null && _i_hasChanged !== void 0 ? _i_hasChanged : f$1)(this[t], s)) return;
|
636
|
+
this.P(t, s, i);
|
640
637
|
}
|
641
|
-
|
638
|
+
!1 === this.isUpdatePending && (this._$ES = this._$ET());
|
642
639
|
}
|
643
640
|
},
|
644
641
|
{
|
645
|
-
key: "
|
646
|
-
value: function
|
647
|
-
var
|
648
|
-
|
649
|
-
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));
|
642
|
+
key: "P",
|
643
|
+
value: function P(t, s, i) {
|
644
|
+
var _this__$Ej;
|
645
|
+
this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this._$Em !== t && ((_this__$Ej = this._$Ej) !== null && _this__$Ej !== void 0 ? _this__$Ej : this._$Ej = new Set).add(t);
|
650
646
|
}
|
651
647
|
},
|
652
648
|
{
|
653
|
-
key: "_$
|
654
|
-
value: function _$
|
649
|
+
key: "_$ET",
|
650
|
+
value: function _$ET() {
|
655
651
|
var _this = this;
|
656
652
|
return _async_to_generator(function() {
|
657
653
|
var t, _$t, _tmp;
|
658
654
|
return _ts_generator(this, function(_state) {
|
659
655
|
switch(_state.label){
|
660
656
|
case 0:
|
661
|
-
_this.isUpdatePending =
|
657
|
+
_this.isUpdatePending = !0;
|
662
658
|
_state.label = 1;
|
663
659
|
case 1:
|
664
660
|
_state.trys.push([
|
@@ -748,8 +744,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
748
744
|
if (t1.size > 0) try {
|
749
745
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
750
746
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
751
|
-
|
752
|
-
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
747
|
+
!0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
|
753
748
|
}
|
754
749
|
} catch (err) {
|
755
750
|
_didIteratorError1 = true;
|
@@ -766,18 +761,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
766
761
|
}
|
767
762
|
}
|
768
763
|
}
|
769
|
-
var
|
764
|
+
var t2 = !1;
|
770
765
|
var _$s2 = this._$AL;
|
771
766
|
try {
|
772
767
|
var _this__$EO;
|
773
|
-
|
768
|
+
t2 = this.shouldUpdate(_$s2), t2 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
774
769
|
var _t_hostUpdate;
|
775
770
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
776
|
-
}), this.update(_$s2)) : this._$
|
771
|
+
}), this.update(_$s2)) : this._$EU();
|
777
772
|
} catch (s) {
|
778
|
-
throw
|
773
|
+
throw t2 = !1, this._$EU(), s;
|
779
774
|
}
|
780
|
-
|
775
|
+
t2 && this._$AE(_$s2);
|
781
776
|
}
|
782
777
|
},
|
783
778
|
{
|
@@ -791,13 +786,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
791
786
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
792
787
|
var _t_hostUpdated;
|
793
788
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
794
|
-
}), this.hasUpdated || (this.hasUpdated =
|
789
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
795
790
|
}
|
796
791
|
},
|
797
792
|
{
|
798
|
-
key: "_$
|
799
|
-
value: function _$
|
800
|
-
this._$AL = new Map, this.isUpdatePending =
|
793
|
+
key: "_$EU",
|
794
|
+
value: function _$EU() {
|
795
|
+
this._$AL = new Map, this.isUpdatePending = !1;
|
801
796
|
}
|
802
797
|
},
|
803
798
|
{
|
@@ -815,16 +810,16 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
815
810
|
{
|
816
811
|
key: "shouldUpdate",
|
817
812
|
value: function shouldUpdate(t) {
|
818
|
-
return
|
813
|
+
return !0;
|
819
814
|
}
|
820
815
|
},
|
821
816
|
{
|
822
817
|
key: "update",
|
823
818
|
value: function update(t) {
|
824
819
|
var _this = this;
|
825
|
-
this._$
|
826
|
-
return _this._$
|
827
|
-
})), this._$
|
820
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach(function(t) {
|
821
|
+
return _this._$EC(t, _this[t]);
|
822
|
+
})), this._$EU();
|
828
823
|
}
|
829
824
|
},
|
830
825
|
{
|
@@ -852,33 +847,35 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
852
847
|
{
|
853
848
|
key: "createProperty",
|
854
849
|
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 !==
|
850
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : y$1;
|
851
|
+
if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
|
852
|
+
var i = Symbol(), r = this.getPropertyDescriptor(t, i, s);
|
853
|
+
void 0 !== r && e$1(this.prototype, t, r);
|
859
854
|
}
|
860
855
|
}
|
861
856
|
},
|
862
857
|
{
|
863
858
|
key: "getPropertyDescriptor",
|
864
859
|
value: function getPropertyDescriptor(t, s, i) {
|
865
|
-
var
|
866
|
-
var _ref = (
|
860
|
+
var _r;
|
861
|
+
var _ref = (_r = r$3(this.prototype, t)) !== null && _r !== void 0 ? _r : {
|
867
862
|
get: function get() {
|
868
863
|
return this[s];
|
869
864
|
},
|
870
865
|
set: function set(t) {
|
871
866
|
this[s] = t;
|
872
867
|
}
|
873
|
-
}, e = _ref.get,
|
868
|
+
}, e = _ref.get, h = _ref.set;
|
874
869
|
return {
|
875
|
-
get:
|
870
|
+
get: function get() {
|
871
|
+
return e === null || e === void 0 ? void 0 : e.call(this);
|
872
|
+
},
|
876
873
|
set: function set(s) {
|
877
|
-
var
|
878
|
-
|
874
|
+
var r = e === null || e === void 0 ? void 0 : e.call(this);
|
875
|
+
h.call(this, s), this.requestUpdate(t, r, i);
|
879
876
|
},
|
880
|
-
configurable:
|
881
|
-
enumerable:
|
877
|
+
configurable: !0,
|
878
|
+
enumerable: !0
|
882
879
|
};
|
883
880
|
}
|
884
881
|
},
|
@@ -886,7 +883,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
886
883
|
key: "getPropertyOptions",
|
887
884
|
value: function getPropertyOptions(t) {
|
888
885
|
var _this_elementProperties_get;
|
889
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
886
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : y$1;
|
890
887
|
}
|
891
888
|
},
|
892
889
|
{
|
@@ -901,8 +898,8 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
901
898
|
key: "finalize",
|
902
899
|
value: function finalize() {
|
903
900
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
904
|
-
if (this.finalized =
|
905
|
-
var t = this.properties, s = _to_consumable_array$1(
|
901
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
902
|
+
var t = this.properties, s = _to_consumable_array$1(h$1(t)).concat(_to_consumable_array$1(o$2(t)));
|
906
903
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
907
904
|
try {
|
908
905
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
@@ -1007,18 +1004,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
1007
1004
|
key: "_$Eu",
|
1008
1005
|
value: function _$Eu(t, s) {
|
1009
1006
|
var i = s.attribute;
|
1010
|
-
return
|
1007
|
+
return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
1011
1008
|
}
|
1012
1009
|
}
|
1013
1010
|
]);
|
1014
|
-
return
|
1011
|
+
return b;
|
1015
1012
|
}(_wrap_native_super(HTMLElement));
|
1016
1013
|
var _reactiveElementVersions;
|
1017
|
-
|
1014
|
+
b.elementStyles = [], b.shadowRootOptions = {
|
1018
1015
|
mode: "open"
|
1019
|
-
},
|
1020
|
-
ReactiveElement:
|
1021
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.
|
1016
|
+
}, b[d$1("elementProperties")] = new Map, b[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
|
1017
|
+
ReactiveElement: b
|
1018
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0.4");
|
1022
1019
|
|
1023
1020
|
/**
|
1024
1021
|
* @license
|
@@ -1113,7 +1110,7 @@ function _non_iterable_spread() {
|
|
1113
1110
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1114
1111
|
}
|
1115
1112
|
function _possible_constructor_return$1(self, call) {
|
1116
|
-
if (call && (_type_of$
|
1113
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
|
1117
1114
|
return call;
|
1118
1115
|
}
|
1119
1116
|
return _assert_this_initialized$1(self);
|
@@ -1131,7 +1128,7 @@ function _sliced_to_array(arr, i) {
|
|
1131
1128
|
function _to_consumable_array(arr) {
|
1132
1129
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
1133
1130
|
}
|
1134
|
-
function _type_of$
|
1131
|
+
function _type_of$1(obj) {
|
1135
1132
|
"@swc/helpers - typeof";
|
1136
1133
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1137
1134
|
}
|
@@ -1168,17 +1165,17 @@ function _create_super$1(Derived) {
|
|
1168
1165
|
};
|
1169
1166
|
}
|
1170
1167
|
var _t;
|
1171
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s
|
1168
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
1172
1169
|
createHTML: function(t) {
|
1173
1170
|
return t;
|
1174
1171
|
}
|
1175
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
1176
|
-
return r$
|
1172
|
+
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$1 = "?" + h, n$1 = "<".concat(o$1, ">"), r$2 = document, l = function() {
|
1173
|
+
return r$2.createComment("");
|
1177
1174
|
}, c = function(t) {
|
1178
|
-
return null === t || "object" !=
|
1175
|
+
return null === t || "object" != typeof t && "function" != typeof t;
|
1179
1176
|
}, a = Array.isArray, u = function(t) {
|
1180
1177
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
1181
|
-
}, d = "[
|
1178
|
+
}, d = "[ \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) {
|
1182
1179
|
return function(i) {
|
1183
1180
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
1184
1181
|
s[_key - 1] = arguments[_key];
|
@@ -1189,10 +1186,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-
|
|
1189
1186
|
values: s
|
1190
1187
|
};
|
1191
1188
|
};
|
1192
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
1189
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
|
1193
1190
|
function P(t, i) {
|
1194
1191
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
1195
|
-
return void 0 !== s
|
1192
|
+
return void 0 !== s ? s.createHTML(i) : i;
|
1196
1193
|
}
|
1197
1194
|
var V = function(t, i) {
|
1198
1195
|
var s = t.length - 1, o = [];
|
@@ -1267,7 +1264,7 @@ var N = /*#__PURE__*/ function() {
|
|
1267
1264
|
r.append(t3[s2], l());
|
1268
1265
|
}
|
1269
1266
|
}
|
1270
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
1267
|
+
} else if (8 === r.nodeType) if (r.data === o$1) d.push({
|
1271
1268
|
type: 2,
|
1272
1269
|
index: c
|
1273
1270
|
});
|
@@ -1285,7 +1282,7 @@ var N = /*#__PURE__*/ function() {
|
|
1285
1282
|
{
|
1286
1283
|
key: "createElement",
|
1287
1284
|
value: function createElement(t, i) {
|
1288
|
-
var s = r$
|
1285
|
+
var s = r$2.createElement("template");
|
1289
1286
|
return s.innerHTML = t, s;
|
1290
1287
|
}
|
1291
1288
|
}
|
@@ -1300,7 +1297,7 @@ function S(t, i) {
|
|
1300
1297
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
1301
1298
|
var o = c(i) ? void 0 : i._$litDirective$;
|
1302
1299
|
var __$Co;
|
1303
|
-
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,
|
1300
|
+
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, !1), 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;
|
1304
1301
|
}
|
1305
1302
|
var M = /*#__PURE__*/ function() {
|
1306
1303
|
function M(t, i) {
|
@@ -1324,7 +1321,7 @@ var M = /*#__PURE__*/ function() {
|
|
1324
1321
|
key: "u",
|
1325
1322
|
value: function u(t) {
|
1326
1323
|
var _t_creationScope;
|
1327
|
-
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$
|
1324
|
+
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, !0);
|
1328
1325
|
C.currentNode = e;
|
1329
1326
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
1330
1327
|
for(; void 0 !== l;){
|
@@ -1334,7 +1331,7 @@ var M = /*#__PURE__*/ function() {
|
|
1334
1331
|
}
|
1335
1332
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
1336
1333
|
}
|
1337
|
-
return C.currentNode = r$
|
1334
|
+
return C.currentNode = r$2, e;
|
1338
1335
|
}
|
1339
1336
|
},
|
1340
1337
|
{
|
@@ -1370,7 +1367,7 @@ var R = /*#__PURE__*/ function() {
|
|
1370
1367
|
function R(t, i, s, e) {
|
1371
1368
|
_class_call_check$1(this, R);
|
1372
1369
|
var _e_isConnected;
|
1373
|
-
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 :
|
1370
|
+
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 : !0;
|
1374
1371
|
}
|
1375
1372
|
_create_class$1(R, [
|
1376
1373
|
{
|
@@ -1423,7 +1420,7 @@ var R = /*#__PURE__*/ function() {
|
|
1423
1420
|
{
|
1424
1421
|
key: "_",
|
1425
1422
|
value: function _(t) {
|
1426
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
1423
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
|
1427
1424
|
}
|
1428
1425
|
},
|
1429
1426
|
{
|
@@ -1479,7 +1476,7 @@ var R = /*#__PURE__*/ function() {
|
|
1479
1476
|
value: function _$AR() {
|
1480
1477
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
1481
1478
|
var _this__$AP, _this;
|
1482
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
1479
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, !1, !0, i); t && t !== this._$AB;){
|
1483
1480
|
var i1 = t.nextSibling;
|
1484
1481
|
t.remove(), t = i1;
|
1485
1482
|
}
|
@@ -1518,7 +1515,7 @@ var k = /*#__PURE__*/ function() {
|
|
1518
1515
|
value: function _$AI(t) {
|
1519
1516
|
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;
|
1520
1517
|
var h = this.strings;
|
1521
|
-
var o =
|
1518
|
+
var o = !1;
|
1522
1519
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
1523
1520
|
else {
|
1524
1521
|
var e1 = t;
|
@@ -1633,7 +1630,7 @@ var z = /*#__PURE__*/ function() {
|
|
1633
1630
|
}();
|
1634
1631
|
var j = t$1.litHtmlPolyfillSupport;
|
1635
1632
|
var _litHtmlVersions;
|
1636
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
1633
|
+
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.2.1");
|
1637
1634
|
var B = function(t, i, s) {
|
1638
1635
|
var _s_renderBefore;
|
1639
1636
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
@@ -1668,6 +1665,7 @@ function _defineProperties(target, props) {
|
|
1668
1665
|
}
|
1669
1666
|
function _create_class(Constructor, protoProps, staticProps) {
|
1670
1667
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
1668
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
1671
1669
|
return Constructor;
|
1672
1670
|
}
|
1673
1671
|
function _get(target, property, receiver) {
|
@@ -1706,7 +1704,7 @@ function _inherits(subClass, superClass) {
|
|
1706
1704
|
if (superClass) _set_prototype_of(subClass, superClass);
|
1707
1705
|
}
|
1708
1706
|
function _possible_constructor_return(self, call) {
|
1709
|
-
if (call && (_type_of
|
1707
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
1710
1708
|
return call;
|
1711
1709
|
}
|
1712
1710
|
return _assert_this_initialized(self);
|
@@ -1725,7 +1723,7 @@ function _super_prop_base(object, property) {
|
|
1725
1723
|
}
|
1726
1724
|
return object;
|
1727
1725
|
}
|
1728
|
-
function _type_of
|
1726
|
+
function _type_of(obj) {
|
1729
1727
|
"@swc/helpers - typeof";
|
1730
1728
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1731
1729
|
}
|
@@ -1753,18 +1751,17 @@ function _create_super(Derived) {
|
|
1753
1751
|
return _possible_constructor_return(this, result);
|
1754
1752
|
};
|
1755
1753
|
}
|
1756
|
-
var
|
1757
|
-
var
|
1754
|
+
var _globalThis_litElementHydrateSupport, _globalThis;
|
1755
|
+
var _globalThis1;
|
1758
1756
|
/**
|
1759
1757
|
* @license
|
1760
1758
|
* Copyright 2017 Google LLC
|
1761
1759
|
* SPDX-License-Identifier: BSD-3-Clause
|
1762
|
-
*/ var
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
_class_call_check(this, i);
|
1760
|
+
*/ var r$1 = /*#__PURE__*/ function(t) {
|
1761
|
+
_inherits(r, t);
|
1762
|
+
var _super = _create_super(r);
|
1763
|
+
function r() {
|
1764
|
+
_class_call_check(this, r);
|
1768
1765
|
var _this;
|
1769
1766
|
_this = _super.call.apply(_super, [
|
1770
1767
|
this
|
@@ -1773,12 +1770,12 @@ var i = /*#__PURE__*/ function(t) {
|
|
1773
1770
|
}, _this._$Do = void 0;
|
1774
1771
|
return _possible_constructor_return(_this);
|
1775
1772
|
}
|
1776
|
-
_create_class(
|
1773
|
+
_create_class(r, [
|
1777
1774
|
{
|
1778
1775
|
key: "createRenderRoot",
|
1779
1776
|
value: function createRenderRoot() {
|
1780
1777
|
var _this_renderOptions;
|
1781
|
-
var _$t = _get(_get_prototype_of(
|
1778
|
+
var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
|
1782
1779
|
var _renderBefore;
|
1783
1780
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
1784
1781
|
}
|
@@ -1786,22 +1783,22 @@ var i = /*#__PURE__*/ function(t) {
|
|
1786
1783
|
{
|
1787
1784
|
key: "update",
|
1788
1785
|
value: function update(t) {
|
1789
|
-
var
|
1790
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
1786
|
+
var s = this.render();
|
1787
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(r.prototype), "update", this).call(this, t), this._$Do = B(s, this.renderRoot, this.renderOptions);
|
1791
1788
|
}
|
1792
1789
|
},
|
1793
1790
|
{
|
1794
1791
|
key: "connectedCallback",
|
1795
1792
|
value: function connectedCallback() {
|
1796
1793
|
var _this__$Do;
|
1797
|
-
_get(_get_prototype_of(
|
1794
|
+
_get(_get_prototype_of(r.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
|
1798
1795
|
}
|
1799
1796
|
},
|
1800
1797
|
{
|
1801
1798
|
key: "disconnectedCallback",
|
1802
1799
|
value: function disconnectedCallback() {
|
1803
1800
|
var _this__$Do;
|
1804
|
-
_get(_get_prototype_of(
|
1801
|
+
_get(_get_prototype_of(r.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
|
1805
1802
|
}
|
1806
1803
|
},
|
1807
1804
|
{
|
@@ -1811,17 +1808,17 @@ var i = /*#__PURE__*/ function(t) {
|
|
1811
1808
|
}
|
1812
1809
|
}
|
1813
1810
|
]);
|
1814
|
-
return
|
1815
|
-
}(
|
1816
|
-
|
1817
|
-
LitElement:
|
1811
|
+
return r;
|
1812
|
+
}(b);
|
1813
|
+
r$1._$litElement$ = !0, r$1["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
|
1814
|
+
LitElement: r$1
|
1818
1815
|
});
|
1819
|
-
var
|
1820
|
-
|
1821
|
-
LitElement:
|
1816
|
+
var i = globalThis.litElementPolyfillSupport;
|
1817
|
+
i === null || i === void 0 ? void 0 : i({
|
1818
|
+
LitElement: r$1
|
1822
1819
|
});
|
1823
1820
|
var _litElementVersions;
|
1824
|
-
((_litElementVersions = (
|
1821
|
+
((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
|
1825
1822
|
|
1826
1823
|
/**
|
1827
1824
|
* @license
|
@@ -1835,25 +1832,73 @@ var _litElementVersions;
|
|
1835
1832
|
};
|
1836
1833
|
};
|
1837
1834
|
|
1838
|
-
function
|
1839
|
-
|
1840
|
-
|
1835
|
+
function _define_property(obj, key, value) {
|
1836
|
+
if (key in obj) {
|
1837
|
+
Object.defineProperty(obj, key, {
|
1838
|
+
value: value,
|
1839
|
+
enumerable: true,
|
1840
|
+
configurable: true,
|
1841
|
+
writable: true
|
1842
|
+
});
|
1843
|
+
} else {
|
1844
|
+
obj[key] = value;
|
1845
|
+
}
|
1846
|
+
return obj;
|
1847
|
+
}
|
1848
|
+
function _object_spread(target) {
|
1849
|
+
for(var i = 1; i < arguments.length; i++){
|
1850
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
1851
|
+
var ownKeys = Object.keys(source);
|
1852
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
1853
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
1854
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
1855
|
+
}));
|
1856
|
+
}
|
1857
|
+
ownKeys.forEach(function(key) {
|
1858
|
+
_define_property(target, key, source[key]);
|
1859
|
+
});
|
1860
|
+
}
|
1861
|
+
return target;
|
1862
|
+
}
|
1863
|
+
function ownKeys(object, enumerableOnly) {
|
1864
|
+
var keys = Object.keys(object);
|
1865
|
+
if (Object.getOwnPropertySymbols) {
|
1866
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
1867
|
+
if (enumerableOnly) {
|
1868
|
+
symbols = symbols.filter(function(sym) {
|
1869
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
1870
|
+
});
|
1871
|
+
}
|
1872
|
+
keys.push.apply(keys, symbols);
|
1873
|
+
}
|
1874
|
+
return keys;
|
1875
|
+
}
|
1876
|
+
function _object_spread_props(target, source) {
|
1877
|
+
source = source != null ? source : {};
|
1878
|
+
if (Object.getOwnPropertyDescriptors) {
|
1879
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
1880
|
+
} else {
|
1881
|
+
ownKeys(Object(source)).forEach(function(key) {
|
1882
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
1883
|
+
});
|
1884
|
+
}
|
1885
|
+
return target;
|
1841
1886
|
}
|
1842
1887
|
/**
|
1843
1888
|
* @license
|
1844
1889
|
* Copyright 2017 Google LLC
|
1845
1890
|
* SPDX-License-Identifier: BSD-3-Clause
|
1846
1891
|
*/ var o = {
|
1847
|
-
attribute:
|
1892
|
+
attribute: !0,
|
1848
1893
|
type: String,
|
1849
1894
|
converter: u$1,
|
1850
|
-
reflect:
|
1895
|
+
reflect: !1,
|
1851
1896
|
hasChanged: f$1
|
1852
1897
|
}, r = function() {
|
1853
1898
|
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;
|
1854
1899
|
var n = r.kind, i = r.metadata;
|
1855
1900
|
var s = globalThis.litPropertyMetadata.get(i);
|
1856
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map),
|
1901
|
+
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
1857
1902
|
var o1 = r.name;
|
1858
1903
|
return {
|
1859
1904
|
set: function set(r) {
|
@@ -1861,7 +1906,7 @@ function _type_of(obj) {
|
|
1861
1906
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
1862
1907
|
},
|
1863
1908
|
init: function init(e) {
|
1864
|
-
return void 0 !== e && this.
|
1909
|
+
return void 0 !== e && this.P(o1, void 0, _$t), e;
|
1865
1910
|
}
|
1866
1911
|
};
|
1867
1912
|
}
|
@@ -1876,9 +1921,11 @@ function _type_of(obj) {
|
|
1876
1921
|
};
|
1877
1922
|
function n(t) {
|
1878
1923
|
return function(e, o) {
|
1879
|
-
return "object" ==
|
1924
|
+
return "object" == typeof o ? r(t, e, o) : function(t, e, o) {
|
1880
1925
|
var r = e.hasOwnProperty(o);
|
1881
|
-
return e.constructor.createProperty(o,
|
1926
|
+
return e.constructor.createProperty(o, r ? _object_spread_props(_object_spread({}, t), {
|
1927
|
+
wrapped: !0
|
1928
|
+
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
1882
1929
|
}(t, e, o);
|
1883
1930
|
};
|
1884
1931
|
}
|
@@ -72310,7 +72357,7 @@ const schemas = {
|
|
72310
72357
|
};
|
72311
72358
|
|
72312
72359
|
let jsonGenerator, generateBlocklyBlockFromLibraries, generateToolboxFromLibraries, initializeMutator;
|
72313
|
-
class EditorElement extends
|
72360
|
+
class EditorElement extends r$1 {
|
72314
72361
|
createRenderRoot() {
|
72315
72362
|
return this;
|
72316
72363
|
}
|