@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.esm.js
CHANGED
|
@@ -11,499 +11,6 @@ function _extends() {
|
|
|
11
11
|
return _extends.apply(this, arguments);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* @license
|
|
16
|
-
* Copyright 2023 Google LLC
|
|
17
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
|
-
*/ /**
|
|
19
|
-
* Map of ARIAMixin properties to attributes
|
|
20
|
-
*/ function _class_call_check$A(instance, Constructor) {
|
|
21
|
-
if (!(instance instanceof Constructor)) {
|
|
22
|
-
throw new TypeError("Cannot call a class as a function");
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
function _defineProperties$z(target, props) {
|
|
26
|
-
for(var i = 0; i < props.length; i++){
|
|
27
|
-
var descriptor = props[i];
|
|
28
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
29
|
-
descriptor.configurable = true;
|
|
30
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
31
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
function _create_class$z(Constructor, protoProps, staticProps) {
|
|
35
|
-
if (protoProps) _defineProperties$z(Constructor.prototype, protoProps);
|
|
36
|
-
if (staticProps) _defineProperties$z(Constructor, staticProps);
|
|
37
|
-
return Constructor;
|
|
38
|
-
}
|
|
39
|
-
var ariaMixinAttributes = {
|
|
40
|
-
ariaAtomic: "aria-atomic",
|
|
41
|
-
ariaAutoComplete: "aria-autocomplete",
|
|
42
|
-
ariaBrailleLabel: "aria-braillelabel",
|
|
43
|
-
ariaBrailleRoleDescription: "aria-brailleroledescription",
|
|
44
|
-
ariaBusy: "aria-busy",
|
|
45
|
-
ariaChecked: "aria-checked",
|
|
46
|
-
ariaColCount: "aria-colcount",
|
|
47
|
-
ariaColIndex: "aria-colindex",
|
|
48
|
-
ariaColSpan: "aria-colspan",
|
|
49
|
-
ariaCurrent: "aria-current",
|
|
50
|
-
ariaDescription: "aria-description",
|
|
51
|
-
ariaDisabled: "aria-disabled",
|
|
52
|
-
ariaExpanded: "aria-expanded",
|
|
53
|
-
ariaHasPopup: "aria-haspopup",
|
|
54
|
-
ariaHidden: "aria-hidden",
|
|
55
|
-
ariaInvalid: "aria-invalid",
|
|
56
|
-
ariaKeyShortcuts: "aria-keyshortcuts",
|
|
57
|
-
ariaLabel: "aria-label",
|
|
58
|
-
ariaLevel: "aria-level",
|
|
59
|
-
ariaLive: "aria-live",
|
|
60
|
-
ariaModal: "aria-modal",
|
|
61
|
-
ariaMultiLine: "aria-multiline",
|
|
62
|
-
ariaMultiSelectable: "aria-multiselectable",
|
|
63
|
-
ariaOrientation: "aria-orientation",
|
|
64
|
-
ariaPlaceholder: "aria-placeholder",
|
|
65
|
-
ariaPosInSet: "aria-posinset",
|
|
66
|
-
ariaPressed: "aria-pressed",
|
|
67
|
-
ariaReadOnly: "aria-readonly",
|
|
68
|
-
ariaRequired: "aria-required",
|
|
69
|
-
ariaRoleDescription: "aria-roledescription",
|
|
70
|
-
ariaRowCount: "aria-rowcount",
|
|
71
|
-
ariaRowIndex: "aria-rowindex",
|
|
72
|
-
ariaRowSpan: "aria-rowspan",
|
|
73
|
-
ariaSelected: "aria-selected",
|
|
74
|
-
ariaSetSize: "aria-setsize",
|
|
75
|
-
ariaSort: "aria-sort",
|
|
76
|
-
ariaValueMax: "aria-valuemax",
|
|
77
|
-
ariaValueMin: "aria-valuemin",
|
|
78
|
-
ariaValueNow: "aria-valuenow",
|
|
79
|
-
ariaValueText: "aria-valuetext",
|
|
80
|
-
role: "role"
|
|
81
|
-
};
|
|
82
|
-
// Shim the global element internals object
|
|
83
|
-
// Methods should be fine as noops and properties can generally
|
|
84
|
-
// be while on the server.
|
|
85
|
-
var ElementInternalsShim = /*#__PURE__*/ function() {
|
|
86
|
-
function ElementInternals(_host) {
|
|
87
|
-
_class_call_check$A(this, ElementInternals);
|
|
88
|
-
this.ariaAtomic = "";
|
|
89
|
-
this.ariaAutoComplete = "";
|
|
90
|
-
this.ariaBrailleLabel = "";
|
|
91
|
-
this.ariaBrailleRoleDescription = "";
|
|
92
|
-
this.ariaBusy = "";
|
|
93
|
-
this.ariaChecked = "";
|
|
94
|
-
this.ariaColCount = "";
|
|
95
|
-
this.ariaColIndex = "";
|
|
96
|
-
this.ariaColSpan = "";
|
|
97
|
-
this.ariaCurrent = "";
|
|
98
|
-
this.ariaDescription = "";
|
|
99
|
-
this.ariaDisabled = "";
|
|
100
|
-
this.ariaExpanded = "";
|
|
101
|
-
this.ariaHasPopup = "";
|
|
102
|
-
this.ariaHidden = "";
|
|
103
|
-
this.ariaInvalid = "";
|
|
104
|
-
this.ariaKeyShortcuts = "";
|
|
105
|
-
this.ariaLabel = "";
|
|
106
|
-
this.ariaLevel = "";
|
|
107
|
-
this.ariaLive = "";
|
|
108
|
-
this.ariaModal = "";
|
|
109
|
-
this.ariaMultiLine = "";
|
|
110
|
-
this.ariaMultiSelectable = "";
|
|
111
|
-
this.ariaOrientation = "";
|
|
112
|
-
this.ariaPlaceholder = "";
|
|
113
|
-
this.ariaPosInSet = "";
|
|
114
|
-
this.ariaPressed = "";
|
|
115
|
-
this.ariaReadOnly = "";
|
|
116
|
-
this.ariaRequired = "";
|
|
117
|
-
this.ariaRoleDescription = "";
|
|
118
|
-
this.ariaRowCount = "";
|
|
119
|
-
this.ariaRowIndex = "";
|
|
120
|
-
this.ariaRowSpan = "";
|
|
121
|
-
this.ariaSelected = "";
|
|
122
|
-
this.ariaSetSize = "";
|
|
123
|
-
this.ariaSort = "";
|
|
124
|
-
this.ariaValueMax = "";
|
|
125
|
-
this.ariaValueMin = "";
|
|
126
|
-
this.ariaValueNow = "";
|
|
127
|
-
this.ariaValueText = "";
|
|
128
|
-
this.role = "";
|
|
129
|
-
this.form = null;
|
|
130
|
-
this.labels = [];
|
|
131
|
-
this.states = new Set();
|
|
132
|
-
this.validationMessage = "";
|
|
133
|
-
this.validity = {};
|
|
134
|
-
this.willValidate = true;
|
|
135
|
-
this.__host = _host;
|
|
136
|
-
}
|
|
137
|
-
_create_class$z(ElementInternals, [
|
|
138
|
-
{
|
|
139
|
-
key: "shadowRoot",
|
|
140
|
-
get: function get() {
|
|
141
|
-
// Grab the shadow root instance from the Element shim
|
|
142
|
-
// to ensure that the shadow root is always available
|
|
143
|
-
// to the internals instance even if the mode is 'closed'
|
|
144
|
-
return this.__host.__shadowRoot;
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
key: "checkValidity",
|
|
149
|
-
value: function checkValidity() {
|
|
150
|
-
// TODO(augustjk) Consider actually implementing logic.
|
|
151
|
-
// See https://github.com/lit/lit/issues/3740
|
|
152
|
-
console.warn("`ElementInternals.checkValidity()` was called on the server." + "This method always returns true.");
|
|
153
|
-
return true;
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
key: "reportValidity",
|
|
158
|
-
value: function reportValidity() {
|
|
159
|
-
return true;
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
key: "setFormValue",
|
|
164
|
-
value: function setFormValue() {}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
key: "setValidity",
|
|
168
|
-
value: function setValidity() {}
|
|
169
|
-
}
|
|
170
|
-
]);
|
|
171
|
-
return ElementInternals;
|
|
172
|
-
}();
|
|
173
|
-
var HYDRATE_INTERNALS_ATTR_PREFIX = "hydrate-internals-";
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* @license
|
|
177
|
-
* Copyright 2019 Google LLC
|
|
178
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
179
|
-
*/ function _array_like_to_array$p(arr, len) {
|
|
180
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
181
|
-
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
182
|
-
return arr2;
|
|
183
|
-
}
|
|
184
|
-
function _array_with_holes$j(arr) {
|
|
185
|
-
if (Array.isArray(arr)) return arr;
|
|
186
|
-
}
|
|
187
|
-
function _assert_this_initialized$f(self) {
|
|
188
|
-
if (self === void 0) {
|
|
189
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
190
|
-
}
|
|
191
|
-
return self;
|
|
192
|
-
}
|
|
193
|
-
function _class_call_check$z(instance, Constructor) {
|
|
194
|
-
if (!(instance instanceof Constructor)) {
|
|
195
|
-
throw new TypeError("Cannot call a class as a function");
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
function _defineProperties$y(target, props) {
|
|
199
|
-
for(var i = 0; i < props.length; i++){
|
|
200
|
-
var descriptor = props[i];
|
|
201
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
202
|
-
descriptor.configurable = true;
|
|
203
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
204
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
function _create_class$y(Constructor, protoProps, staticProps) {
|
|
208
|
-
if (protoProps) _defineProperties$y(Constructor.prototype, protoProps);
|
|
209
|
-
if (staticProps) _defineProperties$y(Constructor, staticProps);
|
|
210
|
-
return Constructor;
|
|
211
|
-
}
|
|
212
|
-
function _get_prototype_of$f(o) {
|
|
213
|
-
_get_prototype_of$f = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
214
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
215
|
-
};
|
|
216
|
-
return _get_prototype_of$f(o);
|
|
217
|
-
}
|
|
218
|
-
function _inherits$f(subClass, superClass) {
|
|
219
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
220
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
221
|
-
}
|
|
222
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
223
|
-
constructor: {
|
|
224
|
-
value: subClass,
|
|
225
|
-
writable: true,
|
|
226
|
-
configurable: true
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
if (superClass) _set_prototype_of$f(subClass, superClass);
|
|
230
|
-
}
|
|
231
|
-
function _iterable_to_array_limit$j(arr, i) {
|
|
232
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
233
|
-
if (_i == null) return;
|
|
234
|
-
var _arr = [];
|
|
235
|
-
var _n = true;
|
|
236
|
-
var _d = false;
|
|
237
|
-
var _s, _e;
|
|
238
|
-
try {
|
|
239
|
-
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
240
|
-
_arr.push(_s.value);
|
|
241
|
-
if (i && _arr.length === i) break;
|
|
242
|
-
}
|
|
243
|
-
} catch (err) {
|
|
244
|
-
_d = true;
|
|
245
|
-
_e = err;
|
|
246
|
-
} finally{
|
|
247
|
-
try {
|
|
248
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
249
|
-
} finally{
|
|
250
|
-
if (_d) throw _e;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
return _arr;
|
|
254
|
-
}
|
|
255
|
-
function _non_iterable_rest$j() {
|
|
256
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
257
|
-
}
|
|
258
|
-
function _possible_constructor_return$f(self, call) {
|
|
259
|
-
if (call && (_type_of$j(call) === "object" || typeof call === "function")) {
|
|
260
|
-
return call;
|
|
261
|
-
}
|
|
262
|
-
return _assert_this_initialized$f(self);
|
|
263
|
-
}
|
|
264
|
-
function _set_prototype_of$f(o, p) {
|
|
265
|
-
_set_prototype_of$f = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
266
|
-
o.__proto__ = p;
|
|
267
|
-
return o;
|
|
268
|
-
};
|
|
269
|
-
return _set_prototype_of$f(o, p);
|
|
270
|
-
}
|
|
271
|
-
function _sliced_to_array$j(arr, i) {
|
|
272
|
-
return _array_with_holes$j(arr) || _iterable_to_array_limit$j(arr, i) || _unsupported_iterable_to_array$p(arr, i) || _non_iterable_rest$j();
|
|
273
|
-
}
|
|
274
|
-
function _type_of$j(obj) {
|
|
275
|
-
"@swc/helpers - typeof";
|
|
276
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
277
|
-
}
|
|
278
|
-
function _unsupported_iterable_to_array$p(o, minLen) {
|
|
279
|
-
if (!o) return;
|
|
280
|
-
if (typeof o === "string") return _array_like_to_array$p(o, minLen);
|
|
281
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
282
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
283
|
-
if (n === "Map" || n === "Set") return Array.from(n);
|
|
284
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$p(o, minLen);
|
|
285
|
-
}
|
|
286
|
-
function _is_native_reflect_construct$f() {
|
|
287
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
288
|
-
if (Reflect.construct.sham) return false;
|
|
289
|
-
if (typeof Proxy === "function") return true;
|
|
290
|
-
try {
|
|
291
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
292
|
-
return true;
|
|
293
|
-
} catch (e) {
|
|
294
|
-
return false;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
function _create_super$f(Derived) {
|
|
298
|
-
var hasNativeReflectConstruct = _is_native_reflect_construct$f();
|
|
299
|
-
return function _createSuperInternal() {
|
|
300
|
-
var Super = _get_prototype_of$f(Derived), result;
|
|
301
|
-
if (hasNativeReflectConstruct) {
|
|
302
|
-
var NewTarget = _get_prototype_of$f(this).constructor;
|
|
303
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
304
|
-
} else {
|
|
305
|
-
result = Super.apply(this, arguments);
|
|
306
|
-
}
|
|
307
|
-
return _possible_constructor_return$f(this, result);
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
var attributes = new WeakMap();
|
|
311
|
-
var attributesForElement = function(element) {
|
|
312
|
-
var attrs = attributes.get(element);
|
|
313
|
-
if (attrs === undefined) {
|
|
314
|
-
attributes.set(element, attrs = new Map());
|
|
315
|
-
}
|
|
316
|
-
return attrs;
|
|
317
|
-
};
|
|
318
|
-
// The typings around the exports below are a little funky:
|
|
319
|
-
//
|
|
320
|
-
// 1. We want the `name` of the shim classes to match the real ones at runtime,
|
|
321
|
-
// hence e.g. `class Element`.
|
|
322
|
-
// 2. We can't shadow the global types with a simple class declaration, because
|
|
323
|
-
// then we can't reference the global types for casting, hence e.g.
|
|
324
|
-
// `const ElementShim = class Element`.
|
|
325
|
-
// 3. We want to export the classes typed as the real ones, hence e.g.
|
|
326
|
-
// `const ElementShimWithRealType = ElementShim as object as typeof Element;`.
|
|
327
|
-
// 4. We want the exported names to match the real ones, hence e.g.
|
|
328
|
-
// `export {ElementShimWithRealType as Element}`.
|
|
329
|
-
var ElementShim = /*#__PURE__*/ function() {
|
|
330
|
-
function Element() {
|
|
331
|
-
_class_call_check$z(this, Element);
|
|
332
|
-
this.__shadowRootMode = null;
|
|
333
|
-
this.__shadowRoot = null;
|
|
334
|
-
this.__internals = null;
|
|
335
|
-
}
|
|
336
|
-
_create_class$y(Element, [
|
|
337
|
-
{
|
|
338
|
-
key: "attributes",
|
|
339
|
-
get: function get() {
|
|
340
|
-
return Array.from(attributesForElement(this)).map(function(param) {
|
|
341
|
-
var _param = _sliced_to_array$j(param, 2), name = _param[0], value = _param[1];
|
|
342
|
-
return {
|
|
343
|
-
name: name,
|
|
344
|
-
value: value
|
|
345
|
-
};
|
|
346
|
-
});
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
key: "shadowRoot",
|
|
351
|
-
get: function get() {
|
|
352
|
-
if (this.__shadowRootMode === "closed") {
|
|
353
|
-
return null;
|
|
354
|
-
}
|
|
355
|
-
return this.__shadowRoot;
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
key: "localName",
|
|
360
|
-
get: function get() {
|
|
361
|
-
return this.constructor.__localName;
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
key: "tagName",
|
|
366
|
-
get: function get() {
|
|
367
|
-
var _this_localName;
|
|
368
|
-
return (_this_localName = this.localName) === null || _this_localName === void 0 ? void 0 : _this_localName.toUpperCase();
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
key: "setAttribute",
|
|
373
|
-
value: function setAttribute(name, value) {
|
|
374
|
-
// Emulate browser behavior that silently casts all values to string. E.g.
|
|
375
|
-
// `42` becomes `"42"` and `{}` becomes `"[object Object]""`.
|
|
376
|
-
attributesForElement(this).set(name, String(value));
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
key: "removeAttribute",
|
|
381
|
-
value: function removeAttribute(name) {
|
|
382
|
-
attributesForElement(this).delete(name);
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
key: "toggleAttribute",
|
|
387
|
-
value: function toggleAttribute(name, force) {
|
|
388
|
-
// Steps reference https://dom.spec.whatwg.org/#dom-element-toggleattribute
|
|
389
|
-
if (this.hasAttribute(name)) {
|
|
390
|
-
// Step 5
|
|
391
|
-
if (force === undefined || !force) {
|
|
392
|
-
this.removeAttribute(name);
|
|
393
|
-
return false;
|
|
394
|
-
}
|
|
395
|
-
} else {
|
|
396
|
-
// Step 4
|
|
397
|
-
if (force === undefined || force) {
|
|
398
|
-
// Step 4.1
|
|
399
|
-
this.setAttribute(name, "");
|
|
400
|
-
return true;
|
|
401
|
-
} else {
|
|
402
|
-
// Step 4.2
|
|
403
|
-
return false;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
// Step 6
|
|
407
|
-
return true;
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
key: "hasAttribute",
|
|
412
|
-
value: function hasAttribute(name) {
|
|
413
|
-
return attributesForElement(this).has(name);
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
key: "attachShadow",
|
|
418
|
-
value: function attachShadow(init) {
|
|
419
|
-
var shadowRoot = {
|
|
420
|
-
host: this
|
|
421
|
-
};
|
|
422
|
-
this.__shadowRootMode = init.mode;
|
|
423
|
-
if (init && init.mode === "open") {
|
|
424
|
-
this.__shadowRoot = shadowRoot;
|
|
425
|
-
}
|
|
426
|
-
return shadowRoot;
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
{
|
|
430
|
-
key: "attachInternals",
|
|
431
|
-
value: function attachInternals() {
|
|
432
|
-
if (this.__internals !== null) {
|
|
433
|
-
throw new Error("Failed to execute 'attachInternals' on 'HTMLElement': " + "ElementInternals for the specified element was already attached.");
|
|
434
|
-
}
|
|
435
|
-
var internals = new ElementInternalsShim(this);
|
|
436
|
-
this.__internals = internals;
|
|
437
|
-
return internals;
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
key: "getAttribute",
|
|
442
|
-
value: function getAttribute(name) {
|
|
443
|
-
var value = attributesForElement(this).get(name);
|
|
444
|
-
return value !== null && value !== void 0 ? value : null;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
]);
|
|
448
|
-
return Element;
|
|
449
|
-
}();
|
|
450
|
-
var HTMLElementShim = /*#__PURE__*/ function(ElementShim) {
|
|
451
|
-
_inherits$f(HTMLElement, ElementShim);
|
|
452
|
-
var _super = _create_super$f(HTMLElement);
|
|
453
|
-
function HTMLElement() {
|
|
454
|
-
_class_call_check$z(this, HTMLElement);
|
|
455
|
-
return _super.apply(this, arguments);
|
|
456
|
-
}
|
|
457
|
-
return HTMLElement;
|
|
458
|
-
}(ElementShim);
|
|
459
|
-
var HTMLElementShimWithRealType = HTMLElementShim;
|
|
460
|
-
var CustomElementRegistryShim = /*#__PURE__*/ function() {
|
|
461
|
-
function CustomElementRegistry() {
|
|
462
|
-
_class_call_check$z(this, CustomElementRegistry);
|
|
463
|
-
this.__definitions = new Map();
|
|
464
|
-
}
|
|
465
|
-
_create_class$y(CustomElementRegistry, [
|
|
466
|
-
{
|
|
467
|
-
key: "define",
|
|
468
|
-
value: function define(name, ctor) {
|
|
469
|
-
if (this.__definitions.has(name)) {
|
|
470
|
-
if (process.env.NODE_ENV === "development") {
|
|
471
|
-
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.");
|
|
472
|
-
} else {
|
|
473
|
-
throw new Error("Failed to execute 'define' on 'CustomElementRegistry': " + 'the name "'.concat(name, '" has already been used with this registry'));
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
// Provide tagName and localName for the component.
|
|
477
|
-
ctor.__localName = name;
|
|
478
|
-
var _ctor_observedAttributes;
|
|
479
|
-
this.__definitions.set(name, {
|
|
480
|
-
ctor: ctor,
|
|
481
|
-
// Note it's important we read `observedAttributes` in case it is a getter
|
|
482
|
-
// with side-effects, as is the case in Lit, where it triggers class
|
|
483
|
-
// finalization.
|
|
484
|
-
//
|
|
485
|
-
// TODO(aomarks) To be spec compliant, we should also capture the
|
|
486
|
-
// registration-time lifecycle methods like `connectedCallback`. For them
|
|
487
|
-
// to be actually accessible to e.g. the Lit SSR element renderer, though,
|
|
488
|
-
// we'd need to introduce a new API for accessing them (since `get` only
|
|
489
|
-
// returns the constructor).
|
|
490
|
-
observedAttributes: (_ctor_observedAttributes = ctor.observedAttributes) !== null && _ctor_observedAttributes !== void 0 ? _ctor_observedAttributes : []
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
key: "get",
|
|
496
|
-
value: function get(name) {
|
|
497
|
-
var definition = this.__definitions.get(name);
|
|
498
|
-
return definition === null || definition === void 0 ? void 0 : definition.ctor;
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
]);
|
|
502
|
-
return CustomElementRegistry;
|
|
503
|
-
}();
|
|
504
|
-
var CustomElementRegistryShimWithRealType = CustomElementRegistryShim;
|
|
505
|
-
new CustomElementRegistryShimWithRealType();
|
|
506
|
-
|
|
507
14
|
/**
|
|
508
15
|
* @license
|
|
509
16
|
* Copyright 2021 Google LLC
|
|
@@ -545,12 +52,12 @@ function _assert_this_initialized$e(self) {
|
|
|
545
52
|
}
|
|
546
53
|
return self;
|
|
547
54
|
}
|
|
548
|
-
function _class_call_check$
|
|
55
|
+
function _class_call_check$z(instance, Constructor) {
|
|
549
56
|
if (!(instance instanceof Constructor)) {
|
|
550
57
|
throw new TypeError("Cannot call a class as a function");
|
|
551
58
|
}
|
|
552
59
|
}
|
|
553
|
-
function _defineProperties$
|
|
60
|
+
function _defineProperties$y(target, props) {
|
|
554
61
|
for(var i = 0; i < props.length; i++){
|
|
555
62
|
var descriptor = props[i];
|
|
556
63
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -559,9 +66,9 @@ function _defineProperties$x(target, props) {
|
|
|
559
66
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
560
67
|
}
|
|
561
68
|
}
|
|
562
|
-
function _create_class$
|
|
563
|
-
if (protoProps) _defineProperties$
|
|
564
|
-
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);
|
|
565
72
|
return Constructor;
|
|
566
73
|
}
|
|
567
74
|
function _get_prototype_of$e(o) {
|
|
@@ -796,10 +303,10 @@ var getElementRenderer = function(param, tagName) {
|
|
|
796
303
|
* An object that renders elements of a certain type.
|
|
797
304
|
*/ var ElementRenderer = /*#__PURE__*/ function() {
|
|
798
305
|
function ElementRenderer(tagName) {
|
|
799
|
-
_class_call_check$
|
|
306
|
+
_class_call_check$z(this, ElementRenderer);
|
|
800
307
|
this.tagName = tagName;
|
|
801
308
|
}
|
|
802
|
-
_create_class$
|
|
309
|
+
_create_class$y(ElementRenderer, [
|
|
803
310
|
{
|
|
804
311
|
/**
|
|
805
312
|
* Called when a custom element is "attached" to the server DOM.
|
|
@@ -982,7 +489,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
982
489
|
_inherits$e(FallbackRenderer, ElementRenderer);
|
|
983
490
|
var _super = _create_super$e(FallbackRenderer);
|
|
984
491
|
function FallbackRenderer() {
|
|
985
|
-
_class_call_check$
|
|
492
|
+
_class_call_check$z(this, FallbackRenderer);
|
|
986
493
|
var _this;
|
|
987
494
|
_this = _super.call.apply(_super, [
|
|
988
495
|
this
|
|
@@ -990,7 +497,7 @@ var getElementRenderer = function(param, tagName) {
|
|
|
990
497
|
_this._attributes = {};
|
|
991
498
|
return _this;
|
|
992
499
|
}
|
|
993
|
-
_create_class$
|
|
500
|
+
_create_class$y(FallbackRenderer, [
|
|
994
501
|
{
|
|
995
502
|
key: "setAttribute",
|
|
996
503
|
value: function setAttribute(name, value) {
|
|
@@ -1093,12 +600,12 @@ var getElementRenderer = function(param, tagName) {
|
|
|
1093
600
|
* @license
|
|
1094
601
|
* Copyright 2019 Google LLC
|
|
1095
602
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1096
|
-
*/ function _class_call_check$
|
|
603
|
+
*/ function _class_call_check$y(instance, Constructor) {
|
|
1097
604
|
if (!(instance instanceof Constructor)) {
|
|
1098
605
|
throw new TypeError("Cannot call a class as a function");
|
|
1099
606
|
}
|
|
1100
607
|
}
|
|
1101
|
-
function _defineProperties$
|
|
608
|
+
function _defineProperties$x(target, props) {
|
|
1102
609
|
for(var i = 0; i < props.length; i++){
|
|
1103
610
|
var descriptor = props[i];
|
|
1104
611
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -1107,9 +614,9 @@ function _defineProperties$w(target, props) {
|
|
|
1107
614
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1108
615
|
}
|
|
1109
616
|
}
|
|
1110
|
-
function _create_class$
|
|
1111
|
-
if (protoProps) _defineProperties$
|
|
1112
|
-
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);
|
|
1113
620
|
return Constructor;
|
|
1114
621
|
}
|
|
1115
622
|
function _instanceof$a(left, right) {
|
|
@@ -1122,11 +629,11 @@ function _instanceof$a(left, right) {
|
|
|
1122
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;
|
|
1123
630
|
var n$4 = /*#__PURE__*/ function() {
|
|
1124
631
|
function n(t, e, o) {
|
|
1125
|
-
_class_call_check$
|
|
632
|
+
_class_call_check$y(this, n);
|
|
1126
633
|
if (this._$cssResult$ = !0, o !== s$3) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1127
634
|
this.cssText = t, this.t = e;
|
|
1128
635
|
}
|
|
1129
|
-
_create_class$
|
|
636
|
+
_create_class$x(n, [
|
|
1130
637
|
{
|
|
1131
638
|
key: "styleSheet",
|
|
1132
639
|
get: function get() {
|
|
@@ -1250,7 +757,7 @@ function _async_to_generator$1(fn) {
|
|
|
1250
757
|
});
|
|
1251
758
|
};
|
|
1252
759
|
}
|
|
1253
|
-
function _class_call_check$
|
|
760
|
+
function _class_call_check$x(instance, Constructor) {
|
|
1254
761
|
if (!(instance instanceof Constructor)) {
|
|
1255
762
|
throw new TypeError("Cannot call a class as a function");
|
|
1256
763
|
}
|
|
@@ -1272,7 +779,7 @@ function _construct$2(Parent, args, Class) {
|
|
|
1272
779
|
}
|
|
1273
780
|
return _construct$2.apply(null, arguments);
|
|
1274
781
|
}
|
|
1275
|
-
function _defineProperties$
|
|
782
|
+
function _defineProperties$w(target, props) {
|
|
1276
783
|
for(var i = 0; i < props.length; i++){
|
|
1277
784
|
var descriptor = props[i];
|
|
1278
785
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -1281,9 +788,9 @@ function _defineProperties$v(target, props) {
|
|
|
1281
788
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
1282
789
|
}
|
|
1283
790
|
}
|
|
1284
|
-
function _create_class$
|
|
1285
|
-
if (protoProps) _defineProperties$
|
|
1286
|
-
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);
|
|
1287
794
|
return Constructor;
|
|
1288
795
|
}
|
|
1289
796
|
function _get_prototype_of$d(o) {
|
|
@@ -1570,12 +1077,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1570
1077
|
_inherits$d(b, HTMLElement1);
|
|
1571
1078
|
var _super = _create_super$d(b);
|
|
1572
1079
|
function b() {
|
|
1573
|
-
_class_call_check$
|
|
1080
|
+
_class_call_check$x(this, b);
|
|
1574
1081
|
var _this;
|
|
1575
1082
|
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
|
1576
1083
|
return _possible_constructor_return$d(_this);
|
|
1577
1084
|
}
|
|
1578
|
-
_create_class$
|
|
1085
|
+
_create_class$w(b, [
|
|
1579
1086
|
{
|
|
1580
1087
|
key: "_$Ev",
|
|
1581
1088
|
value: function _$Ev() {
|
|
@@ -2104,12 +1611,12 @@ function _assert_this_initialized$c(self) {
|
|
|
2104
1611
|
}
|
|
2105
1612
|
return self;
|
|
2106
1613
|
}
|
|
2107
|
-
function _class_call_check$
|
|
1614
|
+
function _class_call_check$w(instance, Constructor) {
|
|
2108
1615
|
if (!(instance instanceof Constructor)) {
|
|
2109
1616
|
throw new TypeError("Cannot call a class as a function");
|
|
2110
1617
|
}
|
|
2111
1618
|
}
|
|
2112
|
-
function _defineProperties$
|
|
1619
|
+
function _defineProperties$v(target, props) {
|
|
2113
1620
|
for(var i = 0; i < props.length; i++){
|
|
2114
1621
|
var descriptor = props[i];
|
|
2115
1622
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -2118,9 +1625,9 @@ function _defineProperties$u(target, props) {
|
|
|
2118
1625
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2119
1626
|
}
|
|
2120
1627
|
}
|
|
2121
|
-
function _create_class$
|
|
2122
|
-
if (protoProps) _defineProperties$
|
|
2123
|
-
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);
|
|
2124
1631
|
return Constructor;
|
|
2125
1632
|
}
|
|
2126
1633
|
function _get_prototype_of$c(o) {
|
|
@@ -2264,7 +1771,7 @@ var V = function(t, i) {
|
|
|
2264
1771
|
var N = /*#__PURE__*/ function() {
|
|
2265
1772
|
function N(param, n) {
|
|
2266
1773
|
var t = param.strings, s = param._$litType$;
|
|
2267
|
-
_class_call_check$
|
|
1774
|
+
_class_call_check$w(this, N);
|
|
2268
1775
|
var r;
|
|
2269
1776
|
this.parts = [];
|
|
2270
1777
|
var c = 0, a = 0;
|
|
@@ -2333,7 +1840,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
2333
1840
|
c++;
|
|
2334
1841
|
}
|
|
2335
1842
|
}
|
|
2336
|
-
_create_class$
|
|
1843
|
+
_create_class$v(N, null, [
|
|
2337
1844
|
{
|
|
2338
1845
|
key: "createElement",
|
|
2339
1846
|
value: function createElement(t, i) {
|
|
@@ -2356,10 +1863,10 @@ function S(t, i) {
|
|
|
2356
1863
|
}
|
|
2357
1864
|
var M = /*#__PURE__*/ function() {
|
|
2358
1865
|
function M(t, i) {
|
|
2359
|
-
_class_call_check$
|
|
1866
|
+
_class_call_check$w(this, M);
|
|
2360
1867
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
2361
1868
|
}
|
|
2362
|
-
_create_class$
|
|
1869
|
+
_create_class$v(M, [
|
|
2363
1870
|
{
|
|
2364
1871
|
key: "parentNode",
|
|
2365
1872
|
get: function get() {
|
|
@@ -2420,11 +1927,11 @@ var M = /*#__PURE__*/ function() {
|
|
|
2420
1927
|
}();
|
|
2421
1928
|
var R = /*#__PURE__*/ function() {
|
|
2422
1929
|
function R(t, i, s, e) {
|
|
2423
|
-
_class_call_check$
|
|
1930
|
+
_class_call_check$w(this, R);
|
|
2424
1931
|
var _e_isConnected;
|
|
2425
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;
|
|
2426
1933
|
}
|
|
2427
|
-
_create_class$
|
|
1934
|
+
_create_class$v(R, [
|
|
2428
1935
|
{
|
|
2429
1936
|
key: "_$AU",
|
|
2430
1937
|
get: function get() {
|
|
@@ -2549,10 +2056,10 @@ var R = /*#__PURE__*/ function() {
|
|
|
2549
2056
|
}();
|
|
2550
2057
|
var k = /*#__PURE__*/ function() {
|
|
2551
2058
|
function k(t, i, s, e, h) {
|
|
2552
|
-
_class_call_check$
|
|
2059
|
+
_class_call_check$w(this, k);
|
|
2553
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;
|
|
2554
2061
|
}
|
|
2555
|
-
_create_class$
|
|
2062
|
+
_create_class$v(k, [
|
|
2556
2063
|
{
|
|
2557
2064
|
key: "tagName",
|
|
2558
2065
|
get: function get() {
|
|
@@ -2593,14 +2100,14 @@ var H = /*#__PURE__*/ function(k) {
|
|
|
2593
2100
|
_inherits$c(H, k);
|
|
2594
2101
|
var _super = _create_super$c(H);
|
|
2595
2102
|
function H() {
|
|
2596
|
-
_class_call_check$
|
|
2103
|
+
_class_call_check$w(this, H);
|
|
2597
2104
|
var _this;
|
|
2598
2105
|
_this = _super.call.apply(_super, [
|
|
2599
2106
|
this
|
|
2600
2107
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
|
|
2601
2108
|
return _possible_constructor_return$c(_this);
|
|
2602
2109
|
}
|
|
2603
|
-
_create_class$
|
|
2110
|
+
_create_class$v(H, [
|
|
2604
2111
|
{
|
|
2605
2112
|
key: "j",
|
|
2606
2113
|
value: function j(t) {
|
|
@@ -2614,14 +2121,14 @@ var I = /*#__PURE__*/ function(k) {
|
|
|
2614
2121
|
_inherits$c(I, k);
|
|
2615
2122
|
var _super = _create_super$c(I);
|
|
2616
2123
|
function I() {
|
|
2617
|
-
_class_call_check$
|
|
2124
|
+
_class_call_check$w(this, I);
|
|
2618
2125
|
var _this;
|
|
2619
2126
|
_this = _super.call.apply(_super, [
|
|
2620
2127
|
this
|
|
2621
2128
|
].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
|
|
2622
2129
|
return _possible_constructor_return$c(_this);
|
|
2623
2130
|
}
|
|
2624
|
-
_create_class$
|
|
2131
|
+
_create_class$v(I, [
|
|
2625
2132
|
{
|
|
2626
2133
|
key: "j",
|
|
2627
2134
|
value: function j(t) {
|
|
@@ -2635,12 +2142,12 @@ var L = /*#__PURE__*/ function(k) {
|
|
|
2635
2142
|
_inherits$c(L, k);
|
|
2636
2143
|
var _super = _create_super$c(L);
|
|
2637
2144
|
function L(t, i, s, e, h) {
|
|
2638
|
-
_class_call_check$
|
|
2145
|
+
_class_call_check$w(this, L);
|
|
2639
2146
|
var _this;
|
|
2640
2147
|
_this = _super.call(this, t, i, s, e, h), _this.type = 5;
|
|
2641
2148
|
return _possible_constructor_return$c(_this);
|
|
2642
2149
|
}
|
|
2643
|
-
_create_class$
|
|
2150
|
+
_create_class$v(L, [
|
|
2644
2151
|
{
|
|
2645
2152
|
key: "_$AI",
|
|
2646
2153
|
value: function _$AI(t) {
|
|
@@ -2664,10 +2171,10 @@ var L = /*#__PURE__*/ function(k) {
|
|
|
2664
2171
|
}(k);
|
|
2665
2172
|
var z = /*#__PURE__*/ function() {
|
|
2666
2173
|
function z(t, i, s) {
|
|
2667
|
-
_class_call_check$
|
|
2174
|
+
_class_call_check$w(this, z);
|
|
2668
2175
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
2669
2176
|
}
|
|
2670
|
-
_create_class$
|
|
2177
|
+
_create_class$v(z, [
|
|
2671
2178
|
{
|
|
2672
2179
|
key: "_$AU",
|
|
2673
2180
|
get: function get() {
|
|
@@ -2719,12 +2226,12 @@ function _assert_this_initialized$b(self) {
|
|
|
2719
2226
|
}
|
|
2720
2227
|
return self;
|
|
2721
2228
|
}
|
|
2722
|
-
function _class_call_check$
|
|
2229
|
+
function _class_call_check$v(instance, Constructor) {
|
|
2723
2230
|
if (!(instance instanceof Constructor)) {
|
|
2724
2231
|
throw new TypeError("Cannot call a class as a function");
|
|
2725
2232
|
}
|
|
2726
2233
|
}
|
|
2727
|
-
function _defineProperties$
|
|
2234
|
+
function _defineProperties$u(target, props) {
|
|
2728
2235
|
for(var i = 0; i < props.length; i++){
|
|
2729
2236
|
var descriptor = props[i];
|
|
2730
2237
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -2733,9 +2240,9 @@ function _defineProperties$t(target, props) {
|
|
|
2733
2240
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2734
2241
|
}
|
|
2735
2242
|
}
|
|
2736
|
-
function _create_class$
|
|
2737
|
-
if (protoProps) _defineProperties$
|
|
2738
|
-
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);
|
|
2739
2246
|
return Constructor;
|
|
2740
2247
|
}
|
|
2741
2248
|
function _get$1(target, property, receiver) {
|
|
@@ -2821,7 +2328,7 @@ function _create_super$b(Derived) {
|
|
|
2821
2328
|
return _possible_constructor_return$b(this, result);
|
|
2822
2329
|
};
|
|
2823
2330
|
}
|
|
2824
|
-
var _globalThis_litElementHydrateSupport, _globalThis
|
|
2331
|
+
var _globalThis_litElementHydrateSupport, _globalThis;
|
|
2825
2332
|
var _globalThis1;
|
|
2826
2333
|
/**
|
|
2827
2334
|
* @license
|
|
@@ -2831,7 +2338,7 @@ var _globalThis1;
|
|
|
2831
2338
|
_inherits$b(r, t);
|
|
2832
2339
|
var _super = _create_super$b(r);
|
|
2833
2340
|
function r() {
|
|
2834
|
-
_class_call_check$
|
|
2341
|
+
_class_call_check$v(this, r);
|
|
2835
2342
|
var _this;
|
|
2836
2343
|
_this = _super.call.apply(_super, [
|
|
2837
2344
|
this
|
|
@@ -2840,7 +2347,7 @@ var _globalThis1;
|
|
|
2840
2347
|
}, _this._$Do = void 0;
|
|
2841
2348
|
return _possible_constructor_return$b(_this);
|
|
2842
2349
|
}
|
|
2843
|
-
_create_class$
|
|
2350
|
+
_create_class$u(r, [
|
|
2844
2351
|
{
|
|
2845
2352
|
key: "createRenderRoot",
|
|
2846
2353
|
value: function createRenderRoot() {
|
|
@@ -2880,7 +2387,7 @@ var _globalThis1;
|
|
|
2880
2387
|
]);
|
|
2881
2388
|
return r;
|
|
2882
2389
|
}(b);
|
|
2883
|
-
r$1._$litElement$ = !0, r$1["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis
|
|
2390
|
+
r$1._$litElement$ = !0, r$1["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
|
|
2884
2391
|
LitElement: r$1
|
|
2885
2392
|
});
|
|
2886
2393
|
var i$4 = globalThis.litElementPolyfillSupport;
|
|
@@ -2907,6 +2414,117 @@ var _litElementVersions;
|
|
|
2907
2414
|
changedProperties: o._$AL
|
|
2908
2415
|
};
|
|
2909
2416
|
|
|
2417
|
+
var ariaMixinAttributes = {
|
|
2418
|
+
ariaAtomic: "aria-atomic",
|
|
2419
|
+
ariaAutoComplete: "aria-autocomplete",
|
|
2420
|
+
ariaBrailleLabel: "aria-braillelabel",
|
|
2421
|
+
ariaBrailleRoleDescription: "aria-brailleroledescription",
|
|
2422
|
+
ariaBusy: "aria-busy",
|
|
2423
|
+
ariaChecked: "aria-checked",
|
|
2424
|
+
ariaColCount: "aria-colcount",
|
|
2425
|
+
ariaColIndex: "aria-colindex",
|
|
2426
|
+
ariaColSpan: "aria-colspan",
|
|
2427
|
+
ariaCurrent: "aria-current",
|
|
2428
|
+
ariaDescription: "aria-description",
|
|
2429
|
+
ariaDisabled: "aria-disabled",
|
|
2430
|
+
ariaExpanded: "aria-expanded",
|
|
2431
|
+
ariaHasPopup: "aria-haspopup",
|
|
2432
|
+
ariaHidden: "aria-hidden",
|
|
2433
|
+
ariaInvalid: "aria-invalid",
|
|
2434
|
+
ariaKeyShortcuts: "aria-keyshortcuts",
|
|
2435
|
+
ariaLabel: "aria-label",
|
|
2436
|
+
ariaLevel: "aria-level",
|
|
2437
|
+
ariaLive: "aria-live",
|
|
2438
|
+
ariaModal: "aria-modal",
|
|
2439
|
+
ariaMultiLine: "aria-multiline",
|
|
2440
|
+
ariaMultiSelectable: "aria-multiselectable",
|
|
2441
|
+
ariaOrientation: "aria-orientation",
|
|
2442
|
+
ariaPlaceholder: "aria-placeholder",
|
|
2443
|
+
ariaPosInSet: "aria-posinset",
|
|
2444
|
+
ariaPressed: "aria-pressed",
|
|
2445
|
+
ariaReadOnly: "aria-readonly",
|
|
2446
|
+
ariaRequired: "aria-required",
|
|
2447
|
+
ariaRoleDescription: "aria-roledescription",
|
|
2448
|
+
ariaRowCount: "aria-rowcount",
|
|
2449
|
+
ariaRowIndex: "aria-rowindex",
|
|
2450
|
+
ariaRowSpan: "aria-rowspan",
|
|
2451
|
+
ariaSelected: "aria-selected",
|
|
2452
|
+
ariaSetSize: "aria-setsize",
|
|
2453
|
+
ariaSort: "aria-sort",
|
|
2454
|
+
ariaValueMax: "aria-valuemax",
|
|
2455
|
+
ariaValueMin: "aria-valuemin",
|
|
2456
|
+
ariaValueNow: "aria-valuenow",
|
|
2457
|
+
ariaValueText: "aria-valuetext",
|
|
2458
|
+
role: "role"
|
|
2459
|
+
};
|
|
2460
|
+
var HYDRATE_INTERNALS_ATTR_PREFIX = "hydrate-internals-";
|
|
2461
|
+
|
|
2462
|
+
function _class_call_check$u(instance, Constructor) {
|
|
2463
|
+
if (!(instance instanceof Constructor)) {
|
|
2464
|
+
throw new TypeError("Cannot call a class as a function");
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
function _defineProperties$t(target, props) {
|
|
2468
|
+
for(var i = 0; i < props.length; i++){
|
|
2469
|
+
var descriptor = props[i];
|
|
2470
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
2471
|
+
descriptor.configurable = true;
|
|
2472
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
2473
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2476
|
+
function _create_class$t(Constructor, protoProps, staticProps) {
|
|
2477
|
+
if (protoProps) _defineProperties$t(Constructor.prototype, protoProps);
|
|
2478
|
+
if (staticProps) _defineProperties$t(Constructor, staticProps);
|
|
2479
|
+
return Constructor;
|
|
2480
|
+
}
|
|
2481
|
+
var CustomElementRegistryShim = /*#__PURE__*/ function() {
|
|
2482
|
+
function CustomElementRegistry() {
|
|
2483
|
+
_class_call_check$u(this, CustomElementRegistry);
|
|
2484
|
+
this.__definitions = new Map();
|
|
2485
|
+
}
|
|
2486
|
+
_create_class$t(CustomElementRegistry, [
|
|
2487
|
+
{
|
|
2488
|
+
key: "define",
|
|
2489
|
+
value: function define(name, ctor) {
|
|
2490
|
+
if (this.__definitions.has(name)) {
|
|
2491
|
+
if (process.env.NODE_ENV === "development") {
|
|
2492
|
+
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.");
|
|
2493
|
+
} else {
|
|
2494
|
+
throw new Error("Failed to execute 'define' on 'CustomElementRegistry': " + 'the name "'.concat(name, '" has already been used with this registry'));
|
|
2495
|
+
}
|
|
2496
|
+
}
|
|
2497
|
+
// Provide tagName and localName for the component.
|
|
2498
|
+
ctor.__localName = name;
|
|
2499
|
+
var _ctor_observedAttributes;
|
|
2500
|
+
this.__definitions.set(name, {
|
|
2501
|
+
ctor: ctor,
|
|
2502
|
+
// Note it's important we read `observedAttributes` in case it is a getter
|
|
2503
|
+
// with side-effects, as is the case in Lit, where it triggers class
|
|
2504
|
+
// finalization.
|
|
2505
|
+
//
|
|
2506
|
+
// TODO(aomarks) To be spec compliant, we should also capture the
|
|
2507
|
+
// registration-time lifecycle methods like `connectedCallback`. For them
|
|
2508
|
+
// to be actually accessible to e.g. the Lit SSR element renderer, though,
|
|
2509
|
+
// we'd need to introduce a new API for accessing them (since `get` only
|
|
2510
|
+
// returns the constructor).
|
|
2511
|
+
observedAttributes: (_ctor_observedAttributes = ctor.observedAttributes) !== null && _ctor_observedAttributes !== void 0 ? _ctor_observedAttributes : []
|
|
2512
|
+
});
|
|
2513
|
+
}
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
key: "get",
|
|
2517
|
+
value: function get(name) {
|
|
2518
|
+
var definition = this.__definitions.get(name);
|
|
2519
|
+
return definition === null || definition === void 0 ? void 0 : definition.ctor;
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
]);
|
|
2523
|
+
return CustomElementRegistry;
|
|
2524
|
+
}();
|
|
2525
|
+
var CustomElementRegistryShimWithRealType = CustomElementRegistryShim;
|
|
2526
|
+
new CustomElementRegistryShimWithRealType();
|
|
2527
|
+
|
|
2910
2528
|
/**
|
|
2911
2529
|
* @license
|
|
2912
2530
|
* Copyright 2017 Google LLC
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
40634
|
+
return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
|
|
41017
40635
|
}
|
|
41018
|
-
return
|
|
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 _globalThis;
|
|
45026
|
-
var _HTMLElement;
|
|
45027
|
-
(_HTMLElement = (_globalThis = globalThis).HTMLElement) != null ? _HTMLElement : _globalThis.HTMLElement = HTMLElementShimWithRealType;
|
|
45028
44643
|
let WebService = class WebService {
|
|
45029
44644
|
filteredWebPinsSettings(item, path) {
|
|
45030
44645
|
if (Array.isArray(item)) {
|