@fluid-topics/ft-switch 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-switch-option.css.js +5 -5
- package/build/ft-switch.css.js +11 -11
- package/build/ft-switch.light.js +149 -142
- package/build/ft-switch.min.js +176 -169
- package/package.json +7 -7
package/build/ft-switch.min.js
CHANGED
|
@@ -14,55 +14,55 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
16
|
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);h(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.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 r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=n.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),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}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)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),u.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){u.push(this),e.set.call(this,t),u.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 r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(ke){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const e=(t,
|
|
22
|
+
*/const e=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(e){e.createProperty(o.key,t)}};function r(t){return(o,r)=>void 0!==r?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,r):e(t,o)
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/}function
|
|
27
|
+
*/}function i(t){return r({...t,state:!0})}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/const
|
|
32
|
+
*/const a=({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,a=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(a.finisher=function(o){t(o,r)}),a}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}}
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
|
-
*/;function
|
|
37
|
+
*/;function n(t,o){return a({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2021 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/var l;const
|
|
42
|
+
*/var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.prototype.assignedElements)?(t,o)=>t.assignedElements(o):(t,o)=>t.assignedNodes(o).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!c(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!c(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!c(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const p=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2019 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const
|
|
48
|
+
const f=window,h=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),y=new WeakMap;let g=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==d)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(h&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=y.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&y.set(o,t))}return t}toString(){return this.cssText}};const u=t=>new g("string"==typeof t?t:t+"",void 0,d),b=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new g(e,t,d)},m=(t,o)=>{h?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=f.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},x=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return u(o)})(t):t
|
|
49
49
|
/**
|
|
50
50
|
* @license
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/;var
|
|
53
|
+
*/;var O;const v=window,N=v.trustedTypes,w=N?N.emptyScript:"",S=v.reactiveElementPolyfillSupport,C={toAttribute(t,o){switch(o){case Boolean:t=t?w:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},R=(t,o)=>o!==t&&(o==o||t==t),U={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:R};let E=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=U){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||U}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(x(t))}else void 0!==t&&o.push(x(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return m(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=U){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const a=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:C).toAttribute(o,e.type);this._$El=t,null==a?this.removeAttribute(i):this.setAttribute(i,a),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),a="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:C;this._$El=i,this[i]=a.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||R)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
54
54
|
/**
|
|
55
55
|
* @license
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
58
|
*/
|
|
59
|
-
var
|
|
59
|
+
var $;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:E}),(null!==(O=v.reactiveElementVersions)&&void 0!==O?O:v.reactiveElementVersions=[]).push("1.6.1");const I=window,k=I.trustedTypes,W=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+K,z=`<${Z}>`,F=document,D=()=>F.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,A="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,P=/>/g,G=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),T=/'/g,_=/"/g,Y=/^(?:script|style|textarea|title)$/i,V=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Q=F.createTreeWalker(F,129,null,!1),tt=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=H;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,s=n.exec(e),null!==s);)p=n.lastIndex,n===H?"!--"===s[1]?n=j:void 0!==s[1]?n=P:void 0!==s[2]?(Y.test(s[2])&&(i=RegExp("</"+s[2],"g")),n=G):void 0!==s[3]&&(n=G):n===G?">"===s[0]?(n=null!=i?i:H,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?G:'"'===s[3]?_:T):n===_||n===T?n=G:n===j||n===P?n=H:(n=G,i=void 0);const f=n===G&&t[o+1].startsWith("/>")?" ":"";a+=n===H?e+z:c>=0?(r.push(l),e.slice(0,c)+L+e.slice(c)+K+f):e+K+(-2===c?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==W?W.createHTML(l):l,r]};class ot{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[s,c]=tt(t,o);if(this.el=ot.createElement(s,e),Q.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=Q.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(L)||o.startsWith(K)){const e=c[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+L).split(K),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?nt:"?"===o[1]?st:"@"===o[1]?ct:at})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(Y.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=k?k.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],D()),Q.nextNode(),l.push({type:2,index:++i});r.append(t[o],D())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:i}),t+=K.length-1}i++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}}function et(t,o,e=t,r){var i,a,n,l;if(o===J)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=B(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(a=null==s?void 0:s._$AO)||void 0===a||a.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=et(t,s._$AS(t,o.values),s,r)),o}class rt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:F).importNode(e,!0);Q.currentNode=i;let a=Q.nextNode(),n=0,l=0,s=r[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new it(a,a.nextSibling,this,t):1===s.type?o=new s.ctor(a,s.name,s.strings,this,t):6===s.type&&(o=new pt(a,this,t)),this._$AV.push(o),s=r[++l]}n!==(null==s?void 0:s.index)&&(a=Q.nextNode(),n++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class it{constructor(t,o,e,r){var i;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=et(this,t,o),B(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=ot.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new rt(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=X.get(t.strings);return void 0===o&&X.set(t.strings,o=new ot(t)),o}T(t){M(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new it(this.k(D()),this.k(D()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class at{constructor(t,o,e,r,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=et(this,t,o,0),a=!B(t)||t!==this._$AH&&t!==J,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=et(this,r[e+n],o,n),l===J&&(l=this._$AH[n]),a||(a=!B(l)||l!==this._$AH[n]),l===q?t=q:t!==q&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class nt extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const lt=k?k.emptyScript:"";class st extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}}class ct extends at{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=et(this,t,o,0))&&void 0!==e?e:q)===J)return;const r=this._$AH,i=t===q&&r!==q||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==q&&(r===q||i);i&&this.element.removeEventListener(this.name,this,r),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class pt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){et(this,t)}}const ft=I.litHtmlPolyfillSupport;null==ft||ft(ot,it),(null!==($=I.litHtmlVersions)&&void 0!==$?$:I.litHtmlVersions=[]).push("2.7.3");
|
|
60
60
|
/**
|
|
61
61
|
* @license
|
|
62
62
|
* Copyright 2017 Google LLC
|
|
63
63
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
64
|
*/
|
|
65
|
-
var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,i,e)=>{var o,s;const n=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let r=n._$litPart$;if(void 0===r){const t=null!==(s=null==e?void 0:e.renderBefore)&&void 0!==s?s:null;n._$litPart$=r=new st(i.insertBefore(T(),t),t,void 0,null!=e?e:{})}return r._$AI(t),r})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return X}};ut.finalized=!0,ut._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:ut});const xt=globalThis.litElementPolyfillSupport;null==xt||xt({LitElement:ut}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");class yt{static create(t,i,e){let o=t=>y(null!=t?t:e),s=v`var(${y(t)}, ${o(e)})`;return s.name=t,s.category=i,s.defaultValue=e,s.defaultCssValue=o,s.get=i=>v`var(${y(t)}, ${o(i)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>e,s}static extend(t,i,e){let o=t=>i.get(null!=t?t:e),s=v`var(${y(t)}, ${o(e)})`;return s.name=t,s.category=i.category,s.fallbackVariable=i,s.defaultValue=e,s.defaultCssValue=o,s.get=i=>v`var(${y(t)}, ${o(i)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>e,s}static external(t,i){let e=i=>t.fallbackVariable?t.fallbackVariable.get(null!=i?i:t.defaultValue):y(null!=i?i:t.defaultValue),o=v`var(${y(t.name)}, ${e(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=i,o.defaultCssValue=e,o.get=i=>v`var(${y(t.name)}, ${e(i)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var i,e;return null!==(i=t.defaultValue)&&void 0!==i?i:null===(e=t.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()},o}}function vt(t,i){return y(`${t.name}: ${i}`)}const gt={colorPrimary:yt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:yt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:yt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:yt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:yt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:yt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:yt.create("--ft-color-error","COLOR","#B00020"),colorOutline:yt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:yt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:yt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:yt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:yt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:yt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:yt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:yt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:yt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:yt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:yt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:yt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:yt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:yt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:yt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:yt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:yt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:yt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:yt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:yt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:yt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:yt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:yt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:yt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:yt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:yt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:yt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:yt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:yt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:yt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:yt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:yt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:yt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:yt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:yt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:yt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:yt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:yt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:yt.create("--ft-elevation-01","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:yt.create("--ft-elevation-02","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:yt.create("--ft-elevation-03","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:yt.create("--ft-elevation-04","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:yt.create("--ft-elevation-06","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:yt.create("--ft-elevation-08","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:yt.create("--ft-elevation-12","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:yt.create("--ft-elevation-16","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:yt.create("--ft-elevation-24","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:yt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:yt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:yt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:yt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:yt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:yt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:yt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:yt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class bt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([i,e])=>t.registry.define(i,e))));const i={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(i);return g(e,t.elementStyles),e}}var mt,wt=function(t,i,e,o){for(var s,n=arguments.length,r=n<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(i,e,r):s(i,e))||r);return n>3&&r&&Object.defineProperty(i,e,r),r};const $t=Symbol("constructorPrototype"),Ot=Symbol("constructorName"),St=Symbol("exportpartsDebouncer");class kt extends bt{constructor(){super(),this[mt]=new i(5),this[Ot]=this.constructor.name,this[$t]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ot]&&Object.setPrototypeOf(this,this[$t])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var i,e;if((null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[St].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var i,e,o,s,n,r;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const h=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],e=null!==(r=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==r?r:[];new Array(...i,...e).filter(l).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>a.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}mt=St,wt([o()],kt.prototype,"exportpartsPrefix",void 0),wt([function(t,i){const e=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,i)=>!h(t,i),...null!=i?i:{}})}([])],kt.prototype,"exportpartsPrefixes",void 0),wt([o()],kt.prototype,"customStylesheet",void 0),v`
|
|
65
|
+
var ht,dt;let yt=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const a=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let n=a._$litPart$;if(void 0===n){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;a._$litPart$=n=new it(o.insertBefore(D(),t),t,void 0,null!=e?e:{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return J}};yt.finalized=!0,yt._$litElement$=!0,null===(ht=globalThis.litElementHydrateSupport)||void 0===ht||ht.call(globalThis,{LitElement:yt});const gt=globalThis.litElementPolyfillSupport;null==gt||gt({LitElement:yt}),(null!==(dt=globalThis.litElementVersions)&&void 0!==dt?dt:globalThis.litElementVersions=[]).push("3.3.2");const ut=t=>"string"==typeof t?u(t):t;class bt{static create(t,o,e,r){const i=t=>ut(null!=t?t:r),a=b`var(${ut(t)}, ${i(r)})`;return a.name=t,a.description=t,a.category=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>b`var(${ut(t)}, ${i(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),a=b`var(${ut(t)}, ${i(r)})`;return a.name=t,a.description=o,a.category=e.category,a.fallbackVariable=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>b`var(${ut(t)}, ${i(o)})`,a.breadcrumb=()=>[e.name,...e.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),a}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ut(null!=o?o:t.lastResortDefaultValue()),r=b`var(${ut(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>b`var(${ut(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function mt(t,o){return ut(`${t.name}: ${o}`)}const xt={colorWhite:bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bt.create("--ft-opacity-80","","NUMBER","0.8")},Ot={display:{fontFamily:bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},vt={backgroundActionPrimary:bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xt.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",xt.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",xt.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",xt.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",xt.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",xt.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xt.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",xt.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",xt.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",xt.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xt.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xt.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xt.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xt.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xt.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xt.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",xt.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xt.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",xt.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",xt.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xt.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",xt.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xt.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xt.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",xt.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",xt.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xt.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",xt.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",xt.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",xt.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",xt.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xt.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",xt.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xt.colorGray80)};bt.create("--ft-button-large-height","","SIZE","40px"),bt.extend("--ft-button-large-horizontal-padding","",xt.spacing4),bt.extend("--ft-button-large-gap","",xt.spacing2),bt.extend("--ft-button-large-border-radius","",xt.borderRadiusS),bt.extend("--ft-button-large-icon-size","",xt.iconSize3),bt.create("--ft-button-large-border-width","","SIZE","1px"),bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),bt.create("--ft-button-small-height","","SIZE","30px"),bt.extend("--ft-button-small-horizontal-padding","",xt.spacing3),bt.extend("--ft-button-small-gap","",xt.spacing2),bt.extend("--ft-button-small-border-radius","",xt.borderRadiusS),bt.extend("--ft-button-small-icon-size","",xt.iconSize2),bt.create("--ft-button-small-border-width","","SIZE","1px"),bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),bt.extend("--ft-button-primary-background-color","",vt.backgroundActionPrimary),bt.extend("--ft-button-primary-color","",vt.contentGlobalOnColor),bt.extend("--ft-button-primary-icon-color","",vt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-color","",vt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-button-primary-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-button-focus-focus-ring-color","",vt.borderActionFocusRing),bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-tertiary-color","",vt.contentActionPrimary),bt.extend("--ft-button-tertiary-icon-color","",vt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-active","",xt.opacity16),bt.extend("--ft-button-tertiary-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-button-secondary-background-color","",xt.colorWhite),bt.extend("--ft-button-secondary-color","",vt.contentActionPrimary),bt.extend("--ft-button-secondary-icon-color","",vt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-active","",xt.opacity16),bt.extend("--ft-button-secondary-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-button-secondary-border-color","",vt.borderActionPrimary),bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-neutral-icon-color","",vt.contentGlobalSecondary),bt.extend("--ft-button-neutral-color","",vt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-color","",vt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-active","",xt.opacity16),bt.extend("--ft-button-neutral-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-tabs-top-left-border-radius","",xt.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",xt.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",xt.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",xt.spacing3),bt.extend("--ft-tabs-label-gap","",xt.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",xt.spacing1),bt.extend("--ft-switch-group-vertical-padding","",xt.spacing1),bt.extend("--ft-switch-group-gap","",xt.spacing1),bt.extend("--ft-switch-group-background-color","",vt.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",vt.borderGlobalSubtle),bt.create("--ft-switch-group-border-radius","","SIZE","6px"),bt.extend("--ft-switch-label-horizontal-padding","",xt.spacing2),bt.extend("--ft-switch-label-vertical-padding","",xt.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",xt.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",xt.spacing1),bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),bt.extend("--ft-switch-focus-focus-ring-color","",vt.borderActionFocusRing),bt.extend("--ft-switch-option-border-radius","",xt.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",xt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",xt.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",xt.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-switch-off-color","",vt.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",vt.contentGlobalSubtle),bt.extend("--ft-chart-1-light","for area color charts",xt.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",xt.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",xt.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",xt.colorYellow100),bt.extend("--ft-chart-3-light","",xt.colorUltramarine40),bt.extend("--ft-chart-3-base","",xt.colorUltramarine70),bt.extend("--ft-chart-4-light","",xt.colorCyan50),bt.extend("--ft-chart-4-base","",xt.colorCyan100),bt.extend("--ft-chart-5-light","",xt.colorRed40),bt.extend("--ft-chart-5-base","",xt.colorRed60),bt.extend("--ft-chart-6-light","",xt.colorGreen40),bt.extend("--ft-chart-6-base","",xt.colorGreen70),bt.extend("--ft-chart-7-light","",xt.colorOrange70),bt.extend("--ft-chart-7-base","",xt.colorOrange100),bt.extend("--ft-chart-8-light","",xt.colorAvocado70),bt.extend("--ft-chart-8-base","",xt.colorAvocado200),bt.extend("--ft-chart-9-light","",xt.colorBrown50),bt.extend("--ft-chart-9-base","",xt.colorBrown200),bt.extend("--ft-chart-10-light","",xt.colorGray50),bt.extend("--ft-chart-10-base","",xt.colorGray80),bt.extend("--ft-chart-monochrome-10","",xt.colorBrand10),bt.extend("--ft-chart-monochrome-20","",xt.colorBrand20),bt.extend("--ft-chart-monochrome-30","",xt.colorBrand40),bt.extend("--ft-chart-monochrome-40","",xt.colorBrand60),bt.extend("--ft-chart-monochrome-50","",xt.colorBrand0),bt.extend("--ft-chart-monochrome-60","",xt.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",xt.spacing4),bt.extend("--ft-chip-large-vertical-padding","",xt.spacing2),bt.extend("--ft-chip-large-gap","",xt.spacing1),bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-large-border-radius","",xt.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",xt.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",xt.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",xt.spacing1),bt.extend("--ft-chip-medium-gap","",xt.spacing1),bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-medium-border-radius","",xt.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",xt.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",xt.spacing2),bt.extend("--ft-chip-small-vertical-padding","",xt.spacing05),bt.extend("--ft-chip-small-gap","",xt.spacing1),bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-small-border-radius","",xt.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",xt.iconSize1),bt.extend("--ft-chip-neutral-background-color","",vt.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",vt.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",vt.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",vt.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",vt.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",vt.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",vt.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",vt.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",vt.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",vt.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",vt.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",vt.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",vt.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",vt.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",vt.borderErrorPrimary),bt.create("--ft-notice-border-width","","SIZE","1px"),bt.extend("--ft-notice-horizontal-padding","",xt.spacing2),bt.extend("--ft-notice-vertical-padding","",xt.spacing1),bt.extend("--ft-notice-border-radius","",xt.borderRadiusS),bt.extend("--ft-notice-gap","",xt.spacing2),bt.extend("--ft-notice-icon-size","",xt.iconSize3),bt.extend("--ft-notice-info-background-color","",vt.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",vt.borderInfoPrimary),bt.extend("--ft-notice-info-color","",vt.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",vt.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",vt.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",vt.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",vt.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",vt.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",vt.contentGlobalOnColor),bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",xt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",xt.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-checkbox-focus-focus-ring-color","",vt.borderActionFocusRing),bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),bt.extend("--ft-checkbox-gap","",xt.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-toggle-off-background-color","",vt.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",vt.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",vt.contentGlobalSubtle),bt.extend("--ft-toggle-on-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-toggle-on-background-color","",vt.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",vt.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-toggle-label-color","",vt.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",vt.borderActionFocusRing),bt.extend("--ft-toggle-gap","",xt.spacing3),bt.extend("--ft-radio-label-color","",vt.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",vt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",vt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",xt.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",xt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",xt.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",xt.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",xt.opacity40),bt.extend("--ft-radio-focus-focus-ring-color","",vt.borderActionFocusRing),bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),bt.extend("--ft-radio-gap","",xt.spacing3),bt.extend("--ft-notification-icon-size","",xt.iconSize4),bt.extend("--ft-notification-horizontal-padding","",xt.spacing4),bt.extend("--ft-notification-vertical-padding","",xt.spacing4),bt.extend("--ft-notification-info-background-color","",vt.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",vt.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",vt.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",vt.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",vt.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",vt.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",vt.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",vt.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",vt.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",vt.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",vt.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",vt.borderErrorPrimary),bt.extend("--ft-notification-border-radius","",xt.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",xt.spacing2),bt.extend("--ft-notification-gap-trailing","",xt.spacing8);const Nt={colorPrimary:bt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:bt.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:bt.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:bt.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:bt.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:bt.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:bt.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:bt.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:bt.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:bt.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:bt.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:bt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:bt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class wt extends yt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return m(e,t.elementStyles),e}}var St,Ct=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const Rt=Symbol("constructorPrototype"),Ut=Symbol("constructorName"),Et=Symbol("exportpartsDebouncer");class $t extends wt{constructor(){super(),this[St]=new o(5),this[Ut]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ut]&&Object.setPrototypeOf(this,this[Rt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Et].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,a,n;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}St=Et,Ct([r()],$t.prototype,"exportpartsPrefix",void 0),Ct([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return r({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!c(t,o),...null!=o?o:{}})}([])],$t.prototype,"exportpartsPrefixes",void 0),Ct([r()],$t.prototype,"customStylesheet",void 0),b`
|
|
66
66
|
.ft-no-text-select {
|
|
67
67
|
-webkit-touch-callout: none;
|
|
68
68
|
-webkit-user-select: none;
|
|
@@ -71,7 +71,7 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
71
71
|
-ms-user-select: none;
|
|
72
72
|
user-select: none;
|
|
73
73
|
}
|
|
74
|
-
`,
|
|
74
|
+
`,b`
|
|
75
75
|
.ft-word-wrap {
|
|
76
76
|
white-space: normal;
|
|
77
77
|
word-wrap: break-word;
|
|
@@ -83,7 +83,7 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
83
83
|
-webkit-hyphens: auto;
|
|
84
84
|
hyphens: auto
|
|
85
85
|
}
|
|
86
|
-
`;const
|
|
86
|
+
`;const It=b`
|
|
87
87
|
.ft-safari-ellipsis-fix {
|
|
88
88
|
margin-right: 0;
|
|
89
89
|
|
|
@@ -94,17 +94,17 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
94
94
|
display: inline-block;
|
|
95
95
|
width: 0;
|
|
96
96
|
}
|
|
97
|
-
`;var
|
|
97
|
+
`;var kt,Wt,Lt;window.ftReduxStores||(window.ftReduxStores={});const Kt=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Lt=null===(Wt=null===(kt=window.safari)||void 0===kt?void 0:kt.pushNotification)||void 0===Wt?void 0:Wt.toString())&&void 0!==Lt?Lt:""),Zt=1,zt=2,Ft=t=>(...o)=>({_$litDirective$:t,values:o});
|
|
98
98
|
/**
|
|
99
99
|
* @license
|
|
100
100
|
* Copyright 2017 Google LLC
|
|
101
101
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
102
|
-
*/class
|
|
102
|
+
*/class Dt{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)}}
|
|
103
103
|
/**
|
|
104
104
|
* @license
|
|
105
105
|
* Copyright 2018 Google LLC
|
|
106
106
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
107
|
-
*/const
|
|
107
|
+
*/const Bt=Ft(class extends Dt{constructor(t){var o;if(super(t),t.type!==Zt||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.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]){var e,r;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return J}}),Mt=bt.extend("--ft-ripple-color","",Nt.colorContent),At={color:Mt,backgroundColor:bt.extend("--ft-ripple-background-color","",Mt),opacityContentOnSurfacePressed:bt.external(Nt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:bt.external(Nt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:bt.external(Nt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:bt.external(Nt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:bt.create("--ft-ripple-border-radius","","SIZE","0px")},Ht=bt.extend("--ft-ripple-color","",Nt.colorPrimary),jt=Ht,Pt=bt.extend("--ft-ripple-background-color","",Ht),Gt=bt.extend("--ft-ripple-color","",Nt.colorSecondary),Tt=Gt,_t=bt.extend("--ft-ripple-background-color","",Gt),Yt=b`
|
|
108
108
|
:host {
|
|
109
109
|
display: contents;
|
|
110
110
|
}
|
|
@@ -117,7 +117,7 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
117
117
|
|
|
118
118
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
119
119
|
overflow: hidden;
|
|
120
|
-
border-radius: ${
|
|
120
|
+
border-radius: ${At.borderRadius};
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.ft-ripple .ft-ripple--background,
|
|
@@ -151,27 +151,27 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.ft-ripple .ft-ripple--background {
|
|
154
|
-
background-color: ${
|
|
154
|
+
background-color: ${At.backgroundColor};
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.ft-ripple .ft-ripple--effect {
|
|
158
|
-
background-color: ${
|
|
158
|
+
background-color: ${At.color};
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
162
|
-
background-color: ${
|
|
162
|
+
background-color: ${_t};
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
166
|
-
background-color: ${
|
|
166
|
+
background-color: ${Tt};
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
170
|
-
background-color: ${
|
|
170
|
+
background-color: ${Pt};
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
174
|
-
background-color: ${
|
|
174
|
+
background-color: ${jt};
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
.ft-ripple .ft-ripple--background {
|
|
@@ -201,141 +201,148 @@ var ft,dt;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
204
|
-
opacity: ${
|
|
204
|
+
opacity: ${At.opacityContentOnSurfaceHover};
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
208
|
-
opacity: ${
|
|
208
|
+
opacity: ${At.opacityContentOnSurfaceSelected};
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
212
|
-
opacity: ${
|
|
212
|
+
opacity: ${At.opacityContentOnSurfaceFocused};
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
216
|
-
opacity: ${
|
|
216
|
+
opacity: ${At.opacityContentOnSurfacePressed};
|
|
217
217
|
transform: translate(-50%, -50%) scale(1);
|
|
218
218
|
}
|
|
219
|
-
`;var
|
|
219
|
+
`;var Vt=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Jt extends $t{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 o(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 o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=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!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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 V`
|
|
220
220
|
<style>
|
|
221
221
|
.ft-ripple .ft-ripple--effect {
|
|
222
222
|
left: ${this.originX}px;
|
|
223
223
|
top: ${this.originY}px;
|
|
224
224
|
}
|
|
225
225
|
</style>
|
|
226
|
-
<div class="${
|
|
226
|
+
<div class="${Bt(t)}">
|
|
227
227
|
<div class="ft-ripple--background"></div>
|
|
228
228
|
<div class="ft-ripple--effect"></div>
|
|
229
229
|
</div>
|
|
230
|
-
`}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
|
|
230
|
+
`}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"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}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()}}Jt.elementDefinitions={},Jt.styles=Yt,Vt([r({type:Boolean})],Jt.prototype,"primary",void 0),Vt([r({type:Boolean})],Jt.prototype,"secondary",void 0),Vt([r({type:Boolean})],Jt.prototype,"unbounded",void 0),Vt([r({type:Boolean})],Jt.prototype,"activated",void 0),Vt([r({type:Boolean})],Jt.prototype,"selected",void 0),Vt([r({type:Boolean})],Jt.prototype,"disabled",void 0),Vt([i()],Jt.prototype,"hovered",void 0),Vt([i()],Jt.prototype,"focused",void 0),Vt([i()],Jt.prototype,"pressed",void 0),Vt([i()],Jt.prototype,"rippling",void 0),Vt([i()],Jt.prototype,"originX",void 0),Vt([i()],Jt.prototype,"originY",void 0),Vt([n(".ft-ripple")],Jt.prototype,"ripple",void 0),Vt([n(".ft-ripple--effect")],Jt.prototype,"rippleEffect",void 0),p("ft-ripple")(Jt);
|
|
231
231
|
/**
|
|
232
232
|
* @license
|
|
233
233
|
* Copyright 2020 Google LLC
|
|
234
234
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
235
235
|
*/
|
|
236
|
-
const
|
|
236
|
+
const qt=Symbol.for(""),Xt=t=>{if((null==t?void 0:t.r)===qt)return null==t?void 0:t._$litStatic$},Qt=t=>({_$litStatic$:t,r:qt}),to=new Map,oo=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(a=e[c],i=Xt(a));)s+=i+o[++c],p=!0;c!==r&&l.push(a),n.push(s),c++}if(c===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=to.get(t))&&(n.raw=n,to.set(t,o=n)),e=l}return t(o,...e)})(V);var eo;!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"}(eo||(eo={}));const ro=bt.extend("--ft-typography-font-family","",Nt.titleFont),io=bt.extend("--ft-typography-font-family","",Nt.contentFont),ao={fontFamily:io,fontSize:bt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:bt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:bt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:bt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:bt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},no=bt.extend("--ft-typography-title-font-family","",ro),lo=bt.extend("--ft-typography-title-font-size","",ao.fontSize,"20px"),so=bt.extend("--ft-typography-title-font-weight","",ao.fontWeight,"normal"),co=bt.extend("--ft-typography-title-letter-spacing","",ao.letterSpacing,"0.15px"),po=bt.extend("--ft-typography-title-line-height","",ao.lineHeight,"1.2"),fo=bt.extend("--ft-typography-title-text-transform","",ao.textTransform,"inherit"),ho=bt.extend("--ft-typography-title-dense-font-family","",ro),yo=bt.extend("--ft-typography-title-dense-font-size","",ao.fontSize,"14px"),go=bt.extend("--ft-typography-title-dense-font-weight","",ao.fontWeight,"normal"),uo=bt.extend("--ft-typography-title-dense-letter-spacing","",ao.letterSpacing,"0.105px"),bo=bt.extend("--ft-typography-title-dense-line-height","",ao.lineHeight,"1.7"),mo=bt.extend("--ft-typography-title-dense-text-transform","",ao.textTransform,"inherit"),xo=bt.extend("--ft-typography-subtitle1-font-family","",io),Oo=bt.extend("--ft-typography-subtitle1-font-size","",ao.fontSize,"16px"),vo=bt.extend("--ft-typography-subtitle1-font-weight","",ao.fontWeight,"600"),No=bt.extend("--ft-typography-subtitle1-letter-spacing","",ao.letterSpacing,"0.144px"),wo=bt.extend("--ft-typography-subtitle1-line-height","",ao.lineHeight,"1.5"),So=bt.extend("--ft-typography-subtitle1-text-transform","",ao.textTransform,"inherit"),Co=bt.extend("--ft-typography-subtitle2-font-family","",io),Ro=bt.extend("--ft-typography-subtitle2-font-size","",ao.fontSize,"14px"),Uo=bt.extend("--ft-typography-subtitle2-font-weight","",ao.fontWeight,"normal"),Eo=bt.extend("--ft-typography-subtitle2-letter-spacing","",ao.letterSpacing,"0.098px"),$o=bt.extend("--ft-typography-subtitle2-line-height","",ao.lineHeight,"1.7"),Io=bt.extend("--ft-typography-subtitle2-text-transform","",ao.textTransform,"inherit"),ko=bt.extend("--ft-typography-body1-font-family","",io),Wo=bt.extend("--ft-typography-body1-font-size","",ao.fontSize,"16px"),Lo=bt.extend("--ft-typography-body1-font-weight","",ao.fontWeight,"normal"),Ko=bt.extend("--ft-typography-body1-letter-spacing","",ao.letterSpacing,"0.496px"),Zo=bt.extend("--ft-typography-body1-line-height","",ao.lineHeight,"1.5"),zo=bt.extend("--ft-typography-body1-text-transform","",ao.textTransform,"inherit"),Fo=bt.extend("--ft-typography-body2-font-family","",io),Do=bt.extend("--ft-typography-body2-font-size","",ao.fontSize,"14px"),Bo=bt.extend("--ft-typography-body2-font-weight","",ao.fontWeight,"normal"),Mo=bt.extend("--ft-typography-body2-letter-spacing","",ao.letterSpacing,"0.252px"),Ao=bt.extend("--ft-typography-body2-line-height","",ao.lineHeight,"1.4"),Ho=bt.extend("--ft-typography-body2-text-transform","",ao.textTransform,"inherit"),jo=bt.extend("--ft-typography-caption-font-family","",io),Po=bt.extend("--ft-typography-caption-font-size","",ao.fontSize,"12px"),Go=bt.extend("--ft-typography-caption-font-weight","",ao.fontWeight,"normal"),To=bt.extend("--ft-typography-caption-letter-spacing","",ao.letterSpacing,"0.396px"),_o=bt.extend("--ft-typography-caption-line-height","",ao.lineHeight,"1.33"),Yo=bt.extend("--ft-typography-caption-text-transform","",ao.textTransform,"inherit"),Vo=bt.extend("--ft-typography-breadcrumb-font-family","",io),Jo=bt.extend("--ft-typography-breadcrumb-font-size","",ao.fontSize,"10px"),qo=bt.extend("--ft-typography-breadcrumb-font-weight","",ao.fontWeight,"normal"),Xo=bt.extend("--ft-typography-breadcrumb-letter-spacing","",ao.letterSpacing,"0.33px"),Qo=bt.extend("--ft-typography-breadcrumb-line-height","",ao.lineHeight,"1.6"),te=bt.extend("--ft-typography-breadcrumb-text-transform","",ao.textTransform,"inherit"),oe=bt.extend("--ft-typography-overline-font-family","",io),ee=bt.extend("--ft-typography-overline-font-size","",ao.fontSize,"10px"),re=bt.extend("--ft-typography-overline-font-weight","",ao.fontWeight,"normal"),ie=bt.extend("--ft-typography-overline-letter-spacing","",ao.letterSpacing,"1.5px"),ae=bt.extend("--ft-typography-overline-line-height","",ao.lineHeight,"1.6"),ne=bt.extend("--ft-typography-overline-text-transform","",ao.textTransform,"uppercase"),le={fontFamily:bt.extend("--ft-typography-button-font-family","",io),fontSize:bt.extend("--ft-typography-button-font-size","",ao.fontSize,"14px"),fontWeight:bt.extend("--ft-typography-button-font-weight","",ao.fontWeight,"600"),letterSpacing:bt.extend("--ft-typography-button-letter-spacing","",ao.letterSpacing,"1.246px"),lineHeight:bt.extend("--ft-typography-button-line-height","",ao.lineHeight,"1.15"),textTransform:bt.extend("--ft-typography-button-text-transform","",ao.textTransform,"uppercase")},se=b`
|
|
237
237
|
.ft-typography--title {
|
|
238
|
-
font-family: ${
|
|
239
|
-
font-size: ${
|
|
240
|
-
font-weight: ${
|
|
241
|
-
letter-spacing: ${
|
|
242
|
-
line-height: ${
|
|
243
|
-
text-transform: ${
|
|
244
|
-
}
|
|
245
|
-
`,
|
|
238
|
+
font-family: ${no};
|
|
239
|
+
font-size: ${lo};
|
|
240
|
+
font-weight: ${so};
|
|
241
|
+
letter-spacing: ${co};
|
|
242
|
+
line-height: ${po};
|
|
243
|
+
text-transform: ${fo};
|
|
244
|
+
}
|
|
245
|
+
`,ce=b`
|
|
246
246
|
.ft-typography--title-dense {
|
|
247
|
-
font-family: ${
|
|
248
|
-
font-size: ${
|
|
249
|
-
font-weight: ${
|
|
250
|
-
letter-spacing: ${
|
|
251
|
-
line-height: ${
|
|
252
|
-
text-transform: ${
|
|
253
|
-
}
|
|
254
|
-
`,
|
|
247
|
+
font-family: ${ho};
|
|
248
|
+
font-size: ${yo};
|
|
249
|
+
font-weight: ${go};
|
|
250
|
+
letter-spacing: ${uo};
|
|
251
|
+
line-height: ${bo};
|
|
252
|
+
text-transform: ${mo};
|
|
253
|
+
}
|
|
254
|
+
`,pe=b`
|
|
255
255
|
.ft-typography--subtitle1 {
|
|
256
|
-
font-family: ${
|
|
257
|
-
font-size: ${
|
|
258
|
-
font-weight: ${
|
|
259
|
-
letter-spacing: ${
|
|
260
|
-
line-height: ${
|
|
261
|
-
text-transform: ${
|
|
262
|
-
}
|
|
263
|
-
`,
|
|
256
|
+
font-family: ${xo};
|
|
257
|
+
font-size: ${Oo};
|
|
258
|
+
font-weight: ${vo};
|
|
259
|
+
letter-spacing: ${No};
|
|
260
|
+
line-height: ${wo};
|
|
261
|
+
text-transform: ${So};
|
|
262
|
+
}
|
|
263
|
+
`,fe=b`
|
|
264
264
|
.ft-typography--subtitle2 {
|
|
265
|
-
font-family: ${
|
|
266
|
-
font-size: ${
|
|
267
|
-
font-weight: ${
|
|
268
|
-
letter-spacing: ${
|
|
269
|
-
line-height: ${
|
|
270
|
-
text-transform: ${
|
|
265
|
+
font-family: ${Co};
|
|
266
|
+
font-size: ${Ro};
|
|
267
|
+
font-weight: ${Uo};
|
|
268
|
+
letter-spacing: ${Eo};
|
|
269
|
+
line-height: ${$o};
|
|
270
|
+
text-transform: ${Io};
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
`,
|
|
273
|
+
`,he=b`
|
|
274
274
|
.ft-typography--body1 {
|
|
275
|
-
font-family: ${
|
|
276
|
-
font-size: ${
|
|
277
|
-
font-weight: ${
|
|
278
|
-
letter-spacing: ${
|
|
279
|
-
line-height: ${
|
|
280
|
-
text-transform: ${
|
|
281
|
-
}
|
|
282
|
-
`,
|
|
275
|
+
font-family: ${ko};
|
|
276
|
+
font-size: ${Wo};
|
|
277
|
+
font-weight: ${Lo};
|
|
278
|
+
letter-spacing: ${Ko};
|
|
279
|
+
line-height: ${Zo};
|
|
280
|
+
text-transform: ${zo};
|
|
281
|
+
}
|
|
282
|
+
`,de=b`
|
|
283
283
|
.ft-typography--body2 {
|
|
284
|
-
font-family: ${
|
|
285
|
-
font-size: ${
|
|
286
|
-
font-weight: ${
|
|
287
|
-
letter-spacing: ${
|
|
288
|
-
line-height: ${
|
|
289
|
-
text-transform: ${
|
|
290
|
-
}
|
|
291
|
-
`,
|
|
284
|
+
font-family: ${Fo};
|
|
285
|
+
font-size: ${Do};
|
|
286
|
+
font-weight: ${Bo};
|
|
287
|
+
letter-spacing: ${Mo};
|
|
288
|
+
line-height: ${Ao};
|
|
289
|
+
text-transform: ${Ho};
|
|
290
|
+
}
|
|
291
|
+
`,ye=b`
|
|
292
292
|
.ft-typography--caption {
|
|
293
|
-
font-family: ${
|
|
294
|
-
font-size: ${
|
|
295
|
-
font-weight: ${
|
|
296
|
-
letter-spacing: ${
|
|
297
|
-
line-height: ${
|
|
298
|
-
text-transform: ${
|
|
299
|
-
}
|
|
300
|
-
`,
|
|
293
|
+
font-family: ${jo};
|
|
294
|
+
font-size: ${Po};
|
|
295
|
+
font-weight: ${Go};
|
|
296
|
+
letter-spacing: ${To};
|
|
297
|
+
line-height: ${_o};
|
|
298
|
+
text-transform: ${Yo};
|
|
299
|
+
}
|
|
300
|
+
`,ge=b`
|
|
301
301
|
.ft-typography--breadcrumb {
|
|
302
|
-
font-family: ${
|
|
303
|
-
font-size: ${
|
|
304
|
-
font-weight: ${
|
|
305
|
-
letter-spacing: ${
|
|
306
|
-
line-height: ${
|
|
307
|
-
text-transform: ${
|
|
308
|
-
}
|
|
309
|
-
`,
|
|
302
|
+
font-family: ${Vo};
|
|
303
|
+
font-size: ${Jo};
|
|
304
|
+
font-weight: ${qo};
|
|
305
|
+
letter-spacing: ${Xo};
|
|
306
|
+
line-height: ${Qo};
|
|
307
|
+
text-transform: ${te};
|
|
308
|
+
}
|
|
309
|
+
`,ue=b`
|
|
310
310
|
.ft-typography--overline {
|
|
311
|
-
font-family: ${
|
|
312
|
-
font-size: ${
|
|
313
|
-
font-weight: ${
|
|
314
|
-
letter-spacing: ${
|
|
315
|
-
line-height: ${
|
|
316
|
-
text-transform: ${
|
|
317
|
-
}
|
|
318
|
-
`,
|
|
311
|
+
font-family: ${oe};
|
|
312
|
+
font-size: ${ee};
|
|
313
|
+
font-weight: ${re};
|
|
314
|
+
letter-spacing: ${ie};
|
|
315
|
+
line-height: ${ae};
|
|
316
|
+
text-transform: ${ne};
|
|
317
|
+
}
|
|
318
|
+
`,be=b`
|
|
319
319
|
.ft-typography--button {
|
|
320
|
-
font-family: ${
|
|
321
|
-
font-size: ${
|
|
322
|
-
font-weight: ${
|
|
323
|
-
letter-spacing: ${
|
|
324
|
-
line-height: ${
|
|
325
|
-
text-transform: ${
|
|
326
|
-
}
|
|
327
|
-
`,
|
|
320
|
+
font-family: ${le.fontFamily};
|
|
321
|
+
font-size: ${le.fontSize};
|
|
322
|
+
font-weight: ${le.fontWeight};
|
|
323
|
+
letter-spacing: ${le.letterSpacing};
|
|
324
|
+
line-height: ${le.lineHeight};
|
|
325
|
+
text-transform: ${le.textTransform};
|
|
326
|
+
}
|
|
327
|
+
`,me=b`
|
|
328
328
|
.ft-typography {
|
|
329
329
|
vertical-align: inherit;
|
|
330
330
|
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
331
|
+
`,xe=[Object.keys(Ot).map((t=>function(t){const o=Ot[t];return b`
|
|
332
|
+
font-family: ${o.fontFamily};
|
|
333
|
+
font-size: ${o.fontSize};
|
|
334
|
+
font-weight: ${o.fontWeight};
|
|
335
|
+
letter-spacing: ${o.letterSpacing};
|
|
336
|
+
line-height: ${o.lineHeight};
|
|
337
|
+
text-transform: ${o.textCase};
|
|
338
|
+
`}(t)))];var Oe=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ve extends $t{constructor(){super(...arguments),this.variant=eo.body1}render(){return this.element?oo`
|
|
339
|
+
<${Qt(this.element)}
|
|
340
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
334
341
|
<slot></slot>
|
|
335
|
-
</${
|
|
336
|
-
`:
|
|
342
|
+
</${Qt(this.element)}>
|
|
343
|
+
`:oo`
|
|
337
344
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
338
|
-
`}}
|
|
345
|
+
`}}ve.styles=[se,ce,pe,fe,he,de,ye,ge,ue,be,me,...xe],Oe([r()],ve.prototype,"element",void 0),Oe([r()],ve.prototype,"variant",void 0),p("ft-typography")(ve);const Ne=bt.create("--ft-tooltip-distance","","SIZE","4px"),we=bt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Se=bt.create("--ft-tooltip-background-color","","COLOR","#666666"),Ce=bt.create("--ft-tooltip-z-index","","NUMBER","100"),Re=bt.external(Nt.borderRadiusS,"Design system"),Ue=bt.create("--ft-tooltip-max-width","","SIZE","150px"),Ee=b`
|
|
339
346
|
.ft-tooltip--container {
|
|
340
347
|
display: block;
|
|
341
348
|
}
|
|
@@ -350,21 +357,21 @@ const Vt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===Vt)return null==t?void
|
|
|
350
357
|
box-sizing: border-box;
|
|
351
358
|
overflow: hidden;
|
|
352
359
|
width: max-content;
|
|
353
|
-
max-width: ${
|
|
360
|
+
max-width: ${Ue};
|
|
354
361
|
text-align: center;
|
|
355
|
-
padding: ${
|
|
356
|
-
z-index: ${
|
|
362
|
+
padding: ${Ne};
|
|
363
|
+
z-index: ${Ce};
|
|
357
364
|
}
|
|
358
365
|
|
|
359
366
|
.ft-tooltip--content {
|
|
360
367
|
padding: 4px 8px;
|
|
361
|
-
border-radius: ${
|
|
362
|
-
background-color: ${
|
|
363
|
-
color: ${
|
|
368
|
+
border-radius: ${Re};
|
|
369
|
+
background-color: ${Se};
|
|
370
|
+
color: ${we};
|
|
364
371
|
position: relative;
|
|
365
372
|
word-break: break-word;
|
|
366
373
|
}
|
|
367
|
-
`;var
|
|
374
|
+
`;var $e=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ie extends $t{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 o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return V`
|
|
368
375
|
<div part="container"
|
|
369
376
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
370
377
|
@mouseenter=${this.onHover}
|
|
@@ -382,19 +389,19 @@ const Vt=Symbol.for(""),Jt=t=>{if((null==t?void 0:t.r)===Vt)return null==t?void
|
|
|
382
389
|
</div>
|
|
383
390
|
</div>
|
|
384
391
|
</div>
|
|
385
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
392
|
+
`}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();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let a=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,h=s.y+s.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${Ue})`}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))}}Ie.elementDefinitions={"ft-typography":ve},Ie.styles=Ee,$e([r()],Ie.prototype,"text",void 0),$e([r({type:Boolean})],Ie.prototype,"manual",void 0),$e([r({type:Boolean})],Ie.prototype,"inline",void 0),$e([r({type:Number})],Ie.prototype,"delay",void 0),$e([r()],Ie.prototype,"position",void 0),$e([
|
|
386
393
|
/**
|
|
387
394
|
* @license
|
|
388
395
|
* Copyright 2017 Google LLC
|
|
389
396
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
390
397
|
*/
|
|
391
|
-
function(t,
|
|
398
|
+
function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return a({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),a=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),n=null!=a?s(a,t):[];return e?n.filter((t=>t.matches(e))):n},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):a({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),a=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==a?void 0:a.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Ie.prototype,"slotNodes",void 0),$e([n(".ft-tooltip--container")],Ie.prototype,"container",void 0),$e([n(".ft-tooltip")],Ie.prototype,"tooltip",void 0),$e([n(".ft-tooltip--content")],Ie.prototype,"tooltipContent",void 0),$e([i()],Ie.prototype,"visible",void 0),p("ft-tooltip")(Ie);
|
|
392
399
|
/**
|
|
393
400
|
* @license
|
|
394
401
|
* Copyright 2017 Google LLC
|
|
395
402
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
396
403
|
*/
|
|
397
|
-
class ke extends
|
|
404
|
+
class ke extends Dt{constructor(t){if(super(t),this.et=q,t.type!==zt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this.ft=void 0,this.et=t;if(t===J)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}ke.directiveName="unsafeHTML",ke.resultType=1;const We=Ft(ke);var Le,Ke;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Le||(Le={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ke||(Ke={})),new Map([...["abw"].map((t=>[t,Ke.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,Ke.AUDIO])),...["avi"].map((t=>[t,Ke.AVI])),...["chm","xhs"].map((t=>[t,Ke.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,Ke.CODE])),...["csv"].map((t=>[t,Ke.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ke.DITA])),...["epub"].map((t=>[t,Ke.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ke.EXCEL])),...["flac"].map((t=>[t,Ke.FLAC])),...["gif"].map((t=>[t,Ke.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ke.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ke.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,Ke.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ke.JPEG])),...["json"].map((t=>[t,Ke.JSON])),...["m4a","m4p"].map((t=>[t,Ke.M4A])),...["mov","qt"].map((t=>[t,Ke.MOV])),...["mp3"].map((t=>[t,Ke.MP3])),...["mp4","m4v"].map((t=>[t,Ke.MP4])),...["ogg","oga"].map((t=>[t,Ke.OGG])),...["pdf","ps"].map((t=>[t,Ke.PDF])),...["png"].map((t=>[t,Ke.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ke.POWERPOINT])),...["rar"].map((t=>[t,Ke.RAR])),...["stp"].map((t=>[t,Ke.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ke.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,Ke.VIDEO])),...["wav"].map((t=>[t,Ke.WAV])),...["wma"].map((t=>[t,Ke.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ke.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ke.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ke.YAML])),...["zip"].map((t=>[t,Ke.ZIP]))]);const Ze={size:bt.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:bt.extend("--ft-icon-fluid-topics-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:bt.extend("--ft-icon-file-format-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:bt.extend("--ft-icon-material-font-family","",bt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:bt.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ze=b`
|
|
398
405
|
:host, i.ft-icon {
|
|
399
406
|
display: inline-flex;
|
|
400
407
|
align-items: center;
|
|
@@ -403,14 +410,14 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
403
410
|
}
|
|
404
411
|
|
|
405
412
|
:host {
|
|
406
|
-
width: ${
|
|
407
|
-
height: ${
|
|
413
|
+
width: ${Ze.size};
|
|
414
|
+
height: ${Ze.size};
|
|
408
415
|
}
|
|
409
416
|
|
|
410
417
|
i.ft-icon {
|
|
411
418
|
width: 100%;
|
|
412
419
|
height: 100%;
|
|
413
|
-
font-size: ${
|
|
420
|
+
font-size: ${Ze.size};
|
|
414
421
|
line-height: 1;
|
|
415
422
|
font-weight: normal;
|
|
416
423
|
text-transform: none;
|
|
@@ -421,33 +428,33 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
421
428
|
text-rendering: auto;
|
|
422
429
|
-webkit-font-smoothing: antialiased;
|
|
423
430
|
-moz-osx-font-smoothing: grayscale;
|
|
424
|
-
vertical-align: ${
|
|
431
|
+
vertical-align: ${Ze.verticalAlign};
|
|
425
432
|
}
|
|
426
433
|
|
|
427
434
|
i.ft-icon.ft-icon--fluid-topics {
|
|
428
|
-
font-family: ${
|
|
435
|
+
font-family: ${Ze.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
429
436
|
|
|
430
437
|
/* Ugly fix because font is broken */
|
|
431
|
-
font-size: calc(0.75 * ${
|
|
432
|
-
line-height: ${
|
|
438
|
+
font-size: calc(0.75 * ${Ze.size});
|
|
439
|
+
line-height: ${Ze.size};
|
|
433
440
|
position: relative;
|
|
434
441
|
top: -4%;
|
|
435
442
|
justify-content: center;
|
|
436
443
|
}
|
|
437
444
|
|
|
438
445
|
.ft-icon--file-format {
|
|
439
|
-
font-family: ${
|
|
446
|
+
font-family: ${Ze.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
440
447
|
}
|
|
441
448
|
|
|
442
449
|
.ft-icon--material {
|
|
443
|
-
font-family: ${
|
|
450
|
+
font-family: ${Ze.materialFontFamily}, "Material Icons", sans-serif;
|
|
444
451
|
}
|
|
445
|
-
`;var
|
|
452
|
+
`;var Fe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Fe||(Fe={}));var De=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Be extends $t{constructor(){super(...arguments),this.resolvedIcon=q}render(){const t=this.variant&&Object.values(Fe).includes(this.variant)?this.variant:Fe.fluid_topics,o=t!==Fe.material||!!this.value;return V`
|
|
446
453
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
447
|
-
${
|
|
448
|
-
<slot ?hidden=${
|
|
454
|
+
${We(this.resolvedIcon)}
|
|
455
|
+
<slot ?hidden=${o}></slot>
|
|
449
456
|
</i>
|
|
450
|
-
`}get textContent(){var t,
|
|
457
|
+
`}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 Fe.file_format:this.resolvedIcon=null!==(t=Ke[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Fe.material:this.resolvedIcon=this.value||q;break;default:this.resolvedIcon=null!==(o=Le[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Be.elementDefinitions={},Be.styles=ze,De([r()],Be.prototype,"variant",void 0),De([r()],Be.prototype,"value",void 0),De([i()],Be.prototype,"resolvedIcon",void 0),De([n("slot")],Be.prototype,"slottedContent",void 0),p("ft-icon")(Be);const Me={textColor:bt.extend("--ft-switch-text-color","",Nt.colorOnSurfaceHigh),backgroundColor:bt.extend("--ft-switch-background-color","",Nt.colorSurface),selectedTextColor:bt.extend("--ft-switch-selected-text-color","",Nt.colorPrimary),selectedBackgroundColor:bt.extend("--ft-switch-selected-background-color","",Nt.colorPrimary),borderColor:bt.extend("--ft-switch-border-color","",Nt.colorOutline),borderRadius:bt.extend("--ft-switch-border-radius","",Nt.borderRadiusL),fontSize:bt.extend("--ft-switch-font-size","",le.fontSize),iconSize:bt.create("--ft-switch-icon-size","","SIZE","24px"),iconColor:bt.extend("--ft-switch-text-color","",Nt.colorOnSurfaceMedium),rippleColor:bt.extend("--ft-switch-ripple-color","",Nt.colorPrimary),outlineColor:bt.extend("--ft-switch-outline-color","",Nt.colorPrimary)},Ae={borderRadiusLeft:bt.extend("--ft-switch-option-border-radius-left","",Nt.borderRadiusL),borderRadiusRight:bt.extend("--ft-switch-option-border-radius-right","",Nt.borderRadiusL),borderWidthLeft:bt.create("--ft-switch-option-border-width-left","","SIZE","1px"),borderWidthRight:bt.create("--ft-switch-option-border-width-right","","SIZE","1px"),borderWidthVertical:bt.create("--ft-switch-option-border-width-vertical","","SIZE","1px")},He=b`
|
|
451
458
|
.ft-switch-option {
|
|
452
459
|
position: relative;
|
|
453
460
|
display: inline-block;
|
|
@@ -461,20 +468,20 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
461
468
|
}
|
|
462
469
|
|
|
463
470
|
.ft-switch-option--content {
|
|
464
|
-
--ft-switch-option-internal-line-height: calc(${
|
|
465
|
-
--ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${
|
|
471
|
+
--ft-switch-option-internal-line-height: calc(${Me.fontSize} + 2px);
|
|
472
|
+
--ft-switch-option-internal-content-height: max(var(--ft-switch-option-internal-line-height), ${Me.iconSize});
|
|
466
473
|
|
|
467
474
|
border-style: solid;
|
|
468
|
-
border-color: ${
|
|
475
|
+
border-color: ${Me.borderColor};
|
|
469
476
|
border-width: ${Ae.borderWidthVertical} ${Ae.borderWidthRight} ${Ae.borderWidthVertical} ${Ae.borderWidthLeft};
|
|
470
477
|
border-radius: ${Ae.borderRadiusLeft} ${Ae.borderRadiusRight} ${Ae.borderRadiusRight} ${Ae.borderRadiusLeft};
|
|
471
478
|
display: flex;
|
|
472
479
|
align-items: center;
|
|
473
480
|
justify-content: center;
|
|
474
481
|
overflow: hidden;
|
|
475
|
-
${
|
|
482
|
+
${mt(Ze.size,Me.iconSize)};
|
|
476
483
|
padding: var(--ft-switch-internal-vertical-padding, 6px) var(--ft-switch-internal-horizontal-padding, 8px);
|
|
477
|
-
background-color: ${
|
|
484
|
+
background-color: ${Me.backgroundColor};
|
|
478
485
|
-webkit-mask-image: radial-gradient(white, black);
|
|
479
486
|
}
|
|
480
487
|
|
|
@@ -483,28 +490,28 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
483
490
|
}
|
|
484
491
|
|
|
485
492
|
.ft-switch-option--selected .ft-switch-option--content:before {
|
|
486
|
-
background-color: ${
|
|
493
|
+
background-color: ${Me.selectedBackgroundColor};
|
|
487
494
|
border-radius: ${Ae.borderRadiusLeft} ${Ae.borderRadiusRight} ${Ae.borderRadiusRight} ${Ae.borderRadiusLeft};
|
|
488
495
|
position: absolute;
|
|
489
496
|
inset: 0;
|
|
490
497
|
content: "";
|
|
491
498
|
z-index: 1;
|
|
492
|
-
opacity: ${
|
|
499
|
+
opacity: ${Nt.opacityPrimaryOnSurfaceSelected};
|
|
493
500
|
}
|
|
494
501
|
|
|
495
502
|
.ft-switch-option--label {
|
|
496
|
-
color: ${
|
|
503
|
+
color: ${Me.textColor};
|
|
497
504
|
overflow: hidden;
|
|
498
505
|
white-space: nowrap;
|
|
499
506
|
text-overflow: ellipsis;
|
|
500
507
|
display: block;
|
|
501
508
|
margin: 0 8px;
|
|
502
|
-
${
|
|
503
|
-
${
|
|
509
|
+
${mt(le.fontSize,Me.fontSize)};
|
|
510
|
+
${mt(le.lineHeight,"var(--ft-switch-option-internal-content-height)")}
|
|
504
511
|
}
|
|
505
512
|
|
|
506
513
|
.ft-switch-option--selected .ft-switch-option--label {
|
|
507
|
-
color: ${
|
|
514
|
+
color: ${Me.selectedTextColor};
|
|
508
515
|
}
|
|
509
516
|
|
|
510
517
|
.ft-switch-option--label[hidden] {
|
|
@@ -512,7 +519,7 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
512
519
|
}
|
|
513
520
|
|
|
514
521
|
.ft-switch-option--ripple {
|
|
515
|
-
${
|
|
522
|
+
${mt(At.color,Me.rippleColor)};
|
|
516
523
|
}
|
|
517
524
|
|
|
518
525
|
ft-icon, ft-ripple, ft-typography {
|
|
@@ -525,20 +532,20 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
525
532
|
|
|
526
533
|
ft-icon {
|
|
527
534
|
flex-shrink: 0;
|
|
528
|
-
color: ${
|
|
535
|
+
color: ${Me.iconColor};
|
|
529
536
|
}
|
|
530
537
|
|
|
531
538
|
.ft-switch-option--selected ft-icon {
|
|
532
|
-
color: ${
|
|
539
|
+
color: ${Me.selectedTextColor};
|
|
533
540
|
}
|
|
534
|
-
`;var
|
|
535
|
-
<label part="label" for="input" class=${
|
|
541
|
+
`;var je=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Pe extends CustomEvent{constructor(t){super("option-change-by-user",{detail:t,bubbles:!0,composed:!0})}}class Ge extends CustomEvent{constructor(t){super("option-change",{detail:t,bubbles:!0,composed:!0})}}class Te extends $t{constructor(){super(...arguments),this.value="",this.label="",this.tooltipPosition="bottom",this.selected=!1,this.trailingIcon=!1,this.unselectable=!1}focus(){this.input.focus()}update(t){super.update(t),t.has("selected")&&this.dispatchEvent(new Ge(this.selected))}render(){const t={"ft-switch-option":!0,"ft-switch-option--trailing-icon":this.trailingIcon,"ft-switch-option--selected":this.selected};return this.addTooltip(V`
|
|
542
|
+
<label part="label" for="input" class=${Bt(t)}
|
|
536
543
|
@click=${this.onChange}>
|
|
537
544
|
<div class="ft-switch-option--content">
|
|
538
545
|
<ft-ripple part="ripple" class="ft-switch-option--ripple"></ft-ripple>
|
|
539
546
|
<ft-typography part="text"
|
|
540
547
|
variant="button"
|
|
541
|
-
class="ft-switch-option--label ${
|
|
548
|
+
class="ft-switch-option--label ${Kt?"ft-safari-ellipsis-fix":""}"
|
|
542
549
|
?hidden=${!this.hasTextContent()}>
|
|
543
550
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
544
551
|
</ft-typography>
|
|
@@ -547,29 +554,29 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
547
554
|
</label>
|
|
548
555
|
<input id="input" type="radio" class="ft-switch-option--input"
|
|
549
556
|
.checked=${this.selected}>
|
|
550
|
-
`)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:
|
|
557
|
+
`)}addTooltip(t){return this.hasTextContent()||0===this.getLabel().trim().length?t:V`
|
|
551
558
|
<ft-tooltip part="tooltip"
|
|
552
559
|
text="${this.getLabel()}"
|
|
553
560
|
position="${this.tooltipPosition}">
|
|
554
561
|
${t}
|
|
555
562
|
</ft-tooltip>
|
|
556
|
-
`}onChange(){this.selected=!this.unselectable||!this.selected,this.dispatchEvent(new
|
|
563
|
+
`}onChange(){this.selected=!this.unselectable||!this.selected,this.dispatchEvent(new Pe(this.selected))}getLabel(){return this.label||this.textContent}resolveIcon(){return this.icon?V`
|
|
557
564
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
558
|
-
`:
|
|
559
|
-
<div @keydown=${this.onKeyDown} tabindex="0" class="${
|
|
565
|
+
`:q}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}}Te.elementDefinitions={"ft-ripple":Jt,"ft-typography":ve,"ft-tooltip":Ie,"ft-icon":Be},Te.styles=[It,He],je([r()],Te.prototype,"value",void 0),je([r()],Te.prototype,"icon",void 0),je([r()],Te.prototype,"iconVariant",void 0),je([r()],Te.prototype,"label",void 0),je([r()],Te.prototype,"tooltipPosition",void 0),je([r({type:Boolean,reflect:!0})],Te.prototype,"selected",void 0),je([r({type:Boolean})],Te.prototype,"trailingIcon",void 0),je([r({type:Boolean})],Te.prototype,"unselectable",void 0),je([n(".ft-switch-option--content slot")],Te.prototype,"slottedContent",void 0),je([n(".ft-switch-option--input")],Te.prototype,"input",void 0);var _e=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Ye extends CustomEvent{constructor(t){super("change",{detail:t})}}class Ve extends $t{constructor(){super(...arguments),this.dense=!1,this.unselectable=!1,this.options=[]}get value(){var t;return null===(t=this.selectedOption)||void 0===t?void 0:t.value}update(t){super.update(t),t.has("selectedOption")&&this.updateOptions(),t.has("unselectable")&&this.options.forEach((t=>t.unselectable=this.unselectable))}render(){const t={"ft-switch":!0,"ft-switch--dense":this.dense};return V`
|
|
566
|
+
<div @keydown=${this.onKeyDown} tabindex="0" class="${Bt(t)}">
|
|
560
567
|
<slot @slotchange=${this.onSlotchange}
|
|
561
568
|
@option-change=${this.onOptionChangeByScript}
|
|
562
569
|
@option-change-by-user=${this.onOptionChangeByUser}
|
|
563
570
|
></slot>
|
|
564
571
|
</div>
|
|
565
|
-
`}onKeyDown(t){let
|
|
572
|
+
`}onKeyDown(t){let o;"ArrowDown"!=t.key&&"ArrowRight"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)+1:0),"ArrowUp"!=t.key&&"ArrowLeft"!=t.key||(o=this.selectedOption?this.options.indexOf(this.selectedOption)-1:this.options.length-1),null!=o&&(t.preventDefault(),this.options[this.fixIndex(o)].selected=!0)}fixIndex(t){return t<0?this.options.length-1:t>this.options.length-1?0:t}onSlotchange(){var t;this.options=[],null===(t=this.slottedContent)||void 0===t||t.assignedElements().forEach((t=>{t instanceof Te&&this.registerOption(t)})),this.selectedOption=this.options.find((t=>t.selected))}registerOption(t){t.setAttribute("tabindex","-1"),t.unselectable=this.unselectable,this.options.push(t)}onOptionChangeByScript(t){t.stopPropagation();let o=t.target;this.onOptionChange(o)}onOptionChangeByUser(t){var o;t.stopPropagation(),this.onOptionChange(t.target),this.dispatchEvent(new Ye(null===(o=this.selectedOption)||void 0===o?void 0:o.value))}onOptionChange(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}private(t){t.selected?this.selectedOption=t:this.selectedOption=this.options.find((t=>t.selected))}focus(){this.ftSwitchDiv.focus()}updateOptions(){this.options.forEach((t=>{t.selected=t===this.selectedOption}))}}Ve.elementDefinitions={},Ve.styles=b`
|
|
566
573
|
:host {
|
|
567
574
|
display: inline-block;
|
|
568
575
|
}
|
|
569
576
|
|
|
570
577
|
.ft-switch {
|
|
571
|
-
border-radius: ${
|
|
572
|
-
outline-color: ${
|
|
578
|
+
border-radius: ${Me.borderRadius};
|
|
579
|
+
outline-color: ${Me.outlineColor};
|
|
573
580
|
}
|
|
574
581
|
|
|
575
582
|
.ft-switch slot {
|
|
@@ -578,22 +585,22 @@ class ke extends zt{constructor(t){if(super(t),this.et=Y,t.type!==Ft)throw Error
|
|
|
578
585
|
}
|
|
579
586
|
|
|
580
587
|
.ft-switch slot::slotted(ft-switch-option) {
|
|
581
|
-
${
|
|
582
|
-
${
|
|
583
|
-
${
|
|
588
|
+
${mt(Ae.borderRadiusLeft,"0")};
|
|
589
|
+
${mt(Ae.borderRadiusRight,"0")};
|
|
590
|
+
${mt(Ae.borderWidthLeft,"0")};
|
|
584
591
|
}
|
|
585
592
|
|
|
586
593
|
.ft-switch slot::slotted(ft-switch-option:first-child) {
|
|
587
|
-
${
|
|
588
|
-
${
|
|
594
|
+
${mt(Ae.borderRadiusLeft,Me.borderRadius)};
|
|
595
|
+
${mt(Ae.borderWidthLeft,"1px")};
|
|
589
596
|
}
|
|
590
597
|
|
|
591
598
|
.ft-switch slot::slotted(ft-switch-option:last-child) {
|
|
592
|
-
${
|
|
599
|
+
${mt(Ae.borderRadiusRight,Me.borderRadius)};
|
|
593
600
|
}
|
|
594
601
|
|
|
595
602
|
.ft-switch--dense slot::slotted(ft-switch-option) {
|
|
596
603
|
--ft-switch-internal-vertical-padding: 2px;
|
|
597
604
|
--ft-switch-internal-horizontal-padding: 4px;
|
|
598
605
|
}
|
|
599
|
-
`,
|
|
606
|
+
`,_e([r({type:Boolean})],Ve.prototype,"dense",void 0),_e([r({type:Boolean})],Ve.prototype,"unselectable",void 0),_e([n(".ft-switch slot")],Ve.prototype,"slottedContent",void 0),_e([i()],Ve.prototype,"selectedOption",void 0),_e([n(".ft-switch")],Ve.prototype,"ftSwitchDiv",void 0),p("ft-switch")(Ve),p("ft-switch-option")(Te),t.FtSwitch=Ve,t.FtSwitchChange=Ye,t.FtSwitchCssVariables=Me,t.FtSwitchOption=Te,t.FtSwitchOptionCssVariables=Ae,t.SwitchOptionChange=Ge,t.SwitchOptionChangeByUser=Pe,t.optionStyles=He}({});
|