@digipair/skill-web 0.47.3 → 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 +164 -549
- package/index.esm.js +169 -554
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -16,499 +16,6 @@ function _extends() {
|
|
|
16
16
|
return _extends.apply(this, arguments);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* @license
|
|
21
|
-
* Copyright 2023 Google LLC
|
|
22
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
-
*/ /**
|
|
24
|
-
* Map of ARIAMixin properties to attributes
|
|
25
|
-
*/ function _class_call_check$g(instance, Constructor) {
|
|
26
|
-
if (!(instance instanceof Constructor)) {
|
|
27
|
-
throw new TypeError("Cannot call a class as a function");
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function _defineProperties$g(target, props) {
|
|
31
|
-
for(var i = 0; i < props.length; i++){
|
|
32
|
-
var descriptor = props[i];
|
|
33
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
34
|
-
descriptor.configurable = true;
|
|
35
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
36
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
function _create_class$g(Constructor, protoProps, staticProps) {
|
|
40
|
-
if (protoProps) _defineProperties$g(Constructor.prototype, protoProps);
|
|
41
|
-
if (staticProps) _defineProperties$g(Constructor, staticProps);
|
|
42
|
-
return Constructor;
|
|
43
|
-
}
|
|
44
|
-
var ariaMixinAttributes = {
|
|
45
|
-
ariaAtomic: "aria-atomic",
|
|
46
|
-
ariaAutoComplete: "aria-autocomplete",
|
|
47
|
-
ariaBrailleLabel: "aria-braillelabel",
|
|
48
|
-
ariaBrailleRoleDescription: "aria-brailleroledescription",
|
|
49
|
-
ariaBusy: "aria-busy",
|
|
50
|
-
ariaChecked: "aria-checked",
|
|
51
|
-
ariaColCount: "aria-colcount",
|
|
52
|
-
ariaColIndex: "aria-colindex",
|
|
53
|
-
ariaColSpan: "aria-colspan",
|
|
54
|
-
ariaCurrent: "aria-current",
|
|
55
|
-
ariaDescription: "aria-description",
|
|
56
|
-
ariaDisabled: "aria-disabled",
|
|
57
|
-
ariaExpanded: "aria-expanded",
|
|
58
|
-
ariaHasPopup: "aria-haspopup",
|
|
59
|
-
ariaHidden: "aria-hidden",
|
|
60
|
-
ariaInvalid: "aria-invalid",
|
|
61
|
-
ariaKeyShortcuts: "aria-keyshortcuts",
|
|
62
|
-
ariaLabel: "aria-label",
|
|
63
|
-
ariaLevel: "aria-level",
|
|
64
|
-
ariaLive: "aria-live",
|
|
65
|
-
ariaModal: "aria-modal",
|
|
66
|
-
ariaMultiLine: "aria-multiline",
|
|
67
|
-
ariaMultiSelectable: "aria-multiselectable",
|
|
68
|
-
ariaOrientation: "aria-orientation",
|
|
69
|
-
ariaPlaceholder: "aria-placeholder",
|
|
70
|
-
ariaPosInSet: "aria-posinset",
|
|
71
|
-
ariaPressed: "aria-pressed",
|
|
72
|
-
ariaReadOnly: "aria-readonly",
|
|
73
|
-
ariaRequired: "aria-required",
|
|
74
|
-
ariaRoleDescription: "aria-roledescription",
|
|
75
|
-
ariaRowCount: "aria-rowcount",
|
|
76
|
-
ariaRowIndex: "aria-rowindex",
|
|
77
|
-
ariaRowSpan: "aria-rowspan",
|
|
78
|
-
ariaSelected: "aria-selected",
|
|
79
|
-
ariaSetSize: "aria-setsize",
|
|
80
|
-
ariaSort: "aria-sort",
|
|
81
|
-
ariaValueMax: "aria-valuemax",
|
|
82
|
-
ariaValueMin: "aria-valuemin",
|
|
83
|
-
ariaValueNow: "aria-valuenow",
|
|
84
|
-
ariaValueText: "aria-valuetext",
|
|
85
|
-
role: "role"
|
|
86
|
-
};
|
|
87
|
-
// Shim the global element internals object
|
|
88
|
-
// Methods should be fine as noops and properties can generally
|
|
89
|
-
// be while on the server.
|
|
90
|
-
var ElementInternalsShim = /*#__PURE__*/ function() {
|
|
91
|
-
function ElementInternals(_host) {
|
|
92
|
-
_class_call_check$g(this, ElementInternals);
|
|
93
|
-
this.ariaAtomic = "";
|
|
94
|
-
this.ariaAutoComplete = "";
|
|
95
|
-
this.ariaBrailleLabel = "";
|
|
96
|
-
this.ariaBrailleRoleDescription = "";
|
|
97
|
-
this.ariaBusy = "";
|
|
98
|
-
this.ariaChecked = "";
|
|
99
|
-
this.ariaColCount = "";
|
|
100
|
-
this.ariaColIndex = "";
|
|
101
|
-
this.ariaColSpan = "";
|
|
102
|
-
this.ariaCurrent = "";
|
|
103
|
-
this.ariaDescription = "";
|
|
104
|
-
this.ariaDisabled = "";
|
|
105
|
-
this.ariaExpanded = "";
|
|
106
|
-
this.ariaHasPopup = "";
|
|
107
|
-
this.ariaHidden = "";
|
|
108
|
-
this.ariaInvalid = "";
|
|
109
|
-
this.ariaKeyShortcuts = "";
|
|
110
|
-
this.ariaLabel = "";
|
|
111
|
-
this.ariaLevel = "";
|
|
112
|
-
this.ariaLive = "";
|
|
113
|
-
this.ariaModal = "";
|
|
114
|
-
this.ariaMultiLine = "";
|
|
115
|
-
this.ariaMultiSelectable = "";
|
|
116
|
-
this.ariaOrientation = "";
|
|
117
|
-
this.ariaPlaceholder = "";
|
|
118
|
-
this.ariaPosInSet = "";
|
|
119
|
-
this.ariaPressed = "";
|
|
120
|
-
this.ariaReadOnly = "";
|
|
121
|
-
this.ariaRequired = "";
|
|
122
|
-
this.ariaRoleDescription = "";
|
|
123
|
-
this.ariaRowCount = "";
|
|
124
|
-
this.ariaRowIndex = "";
|
|
125
|
-
this.ariaRowSpan = "";
|
|
126
|
-
this.ariaSelected = "";
|
|
127
|
-
this.ariaSetSize = "";
|
|
128
|
-
this.ariaSort = "";
|
|
129
|
-
this.ariaValueMax = "";
|
|
130
|
-
this.ariaValueMin = "";
|
|
131
|
-
this.ariaValueNow = "";
|
|
132
|
-
this.ariaValueText = "";
|
|
133
|
-
this.role = "";
|
|
134
|
-
this.form = null;
|
|
135
|
-
this.labels = [];
|
|
136
|
-
this.states = new Set();
|
|
137
|
-
this.validationMessage = "";
|
|
138
|
-
this.validity = {};
|
|
139
|
-
this.willValidate = true;
|
|
140
|
-
this.__host = _host;
|
|
141
|
-
}
|
|
142
|
-
_create_class$g(ElementInternals, [
|
|
143
|
-
{
|
|
144
|
-
key: "shadowRoot",
|
|
145
|
-
get: function get() {
|
|
146
|
-
// Grab the shadow root instance from the Element shim
|
|
147
|
-
// to ensure that the shadow root is always available
|
|
148
|
-
// to the internals instance even if the mode is 'closed'
|
|
149
|
-
return this.__host.__shadowRoot;
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
key: "checkValidity",
|
|
154
|
-
value: function checkValidity() {
|
|
155
|
-
// TODO(augustjk) Consider actually implementing logic.
|
|
156
|
-
// See https://github.com/lit/lit/issues/3740
|
|
157
|
-
console.warn("`ElementInternals.checkValidity()` was called on the server." + "This method always returns true.");
|
|
158
|
-
return true;
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
key: "reportValidity",
|
|
163
|
-
value: function reportValidity() {
|
|
164
|
-
return true;
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
key: "setFormValue",
|
|
169
|
-
value: function setFormValue() {}
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
key: "setValidity",
|
|
173
|
-
value: function setValidity() {}
|
|
174
|
-
}
|
|
175
|
-
]);
|
|
176
|
-
return ElementInternals;
|
|
177
|
-
}();
|
|
178
|
-
var HYDRATE_INTERNALS_ATTR_PREFIX = "hydrate-internals-";
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* @license
|
|
182
|
-
* Copyright 2019 Google LLC
|
|
183
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
184
|
-
*/ function _array_like_to_array$a(arr, len) {
|
|
185
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
186
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
187
|
-
return arr2;
|
|
188
|
-
}
|
|
189
|
-
function _array_with_holes$6(arr) {
|
|
190
|
-
if (Array.isArray(arr)) return arr;
|
|
191
|
-
}
|
|
192
|
-
function _assert_this_initialized$7(self) {
|
|
193
|
-
if (self === void 0) {
|
|
194
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
195
|
-
}
|
|
196
|
-
return self;
|
|
197
|
-
}
|
|
198
|
-
function _class_call_check$f(instance, Constructor) {
|
|
199
|
-
if (!(instance instanceof Constructor)) {
|
|
200
|
-
throw new TypeError("Cannot call a class as a function");
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
function _defineProperties$f(target, props) {
|
|
204
|
-
for(var i = 0; i < props.length; i++){
|
|
205
|
-
var descriptor = props[i];
|
|
206
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
207
|
-
descriptor.configurable = true;
|
|
208
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
209
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
function _create_class$f(Constructor, protoProps, staticProps) {
|
|
213
|
-
if (protoProps) _defineProperties$f(Constructor.prototype, protoProps);
|
|
214
|
-
if (staticProps) _defineProperties$f(Constructor, staticProps);
|
|
215
|
-
return Constructor;
|
|
216
|
-
}
|
|
217
|
-
function _get_prototype_of$7(o) {
|
|
218
|
-
_get_prototype_of$7 = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
219
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
220
|
-
};
|
|
221
|
-
return _get_prototype_of$7(o);
|
|
222
|
-
}
|
|
223
|
-
function _inherits$7(subClass, superClass) {
|
|
224
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
225
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
226
|
-
}
|
|
227
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
228
|
-
constructor: {
|
|
229
|
-
value: subClass,
|
|
230
|
-
writable: true,
|
|
231
|
-
configurable: true
|
|
232
|
-
}
|
|
233
|
-
});
|
|
234
|
-
if (superClass) _set_prototype_of$7(subClass, superClass);
|
|
235
|
-
}
|
|
236
|
-
function _iterable_to_array_limit$6(arr, i) {
|
|
237
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
238
|
-
if (_i == null) return;
|
|
239
|
-
var _arr = [];
|
|
240
|
-
var _n = true;
|
|
241
|
-
var _d = false;
|
|
242
|
-
var _s, _e;
|
|
243
|
-
try {
|
|
244
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
245
|
-
_arr.push(_s.value);
|
|
246
|
-
if (i && _arr.length === i) break;
|
|
247
|
-
}
|
|
248
|
-
} catch (err) {
|
|
249
|
-
_d = true;
|
|
250
|
-
_e = err;
|
|
251
|
-
} finally{
|
|
252
|
-
try {
|
|
253
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
254
|
-
} finally{
|
|
255
|
-
if (_d) throw _e;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
return _arr;
|
|
259
|
-
}
|
|
260
|
-
function _non_iterable_rest$6() {
|
|
261
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
262
|
-
}
|
|
263
|
-
function _possible_constructor_return$7(self, call) {
|
|
264
|
-
if (call && (_type_of$7(call) === "object" || typeof call === "function")) {
|
|
265
|
-
return call;
|
|
266
|
-
}
|
|
267
|
-
return _assert_this_initialized$7(self);
|
|
268
|
-
}
|
|
269
|
-
function _set_prototype_of$7(o, p) {
|
|
270
|
-
_set_prototype_of$7 = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
271
|
-
o.__proto__ = p;
|
|
272
|
-
return o;
|
|
273
|
-
};
|
|
274
|
-
return _set_prototype_of$7(o, p);
|
|
275
|
-
}
|
|
276
|
-
function _sliced_to_array$6(arr, i) {
|
|
277
|
-
return _array_with_holes$6(arr) || _iterable_to_array_limit$6(arr, i) || _unsupported_iterable_to_array$a(arr, i) || _non_iterable_rest$6();
|
|
278
|
-
}
|
|
279
|
-
function _type_of$7(obj) {
|
|
280
|
-
"@swc/helpers - typeof";
|
|
281
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
282
|
-
}
|
|
283
|
-
function _unsupported_iterable_to_array$a(o, minLen) {
|
|
284
|
-
if (!o) return;
|
|
285
|
-
if (typeof o === "string") return _array_like_to_array$a(o, minLen);
|
|
286
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
287
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
288
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
289
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$a(o, minLen);
|
|
290
|
-
}
|
|
291
|
-
function _is_native_reflect_construct$7() {
|
|
292
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
293
|
-
if (Reflect.construct.sham) return false;
|
|
294
|
-
if (typeof Proxy === "function") return true;
|
|
295
|
-
try {
|
|
296
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
297
|
-
return true;
|
|
298
|
-
} catch (e) {
|
|
299
|
-
return false;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
function _create_super$7(Derived) {
|
|
303
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$7();
|
|
304
|
-
return function _createSuperInternal() {
|
|
305
|
-
var Super = _get_prototype_of$7(Derived), result;
|
|
306
|
-
if (hasNativeReflectConstruct) {
|
|
307
|
-
var NewTarget = _get_prototype_of$7(this).constructor;
|
|
308
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
309
|
-
} else {
|
|
310
|
-
result = Super.apply(this, arguments);
|
|
311
|
-
}
|
|
312
|
-
return _possible_constructor_return$7(this, result);
|
|
313
|
-
};
|
|
314
|
-
}
|
|
315
|
-
var attributes = new WeakMap();
|
|
316
|
-
var attributesForElement = function(element) {
|
|
317
|
-
var attrs = attributes.get(element);
|
|
318
|
-
if (attrs === undefined) {
|
|
319
|
-
attributes.set(element, attrs = new Map());
|
|
320
|
-
}
|
|
321
|
-
return attrs;
|
|
322
|
-
};
|
|
323
|
-
// The typings around the exports below are a little funky:
|
|
324
|
-
//
|
|
325
|
-
// 1. We want the `name` of the shim classes to match the real ones at runtime,
|
|
326
|
-
// hence e.g. `class Element`.
|
|
327
|
-
// 2. We can't shadow the global types with a simple class declaration, because
|
|
328
|
-
// then we can't reference the global types for casting, hence e.g.
|
|
329
|
-
// `const ElementShim = class Element`.
|
|
330
|
-
// 3. We want to export the classes typed as the real ones, hence e.g.
|
|
331
|
-
// `const ElementShimWithRealType = ElementShim as object as typeof Element;`.
|
|
332
|
-
// 4. We want the exported names to match the real ones, hence e.g.
|
|
333
|
-
// `export {ElementShimWithRealType as Element}`.
|
|
334
|
-
var ElementShim = /*#__PURE__*/ function() {
|
|
335
|
-
function Element() {
|
|
336
|
-
_class_call_check$f(this, Element);
|
|
337
|
-
this.__shadowRootMode = null;
|
|
338
|
-
this.__shadowRoot = null;
|
|
339
|
-
this.__internals = null;
|
|
340
|
-
}
|
|
341
|
-
_create_class$f(Element, [
|
|
342
|
-
{
|
|
343
|
-
key: "attributes",
|
|
344
|
-
get: function get() {
|
|
345
|
-
return Array.from(attributesForElement(this)).map(function(param) {
|
|
346
|
-
var _param = _sliced_to_array$6(param, 2), name = _param[0], value = _param[1];
|
|
347
|
-
return {
|
|
348
|
-
name: name,
|
|
349
|
-
value: value
|
|
350
|
-
};
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
{
|
|
355
|
-
key: "shadowRoot",
|
|
356
|
-
get: function get() {
|
|
357
|
-
if (this.__shadowRootMode === "closed") {
|
|
358
|
-
return null;
|
|
359
|
-
}
|
|
360
|
-
return this.__shadowRoot;
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
key: "localName",
|
|
365
|
-
get: function get() {
|
|
366
|
-
return this.constructor.__localName;
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
key: "tagName",
|
|
371
|
-
get: function get() {
|
|
372
|
-
var _this_localName;
|
|
373
|
-
return (_this_localName = this.localName) === null || _this_localName === void 0 ? void 0 : _this_localName.toUpperCase();
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
key: "setAttribute",
|
|
378
|
-
value: function setAttribute(name, value) {
|
|
379
|
-
// Emulate browser behavior that silently casts all values to string. E.g.
|
|
380
|
-
// `42` becomes `"42"` and `{}` becomes `"[object Object]""`.
|
|
381
|
-
attributesForElement(this).set(name, String(value));
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
key: "removeAttribute",
|
|
386
|
-
value: function removeAttribute(name) {
|
|
387
|
-
attributesForElement(this).delete(name);
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
key: "toggleAttribute",
|
|
392
|
-
value: function toggleAttribute(name, force) {
|
|
393
|
-
// Steps reference https://dom.spec.whatwg.org/#dom-element-toggleattribute
|
|
394
|
-
if (this.hasAttribute(name)) {
|
|
395
|
-
// Step 5
|
|
396
|
-
if (force === undefined || !force) {
|
|
397
|
-
this.removeAttribute(name);
|
|
398
|
-
return false;
|
|
399
|
-
}
|
|
400
|
-
} else {
|
|
401
|
-
// Step 4
|
|
402
|
-
if (force === undefined || force) {
|
|
403
|
-
// Step 4.1
|
|
404
|
-
this.setAttribute(name, "");
|
|
405
|
-
return true;
|
|
406
|
-
} else {
|
|
407
|
-
// Step 4.2
|
|
408
|
-
return false;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
// Step 6
|
|
412
|
-
return true;
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
key: "hasAttribute",
|
|
417
|
-
value: function hasAttribute(name) {
|
|
418
|
-
return attributesForElement(this).has(name);
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
key: "attachShadow",
|
|
423
|
-
value: function attachShadow(init) {
|
|
424
|
-
var shadowRoot = {
|
|
425
|
-
host: this
|
|
426
|
-
};
|
|
427
|
-
this.__shadowRootMode = init.mode;
|
|
428
|
-
if (init && init.mode === "open") {
|
|
429
|
-
this.__shadowRoot = shadowRoot;
|
|
430
|
-
}
|
|
431
|
-
return shadowRoot;
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
key: "attachInternals",
|
|
436
|
-
value: function attachInternals() {
|
|
437
|
-
if (this.__internals !== null) {
|
|
438
|
-
throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': " + "ElementInternals for the specified element was already attached.");
|
|
439
|
-
}
|
|
440
|
-
var internals = new ElementInternalsShim(this);
|
|
441
|
-
this.__internals = internals;
|
|
442
|
-
return internals;
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
key: "getAttribute",
|
|
447
|
-
value: function getAttribute(name) {
|
|
448
|
-
var value = attributesForElement(this).get(name);
|
|
449
|
-
return value !== null && value !== void 0 ? value : null;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
]);
|
|
453
|
-
return Element;
|
|
454
|
-
}();
|
|
455
|
-
var HTMLElementShim = /*#__PURE__*/ function(ElementShim) {
|
|
456
|
-
_inherits$7(HTMLElement, ElementShim);
|
|
457
|
-
var _super = _create_super$7(HTMLElement);
|
|
458
|
-
function HTMLElement() {
|
|
459
|
-
_class_call_check$f(this, HTMLElement);
|
|
460
|
-
return _super.apply(this, arguments);
|
|
461
|
-
}
|
|
462
|
-
return HTMLElement;
|
|
463
|
-
}(ElementShim);
|
|
464
|
-
var HTMLElementShimWithRealType = HTMLElementShim;
|
|
465
|
-
var CustomElementRegistryShim = /*#__PURE__*/ function() {
|
|
466
|
-
function CustomElementRegistry() {
|
|
467
|
-
_class_call_check$f(this, CustomElementRegistry);
|
|
468
|
-
this.__definitions = new Map();
|
|
469
|
-
}
|
|
470
|
-
_create_class$f(CustomElementRegistry, [
|
|
471
|
-
{
|
|
472
|
-
key: "define",
|
|
473
|
-
value: function define(name, ctor) {
|
|
474
|
-
if (this.__definitions.has(name)) {
|
|
475
|
-
if (process.env.NODE_ENV === "development") {
|
|
476
|
-
console.warn("'CustomElementRegistry' already has \"".concat(name, '" defined. ') + "This may have been caused by live reload or hot module " + "replacement in which case it can be safely ignored.\n" + "Make sure to test your application with a production build as " + "repeat registrations will throw in production.");
|
|
477
|
-
} else {
|
|
478
|
-
throw new Error("Failed to execute 'define' on 'CustomElementRegistry': " + 'the name "'.concat(name, '" has already been used with this registry'));
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
// Provide tagName and localName for the component.
|
|
482
|
-
ctor.__localName = name;
|
|
483
|
-
var _ctor_observedAttributes;
|
|
484
|
-
this.__definitions.set(name, {
|
|
485
|
-
ctor: ctor,
|
|
486
|
-
// Note it's important we read `observedAttributes` in case it is a getter
|
|
487
|
-
// with side-effects, as is the case in Lit, where it triggers class
|
|
488
|
-
// finalization.
|
|
489
|
-
//
|
|
490
|
-
// TODO(aomarks) To be spec compliant, we should also capture the
|
|
491
|
-
// registration-time lifecycle methods like `connectedCallback`. For them
|
|
492
|
-
// to be actually accessible to e.g. the Lit SSR element renderer, though,
|
|
493
|
-
// we'd need to introduce a new API for accessing them (since `get` only
|
|
494
|
-
// returns the constructor).
|
|
495
|
-
observedAttributes: (_ctor_observedAttributes = ctor.observedAttributes) !== null && _ctor_observedAttributes !== void 0 ? _ctor_observedAttributes : []
|
|
496
|
-
});
|
|
497
|
-
}
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
key: "get",
|
|
501
|
-
value: function get(name) {
|
|
502
|
-
var definition = this.__definitions.get(name);
|
|
503
|
-
return definition === null || definition === void 0 ? void 0 : definition.ctor;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
]);
|
|
507
|
-
return CustomElementRegistry;
|
|
508
|
-
}();
|
|
509
|
-
var CustomElementRegistryShimWithRealType = CustomElementRegistryShim;
|
|
510
|
-
new CustomElementRegistryShimWithRealType();
|
|
511
|
-
|
|
512
19
|
/**
|
|
513
20
|
* @license
|
|
514
21
|
* Copyright 2021 Google LLC
|
|
@@ -550,12 +57,12 @@ function _assert_this_initialized$6(self) {
|
|
|
550
57
|
}
|
|
551
58
|
return self;
|
|
552
59
|
}
|
|
553
|
-
function _class_call_check$
|
|
60
|
+
function _class_call_check$f(instance, Constructor) {
|
|
554
61
|
if (!(instance instanceof Constructor)) {
|
|
555
62
|
throw new TypeError("Cannot call a class as a function");
|
|
556
63
|
}
|
|
557
64
|
}
|
|
558
|
-
function _defineProperties$
|
|
65
|
+
function _defineProperties$f(target, props) {
|
|
559
66
|
for(var i = 0; i < props.length; i++){
|
|
560
67
|
var descriptor = props[i];
|
|
561
68
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -564,9 +71,9 @@ function _defineProperties$e(target, props) {
|
|
|
564
71
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
565
72
|
}
|
|
566
73
|
}
|
|
567
|
-
function _create_class$
|
|
568
|
-
if (protoProps) _defineProperties$
|
|
569
|
-
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);
|
|
570
77
|
return Constructor;
|
|
571
78
|
}
|
|
572
79
|
function _get_prototype_of$6(o) {
|
|
@@ -801,10 +308,10 @@ var getElementRenderer = function(param, tagName) {
|
|
|
801
308
|
* An object that renders elements of a certain type.
|
|
802
309
|
*/ var ElementRenderer = /*#__PURE__*/ function() {
|
|
803
310
|
function ElementRenderer(tagName) {
|
|
804
|
-
_class_call_check$
|
|
311
|
+
_class_call_check$f(this, ElementRenderer);
|
|
805
312
|
this.tagName = tagName;
|
|
806
313
|
}
|
|
807
|
-
_create_class$
|
|
314
|
+
_create_class$f(ElementRenderer, [
|
|
808
315
|
{
|
|
809
316
|
/**
|
|
810
317
|
* Called when a custom element is "attached" to the server DOM.
|
|
@@ -987,7 +494,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
987
494
|
_inherits$6(FallbackRenderer, ElementRenderer);
|
|
988
495
|
var _super = _create_super$6(FallbackRenderer);
|
|
989
496
|
function FallbackRenderer() {
|
|
990
|
-
_class_call_check$
|
|
497
|
+
_class_call_check$f(this, FallbackRenderer);
|
|
991
498
|
var _this;
|
|
992
499
|
_this = _super.call.apply(_super, [
|
|
993
500
|
this
|
|
@@ -995,7 +502,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
995
502
|
_this._attributes = {};
|
|
996
503
|
return _this;
|
|
997
504
|
}
|
|
998
|
-
_create_class$
|
|
505
|
+
_create_class$f(FallbackRenderer, [
|
|
999
506
|
{
|
|
1000
507
|
key: "setAttribute",
|
|
1001
508
|
value: function setAttribute(name, value) {
|
|
@@ -1098,12 +605,12 @@ var getElementRenderer = function(param, tagName) {
|
|
|
1098
605
|
* @license
|
|
1099
606
|
* Copyright 2019 Google LLC
|
|
1100
607
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1101
|
-
*/ function _class_call_check$
|
|
608
|
+
*/ function _class_call_check$e(instance, Constructor) {
|
|
1102
609
|
if (!(instance instanceof Constructor)) {
|
|
1103
610
|
throw new TypeError("Cannot call a class as a function");
|
|
1104
611
|
}
|
|
1105
612
|
}
|
|
1106
|
-
function _defineProperties$
|
|
613
|
+
function _defineProperties$e(target, props) {
|
|
1107
614
|
for(var i = 0; i < props.length; i++){
|
|
1108
615
|
var descriptor = props[i];
|
|
1109
616
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -1112,9 +619,9 @@ function _defineProperties$d(target, props) {
|
|
|
1112
619
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1113
620
|
}
|
|
1114
621
|
}
|
|
1115
|
-
function _create_class$
|
|
1116
|
-
if (protoProps) _defineProperties$
|
|
1117
|
-
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);
|
|
1118
625
|
return Constructor;
|
|
1119
626
|
}
|
|
1120
627
|
function _instanceof$1(left, right) {
|
|
@@ -1127,11 +634,11 @@ function _instanceof$1(left, right) {
|
|
|
1127
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;
|
|
1128
635
|
var n$3 = /*#__PURE__*/ function() {
|
|
1129
636
|
function n(t, e, o) {
|
|
1130
|
-
_class_call_check$
|
|
637
|
+
_class_call_check$e(this, n);
|
|
1131
638
|
if (this._$cssResult$ = !0, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1132
639
|
this.cssText = t, this.t = e;
|
|
1133
640
|
}
|
|
1134
|
-
_create_class$
|
|
641
|
+
_create_class$e(n, [
|
|
1135
642
|
{
|
|
1136
643
|
key: "styleSheet",
|
|
1137
644
|
get: function get() {
|
|
@@ -1255,7 +762,7 @@ function _async_to_generator$1(fn) {
|
|
|
1255
762
|
});
|
|
1256
763
|
};
|
|
1257
764
|
}
|
|
1258
|
-
function _class_call_check$
|
|
765
|
+
function _class_call_check$d(instance, Constructor) {
|
|
1259
766
|
if (!(instance instanceof Constructor)) {
|
|
1260
767
|
throw new TypeError("Cannot call a class as a function");
|
|
1261
768
|
}
|
|
@@ -1277,7 +784,7 @@ function _construct(Parent, args, Class) {
|
|
|
1277
784
|
}
|
|
1278
785
|
return _construct.apply(null, arguments);
|
|
1279
786
|
}
|
|
1280
|
-
function _defineProperties$
|
|
787
|
+
function _defineProperties$d(target, props) {
|
|
1281
788
|
for(var i = 0; i < props.length; i++){
|
|
1282
789
|
var descriptor = props[i];
|
|
1283
790
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -1286,9 +793,9 @@ function _defineProperties$c(target, props) {
|
|
|
1286
793
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1287
794
|
}
|
|
1288
795
|
}
|
|
1289
|
-
function _create_class$
|
|
1290
|
-
if (protoProps) _defineProperties$
|
|
1291
|
-
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);
|
|
1292
799
|
return Constructor;
|
|
1293
800
|
}
|
|
1294
801
|
function _get_prototype_of$5(o) {
|
|
@@ -1575,12 +1082,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1575
1082
|
_inherits$5(b, HTMLElement1);
|
|
1576
1083
|
var _super = _create_super$5(b);
|
|
1577
1084
|
function b() {
|
|
1578
|
-
_class_call_check$
|
|
1085
|
+
_class_call_check$d(this, b);
|
|
1579
1086
|
var _this;
|
|
1580
1087
|
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
|
1581
1088
|
return _possible_constructor_return$5(_this);
|
|
1582
1089
|
}
|
|
1583
|
-
_create_class$
|
|
1090
|
+
_create_class$d(b, [
|
|
1584
1091
|
{
|
|
1585
1092
|
key: "_$Ev",
|
|
1586
1093
|
value: function _$Ev() {
|
|
@@ -2109,12 +1616,12 @@ function _assert_this_initialized$4(self) {
|
|
|
2109
1616
|
}
|
|
2110
1617
|
return self;
|
|
2111
1618
|
}
|
|
2112
|
-
function _class_call_check$
|
|
1619
|
+
function _class_call_check$c(instance, Constructor) {
|
|
2113
1620
|
if (!(instance instanceof Constructor)) {
|
|
2114
1621
|
throw new TypeError("Cannot call a class as a function");
|
|
2115
1622
|
}
|
|
2116
1623
|
}
|
|
2117
|
-
function _defineProperties$
|
|
1624
|
+
function _defineProperties$c(target, props) {
|
|
2118
1625
|
for(var i = 0; i < props.length; i++){
|
|
2119
1626
|
var descriptor = props[i];
|
|
2120
1627
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -2123,9 +1630,9 @@ function _defineProperties$b(target, props) {
|
|
|
2123
1630
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2124
1631
|
}
|
|
2125
1632
|
}
|
|
2126
|
-
function _create_class$
|
|
2127
|
-
if (protoProps) _defineProperties$
|
|
2128
|
-
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);
|
|
2129
1636
|
return Constructor;
|
|
2130
1637
|
}
|
|
2131
1638
|
function _get_prototype_of$4(o) {
|
|
@@ -2269,7 +1776,7 @@ var V = function(t, i) {
|
|
|
2269
1776
|
var N = /*#__PURE__*/ function() {
|
|
2270
1777
|
function N(param, n) {
|
|
2271
1778
|
var t = param.strings, s = param._$litType$;
|
|
2272
|
-
_class_call_check$
|
|
1779
|
+
_class_call_check$c(this, N);
|
|
2273
1780
|
var r;
|
|
2274
1781
|
this.parts = [];
|
|
2275
1782
|
var c = 0, a = 0;
|
|
@@ -2338,7 +1845,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
2338
1845
|
c++;
|
|
2339
1846
|
}
|
|
2340
1847
|
}
|
|
2341
|
-
_create_class$
|
|
1848
|
+
_create_class$c(N, null, [
|
|
2342
1849
|
{
|
|
2343
1850
|
key: "createElement",
|
|
2344
1851
|
value: function createElement(t, i) {
|
|
@@ -2361,10 +1868,10 @@ function S(t, i) {
|
|
|
2361
1868
|
}
|
|
2362
1869
|
var M = /*#__PURE__*/ function() {
|
|
2363
1870
|
function M(t, i) {
|
|
2364
|
-
_class_call_check$
|
|
1871
|
+
_class_call_check$c(this, M);
|
|
2365
1872
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
2366
1873
|
}
|
|
2367
|
-
_create_class$
|
|
1874
|
+
_create_class$c(M, [
|
|
2368
1875
|
{
|
|
2369
1876
|
key: "parentNode",
|
|
2370
1877
|
get: function get() {
|
|
@@ -2425,11 +1932,11 @@ var M = /*#__PURE__*/ function() {
|
|
|
2425
1932
|
}();
|
|
2426
1933
|
var R = /*#__PURE__*/ function() {
|
|
2427
1934
|
function R(t, i, s, e) {
|
|
2428
|
-
_class_call_check$
|
|
1935
|
+
_class_call_check$c(this, R);
|
|
2429
1936
|
var _e_isConnected;
|
|
2430
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;
|
|
2431
1938
|
}
|
|
2432
|
-
_create_class$
|
|
1939
|
+
_create_class$c(R, [
|
|
2433
1940
|
{
|
|
2434
1941
|
key: "_$AU",
|
|
2435
1942
|
get: function get() {
|
|
@@ -2554,10 +2061,10 @@ var R = /*#__PURE__*/ function() {
|
|
|
2554
2061
|
}();
|
|
2555
2062
|
var k = /*#__PURE__*/ function() {
|
|
2556
2063
|
function k(t, i, s, e, h) {
|
|
2557
|
-
_class_call_check$
|
|
2064
|
+
_class_call_check$c(this, k);
|
|
2558
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;
|
|
2559
2066
|
}
|
|
2560
|
-
_create_class$
|
|
2067
|
+
_create_class$c(k, [
|
|
2561
2068
|
{
|
|
2562
2069
|
key: "tagName",
|
|
2563
2070
|
get: function get() {
|
|
@@ -2598,14 +2105,14 @@ var H = /*#__PURE__*/ function(k) {
|
|
|
2598
2105
|
_inherits$4(H, k);
|
|
2599
2106
|
var _super = _create_super$4(H);
|
|
2600
2107
|
function H() {
|
|
2601
|
-
_class_call_check$
|
|
2108
|
+
_class_call_check$c(this, H);
|
|
2602
2109
|
var _this;
|
|
2603
2110
|
_this = _super.call.apply(_super, [
|
|
2604
2111
|
this
|
|
2605
2112
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
|
|
2606
2113
|
return _possible_constructor_return$4(_this);
|
|
2607
2114
|
}
|
|
2608
|
-
_create_class$
|
|
2115
|
+
_create_class$c(H, [
|
|
2609
2116
|
{
|
|
2610
2117
|
key: "j",
|
|
2611
2118
|
value: function j(t) {
|
|
@@ -2619,14 +2126,14 @@ var I = /*#__PURE__*/ function(k) {
|
|
|
2619
2126
|
_inherits$4(I, k);
|
|
2620
2127
|
var _super = _create_super$4(I);
|
|
2621
2128
|
function I() {
|
|
2622
|
-
_class_call_check$
|
|
2129
|
+
_class_call_check$c(this, I);
|
|
2623
2130
|
var _this;
|
|
2624
2131
|
_this = _super.call.apply(_super, [
|
|
2625
2132
|
this
|
|
2626
2133
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
|
|
2627
2134
|
return _possible_constructor_return$4(_this);
|
|
2628
2135
|
}
|
|
2629
|
-
_create_class$
|
|
2136
|
+
_create_class$c(I, [
|
|
2630
2137
|
{
|
|
2631
2138
|
key: "j",
|
|
2632
2139
|
value: function j(t) {
|
|
@@ -2640,12 +2147,12 @@ var L = /*#__PURE__*/ function(k) {
|
|
|
2640
2147
|
_inherits$4(L, k);
|
|
2641
2148
|
var _super = _create_super$4(L);
|
|
2642
2149
|
function L(t, i, s, e, h) {
|
|
2643
|
-
_class_call_check$
|
|
2150
|
+
_class_call_check$c(this, L);
|
|
2644
2151
|
var _this;
|
|
2645
2152
|
_this = _super.call(this, t, i, s, e, h), _this.type = 5;
|
|
2646
2153
|
return _possible_constructor_return$4(_this);
|
|
2647
2154
|
}
|
|
2648
|
-
_create_class$
|
|
2155
|
+
_create_class$c(L, [
|
|
2649
2156
|
{
|
|
2650
2157
|
key: "_$AI",
|
|
2651
2158
|
value: function _$AI(t) {
|
|
@@ -2669,10 +2176,10 @@ var L = /*#__PURE__*/ function(k) {
|
|
|
2669
2176
|
}(k);
|
|
2670
2177
|
var z = /*#__PURE__*/ function() {
|
|
2671
2178
|
function z(t, i, s) {
|
|
2672
|
-
_class_call_check$
|
|
2179
|
+
_class_call_check$c(this, z);
|
|
2673
2180
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
2674
2181
|
}
|
|
2675
|
-
_create_class$
|
|
2182
|
+
_create_class$c(z, [
|
|
2676
2183
|
{
|
|
2677
2184
|
key: "_$AU",
|
|
2678
2185
|
get: function get() {
|
|
@@ -2724,12 +2231,12 @@ function _assert_this_initialized$3(self) {
|
|
|
2724
2231
|
}
|
|
2725
2232
|
return self;
|
|
2726
2233
|
}
|
|
2727
|
-
function _class_call_check$
|
|
2234
|
+
function _class_call_check$b(instance, Constructor) {
|
|
2728
2235
|
if (!(instance instanceof Constructor)) {
|
|
2729
2236
|
throw new TypeError("Cannot call a class as a function");
|
|
2730
2237
|
}
|
|
2731
2238
|
}
|
|
2732
|
-
function _defineProperties$
|
|
2239
|
+
function _defineProperties$b(target, props) {
|
|
2733
2240
|
for(var i = 0; i < props.length; i++){
|
|
2734
2241
|
var descriptor = props[i];
|
|
2735
2242
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -2738,9 +2245,9 @@ function _defineProperties$a(target, props) {
|
|
|
2738
2245
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2739
2246
|
}
|
|
2740
2247
|
}
|
|
2741
|
-
function _create_class$
|
|
2742
|
-
if (protoProps) _defineProperties$
|
|
2743
|
-
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);
|
|
2744
2251
|
return Constructor;
|
|
2745
2252
|
}
|
|
2746
2253
|
function _get$1(target, property, receiver) {
|
|
@@ -2826,7 +2333,7 @@ function _create_super$3(Derived) {
|
|
|
2826
2333
|
return _possible_constructor_return$3(this, result);
|
|
2827
2334
|
};
|
|
2828
2335
|
}
|
|
2829
|
-
var _globalThis_litElementHydrateSupport, _globalThis
|
|
2336
|
+
var _globalThis_litElementHydrateSupport, _globalThis;
|
|
2830
2337
|
var _globalThis1;
|
|
2831
2338
|
/**
|
|
2832
2339
|
* @license
|
|
@@ -2836,7 +2343,7 @@ var _globalThis1;
|
|
|
2836
2343
|
_inherits$3(r, t);
|
|
2837
2344
|
var _super = _create_super$3(r);
|
|
2838
2345
|
function r() {
|
|
2839
|
-
_class_call_check$
|
|
2346
|
+
_class_call_check$b(this, r);
|
|
2840
2347
|
var _this;
|
|
2841
2348
|
_this = _super.call.apply(_super, [
|
|
2842
2349
|
this
|
|
@@ -2845,7 +2352,7 @@ var _globalThis1;
|
|
|
2845
2352
|
}, _this._$Do = void 0;
|
|
2846
2353
|
return _possible_constructor_return$3(_this);
|
|
2847
2354
|
}
|
|
2848
|
-
_create_class$
|
|
2355
|
+
_create_class$b(r, [
|
|
2849
2356
|
{
|
|
2850
2357
|
key: "createRenderRoot",
|
|
2851
2358
|
value: function createRenderRoot() {
|
|
@@ -2885,7 +2392,7 @@ var _globalThis1;
|
|
|
2885
2392
|
]);
|
|
2886
2393
|
return r;
|
|
2887
2394
|
}(b);
|
|
2888
|
-
r$1._$litElement$ = !0, r$1["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis
|
|
2395
|
+
r$1._$litElement$ = !0, r$1["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
|
|
2889
2396
|
LitElement: r$1
|
|
2890
2397
|
});
|
|
2891
2398
|
var i$4 = globalThis.litElementPolyfillSupport;
|
|
@@ -2912,6 +2419,117 @@ var _litElementVersions;
|
|
|
2912
2419
|
changedProperties: o._$AL
|
|
2913
2420
|
};
|
|
2914
2421
|
|
|
2422
|
+
var ariaMixinAttributes = {
|
|
2423
|
+
ariaAtomic: "aria-atomic",
|
|
2424
|
+
ariaAutoComplete: "aria-autocomplete",
|
|
2425
|
+
ariaBrailleLabel: "aria-braillelabel",
|
|
2426
|
+
ariaBrailleRoleDescription: "aria-brailleroledescription",
|
|
2427
|
+
ariaBusy: "aria-busy",
|
|
2428
|
+
ariaChecked: "aria-checked",
|
|
2429
|
+
ariaColCount: "aria-colcount",
|
|
2430
|
+
ariaColIndex: "aria-colindex",
|
|
2431
|
+
ariaColSpan: "aria-colspan",
|
|
2432
|
+
ariaCurrent: "aria-current",
|
|
2433
|
+
ariaDescription: "aria-description",
|
|
2434
|
+
ariaDisabled: "aria-disabled",
|
|
2435
|
+
ariaExpanded: "aria-expanded",
|
|
2436
|
+
ariaHasPopup: "aria-haspopup",
|
|
2437
|
+
ariaHidden: "aria-hidden",
|
|
2438
|
+
ariaInvalid: "aria-invalid",
|
|
2439
|
+
ariaKeyShortcuts: "aria-keyshortcuts",
|
|
2440
|
+
ariaLabel: "aria-label",
|
|
2441
|
+
ariaLevel: "aria-level",
|
|
2442
|
+
ariaLive: "aria-live",
|
|
2443
|
+
ariaModal: "aria-modal",
|
|
2444
|
+
ariaMultiLine: "aria-multiline",
|
|
2445
|
+
ariaMultiSelectable: "aria-multiselectable",
|
|
2446
|
+
ariaOrientation: "aria-orientation",
|
|
2447
|
+
ariaPlaceholder: "aria-placeholder",
|
|
2448
|
+
ariaPosInSet: "aria-posinset",
|
|
2449
|
+
ariaPressed: "aria-pressed",
|
|
2450
|
+
ariaReadOnly: "aria-readonly",
|
|
2451
|
+
ariaRequired: "aria-required",
|
|
2452
|
+
ariaRoleDescription: "aria-roledescription",
|
|
2453
|
+
ariaRowCount: "aria-rowcount",
|
|
2454
|
+
ariaRowIndex: "aria-rowindex",
|
|
2455
|
+
ariaRowSpan: "aria-rowspan",
|
|
2456
|
+
ariaSelected: "aria-selected",
|
|
2457
|
+
ariaSetSize: "aria-setsize",
|
|
2458
|
+
ariaSort: "aria-sort",
|
|
2459
|
+
ariaValueMax: "aria-valuemax",
|
|
2460
|
+
ariaValueMin: "aria-valuemin",
|
|
2461
|
+
ariaValueNow: "aria-valuenow",
|
|
2462
|
+
ariaValueText: "aria-valuetext",
|
|
2463
|
+
role: "role"
|
|
2464
|
+
};
|
|
2465
|
+
var HYDRATE_INTERNALS_ATTR_PREFIX = "hydrate-internals-";
|
|
2466
|
+
|
|
2467
|
+
function _class_call_check$a(instance, Constructor) {
|
|
2468
|
+
if (!(instance instanceof Constructor)) {
|
|
2469
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
function _defineProperties$a(target, props) {
|
|
2473
|
+
for(var i = 0; i < props.length; i++){
|
|
2474
|
+
var descriptor = props[i];
|
|
2475
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
2476
|
+
descriptor.configurable = true;
|
|
2477
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
2478
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
function _create_class$a(Constructor, protoProps, staticProps) {
|
|
2482
|
+
if (protoProps) _defineProperties$a(Constructor.prototype, protoProps);
|
|
2483
|
+
if (staticProps) _defineProperties$a(Constructor, staticProps);
|
|
2484
|
+
return Constructor;
|
|
2485
|
+
}
|
|
2486
|
+
var CustomElementRegistryShim = /*#__PURE__*/ function() {
|
|
2487
|
+
function CustomElementRegistry() {
|
|
2488
|
+
_class_call_check$a(this, CustomElementRegistry);
|
|
2489
|
+
this.__definitions = new Map();
|
|
2490
|
+
}
|
|
2491
|
+
_create_class$a(CustomElementRegistry, [
|
|
2492
|
+
{
|
|
2493
|
+
key: "define",
|
|
2494
|
+
value: function define(name, ctor) {
|
|
2495
|
+
if (this.__definitions.has(name)) {
|
|
2496
|
+
if (process.env.NODE_ENV === "development") {
|
|
2497
|
+
console.warn("'CustomElementRegistry' already has \"".concat(name, '" defined. ') + "This may have been caused by live reload or hot module " + "replacement in which case it can be safely ignored.\n" + "Make sure to test your application with a production build as " + "repeat registrations will throw in production.");
|
|
2498
|
+
} else {
|
|
2499
|
+
throw new Error("Failed to execute 'define' on 'CustomElementRegistry': " + 'the name "'.concat(name, '" has already been used with this registry'));
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
// Provide tagName and localName for the component.
|
|
2503
|
+
ctor.__localName = name;
|
|
2504
|
+
var _ctor_observedAttributes;
|
|
2505
|
+
this.__definitions.set(name, {
|
|
2506
|
+
ctor: ctor,
|
|
2507
|
+
// Note it's important we read `observedAttributes` in case it is a getter
|
|
2508
|
+
// with side-effects, as is the case in Lit, where it triggers class
|
|
2509
|
+
// finalization.
|
|
2510
|
+
//
|
|
2511
|
+
// TODO(aomarks) To be spec compliant, we should also capture the
|
|
2512
|
+
// registration-time lifecycle methods like `connectedCallback`. For them
|
|
2513
|
+
// to be actually accessible to e.g. the Lit SSR element renderer, though,
|
|
2514
|
+
// we'd need to introduce a new API for accessing them (since `get` only
|
|
2515
|
+
// returns the constructor).
|
|
2516
|
+
observedAttributes: (_ctor_observedAttributes = ctor.observedAttributes) !== null && _ctor_observedAttributes !== void 0 ? _ctor_observedAttributes : []
|
|
2517
|
+
});
|
|
2518
|
+
}
|
|
2519
|
+
},
|
|
2520
|
+
{
|
|
2521
|
+
key: "get",
|
|
2522
|
+
value: function get(name) {
|
|
2523
|
+
var definition = this.__definitions.get(name);
|
|
2524
|
+
return definition === null || definition === void 0 ? void 0 : definition.ctor;
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
]);
|
|
2528
|
+
return CustomElementRegistry;
|
|
2529
|
+
}();
|
|
2530
|
+
var CustomElementRegistryShimWithRealType = CustomElementRegistryShim;
|
|
2531
|
+
new CustomElementRegistryShimWithRealType();
|
|
2532
|
+
|
|
2915
2533
|
/**
|
|
2916
2534
|
* @license
|
|
2917
2535
|
* Copyright 2017 Google LLC
|
|
@@ -17083,9 +16701,6 @@ var collectResult = function() {
|
|
|
17083
16701
|
};
|
|
17084
16702
|
}();
|
|
17085
16703
|
|
|
17086
|
-
var _globalThis;
|
|
17087
|
-
var _HTMLElement;
|
|
17088
|
-
(_HTMLElement = (_globalThis = globalThis).HTMLElement) != null ? _HTMLElement : _globalThis.HTMLElement = HTMLElementShimWithRealType;
|
|
17089
16704
|
let WebService = class WebService {
|
|
17090
16705
|
filteredWebPinsSettings(item, path) {
|
|
17091
16706
|
if (Array.isArray(item)) {
|