@maggioli-design-system/mds-accordion-timer 2.1.1 → 2.2.0

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.
Files changed (52) hide show
  1. package/dist/cjs/{index-bd5d8a33.js → index-6821dfbc.js} +35 -4
  2. package/dist/cjs/loader.cjs.js +3 -2
  3. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-accordion-timer.cjs.js +6 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/components/index.d.ts +9 -0
  7. package/dist/components/index.js +1 -1
  8. package/dist/esm/{index-afb1c64b.js → index-5ca2b649.js} +35 -5
  9. package/dist/esm/loader.js +3 -2
  10. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  11. package/dist/esm/mds-accordion-timer.js +3 -2
  12. package/dist/esm/polyfills/css-shim.js +1 -1
  13. package/dist/esm-es5/index-5ca2b649.js +2 -0
  14. package/dist/esm-es5/loader.js +1 -1
  15. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  16. package/dist/esm-es5/mds-accordion-timer.js +1 -1
  17. package/dist/mds-accordion-timer/mds-accordion-timer.esm.js +1 -1
  18. package/dist/mds-accordion-timer/mds-accordion-timer.js +1 -1
  19. package/dist/mds-accordion-timer/p-59116e2a.system.js +2 -0
  20. package/dist/mds-accordion-timer/p-5d8e384d.js +2 -0
  21. package/dist/mds-accordion-timer/p-c4b2aa5c.system.js +1 -0
  22. package/{www/build/p-6bb3b141.system.entry.js → dist/mds-accordion-timer/p-e66497f2.system.entry.js} +1 -1
  23. package/dist/mds-accordion-timer/{p-ff15a152.entry.js → p-f0c71bfc.entry.js} +1 -1
  24. package/dist/stats.json +24 -24
  25. package/dist/types/stencil-public-runtime.d.ts +48 -3
  26. package/dist/types/types/autocomplete.d.ts +2 -2
  27. package/dist/types/types/button.d.ts +4 -4
  28. package/dist/types/types/floating-ui.d.ts +2 -2
  29. package/dist/types/types/form-rel.d.ts +1 -1
  30. package/dist/types/types/input-text-type.d.ts +1 -1
  31. package/dist/types/types/input-value-type.d.ts +1 -1
  32. package/dist/types/types/loading.d.ts +1 -1
  33. package/dist/types/types/typography.d.ts +8 -8
  34. package/dist/types/types/variant.d.ts +10 -10
  35. package/loader/index.d.ts +9 -0
  36. package/package.json +4 -4
  37. package/src/components/mds-accordion-timer/test/mds-accordion-timer.e2e.ts +1 -1
  38. package/src/fixtures/icons.json +3 -0
  39. package/www/build/mds-accordion-timer.esm.js +1 -1
  40. package/www/build/mds-accordion-timer.js +1 -1
  41. package/www/build/p-59116e2a.system.js +2 -0
  42. package/www/build/p-5d8e384d.js +2 -0
  43. package/www/build/p-c4b2aa5c.system.js +1 -0
  44. package/{dist/mds-accordion-timer/p-6bb3b141.system.entry.js → www/build/p-e66497f2.system.entry.js} +1 -1
  45. package/www/build/{p-ff15a152.entry.js → p-f0c71bfc.entry.js} +1 -1
  46. package/dist/esm-es5/index-afb1c64b.js +0 -2
  47. package/dist/mds-accordion-timer/p-94dc5a3c.system.js +0 -1
  48. package/dist/mds-accordion-timer/p-d5616601.js +0 -2
  49. package/dist/mds-accordion-timer/p-e2fa938f.system.js +0 -2
  50. package/www/build/p-94dc5a3c.system.js +0 -1
  51. package/www/build/p-d5616601.js +0 -2
  52. package/www/build/p-e2fa938f.system.js +0 -2
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2022-12-06T12:51:11",
2
+ "timestamp": "2023-01-20T18:15:56",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "18.3.0"
@@ -54,17 +54,17 @@
54
54
  "name": "dist-lazy",
55
55
  "files": 35,
56
56
  "generatedFiles": [
57
- "./dist/cjs/index-bd5d8a33.js",
57
+ "./dist/cjs/index-6821dfbc.js",
58
58
  "./dist/cjs/index.cjs.js",
59
59
  "./dist/cjs/loader.cjs.js",
60
60
  "./dist/cjs/mds-accordion-timer.cjs.entry.js",
61
61
  "./dist/cjs/mds-accordion-timer.cjs.js",
62
- "./dist/esm-es5/index-afb1c64b.js",
62
+ "./dist/esm-es5/index-5ca2b649.js",
63
63
  "./dist/esm-es5/index.js",
64
64
  "./dist/esm-es5/loader.js",
65
65
  "./dist/esm-es5/mds-accordion-timer.entry.js",
66
66
  "./dist/esm-es5/mds-accordion-timer.js",
67
- "./dist/esm/index-afb1c64b.js",
67
+ "./dist/esm/index-5ca2b649.js",
68
68
  "./dist/esm/index.js",
69
69
  "./dist/esm/loader.js",
70
70
  "./dist/esm/mds-accordion-timer.entry.js",
@@ -75,20 +75,20 @@
75
75
  "./dist/mds-accordion-timer/mds-accordion-timer.esm.js",
76
76
  "./dist/mds-accordion-timer/mds-accordion-timer.js",
77
77
  "./dist/mds-accordion-timer/p-50ea2036.system.js",
78
- "./dist/mds-accordion-timer/p-6bb3b141.system.entry.js",
79
- "./dist/mds-accordion-timer/p-94dc5a3c.system.js",
80
- "./dist/mds-accordion-timer/p-d5616601.js",
81
- "./dist/mds-accordion-timer/p-e2fa938f.system.js",
82
- "./dist/mds-accordion-timer/p-ff15a152.entry.js",
78
+ "./dist/mds-accordion-timer/p-59116e2a.system.js",
79
+ "./dist/mds-accordion-timer/p-5d8e384d.js",
80
+ "./dist/mds-accordion-timer/p-c4b2aa5c.system.js",
81
+ "./dist/mds-accordion-timer/p-e66497f2.system.entry.js",
82
+ "./dist/mds-accordion-timer/p-f0c71bfc.entry.js",
83
83
  "./www/build/index.esm.js",
84
84
  "./www/build/mds-accordion-timer.esm.js",
85
85
  "./www/build/mds-accordion-timer.js",
86
86
  "./www/build/p-50ea2036.system.js",
87
- "./www/build/p-6bb3b141.system.entry.js",
88
- "./www/build/p-94dc5a3c.system.js",
89
- "./www/build/p-d5616601.js",
90
- "./www/build/p-e2fa938f.system.js",
91
- "./www/build/p-ff15a152.entry.js"
87
+ "./www/build/p-59116e2a.system.js",
88
+ "./www/build/p-5d8e384d.js",
89
+ "./www/build/p-c4b2aa5c.system.js",
90
+ "./www/build/p-e66497f2.system.entry.js",
91
+ "./www/build/p-f0c71bfc.entry.js"
92
92
  ]
93
93
  },
94
94
  {
@@ -121,10 +121,10 @@
121
121
  "components": [
122
122
  "mds-accordion-timer"
123
123
  ],
124
- "bundleId": "p-ff15a152",
125
- "fileName": "p-ff15a152.entry.js",
124
+ "bundleId": "p-f0c71bfc",
125
+ "fileName": "p-f0c71bfc.entry.js",
126
126
  "imports": [
127
- "p-d5616601.js"
127
+ "p-5d8e384d.js"
128
128
  ],
129
129
  "originalByteSize": 3432
130
130
  }
@@ -138,7 +138,7 @@
138
138
  "bundleId": "mds-accordion-timer",
139
139
  "fileName": "mds-accordion-timer.entry.js",
140
140
  "imports": [
141
- "index-afb1c64b.js"
141
+ "index-5ca2b649.js"
142
142
  ],
143
143
  "originalByteSize": 3436
144
144
  }
@@ -152,7 +152,7 @@
152
152
  "bundleId": "mds-accordion-timer",
153
153
  "fileName": "mds-accordion-timer.entry.js",
154
154
  "imports": [
155
- "index-afb1c64b.js"
155
+ "index-5ca2b649.js"
156
156
  ],
157
157
  "originalByteSize": 3436
158
158
  }
@@ -163,10 +163,10 @@
163
163
  "components": [
164
164
  "mds-accordion-timer"
165
165
  ],
166
- "bundleId": "p-6bb3b141.system",
167
- "fileName": "p-6bb3b141.system.entry.js",
166
+ "bundleId": "p-e66497f2.system",
167
+ "fileName": "p-e66497f2.system.entry.js",
168
168
  "imports": [
169
- "p-e2fa938f.system.js"
169
+ "p-59116e2a.system.js"
170
170
  ],
171
171
  "originalByteSize": 4378
172
172
  }
@@ -180,7 +180,7 @@
180
180
  "bundleId": "mds-accordion-timer.cjs",
181
181
  "fileName": "mds-accordion-timer.cjs.entry.js",
182
182
  "imports": [
183
- "index-bd5d8a33.js"
183
+ "index-6821dfbc.js"
184
184
  ],
185
185
  "originalByteSize": 3483
186
186
  }
@@ -449,7 +449,7 @@
449
449
  ],
450
450
  "componentGraph": {
451
451
  "sc-mds-accordion-timer": [
452
- "p-d5616601.js"
452
+ "p-5d8e384d.js"
453
453
  ]
454
454
  },
455
455
  "sourceGraph": {
@@ -133,7 +133,7 @@ export interface ListenOptions {
133
133
  */
134
134
  passive?: boolean;
135
135
  }
136
- export declare type ListenTargetOptions = 'body' | 'document' | 'window';
136
+ export type ListenTargetOptions = 'body' | 'document' | 'window';
137
137
  export interface StateDecorator {
138
138
  (): PropertyDecorator;
139
139
  }
@@ -214,8 +214,8 @@ export declare const State: StateDecorator;
214
214
  * https://stenciljs.com/docs/reactive-data#watch-decorator
215
215
  */
216
216
  export declare const Watch: WatchDecorator;
217
- export declare type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
- export declare type ErrorHandler = (err: any, element?: HTMLElement) => void;
217
+ export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
218
+ export type ErrorHandler = (err: any, element?: HTMLElement) => void;
219
219
  /**
220
220
  * `setMode()` is used for libraries which provide multiple "modes" for styles.
221
221
  */
@@ -257,6 +257,15 @@ export declare function getAssetPath(path: string): string;
257
257
  * @returns the set path
258
258
  */
259
259
  export declare function setAssetPath(path: string): string;
260
+ /**
261
+ * Used to specify a nonce value that corresponds with an application's
262
+ * [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
263
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
264
+ * Alternatively, the nonce value can be set on a `meta` tag in the DOM head
265
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
266
+ * @param nonce The value to be used for the nonce attribute.
267
+ */
268
+ export declare function setNonce(nonce: string): void;
260
269
  /**
261
270
  * Retrieve a Stencil element for a given reference
262
271
  * @param ref the ref to get the Stencil element for
@@ -433,8 +442,44 @@ interface HostAttributes {
433
442
  ref?: (el: HTMLElement | null) => void;
434
443
  [prop: string]: any;
435
444
  }
445
+ /**
446
+ * Utilities for working with functional Stencil components. An object
447
+ * conforming to this interface is passed by the Stencil runtime as the third
448
+ * argument to a functional component, allowing component authors to work with
449
+ * features like children.
450
+ *
451
+ * The children of a functional component will be passed as the second
452
+ * argument, so a functional component which uses these utils to transform its
453
+ * children might look like the following:
454
+ *
455
+ * ```ts
456
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
457
+ * utils.map(children, child => ({
458
+ * ...child,
459
+ * vattrs: {
460
+ * ...child.vattrs,
461
+ * class: `${child.vattrs.class} add-class`
462
+ * }
463
+ * }))
464
+ * );
465
+ * ```
466
+ *
467
+ * For more see the Stencil documentation, here:
468
+ * https://stenciljs.com/docs/functional-components
469
+ */
436
470
  export interface FunctionalUtilities {
471
+ /**
472
+ * Utility for reading the children of a functional component at runtime.
473
+ * Since the Stencil runtime uses a different interface for children it is
474
+ * not recommendeded to read the children directly, and is preferable to use
475
+ * this utility to, for instance, perform a side effect for each child.
476
+ */
437
477
  forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
478
+ /**
479
+ * Utility for transforming the children of a functional component. Given an
480
+ * array of children and a callback this will return a list of the results of
481
+ * passing each child to the supplied callback.
482
+ */
438
483
  map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
439
484
  }
440
485
  export interface FunctionalComponent<T = {}> {
@@ -1,2 +1,2 @@
1
- export declare type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
2
- export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
1
+ export type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
2
+ export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -1,4 +1,4 @@
1
- export declare type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
- export declare type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
3
- export declare type ButtonIconPositionType = 'left' | 'right';
4
- export declare type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
1
+ export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
+ export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
3
+ export type ButtonIconPositionType = 'left' | 'right';
4
+ export type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
@@ -1,2 +1,2 @@
1
- export declare type FloatingUIPlacement = 'bottom' | 'bottom-end' | 'bottom-start' | 'left' | 'left-end' | 'left-start' | 'right' | 'right-end' | 'right-start' | 'top' | 'top-end' | 'top-start';
2
- export declare type FloatingUIStrategy = 'absolute' | 'fixed';
1
+ export type FloatingUIPlacement = 'bottom' | 'bottom-end' | 'bottom-start' | 'left' | 'left-end' | 'left-start' | 'right' | 'right-end' | 'right-start' | 'top' | 'top-end' | 'top-start';
2
+ export type FloatingUIStrategy = 'absolute' | 'fixed';
@@ -1 +1 @@
1
- export declare type FormRelType = 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'opener' | 'prev' | 'search';
1
+ export type FormRelType = 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'opener' | 'prev' | 'search';
@@ -1 +1 @@
1
- export declare type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
1
+ export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -1 +1 @@
1
- export declare type InputValueType = null | number | string | undefined;
1
+ export type InputValueType = null | number | string | undefined;
@@ -1 +1 @@
1
- export declare type LoadingType = 'eager' | 'lazy';
1
+ export type LoadingType = 'eager' | 'lazy';
@@ -1,8 +1,8 @@
1
- export declare type TypographyType = 'action' | 'caption' | 'snippet' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
2
- export declare type TypographyVariants = 'title' | 'info' | 'read' | 'code';
3
- export declare type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
- export declare type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
5
- export declare type TypographyReadType = 'caption' | 'detail' | 'paragraph';
6
- export declare type TypographySmallerType = 'tip' | 'option';
7
- export declare type TypographyMonoType = 'snippet' | 'hack';
8
- export declare type TypographyTooltipType = 'caption' | 'detail' | 'tip';
1
+ export type TypographyType = 'action' | 'caption' | 'snippet' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
2
+ export type TypographyVariants = 'title' | 'info' | 'read' | 'code';
3
+ export type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
+ export type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
5
+ export type TypographyReadType = 'caption' | 'detail' | 'paragraph';
6
+ export type TypographySmallerType = 'tip' | 'option';
7
+ export type TypographyMonoType = 'snippet' | 'hack';
8
+ export type TypographyTooltipType = 'caption' | 'detail' | 'tip';
@@ -1,10 +1,10 @@
1
- export declare type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
2
- export declare type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
3
- export declare type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
4
- export declare type ThemeLuminanceVariantType = 'dark' | 'light';
5
- export declare type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
6
- export declare type ActionVariantType = 'primary' | 'dark' | 'light';
7
- export declare type StateVariantType = 'disabled' | 'focused' | 'readonly';
8
- export declare type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
9
- export declare type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
10
- export declare type ToneMinimalVariantType = 'strong' | 'weak';
1
+ export type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
2
+ export type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
3
+ export type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
4
+ export type ThemeLuminanceVariantType = 'dark' | 'light';
5
+ export type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
6
+ export type ActionVariantType = 'primary' | 'dark' | 'light';
7
+ export type StateVariantType = 'disabled' | 'focused' | 'readonly';
8
+ export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
9
+ export type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
10
+ export type ToneMinimalVariantType = 'strong' | 'weak';
package/loader/index.d.ts CHANGED
@@ -10,3 +10,12 @@ export interface CustomElementsDefineOptions {
10
10
  }
11
11
  export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
12
12
  export declare function applyPolyfills(): Promise<void>;
13
+
14
+ /**
15
+ * Used to specify a nonce value that corresponds with an application's CSP.
16
+ * When set, the nonce will be added to all dynamically created script and style tags at runtime.
17
+ * Alternatively, the nonce value can be set on a meta tag in the DOM head
18
+ * (<meta name="csp-nonce" content="{ nonce value here }" />) which
19
+ * will result in the same behavior.
20
+ */
21
+ export declare function setNonce(nonce: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maggioli-design-system/mds-accordion-timer",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "mds-accordion-timer is a web-component from Maggioli Design System Magma, 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,14 +24,14 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@maggioli-design-system/mds-accordion-timer-item": "^2.1.1",
27
- "@maggioli-design-system/styles": "^10.0.0",
28
- "@stencil/core": "^2.19.3"
27
+ "@maggioli-design-system/styles": "^10.0.1",
28
+ "@stencil/core": "^2.22.1"
29
29
  },
30
30
  "license": "MIT",
31
31
  "author": {
32
32
  "name": "Vittorio Vittori",
33
33
  "email": "vittorio.vittori@maggioli.it",
34
- "url": "http://vit.to"
34
+ "url": "https://vitto.github.io/vit.to/"
35
35
  },
36
36
  "contributors": [
37
37
  {
@@ -6,7 +6,7 @@ describe('mds-accordion-timer', () => {
6
6
  await page.setContent('<mds-accordion-timer></mds-accordion-timer>')
7
7
 
8
8
  const element = await page.find('mds-accordion-timer')
9
- // expect(element).toHaveClass('hydrated')
9
+ expect(element).toHaveAttribute('hydrated')
10
10
  expect(true).toBe(true)
11
11
  })
12
12
  })
@@ -3,9 +3,12 @@
3
3
  "mdi/barley",
4
4
  "mdi/baseball",
5
5
  "mdi/crown",
6
+ "mdi/delete",
6
7
  "mdi/dots-vertical",
7
8
  "mdi/email",
8
9
  "mdi/harddisk",
10
+ "mdi/map-marker",
11
+ "mdi/replay",
9
12
  "mdi/vector-curve",
10
13
  "mi/baseline/account-balance",
11
14
  "mi/baseline/account-balance-wallet",
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-d5616601.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-ff15a152",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"clickActive","onClickActive"],[0,"mouseEnterActive","onMouseEnterActive"],[0,"mouseLeaveActive","onMouseLeaveActive"]]]]]],e)));
1
+ import{p as e,b as o}from"./p-5d8e384d.js";export{s as setNonce}from"./p-5d8e384d.js";(()=>{const o=import.meta.url,t={};return""!==o&&(t.resourcesUrl=new URL(".",o).href),e(t)})().then((e=>o([["p-f0c71bfc",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"clickActive","onClickActive"],[0,"mouseEnterActive","onMouseEnterActive"],[0,"mouseLeaveActive","onMouseLeaveActive"]]]]]],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-94dc5a3c.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-c4b2aa5c.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121
 
@@ -0,0 +1,2 @@
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 a(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{l(t.next(e))}catch(e){i(e)}}function u(e){try{l(t["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(o,u)}l((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,a,i,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 l([e,n])}}function l(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(t=1,a&&(i=u[0]&2?a["return"]:u[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;if(a=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;a=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}catch(e){u=[6,e];a=0}finally{t=i=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,a=n.length,i;t<a;t++){if(i||!(t in n)){if(!i)i=Array.prototype.slice.call(n,0,t);i[t]=n[t]}}return e.concat(i||Array.prototype.slice.call(n))};System.register([],(function(e,n){"use strict";return{execute:function(){var r=this;var t="mds-accordion-timer";var a;var i;var o=false;var u=function(e,n){if(n===void 0){n=""}{return function(){return}}};var l=function(e,n){{return function(){return}}};var s="{visibility:hidden}[hydrated]{visibility:inherit}";var f=function(e){return e!=null};var c=function(e){e=typeof e;return e==="object"||e==="function"};function $(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 v=e("h",(function(e,n){var r=[];for(var t=2;t<arguments.length;t++){r[t-2]=arguments[t]}var a=null;var i=false;var o=false;var u=[];var l=function(n){for(var r=0;r<n.length;r++){a=n[r];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!c(a)){a=String(a)}if(i&&o){u[u.length-1].$text$+=a}else{u.push(i?d(null,a):a)}o=i}}};l(r);var s=d(e,null);s.$attrs$=n;if(u.length>0){s.$children$=u}return s}));var d=function(e,n){var r={$flags$:0,$tag$:e,$text$:n,$elm$:null,$children$:null};return r};var p=e("H",{});var h=function(e){return e&&e.$tag$===p};var m=function(e,n){if(e!=null&&!c(e)){if(n&2){return parseFloat(e)}return e}return e};var g=e("g",(function(e){return re(e).$hostElement$}));var y=e("c",(function(e,n,r){var t=g(e);return{emit:function(e){return b(t,n,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var b=function(e,n,r){var t=ce.ce(n,r);e.dispatchEvent(t);return t};var w=new WeakMap;var _=function(e,n,r){var t=le.get(e);if(ve&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}le.set(e,t)};var S=function(e,n,r,t){var a;var i=N(n);var o=le.get(i);e=e.nodeType===11?e:fe;if(o){if(typeof o==="string"){e=e.head||e;var u=w.get(e);var l=void 0;if(!u){w.set(e,u=new Set)}if(!u.has(i)){{{l=fe.createElement("style");l.innerHTML=o}var s=(a=ce.$nonce$)!==null&&a!==void 0?a:$(fe);if(s!=null){l.setAttribute("nonce",s)}e.insertBefore(l,e.querySelector("link"))}if(u){u.add(i)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return i};var R=function(e){var n=e.$cmpMeta$;var r=e.$hostElement$;var t=n.$flags$;var a=u("attachStyles",n.$tagName$);var i=S(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var N=function(e,n){return"sc-"+e.$tagName$};var C=function(e,n,r,t){var i=n.$children$[r];var o=0;var u;var l;{u=i.$elm$=fe.createElement(i.$tag$);if(f(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){l=C(e,i,o);if(l){u.appendChild(l)}}}}return u};var E=function(e,n,r,t,a,o){var u=e;var l;if(u.shadowRoot&&u.tagName===i){u=u.shadowRoot}for(;a<=o;++a){if(t[a]){l=C(null,r,a);if(l){t[a].$elm$=l;u.insertBefore(l,n)}}}};var L=function(e,n,r,t,a){for(;n<=r;++n){if(t=e[n]){a=t.$elm$;a.remove()}}};var x=function(e,n,r,t){var a=0;var i=0;var o=n.length-1;var u=n[0];var l=n[o];var s=t.length-1;var f=t[0];var c=t[s];var $;while(a<=o&&i<=s){if(u==null){u=n[++a]}else if(l==null){l=n[--o]}else if(f==null){f=t[++i]}else if(c==null){c=t[--s]}else if(A(u,f)){M(u,f);u=n[++a];f=t[++i]}else if(A(l,c)){M(l,c);l=n[--o];c=t[--s]}else if(A(u,c)){M(u,c);e.insertBefore(u.$elm$,l.$elm$.nextSibling);u=n[++a];c=t[--s]}else if(A(l,f)){M(l,f);e.insertBefore(l.$elm$,u.$elm$);l=n[--o];f=t[++i]}else{{$=C(n&&n[i],r,i);f=t[++i]}if($){{u.$elm$.parentNode.insertBefore($,u.$elm$)}}}}if(a>o){E(e,t[s+1]==null?null:t[s+1].$elm$,r,t,i,s)}else if(i>s){L(n,a,o)}};var A=function(e,n){if(e.$tag$===n.$tag$){return true}return false};var M=function(e,n){var r=n.$elm$=e.$elm$;var t=e.$children$;var a=n.$children$;{if(t!==null&&a!==null){x(r,t,n,a)}else if(a!==null){E(r,null,n,a,0,a.length-1)}else if(t!==null){L(t,0,t.length-1)}}};var k=function(e,n){var r=e.$hostElement$;var t=e.$vnode$||d(null,null);var o=h(n)?n:v(null,null,n);i=r.tagName;o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=t.$elm$=r.shadowRoot||r;{a=r["s-sc"]}M(t,o)};var P=function(e,n){if(n&&!e.$onRenderResolve$&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.$onRenderResolve$=n})))}};var j=function(e,n){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}P(e,e.$ancestorComponent$);var r=function(){return O(e,n)};return be(r)};var O=function(e,n){var r=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var t=e.$lazyInstance$;var a;if(n){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var n=e[0],r=e[1];return T(t,n,r)}));e.$queuedListeners$=null}}}r();return U(a,(function(){return I(e,t,n)}))};var I=function(e,n,t){return __awaiter(r,void 0,void 0,(function(){var r,a,i,o,l,s;return __generator(this,(function(f){r=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(t){R(e)}o=u("render",e.$cmpMeta$.$tagName$);{z(e,n)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}o();a();{l=r["s-p"];s=function(){return q(e)};if(l.length===0){s()}else{Promise.all(l).then(s);e.$flags$|=4;l.length=0}}return[2]}))}))};var z=function(e,n,r){try{n=n.render();{e.$flags$&=~16}{e.$flags$|=2}{{{k(e,n)}}}}catch(n){ie(n,e.$hostElement$)}return null};var q=function(e){var n=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var t=u("postUpdate",n);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{H(r)}{T(a,"componentDidLoad")}t();{e.$onReadyResolve$(r);if(!i){B()}}}else{t()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){ye((function(){return j(e,false)}))}e.$flags$&=~(4|512)}};var B=function(e){{H(fe.documentElement)}ye((function(){return b(se,"appload",{detail:{namespace:t}})}))};var T=function(e,n,r){if(e&&e[n]){try{return e[n](r)}catch(e){ie(e)}}return undefined};var U=function(e,n){return e&&e.then?e.then(n):n()};var H=function(e){return e.setAttribute("hydrated","")};var V=function(e,n){return re(e).$instanceValues$.get(n)};var F=function(e,n,r,t){var a=re(e);var i=a.$instanceValues$.get(n);var o=a.$flags$;var u=a.$lazyInstance$;r=m(r,t.$members$[n][0]);var l=Number.isNaN(i)&&Number.isNaN(r);var s=r!==i&&!l;if((!(o&8)||i===undefined)&&s){a.$instanceValues$.set(n,r);if(u){if((o&(2|16))===2){j(a,false)}}}};var W=function(e,n,r){if(n.$members$){var t=Object.entries(n.$members$);var a=e.prototype;t.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 V(this,t)},set:function(e){F(this,t,e,n)},configurable:true,enumerable:true})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,n,r){var t=this;ce.jmp((function(){var n=i.get(e);if(t.hasOwnProperty(n)){r=t[n];delete t[n]}else if(a.hasOwnProperty(n)&&typeof t[n]==="number"&&t[n]==r){return}t[n]=r===null&&typeof t[n]==="boolean"?false:r}))};e.observedAttributes=t.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var n=e[0],r=e[1];var t=r[1]||n;i.set(t,n);return t}))}}return e};var D=function(e,n,t,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,o,s,f,c;return __generator(this,(function($){switch($.label){case 0:if(!((n.$flags$&32)===0))return[3,3];n.$flags$|=32;i=ue(t);if(!i.then)return[3,2];e=l();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){W(i,t,2);i.isProxied=true}r=u("createInstance",t.$tagName$);{n.$flags$|=8}try{new i(n)}catch(e){ie(e)}{n.$flags$&=~8}r();G(n.$lazyInstance$);if(i.style){a=i.style;o=N(t);if(!le.has(o)){s=u("registerStyles",t.$tagName$);_(o,a,!!(t.$flags$&1));s()}}$.label=3;case 3:f=n.$ancestorComponent$;c=function(){return j(n,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var G=function(e){{T(e,"connectedCallback")}};var J=function(e){if((ce.$flags$&1)===0){var n=re(e);var r=n.$cmpMeta$;var t=u("connectedCallback",r.$tagName$);if(!(n.$flags$&1)){n.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){P(n,n.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{D(e,n,r)}}else{X(e,n,r.$listeners$);G(n.$lazyInstance$)}t()}};var K=function(e){if((ce.$flags$&1)===0){var n=re(e);var r=n.$lazyInstance$;{if(n.$rmListeners$){n.$rmListeners$.map((function(e){return e()}));n.$rmListeners$=undefined}}{T(r,"disconnectedCallback")}}};var Q=e("b",(function(e,n){if(n===void 0){n={}}var r;var t=u();var a=[];var i=n.exclude||[];var o=se.customElements;var l=fe.head;var f=l.querySelector("meta[charset]");var c=fe.createElement("style");var v=[];var d;var p=true;Object.assign(ce,n);ce.$resourcesUrl$=new URL(n.resourcesUrl||"./",fe.baseURI).href;e.map((function(e){e[1].map((function(n){var r={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};{r.$members$=n[2]}{r.$listeners$=n[3]}var t=r.$tagName$;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;ae(n,r);if(r.$flags$&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(p){v.push(this)}else{ce.jmp((function(){return J(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;ce.jmp((function(){return K(e)}))};n.prototype.componentOnReady=function(){return re(this).$onReadyPromise$};return n}(HTMLElement);r.$lazyBundleId$=e[0];if(!i.includes(t)&&!o.get(t)){a.push(t);o.define(t,W(u,r,1))}}))}));{c.innerHTML=a+s;c.setAttribute("data-styles","");var h=(r=ce.$nonce$)!==null&&r!==void 0?r:$(fe);if(h!=null){c.setAttribute("nonce",h)}l.insertBefore(c,f?f.nextSibling:l.firstChild)}p=false;if(v.length){v.map((function(e){return e.connectedCallback()}))}else{{ce.jmp((function(){return d=setTimeout(B,30)}))}}t()}));var X=function(e,n,r,t){if(r){r.map((function(r){var t=r[0],a=r[1],i=r[2];var o=e;var u=Y(n,i);var l=Z(t);ce.ael(o,a,u,l);(n.$rmListeners$=n.$rmListeners$||[]).push((function(){return ce.rel(o,a,u,l)}))}))}};var Y=function(e,n){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[n](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([n,r])}}}catch(e){ie(e)}}};var Z=function(e){return(e&2)!==0};var ee=e("s",(function(e){return ce.$nonce$=e}));var ne=new WeakMap;var re=function(e){return ne.get(e)};var te=e("r",(function(e,n){return ne.set(n.$lazyInstance$=e,n)}));var ae=function(e,n){var r={$flags$:0,$hostElement$:e,$cmpMeta$:n,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}X(e,r,n.$listeners$);return ne.set(e,r)};var ie=function(e,n){return(0,console.error)(e,n)};var oe=new Map;var ue=function(e,r,t){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=oe.get(i);if(o){return o[a]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(i,".entry.js").concat("")).then((function(e){{oe.set(i,e)}return e[a]}),ie)};var le=new Map;var se=typeof window!=="undefined"?window:{};var fe=se.document||{head:{}};var ce={$flags$:0,$resourcesUrl$:"",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 $e=e("p",(function(e){return Promise.resolve(e)}));var ve=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var de=[];var pe=[];var he=function(e,n){return function(r){e.push(r);if(!o){o=true;if(n&&ce.$flags$&4){ye(ge)}else{ce.raf(ge)}}}};var me=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){ie(e)}}e.length=0};var ge=function(){me(de);{me(pe);if(o=de.length>0){ce.raf(ge)}}};var ye=function(e){return $e().then(e)};var be=he(pe,true)}}}));
@@ -0,0 +1,2 @@
1
+ let e,t,n=!1;const l=e=>"object"==(e=typeof e)||"function"===e;function o(e){var t,n,l;return null!==(l=null===(n=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const s=(e,t,...n)=>{let o=null,s=!1,r=!1;const i=[],a=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?a(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!l(o))&&(o+=""),s&&r?i[i.length-1].t+=o:i.push(s?c(null,o):o),r=s)};a(n);const u=c(e,null);return u.l=t,i.length>0&&(u.o=i),u},c=(e,t)=>({i:0,u:e,t,m:null,o:null}),r={},i=e=>H(e).h,a=(e,t,n)=>{const l=i(e);return{emit:e=>u(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},u=(e,t,n)=>{const l=B.ce(t,n);return e.dispatchEvent(l),l},f=new WeakMap,d=e=>"sc-"+e.p,m=(t,n,l)=>{const o=n.o[l];let s,c,r=0;if(s=o.m=z.createElement(o.u),null!=e&&s["s-si"]!==e&&s.classList.add(s["s-si"]=e),o.o)for(r=0;r<o.o.length;++r)c=m(t,o,r),c&&s.appendChild(c);return s},h=(e,n,l,o,s,c)=>{let r,i=e;for(i.shadowRoot&&i.tagName===t&&(i=i.shadowRoot);s<=c;++s)o[s]&&(r=m(null,l,s),r&&(o[s].m=r,i.insertBefore(r,n)))},p=(e,t,n,l)=>{for(;t<=n;++t)(l=e[t])&&l.m.remove()},$=(e,t)=>e.u===t.u,y=(e,t)=>{const n=t.m=e.m,l=e.o,o=t.o;null!==l&&null!==o?((e,t,n,l)=>{let o,s=0,c=0,r=t.length-1,i=t[0],a=t[r],u=l.length-1,f=l[0],d=l[u];for(;s<=r&&c<=u;)null==i?i=t[++s]:null==a?a=t[--r]:null==f?f=l[++c]:null==d?d=l[--u]:$(i,f)?(y(i,f),i=t[++s],f=l[++c]):$(a,d)?(y(a,d),a=t[--r],d=l[--u]):$(i,d)?(y(i,d),e.insertBefore(i.m,a.m.nextSibling),i=t[++s],d=l[--u]):$(a,f)?(y(a,f),e.insertBefore(a.m,i.m),a=t[--r],f=l[++c]):(o=m(t&&t[c],n,c),f=l[++c],o&&i.m.parentNode.insertBefore(o,i.m));s>r?h(e,null==l[u+1]?null:l[u+1].m,n,l,c,u):c>u&&p(t,s,r)})(n,l,t,o):null!==o?h(n,null,t,o,0,o.length-1):null!==l&&p(l,0,l.length-1)},b=(e,t)=>{t&&!e.$&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.$=t)))},w=(e,t)=>{if(e.i|=16,!(4&e.i))return b(e,e.v),ee((()=>v(e,t)));e.i|=512},v=(e,t)=>{const n=e.S;return t&&(e.i|=256,e.g&&(e.g.map((([e,t])=>M(n,e,t))),e.g=null)),j(void 0,(()=>S(e,n,t)))},S=async(e,t,n)=>{const l=e.h,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.h,l=t.i,s=((e,t)=>{var n;let l=d(t);const s=V.get(l);if(e=11===e.nodeType?e:z,s)if("string"==typeof s){let t,c=f.get(e=e.head||e);if(c||f.set(e,c=new Set),!c.has(l)){{t=z.createElement("style"),t.innerHTML=s;const l=null!==(n=B.C)&&void 0!==n?n:o(z);null!=l&&t.setAttribute("nonce",l),e.insertBefore(t,e.querySelector("link"))}c&&c.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);g(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>k(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},g=(n,l)=>{try{l=l.render(),n.i&=-17,n.i|=2,((n,l)=>{const o=n.h,i=n.M||c(null,null),a=(e=>e&&e.u===r)(l)?l:s(null,null,l);t=o.tagName,a.u=null,a.i|=4,n.M=a,a.m=i.m=o.shadowRoot||o,e=o["s-sc"],y(i,a)})(n,l)}catch(e){W(e,n.h)}return null},k=e=>{const t=e.h,n=e.S,l=e.v;64&e.i||(e.i|=64,O(t),M(n,"componentDidLoad"),e.j(t),l||C()),e.$&&(e.$(),e.$=void 0),512&e.i&&Z((()=>w(e,!1))),e.i&=-517},C=()=>{O(z.documentElement),Z((()=>u(_,"appload",{detail:{namespace:"mds-accordion-timer"}})))},M=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){W(e)}},j=(e,t)=>e&&e.then?e.then(t):t(),O=e=>e.setAttribute("hydrated",""),P=(e,t,n)=>{if(t.O){const o=Object.entries(t.O),s=e.prototype;if(o.map((([e,[o]])=>{(31&o||2&n&&32&o)&&Object.defineProperty(s,e,{get(){return((e,t)=>H(this).P.get(t))(0,e)},set(n){((e,t,n,o)=>{const s=H(e),c=s.P.get(t),r=s.i,i=s.S;n=((e,t)=>null==e||l(e)?e:2&t?parseFloat(e):e)(n,o.O[t][0]),8&r&&void 0!==c||n===c||Number.isNaN(c)&&Number.isNaN(n)||(s.P.set(t,n),i&&2==(18&r)&&w(s,!1))})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;s.attributeChangedCallback=function(e,n,l){B.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(s.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=o.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},x=e=>{M(e,"connectedCallback")},E=(e,t={})=>{var n;const l=[],s=t.exclude||[],c=_.customElements,r=z.head,i=r.querySelector("meta[charset]"),a=z.createElement("style"),u=[];let f,m=!0;Object.assign(B,t),B.L=new URL(t.resourcesUrl||"./",z.baseURI).href,e.map((e=>{e[1].map((t=>{const n={i:t[0],p:t[1],O:t[2],N:t[3]};n.O=t[2],n.N=t[3];const o=n.p,r=class extends HTMLElement{constructor(e){super(e),U(e=this,n),1&n.i&&e.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),m?u.push(this):B.jmp((()=>(e=>{if(0==(1&B.i)){const t=H(e),n=t.k,l=()=>{};if(1&t.i)L(e,t,n.N),x(t.S);else{t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){b(t,t.v=n);break}}n.O&&Object.entries(n.O).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,o)=>{if(0==(32&t.i)){{if(t.i|=32,(o=D(n)).then){const e=()=>{};o=await o,e()}o.isProxied||(P(o,n,2),o.isProxied=!0);const e=()=>{};t.i|=8;try{new o(t)}catch(e){W(e)}t.i&=-9,e(),x(t.S)}if(o.style){let e=o.style;const t=d(n);if(!V.has(t)){const l=()=>{};((e,t,n)=>{let l=V.get(e);I&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,V.set(e,l)})(t,e,!!(1&n.i)),l()}}}const s=t.v,c=()=>w(t,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,t,n)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>(()=>{if(0==(1&B.i)){const e=H(this),t=e.S;e.T&&(e.T.map((e=>e())),e.T=void 0),M(t,"disconnectedCallback")}})()))}componentOnReady(){return H(this).A}};n.F=e[0],s.includes(o)||c.get(o)||(l.push(o),c.define(o,P(r,n,1)))}))}));{a.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",a.setAttribute("data-styles","");const e=null!==(n=B.C)&&void 0!==n?n:o(z);null!=e&&a.setAttribute("nonce",e),r.insertBefore(a,i?i.nextSibling:r.firstChild)}m=!1,u.length?u.map((e=>e.connectedCallback())):B.jmp((()=>f=setTimeout(C,30)))},L=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,c=N(t,o),r=T(n);B.ael(s,l,c,r),(t.T=t.T||[]).push((()=>B.rel(s,l,c,r)))}))},N=(e,t)=>n=>{try{256&e.i?e.S[t](n):(e.g=e.g||[]).push([t,n])}catch(e){W(e)}},T=e=>0!=(2&e),A=e=>B.C=e,F=new WeakMap,H=e=>F.get(e),R=(e,t)=>F.set(t.S=e,t),U=(e,t)=>{const n={i:0,h:e,k:t,P:new Map};return n.A=new Promise((e=>n.j=e)),e["s-p"]=[],e["s-rc"]=[],L(e,n,t.N),F.set(e,n)},W=(e,t)=>(0,console.error)(e,t),q=new Map,D=e=>{const t=e.p.replace(/-/g,"_"),n=e.F,l=q.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(q.set(n,e),e[t])),W)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,L:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},G=e=>Promise.resolve(e),I=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),J=[],K=[],Q=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&B.i?Z(Y):B.raf(Y))},X=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){W(e)}e.length=0},Y=()=>{X(J),X(K),(n=J.length>0)&&B.raf(Y)},Z=e=>G().then(e),ee=Q(K,!0);export{r as H,E as b,a as c,i as g,s as h,G as p,R as r,A as s}
@@ -0,0 +1 @@
1
+ System.register(["./p-59116e2a.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-e66497f2.system",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"clickActive","onClickActive"],[0,"mouseEnterActive","onMouseEnterActive"],[0,"mouseLeaveActive","onMouseLeaveActive"]]]]]],e)}))}}}));
@@ -1 +1 @@
1
- System.register(["./p-e2fa938f.system.js"],(function(t){"use strict";var e,i,n,r,c;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;c=t.g}],execute:function(){var a=":host{display:block}";var s=t("mds_accordion_timer",function(){function t(t){var n=this;e(this,t);this.itemActivated=i(this,"itemActivated",7);this.clearIntervals=function(){window.clearInterval(n.timer);window.clearInterval(n.timeChecker);n.timer=null;n.timeChecker=null};this.progress=function(){return Math.abs(n.remainingTime()/n.duration-1)};this.addTimeListener=function(){n.timeChecker=window.setInterval((function(){var t=n.progress();if(n.activeItem!==undefined){n.activeItem.progress=t}if(t===1){n.activeItem.progress=0;n.startNext()}}),100)};this.beginningTime=function(){n.timeStarted=(new Date).getTime();return n.timeStarted};this.remainingTime=function(){var t=n.activeItemDurationTime-((new Date).getTime()-n.timeStarted);return t>=0?t:0};this.setActiveItem=function(t){n.children.forEach((function(e,i){if(i===t){e.active=true;n.activeItem=e;n.itemActivated.emit(t)}else{e.active=false}}))};this.startNext=function(){var t=n.activeItem.uuid+1>n.children.length-1?0:n.activeItem.uuid+1;n.setActiveItem(t);n.startTimer()};this.startTimer=function(){n.clearIntervals();n.time=n.beginningTime();n.activeItemDurationTime=n.duration;n.addTimeListener()};this.playTimer=function(){n.beginningTime();n.addTimeListener()};this.pauseTimer=function(){n.clearIntervals();n.activeItemDurationTime=n.remainingTime()};this.stopTimer=function(){n.clearIntervals();n.time=null};this.time=0;this.duration=1e4}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(e,i){e.uuid=i;if(e.active){t.activeItem=e}}))};t.prototype.connectedCallback=function(){this.startTimer()};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickActive=function(t){if(t.detail===this.activeItem.description){return}var e;this.children.forEach((function(i){i.progress=0;if(i.description===t.detail){e=i.uuid}}));this.setActiveItem(e);this.startTimer();this.pauseTimer()};t.prototype.onMouseEnterActive=function(){this.pauseTimer()};t.prototype.onMouseLeaveActive=function(){if(this.timeChecker===null){this.playTimer()}};t.prototype.render=function(){return n(r,null,n("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return c(this)},enumerable:false,configurable:true});return t}());s.style=a}}}));
1
+ System.register(["./p-59116e2a.system.js"],(function(t){"use strict";var e,i,n,r,c;return{setters:[function(t){e=t.r;i=t.c;n=t.h;r=t.H;c=t.g}],execute:function(){var a=":host{display:block}";var s=t("mds_accordion_timer",function(){function t(t){var n=this;e(this,t);this.itemActivated=i(this,"itemActivated",7);this.clearIntervals=function(){window.clearInterval(n.timer);window.clearInterval(n.timeChecker);n.timer=null;n.timeChecker=null};this.progress=function(){return Math.abs(n.remainingTime()/n.duration-1)};this.addTimeListener=function(){n.timeChecker=window.setInterval((function(){var t=n.progress();if(n.activeItem!==undefined){n.activeItem.progress=t}if(t===1){n.activeItem.progress=0;n.startNext()}}),100)};this.beginningTime=function(){n.timeStarted=(new Date).getTime();return n.timeStarted};this.remainingTime=function(){var t=n.activeItemDurationTime-((new Date).getTime()-n.timeStarted);return t>=0?t:0};this.setActiveItem=function(t){n.children.forEach((function(e,i){if(i===t){e.active=true;n.activeItem=e;n.itemActivated.emit(t)}else{e.active=false}}))};this.startNext=function(){var t=n.activeItem.uuid+1>n.children.length-1?0:n.activeItem.uuid+1;n.setActiveItem(t);n.startTimer()};this.startTimer=function(){n.clearIntervals();n.time=n.beginningTime();n.activeItemDurationTime=n.duration;n.addTimeListener()};this.playTimer=function(){n.beginningTime();n.addTimeListener()};this.pauseTimer=function(){n.clearIntervals();n.activeItemDurationTime=n.remainingTime()};this.stopTimer=function(){n.clearIntervals();n.time=null};this.time=0;this.duration=1e4}t.prototype.componentDidLoad=function(){var t=this;this.children=this.element.querySelectorAll("mds-accordion-timer-item");this.children.forEach((function(e,i){e.uuid=i;if(e.active){t.activeItem=e}}))};t.prototype.connectedCallback=function(){this.startTimer()};t.prototype.disconnectedCallback=function(){this.stopTimer();this.clearIntervals()};t.prototype.onClickActive=function(t){if(t.detail===this.activeItem.description){return}var e;this.children.forEach((function(i){i.progress=0;if(i.description===t.detail){e=i.uuid}}));this.setActiveItem(e);this.startTimer();this.pauseTimer()};t.prototype.onMouseEnterActive=function(){this.pauseTimer()};t.prototype.onMouseLeaveActive=function(){if(this.timeChecker===null){this.playTimer()}};t.prototype.render=function(){return n(r,null,n("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return c(this)},enumerable:false,configurable:true});return t}());s.style=a}}}));
@@ -1 +1 @@
1
- import{r as t,c as i,h as s,H as h,g as e}from"./p-d5616601.js";const n=class{constructor(s){t(this,s),this.itemActivated=i(this,"itemActivated",7),this.clearIntervals=()=>{window.clearInterval(this.timer),window.clearInterval(this.timeChecker),this.timer=null,this.timeChecker=null},this.progress=()=>Math.abs(this.remainingTime()/this.duration-1),this.addTimeListener=()=>{this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.activeItem&&(this.activeItem.progress=t),1===t&&(this.activeItem.progress=0,this.startNext())}),100)},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.remainingTime=()=>{const t=this.activeItemDurationTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.setActiveItem=t=>{this.children.forEach(((i,s)=>{s===t?(i.active=!0,this.activeItem=i,this.itemActivated.emit(t)):i.active=!1}))},this.startNext=()=>{this.setActiveItem(this.activeItem.uuid+1>this.children.length-1?0:this.activeItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.activeItemDurationTime=this.duration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.activeItemDurationTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals(),this.time=null},this.time=0,this.duration=1e4}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,i)=>{t.uuid=i,t.active&&(this.activeItem=t)}))}connectedCallback(){this.startTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickActive(t){if(t.detail===this.activeItem.description)return;let i;this.children.forEach((s=>{s.progress=0,s.description===t.detail&&(i=s.uuid)})),this.setActiveItem(i),this.startTimer(),this.pauseTimer()}onMouseEnterActive(){this.pauseTimer()}onMouseLeaveActive(){null===this.timeChecker&&this.playTimer()}render(){return s(h,null,s("slot",null))}get element(){return e(this)}};n.style=":host{display:block}";export{n as mds_accordion_timer}
1
+ import{r as t,c as i,h as s,H as h,g as e}from"./p-5d8e384d.js";const n=class{constructor(s){t(this,s),this.itemActivated=i(this,"itemActivated",7),this.clearIntervals=()=>{window.clearInterval(this.timer),window.clearInterval(this.timeChecker),this.timer=null,this.timeChecker=null},this.progress=()=>Math.abs(this.remainingTime()/this.duration-1),this.addTimeListener=()=>{this.timeChecker=window.setInterval((()=>{const t=this.progress();void 0!==this.activeItem&&(this.activeItem.progress=t),1===t&&(this.activeItem.progress=0,this.startNext())}),100)},this.beginningTime=()=>(this.timeStarted=(new Date).getTime(),this.timeStarted),this.remainingTime=()=>{const t=this.activeItemDurationTime-((new Date).getTime()-this.timeStarted);return t>=0?t:0},this.setActiveItem=t=>{this.children.forEach(((i,s)=>{s===t?(i.active=!0,this.activeItem=i,this.itemActivated.emit(t)):i.active=!1}))},this.startNext=()=>{this.setActiveItem(this.activeItem.uuid+1>this.children.length-1?0:this.activeItem.uuid+1),this.startTimer()},this.startTimer=()=>{this.clearIntervals(),this.time=this.beginningTime(),this.activeItemDurationTime=this.duration,this.addTimeListener()},this.playTimer=()=>{this.beginningTime(),this.addTimeListener()},this.pauseTimer=()=>{this.clearIntervals(),this.activeItemDurationTime=this.remainingTime()},this.stopTimer=()=>{this.clearIntervals(),this.time=null},this.time=0,this.duration=1e4}componentDidLoad(){this.children=this.element.querySelectorAll("mds-accordion-timer-item"),this.children.forEach(((t,i)=>{t.uuid=i,t.active&&(this.activeItem=t)}))}connectedCallback(){this.startTimer()}disconnectedCallback(){this.stopTimer(),this.clearIntervals()}onClickActive(t){if(t.detail===this.activeItem.description)return;let i;this.children.forEach((s=>{s.progress=0,s.description===t.detail&&(i=s.uuid)})),this.setActiveItem(i),this.startTimer(),this.pauseTimer()}onMouseEnterActive(){this.pauseTimer()}onMouseLeaveActive(){null===this.timeChecker&&this.playTimer()}render(){return s(h,null,s("slot",null))}get element(){return e(this)}};n.style=":host{display:block}";export{n as mds_accordion_timer}
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(s,i)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];a=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="mds-accordion-timer";var scopeId;var hostTagName;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){i[i.length-1].$text$+=a}else{i.push(o?newVNode(null,a):a)}s=o}}};l(n);var u=newVNode(e,null);u.$attrs$=t;if(i.length>0){u.$children$=i}return u};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&2){return parseFloat(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,n){var r=getElement(e);return{emit:function(e){return emitEvent(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var s;var i;{s=a.$elm$=doc.createElement(a.$tag$);if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,n,r,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(r[a]){i=createElm(null,n,a);if(i){r[a].$elm$=i;s.insertBefore(i,t)}}}};var removeVnodes=function(e,t,n,r,a){for(;t<=n;++t){if(r=e[t]){a=r.$elm$;a.remove()}}};var updateChildren=function(e,t,n,r){var a=0;var o=0;var s=t.length-1;var i=t[0];var l=t[s];var u=r.length-1;var c=r[0];var f=r[u];var $;while(a<=s&&o<=u){if(i==null){i=t[++a]}else if(l==null){l=t[--s]}else if(c==null){c=r[++o]}else if(f==null){f=r[--u]}else if(isSameVnode(i,c)){patch(i,c);i=t[++a];c=r[++o]}else if(isSameVnode(l,f)){patch(l,f);l=t[--s];f=r[--u]}else if(isSameVnode(i,f)){patch(i,f);e.insertBefore(i.$elm$,l.$elm$.nextSibling);i=t[++a];f=r[--u]}else if(isSameVnode(l,c)){patch(l,c);e.insertBefore(l.$elm$,i.$elm$);l=t[--s];c=r[++o]}else{{$=createElm(t&&t[o],n,o);c=r[++o]}if($){{i.$elm$.parentNode.insertBefore($,i.$elm$)}}}}if(a>s){addVnodes(e,r[u+1]==null?null:r[u+1].$elm$,n,r,o,u)}else if(o>u){removeVnodes(t,a,s)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){return true}return false};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var a=t.$children$;{if(r!==null&&a!==null){updateChildren(n,r,t,a)}else if(a!==null){addVnodes(n,null,t,a,0,a.length-1)}else if(r!==null){removeVnodes(r,0,r.length-1)}}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$vnode$||newVNode(null,null);var a=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;a.$tag$=null;a.$flags$|=4;e.$vnode$=a;a.$elm$=r.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}patch(r,a)};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,s,i,l;return __generator(this,(function(u){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}s();a();{i=r["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}{safeCall(a,"componentDidLoad")}r();{e.$onReadyResolve$(n);if(!o){appDidLoad()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,n,r){var a=getHostRef(e);var o=a.$instanceValues$.get(t);var s=a.$flags$;var i=a.$lazyInstance$;n=parsePropertyValue(n,r.$members$[t][0]);var l=Number.isNaN(o)&&Number.isNaN(n);var u=n!==o&&!l;if((!(s&8)||o===undefined)&&u){a.$instanceValues$.set(t,n);if(i){if((s&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,n){if(t.$members$){var r=Object.entries(t.$members$);var a=e.prototype;r.map((function(e){var r=e[0],o=e[1][0];if(o&31||n&2&&o&32){Object.defineProperty(a,r,{get:function(){return getValue(this,r)},set:function(e){setValue(this,r,e,t)},configurable:true,enumerable:true})}}));if(n&1){var o=new Map;a.attributeChangedCallback=function(e,t,n){var r=this;plt.jmp((function(){var t=o.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(a.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var t=e[0],n=e[1];var r=n[1]||t;o.set(r,t);return r}))}}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,n,2);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}r();fireConnectedCallback(t.$lazyInstance$);if(a.style){o=a.style;s=getScopeId(n);if(!styles.has(s)){i=createTime("registerStyles",n.$tagName$);registerStyle(s,o,!!(n.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}{initializeComponent(e,t,n)}}else{addHostEventListeners(e,t,n.$listeners$);fireConnectedCallback(t.$lazyInstance$)}r()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$lazyInstance$;{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}{safeCall(n,"disconnectedCallback")}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n=createTime();var r=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var c;var f=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}var s=n.$tagName$;var i=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(f){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){r.push(s);o.define(s,proxyComponent(i,n,1))}}))}));{l.innerHTML=r+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}f=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var s=e;var i=hostListenerProxy(t,o);var l=hostListenerOpts(r);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return(e&2)!==0};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};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,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](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,getElement as g,h,promiseResolve as p,registerInstance as r};
@@ -1 +0,0 @@
1
- System.register(["./p-e2fa938f.system.js"],(function(e,t){"use strict";var r,n;return{setters:[function(e){r=e.p;n=e.b}],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-6bb3b141.system",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"clickActive","onClickActive"],[0,"mouseEnterActive","onMouseEnterActive"],[0,"mouseLeaveActive","onMouseLeaveActive"]]]]]],e)}))}}}));
@@ -1,2 +0,0 @@
1
- let e,t,n=!1;const l=e=>"object"==(e=typeof e)||"function"===e,s=(e,t,...n)=>{let s=null,c=!1,r=!1;const i=[],a=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?a(s):null!=s&&"boolean"!=typeof s&&((c="function"!=typeof e&&!l(s))&&(s+=""),c&&r?i[i.length-1].t+=s:i.push(c?o(null,s):s),r=c)};a(n);const u=o(e,null);return u.l=t,i.length>0&&(u.o=i),u},o=(e,t)=>({i:0,u:e,t,h:null,o:null}),c={},r=e=>A(e).m,i=(e,t,n)=>{const l=r(e);return{emit:e=>a(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},a=(e,t,n)=>{const l=_.ce(t,n);return e.dispatchEvent(l),l},u=new WeakMap,f=e=>"sc-"+e.$,d=(t,n,l)=>{const s=n.o[l];let o,c,r=0;if(o=s.h=V.createElement(s.u),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),s.o)for(r=0;r<s.o.length;++r)c=d(t,s,r),c&&o.appendChild(c);return o},h=(e,n,l,s,o,c)=>{let r,i=e;for(i.shadowRoot&&i.tagName===t&&(i=i.shadowRoot);o<=c;++o)s[o]&&(r=d(null,l,o),r&&(s[o].h=r,i.insertBefore(r,n)))},m=(e,t,n,l)=>{for(;t<=n;++t)(l=e[t])&&l.h.remove()},$=(e,t)=>e.u===t.u,p=(e,t)=>{const n=t.h=e.h,l=e.o,s=t.o;null!==l&&null!==s?((e,t,n,l)=>{let s,o=0,c=0,r=t.length-1,i=t[0],a=t[r],u=l.length-1,f=l[0],y=l[u];for(;o<=r&&c<=u;)null==i?i=t[++o]:null==a?a=t[--r]:null==f?f=l[++c]:null==y?y=l[--u]:$(i,f)?(p(i,f),i=t[++o],f=l[++c]):$(a,y)?(p(a,y),a=t[--r],y=l[--u]):$(i,y)?(p(i,y),e.insertBefore(i.h,a.h.nextSibling),i=t[++o],y=l[--u]):$(a,f)?(p(a,f),e.insertBefore(a.h,i.h),a=t[--r],f=l[++c]):(s=d(t&&t[c],n,c),f=l[++c],s&&i.h.parentNode.insertBefore(s,i.h));o>r?h(e,null==l[u+1]?null:l[u+1].h,n,l,c,u):c>u&&m(t,o,r)})(n,l,t,s):null!==s?h(n,null,t,s,0,s.length-1):null!==l&&m(l,0,l.length-1)},y=(e,t)=>{t&&!e.p&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.p=t)))},b=(e,t)=>{if(e.i|=16,!(4&e.i))return y(e,e.S),Y((()=>w(e,t)));e.i|=512},w=(e,t)=>{const n=e.g;return t&&(e.i|=256,e.k&&(e.k.map((([e,t])=>C(n,e,t))),e.k=null)),M(void 0,(()=>S(e,n,t)))},S=async(e,t,n)=>{const l=e.m,s=l["s-rc"];n&&(e=>{const t=e.v,n=e.m,l=t.i,s=((e,t)=>{let n=f(t);const l=q.get(n);if(e=11===e.nodeType?e:V,l)if("string"==typeof l){let t,s=u.get(e=e.head||e);s||u.set(e,s=new Set),s.has(n)||(t=V.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);g(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>k(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},g=(n,l)=>{try{l=l.render(),n.i&=-17,n.i|=2,((n,l)=>{const r=n.m,i=n.C||o(null,null),a=(e=>e&&e.u===c)(l)?l:s(null,null,l);t=r.tagName,a.u=null,a.i|=4,n.C=a,a.h=i.h=r.shadowRoot||r,e=r["s-sc"],p(i,a)})(n,l)}catch(e){R(e,n.m)}return null},k=e=>{const t=e.m,n=e.g,l=e.S;64&e.i||(e.i|=64,j(t),C(n,"componentDidLoad"),e.M(t),l||v()),e.p&&(e.p(),e.p=void 0),512&e.i&&X((()=>b(e,!1))),e.i&=-517},v=()=>{j(V.documentElement),X((()=>a(D,"appload",{detail:{namespace:"mds-accordion-timer"}})))},C=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){R(e)}},M=(e,t)=>e&&e.then?e.then(t):t(),j=e=>e.classList.add("hydrated"),O=(e,t,n)=>{if(t.j){const s=Object.entries(t.j),o=e.prototype;if(s.map((([e,[s]])=>{(31&s||2&n&&32&s)&&Object.defineProperty(o,e,{get(){return((e,t)=>A(this).O.get(t))(0,e)},set(n){((e,t,n,s)=>{const o=A(e),c=o.O.get(t),r=o.i,i=o.g;n=((e,t)=>null==e||l(e)?e:2&t?parseFloat(e):e)(n,s.j[t][0]),8&r&&void 0!==c||n===c||Number.isNaN(c)&&Number.isNaN(n)||(o.O.set(t,n),i&&2==(18&r)&&b(o,!1))})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;o.attributeChangedCallback=function(e,n,l){_.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(o.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=s.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},P=e=>{C(e,"connectedCallback")},x=(e,t={})=>{const n=[],l=t.exclude||[],s=D.customElements,o=V.head,c=o.querySelector("meta[charset]"),r=V.createElement("style"),i=[];let a,u=!0;Object.assign(_,t),_.P=new URL(t.resourcesUrl||"./",V.baseURI).href,e.map((e=>{e[1].map((t=>{const o={i:t[0],$:t[1],j:t[2],L:t[3]};o.j=t[2],o.L=t[3];const c=o.$,r=class extends HTMLElement{constructor(e){super(e),H(e=this,o),1&o.i&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),u?i.push(this):_.jmp((()=>(e=>{if(0==(1&_.i)){const t=A(e),n=t.v,l=()=>{};if(1&t.i)E(e,t,n.L),P(t.g);else{t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){y(t,t.S=n);break}}n.j&&Object.entries(n.j).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.i)){{if(t.i|=32,(s=W(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(O(s,n,2),s.isProxied=!0);const e=()=>{};t.i|=8;try{new s(t)}catch(e){R(e)}t.i&=-9,e(),P(t.g)}if(s.style){let e=s.style;const t=f(n);if(!q.has(t)){const l=()=>{};((e,t,n)=>{let l=q.get(e);B&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,q.set(e,l)})(t,e,!!(1&n.i)),l()}}}const o=t.S,c=()=>b(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(0,t,n)}l()}})(this)))}disconnectedCallback(){_.jmp((()=>(()=>{if(0==(1&_.i)){const e=A(this),t=e.g;e.N&&(e.N.map((e=>e())),e.N=void 0),C(t,"disconnectedCallback")}})()))}componentOnReady(){return A(this).T}};o.A=e[0],l.includes(c)||s.get(c)||(n.push(c),s.define(c,O(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,c?c.nextSibling:o.firstChild),u=!1,i.length?i.map((e=>e.connectedCallback())):_.jmp((()=>a=setTimeout(v,30)))},E=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,c=L(t,s),r=N(n);_.ael(o,l,c,r),(t.N=t.N||[]).push((()=>_.rel(o,l,c,r)))}))},L=(e,t)=>n=>{try{256&e.i?e.g[t](n):(e.k=e.k||[]).push([t,n])}catch(e){R(e)}},N=e=>0!=(2&e),T=new WeakMap,A=e=>T.get(e),F=(e,t)=>T.set(t.g=e,t),H=(e,t)=>{const n={i:0,m:e,v:t,O:new Map};return n.T=new Promise((e=>n.M=e)),e["s-p"]=[],e["s-rc"]=[],E(e,n,t.L),T.set(e,n)},R=(e,t)=>(0,console.error)(e,t),U=new Map,W=e=>{const t=e.$.replace(/-/g,"_"),n=e.A,l=U.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(U.set(n,e),e[t])),R)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},q=new Map,D="undefined"!=typeof window?window:{},V=D.document||{head:{}},_={i:0,P:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},z=e=>Promise.resolve(e),B=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),G=[],I=[],J=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&_.i?X(Q):_.raf(Q))},K=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){R(e)}e.length=0},Q=()=>{K(G),K(I),(n=G.length>0)&&_.raf(Q)},X=e=>z().then(e),Y=J(I,!0);export{c as H,x as b,i as c,r as g,s as h,z as p,F as r}
@@ -1,2 +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 a(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{l(t.next(e))}catch(e){i(e)}}function u(e){try{l(t["throw"](e))}catch(e){i(e)}}function l(e){e.done?r(e.value):a(e.value).then(o,u)}l((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,a,i,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 l([e,n])}}function l(o){if(t)throw new TypeError("Generator is already executing.");while(r)try{if(t=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;a=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=n.call(e,r)}catch(e){o=[6,e];a=0}finally{t=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,r){if(r||arguments.length===2)for(var t=0,a=n.length,i;t<a;t++){if(i||!(t in n)){if(!i)i=Array.prototype.slice.call(n,0,t);i[t]=n[t]}}return e.concat(i||Array.prototype.slice.call(n))};System.register([],(function(e,n){"use strict";return{execute:function(){var r=this;var t="mds-accordion-timer";var a;var i;var o=false;var u=function(e,n){if(n===void 0){n=""}{return function(){return}}};var l=function(e,n){{return function(){return}}};var s="{visibility:hidden}.hydrated{visibility:inherit}";var f=function(e){return e!=null};var c=function(e){e=typeof e;return e==="object"||e==="function"};var $=e("h",(function(e,n){var r=[];for(var t=2;t<arguments.length;t++){r[t-2]=arguments[t]}var a=null;var i=false;var o=false;var u=[];var l=function(n){for(var r=0;r<n.length;r++){a=n[r];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!c(a)){a=String(a)}if(i&&o){u[u.length-1].$text$+=a}else{u.push(i?v(null,a):a)}o=i}}};l(r);var s=v(e,null);s.$attrs$=n;if(u.length>0){s.$children$=u}return s}));var v=function(e,n){var r={$flags$:0,$tag$:e,$text$:n,$elm$:null,$children$:null};return r};var d=e("H",{});var p=function(e){return e&&e.$tag$===d};var h=function(e,n){if(e!=null&&!c(e)){if(n&2){return parseFloat(e)}return e}return e};var m=e("g",(function(e){return ee(e).$hostElement$}));var g=e("c",(function(e,n,r){var t=m(e);return{emit:function(e){return y(t,n,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}}));var y=function(e,n,r){var t=se.ce(n,r);e.dispatchEvent(t);return t};var b=new WeakMap;var w=function(e,n,r){var t=oe.get(e);if(ce&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}oe.set(e,t)};var _=function(e,n,r,t){var a=R(n);var i=oe.get(a);e=e.nodeType===11?e:le;if(i){if(typeof i==="string"){e=e.head||e;var o=b.get(e);var u=void 0;if(!o){b.set(e,o=new Set)}if(!o.has(a)){{{u=le.createElement("style");u.innerHTML=i}e.insertBefore(u,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var S=function(e){var n=e.$cmpMeta$;var r=e.$hostElement$;var t=n.$flags$;var a=u("attachStyles",n.$tagName$);var i=_(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var R=function(e,n){return"sc-"+e.$tagName$};var N=function(e,n,r,t){var i=n.$children$[r];var o=0;var u;var l;{u=i.$elm$=le.createElement(i.$tag$);if(f(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){l=N(e,i,o);if(l){u.appendChild(l)}}}}return u};var L=function(e,n,r,t,a,o){var u=e;var l;if(u.shadowRoot&&u.tagName===i){u=u.shadowRoot}for(;a<=o;++a){if(t[a]){l=N(null,r,a);if(l){t[a].$elm$=l;u.insertBefore(l,n)}}}};var C=function(e,n,r,t,a){for(;n<=r;++n){if(t=e[n]){a=t.$elm$;a.remove()}}};var E=function(e,n,r,t){var a=0;var i=0;var o=n.length-1;var u=n[0];var l=n[o];var s=t.length-1;var f=t[0];var c=t[s];var $;while(a<=o&&i<=s){if(u==null){u=n[++a]}else if(l==null){l=n[--o]}else if(f==null){f=t[++i]}else if(c==null){c=t[--s]}else if(x(u,f)){M(u,f);u=n[++a];f=t[++i]}else if(x(l,c)){M(l,c);l=n[--o];c=t[--s]}else if(x(u,c)){M(u,c);e.insertBefore(u.$elm$,l.$elm$.nextSibling);u=n[++a];c=t[--s]}else if(x(l,f)){M(l,f);e.insertBefore(l.$elm$,u.$elm$);l=n[--o];f=t[++i]}else{{$=N(n&&n[i],r,i);f=t[++i]}if($){{u.$elm$.parentNode.insertBefore($,u.$elm$)}}}}if(a>o){L(e,t[s+1]==null?null:t[s+1].$elm$,r,t,i,s)}else if(i>s){C(n,a,o)}};var x=function(e,n){if(e.$tag$===n.$tag$){return true}return false};var M=function(e,n){var r=n.$elm$=e.$elm$;var t=e.$children$;var a=n.$children$;{if(t!==null&&a!==null){E(r,t,n,a)}else if(a!==null){L(r,null,n,a,0,a.length-1)}else if(t!==null){C(t,0,t.length-1)}}};var k=function(e,n){var r=e.$hostElement$;var t=e.$vnode$||v(null,null);var o=p(n)?n:$(null,null,n);i=r.tagName;o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=t.$elm$=r.shadowRoot||r;{a=r["s-sc"]}M(t,o)};var P=function(e,n){if(n&&!e.$onRenderResolve$&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.$onRenderResolve$=n})))}};var j=function(e,n){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}P(e,e.$ancestorComponent$);var r=function(){return O(e,n)};return ge(r)};var O=function(e,n){var r=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var t=e.$lazyInstance$;var a;if(n){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var n=e[0],r=e[1];return B(t,n,r)}));e.$queuedListeners$=null}}}r();return T(a,(function(){return A(e,t,n)}))};var A=function(e,n,t){return __awaiter(r,void 0,void 0,(function(){var r,a,i,o,l,s;return __generator(this,(function(f){r=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=r["s-rc"];if(t){S(e)}o=u("render",e.$cmpMeta$.$tagName$);{I(e,n)}if(i){i.map((function(e){return e()}));r["s-rc"]=undefined}o();a();{l=r["s-p"];s=function(){return z(e)};if(l.length===0){s()}else{Promise.all(l).then(s);e.$flags$|=4;l.length=0}}return[2]}))}))};var I=function(e,n,r){try{n=n.render();{e.$flags$&=~16}{e.$flags$|=2}{{{k(e,n)}}}}catch(n){te(n,e.$hostElement$)}return null};var z=function(e){var n=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var t=u("postUpdate",n);var a=e.$lazyInstance$;var i=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{U(r)}{B(a,"componentDidLoad")}t();{e.$onReadyResolve$(r);if(!i){q()}}}else{t()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){me((function(){return j(e,false)}))}e.$flags$&=~(4|512)}};var q=function(e){{U(le.documentElement)}me((function(){return y(ue,"appload",{detail:{namespace:t}})}))};var B=function(e,n,r){if(e&&e[n]){try{return e[n](r)}catch(e){te(e)}}return undefined};var T=function(e,n){return e&&e.then?e.then(n):n()};var U=function(e){return e.classList.add("hydrated")};var H=function(e,n){return ee(e).$instanceValues$.get(n)};var V=function(e,n,r,t){var a=ee(e);var i=a.$instanceValues$.get(n);var o=a.$flags$;var u=a.$lazyInstance$;r=h(r,t.$members$[n][0]);var l=Number.isNaN(i)&&Number.isNaN(r);var s=r!==i&&!l;if((!(o&8)||i===undefined)&&s){a.$instanceValues$.set(n,r);if(u){if((o&(2|16))===2){j(a,false)}}}};var F=function(e,n,r){if(n.$members$){var t=Object.entries(n.$members$);var a=e.prototype;t.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 H(this,t)},set:function(e){V(this,t,e,n)},configurable:true,enumerable:true})}}));if(r&1){var i=new Map;a.attributeChangedCallback=function(e,n,r){var t=this;se.jmp((function(){var n=i.get(e);if(t.hasOwnProperty(n)){r=t[n];delete t[n]}else if(a.hasOwnProperty(n)&&typeof t[n]==="number"&&t[n]==r){return}t[n]=r===null&&typeof t[n]==="boolean"?false:r}))};e.observedAttributes=t.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var n=e[0],r=e[1];var t=r[1]||n;i.set(t,n);return t}))}}return e};var W=function(e,n,t,a,i){return __awaiter(r,void 0,void 0,(function(){var e,r,a,o,s,f,c;return __generator(this,(function($){switch($.label){case 0:if(!((n.$flags$&32)===0))return[3,3];n.$flags$|=32;i=ie(t);if(!i.then)return[3,2];e=l();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){F(i,t,2);i.isProxied=true}r=u("createInstance",t.$tagName$);{n.$flags$|=8}try{new i(n)}catch(e){te(e)}{n.$flags$&=~8}r();D(n.$lazyInstance$);if(i.style){a=i.style;o=R(t);if(!oe.has(o)){s=u("registerStyles",t.$tagName$);w(o,a,!!(t.$flags$&1));s()}}$.label=3;case 3:f=n.$ancestorComponent$;c=function(){return j(n,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var D=function(e){{B(e,"connectedCallback")}};var G=function(e){if((se.$flags$&1)===0){var n=ee(e);var r=n.$cmpMeta$;var t=u("connectedCallback",r.$tagName$);if(!(n.$flags$&1)){n.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){P(n,n.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{W(e,n,r)}}else{Q(e,n,r.$listeners$);D(n.$lazyInstance$)}t()}};var J=function(e){if((se.$flags$&1)===0){var n=ee(e);var r=n.$lazyInstance$;{if(n.$rmListeners$){n.$rmListeners$.map((function(e){return e()}));n.$rmListeners$=undefined}}{B(r,"disconnectedCallback")}}};var K=e("b",(function(e,n){if(n===void 0){n={}}var r=u();var t=[];var a=n.exclude||[];var i=ue.customElements;var o=le.head;var l=o.querySelector("meta[charset]");var f=le.createElement("style");var c=[];var $;var v=true;Object.assign(se,n);se.$resourcesUrl$=new URL(n.resourcesUrl||"./",le.baseURI).href;e.map((function(e){e[1].map((function(n){var r={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};{r.$members$=n[2]}{r.$listeners$=n[3]}var o=r.$tagName$;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;re(n,r);if(r.$flags$&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if($){clearTimeout($);$=null}if(v){c.push(this)}else{se.jmp((function(){return G(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;se.jmp((function(){return J(e)}))};n.prototype.componentOnReady=function(){return ee(this).$onReadyPromise$};return n}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(o)&&!i.get(o)){t.push(o);i.define(o,F(u,r,1))}}))}));{f.innerHTML=t+s;f.setAttribute("data-styles","");o.insertBefore(f,l?l.nextSibling:o.firstChild)}v=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{se.jmp((function(){return $=setTimeout(q,30)}))}}r()}));var Q=function(e,n,r,t){if(r){r.map((function(r){var t=r[0],a=r[1],i=r[2];var o=e;var u=X(n,i);var l=Y(t);se.ael(o,a,u,l);(n.$rmListeners$=n.$rmListeners$||[]).push((function(){return se.rel(o,a,u,l)}))}))}};var X=function(e,n){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[n](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([n,r])}}}catch(e){te(e)}}};var Y=function(e){return(e&2)!==0};var Z=new WeakMap;var ee=function(e){return Z.get(e)};var ne=e("r",(function(e,n){return Z.set(n.$lazyInstance$=e,n)}));var re=function(e,n){var r={$flags$:0,$hostElement$:e,$cmpMeta$:n,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}Q(e,r,n.$listeners$);return Z.set(e,r)};var te=function(e,n){return(0,console.error)(e,n)};var ae=new Map;var ie=function(e,r,t){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=ae.get(i);if(o){return o[a]}
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(i,".entry.js").concat("")).then((function(e){{ae.set(i,e)}return e[a]}),te)};var oe=new Map;var ue=typeof window!=="undefined"?window:{};var le=ue.document||{head:{}};var se={$flags$:0,$resourcesUrl$:"",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 fe=e("p",(function(e){return Promise.resolve(e)}));var ce=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var $e=[];var ve=[];var de=function(e,n){return function(r){e.push(r);if(!o){o=true;if(n&&se.$flags$&4){me(he)}else{se.raf(he)}}}};var pe=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){te(e)}}e.length=0};var he=function(){pe($e);{pe(ve);if(o=$e.length>0){se.raf(he)}}};var me=function(e){return fe().then(e)};var ge=de(ve,true)}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-e2fa938f.system.js"],(function(e,t){"use strict";var r,n;return{setters:[function(e){r=e.p;n=e.b}],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-6bb3b141.system",[[1,"mds-accordion-timer",{duration:[2],time:[32]},[[0,"clickActive","onClickActive"],[0,"mouseEnterActive","onMouseEnterActive"],[0,"mouseLeaveActive","onMouseLeaveActive"]]]]]],e)}))}}}));
@@ -1,2 +0,0 @@
1
- let e,t,n=!1;const l=e=>"object"==(e=typeof e)||"function"===e,s=(e,t,...n)=>{let s=null,c=!1,r=!1;const i=[],a=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?a(s):null!=s&&"boolean"!=typeof s&&((c="function"!=typeof e&&!l(s))&&(s+=""),c&&r?i[i.length-1].t+=s:i.push(c?o(null,s):s),r=c)};a(n);const u=o(e,null);return u.l=t,i.length>0&&(u.o=i),u},o=(e,t)=>({i:0,u:e,t,h:null,o:null}),c={},r=e=>A(e).m,i=(e,t,n)=>{const l=r(e);return{emit:e=>a(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},a=(e,t,n)=>{const l=_.ce(t,n);return e.dispatchEvent(l),l},u=new WeakMap,f=e=>"sc-"+e.$,d=(t,n,l)=>{const s=n.o[l];let o,c,r=0;if(o=s.h=V.createElement(s.u),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),s.o)for(r=0;r<s.o.length;++r)c=d(t,s,r),c&&o.appendChild(c);return o},h=(e,n,l,s,o,c)=>{let r,i=e;for(i.shadowRoot&&i.tagName===t&&(i=i.shadowRoot);o<=c;++o)s[o]&&(r=d(null,l,o),r&&(s[o].h=r,i.insertBefore(r,n)))},m=(e,t,n,l)=>{for(;t<=n;++t)(l=e[t])&&l.h.remove()},$=(e,t)=>e.u===t.u,p=(e,t)=>{const n=t.h=e.h,l=e.o,s=t.o;null!==l&&null!==s?((e,t,n,l)=>{let s,o=0,c=0,r=t.length-1,i=t[0],a=t[r],u=l.length-1,f=l[0],y=l[u];for(;o<=r&&c<=u;)null==i?i=t[++o]:null==a?a=t[--r]:null==f?f=l[++c]:null==y?y=l[--u]:$(i,f)?(p(i,f),i=t[++o],f=l[++c]):$(a,y)?(p(a,y),a=t[--r],y=l[--u]):$(i,y)?(p(i,y),e.insertBefore(i.h,a.h.nextSibling),i=t[++o],y=l[--u]):$(a,f)?(p(a,f),e.insertBefore(a.h,i.h),a=t[--r],f=l[++c]):(s=d(t&&t[c],n,c),f=l[++c],s&&i.h.parentNode.insertBefore(s,i.h));o>r?h(e,null==l[u+1]?null:l[u+1].h,n,l,c,u):c>u&&m(t,o,r)})(n,l,t,s):null!==s?h(n,null,t,s,0,s.length-1):null!==l&&m(l,0,l.length-1)},y=(e,t)=>{t&&!e.p&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.p=t)))},b=(e,t)=>{if(e.i|=16,!(4&e.i))return y(e,e.S),Y((()=>w(e,t)));e.i|=512},w=(e,t)=>{const n=e.g;return t&&(e.i|=256,e.k&&(e.k.map((([e,t])=>C(n,e,t))),e.k=null)),M(void 0,(()=>S(e,n,t)))},S=async(e,t,n)=>{const l=e.m,s=l["s-rc"];n&&(e=>{const t=e.v,n=e.m,l=t.i,s=((e,t)=>{let n=f(t);const l=q.get(n);if(e=11===e.nodeType?e:V,l)if("string"==typeof l){let t,s=u.get(e=e.head||e);s||u.set(e,s=new Set),s.has(n)||(t=V.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);g(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>k(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},g=(n,l)=>{try{l=l.render(),n.i&=-17,n.i|=2,((n,l)=>{const r=n.m,i=n.C||o(null,null),a=(e=>e&&e.u===c)(l)?l:s(null,null,l);t=r.tagName,a.u=null,a.i|=4,n.C=a,a.h=i.h=r.shadowRoot||r,e=r["s-sc"],p(i,a)})(n,l)}catch(e){R(e,n.m)}return null},k=e=>{const t=e.m,n=e.g,l=e.S;64&e.i||(e.i|=64,j(t),C(n,"componentDidLoad"),e.M(t),l||v()),e.p&&(e.p(),e.p=void 0),512&e.i&&X((()=>b(e,!1))),e.i&=-517},v=()=>{j(V.documentElement),X((()=>a(D,"appload",{detail:{namespace:"mds-accordion-timer"}})))},C=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){R(e)}},M=(e,t)=>e&&e.then?e.then(t):t(),j=e=>e.classList.add("hydrated"),O=(e,t,n)=>{if(t.j){const s=Object.entries(t.j),o=e.prototype;if(s.map((([e,[s]])=>{(31&s||2&n&&32&s)&&Object.defineProperty(o,e,{get(){return((e,t)=>A(this).O.get(t))(0,e)},set(n){((e,t,n,s)=>{const o=A(e),c=o.O.get(t),r=o.i,i=o.g;n=((e,t)=>null==e||l(e)?e:2&t?parseFloat(e):e)(n,s.j[t][0]),8&r&&void 0!==c||n===c||Number.isNaN(c)&&Number.isNaN(n)||(o.O.set(t,n),i&&2==(18&r)&&b(o,!1))})(this,e,n,t)},configurable:!0,enumerable:!0})})),1&n){const t=new Map;o.attributeChangedCallback=function(e,n,l){_.jmp((()=>{const n=t.get(e);if(this.hasOwnProperty(n))l=this[n],delete this[n];else if(o.hasOwnProperty(n)&&"number"==typeof this[n]&&this[n]==l)return;this[n]=(null!==l||"boolean"!=typeof this[n])&&l}))},e.observedAttributes=s.filter((([e,t])=>15&t[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))}}return e},P=e=>{C(e,"connectedCallback")},x=(e,t={})=>{const n=[],l=t.exclude||[],s=D.customElements,o=V.head,c=o.querySelector("meta[charset]"),r=V.createElement("style"),i=[];let a,u=!0;Object.assign(_,t),_.P=new URL(t.resourcesUrl||"./",V.baseURI).href,e.map((e=>{e[1].map((t=>{const o={i:t[0],$:t[1],j:t[2],L:t[3]};o.j=t[2],o.L=t[3];const c=o.$,r=class extends HTMLElement{constructor(e){super(e),H(e=this,o),1&o.i&&e.attachShadow({mode:"open"})}connectedCallback(){a&&(clearTimeout(a),a=null),u?i.push(this):_.jmp((()=>(e=>{if(0==(1&_.i)){const t=A(e),n=t.v,l=()=>{};if(1&t.i)E(e,t,n.L),P(t.g);else{t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){y(t,t.S=n);break}}n.j&&Object.entries(n.j).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n,l,s)=>{if(0==(32&t.i)){{if(t.i|=32,(s=W(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(O(s,n,2),s.isProxied=!0);const e=()=>{};t.i|=8;try{new s(t)}catch(e){R(e)}t.i&=-9,e(),P(t.g)}if(s.style){let e=s.style;const t=f(n);if(!q.has(t)){const l=()=>{};((e,t,n)=>{let l=q.get(e);B&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,q.set(e,l)})(t,e,!!(1&n.i)),l()}}}const o=t.S,c=()=>b(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(0,t,n)}l()}})(this)))}disconnectedCallback(){_.jmp((()=>(()=>{if(0==(1&_.i)){const e=A(this),t=e.g;e.N&&(e.N.map((e=>e())),e.N=void 0),C(t,"disconnectedCallback")}})()))}componentOnReady(){return A(this).T}};o.A=e[0],l.includes(c)||s.get(c)||(n.push(c),s.define(c,O(r,o,1)))}))})),r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles",""),o.insertBefore(r,c?c.nextSibling:o.firstChild),u=!1,i.length?i.map((e=>e.connectedCallback())):_.jmp((()=>a=setTimeout(v,30)))},E=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,c=L(t,s),r=N(n);_.ael(o,l,c,r),(t.N=t.N||[]).push((()=>_.rel(o,l,c,r)))}))},L=(e,t)=>n=>{try{256&e.i?e.g[t](n):(e.k=e.k||[]).push([t,n])}catch(e){R(e)}},N=e=>0!=(2&e),T=new WeakMap,A=e=>T.get(e),F=(e,t)=>T.set(t.g=e,t),H=(e,t)=>{const n={i:0,m:e,v:t,O:new Map};return n.T=new Promise((e=>n.M=e)),e["s-p"]=[],e["s-rc"]=[],E(e,n,t.L),T.set(e,n)},R=(e,t)=>(0,console.error)(e,t),U=new Map,W=e=>{const t=e.$.replace(/-/g,"_"),n=e.A,l=U.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(U.set(n,e),e[t])),R)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},q=new Map,D="undefined"!=typeof window?window:{},V=D.document||{head:{}},_={i:0,P:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},z=e=>Promise.resolve(e),B=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),G=[],I=[],J=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&_.i?X(Q):_.raf(Q))},K=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){R(e)}e.length=0},Q=()=>{K(G),K(I),(n=G.length>0)&&_.raf(Q)},X=e=>z().then(e),Y=J(I,!0);export{c as H,x as b,i as c,r as g,s as h,z as p,F as r}