@fluid-topics/ft-floating-menu 1.1.7 → 1.1.9

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.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=e.call(i,t);f||(f=p(t),o.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=f(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(on){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let f=e.call(i,t);f||(f=p(t),o.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=f(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(fn){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -122,9 +122,9 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
122
122
  display: inline-block;
123
123
  width: 0;
124
124
  }
125
- `;window.ftReduxStores||(window.ftReduxStores={});const Mo=Symbol("elementInternals");var Do,Po,Ho;const jo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ho=null===(Po=null===(Do=window.safari)||void 0===Do?void 0:Do.pushNotification)||void 0===Po?void 0:Po.toString())&&void 0!==Ho?Ho:""),To={zIndex:vo.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:vo.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:vo.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:vo.extend("--ft-floating-menu-text-color","",Ro.colorOnSurfaceHigh),colorSurface:vo.external(Ro.colorSurface,"Design system"),menuElevation:vo.external(Ro.elevation02,"Design system"),borderRadiusS:vo.external(Ro.borderRadiusS,"Design system")},_o=xt`
125
+ `;function Mo(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Do,Po,Ho;const jo=Symbol("internalReduxEventsUnsubscribers"),To=Symbol("internalStoresUnsubscribers"),_o=Symbol("internalStores");class Go extends Fo{constructor(){super(...arguments),this[Do]=new Map,this[Po]=new Map,this[Ho]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[_o].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_o].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[_o].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Mo(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[_o].delete(o)}setupStore(t,o){this[_o].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_o].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[To].has(t.store):this[To].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[To].set(t,o.subscribe((()=>this.updateFromStores()))),Mo(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[jo].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[To].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[jo].forEach((t=>t())),this[jo]=[]}unsubscribeFromStore(t){this[To].has(t)&&this[To].get(t)(),this[To].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Do=To,Po=_o,Ho=jo,Go.reduxProperties=new Map,Go.reduxReactiveProperties=new Set,Go.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Yo=Symbol("elementInternals");var Vo,Jo,qo;const Xo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(qo=null===(Jo=null===(Vo=window.safari)||void 0===Vo?void 0:Vo.pushNotification)||void 0===Jo?void 0:Jo.toString())&&void 0!==qo?qo:""),Qo={zIndex:vo.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:vo.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:vo.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:vo.extend("--ft-floating-menu-text-color","",Ro.colorOnSurfaceHigh),colorSurface:vo.external(Ro.colorSurface,"Design system"),menuElevation:vo.external(Ro.elevation02,"Design system"),borderRadiusS:vo.external(Ro.borderRadiusS,"Design system")},te=xt`
126
126
  .ft-floating-menu {
127
- color: ${To.textColor};
127
+ color: ${Qo.textColor};
128
128
  display: inline-block;
129
129
  }
130
130
 
@@ -141,19 +141,19 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
141
141
  display: none;
142
142
  position: relative;
143
143
  overflow: auto;
144
- max-width: ${To.maxWidth};
145
- max-height: ${To.maxHeight};
146
- box-shadow: ${To.menuElevation};
147
- background-color: ${To.colorSurface};
148
- border-radius: ${To.borderRadiusS};
149
- color: ${To.textColor};
150
- z-index: ${To.zIndex};
144
+ max-width: ${Qo.maxWidth};
145
+ max-height: ${Qo.maxHeight};
146
+ box-shadow: ${Qo.menuElevation};
147
+ background-color: ${Qo.colorSurface};
148
+ border-radius: ${Qo.borderRadiusS};
149
+ color: ${Qo.textColor};
150
+ z-index: ${Qo.zIndex};
151
151
  }
152
152
 
153
153
  .ft-floating-menu--open .ft-floating-menu--options {
154
154
  display: block;
155
155
  }
156
- `,Go=vo.extend("--ft-ripple-color","",Ro.colorContent),Yo={color:Go,backgroundColor:vo.extend("--ft-ripple-background-color","",Go),opacityContentOnSurfacePressed:vo.external(Ro.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vo.external(Ro.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vo.external(Ro.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vo.external(Ro.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vo.create("--ft-ripple-border-radius","","SIZE","0px")},Vo=vo.extend("--ft-ripple-color","",Ro.colorPrimary),Jo=Vo,qo=vo.extend("--ft-ripple-background-color","",Vo),Xo=vo.extend("--ft-ripple-color","",Ro.colorSecondary),Qo=Xo,te=vo.extend("--ft-ripple-background-color","",Xo),oe=xt`
156
+ `,oe=vo.extend("--ft-ripple-color","",Ro.colorContent),ee={color:oe,backgroundColor:vo.extend("--ft-ripple-background-color","",oe),opacityContentOnSurfacePressed:vo.external(Ro.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vo.external(Ro.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vo.external(Ro.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vo.external(Ro.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vo.create("--ft-ripple-border-radius","","SIZE","0px")},ie=vo.extend("--ft-ripple-color","",Ro.colorPrimary),re=ie,ne=vo.extend("--ft-ripple-background-color","",ie),ae=vo.extend("--ft-ripple-color","",Ro.colorSecondary),se=ae,le=vo.extend("--ft-ripple-background-color","",ae),ce=xt`
157
157
  :host {
158
158
  display: contents;
159
159
  }
@@ -166,7 +166,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
166
166
 
167
167
  .ft-ripple:not(.ft-ripple--unbounded) {
168
168
  overflow: hidden;
169
- border-radius: ${Yo.borderRadius};
169
+ border-radius: ${ee.borderRadius};
170
170
  }
171
171
 
172
172
  .ft-ripple .ft-ripple--background,
@@ -200,27 +200,27 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
200
200
  }
201
201
 
202
202
  .ft-ripple .ft-ripple--background {
203
- background-color: ${Yo.backgroundColor};
203
+ background-color: ${ee.backgroundColor};
204
204
  }
205
205
 
206
206
  .ft-ripple .ft-ripple--effect {
207
- background-color: ${Yo.color};
207
+ background-color: ${ee.color};
208
208
  }
209
209
 
210
210
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
211
- background-color: ${te};
211
+ background-color: ${le};
212
212
  }
213
213
 
214
214
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
215
- background-color: ${Qo};
215
+ background-color: ${se};
216
216
  }
217
217
 
218
218
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
219
- background-color: ${qo};
219
+ background-color: ${ne};
220
220
  }
221
221
 
222
222
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
223
- background-color: ${Jo};
223
+ background-color: ${re};
224
224
  }
225
225
 
226
226
  .ft-ripple .ft-ripple--background {
@@ -250,117 +250,117 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
250
250
  }
251
251
 
252
252
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
253
- opacity: ${Yo.opacityContentOnSurfaceHover};
253
+ opacity: ${ee.opacityContentOnSurfaceHover};
254
254
  }
255
255
 
256
256
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
257
- opacity: ${Yo.opacityContentOnSurfaceSelected};
257
+ opacity: ${ee.opacityContentOnSurfaceSelected};
258
258
  }
259
259
 
260
260
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
261
- opacity: ${Yo.opacityContentOnSurfaceFocused};
261
+ opacity: ${ee.opacityContentOnSurfaceFocused};
262
262
  }
263
263
 
264
264
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
265
- opacity: ${Yo.opacityContentOnSurfacePressed};
265
+ opacity: ${ee.opacityContentOnSurfacePressed};
266
266
  transform: translate(-50%, -50%) scale(1);
267
267
  }
268
- `;const ee=vo.extend("--ft-typography-font-family","",Ro.titleFont),ie=vo.extend("--ft-typography-font-family","",Ro.contentFont),re={fontFamily:ie,fontSize:vo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:vo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:vo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:vo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:vo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ne=vo.extend("--ft-typography-title-font-family","",ee),ae=vo.extend("--ft-typography-title-font-size","",re.fontSize,"20px"),se=vo.extend("--ft-typography-title-font-weight","",re.fontWeight,"normal"),le=vo.extend("--ft-typography-title-letter-spacing","",re.letterSpacing,"0.15px"),ce=vo.extend("--ft-typography-title-line-height","",re.lineHeight,"1.2"),fe=vo.extend("--ft-typography-title-text-transform","",re.textTransform,"inherit"),pe=vo.extend("--ft-typography-title-dense-font-family","",ee),he=vo.extend("--ft-typography-title-dense-font-size","",re.fontSize,"14px"),de=vo.extend("--ft-typography-title-dense-font-weight","",re.fontWeight,"normal"),ue=vo.extend("--ft-typography-title-dense-letter-spacing","",re.letterSpacing,"0.105px"),ye=vo.extend("--ft-typography-title-dense-line-height","",re.lineHeight,"1.7"),ge=vo.extend("--ft-typography-title-dense-text-transform","",re.textTransform,"inherit"),be=vo.extend("--ft-typography-subtitle1-font-family","",ie),me=vo.extend("--ft-typography-subtitle1-font-size","",re.fontSize,"16px"),xe=vo.extend("--ft-typography-subtitle1-font-weight","",re.fontWeight,"600"),Oe=vo.extend("--ft-typography-subtitle1-letter-spacing","",re.letterSpacing,"0.144px"),ve=vo.extend("--ft-typography-subtitle1-line-height","",re.lineHeight,"1.5"),Ne=vo.extend("--ft-typography-subtitle1-text-transform","",re.textTransform,"inherit"),Se=vo.extend("--ft-typography-subtitle2-font-family","",ie),we=vo.extend("--ft-typography-subtitle2-font-size","",re.fontSize,"14px"),Ce=vo.extend("--ft-typography-subtitle2-font-weight","",re.fontWeight,"normal"),$e=vo.extend("--ft-typography-subtitle2-letter-spacing","",re.letterSpacing,"0.098px"),Re=vo.extend("--ft-typography-subtitle2-line-height","",re.lineHeight,"1.7"),Ee=vo.extend("--ft-typography-subtitle2-text-transform","",re.textTransform,"inherit"),Ue=vo.extend("--ft-typography-body1-font-family","",ie),ke=vo.extend("--ft-typography-body1-font-size","",re.fontSize,"16px"),Ie=vo.extend("--ft-typography-body1-font-weight","",re.fontWeight,"normal"),We=vo.extend("--ft-typography-body1-letter-spacing","",re.letterSpacing,"0.496px"),Le=vo.extend("--ft-typography-body1-line-height","",re.lineHeight,"1.5"),Ke=vo.extend("--ft-typography-body1-text-transform","",re.textTransform,"inherit"),ze=vo.extend("--ft-typography-body2-font-family","",ie),Fe=vo.extend("--ft-typography-body2-font-size","",re.fontSize,"14px"),Ze=vo.extend("--ft-typography-body2-font-weight","",re.fontWeight,"normal"),Be=vo.extend("--ft-typography-body2-letter-spacing","",re.letterSpacing,"0.252px"),Ae=vo.extend("--ft-typography-body2-line-height","",re.lineHeight,"1.4"),Me=vo.extend("--ft-typography-body2-text-transform","",re.textTransform,"inherit"),De=vo.extend("--ft-typography-caption-font-family","",ie),Pe=vo.extend("--ft-typography-caption-font-size","",re.fontSize,"12px"),He=vo.extend("--ft-typography-caption-font-weight","",re.fontWeight,"normal"),je=vo.extend("--ft-typography-caption-letter-spacing","",re.letterSpacing,"0.396px"),Te=vo.extend("--ft-typography-caption-line-height","",re.lineHeight,"1.33"),_e=vo.extend("--ft-typography-caption-text-transform","",re.textTransform,"inherit"),Ge=vo.extend("--ft-typography-breadcrumb-font-family","",ie),Ye=vo.extend("--ft-typography-breadcrumb-font-size","",re.fontSize,"10px"),Ve=vo.extend("--ft-typography-breadcrumb-font-weight","",re.fontWeight,"normal"),Je=vo.extend("--ft-typography-breadcrumb-letter-spacing","",re.letterSpacing,"0.33px"),qe=vo.extend("--ft-typography-breadcrumb-line-height","",re.lineHeight,"1.6"),Xe=vo.extend("--ft-typography-breadcrumb-text-transform","",re.textTransform,"inherit"),Qe=vo.extend("--ft-typography-overline-font-family","",ie),ti=vo.extend("--ft-typography-overline-font-size","",re.fontSize,"10px"),oi=vo.extend("--ft-typography-overline-font-weight","",re.fontWeight,"normal"),ei=vo.extend("--ft-typography-overline-letter-spacing","",re.letterSpacing,"1.5px"),ii=vo.extend("--ft-typography-overline-line-height","",re.lineHeight,"1.6"),ri=vo.extend("--ft-typography-overline-text-transform","",re.textTransform,"uppercase"),ni={fontFamily:vo.extend("--ft-typography-button-font-family","",ie),fontSize:vo.extend("--ft-typography-button-font-size","",re.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-button-font-weight","",re.fontWeight,"600"),letterSpacing:vo.extend("--ft-typography-button-letter-spacing","",re.letterSpacing,"1.246px"),lineHeight:vo.extend("--ft-typography-button-line-height","",re.lineHeight,"1.15"),textTransform:vo.extend("--ft-typography-button-text-transform","",re.textTransform,"uppercase")},ai=xt`
268
+ `;const fe=vo.extend("--ft-typography-font-family","",Ro.titleFont),pe=vo.extend("--ft-typography-font-family","",Ro.contentFont),he={fontFamily:pe,fontSize:vo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:vo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:vo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:vo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:vo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},de=vo.extend("--ft-typography-title-font-family","",fe),ue=vo.extend("--ft-typography-title-font-size","",he.fontSize,"20px"),ye=vo.extend("--ft-typography-title-font-weight","",he.fontWeight,"normal"),ge=vo.extend("--ft-typography-title-letter-spacing","",he.letterSpacing,"0.15px"),be=vo.extend("--ft-typography-title-line-height","",he.lineHeight,"1.2"),me=vo.extend("--ft-typography-title-text-transform","",he.textTransform,"inherit"),xe=vo.extend("--ft-typography-title-dense-font-family","",fe),Oe=vo.extend("--ft-typography-title-dense-font-size","",he.fontSize,"14px"),ve=vo.extend("--ft-typography-title-dense-font-weight","",he.fontWeight,"normal"),Ne=vo.extend("--ft-typography-title-dense-letter-spacing","",he.letterSpacing,"0.105px"),Se=vo.extend("--ft-typography-title-dense-line-height","",he.lineHeight,"1.7"),we=vo.extend("--ft-typography-title-dense-text-transform","",he.textTransform,"inherit"),Ce=vo.extend("--ft-typography-subtitle1-font-family","",pe),$e=vo.extend("--ft-typography-subtitle1-font-size","",he.fontSize,"16px"),Re=vo.extend("--ft-typography-subtitle1-font-weight","",he.fontWeight,"600"),Ee=vo.extend("--ft-typography-subtitle1-letter-spacing","",he.letterSpacing,"0.144px"),Ue=vo.extend("--ft-typography-subtitle1-line-height","",he.lineHeight,"1.5"),ke=vo.extend("--ft-typography-subtitle1-text-transform","",he.textTransform,"inherit"),Ie=vo.extend("--ft-typography-subtitle2-font-family","",pe),We=vo.extend("--ft-typography-subtitle2-font-size","",he.fontSize,"14px"),Le=vo.extend("--ft-typography-subtitle2-font-weight","",he.fontWeight,"normal"),Ke=vo.extend("--ft-typography-subtitle2-letter-spacing","",he.letterSpacing,"0.098px"),ze=vo.extend("--ft-typography-subtitle2-line-height","",he.lineHeight,"1.7"),Fe=vo.extend("--ft-typography-subtitle2-text-transform","",he.textTransform,"inherit"),Ze=vo.extend("--ft-typography-body1-font-family","",pe),Be=vo.extend("--ft-typography-body1-font-size","",he.fontSize,"16px"),Ae=vo.extend("--ft-typography-body1-font-weight","",he.fontWeight,"normal"),Me=vo.extend("--ft-typography-body1-letter-spacing","",he.letterSpacing,"0.496px"),De=vo.extend("--ft-typography-body1-line-height","",he.lineHeight,"1.5"),Pe=vo.extend("--ft-typography-body1-text-transform","",he.textTransform,"inherit"),He=vo.extend("--ft-typography-body2-font-family","",pe),je=vo.extend("--ft-typography-body2-font-size","",he.fontSize,"14px"),Te=vo.extend("--ft-typography-body2-font-weight","",he.fontWeight,"normal"),_e=vo.extend("--ft-typography-body2-letter-spacing","",he.letterSpacing,"0.252px"),Ge=vo.extend("--ft-typography-body2-line-height","",he.lineHeight,"1.4"),Ye=vo.extend("--ft-typography-body2-text-transform","",he.textTransform,"inherit"),Ve=vo.extend("--ft-typography-caption-font-family","",pe),Je=vo.extend("--ft-typography-caption-font-size","",he.fontSize,"12px"),qe=vo.extend("--ft-typography-caption-font-weight","",he.fontWeight,"normal"),Xe=vo.extend("--ft-typography-caption-letter-spacing","",he.letterSpacing,"0.396px"),Qe=vo.extend("--ft-typography-caption-line-height","",he.lineHeight,"1.33"),ti=vo.extend("--ft-typography-caption-text-transform","",he.textTransform,"inherit"),oi=vo.extend("--ft-typography-breadcrumb-font-family","",pe),ei=vo.extend("--ft-typography-breadcrumb-font-size","",he.fontSize,"10px"),ii=vo.extend("--ft-typography-breadcrumb-font-weight","",he.fontWeight,"normal"),ri=vo.extend("--ft-typography-breadcrumb-letter-spacing","",he.letterSpacing,"0.33px"),ni=vo.extend("--ft-typography-breadcrumb-line-height","",he.lineHeight,"1.6"),ai=vo.extend("--ft-typography-breadcrumb-text-transform","",he.textTransform,"inherit"),si=vo.extend("--ft-typography-overline-font-family","",pe),li=vo.extend("--ft-typography-overline-font-size","",he.fontSize,"10px"),ci=vo.extend("--ft-typography-overline-font-weight","",he.fontWeight,"normal"),fi=vo.extend("--ft-typography-overline-letter-spacing","",he.letterSpacing,"1.5px"),pi=vo.extend("--ft-typography-overline-line-height","",he.lineHeight,"1.6"),hi=vo.extend("--ft-typography-overline-text-transform","",he.textTransform,"uppercase"),di={fontFamily:vo.extend("--ft-typography-button-font-family","",pe),fontSize:vo.extend("--ft-typography-button-font-size","",he.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-button-font-weight","",he.fontWeight,"600"),letterSpacing:vo.extend("--ft-typography-button-letter-spacing","",he.letterSpacing,"1.246px"),lineHeight:vo.extend("--ft-typography-button-line-height","",he.lineHeight,"1.15"),textTransform:vo.extend("--ft-typography-button-text-transform","",he.textTransform,"uppercase")},ui=xt`
269
269
  .ft-typography--title {
270
- font-family: ${ne};
271
- font-size: ${ae};
272
- font-weight: ${se};
273
- letter-spacing: ${le};
274
- line-height: ${ce};
275
- text-transform: ${fe};
270
+ font-family: ${de};
271
+ font-size: ${ue};
272
+ font-weight: ${ye};
273
+ letter-spacing: ${ge};
274
+ line-height: ${be};
275
+ text-transform: ${me};
276
276
  }
277
- `,si=xt`
277
+ `,yi=xt`
278
278
  .ft-typography--title-dense {
279
- font-family: ${pe};
280
- font-size: ${he};
281
- font-weight: ${de};
282
- letter-spacing: ${ue};
283
- line-height: ${ye};
284
- text-transform: ${ge};
279
+ font-family: ${xe};
280
+ font-size: ${Oe};
281
+ font-weight: ${ve};
282
+ letter-spacing: ${Ne};
283
+ line-height: ${Se};
284
+ text-transform: ${we};
285
285
  }
286
- `,li=xt`
286
+ `,gi=xt`
287
287
  .ft-typography--subtitle1 {
288
- font-family: ${be};
289
- font-size: ${me};
290
- font-weight: ${xe};
291
- letter-spacing: ${Oe};
292
- line-height: ${ve};
293
- text-transform: ${Ne};
288
+ font-family: ${Ce};
289
+ font-size: ${$e};
290
+ font-weight: ${Re};
291
+ letter-spacing: ${Ee};
292
+ line-height: ${Ue};
293
+ text-transform: ${ke};
294
294
  }
295
- `,ci=xt`
295
+ `,bi=xt`
296
296
  .ft-typography--subtitle2 {
297
- font-family: ${Se};
298
- font-size: ${we};
299
- font-weight: ${Ce};
300
- letter-spacing: ${$e};
301
- line-height: ${Re};
302
- text-transform: ${Ee};
297
+ font-family: ${Ie};
298
+ font-size: ${We};
299
+ font-weight: ${Le};
300
+ letter-spacing: ${Ke};
301
+ line-height: ${ze};
302
+ text-transform: ${Fe};
303
303
  }
304
304
 
305
- `,fi=xt`
305
+ `,mi=xt`
306
306
  .ft-typography--body1 {
307
- font-family: ${Ue};
308
- font-size: ${ke};
309
- font-weight: ${Ie};
310
- letter-spacing: ${We};
311
- line-height: ${Le};
312
- text-transform: ${Ke};
307
+ font-family: ${Ze};
308
+ font-size: ${Be};
309
+ font-weight: ${Ae};
310
+ letter-spacing: ${Me};
311
+ line-height: ${De};
312
+ text-transform: ${Pe};
313
313
  }
314
- `,pi=xt`
314
+ `,xi=xt`
315
315
  .ft-typography--body2 {
316
- font-family: ${ze};
317
- font-size: ${Fe};
318
- font-weight: ${Ze};
319
- letter-spacing: ${Be};
320
- line-height: ${Ae};
321
- text-transform: ${Me};
316
+ font-family: ${He};
317
+ font-size: ${je};
318
+ font-weight: ${Te};
319
+ letter-spacing: ${_e};
320
+ line-height: ${Ge};
321
+ text-transform: ${Ye};
322
322
  }
323
- `,hi=xt`
323
+ `,Oi=xt`
324
324
  .ft-typography--caption {
325
- font-family: ${De};
326
- font-size: ${Pe};
327
- font-weight: ${He};
328
- letter-spacing: ${je};
329
- line-height: ${Te};
330
- text-transform: ${_e};
325
+ font-family: ${Ve};
326
+ font-size: ${Je};
327
+ font-weight: ${qe};
328
+ letter-spacing: ${Xe};
329
+ line-height: ${Qe};
330
+ text-transform: ${ti};
331
331
  }
332
- `,di=xt`
332
+ `,vi=xt`
333
333
  .ft-typography--breadcrumb {
334
- font-family: ${Ge};
335
- font-size: ${Ye};
336
- font-weight: ${Ve};
337
- letter-spacing: ${Je};
338
- line-height: ${qe};
339
- text-transform: ${Xe};
334
+ font-family: ${oi};
335
+ font-size: ${ei};
336
+ font-weight: ${ii};
337
+ letter-spacing: ${ri};
338
+ line-height: ${ni};
339
+ text-transform: ${ai};
340
340
  }
341
- `,ui=xt`
341
+ `,Ni=xt`
342
342
  .ft-typography--overline {
343
- font-family: ${Qe};
344
- font-size: ${ti};
345
- font-weight: ${oi};
346
- letter-spacing: ${ei};
347
- line-height: ${ii};
348
- text-transform: ${ri};
343
+ font-family: ${si};
344
+ font-size: ${li};
345
+ font-weight: ${ci};
346
+ letter-spacing: ${fi};
347
+ line-height: ${pi};
348
+ text-transform: ${hi};
349
349
  }
350
- `,yi=xt`
350
+ `,Si=xt`
351
351
  .ft-typography--button {
352
- font-family: ${ni.fontFamily};
353
- font-size: ${ni.fontSize};
354
- font-weight: ${ni.fontWeight};
355
- letter-spacing: ${ni.letterSpacing};
356
- line-height: ${ni.lineHeight};
357
- text-transform: ${ni.textTransform};
352
+ font-family: ${di.fontFamily};
353
+ font-size: ${di.fontSize};
354
+ font-weight: ${di.fontWeight};
355
+ letter-spacing: ${di.letterSpacing};
356
+ line-height: ${di.lineHeight};
357
+ text-transform: ${di.textTransform};
358
358
  }
359
- `,gi=xt`
359
+ `,wi=xt`
360
360
  .ft-typography {
361
361
  vertical-align: inherit;
362
362
  }
363
- `,bi=[Object.keys(wo).map((t=>function(t){const o=wo[t];return xt`
363
+ `,Ci=[Object.keys(wo).map((t=>function(t){const o=wo[t];return xt`
364
364
  .ft-typography--${mt(t)} {
365
365
  font-family: ${o.fontFamily};
366
366
  font-size: ${o.fontSize};
@@ -369,7 +369,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
369
369
  line-height: ${o.lineHeight};
370
370
  text-transform: ${o.textCase};
371
371
  }
372
- `}(t)))],mi={color:vo.extend("--ft-loader-color","",Ro.colorPrimary),size:vo.create("--ft-loader-size","","SIZE","80px")},xi=xt`
372
+ `}(t)))],$i={color:vo.extend("--ft-loader-color","",Ro.colorPrimary),size:vo.create("--ft-loader-size","","SIZE","80px")},Ri=xt`
373
373
  :host {
374
374
  line-height: 0;
375
375
  }
@@ -378,8 +378,8 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
378
378
  display: inline-block;
379
379
  position: relative;
380
380
 
381
- width: ${mi.size};
382
- height: ${mi.size};
381
+ width: ${$i.size};
382
+ height: ${$i.size};
383
383
  }
384
384
 
385
385
  .ft-loader div {
@@ -388,7 +388,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
388
388
  width: 25%;
389
389
  height: 25%;
390
390
  border-radius: 50%;
391
- background: ${mi.color};
391
+ background: ${$i.color};
392
392
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
393
393
  }
394
394
 
@@ -435,10 +435,10 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
435
435
  transform: translate(0, 0);
436
436
  }
437
437
  100% {
438
- transform: translate(calc(0.35 * ${mi.size}), 0);
438
+ transform: translate(calc(0.35 * ${$i.size}), 0);
439
439
  }
440
440
  }
441
- `,Oi={size:vo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:vo.extend("--ft-icon-fluid-topics-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:vo.extend("--ft-icon-file-format-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:vo.extend("--ft-icon-material-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:vo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},vi=xt`
441
+ `,Ei={size:vo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:vo.extend("--ft-icon-fluid-topics-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:vo.extend("--ft-icon-file-format-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:vo.extend("--ft-icon-material-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:vo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ui=xt`
442
442
  :host, i.ft-icon {
443
443
  display: inline-flex;
444
444
  align-items: center;
@@ -447,14 +447,14 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
447
447
  }
448
448
 
449
449
  :host {
450
- width: ${Oi.size};
451
- height: ${Oi.size};
450
+ width: ${Ei.size};
451
+ height: ${Ei.size};
452
452
  }
453
453
 
454
454
  i.ft-icon {
455
455
  width: 100%;
456
456
  height: 100%;
457
- font-size: ${Oi.size};
457
+ font-size: ${Ei.size};
458
458
  line-height: 1;
459
459
  font-weight: normal;
460
460
  text-transform: none;
@@ -465,28 +465,28 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
465
465
  text-rendering: auto;
466
466
  -webkit-font-smoothing: antialiased;
467
467
  -moz-osx-font-smoothing: grayscale;
468
- vertical-align: ${Oi.verticalAlign};
468
+ vertical-align: ${Ei.verticalAlign};
469
469
  }
470
470
 
471
471
  i.ft-icon.ft-icon--fluid-topics {
472
- font-family: ${Oi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
472
+ font-family: ${Ei.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
473
473
 
474
474
  /* Ugly fix because font is broken */
475
- font-size: calc(0.75 * ${Oi.size});
476
- line-height: ${Oi.size};
475
+ font-size: calc(0.75 * ${Ei.size});
476
+ line-height: ${Ei.size};
477
477
  position: relative;
478
478
  top: -4%;
479
479
  justify-content: center;
480
480
  }
481
481
 
482
482
  .ft-icon--file-format {
483
- font-family: ${Oi.fileFormatFontFamily}, ft-mime, sans-serif;
483
+ font-family: ${Ei.fileFormatFontFamily}, ft-mime, sans-serif;
484
484
  }
485
485
 
486
486
  .ft-icon--material {
487
- font-family: ${Oi.materialFontFamily}, "Material Icons", sans-serif;
487
+ font-family: ${Ei.materialFontFamily}, "Material Icons", sans-serif;
488
488
  }
489
- `,Ni=vo.extend("--ft-button-color","",Ro.colorPrimary),Si={backgroundColor:vo.extend("--ft-button-background-color","",Ro.colorSurface),borderRadius:vo.extend("--ft-button-border-radius","",Ro.borderRadiusL),color:Ni,fontSize:vo.extend("--ft-button-font-size","",ni.fontSize),iconSize:vo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:vo.extend("--ft-button-ripple-color","",Ni),verticalPadding:vo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:vo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:vo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:vo.external(Ro.colorOpacityDisabled,"Design system")},wi=vo.extend("--ft-button-primary-color","",vo.extend("--ft-button-color","",Ro.colorOnPrimary)),Ci={backgroundColor:vo.extend("--ft-button-primary-background-color","",vo.extend("--ft-button-background-color","",Ro.colorPrimary)),color:wi,rippleColor:vo.extend("--ft-button-primary-ripple-color","",wi)},$i=vo.extend("--ft-button-dense-border-radius","",vo.extend("--ft-button-border-radius","",Ro.borderRadiusM)),Ri=vo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ei=vo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ui=vo.create("--ft-button-dense-icon-padding","","SIZE","4px"),ki=[xt`
489
+ `,ki=vo.extend("--ft-button-color","",Ro.colorPrimary),Ii={backgroundColor:vo.extend("--ft-button-background-color","",Ro.colorSurface),borderRadius:vo.extend("--ft-button-border-radius","",Ro.borderRadiusL),color:ki,fontSize:vo.extend("--ft-button-font-size","",di.fontSize),iconSize:vo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:vo.extend("--ft-button-ripple-color","",ki),verticalPadding:vo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:vo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:vo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:vo.external(Ro.colorOpacityDisabled,"Design system")},Wi=vo.extend("--ft-button-primary-color","",vo.extend("--ft-button-color","",Ro.colorOnPrimary)),Li={backgroundColor:vo.extend("--ft-button-primary-background-color","",vo.extend("--ft-button-background-color","",Ro.colorPrimary)),color:Wi,rippleColor:vo.extend("--ft-button-primary-ripple-color","",Wi)},Ki=vo.extend("--ft-button-dense-border-radius","",vo.extend("--ft-button-border-radius","",Ro.borderRadiusM)),zi=vo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Fi=vo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Zi=vo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Bi=[xt`
490
490
  :host {
491
491
  display: inline-block;
492
492
  max-width: 100%;
@@ -497,7 +497,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
497
497
  box-shadow: 0px 0px 0px transparent;
498
498
  border: 0px solid transparent;
499
499
  text-shadow: 0px 0px 0px transparent;
500
- font-size: ${Si.fontSize};
500
+ font-size: ${Ii.fontSize};
501
501
  }
502
502
 
503
503
  button:hover {
@@ -526,31 +526,31 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
526
526
  border: none;
527
527
  pointer-events: auto;
528
528
 
529
- --ft-button-internal-line-height: max(calc(${Si.fontSize} + 2px), ${Si.iconSize});
530
- --ft-button-internal-color: ${Si.color};
531
- ${No(Oi.size,Si.iconSize)};
532
- ${No(Yo.color,Si.rippleColor)};
529
+ --ft-button-internal-line-height: max(calc(${Ii.fontSize} + 2px), ${Ii.iconSize});
530
+ --ft-button-internal-color: ${Ii.color};
531
+ ${No(Ei.size,Ii.iconSize)};
532
+ ${No(ee.color,Ii.rippleColor)};
533
533
 
534
- border-radius: ${Si.borderRadius};
535
- padding: ${Si.verticalPadding} ${Si.horizontalPadding};
536
- background-color: ${Si.backgroundColor};
534
+ border-radius: ${Ii.borderRadius};
535
+ padding: ${Ii.verticalPadding} ${Ii.horizontalPadding};
536
+ background-color: ${Ii.backgroundColor};
537
537
  color: var(--ft-button-internal-color);
538
538
  -webkit-mask-image: radial-gradient(white, black);
539
539
  }
540
540
 
541
541
  .ft-button.ft-button--outlined {
542
542
  border: 1px solid var(--ft-button-internal-color);
543
- padding: calc(${Si.verticalPadding} - 1px) calc(${Si.horizontalPadding} - 1px);
543
+ padding: calc(${Ii.verticalPadding} - 1px) calc(${Ii.horizontalPadding} - 1px);
544
544
  }
545
545
 
546
546
  .ft-button.ft-button--dense {
547
- padding: ${Ri} ${Ei};
548
- border-radius: ${$i};
549
- gap: ${Ui};
547
+ padding: ${zi} ${Fi};
548
+ border-radius: ${Ki};
549
+ gap: ${Zi};
550
550
  }
551
551
 
552
552
  .ft-button.ft-button--dense.ft-button--outlined {
553
- padding: calc(${Ri} - 1px) calc(${Ei} - 1px);
553
+ padding: calc(${zi} - 1px) calc(${Fi} - 1px);
554
554
  }
555
555
 
556
556
  .ft-button:not([disabled]):hover {
@@ -558,22 +558,22 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
558
558
  }
559
559
 
560
560
  .ft-button--round {
561
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Si.verticalPadding});
561
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ii.verticalPadding});
562
562
  }
563
563
 
564
564
  .ft-button--round.ft-button--dense {
565
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ri});
565
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${zi});
566
566
  }
567
567
 
568
568
  .ft-button[disabled] {
569
569
  filter: grayscale(1);
570
- opacity: ${Si.opacityDisabled};
570
+ opacity: ${Ii.opacityDisabled};
571
571
  }
572
572
 
573
573
  .ft-button.ft-button--primary {
574
- background-color: ${Ci.backgroundColor};
575
- --ft-button-internal-color: ${Ci.color};
576
- ${No(Yo.color,Ci.rippleColor)};
574
+ background-color: ${Li.backgroundColor};
575
+ --ft-button-internal-color: ${Li.color};
576
+ ${No(ee.color,Li.rippleColor)};
577
577
  }
578
578
 
579
579
  .ft-button:focus {
@@ -586,13 +586,13 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
586
586
  white-space: nowrap;
587
587
  text-overflow: ellipsis;
588
588
  display: block;
589
- margin: 0 ${Si.iconPadding};
590
- ${No(ni.fontSize,"1em")};
591
- ${No(ni.lineHeight,"var(--ft-button-internal-line-height)")};
589
+ margin: 0 ${Ii.iconPadding};
590
+ ${No(di.fontSize,"1em")};
591
+ ${No(di.lineHeight,"var(--ft-button-internal-line-height)")};
592
592
  }
593
593
 
594
594
  .ft-button--dense .ft-button--label {
595
- margin: 0 ${Ui};
595
+ margin: 0 ${Zi};
596
596
  }
597
597
 
598
598
  .ft-button--label[hidden] {
@@ -605,13 +605,13 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
605
605
  }
606
606
 
607
607
  .ft-button--label[hidden] + ft-icon {
608
- margin: 0 calc(${Si.horizontalPadding} * -1);
609
- padding: 0 ${Si.verticalPadding};
608
+ margin: 0 calc(${Ii.horizontalPadding} * -1);
609
+ padding: 0 ${Ii.verticalPadding};
610
610
  }
611
611
 
612
612
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
613
- margin: 0 calc(${Ei} * -1);
614
- padding: 0 ${Ri};
613
+ margin: 0 calc(${Fi} * -1);
614
+ padding: 0 ${zi};
615
615
  }
616
616
 
617
617
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -620,39 +620,39 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
620
620
  }
621
621
 
622
622
  ft-loader {
623
- ${No(mi.size,Si.iconSize)};
624
- ${No(mi.color,"var(--ft-button-internal-color)")};
623
+ ${No($i.size,Ii.iconSize)};
624
+ ${No($i.color,"var(--ft-button-internal-color)")};
625
625
  }
626
- `,Bo],Ii=1,Wi=2,Li=t=>(...o)=>({_$litDirective$:t,values:o});let Ki=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
626
+ `,Bo],Ai=1,Mi=2,Di=t=>(...o)=>({_$litDirective$:t,values:o});let Pi=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
627
627
  /**
628
628
  * @license
629
629
  * Copyright 2018 Google LLC
630
630
  * SPDX-License-Identifier: BSD-3-Clause
631
- */const zi=Li(class extends Ki{constructor(t){if(super(t),t.type!==Ii||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return Q}});var Fi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zi extends Fo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return oo`
631
+ */const Hi=Di(class extends Pi{constructor(t){if(super(t),t.type!==Ai||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return Q}});var ji=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ti extends Fo{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new U(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new U(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return oo`
632
632
  <style>
633
633
  .ft-ripple .ft-ripple--effect {
634
634
  left: ${this.originX}px;
635
635
  top: ${this.originY}px;
636
636
  }
637
637
  </style>
638
- <div class="${zi(t)}">
638
+ <div class="${Hi(t)}">
639
639
  <div class="ft-ripple--background"></div>
640
640
  <div class="ft-ripple--effect"></div>
641
641
  </div>
642
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Zi.elementDefinitions={},Zi.styles=oe,Fi([w({type:Boolean})],Zi.prototype,"primary",void 0),Fi([w({type:Boolean})],Zi.prototype,"secondary",void 0),Fi([w({type:Boolean})],Zi.prototype,"unbounded",void 0),Fi([w({type:Boolean})],Zi.prototype,"activated",void 0),Fi([w({type:Boolean})],Zi.prototype,"selected",void 0),Fi([w({type:Boolean})],Zi.prototype,"disabled",void 0),Fi([C()],Zi.prototype,"hovered",void 0),Fi([C()],Zi.prototype,"focused",void 0),Fi([C()],Zi.prototype,"pressed",void 0),Fi([C()],Zi.prototype,"rippling",void 0),Fi([C()],Zi.prototype,"originX",void 0),Fi([C()],Zi.prototype,"originY",void 0),Fi([E(".ft-ripple")],Zi.prototype,"ripple",void 0),Fi([E(".ft-ripple--effect")],Zi.prototype,"rippleEffect",void 0),I("ft-ripple")(Zi);
642
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ti.elementDefinitions={},Ti.styles=ce,ji([w({type:Boolean})],Ti.prototype,"primary",void 0),ji([w({type:Boolean})],Ti.prototype,"secondary",void 0),ji([w({type:Boolean})],Ti.prototype,"unbounded",void 0),ji([w({type:Boolean})],Ti.prototype,"activated",void 0),ji([w({type:Boolean})],Ti.prototype,"selected",void 0),ji([w({type:Boolean})],Ti.prototype,"disabled",void 0),ji([C()],Ti.prototype,"hovered",void 0),ji([C()],Ti.prototype,"focused",void 0),ji([C()],Ti.prototype,"pressed",void 0),ji([C()],Ti.prototype,"rippling",void 0),ji([C()],Ti.prototype,"originX",void 0),ji([C()],Ti.prototype,"originY",void 0),ji([E(".ft-ripple")],Ti.prototype,"ripple",void 0),ji([E(".ft-ripple--effect")],Ti.prototype,"rippleEffect",void 0),I("ft-ripple")(Ti);
643
643
  /**
644
644
  * @license
645
645
  * Copyright 2020 Google LLC
646
646
  * SPDX-License-Identifier: BSD-3-Clause
647
647
  */
648
- const Bi=Symbol.for(""),Ai=t=>{if(t?.r===Bi)return t?._$litStatic$},Mi=t=>({_$litStatic$:t,r:Bi}),Di=new Map,Pi=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Ai(n));)l+=r+o[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=Di.get(t))&&(a.raw=a,Di.set(t,o=a)),e=s}return t(o,...e)})(X);var Hi;!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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Hi||(Hi={}));var ji=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ti extends Fo{constructor(){super(...arguments),this.variant=Hi.body1}render(){return this.element?Pi`
649
- <${Mi(this.element)}
648
+ const _i=Symbol.for(""),Gi=t=>{if(t?.r===_i)return t?._$litStatic$},Yi=t=>({_$litStatic$:t,r:_i}),Vi=new Map,Ji=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Gi(n));)l+=r+o[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=Vi.get(t))&&(a.raw=a,Vi.set(t,o=a)),e=s}return t(o,...e)})(X);var qi;!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",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(qi||(qi={}));var Xi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qi extends Fo{constructor(){super(...arguments),this.variant=qi.body1}render(){return this.element?Ji`
649
+ <${Yi(this.element)}
650
650
  class="ft-typography ft-typography--${this.variant}">
651
651
  <slot></slot>
652
- </${Mi(this.element)}>
653
- `:Pi`
652
+ </${Yi(this.element)}>
653
+ `:Ji`
654
654
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
655
- `}}Ti.styles=[ai,si,li,ci,fi,pi,hi,di,ui,yi,gi,...bi],ji([w()],Ti.prototype,"element",void 0),ji([w()],Ti.prototype,"variant",void 0),I("ft-typography")(Ti);const _i=vo.create("--ft-tooltip-distance","","SIZE","4px"),Gi=vo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Yi=vo.create("--ft-tooltip-background-color","","COLOR","#666666"),Vi=vo.create("--ft-tooltip-z-index","","NUMBER","100"),Ji=vo.external(Ro.borderRadiusS,"Design system"),qi=vo.create("--ft-tooltip-max-width","","SIZE","150px"),Xi=xt`
655
+ `}}Qi.styles=[ui,yi,gi,bi,mi,xi,Oi,vi,Ni,Si,wi,...Ci],Xi([w()],Qi.prototype,"element",void 0),Xi([w()],Qi.prototype,"variant",void 0),I("ft-typography")(Qi);const tr=vo.create("--ft-tooltip-distance","","SIZE","4px"),or=vo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),er=vo.create("--ft-tooltip-background-color","","COLOR","#666666"),ir=vo.create("--ft-tooltip-z-index","","NUMBER","100"),rr=vo.external(Ro.borderRadiusS,"Design system"),nr=vo.create("--ft-tooltip-max-width","","SIZE","150px"),ar=xt`
656
656
  .ft-tooltip--container {
657
657
  display: block;
658
658
  }
@@ -667,21 +667,21 @@ const Bi=Symbol.for(""),Ai=t=>{if(t?.r===Bi)return t?._$litStatic$},Mi=t=>({_$li
667
667
  box-sizing: border-box;
668
668
  overflow: hidden;
669
669
  width: max-content;
670
- max-width: ${qi};
670
+ max-width: ${nr};
671
671
  text-align: center;
672
- padding: ${_i};
673
- z-index: ${Vi};
672
+ padding: ${tr};
673
+ z-index: ${ir};
674
674
  }
675
675
 
676
676
  .ft-tooltip--content {
677
677
  padding: 4px 8px;
678
- border-radius: ${Ji};
679
- background-color: ${Yi};
680
- color: ${Gi};
678
+ border-radius: ${rr};
679
+ background-color: ${er};
680
+ color: ${or};
681
681
  position: relative;
682
682
  word-break: break-word;
683
683
  }
684
- `,Qi=["start","end"],tr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Qi[0],o+"-"+Qi[1])),[]),or=Math.min,er=Math.max,ir=Math.round,rr=t=>({x:t,y:t}),nr={left:"right",right:"left",bottom:"top",top:"bottom"},ar={start:"end",end:"start"};function sr(t,o,e){return er(t,or(o,e))}function lr(t,o){return"function"==typeof t?t(o):t}function cr(t){return t.split("-")[0]}function fr(t){return t.split("-")[1]}function pr(t){return"x"===t?"y":"x"}function hr(t){return"y"===t?"height":"width"}function dr(t){return["top","bottom"].includes(cr(t))?"y":"x"}function ur(t){return pr(dr(t))}function yr(t){return t.replace(/left|right|bottom|top/g,(t=>nr[t]))}function gr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function br(t,o,e){let{reference:i,floating:r}=t;const n=dr(o),a=ur(o),s=hr(a),l=cr(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(fr(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function mr(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=lr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===p?"reference":"floating":p],g=gr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=gr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function xr(t,o,e){return(t?[...e.filter((o=>fr(o)===t)),...e.filter((o=>fr(o)!==t))]:e.filter((t=>cr(t)===t))).filter((e=>!t||(fr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ar[t]))}(e)!==e)))}const Or=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=tr,autoAlignment:d=!0,...u}=lr(t,o),y=void 0!==p||h===tr?xr(p||null,d,h):h,g=await mr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=fr(t),r=ur(t),n=hr(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=yr(a)),[a,yr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[cr(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=fr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,fr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}},vr=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=lr(t,o),c={x:e,y:i},f=await mr(o,l),p=dr(cr(r)),h=pr(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=sr(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=sr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...o,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}};function Nr(t){return Cr(t)?(t.nodeName||"").toLowerCase():"#document"}function Sr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function wr(t){var o;return null==(o=(Cr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Cr(t){return t instanceof Node||t instanceof Sr(t).Node}function $r(t){return t instanceof Element||t instanceof Sr(t).Element}function Rr(t){return t instanceof HTMLElement||t instanceof Sr(t).HTMLElement}function Er(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Sr(t).ShadowRoot)}function Ur(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Kr(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function kr(t){return["table","td","th"].includes(Nr(t))}function Ir(t){const o=Wr(),e=Kr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Wr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Lr(t){return["html","body","#document"].includes(Nr(t))}function Kr(t){return Sr(t).getComputedStyle(t)}function zr(t){return $r(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Fr(t){if("html"===Nr(t))return t;const o=t.assignedSlot||t.parentNode||Er(t)&&t.host||wr(t);return Er(o)?o.host:o}function Zr(t){const o=Fr(t);return Lr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Rr(o)&&Ur(o)?o:Zr(o)}function Br(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Zr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Sr(r);return n?o.concat(a,a.visualViewport||[],Ur(r)?r:[],a.frameElement&&e?Br(a.frameElement):[]):o.concat(r,Br(r,[],e))}function Ar(t){const o=Kr(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=Rr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=ir(e)!==n||ir(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function Mr(t){return $r(t)?t:t.contextElement}function Dr(t){const o=Mr(t);if(!Rr(o))return rr(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Ar(o);let a=(n?ir(e.width):e.width)/i,s=(n?ir(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Pr=rr(0);function Hr(t){const o=Sr(t);return Wr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Pr}function jr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Mr(t);let a=rr(1);o&&(i?$r(i)&&(a=Dr(i)):a=Dr(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Sr(t))&&o}(n,e,i)?Hr(n):rr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Sr(n),o=i&&$r(i)?Sr(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Dr(e),o=e.getBoundingClientRect(),i=Kr(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,e=Sr(e).frameElement}}return gr({width:f,height:p,x:l,y:c})}function Tr(t){return jr(wr(t)).left+zr(t).scrollLeft}function _r(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Sr(t),i=wr(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Wr();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=wr(t),e=zr(t),i=t.ownerDocument.body,r=er(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=er(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Tr(t);const s=-e.scrollTop;return"rtl"===Kr(i).direction&&(a+=er(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(wr(t));else if($r(o))i=function(t,o){const e=jr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=Rr(t)?Dr(t):rr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Hr(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return gr(i)}function Gr(t,o){const e=Fr(t);return!(e===o||!$r(e)||Lr(e))&&("fixed"===Kr(e).position||Gr(e,o))}function Yr(t,o,e){const i=Rr(o),r=wr(o),n="fixed"===e,a=jr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=rr(0);if(i||!i&&!n)if(("body"!==Nr(o)||Ur(r))&&(s=zr(o)),i){const t=jr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=Tr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Vr(t,o){return Rr(t)&&"fixed"!==Kr(t).position?o?o(t):t.offsetParent:null}function Jr(t,o){const e=Sr(t);if(!Rr(t))return e;let i=Vr(t,o);for(;i&&kr(i)&&"static"===Kr(i).position;)i=Vr(i,o);return i&&("html"===Nr(i)||"body"===Nr(i)&&"static"===Kr(i).position&&!Ir(i))?e:i||function(t){let o=Fr(t);for(;Rr(o)&&!Lr(o);){if(Ir(o))return o;o=Fr(o)}return null}(t)||e}const qr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=Rr(e),n=wr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=rr(1);const l=rr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Nr(e)||Ur(n))&&(a=zr(e)),Rr(e))){const t=jr(e);s=Dr(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:wr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=Br(t,[],!1).filter((t=>$r(t)&&"body"!==Nr(t))),r=null;const n="fixed"===Kr(t).position;let a=n?Fr(t):t;for(;$r(a)&&!Lr(a);){const o=Kr(a),e=Ir(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Ur(a)&&!e&&Gr(t,a))?i=i.filter((t=>t!==a)):r=o,a=Fr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=_r(o,e,r);return t.top=er(i.top,t.top),t.right=or(i.right,t.right),t.bottom=or(i.bottom,t.bottom),t.left=er(i.left,t.left),t}),_r(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Jr,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Jr,n=this.getDimensions;return{reference:Yr(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ar(t)},getScale:Dr,isElement:$r,isRTL:function(t){return"rtl"===Kr(t).direction}},Xr=(t,o,e)=>{const i=new Map,r={platform:qr,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=br(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=br(c,h,l))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var Qr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class tn extends Fo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return oo`
684
+ `,sr=["start","end"],lr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+sr[0],o+"-"+sr[1])),[]),cr=Math.min,fr=Math.max,pr=Math.round,hr=t=>({x:t,y:t}),dr={left:"right",right:"left",bottom:"top",top:"bottom"},ur={start:"end",end:"start"};function yr(t,o,e){return fr(t,cr(o,e))}function gr(t,o){return"function"==typeof t?t(o):t}function br(t){return t.split("-")[0]}function mr(t){return t.split("-")[1]}function xr(t){return"x"===t?"y":"x"}function Or(t){return"y"===t?"height":"width"}function vr(t){return["top","bottom"].includes(br(t))?"y":"x"}function Nr(t){return xr(vr(t))}function Sr(t){return t.replace(/left|right|bottom|top/g,(t=>dr[t]))}function wr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Cr(t,o,e){let{reference:i,floating:r}=t;const n=vr(o),a=Nr(o),s=Or(a),l=br(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(mr(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function $r(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=gr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===p?"reference":"floating":p],g=wr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=wr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Rr(t,o,e){return(t?[...e.filter((o=>mr(o)===t)),...e.filter((o=>mr(o)!==t))]:e.filter((t=>br(t)===t))).filter((e=>!t||(mr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ur[t]))}(e)!==e)))}const Er=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=lr,autoAlignment:d=!0,...u}=gr(t,o),y=void 0!==p||h===lr?Rr(p||null,d,h):h,g=await $r(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=mr(t),r=Nr(t),n=Or(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Sr(a)),[a,Sr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[br(m)],g[x[0]],g[x[1]]],v=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=mr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,mr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}},Ur=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=gr(t,o),c={x:e,y:i},f=await $r(o,l),p=vr(br(r)),h=xr(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=yr(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=yr(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...o,[h]:d,[p]:u});return{...y,data:{x:y.x-e,y:y.y-i}}}}};function kr(t){return Lr(t)?(t.nodeName||"").toLowerCase():"#document"}function Ir(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Wr(t){var o;return null==(o=(Lr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Lr(t){return t instanceof Node||t instanceof Ir(t).Node}function Kr(t){return t instanceof Element||t instanceof Ir(t).Element}function zr(t){return t instanceof HTMLElement||t instanceof Ir(t).HTMLElement}function Fr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Ir(t).ShadowRoot)}function Zr(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Pr(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function Br(t){return["table","td","th"].includes(kr(t))}function Ar(t){const o=Mr(),e=Pr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Mr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Dr(t){return["html","body","#document"].includes(kr(t))}function Pr(t){return Ir(t).getComputedStyle(t)}function Hr(t){return Kr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function jr(t){if("html"===kr(t))return t;const o=t.assignedSlot||t.parentNode||Fr(t)&&t.host||Wr(t);return Fr(o)?o.host:o}function Tr(t){const o=jr(t);return Dr(o)?t.ownerDocument?t.ownerDocument.body:t.body:zr(o)&&Zr(o)?o:Tr(o)}function _r(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Tr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Ir(r);return n?o.concat(a,a.visualViewport||[],Zr(r)?r:[],a.frameElement&&e?_r(a.frameElement):[]):o.concat(r,_r(r,[],e))}function Gr(t){const o=Pr(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=zr(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=pr(e)!==n||pr(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function Yr(t){return Kr(t)?t:t.contextElement}function Vr(t){const o=Yr(t);if(!zr(o))return hr(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Gr(o);let a=(n?pr(e.width):e.width)/i,s=(n?pr(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Jr=hr(0);function qr(t){const o=Ir(t);return Mr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Jr}function Xr(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Yr(t);let a=hr(1);o&&(i?Kr(i)&&(a=Vr(i)):a=Vr(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Ir(t))&&o}(n,e,i)?qr(n):hr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=Ir(n),o=i&&Kr(i)?Ir(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=Vr(e),o=e.getBoundingClientRect(),i=Pr(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,e=Ir(e).frameElement}}return wr({width:f,height:p,x:l,y:c})}function Qr(t){return Xr(Wr(t)).left+Hr(t).scrollLeft}function tn(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=Ir(t),i=Wr(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Mr();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Wr(t),e=Hr(t),i=t.ownerDocument.body,r=fr(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=fr(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Qr(t);const s=-e.scrollTop;return"rtl"===Pr(i).direction&&(a+=fr(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Wr(t));else if(Kr(o))i=function(t,o){const e=Xr(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=zr(t)?Vr(t):hr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=qr(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return wr(i)}function on(t,o){const e=jr(t);return!(e===o||!Kr(e)||Dr(e))&&("fixed"===Pr(e).position||on(e,o))}function en(t,o,e){const i=zr(o),r=Wr(o),n="fixed"===e,a=Xr(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=hr(0);if(i||!i&&!n)if(("body"!==kr(o)||Zr(r))&&(s=Hr(o)),i){const t=Xr(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=Qr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function rn(t,o){return zr(t)&&"fixed"!==Pr(t).position?o?o(t):t.offsetParent:null}function nn(t,o){const e=Ir(t);if(!zr(t))return e;let i=rn(t,o);for(;i&&Br(i)&&"static"===Pr(i).position;)i=rn(i,o);return i&&("html"===kr(i)||"body"===kr(i)&&"static"===Pr(i).position&&!Ar(i))?e:i||function(t){let o=jr(t);for(;zr(o)&&!Dr(o);){if(Ar(o))return o;o=jr(o)}return null}(t)||e}const an={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=zr(e),n=Wr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=hr(1);const l=hr(0);if((r||!r&&"fixed"!==i)&&(("body"!==kr(e)||Zr(n))&&(a=Hr(e)),zr(e))){const t=Xr(e);s=Vr(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Wr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=_r(t,[],!1).filter((t=>Kr(t)&&"body"!==kr(t))),r=null;const n="fixed"===Pr(t).position;let a=n?jr(t):t;for(;Kr(a)&&!Dr(a);){const o=Pr(a),e=Ar(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||Zr(a)&&!e&&on(t,a))?i=i.filter((t=>t!==a)):r=o,a=jr(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=tn(o,e,r);return t.top=fr(i.top,t.top),t.right=cr(i.right,t.right),t.bottom=cr(i.bottom,t.bottom),t.left=fr(i.left,t.left),t}),tn(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:nn,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||nn,n=this.getDimensions;return{reference:en(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Gr(t)},getScale:Vr,isElement:Kr,isRTL:function(t){return"rtl"===Pr(t).direction}},sn=(t,o,e)=>{const i=new Map,r={platform:an,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=Cr(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=Cr(c,h,l))),e=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};var ln=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class cn extends Fo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return oo`
685
685
  <div part="container"
686
686
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
687
687
  @mouseenter=${this.onHover}
@@ -699,34 +699,34 @@ const Bi=Symbol.for(""),Ai=t=>{if(t?.r===Bi)return t?._$litStatic$},Mi=t=>({_$li
699
699
  </div>
700
700
  </div>
701
701
  </div>
702
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Xr(this.slottedElement,this.tooltip,{middleware:[vr({crossAxis:!0}),Or({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}tn.elementDefinitions={"ft-typography":Ti},tn.styles=Xi,Qr([w()],tn.prototype,"text",void 0),Qr([w({type:Boolean})],tn.prototype,"manual",void 0),Qr([w({type:Boolean})],tn.prototype,"inline",void 0),Qr([w({type:Number})],tn.prototype,"delay",void 0),Qr([w()],tn.prototype,"position",void 0),Qr([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],tn.prototype,"slotNodes",void 0),Qr([E(".ft-tooltip--container")],tn.prototype,"container",void 0),Qr([E(".ft-tooltip")],tn.prototype,"tooltip",void 0),Qr([E(".ft-tooltip--content")],tn.prototype,"tooltipContent",void 0),Qr([C()],tn.prototype,"visible",void 0),Qr([$({passive:!0})],tn.prototype,"onTouch",null),Qr([$({passive:!0})],tn.prototype,"onHover",null),Qr([$({passive:!0})],tn.prototype,"onOut",null),I("ft-tooltip")(tn);
702
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",sn(this.slottedElement,this.tooltip,{middleware:[Ur({crossAxis:!0}),Er({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}cn.elementDefinitions={"ft-typography":Qi},cn.styles=ar,ln([w()],cn.prototype,"text",void 0),ln([w({type:Boolean})],cn.prototype,"manual",void 0),ln([w({type:Boolean})],cn.prototype,"inline",void 0),ln([w({type:Number})],cn.prototype,"delay",void 0),ln([w()],cn.prototype,"position",void 0),ln([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],cn.prototype,"slotNodes",void 0),ln([E(".ft-tooltip--container")],cn.prototype,"container",void 0),ln([E(".ft-tooltip")],cn.prototype,"tooltip",void 0),ln([E(".ft-tooltip--content")],cn.prototype,"tooltipContent",void 0),ln([C()],cn.prototype,"visible",void 0),ln([$({passive:!0})],cn.prototype,"onTouch",null),ln([$({passive:!0})],cn.prototype,"onHover",null),ln([$({passive:!0})],cn.prototype,"onOut",null),I("ft-tooltip")(cn);
703
703
  /**
704
704
  * @license
705
705
  * Copyright 2017 Google LLC
706
706
  * SPDX-License-Identifier: BSD-3-Clause
707
707
  */
708
- class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}on.directiveName="unsafeHTML",on.resultType=1;const en=Li(on);var rn,nn,an;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(rn||(rn={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(nn||(nn={})),new Map([...["abw"].map((t=>[t,nn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,nn.AUDIO])),...["avi"].map((t=>[t,nn.AVI])),...["chm","xhs"].map((t=>[t,nn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,nn.CODE])),...["csv"].map((t=>[t,nn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nn.DITA])),...["epub"].map((t=>[t,nn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nn.EXCEL])),...["flac"].map((t=>[t,nn.FLAC])),...["gif"].map((t=>[t,nn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nn.GZIP])),...["html","htm","xhtml"].map((t=>[t,nn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,nn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nn.JPEG])),...["json"].map((t=>[t,nn.JSON])),...["m4a","m4p"].map((t=>[t,nn.M4A])),...["mov","qt"].map((t=>[t,nn.MOV])),...["mp3"].map((t=>[t,nn.MP3])),...["mp4","m4v"].map((t=>[t,nn.MP4])),...["ogg","oga"].map((t=>[t,nn.OGG])),...["pdf","ps"].map((t=>[t,nn.PDF])),...["png"].map((t=>[t,nn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nn.POWERPOINT])),...["rar"].map((t=>[t,nn.RAR])),...["stp"].map((t=>[t,nn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,nn.VIDEO])),...["wav"].map((t=>[t,nn.WAV])),...["wma"].map((t=>[t,nn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nn.WORD])),...["xml","xsl","rdf"].map((t=>[t,nn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nn.YAML])),...["zip"].map((t=>[t,nn.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(an||(an={}));var sn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ln extends Fo{constructor(){super(...arguments),this.resolvedIcon=io}render(){const t=this.variant&&Object.values(an).includes(this.variant)?this.variant:an.fluid_topics,o=t!==an.material||!!this.value;return oo`
708
+ class fn extends Pi{constructor(t){if(super(t),this.et=tt,t.type!==Mi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}fn.directiveName="unsafeHTML",fn.resultType=1;const pn=Di(fn);var hn,dn,un;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(hn||(hn={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(dn||(dn={})),new Map([...["abw"].map((t=>[t,dn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,dn.AUDIO])),...["avi"].map((t=>[t,dn.AVI])),...["chm","xhs"].map((t=>[t,dn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,dn.CODE])),...["csv"].map((t=>[t,dn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,dn.DITA])),...["epub"].map((t=>[t,dn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,dn.EXCEL])),...["flac"].map((t=>[t,dn.FLAC])),...["gif"].map((t=>[t,dn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,dn.GZIP])),...["html","htm","xhtml"].map((t=>[t,dn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,dn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,dn.JPEG])),...["json"].map((t=>[t,dn.JSON])),...["m4a","m4p"].map((t=>[t,dn.M4A])),...["mov","qt"].map((t=>[t,dn.MOV])),...["mp3"].map((t=>[t,dn.MP3])),...["mp4","m4v"].map((t=>[t,dn.MP4])),...["ogg","oga"].map((t=>[t,dn.OGG])),...["pdf","ps"].map((t=>[t,dn.PDF])),...["png"].map((t=>[t,dn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,dn.POWERPOINT])),...["rar"].map((t=>[t,dn.RAR])),...["stp"].map((t=>[t,dn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,dn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,dn.VIDEO])),...["wav"].map((t=>[t,dn.WAV])),...["wma"].map((t=>[t,dn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,dn.WORD])),...["xml","xsl","rdf"].map((t=>[t,dn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,dn.YAML])),...["zip"].map((t=>[t,dn.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(un||(un={}));var yn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gn extends Fo{constructor(){super(...arguments),this.resolvedIcon=io}render(){const t=this.variant&&Object.values(un).includes(this.variant)?this.variant:un.fluid_topics,o=t!==un.material||!!this.value;return oo`
709
709
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
710
- ${en(this.resolvedIcon)}
710
+ ${pn(this.resolvedIcon)}
711
711
  <slot ?hidden=${o}></slot>
712
712
  </i>
713
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case an.file_format:this.resolvedIcon=null!==(t=nn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case an.material:this.resolvedIcon=this.value||io;break;default:this.resolvedIcon=null!==(o=rn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ln.elementDefinitions={},ln.styles=vi,sn([w()],ln.prototype,"variant",void 0),sn([w()],ln.prototype,"value",void 0),sn([C()],ln.prototype,"resolvedIcon",void 0),sn([E("slot")],ln.prototype,"slottedContent",void 0),I("ft-icon")(ln);class cn extends Fo{render(){return oo`
713
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case un.file_format:this.resolvedIcon=null!==(t=dn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case un.material:this.resolvedIcon=this.value||io;break;default:this.resolvedIcon=null!==(o=hn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}gn.elementDefinitions={},gn.styles=Ui,yn([w()],gn.prototype,"variant",void 0),yn([w()],gn.prototype,"value",void 0),yn([C()],gn.prototype,"resolvedIcon",void 0),yn([E("slot")],gn.prototype,"slottedContent",void 0),I("ft-icon")(gn);class bn extends Fo{render(){return oo`
714
714
  <div class="ft-loader">
715
715
  <div></div>
716
716
  <div></div>
717
717
  <div></div>
718
718
  <div></div>
719
719
  </div>
720
- `}}cn.styles=xi,I("ft-loader")(cn);var fn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Mo].form}constructor(...t){super(t),this[Mo]=this.attachInternals(),this[Mo].role=o}setFormValue(t){this[Mo].setFormValue(t)}}}(Fo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(oo`
720
+ `}}bn.styles=Ri,I("ft-loader")(bn);var mn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Yo].form}constructor(...t){super(t),this[Yo]=this.attachInternals(),this[Yo].role=o}setFormValue(t){this[Yo].setFormValue(t)}}}(Fo,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(oo`
721
721
  <button part="button"
722
- class="${zi(this.buttonClasses)}"
722
+ class="${Hi(this.buttonClasses)}"
723
723
  aria-label="${this.getLabel()}"
724
724
  ?disabled=${this.isDisabled()}>
725
725
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
726
726
  <ft-typography part="label"
727
727
  variant=${this.typographyVariant}
728
728
  element="span"
729
- class="ft-button--label ${jo?"ft-safari-ellipsis-fix":""}"
729
+ class="ft-button--label ${Xo?"ft-safari-ellipsis-fix":""}"
730
730
  ?hidden=${!this.hasTextContent()}>
731
731
  <slot @slotchange=${this.onSlotchange}></slot>
732
732
  </ft-typography>
@@ -740,7 +740,7 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
740
740
  </ft-tooltip>
741
741
  `:t}resolveIcon(){return this.loading?oo`
742
742
  <ft-loader part="loader icon"></ft-loader> `:this.icon?oo`
743
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:io}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}pn.elementDefinitions={"ft-ripple":Zi,"ft-tooltip":tn,"ft-typography":Ti,"ft-icon":ln,"ft-loader":cn},fn([w({type:String,reflect:!0})],pn.prototype,"role",void 0),fn([w()],pn.prototype,"type",void 0),fn([w({type:Boolean})],pn.prototype,"disabled",void 0),fn([w()],pn.prototype,"label",void 0),fn([w()],pn.prototype,"icon",void 0),fn([w()],pn.prototype,"iconVariant",void 0),fn([w({type:Boolean})],pn.prototype,"trailingIcon",void 0),fn([w({type:Boolean})],pn.prototype,"loading",void 0),fn([w()],pn.prototype,"tooltipPosition",void 0),fn([w({type:Boolean})],pn.prototype,"hideTooltip",void 0),fn([w({type:Boolean})],pn.prototype,"forceTooltip",void 0),fn([E(".ft-button")],pn.prototype,"button",void 0),fn([E(".ft-button--label slot")],pn.prototype,"slottedContent",void 0);var hn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class dn extends pn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}dn.styles=[Ao,ki],hn([w({type:Boolean})],dn.prototype,"primary",void 0),hn([w({type:Boolean})],dn.prototype,"outlined",void 0),hn([w({type:Boolean})],dn.prototype,"dense",void 0),hn([w({type:Boolean})],dn.prototype,"round",void 0);const un=[xt`
743
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:io}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}xn.elementDefinitions={"ft-ripple":Ti,"ft-tooltip":cn,"ft-typography":Qi,"ft-icon":gn,"ft-loader":bn},mn([w({type:String,reflect:!0})],xn.prototype,"role",void 0),mn([w()],xn.prototype,"type",void 0),mn([w({type:Boolean})],xn.prototype,"disabled",void 0),mn([w()],xn.prototype,"label",void 0),mn([w()],xn.prototype,"icon",void 0),mn([w()],xn.prototype,"iconVariant",void 0),mn([w({type:Boolean})],xn.prototype,"trailingIcon",void 0),mn([w({type:Boolean})],xn.prototype,"loading",void 0),mn([w()],xn.prototype,"tooltipPosition",void 0),mn([w({type:Boolean})],xn.prototype,"hideTooltip",void 0),mn([w({type:Boolean})],xn.prototype,"forceTooltip",void 0),mn([E(".ft-button")],xn.prototype,"button",void 0),mn([E(".ft-button--label slot")],xn.prototype,"slottedContent",void 0);var On=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class vn extends xn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}vn.styles=[Ao,Bi],On([w({type:Boolean})],vn.prototype,"primary",void 0),On([w({type:Boolean})],vn.prototype,"outlined",void 0),On([w({type:Boolean})],vn.prototype,"dense",void 0),On([w({type:Boolean})],vn.prototype,"round",void 0);const Nn=[xt`
744
744
  :host {
745
745
  display: inline-block;
746
746
  max-width: 100%;
@@ -819,13 +819,13 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
819
819
  /** Primary styles **/
820
820
 
821
821
  .ft-button--primary {
822
- ${No(mi.color,$o.primaryIconColor)};
822
+ ${No($i.color,$o.primaryIconColor)};
823
823
 
824
- ${No(Yo.color,$o.primaryStateLayerColor)};
825
- ${No(Yo.opacityContentOnSurfaceHover,$o.primaryStateLayerOpacityHover)};
826
- ${No(Yo.opacityContentOnSurfaceFocused,$o.primaryStateLayerOpacityFocus)};
827
- ${No(Yo.opacityContentOnSurfaceSelected,$o.primaryStateLayerOpacityActive)};
828
- ${No(Yo.opacityContentOnSurfacePressed,$o.primaryStateLayerOpacityActive)};
824
+ ${No(ee.color,$o.primaryStateLayerColor)};
825
+ ${No(ee.opacityContentOnSurfaceHover,$o.primaryStateLayerOpacityHover)};
826
+ ${No(ee.opacityContentOnSurfaceFocused,$o.primaryStateLayerOpacityFocus)};
827
+ ${No(ee.opacityContentOnSurfaceSelected,$o.primaryStateLayerOpacityActive)};
828
+ ${No(ee.opacityContentOnSurfacePressed,$o.primaryStateLayerOpacityActive)};
829
829
 
830
830
  background-color: ${$o.primaryBackgroundColor};
831
831
  color: ${$o.primaryColor};
@@ -843,13 +843,13 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
843
843
  /** Secondary styles **/
844
844
 
845
845
  .ft-button--secondary {
846
- ${No(mi.color,$o.secondaryIconColor)};
846
+ ${No($i.color,$o.secondaryIconColor)};
847
847
 
848
- ${No(Yo.color,$o.secondaryStateLayerColor)};
849
- ${No(Yo.opacityContentOnSurfaceHover,$o.secondaryStateLayerOpacityHover)};
850
- ${No(Yo.opacityContentOnSurfaceFocused,$o.secondaryStateLayerOpacityFocus)};
851
- ${No(Yo.opacityContentOnSurfaceSelected,$o.secondaryStateLayerOpacityActive)};
852
- ${No(Yo.opacityContentOnSurfacePressed,$o.secondaryStateLayerOpacityActive)};
848
+ ${No(ee.color,$o.secondaryStateLayerColor)};
849
+ ${No(ee.opacityContentOnSurfaceHover,$o.secondaryStateLayerOpacityHover)};
850
+ ${No(ee.opacityContentOnSurfaceFocused,$o.secondaryStateLayerOpacityFocus)};
851
+ ${No(ee.opacityContentOnSurfaceSelected,$o.secondaryStateLayerOpacityActive)};
852
+ ${No(ee.opacityContentOnSurfacePressed,$o.secondaryStateLayerOpacityActive)};
853
853
 
854
854
  background-color: ${$o.secondaryBackgroundColor};
855
855
  color: ${$o.secondaryColor};
@@ -868,13 +868,13 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
868
868
  /** Tertiary styles **/
869
869
 
870
870
  .ft-button--tertiary {
871
- ${No(mi.color,$o.tertiaryIconColor)};
871
+ ${No($i.color,$o.tertiaryIconColor)};
872
872
 
873
- ${No(Yo.color,$o.tertiaryStateLayerColor)};
874
- ${No(Yo.opacityContentOnSurfaceHover,$o.tertiaryStateLayerOpacityHover)};
875
- ${No(Yo.opacityContentOnSurfaceFocused,$o.tertiaryStateLayerOpacityFocus)};
876
- ${No(Yo.opacityContentOnSurfaceSelected,$o.tertiaryStateLayerOpacityActive)};
877
- ${No(Yo.opacityContentOnSurfacePressed,$o.tertiaryStateLayerOpacityActive)};
873
+ ${No(ee.color,$o.tertiaryStateLayerColor)};
874
+ ${No(ee.opacityContentOnSurfaceHover,$o.tertiaryStateLayerOpacityHover)};
875
+ ${No(ee.opacityContentOnSurfaceFocused,$o.tertiaryStateLayerOpacityFocus)};
876
+ ${No(ee.opacityContentOnSurfaceSelected,$o.tertiaryStateLayerOpacityActive)};
877
+ ${No(ee.opacityContentOnSurfacePressed,$o.tertiaryStateLayerOpacityActive)};
878
878
 
879
879
  background-color: ${$o.tertiaryBackgroundColor};
880
880
  color: ${$o.tertiaryColor};
@@ -892,13 +892,13 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
892
892
  /** Neutral styles **/
893
893
 
894
894
  .ft-button--neutral {
895
- ${No(mi.color,$o.neutralIconColor)};
895
+ ${No($i.color,$o.neutralIconColor)};
896
896
 
897
- ${No(Yo.backgroundColor,$o.neutralStateLayerColor)};
898
- ${No(Yo.opacityContentOnSurfaceHover,$o.neutralStateLayerOpacityHover)};
899
- ${No(Yo.opacityContentOnSurfaceFocused,$o.neutralStateLayerOpacityFocus)};
900
- ${No(Yo.opacityContentOnSurfaceSelected,$o.neutralStateLayerOpacityActive)};
901
- ${No(Yo.opacityContentOnSurfacePressed,$o.neutralStateLayerOpacityActive)};
897
+ ${No(ee.backgroundColor,$o.neutralStateLayerColor)};
898
+ ${No(ee.opacityContentOnSurfaceHover,$o.neutralStateLayerOpacityHover)};
899
+ ${No(ee.opacityContentOnSurfaceFocused,$o.neutralStateLayerOpacityFocus)};
900
+ ${No(ee.opacityContentOnSurfaceSelected,$o.neutralStateLayerOpacityActive)};
901
+ ${No(ee.opacityContentOnSurfacePressed,$o.neutralStateLayerOpacityActive)};
902
902
 
903
903
  background-color: ${$o.neutralBackgroundColor};
904
904
  color: ${$o.neutralColor};
@@ -916,8 +916,8 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
916
916
  /** Large styles **/
917
917
 
918
918
  .ft-button--large {
919
- ${No(Oi.size,$o.largeIconSize)};
920
- ${No(mi.size,$o.largeIconSize)};
919
+ ${No(Ei.size,$o.largeIconSize)};
920
+ ${No($i.size,$o.largeIconSize)};
921
921
 
922
922
  height: ${$o.largeHeight};
923
923
  padding: 0 ${$o.largeHorizontalPadding};
@@ -939,8 +939,8 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
939
939
  /** Small styles **/
940
940
 
941
941
  .ft-button--small {
942
- ${No(Oi.size,$o.smallIconSize)};
943
- ${No(mi.size,$o.smallIconSize)};
942
+ ${No(Ei.size,$o.smallIconSize)};
943
+ ${No($i.size,$o.smallIconSize)};
944
944
 
945
945
  height: ${$o.smallHeight};
946
946
  padding: 0 ${$o.smallHorizontalPadding};
@@ -958,7 +958,7 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
958
958
  width: ${$o.smallIconOnlyWidth};
959
959
  padding: unset;
960
960
  }
961
- `,Bo];var yn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class gn extends pn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Hi.caption1medium:Hi.body2medium}}gn.styles=[Ao,un],yn([w({type:Boolean})],gn.prototype,"primary",void 0),yn([w({type:Boolean})],gn.prototype,"secondary",void 0),yn([w({type:Boolean})],gn.prototype,"tertiary",void 0),yn([w({type:Boolean})],gn.prototype,"neutral",void 0),yn([w({type:Boolean})],gn.prototype,"small",void 0),I("ft-button")(dn),I("ftds-button")(gn);const bn={iconColor:vo.extend("--ft-floating-menu-icon-color","",Ro.colorOnSurfaceMedium)},mn=xt`
961
+ `,Bo];var Sn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wn extends xn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?qi.caption1medium:qi.body2medium}}wn.styles=[Ao,Nn],Sn([w({type:Boolean})],wn.prototype,"primary",void 0),Sn([w({type:Boolean})],wn.prototype,"secondary",void 0),Sn([w({type:Boolean})],wn.prototype,"tertiary",void 0),Sn([w({type:Boolean})],wn.prototype,"neutral",void 0),Sn([w({type:Boolean})],wn.prototype,"small",void 0),I("ft-button")(vn),I("ftds-button")(wn);const Cn={iconColor:vo.extend("--ft-floating-menu-icon-color","",Ro.colorOnSurfaceMedium)},$n=xt`
962
962
  .ft-floating-menu-item {
963
963
  cursor: pointer;
964
964
  display: flex;
@@ -973,7 +973,7 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
973
973
  }
974
974
 
975
975
  .ft-floating-menu-item ft-icon {
976
- color: ${bn.iconColor};
976
+ color: ${Cn.iconColor};
977
977
  margin-left: 0;
978
978
  flex-shrink: 0;
979
979
  flex-grow: 0;
@@ -988,7 +988,7 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
988
988
  word-break: break-word;
989
989
  hyphens: auto;
990
990
  }
991
- `;var xn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class On extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class vn extends Fo{constructor(){super(...arguments),this.value=""}render(){return oo`
991
+ `;var Rn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class En extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Un extends Fo{constructor(){super(...arguments),this.value=""}render(){return oo`
992
992
  <div class="ft-floating-menu-item"
993
993
  @click=${this.onClick}>
994
994
  <ft-ripple></ft-ripple>
@@ -999,8 +999,8 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
999
999
  <slot></slot>
1000
1000
  </ft-typography>
1001
1001
  </div>
1002
- `}onClick(t){this.dispatchEvent(new On(this.value))}}vn.elementDefinitions={"ft-icon":ln,"ft-ripple":Zi,"ft-typography":Ti},vn.styles=mn,xn([w()],vn.prototype,"iconVariant",void 0),xn([w()],vn.prototype,"icon",void 0),xn([w()],vn.prototype,"value",void 0);var Nn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sn extends Fo{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=an.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return oo`
1003
- <div class="${zi(t)}">
1002
+ `}onClick(t){this.dispatchEvent(new En(this.value))}}Un.elementDefinitions={"ft-icon":gn,"ft-ripple":Ti,"ft-typography":Qi},Un.styles=$n,Rn([w()],Un.prototype,"iconVariant",void 0),Rn([w()],Un.prototype,"icon",void 0),Rn([w()],Un.prototype,"value",void 0);var kn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class In extends Fo{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=un.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptions=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container),this.menuOpen||document.removeEventListener("click",this.hideOptions)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return oo`
1003
+ <div class="${Hi(t)}">
1004
1004
 
1005
1005
  <slot name="toggle"
1006
1006
  part="toggle"
@@ -1035,4 +1035,4 @@ class on extends Ki{constructor(t){if(super(t),this.et=tt,t.type!==Wi)throw Erro
1035
1035
  </div>
1036
1036
  </div>
1037
1037
  </div>
1038
- `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="",Xr(this.actionButton,this.menuWrapper,{middleware:[vr({crossAxis:!0}),Or({allowedPlacements:[this.convertPlacement()]})]}).then((({x:t,y:o})=>{this.menuWrapper.style.left=`${t}px`,this.menuWrapper.style.top=`${o}px`})),this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Sn.elementDefinitions={"ft-floating-menu-item":vn},Nn([C()],Sn.prototype,"menuOpen",void 0),Nn([C()],Sn.prototype,"forceMenuOpen",void 0),Nn([E(".ft-floating-menu")],Sn.prototype,"container",void 0),Nn([E(".ft-floating-menu--wrapper")],Sn.prototype,"menuWrapper",void 0),Nn([E("#ft-floating-menu-options")],Sn.prototype,"menuContent",void 0),Nn([E("#actions-button")],Sn.prototype,"actionButton",void 0),Nn([w({type:Boolean})],Sn.prototype,"primary",void 0),Nn([w({type:Boolean})],Sn.prototype,"secondary",void 0),Nn([w({type:Boolean})],Sn.prototype,"tertiary",void 0),Nn([w({type:Boolean})],Sn.prototype,"neutral",void 0),Nn([w({type:Boolean})],Sn.prototype,"small",void 0),Nn([w()],Sn.prototype,"label",void 0),Nn([w()],Sn.prototype,"tooltipPosition",void 0),Nn([w()],Sn.prototype,"iconVariant",void 0),Nn([w()],Sn.prototype,"icon",void 0),Nn([w()],Sn.prototype,"text",void 0),Nn([w()],Sn.prototype,"horizontalAlignment",void 0),Nn([w()],Sn.prototype,"verticalAlignment",void 0),Nn([w({type:Boolean})],Sn.prototype,"disabled",void 0),Nn([W([])],Sn.prototype,"closeMenuMatchers",void 0);class wn extends Sn{}wn.elementDefinitions={"ft-or-ftds-button":dn},wn.styles=_o;class Cn extends Sn{}Cn.elementDefinitions={"ft-or-ftds-button":gn},Cn.styles=_o,I("ft-floating-menu")(wn),I("ftds-floating-menu")(Cn),I("ft-floating-menu-item")(vn),t.FtFloatingMenu=wn,t.FtFloatingMenuCssVariables=To,t.FtFloatingMenuItem=vn,t.FtFloatingMenuItemCssVariables=bn,t.FtFloatingMenuItemSelect=On,t.FtdsFloatingMenu=Cn,t.itemStyles=mn,t.styles=_o}({});
1038
+ `}onClick(){this.menuOpen=!this.menuOpen,setTimeout((()=>document.addEventListener("click",this.hideOptions)))}onClickItem(){this.closeMenu()}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&(this.closeMenu(),t.stopPropagation())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}contentAvailableCallback(t){super.contentAvailableCallback(t),["menuOpen"].some((o=>t.has(o)))&&this.menuOpen&&(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper())}positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="",sn(this.actionButton,this.menuWrapper,{middleware:[Ur({crossAxis:!0}),Er({allowedPlacements:[this.convertPlacement()]})]}).then((({x:t,y:o})=>{this.menuWrapper.style.left=`${t}px`,this.menuWrapper.style.top=`${o}px`})),this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}In.elementDefinitions={"ft-floating-menu-item":Un},kn([C()],In.prototype,"menuOpen",void 0),kn([C()],In.prototype,"forceMenuOpen",void 0),kn([E(".ft-floating-menu")],In.prototype,"container",void 0),kn([E(".ft-floating-menu--wrapper")],In.prototype,"menuWrapper",void 0),kn([E("#ft-floating-menu-options")],In.prototype,"menuContent",void 0),kn([E("#actions-button")],In.prototype,"actionButton",void 0),kn([w({type:Boolean})],In.prototype,"primary",void 0),kn([w({type:Boolean})],In.prototype,"secondary",void 0),kn([w({type:Boolean})],In.prototype,"tertiary",void 0),kn([w({type:Boolean})],In.prototype,"neutral",void 0),kn([w({type:Boolean})],In.prototype,"small",void 0),kn([w()],In.prototype,"label",void 0),kn([w()],In.prototype,"tooltipPosition",void 0),kn([w()],In.prototype,"iconVariant",void 0),kn([w()],In.prototype,"icon",void 0),kn([w()],In.prototype,"text",void 0),kn([w()],In.prototype,"horizontalAlignment",void 0),kn([w()],In.prototype,"verticalAlignment",void 0),kn([w({type:Boolean})],In.prototype,"disabled",void 0),kn([W([])],In.prototype,"closeMenuMatchers",void 0);class Wn extends In{}Wn.elementDefinitions={"ft-or-ftds-button":vn},Wn.styles=te;class Ln extends In{}Ln.elementDefinitions={"ft-or-ftds-button":wn},Ln.styles=te,I("ft-floating-menu")(Wn),I("ftds-floating-menu")(Ln),I("ft-floating-menu-item")(Un),t.FtFloatingMenu=Wn,t.FtFloatingMenuCssVariables=Qo,t.FtFloatingMenuItem=Un,t.FtFloatingMenuItemCssVariables=Cn,t.FtFloatingMenuItemSelect=En,t.FtdsFloatingMenu=Ln,t.itemStyles=$n,t.styles=te}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-floating-menu",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Floating menu component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -20,12 +20,12 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@floating-ui/dom": "1.5.3",
23
- "@fluid-topics/ft-button": "1.1.7",
24
- "@fluid-topics/ft-icon": "1.1.7",
25
- "@fluid-topics/ft-ripple": "1.1.7",
26
- "@fluid-topics/ft-typography": "1.1.7",
27
- "@fluid-topics/ft-wc-utils": "1.1.7",
23
+ "@fluid-topics/ft-button": "1.1.9",
24
+ "@fluid-topics/ft-icon": "1.1.9",
25
+ "@fluid-topics/ft-ripple": "1.1.9",
26
+ "@fluid-topics/ft-typography": "1.1.9",
27
+ "@fluid-topics/ft-wc-utils": "1.1.9",
28
28
  "lit": "3.1.0"
29
29
  },
30
- "gitHead": "732f43d1a665d4917e01d0e34665779782fdd3c9"
30
+ "gitHead": "260010bbe1de163e812ed46e15cd25b7008f2f87"
31
31
  }