@covalent/components 4.15.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-ribbon.mjs +148 -0
- package/alert.mjs +140 -0
- package/app-shell.mjs +94 -0
- package/button.mjs +20 -0
- package/card.mjs +70 -0
- package/check-list-item.mjs +18 -0
- package/checkbox.mjs +20 -0
- package/circular-progress.mjs +17 -0
- package/code-snippet.mjs +12142 -0
- package/covalent.mjs +44 -0
- package/covalent.umd.js +299 -0
- package/dialog.mjs +20 -0
- package/drawer.mjs +20 -0
- package/empty-state.mjs +66 -0
- package/icon-button.mjs +20 -0
- package/icon-check-toggle.mjs +71 -0
- package/icon-radio-toggle.mjs +62 -0
- package/icon.mjs +17 -0
- package/linear-progress.mjs +20 -0
- package/list-expansion.mjs +55 -0
- package/list-item.mjs +49 -0
- package/list.mjs +17 -0
- package/menu.mjs +17 -0
- package/nav-list-item.mjs +41 -0
- package/package.json +1 -1
- package/radio-list-item.mjs +18 -0
- package/radio.mjs +20 -0
- package/select.mjs +20 -0
- package/side-sheet.mjs +35 -0
- package/slider-range.mjs +17 -0
- package/slider.mjs +17 -0
- package/snackbar.mjs +20 -0
- package/status-header-item.mjs +28 -0
- package/status-header.mjs +74 -0
- package/switch.mjs +20 -0
- package/tab-bar.mjs +17 -0
- package/tab.mjs +20 -0
- package/text-lockup.mjs +53 -0
- package/textarea.mjs +20 -0
- package/textfield.mjs +24 -0
- package/textfield2.mjs +5 -0
- package/toolbar.mjs +23 -0
- package/tooltip.mjs +189 -0
- package/top-app-bar-fixed.mjs +24 -0
- package/top-app-bar.mjs +24 -0
- package/top-app-bar2.mjs +5 -0
- package/tree-list-item.mjs +82 -0
- package/tree-list.mjs +43 -0
- package/typography.mjs +31 -0
- package/actionRibbon.js +0 -16
- package/actionRibbon.js.LICENSE.txt +0 -75
- package/alert.js +0 -19
- package/alert.js.LICENSE.txt +0 -75
- package/appShell.js +0 -96
- package/appShell.js.LICENSE.txt +0 -131
- package/button.js +0 -38
- package/button.js.LICENSE.txt +0 -91
- package/card.js +0 -17
- package/card.js.LICENSE.txt +0 -23
- package/checkbox.js +0 -40
- package/checkbox.js.LICENSE.txt +0 -91
- package/circularProgress.js +0 -58
- package/circularProgress.js.LICENSE.txt +0 -41
- package/codeSnippet.js +0 -8
- package/codeSnippet.js.LICENSE.txt +0 -23
- package/dialog.js +0 -28
- package/dialog.js.LICENSE.txt +0 -165
- package/drawer.js +0 -18
- package/drawer.js.LICENSE.txt +0 -90
- package/emptyState.js +0 -25
- package/emptyState.js.LICENSE.txt +0 -29
- package/formField.js +0 -7
- package/formField.js.LICENSE.txt +0 -61
- package/icon.js +0 -2
- package/icon.js.LICENSE.txt +0 -29
- package/iconButton.js +0 -26
- package/iconButton.js.LICENSE.txt +0 -85
- package/iconCheckbox.js +0 -51
- package/iconCheckbox.js.LICENSE.txt +0 -91
- package/iconRadio.js +0 -43
- package/iconRadio.js.LICENSE.txt +0 -85
- package/icons/covalent-icons.css +0 -365
- package/icons/covalent-icons.eot +0 -0
- package/icons/covalent-icons.svg +0 -224
- package/icons/covalent-icons.ttf +0 -0
- package/icons/covalent-icons.woff +0 -0
- package/icons/favicon.ico +0 -0
- package/index.js +0 -993
- package/index.js.LICENSE.txt +0 -206
- package/linearProgress.js +0 -28
- package/linearProgress.js.LICENSE.txt +0 -41
- package/list.js +0 -44
- package/list.js.LICENSE.txt +0 -125
- package/listCheckItem.js +0 -77
- package/listCheckItem.js.LICENSE.txt +0 -91
- package/listExpansion.js +0 -47
- package/listExpansion.js.LICENSE.txt +0 -125
- package/listItem.js +0 -27
- package/listItem.js.LICENSE.txt +0 -79
- package/listNavItem.js +0 -27
- package/listNavItem.js.LICENSE.txt +0 -79
- package/listRadioItem.js +0 -70
- package/listRadioItem.js.LICENSE.txt +0 -85
- package/menu.js +0 -83
- package/menu.js.LICENSE.txt +0 -125
- package/radio.js +0 -33
- package/radio.js.LICENSE.txt +0 -85
- package/select.js +0 -176
- package/select.js.LICENSE.txt +0 -131
- package/sideSheet.js +0 -28
- package/sideSheet.js.LICENSE.txt +0 -165
- package/slider.js +0 -63
- package/slider.js.LICENSE.txt +0 -108
- package/sliderRange.js +0 -113
- package/sliderRange.js.LICENSE.txt +0 -108
- package/snackBar.js +0 -12
- package/snackBar.js.LICENSE.txt +0 -85
- package/src/action-ribbon/action-ribbon-base.d.ts +0 -29
- package/src/action-ribbon/action-ribbon.d.ts +0 -14
- package/src/action-ribbon/foundation.d.ts +0 -52
- package/src/alert/alert-base.d.ts +0 -30
- package/src/alert/alert.d.ts +0 -14
- package/src/app-shell/app-shell.d.ts +0 -27
- package/src/button/button.d.ts +0 -9
- package/src/card/card-base.d.ts +0 -24
- package/src/card/card.d.ts +0 -9
- package/src/checkbox/checkbox.d.ts +0 -9
- package/src/chips/chip-base.d.ts +0 -51
- package/src/chips/chip-set-base.d.ts +0 -32
- package/src/chips/chip-set.d.ts +0 -14
- package/src/chips/chip.d.ts +0 -14
- package/src/chips/foundation.d.ts +0 -59
- package/src/circular-progress/circular-progress.d.ts +0 -9
- package/src/code-snippet/code-snippet.d.ts +0 -20
- package/src/dialog/dialog.d.ts +0 -9
- package/src/drawer/drawer.d.ts +0 -9
- package/src/empty-state/empty-state.d.ts +0 -15
- package/src/formfield/formfield.d.ts +0 -9
- package/src/icon/icon.d.ts +0 -9
- package/src/icon-button/icon-button.d.ts +0 -9
- package/src/icon-checkbox/icon-check-toggle.d.ts +0 -14
- package/src/icon-radio/icon-radio-toggle.d.ts +0 -13
- package/src/index.d.ts +0 -44
- package/src/linear-progress/linear-progress.d.ts +0 -9
- package/src/list/check-list-item.d.ts +0 -9
- package/src/list/list-expansion.d.ts +0 -17
- package/src/list/list-item.d.ts +0 -11
- package/src/list/list.d.ts +0 -9
- package/src/list/nav-list-item.d.ts +0 -11
- package/src/list/radio-list-item.d.ts +0 -9
- package/src/menu/menu.d.ts +0 -9
- package/src/radio/radio.d.ts +0 -9
- package/src/select/select.d.ts +0 -9
- package/src/side-sheet/side-sheet.d.ts +0 -17
- package/src/slider/slider-range.d.ts +0 -9
- package/src/slider/slider.d.ts +0 -9
- package/src/snackbar/snackbar.d.ts +0 -9
- package/src/status-header/status-header-base.d.ts +0 -8
- package/src/status-header/status-header-item.d.ts +0 -16
- package/src/status-header/status-header.d.ts +0 -14
- package/src/switch/switch.d.ts +0 -9
- package/src/tab/tab-bar.d.ts +0 -9
- package/src/tab/tab.d.ts +0 -9
- package/src/text-lockup/text-lockup.d.ts +0 -16
- package/src/textarea/textarea.d.ts +0 -9
- package/src/textfield/textfield.d.ts +0 -9
- package/src/toolbar/toolbar.d.ts +0 -9
- package/src/tooltip/tooltip.d.ts +0 -27
- package/src/tooltip/tooltip.foundation.d.ts +0 -211
- package/src/top-app-bar/top-app-bar-fixed.d.ts +0 -9
- package/src/top-app-bar/top-app-bar.d.ts +0 -9
- package/src/tree-list/tree-list-item.d.ts +0 -15
- package/src/tree-list/tree-list.d.ts +0 -10
- package/src/typography/typography.d.ts +0 -11
- package/statusHeader.js +0 -22
- package/statusHeader.js.LICENSE.txt +0 -23
- package/statusHeaderItem.js +0 -2
- package/statusHeaderItem.js.LICENSE.txt +0 -17
- package/switch.js +0 -63
- package/switch.js.LICENSE.txt +0 -108
- package/tab.js +0 -35
- package/tab.js.LICENSE.txt +0 -79
- package/tabBar.js +0 -53
- package/tabBar.js.LICENSE.txt +0 -79
- package/textArea.js +0 -96
- package/textArea.js.LICENSE.txt +0 -85
- package/textField.js +0 -69
- package/textField.js.LICENSE.txt +0 -85
- package/textLockup.js +0 -5
- package/textLockup.js.LICENSE.txt +0 -23
- package/theme.css +0 -1
- package/theme.js +0 -1
- package/toolbar.js +0 -19
- package/toolbar.js.LICENSE.txt +0 -96
- package/tooltip.js +0 -19
- package/tooltip.js.LICENSE.txt +0 -69
- package/topAppBar.js +0 -19
- package/topAppBar.js.LICENSE.txt +0 -102
- package/topAppBarFixed.js +0 -19
- package/topAppBarFixed.js.LICENSE.txt +0 -102
- package/treeList.js +0 -8
- package/treeList.js.LICENSE.txt +0 -17
- package/treeListItem.js +0 -24
- package/treeListItem.js.LICENSE.txt +0 -23
- package/typography.js +0 -2
- package/typography.js.LICENSE.txt +0 -17
package/list.js.LICENSE.txt
DELETED
@@ -1,125 +0,0 @@
|
|
1
|
-
/*! *****************************************************************************
|
2
|
-
Copyright (c) Microsoft Corporation.
|
3
|
-
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
5
|
-
purpose with or without fee is hereby granted.
|
6
|
-
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
14
|
-
***************************************************************************** */
|
15
|
-
|
16
|
-
/**
|
17
|
-
* @license
|
18
|
-
* Copyright 2016 Google Inc.
|
19
|
-
*
|
20
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
21
|
-
* of this software and associated documentation files (the "Software"), to deal
|
22
|
-
* in the Software without restriction, including without limitation the rights
|
23
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
24
|
-
* copies of the Software, and to permit persons to whom the Software is
|
25
|
-
* furnished to do so, subject to the following conditions:
|
26
|
-
*
|
27
|
-
* The above copyright notice and this permission notice shall be included in
|
28
|
-
* all copies or substantial portions of the Software.
|
29
|
-
*
|
30
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
31
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
32
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
33
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
34
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
35
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
36
|
-
* THE SOFTWARE.
|
37
|
-
*/
|
38
|
-
|
39
|
-
/**
|
40
|
-
* @license
|
41
|
-
* Copyright 2017 Google LLC
|
42
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
43
|
-
*/
|
44
|
-
|
45
|
-
/**
|
46
|
-
* @license
|
47
|
-
* Copyright 2018 Google Inc.
|
48
|
-
*
|
49
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
50
|
-
* of this software and associated documentation files (the "Software"), to deal
|
51
|
-
* in the Software without restriction, including without limitation the rights
|
52
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
53
|
-
* copies of the Software, and to permit persons to whom the Software is
|
54
|
-
* furnished to do so, subject to the following conditions:
|
55
|
-
*
|
56
|
-
* The above copyright notice and this permission notice shall be included in
|
57
|
-
* all copies or substantial portions of the Software.
|
58
|
-
*
|
59
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
60
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
61
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
62
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
63
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
64
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
65
|
-
* THE SOFTWARE.
|
66
|
-
*/
|
67
|
-
|
68
|
-
/**
|
69
|
-
* @license
|
70
|
-
* Copyright 2018 Google LLC
|
71
|
-
* SPDX-License-Identifier: Apache-2.0
|
72
|
-
*/
|
73
|
-
|
74
|
-
/**
|
75
|
-
* @license
|
76
|
-
* Copyright 2018 Google LLC
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
78
|
-
*/
|
79
|
-
|
80
|
-
/**
|
81
|
-
* @license
|
82
|
-
* Copyright 2019 Google LLC
|
83
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
84
|
-
*/
|
85
|
-
|
86
|
-
/**
|
87
|
-
* @license
|
88
|
-
* Copyright 2020 Google Inc.
|
89
|
-
*
|
90
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
91
|
-
* of this software and associated documentation files (the "Software"), to deal
|
92
|
-
* in the Software without restriction, including without limitation the rights
|
93
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
94
|
-
* copies of the Software, and to permit persons to whom the Software is
|
95
|
-
* furnished to do so, subject to the following conditions:
|
96
|
-
*
|
97
|
-
* The above copyright notice and this permission notice shall be included in
|
98
|
-
* all copies or substantial portions of the Software.
|
99
|
-
*
|
100
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
101
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
102
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
103
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
104
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
105
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
106
|
-
* THE SOFTWARE.
|
107
|
-
*/
|
108
|
-
|
109
|
-
/**
|
110
|
-
* @license
|
111
|
-
* Copyright 2020 Google LLC
|
112
|
-
* SPDX-License-Identifier: Apache-2.0
|
113
|
-
*/
|
114
|
-
|
115
|
-
/**
|
116
|
-
* @license
|
117
|
-
* Copyright 2021 Google LLC
|
118
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
119
|
-
*/
|
120
|
-
|
121
|
-
/**
|
122
|
-
* @license
|
123
|
-
* Copyright 2021 Google LLC
|
124
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
125
|
-
*/
|
package/listCheckItem.js
DELETED
@@ -1,77 +0,0 @@
|
|
1
|
-
/*! For license information please see listCheckItem.js.LICENSE.txt */
|
2
|
-
(()=>{"use strict";var e={6308:(e,t,i)=>{i.d(t,{K:()=>r});var r=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},2851:(e,t,i)=>{function r(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}i.d(t,{wB:()=>r})},6036:(e,t,i)=>{function r(e,t,i){if(void 0!==t)return function(e,t,i){const r=e.constructor;if(!i){const e=`__${t}`;if(!(i=r.getPropertyDescriptor(t,e)))throw new Error("@ariaProperty must be used after a @property decorator")}const c=i;let a="";if(!c.set)throw new Error(`@ariaProperty requires a setter for ${t}`);if(e.dispatchWizEvent)return i;const o={configurable:!0,enumerable:!0,set(e){if(""===a){const e=r.getPropertyOptions(t);a="string"==typeof e.attribute?e.attribute:t}this.hasAttribute(a)&&this.removeAttribute(a),c.set.call(this,e)}};return c.get&&(o.get=function(){return c.get.call(this)}),o}(e,t,i);throw new Error("@ariaProperty only supports TypeScript Decorators")}i.d(t,{L:()=>r})},7392:(e,t,i)=>{i.d(t,{H:()=>c});var r=i(5862);i(5610);class c extends r.oi{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},339:(e,t,i)=>{i.d(t,{Wg:()=>d});var r,c,a=i(655),o=i(9662),n=i(7392);const s=null!==(c=null===(r=window.ShadyDOM)||void 0===r?void 0:r.inUse)&&void 0!==c&&c;class d extends n.H{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=e=>{this.disabled||this.setFormData(e.formData)}}findFormElement(){if(!this.shadowRoot||s)return null;const e=this.getRootNode().querySelectorAll("form");for(const t of Array.from(e))if(t.contains(this))return t;return null}connectedCallback(){var e;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(e=this.containingForm)||void 0===e||e.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this.containingForm)||void 0===e||e.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",(e=>{this.dispatchEvent(new Event("change",e))}))}}d.shadowRootOptions={mode:"open",delegatesFocus:!0},(0,a.gn)([(0,o.Cb)({type:Boolean})],d.prototype,"disabled",void 0)},6551:(e,t,i)=>{i.d(t,{P:()=>r});const r=e=>(t,i)=>{if(t.constructor._observers){if(!t.constructor.hasOwnProperty("_observers")){const e=t.constructor._observers;t.constructor._observers=new Map,e.forEach(((e,i)=>t.constructor._observers.set(i,e)))}}else{t.constructor._observers=new Map;const e=t.updated;t.updated=function(t){e.call(this,t),t.forEach(((e,t)=>{const i=this.constructor._observers.get(t);void 0!==i&&i.call(this,this[t],e)}))}}t.constructor._observers.set(i,e)}},5610:(e,t,i)=>{let r=!1;const c=()=>{},a={get passive(){return r=!0,!1}};document.addEventListener("x",c,a),document.removeEventListener("x",c)},9585:(e,t,i)=>{i.d(t,{A:()=>l});var r=i(655),c=(i(100),i(6036)),a=i(339),o=i(9263),n=i(5862),s=i(9662),d=i(8810),p=i(796);class l extends a.Wg{constructor(){super(...arguments),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.name="",this.value="on",this.reducedTouchTarget=!1,this.animationClass="",this.shouldRenderRipple=!1,this.focused=!1,this.mdcFoundationClass=void 0,this.mdcFoundation=void 0,this.rippleElement=null,this.rippleHandlers=new o.A((()=>(this.shouldRenderRipple=!0,this.ripple.then((e=>this.rippleElement=e)),this.ripple)))}createAdapter(){return{}}update(e){const t=e.get("indeterminate"),i=e.get("checked"),r=e.get("disabled");if(void 0!==t||void 0!==i||void 0!==r){const e=this.calculateAnimationStateName(!!i,!!t,!!r),c=this.calculateAnimationStateName(this.checked,this.indeterminate,this.disabled);this.animationClass=`${e}-${c}`}super.update(e)}calculateAnimationStateName(e,t,i){return i?"disabled":t?"indeterminate":e?"checked":"unchecked"}renderRipple(){return this.shouldRenderRipple?this.renderRippleTemplate():""}renderRippleTemplate(){return n.dy`<mwc-ripple
|
3
|
-
.disabled="${this.disabled}"
|
4
|
-
unbounded></mwc-ripple>`}render(){const e=this.indeterminate||this.checked,t={"mdc-checkbox--disabled":this.disabled,"mdc-checkbox--selected":e,"mdc-checkbox--touch":!this.reducedTouchTarget,"mdc-ripple-upgraded--background-focused":this.focused,"mdc-checkbox--anim-checked-indeterminate":"checked-indeterminate"==this.animationClass,"mdc-checkbox--anim-checked-unchecked":"checked-unchecked"==this.animationClass,"mdc-checkbox--anim-indeterminate-checked":"indeterminate-checked"==this.animationClass,"mdc-checkbox--anim-indeterminate-unchecked":"indeterminate-unchecked"==this.animationClass,"mdc-checkbox--anim-unchecked-checked":"unchecked-checked"==this.animationClass,"mdc-checkbox--anim-unchecked-indeterminate":"unchecked-indeterminate"==this.animationClass},i=this.indeterminate?"mixed":void 0;return n.dy`
|
5
|
-
<div class="mdc-checkbox mdc-checkbox--upgraded ${(0,d.$)(t)}">
|
6
|
-
<input type="checkbox"
|
7
|
-
class="mdc-checkbox__native-control"
|
8
|
-
name="${(0,p.o)(this.name)}"
|
9
|
-
aria-checked="${(0,p.o)(i)}"
|
10
|
-
aria-label="${(0,p.o)(this.ariaLabel)}"
|
11
|
-
aria-labelledby="${(0,p.o)(this.ariaLabelledBy)}"
|
12
|
-
aria-describedby="${(0,p.o)(this.ariaDescribedBy)}"
|
13
|
-
data-indeterminate="${this.indeterminate?"true":"false"}"
|
14
|
-
?disabled="${this.disabled}"
|
15
|
-
.indeterminate="${this.indeterminate}"
|
16
|
-
.checked="${this.checked}"
|
17
|
-
.value="${this.value}"
|
18
|
-
@change="${this.handleChange}"
|
19
|
-
@focus="${this.handleFocus}"
|
20
|
-
@blur="${this.handleBlur}"
|
21
|
-
@mousedown="${this.handleRippleMouseDown}"
|
22
|
-
@mouseenter="${this.handleRippleMouseEnter}"
|
23
|
-
@mouseleave="${this.handleRippleMouseLeave}"
|
24
|
-
@touchstart="${this.handleRippleTouchStart}"
|
25
|
-
@touchend="${this.handleRippleDeactivate}"
|
26
|
-
@touchcancel="${this.handleRippleDeactivate}">
|
27
|
-
<div class="mdc-checkbox__background"
|
28
|
-
@animationend="${this.resetAnimationClass}">
|
29
|
-
<svg class="mdc-checkbox__checkmark"
|
30
|
-
viewBox="0 0 24 24">
|
31
|
-
<path class="mdc-checkbox__checkmark-path"
|
32
|
-
fill="none"
|
33
|
-
d="M1.73,12.91 8.1,19.28 22.79,4.59"></path>
|
34
|
-
</svg>
|
35
|
-
<div class="mdc-checkbox__mixedmark"></div>
|
36
|
-
</div>
|
37
|
-
${this.renderRipple()}
|
38
|
-
</div>`}setFormData(e){this.name&&this.checked&&e.append(this.name,this.value)}handleFocus(){this.focused=!0,this.handleRippleFocus()}handleBlur(){this.focused=!1,this.handleRippleBlur()}handleRippleMouseDown(e){const t=()=>{window.removeEventListener("mouseup",t),this.handleRippleDeactivate()};window.addEventListener("mouseup",t),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}handleChange(){this.checked=this.formElement.checked,this.indeterminate=this.formElement.indeterminate}resetAnimationClass(){this.animationClass=""}get isRippleActive(){var e;return(null===(e=this.rippleElement)||void 0===e?void 0:e.isActive)||!1}}(0,r.gn)([(0,s.IO)(".mdc-checkbox")],l.prototype,"mdcRoot",void 0),(0,r.gn)([(0,s.IO)("input")],l.prototype,"formElement",void 0),(0,r.gn)([(0,s.Cb)({type:Boolean,reflect:!0})],l.prototype,"checked",void 0),(0,r.gn)([(0,s.Cb)({type:Boolean})],l.prototype,"indeterminate",void 0),(0,r.gn)([(0,s.Cb)({type:Boolean,reflect:!0})],l.prototype,"disabled",void 0),(0,r.gn)([(0,s.Cb)({type:String,reflect:!0})],l.prototype,"name",void 0),(0,r.gn)([(0,s.Cb)({type:String})],l.prototype,"value",void 0),(0,r.gn)([c.L,(0,s.Cb)({type:String,attribute:"aria-label"})],l.prototype,"ariaLabel",void 0),(0,r.gn)([c.L,(0,s.Cb)({type:String,attribute:"aria-labelledby"})],l.prototype,"ariaLabelledBy",void 0),(0,r.gn)([c.L,(0,s.Cb)({type:String,attribute:"aria-describedby"})],l.prototype,"ariaDescribedBy",void 0),(0,r.gn)([(0,s.Cb)({type:Boolean})],l.prototype,"reducedTouchTarget",void 0),(0,r.gn)([(0,s.SB)()],l.prototype,"animationClass",void 0),(0,r.gn)([(0,s.SB)()],l.prototype,"shouldRenderRipple",void 0),(0,r.gn)([(0,s.SB)()],l.prototype,"focused",void 0),(0,r.gn)([(0,s.GC)("mwc-ripple")],l.prototype,"ripple",void 0),(0,r.gn)([(0,s.hO)({passive:!0})],l.prototype,"handleRippleTouchStart",null)},737:(e,t,i)=>{i.d(t,{W:()=>r});const r=i(5862).iv`.mdc-checkbox{padding:calc((40px - 18px) / 2);padding:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);margin:calc((40px - 40px) / 2);margin:calc((var(--mdc-checkbox-touch-target-size, 40px) - 40px) / 2)}.mdc-checkbox .mdc-checkbox__ripple::before,.mdc-checkbox .mdc-checkbox__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-checkbox:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox.mdc-checkbox--selected:hover .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-surface--hover .mdc-checkbox__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded--background-focused .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):focus .mdc-checkbox__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded) .mdc-checkbox__ripple::after{transition:opacity 150ms linear}.mdc-checkbox.mdc-checkbox--selected:not(.mdc-ripple-upgraded):active .mdc-checkbox__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-checkbox--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::before,.mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--selected .mdc-checkbox__ripple::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-checkbox .mdc-checkbox__background{top:calc((40px - 18px) / 2);top:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2);left:calc((40px - 18px) / 2);left:calc((var(--mdc-checkbox-ripple-size, 40px) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((40px - 40px) / 2);top:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);right:calc((40px - 40px) / 2);right:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);left:calc((40px - 40px) / 2);left:calc((40px - var(--mdc-checkbox-touch-target-size, 40px)) / 2);width:40px;width:var(--mdc-checkbox-touch-target-size, 40px);height:40px;height:var(--mdc-checkbox-touch-target-size, 40px)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:#018786;border-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786));background-color:#018786;background-color:var(--mdc-checkbox-checked-color, var(--mdc-theme-secondary, #018786))}100%{border-color:rgba(0, 0, 0, 0.54);border-color:var(--mdc-checkbox-unchecked-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:rgba(0, 0, 0, 0.38);border-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:rgba(0, 0, 0, 0.38);background-color:var(--mdc-checkbox-disabled-color, rgba(0, 0, 0, 0.38))}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:#fff;color:var(--mdc-checkbox-ink-color, #fff)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:#fff;border-color:var(--mdc-checkbox-ink-color, #fff)}.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:transparent;pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((48px - 40px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((40px - 48px) / 2);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((40px - 48px) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((40px - 48px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:48px;width:var(--mdc-checkbox-state-layer-size, 48px);height:48px;height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}:host{outline:none;display:inline-flex;-webkit-tap-highlight-color:transparent}:host([checked]),:host([indeterminate]){--mdc-ripple-color:var(--mdc-theme-secondary, #018786)}.mdc-checkbox .mdc-checkbox__background::before{content:none}`},1786:(e,t,i)=>{i.d(t,{W:()=>r});const r=i(5862).iv`:host(:not([twoline])){height:56px}:host(:not([left])) .mdc-deprecated-list-item__meta{height:40px;width:40px}`},5448:(e,t,i)=>{i.d(t,{K:()=>d});var r=i(655),c=(i(100),i(6551)),a=i(9263),o=i(5862),n=i(9662),s=i(8810);class d extends o.oi{constructor(){super(...arguments),this.value="",this.group=null,this.tabindex=-1,this.disabled=!1,this.twoline=!1,this.activated=!1,this.graphic=null,this.multipleGraphics=!1,this.hasMeta=!1,this.noninteractive=!1,this.selected=!1,this.shouldRenderRipple=!1,this._managingList=null,this.boundOnClick=this.onClick.bind(this),this._firstChanged=!0,this._skipPropRequest=!1,this.rippleHandlers=new a.A((()=>(this.shouldRenderRipple=!0,this.ripple))),this.listeners=[{target:this,eventNames:["click"],cb:()=>{this.onClick()}},{target:this,eventNames:["mouseenter"],cb:this.rippleHandlers.startHover},{target:this,eventNames:["mouseleave"],cb:this.rippleHandlers.endHover},{target:this,eventNames:["focus"],cb:this.rippleHandlers.startFocus},{target:this,eventNames:["blur"],cb:this.rippleHandlers.endFocus},{target:this,eventNames:["mousedown","touchstart"],cb:e=>{const t=e.type;this.onDown("mousedown"===t?"mouseup":"touchend",e)}}]}get text(){const e=this.textContent;return e?e.trim():""}render(){const e=this.renderText(),t=this.graphic?this.renderGraphic():o.dy``,i=this.hasMeta?this.renderMeta():o.dy``;return o.dy`
|
39
|
-
${this.renderRipple()}
|
40
|
-
${t}
|
41
|
-
${e}
|
42
|
-
${i}`}renderRipple(){return this.shouldRenderRipple?o.dy`
|
43
|
-
<mwc-ripple
|
44
|
-
.activated=${this.activated}>
|
45
|
-
</mwc-ripple>`:this.activated?o.dy`<div class="fake-activated-ripple"></div>`:""}renderGraphic(){const e={multi:this.multipleGraphics};return o.dy`
|
46
|
-
<span class="mdc-deprecated-list-item__graphic material-icons ${(0,s.$)(e)}">
|
47
|
-
<slot name="graphic"></slot>
|
48
|
-
</span>`}renderMeta(){return o.dy`
|
49
|
-
<span class="mdc-deprecated-list-item__meta material-icons">
|
50
|
-
<slot name="meta"></slot>
|
51
|
-
</span>`}renderText(){const e=this.twoline?this.renderTwoline():this.renderSingleLine();return o.dy`
|
52
|
-
<span class="mdc-deprecated-list-item__text">
|
53
|
-
${e}
|
54
|
-
</span>`}renderSingleLine(){return o.dy`<slot></slot>`}renderTwoline(){return o.dy`
|
55
|
-
<span class="mdc-deprecated-list-item__primary-text">
|
56
|
-
<slot></slot>
|
57
|
-
</span>
|
58
|
-
<span class="mdc-deprecated-list-item__secondary-text">
|
59
|
-
<slot name="secondary"></slot>
|
60
|
-
</span>
|
61
|
-
`}onClick(){this.fireRequestSelected(!this.selected,"interaction")}onDown(e,t){const i=()=>{window.removeEventListener(e,i),this.rippleHandlers.endPress()};window.addEventListener(e,i),this.rippleHandlers.startPress(t)}fireRequestSelected(e,t){if(this.noninteractive)return;const i=new CustomEvent("request-selected",{bubbles:!0,composed:!0,detail:{source:t,selected:e}});this.dispatchEvent(i)}connectedCallback(){super.connectedCallback(),this.noninteractive||this.setAttribute("mwc-list-item","");for(const e of this.listeners)for(const t of e.eventNames)e.target.addEventListener(t,e.cb,{passive:!0})}disconnectedCallback(){super.disconnectedCallback();for(const e of this.listeners)for(const t of e.eventNames)e.target.removeEventListener(t,e.cb);this._managingList&&(this._managingList.debouncedLayout?this._managingList.debouncedLayout(!0):this._managingList.layout(!0))}firstUpdated(){const e=new Event("list-item-rendered",{bubbles:!0,composed:!0});this.dispatchEvent(e)}}(0,r.gn)([(0,n.IO)("slot")],d.prototype,"slotElement",void 0),(0,r.gn)([(0,n.GC)("mwc-ripple")],d.prototype,"ripple",void 0),(0,r.gn)([(0,n.Cb)({type:String})],d.prototype,"value",void 0),(0,r.gn)([(0,n.Cb)({type:String,reflect:!0})],d.prototype,"group",void 0),(0,r.gn)([(0,n.Cb)({type:Number,reflect:!0})],d.prototype,"tabindex",void 0),(0,r.gn)([(0,n.Cb)({type:Boolean,reflect:!0}),(0,c.P)((function(e){e?this.setAttribute("aria-disabled","true"):this.setAttribute("aria-disabled","false")}))],d.prototype,"disabled",void 0),(0,r.gn)([(0,n.Cb)({type:Boolean,reflect:!0})],d.prototype,"twoline",void 0),(0,r.gn)([(0,n.Cb)({type:Boolean,reflect:!0})],d.prototype,"activated",void 0),(0,r.gn)([(0,n.Cb)({type:String,reflect:!0})],d.prototype,"graphic",void 0),(0,r.gn)([(0,n.Cb)({type:Boolean})],d.prototype,"multipleGraphics",void 0),(0,r.gn)([(0,n.Cb)({type:Boolean})],d.prototype,"hasMeta",void 0),(0,r.gn)([(0,n.Cb)({type:Boolean,reflect:!0}),(0,c.P)((function(e){e?(this.removeAttribute("aria-checked"),this.removeAttribute("mwc-list-item"),this.selected=!1,this.activated=!1,this.tabIndex=-1):this.setAttribute("mwc-list-item","")}))],d.prototype,"noninteractive",void 0),(0,r.gn)([(0,n.Cb)({type:Boolean,reflect:!0}),(0,c.P)((function(e){const t=this.getAttribute("role"),i="gridcell"===t||"option"===t||"row"===t||"tab"===t;i&&e?this.setAttribute("aria-selected","true"):i&&this.setAttribute("aria-selected","false"),this._firstChanged?this._firstChanged=!1:this._skipPropRequest||this.fireRequestSelected(e,"property")}))],d.prototype,"selected",void 0),(0,r.gn)([(0,n.SB)()],d.prototype,"shouldRenderRipple",void 0),(0,r.gn)([(0,n.SB)()],d.prototype,"_managingList",void 0)},7641:(e,t,i)=>{i.d(t,{W:()=>r});const r=i(5862).iv`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding, 16px);padding-right:var(--mdc-list-side-padding, 16px);outline:none;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host:focus{outline:none}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary, #6200ee);--mdc-ripple-color: var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12);background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size, 24px);height:var(--mdc-list-item-meta-size, 24px);margin-left:auto;margin-right:0;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size, 24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px) !important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}[dir=rtl] .mdc-deprecated-list-item__meta,.mdc-deprecated-list-item__meta[dir=rtl]{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 40px);height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px) !important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 16px)}[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 24px);height:var(--mdc-list-item-graphic-size, 24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px) !important}[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic,:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=medium]:not([twoLine])),:host([graphic=large]:not([twoLine])){height:72px}:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 56px);height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px) !important}:host([graphic=large]){padding-left:0px}`},100:(e,t,i)=>{var r=i(655),c=i(9662),a=i(2851),o=i(7392),n=i(6308),s={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},d={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},p={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},l=["touchstart","pointerdown","mousedown","keydown"],h=["touchend","pointerup","mouseup","contextmenu"],m=[];const u=function(e){function t(i){var c=e.call(this,(0,r.pi)((0,r.pi)({},t.defaultAdapter),i))||this;return c.activationAnimationHasEnded=!1,c.activationTimer=0,c.fgDeactivationRemovalTimer=0,c.fgScale="0",c.frame={width:0,height:0},c.initialSize=0,c.layoutFrame=0,c.maxRadius=0,c.unboundedCoords={left:0,top:0},c.activationState=c.defaultActivationState(),c.activationTimerCallback=function(){c.activationAnimationHasEnded=!0,c.runDeactivationUXLogicIfReady()},c.activateHandler=function(e){c.activateImpl(e)},c.deactivateHandler=function(){c.deactivateImpl()},c.focusHandler=function(){c.handleFocus()},c.blurHandler=function(){c.handleBlur()},c.resizeHandler=function(){c.layout()},c}return(0,r.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=t.cssClasses,c=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(c),e.adapter.isUnbounded()&&(e.adapter.addClass(a),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var i=t.cssClasses,r=i.ROOT,c=i.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(r),e.adapter.removeClass(c),e.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){e.layoutInternal(),e.layoutFrame=0}))},t.prototype.setUnbounded=function(e){var i=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(i):this.adapter.removeClass(i)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,i;if(e){try{for(var c=(0,r.XA)(l),a=c.next();!a.done;a=c.next()){var o=a.value;this.adapter.registerInteractionHandler(o,this.activateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(i=c.return)&&i.call(c)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,i;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var c=(0,r.XA)(h),a=c.next();!a.done;a=c.next()){var o=a.value;this.adapter.registerDocumentInteractionHandler(o,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(i=c.return)&&i.call(c)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var i=(0,r.XA)(l),c=i.next();!c.done;c=i.next()){var a=c.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=(0,r.XA)(h),c=i.next();!c.done;c=i.next()){var a=c.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{c&&!c.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,i=t.strings;Object.keys(i).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(i[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;r&&void 0!==e&&r.type!==e.type||(i.isActivated=!0,i.isProgrammatic=void 0===e,i.activationEvent=e,i.wasActivatedByPointer=!i.isProgrammatic&&void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type),void 0!==e&&m.length>0&&m.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(m.push(e.target),this.registerDeactivationHandlers(e)),i.wasElementMadeActive=this.checkElementMadeActive(e),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){m=[],i.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(i.wasElementMadeActive=t.checkElementMadeActive(e),i.wasElementMadeActive&&t.animateActivation()),i.wasElementMadeActive||(t.activationState=t.defaultActivationState())}))))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,i=t.strings,r=i.VAR_FG_TRANSLATE_START,c=i.VAR_FG_TRANSLATE_END,a=t.cssClasses,o=a.FG_DEACTIVATION,n=a.FG_ACTIVATION,s=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var d="",p="";if(!this.adapter.isUnbounded()){var l=this.getFgTranslationCoordinates(),h=l.startPoint,m=l.endPoint;d=h.x+"px, "+h.y+"px",p=m.x+"px, "+m.y+"px"}this.adapter.updateCssVariable(r,d),this.adapter.updateCssVariable(c,p),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(o),this.adapter.computeBoundingRect(),this.adapter.addClass(n),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),s)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,i=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?function(e,t,i){if(!e)return{x:0,y:0};var r,c,a=t.x,o=t.y,n=a+i.left,s=o+i.top;if("touchstart"===e.type){var d=e;r=d.changedTouches[0].pageX-n,c=d.changedTouches[0].pageY-s}else{var p=e;r=p.pageX-n,c=p.pageY-s}return{x:r,y:c}}(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,i=t.cssClasses.FG_DEACTIVATION,r=this.activationState,c=r.hasDeactivationUXRun,a=r.isActivated;(c||!a)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(i)}),p.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var i=(0,r.pi)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(i),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,i=e.wasElementMadeActive;(t||i)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){this.frame=this.adapter.computeBoundingRect();var e=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?e:Math.sqrt(Math.pow(this.frame.width,2)+Math.pow(this.frame.height,2))+t.numbers.PADDING;var i=Math.floor(e*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!=0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,i=e.VAR_FG_SIZE,r=e.VAR_LEFT,c=e.VAR_TOP,a=e.VAR_FG_SCALE;this.adapter.updateCssVariable(i,this.initialSize+"px"),this.adapter.updateCssVariable(a,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(c,this.unboundedCoords.top+"px"))},t}(n.K);var f=i(5862),g=i(8810),v=i(3959);class b extends o.H{constructor(){super(...arguments),this.primary=!1,this.accent=!1,this.unbounded=!1,this.disabled=!1,this.activated=!1,this.selected=!1,this.internalUseStateLayerCustomProperties=!1,this.hovering=!1,this.bgFocused=!1,this.fgActivation=!1,this.fgDeactivation=!1,this.fgScale="",this.fgSize="",this.translateStart="",this.translateEnd="",this.leftPos="",this.topPos="",this.mdcFoundationClass=u}get isActive(){return(0,a.wB)(this.parentElement||this,":active")}createAdapter(){return{browserSupportsCssVars:()=>!0,isUnbounded:()=>this.unbounded,isSurfaceActive:()=>this.isActive,isSurfaceDisabled:()=>this.disabled,addClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!0;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!0;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!0}},removeClass:e=>{switch(e){case"mdc-ripple-upgraded--background-focused":this.bgFocused=!1;break;case"mdc-ripple-upgraded--foreground-activation":this.fgActivation=!1;break;case"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation=!1}},containsEventTarget:()=>!0,registerInteractionHandler:()=>{},deregisterInteractionHandler:()=>{},registerDocumentInteractionHandler:()=>{},deregisterDocumentInteractionHandler:()=>{},registerResizeHandler:()=>{},deregisterResizeHandler:()=>{},updateCssVariable:(e,t)=>{switch(e){case"--mdc-ripple-fg-scale":this.fgScale=t;break;case"--mdc-ripple-fg-size":this.fgSize=t;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=t;break;case"--mdc-ripple-fg-translate-start":this.translateStart=t;break;case"--mdc-ripple-left":this.leftPos=t;break;case"--mdc-ripple-top":this.topPos=t}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(e){this.waitForFoundation((()=>{this.mdcFoundation.activate(e)}))}endPress(){this.waitForFoundation((()=>{this.mdcFoundation.deactivate()}))}startFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleFocus()}))}endFocus(){this.waitForFoundation((()=>{this.mdcFoundation.handleBlur()}))}startHover(){this.hovering=!0}endHover(){this.hovering=!1}waitForFoundation(e){this.mdcFoundation?e():this.updateComplete.then(e)}update(e){e.has("disabled")&&this.disabled&&this.endHover(),super.update(e)}render(){const e=this.activated&&(this.primary||!this.accent),t=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":e,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":t,"mdc-ripple-surface--accent--selected":this.accent&&this.selected,"mdc-ripple-surface--disabled":this.disabled,"mdc-ripple-surface--hover":this.hovering,"mdc-ripple-surface--primary":this.primary,"mdc-ripple-surface--selected":this.selected,"mdc-ripple-upgraded--background-focused":this.bgFocused,"mdc-ripple-upgraded--foreground-activation":this.fgActivation,"mdc-ripple-upgraded--foreground-deactivation":this.fgDeactivation,"mdc-ripple-upgraded--unbounded":this.unbounded,"mdc-ripple-surface--internal-use-state-layer-custom-properties":this.internalUseStateLayerCustomProperties};return f.dy`
|
62
|
-
<div class="mdc-ripple-surface mdc-ripple-upgraded ${(0,g.$)(i)}"
|
63
|
-
style="${(0,v.V)({"--mdc-ripple-fg-scale":this.fgScale,"--mdc-ripple-fg-size":this.fgSize,"--mdc-ripple-fg-translate-end":this.translateEnd,"--mdc-ripple-fg-translate-start":this.translateStart,"--mdc-ripple-left":this.leftPos,"--mdc-ripple-top":this.topPos})}"></div>`}}(0,r.gn)([(0,c.IO)(".mdc-ripple-surface")],b.prototype,"mdcRoot",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"primary",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"accent",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"unbounded",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"disabled",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"activated",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"selected",void 0),(0,r.gn)([(0,c.Cb)({type:Boolean})],b.prototype,"internalUseStateLayerCustomProperties",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"hovering",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"bgFocused",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"fgActivation",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"fgDeactivation",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"fgScale",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"fgSize",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"translateStart",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"translateEnd",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"leftPos",void 0),(0,r.gn)([(0,c.SB)()],b.prototype,"topPos",void 0);const y=f.iv`.mdc-ripple-surface{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;display:block}:host .mdc-ripple-surface{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;will-change:unset}.mdc-ripple-surface--primary::before,.mdc-ripple-surface--primary::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary:hover::before,.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--primary--activated::before,.mdc-ripple-surface--primary--activated::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--activated:hover::before,.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--primary--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--primary--selected::before,.mdc-ripple-surface--primary--selected::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-ripple-surface--primary--selected:hover::before,.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--primary--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::before,.mdc-ripple-surface--accent::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent:hover::before,.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before{opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12)}.mdc-ripple-surface--accent--activated::before,.mdc-ripple-surface--accent--activated::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--activated:hover::before,.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before{opacity:0.16;opacity:var(--mdc-ripple-hover-opacity, 0.16)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--activated:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--activated.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-ripple-surface--accent--selected::before{opacity:0.08;opacity:var(--mdc-ripple-selected-opacity, 0.08)}.mdc-ripple-surface--accent--selected::before,.mdc-ripple-surface--accent--selected::after{background-color:#018786;background-color:var(--mdc-ripple-color, var(--mdc-theme-secondary, #018786))}.mdc-ripple-surface--accent--selected:hover::before,.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before{opacity:0.12;opacity:var(--mdc-ripple-hover-opacity, 0.12)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-focus-opacity, 0.2)}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--accent--selected:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.2;opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--disabled{opacity:0}.mdc-ripple-surface--internal-use-state-layer-custom-properties::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties::after{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color, #000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-state-layer-opacity, 0.04)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface--internal-use-state-layer-custom-properties:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-pressed-state-layer-opacity, 0.12)}`;let k=class extends b{};k.styles=[y],k=(0,r.gn)([(0,c.Mo)("mwc-ripple")],k)},9263:(e,t,i)=>{i.d(t,{A:()=>r});class r{constructor(e){this.startPress=t=>{e().then((e=>{e&&e.startPress(t)}))},this.endPress=()=>{e().then((e=>{e&&e.endPress()}))},this.startFocus=()=>{e().then((e=>{e&&e.startFocus()}))},this.endFocus=()=>{e().then((e=>{e&&e.endFocus()}))},this.startHover=()=>{e().then((e=>{e&&e.startHover()}))},this.endHover=()=>{e().then((e=>{e&&e.endHover()}))}}}},655:(e,t,i)=>{i.d(t,{XA:()=>n,ZT:()=>c,gn:()=>o,pi:()=>a});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},r(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var a=function(){return a=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var c in t=arguments[i])Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c]);return e},a.apply(this,arguments)};function o(e,t,i,r){var c,a=arguments.length,o=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(c=e[n])&&(o=(a<3?c(o):a>3?c(t,i,o):c(t,i))||o);return a>3&&o&&Object.defineProperty(t,i,o),o}function n(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create,Object.create},8701:(e,t,i)=>{i.d(t,{ec:()=>d,i1:()=>p,iv:()=>s});const r=window,c=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,a=Symbol(),o=new WeakMap;class n{constructor(e,t,i){if(this._$cssResult$=!0,i!==a)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(c&&void 0===e){const i=void 0!==t&&1===t.length;i&&(e=o.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&o.set(t,e))}return e}toString(){return this.cssText}}const s=(e,...t)=>{const i=1===e.length?e[0]:t.reduce(((t,i,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[r+1]),e[0]);return new n(i,e,a)},d=(e,t)=>{c?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const i=document.createElement("style"),c=r.litNonce;void 0!==c&&i.setAttribute("nonce",c),i.textContent=t.cssText,e.appendChild(i)}))},p=c?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const i of e.cssRules)t+=i.cssText;return(e=>new n("string"==typeof e?e:e+"",void 0,a))(t)})(e):e},5674:(e,t,i)=>{i.d(t,{eZ:()=>r});const r=({finisher:e,descriptor:t})=>(i,r)=>{var c;if(void 0===r){const r=null!==(c=i.originalKey)&&void 0!==c?c:i.key,a=null!=t?{kind:"method",placement:"prototype",key:r,descriptor:t(i.key)}:{...i,key:r};return null!=e&&(a.finisher=function(t){e(t,r)}),a}{const c=i.constructor;void 0!==t&&Object.defineProperty(i,r,t(r)),null==e||e(c,r)}}},5713:(e,t,i)=>{i.d(t,{M:()=>r});const r=e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:i,elements:r}=t;return{kind:i,elements:r,finisher(t){customElements.define(e,t)}}})(e,t)},8829:(e,t,i)=>{i.d(t,{h:()=>c});var r=i(5674);function c(e){return(0,r.eZ)({finisher:(t,i)=>{Object.assign(t.prototype[i],e)}})}},760:(e,t,i)=>{i.d(t,{C:()=>c});const r=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(i){i.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(i){i.createProperty(t.key,e)}};function c(e){return(t,i)=>void 0!==i?((e,t,i)=>{t.constructor.createProperty(i,e)})(e,t,i):r(e,t)}},7935:(e,t,i)=>{var r;null===(r=window.HTMLSlotElement)||void 0===r||r.prototype.assignedElements},43:(e,t,i)=>{i(7935)},8602:(e,t,i)=>{i.d(t,{G:()=>c});var r=i(5674);function c(e){return(0,r.eZ)({descriptor:t=>({async get(){var t;return await this.updateComplete,null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e)},enumerable:!0,configurable:!0})})}},2669:(e,t,i)=>{i.d(t,{I:()=>c});var r=i(5674);function c(e,t){return(0,r.eZ)({descriptor:i=>{const r={get(){var t,i;return null!==(i=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof i?Symbol():"__"+i;r.get=function(){var i,r;return void 0===this[t]&&(this[t]=null!==(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(e))&&void 0!==r?r:null),this[t]}}return r}})}},9158:(e,t,i)=>{i.d(t,{S:()=>c});var r=i(760);function c(e){return(0,r.C)({...e,state:!0})}},8732:(e,t,i)=>{i.d(t,{fl:()=>h,iv:()=>c.iv});var r,c=i(8701);const a=window,o=a.trustedTypes,n=o?o.emptyScript:"",s=a.reactiveElementPolyfillSupport,d={toAttribute(e,t){switch(t){case Boolean:e=e?n:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},p=(e,t)=>t!==e&&(t==t||e==e),l={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:p};class h extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(e){var t;null!==(t=this.h)&&void 0!==t||(this.h=[]),this.h.push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach(((t,i)=>{const r=this._$Ep(i,t);void 0!==r&&(this._$Ev.set(r,i),e.push(r))})),e}static createProperty(e,t=l){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const i="symbol"==typeof e?Symbol():"__"+e,r=this.getPropertyDescriptor(e,i,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}static getPropertyDescriptor(e,t,i){return{get(){return this[t]},set(r){const c=this[e];this[t]=r,this.requestUpdate(e,c,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||l}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const i of t)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift((0,c.i1)(e))}else void 0!==e&&t.push((0,c.i1)(e));return t}static _$Ep(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.toLowerCase():void 0}u(){var e;this._$E_=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((e=>e(this)))}addController(e){var t,i;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(i=e.hostConnected)||void 0===i||i.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])}))}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return(0,c.ec)(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EO(e,t,i=l){var r;const c=this.constructor._$Ep(e,i);if(void 0!==c&&!0===i.reflect){const a=(void 0!==(null===(r=i.converter)||void 0===r?void 0:r.toAttribute)?i.converter:d).toAttribute(t,i.type);this._$El=e,null==a?this.removeAttribute(c):this.setAttribute(c,a),this._$El=null}}_$AK(e,t){var i;const r=this.constructor,c=r._$Ev.get(e);if(void 0!==c&&this._$El!==c){const e=r.getPropertyOptions(c),a="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(i=e.converter)||void 0===i?void 0:i.fromAttribute)?e.converter:d;this._$El=c,this[c]=a.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,i){let r=!0;void 0!==e&&(((i=i||this.constructor.getPropertyOptions(e)).hasChanged||p)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((e,t)=>this[t]=e)),this._$Ei=void 0);let t=!1;const i=this._$AL;try{t=this.shouldUpdate(i),t?(this.willUpdate(i),null===(e=this._$ES)||void 0===e||e.forEach((e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(i)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(i)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach(((e,t)=>this._$EO(t,this[t],e))),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}h.finalized=!0,h.elementProperties=new Map,h.elementStyles=[],h.shadowRootOptions={mode:"open"},null==s||s({ReactiveElement:h}),(null!==(r=a.reactiveElementVersions)&&void 0!==r?r:a.reactiveElementVersions=[]).push("1.4.0")},8922:(e,t,i)=>{i.d(t,{dy:()=>o.dy,iv:()=>a.iv,oi:()=>n});var r,c,a=i(8732),o=i(3692);class n extends a.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const i=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=i.firstChild),i}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=(0,o.sY)(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return o.Jb}}n.finalized=!0,n._$litElement$=!0,null===(r=globalThis.litElementHydrateSupport)||void 0===r||r.call(globalThis,{LitElement:n});const s=globalThis.litElementPolyfillSupport;null==s||s({LitElement:n}),(null!==(c=globalThis.litElementVersions)&&void 0!==c?c:globalThis.litElementVersions=[]).push("3.2.2")},875:(e,t,i)=>{i.d(t,{XM:()=>c,Xe:()=>a,pX:()=>r});const r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},c=e=>(...t)=>({_$litDirective$:e,values:t});class a{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,i){this._$Ct=e,this._$AM=t,this._$Ci=i}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},7499:(e,t,i)=>{i.d(t,{$:()=>a});var r=i(3692),c=i(875);const a=(0,c.XM)(class extends c.Xe{constructor(e){var t;if(super(e),e.type!==c.pX.ATTRIBUTE||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter((t=>e[t])).join(" ")+" "}update(e,[t]){var i,c;if(void 0===this.nt){this.nt=new Set,void 0!==e.strings&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter((e=>""!==e))));for(const e in t)t[e]&&!(null===(i=this.st)||void 0===i?void 0:i.has(e))&&this.nt.add(e);return this.render(t)}const a=e.element.classList;this.nt.forEach((e=>{e in t||(a.remove(e),this.nt.delete(e))}));for(const e in t){const i=!!t[e];i===this.nt.has(e)||(null===(c=this.st)||void 0===c?void 0:c.has(e))||(i?(a.add(e),this.nt.add(e)):(a.remove(e),this.nt.delete(e)))}return r.Jb}})},3692:(e,t,i)=>{var r;i.d(t,{Jb:()=>A,Ld:()=>w,dy:()=>x,sY:()=>C});const c=window,a=c.trustedTypes,o=a?a.createPolicy("lit-html",{createHTML:e=>e}):void 0,n=`lit$${(Math.random()+"").slice(9)}$`,s="?"+n,d=`<${s}>`,p=document,l=(e="")=>p.createComment(e),h=e=>null===e||"object"!=typeof e&&"function"!=typeof e,m=Array.isArray,u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,g=/>/g,v=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),b=/'/g,y=/"/g,k=/^(?:script|style|textarea|title)$/i,_=e=>(t,...i)=>({_$litType$:e,strings:t,values:i}),x=_(1),A=(_(2),Symbol.for("lit-noChange")),w=Symbol.for("lit-nothing"),$=new WeakMap,C=(e,t,i)=>{var r,c;const a=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:t;let o=a._$litPart$;if(void 0===o){const e=null!==(c=null==i?void 0:i.renderBefore)&&void 0!==c?c:null;a._$litPart$=o=new P(t.insertBefore(l(),e),e,void 0,null!=i?i:{})}return o._$AI(e),o},S=p.createTreeWalker(p,129,null,!1),E=(e,t)=>{const i=e.length-1,r=[];let c,a=2===t?"<svg>":"",s=u;for(let t=0;t<i;t++){const i=e[t];let o,p,l=-1,h=0;for(;h<i.length&&(s.lastIndex=h,p=s.exec(i),null!==p);)h=s.lastIndex,s===u?"!--"===p[1]?s=f:void 0!==p[1]?s=g:void 0!==p[2]?(k.test(p[2])&&(c=RegExp("</"+p[2],"g")),s=v):void 0!==p[3]&&(s=v):s===v?">"===p[0]?(s=null!=c?c:u,l=-1):void 0===p[1]?l=-2:(l=s.lastIndex-p[2].length,o=p[1],s=void 0===p[3]?v:'"'===p[3]?y:b):s===y||s===b?s=v:s===f||s===g?s=u:(s=v,c=void 0);const m=s===v&&e[t+1].startsWith("/>")?" ":"";a+=s===u?i+d:l>=0?(r.push(o),i.slice(0,l)+"$lit$"+i.slice(l)+n+m):i+n+(-2===l?(r.push(void 0),t):m)}const p=a+(e[i]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==o?o.createHTML(p):p,r]};class R{constructor({strings:e,_$litType$:t},i){let r;this.parts=[];let c=0,o=0;const d=e.length-1,p=this.parts,[h,m]=E(e,t);if(this.el=R.createElement(h,i),S.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(r=S.nextNode())&&p.length<d;){if(1===r.nodeType){if(r.hasAttributes()){const e=[];for(const t of r.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(n)){const i=m[o++];if(e.push(t),void 0!==i){const e=r.getAttribute(i.toLowerCase()+"$lit$").split(n),t=/([.?@])?(.*)/.exec(i);p.push({type:1,index:c,name:t[2],strings:e,ctor:"."===t[1]?O:"?"===t[1]?I:"@"===t[1]?D:H})}else p.push({type:6,index:c})}for(const t of e)r.removeAttribute(t)}if(k.test(r.tagName)){const e=r.textContent.split(n),t=e.length-1;if(t>0){r.textContent=a?a.emptyScript:"";for(let i=0;i<t;i++)r.append(e[i],l()),S.nextNode(),p.push({type:2,index:++c});r.append(e[t],l())}}}else if(8===r.nodeType)if(r.data===s)p.push({type:2,index:c});else{let e=-1;for(;-1!==(e=r.data.indexOf(n,e+1));)p.push({type:7,index:c}),e+=n.length-1}c++}}static createElement(e,t){const i=p.createElement("template");return i.innerHTML=e,i}}function T(e,t,i=e,r){var c,a,o,n;if(t===A)return t;let s=void 0!==r?null===(c=i._$Cl)||void 0===c?void 0:c[r]:i._$Cu;const d=h(t)?void 0:t._$litDirective$;return(null==s?void 0:s.constructor)!==d&&(null===(a=null==s?void 0:s._$AO)||void 0===a||a.call(s,!1),void 0===d?s=void 0:(s=new d(e),s._$AT(e,i,r)),void 0!==r?(null!==(o=(n=i)._$Cl)&&void 0!==o?o:n._$Cl=[])[r]=s:i._$Cu=s),void 0!==s&&(t=T(e,s._$AS(e,t.values),s,r)),t}class z{constructor(e,t){this.v=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(e){var t;const{el:{content:i},parts:r}=this._$AD,c=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:p).importNode(i,!0);S.currentNode=c;let a=S.nextNode(),o=0,n=0,s=r[0];for(;void 0!==s;){if(o===s.index){let t;2===s.type?t=new P(a,a.nextSibling,this,e):1===s.type?t=new s.ctor(a,s.name,s.strings,this,e):6===s.type&&(t=new B(a,this,e)),this.v.push(t),s=r[++n]}o!==(null==s?void 0:s.index)&&(a=S.nextNode(),o++)}return c}m(e){let t=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,t),t+=i.strings.length-2):i._$AI(e[t])),t++}}class P{constructor(e,t,i,r){var c;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=i,this.options=r,this._$C_=null===(c=null==r?void 0:r.isConnected)||void 0===c||c}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$C_}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=T(this,e,t),h(e)?e===w||null==e||""===e?(this._$AH!==w&&this._$AR(),this._$AH=w):e!==this._$AH&&e!==A&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.k(e):(e=>m(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.O(e):this.$(e)}S(e,t=this._$AB){return this._$AA.parentNode.insertBefore(e,t)}k(e){this._$AH!==e&&(this._$AR(),this._$AH=this.S(e))}$(e){this._$AH!==w&&h(this._$AH)?this._$AA.nextSibling.data=e:this.k(p.createTextNode(e)),this._$AH=e}T(e){var t;const{values:i,_$litType$:r}=e,c="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=R.createElement(r.h,this.options)),r);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===c)this._$AH.m(i);else{const e=new z(c,this),t=e.p(this.options);e.m(i),this.k(t),this._$AH=e}}_$AC(e){let t=$.get(e.strings);return void 0===t&&$.set(e.strings,t=new R(e)),t}O(e){m(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let i,r=0;for(const c of e)r===t.length?t.push(i=new P(this.S(l()),this.S(l()),this,this.options)):i=t[r],i._$AI(c),r++;r<t.length&&(this._$AR(i&&i._$AB.nextSibling,r),t.length=r)}_$AR(e=this._$AA.nextSibling,t){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$C_=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class H{constructor(e,t,i,r,c){this.type=1,this._$AH=w,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=c,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,i,r){const c=this.strings;let a=!1;if(void 0===c)e=T(this,e,t,0),a=!h(e)||e!==this._$AH&&e!==A,a&&(this._$AH=e);else{const r=e;let o,n;for(e=c[0],o=0;o<c.length-1;o++)n=T(this,r[i+o],t,o),n===A&&(n=this._$AH[o]),a||(a=!h(n)||n!==this._$AH[o]),n===w?e=w:e!==w&&(e+=(null!=n?n:"")+c[o+1]),this._$AH[o]=n}a&&!r&&this.P(e)}P(e){e===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class O extends H{constructor(){super(...arguments),this.type=3}P(e){this.element[this.name]=e===w?void 0:e}}const F=a?a.emptyScript:"";class I extends H{constructor(){super(...arguments),this.type=4}P(e){e&&e!==w?this.element.setAttribute(this.name,F):this.element.removeAttribute(this.name)}}class D extends H{constructor(e,t,i,r,c){super(e,t,i,r,c),this.type=5}_$AI(e,t=this){var i;if((e=null!==(i=T(this,e,t,0))&&void 0!==i?i:w)===A)return;const r=this._$AH,c=e===w&&r!==w||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,a=e!==w&&(r===w||c);c&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==i?i:this.element,e):this._$AH.handleEvent(e)}}class B{constructor(e,t,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){T(this,e)}}const M=c.litHtmlPolyfillSupport;null==M||M(R,P),(null!==(r=c.litHtmlVersions)&&void 0!==r?r:c.litHtmlVersions=[]).push("2.3.0")},9662:(e,t,i)=>{i.d(t,{Cb:()=>c.C,GC:()=>s.G,IO:()=>n.I,Mo:()=>r.M,SB:()=>a.S,hO:()=>o.h});var r=i(5713),c=i(760),a=i(9158),o=i(8829),n=i(2669),s=i(8602);i(7935),i(43)},8810:(e,t,i)=>{i.d(t,{$:()=>r.$});var r=i(7499)},796:(e,t,i)=>{i.d(t,{o:()=>c});var r=i(3692);const c=e=>null!=e?e:r.Ld},3959:(e,t,i)=>{i.d(t,{V:()=>a});var r=i(3692),c=i(875);const a=(0,c.XM)(class extends c.Xe{constructor(e){var t;if(super(e),e.type!==c.pX.ATTRIBUTE||"style"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce(((t,i)=>{const r=e[i];return null==r?t:t+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(e,[t]){const{style:i}=e.element;if(void 0===this.vt){this.vt=new Set;for(const e in t)this.vt.add(e);return this.render(t)}this.vt.forEach((e=>{null==t[e]&&(this.vt.delete(e),e.includes("-")?i.removeProperty(e):i[e]="")}));for(const e in t){const r=t[e];null!=r&&(this.vt.add(e),e.includes("-")?i.setProperty(e,r):i[e]=r)}return r.Jb}})},5862:(e,t,i)=>{i.d(t,{dy:()=>r.dy,iv:()=>r.iv,oi:()=>r.oi}),i(8732),i(3692);var r=i(8922)}},t={};function i(r){var c=t[r];if(void 0!==c)return c.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,i),a.exports}i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=i(655),t=i(9662),r=i(9585),c=i(737);let a=class extends r.A{};a.styles=[c.W],a=(0,e.gn)([(0,t.Mo)("mwc-checkbox")],a);var o=i(5862),n=i(8810),s=i(5448);class d extends s.K{constructor(){super(...arguments),this.left=!1,this.graphic="control"}render(){const e={"mdc-deprecated-list-item__graphic":this.left,"mdc-deprecated-list-item__meta":!this.left},t=this.renderText(),i=this.graphic&&"control"!==this.graphic&&!this.left?this.renderGraphic():o.dy``,r=this.hasMeta&&this.left?this.renderMeta():o.dy``,c=this.renderRipple();return o.dy`
|
64
|
-
${c}
|
65
|
-
${i}
|
66
|
-
${this.left?"":t}
|
67
|
-
<span class=${(0,n.$)(e)}>
|
68
|
-
<mwc-checkbox
|
69
|
-
reducedTouchTarget
|
70
|
-
tabindex=${this.tabindex}
|
71
|
-
.checked=${this.selected}
|
72
|
-
?disabled=${this.disabled}
|
73
|
-
@change=${this.onChange}>
|
74
|
-
</mwc-checkbox>
|
75
|
-
</span>
|
76
|
-
${this.left?t:""}
|
77
|
-
${r}`}async onChange(e){const t=e.target;this.selected===t.checked||(this._skipPropRequest=!0,this.selected=t.checked,await this.updateComplete,this._skipPropRequest=!1)}}(0,e.gn)([(0,t.IO)("slot")],d.prototype,"slotElement",void 0),(0,e.gn)([(0,t.IO)("mwc-checkbox")],d.prototype,"checkboxElement",void 0),(0,e.gn)([(0,t.Cb)({type:Boolean})],d.prototype,"left",void 0),(0,e.gn)([(0,t.Cb)({type:String,reflect:!0})],d.prototype,"graphic",void 0);var p=i(1786),l=i(7641);let h=class extends d{};h.styles=[l.W,p.W],h=(0,e.gn)([(0,t.Mo)("td-check-list-item")],h)})()})();
|
@@ -1,91 +0,0 @@
|
|
1
|
-
/*! *****************************************************************************
|
2
|
-
Copyright (c) Microsoft Corporation.
|
3
|
-
|
4
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
5
|
-
purpose with or without fee is hereby granted.
|
6
|
-
|
7
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
8
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
9
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
10
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
11
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
12
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
13
|
-
PERFORMANCE OF THIS SOFTWARE.
|
14
|
-
***************************************************************************** */
|
15
|
-
|
16
|
-
/**
|
17
|
-
* @license
|
18
|
-
* Copyright 2016 Google Inc.
|
19
|
-
*
|
20
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
21
|
-
* of this software and associated documentation files (the "Software"), to deal
|
22
|
-
* in the Software without restriction, including without limitation the rights
|
23
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
24
|
-
* copies of the Software, and to permit persons to whom the Software is
|
25
|
-
* furnished to do so, subject to the following conditions:
|
26
|
-
*
|
27
|
-
* The above copyright notice and this permission notice shall be included in
|
28
|
-
* all copies or substantial portions of the Software.
|
29
|
-
*
|
30
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
31
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
32
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
33
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
34
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
35
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
36
|
-
* THE SOFTWARE.
|
37
|
-
*/
|
38
|
-
|
39
|
-
/**
|
40
|
-
* @license
|
41
|
-
* Copyright 2017 Google LLC
|
42
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
43
|
-
*/
|
44
|
-
|
45
|
-
/**
|
46
|
-
* @license
|
47
|
-
* Copyright 2018 Google LLC
|
48
|
-
* SPDX-License-Identifier: Apache-2.0
|
49
|
-
*/
|
50
|
-
|
51
|
-
/**
|
52
|
-
* @license
|
53
|
-
* Copyright 2018 Google LLC
|
54
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
55
|
-
*/
|
56
|
-
|
57
|
-
/**
|
58
|
-
* @license
|
59
|
-
* Copyright 2019 Google LLC
|
60
|
-
* SPDX-License-Identifier: Apache-2.0
|
61
|
-
*/
|
62
|
-
|
63
|
-
/**
|
64
|
-
* @license
|
65
|
-
* Copyright 2019 Google LLC
|
66
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
67
|
-
*/
|
68
|
-
|
69
|
-
/**
|
70
|
-
* @license
|
71
|
-
* Copyright 2020 Google LLC
|
72
|
-
* SPDX-License-Identifier: Apache-2.0
|
73
|
-
*/
|
74
|
-
|
75
|
-
/**
|
76
|
-
* @license
|
77
|
-
* Copyright 2021 Google LLC
|
78
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
79
|
-
*/
|
80
|
-
|
81
|
-
/**
|
82
|
-
* @license
|
83
|
-
* Copyright 2021 Google LLC
|
84
|
-
* SPDX-License-Identifier: Apache-2.0
|
85
|
-
*/
|
86
|
-
|
87
|
-
/**
|
88
|
-
* @license
|
89
|
-
* Copyright 2021 Google LLC
|
90
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
91
|
-
*/
|