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