@maggioli-design-system/mds-accordion-timer-item 3.6.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-502e5cdb.js → index-6e175390.js} +31 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-b42ce9a6.js → index-b622e7e2.js} +31 -6
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm/mds-accordion-timer-item.js +3 -3
- package/dist/esm-es5/index-b622e7e2.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.js +1 -1
- package/dist/mds-accordion-timer-item/mds-accordion-timer-item.esm.js +1 -1
- package/dist/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
- package/dist/mds-accordion-timer-item/{p-d212a845.entry.js → p-a2f6e872.entry.js} +1 -1
- package/dist/mds-accordion-timer-item/{p-72dfa3ca.system.js → p-aa4197f9.system.js} +1 -1
- package/dist/mds-accordion-timer-item/p-b9f0e5b9.js +2 -0
- package/dist/mds-accordion-timer-item/{p-f866a0a2.system.entry.js → p-ea28e043.system.entry.js} +1 -1
- package/dist/mds-accordion-timer-item/p-f8ba50cb.system.js +2 -0
- package/dist/stats.json +24 -24
- package/documentation.json +2 -2
- package/package.json +5 -5
- package/www/build/mds-accordion-timer-item.esm.js +1 -1
- package/www/build/mds-accordion-timer-item.js +1 -1
- package/www/build/{p-d212a845.entry.js → p-a2f6e872.entry.js} +1 -1
- package/www/build/{p-72dfa3ca.system.js → p-aa4197f9.system.js} +1 -1
- package/www/build/p-b9f0e5b9.js +2 -0
- package/www/build/{p-f866a0a2.system.entry.js → p-ea28e043.system.entry.js} +1 -1
- package/www/build/p-f8ba50cb.system.js +2 -0
- package/dist/esm-es5/index-b42ce9a6.js +0 -1
- package/dist/mds-accordion-timer-item/p-5e9bd30c.system.js +0 -2
- package/dist/mds-accordion-timer-item/p-e969bc33.js +0 -2
- package/www/build/p-5e9bd30c.system.js +0 -2
- package/www/build/p-e969bc33.js +0 -2
|
@@ -49,6 +49,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
52
|
+
/**
|
|
53
|
+
* Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
|
|
54
|
+
*
|
|
55
|
+
* Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
|
|
56
|
+
* support as of Stencil v4.
|
|
57
|
+
*/
|
|
58
|
+
const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
|
|
52
59
|
/**
|
|
53
60
|
* Default style mode id
|
|
54
61
|
*/
|
|
@@ -286,6 +293,10 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
286
293
|
}
|
|
287
294
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
288
295
|
}
|
|
296
|
+
// Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
|
|
297
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
298
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
299
|
+
}
|
|
289
300
|
if (appliedStyles) {
|
|
290
301
|
appliedStyles.add(scopeId);
|
|
291
302
|
}
|
|
@@ -1385,12 +1396,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1385
1396
|
const customElements = win.customElements;
|
|
1386
1397
|
const head = doc.head;
|
|
1387
1398
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
1388
|
-
const
|
|
1399
|
+
const dataStyles = /*@__PURE__*/ doc.createElement('style');
|
|
1389
1400
|
const deferredConnectedCallbacks = [];
|
|
1390
1401
|
let appLoadFallback;
|
|
1391
1402
|
let isBootstrapping = true;
|
|
1392
1403
|
Object.assign(plt, options);
|
|
1393
1404
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1405
|
+
let hasSlotRelocation = false;
|
|
1394
1406
|
lazyBundles.map((lazyBundle) => {
|
|
1395
1407
|
lazyBundle[1].map((compactMeta) => {
|
|
1396
1408
|
const cmpMeta = {
|
|
@@ -1399,6 +1411,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1399
1411
|
$members$: compactMeta[2],
|
|
1400
1412
|
$listeners$: compactMeta[3],
|
|
1401
1413
|
};
|
|
1414
|
+
// Check if we are using slots outside the shadow DOM in this component.
|
|
1415
|
+
// We'll use this information later to add styles for `slot-fb` elements
|
|
1416
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
1417
|
+
hasSlotRelocation = true;
|
|
1418
|
+
}
|
|
1402
1419
|
{
|
|
1403
1420
|
cmpMeta.$members$ = compactMeta[2];
|
|
1404
1421
|
}
|
|
@@ -1452,15 +1469,23 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1452
1469
|
}
|
|
1453
1470
|
});
|
|
1454
1471
|
});
|
|
1472
|
+
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1473
|
+
if (hasSlotRelocation) {
|
|
1474
|
+
dataStyles.innerHTML += SLOT_FB_CSS;
|
|
1475
|
+
}
|
|
1476
|
+
// Add hydration styles
|
|
1455
1477
|
{
|
|
1456
|
-
|
|
1457
|
-
|
|
1478
|
+
dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
|
|
1479
|
+
}
|
|
1480
|
+
// If we have styles, add them to the DOM
|
|
1481
|
+
if (dataStyles.innerHTML.length) {
|
|
1482
|
+
dataStyles.setAttribute('data-styles', '');
|
|
1483
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1458
1484
|
// Apply CSP nonce to the style tag if it exists
|
|
1459
1485
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1460
1486
|
if (nonce != null) {
|
|
1461
|
-
|
|
1487
|
+
dataStyles.setAttribute('nonce', nonce);
|
|
1462
1488
|
}
|
|
1463
|
-
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1464
1489
|
}
|
|
1465
1490
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1466
1491
|
isBootstrapping = false;
|
|
@@ -1625,7 +1650,7 @@ const flush = () => {
|
|
|
1625
1650
|
}
|
|
1626
1651
|
}
|
|
1627
1652
|
};
|
|
1628
|
-
const nextTick =
|
|
1653
|
+
const nextTick = (cb) => promiseResolve().then(cb);
|
|
1629
1654
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1630
1655
|
|
|
1631
1656
|
exports.Host = Host;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-6e175390.js');
|
|
6
6
|
|
|
7
7
|
const defineCustomElements = (win, options) => {
|
|
8
8
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-6e175390.js');
|
|
6
6
|
|
|
7
7
|
const mdsAccordionTimerItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .focus-bounce{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-bounce--focused,.focus-bounce:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 500ms);padding-top:1rem;padding-bottom:1rem;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);color:var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));display:grid;position:relative}.row{gap:1rem;display:-ms-flexbox;display:flex}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color);--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background);--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness);-ms-flex-negative:0;flex-shrink:0}.action{border-radius:0.75rem;background-color:transparent;border:0;cursor:pointer;padding:0;text-align:left}:host([selected]) .action{cursor:auto}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-timer-item-duration);transition-duration:var(--mds-accordion-timer-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;opacity:1;grid-template-rows:1fr}";
|
|
8
8
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-6e175390.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.7.
|
|
8
|
+
Stencil Client Patch Browser v4.7.2 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-accordion-timer-item.cjs.js', document.baseURI).href));
|
package/dist/documentation.json
CHANGED
|
@@ -27,6 +27,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
30
|
+
/**
|
|
31
|
+
* Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
|
|
32
|
+
*
|
|
33
|
+
* Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
|
|
34
|
+
* support as of Stencil v4.
|
|
35
|
+
*/
|
|
36
|
+
const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
|
|
30
37
|
/**
|
|
31
38
|
* Default style mode id
|
|
32
39
|
*/
|
|
@@ -264,6 +271,10 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
264
271
|
}
|
|
265
272
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
266
273
|
}
|
|
274
|
+
// Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
|
|
275
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
276
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
277
|
+
}
|
|
267
278
|
if (appliedStyles) {
|
|
268
279
|
appliedStyles.add(scopeId);
|
|
269
280
|
}
|
|
@@ -1363,12 +1374,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1363
1374
|
const customElements = win.customElements;
|
|
1364
1375
|
const head = doc.head;
|
|
1365
1376
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
1366
|
-
const
|
|
1377
|
+
const dataStyles = /*@__PURE__*/ doc.createElement('style');
|
|
1367
1378
|
const deferredConnectedCallbacks = [];
|
|
1368
1379
|
let appLoadFallback;
|
|
1369
1380
|
let isBootstrapping = true;
|
|
1370
1381
|
Object.assign(plt, options);
|
|
1371
1382
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1383
|
+
let hasSlotRelocation = false;
|
|
1372
1384
|
lazyBundles.map((lazyBundle) => {
|
|
1373
1385
|
lazyBundle[1].map((compactMeta) => {
|
|
1374
1386
|
const cmpMeta = {
|
|
@@ -1377,6 +1389,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1377
1389
|
$members$: compactMeta[2],
|
|
1378
1390
|
$listeners$: compactMeta[3],
|
|
1379
1391
|
};
|
|
1392
|
+
// Check if we are using slots outside the shadow DOM in this component.
|
|
1393
|
+
// We'll use this information later to add styles for `slot-fb` elements
|
|
1394
|
+
if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
|
|
1395
|
+
hasSlotRelocation = true;
|
|
1396
|
+
}
|
|
1380
1397
|
{
|
|
1381
1398
|
cmpMeta.$members$ = compactMeta[2];
|
|
1382
1399
|
}
|
|
@@ -1430,15 +1447,23 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1430
1447
|
}
|
|
1431
1448
|
});
|
|
1432
1449
|
});
|
|
1450
|
+
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1451
|
+
if (hasSlotRelocation) {
|
|
1452
|
+
dataStyles.innerHTML += SLOT_FB_CSS;
|
|
1453
|
+
}
|
|
1454
|
+
// Add hydration styles
|
|
1433
1455
|
{
|
|
1434
|
-
|
|
1435
|
-
|
|
1456
|
+
dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
|
|
1457
|
+
}
|
|
1458
|
+
// If we have styles, add them to the DOM
|
|
1459
|
+
if (dataStyles.innerHTML.length) {
|
|
1460
|
+
dataStyles.setAttribute('data-styles', '');
|
|
1461
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1436
1462
|
// Apply CSP nonce to the style tag if it exists
|
|
1437
1463
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1438
1464
|
if (nonce != null) {
|
|
1439
|
-
|
|
1465
|
+
dataStyles.setAttribute('nonce', nonce);
|
|
1440
1466
|
}
|
|
1441
|
-
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1442
1467
|
}
|
|
1443
1468
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1444
1469
|
isBootstrapping = false;
|
|
@@ -1603,7 +1628,7 @@ const flush = () => {
|
|
|
1603
1628
|
}
|
|
1604
1629
|
}
|
|
1605
1630
|
};
|
|
1606
|
-
const nextTick =
|
|
1631
|
+
const nextTick = (cb) => promiseResolve().then(cb);
|
|
1607
1632
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1608
1633
|
|
|
1609
1634
|
export { Host as H, bootstrapLazy as b, createEvent as c, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-b622e7e2.js';
|
|
2
|
+
export { s as setNonce } from './index-b622e7e2.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-b622e7e2.js';
|
|
2
2
|
|
|
3
3
|
const mdsAccordionTimerItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .focus-bounce{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-bounce--focused,.focus-bounce:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 500ms);padding-top:1rem;padding-bottom:1rem;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);color:var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));display:grid;position:relative}.row{gap:1rem;display:-ms-flexbox;display:flex}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color);--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background);--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness);-ms-flex-negative:0;flex-shrink:0}.action{border-radius:0.75rem;background-color:transparent;border:0;cursor:pointer;padding:0;text-align:left}:host([selected]) .action{cursor:auto}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-timer-item-duration);transition-duration:var(--mds-accordion-timer-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;opacity:1;grid-template-rows:1fr}";
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-b622e7e2.js';
|
|
2
|
+
export { s as setNonce } from './index-b622e7e2.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.7.
|
|
5
|
+
Stencil Client Patch Browser v4.7.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,n,r,t){function i(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{s(t.next(e))}catch(e){a(e)}}function u(e){try{s(t["throw"](e))}catch(e){a(e)}}function s(e){e.done?r(e.value):i(e.value).then(o,u)}s((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return s([e,n])}}function s(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1];a=u;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(u);break}if(a[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}catch(e){u=[6,e];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,r){if(r||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return e.concat(a||Array.prototype.slice.call(n))};var NAMESPACE="mds-accordion-timer-item";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var createTime=function(e,n){if(n===void 0){n=""}{return function(){return}}};var uniqueTime=function(e,n){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var n,r,t;return(t=(r=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=function(e,n){var r=[];for(var t=2;t<arguments.length;t++){r[t-2]=arguments[t]}var i=null;var a=false;var o=false;var u=[];var s=function(n){for(var r=0;r<n.length;r++){i=n[r];if(Array.isArray(i)){s(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(a&&o){u[u.length-1].t+=i}else{u.push(a?newVNode(null,i):i)}o=a}}};s(r);if(n){{var f=n.className||n.class;if(f){n.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var l=newVNode(e,null);l.i=n;if(u.length>0){l.o=u}return l};var newVNode=function(e,n){var r={u:0,l:e,t:n,v:null,o:null};{r.i=null}return r};var Host={};var isHost=function(e){return e&&e.l===Host};var parsePropertyValue=function(e,n){if(e!=null&&!isComplexType(e)){if(n&4){return e==="false"?false:e===""||!!e}if(n&2){return parseFloat(e)}if(n&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,n,r){var t=getElement(e);return{emit:function(e){return emitEvent(t,n,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,n,r){var t=plt.ce(n,r);e.dispatchEvent(t);return t};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,n,r){var t=styles.get(e);if(supportsConstructableStylesheets&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}styles.set(e,t)};var addStyle=function(e,n,r){var t;var i=getScopeId(n);var a=styles.get(i);e=e.nodeType===11?e:doc;if(a){if(typeof a==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var u=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(i)){{u=doc.createElement("style");u.innerHTML=a;var s=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(s!=null){u.setAttribute("nonce",s)}e.insertBefore(u,e.querySelector("link"))}if(n.u&4){u.innerHTML+=SLOT_FB_CSS}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var attachStyles=function(e){var n=e.m;var r=e.$hostElement$;var t=n.u;var i=createTime("attachStyles",n.h);var a=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=a;r.classList.add(a+"-h")}i()};var getScopeId=function(e,n){return"sc-"+e.h};var setAccessor=function(e,n,r,t,i,a){if(r!==t){var o=isMemberInElement(e,n);var u=n.toLowerCase();if(n==="class"){var s=e.classList;var f=parseClassList(r);var l=parseClassList(t);s.remove.apply(s,f.filter((function(e){return e&&!l.includes(e)})));s.add.apply(s,l.filter((function(e){return e&&!f.includes(e)})))}else if(!o&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(isMemberInElement(win,u)){n=u.slice(2)}else{n=u[2]+n.slice(3)}if(r||t){var c=n.endsWith(CAPTURE_EVENT_SUFFIX);n=n.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,n,r,c)}if(t){plt.ael(e,n,t,c)}}}else{var v=isComplexType(t);if((o||v&&t!==null)&&!i){try{if(!e.tagName.includes("-")){var d=t==null?"":t;if(n==="list"){o=false}else if(r==null||e[n]!=d){e[n]=d}}else{e[n]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(n)===""){{e.removeAttribute(n)}}}else if((!o||a&4||i)&&!v){t=t===true?"":t;{e.setAttribute(n,t)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,n,r,t){var i=n.v.nodeType===11&&n.v.host?n.v.host:n.v;var a=e&&e.i||EMPTY_OBJ;var o=n.i||EMPTY_OBJ;{for(t in a){if(!(t in o)){setAccessor(i,t,a[t],undefined,r,n.u)}}}for(t in o){setAccessor(i,t,a[t],o[t],r,n.u)}};var createElm=function(e,n,r,t){var i=n.o[r];var a=0;var o;var u;if(i.t!==null){o=i.v=doc.createTextNode(i.t)}else{o=i.v=doc.createElement(i.l);{updateElement(null,i,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(i.o){for(a=0;a<i.o.length;++a){u=createElm(e,i,a);if(u){o.appendChild(u)}}}}return o};var addVnodes=function(e,n,r,t,i,a){var o=e;var u;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){u=createElm(null,r,i);if(u){t[i].v=u;o.insertBefore(u,n)}}}};var removeVnodes=function(e,n,r){for(var t=n;t<=r;++t){var i=e[t];if(i){var a=i.v;if(a){a.remove()}}}};var updateChildren=function(e,n,r,t){var i=0;var a=0;var o=n.length-1;var u=n[0];var s=n[o];var f=t.length-1;var l=t[0];var c=t[f];var v;while(i<=o&&a<=f){if(u==null){u=n[++i]}else if(s==null){s=n[--o]}else if(l==null){l=t[++a]}else if(c==null){c=t[--f]}else if(isSameVnode(u,l)){patch(u,l);u=n[++i];l=t[++a]}else if(isSameVnode(s,c)){patch(s,c);s=n[--o];c=t[--f]}else if(isSameVnode(u,c)){patch(u,c);e.insertBefore(u.v,s.v.nextSibling);u=n[++i];c=t[--f]}else if(isSameVnode(s,l)){patch(s,l);e.insertBefore(s.v,u.v);s=n[--o];l=t[++a]}else{{v=createElm(n&&n[a],r,a);l=t[++a]}if(v){{u.v.parentNode.insertBefore(v,u.v)}}}}if(i>o){addVnodes(e,t[f+1]==null?null:t[f+1].v,r,t,a,f)}else if(a>f){removeVnodes(n,i,o)}};var isSameVnode=function(e,n){if(e.l===n.l){return true}return false};var patch=function(e,n){var r=n.v=e.v;var t=e.o;var i=n.o;var a=n.l;var o=n.t;if(o===null){{if(a==="slot");else{updateElement(e,n,isSvgMode)}}if(t!==null&&i!==null){updateChildren(r,t,n,i)}else if(i!==null){if(e.t!==null){r.textContent=""}addVnodes(r,null,n,i,0,i.length-1)}else if(t!==null){removeVnodes(t,0,t.length-1)}}else if(e.t!==o){r.data=o}};var renderVdom=function(e,n,r){if(r===void 0){r=false}var t=e.$hostElement$;var i=e.m;var a=e.S||newVNode(null,null);var o=isHost(n)?n:h(null,null,n);hostTagName=t.tagName;if(i.T){o.i=o.i||{};i.T.map((function(e){var n=e[0],r=e[1];return o.i[r]=t[n]}))}if(r&&o.i){for(var u=0,s=Object.keys(o.i);u<s.length;u++){var f=s[u];if(t.hasAttribute(f)&&!["key","ref","style","class"].includes(f)){o.i[f]=t[f]}}}o.l=null;o.u|=4;e.S=o;o.v=a.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(a,o)};var attachToAncestor=function(e,n){if(n&&!e._&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e._=n})))}};var scheduleUpdate=function(e,n){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e.C);var r=function(){return dispatchHooks(e,n)};return writeTask(r)};var dispatchHooks=function(e,n){var r=createTime("scheduleUpdate",e.m.h);var t=e.R;var i;r();return enqueue(i,(function(){return updateComponent(e,t,n)}))};var enqueue=function(e,n){return isPromisey(e)?e.then(n):n()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,n,r){return __awaiter(void 0,void 0,void 0,(function(){var t,i,a,o,u,s,f;return __generator(this,(function(l){i=e.$hostElement$;a=createTime("update",e.m.h);o=i["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=undefined}u();a();{s=(t=i["s-p"])!==null&&t!==void 0?t:[];f=function(){return postUpdateComponent(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.u|=4;s.length=0}}return[2]}))}))};var callRender=function(e,n,r,t){try{n=n.render();{e.u&=~16}{e.u|=2}{{{renderVdom(e,n,t)}}}}catch(n){consoleError(n,e.$hostElement$)}return null};var postUpdateComponent=function(e){var n=e.m.h;var r=e.$hostElement$;var t=createTime("postUpdate",n);var i=e.C;if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}t();{e.A(r);if(!i){appDidLoad()}}}else{t()}{if(e._){e._();e._=undefined}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,n){return getHostRef(e).$.get(n)};var setValue=function(e,n,r,t){var i=getHostRef(e);var a=i.$.get(n);var o=i.u;var u=i.R;r=parsePropertyValue(r,t.V[n][0]);var s=Number.isNaN(a)&&Number.isNaN(r);var f=r!==a&&!s;if((!(o&8)||a===undefined)&&f){i.$.set(n,r);if(u){if((o&(2|16))===2){scheduleUpdate(i,false)}}}};var proxyComponent=function(e,n,r){var t;if(n.V){var i=Object.entries(n.V);var a=e.prototype;i.map((function(e){var t=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,t,{get:function(){return getValue(this,t)},set:function(e){setValue(this,t,e,n)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,t){var i=this;plt.jmp((function(){var u=o.get(e);if(i.hasOwnProperty(u)){t=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==t){return}else if(u==null){var s=getHostRef(i);var f=s===null||s===void 0?void 0:s.u;if(!(f&8)&&f&128&&t!==r){var l=s.R;var c=n.M[e];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,r,e)}}))}return}i[u]=t===null&&typeof i[u]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.M)!==null&&t!==void 0?t:{}),true),i.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],t=e[1];var i=t[1]||r;o.set(i,r);if(t[0]&512){n.T.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,n,r,t){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,a,o,u,s,f;return __generator(this,(function(l){switch(l.label){case 0:if(!((n.u&32)===0))return[3,3];n.u|=32;e=loadModule(r);if(!e.then)return[3,2];t=uniqueTime();return[4,e];case 1:e=l.sent();t();l.label=2;case 2:if(!e.isProxied){proxyComponent(e,r,2);e.isProxied=true}i=createTime("createInstance",r.h);{n.u|=8}try{new e(n)}catch(e){consoleError(e)}{n.u&=~8}i();if(e.style){a=e.style;o=getScopeId(r);if(!styles.has(o)){u=createTime("registerStyles",r.h);registerStyle(o,a,!!(r.u&1));u()}}l.label=3;case 3:s=n.C;f=function(){return scheduleUpdate(n,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var n=getHostRef(e);var r=n.m;var t=createTime("connectedCallback",r.h);if(!(n.u&1)){n.u|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(n,n.C=i);break}}}if(r.V){Object.entries(r.V).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,n,r)}}else{if(n===null||n===void 0?void 0:n.R);else if(n===null||n===void 0?void 0:n.k){n.k.then((function(){return fireConnectedCallback()}))}}t()}};var disconnectInstance=function(e){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n;return __generator(this,(function(r){if((plt.u&1)===0){n=getHostRef(e);if(n===null||n===void 0?void 0:n.R);else if(n===null||n===void 0?void 0:n.k){n.k.then((function(){return disconnectInstance()}))}}return[2]}))}))};var bootstrapLazy=function(e,n){if(n===void 0){n={}}var r;var t=createTime();var i=[];var a=n.exclude||[];var o=win.customElements;var u=doc.head;var s=u.querySelector("meta[charset]");var f=doc.createElement("style");var l=[];var c;var v=true;Object.assign(plt,n);plt.H=new URL(n.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(n){var r={u:n[0],h:n[1],V:n[2],P:n[3]};if(r.u&4){d=true}{r.V=n[2]}{r.T=[]}var t=r.h;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;registerHost(n,r);if(r.u&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(v){l.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};n.prototype.componentOnReady=function(){return getHostRef(this).k};return n}(HTMLElement);r.N=e[0];if(!a.includes(t)&&!o.get(t)){i.push(t);o.define(t,proxyComponent(u,r,1))}}))}));if(d){f.innerHTML+=SLOT_FB_CSS}{f.innerHTML+=i+HYDRATED_CSS}if(f.innerHTML.length){f.setAttribute("data-styles","");u.insertBefore(f,s?s.nextSibling:u.firstChild);var p=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(p!=null){f.setAttribute("nonce",p)}}v=false;if(l.length){l.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}t()};var setNonce=function(e){return plt.p=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,n){return hostRefs.set(n.R=e,n)};var registerHost=function(e,n){var r={u:0,$hostElement$:e,m:n,$:new Map};{r.k=new Promise((function(e){return r.A=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,r)};var isMemberInElement=function(e,n){return n in e};var consoleError=function(e,n){return(0,console.error)(e,n)};var cmpModules=new Map;var loadModule=function(e,n,r){var t=e.h.replace(/-/g,"_");var i=e.N;var a=cmpModules.get(i);if(a){return a[t]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(i,e);return e[t]};switch(i){case"mds-accordion-timer-item":return import("./mds-accordion-timer-item.entry.js").then(o,consoleError)}}return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[t]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={u:0,H:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,r,t){return e.addEventListener(n,r,t)},rel:function(e,n,r,t){return e.removeEventListener(n,r,t)},ce:function(e,n){return new CustomEvent(e,n)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,n){return function(r){e.push(r);if(!queuePending){queuePending=true;if(n&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,createEvent as c,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as bootstrapLazy}from"./index-
|
|
1
|
+
import{b as bootstrapLazy}from"./index-b622e7e2.js";export{s as setNonce}from"./index-b622e7e2.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-accordion-timer-item",[[1,"mds-accordion-timer-item",{typography:[1],selected:[516],description:[1],progress:[2],uuid:[2]}]]]],t)};export{defineCustomElements};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,H as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,c as createEvent,h,H as Host}from"./index-b622e7e2.js";var mdsAccordionTimerItemCss="@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .focus-bounce{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-bounce--focused,.focus-bounce:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 500ms);padding-top:1rem;padding-bottom:1rem;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);color:var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));display:grid;position:relative}.row{gap:1rem;display:-ms-flexbox;display:flex}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color);--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background);--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness);-ms-flex-negative:0;flex-shrink:0}.action{border-radius:0.75rem;background-color:transparent;border:0;cursor:pointer;padding:0;text-align:left}:host([selected]) .action{cursor:auto}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-timer-item-duration);transition-duration:var(--mds-accordion-timer-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;opacity:1;grid-template-rows:1fr}";var MdsAccordionTimerItem=function(){function o(o){var i=this;registerInstance(this,o);this.clickSelectEvent=createEvent(this,"mdsAccordionTimerItemClickSelect",7);this.selectedMouseEnterEvent=createEvent(this,"mdsAccordionTimerItemMouseEnterSelect",7);this.selectedMouseLeaveEvent=createEvent(this,"mdsAccordionTimerItemMouseLeaveSelect",7);this.toggle=function(){i.selected=!i.selected;i.progress=0;if(i.selected){i.clickSelectEvent.emit({selected:i.selected,uuid:i.uuid})}};this.mouseEnter=function(){if(i.selected){i.selectedMouseEnterEvent.emit({selected:i.selected,uuid:i.uuid})}};this.mouseLeave=function(){if(i.selected){i.selectedMouseLeaveEvent.emit({selected:i.selected,uuid:i.uuid})}};this.typography="h5";this.selected=false;this.description=undefined;this.progress=0;this.uuid=0}o.prototype.render=function(){var o;return h(Host,{onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave},h("div",{class:"row"},h("mds-progress",{class:"progress-bar",progress:Number((o=this.progress)===null||o===void 0?void 0:o.toFixed(2)),direction:"vertical"}),h("div",{class:"accordion"},h("button",{"aria-controls":"contents","aria-expanded":this.selected?"true":"false",class:"action focus-bounce",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},h("mds-text",{typography:this.typography},this.description)),h("div",{class:"contents",id:"contents"},h("div",{class:"contents-expander"},h("slot",null))))))};return o}();MdsAccordionTimerItem.style=mdsAccordionTimerItemCss;export{MdsAccordionTimerItem as mds_accordion_timer_item};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-b622e7e2.js";export{s as setNonce}from"./index-b622e7e2.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["mds-accordion-timer-item",[[1,"mds-accordion-timer-item",{typography:[1],selected:[516],description:[1],progress:[2],uuid:[2]}]]]],e)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as r}from"./p-
|
|
1
|
+
import{p as e,b as r}from"./p-b9f0e5b9.js";export{s as setNonce}from"./p-b9f0e5b9.js";(()=>{const r=import.meta.url,s={};return""!==r&&(s.resourcesUrl=new URL(".",r).href),e(s)})().then((e=>r([["p-a2f6e872",[[1,"mds-accordion-timer-item",{typography:[1],selected:[516],description:[1],progress:[2],uuid:[2]}]]]],e)));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-aa4197f9.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as i,h as t,H as r}from"./p-
|
|
1
|
+
import{r as o,c as i,h as t,H as r}from"./p-b9f0e5b9.js";const n=class{constructor(t){o(this,t),this.clickSelectEvent=i(this,"mdsAccordionTimerItemClickSelect",7),this.selectedMouseEnterEvent=i(this,"mdsAccordionTimerItemMouseEnterSelect",7),this.selectedMouseLeaveEvent=i(this,"mdsAccordionTimerItemMouseLeaveSelect",7),this.toggle=()=>{this.selected=!this.selected,this.progress=0,this.selected&&this.clickSelectEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseEnter=()=>{this.selected&&this.selectedMouseEnterEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseLeave=()=>{this.selected&&this.selectedMouseLeaveEvent.emit({selected:this.selected,uuid:this.uuid})},this.typography="h5",this.selected=!1,this.description=void 0,this.progress=0,this.uuid=0}render(){var o;return t(r,{onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave},t("div",{class:"row"},t("mds-progress",{class:"progress-bar",progress:Number(null===(o=this.progress)||void 0===o?void 0:o.toFixed(2)),direction:"vertical"}),t("div",{class:"accordion"},t("button",{"aria-controls":"contents","aria-expanded":this.selected?"true":"false",class:"action focus-bounce",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},t("mds-text",{typography:this.typography},this.description)),t("div",{class:"contents",id:"contents"},t("div",{class:"contents-expander"},t("slot",null))))))}};n.style="@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .focus-bounce{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-bounce--focused,.focus-bounce:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 500ms);padding-top:1rem;padding-bottom:1rem;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);color:var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));display:grid;position:relative}.row{gap:1rem;display:-ms-flexbox;display:flex}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color);--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background);--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness);-ms-flex-negative:0;flex-shrink:0}.action{border-radius:0.75rem;background-color:transparent;border:0;cursor:pointer;padding:0;text-align:left}:host([selected]) .action{cursor:auto}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-timer-item-duration);transition-duration:var(--mds-accordion-timer-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;opacity:1;grid-template-rows:1fr}";export{n as mds_accordion_timer_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-f8ba50cb.system.js"],(function(e,t){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return r(n)};e().then((function(e){return n([["p-ea28e043.system",[[1,"mds-accordion-timer-item",{typography:[1],selected:[516],description:[1],progress:[2],uuid:[2]}]]]],e)}))}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let n,e,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=n=>"object"==(n=typeof n)||"function"===n;function i(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,e,...t)=>{let l=null,o=!1,i=!1;const c=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&i?c[c.length-1].t+=l:c.push(o?r(null,l):l),i=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=r(n,null);return a.l=e,c.length>0&&(a.o=c),a},r=(n,e)=>({i:0,u:n,t:e,p:null,o:null,l:null}),u={},a=(n,e,t)=>{const l=(n=>W(n).$hostElement$)(n);return{emit:n=>f(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},f=(n,e,t)=>{const l=K.ce(e,t);return n.dispatchEvent(l),l},d=new WeakMap,y=n=>"sc-"+n.m,p=(n,e,t,l,o,i)=>{if(t!==l){let c=_(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=$(t),s=$(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if(c||"o"!==e[0]||"n"!==e[1]){const r=s(l);if((c||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?c=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!c||4&i||o)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else if(e="-"===e[2]?e.slice(3):_(I,r)?r.slice(2):r[2]+e.slice(3),t||l){const o=e.endsWith(h);e=e.replace(b,""),t&&K.rel(n,e,t,o),l&&K.ael(n,e,l,o)}}},m=/\s/,$=n=>n?n.split(m):[],h="Capture",b=RegExp(h+"$"),v=(n,e,t,l)=>{const s=11===e.p.nodeType&&e.p.host?e.p.host:e.p,i=n&&n.l||o,c=e.l||o;for(l in i)l in c||p(s,l,i[l],void 0,t,e.i);for(l in c)p(s,l,i[l],c[l],t,e.i)},w=(e,t,l)=>{const o=t.o[l];let s,i,c=0;if(null!==o.t)s=o.p=J.createTextNode(o.t);else if(s=o.p=J.createElement(o.u),v(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=w(e,o,c),i&&s.appendChild(i);return s},S=(n,t,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=w(null,l,s),c&&(o[s].p=c,r.insertBefore(c,t)))},g=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.p;n&&n.remove()}}},j=(n,e)=>n.u===e.u,M=(n,e)=>{const t=e.p=n.p,l=n.o,o=e.o,s=e.t;null===s?("slot"===e.u||v(n,e,!1),null!==l&&null!==o?((n,e,t,l)=>{let o,s=0,i=0,c=e.length-1,r=e[0],u=e[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=e[++s]:null==u?u=e[--c]:null==f?f=l[++i]:null==d?d=l[--a]:j(r,f)?(M(r,f),r=e[++s],f=l[++i]):j(u,d)?(M(u,d),u=e[--c],d=l[--a]):j(r,d)?(M(r,d),n.insertBefore(r.p,u.p.nextSibling),r=e[++s],d=l[--a]):j(u,f)?(M(u,f),n.insertBefore(u.p,r.p),u=e[--c],f=l[++i]):(o=w(e&&e[i],t,i),f=l[++i],o&&r.p.parentNode.insertBefore(o,r.p));s>c?S(n,null==l[a+1]?null:l[a+1].p,t,l,i,a):i>a&&g(e,s,c)})(t,l,e,o):null!==o?(null!==n.t&&(t.textContent=""),S(t,null,e,o,0,o.length-1)):null!==l&&g(l,0,l.length-1)):n.t!==s&&(t.data=s)},O=(n,e)=>{e&&!n.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.$=e)))},k=(n,e)=>{if(n.i|=16,!(4&n.i))return O(n,n.h),on((()=>C(n,e)));n.i|=512},C=(n,e)=>{const t=n.v;return P(void 0,(()=>E(n,t,e)))},P=(n,e)=>x(n)?n.then(e):e(),x=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,E=async(n,e,t)=>{var o;const s=n.$hostElement$,c=s["s-rc"];t&&(n=>{const e=n.S,t=n.$hostElement$,o=e.i,s=((n,e)=>{var t;const o=y(e),s=G.get(o);if(n=11===n.nodeType?n:J,s)if("string"==typeof s){let c,r=d.get(n=n.head||n);if(r||d.set(n,r=new Set),!r.has(o)){{c=J.createElement("style"),c.innerHTML=s;const e=null!==(t=K.j)&&void 0!==t?t:i(J);null!=e&&c.setAttribute("nonce",e),n.insertBefore(c,n.querySelector("link"))}4&e.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return o})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&o&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(n);A(n,e,s,t),c&&(c.map((n=>n())),s["s-rc"]=void 0);{const e=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>N(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},A=(t,l,o,s)=>{try{l=l.render(),t.i&=-17,t.i|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.S,a=t.M||r(null,null),f=(n=>n&&n.u===u)(l)?l:c(null,null,l);if(e=s.tagName,i.O&&(f.l=f.l||{},i.O.map((([n,e])=>f.l[e]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,t.M=f,f.p=a.p=s.shadowRoot||s,n=s["s-sc"],M(a,f)})(t,l,s)}catch(n){z(n,t.$hostElement$)}return null},N=n=>{const e=n.$hostElement$,t=n.h;64&n.i||(n.i|=64,T(e),n.k(e),t||R()),n.$&&(n.$(),n.$=void 0),512&n.i&&ln((()=>k(n,!1))),n.i&=-517},R=()=>{T(J.documentElement),ln((()=>f(I,"appload",{detail:{namespace:"mds-accordion-timer-item"}})))},T=n=>n.setAttribute("hydrated",""),F=(n,e,t)=>{var l;if(e.C){const o=Object.entries(e.C),i=n.prototype;if(o.map((([n,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(i,n,{get(){return((n,e)=>W(this).P.get(e))(0,n)},set(t){((n,e,t,l)=>{const o=W(n),i=o.P.get(e),c=o.i,r=o.v;t=((n,e)=>null==n||s(n)?n:4&e?"false"!==n&&(""===n||!!n):2&e?parseFloat(n):1&e?n+"":n)(t,l.C[e][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(o.P.set(e,t),r&&2==(18&c)&&k(o,!1))})(this,n,t,e)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;i.attributeChangedCallback=function(n,l,o){K.jmp((()=>{const s=t.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const t=W(this),s=null==t?void 0:t.i;if(!(8&s)&&128&s&&o!==l){const s=t.v,i=e.A[n];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=e.A)&&void 0!==l?l:{}),...o.filter((([n,e])=>15&e[0])).map((([n,l])=>{const o=l[1]||n;return t.set(o,n),512&l[0]&&e.O.push([n,o]),o}))]))}}return n},H=(n,e={})=>{var t;const o=[],s=e.exclude||[],c=I.customElements,r=J.head,u=r.querySelector("meta[charset]"),a=J.createElement("style"),f=[];let d,p=!0;Object.assign(K,e),K.N=new URL(e.resourcesUrl||"./",J.baseURI).href;let m=!1;if(n.map((n=>{n[1].map((e=>{const t={i:e[0],m:e[1],C:e[2],R:e[3]};4&t.i&&(m=!0),t.C=e[2],t.O=[];const l=t.m,i=class extends HTMLElement{constructor(n){super(n),V(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),p?f.push(this):K.jmp((()=>(n=>{if(0==(1&K.i)){const e=W(n),t=e.S,l=()=>{};if(1&e.i)(null==e?void 0:e.v)||(null==e?void 0:e.T)&&e.T.then((()=>{}));else{e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){O(e,e.h=t);break}}t.C&&Object.entries(t.C).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.i)){e.i|=32;{if(l=D(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(F(l,t,2),l.isProxied=!0);const n=()=>{};e.i|=8;try{new l(e)}catch(n){z(n)}e.i&=-9,n()}if(l.style){let n=l.style;const e=y(t);if(!G.has(e)){const l=()=>{};((n,e,t)=>{let l=G.get(n);X&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,G.set(n,l)})(e,n,!!(1&t.i)),l()}}}const o=e.h,s=()=>k(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){K.jmp((()=>(async()=>{if(0==(1&K.i)){const n=W(this);(null==n?void 0:n.v)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return W(this).T}};t.F=n[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,F(i,t,1)))}))})),m&&(a.innerHTML+=l),a.innerHTML+=o+"{visibility:hidden}[hydrated]{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles",""),r.insertBefore(a,u?u.nextSibling:r.firstChild);const n=null!==(t=K.j)&&void 0!==t?t:i(J);null!=n&&a.setAttribute("nonce",n)}p=!1,f.length?f.map((n=>n.connectedCallback())):K.jmp((()=>d=setTimeout(R,30)))},L=n=>K.j=n,U=new WeakMap,W=n=>U.get(n),q=(n,e)=>U.set(e.v=n,e),V=(n,e)=>{const t={i:0,$hostElement$:n,S:e,P:new Map};return t.T=new Promise((n=>t.k=n)),n["s-p"]=[],n["s-rc"]=[],U.set(n,t)},_=(n,e)=>e in n,z=(n,e)=>(0,console.error)(n,e),B=new Map,D=n=>{const e=n.m.replace(/-/g,"_"),t=n.F,l=B.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(B.set(t,n),n[e])),z)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},G=new Map,I="undefined"!=typeof window?window:{},J=I.document||{head:{}},K={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},Q=n=>Promise.resolve(n),X=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Y=[],Z=[],nn=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&K.i?ln(tn):K.raf(tn))},en=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){z(n)}n.length=0},tn=()=>{en(Y),en(Z),(t=Y.length>0)&&K.raf(tn)},ln=n=>Q().then(n),on=nn(Z,!0);export{u as H,H as b,a as c,c as h,Q as p,q as r,L as s}
|
package/dist/mds-accordion-timer-item/{p-f866a0a2.system.entry.js → p-ea28e043.system.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-f8ba50cb.system.js"],(function(o){"use strict";var i,t,r,n;return{setters:[function(o){i=o.r;t=o.c;r=o.h;n=o.H}],execute:function(){var e="@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .focus-bounce{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-bounce--focused,.focus-bounce:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 500ms);padding-top:1rem;padding-bottom:1rem;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);color:var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));display:grid;position:relative}.row{gap:1rem;display:-ms-flexbox;display:flex}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color);--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background);--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness);-ms-flex-negative:0;flex-shrink:0}.action{border-radius:0.75rem;background-color:transparent;border:0;cursor:pointer;padding:0;text-align:left}:host([selected]) .action{cursor:auto}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-timer-item-duration);transition-duration:var(--mds-accordion-timer-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;opacity:1;grid-template-rows:1fr}";var a=o("mds_accordion_timer_item",function(){function o(o){var r=this;i(this,o);this.clickSelectEvent=t(this,"mdsAccordionTimerItemClickSelect",7);this.selectedMouseEnterEvent=t(this,"mdsAccordionTimerItemMouseEnterSelect",7);this.selectedMouseLeaveEvent=t(this,"mdsAccordionTimerItemMouseLeaveSelect",7);this.toggle=function(){r.selected=!r.selected;r.progress=0;if(r.selected){r.clickSelectEvent.emit({selected:r.selected,uuid:r.uuid})}};this.mouseEnter=function(){if(r.selected){r.selectedMouseEnterEvent.emit({selected:r.selected,uuid:r.uuid})}};this.mouseLeave=function(){if(r.selected){r.selectedMouseLeaveEvent.emit({selected:r.selected,uuid:r.uuid})}};this.typography="h5";this.selected=false;this.description=undefined;this.progress=0;this.uuid=0}o.prototype.render=function(){var o;return r(n,{onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave},r("div",{class:"row"},r("mds-progress",{class:"progress-bar",progress:Number((o=this.progress)===null||o===void 0?void 0:o.toFixed(2)),direction:"vertical"}),r("div",{class:"accordion"},r("button",{"aria-controls":"contents","aria-expanded":this.selected?"true":"false",class:"action focus-bounce",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},r("mds-text",{typography:this.typography},this.description)),r("div",{class:"contents",id:"contents"},r("div",{class:"contents-expander"},r("slot",null))))))};return o}());a.style=e}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(u,f)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(n){return o([r,n])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(f[0]===6&&e.label<a[1]){e.label=a[1];a=f;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(f);break}if(a[2])e.ops.pop();e.trys.pop();continue}f=n.call(r,e)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer-item";var i;var a;var u=false;var f=false;var o=function(r,n){if(n===void 0){n=""}{return function(){return}}};var v=function(r,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c="slot-fb{display:contents}slot-fb[hidden]{display:none}";var s={};var d=function(r){return r!=null};var h=function(r){r=typeof r;return r==="object"||r==="function"};function y(r){var n,e,t;return(t=(e=(n=r.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var p=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}var i=null;var a=false;var u=false;var f=[];var o=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof r!=="function"&&!h(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?w(null,i):i)}u=a}}};o(e);if(n){{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}var l=w(r,null);l.i=n;if(f.length>0){l.u=f}return l}));var w=function(r,n){var e={o:0,v:r,t:n,l:null,u:null};{e.i=null}return e};var b=r("H",{});var m=function(r){return r&&r.v===b};var _=function(r,n){if(r!=null&&!h(r)){if(n&4){return r==="false"?false:r===""||!!r}if(n&2){return parseFloat(r)}if(n&1){return String(r)}return r}return r};var $=function(r){return vr(r).$hostElement$};var S=r("c",(function(r,n,e){var t=$(r);return{emit:function(r){return g(t,n,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:r})}}}));var g=function(r,n,e){var t=mr.ce(n,e);r.dispatchEvent(t);return t};var j=new WeakMap;var A=function(r,n,e){var t=pr.get(r);if($r&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}pr.set(r,t)};var k=function(r,n,e){var t;var i=x(n);var a=pr.get(i);r=r.nodeType===11?r:br;if(a){if(typeof a==="string"){r=r.head||r;var u=j.get(r);var f=void 0;if(!u){j.set(r,u=new Set)}if(!u.has(i)){{f=br.createElement("style");f.innerHTML=a;var o=(t=mr.h)!==null&&t!==void 0?t:y(br);if(o!=null){f.setAttribute("nonce",o)}r.insertBefore(f,r.querySelector("link"))}if(n.o&4){f.innerHTML+=c}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var O=function(r){var n=r.p;var e=r.$hostElement$;var t=n.o;var i=o("attachStyles",n.m);var a=k(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var x=function(r,n){return"sc-"+r.m};var M=function(r,n,e,t,i,a){if(e!==t){var u=sr(r,n);var f=n.toLowerCase();if(n==="class"){var o=r.classList;var v=E(e);var l=E(t);o.remove.apply(o,v.filter((function(r){return r&&!l.includes(r)})));o.add.apply(o,l.filter((function(r){return r&&!v.includes(r)})))}else if(!u&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(sr(wr,f)){n=f.slice(2)}else{n=f[2]+n.slice(3)}if(e||t){var c=n.endsWith(P);n=n.replace(T,"");if(e){mr.rel(r,n,e,c)}if(t){mr.ael(r,n,t,c)}}}else{var s=h(t);if((u||s&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var d=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!=d){r[n]=d}}else{r[n]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!s){t=t===true?"":t;{r.setAttribute(n,t)}}}}};var C=/\s/;var E=function(r){return!r?[]:r.split(C)};var P="Capture";var T=new RegExp(P+"$");var U=function(r,n,e,t){var i=n.l.nodeType===11&&n.l.host?n.l.host:n.l;var a=r&&r.i||s;var u=n.i||s;{for(t in a){if(!(t in u)){M(i,t,a[t],undefined,e,n.o)}}}for(t in u){M(i,t,a[t],u[t],e,n.o)}};var N=function(r,n,e,t){var a=n.u[e];var f=0;var o;var v;if(a.t!==null){o=a.l=br.createTextNode(a.t)}else{o=a.l=br.createElement(a.v);{U(null,a,u)}if(d(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(a.u){for(f=0;f<a.u.length;++f){v=N(r,a,f);if(v){o.appendChild(v)}}}}return o};var F=function(r,n,e,t,i,u){var f=r;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=N(null,e,i);if(o){t[i].l=o;f.insertBefore(o,n)}}}};var H=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.l;if(a){a.remove()}}}};var L=function(r,n,e,t){var i=0;var a=0;var u=n.length-1;var f=n[0];var o=n[u];var v=t.length-1;var l=t[0];var c=t[v];var s;while(i<=u&&a<=v){if(f==null){f=n[++i]}else if(o==null){o=n[--u]}else if(l==null){l=t[++a]}else if(c==null){c=t[--v]}else if(R(f,l)){W(f,l);f=n[++i];l=t[++a]}else if(R(o,c)){W(o,c);o=n[--u];c=t[--v]}else if(R(f,c)){W(f,c);r.insertBefore(f.l,o.l.nextSibling);f=n[++i];c=t[--v]}else if(R(o,l)){W(o,l);r.insertBefore(o.l,f.l);o=n[--u];l=t[++a]}else{{s=N(n&&n[a],e,a);l=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){F(r,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){H(n,i,u)}};var R=function(r,n){if(r.v===n.v){return true}return false};var W=function(r,n){var e=n.l=r.l;var t=r.u;var i=n.u;var a=n.v;var f=n.t;if(f===null){{if(a==="slot");else{U(r,n,u)}}if(t!==null&&i!==null){L(e,t,n,i)}else if(i!==null){if(r.t!==null){e.textContent=""}F(e,null,n,i,0,i.length-1)}else if(t!==null){H(t,0,t.length-1)}}else if(r.t!==f){e.data=f}};var q=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var u=r.p;var f=r._||w(null,null);var o=m(n)?n:p(null,null,n);a=t.tagName;if(u.$){o.i=o.i||{};u.$.map((function(r){var n=r[0],e=r[1];return o.i[e]=t[n]}))}if(e&&o.i){for(var v=0,l=Object.keys(o.i);v<l.length;v++){var c=l[v];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=t[c]}}}o.v=null;o.o|=4;r._=o;o.l=f.l=t.shadowRoot||t;{i=t["s-sc"]}W(f,o)};var G=function(r,n){if(n&&!r.S&&n["s-p"]){n["s-p"].push(new Promise((function(n){return r.S=n})))}};var I=function(r,n){{r.o|=16}if(r.o&4){r.o|=512;return}G(r,r.j);var e=function(){return V(r,n)};return xr(e)};var V=function(r,n){var e=o("scheduleUpdate",r.p.m);var t=r.A;var i;e();return z(i,(function(){return D(r,t,n)}))};var z=function(r,n){return B(r)?r.then(n):n()};var B=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var D=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,f,v,l;return __generator(this,(function(c){i=r.$hostElement$;a=o("update",r.p.m);u=i["s-rc"];if(t){O(r)}f=o("render",r.p.m);{J(r,n,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=undefined}f();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];l=function(){return K(r)};if(v.length===0){l()}else{Promise.all(v).then(l);r.o|=4;v.length=0}}return[2]}))}))};var J=function(r,n,e,t){try{n=n.render();{r.o&=~16}{r.o|=2}{{{q(r,n,t)}}}}catch(n){dr(n,r.$hostElement$)}return null};var K=function(r){var n=r.p.m;var e=r.$hostElement$;var t=o("postUpdate",n);var i=r.j;if(!(r.o&64)){r.o|=64;{X(e)}t();{r.k(e);if(!i){Q()}}}else{t()}{if(r.S){r.S();r.S=undefined}if(r.o&512){Or((function(){return I(r,false)}))}r.o&=~(4|512)}};var Q=function(r){{X(br.documentElement)}Or((function(){return g(wr,"appload",{detail:{namespace:t}})}))};var X=function(r){return r.setAttribute("hydrated","")};var Y=function(r,n){return vr(r).O.get(n)};var Z=function(r,n,e,t){var i=vr(r);var a=i.O.get(n);var u=i.o;var f=i.A;e=_(e,t.M[n][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(n,e);if(f){if((u&(2|16))===2){I(i,false)}}}};var rr=function(r,n,e){var t;if(n.M){var i=Object.entries(n.M);var a=r.prototype;i.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){Object.defineProperty(a,t,{get:function(){return Y(this,t)},set:function(r){Z(this,t,r,n)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;a.attributeChangedCallback=function(r,e,t){var i=this;mr.jmp((function(){var f=u.get(r);if(i.hasOwnProperty(f)){t=i[f];delete i[f]}else if(a.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==t){return}else if(f==null){var o=vr(i);var v=o===null||o===void 0?void 0:o.o;if(!(v&8)&&v&128&&t!==e){var l=o.A;var c=n.C[r];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,e,r)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.C)!==null&&t!==void 0?t:{}),true),i.filter((function(r){var n=r[0],e=r[1];return e[0]&15})).map((function(r){var e=r[0],t=r[1];var i=t[1]||e;u.set(i,e);if(t[0]&512){n.$.push([e,i])}return i})),true)))}}return r};var nr=function(r,n,t,i){return __awaiter(e,void 0,void 0,(function(){var r,e,i,a,u,f,l,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.o&32)===0))return[3,3];n.o|=32;r=yr(t);if(!r.then)return[3,2];e=v();return[4,r];case 1:r=s.sent();e();s.label=2;case 2:if(!r.isProxied){rr(r,t,2);r.isProxied=true}i=o("createInstance",t.m);{n.o|=8}try{new r(n)}catch(r){dr(r)}{n.o&=~8}i();if(r.style){a=r.style;u=x(t);if(!pr.has(u)){f=o("registerStyles",t.m);A(u,a,!!(t.o&1));f()}}s.label=3;case 3:l=n.j;c=function(){return I(n,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var er=function(r){};var tr=function(r){if((mr.o&1)===0){var n=vr(r);var e=n.p;var t=o("connectedCallback",e.m);if(!(n.o&1)){n.o|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){G(n,n.j=i);break}}}if(e.M){Object.entries(e.M).map((function(n){var e=n[0],t=n[1][0];if(t&31&&r.hasOwnProperty(e)){var i=r[e];delete r[e];r[e]=i}}))}{nr(r,n,e)}}else{if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return er()}))}}t()}};var ir=function(r){};var ar=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((mr.o&1)===0){n=vr(r);if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return ir()}))}}return[2]}))}))};var ur=r("b",(function(r,n){if(n===void 0){n={}}var e;var t=o();var i=[];var a=n.exclude||[];var u=wr.customElements;var f=br.head;var v=f.querySelector("meta[charset]");var s=br.createElement("style");var d=[];var h;var p=true;Object.assign(mr,n);mr.T=new URL(n.resourcesUrl||"./",br.baseURI).href;var w=false;r.map((function(r){r[1].map((function(n){var e={o:n[0],m:n[1],M:n[2],U:n[3]};if(e.o&4){w=true}{e.M=n[2]}{e.$=[]}var t=e.m;var f=function(r){__extends(n,r);function n(n){var t=r.call(this,n)||this;n=t;cr(n,e);if(e.o&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var r=this;if(h){clearTimeout(h);h=null}if(p){d.push(this)}else{mr.jmp((function(){return tr(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;mr.jmp((function(){return ar(r)}))};n.prototype.componentOnReady=function(){return vr(this).P};return n}(HTMLElement);e.N=r[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,rr(f,e,1))}}))}));if(w){s.innerHTML+=c}{s.innerHTML+=i+l}if(s.innerHTML.length){s.setAttribute("data-styles","");f.insertBefore(s,v?v.nextSibling:f.firstChild);var b=(e=mr.h)!==null&&e!==void 0?e:y(br);if(b!=null){s.setAttribute("nonce",b)}}p=false;if(d.length){d.map((function(r){return r.connectedCallback()}))}else{{mr.jmp((function(){return h=setTimeout(Q,30)}))}}t()}));var fr=r("s",(function(r){return mr.h=r}));var or=new WeakMap;var vr=function(r){return or.get(r)};var lr=r("r",(function(r,n){return or.set(n.A=r,n)}));var cr=function(r,n){var e={o:0,$hostElement$:r,p:n,O:new Map};{e.P=new Promise((function(r){return e.k=r}));r["s-p"]=[];r["s-rc"]=[]}return or.set(r,e)};var sr=function(r,n){return n in r};var dr=function(r,n){return(0,console.error)(r,n)};var hr=new Map;var yr=function(r,e,t){var i=r.m.replace(/-/g,"_");var a=r.N;var u=hr.get(a);if(u){return u[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{hr.set(a,r)}return r[i]}),dr)};var pr=new Map;var wr=typeof window!=="undefined"?window:{};var br=wr.document||{head:{}};var mr={o:0,T:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var _r=r("p",(function(r){return Promise.resolve(r)}));var $r=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var Sr=[];var gr=[];var jr=function(r,n){return function(e){r.push(e);if(!f){f=true;if(n&&mr.o&4){Or(kr)}else{mr.raf(kr)}}}};var Ar=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){dr(r)}}r.length=0};var kr=function(){Ar(Sr);{Ar(gr);if(f=Sr.length>0){mr.raf(kr)}}};var Or=function(r){return _r().then(r)};var xr=jr(gr,true)}}}));
|
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-11-
|
|
2
|
+
"timestamp": "2023-11-13T20:02:06",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "18.16.1"
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"name": "dist-lazy",
|
|
58
58
|
"files": 35,
|
|
59
59
|
"generatedFiles": [
|
|
60
|
-
"./dist/cjs/index-
|
|
60
|
+
"./dist/cjs/index-6e175390.js",
|
|
61
61
|
"./dist/cjs/index.cjs.js",
|
|
62
62
|
"./dist/cjs/loader.cjs.js",
|
|
63
63
|
"./dist/cjs/mds-accordion-timer-item.cjs.entry.js",
|
|
64
64
|
"./dist/cjs/mds-accordion-timer-item.cjs.js",
|
|
65
|
-
"./dist/esm-es5/index-
|
|
65
|
+
"./dist/esm-es5/index-b622e7e2.js",
|
|
66
66
|
"./dist/esm-es5/index.js",
|
|
67
67
|
"./dist/esm-es5/loader.js",
|
|
68
68
|
"./dist/esm-es5/mds-accordion-timer-item.entry.js",
|
|
69
69
|
"./dist/esm-es5/mds-accordion-timer-item.js",
|
|
70
|
-
"./dist/esm/index-
|
|
70
|
+
"./dist/esm/index-b622e7e2.js",
|
|
71
71
|
"./dist/esm/index.js",
|
|
72
72
|
"./dist/esm/loader.js",
|
|
73
73
|
"./dist/esm/mds-accordion-timer-item.entry.js",
|
|
@@ -78,20 +78,20 @@
|
|
|
78
78
|
"./dist/mds-accordion-timer-item/mds-accordion-timer-item.esm.js",
|
|
79
79
|
"./dist/mds-accordion-timer-item/mds-accordion-timer-item.js",
|
|
80
80
|
"./dist/mds-accordion-timer-item/p-50ea2036.system.js",
|
|
81
|
-
"./dist/mds-accordion-timer-item/p-
|
|
82
|
-
"./dist/mds-accordion-timer-item/p-
|
|
83
|
-
"./dist/mds-accordion-timer-item/p-
|
|
84
|
-
"./dist/mds-accordion-timer-item/p-
|
|
85
|
-
"./dist/mds-accordion-timer-item/p-
|
|
81
|
+
"./dist/mds-accordion-timer-item/p-a2f6e872.entry.js",
|
|
82
|
+
"./dist/mds-accordion-timer-item/p-aa4197f9.system.js",
|
|
83
|
+
"./dist/mds-accordion-timer-item/p-b9f0e5b9.js",
|
|
84
|
+
"./dist/mds-accordion-timer-item/p-ea28e043.system.entry.js",
|
|
85
|
+
"./dist/mds-accordion-timer-item/p-f8ba50cb.system.js",
|
|
86
86
|
"./www/build/index.esm.js",
|
|
87
87
|
"./www/build/mds-accordion-timer-item.esm.js",
|
|
88
88
|
"./www/build/mds-accordion-timer-item.js",
|
|
89
89
|
"./www/build/p-50ea2036.system.js",
|
|
90
|
-
"./www/build/p-
|
|
91
|
-
"./www/build/p-
|
|
92
|
-
"./www/build/p-
|
|
93
|
-
"./www/build/p-
|
|
94
|
-
"./www/build/p-
|
|
90
|
+
"./www/build/p-a2f6e872.entry.js",
|
|
91
|
+
"./www/build/p-aa4197f9.system.js",
|
|
92
|
+
"./www/build/p-b9f0e5b9.js",
|
|
93
|
+
"./www/build/p-ea28e043.system.entry.js",
|
|
94
|
+
"./www/build/p-f8ba50cb.system.js"
|
|
95
95
|
]
|
|
96
96
|
},
|
|
97
97
|
{
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
"components": [
|
|
125
125
|
"mds-accordion-timer-item"
|
|
126
126
|
],
|
|
127
|
-
"bundleId": "p-
|
|
128
|
-
"fileName": "p-
|
|
127
|
+
"bundleId": "p-a2f6e872",
|
|
128
|
+
"fileName": "p-a2f6e872.entry.js",
|
|
129
129
|
"imports": [
|
|
130
|
-
"p-
|
|
130
|
+
"p-b9f0e5b9.js"
|
|
131
131
|
],
|
|
132
132
|
"originalByteSize": 6983
|
|
133
133
|
}
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"bundleId": "mds-accordion-timer-item",
|
|
142
142
|
"fileName": "mds-accordion-timer-item.entry.js",
|
|
143
143
|
"imports": [
|
|
144
|
-
"index-
|
|
144
|
+
"index-b622e7e2.js"
|
|
145
145
|
],
|
|
146
146
|
"originalByteSize": 6987
|
|
147
147
|
}
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"bundleId": "mds-accordion-timer-item",
|
|
156
156
|
"fileName": "mds-accordion-timer-item.entry.js",
|
|
157
157
|
"imports": [
|
|
158
|
-
"index-
|
|
158
|
+
"index-b622e7e2.js"
|
|
159
159
|
],
|
|
160
160
|
"originalByteSize": 6987
|
|
161
161
|
}
|
|
@@ -166,10 +166,10 @@
|
|
|
166
166
|
"components": [
|
|
167
167
|
"mds-accordion-timer-item"
|
|
168
168
|
],
|
|
169
|
-
"bundleId": "p-
|
|
170
|
-
"fileName": "p-
|
|
169
|
+
"bundleId": "p-ea28e043.system",
|
|
170
|
+
"fileName": "p-ea28e043.system.entry.js",
|
|
171
171
|
"imports": [
|
|
172
|
-
"p-
|
|
172
|
+
"p-f8ba50cb.system.js"
|
|
173
173
|
],
|
|
174
174
|
"originalByteSize": 7439
|
|
175
175
|
}
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"bundleId": "mds-accordion-timer-item.cjs",
|
|
184
184
|
"fileName": "mds-accordion-timer-item.cjs.entry.js",
|
|
185
185
|
"imports": [
|
|
186
|
-
"index-
|
|
186
|
+
"index-6e175390.js"
|
|
187
187
|
],
|
|
188
188
|
"originalByteSize": 7099
|
|
189
189
|
}
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
],
|
|
738
738
|
"componentGraph": {
|
|
739
739
|
"sc-mds-accordion-timer-item": [
|
|
740
|
-
"p-
|
|
740
|
+
"p-b9f0e5b9.js"
|
|
741
741
|
]
|
|
742
742
|
},
|
|
743
743
|
"sourceGraph": {
|
package/documentation.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-accordion-timer-item",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.1",
|
|
4
4
|
"description": "mds-accordion-timer-item is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"test": "stencil test --spec --e2e"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@maggioli-design-system/mds-progress": "2.8.
|
|
28
|
-
"@maggioli-design-system/mds-text": "3.6.
|
|
29
|
-
"@maggioli-design-system/styles": "13.0.
|
|
30
|
-
"@stencil/core": "4.7.
|
|
27
|
+
"@maggioli-design-system/mds-progress": "2.8.1",
|
|
28
|
+
"@maggioli-design-system/mds-text": "3.6.1",
|
|
29
|
+
"@maggioli-design-system/styles": "13.0.1",
|
|
30
|
+
"@stencil/core": "4.7.2"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"author": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as r}from"./p-
|
|
1
|
+
import{p as e,b as r}from"./p-b9f0e5b9.js";export{s as setNonce}from"./p-b9f0e5b9.js";(()=>{const r=import.meta.url,s={};return""!==r&&(s.resourcesUrl=new URL(".",r).href),e(s)})().then((e=>r([["p-a2f6e872",[[1,"mds-accordion-timer-item",{typography:[1],selected:[516],description:[1],progress:[2],uuid:[2]}]]]],e)));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-aa4197f9.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as i,h as t,H as r}from"./p-
|
|
1
|
+
import{r as o,c as i,h as t,H as r}from"./p-b9f0e5b9.js";const n=class{constructor(t){o(this,t),this.clickSelectEvent=i(this,"mdsAccordionTimerItemClickSelect",7),this.selectedMouseEnterEvent=i(this,"mdsAccordionTimerItemMouseEnterSelect",7),this.selectedMouseLeaveEvent=i(this,"mdsAccordionTimerItemMouseLeaveSelect",7),this.toggle=()=>{this.selected=!this.selected,this.progress=0,this.selected&&this.clickSelectEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseEnter=()=>{this.selected&&this.selectedMouseEnterEvent.emit({selected:this.selected,uuid:this.uuid})},this.mouseLeave=()=>{this.selected&&this.selectedMouseLeaveEvent.emit({selected:this.selected,uuid:this.uuid})},this.typography="h5",this.selected=!1,this.description=void 0,this.progress=0,this.uuid=0}render(){var o;return t(r,{onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave},t("div",{class:"row"},t("mds-progress",{class:"progress-bar",progress:Number(null===(o=this.progress)||void 0===o?void 0:o.toFixed(2)),direction:"vertical"}),t("div",{class:"accordion"},t("button",{"aria-controls":"contents","aria-expanded":this.selected?"true":"false",class:"action focus-bounce",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},t("mds-text",{typography:this.typography},this.description)),t("div",{class:"contents",id:"contents"},t("div",{class:"contents-expander"},t("slot",null))))))}};n.style="@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .focus-bounce{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-bounce--focused,.focus-bounce:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 500ms);padding-top:1rem;padding-bottom:1rem;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);color:var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));display:grid;position:relative}.row{gap:1rem;display:-ms-flexbox;display:flex}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color);--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background);--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness);-ms-flex-negative:0;flex-shrink:0}.action{border-radius:0.75rem;background-color:transparent;border:0;cursor:pointer;padding:0;text-align:left}:host([selected]) .action{cursor:auto}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-timer-item-duration);transition-duration:var(--mds-accordion-timer-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;opacity:1;grid-template-rows:1fr}";export{n as mds_accordion_timer_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-f8ba50cb.system.js"],(function(e,t){"use strict";var r,n;return{setters:[function(t){r=t.p;n=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var n={};if(e!==""){n.resourcesUrl=new URL(".",e).href}return r(n)};e().then((function(e){return n([["p-ea28e043.system",[[1,"mds-accordion-timer-item",{typography:[1],selected:[516],description:[1],progress:[2],uuid:[2]}]]]],e)}))}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let n,e,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o={},s=n=>"object"==(n=typeof n)||"function"===n;function i(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,e,...t)=>{let l=null,o=!1,i=!1;const c=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&i?c[c.length-1].t+=l:c.push(o?r(null,l):l),i=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=r(n,null);return a.l=e,c.length>0&&(a.o=c),a},r=(n,e)=>({i:0,u:n,t:e,p:null,o:null,l:null}),u={},a=(n,e,t)=>{const l=(n=>W(n).$hostElement$)(n);return{emit:n=>f(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},f=(n,e,t)=>{const l=K.ce(e,t);return n.dispatchEvent(l),l},d=new WeakMap,y=n=>"sc-"+n.m,p=(n,e,t,l,o,i)=>{if(t!==l){let c=_(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=$(t),s=$(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if(c||"o"!==e[0]||"n"!==e[1]){const r=s(l);if((c||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?c=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!c||4&i||o)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else if(e="-"===e[2]?e.slice(3):_(I,r)?r.slice(2):r[2]+e.slice(3),t||l){const o=e.endsWith(h);e=e.replace(b,""),t&&K.rel(n,e,t,o),l&&K.ael(n,e,l,o)}}},m=/\s/,$=n=>n?n.split(m):[],h="Capture",b=RegExp(h+"$"),v=(n,e,t,l)=>{const s=11===e.p.nodeType&&e.p.host?e.p.host:e.p,i=n&&n.l||o,c=e.l||o;for(l in i)l in c||p(s,l,i[l],void 0,t,e.i);for(l in c)p(s,l,i[l],c[l],t,e.i)},w=(e,t,l)=>{const o=t.o[l];let s,i,c=0;if(null!==o.t)s=o.p=J.createTextNode(o.t);else if(s=o.p=J.createElement(o.u),v(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=w(e,o,c),i&&s.appendChild(i);return s},S=(n,t,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=w(null,l,s),c&&(o[s].p=c,r.insertBefore(c,t)))},g=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.p;n&&n.remove()}}},j=(n,e)=>n.u===e.u,M=(n,e)=>{const t=e.p=n.p,l=n.o,o=e.o,s=e.t;null===s?("slot"===e.u||v(n,e,!1),null!==l&&null!==o?((n,e,t,l)=>{let o,s=0,i=0,c=e.length-1,r=e[0],u=e[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=e[++s]:null==u?u=e[--c]:null==f?f=l[++i]:null==d?d=l[--a]:j(r,f)?(M(r,f),r=e[++s],f=l[++i]):j(u,d)?(M(u,d),u=e[--c],d=l[--a]):j(r,d)?(M(r,d),n.insertBefore(r.p,u.p.nextSibling),r=e[++s],d=l[--a]):j(u,f)?(M(u,f),n.insertBefore(u.p,r.p),u=e[--c],f=l[++i]):(o=w(e&&e[i],t,i),f=l[++i],o&&r.p.parentNode.insertBefore(o,r.p));s>c?S(n,null==l[a+1]?null:l[a+1].p,t,l,i,a):i>a&&g(e,s,c)})(t,l,e,o):null!==o?(null!==n.t&&(t.textContent=""),S(t,null,e,o,0,o.length-1)):null!==l&&g(l,0,l.length-1)):n.t!==s&&(t.data=s)},O=(n,e)=>{e&&!n.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.$=e)))},k=(n,e)=>{if(n.i|=16,!(4&n.i))return O(n,n.h),on((()=>C(n,e)));n.i|=512},C=(n,e)=>{const t=n.v;return P(void 0,(()=>E(n,t,e)))},P=(n,e)=>x(n)?n.then(e):e(),x=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,E=async(n,e,t)=>{var o;const s=n.$hostElement$,c=s["s-rc"];t&&(n=>{const e=n.S,t=n.$hostElement$,o=e.i,s=((n,e)=>{var t;const o=y(e),s=G.get(o);if(n=11===n.nodeType?n:J,s)if("string"==typeof s){let c,r=d.get(n=n.head||n);if(r||d.set(n,r=new Set),!r.has(o)){{c=J.createElement("style"),c.innerHTML=s;const e=null!==(t=K.j)&&void 0!==t?t:i(J);null!=e&&c.setAttribute("nonce",e),n.insertBefore(c,n.querySelector("link"))}4&e.i&&(c.innerHTML+=l),r&&r.add(o)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s]);return o})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&o&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(n);A(n,e,s,t),c&&(c.map((n=>n())),s["s-rc"]=void 0);{const e=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>N(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},A=(t,l,o,s)=>{try{l=l.render(),t.i&=-17,t.i|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.S,a=t.M||r(null,null),f=(n=>n&&n.u===u)(l)?l:c(null,null,l);if(e=s.tagName,i.O&&(f.l=f.l||{},i.O.map((([n,e])=>f.l[e]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,t.M=f,f.p=a.p=s.shadowRoot||s,n=s["s-sc"],M(a,f)})(t,l,s)}catch(n){z(n,t.$hostElement$)}return null},N=n=>{const e=n.$hostElement$,t=n.h;64&n.i||(n.i|=64,T(e),n.k(e),t||R()),n.$&&(n.$(),n.$=void 0),512&n.i&&ln((()=>k(n,!1))),n.i&=-517},R=()=>{T(J.documentElement),ln((()=>f(I,"appload",{detail:{namespace:"mds-accordion-timer-item"}})))},T=n=>n.setAttribute("hydrated",""),F=(n,e,t)=>{var l;if(e.C){const o=Object.entries(e.C),i=n.prototype;if(o.map((([n,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(i,n,{get(){return((n,e)=>W(this).P.get(e))(0,n)},set(t){((n,e,t,l)=>{const o=W(n),i=o.P.get(e),c=o.i,r=o.v;t=((n,e)=>null==n||s(n)?n:4&e?"false"!==n&&(""===n||!!n):2&e?parseFloat(n):1&e?n+"":n)(t,l.C[e][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(o.P.set(e,t),r&&2==(18&c)&&k(o,!1))})(this,n,t,e)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;i.attributeChangedCallback=function(n,l,o){K.jmp((()=>{const s=t.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const t=W(this),s=null==t?void 0:t.i;if(!(8&s)&&128&s&&o!==l){const s=t.v,i=e.A[n];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=e.A)&&void 0!==l?l:{}),...o.filter((([n,e])=>15&e[0])).map((([n,l])=>{const o=l[1]||n;return t.set(o,n),512&l[0]&&e.O.push([n,o]),o}))]))}}return n},H=(n,e={})=>{var t;const o=[],s=e.exclude||[],c=I.customElements,r=J.head,u=r.querySelector("meta[charset]"),a=J.createElement("style"),f=[];let d,p=!0;Object.assign(K,e),K.N=new URL(e.resourcesUrl||"./",J.baseURI).href;let m=!1;if(n.map((n=>{n[1].map((e=>{const t={i:e[0],m:e[1],C:e[2],R:e[3]};4&t.i&&(m=!0),t.C=e[2],t.O=[];const l=t.m,i=class extends HTMLElement{constructor(n){super(n),V(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),p?f.push(this):K.jmp((()=>(n=>{if(0==(1&K.i)){const e=W(n),t=e.S,l=()=>{};if(1&e.i)(null==e?void 0:e.v)||(null==e?void 0:e.T)&&e.T.then((()=>{}));else{e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){O(e,e.h=t);break}}t.C&&Object.entries(t.C).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.i)){e.i|=32;{if(l=D(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(F(l,t,2),l.isProxied=!0);const n=()=>{};e.i|=8;try{new l(e)}catch(n){z(n)}e.i&=-9,n()}if(l.style){let n=l.style;const e=y(t);if(!G.has(e)){const l=()=>{};((n,e,t)=>{let l=G.get(n);X&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,G.set(n,l)})(e,n,!!(1&t.i)),l()}}}const o=e.h,s=()=>k(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){K.jmp((()=>(async()=>{if(0==(1&K.i)){const n=W(this);(null==n?void 0:n.v)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return W(this).T}};t.F=n[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,F(i,t,1)))}))})),m&&(a.innerHTML+=l),a.innerHTML+=o+"{visibility:hidden}[hydrated]{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles",""),r.insertBefore(a,u?u.nextSibling:r.firstChild);const n=null!==(t=K.j)&&void 0!==t?t:i(J);null!=n&&a.setAttribute("nonce",n)}p=!1,f.length?f.map((n=>n.connectedCallback())):K.jmp((()=>d=setTimeout(R,30)))},L=n=>K.j=n,U=new WeakMap,W=n=>U.get(n),q=(n,e)=>U.set(e.v=n,e),V=(n,e)=>{const t={i:0,$hostElement$:n,S:e,P:new Map};return t.T=new Promise((n=>t.k=n)),n["s-p"]=[],n["s-rc"]=[],U.set(n,t)},_=(n,e)=>e in n,z=(n,e)=>(0,console.error)(n,e),B=new Map,D=n=>{const e=n.m.replace(/-/g,"_"),t=n.F,l=B.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(B.set(t,n),n[e])),z)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},G=new Map,I="undefined"!=typeof window?window:{},J=I.document||{head:{}},K={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},Q=n=>Promise.resolve(n),X=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),Y=[],Z=[],nn=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&K.i?ln(tn):K.raf(tn))},en=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){z(n)}n.length=0},tn=()=>{en(Y),en(Z),(t=Y.length>0)&&K.raf(tn)},ln=n=>Q().then(n),on=nn(Z,!0);export{u as H,H as b,a as c,c as h,Q as p,q as r,L as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-f8ba50cb.system.js"],(function(o){"use strict";var i,t,r,n;return{setters:[function(o){i=o.r;t=o.c;r=o.h;n=o.H}],execute:function(){var e="@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .focus-bounce{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.focus-bounce--focused,.focus-bounce:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.fixed{position:fixed}.absolute{position:absolute}.contents{display:contents}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-accordion-timer-item-progress-bar-color:var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));--mds-accordion-timer-item-progress-bar-background:var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));--mds-accordion-timer-item-progress-bar-thickness:var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);--mds-accordion-timer-item-duration:var(--mds-accordion-timer-duration, 500ms);padding-top:1rem;padding-bottom:1rem;-webkit-transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;transition-property:background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);color:var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));display:grid;position:relative}.row{gap:1rem;display:-ms-flexbox;display:flex}.accordion{display:grid}.progress-bar{--mds-progress-color:var(--mds-accordion-timer-item-progress-bar-color);--mds-progress-background:var(--mds-accordion-timer-item-progress-bar-background);--mds-progress-thickness:var(--mds-accordion-timer-item-progress-bar-thickness);-ms-flex-negative:0;flex-shrink:0}.action{border-radius:0.75rem;background-color:transparent;border:0;cursor:pointer;padding:0;text-align:left}:host([selected]) .action{cursor:auto}.contents{gap:1rem;-webkit-transition-timing-function:cubic-bezier(1, 0, 0, 1);transition-timing-function:cubic-bezier(1, 0, 0, 1);display:grid;grid-template-rows:0fr;min-height:0;opacity:0;overflow:hidden;padding-top:0;-webkit-transition-duration:var(--mds-accordion-timer-item-duration);transition-duration:var(--mds-accordion-timer-item-duration);-webkit-transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding;transition-property:grid-template-rows opacity padding, -ms-grid-rows opacity padding}.contents-expander{min-height:0}:host([selected]) .contents{padding-top:1rem;opacity:1;grid-template-rows:1fr}";var a=o("mds_accordion_timer_item",function(){function o(o){var r=this;i(this,o);this.clickSelectEvent=t(this,"mdsAccordionTimerItemClickSelect",7);this.selectedMouseEnterEvent=t(this,"mdsAccordionTimerItemMouseEnterSelect",7);this.selectedMouseLeaveEvent=t(this,"mdsAccordionTimerItemMouseLeaveSelect",7);this.toggle=function(){r.selected=!r.selected;r.progress=0;if(r.selected){r.clickSelectEvent.emit({selected:r.selected,uuid:r.uuid})}};this.mouseEnter=function(){if(r.selected){r.selectedMouseEnterEvent.emit({selected:r.selected,uuid:r.uuid})}};this.mouseLeave=function(){if(r.selected){r.selectedMouseLeaveEvent.emit({selected:r.selected,uuid:r.uuid})}};this.typography="h5";this.selected=false;this.description=undefined;this.progress=0;this.uuid=0}o.prototype.render=function(){var o;return r(n,{onMouseEnter:this.mouseEnter,onMouseLeave:this.mouseLeave},r("div",{class:"row"},r("mds-progress",{class:"progress-bar",progress:Number((o=this.progress)===null||o===void 0?void 0:o.toFixed(2)),direction:"vertical"}),r("div",{class:"accordion"},r("button",{"aria-controls":"contents","aria-expanded":this.selected?"true":"false",class:"action focus-bounce",id:"action",onClick:this.toggle,role:"button",tabindex:"0"},r("mds-text",{typography:this.typography},this.description)),r("div",{class:"contents",id:"contents"},r("div",{class:"contents-expander"},r("slot",null))))))};return o}());a.style=e}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(u,f)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(n){return o([r,n])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(f[0]===6&&e.label<a[1]){e.label=a[1];a=f;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(f);break}if(a[2])e.ops.pop();e.trys.pop();continue}f=n.call(r,e)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer-item";var i;var a;var u=false;var f=false;var o=function(r,n){if(n===void 0){n=""}{return function(){return}}};var v=function(r,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c="slot-fb{display:contents}slot-fb[hidden]{display:none}";var s={};var d=function(r){return r!=null};var h=function(r){r=typeof r;return r==="object"||r==="function"};function y(r){var n,e,t;return(t=(e=(n=r.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var p=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}var i=null;var a=false;var u=false;var f=[];var o=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof r!=="function"&&!h(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?w(null,i):i)}u=a}}};o(e);if(n){{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}var l=w(r,null);l.i=n;if(f.length>0){l.u=f}return l}));var w=function(r,n){var e={o:0,v:r,t:n,l:null,u:null};{e.i=null}return e};var b=r("H",{});var m=function(r){return r&&r.v===b};var _=function(r,n){if(r!=null&&!h(r)){if(n&4){return r==="false"?false:r===""||!!r}if(n&2){return parseFloat(r)}if(n&1){return String(r)}return r}return r};var $=function(r){return vr(r).$hostElement$};var S=r("c",(function(r,n,e){var t=$(r);return{emit:function(r){return g(t,n,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:r})}}}));var g=function(r,n,e){var t=mr.ce(n,e);r.dispatchEvent(t);return t};var j=new WeakMap;var A=function(r,n,e){var t=pr.get(r);if($r&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}pr.set(r,t)};var k=function(r,n,e){var t;var i=x(n);var a=pr.get(i);r=r.nodeType===11?r:br;if(a){if(typeof a==="string"){r=r.head||r;var u=j.get(r);var f=void 0;if(!u){j.set(r,u=new Set)}if(!u.has(i)){{f=br.createElement("style");f.innerHTML=a;var o=(t=mr.h)!==null&&t!==void 0?t:y(br);if(o!=null){f.setAttribute("nonce",o)}r.insertBefore(f,r.querySelector("link"))}if(n.o&4){f.innerHTML+=c}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var O=function(r){var n=r.p;var e=r.$hostElement$;var t=n.o;var i=o("attachStyles",n.m);var a=k(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var x=function(r,n){return"sc-"+r.m};var M=function(r,n,e,t,i,a){if(e!==t){var u=sr(r,n);var f=n.toLowerCase();if(n==="class"){var o=r.classList;var v=E(e);var l=E(t);o.remove.apply(o,v.filter((function(r){return r&&!l.includes(r)})));o.add.apply(o,l.filter((function(r){return r&&!v.includes(r)})))}else if(!u&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(sr(wr,f)){n=f.slice(2)}else{n=f[2]+n.slice(3)}if(e||t){var c=n.endsWith(P);n=n.replace(T,"");if(e){mr.rel(r,n,e,c)}if(t){mr.ael(r,n,t,c)}}}else{var s=h(t);if((u||s&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var d=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!=d){r[n]=d}}else{r[n]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!s){t=t===true?"":t;{r.setAttribute(n,t)}}}}};var C=/\s/;var E=function(r){return!r?[]:r.split(C)};var P="Capture";var T=new RegExp(P+"$");var U=function(r,n,e,t){var i=n.l.nodeType===11&&n.l.host?n.l.host:n.l;var a=r&&r.i||s;var u=n.i||s;{for(t in a){if(!(t in u)){M(i,t,a[t],undefined,e,n.o)}}}for(t in u){M(i,t,a[t],u[t],e,n.o)}};var N=function(r,n,e,t){var a=n.u[e];var f=0;var o;var v;if(a.t!==null){o=a.l=br.createTextNode(a.t)}else{o=a.l=br.createElement(a.v);{U(null,a,u)}if(d(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(a.u){for(f=0;f<a.u.length;++f){v=N(r,a,f);if(v){o.appendChild(v)}}}}return o};var F=function(r,n,e,t,i,u){var f=r;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=N(null,e,i);if(o){t[i].l=o;f.insertBefore(o,n)}}}};var H=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.l;if(a){a.remove()}}}};var L=function(r,n,e,t){var i=0;var a=0;var u=n.length-1;var f=n[0];var o=n[u];var v=t.length-1;var l=t[0];var c=t[v];var s;while(i<=u&&a<=v){if(f==null){f=n[++i]}else if(o==null){o=n[--u]}else if(l==null){l=t[++a]}else if(c==null){c=t[--v]}else if(R(f,l)){W(f,l);f=n[++i];l=t[++a]}else if(R(o,c)){W(o,c);o=n[--u];c=t[--v]}else if(R(f,c)){W(f,c);r.insertBefore(f.l,o.l.nextSibling);f=n[++i];c=t[--v]}else if(R(o,l)){W(o,l);r.insertBefore(o.l,f.l);o=n[--u];l=t[++a]}else{{s=N(n&&n[a],e,a);l=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){F(r,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){H(n,i,u)}};var R=function(r,n){if(r.v===n.v){return true}return false};var W=function(r,n){var e=n.l=r.l;var t=r.u;var i=n.u;var a=n.v;var f=n.t;if(f===null){{if(a==="slot");else{U(r,n,u)}}if(t!==null&&i!==null){L(e,t,n,i)}else if(i!==null){if(r.t!==null){e.textContent=""}F(e,null,n,i,0,i.length-1)}else if(t!==null){H(t,0,t.length-1)}}else if(r.t!==f){e.data=f}};var q=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var u=r.p;var f=r._||w(null,null);var o=m(n)?n:p(null,null,n);a=t.tagName;if(u.$){o.i=o.i||{};u.$.map((function(r){var n=r[0],e=r[1];return o.i[e]=t[n]}))}if(e&&o.i){for(var v=0,l=Object.keys(o.i);v<l.length;v++){var c=l[v];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=t[c]}}}o.v=null;o.o|=4;r._=o;o.l=f.l=t.shadowRoot||t;{i=t["s-sc"]}W(f,o)};var G=function(r,n){if(n&&!r.S&&n["s-p"]){n["s-p"].push(new Promise((function(n){return r.S=n})))}};var I=function(r,n){{r.o|=16}if(r.o&4){r.o|=512;return}G(r,r.j);var e=function(){return V(r,n)};return xr(e)};var V=function(r,n){var e=o("scheduleUpdate",r.p.m);var t=r.A;var i;e();return z(i,(function(){return D(r,t,n)}))};var z=function(r,n){return B(r)?r.then(n):n()};var B=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var D=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,f,v,l;return __generator(this,(function(c){i=r.$hostElement$;a=o("update",r.p.m);u=i["s-rc"];if(t){O(r)}f=o("render",r.p.m);{J(r,n,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=undefined}f();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];l=function(){return K(r)};if(v.length===0){l()}else{Promise.all(v).then(l);r.o|=4;v.length=0}}return[2]}))}))};var J=function(r,n,e,t){try{n=n.render();{r.o&=~16}{r.o|=2}{{{q(r,n,t)}}}}catch(n){dr(n,r.$hostElement$)}return null};var K=function(r){var n=r.p.m;var e=r.$hostElement$;var t=o("postUpdate",n);var i=r.j;if(!(r.o&64)){r.o|=64;{X(e)}t();{r.k(e);if(!i){Q()}}}else{t()}{if(r.S){r.S();r.S=undefined}if(r.o&512){Or((function(){return I(r,false)}))}r.o&=~(4|512)}};var Q=function(r){{X(br.documentElement)}Or((function(){return g(wr,"appload",{detail:{namespace:t}})}))};var X=function(r){return r.setAttribute("hydrated","")};var Y=function(r,n){return vr(r).O.get(n)};var Z=function(r,n,e,t){var i=vr(r);var a=i.O.get(n);var u=i.o;var f=i.A;e=_(e,t.M[n][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(n,e);if(f){if((u&(2|16))===2){I(i,false)}}}};var rr=function(r,n,e){var t;if(n.M){var i=Object.entries(n.M);var a=r.prototype;i.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){Object.defineProperty(a,t,{get:function(){return Y(this,t)},set:function(r){Z(this,t,r,n)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;a.attributeChangedCallback=function(r,e,t){var i=this;mr.jmp((function(){var f=u.get(r);if(i.hasOwnProperty(f)){t=i[f];delete i[f]}else if(a.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==t){return}else if(f==null){var o=vr(i);var v=o===null||o===void 0?void 0:o.o;if(!(v&8)&&v&128&&t!==e){var l=o.A;var c=n.C[r];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,e,r)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.C)!==null&&t!==void 0?t:{}),true),i.filter((function(r){var n=r[0],e=r[1];return e[0]&15})).map((function(r){var e=r[0],t=r[1];var i=t[1]||e;u.set(i,e);if(t[0]&512){n.$.push([e,i])}return i})),true)))}}return r};var nr=function(r,n,t,i){return __awaiter(e,void 0,void 0,(function(){var r,e,i,a,u,f,l,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.o&32)===0))return[3,3];n.o|=32;r=yr(t);if(!r.then)return[3,2];e=v();return[4,r];case 1:r=s.sent();e();s.label=2;case 2:if(!r.isProxied){rr(r,t,2);r.isProxied=true}i=o("createInstance",t.m);{n.o|=8}try{new r(n)}catch(r){dr(r)}{n.o&=~8}i();if(r.style){a=r.style;u=x(t);if(!pr.has(u)){f=o("registerStyles",t.m);A(u,a,!!(t.o&1));f()}}s.label=3;case 3:l=n.j;c=function(){return I(n,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var er=function(r){};var tr=function(r){if((mr.o&1)===0){var n=vr(r);var e=n.p;var t=o("connectedCallback",e.m);if(!(n.o&1)){n.o|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){G(n,n.j=i);break}}}if(e.M){Object.entries(e.M).map((function(n){var e=n[0],t=n[1][0];if(t&31&&r.hasOwnProperty(e)){var i=r[e];delete r[e];r[e]=i}}))}{nr(r,n,e)}}else{if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return er()}))}}t()}};var ir=function(r){};var ar=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((mr.o&1)===0){n=vr(r);if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return ir()}))}}return[2]}))}))};var ur=r("b",(function(r,n){if(n===void 0){n={}}var e;var t=o();var i=[];var a=n.exclude||[];var u=wr.customElements;var f=br.head;var v=f.querySelector("meta[charset]");var s=br.createElement("style");var d=[];var h;var p=true;Object.assign(mr,n);mr.T=new URL(n.resourcesUrl||"./",br.baseURI).href;var w=false;r.map((function(r){r[1].map((function(n){var e={o:n[0],m:n[1],M:n[2],U:n[3]};if(e.o&4){w=true}{e.M=n[2]}{e.$=[]}var t=e.m;var f=function(r){__extends(n,r);function n(n){var t=r.call(this,n)||this;n=t;cr(n,e);if(e.o&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var r=this;if(h){clearTimeout(h);h=null}if(p){d.push(this)}else{mr.jmp((function(){return tr(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;mr.jmp((function(){return ar(r)}))};n.prototype.componentOnReady=function(){return vr(this).P};return n}(HTMLElement);e.N=r[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,rr(f,e,1))}}))}));if(w){s.innerHTML+=c}{s.innerHTML+=i+l}if(s.innerHTML.length){s.setAttribute("data-styles","");f.insertBefore(s,v?v.nextSibling:f.firstChild);var b=(e=mr.h)!==null&&e!==void 0?e:y(br);if(b!=null){s.setAttribute("nonce",b)}}p=false;if(d.length){d.map((function(r){return r.connectedCallback()}))}else{{mr.jmp((function(){return h=setTimeout(Q,30)}))}}t()}));var fr=r("s",(function(r){return mr.h=r}));var or=new WeakMap;var vr=function(r){return or.get(r)};var lr=r("r",(function(r,n){return or.set(n.A=r,n)}));var cr=function(r,n){var e={o:0,$hostElement$:r,p:n,O:new Map};{e.P=new Promise((function(r){return e.k=r}));r["s-p"]=[];r["s-rc"]=[]}return or.set(r,e)};var sr=function(r,n){return n in r};var dr=function(r,n){return(0,console.error)(r,n)};var hr=new Map;var yr=function(r,e,t){var i=r.m.replace(/-/g,"_");var a=r.N;var u=hr.get(a);if(u){return u[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{hr.set(a,r)}return r[i]}),dr)};var pr=new Map;var wr=typeof window!=="undefined"?window:{};var br=wr.document||{head:{}};var mr={o:0,T:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var _r=r("p",(function(r){return Promise.resolve(r)}));var $r=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var Sr=[];var gr=[];var jr=function(r,n){return function(e){r.push(e);if(!f){f=true;if(n&&mr.o&4){Or(kr)}else{mr.raf(kr)}}}};var Ar=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){dr(r)}}r.length=0};var kr=function(){Ar(Sr);{Ar(gr);if(f=Sr.length>0){mr.raf(kr)}}};var Or=function(r){return _r().then(r)};var xr=jr(gr,true)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,n,r,t){function i(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{s(t.next(e))}catch(e){a(e)}}function u(e){try{s(t["throw"](e))}catch(e){a(e)}}function s(e){e.done?r(e.value):i(e.value).then(o,u)}s((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return s([e,n])}}function s(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1];a=u;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(u);break}if(a[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}catch(e){u=[6,e];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,r){if(r||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return e.concat(a||Array.prototype.slice.call(n))};var NAMESPACE="mds-accordion-timer-item";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var createTime=function(e,n){if(n===void 0){n=""}{return function(){return}}};var uniqueTime=function(e,n){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var n,r,t;return(t=(r=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=function(e,n){var r=[];for(var t=2;t<arguments.length;t++){r[t-2]=arguments[t]}var i=null;var a=false;var o=false;var u=[];var s=function(n){for(var r=0;r<n.length;r++){i=n[r];if(Array.isArray(i)){s(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(a&&o){u[u.length-1].t+=i}else{u.push(a?newVNode(null,i):i)}o=a}}};s(r);if(n){{var f=n.className||n.class;if(f){n.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var l=newVNode(e,null);l.i=n;if(u.length>0){l.o=u}return l};var newVNode=function(e,n){var r={u:0,l:e,t:n,v:null,o:null};{r.i=null}return r};var Host={};var isHost=function(e){return e&&e.l===Host};var parsePropertyValue=function(e,n){if(e!=null&&!isComplexType(e)){if(n&4){return e==="false"?false:e===""||!!e}if(n&2){return parseFloat(e)}if(n&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,n,r){var t=getElement(e);return{emit:function(e){return emitEvent(t,n,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,n,r){var t=plt.ce(n,r);e.dispatchEvent(t);return t};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,n,r){var t=styles.get(e);if(supportsConstructableStylesheets&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}styles.set(e,t)};var addStyle=function(e,n,r){var t;var i=getScopeId(n);var a=styles.get(i);e=e.nodeType===11?e:doc;if(a){if(typeof a==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var u=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(i)){{u=doc.createElement("style");u.innerHTML=a;var s=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(s!=null){u.setAttribute("nonce",s)}e.insertBefore(u,e.querySelector("link"))}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var attachStyles=function(e){var n=e.m;var r=e.$hostElement$;var t=n.u;var i=createTime("attachStyles",n.h);var a=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=a;r.classList.add(a+"-h")}i()};var getScopeId=function(e,n){return"sc-"+e.h};var setAccessor=function(e,n,r,t,i,a){if(r!==t){var o=isMemberInElement(e,n);var u=n.toLowerCase();if(n==="class"){var s=e.classList;var f=parseClassList(r);var l=parseClassList(t);s.remove.apply(s,f.filter((function(e){return e&&!l.includes(e)})));s.add.apply(s,l.filter((function(e){return e&&!f.includes(e)})))}else if(!o&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(isMemberInElement(win,u)){n=u.slice(2)}else{n=u[2]+n.slice(3)}if(r||t){var c=n.endsWith(CAPTURE_EVENT_SUFFIX);n=n.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,n,r,c)}if(t){plt.ael(e,n,t,c)}}}else{var v=isComplexType(t);if((o||v&&t!==null)&&!i){try{if(!e.tagName.includes("-")){var d=t==null?"":t;if(n==="list"){o=false}else if(r==null||e[n]!=d){e[n]=d}}else{e[n]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(n)===""){{e.removeAttribute(n)}}}else if((!o||a&4||i)&&!v){t=t===true?"":t;{e.setAttribute(n,t)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,n,r,t){var i=n.v.nodeType===11&&n.v.host?n.v.host:n.v;var a=e&&e.i||EMPTY_OBJ;var o=n.i||EMPTY_OBJ;{for(t in a){if(!(t in o)){setAccessor(i,t,a[t],undefined,r,n.u)}}}for(t in o){setAccessor(i,t,a[t],o[t],r,n.u)}};var createElm=function(e,n,r,t){var i=n.o[r];var a=0;var o;var u;if(i.t!==null){o=i.v=doc.createTextNode(i.t)}else{o=i.v=doc.createElement(i.l);{updateElement(null,i,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(i.o){for(a=0;a<i.o.length;++a){u=createElm(e,i,a);if(u){o.appendChild(u)}}}}return o};var addVnodes=function(e,n,r,t,i,a){var o=e;var u;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){u=createElm(null,r,i);if(u){t[i].v=u;o.insertBefore(u,n)}}}};var removeVnodes=function(e,n,r){for(var t=n;t<=r;++t){var i=e[t];if(i){var a=i.v;if(a){a.remove()}}}};var updateChildren=function(e,n,r,t){var i=0;var a=0;var o=n.length-1;var u=n[0];var s=n[o];var f=t.length-1;var l=t[0];var c=t[f];var v;while(i<=o&&a<=f){if(u==null){u=n[++i]}else if(s==null){s=n[--o]}else if(l==null){l=t[++a]}else if(c==null){c=t[--f]}else if(isSameVnode(u,l)){patch(u,l);u=n[++i];l=t[++a]}else if(isSameVnode(s,c)){patch(s,c);s=n[--o];c=t[--f]}else if(isSameVnode(u,c)){patch(u,c);e.insertBefore(u.v,s.v.nextSibling);u=n[++i];c=t[--f]}else if(isSameVnode(s,l)){patch(s,l);e.insertBefore(s.v,u.v);s=n[--o];l=t[++a]}else{{v=createElm(n&&n[a],r,a);l=t[++a]}if(v){{u.v.parentNode.insertBefore(v,u.v)}}}}if(i>o){addVnodes(e,t[f+1]==null?null:t[f+1].v,r,t,a,f)}else if(a>f){removeVnodes(n,i,o)}};var isSameVnode=function(e,n){if(e.l===n.l){return true}return false};var patch=function(e,n){var r=n.v=e.v;var t=e.o;var i=n.o;var a=n.l;var o=n.t;if(o===null){{if(a==="slot");else{updateElement(e,n,isSvgMode)}}if(t!==null&&i!==null){updateChildren(r,t,n,i)}else if(i!==null){if(e.t!==null){r.textContent=""}addVnodes(r,null,n,i,0,i.length-1)}else if(t!==null){removeVnodes(t,0,t.length-1)}}else if(e.t!==o){r.data=o}};var renderVdom=function(e,n,r){if(r===void 0){r=false}var t=e.$hostElement$;var i=e.m;var a=e.T||newVNode(null,null);var o=isHost(n)?n:h(null,null,n);hostTagName=t.tagName;if(i.S){o.i=o.i||{};i.S.map((function(e){var n=e[0],r=e[1];return o.i[r]=t[n]}))}if(r&&o.i){for(var u=0,s=Object.keys(o.i);u<s.length;u++){var f=s[u];if(t.hasAttribute(f)&&!["key","ref","style","class"].includes(f)){o.i[f]=t[f]}}}o.l=null;o.u|=4;e.T=o;o.v=a.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(a,o)};var attachToAncestor=function(e,n){if(n&&!e._&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e._=n})))}};var scheduleUpdate=function(e,n){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e.C);var r=function(){return dispatchHooks(e,n)};return writeTask(r)};var dispatchHooks=function(e,n){var r=createTime("scheduleUpdate",e.m.h);var t=e.R;var i;r();return enqueue(i,(function(){return updateComponent(e,t,n)}))};var enqueue=function(e,n){return isPromisey(e)?e.then(n):n()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,n,r){return __awaiter(void 0,void 0,void 0,(function(){var t,i,a,o,u,s,f;return __generator(this,(function(l){i=e.$hostElement$;a=createTime("update",e.m.h);o=i["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=undefined}u();a();{s=(t=i["s-p"])!==null&&t!==void 0?t:[];f=function(){return postUpdateComponent(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.u|=4;s.length=0}}return[2]}))}))};var callRender=function(e,n,r,t){try{n=n.render();{e.u&=~16}{e.u|=2}{{{renderVdom(e,n,t)}}}}catch(n){consoleError(n,e.$hostElement$)}return null};var postUpdateComponent=function(e){var n=e.m.h;var r=e.$hostElement$;var t=createTime("postUpdate",n);var i=e.C;if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}t();{e.A(r);if(!i){appDidLoad()}}}else{t()}{if(e._){e._();e._=undefined}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,n){return getHostRef(e).$.get(n)};var setValue=function(e,n,r,t){var i=getHostRef(e);var a=i.$.get(n);var o=i.u;var u=i.R;r=parsePropertyValue(r,t.V[n][0]);var s=Number.isNaN(a)&&Number.isNaN(r);var f=r!==a&&!s;if((!(o&8)||a===undefined)&&f){i.$.set(n,r);if(u){if((o&(2|16))===2){scheduleUpdate(i,false)}}}};var proxyComponent=function(e,n,r){var t;if(n.V){var i=Object.entries(n.V);var a=e.prototype;i.map((function(e){var t=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,t,{get:function(){return getValue(this,t)},set:function(e){setValue(this,t,e,n)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,t){var i=this;plt.jmp((function(){var u=o.get(e);if(i.hasOwnProperty(u)){t=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==t){return}else if(u==null){var s=getHostRef(i);var f=s===null||s===void 0?void 0:s.u;if(!(f&8)&&f&128&&t!==r){var l=s.R;var c=n.M[e];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,r,e)}}))}return}i[u]=t===null&&typeof i[u]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.M)!==null&&t!==void 0?t:{}),true),i.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],t=e[1];var i=t[1]||r;o.set(i,r);if(t[0]&512){n.S.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,n,r,t){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,a,o,u,s,f;return __generator(this,(function(l){switch(l.label){case 0:if(!((n.u&32)===0))return[3,3];n.u|=32;e=loadModule(r);if(!e.then)return[3,2];t=uniqueTime();return[4,e];case 1:e=l.sent();t();l.label=2;case 2:if(!e.isProxied){proxyComponent(e,r,2);e.isProxied=true}i=createTime("createInstance",r.h);{n.u|=8}try{new e(n)}catch(e){consoleError(e)}{n.u&=~8}i();if(e.style){a=e.style;o=getScopeId(r);if(!styles.has(o)){u=createTime("registerStyles",r.h);registerStyle(o,a,!!(r.u&1));u()}}l.label=3;case 3:s=n.C;f=function(){return scheduleUpdate(n,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var n=getHostRef(e);var r=n.m;var t=createTime("connectedCallback",r.h);if(!(n.u&1)){n.u|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(n,n.C=i);break}}}if(r.V){Object.entries(r.V).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,n,r)}}else{if(n===null||n===void 0?void 0:n.R);else if(n===null||n===void 0?void 0:n.k){n.k.then((function(){return fireConnectedCallback()}))}}t()}};var disconnectInstance=function(e){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n;return __generator(this,(function(r){if((plt.u&1)===0){n=getHostRef(e);if(n===null||n===void 0?void 0:n.R);else if(n===null||n===void 0?void 0:n.k){n.k.then((function(){return disconnectInstance()}))}}return[2]}))}))};var bootstrapLazy=function(e,n){if(n===void 0){n={}}var r;var t=createTime();var i=[];var a=n.exclude||[];var o=win.customElements;var u=doc.head;var s=u.querySelector("meta[charset]");var f=doc.createElement("style");var l=[];var c;var v=true;Object.assign(plt,n);plt.H=new URL(n.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(n){var r={u:n[0],h:n[1],V:n[2],P:n[3]};{r.V=n[2]}{r.S=[]}var t=r.h;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;registerHost(n,r);if(r.u&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(v){l.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};n.prototype.componentOnReady=function(){return getHostRef(this).k};return n}(HTMLElement);r.N=e[0];if(!a.includes(t)&&!o.get(t)){i.push(t);o.define(t,proxyComponent(u,r,1))}}))}));{f.innerHTML=i+HYDRATED_CSS;f.setAttribute("data-styles","");var d=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(d!=null){f.setAttribute("nonce",d)}u.insertBefore(f,s?s.nextSibling:u.firstChild)}v=false;if(l.length){l.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}t()};var setNonce=function(e){return plt.p=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,n){return hostRefs.set(n.R=e,n)};var registerHost=function(e,n){var r={u:0,$hostElement$:e,m:n,$:new Map};{r.k=new Promise((function(e){return r.A=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,r)};var isMemberInElement=function(e,n){return n in e};var consoleError=function(e,n){return(0,console.error)(e,n)};var cmpModules=new Map;var loadModule=function(e,n,r){var t=e.h.replace(/-/g,"_");var i=e.N;var a=cmpModules.get(i);if(a){return a[t]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(i,e);return e[t]};switch(i){case"mds-accordion-timer-item":return import("./mds-accordion-timer-item.entry.js").then(o,consoleError)}}return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[t]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={u:0,H:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,r,t){return e.addEventListener(n,r,t)},rel:function(e,n,r,t){return e.removeEventListener(n,r,t)},ce:function(e,n){return new CustomEvent(e,n)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,n){return function(r){e.push(r);if(!queuePending){queuePending=true;if(n&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,createEvent as c,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(u,f)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(n){return o([r,n])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(f[0]===6&&e.label<a[1]){e.label=a[1];a=f;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(f);break}if(a[2])e.ops.pop();e.trys.pop();continue}f=n.call(r,e)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer-item";var i;var a;var u=false;var f=false;var o=function(r,n){if(n===void 0){n=""}{return function(){return}}};var v=function(r,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var s=function(r){return r!=null};var d=function(r){r=typeof r;return r==="object"||r==="function"};function h(r){var n,e,t;return(t=(e=(n=r.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var y=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}var i=null;var a=false;var u=false;var f=[];var o=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof r!=="function"&&!d(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?p(null,i):i)}u=a}}};o(e);if(n){{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}var l=p(r,null);l.i=n;if(f.length>0){l.u=f}return l}));var p=function(r,n){var e={o:0,v:r,t:n,l:null,u:null};{e.i=null}return e};var w=r("H",{});var m=function(r){return r&&r.v===w};var b=function(r,n){if(r!=null&&!d(r)){if(n&4){return r==="false"?false:r===""||!!r}if(n&2){return parseFloat(r)}if(n&1){return String(r)}return r}return r};var _=function(r){return or(r).$hostElement$};var $=r("c",(function(r,n,e){var t=_(r);return{emit:function(r){return S(t,n,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:r})}}}));var S=function(r,n,e){var t=mr.ce(n,e);r.dispatchEvent(t);return t};var g=new WeakMap;var j=function(r,n,e){var t=yr.get(r);if(_r&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}yr.set(r,t)};var A=function(r,n,e){var t;var i=O(n);var a=yr.get(i);r=r.nodeType===11?r:wr;if(a){if(typeof a==="string"){r=r.head||r;var u=g.get(r);var f=void 0;if(!u){g.set(r,u=new Set)}if(!u.has(i)){{f=wr.createElement("style");f.innerHTML=a;var o=(t=mr.h)!==null&&t!==void 0?t:h(wr);if(o!=null){f.setAttribute("nonce",o)}r.insertBefore(f,r.querySelector("link"))}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var k=function(r){var n=r.p;var e=r.$hostElement$;var t=n.o;var i=o("attachStyles",n.m);var a=A(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var O=function(r,n){return"sc-"+r.m};var x=function(r,n,e,t,i,a){if(e!==t){var u=cr(r,n);var f=n.toLowerCase();if(n==="class"){var o=r.classList;var v=C(e);var l=C(t);o.remove.apply(o,v.filter((function(r){return r&&!l.includes(r)})));o.add.apply(o,l.filter((function(r){return r&&!v.includes(r)})))}else if(!u&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(cr(pr,f)){n=f.slice(2)}else{n=f[2]+n.slice(3)}if(e||t){var c=n.endsWith(E);n=n.replace(P,"");if(e){mr.rel(r,n,e,c)}if(t){mr.ael(r,n,t,c)}}}else{var s=d(t);if((u||s&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var h=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!=h){r[n]=h}}else{r[n]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!s){t=t===true?"":t;{r.setAttribute(n,t)}}}}};var M=/\s/;var C=function(r){return!r?[]:r.split(M)};var E="Capture";var P=new RegExp(E+"$");var T=function(r,n,e,t){var i=n.l.nodeType===11&&n.l.host?n.l.host:n.l;var a=r&&r.i||c;var u=n.i||c;{for(t in a){if(!(t in u)){x(i,t,a[t],undefined,e,n.o)}}}for(t in u){x(i,t,a[t],u[t],e,n.o)}};var U=function(r,n,e,t){var a=n.u[e];var f=0;var o;var v;if(a.t!==null){o=a.l=wr.createTextNode(a.t)}else{o=a.l=wr.createElement(a.v);{T(null,a,u)}if(s(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(a.u){for(f=0;f<a.u.length;++f){v=U(r,a,f);if(v){o.appendChild(v)}}}}return o};var N=function(r,n,e,t,i,u){var f=r;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=U(null,e,i);if(o){t[i].l=o;f.insertBefore(o,n)}}}};var F=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.l;if(a){a.remove()}}}};var H=function(r,n,e,t){var i=0;var a=0;var u=n.length-1;var f=n[0];var o=n[u];var v=t.length-1;var l=t[0];var c=t[v];var s;while(i<=u&&a<=v){if(f==null){f=n[++i]}else if(o==null){o=n[--u]}else if(l==null){l=t[++a]}else if(c==null){c=t[--v]}else if(L(f,l)){R(f,l);f=n[++i];l=t[++a]}else if(L(o,c)){R(o,c);o=n[--u];c=t[--v]}else if(L(f,c)){R(f,c);r.insertBefore(f.l,o.l.nextSibling);f=n[++i];c=t[--v]}else if(L(o,l)){R(o,l);r.insertBefore(o.l,f.l);o=n[--u];l=t[++a]}else{{s=U(n&&n[a],e,a);l=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){N(r,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){F(n,i,u)}};var L=function(r,n){if(r.v===n.v){return true}return false};var R=function(r,n){var e=n.l=r.l;var t=r.u;var i=n.u;var a=n.v;var f=n.t;if(f===null){{if(a==="slot");else{T(r,n,u)}}if(t!==null&&i!==null){H(e,t,n,i)}else if(i!==null){if(r.t!==null){e.textContent=""}N(e,null,n,i,0,i.length-1)}else if(t!==null){F(t,0,t.length-1)}}else if(r.t!==f){e.data=f}};var W=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var u=r.p;var f=r._||p(null,null);var o=m(n)?n:y(null,null,n);a=t.tagName;if(u.$){o.i=o.i||{};u.$.map((function(r){var n=r[0],e=r[1];return o.i[e]=t[n]}))}if(e&&o.i){for(var v=0,l=Object.keys(o.i);v<l.length;v++){var c=l[v];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=t[c]}}}o.v=null;o.o|=4;r._=o;o.l=f.l=t.shadowRoot||t;{i=t["s-sc"]}R(f,o)};var q=function(r,n){if(n&&!r.S&&n["s-p"]){n["s-p"].push(new Promise((function(n){return r.S=n})))}};var G=function(r,n){{r.o|=16}if(r.o&4){r.o|=512;return}q(r,r.j);var e=function(){return I(r,n)};return Or(e)};var I=function(r,n){var e=o("scheduleUpdate",r.p.m);var t=r.A;var i;e();return V(i,(function(){return B(r,t,n)}))};var V=function(r,n){return z(r)?r.then(n):n()};var z=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var B=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,f,v,l;return __generator(this,(function(c){i=r.$hostElement$;a=o("update",r.p.m);u=i["s-rc"];if(t){k(r)}f=o("render",r.p.m);{D(r,n,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=undefined}f();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];l=function(){return J(r)};if(v.length===0){l()}else{Promise.all(v).then(l);r.o|=4;v.length=0}}return[2]}))}))};var D=function(r,n,e,t){try{n=n.render();{r.o&=~16}{r.o|=2}{{{W(r,n,t)}}}}catch(n){sr(n,r.$hostElement$)}return null};var J=function(r){var n=r.p.m;var e=r.$hostElement$;var t=o("postUpdate",n);var i=r.j;if(!(r.o&64)){r.o|=64;{Q(e)}t();{r.k(e);if(!i){K()}}}else{t()}{if(r.S){r.S();r.S=undefined}if(r.o&512){kr((function(){return G(r,false)}))}r.o&=~(4|512)}};var K=function(r){{Q(wr.documentElement)}kr((function(){return S(pr,"appload",{detail:{namespace:t}})}))};var Q=function(r){return r.setAttribute("hydrated","")};var X=function(r,n){return or(r).O.get(n)};var Y=function(r,n,e,t){var i=or(r);var a=i.O.get(n);var u=i.o;var f=i.A;e=b(e,t.M[n][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(n,e);if(f){if((u&(2|16))===2){G(i,false)}}}};var Z=function(r,n,e){var t;if(n.M){var i=Object.entries(n.M);var a=r.prototype;i.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){Object.defineProperty(a,t,{get:function(){return X(this,t)},set:function(r){Y(this,t,r,n)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;a.attributeChangedCallback=function(r,e,t){var i=this;mr.jmp((function(){var f=u.get(r);if(i.hasOwnProperty(f)){t=i[f];delete i[f]}else if(a.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==t){return}else if(f==null){var o=or(i);var v=o===null||o===void 0?void 0:o.o;if(!(v&8)&&v&128&&t!==e){var l=o.A;var c=n.C[r];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,e,r)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.C)!==null&&t!==void 0?t:{}),true),i.filter((function(r){var n=r[0],e=r[1];return e[0]&15})).map((function(r){var e=r[0],t=r[1];var i=t[1]||e;u.set(i,e);if(t[0]&512){n.$.push([e,i])}return i})),true)))}}return r};var rr=function(r,n,t,i){return __awaiter(e,void 0,void 0,(function(){var r,e,i,a,u,f,l,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.o&32)===0))return[3,3];n.o|=32;r=hr(t);if(!r.then)return[3,2];e=v();return[4,r];case 1:r=s.sent();e();s.label=2;case 2:if(!r.isProxied){Z(r,t,2);r.isProxied=true}i=o("createInstance",t.m);{n.o|=8}try{new r(n)}catch(r){sr(r)}{n.o&=~8}i();if(r.style){a=r.style;u=O(t);if(!yr.has(u)){f=o("registerStyles",t.m);j(u,a,!!(t.o&1));f()}}s.label=3;case 3:l=n.j;c=function(){return G(n,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var nr=function(r){};var er=function(r){if((mr.o&1)===0){var n=or(r);var e=n.p;var t=o("connectedCallback",e.m);if(!(n.o&1)){n.o|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){q(n,n.j=i);break}}}if(e.M){Object.entries(e.M).map((function(n){var e=n[0],t=n[1][0];if(t&31&&r.hasOwnProperty(e)){var i=r[e];delete r[e];r[e]=i}}))}{rr(r,n,e)}}else{if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return nr()}))}}t()}};var tr=function(r){};var ir=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((mr.o&1)===0){n=or(r);if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return tr()}))}}return[2]}))}))};var ar=r("b",(function(r,n){if(n===void 0){n={}}var e;var t=o();var i=[];var a=n.exclude||[];var u=pr.customElements;var f=wr.head;var v=f.querySelector("meta[charset]");var c=wr.createElement("style");var s=[];var d;var y=true;Object.assign(mr,n);mr.T=new URL(n.resourcesUrl||"./",wr.baseURI).href;r.map((function(r){r[1].map((function(n){var e={o:n[0],m:n[1],M:n[2],U:n[3]};{e.M=n[2]}{e.$=[]}var t=e.m;var f=function(r){__extends(n,r);function n(n){var t=r.call(this,n)||this;n=t;lr(n,e);if(e.o&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var r=this;if(d){clearTimeout(d);d=null}if(y){s.push(this)}else{mr.jmp((function(){return er(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;mr.jmp((function(){return ir(r)}))};n.prototype.componentOnReady=function(){return or(this).P};return n}(HTMLElement);e.N=r[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,Z(f,e,1))}}))}));{c.innerHTML=i+l;c.setAttribute("data-styles","");var p=(e=mr.h)!==null&&e!==void 0?e:h(wr);if(p!=null){c.setAttribute("nonce",p)}f.insertBefore(c,v?v.nextSibling:f.firstChild)}y=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{mr.jmp((function(){return d=setTimeout(K,30)}))}}t()}));var ur=r("s",(function(r){return mr.h=r}));var fr=new WeakMap;var or=function(r){return fr.get(r)};var vr=r("r",(function(r,n){return fr.set(n.A=r,n)}));var lr=function(r,n){var e={o:0,$hostElement$:r,p:n,O:new Map};{e.P=new Promise((function(r){return e.k=r}));r["s-p"]=[];r["s-rc"]=[]}return fr.set(r,e)};var cr=function(r,n){return n in r};var sr=function(r,n){return(0,console.error)(r,n)};var dr=new Map;var hr=function(r,e,t){var i=r.m.replace(/-/g,"_");var a=r.N;var u=dr.get(a);if(u){return u[i]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{dr.set(a,r)}return r[i]}),sr)};var yr=new Map;var pr=typeof window!=="undefined"?window:{};var wr=pr.document||{head:{}};var mr={o:0,T:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var br=r("p",(function(r){return Promise.resolve(r)}));var _r=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var $r=[];var Sr=[];var gr=function(r,n){return function(e){r.push(e);if(!f){f=true;if(n&&mr.o&4){kr(Ar)}else{mr.raf(Ar)}}}};var jr=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){sr(r)}}r.length=0};var Ar=function(){jr($r);{jr(Sr);if(f=$r.length>0){mr.raf(Ar)}}};var kr=function(r){return br().then(r)};var Or=gr(Sr,true)}}}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let n,e,t=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,e,...t)=>{let l=null,s=!1,i=!1;const r=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=c(n,null);return a.l=e,r.length>0&&(a.o=r),a},c=(n,e)=>({i:0,u:n,t:e,m:null,o:null,l:null}),r={},u=(n,e,t)=>{const l=(n=>U(n).$hostElement$)(n);return{emit:n=>a(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},a=(n,e,t)=>{const l=J.ce(e,t);return n.dispatchEvent(l),l},f=new WeakMap,d=n=>"sc-"+n.p,m=(n,e,t,l,s,i)=>{if(t!==l){let c=V(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=p(t),s=p(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if(c||"o"!==e[0]||"n"!==e[1]){const r=o(l);if((c||r&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?c=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!c||4&i||s)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else if(e="-"===e[2]?e.slice(3):V(G,r)?r.slice(2):r[2]+e.slice(3),t||l){const o=e.endsWith($);e=e.replace(h,""),t&&J.rel(n,e,t,o),l&&J.ael(n,e,l,o)}}},y=/\s/,p=n=>n?n.split(y):[],$="Capture",h=RegExp($+"$"),v=(n,e,t,o)=>{const s=11===e.m.nodeType&&e.m.host?e.m.host:e.m,i=n&&n.l||l,c=e.l||l;for(o in i)o in c||m(s,o,i[o],void 0,t,e.i);for(o in c)m(s,o,i[o],c[o],t,e.i)},b=(e,t,l)=>{const o=t.o[l];let s,i,c=0;if(null!==o.t)s=o.m=I.createTextNode(o.t);else if(s=o.m=I.createElement(o.u),v(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=b(e,o,c),i&&s.appendChild(i);return s},w=(n,t,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=b(null,l,s),c&&(o[s].m=c,r.insertBefore(c,t)))},S=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.m;n&&n.remove()}}},g=(n,e)=>n.u===e.u,j=(n,e)=>{const t=e.m=n.m,l=n.o,o=e.o,s=e.t;null===s?("slot"===e.u||v(n,e,!1),null!==l&&null!==o?((n,e,t,l)=>{let o,s=0,i=0,c=e.length-1,r=e[0],u=e[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=e[++s]:null==u?u=e[--c]:null==f?f=l[++i]:null==d?d=l[--a]:g(r,f)?(j(r,f),r=e[++s],f=l[++i]):g(u,d)?(j(u,d),u=e[--c],d=l[--a]):g(r,d)?(j(r,d),n.insertBefore(r.m,u.m.nextSibling),r=e[++s],d=l[--a]):g(u,f)?(j(u,f),n.insertBefore(u.m,r.m),u=e[--c],f=l[++i]):(o=b(e&&e[i],t,i),f=l[++i],o&&r.m.parentNode.insertBefore(o,r.m));s>c?w(n,null==l[a+1]?null:l[a+1].m,t,l,i,a):i>a&&S(e,s,c)})(t,l,e,o):null!==o?(null!==n.t&&(t.textContent=""),w(t,null,e,o,0,o.length-1)):null!==l&&S(l,0,l.length-1)):n.t!==s&&(t.data=s)},M=(n,e)=>{e&&!n.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.$=e)))},O=(n,e)=>{if(n.i|=16,!(4&n.i))return M(n,n.h),ln((()=>k(n,e)));n.i|=512},k=(n,e)=>{const t=n.v;return C(void 0,(()=>x(n,t,e)))},C=(n,e)=>P(n)?n.then(e):e(),P=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,x=async(n,e,t)=>{var l;const o=n.$hostElement$,i=o["s-rc"];t&&(n=>{const e=n.S,t=n.$hostElement$,l=e.i,o=((n,e)=>{var t;const l=d(e),o=D.get(l);if(n=11===n.nodeType?n:I,o)if("string"==typeof o){let e,i=f.get(n=n.head||n);if(i||f.set(n,i=new Set),!i.has(l)){{e=I.createElement("style"),e.innerHTML=o;const l=null!==(t=J.j)&&void 0!==t?t:s(I);null!=l&&e.setAttribute("nonce",l),n.insertBefore(e,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(n);E(n,e,o,t),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const e=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>A(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},E=(t,l,o,s)=>{try{l=l.render(),t.i&=-17,t.i|=2,((t,l,o=!1)=>{const s=t.$hostElement$,u=t.S,a=t.M||c(null,null),f=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(e=s.tagName,u.O&&(f.l=f.l||{},u.O.map((([n,e])=>f.l[e]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,t.M=f,f.m=a.m=s.shadowRoot||s,n=s["s-sc"],j(a,f)})(t,l,s)}catch(n){_(n,t.$hostElement$)}return null},A=n=>{const e=n.$hostElement$,t=n.h;64&n.i||(n.i|=64,R(e),n.k(e),t||N()),n.$&&(n.$(),n.$=void 0),512&n.i&&tn((()=>O(n,!1))),n.i&=-517},N=()=>{R(I.documentElement),tn((()=>a(G,"appload",{detail:{namespace:"mds-accordion-timer-item"}})))},R=n=>n.setAttribute("hydrated",""),T=(n,e,t)=>{var l;if(e.C){const s=Object.entries(e.C),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(i,n,{get(){return((n,e)=>U(this).P.get(e))(0,n)},set(t){((n,e,t,l)=>{const s=U(n),i=s.P.get(e),c=s.i,r=s.v;t=((n,e)=>null==n||o(n)?n:4&e?"false"!==n&&(""===n||!!n):2&e?parseFloat(n):1&e?n+"":n)(t,l.C[e][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(s.P.set(e,t),r&&2==(18&c)&&O(s,!1))})(this,n,t,e)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;i.attributeChangedCallback=function(n,l,o){J.jmp((()=>{const s=t.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const t=U(this),s=null==t?void 0:t.i;if(!(8&s)&&128&s&&o!==l){const s=t.v,i=e.A[n];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=e.A)&&void 0!==l?l:{}),...s.filter((([n,e])=>15&e[0])).map((([n,l])=>{const o=l[1]||n;return t.set(o,n),512&l[0]&&e.O.push([n,o]),o}))]))}}return n},F=(n,e={})=>{var t;const l=[],o=e.exclude||[],i=G.customElements,c=I.head,r=c.querySelector("meta[charset]"),u=I.createElement("style"),a=[];let f,m=!0;Object.assign(J,e),J.N=new URL(e.resourcesUrl||"./",I.baseURI).href,n.map((n=>{n[1].map((e=>{const t={i:e[0],p:e[1],C:e[2],R:e[3]};t.C=e[2],t.O=[];const s=t.p,c=class extends HTMLElement{constructor(n){super(n),q(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),m?a.push(this):J.jmp((()=>(n=>{if(0==(1&J.i)){const e=U(n),t=e.S,l=()=>{};if(1&e.i)(null==e?void 0:e.v)||(null==e?void 0:e.T)&&e.T.then((()=>{}));else{e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){M(e,e.h=t);break}}t.C&&Object.entries(t.C).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.i)){e.i|=32;{if(l=B(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(T(l,t,2),l.isProxied=!0);const n=()=>{};e.i|=8;try{new l(e)}catch(n){_(n)}e.i&=-9,n()}if(l.style){let n=l.style;const e=d(t);if(!D.has(e)){const l=()=>{};((n,e,t)=>{let l=D.get(n);Q&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,D.set(n,l)})(e,n,!!(1&t.i)),l()}}}const o=e.h,s=()=>O(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(0==(1&J.i)){const n=U(this);(null==n?void 0:n.v)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return U(this).T}};t.F=n[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,T(c,t,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(t=J.j)&&void 0!==t?t:s(I);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}m=!1,a.length?a.map((n=>n.connectedCallback())):J.jmp((()=>f=setTimeout(N,30)))},H=n=>J.j=n,L=new WeakMap,U=n=>L.get(n),W=(n,e)=>L.set(e.v=n,e),q=(n,e)=>{const t={i:0,$hostElement$:n,S:e,P:new Map};return t.T=new Promise((n=>t.k=n)),n["s-p"]=[],n["s-rc"]=[],L.set(n,t)},V=(n,e)=>e in n,_=(n,e)=>(0,console.error)(n,e),z=new Map,B=n=>{const e=n.p.replace(/-/g,"_"),t=n.F,l=z.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(z.set(t,n),n[e])),_)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},D=new Map,G="undefined"!=typeof window?window:{},I=G.document||{head:{}},J={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},K=n=>Promise.resolve(n),Q=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),X=[],Y=[],Z=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&J.i?tn(en):J.raf(en))},nn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){_(n)}n.length=0},en=()=>{nn(X),nn(Y),(t=X.length>0)&&J.raf(en)},tn=n=>K().then(n),ln=Z(Y,!0);export{r as H,F as b,u as c,i as h,K as p,W as r,H as s}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(u,f)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(n){return o([r,n])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(f[0]===6&&e.label<a[1]){e.label=a[1];a=f;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(f);break}if(a[2])e.ops.pop();e.trys.pop();continue}f=n.call(r,e)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="mds-accordion-timer-item";var i;var a;var u=false;var f=false;var o=function(r,n){if(n===void 0){n=""}{return function(){return}}};var v=function(r,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c={};var s=function(r){return r!=null};var d=function(r){r=typeof r;return r==="object"||r==="function"};function h(r){var n,e,t;return(t=(e=(n=r.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var y=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}var i=null;var a=false;var u=false;var f=[];var o=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof r!=="function"&&!d(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?p(null,i):i)}u=a}}};o(e);if(n){{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}var l=p(r,null);l.i=n;if(f.length>0){l.u=f}return l}));var p=function(r,n){var e={o:0,v:r,t:n,l:null,u:null};{e.i=null}return e};var w=r("H",{});var m=function(r){return r&&r.v===w};var b=function(r,n){if(r!=null&&!d(r)){if(n&4){return r==="false"?false:r===""||!!r}if(n&2){return parseFloat(r)}if(n&1){return String(r)}return r}return r};var _=function(r){return or(r).$hostElement$};var $=r("c",(function(r,n,e){var t=_(r);return{emit:function(r){return S(t,n,{bubbles:!!(e&4),composed:!!(e&2),cancelable:!!(e&1),detail:r})}}}));var S=function(r,n,e){var t=mr.ce(n,e);r.dispatchEvent(t);return t};var g=new WeakMap;var j=function(r,n,e){var t=yr.get(r);if(_r&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}yr.set(r,t)};var A=function(r,n,e){var t;var i=O(n);var a=yr.get(i);r=r.nodeType===11?r:wr;if(a){if(typeof a==="string"){r=r.head||r;var u=g.get(r);var f=void 0;if(!u){g.set(r,u=new Set)}if(!u.has(i)){{f=wr.createElement("style");f.innerHTML=a;var o=(t=mr.h)!==null&&t!==void 0?t:h(wr);if(o!=null){f.setAttribute("nonce",o)}r.insertBefore(f,r.querySelector("link"))}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var k=function(r){var n=r.p;var e=r.$hostElement$;var t=n.o;var i=o("attachStyles",n.m);var a=A(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var O=function(r,n){return"sc-"+r.m};var x=function(r,n,e,t,i,a){if(e!==t){var u=cr(r,n);var f=n.toLowerCase();if(n==="class"){var o=r.classList;var v=C(e);var l=C(t);o.remove.apply(o,v.filter((function(r){return r&&!l.includes(r)})));o.add.apply(o,l.filter((function(r){return r&&!v.includes(r)})))}else if(!u&&n[0]==="o"&&n[1]==="n"){if(n[2]==="-"){n=n.slice(3)}else if(cr(pr,f)){n=f.slice(2)}else{n=f[2]+n.slice(3)}if(e||t){var c=n.endsWith(E);n=n.replace(P,"");if(e){mr.rel(r,n,e,c)}if(t){mr.ael(r,n,t,c)}}}else{var s=d(t);if((u||s&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var h=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!=h){r[n]=h}}else{r[n]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!s){t=t===true?"":t;{r.setAttribute(n,t)}}}}};var M=/\s/;var C=function(r){return!r?[]:r.split(M)};var E="Capture";var P=new RegExp(E+"$");var T=function(r,n,e,t){var i=n.l.nodeType===11&&n.l.host?n.l.host:n.l;var a=r&&r.i||c;var u=n.i||c;{for(t in a){if(!(t in u)){x(i,t,a[t],undefined,e,n.o)}}}for(t in u){x(i,t,a[t],u[t],e,n.o)}};var U=function(r,n,e,t){var a=n.u[e];var f=0;var o;var v;if(a.t!==null){o=a.l=wr.createTextNode(a.t)}else{o=a.l=wr.createElement(a.v);{T(null,a,u)}if(s(i)&&o["s-si"]!==i){o.classList.add(o["s-si"]=i)}if(a.u){for(f=0;f<a.u.length;++f){v=U(r,a,f);if(v){o.appendChild(v)}}}}return o};var N=function(r,n,e,t,i,u){var f=r;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=U(null,e,i);if(o){t[i].l=o;f.insertBefore(o,n)}}}};var F=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.l;if(a){a.remove()}}}};var H=function(r,n,e,t){var i=0;var a=0;var u=n.length-1;var f=n[0];var o=n[u];var v=t.length-1;var l=t[0];var c=t[v];var s;while(i<=u&&a<=v){if(f==null){f=n[++i]}else if(o==null){o=n[--u]}else if(l==null){l=t[++a]}else if(c==null){c=t[--v]}else if(L(f,l)){R(f,l);f=n[++i];l=t[++a]}else if(L(o,c)){R(o,c);o=n[--u];c=t[--v]}else if(L(f,c)){R(f,c);r.insertBefore(f.l,o.l.nextSibling);f=n[++i];c=t[--v]}else if(L(o,l)){R(o,l);r.insertBefore(o.l,f.l);o=n[--u];l=t[++a]}else{{s=U(n&&n[a],e,a);l=t[++a]}if(s){{f.l.parentNode.insertBefore(s,f.l)}}}}if(i>u){N(r,t[v+1]==null?null:t[v+1].l,e,t,a,v)}else if(a>v){F(n,i,u)}};var L=function(r,n){if(r.v===n.v){return true}return false};var R=function(r,n){var e=n.l=r.l;var t=r.u;var i=n.u;var a=n.v;var f=n.t;if(f===null){{if(a==="slot");else{T(r,n,u)}}if(t!==null&&i!==null){H(e,t,n,i)}else if(i!==null){if(r.t!==null){e.textContent=""}N(e,null,n,i,0,i.length-1)}else if(t!==null){F(t,0,t.length-1)}}else if(r.t!==f){e.data=f}};var W=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var u=r.p;var f=r._||p(null,null);var o=m(n)?n:y(null,null,n);a=t.tagName;if(u.$){o.i=o.i||{};u.$.map((function(r){var n=r[0],e=r[1];return o.i[e]=t[n]}))}if(e&&o.i){for(var v=0,l=Object.keys(o.i);v<l.length;v++){var c=l[v];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=t[c]}}}o.v=null;o.o|=4;r._=o;o.l=f.l=t.shadowRoot||t;{i=t["s-sc"]}R(f,o)};var q=function(r,n){if(n&&!r.S&&n["s-p"]){n["s-p"].push(new Promise((function(n){return r.S=n})))}};var G=function(r,n){{r.o|=16}if(r.o&4){r.o|=512;return}q(r,r.j);var e=function(){return I(r,n)};return Or(e)};var I=function(r,n){var e=o("scheduleUpdate",r.p.m);var t=r.A;var i;e();return V(i,(function(){return B(r,t,n)}))};var V=function(r,n){return z(r)?r.then(n):n()};var z=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var B=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,f,v,l;return __generator(this,(function(c){i=r.$hostElement$;a=o("update",r.p.m);u=i["s-rc"];if(t){k(r)}f=o("render",r.p.m);{D(r,n,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=undefined}f();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];l=function(){return J(r)};if(v.length===0){l()}else{Promise.all(v).then(l);r.o|=4;v.length=0}}return[2]}))}))};var D=function(r,n,e,t){try{n=n.render();{r.o&=~16}{r.o|=2}{{{W(r,n,t)}}}}catch(n){sr(n,r.$hostElement$)}return null};var J=function(r){var n=r.p.m;var e=r.$hostElement$;var t=o("postUpdate",n);var i=r.j;if(!(r.o&64)){r.o|=64;{Q(e)}t();{r.k(e);if(!i){K()}}}else{t()}{if(r.S){r.S();r.S=undefined}if(r.o&512){kr((function(){return G(r,false)}))}r.o&=~(4|512)}};var K=function(r){{Q(wr.documentElement)}kr((function(){return S(pr,"appload",{detail:{namespace:t}})}))};var Q=function(r){return r.setAttribute("hydrated","")};var X=function(r,n){return or(r).O.get(n)};var Y=function(r,n,e,t){var i=or(r);var a=i.O.get(n);var u=i.o;var f=i.A;e=b(e,t.M[n][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(n,e);if(f){if((u&(2|16))===2){G(i,false)}}}};var Z=function(r,n,e){var t;if(n.M){var i=Object.entries(n.M);var a=r.prototype;i.map((function(r){var t=r[0],i=r[1][0];if(i&31||e&2&&i&32){Object.defineProperty(a,t,{get:function(){return X(this,t)},set:function(r){Y(this,t,r,n)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;a.attributeChangedCallback=function(r,e,t){var i=this;mr.jmp((function(){var f=u.get(r);if(i.hasOwnProperty(f)){t=i[f];delete i[f]}else if(a.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==t){return}else if(f==null){var o=or(i);var v=o===null||o===void 0?void 0:o.o;if(!(v&8)&&v&128&&t!==e){var l=o.A;var c=n.C[r];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,e,r)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.C)!==null&&t!==void 0?t:{}),true),i.filter((function(r){var n=r[0],e=r[1];return e[0]&15})).map((function(r){var e=r[0],t=r[1];var i=t[1]||e;u.set(i,e);if(t[0]&512){n.$.push([e,i])}return i})),true)))}}return r};var rr=function(r,n,t,i){return __awaiter(e,void 0,void 0,(function(){var r,e,i,a,u,f,l,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.o&32)===0))return[3,3];n.o|=32;r=hr(t);if(!r.then)return[3,2];e=v();return[4,r];case 1:r=s.sent();e();s.label=2;case 2:if(!r.isProxied){Z(r,t,2);r.isProxied=true}i=o("createInstance",t.m);{n.o|=8}try{new r(n)}catch(r){sr(r)}{n.o&=~8}i();if(r.style){a=r.style;u=O(t);if(!yr.has(u)){f=o("registerStyles",t.m);j(u,a,!!(t.o&1));f()}}s.label=3;case 3:l=n.j;c=function(){return G(n,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var nr=function(r){};var er=function(r){if((mr.o&1)===0){var n=or(r);var e=n.p;var t=o("connectedCallback",e.m);if(!(n.o&1)){n.o|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){q(n,n.j=i);break}}}if(e.M){Object.entries(e.M).map((function(n){var e=n[0],t=n[1][0];if(t&31&&r.hasOwnProperty(e)){var i=r[e];delete r[e];r[e]=i}}))}{rr(r,n,e)}}else{if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return nr()}))}}t()}};var tr=function(r){};var ir=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((mr.o&1)===0){n=or(r);if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return tr()}))}}return[2]}))}))};var ar=r("b",(function(r,n){if(n===void 0){n={}}var e;var t=o();var i=[];var a=n.exclude||[];var u=pr.customElements;var f=wr.head;var v=f.querySelector("meta[charset]");var c=wr.createElement("style");var s=[];var d;var y=true;Object.assign(mr,n);mr.T=new URL(n.resourcesUrl||"./",wr.baseURI).href;r.map((function(r){r[1].map((function(n){var e={o:n[0],m:n[1],M:n[2],U:n[3]};{e.M=n[2]}{e.$=[]}var t=e.m;var f=function(r){__extends(n,r);function n(n){var t=r.call(this,n)||this;n=t;lr(n,e);if(e.o&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var r=this;if(d){clearTimeout(d);d=null}if(y){s.push(this)}else{mr.jmp((function(){return er(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;mr.jmp((function(){return ir(r)}))};n.prototype.componentOnReady=function(){return or(this).P};return n}(HTMLElement);e.N=r[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,Z(f,e,1))}}))}));{c.innerHTML=i+l;c.setAttribute("data-styles","");var p=(e=mr.h)!==null&&e!==void 0?e:h(wr);if(p!=null){c.setAttribute("nonce",p)}f.insertBefore(c,v?v.nextSibling:f.firstChild)}y=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{mr.jmp((function(){return d=setTimeout(K,30)}))}}t()}));var ur=r("s",(function(r){return mr.h=r}));var fr=new WeakMap;var or=function(r){return fr.get(r)};var vr=r("r",(function(r,n){return fr.set(n.A=r,n)}));var lr=function(r,n){var e={o:0,$hostElement$:r,p:n,O:new Map};{e.P=new Promise((function(r){return e.k=r}));r["s-p"]=[];r["s-rc"]=[]}return fr.set(r,e)};var cr=function(r,n){return n in r};var sr=function(r,n){return(0,console.error)(r,n)};var dr=new Map;var hr=function(r,e,t){var i=r.m.replace(/-/g,"_");var a=r.N;var u=dr.get(a);if(u){return u[i]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{dr.set(a,r)}return r[i]}),sr)};var yr=new Map;var pr=typeof window!=="undefined"?window:{};var wr=pr.document||{head:{}};var mr={o:0,T:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var br=r("p",(function(r){return Promise.resolve(r)}));var _r=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var $r=[];var Sr=[];var gr=function(r,n){return function(e){r.push(e);if(!f){f=true;if(n&&mr.o&4){kr(Ar)}else{mr.raf(Ar)}}}};var jr=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){sr(r)}}r.length=0};var Ar=function(){jr($r);{jr(Sr);if(f=$r.length>0){mr.raf(Ar)}}};var kr=function(r){return br().then(r)};var Or=gr(Sr,true)}}}));
|
package/www/build/p-e969bc33.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let n,e,t=!1;const l={},o=n=>"object"==(n=typeof n)||"function"===n;function s(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,e,...t)=>{let l=null,s=!1,i=!1;const r=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof n&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=c(n,null);return a.l=e,r.length>0&&(a.o=r),a},c=(n,e)=>({i:0,u:n,t:e,m:null,o:null,l:null}),r={},u=(n,e,t)=>{const l=(n=>U(n).$hostElement$)(n);return{emit:n=>a(l,e,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:n})}},a=(n,e,t)=>{const l=J.ce(e,t);return n.dispatchEvent(l),l},f=new WeakMap,d=n=>"sc-"+n.p,m=(n,e,t,l,s,i)=>{if(t!==l){let c=V(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=p(t),s=p(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if(c||"o"!==e[0]||"n"!==e[1]){const r=o(l);if((c||r&&null!==l)&&!s)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?c=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!c||4&i||s)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else if(e="-"===e[2]?e.slice(3):V(G,r)?r.slice(2):r[2]+e.slice(3),t||l){const o=e.endsWith($);e=e.replace(h,""),t&&J.rel(n,e,t,o),l&&J.ael(n,e,l,o)}}},y=/\s/,p=n=>n?n.split(y):[],$="Capture",h=RegExp($+"$"),v=(n,e,t,o)=>{const s=11===e.m.nodeType&&e.m.host?e.m.host:e.m,i=n&&n.l||l,c=e.l||l;for(o in i)o in c||m(s,o,i[o],void 0,t,e.i);for(o in c)m(s,o,i[o],c[o],t,e.i)},b=(e,t,l)=>{const o=t.o[l];let s,i,c=0;if(null!==o.t)s=o.m=I.createTextNode(o.t);else if(s=o.m=I.createElement(o.u),v(null,o,!1),null!=n&&s["s-si"]!==n&&s.classList.add(s["s-si"]=n),o.o)for(c=0;c<o.o.length;++c)i=b(e,o,c),i&&s.appendChild(i);return s},w=(n,t,l,o,s,i)=>{let c,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=b(null,l,s),c&&(o[s].m=c,r.insertBefore(c,t)))},S=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.m;n&&n.remove()}}},g=(n,e)=>n.u===e.u,j=(n,e)=>{const t=e.m=n.m,l=n.o,o=e.o,s=e.t;null===s?("slot"===e.u||v(n,e,!1),null!==l&&null!==o?((n,e,t,l)=>{let o,s=0,i=0,c=e.length-1,r=e[0],u=e[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=e[++s]:null==u?u=e[--c]:null==f?f=l[++i]:null==d?d=l[--a]:g(r,f)?(j(r,f),r=e[++s],f=l[++i]):g(u,d)?(j(u,d),u=e[--c],d=l[--a]):g(r,d)?(j(r,d),n.insertBefore(r.m,u.m.nextSibling),r=e[++s],d=l[--a]):g(u,f)?(j(u,f),n.insertBefore(u.m,r.m),u=e[--c],f=l[++i]):(o=b(e&&e[i],t,i),f=l[++i],o&&r.m.parentNode.insertBefore(o,r.m));s>c?w(n,null==l[a+1]?null:l[a+1].m,t,l,i,a):i>a&&S(e,s,c)})(t,l,e,o):null!==o?(null!==n.t&&(t.textContent=""),w(t,null,e,o,0,o.length-1)):null!==l&&S(l,0,l.length-1)):n.t!==s&&(t.data=s)},M=(n,e)=>{e&&!n.$&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.$=e)))},O=(n,e)=>{if(n.i|=16,!(4&n.i))return M(n,n.h),ln((()=>k(n,e)));n.i|=512},k=(n,e)=>{const t=n.v;return C(void 0,(()=>x(n,t,e)))},C=(n,e)=>P(n)?n.then(e):e(),P=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,x=async(n,e,t)=>{var l;const o=n.$hostElement$,i=o["s-rc"];t&&(n=>{const e=n.S,t=n.$hostElement$,l=e.i,o=((n,e)=>{var t;const l=d(e),o=D.get(l);if(n=11===n.nodeType?n:I,o)if("string"==typeof o){let e,i=f.get(n=n.head||n);if(i||f.set(n,i=new Set),!i.has(l)){{e=I.createElement("style"),e.innerHTML=o;const l=null!==(t=J.j)&&void 0!==t?t:s(I);null!=l&&e.setAttribute("nonce",l),n.insertBefore(e,n.querySelector("link"))}i&&i.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(n);E(n,e,o,t),i&&(i.map((n=>n())),o["s-rc"]=void 0);{const e=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>A(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},E=(t,l,o,s)=>{try{l=l.render(),t.i&=-17,t.i|=2,((t,l,o=!1)=>{const s=t.$hostElement$,u=t.S,a=t.M||c(null,null),f=(n=>n&&n.u===r)(l)?l:i(null,null,l);if(e=s.tagName,u.O&&(f.l=f.l||{},u.O.map((([n,e])=>f.l[e]=s[n]))),o&&f.l)for(const n of Object.keys(f.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(f.l[n]=s[n]);f.u=null,f.i|=4,t.M=f,f.m=a.m=s.shadowRoot||s,n=s["s-sc"],j(a,f)})(t,l,s)}catch(n){_(n,t.$hostElement$)}return null},A=n=>{const e=n.$hostElement$,t=n.h;64&n.i||(n.i|=64,R(e),n.k(e),t||N()),n.$&&(n.$(),n.$=void 0),512&n.i&&tn((()=>O(n,!1))),n.i&=-517},N=()=>{R(I.documentElement),tn((()=>a(G,"appload",{detail:{namespace:"mds-accordion-timer-item"}})))},R=n=>n.setAttribute("hydrated",""),T=(n,e,t)=>{var l;if(e.C){const s=Object.entries(e.C),i=n.prototype;if(s.map((([n,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(i,n,{get(){return((n,e)=>U(this).P.get(e))(0,n)},set(t){((n,e,t,l)=>{const s=U(n),i=s.P.get(e),c=s.i,r=s.v;t=((n,e)=>null==n||o(n)?n:4&e?"false"!==n&&(""===n||!!n):2&e?parseFloat(n):1&e?n+"":n)(t,l.C[e][0]),8&c&&void 0!==i||t===i||Number.isNaN(i)&&Number.isNaN(t)||(s.P.set(e,t),r&&2==(18&c)&&O(s,!1))})(this,n,t,e)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;i.attributeChangedCallback=function(n,l,o){J.jmp((()=>{const s=t.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const t=U(this),s=null==t?void 0:t.i;if(!(8&s)&&128&s&&o!==l){const s=t.v,i=e.A[n];null==i||i.forEach((e=>{null!=s[e]&&s[e].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=e.A)&&void 0!==l?l:{}),...s.filter((([n,e])=>15&e[0])).map((([n,l])=>{const o=l[1]||n;return t.set(o,n),512&l[0]&&e.O.push([n,o]),o}))]))}}return n},F=(n,e={})=>{var t;const l=[],o=e.exclude||[],i=G.customElements,c=I.head,r=c.querySelector("meta[charset]"),u=I.createElement("style"),a=[];let f,m=!0;Object.assign(J,e),J.N=new URL(e.resourcesUrl||"./",I.baseURI).href,n.map((n=>{n[1].map((e=>{const t={i:e[0],p:e[1],C:e[2],R:e[3]};t.C=e[2],t.O=[];const s=t.p,c=class extends HTMLElement{constructor(n){super(n),q(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),m?a.push(this):J.jmp((()=>(n=>{if(0==(1&J.i)){const e=U(n),t=e.S,l=()=>{};if(1&e.i)(null==e?void 0:e.v)||(null==e?void 0:e.T)&&e.T.then((()=>{}));else{e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){M(e,e.h=t);break}}t.C&&Object.entries(t.C).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.i)){e.i|=32;{if(l=B(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(T(l,t,2),l.isProxied=!0);const n=()=>{};e.i|=8;try{new l(e)}catch(n){_(n)}e.i&=-9,n()}if(l.style){let n=l.style;const e=d(t);if(!D.has(e)){const l=()=>{};((n,e,t)=>{let l=D.get(n);Q&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,D.set(n,l)})(e,n,!!(1&t.i)),l()}}}const o=e.h,s=()=>O(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(0==(1&J.i)){const n=U(this);(null==n?void 0:n.v)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return U(this).T}};t.F=n[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,T(c,t,1)))}))}));{u.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(t=J.j)&&void 0!==t?t:s(I);null!=n&&u.setAttribute("nonce",n),c.insertBefore(u,r?r.nextSibling:c.firstChild)}m=!1,a.length?a.map((n=>n.connectedCallback())):J.jmp((()=>f=setTimeout(N,30)))},H=n=>J.j=n,L=new WeakMap,U=n=>L.get(n),W=(n,e)=>L.set(e.v=n,e),q=(n,e)=>{const t={i:0,$hostElement$:n,S:e,P:new Map};return t.T=new Promise((n=>t.k=n)),n["s-p"]=[],n["s-rc"]=[],L.set(n,t)},V=(n,e)=>e in n,_=(n,e)=>(0,console.error)(n,e),z=new Map,B=n=>{const e=n.p.replace(/-/g,"_"),t=n.F,l=z.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(z.set(t,n),n[e])),_)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},D=new Map,G="undefined"!=typeof window?window:{},I=G.document||{head:{}},J={i:0,N:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},K=n=>Promise.resolve(n),Q=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),X=[],Y=[],Z=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&J.i?tn(en):J.raf(en))},nn=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){_(n)}n.length=0},en=()=>{nn(X),nn(Y),(t=X.length>0)&&J.raf(en)},tn=n=>K().then(n),ln=Z(Y,!0);export{r as H,F as b,u as c,i as h,K as p,W as r,H as s}
|