@digipair/skill-web 0.47.2 → 0.47.4
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/index.cjs.js +191 -576
- package/index.esm.js +196 -581
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -43,26 +43,26 @@ function _extends() {
|
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2019 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/ function _array_like_to_array$
|
|
46
|
+
*/ function _array_like_to_array$9(arr, len) {
|
|
47
47
|
if (len == null || len > arr.length) len = arr.length;
|
|
48
48
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
49
49
|
return arr2;
|
|
50
50
|
}
|
|
51
|
-
function _array_with_holes$
|
|
51
|
+
function _array_with_holes$5(arr) {
|
|
52
52
|
if (Array.isArray(arr)) return arr;
|
|
53
53
|
}
|
|
54
|
-
function _assert_this_initialized$
|
|
54
|
+
function _assert_this_initialized$6(self) {
|
|
55
55
|
if (self === void 0) {
|
|
56
56
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
57
57
|
}
|
|
58
58
|
return self;
|
|
59
59
|
}
|
|
60
|
-
function _class_call_check$
|
|
60
|
+
function _class_call_check$f(instance, Constructor) {
|
|
61
61
|
if (!(instance instanceof Constructor)) {
|
|
62
62
|
throw new TypeError("Cannot call a class as a function");
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
function _defineProperties$
|
|
65
|
+
function _defineProperties$f(target, props) {
|
|
66
66
|
for(var i = 0; i < props.length; i++){
|
|
67
67
|
var descriptor = props[i];
|
|
68
68
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -71,18 +71,18 @@ function _defineProperties$g(target, props) {
|
|
|
71
71
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function _create_class$
|
|
75
|
-
if (protoProps) _defineProperties$
|
|
76
|
-
if (staticProps) _defineProperties$
|
|
74
|
+
function _create_class$f(Constructor, protoProps, staticProps) {
|
|
75
|
+
if (protoProps) _defineProperties$f(Constructor.prototype, protoProps);
|
|
76
|
+
if (staticProps) _defineProperties$f(Constructor, staticProps);
|
|
77
77
|
return Constructor;
|
|
78
78
|
}
|
|
79
|
-
function _get_prototype_of$
|
|
80
|
-
_get_prototype_of$
|
|
79
|
+
function _get_prototype_of$6(o) {
|
|
80
|
+
_get_prototype_of$6 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
81
81
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
82
82
|
};
|
|
83
|
-
return _get_prototype_of$
|
|
83
|
+
return _get_prototype_of$6(o);
|
|
84
84
|
}
|
|
85
|
-
function _inherits$
|
|
85
|
+
function _inherits$6(subClass, superClass) {
|
|
86
86
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
87
87
|
throw new TypeError("Super expression must either be null or a function");
|
|
88
88
|
}
|
|
@@ -93,9 +93,9 @@ function _inherits$7(subClass, superClass) {
|
|
|
93
93
|
configurable: true
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
-
if (superClass) _set_prototype_of$
|
|
96
|
+
if (superClass) _set_prototype_of$6(subClass, superClass);
|
|
97
97
|
}
|
|
98
|
-
function _iterable_to_array_limit$
|
|
98
|
+
function _iterable_to_array_limit$5(arr, i) {
|
|
99
99
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
100
100
|
if (_i == null) return;
|
|
101
101
|
var _arr = [];
|
|
@@ -119,38 +119,38 @@ function _iterable_to_array_limit$6(arr, i) {
|
|
|
119
119
|
}
|
|
120
120
|
return _arr;
|
|
121
121
|
}
|
|
122
|
-
function _non_iterable_rest$
|
|
122
|
+
function _non_iterable_rest$5() {
|
|
123
123
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
124
124
|
}
|
|
125
|
-
function _possible_constructor_return$
|
|
126
|
-
if (call && (_type_of$
|
|
125
|
+
function _possible_constructor_return$6(self, call) {
|
|
126
|
+
if (call && (_type_of$6(call) === "object" || typeof call === "function")) {
|
|
127
127
|
return call;
|
|
128
128
|
}
|
|
129
|
-
return _assert_this_initialized$
|
|
129
|
+
return _assert_this_initialized$6(self);
|
|
130
130
|
}
|
|
131
|
-
function _set_prototype_of$
|
|
132
|
-
_set_prototype_of$
|
|
131
|
+
function _set_prototype_of$6(o, p) {
|
|
132
|
+
_set_prototype_of$6 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
133
133
|
o.__proto__ = p;
|
|
134
134
|
return o;
|
|
135
135
|
};
|
|
136
|
-
return _set_prototype_of$
|
|
136
|
+
return _set_prototype_of$6(o, p);
|
|
137
137
|
}
|
|
138
|
-
function _sliced_to_array$
|
|
139
|
-
return _array_with_holes$
|
|
138
|
+
function _sliced_to_array$5(arr, i) {
|
|
139
|
+
return _array_with_holes$5(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$9(arr, i) || _non_iterable_rest$5();
|
|
140
140
|
}
|
|
141
|
-
function _type_of$
|
|
141
|
+
function _type_of$6(obj) {
|
|
142
142
|
"@swc/helpers - typeof";
|
|
143
143
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
144
144
|
}
|
|
145
|
-
function _unsupported_iterable_to_array$
|
|
145
|
+
function _unsupported_iterable_to_array$9(o, minLen) {
|
|
146
146
|
if (!o) return;
|
|
147
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
147
|
+
if (typeof o === "string") return _array_like_to_array$9(o, minLen);
|
|
148
148
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
149
149
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
150
150
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
151
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
151
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$9(o, minLen);
|
|
152
152
|
}
|
|
153
|
-
function _is_native_reflect_construct$
|
|
153
|
+
function _is_native_reflect_construct$6() {
|
|
154
154
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
155
155
|
if (Reflect.construct.sham) return false;
|
|
156
156
|
if (typeof Proxy === "function") return true;
|
|
@@ -161,17 +161,17 @@ function _is_native_reflect_construct$7() {
|
|
|
161
161
|
return false;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
function _create_super$
|
|
165
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
164
|
+
function _create_super$6(Derived) {
|
|
165
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$6();
|
|
166
166
|
return function _createSuperInternal() {
|
|
167
|
-
var Super = _get_prototype_of$
|
|
167
|
+
var Super = _get_prototype_of$6(Derived), result;
|
|
168
168
|
if (hasNativeReflectConstruct) {
|
|
169
|
-
var NewTarget = _get_prototype_of$
|
|
169
|
+
var NewTarget = _get_prototype_of$6(this).constructor;
|
|
170
170
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
171
171
|
} else {
|
|
172
172
|
result = Super.apply(this, arguments);
|
|
173
173
|
}
|
|
174
|
-
return _possible_constructor_return$
|
|
174
|
+
return _possible_constructor_return$6(this, result);
|
|
175
175
|
};
|
|
176
176
|
}
|
|
177
177
|
function _ts_generator$5(thisArg, body) {
|
|
@@ -308,10 +308,10 @@ var getElementRenderer = function(param, tagName) {
|
|
|
308
308
|
* An object that renders elements of a certain type.
|
|
309
309
|
*/ var ElementRenderer = /*#__PURE__*/ function() {
|
|
310
310
|
function ElementRenderer(tagName) {
|
|
311
|
-
_class_call_check$
|
|
311
|
+
_class_call_check$f(this, ElementRenderer);
|
|
312
312
|
this.tagName = tagName;
|
|
313
313
|
}
|
|
314
|
-
_create_class$
|
|
314
|
+
_create_class$f(ElementRenderer, [
|
|
315
315
|
{
|
|
316
316
|
/**
|
|
317
317
|
* Called when a custom element is "attached" to the server DOM.
|
|
@@ -491,10 +491,10 @@ var getElementRenderer = function(param, tagName) {
|
|
|
491
491
|
* An ElementRenderer used as a fallback in the case where a custom element is
|
|
492
492
|
* either unregistered or has no other matching renderer.
|
|
493
493
|
*/ var FallbackRenderer = /*#__PURE__*/ function(ElementRenderer) {
|
|
494
|
-
_inherits$
|
|
495
|
-
var _super = _create_super$
|
|
494
|
+
_inherits$6(FallbackRenderer, ElementRenderer);
|
|
495
|
+
var _super = _create_super$6(FallbackRenderer);
|
|
496
496
|
function FallbackRenderer() {
|
|
497
|
-
_class_call_check$
|
|
497
|
+
_class_call_check$f(this, FallbackRenderer);
|
|
498
498
|
var _this;
|
|
499
499
|
_this = _super.call.apply(_super, [
|
|
500
500
|
this
|
|
@@ -502,7 +502,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
502
502
|
_this._attributes = {};
|
|
503
503
|
return _this;
|
|
504
504
|
}
|
|
505
|
-
_create_class$
|
|
505
|
+
_create_class$f(FallbackRenderer, [
|
|
506
506
|
{
|
|
507
507
|
key: "setAttribute",
|
|
508
508
|
value: function setAttribute(name, value) {
|
|
@@ -533,7 +533,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
533
533
|
3,
|
|
534
534
|
7
|
|
535
535
|
];
|
|
536
|
-
_step_value = _sliced_to_array$
|
|
536
|
+
_step_value = _sliced_to_array$5(_step.value, 2), name = _step_value[0], value = _step_value[1];
|
|
537
537
|
if (!(value === "" || value === undefined || value === null)) return [
|
|
538
538
|
3,
|
|
539
539
|
4
|
|
@@ -605,12 +605,12 @@ var getElementRenderer = function(param, tagName) {
|
|
|
605
605
|
* @license
|
|
606
606
|
* Copyright 2019 Google LLC
|
|
607
607
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
608
|
-
*/ function _class_call_check$
|
|
608
|
+
*/ function _class_call_check$e(instance, Constructor) {
|
|
609
609
|
if (!(instance instanceof Constructor)) {
|
|
610
610
|
throw new TypeError("Cannot call a class as a function");
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
function _defineProperties$
|
|
613
|
+
function _defineProperties$e(target, props) {
|
|
614
614
|
for(var i = 0; i < props.length; i++){
|
|
615
615
|
var descriptor = props[i];
|
|
616
616
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -619,9 +619,9 @@ function _defineProperties$f(target, props) {
|
|
|
619
619
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
function _create_class$
|
|
623
|
-
if (protoProps) _defineProperties$
|
|
624
|
-
if (staticProps) _defineProperties$
|
|
622
|
+
function _create_class$e(Constructor, protoProps, staticProps) {
|
|
623
|
+
if (protoProps) _defineProperties$e(Constructor.prototype, protoProps);
|
|
624
|
+
if (staticProps) _defineProperties$e(Constructor, staticProps);
|
|
625
625
|
return Constructor;
|
|
626
626
|
}
|
|
627
627
|
function _instanceof$1(left, right) {
|
|
@@ -634,11 +634,11 @@ function _instanceof$1(left, right) {
|
|
|
634
634
|
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$3 = new WeakMap;
|
|
635
635
|
var n$3 = /*#__PURE__*/ function() {
|
|
636
636
|
function n(t, e, o) {
|
|
637
|
-
_class_call_check$
|
|
637
|
+
_class_call_check$e(this, n);
|
|
638
638
|
if (this._$cssResult$ = !0, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
639
639
|
this.cssText = t, this.t = e;
|
|
640
640
|
}
|
|
641
|
-
_create_class$
|
|
641
|
+
_create_class$e(n, [
|
|
642
642
|
{
|
|
643
643
|
key: "styleSheet",
|
|
644
644
|
get: function get() {
|
|
@@ -716,18 +716,18 @@ var r$4 = function(t) {
|
|
|
716
716
|
}(t) : t;
|
|
717
717
|
};
|
|
718
718
|
|
|
719
|
-
function _array_like_to_array$
|
|
719
|
+
function _array_like_to_array$8(arr, len) {
|
|
720
720
|
if (len == null || len > arr.length) len = arr.length;
|
|
721
721
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
722
722
|
return arr2;
|
|
723
723
|
}
|
|
724
|
-
function _array_with_holes$
|
|
724
|
+
function _array_with_holes$4(arr) {
|
|
725
725
|
if (Array.isArray(arr)) return arr;
|
|
726
726
|
}
|
|
727
727
|
function _array_without_holes$6(arr) {
|
|
728
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
728
|
+
if (Array.isArray(arr)) return _array_like_to_array$8(arr);
|
|
729
729
|
}
|
|
730
|
-
function _assert_this_initialized$
|
|
730
|
+
function _assert_this_initialized$5(self) {
|
|
731
731
|
if (self === void 0) {
|
|
732
732
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
733
733
|
}
|
|
@@ -762,13 +762,13 @@ function _async_to_generator$1(fn) {
|
|
|
762
762
|
});
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
|
-
function _class_call_check$
|
|
765
|
+
function _class_call_check$d(instance, Constructor) {
|
|
766
766
|
if (!(instance instanceof Constructor)) {
|
|
767
767
|
throw new TypeError("Cannot call a class as a function");
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
770
|
function _construct(Parent, args, Class) {
|
|
771
|
-
if (_is_native_reflect_construct$
|
|
771
|
+
if (_is_native_reflect_construct$5()) {
|
|
772
772
|
_construct = Reflect.construct;
|
|
773
773
|
} else {
|
|
774
774
|
_construct = function construct(Parent, args, Class) {
|
|
@@ -778,13 +778,13 @@ function _construct(Parent, args, Class) {
|
|
|
778
778
|
a.push.apply(a, args);
|
|
779
779
|
var Constructor = Function.bind.apply(Parent, a);
|
|
780
780
|
var instance = new Constructor();
|
|
781
|
-
if (Class) _set_prototype_of$
|
|
781
|
+
if (Class) _set_prototype_of$5(instance, Class.prototype);
|
|
782
782
|
return instance;
|
|
783
783
|
};
|
|
784
784
|
}
|
|
785
785
|
return _construct.apply(null, arguments);
|
|
786
786
|
}
|
|
787
|
-
function _defineProperties$
|
|
787
|
+
function _defineProperties$d(target, props) {
|
|
788
788
|
for(var i = 0; i < props.length; i++){
|
|
789
789
|
var descriptor = props[i];
|
|
790
790
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -793,18 +793,18 @@ function _defineProperties$e(target, props) {
|
|
|
793
793
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
|
-
function _create_class$
|
|
797
|
-
if (protoProps) _defineProperties$
|
|
798
|
-
if (staticProps) _defineProperties$
|
|
796
|
+
function _create_class$d(Constructor, protoProps, staticProps) {
|
|
797
|
+
if (protoProps) _defineProperties$d(Constructor.prototype, protoProps);
|
|
798
|
+
if (staticProps) _defineProperties$d(Constructor, staticProps);
|
|
799
799
|
return Constructor;
|
|
800
800
|
}
|
|
801
|
-
function _get_prototype_of$
|
|
802
|
-
_get_prototype_of$
|
|
801
|
+
function _get_prototype_of$5(o) {
|
|
802
|
+
_get_prototype_of$5 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
803
803
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
804
804
|
};
|
|
805
|
-
return _get_prototype_of$
|
|
805
|
+
return _get_prototype_of$5(o);
|
|
806
806
|
}
|
|
807
|
-
function _inherits$
|
|
807
|
+
function _inherits$5(subClass, superClass) {
|
|
808
808
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
809
809
|
throw new TypeError("Super expression must either be null or a function");
|
|
810
810
|
}
|
|
@@ -815,7 +815,7 @@ function _inherits$6(subClass, superClass) {
|
|
|
815
815
|
configurable: true
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
|
-
if (superClass) _set_prototype_of$
|
|
818
|
+
if (superClass) _set_prototype_of$5(subClass, superClass);
|
|
819
819
|
}
|
|
820
820
|
function _is_native_function(fn) {
|
|
821
821
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
@@ -823,7 +823,7 @@ function _is_native_function(fn) {
|
|
|
823
823
|
function _iterable_to_array$6(iter) {
|
|
824
824
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
825
825
|
}
|
|
826
|
-
function _iterable_to_array_limit$
|
|
826
|
+
function _iterable_to_array_limit$4(arr, i) {
|
|
827
827
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
828
828
|
if (_i == null) return;
|
|
829
829
|
var _arr = [];
|
|
@@ -847,42 +847,42 @@ function _iterable_to_array_limit$5(arr, i) {
|
|
|
847
847
|
}
|
|
848
848
|
return _arr;
|
|
849
849
|
}
|
|
850
|
-
function _non_iterable_rest$
|
|
850
|
+
function _non_iterable_rest$4() {
|
|
851
851
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
852
852
|
}
|
|
853
853
|
function _non_iterable_spread$6() {
|
|
854
854
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
855
855
|
}
|
|
856
|
-
function _possible_constructor_return$
|
|
857
|
-
if (call && (_type_of$
|
|
856
|
+
function _possible_constructor_return$5(self, call) {
|
|
857
|
+
if (call && (_type_of$5(call) === "object" || typeof call === "function")) {
|
|
858
858
|
return call;
|
|
859
859
|
}
|
|
860
|
-
return _assert_this_initialized$
|
|
860
|
+
return _assert_this_initialized$5(self);
|
|
861
861
|
}
|
|
862
|
-
function _set_prototype_of$
|
|
863
|
-
_set_prototype_of$
|
|
862
|
+
function _set_prototype_of$5(o, p) {
|
|
863
|
+
_set_prototype_of$5 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
864
864
|
o.__proto__ = p;
|
|
865
865
|
return o;
|
|
866
866
|
};
|
|
867
|
-
return _set_prototype_of$
|
|
867
|
+
return _set_prototype_of$5(o, p);
|
|
868
868
|
}
|
|
869
|
-
function _sliced_to_array$
|
|
870
|
-
return _array_with_holes$
|
|
869
|
+
function _sliced_to_array$4(arr, i) {
|
|
870
|
+
return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$8(arr, i) || _non_iterable_rest$4();
|
|
871
871
|
}
|
|
872
872
|
function _to_consumable_array$6(arr) {
|
|
873
|
-
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$
|
|
873
|
+
return _array_without_holes$6(arr) || _iterable_to_array$6(arr) || _unsupported_iterable_to_array$8(arr) || _non_iterable_spread$6();
|
|
874
874
|
}
|
|
875
|
-
function _type_of$
|
|
875
|
+
function _type_of$5(obj) {
|
|
876
876
|
"@swc/helpers - typeof";
|
|
877
877
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
878
878
|
}
|
|
879
|
-
function _unsupported_iterable_to_array$
|
|
879
|
+
function _unsupported_iterable_to_array$8(o, minLen) {
|
|
880
880
|
if (!o) return;
|
|
881
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
881
|
+
if (typeof o === "string") return _array_like_to_array$8(o, minLen);
|
|
882
882
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
883
883
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
884
884
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
885
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
885
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$8(o, minLen);
|
|
886
886
|
}
|
|
887
887
|
function _wrap_native_super(Class) {
|
|
888
888
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
@@ -896,7 +896,7 @@ function _wrap_native_super(Class) {
|
|
|
896
896
|
_cache.set(Class, Wrapper);
|
|
897
897
|
}
|
|
898
898
|
function Wrapper() {
|
|
899
|
-
return _construct(Class, arguments, _get_prototype_of$
|
|
899
|
+
return _construct(Class, arguments, _get_prototype_of$5(this).constructor);
|
|
900
900
|
}
|
|
901
901
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
902
902
|
constructor: {
|
|
@@ -906,11 +906,11 @@ function _wrap_native_super(Class) {
|
|
|
906
906
|
configurable: true
|
|
907
907
|
}
|
|
908
908
|
});
|
|
909
|
-
return _set_prototype_of$
|
|
909
|
+
return _set_prototype_of$5(Wrapper, Class);
|
|
910
910
|
};
|
|
911
911
|
return _wrap_native_super(Class);
|
|
912
912
|
}
|
|
913
|
-
function _is_native_reflect_construct$
|
|
913
|
+
function _is_native_reflect_construct$5() {
|
|
914
914
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
915
915
|
if (Reflect.construct.sham) return false;
|
|
916
916
|
if (typeof Proxy === "function") return true;
|
|
@@ -921,17 +921,17 @@ function _is_native_reflect_construct$6() {
|
|
|
921
921
|
return false;
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
|
-
function _create_super$
|
|
925
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
924
|
+
function _create_super$5(Derived) {
|
|
925
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$5();
|
|
926
926
|
return function _createSuperInternal() {
|
|
927
|
-
var Super = _get_prototype_of$
|
|
927
|
+
var Super = _get_prototype_of$5(Derived), result;
|
|
928
928
|
if (hasNativeReflectConstruct) {
|
|
929
|
-
var NewTarget = _get_prototype_of$
|
|
929
|
+
var NewTarget = _get_prototype_of$5(this).constructor;
|
|
930
930
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
931
931
|
} else {
|
|
932
932
|
result = Super.apply(this, arguments);
|
|
933
933
|
}
|
|
934
|
-
return _possible_constructor_return$
|
|
934
|
+
return _possible_constructor_return$5(this, result);
|
|
935
935
|
};
|
|
936
936
|
}
|
|
937
937
|
function _ts_generator$4(thisArg, body) {
|
|
@@ -1079,15 +1079,15 @@ var _Symbol, _a$1, _a1;
|
|
|
1079
1079
|
var _metadata, _litPropertyMetadata;
|
|
1080
1080
|
(_metadata = (_Symbol = Symbol).metadata) !== null && _metadata !== void 0 ? _metadata : _Symbol.metadata = Symbol("metadata"), (_litPropertyMetadata = (_a$1 = a$1).litPropertyMetadata) !== null && _litPropertyMetadata !== void 0 ? _litPropertyMetadata : _a$1.litPropertyMetadata = new WeakMap;
|
|
1081
1081
|
var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
1082
|
-
_inherits$
|
|
1083
|
-
var _super = _create_super$
|
|
1082
|
+
_inherits$5(b, HTMLElement1);
|
|
1083
|
+
var _super = _create_super$5(b);
|
|
1084
1084
|
function b() {
|
|
1085
|
-
_class_call_check$
|
|
1085
|
+
_class_call_check$d(this, b);
|
|
1086
1086
|
var _this;
|
|
1087
1087
|
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
|
1088
|
-
return _possible_constructor_return$
|
|
1088
|
+
return _possible_constructor_return$5(_this);
|
|
1089
1089
|
}
|
|
1090
|
-
_create_class$
|
|
1090
|
+
_create_class$d(b, [
|
|
1091
1091
|
{
|
|
1092
1092
|
key: "_$Ev",
|
|
1093
1093
|
value: function _$Ev() {
|
|
@@ -1298,7 +1298,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1298
1298
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
1299
1299
|
try {
|
|
1300
1300
|
for(var _iterator = this._$Ep[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
1301
|
-
var _step_value = _sliced_to_array$
|
|
1301
|
+
var _step_value = _sliced_to_array$4(_step.value, 2), t = _step_value[0], _$s = _step_value[1];
|
|
1302
1302
|
this[t] = _$s;
|
|
1303
1303
|
}
|
|
1304
1304
|
} catch (err) {
|
|
@@ -1321,7 +1321,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1321
1321
|
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
|
|
1322
1322
|
if (t1.size > 0) try {
|
|
1323
1323
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
1324
|
-
var _step_value1 = _sliced_to_array$
|
|
1324
|
+
var _step_value1 = _sliced_to_array$4(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
1325
1325
|
!0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
|
|
1326
1326
|
}
|
|
1327
1327
|
} catch (err) {
|
|
@@ -1505,7 +1505,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1505
1505
|
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
|
|
1506
1506
|
if (void 0 !== s1) try {
|
|
1507
1507
|
for(var _iterator1 = s1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
1508
|
-
var _step_value = _sliced_to_array$
|
|
1508
|
+
var _step_value = _sliced_to_array$4(_step1.value, 2), t2 = _step_value[0], i1 = _step_value[1];
|
|
1509
1509
|
this.elementProperties.set(t2, i1);
|
|
1510
1510
|
}
|
|
1511
1511
|
} catch (err) {
|
|
@@ -1527,7 +1527,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1527
1527
|
var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = undefined;
|
|
1528
1528
|
try {
|
|
1529
1529
|
for(var _iterator2 = this.elementProperties[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true){
|
|
1530
|
-
var _step_value1 = _sliced_to_array$
|
|
1530
|
+
var _step_value1 = _sliced_to_array$4(_step2.value, 2), t3 = _step_value1[0], s2 = _step_value1[1];
|
|
1531
1531
|
var i2 = this._$Eu(t3, s2);
|
|
1532
1532
|
void 0 !== i2 && this._$Eh.set(i2, t3);
|
|
1533
1533
|
}
|
|
@@ -1599,29 +1599,29 @@ b.elementStyles = [], b.shadowRootOptions = {
|
|
|
1599
1599
|
* @license
|
|
1600
1600
|
* Copyright 2017 Google LLC
|
|
1601
1601
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1602
|
-
*/ function _array_like_to_array$
|
|
1602
|
+
*/ function _array_like_to_array$7(arr, len) {
|
|
1603
1603
|
if (len == null || len > arr.length) len = arr.length;
|
|
1604
1604
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1605
1605
|
return arr2;
|
|
1606
1606
|
}
|
|
1607
|
-
function _array_with_holes$
|
|
1607
|
+
function _array_with_holes$3(arr) {
|
|
1608
1608
|
if (Array.isArray(arr)) return arr;
|
|
1609
1609
|
}
|
|
1610
1610
|
function _array_without_holes$5(arr) {
|
|
1611
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
1611
|
+
if (Array.isArray(arr)) return _array_like_to_array$7(arr);
|
|
1612
1612
|
}
|
|
1613
|
-
function _assert_this_initialized$
|
|
1613
|
+
function _assert_this_initialized$4(self) {
|
|
1614
1614
|
if (self === void 0) {
|
|
1615
1615
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1616
1616
|
}
|
|
1617
1617
|
return self;
|
|
1618
1618
|
}
|
|
1619
|
-
function _class_call_check$
|
|
1619
|
+
function _class_call_check$c(instance, Constructor) {
|
|
1620
1620
|
if (!(instance instanceof Constructor)) {
|
|
1621
1621
|
throw new TypeError("Cannot call a class as a function");
|
|
1622
1622
|
}
|
|
1623
1623
|
}
|
|
1624
|
-
function _defineProperties$
|
|
1624
|
+
function _defineProperties$c(target, props) {
|
|
1625
1625
|
for(var i = 0; i < props.length; i++){
|
|
1626
1626
|
var descriptor = props[i];
|
|
1627
1627
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -1630,18 +1630,18 @@ function _defineProperties$d(target, props) {
|
|
|
1630
1630
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
|
-
function _create_class$
|
|
1634
|
-
if (protoProps) _defineProperties$
|
|
1635
|
-
if (staticProps) _defineProperties$
|
|
1633
|
+
function _create_class$c(Constructor, protoProps, staticProps) {
|
|
1634
|
+
if (protoProps) _defineProperties$c(Constructor.prototype, protoProps);
|
|
1635
|
+
if (staticProps) _defineProperties$c(Constructor, staticProps);
|
|
1636
1636
|
return Constructor;
|
|
1637
1637
|
}
|
|
1638
|
-
function _get_prototype_of$
|
|
1639
|
-
_get_prototype_of$
|
|
1638
|
+
function _get_prototype_of$4(o) {
|
|
1639
|
+
_get_prototype_of$4 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
1640
1640
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
1641
1641
|
};
|
|
1642
|
-
return _get_prototype_of$
|
|
1642
|
+
return _get_prototype_of$4(o);
|
|
1643
1643
|
}
|
|
1644
|
-
function _inherits$
|
|
1644
|
+
function _inherits$4(subClass, superClass) {
|
|
1645
1645
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
1646
1646
|
throw new TypeError("Super expression must either be null or a function");
|
|
1647
1647
|
}
|
|
@@ -1652,12 +1652,12 @@ function _inherits$5(subClass, superClass) {
|
|
|
1652
1652
|
configurable: true
|
|
1653
1653
|
}
|
|
1654
1654
|
});
|
|
1655
|
-
if (superClass) _set_prototype_of$
|
|
1655
|
+
if (superClass) _set_prototype_of$4(subClass, superClass);
|
|
1656
1656
|
}
|
|
1657
1657
|
function _iterable_to_array$5(iter) {
|
|
1658
1658
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1659
1659
|
}
|
|
1660
|
-
function _iterable_to_array_limit$
|
|
1660
|
+
function _iterable_to_array_limit$3(arr, i) {
|
|
1661
1661
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
1662
1662
|
if (_i == null) return;
|
|
1663
1663
|
var _arr = [];
|
|
@@ -1681,44 +1681,44 @@ function _iterable_to_array_limit$4(arr, i) {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
return _arr;
|
|
1683
1683
|
}
|
|
1684
|
-
function _non_iterable_rest$
|
|
1684
|
+
function _non_iterable_rest$3() {
|
|
1685
1685
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1686
1686
|
}
|
|
1687
1687
|
function _non_iterable_spread$5() {
|
|
1688
1688
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1689
1689
|
}
|
|
1690
|
-
function _possible_constructor_return$
|
|
1691
|
-
if (call && (_type_of$
|
|
1690
|
+
function _possible_constructor_return$4(self, call) {
|
|
1691
|
+
if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
|
|
1692
1692
|
return call;
|
|
1693
1693
|
}
|
|
1694
|
-
return _assert_this_initialized$
|
|
1694
|
+
return _assert_this_initialized$4(self);
|
|
1695
1695
|
}
|
|
1696
|
-
function _set_prototype_of$
|
|
1697
|
-
_set_prototype_of$
|
|
1696
|
+
function _set_prototype_of$4(o, p) {
|
|
1697
|
+
_set_prototype_of$4 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
1698
1698
|
o.__proto__ = p;
|
|
1699
1699
|
return o;
|
|
1700
1700
|
};
|
|
1701
|
-
return _set_prototype_of$
|
|
1701
|
+
return _set_prototype_of$4(o, p);
|
|
1702
1702
|
}
|
|
1703
|
-
function _sliced_to_array$
|
|
1704
|
-
return _array_with_holes$
|
|
1703
|
+
function _sliced_to_array$3(arr, i) {
|
|
1704
|
+
return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$3();
|
|
1705
1705
|
}
|
|
1706
1706
|
function _to_consumable_array$5(arr) {
|
|
1707
|
-
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$
|
|
1707
|
+
return _array_without_holes$5(arr) || _iterable_to_array$5(arr) || _unsupported_iterable_to_array$7(arr) || _non_iterable_spread$5();
|
|
1708
1708
|
}
|
|
1709
|
-
function _type_of$
|
|
1709
|
+
function _type_of$4(obj) {
|
|
1710
1710
|
"@swc/helpers - typeof";
|
|
1711
1711
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1712
1712
|
}
|
|
1713
|
-
function _unsupported_iterable_to_array$
|
|
1713
|
+
function _unsupported_iterable_to_array$7(o, minLen) {
|
|
1714
1714
|
if (!o) return;
|
|
1715
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
1715
|
+
if (typeof o === "string") return _array_like_to_array$7(o, minLen);
|
|
1716
1716
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1717
1717
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1718
1718
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1719
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
1719
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
1720
1720
|
}
|
|
1721
|
-
function _is_native_reflect_construct$
|
|
1721
|
+
function _is_native_reflect_construct$4() {
|
|
1722
1722
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
1723
1723
|
if (Reflect.construct.sham) return false;
|
|
1724
1724
|
if (typeof Proxy === "function") return true;
|
|
@@ -1729,17 +1729,17 @@ function _is_native_reflect_construct$5() {
|
|
|
1729
1729
|
return false;
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
|
-
function _create_super$
|
|
1733
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
1732
|
+
function _create_super$4(Derived) {
|
|
1733
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$4();
|
|
1734
1734
|
return function _createSuperInternal() {
|
|
1735
|
-
var Super = _get_prototype_of$
|
|
1735
|
+
var Super = _get_prototype_of$4(Derived), result;
|
|
1736
1736
|
if (hasNativeReflectConstruct) {
|
|
1737
|
-
var NewTarget = _get_prototype_of$
|
|
1737
|
+
var NewTarget = _get_prototype_of$4(this).constructor;
|
|
1738
1738
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
1739
1739
|
} else {
|
|
1740
1740
|
result = Super.apply(this, arguments);
|
|
1741
1741
|
}
|
|
1742
|
-
return _possible_constructor_return$
|
|
1742
|
+
return _possible_constructor_return$4(this, result);
|
|
1743
1743
|
};
|
|
1744
1744
|
}
|
|
1745
1745
|
var _t;
|
|
@@ -1776,11 +1776,11 @@ var V = function(t, i) {
|
|
|
1776
1776
|
var N = /*#__PURE__*/ function() {
|
|
1777
1777
|
function N(param, n) {
|
|
1778
1778
|
var t = param.strings, s = param._$litType$;
|
|
1779
|
-
_class_call_check$
|
|
1779
|
+
_class_call_check$c(this, N);
|
|
1780
1780
|
var r;
|
|
1781
1781
|
this.parts = [];
|
|
1782
1782
|
var c = 0, a = 0;
|
|
1783
|
-
var u = t.length - 1, d = this.parts, _V = _sliced_to_array$
|
|
1783
|
+
var u = t.length - 1, d = this.parts, _V = _sliced_to_array$3(V(t, s), 2), f = _V[0], v = _V[1];
|
|
1784
1784
|
if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
|
|
1785
1785
|
var _t;
|
|
1786
1786
|
var t1 = this.el.content.firstChild;
|
|
@@ -1845,7 +1845,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1845
1845
|
c++;
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
|
-
_create_class$
|
|
1848
|
+
_create_class$c(N, null, [
|
|
1849
1849
|
{
|
|
1850
1850
|
key: "createElement",
|
|
1851
1851
|
value: function createElement(t, i) {
|
|
@@ -1868,10 +1868,10 @@ function S(t, i) {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
var M = /*#__PURE__*/ function() {
|
|
1870
1870
|
function M(t, i) {
|
|
1871
|
-
_class_call_check$
|
|
1871
|
+
_class_call_check$c(this, M);
|
|
1872
1872
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
1873
1873
|
}
|
|
1874
|
-
_create_class$
|
|
1874
|
+
_create_class$c(M, [
|
|
1875
1875
|
{
|
|
1876
1876
|
key: "parentNode",
|
|
1877
1877
|
get: function get() {
|
|
@@ -1932,11 +1932,11 @@ var M = /*#__PURE__*/ function() {
|
|
|
1932
1932
|
}();
|
|
1933
1933
|
var R = /*#__PURE__*/ function() {
|
|
1934
1934
|
function R(t, i, s, e) {
|
|
1935
|
-
_class_call_check$
|
|
1935
|
+
_class_call_check$c(this, R);
|
|
1936
1936
|
var _e_isConnected;
|
|
1937
1937
|
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;
|
|
1938
1938
|
}
|
|
1939
|
-
_create_class$
|
|
1939
|
+
_create_class$c(R, [
|
|
1940
1940
|
{
|
|
1941
1941
|
key: "_$AU",
|
|
1942
1942
|
get: function get() {
|
|
@@ -2061,10 +2061,10 @@ var R = /*#__PURE__*/ function() {
|
|
|
2061
2061
|
}();
|
|
2062
2062
|
var k = /*#__PURE__*/ function() {
|
|
2063
2063
|
function k(t, i, s, e, h) {
|
|
2064
|
-
_class_call_check$
|
|
2064
|
+
_class_call_check$c(this, k);
|
|
2065
2065
|
this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = E;
|
|
2066
2066
|
}
|
|
2067
|
-
_create_class$
|
|
2067
|
+
_create_class$c(k, [
|
|
2068
2068
|
{
|
|
2069
2069
|
key: "tagName",
|
|
2070
2070
|
get: function get() {
|
|
@@ -2102,17 +2102,17 @@ var k = /*#__PURE__*/ function() {
|
|
|
2102
2102
|
return k;
|
|
2103
2103
|
}();
|
|
2104
2104
|
var H = /*#__PURE__*/ function(k) {
|
|
2105
|
-
_inherits$
|
|
2106
|
-
var _super = _create_super$
|
|
2105
|
+
_inherits$4(H, k);
|
|
2106
|
+
var _super = _create_super$4(H);
|
|
2107
2107
|
function H() {
|
|
2108
|
-
_class_call_check$
|
|
2108
|
+
_class_call_check$c(this, H);
|
|
2109
2109
|
var _this;
|
|
2110
2110
|
_this = _super.call.apply(_super, [
|
|
2111
2111
|
this
|
|
2112
2112
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
|
|
2113
|
-
return _possible_constructor_return$
|
|
2113
|
+
return _possible_constructor_return$4(_this);
|
|
2114
2114
|
}
|
|
2115
|
-
_create_class$
|
|
2115
|
+
_create_class$c(H, [
|
|
2116
2116
|
{
|
|
2117
2117
|
key: "j",
|
|
2118
2118
|
value: function j(t) {
|
|
@@ -2123,17 +2123,17 @@ var H = /*#__PURE__*/ function(k) {
|
|
|
2123
2123
|
return H;
|
|
2124
2124
|
}(k);
|
|
2125
2125
|
var I = /*#__PURE__*/ function(k) {
|
|
2126
|
-
_inherits$
|
|
2127
|
-
var _super = _create_super$
|
|
2126
|
+
_inherits$4(I, k);
|
|
2127
|
+
var _super = _create_super$4(I);
|
|
2128
2128
|
function I() {
|
|
2129
|
-
_class_call_check$
|
|
2129
|
+
_class_call_check$c(this, I);
|
|
2130
2130
|
var _this;
|
|
2131
2131
|
_this = _super.call.apply(_super, [
|
|
2132
2132
|
this
|
|
2133
2133
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
|
|
2134
|
-
return _possible_constructor_return$
|
|
2134
|
+
return _possible_constructor_return$4(_this);
|
|
2135
2135
|
}
|
|
2136
|
-
_create_class$
|
|
2136
|
+
_create_class$c(I, [
|
|
2137
2137
|
{
|
|
2138
2138
|
key: "j",
|
|
2139
2139
|
value: function j(t) {
|
|
@@ -2144,15 +2144,15 @@ var I = /*#__PURE__*/ function(k) {
|
|
|
2144
2144
|
return I;
|
|
2145
2145
|
}(k);
|
|
2146
2146
|
var L = /*#__PURE__*/ function(k) {
|
|
2147
|
-
_inherits$
|
|
2148
|
-
var _super = _create_super$
|
|
2147
|
+
_inherits$4(L, k);
|
|
2148
|
+
var _super = _create_super$4(L);
|
|
2149
2149
|
function L(t, i, s, e, h) {
|
|
2150
|
-
_class_call_check$
|
|
2150
|
+
_class_call_check$c(this, L);
|
|
2151
2151
|
var _this;
|
|
2152
2152
|
_this = _super.call(this, t, i, s, e, h), _this.type = 5;
|
|
2153
|
-
return _possible_constructor_return$
|
|
2153
|
+
return _possible_constructor_return$4(_this);
|
|
2154
2154
|
}
|
|
2155
|
-
_create_class$
|
|
2155
|
+
_create_class$c(L, [
|
|
2156
2156
|
{
|
|
2157
2157
|
key: "_$AI",
|
|
2158
2158
|
value: function _$AI(t) {
|
|
@@ -2176,10 +2176,10 @@ var L = /*#__PURE__*/ function(k) {
|
|
|
2176
2176
|
}(k);
|
|
2177
2177
|
var z = /*#__PURE__*/ function() {
|
|
2178
2178
|
function z(t, i, s) {
|
|
2179
|
-
_class_call_check$
|
|
2179
|
+
_class_call_check$c(this, z);
|
|
2180
2180
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
2181
2181
|
}
|
|
2182
|
-
_create_class$
|
|
2182
|
+
_create_class$c(z, [
|
|
2183
2183
|
{
|
|
2184
2184
|
key: "_$AU",
|
|
2185
2185
|
get: function get() {
|
|
@@ -2225,18 +2225,18 @@ var B = function(t, i, s) {
|
|
|
2225
2225
|
return h._$AI(t), h;
|
|
2226
2226
|
};
|
|
2227
2227
|
|
|
2228
|
-
function _assert_this_initialized$
|
|
2228
|
+
function _assert_this_initialized$3(self) {
|
|
2229
2229
|
if (self === void 0) {
|
|
2230
2230
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2231
2231
|
}
|
|
2232
2232
|
return self;
|
|
2233
2233
|
}
|
|
2234
|
-
function _class_call_check$
|
|
2234
|
+
function _class_call_check$b(instance, Constructor) {
|
|
2235
2235
|
if (!(instance instanceof Constructor)) {
|
|
2236
2236
|
throw new TypeError("Cannot call a class as a function");
|
|
2237
2237
|
}
|
|
2238
2238
|
}
|
|
2239
|
-
function _defineProperties$
|
|
2239
|
+
function _defineProperties$b(target, props) {
|
|
2240
2240
|
for(var i = 0; i < props.length; i++){
|
|
2241
2241
|
var descriptor = props[i];
|
|
2242
2242
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -2245,9 +2245,9 @@ function _defineProperties$c(target, props) {
|
|
|
2245
2245
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2246
2246
|
}
|
|
2247
2247
|
}
|
|
2248
|
-
function _create_class$
|
|
2249
|
-
if (protoProps) _defineProperties$
|
|
2250
|
-
if (staticProps) _defineProperties$
|
|
2248
|
+
function _create_class$b(Constructor, protoProps, staticProps) {
|
|
2249
|
+
if (protoProps) _defineProperties$b(Constructor.prototype, protoProps);
|
|
2250
|
+
if (staticProps) _defineProperties$b(Constructor, staticProps);
|
|
2251
2251
|
return Constructor;
|
|
2252
2252
|
}
|
|
2253
2253
|
function _get$1(target, property, receiver) {
|
|
@@ -2266,13 +2266,13 @@ function _get$1(target, property, receiver) {
|
|
|
2266
2266
|
}
|
|
2267
2267
|
return _get$1(target, property, receiver || target);
|
|
2268
2268
|
}
|
|
2269
|
-
function _get_prototype_of$
|
|
2270
|
-
_get_prototype_of$
|
|
2269
|
+
function _get_prototype_of$3(o) {
|
|
2270
|
+
_get_prototype_of$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
2271
2271
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
2272
2272
|
};
|
|
2273
|
-
return _get_prototype_of$
|
|
2273
|
+
return _get_prototype_of$3(o);
|
|
2274
2274
|
}
|
|
2275
|
-
function _inherits$
|
|
2275
|
+
function _inherits$3(subClass, superClass) {
|
|
2276
2276
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
2277
2277
|
throw new TypeError("Super expression must either be null or a function");
|
|
2278
2278
|
}
|
|
@@ -2283,33 +2283,33 @@ function _inherits$4(subClass, superClass) {
|
|
|
2283
2283
|
configurable: true
|
|
2284
2284
|
}
|
|
2285
2285
|
});
|
|
2286
|
-
if (superClass) _set_prototype_of$
|
|
2286
|
+
if (superClass) _set_prototype_of$3(subClass, superClass);
|
|
2287
2287
|
}
|
|
2288
|
-
function _possible_constructor_return$
|
|
2289
|
-
if (call && (_type_of$
|
|
2288
|
+
function _possible_constructor_return$3(self, call) {
|
|
2289
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
2290
2290
|
return call;
|
|
2291
2291
|
}
|
|
2292
|
-
return _assert_this_initialized$
|
|
2292
|
+
return _assert_this_initialized$3(self);
|
|
2293
2293
|
}
|
|
2294
|
-
function _set_prototype_of$
|
|
2295
|
-
_set_prototype_of$
|
|
2294
|
+
function _set_prototype_of$3(o, p) {
|
|
2295
|
+
_set_prototype_of$3 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
2296
2296
|
o.__proto__ = p;
|
|
2297
2297
|
return o;
|
|
2298
2298
|
};
|
|
2299
|
-
return _set_prototype_of$
|
|
2299
|
+
return _set_prototype_of$3(o, p);
|
|
2300
2300
|
}
|
|
2301
2301
|
function _super_prop_base$1(object, property) {
|
|
2302
2302
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
|
2303
|
-
object = _get_prototype_of$
|
|
2303
|
+
object = _get_prototype_of$3(object);
|
|
2304
2304
|
if (object === null) break;
|
|
2305
2305
|
}
|
|
2306
2306
|
return object;
|
|
2307
2307
|
}
|
|
2308
|
-
function _type_of$
|
|
2308
|
+
function _type_of$3(obj) {
|
|
2309
2309
|
"@swc/helpers - typeof";
|
|
2310
2310
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2311
2311
|
}
|
|
2312
|
-
function _is_native_reflect_construct$
|
|
2312
|
+
function _is_native_reflect_construct$3() {
|
|
2313
2313
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2314
2314
|
if (Reflect.construct.sham) return false;
|
|
2315
2315
|
if (typeof Proxy === "function") return true;
|
|
@@ -2320,17 +2320,17 @@ function _is_native_reflect_construct$4() {
|
|
|
2320
2320
|
return false;
|
|
2321
2321
|
}
|
|
2322
2322
|
}
|
|
2323
|
-
function _create_super$
|
|
2324
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
2323
|
+
function _create_super$3(Derived) {
|
|
2324
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$3();
|
|
2325
2325
|
return function _createSuperInternal() {
|
|
2326
|
-
var Super = _get_prototype_of$
|
|
2326
|
+
var Super = _get_prototype_of$3(Derived), result;
|
|
2327
2327
|
if (hasNativeReflectConstruct) {
|
|
2328
|
-
var NewTarget = _get_prototype_of$
|
|
2328
|
+
var NewTarget = _get_prototype_of$3(this).constructor;
|
|
2329
2329
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
2330
2330
|
} else {
|
|
2331
2331
|
result = Super.apply(this, arguments);
|
|
2332
2332
|
}
|
|
2333
|
-
return _possible_constructor_return$
|
|
2333
|
+
return _possible_constructor_return$3(this, result);
|
|
2334
2334
|
};
|
|
2335
2335
|
}
|
|
2336
2336
|
var _globalThis_litElementHydrateSupport, _globalThis;
|
|
@@ -2340,24 +2340,24 @@ var _globalThis1;
|
|
|
2340
2340
|
* Copyright 2017 Google LLC
|
|
2341
2341
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2342
2342
|
*/ var r$1 = /*#__PURE__*/ function(t) {
|
|
2343
|
-
_inherits$
|
|
2344
|
-
var _super = _create_super$
|
|
2343
|
+
_inherits$3(r, t);
|
|
2344
|
+
var _super = _create_super$3(r);
|
|
2345
2345
|
function r() {
|
|
2346
|
-
_class_call_check$
|
|
2346
|
+
_class_call_check$b(this, r);
|
|
2347
2347
|
var _this;
|
|
2348
2348
|
_this = _super.call.apply(_super, [
|
|
2349
2349
|
this
|
|
2350
2350
|
].concat(Array.prototype.slice.call(arguments))), _this.renderOptions = {
|
|
2351
|
-
host: _assert_this_initialized$
|
|
2351
|
+
host: _assert_this_initialized$3(_this)
|
|
2352
2352
|
}, _this._$Do = void 0;
|
|
2353
|
-
return _possible_constructor_return$
|
|
2353
|
+
return _possible_constructor_return$3(_this);
|
|
2354
2354
|
}
|
|
2355
|
-
_create_class$
|
|
2355
|
+
_create_class$b(r, [
|
|
2356
2356
|
{
|
|
2357
2357
|
key: "createRenderRoot",
|
|
2358
2358
|
value: function createRenderRoot() {
|
|
2359
2359
|
var _this_renderOptions;
|
|
2360
|
-
var _$t = _get$1(_get_prototype_of$
|
|
2360
|
+
var _$t = _get$1(_get_prototype_of$3(r.prototype), "createRenderRoot", this).call(this);
|
|
2361
2361
|
var _renderBefore;
|
|
2362
2362
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
2363
2363
|
}
|
|
@@ -2366,21 +2366,21 @@ var _globalThis1;
|
|
|
2366
2366
|
key: "update",
|
|
2367
2367
|
value: function update(t) {
|
|
2368
2368
|
var s = this.render();
|
|
2369
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get$1(_get_prototype_of$
|
|
2369
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get$1(_get_prototype_of$3(r.prototype), "update", this).call(this, t), this._$Do = B(s, this.renderRoot, this.renderOptions);
|
|
2370
2370
|
}
|
|
2371
2371
|
},
|
|
2372
2372
|
{
|
|
2373
2373
|
key: "connectedCallback",
|
|
2374
2374
|
value: function connectedCallback() {
|
|
2375
2375
|
var _this__$Do;
|
|
2376
|
-
_get$1(_get_prototype_of$
|
|
2376
|
+
_get$1(_get_prototype_of$3(r.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
|
|
2377
2377
|
}
|
|
2378
2378
|
},
|
|
2379
2379
|
{
|
|
2380
2380
|
key: "disconnectedCallback",
|
|
2381
2381
|
value: function disconnectedCallback() {
|
|
2382
2382
|
var _this__$Do;
|
|
2383
|
-
_get$1(_get_prototype_of$
|
|
2383
|
+
_get$1(_get_prototype_of$3(r.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
|
|
2384
2384
|
}
|
|
2385
2385
|
},
|
|
2386
2386
|
{
|
|
@@ -2419,31 +2419,6 @@ var _litElementVersions;
|
|
|
2419
2419
|
changedProperties: o._$AL
|
|
2420
2420
|
};
|
|
2421
2421
|
|
|
2422
|
-
/**
|
|
2423
|
-
* @license
|
|
2424
|
-
* Copyright 2023 Google LLC
|
|
2425
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2426
|
-
*/ /**
|
|
2427
|
-
* Map of ARIAMixin properties to attributes
|
|
2428
|
-
*/ function _class_call_check$b(instance, Constructor) {
|
|
2429
|
-
if (!(instance instanceof Constructor)) {
|
|
2430
|
-
throw new TypeError("Cannot call a class as a function");
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2433
|
-
function _defineProperties$b(target, props) {
|
|
2434
|
-
for(var i = 0; i < props.length; i++){
|
|
2435
|
-
var descriptor = props[i];
|
|
2436
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
2437
|
-
descriptor.configurable = true;
|
|
2438
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
2439
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2440
|
-
}
|
|
2441
|
-
}
|
|
2442
|
-
function _create_class$b(Constructor, protoProps, staticProps) {
|
|
2443
|
-
if (protoProps) _defineProperties$b(Constructor.prototype, protoProps);
|
|
2444
|
-
if (staticProps) _defineProperties$b(Constructor, staticProps);
|
|
2445
|
-
return Constructor;
|
|
2446
|
-
}
|
|
2447
2422
|
var ariaMixinAttributes = {
|
|
2448
2423
|
ariaAtomic: "aria-atomic",
|
|
2449
2424
|
ariaAutoComplete: "aria-autocomplete",
|
|
@@ -2487,117 +2462,8 @@ var ariaMixinAttributes = {
|
|
|
2487
2462
|
ariaValueText: "aria-valuetext",
|
|
2488
2463
|
role: "role"
|
|
2489
2464
|
};
|
|
2490
|
-
// Shim the global element internals object
|
|
2491
|
-
// Methods should be fine as noops and properties can generally
|
|
2492
|
-
// be while on the server.
|
|
2493
|
-
var ElementInternalsShim = /*#__PURE__*/ function() {
|
|
2494
|
-
function ElementInternals(_host) {
|
|
2495
|
-
_class_call_check$b(this, ElementInternals);
|
|
2496
|
-
this.ariaAtomic = "";
|
|
2497
|
-
this.ariaAutoComplete = "";
|
|
2498
|
-
this.ariaBrailleLabel = "";
|
|
2499
|
-
this.ariaBrailleRoleDescription = "";
|
|
2500
|
-
this.ariaBusy = "";
|
|
2501
|
-
this.ariaChecked = "";
|
|
2502
|
-
this.ariaColCount = "";
|
|
2503
|
-
this.ariaColIndex = "";
|
|
2504
|
-
this.ariaColSpan = "";
|
|
2505
|
-
this.ariaCurrent = "";
|
|
2506
|
-
this.ariaDescription = "";
|
|
2507
|
-
this.ariaDisabled = "";
|
|
2508
|
-
this.ariaExpanded = "";
|
|
2509
|
-
this.ariaHasPopup = "";
|
|
2510
|
-
this.ariaHidden = "";
|
|
2511
|
-
this.ariaInvalid = "";
|
|
2512
|
-
this.ariaKeyShortcuts = "";
|
|
2513
|
-
this.ariaLabel = "";
|
|
2514
|
-
this.ariaLevel = "";
|
|
2515
|
-
this.ariaLive = "";
|
|
2516
|
-
this.ariaModal = "";
|
|
2517
|
-
this.ariaMultiLine = "";
|
|
2518
|
-
this.ariaMultiSelectable = "";
|
|
2519
|
-
this.ariaOrientation = "";
|
|
2520
|
-
this.ariaPlaceholder = "";
|
|
2521
|
-
this.ariaPosInSet = "";
|
|
2522
|
-
this.ariaPressed = "";
|
|
2523
|
-
this.ariaReadOnly = "";
|
|
2524
|
-
this.ariaRequired = "";
|
|
2525
|
-
this.ariaRoleDescription = "";
|
|
2526
|
-
this.ariaRowCount = "";
|
|
2527
|
-
this.ariaRowIndex = "";
|
|
2528
|
-
this.ariaRowSpan = "";
|
|
2529
|
-
this.ariaSelected = "";
|
|
2530
|
-
this.ariaSetSize = "";
|
|
2531
|
-
this.ariaSort = "";
|
|
2532
|
-
this.ariaValueMax = "";
|
|
2533
|
-
this.ariaValueMin = "";
|
|
2534
|
-
this.ariaValueNow = "";
|
|
2535
|
-
this.ariaValueText = "";
|
|
2536
|
-
this.role = "";
|
|
2537
|
-
this.form = null;
|
|
2538
|
-
this.labels = [];
|
|
2539
|
-
this.states = new Set();
|
|
2540
|
-
this.validationMessage = "";
|
|
2541
|
-
this.validity = {};
|
|
2542
|
-
this.willValidate = true;
|
|
2543
|
-
this.__host = _host;
|
|
2544
|
-
}
|
|
2545
|
-
_create_class$b(ElementInternals, [
|
|
2546
|
-
{
|
|
2547
|
-
key: "shadowRoot",
|
|
2548
|
-
get: function get() {
|
|
2549
|
-
// Grab the shadow root instance from the Element shim
|
|
2550
|
-
// to ensure that the shadow root is always available
|
|
2551
|
-
// to the internals instance even if the mode is 'closed'
|
|
2552
|
-
return this.__host.__shadowRoot;
|
|
2553
|
-
}
|
|
2554
|
-
},
|
|
2555
|
-
{
|
|
2556
|
-
key: "checkValidity",
|
|
2557
|
-
value: function checkValidity() {
|
|
2558
|
-
// TODO(augustjk) Consider actually implementing logic.
|
|
2559
|
-
// See https://github.com/lit/lit/issues/3740
|
|
2560
|
-
console.warn("`ElementInternals.checkValidity()` was called on the server." + "This method always returns true.");
|
|
2561
|
-
return true;
|
|
2562
|
-
}
|
|
2563
|
-
},
|
|
2564
|
-
{
|
|
2565
|
-
key: "reportValidity",
|
|
2566
|
-
value: function reportValidity() {
|
|
2567
|
-
return true;
|
|
2568
|
-
}
|
|
2569
|
-
},
|
|
2570
|
-
{
|
|
2571
|
-
key: "setFormValue",
|
|
2572
|
-
value: function setFormValue() {}
|
|
2573
|
-
},
|
|
2574
|
-
{
|
|
2575
|
-
key: "setValidity",
|
|
2576
|
-
value: function setValidity() {}
|
|
2577
|
-
}
|
|
2578
|
-
]);
|
|
2579
|
-
return ElementInternals;
|
|
2580
|
-
}();
|
|
2581
2465
|
var HYDRATE_INTERNALS_ATTR_PREFIX = "hydrate-internals-";
|
|
2582
2466
|
|
|
2583
|
-
/**
|
|
2584
|
-
* @license
|
|
2585
|
-
* Copyright 2019 Google LLC
|
|
2586
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2587
|
-
*/ function _array_like_to_array$7(arr, len) {
|
|
2588
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
2589
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2590
|
-
return arr2;
|
|
2591
|
-
}
|
|
2592
|
-
function _array_with_holes$3(arr) {
|
|
2593
|
-
if (Array.isArray(arr)) return arr;
|
|
2594
|
-
}
|
|
2595
|
-
function _assert_this_initialized$3(self) {
|
|
2596
|
-
if (self === void 0) {
|
|
2597
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2598
|
-
}
|
|
2599
|
-
return self;
|
|
2600
|
-
}
|
|
2601
2467
|
function _class_call_check$a(instance, Constructor) {
|
|
2602
2468
|
if (!(instance instanceof Constructor)) {
|
|
2603
2469
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -2617,254 +2483,6 @@ function _create_class$a(Constructor, protoProps, staticProps) {
|
|
|
2617
2483
|
if (staticProps) _defineProperties$a(Constructor, staticProps);
|
|
2618
2484
|
return Constructor;
|
|
2619
2485
|
}
|
|
2620
|
-
function _get_prototype_of$3(o) {
|
|
2621
|
-
_get_prototype_of$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
2622
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
2623
|
-
};
|
|
2624
|
-
return _get_prototype_of$3(o);
|
|
2625
|
-
}
|
|
2626
|
-
function _inherits$3(subClass, superClass) {
|
|
2627
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
2628
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
2629
|
-
}
|
|
2630
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
2631
|
-
constructor: {
|
|
2632
|
-
value: subClass,
|
|
2633
|
-
writable: true,
|
|
2634
|
-
configurable: true
|
|
2635
|
-
}
|
|
2636
|
-
});
|
|
2637
|
-
if (superClass) _set_prototype_of$3(subClass, superClass);
|
|
2638
|
-
}
|
|
2639
|
-
function _iterable_to_array_limit$3(arr, i) {
|
|
2640
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
2641
|
-
if (_i == null) return;
|
|
2642
|
-
var _arr = [];
|
|
2643
|
-
var _n = true;
|
|
2644
|
-
var _d = false;
|
|
2645
|
-
var _s, _e;
|
|
2646
|
-
try {
|
|
2647
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
2648
|
-
_arr.push(_s.value);
|
|
2649
|
-
if (i && _arr.length === i) break;
|
|
2650
|
-
}
|
|
2651
|
-
} catch (err) {
|
|
2652
|
-
_d = true;
|
|
2653
|
-
_e = err;
|
|
2654
|
-
} finally{
|
|
2655
|
-
try {
|
|
2656
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
2657
|
-
} finally{
|
|
2658
|
-
if (_d) throw _e;
|
|
2659
|
-
}
|
|
2660
|
-
}
|
|
2661
|
-
return _arr;
|
|
2662
|
-
}
|
|
2663
|
-
function _non_iterable_rest$3() {
|
|
2664
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2665
|
-
}
|
|
2666
|
-
function _possible_constructor_return$3(self, call) {
|
|
2667
|
-
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
2668
|
-
return call;
|
|
2669
|
-
}
|
|
2670
|
-
return _assert_this_initialized$3(self);
|
|
2671
|
-
}
|
|
2672
|
-
function _set_prototype_of$3(o, p) {
|
|
2673
|
-
_set_prototype_of$3 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
2674
|
-
o.__proto__ = p;
|
|
2675
|
-
return o;
|
|
2676
|
-
};
|
|
2677
|
-
return _set_prototype_of$3(o, p);
|
|
2678
|
-
}
|
|
2679
|
-
function _sliced_to_array$3(arr, i) {
|
|
2680
|
-
return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$3();
|
|
2681
|
-
}
|
|
2682
|
-
function _type_of$3(obj) {
|
|
2683
|
-
"@swc/helpers - typeof";
|
|
2684
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2685
|
-
}
|
|
2686
|
-
function _unsupported_iterable_to_array$7(o, minLen) {
|
|
2687
|
-
if (!o) return;
|
|
2688
|
-
if (typeof o === "string") return _array_like_to_array$7(o, minLen);
|
|
2689
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2690
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2691
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2692
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$7(o, minLen);
|
|
2693
|
-
}
|
|
2694
|
-
function _is_native_reflect_construct$3() {
|
|
2695
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2696
|
-
if (Reflect.construct.sham) return false;
|
|
2697
|
-
if (typeof Proxy === "function") return true;
|
|
2698
|
-
try {
|
|
2699
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
2700
|
-
return true;
|
|
2701
|
-
} catch (e) {
|
|
2702
|
-
return false;
|
|
2703
|
-
}
|
|
2704
|
-
}
|
|
2705
|
-
function _create_super$3(Derived) {
|
|
2706
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$3();
|
|
2707
|
-
return function _createSuperInternal() {
|
|
2708
|
-
var Super = _get_prototype_of$3(Derived), result;
|
|
2709
|
-
if (hasNativeReflectConstruct) {
|
|
2710
|
-
var NewTarget = _get_prototype_of$3(this).constructor;
|
|
2711
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
2712
|
-
} else {
|
|
2713
|
-
result = Super.apply(this, arguments);
|
|
2714
|
-
}
|
|
2715
|
-
return _possible_constructor_return$3(this, result);
|
|
2716
|
-
};
|
|
2717
|
-
}
|
|
2718
|
-
var attributes = new WeakMap();
|
|
2719
|
-
var attributesForElement = function(element) {
|
|
2720
|
-
var attrs = attributes.get(element);
|
|
2721
|
-
if (attrs === undefined) {
|
|
2722
|
-
attributes.set(element, attrs = new Map());
|
|
2723
|
-
}
|
|
2724
|
-
return attrs;
|
|
2725
|
-
};
|
|
2726
|
-
// The typings around the exports below are a little funky:
|
|
2727
|
-
//
|
|
2728
|
-
// 1. We want the `name` of the shim classes to match the real ones at runtime,
|
|
2729
|
-
// hence e.g. `class Element`.
|
|
2730
|
-
// 2. We can't shadow the global types with a simple class declaration, because
|
|
2731
|
-
// then we can't reference the global types for casting, hence e.g.
|
|
2732
|
-
// `const ElementShim = class Element`.
|
|
2733
|
-
// 3. We want to export the classes typed as the real ones, hence e.g.
|
|
2734
|
-
// `const ElementShimWithRealType = ElementShim as object as typeof Element;`.
|
|
2735
|
-
// 4. We want the exported names to match the real ones, hence e.g.
|
|
2736
|
-
// `export {ElementShimWithRealType as Element}`.
|
|
2737
|
-
var ElementShim = /*#__PURE__*/ function() {
|
|
2738
|
-
function Element() {
|
|
2739
|
-
_class_call_check$a(this, Element);
|
|
2740
|
-
this.__shadowRootMode = null;
|
|
2741
|
-
this.__shadowRoot = null;
|
|
2742
|
-
this.__internals = null;
|
|
2743
|
-
}
|
|
2744
|
-
_create_class$a(Element, [
|
|
2745
|
-
{
|
|
2746
|
-
key: "attributes",
|
|
2747
|
-
get: function get() {
|
|
2748
|
-
return Array.from(attributesForElement(this)).map(function(param) {
|
|
2749
|
-
var _param = _sliced_to_array$3(param, 2), name = _param[0], value = _param[1];
|
|
2750
|
-
return {
|
|
2751
|
-
name: name,
|
|
2752
|
-
value: value
|
|
2753
|
-
};
|
|
2754
|
-
});
|
|
2755
|
-
}
|
|
2756
|
-
},
|
|
2757
|
-
{
|
|
2758
|
-
key: "shadowRoot",
|
|
2759
|
-
get: function get() {
|
|
2760
|
-
if (this.__shadowRootMode === "closed") {
|
|
2761
|
-
return null;
|
|
2762
|
-
}
|
|
2763
|
-
return this.__shadowRoot;
|
|
2764
|
-
}
|
|
2765
|
-
},
|
|
2766
|
-
{
|
|
2767
|
-
key: "localName",
|
|
2768
|
-
get: function get() {
|
|
2769
|
-
return this.constructor.__localName;
|
|
2770
|
-
}
|
|
2771
|
-
},
|
|
2772
|
-
{
|
|
2773
|
-
key: "tagName",
|
|
2774
|
-
get: function get() {
|
|
2775
|
-
var _this_localName;
|
|
2776
|
-
return (_this_localName = this.localName) === null || _this_localName === void 0 ? void 0 : _this_localName.toUpperCase();
|
|
2777
|
-
}
|
|
2778
|
-
},
|
|
2779
|
-
{
|
|
2780
|
-
key: "setAttribute",
|
|
2781
|
-
value: function setAttribute(name, value) {
|
|
2782
|
-
// Emulate browser behavior that silently casts all values to string. E.g.
|
|
2783
|
-
// `42` becomes `"42"` and `{}` becomes `"[object Object]""`.
|
|
2784
|
-
attributesForElement(this).set(name, String(value));
|
|
2785
|
-
}
|
|
2786
|
-
},
|
|
2787
|
-
{
|
|
2788
|
-
key: "removeAttribute",
|
|
2789
|
-
value: function removeAttribute(name) {
|
|
2790
|
-
attributesForElement(this).delete(name);
|
|
2791
|
-
}
|
|
2792
|
-
},
|
|
2793
|
-
{
|
|
2794
|
-
key: "toggleAttribute",
|
|
2795
|
-
value: function toggleAttribute(name, force) {
|
|
2796
|
-
// Steps reference https://dom.spec.whatwg.org/#dom-element-toggleattribute
|
|
2797
|
-
if (this.hasAttribute(name)) {
|
|
2798
|
-
// Step 5
|
|
2799
|
-
if (force === undefined || !force) {
|
|
2800
|
-
this.removeAttribute(name);
|
|
2801
|
-
return false;
|
|
2802
|
-
}
|
|
2803
|
-
} else {
|
|
2804
|
-
// Step 4
|
|
2805
|
-
if (force === undefined || force) {
|
|
2806
|
-
// Step 4.1
|
|
2807
|
-
this.setAttribute(name, "");
|
|
2808
|
-
return true;
|
|
2809
|
-
} else {
|
|
2810
|
-
// Step 4.2
|
|
2811
|
-
return false;
|
|
2812
|
-
}
|
|
2813
|
-
}
|
|
2814
|
-
// Step 6
|
|
2815
|
-
return true;
|
|
2816
|
-
}
|
|
2817
|
-
},
|
|
2818
|
-
{
|
|
2819
|
-
key: "hasAttribute",
|
|
2820
|
-
value: function hasAttribute(name) {
|
|
2821
|
-
return attributesForElement(this).has(name);
|
|
2822
|
-
}
|
|
2823
|
-
},
|
|
2824
|
-
{
|
|
2825
|
-
key: "attachShadow",
|
|
2826
|
-
value: function attachShadow(init) {
|
|
2827
|
-
var shadowRoot = {
|
|
2828
|
-
host: this
|
|
2829
|
-
};
|
|
2830
|
-
this.__shadowRootMode = init.mode;
|
|
2831
|
-
if (init && init.mode === "open") {
|
|
2832
|
-
this.__shadowRoot = shadowRoot;
|
|
2833
|
-
}
|
|
2834
|
-
return shadowRoot;
|
|
2835
|
-
}
|
|
2836
|
-
},
|
|
2837
|
-
{
|
|
2838
|
-
key: "attachInternals",
|
|
2839
|
-
value: function attachInternals() {
|
|
2840
|
-
if (this.__internals !== null) {
|
|
2841
|
-
throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': " + "ElementInternals for the specified element was already attached.");
|
|
2842
|
-
}
|
|
2843
|
-
var internals = new ElementInternalsShim(this);
|
|
2844
|
-
this.__internals = internals;
|
|
2845
|
-
return internals;
|
|
2846
|
-
}
|
|
2847
|
-
},
|
|
2848
|
-
{
|
|
2849
|
-
key: "getAttribute",
|
|
2850
|
-
value: function getAttribute(name) {
|
|
2851
|
-
var value = attributesForElement(this).get(name);
|
|
2852
|
-
return value !== null && value !== void 0 ? value : null;
|
|
2853
|
-
}
|
|
2854
|
-
}
|
|
2855
|
-
]);
|
|
2856
|
-
return Element;
|
|
2857
|
-
}();
|
|
2858
|
-
var HTMLElementShim = /*#__PURE__*/ function(ElementShim) {
|
|
2859
|
-
_inherits$3(HTMLElement, ElementShim);
|
|
2860
|
-
var _super = _create_super$3(HTMLElement);
|
|
2861
|
-
function HTMLElement() {
|
|
2862
|
-
_class_call_check$a(this, HTMLElement);
|
|
2863
|
-
return _super.apply(this, arguments);
|
|
2864
|
-
}
|
|
2865
|
-
return HTMLElement;
|
|
2866
|
-
}(ElementShim);
|
|
2867
|
-
var HTMLElementShimWithRealType = HTMLElementShim;
|
|
2868
2486
|
var CustomElementRegistryShim = /*#__PURE__*/ function() {
|
|
2869
2487
|
function CustomElementRegistry() {
|
|
2870
2488
|
_class_call_check$a(this, CustomElementRegistry);
|
|
@@ -17083,9 +16701,6 @@ var collectResult = function() {
|
|
|
17083
16701
|
};
|
|
17084
16702
|
}();
|
|
17085
16703
|
|
|
17086
|
-
var _global;
|
|
17087
|
-
var _HTMLElement;
|
|
17088
|
-
(_HTMLElement = (_global = global).HTMLElement) != null ? _HTMLElement : _global.HTMLElement = HTMLElementShimWithRealType;
|
|
17089
16704
|
let WebService = class WebService {
|
|
17090
16705
|
filteredWebPinsSettings(item, path) {
|
|
17091
16706
|
if (Array.isArray(item)) {
|