@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,131 @@
|
|
1
|
+
/*! *****************************************************************************
|
2
|
+
Copyright (c) Microsoft Corporation.
|
3
|
+
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
5
|
+
purpose with or without fee is hereby granted.
|
6
|
+
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
14
|
+
***************************************************************************** */
|
15
|
+
|
16
|
+
/**
|
17
|
+
* @license
|
18
|
+
* Copyright 2016 Google Inc.
|
19
|
+
*
|
20
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
21
|
+
* of this software and associated documentation files (the "Software"), to deal
|
22
|
+
* in the Software without restriction, including without limitation the rights
|
23
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
24
|
+
* copies of the Software, and to permit persons to whom the Software is
|
25
|
+
* furnished to do so, subject to the following conditions:
|
26
|
+
*
|
27
|
+
* The above copyright notice and this permission notice shall be included in
|
28
|
+
* all copies or substantial portions of the Software.
|
29
|
+
*
|
30
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
31
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
32
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
33
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
34
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
35
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
36
|
+
* THE SOFTWARE.
|
37
|
+
*/
|
38
|
+
|
39
|
+
/**
|
40
|
+
* @license
|
41
|
+
* Copyright 2017 Google LLC
|
42
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
43
|
+
*/
|
44
|
+
|
45
|
+
/**
|
46
|
+
* @license
|
47
|
+
* Copyright 2018 Google Inc.
|
48
|
+
*
|
49
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
50
|
+
* of this software and associated documentation files (the "Software"), to deal
|
51
|
+
* in the Software without restriction, including without limitation the rights
|
52
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
53
|
+
* copies of the Software, and to permit persons to whom the Software is
|
54
|
+
* furnished to do so, subject to the following conditions:
|
55
|
+
*
|
56
|
+
* The above copyright notice and this permission notice shall be included in
|
57
|
+
* all copies or substantial portions of the Software.
|
58
|
+
*
|
59
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
60
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
61
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
62
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
63
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
64
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
65
|
+
* THE SOFTWARE.
|
66
|
+
*/
|
67
|
+
|
68
|
+
/**
|
69
|
+
* @license
|
70
|
+
* Copyright 2018 Google LLC
|
71
|
+
* SPDX-License-Identifier: Apache-2.0
|
72
|
+
*/
|
73
|
+
|
74
|
+
/**
|
75
|
+
* @license
|
76
|
+
* Copyright 2018 Google LLC
|
77
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
78
|
+
*/
|
79
|
+
|
80
|
+
/**
|
81
|
+
* @license
|
82
|
+
* Copyright 2019 Google LLC
|
83
|
+
* SPDX-License-Identifier: Apache-2.0
|
84
|
+
*/
|
85
|
+
|
86
|
+
/**
|
87
|
+
* @license
|
88
|
+
* Copyright 2019 Google LLC
|
89
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
90
|
+
*/
|
91
|
+
|
92
|
+
/**
|
93
|
+
* @license
|
94
|
+
* Copyright 2020 Google Inc.
|
95
|
+
*
|
96
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
97
|
+
* of this software and associated documentation files (the "Software"), to deal
|
98
|
+
* in the Software without restriction, including without limitation the rights
|
99
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
100
|
+
* copies of the Software, and to permit persons to whom the Software is
|
101
|
+
* furnished to do so, subject to the following conditions:
|
102
|
+
*
|
103
|
+
* The above copyright notice and this permission notice shall be included in
|
104
|
+
* all copies or substantial portions of the Software.
|
105
|
+
*
|
106
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
107
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
108
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
109
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
110
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
111
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
112
|
+
* THE SOFTWARE.
|
113
|
+
*/
|
114
|
+
|
115
|
+
/**
|
116
|
+
* @license
|
117
|
+
* Copyright 2020 Google LLC
|
118
|
+
* SPDX-License-Identifier: Apache-2.0
|
119
|
+
*/
|
120
|
+
|
121
|
+
/**
|
122
|
+
* @license
|
123
|
+
* Copyright 2021 Google LLC
|
124
|
+
* SPDX-LIcense-Identifier: Apache-2.0
|
125
|
+
*/
|
126
|
+
|
127
|
+
/**
|
128
|
+
* @license
|
129
|
+
* Copyright 2021 Google LLC
|
130
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
131
|
+
*/
|
package/slider.js
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
/*! For license information please see slider.js.LICENSE.txt */
|
2
|
+
(()=>{"use strict";var t={2195:(t,e,i)=>{i.d(e,{$:()=>r});var r=function(){function t(){this.rafIDs=new Map}return t.prototype.request=function(t,e){var i=this;this.cancel(t);var r=requestAnimationFrame((function(r){i.rafIDs.delete(t),e(r)}));this.rafIDs.set(t,r)},t.prototype.cancel=function(t){var e=this.rafIDs.get(t);e&&(cancelAnimationFrame(e),this.rafIDs.delete(t))},t.prototype.cancelAll=function(){var t=this;this.rafIDs.forEach((function(e,i){t.cancel(i)}))},t.prototype.getQueue=function(){var t=[];return this.rafIDs.forEach((function(e,i){t.push(i)})),t},t}()},6308:(t,e,i)=>{i.d(e,{K:()=>r});var r=function(){function t(t){void 0===t&&(t={}),this.adapter=t}return Object.defineProperty(t,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),t.prototype.init=function(){},t.prototype.destroy=function(){},t}()},2851:(t,e,i)=>{function r(t,e){return(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e)}i.d(e,{wB:()=>r})},6036:(t,e,i)=>{function r(t,e,i){if(void 0!==e)return function(t,e,i){const r=t.constructor;if(!i){const t=`__${e}`;if(!(i=r.getPropertyDescriptor(e,t)))throw new Error("@ariaProperty must be used after a @property decorator")}const a=i;let n="";if(!a.set)throw new Error(`@ariaProperty requires a setter for ${e}`);if(t.dispatchWizEvent)return i;const s={configurable:!0,enumerable:!0,set(t){if(""===n){const t=r.getPropertyOptions(e);n="string"==typeof t.attribute?t.attribute:e}this.hasAttribute(n)&&this.removeAttribute(n),a.set.call(this,t)}};return a.get&&(s.get=function(){return a.get.call(this)}),s}(t,e,i);throw new Error("@ariaProperty only supports TypeScript Decorators")}i.d(e,{L:()=>r})},7392:(t,e,i)=>{i.d(e,{H:()=>a});var r=i(5862);i(5610);class a extends r.oi{click(){if(this.mdcRoot)return this.mdcRoot.focus(),void this.mdcRoot.click();super.click()}createFoundation(){void 0!==this.mdcFoundation&&this.mdcFoundation.destroy(),this.mdcFoundationClass&&(this.mdcFoundation=new this.mdcFoundationClass(this.createAdapter()),this.mdcFoundation.init())}firstUpdated(){this.createFoundation()}}},339:(t,e,i)=>{i.d(e,{Wg:()=>c});var r,a,n=i(655),s=i(9662),o=i(7392);const d=null!==(a=null===(r=window.ShadyDOM)||void 0===r?void 0:r.inUse)&&void 0!==a&&a;class c extends o.H{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=t=>{this.disabled||this.setFormData(t.formData)}}findFormElement(){if(!this.shadowRoot||d)return null;const t=this.getRootNode().querySelectorAll("form");for(const e of Array.from(t))if(e.contains(this))return e;return null}connectedCallback(){var t;super.connectedCallback(),this.containingForm=this.findFormElement(),null===(t=this.containingForm)||void 0===t||t.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this.containingForm)||void 0===t||t.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",(t=>{this.dispatchEvent(new Event("change",t))}))}}c.shadowRootOptions={mode:"open",delegatesFocus:!0},(0,n.gn)([(0,s.Cb)({type:Boolean})],c.prototype,"disabled",void 0)},5610:(t,e,i)=>{i.d(e,{Mh:()=>s});let r=!1;const a=()=>{},n={get passive(){return r=!0,!1}};document.addEventListener("x",a,n),document.removeEventListener("x",a);const s=(t=window.document)=>{let e=t.activeElement;const i=[];if(!e)return i;for(;e&&(i.push(e),e.shadowRoot);)e=e.shadowRoot.activeElement;return i}},8509:(t,e,i)=>{i.d(e,{L:()=>p});var r=i(655),a=i(2851),n=i(7392),s=i(514),o=i(5862),d=i(9662),c=i(8810),l=i(3196);class p extends n.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=s.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:t=>{switch(t){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:t=>{switch(t){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:(t,e)=>{switch(t){case"--mdc-ripple-fg-scale":this.fgScale=e;break;case"--mdc-ripple-fg-size":this.fgSize=e;break;case"--mdc-ripple-fg-translate-end":this.translateEnd=e;break;case"--mdc-ripple-fg-translate-start":this.translateStart=e;break;case"--mdc-ripple-left":this.leftPos=e;break;case"--mdc-ripple-top":this.topPos=e}},computeBoundingRect:()=>(this.parentElement||this).getBoundingClientRect(),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset})}}startPress(t){this.waitForFoundation((()=>{this.mdcFoundation.activate(t)}))}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(t){this.mdcFoundation?t():this.updateComplete.then(t)}update(t){t.has("disabled")&&this.disabled&&this.endHover(),super.update(t)}render(){const t=this.activated&&(this.primary||!this.accent),e=this.selected&&(this.primary||!this.accent),i={"mdc-ripple-surface--accent":this.accent,"mdc-ripple-surface--primary--activated":t,"mdc-ripple-surface--accent--activated":this.accent&&this.activated,"mdc-ripple-surface--primary--selected":e,"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,c.$)(i)}"
|
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,r.gn)([(0,d.IO)(".mdc-ripple-surface")],p.prototype,"mdcRoot",void 0),(0,r.gn)([(0,d.Cb)({type:Boolean})],p.prototype,"primary",void 0),(0,r.gn)([(0,d.Cb)({type:Boolean})],p.prototype,"accent",void 0),(0,r.gn)([(0,d.Cb)({type:Boolean})],p.prototype,"unbounded",void 0),(0,r.gn)([(0,d.Cb)({type:Boolean})],p.prototype,"disabled",void 0),(0,r.gn)([(0,d.Cb)({type:Boolean})],p.prototype,"activated",void 0),(0,r.gn)([(0,d.Cb)({type:Boolean})],p.prototype,"selected",void 0),(0,r.gn)([(0,d.Cb)({type:Boolean})],p.prototype,"internalUseStateLayerCustomProperties",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"hovering",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"bgFocused",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"fgActivation",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"fgDeactivation",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"fgScale",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"fgSize",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"translateStart",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"translateEnd",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"leftPos",void 0),(0,r.gn)([(0,d.SB)()],p.prototype,"topPos",void 0)},4063:(t,e,i)=>{i.d(e,{W:()=>r});const r=i(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:(t,e,i)=>{var r=i(655),a=i(9662),n=i(8509),s=i(4063);let o=class extends n.L{};o.styles=[s.W],o=(0,r.gn)([(0,a.Mo)("mwc-ripple")],o)},9263:(t,e,i)=>{i.d(e,{A:()=>r});class r{constructor(t){this.startPress=e=>{t().then((t=>{t&&t.startPress(e)}))},this.endPress=()=>{t().then((t=>{t&&t.endPress()}))},this.startFocus=()=>{t().then((t=>{t&&t.startFocus()}))},this.endFocus=()=>{t().then((t=>{t&&t.endFocus()}))},this.startHover=()=>{t().then((t=>{t&&t.startHover()}))},this.endHover=()=>{t().then((t=>{t&&t.endHover()}))}}}},6741:(t,e,i)=>{i.d(e,{W:()=>r});const r=i(5862).iv`.mdc-slider{cursor:pointer;height:48px;margin:0 24px;position:relative;touch-action:pan-y}.mdc-slider .mdc-slider__track{height:4px;position:absolute;top:50%;transform:translateY(-50%);width:100%}.mdc-slider .mdc-slider__track--active,.mdc-slider .mdc-slider__track--inactive{display:flex;height:100%;position:absolute;width:100%}.mdc-slider .mdc-slider__track--active{border-radius:3px;height:6px;overflow:hidden;top:-1px}.mdc-slider .mdc-slider__track--active_fill{border-top:6px solid;box-sizing:border-box;height:100%;width:100%;position:relative;-webkit-transform-origin:left;transform-origin:left}[dir=rtl] .mdc-slider .mdc-slider__track--active_fill,.mdc-slider .mdc-slider__track--active_fill[dir=rtl]{-webkit-transform-origin:right;transform-origin:right}.mdc-slider .mdc-slider__track--inactive{border-radius:2px;height:4px;left:0;top:0}.mdc-slider .mdc-slider__track--inactive::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__track--inactive::before{border-color:CanvasText}}.mdc-slider .mdc-slider__track--active_fill{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-slider.mdc-slider--disabled .mdc-slider__track--active_fill{border-color:#000;border-color:var(--mdc-theme-on-surface, #000)}.mdc-slider .mdc-slider__track--inactive{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);opacity:.24}.mdc-slider.mdc-slider--disabled .mdc-slider__track--inactive{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);opacity:.24}.mdc-slider .mdc-slider__value-indicator-container{bottom:44px;left:50%;left:var(--slider-value-indicator-container-left, 50%);pointer-events:none;position:absolute;right:var(--slider-value-indicator-container-right);transform:translateX(-50%);transform:var(--slider-value-indicator-container-transform, translateX(-50%))}.mdc-slider .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0.4, 0, 1, 1);align-items:center;border-radius:4px;display:flex;height:32px;padding:0 12px;transform:scale(0);transform-origin:bottom}.mdc-slider .mdc-slider__value-indicator::before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid;bottom:-5px;content:"";height:0;left:50%;left:var(--slider-value-indicator-caret-left, 50%);position:absolute;right:var(--slider-value-indicator-caret-right);transform:translateX(-50%);transform:var(--slider-value-indicator-caret-transform, translateX(-50%));width:0}.mdc-slider .mdc-slider__value-indicator::after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-slider .mdc-slider__value-indicator::after{border-color:CanvasText}}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator-container{pointer-events:auto}.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:transform 100ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale(1)}@media(prefers-reduced-motion){.mdc-slider .mdc-slider__value-indicator,.mdc-slider .mdc-slider__thumb--with-indicator .mdc-slider__value-indicator{transition:none}}.mdc-slider .mdc-slider__value-indicator-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-subtitle2-font-size, 0.875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:0.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, 0.0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit)}.mdc-slider .mdc-slider__value-indicator{background-color:#000;opacity:.6}.mdc-slider .mdc-slider__value-indicator::before{border-top-color:#000}.mdc-slider .mdc-slider__value-indicator{color:#fff;color:var(--mdc-theme-on-primary, #fff)}.mdc-slider .mdc-slider__thumb{display:flex;height:48px;left:-24px;outline:none;position:absolute;user-select:none;width:48px}.mdc-slider .mdc-slider__thumb--top{z-index:1}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-style:solid;border-width:1px;box-sizing:content-box}.mdc-slider .mdc-slider__thumb-knob{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,.12);border:10px solid;border-radius:50%;box-sizing:border-box;height:20px;left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);width:20px}.mdc-slider .mdc-slider__thumb-knob{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-slider .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mdc-slider.mdc-slider--disabled .mdc-slider__thumb-knob{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);border-color:#000;border-color:var(--mdc-theme-on-surface, #000)}.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top .mdc-slider__thumb-knob,.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb:hover .mdc-slider__thumb-knob,.mdc-slider.mdc-slider--disabled .mdc-slider__thumb--top.mdc-slider__thumb--focused .mdc-slider__thumb-knob{border-color:#fff}.mdc-slider .mdc-slider__thumb::before,.mdc-slider .mdc-slider__thumb::after{background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-slider .mdc-slider__thumb:hover::before,.mdc-slider .mdc-slider__thumb.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded--background-focused::before,.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-slider .mdc-slider__thumb:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider .mdc-slider__thumb.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-slider .mdc-slider__tick-marks{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:space-between;padding:0 1px;position:absolute;width:100%}.mdc-slider .mdc-slider__tick-mark--active,.mdc-slider .mdc-slider__tick-mark--inactive{border-radius:50%;height:2px;width:2px}.mdc-slider .mdc-slider__tick-mark--active{background-color:#fff;background-color:var(--mdc-theme-on-primary, #fff);opacity:.6}.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--active{background-color:#fff;background-color:var(--mdc-theme-on-primary, #fff);opacity:.6}.mdc-slider .mdc-slider__tick-mark--inactive{background-color:#6200ee;background-color:var(--mdc-theme-primary, #6200ee);opacity:.6}.mdc-slider.mdc-slider--disabled .mdc-slider__tick-mark--inactive{background-color:#000;background-color:var(--mdc-theme-on-surface, #000);opacity:.6}.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:transform 80ms ease}@media(prefers-reduced-motion){.mdc-slider--discrete .mdc-slider__thumb,.mdc-slider--discrete .mdc-slider__track--active_fill{transition:none}}.mdc-slider--disabled{opacity:.38;cursor:auto}.mdc-slider--disabled .mdc-slider__thumb{pointer-events:none}.mdc-slider__input{cursor:pointer;left:0;margin:0;height:100%;opacity:0;pointer-events:none;position:absolute;top:0;width:100%}:host{outline:none;display:block;-webkit-tap-highlight-color:transparent}.ripple{--mdc-ripple-color:#6200ee;--mdc-ripple-color:var(--mdc-theme-primary, #6200ee)}`},9947:(t,e,i)=>{i.d(e,{V:()=>N});var r=i(655),a=(i(7705),i(6036)),n=i(339),s=i(9263),o=i(2195),d={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{prefixed:"-webkit-transform",standard:"transform"},transition:{prefixed:"-webkit-transition",standard:"transition"}};function c(t,e){if(function(t){return Boolean(t.document)&&"function"==typeof t.document.createElement}(t)&&e in d){var i=t.document.createElement("div"),r=d[e],a=r.standard,n=r.prefixed;return a in i.style?a:n}return e}var l,p=i(6308),u="mdc-slider--disabled",h="mdc-slider__thumb--focused",m="mdc-slider__thumb--top",v="mdc-slider__thumb--with-indicator",f="disabled",b="min",g="max",y="value",T="step",S="data-min-range",_="--slider-value-indicator-caret-left",E="--slider-value-indicator-caret-right",A="--slider-value-indicator-caret-transform",w="--slider-value-indicator-container-left",R="--slider-value-indicator-container-right",C="--slider-value-indicator-container-transform",k=i(191);!function(t){t.SLIDER_UPDATE="slider_update"}(l||(l={}));var I="undefined"!=typeof window,$=function(t){function e(i){var a=t.call(this,(0,r.pi)((0,r.pi)({},e.defaultAdapter),i))||this;return a.initialStylesRemoved=!1,a.isDisabled=!1,a.isDiscrete=!1,a.step=1,a.minRange=0,a.hasTickMarks=!1,a.isRange=!1,a.thumb=null,a.downEventClientX=null,a.startThumbKnobWidth=0,a.endThumbKnobWidth=0,a.animFrame=new o.$,a}return(0,r.ZT)(e,t),Object.defineProperty(e,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),e.prototype.init=function(){var t=this;this.isDisabled=this.adapter.hasClass(u),this.isDiscrete=this.adapter.hasClass("mdc-slider--discrete"),this.hasTickMarks=this.adapter.hasClass("mdc-slider--tick-marks"),this.isRange=this.adapter.hasClass("mdc-slider--range");var e=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(b,this.isRange?k.b.START:k.b.END),b),i=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(g,k.b.END),g),r=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(y,k.b.END),y),a=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(y,k.b.START),y):e,n=this.adapter.getInputAttribute(T,k.b.END),s=n?this.convertAttributeValueToNumber(n,T):this.step,o=this.adapter.getAttribute(S),d=o?this.convertAttributeValueToNumber(o,S):this.minRange;this.validateProperties({min:e,max:i,value:r,valueStart:a,step:s,minRange:d}),this.min=e,this.max=i,this.value=r,this.valueStart=a,this.step=s,this.minRange=d,this.numDecimalPlaces=x(this.step),this.valueBeforeDownEvent=r,this.valueStartBeforeDownEvent=a,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){t.handleInputChange(k.b.START)},this.inputEndChangeListener=function(){t.handleInputChange(k.b.END)},this.inputStartFocusListener=function(){t.handleInputFocus(k.b.START)},this.inputEndFocusListener=function(){t.handleInputFocus(k.b.END)},this.inputStartBlurListener=function(){t.handleInputBlur(k.b.START)},this.inputEndBlurListener=function(){t.handleInputBlur(k.b.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},e.prototype.destroy=function(){this.deregisterEventHandlers()},e.prototype.setMin=function(t){this.min=t,this.isRange||(this.valueStart=t),this.updateUI()},e.prototype.setMax=function(t){this.max=t,this.updateUI()},e.prototype.getMin=function(){return this.min},e.prototype.getMax=function(){return this.max},e.prototype.getValue=function(){return this.value},e.prototype.setValue=function(t){if(this.isRange&&t<this.valueStart+this.minRange)throw new Error("end thumb value ("+t+") must be >= start thumb value ("+this.valueStart+") + min range ("+this.minRange+")");this.updateValue(t,k.b.END)},e.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},e.prototype.setValueStart=function(t){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&t>this.value-this.minRange)throw new Error("start thumb value ("+t+") must be <= end thumb value ("+this.value+") - min range ("+this.minRange+")");this.updateValue(t,k.b.START)},e.prototype.setStep=function(t){this.step=t,this.numDecimalPlaces=x(t),this.updateUI()},e.prototype.setMinRange=function(t){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(t<0)throw new Error("`minRange` must be non-negative. Current value: "+t);if(this.value-this.valueStart<t)throw new Error("start thumb value ("+this.valueStart+") and end thumb value ("+this.value+") must differ by at least "+t+".");this.minRange=t},e.prototype.setIsDiscrete=function(t){this.isDiscrete=t,this.updateValueIndicatorUI(),this.updateTickMarksUI()},e.prototype.getStep=function(){return this.step},e.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},e.prototype.setHasTickMarks=function(t){this.hasTickMarks=t,this.updateTickMarksUI()},e.prototype.getDisabled=function(){return this.isDisabled},e.prototype.setDisabled=function(t){this.isDisabled=t,t?(this.adapter.addClass(u),this.isRange&&this.adapter.setInputAttribute(f,"",k.b.START),this.adapter.setInputAttribute(f,"",k.b.END)):(this.adapter.removeClass(u),this.isRange&&this.adapter.removeInputAttribute(f,k.b.START),this.adapter.removeInputAttribute(f,k.b.END))},e.prototype.getIsRange=function(){return this.isRange},e.prototype.layout=function(t){var e=(void 0===t?{}:t).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(k.b.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(k.b.END)),e||this.updateUI()},e.prototype.handleResize=function(){this.layout()},e.prototype.handleDown=function(t){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX;this.downEventClientX=e;var i=this.mapClientXOnSliderScale(e);this.thumb=this.getThumbFromDownEvent(e,i),null!==this.thumb&&(this.handleDragStart(t,i,this.thumb),this.updateValue(i,this.thumb,{emitInputEvent:!0}))}},e.prototype.handleMove=function(t){if(!this.isDisabled){t.preventDefault();var e=null!=t.clientX?t.clientX:t.targetTouches[0].clientX,i=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(e),null!==this.thumb){var r=this.mapClientXOnSliderScale(e);i||(this.handleDragStart(t,r,this.thumb),this.adapter.emitDragStartEvent(r,this.thumb)),this.updateValue(r,this.thumb,{emitInputEvent:!0})}}},e.prototype.handleUp=function(){var t,e;if(!this.isDisabled&&null!==this.thumb){(null===(e=(t=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===e?void 0:e.call(t))&&this.handleInputBlur(this.thumb);var i=this.thumb===k.b.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,r=this.thumb===k.b.START?this.valueStart:this.value;i!==r&&this.adapter.emitChangeEvent(r,this.thumb),this.adapter.emitDragEndEvent(r,this.thumb),this.thumb=null}},e.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(v,k.b.START),this.adapter.addThumbClass(v,k.b.END))},e.prototype.handleThumbMouseleave=function(){var t,e;this.isDiscrete&&this.isRange&&(!(null===(e=(t=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===e?void 0:e.call(t))&&(this.adapter.isInputFocused(k.b.START)||this.adapter.isInputFocused(k.b.END))||this.thumb||(this.adapter.removeThumbClass(v,k.b.START),this.adapter.removeThumbClass(v,k.b.END)))},e.prototype.handleMousedownOrTouchstart=function(t){var e=this,i="mousedown"===t.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(i,this.moveListener);var r=function(){e.handleUp(),e.adapter.deregisterBodyEventHandler(i,e.moveListener),e.adapter.deregisterEventHandler("mouseup",r),e.adapter.deregisterEventHandler("touchend",r)};this.adapter.registerBodyEventHandler("mouseup",r),this.adapter.registerBodyEventHandler("touchend",r),this.handleDown(t)},e.prototype.handlePointerdown=function(t){0===t.button&&(null!=t.pointerId&&this.adapter.setPointerCapture(t.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(t))},e.prototype.handleInputChange=function(t){var e=Number(this.adapter.getInputValue(t));t===k.b.START?this.setValueStart(e):this.setValue(e),this.adapter.emitChangeEvent(t===k.b.START?this.valueStart:this.value,t),this.adapter.emitInputEvent(t===k.b.START?this.valueStart:this.value,t)},e.prototype.handleInputFocus=function(t){if(this.adapter.addThumbClass(h,t),this.isDiscrete&&(this.adapter.addThumbClass(v,t),this.isRange)){var e=t===k.b.START?k.b.END:k.b.START;this.adapter.addThumbClass(v,e)}},e.prototype.handleInputBlur=function(t){if(this.adapter.removeThumbClass(h,t),this.isDiscrete&&(this.adapter.removeThumbClass(v,t),this.isRange)){var e=t===k.b.START?k.b.END:k.b.START;this.adapter.removeThumbClass(v,e)}},e.prototype.handleDragStart=function(t,e,i){var r,a;this.adapter.emitDragStartEvent(e,i),this.adapter.focusInput(i),(null===(a=(r=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===a?void 0:a.call(r))&&this.handleInputFocus(i),t.preventDefault()},e.prototype.getThumbFromDownEvent=function(t,e){if(!this.isRange)return k.b.END;var i=this.adapter.getThumbBoundingClientRect(k.b.START),r=this.adapter.getThumbBoundingClientRect(k.b.END),a=t>=i.left&&t<=i.right,n=t>=r.left&&t<=r.right;return a&&n?null:a?k.b.START:n?k.b.END:e<this.valueStart?k.b.START:e>this.value?k.b.END:e-this.valueStart<=this.value-e?k.b.START:k.b.END},e.prototype.getThumbFromMoveEvent=function(t){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw new Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-t)<5?this.thumb:t<this.downEventClientX?this.adapter.isRTL()?k.b.END:k.b.START:this.adapter.isRTL()?k.b.START:k.b.END},e.prototype.updateUI=function(t){t?this.updateThumbAndInputAttributes(t):(this.updateThumbAndInputAttributes(k.b.START),this.updateThumbAndInputAttributes(k.b.END)),this.updateThumbAndTrackUI(t),this.updateValueIndicatorUI(t),this.updateTickMarksUI()},e.prototype.updateThumbAndInputAttributes=function(t){if(t){var e=this.isRange&&t===k.b.START?this.valueStart:this.value,i=String(e);this.adapter.setInputAttribute(y,i,t),this.isRange&&t===k.b.START?this.adapter.setInputAttribute(b,String(e+this.minRange),k.b.END):this.isRange&&t===k.b.END&&this.adapter.setInputAttribute(g,String(e-this.minRange),k.b.START),this.adapter.getInputValue(t)!==i&&this.adapter.setInputValue(i,t);var r=this.adapter.getValueToAriaValueTextFn();r&&this.adapter.setInputAttribute("aria-valuetext",r(e,t),t)}},e.prototype.updateValueIndicatorUI=function(t){if(this.isDiscrete){var e=this.isRange&&t===k.b.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(e,t===k.b.START?k.b.START:k.b.END),!t&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,k.b.START)}},e.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var t=(this.valueStart-this.min)/this.step,e=(this.value-this.valueStart)/this.step+1,i=(this.max-this.value)/this.step,r=Array.from({length:t}).fill(k.X.INACTIVE),a=Array.from({length:e}).fill(k.X.ACTIVE),n=Array.from({length:i}).fill(k.X.INACTIVE);this.adapter.updateTickMarks(r.concat(a).concat(n))}},e.prototype.mapClientXOnSliderScale=function(t){var e=(t-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(e=1-e);var i=this.min+e*(this.max-this.min);return i===this.max||i===this.min?i:Number(this.quantize(i).toFixed(this.numDecimalPlaces))},e.prototype.quantize=function(t){var e=Math.round((t-this.min)/this.step);return this.min+e*this.step},e.prototype.updateValue=function(t,e,i){var r=(void 0===i?{}:i).emitInputEvent;if(t=this.clampValue(t,e),this.isRange&&e===k.b.START){if(this.valueStart===t)return;this.valueStart=t}else{if(this.value===t)return;this.value=t}this.updateUI(e),r&&this.adapter.emitInputEvent(e===k.b.START?this.valueStart:this.value,e)},e.prototype.clampValue=function(t,e){return t=Math.min(Math.max(t,this.min),this.max),this.isRange&&e===k.b.START&&t>this.value-this.minRange?this.value-this.minRange:this.isRange&&e===k.b.END&&t<this.valueStart+this.minRange?this.valueStart+this.minRange:t},e.prototype.updateThumbAndTrackUI=function(t){var e=this,i=this.max,r=this.min,a=(this.value-this.valueStart)/(i-r),n=a*this.rect.width,s=this.adapter.isRTL(),o=I?c(window,"transform"):"transform";if(this.isRange){var d=this.adapter.isRTL()?(i-this.value)/(i-r)*this.rect.width:(this.valueStart-r)/(i-r)*this.rect.width,p=d+n;this.animFrame.request(l.SLIDER_UPDATE,(function(){!s&&t===k.b.START||s&&t!==k.b.START?(e.adapter.setTrackActiveStyleProperty("transform-origin","right"),e.adapter.setTrackActiveStyleProperty("left","auto"),e.adapter.setTrackActiveStyleProperty("right",e.rect.width-p+"px")):(e.adapter.setTrackActiveStyleProperty("transform-origin","left"),e.adapter.setTrackActiveStyleProperty("right","auto"),e.adapter.setTrackActiveStyleProperty("left",d+"px")),e.adapter.setTrackActiveStyleProperty(o,"scaleX("+a+")");var i=s?p:d,r=e.adapter.isRTL()?d:p;t!==k.b.START&&t&&e.initialStylesRemoved||(e.adapter.setThumbStyleProperty(o,"translateX("+i+"px)",k.b.START),e.alignValueIndicator(k.b.START,i)),t!==k.b.END&&t&&e.initialStylesRemoved||(e.adapter.setThumbStyleProperty(o,"translateX("+r+"px)",k.b.END),e.alignValueIndicator(k.b.END,r)),e.removeInitialStyles(s),e.updateOverlappingThumbsUI(i,r,t)}))}else this.animFrame.request(l.SLIDER_UPDATE,(function(){var t=s?e.rect.width-n:n;e.adapter.setThumbStyleProperty(o,"translateX("+t+"px)",k.b.END),e.alignValueIndicator(k.b.END,t),e.adapter.setTrackActiveStyleProperty(o,"scaleX("+a+")"),e.removeInitialStyles(s)}))},e.prototype.alignValueIndicator=function(t,e){if(this.isDiscrete){var i=this.adapter.getThumbBoundingClientRect(t).width/2,r=this.adapter.getValueIndicatorContainerWidth(t),a=this.adapter.getBoundingClientRect().width;r/2>e+i?(this.adapter.setThumbStyleProperty(_,i+"px",t),this.adapter.setThumbStyleProperty(E,"auto",t),this.adapter.setThumbStyleProperty(A,"translateX(-50%)",t),this.adapter.setThumbStyleProperty(w,"0",t),this.adapter.setThumbStyleProperty(R,"auto",t),this.adapter.setThumbStyleProperty(C,"none",t)):r/2>a-e+i?(this.adapter.setThumbStyleProperty(_,"auto",t),this.adapter.setThumbStyleProperty(E,i+"px",t),this.adapter.setThumbStyleProperty(A,"translateX(50%)",t),this.adapter.setThumbStyleProperty(w,"auto",t),this.adapter.setThumbStyleProperty(R,"0",t),this.adapter.setThumbStyleProperty(C,"none",t)):(this.adapter.setThumbStyleProperty(_,"50%",t),this.adapter.setThumbStyleProperty(E,"auto",t),this.adapter.setThumbStyleProperty(A,"translateX(-50%)",t),this.adapter.setThumbStyleProperty(w,"50%",t),this.adapter.setThumbStyleProperty(R,"auto",t),this.adapter.setThumbStyleProperty(C,"translateX(-50%)",t))}},e.prototype.removeInitialStyles=function(t){if(!this.initialStylesRemoved){var e=t?"right":"left";this.adapter.removeThumbStyleProperty(e,k.b.END),this.isRange&&this.adapter.removeThumbStyleProperty(e,k.b.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},e.prototype.resetTrackAndThumbAnimation=function(){var t=this;if(this.isDiscrete){var e=I?c(window,"transition"):"transition",i="none 0s ease 0s";this.adapter.setThumbStyleProperty(e,i,k.b.END),this.isRange&&this.adapter.setThumbStyleProperty(e,i,k.b.START),this.adapter.setTrackActiveStyleProperty(e,i),requestAnimationFrame((function(){t.adapter.removeThumbStyleProperty(e,k.b.END),t.adapter.removeTrackActiveStyleProperty(e),t.isRange&&t.adapter.removeThumbStyleProperty(e,k.b.START)}))}},e.prototype.updateOverlappingThumbsUI=function(t,e,i){var r=!1;if(this.adapter.isRTL()){var a=t-this.startThumbKnobWidth/2;r=e+this.endThumbKnobWidth/2>=a}else r=t+this.startThumbKnobWidth/2>=e-this.endThumbKnobWidth/2;r?(this.adapter.addThumbClass(m,i||k.b.END),this.adapter.removeThumbClass(m,i===k.b.START?k.b.END:k.b.START)):(this.adapter.removeThumbClass(m,k.b.START),this.adapter.removeThumbClass(m,k.b.END))},e.prototype.convertAttributeValueToNumber=function(t,e){if(null===t)throw new Error("MDCSliderFoundation: `"+e+"` must be non-null.");var i=Number(t);if(isNaN(i))throw new Error("MDCSliderFoundation: `"+e+"` value is `"+t+"`, but must be a number.");return i},e.prototype.validateProperties=function(t){var e=t.min,i=t.max,r=t.value,a=t.valueStart,n=t.step,s=t.minRange;if(e>=i)throw new Error("MDCSliderFoundation: min must be strictly less than max. Current: [min: "+e+", max: "+i+"]");if(n<=0)throw new Error("MDCSliderFoundation: step must be a positive number. Current step: "+n);if(this.isRange){if(r<e||r>i||a<e||a>i)throw new Error("MDCSliderFoundation: values must be in [min, max] range. Current values: [start value: "+a+", end value: "+r+", min: "+e+", max: "+i+"]");if(a>r)throw new Error("MDCSliderFoundation: start value must be <= end value. Current values: [start value: "+a+", end value: "+r+"]");if(s<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. Current min range: "+s);if(r-a<s)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+s+". Current values: [start value: "+a+", end value: "+r+"]");var o=(a-e)/n,d=(r-e)/n;if(!Number.isInteger(parseFloat(o.toFixed(6)))||!Number.isInteger(parseFloat(d.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the step value ("+n+"). Current values: [start value: "+a+", end value: "+r+", min: "+e+"]")}else{if(r<e||r>i)throw new Error("MDCSliderFoundation: value must be in [min, max] range. Current values: [value: "+r+", min: "+e+", max: "+i+"]");if(d=(r-e)/n,!Number.isInteger(parseFloat(d.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the step value ("+n+"). Current value: "+r)}},e.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),e.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(k.b.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(k.b.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(k.b.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(k.b.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(k.b.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(k.b.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(k.b.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(k.b.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(k.b.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(k.b.END,"blur",this.inputEndBlurListener)},e.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),e.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(k.b.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(k.b.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(k.b.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(k.b.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(k.b.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(k.b.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(k.b.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(k.b.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(k.b.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(k.b.END,"blur",this.inputEndBlurListener)},e.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},e.SUPPORTS_POINTER_EVENTS=I&&Boolean(window.PointerEvent)&&!(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document),e}(p.K);function x(t){var e=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(t));if(!e)return 0;var i=e[1]||"",r=e[2]||0;return Math.max(0,("0"===i?0:i.length)-Number(r))}var D=i(5862),P=i(9662),H=i(8810),F=i(3492),M=i(3196);class N extends n.Wg{constructor(){super(...arguments),this.mdcFoundationClass=$,this.disabled=!1,this.min=0,this.max=100,this.valueEnd=0,this.name="",this.step=1,this.withTickMarks=!1,this.discrete=!1,this.tickMarks=[],this.trackTransformOriginStyle="",this.trackLeftStyle="",this.trackRightStyle="",this.trackTransitionStyle="",this.endThumbWithIndicator=!1,this.endThumbTop=!1,this.shouldRenderEndRipple=!1,this.endThumbTransformStyle="",this.endThumbTransitionStyle="",this.endThumbCssProperties={},this.valueToAriaTextTransform=null,this.valueToValueIndicatorTransform=t=>`${t}`,this.boundMoveListener=null,this.endRippleHandlers=new s.A((()=>(this.shouldRenderEndRipple=!0,this.endRipple)))}update(t){if(t.has("valueEnd")&&this.mdcFoundation){this.mdcFoundation.setValue(this.valueEnd);const t=this.mdcFoundation.getValue();t!==this.valueEnd&&(this.valueEnd=t)}t.has("discrete")&&(this.discrete||(this.tickMarks=[])),super.update(t)}render(){return this.renderRootEl(D.dy`
|
5
|
+
${this.renderStartInput()}
|
6
|
+
${this.renderEndInput()}
|
7
|
+
${this.renderTrack()}
|
8
|
+
${this.renderTickMarks()}
|
9
|
+
${this.renderStartThumb()}
|
10
|
+
${this.renderEndThumb()}`)}renderRootEl(t){const e=(0,H.$)({"mdc-slider--disabled":this.disabled,"mdc-slider--discrete":this.discrete});return D.dy`
|
11
|
+
<div
|
12
|
+
class="mdc-slider ${e}"
|
13
|
+
@pointerdown=${this.onPointerdown}
|
14
|
+
@pointerup=${this.onPointerup}
|
15
|
+
@contextmenu=${this.onContextmenu}>
|
16
|
+
${t}
|
17
|
+
</div>`}renderStartInput(){return D.Ld}renderEndInput(){var t;return D.dy`
|
18
|
+
<input
|
19
|
+
class="mdc-slider__input end"
|
20
|
+
type="range"
|
21
|
+
step=${this.step}
|
22
|
+
min=${this.min}
|
23
|
+
max=${this.max}
|
24
|
+
.value=${this.valueEnd}
|
25
|
+
@change=${this.onEndChange}
|
26
|
+
@focus=${this.onEndFocus}
|
27
|
+
@blur=${this.onEndBlur}
|
28
|
+
?disabled=${this.disabled}
|
29
|
+
name=${this.name}
|
30
|
+
aria-label=${(0,F.o)(this.ariaLabel)}
|
31
|
+
aria-labelledby=${(0,F.o)(this.ariaLabelledBy)}
|
32
|
+
aria-describedby=${(0,F.o)(this.ariaDescribedBy)}
|
33
|
+
aria-valuetext=${(0,F.o)(null===(t=this.valueToAriaTextTransform)||void 0===t?void 0:t.call(this,this.valueEnd))}>
|
34
|
+
`}renderTrack(){return D.Ld}renderTickMarks(){return this.withTickMarks?D.dy`
|
35
|
+
<div class="mdc-slider__tick-marks">
|
36
|
+
${this.tickMarks.map((t=>{const e=t===k.X.ACTIVE;return D.dy`<div class="${e?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"}"></div>`}))}
|
37
|
+
</div>`:D.Ld}renderStartThumb(){return D.Ld}renderEndThumb(){const t=(0,H.$)({"mdc-slider__thumb--with-indicator":this.endThumbWithIndicator,"mdc-slider__thumb--top":this.endThumbTop}),e=(0,M.V)(Object.assign({"-webkit-transform":this.endThumbTransformStyle,transform:this.endThumbTransformStyle,"-webkit-transition":this.endThumbTransitionStyle,transition:this.endThumbTransitionStyle,left:this.endThumbTransformStyle||"rtl"===getComputedStyle(this).direction?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`,right:this.endThumbTransformStyle||"rtl"!==getComputedStyle(this).direction?"":`calc(${(this.valueEnd-this.min)/(this.max-this.min)*100}% - 24px)`},this.endThumbCssProperties)),i=this.shouldRenderEndRipple?D.dy`<mwc-ripple class="ripple" unbounded></mwc-ripple>`:D.Ld;return D.dy`
|
38
|
+
<div
|
39
|
+
class="mdc-slider__thumb end ${t}"
|
40
|
+
style=${e}
|
41
|
+
@mouseenter=${this.onEndMouseenter}
|
42
|
+
@mouseleave=${this.onEndMouseleave}>
|
43
|
+
${i}
|
44
|
+
${this.renderValueIndicator(this.valueToValueIndicatorTransform(this.valueEnd))}
|
45
|
+
<div class="mdc-slider__thumb-knob"></div>
|
46
|
+
</div>
|
47
|
+
`}renderValueIndicator(t){return this.discrete?D.dy`
|
48
|
+
<div class="mdc-slider__value-indicator-container" aria-hidden="true">
|
49
|
+
<div class="mdc-slider__value-indicator">
|
50
|
+
<span class="mdc-slider__value-indicator-text">
|
51
|
+
${t}
|
52
|
+
</span>
|
53
|
+
</div>
|
54
|
+
</div>`:D.Ld}disconnectedCallback(){super.disconnectedCallback(),this.mdcFoundation&&this.mdcFoundation.destroy()}createAdapter(){}async firstUpdated(){super.firstUpdated(),await this.layout(!0)}updated(t){super.updated(t),this.mdcFoundation&&(t.has("disabled")&&this.mdcFoundation.setDisabled(this.disabled),t.has("min")&&this.mdcFoundation.setMin(this.min),t.has("max")&&this.mdcFoundation.setMax(this.max),t.has("step")&&this.mdcFoundation.setStep(this.step),t.has("discrete")&&this.mdcFoundation.setIsDiscrete(this.discrete),t.has("withTickMarks")&&this.mdcFoundation.setHasTickMarks(this.withTickMarks))}async layout(t=!1){var e;null===(e=this.mdcFoundation)||void 0===e||e.layout({skipUpdateUI:t}),this.requestUpdate(),await this.updateComplete}onEndChange(t){var e;this.valueEnd=Number(t.target.value),null===(e=this.mdcFoundation)||void 0===e||e.handleInputChange(k.b.END)}onEndFocus(){var t;null===(t=this.mdcFoundation)||void 0===t||t.handleInputFocus(k.b.END),this.endRippleHandlers.startFocus()}onEndBlur(){var t;null===(t=this.mdcFoundation)||void 0===t||t.handleInputBlur(k.b.END),this.endRippleHandlers.endFocus()}onEndMouseenter(){var t;null===(t=this.mdcFoundation)||void 0===t||t.handleThumbMouseenter(),this.endRippleHandlers.startHover()}onEndMouseleave(){var t;null===(t=this.mdcFoundation)||void 0===t||t.handleThumbMouseleave(),this.endRippleHandlers.endHover()}onPointerdown(t){this.layout(),this.mdcFoundation&&(this.mdcFoundation.handlePointerdown(t),this.boundMoveListener=this.mdcFoundation.handleMove.bind(this.mdcFoundation),this.mdcRoot.addEventListener("pointermove",this.boundMoveListener))}onPointerup(){this.mdcFoundation&&(this.mdcFoundation.handleUp(),this.boundMoveListener&&(this.mdcRoot.removeEventListener("pointermove",this.boundMoveListener),this.boundMoveListener=null))}onContextmenu(t){t.preventDefault()}setFormData(t){this.name&&t.append(this.name,`${this.valueEnd}`)}}(0,r.gn)([(0,P.IO)("input.end")],N.prototype,"formElement",void 0),(0,r.gn)([(0,P.IO)(".mdc-slider")],N.prototype,"mdcRoot",void 0),(0,r.gn)([(0,P.IO)(".end.mdc-slider__thumb")],N.prototype,"endThumb",void 0),(0,r.gn)([(0,P.IO)(".end.mdc-slider__thumb .mdc-slider__thumb-knob")],N.prototype,"endThumbKnob",void 0),(0,r.gn)([(0,P.IO)(".end.mdc-slider__thumb .mdc-slider__value-indicator-container")],N.prototype,"endValueIndicatorContainer",void 0),(0,r.gn)([(0,P.GC)(".end .ripple")],N.prototype,"endRipple",void 0),(0,r.gn)([(0,P.Cb)({type:Boolean,reflect:!0})],N.prototype,"disabled",void 0),(0,r.gn)([(0,P.Cb)({type:Number})],N.prototype,"min",void 0),(0,r.gn)([(0,P.Cb)({type:Number})],N.prototype,"max",void 0),(0,r.gn)([(0,P.Cb)({type:Number})],N.prototype,"valueEnd",void 0),(0,r.gn)([(0,P.Cb)({type:String})],N.prototype,"name",void 0),(0,r.gn)([(0,P.Cb)({type:Number})],N.prototype,"step",void 0),(0,r.gn)([(0,P.Cb)({type:Boolean})],N.prototype,"withTickMarks",void 0),(0,r.gn)([(0,P.Cb)({type:Boolean})],N.prototype,"discrete",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"tickMarks",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"trackTransformOriginStyle",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"trackLeftStyle",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"trackRightStyle",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"trackTransitionStyle",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"endThumbWithIndicator",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"endThumbTop",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"shouldRenderEndRipple",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"endThumbTransformStyle",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"endThumbTransitionStyle",void 0),(0,r.gn)([(0,P.SB)()],N.prototype,"endThumbCssProperties",void 0),(0,r.gn)([a.L,(0,P.Cb)({type:String,attribute:"aria-label"})],N.prototype,"ariaLabel",void 0),(0,r.gn)([a.L,(0,P.Cb)({type:String,attribute:"aria-labelledby"})],N.prototype,"ariaLabelledBy",void 0),(0,r.gn)([a.L,(0,P.Cb)({type:String,attribute:"aria-describedby"})],N.prototype,"ariaDescribedBy",void 0)},9552:(t,e,i)=>{i.d(e,{KT:()=>n,UX:()=>r,j2:()=>a});var r={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"},n={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},514:(t,e,i)=>{i.d(e,{Z:()=>l});var r=i(655),a=i(6308),n=i(9552),s=i(4014),o=["touchstart","pointerdown","mousedown","keydown"],d=["touchend","pointerup","mouseup","contextmenu"],c=[];const l=function(t){function e(i){var a=t.call(this,(0,r.pi)((0,r.pi)({},e.defaultAdapter),i))||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(t){a.activateImpl(t)},a.deactivateHandler=function(){a.deactivateImpl()},a.focusHandler=function(){a.handleFocus()},a.blurHandler=function(){a.handleBlur()},a.resizeHandler=function(){a.layout()},a}return(0,r.ZT)(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return n.UX},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return n.j2},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return n.KT},enumerable:!1,configurable:!0}),Object.defineProperty(e,"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}),e.prototype.init=function(){var t=this,i=this.supportsPressRipple();if(this.registerRootHandlers(i),i){var r=e.cssClasses,a=r.ROOT,n=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(a),t.adapter.isUnbounded()&&(t.adapter.addClass(n),t.layoutInternal())}))}},e.prototype.destroy=function(){var t=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(e.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(e.cssClasses.FG_DEACTIVATION));var i=e.cssClasses,r=i.ROOT,a=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(r),t.adapter.removeClass(a),t.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},e.prototype.activate=function(t){this.activateImpl(t)},e.prototype.deactivate=function(){this.deactivateImpl()},e.prototype.layout=function(){var t=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){t.layoutInternal(),t.layoutFrame=0}))},e.prototype.setUnbounded=function(t){var i=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(i):this.adapter.removeClass(i)},e.prototype.handleFocus=function(){var t=this;requestAnimationFrame((function(){return t.adapter.addClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.handleBlur=function(){var t=this;requestAnimationFrame((function(){return t.adapter.removeClass(e.cssClasses.BG_FOCUSED)}))},e.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},e.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},e.prototype.registerRootHandlers=function(t){var e,i;if(t){try{for(var a=(0,r.XA)(o),n=a.next();!n.done;n=a.next()){var s=n.value;this.adapter.registerInteractionHandler(s,this.activateHandler)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},e.prototype.registerDeactivationHandlers=function(t){var e,i;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var a=(0,r.XA)(d),n=a.next();!n.done;n=a.next()){var s=n.value;this.adapter.registerDocumentInteractionHandler(s,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var i=(0,r.XA)(o),a=i.next();!a.done;a=i.next()){var n=a.value;this.adapter.deregisterInteractionHandler(n,this.activateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},e.prototype.deregisterDeactivationHandlers=function(){var t,e;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var i=(0,r.XA)(d),a=i.next();!a.done;a=i.next()){var n=a.value;this.adapter.deregisterDocumentInteractionHandler(n,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,i=e.strings;Object.keys(i).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(i[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var i=this.activationState;if(!i.isActivated){var r=this.previousActivationEvent;r&&void 0!==t&&r.type!==t.type||(i.isActivated=!0,i.isProgrammatic=void 0===t,i.activationEvent=t,i.wasActivatedByPointer=!i.isProgrammatic&&void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type),void 0!==t&&c.length>0&&c.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(c.push(t.target),this.registerDeactivationHandlers(t)),i.wasElementMadeActive=this.checkElementMadeActive(t),i.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){c=[],i.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(i.wasElementMadeActive=e.checkElementMadeActive(t),i.wasElementMadeActive&&e.animateActivation()),i.wasElementMadeActive||(e.activationState=e.defaultActivationState())}))))}}},e.prototype.checkElementMadeActive=function(t){return void 0===t||"keydown"!==t.type||this.adapter.isSurfaceActive()},e.prototype.animateActivation=function(){var t=this,i=e.strings,r=i.VAR_FG_TRANSLATE_START,a=i.VAR_FG_TRANSLATE_END,n=e.cssClasses,s=n.FG_DEACTIVATION,o=n.FG_ACTIVATION,d=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var c="",l="";if(!this.adapter.isUnbounded()){var p=this.getFgTranslationCoordinates(),u=p.startPoint,h=p.endPoint;c=u.x+"px, "+u.y+"px",l=h.x+"px, "+h.y+"px"}this.adapter.updateCssVariable(r,c),this.adapter.updateCssVariable(a,l),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(s),this.adapter.computeBoundingRect(),this.adapter.addClass(o),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),d)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,i=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?(0,s.Y)(i,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:t.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},e.prototype.runDeactivationUXLogicIfReady=function(){var t=this,i=e.cssClasses.FG_DEACTIVATION,r=this.activationState,a=r.hasDeactivationUXRun,s=r.isActivated;(a||!s)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(i),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(i)}),n.KT.FG_DEACTIVATION_MS))},e.prototype.rmBoundedActivationClasses=function(){var t=e.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},e.prototype.resetActivationState=function(){var t=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return t.previousActivationEvent=void 0}),e.numbers.TAP_DELAY_MS)},e.prototype.deactivateImpl=function(){var t=this,e=this.activationState;if(e.isActivated){var i=(0,r.pi)({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(i)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(i),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,i=t.wasElementMadeActive;(e||i)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){this.frame=this.adapter.computeBoundingRect();var t=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?t:Math.sqrt(Math.pow(this.frame.width,2)+Math.pow(this.frame.height,2))+e.numbers.PADDING;var i=Math.floor(t*e.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&i%2!=0?this.initialSize=i-1:this.initialSize=i,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},e.prototype.updateLayoutCssVars=function(){var t=e.strings,i=t.VAR_FG_SIZE,r=t.VAR_LEFT,a=t.VAR_TOP,n=t.VAR_FG_SCALE;this.adapter.updateCssVariable(i,this.initialSize+"px"),this.adapter.updateCssVariable(n,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(a,this.unboundedCoords.top+"px"))},e}(a.K)},4014:(t,e,i)=>{function r(t,e,i){if(!t)return{x:0,y:0};var r,a,n=e.x,s=e.y,o=n+i.left,d=s+i.top;if("touchstart"===t.type){var c=t;r=c.changedTouches[0].pageX-o,a=c.changedTouches[0].pageY-d}else{var l=t;r=l.pageX-o,a=l.pageY-d}return{x:r,y:a}}i.d(e,{Y:()=>r})},191:(t,e,i)=>{var r,a;i.d(e,{X:()=>r,b:()=>a}),function(t){t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE"}(r||(r={})),function(t){t[t.START=1]="START",t[t.END=2]="END"}(a||(a={}))},655:(t,e,i)=>{i.d(e,{XA:()=>o,ZT:()=>a,gn:()=>s,pi:()=>n});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},r(t,e)};function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var n=function(){return n=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++)for(var a in e=arguments[i])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},n.apply(this,arguments)};function s(t,e,i,r){var a,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,r);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(n<3?a(s):n>3?a(e,i,s):a(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s}function o(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],r=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create,Object.create},8701:(t,e,i)=>{i.d(e,{ec:()=>c,i1:()=>l,iv:()=>d});const r=window,a=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),s=new WeakMap;class o{constructor(t,e,i){if(this._$cssResult$=!0,i!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=s.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&s.set(e,t))}return t}toString(){return this.cssText}}const d=(t,...e)=>{const i=1===t.length?t[0]:e.reduce(((e,i,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[r+1]),t[0]);return new o(i,t,n)},c=(t,e)=>{a?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const i=document.createElement("style"),a=r.litNonce;void 0!==a&&i.setAttribute("nonce",a),i.textContent=e.cssText,t.appendChild(i)}))},l=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new o("string"==typeof t?t:t+"",void 0,n))(e)})(t):t},5674:(t,e,i)=>{i.d(e,{eZ:()=>r});const r=({finisher:t,descriptor:e})=>(i,r)=>{var a;if(void 0===r){const r=null!==(a=i.originalKey)&&void 0!==a?a:i.key,n=null!=e?{kind:"method",placement:"prototype",key:r,descriptor:e(i.key)}:{...i,key:r};return null!=t&&(n.finisher=function(e){t(e,r)}),n}{const a=i.constructor;void 0!==e&&Object.defineProperty(i,r,e(r)),null==t||t(a,r)}}},5713:(t,e,i)=>{i.d(e,{M:()=>r});const r=t=>e=>"function"==typeof e?((t,e)=>(customElements.define(t,e),e))(t,e):((t,e)=>{const{kind:i,elements:r}=e;return{kind:i,elements:r,finisher(e){customElements.define(t,e)}}})(t,e)},760:(t,e,i)=>{i.d(e,{C:()=>a});const r=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}};function a(t){return(e,i)=>void 0!==i?((t,e,i)=>{e.constructor.createProperty(i,t)})(t,e,i):r(t,e)}},7935:(t,e,i)=>{var r;null===(r=window.HTMLSlotElement)||void 0===r||r.prototype.assignedElements},43:(t,e,i)=>{i(7935)},8602:(t,e,i)=>{i.d(e,{G:()=>a});var r=i(5674);function a(t){return(0,r.eZ)({descriptor:e=>({async get(){var e;return await this.updateComplete,null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t)},enumerable:!0,configurable:!0})})}},2669:(t,e,i)=>{i.d(e,{I:()=>a});var r=i(5674);function a(t,e){return(0,r.eZ)({descriptor:i=>{const r={get(){var e,i;return null!==(i=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==i?i:null},enumerable:!0,configurable:!0};if(e){const e="symbol"==typeof i?Symbol():"__"+i;r.get=function(){var i,r;return void 0===this[e]&&(this[e]=null!==(r=null===(i=this.renderRoot)||void 0===i?void 0:i.querySelector(t))&&void 0!==r?r:null),this[e]}}return r}})}},9158:(t,e,i)=>{i.d(e,{S:()=>a});var r=i(760);function a(t){return(0,r.C)({...t,state:!0})}},8732:(t,e,i)=>{i.d(e,{fl:()=>u,iv:()=>a.iv});var r,a=i(8701);const n=window,s=n.trustedTypes,o=s?s.emptyScript:"",d=n.reactiveElementPolyfillSupport,c={toAttribute(t,e){switch(e){case Boolean:t=t?o:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},l=(t,e)=>e!==t&&(e==e||t==t),p={attribute:!0,type:String,converter:c,reflect:!1,hasChanged:l};class u extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var e;null!==(e=this.h)&&void 0!==e||(this.h=[]),this.h.push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((e,i)=>{const r=this._$Ep(i,e);void 0!==r&&(this._$Ev.set(r,i),t.push(r))})),t}static createProperty(t,e=p){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){const i="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,i,e);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(r){const a=this[t];this[e]=r,this.requestUpdate(t,a,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||p}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,e=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const i of e)this.createProperty(i,t[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift((0,a.i1)(t))}else void 0!==t&&e.push((0,a.i1)(t));return e}static _$Ep(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,i;(null!==(e=this._$ES)&&void 0!==e?e:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(i=t.hostConnected)||void 0===i||i.call(t))}removeController(t){var e;null===(e=this._$ES)||void 0===e||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t;const e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return(0,a.ec)(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=p){var r;const a=this.constructor._$Ep(t,i);if(void 0!==a&&!0===i.reflect){const n=(void 0!==(null===(r=i.converter)||void 0===r?void 0:r.toAttribute)?i.converter:c).toAttribute(e,i.type);this._$El=t,null==n?this.removeAttribute(a):this.setAttribute(a,n),this._$El=null}}_$AK(t,e){var i;const r=this.constructor,a=r._$Ev.get(t);if(void 0!==a&&this._$El!==a){const t=r.getPropertyOptions(a),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(i=t.converter)||void 0===i?void 0:i.fromAttribute)?t.converter:c;this._$El=a,this[a]=n.fromAttribute(e,t.type),this._$El=null}}requestUpdate(t,e,i){let r=!0;void 0!==t&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||l)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===i.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,i))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,e)=>this[e]=t)),this._$Ei=void 0);let e=!1;const i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(i)):this._$Ek()}catch(t){throw e=!1,this._$Ek(),t}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;null===(e=this._$ES)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,e)=>this._$EO(e,this[e],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}}u.finalized=!0,u.elementProperties=new Map,u.elementStyles=[],u.shadowRootOptions={mode:"open"},null==d||d({ReactiveElement:u}),(null!==(r=n.reactiveElementVersions)&&void 0!==r?r:n.reactiveElementVersions=[]).push("1.4.0")},8922:(t,e,i)=>{i.d(e,{Ld:()=>s.Ld,dy:()=>s.dy,iv:()=>n.iv,oi:()=>o});var r,a,n=i(8732),s=i(3692);class o extends n.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,s.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return s.Jb}}o.finalized=!0,o._$litElement$=!0,null===(r=globalThis.litElementHydrateSupport)||void 0===r||r.call(globalThis,{LitElement:o});const d=globalThis.litElementPolyfillSupport;null==d||d({LitElement:o}),(null!==(a=globalThis.litElementVersions)&&void 0!==a?a:globalThis.litElementVersions=[]).push("3.2.2")},875:(t,e,i)=>{i.d(e,{XM:()=>a,Xe:()=>n,pX:()=>r});const r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},a=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},7499:(t,e,i)=>{i.d(e,{$:()=>n});var r=i(3692),a=i(875);const n=(0,a.XM)(class extends a.Xe{constructor(t){var e;if(super(t),t.type!==a.pX.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var i,a;if(void 0===this.nt){this.nt=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(i=this.st)||void 0===i?void 0:i.has(t))&&this.nt.add(t);return this.render(e)}const n=t.element.classList;this.nt.forEach((t=>{t in e||(n.remove(t),this.nt.delete(t))}));for(const t in e){const i=!!e[t];i===this.nt.has(t)||(null===(a=this.st)||void 0===a?void 0:a.has(t))||(i?(n.add(t),this.nt.add(t)):(n.remove(t),this.nt.delete(t)))}return r.Jb}})},577:(t,e,i)=>{i.d(e,{o:()=>a});var r=i(3692);const a=t=>null!=t?t:r.Ld},7151:(t,e,i)=>{i.d(e,{V:()=>n});var r=i(3692),a=i(875);const n=(0,a.XM)(class extends a.Xe{constructor(t){var e;if(super(t),t.type!==a.pX.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,i)=>{const r=t[i];return null==r?e:e+`${i=i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:i}=t.element;if(void 0===this.vt){this.vt=new Set;for(const t in e)this.vt.add(t);return this.render(e)}this.vt.forEach((t=>{null==e[t]&&(this.vt.delete(t),t.includes("-")?i.removeProperty(t):i[t]="")}));for(const t in e){const r=e[t];null!=r&&(this.vt.add(t),t.includes("-")?i.setProperty(t,r):i[t]=r)}return r.Jb}})},3692:(t,e,i)=>{var r;i.d(e,{Jb:()=>E,Ld:()=>A,dy:()=>_,sY:()=>R});const a=window,n=a.trustedTypes,s=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,o=`lit$${(Math.random()+"").slice(9)}$`,d="?"+o,c=`<${d}>`,l=document,p=(t="")=>l.createComment(t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,h=Array.isArray,m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,f=/>/g,b=RegExp(">|[ \t\n\f\r](?:([^\\s\"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)","g"),g=/'/g,y=/"/g,T=/^(?:script|style|textarea|title)$/i,S=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),_=S(1),E=(S(2),Symbol.for("lit-noChange")),A=Symbol.for("lit-nothing"),w=new WeakMap,R=(t,e,i)=>{var r,a;const n=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:e;let s=n._$litPart$;if(void 0===s){const t=null!==(a=null==i?void 0:i.renderBefore)&&void 0!==a?a:null;n._$litPart$=s=new D(e.insertBefore(p(),t),t,void 0,null!=i?i:{})}return s._$AI(t),s},C=l.createTreeWalker(l,129,null,!1),k=(t,e)=>{const i=t.length-1,r=[];let a,n=2===e?"<svg>":"",d=m;for(let e=0;e<i;e++){const i=t[e];let s,l,p=-1,u=0;for(;u<i.length&&(d.lastIndex=u,l=d.exec(i),null!==l);)u=d.lastIndex,d===m?"!--"===l[1]?d=v:void 0!==l[1]?d=f:void 0!==l[2]?(T.test(l[2])&&(a=RegExp("</"+l[2],"g")),d=b):void 0!==l[3]&&(d=b):d===b?">"===l[0]?(d=null!=a?a:m,p=-1):void 0===l[1]?p=-2:(p=d.lastIndex-l[2].length,s=l[1],d=void 0===l[3]?b:'"'===l[3]?y:g):d===y||d===g?d=b:d===v||d===f?d=m:(d=b,a=void 0);const h=d===b&&t[e+1].startsWith("/>")?" ":"";n+=d===m?i+c:p>=0?(r.push(s),i.slice(0,p)+"$lit$"+i.slice(p)+o+h):i+o+(-2===p?(r.push(void 0),e):h)}const l=n+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s?s.createHTML(l):l,r]};class I{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let a=0,s=0;const c=t.length-1,l=this.parts,[u,h]=k(t,e);if(this.el=I.createElement(u,i),C.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(r=C.nextNode())&&l.length<c;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const e of r.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(o)){const i=h[s++];if(t.push(e),void 0!==i){const t=r.getAttribute(i.toLowerCase()+"$lit$").split(o),e=/([.?@])?(.*)/.exec(i);l.push({type:1,index:a,name:e[2],strings:t,ctor:"."===e[1]?H:"?"===e[1]?M:"@"===e[1]?N:P})}else l.push({type:6,index:a})}for(const e of t)r.removeAttribute(e)}if(T.test(r.tagName)){const t=r.textContent.split(o),e=t.length-1;if(e>0){r.textContent=n?n.emptyScript:"";for(let i=0;i<e;i++)r.append(t[i],p()),C.nextNode(),l.push({type:2,index:++a});r.append(t[e],p())}}}else if(8===r.nodeType)if(r.data===d)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(o,t+1));)l.push({type:7,index:a}),t+=o.length-1}a++}}static createElement(t,e){const i=l.createElement("template");return i.innerHTML=t,i}}function $(t,e,i=t,r){var a,n,s,o;if(e===E)return e;let d=void 0!==r?null===(a=i._$Cl)||void 0===a?void 0:a[r]:i._$Cu;const c=u(e)?void 0:e._$litDirective$;return(null==d?void 0:d.constructor)!==c&&(null===(n=null==d?void 0:d._$AO)||void 0===n||n.call(d,!1),void 0===c?d=void 0:(d=new c(t),d._$AT(t,i,r)),void 0!==r?(null!==(s=(o=i)._$Cl)&&void 0!==s?s:o._$Cl=[])[r]=d:i._$Cu=d),void 0!==d&&(e=$(t,d._$AS(t,e.values),d,r)),e}class x{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e;const{el:{content:i},parts:r}=this._$AD,a=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:l).importNode(i,!0);C.currentNode=a;let n=C.nextNode(),s=0,o=0,d=r[0];for(;void 0!==d;){if(s===d.index){let e;2===d.type?e=new D(n,n.nextSibling,this,t):1===d.type?e=new d.ctor(n,d.name,d.strings,this,t):6===d.type&&(e=new L(n,this,t)),this.v.push(e),d=r[++o]}s!==(null==d?void 0:d.index)&&(n=C.nextNode(),s++)}return a}m(t){let e=0;for(const i of this.v)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{constructor(t,e,i,r){var a;this.type=2,this._$AH=A,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=r,this._$C_=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$C_}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=$(this,t,e),u(t)?t===A||null==t||""===t?(this._$AH!==A&&this._$AR(),this._$AH=A):t!==this._$AH&&t!==E&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.k(t):(t=>h(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.O(t):this.$(t)}S(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}k(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}$(t){this._$AH!==A&&u(this._$AH)?this._$AA.nextSibling.data=t:this.k(l.createTextNode(t)),this._$AH=t}T(t){var e;const{values:i,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=I.createElement(r.h,this.options)),r);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===a)this._$AH.m(i);else{const t=new x(a,this),e=t.p(this.options);t.m(i),this.k(e),this._$AH=t}}_$AC(t){let e=w.get(t.strings);return void 0===e&&w.set(t.strings,e=new I(t)),e}O(t){h(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const a of t)r===e.length?e.push(i=new D(this.S(p()),this.S(p()),this,this.options)):i=e[r],i._$AI(a),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for(null===(i=this._$AP)||void 0===i||i.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$C_=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class P{constructor(t,e,i,r,a){this.type=1,this._$AH=A,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=a,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=A}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,r){const a=this.strings;let n=!1;if(void 0===a)t=$(this,t,e,0),n=!u(t)||t!==this._$AH&&t!==E,n&&(this._$AH=t);else{const r=t;let s,o;for(t=a[0],s=0;s<a.length-1;s++)o=$(this,r[i+s],e,s),o===E&&(o=this._$AH[s]),n||(n=!u(o)||o!==this._$AH[s]),o===A?t=A:t!==A&&(t+=(null!=o?o:"")+a[s+1]),this._$AH[s]=o}n&&!r&&this.P(t)}P(t){t===A?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class H extends P{constructor(){super(...arguments),this.type=3}P(t){this.element[this.name]=t===A?void 0:t}}const F=n?n.emptyScript:"";class M extends P{constructor(){super(...arguments),this.type=4}P(t){t&&t!==A?this.element.setAttribute(this.name,F):this.element.removeAttribute(this.name)}}class N extends P{constructor(t,e,i,r,a){super(t,e,i,r,a),this.type=5}_$AI(t,e=this){var i;if((t=null!==(i=$(this,t,e,0))&&void 0!==i?i:A)===E)return;const r=this._$AH,a=t===A&&r!==A||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==A&&(r===A||a);a&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;"function"==typeof this._$AH?this._$AH.call(null!==(i=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==i?i:this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){$(this,t)}}const O=a.litHtmlPolyfillSupport;null==O||O(I,D),(null!==(r=a.litHtmlVersions)&&void 0!==r?r:a.litHtmlVersions=[]).push("2.3.0")},9662:(t,e,i)=>{i.d(e,{Cb:()=>a.C,GC:()=>o.G,IO:()=>s.I,Mo:()=>r.M,SB:()=>n.S});var r=i(5713),a=i(760),n=i(9158),s=i(2669),o=i(8602);i(7935),i(43)},8810:(t,e,i)=>{i.d(e,{$:()=>r.$});var r=i(7499)},3492:(t,e,i)=>{i.d(e,{o:()=>r.o});var r=i(577)},3196:(t,e,i)=>{i.d(e,{V:()=>r.V});var r=i(7151)},5862:(t,e,i)=>{i.d(e,{Ld:()=>r.Ld,dy:()=>r.dy,iv:()=>r.iv,oi:()=>r.oi}),i(8732),i(3692);var r=i(8922)}},e={};function i(r){var a=e[r];if(void 0!==a)return a.exports;var n=e[r]={exports:{}};return t[r](n,n.exports,i),n.exports}i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t=i(655),e=(i(7705),i(5610)),r=i(191),a=i(5862),n=i(9662),s=i(3196),o=i(9947);class d extends o.V{get value(){return this.valueEnd}set value(t){this.valueEnd=t}renderTrack(){const t=(0,s.V)({"transform-origin":this.trackTransformOriginStyle,left:this.trackLeftStyle,right:this.trackRightStyle,"-webkit-transform":`scaleX(${(this.valueEnd-this.min)/(this.max-this.min)})`,transform:`scaleX(${(this.valueEnd-this.min)/(this.max-this.min)})`,"-webkit-transition":this.trackTransitionStyle,transition:this.trackTransitionStyle});return a.dy`
|
55
|
+
<div class="mdc-slider__track">
|
56
|
+
<div class="mdc-slider__track--inactive"></div>
|
57
|
+
<div class="mdc-slider__track--active">
|
58
|
+
<div
|
59
|
+
class="mdc-slider__track--active_fill"
|
60
|
+
style=${t}>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
</div>`}createAdapter(){return{addClass:t=>{"mdc-slider--disabled"===t&&(this.disabled=!0)},removeClass:t=>{"mdc-slider--disabled"===t&&(this.disabled=!1)},hasClass:t=>{switch(t){case"mdc-slider--disabled":return this.disabled;case"mdc-slider--discrete":return this.discrete;default:return!1}},addThumbClass:(t,e)=>{e!==r.b.START&&"mdc-slider__thumb--with-indicator"===t&&(this.endThumbWithIndicator=!0)},removeThumbClass:(t,e)=>{e!==r.b.START&&"mdc-slider__thumb--with-indicator"===t&&(this.endThumbWithIndicator=!1)},registerEventHandler:()=>{},deregisterEventHandler:()=>{},registerBodyEventHandler:(t,e)=>{document.body.addEventListener(t,e)},deregisterBodyEventHandler:(t,e)=>{document.body.removeEventListener(t,e)},registerInputEventHandler:(t,e,i)=>{t!==r.b.START&&this.formElement.addEventListener(e,i)},deregisterInputEventHandler:(t,e,i)=>{t!==r.b.START&&this.formElement.removeEventListener(e,i)},registerThumbEventHandler:()=>{},deregisterThumbEventHandler:()=>{},registerWindowEventHandler:(t,e)=>{window.addEventListener(t,e)},deregisterWindowEventHandler:(t,e)=>{window.addEventListener(t,e)},emitChangeEvent:(t,e)=>{if(e===r.b.START)return;const i=new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:t,thumb:e}});this.dispatchEvent(i)},emitDragEndEvent:(t,e)=>{e!==r.b.START&&this.endRippleHandlers.endPress()},emitDragStartEvent:(t,e)=>{e!==r.b.START&&this.endRippleHandlers.startPress()},emitInputEvent:(t,e)=>{if(e===r.b.START)return;const i=new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:t,thumb:e}});this.dispatchEvent(i)},focusInput:t=>{t!==r.b.START&&this.formElement.focus()},getAttribute:()=>"",getBoundingClientRect:()=>this.mdcRoot.getBoundingClientRect(),getInputAttribute:(t,e)=>{if(e===r.b.START)return null;switch(t){case"min":return this.min.toString();case"max":return this.max.toString();case"value":return this.valueEnd.toString();case"step":return this.step.toString();default:return null}},getInputValue:t=>t===r.b.START?"":this.valueEnd.toString(),getThumbBoundingClientRect:t=>t===r.b.START?this.getBoundingClientRect():this.endThumb.getBoundingClientRect(),getThumbKnobWidth:t=>t===r.b.START?0:this.endThumbKnob.getBoundingClientRect().width,getValueIndicatorContainerWidth:t=>t===r.b.START?0:this.endValueIndicatorContainer.getBoundingClientRect().width,getValueToAriaValueTextFn:()=>this.valueToAriaTextTransform,isInputFocused:t=>{if(t===r.b.START)return!1;const i=(0,e.Mh)();return i[i.length-1]===this.formElement},isRTL:()=>"rtl"===getComputedStyle(this).direction,setInputAttribute:(t,e,i)=>{r.b.START},removeInputAttribute:t=>{},setThumbStyleProperty:(t,e,i)=>{if(i!==r.b.START)switch(t){case"transform":case"-webkit-transform":this.endThumbTransformStyle=e;break;case"transition":case"-webkit-transition":this.endThumbTransitionStyle=e;break;default:t.startsWith("--")&&(this.endThumbCssProperties[t]=e)}},removeThumbStyleProperty:(t,e)=>{if(e!==r.b.START)switch(t){case"left":case"right":break;case"transition":case"-webkit-transition":this.endThumbTransitionStyle=""}},setTrackActiveStyleProperty:(t,e)=>{switch(t){case"transform-origin":this.trackTransformOriginStyle=e;break;case"left":this.trackLeftStyle=e;break;case"right":this.trackRightStyle=e;break;case"transform":case"-webkit-transform":break;case"transition":case"-webkit-transition":this.trackTransitionStyle=e}},removeTrackActiveStyleProperty:t=>{switch(t){case"transition":case"-webkit-transition":this.trackTransitionStyle=""}},setInputValue:(t,e)=>{e!==r.b.START&&(this.valueEnd=Number(t))},setPointerCapture:t=>{this.mdcRoot.setPointerCapture(t)},setValueIndicatorText:()=>{},updateTickMarks:t=>{this.tickMarks=t}}}}(0,t.gn)([(0,n.Cb)({type:Number})],d.prototype,"value",null);var c=i(6741);let l=class extends d{};l.styles=[c.W],l=(0,t.gn)([(0,n.Mo)("td-slider")],l)})()})();
|
@@ -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 Inc.
|
66
|
+
*
|
67
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
68
|
+
* of this software and associated documentation files (the "Software"), to deal
|
69
|
+
* in the Software without restriction, including without limitation the rights
|
70
|
+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
71
|
+
* copies of the Software, and to permit persons to whom the Software is
|
72
|
+
* furnished to do so, subject to the following conditions:
|
73
|
+
*
|
74
|
+
* The above copyright notice and this permission notice shall be included in
|
75
|
+
* all copies or substantial portions of the Software.
|
76
|
+
*
|
77
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
78
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
79
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
80
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
81
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
82
|
+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
83
|
+
* THE SOFTWARE.
|
84
|
+
*/
|
85
|
+
|
86
|
+
/**
|
87
|
+
* @license
|
88
|
+
* Copyright 2020 Google LLC
|
89
|
+
* SPDX-License-Identifier: Apache-2.0
|
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
|
+
*/
|