@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.esm.js
CHANGED
|
@@ -38,26 +38,26 @@ function _extends() {
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/ function _array_like_to_array$
|
|
41
|
+
*/ function _array_like_to_array$o(arr, len) {
|
|
42
42
|
if (len == null || len > arr.length) len = arr.length;
|
|
43
43
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
44
44
|
return arr2;
|
|
45
45
|
}
|
|
46
|
-
function _array_with_holes$
|
|
46
|
+
function _array_with_holes$i(arr) {
|
|
47
47
|
if (Array.isArray(arr)) return arr;
|
|
48
48
|
}
|
|
49
|
-
function _assert_this_initialized$
|
|
49
|
+
function _assert_this_initialized$e(self) {
|
|
50
50
|
if (self === void 0) {
|
|
51
51
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
52
52
|
}
|
|
53
53
|
return self;
|
|
54
54
|
}
|
|
55
|
-
function _class_call_check$
|
|
55
|
+
function _class_call_check$z(instance, Constructor) {
|
|
56
56
|
if (!(instance instanceof Constructor)) {
|
|
57
57
|
throw new TypeError("Cannot call a class as a function");
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function _defineProperties$
|
|
60
|
+
function _defineProperties$y(target, props) {
|
|
61
61
|
for(var i = 0; i < props.length; i++){
|
|
62
62
|
var descriptor = props[i];
|
|
63
63
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -66,18 +66,18 @@ function _defineProperties$z(target, props) {
|
|
|
66
66
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
function _create_class$
|
|
70
|
-
if (protoProps) _defineProperties$
|
|
71
|
-
if (staticProps) _defineProperties$
|
|
69
|
+
function _create_class$y(Constructor, protoProps, staticProps) {
|
|
70
|
+
if (protoProps) _defineProperties$y(Constructor.prototype, protoProps);
|
|
71
|
+
if (staticProps) _defineProperties$y(Constructor, staticProps);
|
|
72
72
|
return Constructor;
|
|
73
73
|
}
|
|
74
|
-
function _get_prototype_of$
|
|
75
|
-
_get_prototype_of$
|
|
74
|
+
function _get_prototype_of$e(o) {
|
|
75
|
+
_get_prototype_of$e = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
76
76
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
77
77
|
};
|
|
78
|
-
return _get_prototype_of$
|
|
78
|
+
return _get_prototype_of$e(o);
|
|
79
79
|
}
|
|
80
|
-
function _inherits$
|
|
80
|
+
function _inherits$e(subClass, superClass) {
|
|
81
81
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
82
82
|
throw new TypeError("Super expression must either be null or a function");
|
|
83
83
|
}
|
|
@@ -88,9 +88,9 @@ function _inherits$f(subClass, superClass) {
|
|
|
88
88
|
configurable: true
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
|
-
if (superClass) _set_prototype_of$
|
|
91
|
+
if (superClass) _set_prototype_of$e(subClass, superClass);
|
|
92
92
|
}
|
|
93
|
-
function _iterable_to_array_limit$
|
|
93
|
+
function _iterable_to_array_limit$i(arr, i) {
|
|
94
94
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
95
95
|
if (_i == null) return;
|
|
96
96
|
var _arr = [];
|
|
@@ -114,38 +114,38 @@ function _iterable_to_array_limit$j(arr, i) {
|
|
|
114
114
|
}
|
|
115
115
|
return _arr;
|
|
116
116
|
}
|
|
117
|
-
function _non_iterable_rest$
|
|
117
|
+
function _non_iterable_rest$i() {
|
|
118
118
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
119
119
|
}
|
|
120
|
-
function _possible_constructor_return$
|
|
121
|
-
if (call && (_type_of$
|
|
120
|
+
function _possible_constructor_return$e(self, call) {
|
|
121
|
+
if (call && (_type_of$i(call) === "object" || typeof call === "function")) {
|
|
122
122
|
return call;
|
|
123
123
|
}
|
|
124
|
-
return _assert_this_initialized$
|
|
124
|
+
return _assert_this_initialized$e(self);
|
|
125
125
|
}
|
|
126
|
-
function _set_prototype_of$
|
|
127
|
-
_set_prototype_of$
|
|
126
|
+
function _set_prototype_of$e(o, p) {
|
|
127
|
+
_set_prototype_of$e = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
128
128
|
o.__proto__ = p;
|
|
129
129
|
return o;
|
|
130
130
|
};
|
|
131
|
-
return _set_prototype_of$
|
|
131
|
+
return _set_prototype_of$e(o, p);
|
|
132
132
|
}
|
|
133
|
-
function _sliced_to_array$
|
|
134
|
-
return _array_with_holes$
|
|
133
|
+
function _sliced_to_array$i(arr, i) {
|
|
134
|
+
return _array_with_holes$i(arr) || _iterable_to_array_limit$i(arr, i) || _unsupported_iterable_to_array$o(arr, i) || _non_iterable_rest$i();
|
|
135
135
|
}
|
|
136
|
-
function _type_of$
|
|
136
|
+
function _type_of$i(obj) {
|
|
137
137
|
"@swc/helpers - typeof";
|
|
138
138
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
139
139
|
}
|
|
140
|
-
function _unsupported_iterable_to_array$
|
|
140
|
+
function _unsupported_iterable_to_array$o(o, minLen) {
|
|
141
141
|
if (!o) return;
|
|
142
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
142
|
+
if (typeof o === "string") return _array_like_to_array$o(o, minLen);
|
|
143
143
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
144
144
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
145
145
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
146
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
146
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$o(o, minLen);
|
|
147
147
|
}
|
|
148
|
-
function _is_native_reflect_construct$
|
|
148
|
+
function _is_native_reflect_construct$e() {
|
|
149
149
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
150
150
|
if (Reflect.construct.sham) return false;
|
|
151
151
|
if (typeof Proxy === "function") return true;
|
|
@@ -156,17 +156,17 @@ function _is_native_reflect_construct$f() {
|
|
|
156
156
|
return false;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function _create_super$
|
|
160
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
159
|
+
function _create_super$e(Derived) {
|
|
160
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$e();
|
|
161
161
|
return function _createSuperInternal() {
|
|
162
|
-
var Super = _get_prototype_of$
|
|
162
|
+
var Super = _get_prototype_of$e(Derived), result;
|
|
163
163
|
if (hasNativeReflectConstruct) {
|
|
164
|
-
var NewTarget = _get_prototype_of$
|
|
164
|
+
var NewTarget = _get_prototype_of$e(this).constructor;
|
|
165
165
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
166
166
|
} else {
|
|
167
167
|
result = Super.apply(this, arguments);
|
|
168
168
|
}
|
|
169
|
-
return _possible_constructor_return$
|
|
169
|
+
return _possible_constructor_return$e(this, result);
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
172
|
function _ts_generator$5(thisArg, body) {
|
|
@@ -303,10 +303,10 @@ var getElementRenderer = function(param, tagName) {
|
|
|
303
303
|
* An object that renders elements of a certain type.
|
|
304
304
|
*/ var ElementRenderer = /*#__PURE__*/ function() {
|
|
305
305
|
function ElementRenderer(tagName) {
|
|
306
|
-
_class_call_check$
|
|
306
|
+
_class_call_check$z(this, ElementRenderer);
|
|
307
307
|
this.tagName = tagName;
|
|
308
308
|
}
|
|
309
|
-
_create_class$
|
|
309
|
+
_create_class$y(ElementRenderer, [
|
|
310
310
|
{
|
|
311
311
|
/**
|
|
312
312
|
* Called when a custom element is "attached" to the server DOM.
|
|
@@ -486,10 +486,10 @@ var getElementRenderer = function(param, tagName) {
|
|
|
486
486
|
* An ElementRenderer used as a fallback in the case where a custom element is
|
|
487
487
|
* either unregistered or has no other matching renderer.
|
|
488
488
|
*/ var FallbackRenderer = /*#__PURE__*/ function(ElementRenderer) {
|
|
489
|
-
_inherits$
|
|
490
|
-
var _super = _create_super$
|
|
489
|
+
_inherits$e(FallbackRenderer, ElementRenderer);
|
|
490
|
+
var _super = _create_super$e(FallbackRenderer);
|
|
491
491
|
function FallbackRenderer() {
|
|
492
|
-
_class_call_check$
|
|
492
|
+
_class_call_check$z(this, FallbackRenderer);
|
|
493
493
|
var _this;
|
|
494
494
|
_this = _super.call.apply(_super, [
|
|
495
495
|
this
|
|
@@ -497,7 +497,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
497
497
|
_this._attributes = {};
|
|
498
498
|
return _this;
|
|
499
499
|
}
|
|
500
|
-
_create_class$
|
|
500
|
+
_create_class$y(FallbackRenderer, [
|
|
501
501
|
{
|
|
502
502
|
key: "setAttribute",
|
|
503
503
|
value: function setAttribute(name, value) {
|
|
@@ -528,7 +528,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
528
528
|
3,
|
|
529
529
|
7
|
|
530
530
|
];
|
|
531
|
-
_step_value = _sliced_to_array$
|
|
531
|
+
_step_value = _sliced_to_array$i(_step.value, 2), name = _step_value[0], value = _step_value[1];
|
|
532
532
|
if (!(value === "" || value === undefined || value === null)) return [
|
|
533
533
|
3,
|
|
534
534
|
4
|
|
@@ -600,12 +600,12 @@ var getElementRenderer = function(param, tagName) {
|
|
|
600
600
|
* @license
|
|
601
601
|
* Copyright 2019 Google LLC
|
|
602
602
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
603
|
-
*/ function _class_call_check$
|
|
603
|
+
*/ function _class_call_check$y(instance, Constructor) {
|
|
604
604
|
if (!(instance instanceof Constructor)) {
|
|
605
605
|
throw new TypeError("Cannot call a class as a function");
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
function _defineProperties$
|
|
608
|
+
function _defineProperties$x(target, props) {
|
|
609
609
|
for(var i = 0; i < props.length; i++){
|
|
610
610
|
var descriptor = props[i];
|
|
611
611
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -614,9 +614,9 @@ function _defineProperties$y(target, props) {
|
|
|
614
614
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
function _create_class$
|
|
618
|
-
if (protoProps) _defineProperties$
|
|
619
|
-
if (staticProps) _defineProperties$
|
|
617
|
+
function _create_class$x(Constructor, protoProps, staticProps) {
|
|
618
|
+
if (protoProps) _defineProperties$x(Constructor.prototype, protoProps);
|
|
619
|
+
if (staticProps) _defineProperties$x(Constructor, staticProps);
|
|
620
620
|
return Constructor;
|
|
621
621
|
}
|
|
622
622
|
function _instanceof$a(left, right) {
|
|
@@ -629,11 +629,11 @@ function _instanceof$a(left, right) {
|
|
|
629
629
|
var t$3 = globalThis, e$4 = t$3.ShadowRoot && (void 0 === t$3.ShadyCSS || t$3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$3 = Symbol(), o$3 = new WeakMap;
|
|
630
630
|
var n$4 = /*#__PURE__*/ function() {
|
|
631
631
|
function n(t, e, o) {
|
|
632
|
-
_class_call_check$
|
|
632
|
+
_class_call_check$y(this, n);
|
|
633
633
|
if (this._$cssResult$ = !0, o !== s$3) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
634
634
|
this.cssText = t, this.t = e;
|
|
635
635
|
}
|
|
636
|
-
_create_class$
|
|
636
|
+
_create_class$x(n, [
|
|
637
637
|
{
|
|
638
638
|
key: "styleSheet",
|
|
639
639
|
get: function get() {
|
|
@@ -711,18 +711,18 @@ var r$4 = function(t) {
|
|
|
711
711
|
}(t) : t;
|
|
712
712
|
};
|
|
713
713
|
|
|
714
|
-
function _array_like_to_array$
|
|
714
|
+
function _array_like_to_array$n(arr, len) {
|
|
715
715
|
if (len == null || len > arr.length) len = arr.length;
|
|
716
716
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
717
717
|
return arr2;
|
|
718
718
|
}
|
|
719
|
-
function _array_with_holes$
|
|
719
|
+
function _array_with_holes$h(arr) {
|
|
720
720
|
if (Array.isArray(arr)) return arr;
|
|
721
721
|
}
|
|
722
722
|
function _array_without_holes$e(arr) {
|
|
723
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
723
|
+
if (Array.isArray(arr)) return _array_like_to_array$n(arr);
|
|
724
724
|
}
|
|
725
|
-
function _assert_this_initialized$
|
|
725
|
+
function _assert_this_initialized$d(self) {
|
|
726
726
|
if (self === void 0) {
|
|
727
727
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
728
728
|
}
|
|
@@ -757,13 +757,13 @@ function _async_to_generator$1(fn) {
|
|
|
757
757
|
});
|
|
758
758
|
};
|
|
759
759
|
}
|
|
760
|
-
function _class_call_check$
|
|
760
|
+
function _class_call_check$x(instance, Constructor) {
|
|
761
761
|
if (!(instance instanceof Constructor)) {
|
|
762
762
|
throw new TypeError("Cannot call a class as a function");
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
765
|
function _construct$2(Parent, args, Class) {
|
|
766
|
-
if (_is_native_reflect_construct$
|
|
766
|
+
if (_is_native_reflect_construct$d()) {
|
|
767
767
|
_construct$2 = Reflect.construct;
|
|
768
768
|
} else {
|
|
769
769
|
_construct$2 = function construct(Parent, args, Class) {
|
|
@@ -773,13 +773,13 @@ function _construct$2(Parent, args, Class) {
|
|
|
773
773
|
a.push.apply(a, args);
|
|
774
774
|
var Constructor = Function.bind.apply(Parent, a);
|
|
775
775
|
var instance = new Constructor();
|
|
776
|
-
if (Class) _set_prototype_of$
|
|
776
|
+
if (Class) _set_prototype_of$d(instance, Class.prototype);
|
|
777
777
|
return instance;
|
|
778
778
|
};
|
|
779
779
|
}
|
|
780
780
|
return _construct$2.apply(null, arguments);
|
|
781
781
|
}
|
|
782
|
-
function _defineProperties$
|
|
782
|
+
function _defineProperties$w(target, props) {
|
|
783
783
|
for(var i = 0; i < props.length; i++){
|
|
784
784
|
var descriptor = props[i];
|
|
785
785
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -788,18 +788,18 @@ function _defineProperties$x(target, props) {
|
|
|
788
788
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
|
-
function _create_class$
|
|
792
|
-
if (protoProps) _defineProperties$
|
|
793
|
-
if (staticProps) _defineProperties$
|
|
791
|
+
function _create_class$w(Constructor, protoProps, staticProps) {
|
|
792
|
+
if (protoProps) _defineProperties$w(Constructor.prototype, protoProps);
|
|
793
|
+
if (staticProps) _defineProperties$w(Constructor, staticProps);
|
|
794
794
|
return Constructor;
|
|
795
795
|
}
|
|
796
|
-
function _get_prototype_of$
|
|
797
|
-
_get_prototype_of$
|
|
796
|
+
function _get_prototype_of$d(o) {
|
|
797
|
+
_get_prototype_of$d = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
798
798
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
799
799
|
};
|
|
800
|
-
return _get_prototype_of$
|
|
800
|
+
return _get_prototype_of$d(o);
|
|
801
801
|
}
|
|
802
|
-
function _inherits$
|
|
802
|
+
function _inherits$d(subClass, superClass) {
|
|
803
803
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
804
804
|
throw new TypeError("Super expression must either be null or a function");
|
|
805
805
|
}
|
|
@@ -810,7 +810,7 @@ function _inherits$e(subClass, superClass) {
|
|
|
810
810
|
configurable: true
|
|
811
811
|
}
|
|
812
812
|
});
|
|
813
|
-
if (superClass) _set_prototype_of$
|
|
813
|
+
if (superClass) _set_prototype_of$d(subClass, superClass);
|
|
814
814
|
}
|
|
815
815
|
function _is_native_function$2(fn) {
|
|
816
816
|
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
@@ -818,7 +818,7 @@ function _is_native_function$2(fn) {
|
|
|
818
818
|
function _iterable_to_array$e(iter) {
|
|
819
819
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
820
820
|
}
|
|
821
|
-
function _iterable_to_array_limit$
|
|
821
|
+
function _iterable_to_array_limit$h(arr, i) {
|
|
822
822
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
823
823
|
if (_i == null) return;
|
|
824
824
|
var _arr = [];
|
|
@@ -842,42 +842,42 @@ function _iterable_to_array_limit$i(arr, i) {
|
|
|
842
842
|
}
|
|
843
843
|
return _arr;
|
|
844
844
|
}
|
|
845
|
-
function _non_iterable_rest$
|
|
845
|
+
function _non_iterable_rest$h() {
|
|
846
846
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
847
847
|
}
|
|
848
848
|
function _non_iterable_spread$e() {
|
|
849
849
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
850
850
|
}
|
|
851
|
-
function _possible_constructor_return$
|
|
852
|
-
if (call && (_type_of$
|
|
851
|
+
function _possible_constructor_return$d(self, call) {
|
|
852
|
+
if (call && (_type_of$h(call) === "object" || typeof call === "function")) {
|
|
853
853
|
return call;
|
|
854
854
|
}
|
|
855
|
-
return _assert_this_initialized$
|
|
855
|
+
return _assert_this_initialized$d(self);
|
|
856
856
|
}
|
|
857
|
-
function _set_prototype_of$
|
|
858
|
-
_set_prototype_of$
|
|
857
|
+
function _set_prototype_of$d(o, p) {
|
|
858
|
+
_set_prototype_of$d = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
859
859
|
o.__proto__ = p;
|
|
860
860
|
return o;
|
|
861
861
|
};
|
|
862
|
-
return _set_prototype_of$
|
|
862
|
+
return _set_prototype_of$d(o, p);
|
|
863
863
|
}
|
|
864
|
-
function _sliced_to_array$
|
|
865
|
-
return _array_with_holes$
|
|
864
|
+
function _sliced_to_array$h(arr, i) {
|
|
865
|
+
return _array_with_holes$h(arr) || _iterable_to_array_limit$h(arr, i) || _unsupported_iterable_to_array$n(arr, i) || _non_iterable_rest$h();
|
|
866
866
|
}
|
|
867
867
|
function _to_consumable_array$e(arr) {
|
|
868
|
-
return _array_without_holes$e(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$
|
|
868
|
+
return _array_without_holes$e(arr) || _iterable_to_array$e(arr) || _unsupported_iterable_to_array$n(arr) || _non_iterable_spread$e();
|
|
869
869
|
}
|
|
870
|
-
function _type_of$
|
|
870
|
+
function _type_of$h(obj) {
|
|
871
871
|
"@swc/helpers - typeof";
|
|
872
872
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
873
873
|
}
|
|
874
|
-
function _unsupported_iterable_to_array$
|
|
874
|
+
function _unsupported_iterable_to_array$n(o, minLen) {
|
|
875
875
|
if (!o) return;
|
|
876
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
876
|
+
if (typeof o === "string") return _array_like_to_array$n(o, minLen);
|
|
877
877
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
878
878
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
879
879
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
880
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
880
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$n(o, minLen);
|
|
881
881
|
}
|
|
882
882
|
function _wrap_native_super$2(Class) {
|
|
883
883
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
@@ -891,7 +891,7 @@ function _wrap_native_super$2(Class) {
|
|
|
891
891
|
_cache.set(Class, Wrapper);
|
|
892
892
|
}
|
|
893
893
|
function Wrapper() {
|
|
894
|
-
return _construct$2(Class, arguments, _get_prototype_of$
|
|
894
|
+
return _construct$2(Class, arguments, _get_prototype_of$d(this).constructor);
|
|
895
895
|
}
|
|
896
896
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
897
897
|
constructor: {
|
|
@@ -901,11 +901,11 @@ function _wrap_native_super$2(Class) {
|
|
|
901
901
|
configurable: true
|
|
902
902
|
}
|
|
903
903
|
});
|
|
904
|
-
return _set_prototype_of$
|
|
904
|
+
return _set_prototype_of$d(Wrapper, Class);
|
|
905
905
|
};
|
|
906
906
|
return _wrap_native_super$2(Class);
|
|
907
907
|
}
|
|
908
|
-
function _is_native_reflect_construct$
|
|
908
|
+
function _is_native_reflect_construct$d() {
|
|
909
909
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
910
910
|
if (Reflect.construct.sham) return false;
|
|
911
911
|
if (typeof Proxy === "function") return true;
|
|
@@ -916,17 +916,17 @@ function _is_native_reflect_construct$e() {
|
|
|
916
916
|
return false;
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
|
-
function _create_super$
|
|
920
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
919
|
+
function _create_super$d(Derived) {
|
|
920
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$d();
|
|
921
921
|
return function _createSuperInternal() {
|
|
922
|
-
var Super = _get_prototype_of$
|
|
922
|
+
var Super = _get_prototype_of$d(Derived), result;
|
|
923
923
|
if (hasNativeReflectConstruct) {
|
|
924
|
-
var NewTarget = _get_prototype_of$
|
|
924
|
+
var NewTarget = _get_prototype_of$d(this).constructor;
|
|
925
925
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
926
926
|
} else {
|
|
927
927
|
result = Super.apply(this, arguments);
|
|
928
928
|
}
|
|
929
|
-
return _possible_constructor_return$
|
|
929
|
+
return _possible_constructor_return$d(this, result);
|
|
930
930
|
};
|
|
931
931
|
}
|
|
932
932
|
function _ts_generator$4(thisArg, body) {
|
|
@@ -1074,15 +1074,15 @@ var _Symbol, _a$1, _a1;
|
|
|
1074
1074
|
var _metadata, _litPropertyMetadata;
|
|
1075
1075
|
(_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;
|
|
1076
1076
|
var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
1077
|
-
_inherits$
|
|
1078
|
-
var _super = _create_super$
|
|
1077
|
+
_inherits$d(b, HTMLElement1);
|
|
1078
|
+
var _super = _create_super$d(b);
|
|
1079
1079
|
function b() {
|
|
1080
|
-
_class_call_check$
|
|
1080
|
+
_class_call_check$x(this, b);
|
|
1081
1081
|
var _this;
|
|
1082
1082
|
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
|
1083
|
-
return _possible_constructor_return$
|
|
1083
|
+
return _possible_constructor_return$d(_this);
|
|
1084
1084
|
}
|
|
1085
|
-
_create_class$
|
|
1085
|
+
_create_class$w(b, [
|
|
1086
1086
|
{
|
|
1087
1087
|
key: "_$Ev",
|
|
1088
1088
|
value: function _$Ev() {
|
|
@@ -1293,7 +1293,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1293
1293
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
1294
1294
|
try {
|
|
1295
1295
|
for(var _iterator = this._$Ep[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
1296
|
-
var _step_value = _sliced_to_array$
|
|
1296
|
+
var _step_value = _sliced_to_array$h(_step.value, 2), t = _step_value[0], _$s = _step_value[1];
|
|
1297
1297
|
this[t] = _$s;
|
|
1298
1298
|
}
|
|
1299
1299
|
} catch (err) {
|
|
@@ -1316,7 +1316,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1316
1316
|
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
|
|
1317
1317
|
if (t1.size > 0) try {
|
|
1318
1318
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
1319
|
-
var _step_value1 = _sliced_to_array$
|
|
1319
|
+
var _step_value1 = _sliced_to_array$h(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
1320
1320
|
!0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
|
|
1321
1321
|
}
|
|
1322
1322
|
} catch (err) {
|
|
@@ -1500,7 +1500,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1500
1500
|
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
|
|
1501
1501
|
if (void 0 !== s1) try {
|
|
1502
1502
|
for(var _iterator1 = s1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
1503
|
-
var _step_value = _sliced_to_array$
|
|
1503
|
+
var _step_value = _sliced_to_array$h(_step1.value, 2), t2 = _step_value[0], i1 = _step_value[1];
|
|
1504
1504
|
this.elementProperties.set(t2, i1);
|
|
1505
1505
|
}
|
|
1506
1506
|
} catch (err) {
|
|
@@ -1522,7 +1522,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1522
1522
|
var _iteratorNormalCompletion2 = true, _didIteratorError2 = false, _iteratorError2 = undefined;
|
|
1523
1523
|
try {
|
|
1524
1524
|
for(var _iterator2 = this.elementProperties[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true){
|
|
1525
|
-
var _step_value1 = _sliced_to_array$
|
|
1525
|
+
var _step_value1 = _sliced_to_array$h(_step2.value, 2), t3 = _step_value1[0], s2 = _step_value1[1];
|
|
1526
1526
|
var i2 = this._$Eu(t3, s2);
|
|
1527
1527
|
void 0 !== i2 && this._$Eh.set(i2, t3);
|
|
1528
1528
|
}
|
|
@@ -1594,29 +1594,29 @@ b.elementStyles = [], b.shadowRootOptions = {
|
|
|
1594
1594
|
* @license
|
|
1595
1595
|
* Copyright 2017 Google LLC
|
|
1596
1596
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1597
|
-
*/ function _array_like_to_array$
|
|
1597
|
+
*/ function _array_like_to_array$m(arr, len) {
|
|
1598
1598
|
if (len == null || len > arr.length) len = arr.length;
|
|
1599
1599
|
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
1600
1600
|
return arr2;
|
|
1601
1601
|
}
|
|
1602
|
-
function _array_with_holes$
|
|
1602
|
+
function _array_with_holes$g(arr) {
|
|
1603
1603
|
if (Array.isArray(arr)) return arr;
|
|
1604
1604
|
}
|
|
1605
1605
|
function _array_without_holes$d(arr) {
|
|
1606
|
-
if (Array.isArray(arr)) return _array_like_to_array$
|
|
1606
|
+
if (Array.isArray(arr)) return _array_like_to_array$m(arr);
|
|
1607
1607
|
}
|
|
1608
|
-
function _assert_this_initialized$
|
|
1608
|
+
function _assert_this_initialized$c(self) {
|
|
1609
1609
|
if (self === void 0) {
|
|
1610
1610
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1611
1611
|
}
|
|
1612
1612
|
return self;
|
|
1613
1613
|
}
|
|
1614
|
-
function _class_call_check$
|
|
1614
|
+
function _class_call_check$w(instance, Constructor) {
|
|
1615
1615
|
if (!(instance instanceof Constructor)) {
|
|
1616
1616
|
throw new TypeError("Cannot call a class as a function");
|
|
1617
1617
|
}
|
|
1618
1618
|
}
|
|
1619
|
-
function _defineProperties$
|
|
1619
|
+
function _defineProperties$v(target, props) {
|
|
1620
1620
|
for(var i = 0; i < props.length; i++){
|
|
1621
1621
|
var descriptor = props[i];
|
|
1622
1622
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -1625,18 +1625,18 @@ function _defineProperties$w(target, props) {
|
|
|
1625
1625
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1626
1626
|
}
|
|
1627
1627
|
}
|
|
1628
|
-
function _create_class$
|
|
1629
|
-
if (protoProps) _defineProperties$
|
|
1630
|
-
if (staticProps) _defineProperties$
|
|
1628
|
+
function _create_class$v(Constructor, protoProps, staticProps) {
|
|
1629
|
+
if (protoProps) _defineProperties$v(Constructor.prototype, protoProps);
|
|
1630
|
+
if (staticProps) _defineProperties$v(Constructor, staticProps);
|
|
1631
1631
|
return Constructor;
|
|
1632
1632
|
}
|
|
1633
|
-
function _get_prototype_of$
|
|
1634
|
-
_get_prototype_of$
|
|
1633
|
+
function _get_prototype_of$c(o) {
|
|
1634
|
+
_get_prototype_of$c = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
1635
1635
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
1636
1636
|
};
|
|
1637
|
-
return _get_prototype_of$
|
|
1637
|
+
return _get_prototype_of$c(o);
|
|
1638
1638
|
}
|
|
1639
|
-
function _inherits$
|
|
1639
|
+
function _inherits$c(subClass, superClass) {
|
|
1640
1640
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
1641
1641
|
throw new TypeError("Super expression must either be null or a function");
|
|
1642
1642
|
}
|
|
@@ -1647,12 +1647,12 @@ function _inherits$d(subClass, superClass) {
|
|
|
1647
1647
|
configurable: true
|
|
1648
1648
|
}
|
|
1649
1649
|
});
|
|
1650
|
-
if (superClass) _set_prototype_of$
|
|
1650
|
+
if (superClass) _set_prototype_of$c(subClass, superClass);
|
|
1651
1651
|
}
|
|
1652
1652
|
function _iterable_to_array$d(iter) {
|
|
1653
1653
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
1654
1654
|
}
|
|
1655
|
-
function _iterable_to_array_limit$
|
|
1655
|
+
function _iterable_to_array_limit$g(arr, i) {
|
|
1656
1656
|
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
1657
1657
|
if (_i == null) return;
|
|
1658
1658
|
var _arr = [];
|
|
@@ -1676,44 +1676,44 @@ function _iterable_to_array_limit$h(arr, i) {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
return _arr;
|
|
1678
1678
|
}
|
|
1679
|
-
function _non_iterable_rest$
|
|
1679
|
+
function _non_iterable_rest$g() {
|
|
1680
1680
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1681
1681
|
}
|
|
1682
1682
|
function _non_iterable_spread$d() {
|
|
1683
1683
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1684
1684
|
}
|
|
1685
|
-
function _possible_constructor_return$
|
|
1686
|
-
if (call && (_type_of$
|
|
1685
|
+
function _possible_constructor_return$c(self, call) {
|
|
1686
|
+
if (call && (_type_of$g(call) === "object" || typeof call === "function")) {
|
|
1687
1687
|
return call;
|
|
1688
1688
|
}
|
|
1689
|
-
return _assert_this_initialized$
|
|
1689
|
+
return _assert_this_initialized$c(self);
|
|
1690
1690
|
}
|
|
1691
|
-
function _set_prototype_of$
|
|
1692
|
-
_set_prototype_of$
|
|
1691
|
+
function _set_prototype_of$c(o, p) {
|
|
1692
|
+
_set_prototype_of$c = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
1693
1693
|
o.__proto__ = p;
|
|
1694
1694
|
return o;
|
|
1695
1695
|
};
|
|
1696
|
-
return _set_prototype_of$
|
|
1696
|
+
return _set_prototype_of$c(o, p);
|
|
1697
1697
|
}
|
|
1698
|
-
function _sliced_to_array$
|
|
1699
|
-
return _array_with_holes$
|
|
1698
|
+
function _sliced_to_array$g(arr, i) {
|
|
1699
|
+
return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$g();
|
|
1700
1700
|
}
|
|
1701
1701
|
function _to_consumable_array$d(arr) {
|
|
1702
|
-
return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$
|
|
1702
|
+
return _array_without_holes$d(arr) || _iterable_to_array$d(arr) || _unsupported_iterable_to_array$m(arr) || _non_iterable_spread$d();
|
|
1703
1703
|
}
|
|
1704
|
-
function _type_of$
|
|
1704
|
+
function _type_of$g(obj) {
|
|
1705
1705
|
"@swc/helpers - typeof";
|
|
1706
1706
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1707
1707
|
}
|
|
1708
|
-
function _unsupported_iterable_to_array$
|
|
1708
|
+
function _unsupported_iterable_to_array$m(o, minLen) {
|
|
1709
1709
|
if (!o) return;
|
|
1710
|
-
if (typeof o === "string") return _array_like_to_array$
|
|
1710
|
+
if (typeof o === "string") return _array_like_to_array$m(o, minLen);
|
|
1711
1711
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
1712
1712
|
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
1713
1713
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
1714
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$
|
|
1714
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$m(o, minLen);
|
|
1715
1715
|
}
|
|
1716
|
-
function _is_native_reflect_construct$
|
|
1716
|
+
function _is_native_reflect_construct$c() {
|
|
1717
1717
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
1718
1718
|
if (Reflect.construct.sham) return false;
|
|
1719
1719
|
if (typeof Proxy === "function") return true;
|
|
@@ -1724,17 +1724,17 @@ function _is_native_reflect_construct$d() {
|
|
|
1724
1724
|
return false;
|
|
1725
1725
|
}
|
|
1726
1726
|
}
|
|
1727
|
-
function _create_super$
|
|
1728
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
1727
|
+
function _create_super$c(Derived) {
|
|
1728
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$c();
|
|
1729
1729
|
return function _createSuperInternal() {
|
|
1730
|
-
var Super = _get_prototype_of$
|
|
1730
|
+
var Super = _get_prototype_of$c(Derived), result;
|
|
1731
1731
|
if (hasNativeReflectConstruct) {
|
|
1732
|
-
var NewTarget = _get_prototype_of$
|
|
1732
|
+
var NewTarget = _get_prototype_of$c(this).constructor;
|
|
1733
1733
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
1734
1734
|
} else {
|
|
1735
1735
|
result = Super.apply(this, arguments);
|
|
1736
1736
|
}
|
|
1737
|
-
return _possible_constructor_return$
|
|
1737
|
+
return _possible_constructor_return$c(this, result);
|
|
1738
1738
|
};
|
|
1739
1739
|
}
|
|
1740
1740
|
var _t;
|
|
@@ -1771,11 +1771,11 @@ var V = function(t, i) {
|
|
|
1771
1771
|
var N = /*#__PURE__*/ function() {
|
|
1772
1772
|
function N(param, n) {
|
|
1773
1773
|
var t = param.strings, s = param._$litType$;
|
|
1774
|
-
_class_call_check$
|
|
1774
|
+
_class_call_check$w(this, N);
|
|
1775
1775
|
var r;
|
|
1776
1776
|
this.parts = [];
|
|
1777
1777
|
var c = 0, a = 0;
|
|
1778
|
-
var u = t.length - 1, d = this.parts, _V = _sliced_to_array$
|
|
1778
|
+
var u = t.length - 1, d = this.parts, _V = _sliced_to_array$g(V(t, s), 2), f = _V[0], v = _V[1];
|
|
1779
1779
|
if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
|
|
1780
1780
|
var _t;
|
|
1781
1781
|
var t1 = this.el.content.firstChild;
|
|
@@ -1840,7 +1840,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1840
1840
|
c++;
|
|
1841
1841
|
}
|
|
1842
1842
|
}
|
|
1843
|
-
_create_class$
|
|
1843
|
+
_create_class$v(N, null, [
|
|
1844
1844
|
{
|
|
1845
1845
|
key: "createElement",
|
|
1846
1846
|
value: function createElement(t, i) {
|
|
@@ -1863,10 +1863,10 @@ function S(t, i) {
|
|
|
1863
1863
|
}
|
|
1864
1864
|
var M = /*#__PURE__*/ function() {
|
|
1865
1865
|
function M(t, i) {
|
|
1866
|
-
_class_call_check$
|
|
1866
|
+
_class_call_check$w(this, M);
|
|
1867
1867
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
1868
1868
|
}
|
|
1869
|
-
_create_class$
|
|
1869
|
+
_create_class$v(M, [
|
|
1870
1870
|
{
|
|
1871
1871
|
key: "parentNode",
|
|
1872
1872
|
get: function get() {
|
|
@@ -1927,11 +1927,11 @@ var M = /*#__PURE__*/ function() {
|
|
|
1927
1927
|
}();
|
|
1928
1928
|
var R = /*#__PURE__*/ function() {
|
|
1929
1929
|
function R(t, i, s, e) {
|
|
1930
|
-
_class_call_check$
|
|
1930
|
+
_class_call_check$w(this, R);
|
|
1931
1931
|
var _e_isConnected;
|
|
1932
1932
|
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;
|
|
1933
1933
|
}
|
|
1934
|
-
_create_class$
|
|
1934
|
+
_create_class$v(R, [
|
|
1935
1935
|
{
|
|
1936
1936
|
key: "_$AU",
|
|
1937
1937
|
get: function get() {
|
|
@@ -2056,10 +2056,10 @@ var R = /*#__PURE__*/ function() {
|
|
|
2056
2056
|
}();
|
|
2057
2057
|
var k = /*#__PURE__*/ function() {
|
|
2058
2058
|
function k(t, i, s, e, h) {
|
|
2059
|
-
_class_call_check$
|
|
2059
|
+
_class_call_check$w(this, k);
|
|
2060
2060
|
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;
|
|
2061
2061
|
}
|
|
2062
|
-
_create_class$
|
|
2062
|
+
_create_class$v(k, [
|
|
2063
2063
|
{
|
|
2064
2064
|
key: "tagName",
|
|
2065
2065
|
get: function get() {
|
|
@@ -2097,17 +2097,17 @@ var k = /*#__PURE__*/ function() {
|
|
|
2097
2097
|
return k;
|
|
2098
2098
|
}();
|
|
2099
2099
|
var H = /*#__PURE__*/ function(k) {
|
|
2100
|
-
_inherits$
|
|
2101
|
-
var _super = _create_super$
|
|
2100
|
+
_inherits$c(H, k);
|
|
2101
|
+
var _super = _create_super$c(H);
|
|
2102
2102
|
function H() {
|
|
2103
|
-
_class_call_check$
|
|
2103
|
+
_class_call_check$w(this, H);
|
|
2104
2104
|
var _this;
|
|
2105
2105
|
_this = _super.call.apply(_super, [
|
|
2106
2106
|
this
|
|
2107
2107
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
|
|
2108
|
-
return _possible_constructor_return$
|
|
2108
|
+
return _possible_constructor_return$c(_this);
|
|
2109
2109
|
}
|
|
2110
|
-
_create_class$
|
|
2110
|
+
_create_class$v(H, [
|
|
2111
2111
|
{
|
|
2112
2112
|
key: "j",
|
|
2113
2113
|
value: function j(t) {
|
|
@@ -2118,17 +2118,17 @@ var H = /*#__PURE__*/ function(k) {
|
|
|
2118
2118
|
return H;
|
|
2119
2119
|
}(k);
|
|
2120
2120
|
var I = /*#__PURE__*/ function(k) {
|
|
2121
|
-
_inherits$
|
|
2122
|
-
var _super = _create_super$
|
|
2121
|
+
_inherits$c(I, k);
|
|
2122
|
+
var _super = _create_super$c(I);
|
|
2123
2123
|
function I() {
|
|
2124
|
-
_class_call_check$
|
|
2124
|
+
_class_call_check$w(this, I);
|
|
2125
2125
|
var _this;
|
|
2126
2126
|
_this = _super.call.apply(_super, [
|
|
2127
2127
|
this
|
|
2128
2128
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
|
|
2129
|
-
return _possible_constructor_return$
|
|
2129
|
+
return _possible_constructor_return$c(_this);
|
|
2130
2130
|
}
|
|
2131
|
-
_create_class$
|
|
2131
|
+
_create_class$v(I, [
|
|
2132
2132
|
{
|
|
2133
2133
|
key: "j",
|
|
2134
2134
|
value: function j(t) {
|
|
@@ -2139,15 +2139,15 @@ var I = /*#__PURE__*/ function(k) {
|
|
|
2139
2139
|
return I;
|
|
2140
2140
|
}(k);
|
|
2141
2141
|
var L = /*#__PURE__*/ function(k) {
|
|
2142
|
-
_inherits$
|
|
2143
|
-
var _super = _create_super$
|
|
2142
|
+
_inherits$c(L, k);
|
|
2143
|
+
var _super = _create_super$c(L);
|
|
2144
2144
|
function L(t, i, s, e, h) {
|
|
2145
|
-
_class_call_check$
|
|
2145
|
+
_class_call_check$w(this, L);
|
|
2146
2146
|
var _this;
|
|
2147
2147
|
_this = _super.call(this, t, i, s, e, h), _this.type = 5;
|
|
2148
|
-
return _possible_constructor_return$
|
|
2148
|
+
return _possible_constructor_return$c(_this);
|
|
2149
2149
|
}
|
|
2150
|
-
_create_class$
|
|
2150
|
+
_create_class$v(L, [
|
|
2151
2151
|
{
|
|
2152
2152
|
key: "_$AI",
|
|
2153
2153
|
value: function _$AI(t) {
|
|
@@ -2171,10 +2171,10 @@ var L = /*#__PURE__*/ function(k) {
|
|
|
2171
2171
|
}(k);
|
|
2172
2172
|
var z = /*#__PURE__*/ function() {
|
|
2173
2173
|
function z(t, i, s) {
|
|
2174
|
-
_class_call_check$
|
|
2174
|
+
_class_call_check$w(this, z);
|
|
2175
2175
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
2176
2176
|
}
|
|
2177
|
-
_create_class$
|
|
2177
|
+
_create_class$v(z, [
|
|
2178
2178
|
{
|
|
2179
2179
|
key: "_$AU",
|
|
2180
2180
|
get: function get() {
|
|
@@ -2220,18 +2220,18 @@ var B = function(t, i, s) {
|
|
|
2220
2220
|
return h._$AI(t), h;
|
|
2221
2221
|
};
|
|
2222
2222
|
|
|
2223
|
-
function _assert_this_initialized$
|
|
2223
|
+
function _assert_this_initialized$b(self) {
|
|
2224
2224
|
if (self === void 0) {
|
|
2225
2225
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2226
2226
|
}
|
|
2227
2227
|
return self;
|
|
2228
2228
|
}
|
|
2229
|
-
function _class_call_check$
|
|
2229
|
+
function _class_call_check$v(instance, Constructor) {
|
|
2230
2230
|
if (!(instance instanceof Constructor)) {
|
|
2231
2231
|
throw new TypeError("Cannot call a class as a function");
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
|
-
function _defineProperties$
|
|
2234
|
+
function _defineProperties$u(target, props) {
|
|
2235
2235
|
for(var i = 0; i < props.length; i++){
|
|
2236
2236
|
var descriptor = props[i];
|
|
2237
2237
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -2240,9 +2240,9 @@ function _defineProperties$v(target, props) {
|
|
|
2240
2240
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2241
2241
|
}
|
|
2242
2242
|
}
|
|
2243
|
-
function _create_class$
|
|
2244
|
-
if (protoProps) _defineProperties$
|
|
2245
|
-
if (staticProps) _defineProperties$
|
|
2243
|
+
function _create_class$u(Constructor, protoProps, staticProps) {
|
|
2244
|
+
if (protoProps) _defineProperties$u(Constructor.prototype, protoProps);
|
|
2245
|
+
if (staticProps) _defineProperties$u(Constructor, staticProps);
|
|
2246
2246
|
return Constructor;
|
|
2247
2247
|
}
|
|
2248
2248
|
function _get$1(target, property, receiver) {
|
|
@@ -2261,13 +2261,13 @@ function _get$1(target, property, receiver) {
|
|
|
2261
2261
|
}
|
|
2262
2262
|
return _get$1(target, property, receiver || target);
|
|
2263
2263
|
}
|
|
2264
|
-
function _get_prototype_of$
|
|
2265
|
-
_get_prototype_of$
|
|
2264
|
+
function _get_prototype_of$b(o) {
|
|
2265
|
+
_get_prototype_of$b = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
2266
2266
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
2267
2267
|
};
|
|
2268
|
-
return _get_prototype_of$
|
|
2268
|
+
return _get_prototype_of$b(o);
|
|
2269
2269
|
}
|
|
2270
|
-
function _inherits$
|
|
2270
|
+
function _inherits$b(subClass, superClass) {
|
|
2271
2271
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
2272
2272
|
throw new TypeError("Super expression must either be null or a function");
|
|
2273
2273
|
}
|
|
@@ -2278,33 +2278,33 @@ function _inherits$c(subClass, superClass) {
|
|
|
2278
2278
|
configurable: true
|
|
2279
2279
|
}
|
|
2280
2280
|
});
|
|
2281
|
-
if (superClass) _set_prototype_of$
|
|
2281
|
+
if (superClass) _set_prototype_of$b(subClass, superClass);
|
|
2282
2282
|
}
|
|
2283
|
-
function _possible_constructor_return$
|
|
2284
|
-
if (call && (_type_of$
|
|
2283
|
+
function _possible_constructor_return$b(self, call) {
|
|
2284
|
+
if (call && (_type_of$f(call) === "object" || typeof call === "function")) {
|
|
2285
2285
|
return call;
|
|
2286
2286
|
}
|
|
2287
|
-
return _assert_this_initialized$
|
|
2287
|
+
return _assert_this_initialized$b(self);
|
|
2288
2288
|
}
|
|
2289
|
-
function _set_prototype_of$
|
|
2290
|
-
_set_prototype_of$
|
|
2289
|
+
function _set_prototype_of$b(o, p) {
|
|
2290
|
+
_set_prototype_of$b = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
2291
2291
|
o.__proto__ = p;
|
|
2292
2292
|
return o;
|
|
2293
2293
|
};
|
|
2294
|
-
return _set_prototype_of$
|
|
2294
|
+
return _set_prototype_of$b(o, p);
|
|
2295
2295
|
}
|
|
2296
2296
|
function _super_prop_base$1(object, property) {
|
|
2297
2297
|
while(!Object.prototype.hasOwnProperty.call(object, property)){
|
|
2298
|
-
object = _get_prototype_of$
|
|
2298
|
+
object = _get_prototype_of$b(object);
|
|
2299
2299
|
if (object === null) break;
|
|
2300
2300
|
}
|
|
2301
2301
|
return object;
|
|
2302
2302
|
}
|
|
2303
|
-
function _type_of$
|
|
2303
|
+
function _type_of$f(obj) {
|
|
2304
2304
|
"@swc/helpers - typeof";
|
|
2305
2305
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2306
2306
|
}
|
|
2307
|
-
function _is_native_reflect_construct$
|
|
2307
|
+
function _is_native_reflect_construct$b() {
|
|
2308
2308
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2309
2309
|
if (Reflect.construct.sham) return false;
|
|
2310
2310
|
if (typeof Proxy === "function") return true;
|
|
@@ -2315,17 +2315,17 @@ function _is_native_reflect_construct$c() {
|
|
|
2315
2315
|
return false;
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
|
-
function _create_super$
|
|
2319
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$
|
|
2318
|
+
function _create_super$b(Derived) {
|
|
2319
|
+
var hasNativeReflectConstruct = _is_native_reflect_construct$b();
|
|
2320
2320
|
return function _createSuperInternal() {
|
|
2321
|
-
var Super = _get_prototype_of$
|
|
2321
|
+
var Super = _get_prototype_of$b(Derived), result;
|
|
2322
2322
|
if (hasNativeReflectConstruct) {
|
|
2323
|
-
var NewTarget = _get_prototype_of$
|
|
2323
|
+
var NewTarget = _get_prototype_of$b(this).constructor;
|
|
2324
2324
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
2325
2325
|
} else {
|
|
2326
2326
|
result = Super.apply(this, arguments);
|
|
2327
2327
|
}
|
|
2328
|
-
return _possible_constructor_return$
|
|
2328
|
+
return _possible_constructor_return$b(this, result);
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
2331
|
var _globalThis_litElementHydrateSupport, _globalThis;
|
|
@@ -2335,24 +2335,24 @@ var _globalThis1;
|
|
|
2335
2335
|
* Copyright 2017 Google LLC
|
|
2336
2336
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2337
2337
|
*/ var r$1 = /*#__PURE__*/ function(t) {
|
|
2338
|
-
_inherits$
|
|
2339
|
-
var _super = _create_super$
|
|
2338
|
+
_inherits$b(r, t);
|
|
2339
|
+
var _super = _create_super$b(r);
|
|
2340
2340
|
function r() {
|
|
2341
|
-
_class_call_check$
|
|
2341
|
+
_class_call_check$v(this, r);
|
|
2342
2342
|
var _this;
|
|
2343
2343
|
_this = _super.call.apply(_super, [
|
|
2344
2344
|
this
|
|
2345
2345
|
].concat(Array.prototype.slice.call(arguments))), _this.renderOptions = {
|
|
2346
|
-
host: _assert_this_initialized$
|
|
2346
|
+
host: _assert_this_initialized$b(_this)
|
|
2347
2347
|
}, _this._$Do = void 0;
|
|
2348
|
-
return _possible_constructor_return$
|
|
2348
|
+
return _possible_constructor_return$b(_this);
|
|
2349
2349
|
}
|
|
2350
|
-
_create_class$
|
|
2350
|
+
_create_class$u(r, [
|
|
2351
2351
|
{
|
|
2352
2352
|
key: "createRenderRoot",
|
|
2353
2353
|
value: function createRenderRoot() {
|
|
2354
2354
|
var _this_renderOptions;
|
|
2355
|
-
var _$t = _get$1(_get_prototype_of$
|
|
2355
|
+
var _$t = _get$1(_get_prototype_of$b(r.prototype), "createRenderRoot", this).call(this);
|
|
2356
2356
|
var _renderBefore;
|
|
2357
2357
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
2358
2358
|
}
|
|
@@ -2361,21 +2361,21 @@ var _globalThis1;
|
|
|
2361
2361
|
key: "update",
|
|
2362
2362
|
value: function update(t) {
|
|
2363
2363
|
var s = this.render();
|
|
2364
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get$1(_get_prototype_of$
|
|
2364
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get$1(_get_prototype_of$b(r.prototype), "update", this).call(this, t), this._$Do = B(s, this.renderRoot, this.renderOptions);
|
|
2365
2365
|
}
|
|
2366
2366
|
},
|
|
2367
2367
|
{
|
|
2368
2368
|
key: "connectedCallback",
|
|
2369
2369
|
value: function connectedCallback() {
|
|
2370
2370
|
var _this__$Do;
|
|
2371
|
-
_get$1(_get_prototype_of$
|
|
2371
|
+
_get$1(_get_prototype_of$b(r.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
|
|
2372
2372
|
}
|
|
2373
2373
|
},
|
|
2374
2374
|
{
|
|
2375
2375
|
key: "disconnectedCallback",
|
|
2376
2376
|
value: function disconnectedCallback() {
|
|
2377
2377
|
var _this__$Do;
|
|
2378
|
-
_get$1(_get_prototype_of$
|
|
2378
|
+
_get$1(_get_prototype_of$b(r.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
|
|
2379
2379
|
}
|
|
2380
2380
|
},
|
|
2381
2381
|
{
|
|
@@ -2414,31 +2414,6 @@ var _litElementVersions;
|
|
|
2414
2414
|
changedProperties: o._$AL
|
|
2415
2415
|
};
|
|
2416
2416
|
|
|
2417
|
-
/**
|
|
2418
|
-
* @license
|
|
2419
|
-
* Copyright 2023 Google LLC
|
|
2420
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2421
|
-
*/ /**
|
|
2422
|
-
* Map of ARIAMixin properties to attributes
|
|
2423
|
-
*/ function _class_call_check$v(instance, Constructor) {
|
|
2424
|
-
if (!(instance instanceof Constructor)) {
|
|
2425
|
-
throw new TypeError("Cannot call a class as a function");
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
function _defineProperties$u(target, props) {
|
|
2429
|
-
for(var i = 0; i < props.length; i++){
|
|
2430
|
-
var descriptor = props[i];
|
|
2431
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
2432
|
-
descriptor.configurable = true;
|
|
2433
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
2434
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
function _create_class$u(Constructor, protoProps, staticProps) {
|
|
2438
|
-
if (protoProps) _defineProperties$u(Constructor.prototype, protoProps);
|
|
2439
|
-
if (staticProps) _defineProperties$u(Constructor, staticProps);
|
|
2440
|
-
return Constructor;
|
|
2441
|
-
}
|
|
2442
2417
|
var ariaMixinAttributes = {
|
|
2443
2418
|
ariaAtomic: "aria-atomic",
|
|
2444
2419
|
ariaAutoComplete: "aria-autocomplete",
|
|
@@ -2482,117 +2457,8 @@ var ariaMixinAttributes = {
|
|
|
2482
2457
|
ariaValueText: "aria-valuetext",
|
|
2483
2458
|
role: "role"
|
|
2484
2459
|
};
|
|
2485
|
-
// Shim the global element internals object
|
|
2486
|
-
// Methods should be fine as noops and properties can generally
|
|
2487
|
-
// be while on the server.
|
|
2488
|
-
var ElementInternalsShim = /*#__PURE__*/ function() {
|
|
2489
|
-
function ElementInternals(_host) {
|
|
2490
|
-
_class_call_check$v(this, ElementInternals);
|
|
2491
|
-
this.ariaAtomic = "";
|
|
2492
|
-
this.ariaAutoComplete = "";
|
|
2493
|
-
this.ariaBrailleLabel = "";
|
|
2494
|
-
this.ariaBrailleRoleDescription = "";
|
|
2495
|
-
this.ariaBusy = "";
|
|
2496
|
-
this.ariaChecked = "";
|
|
2497
|
-
this.ariaColCount = "";
|
|
2498
|
-
this.ariaColIndex = "";
|
|
2499
|
-
this.ariaColSpan = "";
|
|
2500
|
-
this.ariaCurrent = "";
|
|
2501
|
-
this.ariaDescription = "";
|
|
2502
|
-
this.ariaDisabled = "";
|
|
2503
|
-
this.ariaExpanded = "";
|
|
2504
|
-
this.ariaHasPopup = "";
|
|
2505
|
-
this.ariaHidden = "";
|
|
2506
|
-
this.ariaInvalid = "";
|
|
2507
|
-
this.ariaKeyShortcuts = "";
|
|
2508
|
-
this.ariaLabel = "";
|
|
2509
|
-
this.ariaLevel = "";
|
|
2510
|
-
this.ariaLive = "";
|
|
2511
|
-
this.ariaModal = "";
|
|
2512
|
-
this.ariaMultiLine = "";
|
|
2513
|
-
this.ariaMultiSelectable = "";
|
|
2514
|
-
this.ariaOrientation = "";
|
|
2515
|
-
this.ariaPlaceholder = "";
|
|
2516
|
-
this.ariaPosInSet = "";
|
|
2517
|
-
this.ariaPressed = "";
|
|
2518
|
-
this.ariaReadOnly = "";
|
|
2519
|
-
this.ariaRequired = "";
|
|
2520
|
-
this.ariaRoleDescription = "";
|
|
2521
|
-
this.ariaRowCount = "";
|
|
2522
|
-
this.ariaRowIndex = "";
|
|
2523
|
-
this.ariaRowSpan = "";
|
|
2524
|
-
this.ariaSelected = "";
|
|
2525
|
-
this.ariaSetSize = "";
|
|
2526
|
-
this.ariaSort = "";
|
|
2527
|
-
this.ariaValueMax = "";
|
|
2528
|
-
this.ariaValueMin = "";
|
|
2529
|
-
this.ariaValueNow = "";
|
|
2530
|
-
this.ariaValueText = "";
|
|
2531
|
-
this.role = "";
|
|
2532
|
-
this.form = null;
|
|
2533
|
-
this.labels = [];
|
|
2534
|
-
this.states = new Set();
|
|
2535
|
-
this.validationMessage = "";
|
|
2536
|
-
this.validity = {};
|
|
2537
|
-
this.willValidate = true;
|
|
2538
|
-
this.__host = _host;
|
|
2539
|
-
}
|
|
2540
|
-
_create_class$u(ElementInternals, [
|
|
2541
|
-
{
|
|
2542
|
-
key: "shadowRoot",
|
|
2543
|
-
get: function get() {
|
|
2544
|
-
// Grab the shadow root instance from the Element shim
|
|
2545
|
-
// to ensure that the shadow root is always available
|
|
2546
|
-
// to the internals instance even if the mode is 'closed'
|
|
2547
|
-
return this.__host.__shadowRoot;
|
|
2548
|
-
}
|
|
2549
|
-
},
|
|
2550
|
-
{
|
|
2551
|
-
key: "checkValidity",
|
|
2552
|
-
value: function checkValidity() {
|
|
2553
|
-
// TODO(augustjk) Consider actually implementing logic.
|
|
2554
|
-
// See https://github.com/lit/lit/issues/3740
|
|
2555
|
-
console.warn("`ElementInternals.checkValidity()` was called on the server." + "This method always returns true.");
|
|
2556
|
-
return true;
|
|
2557
|
-
}
|
|
2558
|
-
},
|
|
2559
|
-
{
|
|
2560
|
-
key: "reportValidity",
|
|
2561
|
-
value: function reportValidity() {
|
|
2562
|
-
return true;
|
|
2563
|
-
}
|
|
2564
|
-
},
|
|
2565
|
-
{
|
|
2566
|
-
key: "setFormValue",
|
|
2567
|
-
value: function setFormValue() {}
|
|
2568
|
-
},
|
|
2569
|
-
{
|
|
2570
|
-
key: "setValidity",
|
|
2571
|
-
value: function setValidity() {}
|
|
2572
|
-
}
|
|
2573
|
-
]);
|
|
2574
|
-
return ElementInternals;
|
|
2575
|
-
}();
|
|
2576
2460
|
var HYDRATE_INTERNALS_ATTR_PREFIX = "hydrate-internals-";
|
|
2577
2461
|
|
|
2578
|
-
/**
|
|
2579
|
-
* @license
|
|
2580
|
-
* Copyright 2019 Google LLC
|
|
2581
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2582
|
-
*/ function _array_like_to_array$m(arr, len) {
|
|
2583
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
2584
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
2585
|
-
return arr2;
|
|
2586
|
-
}
|
|
2587
|
-
function _array_with_holes$g(arr) {
|
|
2588
|
-
if (Array.isArray(arr)) return arr;
|
|
2589
|
-
}
|
|
2590
|
-
function _assert_this_initialized$b(self) {
|
|
2591
|
-
if (self === void 0) {
|
|
2592
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
2593
|
-
}
|
|
2594
|
-
return self;
|
|
2595
|
-
}
|
|
2596
2462
|
function _class_call_check$u(instance, Constructor) {
|
|
2597
2463
|
if (!(instance instanceof Constructor)) {
|
|
2598
2464
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -2612,254 +2478,6 @@ function _create_class$t(Constructor, protoProps, staticProps) {
|
|
|
2612
2478
|
if (staticProps) _defineProperties$t(Constructor, staticProps);
|
|
2613
2479
|
return Constructor;
|
|
2614
2480
|
}
|
|
2615
|
-
function _get_prototype_of$b(o) {
|
|
2616
|
-
_get_prototype_of$b = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
2617
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
2618
|
-
};
|
|
2619
|
-
return _get_prototype_of$b(o);
|
|
2620
|
-
}
|
|
2621
|
-
function _inherits$b(subClass, superClass) {
|
|
2622
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
2623
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
2624
|
-
}
|
|
2625
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
2626
|
-
constructor: {
|
|
2627
|
-
value: subClass,
|
|
2628
|
-
writable: true,
|
|
2629
|
-
configurable: true
|
|
2630
|
-
}
|
|
2631
|
-
});
|
|
2632
|
-
if (superClass) _set_prototype_of$b(subClass, superClass);
|
|
2633
|
-
}
|
|
2634
|
-
function _iterable_to_array_limit$g(arr, i) {
|
|
2635
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
2636
|
-
if (_i == null) return;
|
|
2637
|
-
var _arr = [];
|
|
2638
|
-
var _n = true;
|
|
2639
|
-
var _d = false;
|
|
2640
|
-
var _s, _e;
|
|
2641
|
-
try {
|
|
2642
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
2643
|
-
_arr.push(_s.value);
|
|
2644
|
-
if (i && _arr.length === i) break;
|
|
2645
|
-
}
|
|
2646
|
-
} catch (err) {
|
|
2647
|
-
_d = true;
|
|
2648
|
-
_e = err;
|
|
2649
|
-
} finally{
|
|
2650
|
-
try {
|
|
2651
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
2652
|
-
} finally{
|
|
2653
|
-
if (_d) throw _e;
|
|
2654
|
-
}
|
|
2655
|
-
}
|
|
2656
|
-
return _arr;
|
|
2657
|
-
}
|
|
2658
|
-
function _non_iterable_rest$g() {
|
|
2659
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2660
|
-
}
|
|
2661
|
-
function _possible_constructor_return$b(self, call) {
|
|
2662
|
-
if (call && (_type_of$f(call) === "object" || typeof call === "function")) {
|
|
2663
|
-
return call;
|
|
2664
|
-
}
|
|
2665
|
-
return _assert_this_initialized$b(self);
|
|
2666
|
-
}
|
|
2667
|
-
function _set_prototype_of$b(o, p) {
|
|
2668
|
-
_set_prototype_of$b = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
2669
|
-
o.__proto__ = p;
|
|
2670
|
-
return o;
|
|
2671
|
-
};
|
|
2672
|
-
return _set_prototype_of$b(o, p);
|
|
2673
|
-
}
|
|
2674
|
-
function _sliced_to_array$g(arr, i) {
|
|
2675
|
-
return _array_with_holes$g(arr) || _iterable_to_array_limit$g(arr, i) || _unsupported_iterable_to_array$m(arr, i) || _non_iterable_rest$g();
|
|
2676
|
-
}
|
|
2677
|
-
function _type_of$f(obj) {
|
|
2678
|
-
"@swc/helpers - typeof";
|
|
2679
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2680
|
-
}
|
|
2681
|
-
function _unsupported_iterable_to_array$m(o, minLen) {
|
|
2682
|
-
if (!o) return;
|
|
2683
|
-
if (typeof o === "string") return _array_like_to_array$m(o, minLen);
|
|
2684
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
2685
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
2686
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
2687
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$m(o, minLen);
|
|
2688
|
-
}
|
|
2689
|
-
function _is_native_reflect_construct$b() {
|
|
2690
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
2691
|
-
if (Reflect.construct.sham) return false;
|
|
2692
|
-
if (typeof Proxy === "function") return true;
|
|
2693
|
-
try {
|
|
2694
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
2695
|
-
return true;
|
|
2696
|
-
} catch (e) {
|
|
2697
|
-
return false;
|
|
2698
|
-
}
|
|
2699
|
-
}
|
|
2700
|
-
function _create_super$b(Derived) {
|
|
2701
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$b();
|
|
2702
|
-
return function _createSuperInternal() {
|
|
2703
|
-
var Super = _get_prototype_of$b(Derived), result;
|
|
2704
|
-
if (hasNativeReflectConstruct) {
|
|
2705
|
-
var NewTarget = _get_prototype_of$b(this).constructor;
|
|
2706
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
2707
|
-
} else {
|
|
2708
|
-
result = Super.apply(this, arguments);
|
|
2709
|
-
}
|
|
2710
|
-
return _possible_constructor_return$b(this, result);
|
|
2711
|
-
};
|
|
2712
|
-
}
|
|
2713
|
-
var attributes = new WeakMap();
|
|
2714
|
-
var attributesForElement = function(element) {
|
|
2715
|
-
var attrs = attributes.get(element);
|
|
2716
|
-
if (attrs === undefined) {
|
|
2717
|
-
attributes.set(element, attrs = new Map());
|
|
2718
|
-
}
|
|
2719
|
-
return attrs;
|
|
2720
|
-
};
|
|
2721
|
-
// The typings around the exports below are a little funky:
|
|
2722
|
-
//
|
|
2723
|
-
// 1. We want the `name` of the shim classes to match the real ones at runtime,
|
|
2724
|
-
// hence e.g. `class Element`.
|
|
2725
|
-
// 2. We can't shadow the global types with a simple class declaration, because
|
|
2726
|
-
// then we can't reference the global types for casting, hence e.g.
|
|
2727
|
-
// `const ElementShim = class Element`.
|
|
2728
|
-
// 3. We want to export the classes typed as the real ones, hence e.g.
|
|
2729
|
-
// `const ElementShimWithRealType = ElementShim as object as typeof Element;`.
|
|
2730
|
-
// 4. We want the exported names to match the real ones, hence e.g.
|
|
2731
|
-
// `export {ElementShimWithRealType as Element}`.
|
|
2732
|
-
var ElementShim = /*#__PURE__*/ function() {
|
|
2733
|
-
function Element() {
|
|
2734
|
-
_class_call_check$u(this, Element);
|
|
2735
|
-
this.__shadowRootMode = null;
|
|
2736
|
-
this.__shadowRoot = null;
|
|
2737
|
-
this.__internals = null;
|
|
2738
|
-
}
|
|
2739
|
-
_create_class$t(Element, [
|
|
2740
|
-
{
|
|
2741
|
-
key: "attributes",
|
|
2742
|
-
get: function get() {
|
|
2743
|
-
return Array.from(attributesForElement(this)).map(function(param) {
|
|
2744
|
-
var _param = _sliced_to_array$g(param, 2), name = _param[0], value = _param[1];
|
|
2745
|
-
return {
|
|
2746
|
-
name: name,
|
|
2747
|
-
value: value
|
|
2748
|
-
};
|
|
2749
|
-
});
|
|
2750
|
-
}
|
|
2751
|
-
},
|
|
2752
|
-
{
|
|
2753
|
-
key: "shadowRoot",
|
|
2754
|
-
get: function get() {
|
|
2755
|
-
if (this.__shadowRootMode === "closed") {
|
|
2756
|
-
return null;
|
|
2757
|
-
}
|
|
2758
|
-
return this.__shadowRoot;
|
|
2759
|
-
}
|
|
2760
|
-
},
|
|
2761
|
-
{
|
|
2762
|
-
key: "localName",
|
|
2763
|
-
get: function get() {
|
|
2764
|
-
return this.constructor.__localName;
|
|
2765
|
-
}
|
|
2766
|
-
},
|
|
2767
|
-
{
|
|
2768
|
-
key: "tagName",
|
|
2769
|
-
get: function get() {
|
|
2770
|
-
var _this_localName;
|
|
2771
|
-
return (_this_localName = this.localName) === null || _this_localName === void 0 ? void 0 : _this_localName.toUpperCase();
|
|
2772
|
-
}
|
|
2773
|
-
},
|
|
2774
|
-
{
|
|
2775
|
-
key: "setAttribute",
|
|
2776
|
-
value: function setAttribute(name, value) {
|
|
2777
|
-
// Emulate browser behavior that silently casts all values to string. E.g.
|
|
2778
|
-
// `42` becomes `"42"` and `{}` becomes `"[object Object]""`.
|
|
2779
|
-
attributesForElement(this).set(name, String(value));
|
|
2780
|
-
}
|
|
2781
|
-
},
|
|
2782
|
-
{
|
|
2783
|
-
key: "removeAttribute",
|
|
2784
|
-
value: function removeAttribute(name) {
|
|
2785
|
-
attributesForElement(this).delete(name);
|
|
2786
|
-
}
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
key: "toggleAttribute",
|
|
2790
|
-
value: function toggleAttribute(name, force) {
|
|
2791
|
-
// Steps reference https://dom.spec.whatwg.org/#dom-element-toggleattribute
|
|
2792
|
-
if (this.hasAttribute(name)) {
|
|
2793
|
-
// Step 5
|
|
2794
|
-
if (force === undefined || !force) {
|
|
2795
|
-
this.removeAttribute(name);
|
|
2796
|
-
return false;
|
|
2797
|
-
}
|
|
2798
|
-
} else {
|
|
2799
|
-
// Step 4
|
|
2800
|
-
if (force === undefined || force) {
|
|
2801
|
-
// Step 4.1
|
|
2802
|
-
this.setAttribute(name, "");
|
|
2803
|
-
return true;
|
|
2804
|
-
} else {
|
|
2805
|
-
// Step 4.2
|
|
2806
|
-
return false;
|
|
2807
|
-
}
|
|
2808
|
-
}
|
|
2809
|
-
// Step 6
|
|
2810
|
-
return true;
|
|
2811
|
-
}
|
|
2812
|
-
},
|
|
2813
|
-
{
|
|
2814
|
-
key: "hasAttribute",
|
|
2815
|
-
value: function hasAttribute(name) {
|
|
2816
|
-
return attributesForElement(this).has(name);
|
|
2817
|
-
}
|
|
2818
|
-
},
|
|
2819
|
-
{
|
|
2820
|
-
key: "attachShadow",
|
|
2821
|
-
value: function attachShadow(init) {
|
|
2822
|
-
var shadowRoot = {
|
|
2823
|
-
host: this
|
|
2824
|
-
};
|
|
2825
|
-
this.__shadowRootMode = init.mode;
|
|
2826
|
-
if (init && init.mode === "open") {
|
|
2827
|
-
this.__shadowRoot = shadowRoot;
|
|
2828
|
-
}
|
|
2829
|
-
return shadowRoot;
|
|
2830
|
-
}
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
key: "attachInternals",
|
|
2834
|
-
value: function attachInternals() {
|
|
2835
|
-
if (this.__internals !== null) {
|
|
2836
|
-
throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': " + "ElementInternals for the specified element was already attached.");
|
|
2837
|
-
}
|
|
2838
|
-
var internals = new ElementInternalsShim(this);
|
|
2839
|
-
this.__internals = internals;
|
|
2840
|
-
return internals;
|
|
2841
|
-
}
|
|
2842
|
-
},
|
|
2843
|
-
{
|
|
2844
|
-
key: "getAttribute",
|
|
2845
|
-
value: function getAttribute(name) {
|
|
2846
|
-
var value = attributesForElement(this).get(name);
|
|
2847
|
-
return value !== null && value !== void 0 ? value : null;
|
|
2848
|
-
}
|
|
2849
|
-
}
|
|
2850
|
-
]);
|
|
2851
|
-
return Element;
|
|
2852
|
-
}();
|
|
2853
|
-
var HTMLElementShim = /*#__PURE__*/ function(ElementShim) {
|
|
2854
|
-
_inherits$b(HTMLElement, ElementShim);
|
|
2855
|
-
var _super = _create_super$b(HTMLElement);
|
|
2856
|
-
function HTMLElement() {
|
|
2857
|
-
_class_call_check$u(this, HTMLElement);
|
|
2858
|
-
return _super.apply(this, arguments);
|
|
2859
|
-
}
|
|
2860
|
-
return HTMLElement;
|
|
2861
|
-
}(ElementShim);
|
|
2862
|
-
var HTMLElementShimWithRealType = HTMLElementShim;
|
|
2863
2481
|
var CustomElementRegistryShim = /*#__PURE__*/ function() {
|
|
2864
2482
|
function CustomElementRegistry() {
|
|
2865
2483
|
_class_call_check$u(this, CustomElementRegistry);
|
|
@@ -40968,14 +40586,14 @@ function indent(str, spaces) {
|
|
|
40968
40586
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
40969
40587
|
// match is required
|
|
40970
40588
|
if (!match) {
|
|
40971
|
-
return nextMatch = nextMatch1,
|
|
40589
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
|
40972
40590
|
v: nextMatch1
|
|
40973
40591
|
};
|
|
40974
40592
|
}
|
|
40975
40593
|
var token = match.token, offset = match.offset;
|
|
40976
40594
|
i1 += offset;
|
|
40977
40595
|
if (token === " ") {
|
|
40978
|
-
return nextMatch = nextMatch1,
|
|
40596
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
|
40979
40597
|
}
|
|
40980
40598
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
|
40981
40599
|
token
|
|
@@ -40994,7 +40612,7 @@ function indent(str, spaces) {
|
|
|
40994
40612
|
if (contextKeys.some(function(el) {
|
|
40995
40613
|
return el.startsWith(name);
|
|
40996
40614
|
})) {
|
|
40997
|
-
return nextMatch = nextMatch1,
|
|
40615
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
|
40998
40616
|
}
|
|
40999
40617
|
if (dateTimeIdentifiers.some(function(el) {
|
|
41000
40618
|
return el === name;
|
|
@@ -41013,9 +40631,9 @@ function indent(str, spaces) {
|
|
|
41013
40631
|
if (dateTimeIdentifiers.some(function(el) {
|
|
41014
40632
|
return el.startsWith(name);
|
|
41015
40633
|
})) {
|
|
41016
|
-
return nextMatch = nextMatch1,
|
|
40634
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
|
41017
40635
|
}
|
|
41018
|
-
return nextMatch = nextMatch1,
|
|
40636
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
|
|
41019
40637
|
v: nextMatch1
|
|
41020
40638
|
};
|
|
41021
40639
|
};
|
|
@@ -45022,9 +44640,6 @@ const preparePinsSettings = async (settings, context)=>{
|
|
|
45022
44640
|
});
|
|
45023
44641
|
};
|
|
45024
44642
|
|
|
45025
|
-
var _global;
|
|
45026
|
-
var _HTMLElement;
|
|
45027
|
-
(_HTMLElement = (_global = global).HTMLElement) != null ? _HTMLElement : _global.HTMLElement = HTMLElementShimWithRealType;
|
|
45028
44643
|
let WebService = class WebService {
|
|
45029
44644
|
filteredWebPinsSettings(item, path) {
|
|
45030
44645
|
if (Array.isArray(item)) {
|