@covalent/components 1.0.13 → 4.8.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/actionRibbon.js +16 -0
- package/actionRibbon.js.LICENSE.txt +75 -0
- package/alert.js +19 -0
- package/alert.js.LICENSE.txt +75 -0
- package/appShell.js +94 -0
- package/appShell.js.LICENSE.txt +131 -0
- package/button.js +38 -0
- package/button.js.LICENSE.txt +91 -0
- package/checkbox.js +40 -0
- package/checkbox.js.LICENSE.txt +91 -0
- package/circularProgress.js +58 -0
- package/circularProgress.js.LICENSE.txt +41 -0
- package/dialog.js +28 -0
- package/dialog.js.LICENSE.txt +165 -0
- package/drawer.js +18 -0
- package/drawer.js.LICENSE.txt +90 -0
- package/emptyState.js +25 -0
- package/emptyState.js.LICENSE.txt +29 -0
- package/formField.js +7 -0
- package/formField.js.LICENSE.txt +61 -0
- package/icon.js +2 -0
- package/icon.js.LICENSE.txt +29 -0
- package/iconButton.js +26 -0
- package/iconButton.js.LICENSE.txt +85 -0
- package/iconCheckbox.js +51 -0
- package/iconCheckbox.js.LICENSE.txt +91 -0
- package/iconRadio.js +43 -0
- package/iconRadio.js.LICENSE.txt +85 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.css +138 -114
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.eot +0 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.svg +6 -1
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.ttf +0 -0
- package/{covalent-icons/lib/icons/covalent-icons → icons}/covalent-icons.woff +0 -0
- package/icons/favicon.ico +0 -0
- package/index.js +851 -594
- package/index.js.LICENSE.txt +206 -0
- package/linearProgress.js +28 -0
- package/linearProgress.js.LICENSE.txt +41 -0
- package/list.js +44 -0
- package/list.js.LICENSE.txt +125 -0
- package/listExpansion.js +61 -0
- package/listExpansion.js.LICENSE.txt +125 -0
- package/listItem.js +27 -0
- package/listItem.js.LICENSE.txt +79 -0
- package/listRadioItem.js +70 -0
- package/listRadioItem.js.LICENSE.txt +85 -0
- package/menu.js +83 -0
- package/menu.js.LICENSE.txt +125 -0
- package/package.json +14 -5
- package/radio.js +33 -0
- package/radio.js.LICENSE.txt +85 -0
- package/select.js +176 -0
- package/select.js.LICENSE.txt +131 -0
- package/slider.js +63 -0
- package/slider.js.LICENSE.txt +108 -0
- package/sliderRange.js +113 -0
- package/sliderRange.js.LICENSE.txt +108 -0
- package/snackBar.js +12 -0
- package/snackBar.js.LICENSE.txt +85 -0
- package/styles.css +1 -0
- package/styles.js +1 -0
- package/switch.js +63 -0
- package/switch.js.LICENSE.txt +108 -0
- package/tab.js +35 -0
- package/tab.js.LICENSE.txt +79 -0
- package/tabBar.js +53 -0
- package/tabBar.js.LICENSE.txt +79 -0
- package/textArea.js +96 -0
- package/textArea.js.LICENSE.txt +85 -0
- package/textField.js +69 -0
- package/textField.js.LICENSE.txt +85 -0
- package/theme.css +1 -0
- package/theme.js +1 -0
- package/toolbar.js +39 -0
- package/toolbar.js.LICENSE.txt +96 -0
- package/topAppBar.js +19 -0
- package/topAppBar.js.LICENSE.txt +102 -0
- package/topAppBarFixed.js +19 -0
- package/topAppBarFixed.js.LICENSE.txt +102 -0
- package/treeList.js +8 -0
- package/treeList.js.LICENSE.txt +17 -0
- package/treeListItem.js +24 -0
- package/treeListItem.js.LICENSE.txt +23 -0
- package/components/action-ribbon/action-ribbon-base.d.ts +0 -30
- package/components/action-ribbon/action-ribbon-base.d.ts.map +0 -1
- package/components/action-ribbon/action-ribbon.component.d.ts +0 -15
- package/components/action-ribbon/action-ribbon.component.d.ts.map +0 -1
- package/components/action-ribbon/foundation.d.ts +0 -53
- package/components/action-ribbon/foundation.d.ts.map +0 -1
- package/components/app-shell/app-shell.component.d.ts +0 -27
- package/components/app-shell/app-shell.component.d.ts.map +0 -1
- package/components/button/button.component.d.ts +0 -10
- package/components/button/button.component.d.ts.map +0 -1
- package/components/index.d.ts +0 -6
- package/components/index.d.ts.map +0 -1
- package/components/list/td-list-expansion.component.d.ts +0 -14
- package/components/list/td-list-expansion.component.d.ts.map +0 -1
- package/components/list/td-list-item.component.d.ts +0 -12
- package/components/list/td-list-item.component.d.ts.map +0 -1
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.css +0 -338
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.eot +0 -0
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.svg +0 -217
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.ttf +0 -0
- package/teradata-icons/lib/icons/teradata-icons/teradata-icons.woff +0 -0
@@ -0,0 +1,85 @@
|
|
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: BSD-3-Clause
|
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: BSD-3-Clause
|
85
|
+
*/
|
package/styles.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.covalent-icon{--mdc-icon-font: "covalent-icons"}td-list .beta-list-item{--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 15px;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;font-size:var(--mdc-typography-subtitle1-font-size)}td-list .beta-list-item .beta-icon{height:20px;line-height:20px;width:40px}td-list.navigation-rail td-list-item:not(.beta-list-item){border-radius:0 28px 28px 0;margin-right:16px}td-list.navigation-rail td-list-item[graphic=avatar]:not(.beta-list-item) td-icon[slot=graphic]{background:rgba(0,0,0,0)}td-list.navigation-rail .home-item .covalent-icon:not(.teradata-circle){--mdc-list-item-graphic-size: 40px;--mdc-icon-size: 40px}td-list.navigation-rail .home-item .home-icon{display:none}td-list.navigation-rail .home-item .teradata-circle{display:none}td-list.navigation-rail .home-item .teradata-no-circle{display:block}td-list.navigation-rail .home-item:hover .home-icon{display:block}td-list.navigation-rail .home-item:hover .covalent-icon{display:none}td-app-shell:not([open]) td-list.navigation-rail td-list-item:not(.beta-list-item){border-radius:100%;margin:0 auto 8px;padding:0;width:48px;height:48px}td-app-shell:not([open]) td-list.navigation-rail td-list-item [slot=graphic],td-app-shell:not([open]) td-list.navigation-rail td-list-item td-icon{margin-left:8px}td-app-shell:not([open]) td-list.navigation-rail td-expansion-list{--td-list-item-text-icon-on-background: transparent;--td-list-menu-height: 0}td-app-shell:not([open]) td-list.navigation-rail .beta-list-item{--mdc-list-item-graphic-margin: 0px;--mdc-typography-subtitle1-font-size: 0;--mdc-typography-body2-font-size: 0;height:48px;font-size:0;padding:0;justify-content:center;align-content:center}td-app-shell:not([open]) td-list.navigation-rail .home-item{background-color:#f3753f;--mdc-ripple-color: #fff;--mdc-theme-text-icon-on-background: #fff}td-app-shell[open] td-list.navigation-rail .home-item .covalent-icon{display:none}td-app-shell[open] td-list.navigation-rail .home-item .covalent-icon.teradata-circle{display:block}td-app-shell[open] td-list.navigation-rail .home-item:hover .covalent-icon.teradata-circle{display:none}.skeleton-text *{font-family:"skeleton" !important}.skeleton-text{--mdc-typography-body2-font-family: "skeleton";--mdc-typography-body2-letter-spacing: -0.03em;--mdc-theme-text-primary-on-background: #ccc;--skeleton-color: #ccc}.td-toolbar{min-height:64px;display:flex;align-items:center;padding:0 16px;border-top:1px solid;border-color:var(--mdc-theme-border, rgba(0, 0, 0, 0.12))}.td-toolbar .spacer{display:flex;flex:1}
|
package/styles.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
(()=>{"use strict";var t={};t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),(()=>{var r;t.g.importScripts&&(r=t.g.location+"");var e=t.g.document;if(!r&&e&&(e.currentScript&&(r=e.currentScript.src),!r)){var i=e.getElementsByTagName("script");i.length&&(r=i[i.length-1].src)}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=r+"../../"})(),t.p})();
|
package/switch.js
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
/*! For license information please see switch.js.LICENSE.txt */
|
2
|
+
(()=>{"use strict";var e={6308:(e,t,r)=>{r.d(t,{K:()=>i});var i=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,r)=>{function i(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}r.d(t,{wB:()=>i})},6036:(e,t,r)=>{function i(e,t,r){if(void 0!==t)return function(e,t,r){const i=e.constructor;if(!r){const e=`__${t}`;if(!(r=i.getPropertyDescriptor(t,e)))throw new Error("@ariaProperty must be used after a @property decorator")}const a=r;let s="";if(!a.set)throw new Error(`@ariaProperty requires a setter for ${t}`);if(e.dispatchWizEvent)return r;const c={configurable:!0,enumerable:!0,set(e){if(""===s){const e=i.getPropertyOptions(t);s="string"==typeof e.attribute?e.attribute:t}this.hasAttribute(s)&&this.removeAttribute(s),a.set.call(this,e)}};return a.get&&(c.get=function(){return a.get.call(this)}),c}(e,t,r);throw new Error("@ariaProperty only supports TypeScript Decorators")}r.d(t,{L:()=>i})},7392:(e,t,r)=>{r.d(t,{H:()=>a});var i=r(5862);r(5610);class a extends i.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,r)=>{r.d(t,{Wg:()=>d});var i,a,s=r(655),c=r(9662),o=r(7392);const n=null!==(a=null===(i=window.ShadyDOM)||void 0===i?void 0:i.inUse)&&void 0!==a&&a;class d extends o.H{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=e=>{this.disabled||this.setFormData(e.formData)}}findFormElement(){if(!this.shadowRoot||n)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,s.gn)([(0,c.Cb)({type:Boolean})],d.prototype,"disabled",void 0)},5610:(e,t,r)=>{let i=!1;const a=()=>{},s={get passive(){return i=!0,!1}};document.addEventListener("x",a,s),document.removeEventListener("x",a)},8509:(e,t,r)=>{r.d(t,{L:()=>p});var i=r(655),a=r(2851),s=r(7392),c=r(514),o=r(5862),n=r(9662),d=r(8810),l=r(3196);class p extends s.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=c.Z}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),r={"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 o.dy`
|
3
|
+
<div class="mdc-ripple-surface mdc-ripple-upgraded ${(0,d.$)(r)}"
|
4
|
+
style="${(0,l.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,i.gn)([(0,n.IO)(".mdc-ripple-surface")],p.prototype,"mdcRoot",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],p.prototype,"primary",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],p.prototype,"accent",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],p.prototype,"unbounded",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],p.prototype,"disabled",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],p.prototype,"activated",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],p.prototype,"selected",void 0),(0,i.gn)([(0,n.Cb)({type:Boolean})],p.prototype,"internalUseStateLayerCustomProperties",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"hovering",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"bgFocused",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"fgActivation",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"fgDeactivation",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"fgScale",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"fgSize",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"translateStart",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"translateEnd",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"leftPos",void 0),(0,i.gn)([(0,n.SB)()],p.prototype,"topPos",void 0)},4063:(e,t,r)=>{r.d(t,{W:()=>i});const i=r(5862).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)}`},7705:(e,t,r)=>{var i=r(655),a=r(9662),s=r(8509),c=r(4063);let o=class extends s.L{};o.styles=[c.W],o=(0,i.gn)([(0,a.Mo)("mwc-ripple")],o)},9263:(e,t,r)=>{r.d(t,{A:()=>i});class i{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()}))}}}},9552:(e,t,r)=>{r.d(t,{KT:()=>s,UX:()=>i,j2:()=>a});var i={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"},a={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"},s={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},514:(e,t,r)=>{r.d(t,{Z:()=>l});var i=r(655),a=r(6308),s=r(9552),c=r(4014),o=["touchstart","pointerdown","mousedown","keydown"],n=["touchend","pointerup","mouseup","contextmenu"],d=[];const l=function(e){function t(r){var a=e.call(this,(0,i.pi)((0,i.pi)({},t.defaultAdapter),r))||this;return a.activationAnimationHasEnded=!1,a.activationTimer=0,a.fgDeactivationRemovalTimer=0,a.fgScale="0",a.frame={width:0,height:0},a.initialSize=0,a.layoutFrame=0,a.maxRadius=0,a.unboundedCoords={left:0,top:0},a.activationState=a.defaultActivationState(),a.activationTimerCallback=function(){a.activationAnimationHasEnded=!0,a.runDeactivationUXLogicIfReady()},a.activateHandler=function(e){a.activateImpl(e)},a.deactivateHandler=function(){a.deactivateImpl()},a.focusHandler=function(){a.handleFocus()},a.blurHandler=function(){a.handleBlur()},a.resizeHandler=function(){a.layout()},a}return(0,i.ZT)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s.UX},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s.j2},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return s.KT},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,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var i=t.cssClasses,a=i.ROOT,s=i.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(a),e.adapter.isUnbounded()&&(e.adapter.addClass(s),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 r=t.cssClasses,i=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(i),e.adapter.removeClass(a),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 r=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(r):this.adapter.removeClass(r)},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,r;if(e){try{for(var a=(0,i.XA)(o),s=a.next();!s.done;s=a.next()){var c=s.value;this.adapter.registerInteractionHandler(c,this.activateHandler)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}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,r;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var a=(0,i.XA)(n),s=a.next();!s.done;s=a.next()){var c=s.value;this.adapter.registerDocumentInteractionHandler(c,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var r=(0,i.XA)(o),a=r.next();!a.done;a=r.next()){var s=a.value;this.adapter.deregisterInteractionHandler(s,this.activateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}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 r=(0,i.XA)(n),a=r.next();!a.done;a=r.next()){var s=a.value;this.adapter.deregisterDocumentInteractionHandler(s,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,r=t.strings;Object.keys(r).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(r[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var i=this.previousActivationEvent;i&&void 0!==e&&i.type!==e.type||(r.isActivated=!0,r.isProgrammatic=void 0===e,r.activationEvent=e,r.wasActivatedByPointer=!r.isProgrammatic&&void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type),void 0!==e&&d.length>0&&d.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(d.push(e.target),this.registerDeactivationHandlers(e)),r.wasElementMadeActive=this.checkElementMadeActive(e),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){d=[],r.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(r.wasElementMadeActive=t.checkElementMadeActive(e),r.wasElementMadeActive&&t.animateActivation()),r.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,r=t.strings,i=r.VAR_FG_TRANSLATE_START,a=r.VAR_FG_TRANSLATE_END,s=t.cssClasses,c=s.FG_DEACTIVATION,o=s.FG_ACTIVATION,n=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var d="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),h=p.startPoint,u=p.endPoint;d=h.x+"px, "+h.y+"px",l=u.x+"px, "+u.y+"px"}this.adapter.updateCssVariable(i,d),this.adapter.updateCssVariable(a,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(c),this.adapter.computeBoundingRect(),this.adapter.addClass(o),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),n)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,r=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?(0,c.Y)(r,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,r=t.cssClasses.FG_DEACTIVATION,i=this.activationState,a=i.hasDeactivationUXRun,c=i.isActivated;(a||!c)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(r)}),s.KT.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 r=(0,i.pi)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(r)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(r),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,r=e.wasElementMadeActive;(t||r)&&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 r=Math.floor(e*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,r=e.VAR_FG_SIZE,i=e.VAR_LEFT,a=e.VAR_TOP,s=e.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(s,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(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(a,this.unboundedCoords.top+"px"))},t}(a.K)},4014:(e,t,r)=>{function i(e,t,r){if(!e)return{x:0,y:0};var i,a,s=t.x,c=t.y,o=s+r.left,n=c+r.top;if("touchstart"===e.type){var d=e;i=d.changedTouches[0].pageX-o,a=d.changedTouches[0].pageY-n}else{var l=e;i=l.pageX-o,a=l.pageY-n}return{x:i,y:a}}r.d(t,{Y:()=>i})},655:(e,t,r)=>{r.d(t,{CR:()=>n,XA:()=>o,ZT:()=>a,ev:()=>d,gn:()=>c,pi:()=>s});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return s=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},s.apply(this,arguments)};function c(e,t,r,i){var a,s=arguments.length,c=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,i);else for(var o=e.length-1;o>=0;o--)(a=e[o])&&(c=(s<3?a(c):s>3?a(t,r,c):a(t,r))||c);return s>3&&c&&Object.defineProperty(t,r,c),c}function o(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,a,s=r.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)c.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(a)throw a.error}}return c}function d(e,t,r){if(r||2===arguments.length)for(var i,a=0,s=t.length;a<s;a++)!i&&a in t||(i||(i=Array.prototype.slice.call(t,0,a)),i[a]=t[a]);return e.concat(i||Array.prototype.slice.call(t))}Object.create,Object.create},8701:(e,t,r)=>{r.d(t,{ec:()=>d,i1:()=>l,iv:()=>n});const i=window,a=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;class o{constructor(e,t,r){if(this._$cssResult$=!0,r!==s)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(a&&void 0===e){const r=void 0!==t&&1===t.length;r&&(e=c.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&c.set(t,e))}return e}toString(){return this.cssText}}const n=(e,...t)=>{const r=1===e.length?e[0]:t.reduce(((t,r,i)=>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.")})(r)+e[i+1]),e[0]);return new o(r,e,s)},d=(e,t)=>{a?e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet)):t.forEach((t=>{const r=document.createElement("style"),a=i.litNonce;void 0!==a&&r.setAttribute("nonce",a),r.textContent=t.cssText,e.appendChild(r)}))},l=a?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return(e=>new o("string"==typeof e?e:e+"",void 0,s))(t)})(e):e},5674:(e,t,r)=>{r.d(t,{eZ:()=>i});const i=({finisher:e,descriptor:t})=>(r,i)=>{var a;if(void 0===i){const i=null!==(a=r.originalKey)&&void 0!==a?a:r.key,s=null!=t?{kind:"method",placement:"prototype",key:i,descriptor:t(r.key)}:{...r,key:i};return null!=e&&(s.finisher=function(t){e(t,i)}),s}{const a=r.constructor;void 0!==t&&Object.defineProperty(r,i,t(i)),null==e||e(a,i)}}},5713:(e,t,r)=>{r.d(t,{M:()=>i});const i=e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:r,elements:i}=t;return{kind:r,elements:i,finisher(t){customElements.define(e,t)}}})(e,t)},8829:(e,t,r)=>{r.d(t,{h:()=>a});var i=r(5674);function a(e){return(0,i.eZ)({finisher:(t,r)=>{Object.assign(t.prototype[r],e)}})}},760:(e,t,r)=>{r.d(t,{C:()=>a});const i=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(r){r.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(r){r.createProperty(t.key,e)}};function a(e){return(t,r)=>void 0!==r?((e,t,r)=>{t.constructor.createProperty(r,e)})(e,t,r):i(e,t)}},7935:(e,t,r)=>{var i;null===(i=window.HTMLSlotElement)||void 0===i||i.prototype.assignedElements},43:(e,t,r)=>{r(7935)},8602:(e,t,r)=>{r.d(t,{G:()=>a});var i=r(5674);function a(e){return(0,i.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,r)=>{r.d(t,{I:()=>a});var i=r(5674);function a(e,t){return(0,i.eZ)({descriptor:r=>{const i={get(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof r?Symbol():"__"+r;i.get=function(){var r,i;return void 0===this[t]&&(this[t]=null!==(i=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e))&&void 0!==i?i:null),this[t]}}return i}})}},9158:(e,t,r)=>{r.d(t,{S:()=>a});var i=r(760);function a(e){return(0,i.C)({...e,state:!0})}},8732:(e,t,r)=>{r.d(t,{fl:()=>h,iv:()=>a.iv});var i,a=r(8701);const s=window,c=s.trustedTypes,o=c?c.emptyScript:"",n=s.reactiveElementPolyfillSupport,d={toAttribute(e,t){switch(t){case Boolean:e=e?o:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},l=(e,t)=>t!==e&&(t==t||e==e),p={attribute:!0,type:String,converter:d,reflect:!1,hasChanged:l};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,r)=>{const i=this._$Ep(r,t);void 0!==i&&(this._$Ev.set(i,r),e.push(i))})),e}static createProperty(e,t=p){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const r="symbol"==typeof e?Symbol():"__"+e,i=this.getPropertyDescriptor(e,r,t);void 0!==i&&Object.defineProperty(this.prototype,e,i)}}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(i){const a=this[e];this[t]=i,this.requestUpdate(e,a,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||p}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 r of t)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift((0,a.i1)(e))}else void 0!==e&&t.push((0,a.i1)(e));return t}static _$Ep(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"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,r;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(r=e.hostConnected)||void 0===r||r.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,a.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,r){this._$AK(e,r)}_$EO(e,t,r=p){var i;const a=this.constructor._$Ep(e,r);if(void 0!==a&&!0===r.reflect){const s=(void 0!==(null===(i=r.converter)||void 0===i?void 0:i.toAttribute)?r.converter:d).toAttribute(t,r.type);this._$El=e,null==s?this.removeAttribute(a):this.setAttribute(a,s),this._$El=null}}_$AK(e,t){var r;const i=this.constructor,a=i._$Ev.get(e);if(void 0!==a&&this._$El!==a){const e=i.getPropertyOptions(a),s="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(r=e.converter)||void 0===r?void 0:r.fromAttribute)?e.converter:d;this._$El=a,this[a]=s.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,r){let i=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||l)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,r))):i=!1),!this.isUpdatePending&&i&&(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 r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),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(r)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(r)}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==n||n({ReactiveElement:h}),(null!==(i=s.reactiveElementVersions)&&void 0!==i?i:s.reactiveElementVersions=[]).push("1.4.0")},8922:(e,t,r)=>{r.d(t,{dy:()=>c.dy,iv:()=>s.iv,oi:()=>o});var i,a,s=r(8732),c=r(3692);class o extends s.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const r=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=r.firstChild),r}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=(0,c.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 c.Jb}}o.finalized=!0,o._$litElement$=!0,null===(i=globalThis.litElementHydrateSupport)||void 0===i||i.call(globalThis,{LitElement:o});const n=globalThis.litElementPolyfillSupport;null==n||n({LitElement:o}),(null!==(a=globalThis.litElementVersions)&&void 0!==a?a:globalThis.litElementVersions=[]).push("3.2.2")},875:(e,t,r)=>{r.d(t,{XM:()=>a,Xe:()=>s,pX:()=>i});const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},a=e=>(...t)=>({_$litDirective$:e,values:t});class s{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this._$Ct=e,this._$AM=t,this._$Ci=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}},7499:(e,t,r)=>{r.d(t,{$:()=>s});var i=r(3692),a=r(875);const s=(0,a.XM)(class extends a.Xe{constructor(e){var t;if(super(e),e.type!==a.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 r,a;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===(r=this.st)||void 0===r?void 0:r.has(e))&&this.nt.add(e);return this.render(t)}const s=e.element.classList;this.nt.forEach((e=>{e in t||(s.remove(e),this.nt.delete(e))}));for(const e in t){const r=!!t[e];r===this.nt.has(e)||(null===(a=this.st)||void 0===a?void 0:a.has(e))||(r?(s.add(e),this.nt.add(e)):(s.remove(e),this.nt.delete(e)))}return i.Jb}})},577:(e,t,r)=>{r.d(t,{o:()=>a});var i=r(3692);const a=e=>null!=e?e:i.Ld},7151:(e,t,r)=>{r.d(t,{V:()=>s});var i=r(3692),a=r(875);const s=(0,a.XM)(class extends a.Xe{constructor(e){var t;if(super(e),e.type!==a.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,r)=>{const i=e[r];return null==i?t:t+`${r=r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(e,[t]){const{style:r}=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("-")?r.removeProperty(e):r[e]="")}));for(const e in t){const i=t[e];null!=i&&(this.vt.add(e),e.includes("-")?r.setProperty(e,i):r[e]=i)}return i.Jb}})},3692:(e,t,r)=>{var i;r.d(t,{Jb:()=>$,Ld:()=>k,dy:()=>A,sY:()=>C});const a=window,s=a.trustedTypes,c=s?s.createPolicy("lit-html",{createHTML:e=>e}):void 0,o=`lit$${(Math.random()+"").slice(9)}$`,n="?"+o,d=`<${n}>`,l=document,p=(e="")=>l.createComment(e),h=e=>null===e||"object"!=typeof e&&"function"!=typeof e,u=Array.isArray,m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,f=/-->/g,v=/>/g,y=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),g=/'/g,b=/"/g,w=/^(?:script|style|textarea|title)$/i,_=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),A=_(1),$=(_(2),Symbol.for("lit-noChange")),k=Symbol.for("lit-nothing"),S=new WeakMap,C=(e,t,r)=>{var i,a;const s=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:t;let c=s._$litPart$;if(void 0===c){const e=null!==(a=null==r?void 0:r.renderBefore)&&void 0!==a?a:null;s._$litPart$=c=new R(t.insertBefore(p(),e),e,void 0,null!=r?r:{})}return c._$AI(e),c},E=l.createTreeWalker(l,129,null,!1),x=(e,t)=>{const r=e.length-1,i=[];let a,s=2===t?"<svg>":"",n=m;for(let t=0;t<r;t++){const r=e[t];let c,l,p=-1,h=0;for(;h<r.length&&(n.lastIndex=h,l=n.exec(r),null!==l);)h=n.lastIndex,n===m?"!--"===l[1]?n=f:void 0!==l[1]?n=v:void 0!==l[2]?(w.test(l[2])&&(a=RegExp("</"+l[2],"g")),n=y):void 0!==l[3]&&(n=y):n===y?">"===l[0]?(n=null!=a?a:m,p=-1):void 0===l[1]?p=-2:(p=n.lastIndex-l[2].length,c=l[1],n=void 0===l[3]?y:'"'===l[3]?b:g):n===b||n===g?n=y:n===f||n===v?n=m:(n=y,a=void 0);const u=n===y&&e[t+1].startsWith("/>")?" ":"";s+=n===m?r+d:p>=0?(i.push(c),r.slice(0,p)+"$lit$"+r.slice(p)+o+u):r+o+(-2===p?(i.push(void 0),t):u)}const l=s+(e[r]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==c?c.createHTML(l):l,i]};class T{constructor({strings:e,_$litType$:t},r){let i;this.parts=[];let a=0,c=0;const d=e.length-1,l=this.parts,[h,u]=x(e,t);if(this.el=T.createElement(h,r),E.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(i=E.nextNode())&&l.length<d;){if(1===i.nodeType){if(i.hasAttributes()){const e=[];for(const t of i.getAttributeNames())if(t.endsWith("$lit$")||t.startsWith(o)){const r=u[c++];if(e.push(t),void 0!==r){const e=i.getAttribute(r.toLowerCase()+"$lit$").split(o),t=/([.?@])?(.*)/.exec(r);l.push({type:1,index:a,name:t[2],strings:e,ctor:"."===t[1]?I:"?"===t[1]?F:"@"===t[1]?U:H})}else l.push({type:6,index:a})}for(const t of e)i.removeAttribute(t)}if(w.test(i.tagName)){const e=i.textContent.split(o),t=e.length-1;if(t>0){i.textContent=s?s.emptyScript:"";for(let r=0;r<t;r++)i.append(e[r],p()),E.nextNode(),l.push({type:2,index:++a});i.append(e[t],p())}}}else if(8===i.nodeType)if(i.data===n)l.push({type:2,index:a});else{let e=-1;for(;-1!==(e=i.data.indexOf(o,e+1));)l.push({type:7,index:a}),e+=o.length-1}a++}}static createElement(e,t){const r=l.createElement("template");return r.innerHTML=e,r}}function P(e,t,r=e,i){var a,s,c,o;if(t===$)return t;let n=void 0!==i?null===(a=r._$Cl)||void 0===a?void 0:a[i]:r._$Cu;const d=h(t)?void 0:t._$litDirective$;return(null==n?void 0:n.constructor)!==d&&(null===(s=null==n?void 0:n._$AO)||void 0===s||s.call(n,!1),void 0===d?n=void 0:(n=new d(e),n._$AT(e,r,i)),void 0!==i?(null!==(c=(o=r)._$Cl)&&void 0!==c?c:o._$Cl=[])[i]=n:r._$Cu=n),void 0!==n&&(t=P(e,n._$AS(e,t.values),n,i)),t}class O{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:r},parts:i}=this._$AD,a=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:l).importNode(r,!0);E.currentNode=a;let s=E.nextNode(),c=0,o=0,n=i[0];for(;void 0!==n;){if(c===n.index){let t;2===n.type?t=new R(s,s.nextSibling,this,e):1===n.type?t=new n.ctor(s,n.name,n.strings,this,e):6===n.type&&(t=new z(s,this,e)),this.v.push(t),n=i[++o]}c!==(null==n?void 0:n.index)&&(s=E.nextNode(),c++)}return a}m(e){let t=0;for(const r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class R{constructor(e,t,r,i){var a;this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=i,this._$C_=null===(a=null==i?void 0:i.isConnected)||void 0===a||a}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=P(this,e,t),h(e)?e===k||null==e||""===e?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==$&&this.$(e):void 0!==e._$litType$?this.T(e):void 0!==e.nodeType?this.k(e):(e=>u(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!==k&&h(this._$AH)?this._$AA.nextSibling.data=e:this.k(l.createTextNode(e)),this._$AH=e}T(e){var t;const{values:r,_$litType$:i}=e,a="number"==typeof i?this._$AC(e):(void 0===i.el&&(i.el=T.createElement(i.h,this.options)),i);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===a)this._$AH.m(r);else{const e=new O(a,this),t=e.p(this.options);e.m(r),this.k(t),this._$AH=e}}_$AC(e){let t=S.get(e.strings);return void 0===t&&S.set(e.strings,t=new T(e)),t}O(e){u(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,i=0;for(const a of e)i===t.length?t.push(r=new R(this.S(p()),this.S(p()),this,this.options)):r=t[i],r._$AI(a),i++;i<t.length&&(this._$AR(r&&r._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){var r;for(null===(r=this._$AP)||void 0===r||r.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,r,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=t,this._$AM=i,this.options=a,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=k}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,i){const a=this.strings;let s=!1;if(void 0===a)e=P(this,e,t,0),s=!h(e)||e!==this._$AH&&e!==$,s&&(this._$AH=e);else{const i=e;let c,o;for(e=a[0],c=0;c<a.length-1;c++)o=P(this,i[r+c],t,c),o===$&&(o=this._$AH[c]),s||(s=!h(o)||o!==this._$AH[c]),o===k?e=k:e!==k&&(e+=(null!=o?o:"")+a[c+1]),this._$AH[c]=o}s&&!i&&this.P(e)}P(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class I extends H{constructor(){super(...arguments),this.type=3}P(e){this.element[this.name]=e===k?void 0:e}}const D=s?s.emptyScript:"";class F extends H{constructor(){super(...arguments),this.type=4}P(e){e&&e!==k?this.element.setAttribute(this.name,D):this.element.removeAttribute(this.name)}}class U extends H{constructor(e,t,r,i,a){super(e,t,r,i,a),this.type=5}_$AI(e,t=this){var r;if((e=null!==(r=P(this,e,t,0))&&void 0!==r?r:k)===$)return;const i=this._$AH,a=e===k&&i!==k||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,s=e!==k&&(i===k||a);a&&this.element.removeEventListener(this.name,this,i),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==r?r:this.element,e):this._$AH.handleEvent(e)}}class z{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){P(this,e)}}const B=a.litHtmlPolyfillSupport;null==B||B(T,R),(null!==(i=a.litHtmlVersions)&&void 0!==i?i:a.litHtmlVersions=[]).push("2.3.0")},9662:(e,t,r)=>{r.d(t,{Cb:()=>a.C,GC:()=>n.G,IO:()=>o.I,Mo:()=>i.M,SB:()=>s.S,hO:()=>c.h});var i=r(5713),a=r(760),s=r(9158),c=r(8829),o=r(2669),n=r(8602);r(7935),r(43)},8810:(e,t,r)=>{r.d(t,{$:()=>i.$});var i=r(7499)},3492:(e,t,r)=>{r.d(t,{o:()=>i.o});var i=r(577)},3196:(e,t,r)=>{r.d(t,{V:()=>i.V});var i=r(7151)},5862:(e,t,r)=>{r.d(t,{dy:()=>i.dy,iv:()=>i.iv,oi:()=>i.oi}),r(8732),r(3692);var i=r(8922)}},t={};function r(i){var a=t[i];if(void 0!==a)return a.exports;var s=t[i]={exports:{}};return e[i](s,s.exports,r),s.exports}r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=r(655),t=(r(7705),r(6036)),i=r(339),a=r(9263),s=r(6308);var c=new WeakMap;var o,n,d=function(t){function r(e){var r=t.call(this,e)||this;return r.unobserves=new Set,r}return(0,e.ZT)(r,t),r.prototype.destroy=function(){t.prototype.destroy.call(this),this.unobserve()},r.prototype.observe=function(t,r){var i,a,s=this,c=[];try{for(var o=(0,e.XA)(Object.keys(r)),n=o.next();!n.done;n=o.next()){var d=n.value,l=r[d].bind(this);c.push(this.observeProperty(t,d,l))}}catch(e){i={error:e}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}var p=function(){var t,r;try{for(var i=(0,e.XA)(c),a=i.next();!a.done;a=i.next())(0,a.value)()}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}s.unobserves.delete(p)};return this.unobserves.add(p),p},r.prototype.observeProperty=function(t,r,i){return function(t,r,i){var a=function(t,r){var i=new Map;c.has(t)||c.set(t,{isEnabled:!0,getObservers:function(e){var t=i.get(e)||[];return i.has(e)||i.set(e,t),t},installedProperties:new Set});var a=c.get(t);if(a.installedProperties.has(r))return a;var s=function(e,t){for(var r,i=e;i&&!(r=Object.getOwnPropertyDescriptor(i,t));)i=Object.getPrototypeOf(i);return r}(t,r)||{configurable:!0,enumerable:!0,value:t[r],writable:!0},o=(0,e.pi)({},s),n=s.get,d=s.set;if("value"in s){delete o.value,delete o.writable;var l=s.value;n=function(){return l},s.writable&&(d=function(e){l=e})}return n&&(o.get=function(){return n.call(this)}),d&&(o.set=function(t){var i,s,c=n?n.call(this):t;if(d.call(this,t),a.isEnabled&&(!n||t!==c))try{for(var o=(0,e.XA)(a.getObservers(r)),l=o.next();!l.done;l=o.next())(0,l.value)(t,c)}catch(e){i={error:e}}finally{try{l&&!l.done&&(s=o.return)&&s.call(o)}finally{if(i)throw i.error}}}),a.installedProperties.add(r),Object.defineProperty(t,r,o),a}(t,r),s=a.getObservers(r);return s.push(i),function(){s.splice(s.indexOf(i),1)}}(t,r,i)},r.prototype.setObserversEnabled=function(e,t){!function(e,t){var r=c.get(e);r&&(r.isEnabled=t)}(e,t)},r.prototype.unobserve=function(){var t,r;try{for(var i=(0,e.XA)((0,e.ev)([],(0,e.CR)(this.unobserves))),a=i.next();!a.done;a=i.next())(0,a.value)()}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},r}(s.K);!function(e){e.PROCESSING="mdc-switch--processing",e.SELECTED="mdc-switch--selected",e.UNSELECTED="mdc-switch--unselected"}(o||(o={})),function(e){e.RIPPLE=".mdc-switch__ripple"}(n||(n={}));var l=function(t){function r(e){var r=t.call(this,e)||this;return r.handleClick=r.handleClick.bind(r),r}return(0,e.ZT)(r,t),r.prototype.init=function(){this.observe(this.adapter.state,{disabled:this.stopProcessingIfDisabled,processing:this.stopProcessingIfDisabled})},r.prototype.handleClick=function(){this.adapter.state.disabled||(this.adapter.state.selected=!this.adapter.state.selected)},r.prototype.stopProcessingIfDisabled=function(){this.adapter.state.disabled&&(this.adapter.state.processing=!1)},r}(d),p=(function(t){function r(){return null!==t&&t.apply(this,arguments)||this}(0,e.ZT)(r,t),r.prototype.init=function(){t.prototype.init.call(this),this.observe(this.adapter.state,{disabled:this.onDisabledChange,processing:this.onProcessingChange,selected:this.onSelectedChange})},r.prototype.initFromDOM=function(){this.setObserversEnabled(this.adapter.state,!1),this.adapter.state.selected=this.adapter.hasClass(o.SELECTED),this.onSelectedChange(),this.adapter.state.disabled=this.adapter.isDisabled(),this.adapter.state.processing=this.adapter.hasClass(o.PROCESSING),this.setObserversEnabled(this.adapter.state,!0),this.stopProcessingIfDisabled()},r.prototype.onDisabledChange=function(){this.adapter.setDisabled(this.adapter.state.disabled)},r.prototype.onProcessingChange=function(){this.toggleClass(this.adapter.state.processing,o.PROCESSING)},r.prototype.onSelectedChange=function(){this.adapter.setAriaChecked(String(this.adapter.state.selected)),this.toggleClass(this.adapter.state.selected,o.SELECTED),this.toggleClass(!this.adapter.state.selected,o.UNSELECTED)},r.prototype.toggleClass=function(e,t){e?this.adapter.addClass(t):this.adapter.removeClass(t)}}(l),r(5862)),h=r(9662),u=r(8810),m=r(3492);class f extends i.Wg{constructor(){super(...arguments),this.processing=!1,this.selected=!1,this.ariaLabel="",this.ariaLabelledBy="",this.shouldRenderRipple=!1,this.rippleHandlers=new a.A((()=>(this.shouldRenderRipple=!0,this.ripple))),this.name="",this.value="on",this.mdcFoundationClass=l}setFormData(e){this.name&&this.selected&&e.append(this.name,this.value)}click(){var e,t;this.disabled||(null===(e=this.mdcRoot)||void 0===e||e.focus(),null===(t=this.mdcRoot)||void 0===t||t.click())}render(){return p.dy`
|
5
|
+
<button
|
6
|
+
type="button"
|
7
|
+
class="mdc-switch ${(0,u.$)(this.getRenderClasses())}"
|
8
|
+
role="switch"
|
9
|
+
aria-checked="${this.selected}"
|
10
|
+
aria-label="${(0,m.o)(this.ariaLabel||void 0)}"
|
11
|
+
aria-labelledby="${(0,m.o)(this.ariaLabelledBy||void 0)}"
|
12
|
+
.disabled=${this.disabled}
|
13
|
+
@click=${this.handleClick}
|
14
|
+
@focus="${this.handleFocus}"
|
15
|
+
@blur="${this.handleBlur}"
|
16
|
+
@pointerdown="${this.handlePointerDown}"
|
17
|
+
@pointerup="${this.handlePointerUp}"
|
18
|
+
@pointerenter="${this.handlePointerEnter}"
|
19
|
+
@pointerleave="${this.handlePointerLeave}"
|
20
|
+
>
|
21
|
+
<div class="mdc-switch__track"></div>
|
22
|
+
<div class="mdc-switch__handle-track">
|
23
|
+
${this.renderHandle()}
|
24
|
+
</div>
|
25
|
+
</button>
|
26
|
+
|
27
|
+
<input
|
28
|
+
type="checkbox"
|
29
|
+
aria-hidden="true"
|
30
|
+
name="${this.name}"
|
31
|
+
.checked=${this.selected}
|
32
|
+
.value=${this.value}
|
33
|
+
>
|
34
|
+
`}getRenderClasses(){return{"mdc-switch--processing":this.processing,"mdc-switch--selected":this.selected,"mdc-switch--unselected":!this.selected}}renderHandle(){return p.dy`
|
35
|
+
<div class="mdc-switch__handle">
|
36
|
+
${this.renderShadow()}
|
37
|
+
${this.renderRipple()}
|
38
|
+
<div class="mdc-switch__icons">
|
39
|
+
${this.renderOnIcon()}
|
40
|
+
${this.renderOffIcon()}
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
`}renderShadow(){return p.dy`
|
44
|
+
<div class="mdc-switch__shadow">
|
45
|
+
<div class="mdc-elevation-overlay"></div>
|
46
|
+
</div>
|
47
|
+
`}renderRipple(){return this.shouldRenderRipple?p.dy`
|
48
|
+
<div class="mdc-switch__ripple">
|
49
|
+
<mwc-ripple
|
50
|
+
internalUseStateLayerCustomProperties
|
51
|
+
.disabled="${this.disabled}"
|
52
|
+
unbounded>
|
53
|
+
</mwc-ripple>
|
54
|
+
</div>
|
55
|
+
`:p.dy``}renderOnIcon(){return p.dy`
|
56
|
+
<svg class="mdc-switch__icon mdc-switch__icon--on" viewBox="0 0 24 24">
|
57
|
+
<path d="M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z" />
|
58
|
+
</svg>
|
59
|
+
`}renderOffIcon(){return p.dy`
|
60
|
+
<svg class="mdc-switch__icon mdc-switch__icon--off" viewBox="0 0 24 24">
|
61
|
+
<path d="M20 13H4v-2h16v2z" />
|
62
|
+
</svg>
|
63
|
+
`}handleClick(){var e;null===(e=this.mdcFoundation)||void 0===e||e.handleClick()}handleFocus(){this.rippleHandlers.startFocus()}handleBlur(){this.rippleHandlers.endFocus()}handlePointerDown(e){e.target.setPointerCapture(e.pointerId),this.rippleHandlers.startPress(e)}handlePointerUp(){this.rippleHandlers.endPress()}handlePointerEnter(){this.rippleHandlers.startHover()}handlePointerLeave(){this.rippleHandlers.endHover()}createAdapter(){return{state:this}}}(0,e.gn)([(0,h.Cb)({type:Boolean})],f.prototype,"processing",void 0),(0,e.gn)([(0,h.Cb)({type:Boolean})],f.prototype,"selected",void 0),(0,e.gn)([t.L,(0,h.Cb)({type:String,attribute:"aria-label"})],f.prototype,"ariaLabel",void 0),(0,e.gn)([t.L,(0,h.Cb)({type:String,attribute:"aria-labelledby"})],f.prototype,"ariaLabelledBy",void 0),(0,e.gn)([(0,h.GC)("mwc-ripple")],f.prototype,"ripple",void 0),(0,e.gn)([(0,h.SB)()],f.prototype,"shouldRenderRipple",void 0),(0,e.gn)([(0,h.Cb)({type:String,reflect:!0})],f.prototype,"name",void 0),(0,e.gn)([(0,h.Cb)({type:String})],f.prototype,"value",void 0),(0,e.gn)([(0,h.IO)("input")],f.prototype,"formElement",void 0),(0,e.gn)([(0,h.IO)(".mdc-switch")],f.prototype,"mdcRoot",void 0),(0,e.gn)([(0,h.hO)({passive:!0})],f.prototype,"handlePointerDown",null);const v=p.iv`.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative}.mdc-switch:disabled{cursor:default;pointer-events:none}.mdc-switch__track{overflow:hidden;position:relative;width:100%}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%}@media screen and (forced-colors: active){.mdc-switch__track::before,.mdc-switch__track::after{border-color:currentColor}}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(-100%)}[dir=rtl] .mdc-switch__track::after,.mdc-switch__track[dir=rtl]::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track[dir=rtl]::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::after{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0)}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0)}[dir=rtl] .mdc-switch__handle-track,.mdc-switch__handle-track[dir=rtl]{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track,.mdc-switch--selected .mdc-switch__handle-track[dir=rtl]{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto}[dir=rtl] .mdc-switch__handle,.mdc-switch__handle[dir=rtl]{left:auto;right:0}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid transparent;border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}@media screen and (forced-colors: active){.mdc-switch__handle::before,.mdc-switch__handle::after{border-color:currentColor}}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-elevation-overlay{bottom:0;left:0;right:0;top:0}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1}.mdc-switch:disabled .mdc-switch__ripple{display:none}.mdc-switch__icons{height:100%;position:relative;width:100%;z-index:1}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}:host{display:inline-flex;outline:none}input{display:none}.mdc-switch{width:36px;width:var(--mdc-switch-track-width, 36px)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:#6200ee;background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:#310077;background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:#616161;background:var(--mdc-switch-unselected-handle-color, #616161)}.mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:#212121;background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:#424242;background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mdc-switch .mdc-switch__handle::before{background:#fff;background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mdc-switch:enabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-handle-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch:disabled .mdc-switch__shadow{--mdc-elevation-box-shadow-for-gss:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12);box-shadow:var(--mdc-switch-disabled-handle-elevation, var(--mdc-elevation-box-shadow-for-gss))}.mdc-switch .mdc-switch__focus-ring-wrapper,.mdc-switch .mdc-switch__handle{height:20px;height:var(--mdc-switch-handle-height, 20px)}.mdc-switch:disabled .mdc-switch__handle::after{opacity:0.38;opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mdc-switch .mdc-switch__handle{border-radius:10px;border-radius:var(--mdc-switch-handle-shape, 10px)}.mdc-switch .mdc-switch__handle{width:20px;width:var(--mdc-switch-handle-width, 20px)}.mdc-switch .mdc-switch__handle-track{width:calc(100% - 20px);width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:#fff;fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:0.38;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mdc-switch.mdc-switch--selected .mdc-switch__icon{width:18px;width:var(--mdc-switch-selected-icon-size, 18px);height:18px;height:var(--mdc-switch-selected-icon-size, 18px)}.mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:18px;width:var(--mdc-switch-unselected-icon-size, 18px);height:18px;height:var(--mdc-switch-unselected-icon-size, 18px)}.mdc-switch .mdc-switch__ripple{height:48px;height:var(--mdc-switch-state-layer-size, 48px);width:48px;width:var(--mdc-switch-state-layer-size, 48px)}.mdc-switch .mdc-switch__track{height:14px;height:var(--mdc-switch-track-height, 14px)}.mdc-switch:disabled .mdc-switch__track{opacity:0.12;opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mdc-switch:enabled .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-track-color, #d7bbff)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mdc-switch:enabled:active .mdc-switch__track::after{background:#d7bbff;background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mdc-switch:disabled .mdc-switch__track::after{background:#424242;background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mdc-switch:enabled .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mdc-switch:enabled:active .mdc-switch__track::before{background:#e0e0e0;background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mdc-switch:disabled .mdc-switch__track::before{background:#424242;background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mdc-switch .mdc-switch__track{border-radius:7px;border-radius:var(--mdc-switch-track-shape, 7px)}.mdc-switch.mdc-switch--selected{--mdc-ripple-focus-state-layer-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-focus-state-layer-opacity:var(--mdc-switch-selected-focus-state-layer-opacity, 0.12);--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-hover-state-layer-opacity:var(--mdc-switch-selected-hover-state-layer-opacity, 0.04);--mdc-ripple-pressed-state-layer-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee));--mdc-ripple-pressed-state-layer-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--selected:enabled:focus:not(:active){--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--selected:enabled:active{--mdc-ripple-hover-state-layer-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mdc-switch.mdc-switch--unselected{--mdc-ripple-focus-state-layer-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242);--mdc-ripple-focus-state-layer-opacity:var(--mdc-switch-unselected-focus-state-layer-opacity, 0.12);--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242);--mdc-ripple-hover-state-layer-opacity:var(--mdc-switch-unselected-hover-state-layer-opacity, 0.04);--mdc-ripple-pressed-state-layer-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242);--mdc-ripple-pressed-state-layer-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mdc-switch.mdc-switch--unselected:enabled:focus:not(:active){--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mdc-switch.mdc-switch--unselected:enabled:active{--mdc-ripple-hover-state-layer-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-switch:disabled .mdc-switch__handle::after{opacity:1;opacity:var(--mdc-switch-disabled-handle-opacity, 1)}.mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-selected-icon-color, ButtonText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-selected-icon-color, GrayText)}.mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:ButtonText;fill:var(--mdc-switch-unselected-icon-color, ButtonText)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:GrayText;fill:var(--mdc-switch-disabled-unselected-icon-color, GrayText)}.mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-selected-icon-opacity, 1)}.mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:1;opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 1)}.mdc-switch:disabled .mdc-switch__track{opacity:1;opacity:var(--mdc-switch-disabled-track-opacity, 1)}}`;let y=class extends f{};y.styles=[v],y=(0,e.gn)([(0,h.Mo)("td-switch")],y)})()})();
|
@@ -0,0 +1,108 @@
|
|
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: BSD-3-Clause
|
61
|
+
*/
|
62
|
+
|
63
|
+
/**
|
64
|
+
* @license
|
65
|
+
* Copyright 2020 Google LLC
|
66
|
+
* SPDX-License-Identifier: Apache-2.0
|
67
|
+
*/
|
68
|
+
|
69
|
+
/**
|
70
|
+
* @license
|
71
|
+
* Copyright 2021 Google Inc.
|
72
|
+
*
|
73
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
74
|
+
* of this software and associated documentation files (the "Software"), to deal
|
75
|
+
* in the Software without restriction, including without limitation the rights
|
76
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
77
|
+
* copies of the Software, and to permit persons to whom the Software is
|
78
|
+
* furnished to do so, subject to the following conditions:
|
79
|
+
*
|
80
|
+
* The above copyright notice and this permission notice shall be included in
|
81
|
+
* all copies or substantial portions of the Software.
|
82
|
+
*
|
83
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
84
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
85
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
86
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
87
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
88
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
89
|
+
* THE SOFTWARE.
|
90
|
+
*/
|
91
|
+
|
92
|
+
/**
|
93
|
+
* @license
|
94
|
+
* Copyright 2021 Google LLC
|
95
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
96
|
+
*/
|
97
|
+
|
98
|
+
/**
|
99
|
+
* @license
|
100
|
+
* Copyright 2021 Google LLC
|
101
|
+
* SPDX-License-Identifier: Apache-2.0
|
102
|
+
*/
|
103
|
+
|
104
|
+
/**
|
105
|
+
* @license
|
106
|
+
* Copyright 2021 Google LLC
|
107
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
108
|
+
*/
|