@fluid-topics/ft-card 0.1.3 → 0.1.7

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.
@@ -0,0 +1,348 @@
1
+ !function(t,e,r,i,a,o){
2
+ /*! *****************************************************************************
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
+ PERFORMANCE OF THIS SOFTWARE.
15
+ ***************************************************************************** */
16
+ var p=function(t,e){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},p(t,e)};var c=function(){return c=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},c.apply(this,arguments)};function s(t,e,r,i){for(var a,o=arguments.length,p=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i,c=t.length-1;c>=0;c--)(a=t[c])&&(p=(o<3?a(p):o>3?a(e,r,p):a(e,r))||p);return o>3&&p&&Object.defineProperty(e,r,p),p}function n(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}
17
+ /**
18
+ * @license
19
+ * Copyright 2018 Google Inc.
20
+ *
21
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
22
+ * of this software and associated documentation files (the "Software"), to deal
23
+ * in the Software without restriction, including without limitation the rights
24
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
25
+ * copies of the Software, and to permit persons to whom the Software is
26
+ * furnished to do so, subject to the following conditions:
27
+ *
28
+ * The above copyright notice and this permission notice shall be included in
29
+ * all copies or substantial portions of the Software.
30
+ *
31
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
37
+ * THE SOFTWARE.
38
+ */
39
+ /**
40
+ * @license
41
+ * Copyright 2018 Google LLC
42
+ * SPDX-License-Identifier: Apache-2.0
43
+ */
44
+ const d=()=>{},l={get passive(){return!1}};document.addEventListener("x",d,l),document.removeEventListener("x",d);
45
+ /**
46
+ * @license
47
+ * Copyright 2018 Google LLC
48
+ * SPDX-License-Identifier: Apache-2.0
49
+ */
50
+ class f extends e.LitElement{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()}}
51
+ /**
52
+ * @license
53
+ * Copyright 2016 Google Inc.
54
+ *
55
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
56
+ * of this software and associated documentation files (the "Software"), to deal
57
+ * in the Software without restriction, including without limitation the rights
58
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
59
+ * copies of the Software, and to permit persons to whom the Software is
60
+ * furnished to do so, subject to the following conditions:
61
+ *
62
+ * The above copyright notice and this permission notice shall be included in
63
+ * all copies or substantial portions of the Software.
64
+ *
65
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
66
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
67
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
68
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
69
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
70
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
71
+ * THE SOFTWARE.
72
+ */var u=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}(),h={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"},m={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"},y={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300};
73
+ /**
74
+ * @license
75
+ * Copyright 2016 Google Inc.
76
+ *
77
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
78
+ * of this software and associated documentation files (the "Software"), to deal
79
+ * in the Software without restriction, including without limitation the rights
80
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
81
+ * copies of the Software, and to permit persons to whom the Software is
82
+ * furnished to do so, subject to the following conditions:
83
+ *
84
+ * The above copyright notice and this permission notice shall be included in
85
+ * all copies or substantial portions of the Software.
86
+ *
87
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
88
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
89
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
90
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
91
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
92
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
93
+ * THE SOFTWARE.
94
+ */
95
+ /**
96
+ * @license
97
+ * Copyright 2016 Google Inc.
98
+ *
99
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
100
+ * of this software and associated documentation files (the "Software"), to deal
101
+ * in the Software without restriction, including without limitation the rights
102
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
103
+ * copies of the Software, and to permit persons to whom the Software is
104
+ * furnished to do so, subject to the following conditions:
105
+ *
106
+ * The above copyright notice and this permission notice shall be included in
107
+ * all copies or substantial portions of the Software.
108
+ *
109
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
110
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
112
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
114
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
115
+ * THE SOFTWARE.
116
+ */
117
+ var g=["touchstart","pointerdown","mousedown","keydown"],v=["touchend","pointerup","mouseup","contextmenu"],b=[],x=function(t){function e(r){var i=t.call(this,c(c({},e.defaultAdapter),r))||this;return i.activationAnimationHasEnded=!1,i.activationTimer=0,i.fgDeactivationRemovalTimer=0,i.fgScale="0",i.frame={width:0,height:0},i.initialSize=0,i.layoutFrame=0,i.maxRadius=0,i.unboundedCoords={left:0,top:0},i.activationState=i.defaultActivationState(),i.activationTimerCallback=function(){i.activationAnimationHasEnded=!0,i.runDeactivationUXLogicIfReady()},i.activateHandler=function(t){i.activateImpl(t)},i.deactivateHandler=function(){i.deactivateImpl()},i.focusHandler=function(){i.handleFocus()},i.blurHandler=function(){i.handleBlur()},i.resizeHandler=function(){i.layout()},i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),Object.defineProperty(e,"cssClasses",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return m},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return y},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,r=this.supportsPressRipple();if(this.registerRootHandlers(r),r){var i=e.cssClasses,a=i.ROOT,o=i.UNBOUNDED;requestAnimationFrame((function(){t.adapter.addClass(a),t.adapter.isUnbounded()&&(t.adapter.addClass(o),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 r=e.cssClasses,i=r.ROOT,a=r.UNBOUNDED;requestAnimationFrame((function(){t.adapter.removeClass(i),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 r=e.cssClasses.UNBOUNDED;t?this.adapter.addClass(r):this.adapter.removeClass(r)},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,r;if(t){try{for(var i=n(g),a=i.next();!a.done;a=i.next()){var o=a.value;this.adapter.registerInteractionHandler(o,this.activateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}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,r;if("keydown"===t.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var i=n(v),a=i.next();!a.done;a=i.next()){var o=a.value;this.adapter.registerDocumentInteractionHandler(o,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}},e.prototype.deregisterRootHandlers=function(){var t,e;try{for(var r=n(g),i=r.next();!i.done;i=r.next()){var a=i.value;this.adapter.deregisterInteractionHandler(a,this.activateHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}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 r=n(v),i=r.next();!i.done;i=r.next()){var a=i.value;this.adapter.deregisterDocumentInteractionHandler(a,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e.prototype.removeCssVars=function(){var t=this,r=e.strings;Object.keys(r).forEach((function(e){0===e.indexOf("VAR_")&&t.adapter.updateCssVariable(r[e],null)}))},e.prototype.activateImpl=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var r=this.activationState;if(!r.isActivated){var i=this.previousActivationEvent;if(!(i&&void 0!==t&&i.type!==t.type))r.isActivated=!0,r.isProgrammatic=void 0===t,r.activationEvent=t,r.wasActivatedByPointer=!r.isProgrammatic&&(void 0!==t&&("mousedown"===t.type||"touchstart"===t.type||"pointerdown"===t.type)),void 0!==t&&b.length>0&&b.some((function(t){return e.adapter.containsEventTarget(t)}))?this.resetActivationState():(void 0!==t&&(b.push(t.target),this.registerDeactivationHandlers(t)),r.wasElementMadeActive=this.checkElementMadeActive(t),r.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){b=[],r.wasElementMadeActive||void 0===t||" "!==t.key&&32!==t.keyCode||(r.wasElementMadeActive=e.checkElementMadeActive(t),r.wasElementMadeActive&&e.animateActivation()),r.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,r=e.strings,i=r.VAR_FG_TRANSLATE_START,a=r.VAR_FG_TRANSLATE_END,o=e.cssClasses,p=o.FG_DEACTIVATION,c=o.FG_ACTIVATION,s=e.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var n="",d="";if(!this.adapter.isUnbounded()){var l=this.getFgTranslationCoordinates(),f=l.startPoint,u=l.endPoint;n=f.x+"px, "+f.y+"px",d=u.x+"px, "+u.y+"px"}this.adapter.updateCssVariable(i,n),this.adapter.updateCssVariable(a,d),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(p),this.adapter.computeBoundingRect(),this.adapter.addClass(c),this.activationTimer=setTimeout((function(){t.activationTimerCallback()}),s)},e.prototype.getFgTranslationCoordinates=function(){var t,e=this.activationState,r=e.activationEvent;return{startPoint:t={x:(t=e.wasActivatedByPointer?function(t,e,r){if(!t)return{x:0,y:0};var i,a,o=e.x,p=e.y,c=o+r.left,s=p+r.top;if("touchstart"===t.type){var n=t;i=n.changedTouches[0].pageX-c,a=n.changedTouches[0].pageY-s}else{var d=t;i=d.pageX-c,a=d.pageY-s}return{x:i,y:a}}(r,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,r=e.cssClasses.FG_DEACTIVATION,i=this.activationState,a=i.hasDeactivationUXRun,o=i.isActivated;(a||!o)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(r),this.fgDeactivationRemovalTimer=setTimeout((function(){t.adapter.removeClass(r)}),y.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 r=c({},e);e.isProgrammatic?(requestAnimationFrame((function(){t.animateDeactivation(r)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){t.activationState.hasDeactivationUXRun=!0,t.animateDeactivation(r),t.resetActivationState()})))}},e.prototype.animateDeactivation=function(t){var e=t.wasActivatedByPointer,r=t.wasElementMadeActive;(e||r)&&this.runDeactivationUXLogicIfReady()},e.prototype.layoutInternal=function(){var t=this;this.frame=this.adapter.computeBoundingRect();var r=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?r:Math.sqrt(Math.pow(t.frame.width,2)+Math.pow(t.frame.height,2))+e.numbers.PADDING;var i=Math.floor(r*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,r=t.VAR_FG_SIZE,i=t.VAR_LEFT,a=t.VAR_TOP,o=t.VAR_FG_SCALE;this.adapter.updateCssVariable(r,this.initialSize+"px"),this.adapter.updateCssVariable(o,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(i,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(a,this.unboundedCoords.top+"px"))},e}(u),O=x;
118
+ /**
119
+ * @license
120
+ * Copyright 2018 Google LLC
121
+ * SPDX-License-Identifier: Apache-2.0
122
+ */
123
+ class $ extends f{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=O}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}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),r=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":r,"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 e.html`
124
+ <div class="mdc-ripple-surface mdc-ripple-upgraded ${a.classMap(i)}"
125
+ style="${o.styleMap({"--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>`}}s([r.query(".mdc-ripple-surface")],$.prototype,"mdcRoot",void 0),s([r.property({type:Boolean})],$.prototype,"primary",void 0),s([r.property({type:Boolean})],$.prototype,"accent",void 0),s([r.property({type:Boolean})],$.prototype,"unbounded",void 0),s([r.property({type:Boolean})],$.prototype,"disabled",void 0),s([r.property({type:Boolean})],$.prototype,"activated",void 0),s([r.property({type:Boolean})],$.prototype,"selected",void 0),s([r.property({type:Boolean})],$.prototype,"internalUseStateLayerCustomProperties",void 0),s([r.state()],$.prototype,"hovering",void 0),s([r.state()],$.prototype,"bgFocused",void 0),s([r.state()],$.prototype,"fgActivation",void 0),s([r.state()],$.prototype,"fgDeactivation",void 0),s([r.state()],$.prototype,"fgScale",void 0),s([r.state()],$.prototype,"fgSize",void 0),s([r.state()],$.prototype,"translateStart",void 0),s([r.state()],$.prototype,"translateEnd",void 0),s([r.state()],$.prototype,"leftPos",void 0),s([r.state()],$.prototype,"topPos",void 0);
126
+ /**
127
+ * @license
128
+ * Copyright 2021 Google LLC
129
+ * SPDX-LIcense-Identifier: Apache-2.0
130
+ */
131
+ const w=e.css`.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)}`
132
+ /**
133
+ * @license
134
+ * Copyright 2018 Google LLC
135
+ * SPDX-License-Identifier: Apache-2.0
136
+ */;let N=class extends ${};N.styles=[w],N=s([r.customElement("mwc-ripple")],N);
137
+ /**
138
+ * @license
139
+ * Copyright 2020 Google LLC
140
+ * SPDX-License-Identifier: Apache-2.0
141
+ */
142
+ class S{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()}))}}}var R=function(t,e,r,i){for(var a,o=arguments.length,p=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i,c=t.length-1;c>=0;c--)(a=t[c])&&(p=(o<3?a(p):o>3?a(e,r,p):a(e,r))||p);return o>3&&p&&Object.defineProperty(e,r,p),p};const F=i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorContent),A=i.FtCssVariable.extend("--ft-ripple-primary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary)),E=i.FtCssVariable.extend("--ft-ripple-secondary-color",i.FtCssVariable.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary)),k=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),C=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),U=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),M=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),z=i.FtCssVariable.external(i.designSystemVariables.opacityContentOnSurfaceDragged,"Design system");let T=class extends i.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1}getStyles(){return e.css`
143
+ :host {
144
+ display: contents;
145
+
146
+ --mdc-ripple-color: ${F};
147
+ --mdc-ripple-press-opacity: ${k};
148
+ --mdc-ripple-hover-opacity: ${C};
149
+ --mdc-ripple-focus-opacity: ${U};
150
+ --mdc-ripple-selected-opacity: ${M};
151
+ --mdc-ripple-activated-opacity: ${z};
152
+ }
153
+
154
+ mwc-ripple.ft-ripple--secondary {
155
+ --mdc-ripple-color: ${E};
156
+ }
157
+
158
+ mwc-ripple.ft-ripple--primary {
159
+ --mdc-ripple-color: ${A};
160
+ }
161
+ `}getTemplate(){return e.html`
162
+ <mwc-ripple
163
+ class="${this.primary?"ft-ripple--primary":this.secondary?"ft-ripple--secondary":""}"
164
+ ?unbounded=${this.unbounded}
165
+ ?activated=${this.activated}
166
+ ?selected=${this.selected}
167
+ ?disabled=${this.disabled}
168
+ ></mwc-ripple>
169
+ `}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple()}endRipple(){var t,e,r;null===(t=this.rippleHandlers)||void 0===t||t.endHover(),null===(e=this.rippleHandlers)||void 0===e||e.endFocus(),null===(r=this.rippleHandlers)||void 0===r||r.endPress()}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentNode;if(e){const t=new S((async()=>this.mwcRipple)),r=(...e)=>r=>{e.forEach((e=>window.addEventListener(e,t.endPress,{once:!0}))),t.startPress(r)},i=r("mouseup"),a=r("touchend","touchcancel"),o=t=>{["Enter"," "].includes(t.key)&&r("keyup")()};e.addEventListener("mouseenter",t.startHover),e.addEventListener("mouseleave",t.endHover),e.addEventListener("mousedown",i),e.addEventListener("touchstart",a),e.addEventListener("keydown",o),e.addEventListener("focus",t.startFocus),e.addEventListener("blur",t.endFocus),this.onDisconnect=()=>{e.removeEventListener("mouseenter",t.startHover),e.removeEventListener("mouseleave",t.endHover),e.removeEventListener("mousedown",i),e.removeEventListener("touchstart",a),e.removeEventListener("keydown",o),e.removeEventListener("focus",t.startFocus),e.removeEventListener("blur",t.endFocus)},this.rippleHandlers=t}}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};T.elementDefinitions={"mwc-ripple":N},R([r.property({type:Boolean})],T.prototype,"primary",void 0),R([r.property({type:Boolean})],T.prototype,"secondary",void 0),R([r.property({type:Boolean})],T.prototype,"unbounded",void 0),R([r.property({type:Boolean})],T.prototype,"activated",void 0),R([r.property({type:Boolean})],T.prototype,"selected",void 0),R([r.property({type:Boolean})],T.prototype,"disabled",void 0),R([r.query("mwc-ripple")],T.prototype,"mwcRipple",void 0),T=R([i.customElement("ft-ripple")],T);class B{constructor(t,e,r,i,a){this.name=t,this.category=e,this.fallbackVariable=r,this.defaultValue=i,this.context=a,this._$cssResult$=!0,this.value=this.get()}get cssText(){return this.value.cssText}get styleSheet(){return this.value.styleSheet}toString(){return this.value.toString()}static create(t,e,r){return new B(t,e,void 0,r)}static extend(t,e,r){return new B(t,e.category,e,r)}static external(t,e){return new B(t.name,t.category,t.fallbackVariable,t.defaultValue,e)}get(t){return e.css`var(${e.unsafeCSS(this.name)}, ${this.defaultCssValue(t)})`}defaultCssValue(t){return this.fallbackVariable?this.fallbackVariable.get(null!=t?t:this.defaultValue):e.unsafeCSS(null!=t?t:this.defaultValue)}lastResortDefaultValue(){var t,e;return null!==(t=this.defaultValue)&&void 0!==t?t:null===(e=this.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()}breadcrumb(){return this.fallbackVariable?[this.fallbackVariable.name,...this.fallbackVariable.breadcrumb()]:[]}}const _={colorPrimary:B.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:B.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:B.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:B.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:B.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:B.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:B.create("--ft-color-error","COLOR","#B00020"),colorOutline:B.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:B.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:B.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:B.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:B.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:B.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:B.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:B.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:B.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:B.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:B.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:B.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:B.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:B.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:B.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:B.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:B.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:B.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:B.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:B.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:B.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:B.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:B.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:B.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:B.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:B.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:B.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:B.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:B.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:B.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:B.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:B.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:B.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:B.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:B.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:B.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:B.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:B.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:B.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:B.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:B.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:B.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:B.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:B.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:B.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:B.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:B.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:B.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:B.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:B.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:B.create("--ft-border-radius-XL","SIZE","16px"),titleFont:B.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:B.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:B.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:B.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};
170
+ /**
171
+ * @license
172
+ * Copyright 2017 Google LLC
173
+ * SPDX-License-Identifier: BSD-3-Clause
174
+ */var D;const P=globalThis.trustedTypes,I=P?P.createPolicy("lit-html",{createHTML:t=>t}):void 0,L=`lit$${(Math.random()+"").slice(9)}$`,j="?"+L,H=`<${j}>`,W=document,V=(t="")=>W.createComment(t),K=t=>null===t||"object"!=typeof t&&"function"!=typeof t,G=Array.isArray,Z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,X=/>/g,Y=/>|[ \n \r](?:([^\s"'>=/]+)([ \n \r]*=[ \n \r]*(?:[^ \n \r"'`<>=]|("|')|))|$)/g,J=/'/g,Q=/"/g,tt=/^(?:script|style|textarea|title)$/i,et=(t=>(e,...r)=>({_$litType$:t,strings:e,values:r}))(1),rt=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),at=new WeakMap,ot=W.createTreeWalker(W,129,null,!1),pt=(t,e)=>{const r=t.length-1,i=[];let a,o=2===e?"<svg>":"",p=Z;for(let e=0;e<r;e++){const r=t[e];let c,s,n=-1,d=0;for(;d<r.length&&(p.lastIndex=d,s=p.exec(r),null!==s);)d=p.lastIndex,p===Z?"!--"===s[1]?p=q:void 0!==s[1]?p=X:void 0!==s[2]?(tt.test(s[2])&&(a=RegExp("</"+s[2],"g")),p=Y):void 0!==s[3]&&(p=Y):p===Y?">"===s[0]?(p=null!=a?a:Z,n=-1):void 0===s[1]?n=-2:(n=p.lastIndex-s[2].length,c=s[1],p=void 0===s[3]?Y:'"'===s[3]?Q:J):p===Q||p===J?p=Y:p===q||p===X?p=Z:(p=Y,a=void 0);const l=p===Y&&t[e+1].startsWith("/>")?" ":"";o+=p===Z?r+H:n>=0?(i.push(c),r.slice(0,n)+"$lit$"+r.slice(n)+L+l):r+L+(-2===n?(i.push(void 0),e):l)}const c=o+(t[r]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==I?I.createHTML(c):c,i]};class ct{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let a=0,o=0;const p=t.length-1,c=this.parts,[s,n]=pt(t,e);if(this.el=ct.createElement(s,r),ot.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=ot.nextNode())&&c.length<p;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith("$lit$")||e.startsWith(L)){const r=n[o++];if(t.push(e),void 0!==r){const t=i.getAttribute(r.toLowerCase()+"$lit$").split(L),e=/([.?@])?(.*)/.exec(r);c.push({type:1,index:a,name:e[2],strings:t,ctor:"."===e[1]?ft:"?"===e[1]?ht:"@"===e[1]?mt:lt})}else c.push({type:6,index:a})}for(const e of t)i.removeAttribute(e)}if(tt.test(i.tagName)){const t=i.textContent.split(L),e=t.length-1;if(e>0){i.textContent=P?P.emptyScript:"";for(let r=0;r<e;r++)i.append(t[r],V()),ot.nextNode(),c.push({type:2,index:++a});i.append(t[e],V())}}}else if(8===i.nodeType)if(i.data===j)c.push({type:2,index:a});else{let t=-1;for(;-1!==(t=i.data.indexOf(L,t+1));)c.push({type:7,index:a}),t+=L.length-1}a++}}static createElement(t,e){const r=W.createElement("template");return r.innerHTML=t,r}}function st(t,e,r=t,i){var a,o,p,c;if(e===rt)return e;let s=void 0!==i?null===(a=r._$Cl)||void 0===a?void 0:a[i]:r._$Cu;const n=K(e)?void 0:e._$litDirective$;return(null==s?void 0:s.constructor)!==n&&(null===(o=null==s?void 0:s._$AO)||void 0===o||o.call(s,!1),void 0===n?s=void 0:(s=new n(t),s._$AT(t,r,i)),void 0!==i?(null!==(p=(c=r)._$Cl)&&void 0!==p?p:c._$Cl=[])[i]=s:r._$Cu=s),void 0!==s&&(e=st(t,s._$AS(t,e.values),s,i)),e}class nt{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:r},parts:i}=this._$AD,a=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:W).importNode(r,!0);ot.currentNode=a;let o=ot.nextNode(),p=0,c=0,s=i[0];for(;void 0!==s;){if(p===s.index){let e;2===s.type?e=new dt(o,o.nextSibling,this,t):1===s.type?e=new s.ctor(o,s.name,s.strings,this,t):6===s.type&&(e=new yt(o,this,t)),this.v.push(e),s=i[++c]}p!==(null==s?void 0:s.index)&&(o=ot.nextNode(),p++)}return a}m(t){let e=0;for(const r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class dt{constructor(t,e,r,i){var a;this.type=2,this._$AH=it,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cg=null===(a=null==i?void 0:i.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._$Cg}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=st(this,t,e),K(t)?t===it||null==t||""===t?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==rt&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):(t=>{var e;return G(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])})(t)?this.A(t):this.$(t)}M(t,e=this._$AB){return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==it&&K(this._$AH)?this._$AA.nextSibling.data=t:this.S(W.createTextNode(t)),this._$AH=t}T(t){var e;const{values:r,_$litType$:i}=t,a="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ct.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===a)this._$AH.m(r);else{const t=new nt(a,this),e=t.p(this.options);t.m(r),this.S(e),this._$AH=t}}_$AC(t){let e=at.get(t.strings);return void 0===e&&at.set(t.strings,e=new ct(t)),e}A(t){G(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const a of t)i===e.length?e.push(r=new dt(this.M(V()),this.M(V()),this,this.options)):r=e[i],r._$AI(a),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){var r;for(null===(r=this._$AP)||void 0===r||r.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._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class lt{constructor(t,e,r,i,a){this.type=1,this._$AH=it,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=a,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=it}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,r,i){const a=this.strings;let o=!1;if(void 0===a)t=st(this,t,e,0),o=!K(t)||t!==this._$AH&&t!==rt,o&&(this._$AH=t);else{const i=t;let p,c;for(t=a[0],p=0;p<a.length-1;p++)c=st(this,i[r+p],e,p),c===rt&&(c=this._$AH[p]),o||(o=!K(c)||c!==this._$AH[p]),c===it?t=it:t!==it&&(t+=(null!=c?c:"")+a[p+1]),this._$AH[p]=c}o&&!i&&this.k(t)}k(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ft extends lt{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===it?void 0:t}}const ut=P?P.emptyScript:"";class ht extends lt{constructor(){super(...arguments),this.type=4}k(t){t&&t!==it?this.element.setAttribute(this.name,ut):this.element.removeAttribute(this.name)}}class mt extends lt{constructor(t,e,r,i,a){super(t,e,r,i,a),this.type=5}_$AI(t,e=this){var r;if((t=null!==(r=st(this,t,e,0))&&void 0!==r?r:it)===rt)return;const i=this._$AH,a=t===it&&i!==it||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==it&&(i===it||a);a&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class yt{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}}const gt=window.litHtmlPolyfillSupport;null==gt||gt(ct,dt),(null!==(D=globalThis.litHtmlVersions)&&void 0!==D?D:globalThis.litHtmlVersions=[]).push("2.1.3");
175
+ /**
176
+ * @license
177
+ * Copyright 2020 Google LLC
178
+ * SPDX-License-Identifier: BSD-3-Clause
179
+ */
180
+ const vt=t=>({_$litStatic$:t}),bt=new Map,xt=(t=>(e,...r)=>{var i;const a=r.length;let o,p;const c=[],s=[];let n,d=0,l=!1;for(;d<a;){for(n=e[d];d<a&&void 0!==(p=r[d],o=null===(i=p)||void 0===i?void 0:i._$litStatic$);)n+=o+e[++d],l=!0;s.push(p),c.push(n),d++}if(d===a&&c.push(e[a]),l){const t=c.join("$$lit$$");void 0===(e=bt.get(t))&&(c.raw=c,bt.set(t,e=c)),r=s}return t(e,...r)})(et);var Ot,$t=function(t,e,r,i){for(var a,o=arguments.length,p=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i,c=t.length-1;c>=0;c--)(a=t[c])&&(p=(o<3?a(p):o>3?a(e,r,p):a(e,r))||p);return o>3&&p&&Object.defineProperty(e,r,p),p};!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"}(Ot||(Ot={}));const wt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),Nt=i.FtCssVariable.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),St={fontFamily:Nt,fontSize:i.FtCssVariable.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariable.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariable.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariable.create("--ft-typography-line-height","SIZE","24px"),textTransform:i.FtCssVariable.create("--ft-typography-text-transform","UNKNOWN","inherit")},Rt=i.FtCssVariable.extend("--ft-typography-title-font-family",wt),Ft=i.FtCssVariable.extend("--ft-typography-title-font-size",St.fontSize,"20px"),At=i.FtCssVariable.extend("--ft-typography-title-font-weight",St.fontWeight,"normal"),Et=i.FtCssVariable.extend("--ft-typography-title-letter-spacing",St.letterSpacing,"0.15px"),kt=i.FtCssVariable.extend("--ft-typography-title-line-height",St.lineHeight,"24px"),Ct=i.FtCssVariable.extend("--ft-typography-title-text-transform",St.textTransform,"inherit"),Ut=i.FtCssVariable.extend("--ft-typography-title-dense-font-family",wt),Mt=i.FtCssVariable.extend("--ft-typography-title-dense-font-size",St.fontSize,"14px"),zt=i.FtCssVariable.extend("--ft-typography-title-dense-font-weight",St.fontWeight,"normal"),Tt=i.FtCssVariable.extend("--ft-typography-title-dense-letter-spacing",St.letterSpacing,"0.105px"),Bt=i.FtCssVariable.extend("--ft-typography-title-dense-line-height",St.lineHeight,"24px"),_t=i.FtCssVariable.extend("--ft-typography-title-dense-text-transform",St.textTransform,"inherit"),Dt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-family",Nt),Pt=i.FtCssVariable.extend("--ft-typography-subtitle1-font-size",St.fontSize,"16px"),It=i.FtCssVariable.extend("--ft-typography-subtitle1-font-weight",St.fontWeight,"600"),Lt=i.FtCssVariable.extend("--ft-typography-subtitle1-letter-spacing",St.letterSpacing,"0.144px"),jt=i.FtCssVariable.extend("--ft-typography-subtitle1-line-height",St.lineHeight,"24px"),Ht=i.FtCssVariable.extend("--ft-typography-subtitle1-text-transform",St.textTransform,"inherit"),Wt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-family",Nt),Vt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-size",St.fontSize,"14px"),Kt=i.FtCssVariable.extend("--ft-typography-subtitle2-font-weight",St.fontWeight,"normal"),Gt=i.FtCssVariable.extend("--ft-typography-subtitle2-letter-spacing",St.letterSpacing,"0.098px"),Zt=i.FtCssVariable.extend("--ft-typography-subtitle2-line-height",St.lineHeight,"24px"),qt=i.FtCssVariable.extend("--ft-typography-subtitle2-text-transform",St.textTransform,"inherit"),Xt=i.FtCssVariable.extend("--ft-typography-body1-font-family",Nt),Yt=i.FtCssVariable.extend("--ft-typography-body1-font-size",St.fontSize,"16px"),Jt=i.FtCssVariable.extend("--ft-typography-body1-font-weight",St.fontWeight,"normal"),Qt=i.FtCssVariable.extend("--ft-typography-body1-letter-spacing",St.letterSpacing,"0.496px"),te=i.FtCssVariable.extend("--ft-typography-body1-line-height",St.lineHeight,"24px"),ee=i.FtCssVariable.extend("--ft-typography-body1-text-transform",St.textTransform,"inherit"),re=i.FtCssVariable.extend("--ft-typography-body2-font-family",Nt),ie=i.FtCssVariable.extend("--ft-typography-body2-font-size",St.fontSize,"14px"),ae=i.FtCssVariable.extend("--ft-typography-body2-font-weight",St.fontWeight,"normal"),oe=i.FtCssVariable.extend("--ft-typography-body2-letter-spacing",St.letterSpacing,"0.252px"),pe=i.FtCssVariable.extend("--ft-typography-body2-line-height",St.lineHeight,"20px"),ce=i.FtCssVariable.extend("--ft-typography-body2-text-transform",St.textTransform,"inherit"),se=i.FtCssVariable.extend("--ft-typography-caption-font-family",Nt),ne=i.FtCssVariable.extend("--ft-typography-caption-font-size",St.fontSize,"12px"),de=i.FtCssVariable.extend("--ft-typography-caption-font-weight",St.fontWeight,"normal"),le=i.FtCssVariable.extend("--ft-typography-caption-letter-spacing",St.letterSpacing,"0.396px"),fe=i.FtCssVariable.extend("--ft-typography-caption-line-height",St.lineHeight,"16px"),ue=i.FtCssVariable.extend("--ft-typography-caption-text-transform",St.textTransform,"inherit"),he=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-family",Nt),me=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-size",St.fontSize,"10px"),ye=i.FtCssVariable.extend("--ft-typography-breadcrumb-font-weight",St.fontWeight,"normal"),ge=i.FtCssVariable.extend("--ft-typography-breadcrumb-letter-spacing",St.letterSpacing,"0.33px"),ve=i.FtCssVariable.extend("--ft-typography-breadcrumb-line-height",St.lineHeight,"16px"),be=i.FtCssVariable.extend("--ft-typography-breadcrumb-text-transform",St.textTransform,"inherit"),xe=i.FtCssVariable.extend("--ft-typography-overline-font-family",Nt),Oe=i.FtCssVariable.extend("--ft-typography-overline-font-size",St.fontSize,"10px"),$e=i.FtCssVariable.extend("--ft-typography-overline-font-weight",St.fontWeight,"normal"),we=i.FtCssVariable.extend("--ft-typography-overline-letter-spacing",St.letterSpacing,"1.5px"),Ne=i.FtCssVariable.extend("--ft-typography-overline-line-height",St.lineHeight,"16px"),Se=i.FtCssVariable.extend("--ft-typography-overline-text-transform",St.textTransform,"uppercase"),Re=i.FtCssVariable.extend("--ft-typography-button-font-family",Nt),Fe=i.FtCssVariable.extend("--ft-typography-button-font-size",St.fontSize,"14px"),Ae=i.FtCssVariable.extend("--ft-typography-button-font-weight",St.fontWeight,"600"),Ee=i.FtCssVariable.extend("--ft-typography-button-letter-spacing",St.letterSpacing,"1.246px"),ke=i.FtCssVariable.extend("--ft-typography-button-line-height",St.lineHeight,"16px"),Ce=i.FtCssVariable.extend("--ft-typography-button-text-transform",St.textTransform,"uppercase"),Ue=e.css`
181
+ .ft-typography--title {
182
+ font-family: ${Rt};
183
+ font-size: ${Ft};
184
+ font-weight: ${At};
185
+ letter-spacing: ${Et};
186
+ line-height: ${kt};
187
+ text-transform: ${Ct};
188
+ }
189
+ `,Me=e.css`
190
+ .ft-typography--title-dense {
191
+ font-family: ${Ut};
192
+ font-size: ${Mt};
193
+ font-weight: ${zt};
194
+ letter-spacing: ${Tt};
195
+ line-height: ${Bt};
196
+ text-transform: ${_t};
197
+ }
198
+ `,ze=e.css`
199
+ .ft-typography--subtitle1 {
200
+ font-family: ${Dt};
201
+ font-size: ${Pt};
202
+ font-weight: ${It};
203
+ letter-spacing: ${Lt};
204
+ line-height: ${jt};
205
+ text-transform: ${Ht};
206
+ }
207
+ `,Te=e.css`
208
+ .ft-typography--subtitle2 {
209
+ font-family: ${Wt};
210
+ font-size: ${Vt};
211
+ font-weight: ${Kt};
212
+ letter-spacing: ${Gt};
213
+ line-height: ${Zt};
214
+ text-transform: ${qt};
215
+ }
216
+
217
+ `,Be=e.css`
218
+ .ft-typography--body1 {
219
+ font-family: ${Xt};
220
+ font-size: ${Yt};
221
+ font-weight: ${Jt};
222
+ letter-spacing: ${Qt};
223
+ line-height: ${te};
224
+ text-transform: ${ee};
225
+ }
226
+ `,_e=e.css`
227
+ .ft-typography--body2 {
228
+ font-family: ${re};
229
+ font-size: ${ie};
230
+ font-weight: ${ae};
231
+ letter-spacing: ${oe};
232
+ line-height: ${pe};
233
+ text-transform: ${ce};
234
+ }
235
+ `,De=e.css`
236
+ .ft-typography--caption {
237
+ font-family: ${se};
238
+ font-size: ${ne};
239
+ font-weight: ${de};
240
+ letter-spacing: ${le};
241
+ line-height: ${fe};
242
+ text-transform: ${ue};
243
+ }
244
+ `,Pe=e.css`
245
+ .ft-typography--breadcrumb {
246
+ font-family: ${he};
247
+ font-size: ${me};
248
+ font-weight: ${ye};
249
+ letter-spacing: ${ge};
250
+ line-height: ${ve};
251
+ text-transform: ${be};
252
+ }
253
+ `,Ie=e.css`
254
+ .ft-typography--overline {
255
+ font-family: ${xe};
256
+ font-size: ${Oe};
257
+ font-weight: ${$e};
258
+ letter-spacing: ${we};
259
+ line-height: ${Ne};
260
+ text-transform: ${Se};
261
+ }
262
+ `,Le=e.css`
263
+ .ft-typography--button {
264
+ font-family: ${Re};
265
+ font-size: ${Fe};
266
+ font-weight: ${Ae};
267
+ letter-spacing: ${Ee};
268
+ line-height: ${ke};
269
+ text-transform: ${Ce};
270
+ }
271
+ `;let je=class extends i.FtLitElement{constructor(){super(...arguments),this.variant=Ot.body1}getStyles(){return[Ue,Me,ze,Te,Be,_e,De,Pe,Ie,Le]}getTemplate(){return this.element?xt`
272
+ <${vt(this.element)}
273
+ class="ft-typography ft-typography--${this.variant}">
274
+ <slot></slot>
275
+ </${vt(this.element)}>
276
+ `:xt`
277
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
278
+ `}};$t([r.property()],je.prototype,"element",void 0),$t([r.property()],je.prototype,"variant",void 0),je=$t([i.customElement("ft-typography")],je);var He=function(t,e,r,i){for(var a,o=arguments.length,p=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i,c=t.length-1;c>=0;c--)(a=t[c])&&(p=(o<3?a(p):o>3?a(e,r,p):a(e,r))||p);return o>3&&p&&Object.defineProperty(e,r,p),p};const We={padding:i.FtCssVariable.create("--ft-card-padding","SIZE","12px"),colorPrimary:i.FtCssVariable.external(_.colorPrimary,"Design system"),colorSurface:i.FtCssVariable.external(_.colorSurface,"Design system"),colorOnSurfaceMedium:i.FtCssVariable.external(_.colorOnSurfaceMedium,"Design system"),colorOnSurfaceHigh:i.FtCssVariable.external(_.colorOnSurfaceHigh,"Design system"),borderRadiusM:i.FtCssVariable.external(_.borderRadiusM,"Design system"),elevation02:i.FtCssVariable.external(_.elevation02,"Design system"),elevation04:i.FtCssVariable.external(_.elevation04,"Design system")};t.FtCard=class extends i.FtLitElement{constructor(){super(...arguments),this.title="",this.selected=!1}getStyles(){return e.css`
279
+ :host {
280
+ display: block;
281
+ }
282
+
283
+ #container {
284
+ padding: ${We.padding};
285
+ border-radius: ${We.borderRadiusM};
286
+ box-shadow: ${We.elevation02};
287
+ position: relative;
288
+ width: 100%;
289
+ height: 100%;
290
+ display: block;
291
+ box-sizing: border-box;
292
+ background-color: ${We.colorSurface};
293
+ transition: box-shadow 0.2s linear, color 0.2s linear;
294
+ }
295
+
296
+ #container:hover {
297
+ box-shadow: ${We.elevation04};
298
+ }
299
+
300
+ #container.selected {
301
+ outline: solid 2px ${We.colorPrimary};
302
+ box-shadow: ${We.elevation04};
303
+ }
304
+
305
+ #header:not([hidden]) {
306
+ display: flex;
307
+ margin-bottom: 8px;
308
+ }
309
+
310
+ #header-content {
311
+ margin-left: 4px;
312
+ }
313
+
314
+ .title {
315
+ text-overflow: ellipsis;
316
+ color: ${We.colorOnSurfaceHigh};
317
+ }
318
+
319
+ #content {
320
+ opacity: 1;
321
+ font-size: 15px;
322
+ height: 100%;
323
+ color: ${We.colorOnSurfaceMedium};
324
+ }
325
+
326
+ #action {
327
+ position: absolute;
328
+ top: 0;
329
+ right: 0;
330
+ color: ${We.colorOnSurfaceHigh};
331
+ }
332
+ `}getTemplate(){return e.html`
333
+ <div id="container" part="container" class=${this.selected?"selected":""}>
334
+ <ft-ripple primary></ft-ripple>
335
+ <div id="header" ?hidden=${!this.title} part="header">
336
+ <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
337
+ <div id="header-content">
338
+ <slot name="header"></slot>
339
+ </div>
340
+ </div>
341
+ <div id="content" part="content">
342
+ <slot></slot>
343
+ </div>
344
+ <div id="action" part="action">
345
+ <slot name="action"></slot>
346
+ </div>
347
+ </div>
348
+ `}},t.FtCard.elementDefinitions={"ft-ripple":T,"ft-typography":je},He([r.property()],t.FtCard.prototype,"title",void 0),He([r.property({type:Boolean})],t.FtCard.prototype,"selected",void 0),t.FtCard=He([i.customElement("ft-card")],t.FtCard),t.FtCardCssVariables=We,Object.defineProperty(t,"t",{value:!0})}({},ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.wcUtils,ftGlobals.litClassMap,ftGlobals.litStyleMap);
@@ -58,7 +58,21 @@ function ot(t,e){return(({finisher:t,descriptor:e})=>(i,r)=>{var o;if(void 0===r
58
58
  * @license
59
59
  * Copyright 2021 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
- */class pt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:r}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...r,customElements:t.registry});return s(o,this.constructor.elementStyles),o}}}(Q)){constructor(){super(),this.constructorName=this.constructor.name,this.proto=this.constructor.prototype}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),U`${t.map((t=>U`<style>${t}</style>`))} ${this.getTemplate()}`}adoptedCallback(){Object.getPrototypeOf(this)!==this.constructorName&&Object.setPrototypeOf(this,this.proto)}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var lt,dt;a`.ft-no-text-select{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}`,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(dt=null===(lt=window.safari)||void 0===lt?void 0:lt.pushNotification)||void 0===dt||dt.toString());
61
+ */class pt extends(function(t){return class extends t{createRenderRoot(){const t=this.constructor,{registry:e,elementDefinitions:i,shadowRootOptions:r}=t;i&&!e&&(t.registry=new CustomElementRegistry,Object.entries(i).forEach((([e,i])=>t.registry.define(e,i))));const o=this.renderOptions.creationScope=this.attachShadow({...r,customElements:t.registry});return s(o,this.constructor.elementStyles),o}}}(Q)){constructor(){super(),this.constructorName=this.constructor.name,this.proto=this.constructor.prototype}getStyles(){return[]}getTemplate(){return null}render(){let t=this.getStyles();return Array.isArray(t)||(t=[t]),U`
62
+ ${t.map((t=>U`
63
+ <style>${t}</style>
64
+ `))}
65
+ ${this.getTemplate()}
66
+ `}adoptedCallback(){Object.getPrototypeOf(this)!==this.constructorName&&Object.setPrototypeOf(this,this.proto)}updated(t){super.updated(t),setTimeout((()=>this.contentAvailableCallback(t)),0)}contentAvailableCallback(t){}}var lt,dt;a`
67
+ .ft-no-text-select {
68
+ -webkit-touch-callout: none;
69
+ -webkit-user-select: none;
70
+ -khtml-user-select: none;
71
+ -moz-user-select: none;
72
+ -ms-user-select: none;
73
+ user-select: none;
74
+ }
75
+ `,navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(dt=null===(lt=window.safari)||void 0===lt?void 0:lt.pushNotification)||void 0===dt||dt.toString());
62
76
  /*! *****************************************************************************
63
77
  Copyright (c) Microsoft Corporation.
64
78
 
@@ -196,13 +210,15 @@ const Nt=1,Ct=t=>(...e)=>({_$litDirective$:t,values:e});class At{constructor(t){
196
210
  * Copyright 2018 Google LLC
197
211
  * SPDX-License-Identifier: Apache-2.0
198
212
  */
199
- class Tt extends gt{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=kt}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}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 U`<div class="mdc-ripple-surface mdc-ripple-upgraded ${Mt(i)}" style="${Ft({"--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>`}}ht([ot(".mdc-ripple-surface")],Tt.prototype,"mdcRoot",void 0),ht([it({type:Boolean})],Tt.prototype,"primary",void 0),ht([it({type:Boolean})],Tt.prototype,"accent",void 0),ht([it({type:Boolean})],Tt.prototype,"unbounded",void 0),ht([it({type:Boolean})],Tt.prototype,"disabled",void 0),ht([it({type:Boolean})],Tt.prototype,"activated",void 0),ht([it({type:Boolean})],Tt.prototype,"selected",void 0),ht([it({type:Boolean})],Tt.prototype,"internalUseStateLayerCustomProperties",void 0),ht([rt()],Tt.prototype,"hovering",void 0),ht([rt()],Tt.prototype,"bgFocused",void 0),ht([rt()],Tt.prototype,"fgActivation",void 0),ht([rt()],Tt.prototype,"fgDeactivation",void 0),ht([rt()],Tt.prototype,"fgScale",void 0),ht([rt()],Tt.prototype,"fgSize",void 0),ht([rt()],Tt.prototype,"translateStart",void 0),ht([rt()],Tt.prototype,"translateEnd",void 0),ht([rt()],Tt.prototype,"leftPos",void 0),ht([rt()],Tt.prototype,"topPos",void 0);
213
+ class Tt extends gt{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=kt}get isActive(){return t=this.parentElement||this,e=":active",(t.matches||t.webkitMatchesSelector||t.msMatchesSelector).call(t,e);var t,e}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 U`
214
+ <div class="mdc-ripple-surface mdc-ripple-upgraded ${Mt(i)}"
215
+ style="${Ft({"--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>`}}ht([ot(".mdc-ripple-surface")],Tt.prototype,"mdcRoot",void 0),ht([it({type:Boolean})],Tt.prototype,"primary",void 0),ht([it({type:Boolean})],Tt.prototype,"accent",void 0),ht([it({type:Boolean})],Tt.prototype,"unbounded",void 0),ht([it({type:Boolean})],Tt.prototype,"disabled",void 0),ht([it({type:Boolean})],Tt.prototype,"activated",void 0),ht([it({type:Boolean})],Tt.prototype,"selected",void 0),ht([it({type:Boolean})],Tt.prototype,"internalUseStateLayerCustomProperties",void 0),ht([rt()],Tt.prototype,"hovering",void 0),ht([rt()],Tt.prototype,"bgFocused",void 0),ht([rt()],Tt.prototype,"fgActivation",void 0),ht([rt()],Tt.prototype,"fgDeactivation",void 0),ht([rt()],Tt.prototype,"fgScale",void 0),ht([rt()],Tt.prototype,"fgSize",void 0),ht([rt()],Tt.prototype,"translateStart",void 0),ht([rt()],Tt.prototype,"translateEnd",void 0),ht([rt()],Tt.prototype,"leftPos",void 0),ht([rt()],Tt.prototype,"topPos",void 0);
200
216
  /**
201
217
  * @license
202
218
  * Copyright 2021 Google LLC
203
219
  * SPDX-LIcense-Identifier: Apache-2.0
204
220
  */
205
- const Ut=a`.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:transparent;will-change:transform,opacity;position:relative;outline:0;overflow:hidden}.mdc-ripple-surface::after,.mdc-ripple-surface::before{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::after,.mdc-ripple-surface::before{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]::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-upgraded--unbounded::after,.mdc-ripple-upgraded--unbounded::before{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before{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::after,.mdc-ripple-surface::before{background-color:#000;background-color:var(--mdc-ripple-color,#000)}.mdc-ripple-surface.mdc-ripple-surface--hover::before,.mdc-ripple-surface:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity,.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity,.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:.12;opacity:var(--mdc-ripple-press-opacity,.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(.4,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::after,.mdc-ripple-surface--primary::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.mdc-ripple-surface--primary.mdc-ripple-surface--hover::before,.mdc-ripple-surface--primary:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity,.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:.12;opacity:var(--mdc-ripple-focus-opacity,.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:.12;opacity:var(--mdc-ripple-press-opacity,.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:.12;opacity:var(--mdc-ripple-activated-opacity,.12)}.mdc-ripple-surface--primary--activated::after,.mdc-ripple-surface--primary--activated::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.mdc-ripple-surface--primary--activated.mdc-ripple-surface--hover::before,.mdc-ripple-surface--primary--activated:hover::before{opacity:.16;opacity:var(--mdc-ripple-hover-opacity,.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:.24;opacity:var(--mdc-ripple-focus-opacity,.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:.24;opacity:var(--mdc-ripple-press-opacity,.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:.08;opacity:var(--mdc-ripple-selected-opacity,.08)}.mdc-ripple-surface--primary--selected::after,.mdc-ripple-surface--primary--selected::before{background-color:#6200ee;background-color:var(--mdc-ripple-color,var(--mdc-theme-primary,#6200ee))}.mdc-ripple-surface--primary--selected.mdc-ripple-surface--hover::before,.mdc-ripple-surface--primary--selected:hover::before{opacity:.12;opacity:var(--mdc-ripple-hover-opacity,.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:.2;opacity:var(--mdc-ripple-focus-opacity,.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:.2;opacity:var(--mdc-ripple-press-opacity,.2)}.mdc-ripple-surface--primary--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.2)}.mdc-ripple-surface--accent::after,.mdc-ripple-surface--accent::before{background-color:#018786;background-color:var(--mdc-ripple-color,var(--mdc-theme-secondary,#018786))}.mdc-ripple-surface--accent.mdc-ripple-surface--hover::before,.mdc-ripple-surface--accent:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity,.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:.12;opacity:var(--mdc-ripple-focus-opacity,.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:.12;opacity:var(--mdc-ripple-press-opacity,.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:.12;opacity:var(--mdc-ripple-activated-opacity,.12)}.mdc-ripple-surface--accent--activated::after,.mdc-ripple-surface--accent--activated::before{background-color:#018786;background-color:var(--mdc-ripple-color,var(--mdc-theme-secondary,#018786))}.mdc-ripple-surface--accent--activated.mdc-ripple-surface--hover::before,.mdc-ripple-surface--accent--activated:hover::before{opacity:.16;opacity:var(--mdc-ripple-hover-opacity,.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:.24;opacity:var(--mdc-ripple-focus-opacity,.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:.24;opacity:var(--mdc-ripple-press-opacity,.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:.08;opacity:var(--mdc-ripple-selected-opacity,.08)}.mdc-ripple-surface--accent--selected::after,.mdc-ripple-surface--accent--selected::before{background-color:#018786;background-color:var(--mdc-ripple-color,var(--mdc-theme-secondary,#018786))}.mdc-ripple-surface--accent--selected.mdc-ripple-surface--hover::before,.mdc-ripple-surface--accent--selected:hover::before{opacity:.12;opacity:var(--mdc-ripple-hover-opacity,.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:.2;opacity:var(--mdc-ripple-focus-opacity,.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:.2;opacity:var(--mdc-ripple-press-opacity,.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::after,.mdc-ripple-surface--internal-use-state-layer-custom-properties::before{background-color:#000;background-color:var(--mdc-ripple-hover-state-layer-color,#000)}.mdc-ripple-surface--internal-use-state-layer-custom-properties.mdc-ripple-surface--hover::before,.mdc-ripple-surface--internal-use-state-layer-custom-properties:hover::before{opacity:.04;opacity:var(--mdc-ripple-hover-state-layer-opacity,.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:.12;opacity:var(--mdc-ripple-focus-state-layer-opacity,.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:.12;opacity:var(--mdc-ripple-pressed-state-layer-opacity,.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)}`
221
+ const Ut=a`.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)}`
206
222
  /**
207
223
  * @license
208
224
  * Copyright 2018 Google LLC
@@ -213,7 +229,34 @@ const Ut=a`.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-
213
229
  * Copyright 2020 Google LLC
214
230
  * SPDX-License-Identifier: Apache-2.0
215
231
  */
216
- class _t{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()}))}}}var zt=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const Dt=st.extend("--ft-ripple-color",ct.colorContent),Bt=st.extend("--ft-ripple-primary-color",st.extend("--ft-ripple-color",ct.colorPrimary)),Pt=st.extend("--ft-ripple-secondary-color",st.extend("--ft-ripple-color",ct.colorSecondary)),Lt=st.external(ct.opacityContentOnSurfacePressed,"Design system"),It=st.external(ct.opacityContentOnSurfaceHover,"Design system"),Ht=st.external(ct.opacityContentOnSurfaceFocused,"Design system"),Wt=st.external(ct.opacityContentOnSurfaceSelected,"Design system"),Vt=st.external(ct.opacityContentOnSurfaceDragged,"Design system");let Kt=class extends pt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1}getStyles(){return a`:host{display:contents;--mdc-ripple-color:${Dt}--mdc-ripple-press-opacity:${Lt}--mdc-ripple-hover-opacity:${It}--mdc-ripple-focus-opacity:${Ht}--mdc-ripple-selected-opacity:${Wt}--mdc-ripple-activated-opacity:${Vt}}mwc-ripple.ft-ripple--secondary{--mdc-ripple-color:${Pt}}mwc-ripple.ft-ripple--primary{--mdc-ripple-color:${Bt}}`}getTemplate(){return U`<mwc-ripple class="${this.primary?"ft-ripple--primary":this.secondary?"ft-ripple--secondary":""}" ?unbounded="${this.unbounded}" ?activated="${this.activated}" ?selected="${this.selected}" ?disabled="${this.disabled}"></mwc-ripple>`}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple()}endRipple(){var t,e,i;null===(t=this.rippleHandlers)||void 0===t||t.endHover(),null===(e=this.rippleHandlers)||void 0===e||e.endFocus(),null===(i=this.rippleHandlers)||void 0===i||i.endPress()}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentNode;if(e){const t=new _t((async()=>this.mwcRipple)),i=(...e)=>i=>{e.forEach((e=>window.addEventListener(e,t.endPress,{once:!0}))),t.startPress(i)},r=i("mouseup"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")()};e.addEventListener("mouseenter",t.startHover),e.addEventListener("mouseleave",t.endHover),e.addEventListener("mousedown",r),e.addEventListener("touchstart",o),e.addEventListener("keydown",n),e.addEventListener("focus",t.startFocus),e.addEventListener("blur",t.endFocus),this.onDisconnect=()=>{e.removeEventListener("mouseenter",t.startHover),e.removeEventListener("mouseleave",t.endHover),e.removeEventListener("mousedown",r),e.removeEventListener("touchstart",o),e.removeEventListener("keydown",n),e.removeEventListener("focus",t.startFocus),e.removeEventListener("blur",t.endFocus)},this.rippleHandlers=t}}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Kt.elementDefinitions={"mwc-ripple":jt},zt([it({type:Boolean})],Kt.prototype,"primary",void 0),zt([it({type:Boolean})],Kt.prototype,"secondary",void 0),zt([it({type:Boolean})],Kt.prototype,"unbounded",void 0),zt([it({type:Boolean})],Kt.prototype,"activated",void 0),zt([it({type:Boolean})],Kt.prototype,"selected",void 0),zt([it({type:Boolean})],Kt.prototype,"disabled",void 0),zt([ot("mwc-ripple")],Kt.prototype,"mwcRipple",void 0),Kt=zt([at("ft-ripple")],Kt);
232
+ class _t{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()}))}}}var zt=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const Dt=st.extend("--ft-ripple-color",ct.colorContent),Bt=st.extend("--ft-ripple-primary-color",st.extend("--ft-ripple-color",ct.colorPrimary)),Pt=st.extend("--ft-ripple-secondary-color",st.extend("--ft-ripple-color",ct.colorSecondary)),Lt=st.external(ct.opacityContentOnSurfacePressed,"Design system"),It=st.external(ct.opacityContentOnSurfaceHover,"Design system"),Ht=st.external(ct.opacityContentOnSurfaceFocused,"Design system"),Wt=st.external(ct.opacityContentOnSurfaceSelected,"Design system"),Vt=st.external(ct.opacityContentOnSurfaceDragged,"Design system");let Kt=class extends pt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1}getStyles(){return a`
233
+ :host {
234
+ display: contents;
235
+
236
+ --mdc-ripple-color: ${Dt};
237
+ --mdc-ripple-press-opacity: ${Lt};
238
+ --mdc-ripple-hover-opacity: ${It};
239
+ --mdc-ripple-focus-opacity: ${Ht};
240
+ --mdc-ripple-selected-opacity: ${Wt};
241
+ --mdc-ripple-activated-opacity: ${Vt};
242
+ }
243
+
244
+ mwc-ripple.ft-ripple--secondary {
245
+ --mdc-ripple-color: ${Pt};
246
+ }
247
+
248
+ mwc-ripple.ft-ripple--primary {
249
+ --mdc-ripple-color: ${Bt};
250
+ }
251
+ `}getTemplate(){return U`
252
+ <mwc-ripple
253
+ class="${this.primary?"ft-ripple--primary":this.secondary?"ft-ripple--secondary":""}"
254
+ ?unbounded=${this.unbounded}
255
+ ?activated=${this.activated}
256
+ ?selected=${this.selected}
257
+ ?disabled=${this.disabled}
258
+ ></mwc-ripple>
259
+ `}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.endRipple()}endRipple(){var t,e,i;null===(t=this.rippleHandlers)||void 0===t||t.endHover(),null===(e=this.rippleHandlers)||void 0===e||e.endFocus(),null===(i=this.rippleHandlers)||void 0===i||i.endPress()}connectedCallback(){var t;super.connectedCallback();const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentNode;if(e){const t=new _t((async()=>this.mwcRipple)),i=(...e)=>i=>{e.forEach((e=>window.addEventListener(e,t.endPress,{once:!0}))),t.startPress(i)},r=i("mouseup"),o=i("touchend","touchcancel"),n=t=>{["Enter"," "].includes(t.key)&&i("keyup")()};e.addEventListener("mouseenter",t.startHover),e.addEventListener("mouseleave",t.endHover),e.addEventListener("mousedown",r),e.addEventListener("touchstart",o),e.addEventListener("keydown",n),e.addEventListener("focus",t.startFocus),e.addEventListener("blur",t.endFocus),this.onDisconnect=()=>{e.removeEventListener("mouseenter",t.startHover),e.removeEventListener("mouseleave",t.endHover),e.removeEventListener("mousedown",r),e.removeEventListener("touchstart",o),e.removeEventListener("keydown",n),e.removeEventListener("focus",t.startFocus),e.removeEventListener("blur",t.endFocus)},this.rippleHandlers=t}}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Kt.elementDefinitions={"mwc-ripple":jt},zt([it({type:Boolean})],Kt.prototype,"primary",void 0),zt([it({type:Boolean})],Kt.prototype,"secondary",void 0),zt([it({type:Boolean})],Kt.prototype,"unbounded",void 0),zt([it({type:Boolean})],Kt.prototype,"activated",void 0),zt([it({type:Boolean})],Kt.prototype,"selected",void 0),zt([it({type:Boolean})],Kt.prototype,"disabled",void 0),zt([ot("mwc-ripple")],Kt.prototype,"mwcRipple",void 0),Kt=zt([at("ft-ripple")],Kt);
217
260
  /**
218
261
  * @license
219
262
  * Copyright 2020 Google LLC
@@ -317,4 +360,74 @@ const Zt=t=>({_$litStatic$:t}),Gt=new Map,qt=(t=>(e,...i)=>{var r;const o=i.leng
317
360
  </${Zt(this.element)}>
318
361
  `:qt`
319
362
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
320
- `}};Jt([it()],vi.prototype,"element",void 0),Jt([it()],vi.prototype,"variant",void 0),vi=Jt([at("ft-typography")],vi);var gi=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const bi={padding:st.create("--ft-card-padding","SIZE","12px"),colorPrimary:st.external(ct.colorPrimary,"Design system"),colorSurface:st.external(ct.colorSurface,"Design system"),colorOnSurfaceMedium:st.external(ct.colorOnSurfaceMedium,"Design system"),colorOnSurfaceHigh:st.external(ct.colorOnSurfaceHigh,"Design system"),borderRadiusM:st.external(ct.borderRadiusM,"Design system"),elevation02:st.external(ct.elevation02,"Design system"),elevation04:st.external(ct.elevation04,"Design system")};t.FtCard=class extends pt{constructor(){super(...arguments),this.title="",this.selected=!1}getStyles(){return a`:host{display:block}#container{padding:${bi.padding};border-radius:${bi.borderRadiusM};box-shadow:${bi.elevation02};position:relative;width:100%;height:100%;display:block;box-sizing:border-box;background-color:${bi.colorSurface};transition:box-shadow .2s linear,color .2s linear}#container:hover{box-shadow:${bi.elevation04}}#container.selected{outline:solid 2px ${bi.colorPrimary};box-shadow:${bi.elevation04}}#header:not([hidden]){display:flex;margin-bottom:8px}#header-content{margin-left:4px}.title{text-overflow:ellipsis;color:${bi.colorOnSurfaceHigh}}#content{opacity:1;font-size:15px;height:100%;color:${bi.colorOnSurfaceMedium}}#action{position:absolute;top:0;right:0;color:${bi.colorOnSurfaceHigh}}`}getTemplate(){return U`<div id="container" part="container" class="${this.selected?"selected":""}"><ft-ripple primary></ft-ripple><div id="header" ?hidden="${!this.title}" part="header"><ft-typography class="title" element="span" variant="title">${this.title}</ft-typography><div id="header-content"><slot name="header"></slot></div></div><div id="content" part="content"><slot></slot></div><div id="action" part="action"><slot name="action"></slot></div></div>`}},t.FtCard.elementDefinitions={"ft-ripple":Kt,"ft-typography":vi},gi([it()],t.FtCard.prototype,"title",void 0),gi([it({type:Boolean})],t.FtCard.prototype,"selected",void 0),t.FtCard=gi([at("ft-card")],t.FtCard),t.FtCardCssVariables=bi,Object.defineProperty(t,"t",{value:!0})}({});
363
+ `}};Jt([it()],vi.prototype,"element",void 0),Jt([it()],vi.prototype,"variant",void 0),vi=Jt([at("ft-typography")],vi);var gi=function(t,e,i,r){for(var o,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,s=t.length-1;s>=0;s--)(o=t[s])&&(a=(n<3?o(a):n>3?o(e,i,a):o(e,i))||a);return n>3&&a&&Object.defineProperty(e,i,a),a};const bi={padding:st.create("--ft-card-padding","SIZE","12px"),colorPrimary:st.external(ct.colorPrimary,"Design system"),colorSurface:st.external(ct.colorSurface,"Design system"),colorOnSurfaceMedium:st.external(ct.colorOnSurfaceMedium,"Design system"),colorOnSurfaceHigh:st.external(ct.colorOnSurfaceHigh,"Design system"),borderRadiusM:st.external(ct.borderRadiusM,"Design system"),elevation02:st.external(ct.elevation02,"Design system"),elevation04:st.external(ct.elevation04,"Design system")};t.FtCard=class extends pt{constructor(){super(...arguments),this.title="",this.selected=!1}getStyles(){return a`
364
+ :host {
365
+ display: block;
366
+ }
367
+
368
+ #container {
369
+ padding: ${bi.padding};
370
+ border-radius: ${bi.borderRadiusM};
371
+ box-shadow: ${bi.elevation02};
372
+ position: relative;
373
+ width: 100%;
374
+ height: 100%;
375
+ display: block;
376
+ box-sizing: border-box;
377
+ background-color: ${bi.colorSurface};
378
+ transition: box-shadow 0.2s linear, color 0.2s linear;
379
+ }
380
+
381
+ #container:hover {
382
+ box-shadow: ${bi.elevation04};
383
+ }
384
+
385
+ #container.selected {
386
+ outline: solid 2px ${bi.colorPrimary};
387
+ box-shadow: ${bi.elevation04};
388
+ }
389
+
390
+ #header:not([hidden]) {
391
+ display: flex;
392
+ margin-bottom: 8px;
393
+ }
394
+
395
+ #header-content {
396
+ margin-left: 4px;
397
+ }
398
+
399
+ .title {
400
+ text-overflow: ellipsis;
401
+ color: ${bi.colorOnSurfaceHigh};
402
+ }
403
+
404
+ #content {
405
+ opacity: 1;
406
+ font-size: 15px;
407
+ height: 100%;
408
+ color: ${bi.colorOnSurfaceMedium};
409
+ }
410
+
411
+ #action {
412
+ position: absolute;
413
+ top: 0;
414
+ right: 0;
415
+ color: ${bi.colorOnSurfaceHigh};
416
+ }
417
+ `}getTemplate(){return U`
418
+ <div id="container" part="container" class=${this.selected?"selected":""}>
419
+ <ft-ripple primary></ft-ripple>
420
+ <div id="header" ?hidden=${!this.title} part="header">
421
+ <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
422
+ <div id="header-content">
423
+ <slot name="header"></slot>
424
+ </div>
425
+ </div>
426
+ <div id="content" part="content">
427
+ <slot></slot>
428
+ </div>
429
+ <div id="action" part="action">
430
+ <slot name="action"></slot>
431
+ </div>
432
+ </div>
433
+ `}},t.FtCard.elementDefinitions={"ft-ripple":Kt,"ft-typography":vi},gi([it()],t.FtCard.prototype,"title",void 0),gi([it({type:Boolean})],t.FtCard.prototype,"selected",void 0),t.FtCard=gi([at("ft-card")],t.FtCard),t.FtCardCssVariables=bi,Object.defineProperty(t,"t",{value:!0})}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-card",
3
- "version": "0.1.3",
3
+ "version": "0.1.7",
4
4
  "description": "A file uploader with drag and drop",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,10 +19,10 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-ripple": "^0.1.3",
23
- "@fluid-topics/ft-typography": "^0.1.3",
24
- "@fluid-topics/ft-wc-utils": "^0.1.3",
22
+ "@fluid-topics/ft-ripple": "^0.1.7",
23
+ "@fluid-topics/ft-typography": "^0.1.7",
24
+ "@fluid-topics/ft-wc-utils": "^0.1.7",
25
25
  "lit": "^2.0.2"
26
26
  },
27
- "gitHead": "2fa53411ddb04226db4922bd0ad671fb2aed389c"
27
+ "gitHead": "78397cca67971191c46739cfb6c87481aaa65745"
28
28
  }