@fluid-topics/ft-search-load-more-button 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;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 s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;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 s=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);u(i,c,s);const l={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(es){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -38,54 +38,59 @@ const C={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:w},E=(t=C,e,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/
|
|
41
|
+
*/function U(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
|
|
46
|
+
*/const I=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
|
|
51
|
+
*/;function k(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return I(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return I(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/
|
|
56
|
+
*/class L{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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}}function A(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!A(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!A(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!A(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function j(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!A(t,e),...null!=e?e:{}})}
|
|
57
|
+
/**
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright 2017 Google LLC
|
|
60
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
+
*/const F=globalThis,P=F.trustedTypes,K=P?P.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,T="?"+D,B=`<${T}>`,z=document,Z=()=>z.createComment(""),_=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,G="[ \t\n\f\r]",V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,Y=/>/g,X=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,Q=/"/g,tt=/^(?:script|style|textarea|title)$/i,et=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ot=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),it=new WeakMap,nt=z.createTreeWalker(z,129);function at(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}let st=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,c=this.parts,[l,f]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=V;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===V?"!--"===c[1]?a=q:void 0!==c[1]?a=Y:void 0!==c[2]?(tt.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=X):void 0!==c[3]&&(a=X):a===X?">"===c[0]?(a=i??V,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?X:'"'===c[3]?Q:J):a===Q||a===J?a=X:a===q||a===Y?a=V:(a=X,i=void 0);const h=a===X&&t[e+1].startsWith("/>")?" ":"";n+=a===V?o+B:l>=0?(r.push(s),o.slice(0,l)+M+o.slice(l)+D+h):o+D+(-2===l?e:h)}return[at(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(e,o);if(this.el=t.createElement(l,r),nt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=nt.nextNode())&&c.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(M)){const e=f[a++],o=i.getAttribute(t).split(D),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?ht:"?"===r[1]?ut:"@"===r[1]?pt:ft}),i.removeAttribute(t)}else t.startsWith(D)&&(c.push({type:6,index:n}),i.removeAttribute(t));if(tt.test(i.tagName)){const t=i.textContent.split(D),e=t.length-1;if(e>0){i.textContent=P?P.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Z()),nt.nextNode(),c.push({type:2,index:++n});i.append(t[e],Z())}}}else if(8===i.nodeType)if(i.data===T)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(D,t+1));)c.push({type:7,index:n}),t+=D.length-1}n++}}static createElement(t,e){const o=z.createElement("template");return o.innerHTML=t,o}};function ct(t,e,o=t,r){if(e===ot)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=_(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ct(t,i._$AS(t,e.values),i,r)),e}let lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=rt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ct(this,t,e),_(t)?t===rt||null==t||""===t?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>H(t)||"function"==typeof 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!==rt&&_(this._$AH)?this._$AA.nextSibling.data=t:this.$(z.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=st.createElement(at(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??z).importNode(e,!0);nt.currentNode=r;let i=nt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new lt(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new dt(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=nt.nextNode(),n++)}return nt.currentNode=z,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=it.get(t.strings);return void 0===e&&it.set(t.strings,e=new st(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Z()),this.k(Z()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=rt}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ct(this,t,e,0),n=!_(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ct(this,r[o+a],e,a),s===ot&&(s=this._$AH[a]),n||=!_(s)||s!==this._$AH[a],s===rt?t=rt:t!==rt&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ht=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===rt?void 0:t}},ut=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==rt)}},pt=class extends ft{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ct(this,t,e,0)??rt)===ot)return;const o=this._$AH,r=t===rt&&o!==rt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==rt&&(o===rt||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},dt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ct(this,t)}};const yt=F.litHtmlPolyfillSupport;yt?.(st,lt),(F.litHtmlVersions??=[]).push("3.1.0");
|
|
57
62
|
/**
|
|
58
63
|
* @license
|
|
59
64
|
* Copyright 2019 Google LLC
|
|
60
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
66
|
*/
|
|
62
|
-
const
|
|
67
|
+
const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(bt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const xt=t=>new Ot("string"==typeof t?t:t+"",void 0,mt),wt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new Ot(o,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return xt(e)})(t):t
|
|
63
68
|
/**
|
|
64
69
|
* @license
|
|
65
70
|
* Copyright 2017 Google LLC
|
|
66
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
-
*/,{is:
|
|
72
|
+
*/,{is:Nt,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:$t,getPrototypeOf:Ut}=Object,It=globalThis,kt=It.trustedTypes,Lt=kt?kt.emptyScript:"",At=It.reactiveElementPolyfillSupport,Wt=(t,e)=>t,jt={toAttribute(t,e){switch(e){case Boolean:t=t?Lt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Ft=(t,e)=>!Nt(t,e),Pt={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;let Kt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Pt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&Ct(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=Et(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Pt}static _$Ei(){if(this.hasOwnProperty(Wt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Wt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Wt("properties"))){const t=this.properties,e=[...Rt(t),...$t(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(St(t))}else void 0!==t&&e.push(St(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(bt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=gt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:jt).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:jt;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Ft)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Kt.elementStyles=[],Kt.shadowRootOptions={mode:"open"},Kt[Wt("elementProperties")]=new Map,Kt[Wt("finalized")]=new Map,At?.({ReactiveElement:Kt}),(It.reactiveElementVersions??=[]).push("2.0.2");
|
|
68
73
|
/**
|
|
69
74
|
* @license
|
|
70
75
|
* Copyright 2017 Google LLC
|
|
71
76
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
77
|
*/
|
|
73
|
-
const
|
|
78
|
+
const Mt=globalThis,Dt=Mt.trustedTypes,Tt=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Zt="?"+zt,_t=`<${Zt}>`,Ht=document,Gt=()=>Ht.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,qt=Array.isArray,Yt="[ \t\n\f\r]",Xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Jt=/-->/g,Qt=/>/g,te=RegExp(`>|${Yt}(?:([^\\s"'>=/]+)(${Yt}*=${Yt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,oe=/"/g,re=/^(?:script|style|textarea|title)$/i,ie=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ne=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),se=new WeakMap,ce=Ht.createTreeWalker(Ht,129);function le(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Tt?Tt.createHTML(e):e}class fe{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Xt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Xt?"!--"===c[1]?a=Jt:void 0!==c[1]?a=Qt:void 0!==c[2]?(re.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=te):void 0!==c[3]&&(a=te):a===te?">"===c[0]?(a=i??Xt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?te:'"'===c[3]?oe:ee):a===oe||a===ee?a=te:a===Jt||a===Qt?a=Xt:(a=te,i=void 0);const h=a===te&&t[e+1].startsWith("/>")?" ":"";n+=a===Xt?o+_t:l>=0?(r.push(s),o.slice(0,l)+Bt+o.slice(l)+zt+h):o+zt+(-2===l?e:h)}return[le(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=fe.createElement(c,o),ce.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ce.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Bt)){const e=l[n++],o=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?de:"?"===a[1]?ye:"@"===a[1]?ge:pe}),r.removeAttribute(t)}else t.startsWith(zt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(re.test(r.tagName)){const t=r.textContent.split(zt),e=t.length-1;if(e>0){r.textContent=Dt?Dt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Gt()),ce.nextNode(),s.push({type:2,index:++i});r.append(t[e],Gt())}}}else if(8===r.nodeType)if(r.data===Zt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)s.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,e){const o=Ht.createElement("template");return o.innerHTML=t,o}}function he(t,e,o=t,r){if(e===ne)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Vt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=he(t,i._$AS(t,e.values),i,r)),e}let ue=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=he(this,t,e),Vt(t)?t===ae||null==t||""===t?(this._$AH!==ae&&this._$AR(),this._$AH=ae):t!==this._$AH&&t!==ne&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>qt(t)||"function"==typeof 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!==ae&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ht.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=fe.createElement(le(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??Ht).importNode(e,!0);ce.currentNode=r;let i=ce.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ue(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new be(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=ce.nextNode(),n++)}return ce.currentNode=Ht,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=se.get(t.strings);return void 0===e&&se.set(t.strings,e=new fe(t)),e}T(e){qt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Gt()),this.k(Gt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ae}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=he(this,t,e,0),n=!Vt(t)||t!==this._$AH&&t!==ne,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=he(this,r[o+a],e,a),s===ne&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ae?t=ae:t!==ae&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},de=class extends pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ae?void 0:t}},ye=class extends pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ae)}},ge=class extends pe{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=he(this,t,e,0)??ae)===ne)return;const o=this._$AH,r=t===ae&&o!==ae||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==ae&&(o===ae||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},be=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){he(this,t)}};const me=Mt.litHtmlPolyfillSupport;me?.(fe,ue),(Mt.litHtmlVersions??=[]).push("3.1.0");
|
|
74
79
|
/**
|
|
75
80
|
* @license
|
|
76
81
|
* Copyright 2017 Google LLC
|
|
77
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
83
|
*/
|
|
79
|
-
let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new he(e.insertBefore(Ht(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ie}};me._$litElement$=!0,me.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:me});const ve=globalThis.litElementPolyfillSupport;ve?.({LitElement:me}),(globalThis.litElementVersions??=[]).push("4.0.2");const Oe=t=>"string"==typeof t?Ot(t):t;class xe{static create(t,e,o,r){const i=t=>Oe(null!=t?t:r),n=xt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>xt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=xt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>xt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Oe(null!=e?e:t.lastResortDefaultValue()),r=xt`var(${Oe(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>xt`var(${Oe(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function we(t,e){return Oe(`${t.name}: ${e}`)}const Se={colorWhite:xe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xe.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xe.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xe.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xe.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xe.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xe.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xe.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xe.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xe.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xe.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xe.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xe.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xe.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xe.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xe.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xe.create("--ft-opacity-0","","NUMBER","0"),opacity8:xe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xe.create("--ft-opacity-80","","NUMBER","0.8")},Ne={display:{fontFamily:xe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ce={backgroundActionPrimary:xe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:xe.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:xe.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:xe.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:xe.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:xe.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:xe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:xe.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:xe.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:xe.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:xe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:xe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:xe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:xe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:xe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:xe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:xe.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:xe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:xe.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:xe.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:xe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:xe.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:xe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:xe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:xe.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:xe.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:xe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:xe.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:xe.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:xe.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:xe.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:xe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:xe.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:xe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},Ee={largeHeight:xe.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xe.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:xe.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:xe.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:xe.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:xe.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xe.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xe.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xe.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:xe.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:xe.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:xe.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:xe.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xe.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xe.extend("--ft-button-primary-background-color","",Ce.backgroundActionPrimary),primaryColor:xe.extend("--ft-button-primary-color","",Ce.contentGlobalOnColor),primaryIconColor:xe.extend("--ft-button-primary-icon-color","",Ce.contentGlobalOnColor),primaryStateLayerColor:xe.extend("--ft-button-primary-state-layer-color","",Ce.contentGlobalOnColor),primaryStateLayerOpacityHover:xe.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:xe.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:xe.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:xe.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:xe.extend("--ft-button-focus-focus-ring-color","",Ce.borderActionFocusRing),tertiaryBackgroundColor:xe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xe.extend("--ft-button-tertiary-color","",Ce.contentActionPrimary),tertiaryIconColor:xe.extend("--ft-button-tertiary-icon-color","",Ce.contentActionPrimary),tertiaryStateLayerColor:xe.extend("--ft-button-tertiary-state-layer-color","",Ce.contentActionPrimary),tertiaryStateLayerOpacityHover:xe.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:xe.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:xe.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:xe.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:xe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xe.extend("--ft-button-secondary-color","",Ce.contentActionPrimary),secondaryIconColor:xe.extend("--ft-button-secondary-icon-color","",Ce.contentActionPrimary),secondaryStateLayerColor:xe.extend("--ft-button-secondary-state-layer-color","",Ce.contentActionPrimary),secondaryStateLayerOpacityHover:xe.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:xe.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:xe.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:xe.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:xe.extend("--ft-button-secondary-border-color","",Ce.borderActionPrimary),neutralBackgroundColor:xe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xe.extend("--ft-button-neutral-icon-color","",Ce.contentGlobalSecondary),neutralColor:xe.extend("--ft-button-neutral-color","",Ce.contentGlobalSecondary),neutralStateLayerColor:xe.extend("--ft-button-neutral-state-layer-color","",Ce.contentGlobalSecondary),neutralStateLayerOpacityHover:xe.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:xe.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:xe.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:xe.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};xe.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),xe.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),xe.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),xe.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),xe.extend("--ft-tabs-label-gap","",Se.spacing1),xe.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),xe.extend("--ft-switch-group-vertical-padding","",Se.spacing1),xe.extend("--ft-switch-group-gap","",Se.spacing1),xe.extend("--ft-switch-group-background-color","",Ce.backgroundGlobalSurface),xe.extend("--ft-switch-group-border-color","",Ce.borderGlobalSubtle),xe.create("--ft-switch-group-border-radius","","SIZE","6px"),xe.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),xe.extend("--ft-switch-label-vertical-padding","",Se.spacing1),xe.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),xe.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),xe.create("--ft-switch-focus-outline-width","","SIZE","2px"),xe.extend("--ft-switch-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),xe.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),xe.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),xe.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-switch-off-color","",Ce.contentGlobalSubtle),xe.extend("--ft-switch-off-state-layer-color","",Ce.contentGlobalSubtle),xe.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),xe.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),xe.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),xe.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),xe.extend("--ft-chart-3-light","",Se.colorUltramarine40),xe.extend("--ft-chart-3-base","",Se.colorUltramarine70),xe.extend("--ft-chart-4-light","",Se.colorCyan50),xe.extend("--ft-chart-4-base","",Se.colorCyan100),xe.extend("--ft-chart-5-light","",Se.colorRed40),xe.extend("--ft-chart-5-base","",Se.colorRed60),xe.extend("--ft-chart-6-light","",Se.colorGreen40),xe.extend("--ft-chart-6-base","",Se.colorGreen70),xe.extend("--ft-chart-7-light","",Se.colorOrange70),xe.extend("--ft-chart-7-base","",Se.colorOrange100),xe.extend("--ft-chart-8-light","",Se.colorAvocado70),xe.extend("--ft-chart-8-base","",Se.colorAvocado200),xe.extend("--ft-chart-9-light","",Se.colorBrown50),xe.extend("--ft-chart-9-base","",Se.colorBrown200),xe.extend("--ft-chart-10-light","",Se.colorGray50),xe.extend("--ft-chart-10-base","",Se.colorGray80),xe.extend("--ft-chart-monochrome-10","",Se.colorBrand10),xe.extend("--ft-chart-monochrome-20","",Se.colorBrand20),xe.extend("--ft-chart-monochrome-30","",Se.colorBrand40),xe.extend("--ft-chart-monochrome-40","",Se.colorBrand60),xe.extend("--ft-chart-monochrome-50","",Se.colorBrand0),xe.extend("--ft-chart-monochrome-60","",Se.colorBrand200),xe.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),xe.extend("--ft-chip-large-vertical-padding","",Se.spacing2),xe.extend("--ft-chip-large-gap","",Se.spacing1),xe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-large-border-width","","SIZE","1px"),xe.extend("--ft-chip-large-icon-size","",Se.iconSize3),xe.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),xe.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),xe.extend("--ft-chip-medium-gap","",Se.spacing1),xe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-medium-border-width","","SIZE","1px"),xe.extend("--ft-chip-medium-icon-size","",Se.iconSize2),xe.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),xe.extend("--ft-chip-small-vertical-padding","",Se.spacing05),xe.extend("--ft-chip-small-gap","",Se.spacing1),xe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xe.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),xe.create("--ft-chip-small-border-width","","SIZE","1px"),xe.extend("--ft-chip-small-icon-size","",Se.iconSize1),xe.extend("--ft-chip-neutral-background-color","",Ce.backgroundGlobalOnSurface),xe.extend("--ft-chip-neutral-color","",Ce.contentGlobalPrimary),xe.extend("--ft-chip-neutral-border-color","",Ce.borderGlobalSubtle),xe.extend("--ft-chip-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-chip-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-chip-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-chip-success-background-color","",Ce.backgroundSuccessSubtle),xe.extend("--ft-chip-success-color","",Ce.contentSuccessPrimary),xe.extend("--ft-chip-success-border-color","",Ce.borderSuccessPrimary),xe.extend("--ft-chip-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-chip-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-chip-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-chip-error-background-color","",Ce.backgroundErrorSubtle),xe.extend("--ft-chip-error-color","",Ce.contentErrorPrimary),xe.extend("--ft-chip-error-border-color","",Ce.borderErrorPrimary),xe.create("--ft-notice-border-width","","SIZE","1px"),xe.extend("--ft-notice-horizontal-padding","",Se.spacing2),xe.extend("--ft-notice-vertical-padding","",Se.spacing1),xe.extend("--ft-notice-border-radius","",Se.borderRadiusS),xe.extend("--ft-notice-gap","",Se.spacing2),xe.extend("--ft-notice-icon-size","",Se.iconSize3),xe.extend("--ft-notice-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-notice-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-notice-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-notice-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-notice-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-notice-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-checkbox-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-checkbox-checked-background-color","",Ce.contentActionPrimary),xe.extend("--ft-checkbox-checked-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-checkbox-checked-color","",Ce.contentGlobalOnColor),xe.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-checkbox-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xe.extend("--ft-checkbox-gap","",Se.spacing3),xe.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-toggle-off-background-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-off-icon-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-off-state-layer-color","",Ce.contentGlobalSubtle),xe.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-toggle-on-background-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-on-icon-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-on-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-toggle-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-toggle-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.extend("--ft-toggle-gap","",Se.spacing3),xe.extend("--ft-radio-label-color","",Ce.contentGlobalPrimary),xe.extend("--ft-radio-selected-color","",Ce.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-color","",Ce.contentActionPrimary),xe.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),xe.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),xe.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),xe.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),xe.extend("--ft-radio-focus-focus-ring-color","",Ce.borderActionFocusRing),xe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xe.create("--ft-radio-focus-outline-width","","SIZE","2px"),xe.extend("--ft-radio-gap","",Se.spacing3),xe.extend("--ft-notification-icon-size","",Se.iconSize4),xe.extend("--ft-notification-horizontal-padding","",Se.spacing4),xe.extend("--ft-notification-vertical-padding","",Se.spacing4),xe.extend("--ft-notification-info-background-color","",Ce.backgroundInfoSubtle),xe.extend("--ft-notification-info-color","",Ce.contentInfoPrimary),xe.extend("--ft-notification-info-border-color","",Ce.borderInfoPrimary),xe.extend("--ft-notification-success-background-color","",Ce.backgroundSuccessSubtle),xe.extend("--ft-notification-success-color","",Ce.contentSuccessPrimary),xe.extend("--ft-notification-success-border-color","",Ce.borderSuccessPrimary),xe.extend("--ft-notification-warning-background-color","",Ce.backgroundWarningSubtle),xe.extend("--ft-notification-warning-color","",Ce.contentWarningPrimary),xe.extend("--ft-notification-warning-border-color","",Ce.borderWarningPrimary),xe.extend("--ft-notification-error-background-color","",Ce.backgroundErrorSubtle),xe.extend("--ft-notification-error-color","",Ce.contentErrorPrimary),xe.extend("--ft-notification-error-border-color","",Ce.borderErrorPrimary),xe.extend("--ft-notification-border-radius","",Se.borderRadiusPill),xe.create("--ft-notification-border-width","","SIZE","1px"),xe.extend("--ft-notification-gap-leading","",Se.spacing2),xe.extend("--ft-notification-gap-trailing","",Se.spacing8);const Re={colorPrimary:xe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},$e=window,Ue=$e.ShadowRoot&&(void 0===$e.ShadyCSS||$e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
84
|
+
let ve=class extends Kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ue(e.insertBefore(Gt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const xe=t=>"string"==typeof t?xt(t):t;class we{static create(t,e,o,r){const i=t=>xe(null!=t?t:r),n=wt`var(${xe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${xe(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=wt`var(${xe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${xe(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xe(null!=e?e:t.lastResortDefaultValue()),r=wt`var(${xe(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>wt`var(${xe(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Se(t,e){return xe(`${t.name}: ${e}`)}const Ne={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Ce={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",Ne.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},Re={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:we.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:we.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),we.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),we.extend("--ft-tabs-label-gap","",Ne.spacing1),we.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-group-gap","",Ne.spacing1),we.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),we.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),we.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),we.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),we.extend("--ft-chart-3-light","",Ne.colorUltramarine40),we.extend("--ft-chart-3-base","",Ne.colorUltramarine70),we.extend("--ft-chart-4-light","",Ne.colorCyan50),we.extend("--ft-chart-4-base","",Ne.colorCyan100),we.extend("--ft-chart-5-light","",Ne.colorRed40),we.extend("--ft-chart-5-base","",Ne.colorRed60),we.extend("--ft-chart-6-light","",Ne.colorGreen40),we.extend("--ft-chart-6-base","",Ne.colorGreen70),we.extend("--ft-chart-7-light","",Ne.colorOrange70),we.extend("--ft-chart-7-base","",Ne.colorOrange100),we.extend("--ft-chart-8-light","",Ne.colorAvocado70),we.extend("--ft-chart-8-base","",Ne.colorAvocado200),we.extend("--ft-chart-9-light","",Ne.colorBrown50),we.extend("--ft-chart-9-base","",Ne.colorBrown200),we.extend("--ft-chart-10-light","",Ne.colorGray50),we.extend("--ft-chart-10-base","",Ne.colorGray80),we.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),we.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),we.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),we.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),we.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),we.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),we.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),we.extend("--ft-chip-large-gap","",Ne.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",Ne.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),we.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),we.extend("--ft-chip-medium-gap","",Ne.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),we.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),we.extend("--ft-chip-small-gap","",Ne.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",Ne.iconSize1),we.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",Ne.spacing2),we.extend("--ft-notice-vertical-padding","",Ne.spacing1),we.extend("--ft-notice-border-radius","",Ne.borderRadiusS),we.extend("--ft-notice-gap","",Ne.spacing2),we.extend("--ft-notice-icon-size","",Ne.iconSize3),we.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",Ne.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-toggle-gap","",Ne.spacing3),we.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",Ne.spacing3),we.extend("--ft-notification-icon-size","",Ne.iconSize4),we.extend("--ft-notification-horizontal-padding","",Ne.spacing4),we.extend("--ft-notification-vertical-padding","",Ne.spacing4),we.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),we.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",Ne.spacing2),we.extend("--ft-notification-gap-trailing","",Ne.spacing8);const $e={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
80
85
|
/**
|
|
81
86
|
* @license
|
|
82
87
|
* Copyright 2019 Google LLC
|
|
83
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
*/class
|
|
89
|
+
*/class ke extends ve{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ue.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Le,Ae=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const We=Symbol("constructorPrototype"),je=Symbol("constructorName"),Fe=Symbol("exportpartsDebouncer");class Pe extends ke{constructor(){super(),this[Le]=new L(5),this[je]=this.constructor.name,this[We]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[je]&&Object.setPrototypeOf(this,this[We])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).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[Fe].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 e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Le=Fe,Ae([R()],Pe.prototype,"exportpartsPrefix",void 0),Ae([j([])],Pe.prototype,"exportpartsPrefixes",void 0),Ae([R()],Pe.prototype,"customStylesheet",void 0);const Ke=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
|
|
85
90
|
.highlight-html-match {
|
|
86
|
-
background: ${
|
|
91
|
+
background: ${Ke};
|
|
87
92
|
}
|
|
88
|
-
`;const
|
|
93
|
+
`;const Me=wt`
|
|
89
94
|
.ft-no-text-select {
|
|
90
95
|
-webkit-touch-callout: none;
|
|
91
96
|
-webkit-user-select: none;
|
|
@@ -94,7 +99,7 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
94
99
|
-ms-user-select: none;
|
|
95
100
|
user-select: none;
|
|
96
101
|
}
|
|
97
|
-
`;
|
|
102
|
+
`;wt`
|
|
98
103
|
.ft-word-wrap {
|
|
99
104
|
white-space: normal;
|
|
100
105
|
word-wrap: break-word;
|
|
@@ -106,7 +111,7 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
106
111
|
-webkit-hyphens: auto;
|
|
107
112
|
hyphens: auto
|
|
108
113
|
}
|
|
109
|
-
`;const
|
|
114
|
+
`;const De=wt`
|
|
110
115
|
.ft-safari-ellipsis-fix {
|
|
111
116
|
margin-right: 0;
|
|
112
117
|
|
|
@@ -117,8 +122,8 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
117
122
|
display: inline-block;
|
|
118
123
|
width: 0;
|
|
119
124
|
}
|
|
120
|
-
`;class De{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Be=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};R(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Te{constructor(){this.stack=[]}add(t,e=!1){e&&(this.stack=this.stack.filter((e=>e.type!==t.type))),this.stack.push(t)}consume(t){const e=this.stack.find((e=>e.type===t));return e&&(this.stack=this.stack.filter((t=>t!==e))),e}}function ze(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Ze,_e,He;const Ge=Symbol("internalReduxEventsUnsubscribers"),Ve=Symbol("internalStoresUnsubscribers"),qe=Symbol("internalStores");class Ye extends Fe{constructor(){super(...arguments),this[Ze]=new Map,this[_e]=new Map,this[He]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[qe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[qe].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:ze(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[qe].delete(e)}setupStore(t,e){this[qe].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[qe].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Ve].has(t.store):this[Ve].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Ve].set(t,e.subscribe((()=>this.updateFromStores()))),ze(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ge].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ve].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ge].forEach((t=>t())),this[Ge]=[]}unsubscribeFromStore(t){this[Ve].has(t)&&this[Ve].get(t)(),this[Ve].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Xe(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Je(t){return!!t&&!!t[Mo]}function Qe(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Do}(t)||Array.isArray(t)||!!t[Ko]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Ko])||no(t)||ao(t))}function to(t,e,o){void 0===o&&(o=!1),0===eo(t)?(o?Object.keys:Bo)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function eo(t){var e=t[Mo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:no(t)?2:ao(t)?3:0}function oo(t,e){return 2===eo(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ro(t,e,o){var r=eo(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function io(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function no(t){return Wo&&t instanceof Map}function ao(t){return jo&&t instanceof Set}function so(t){return t.o||t.t}function co(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=To(t);delete e[Mo];for(var o=Bo(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function lo(t,e){return void 0===e&&(e=!1),ho(t)||Je(t)||!Qe(t)||(eo(t)>1&&(t.set=t.add=t.clear=t.delete=fo),Object.freeze(t),e&&to(t,(function(t,e){return lo(e,!0)}),!0)),t}function fo(){Xe(2)}function ho(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function uo(t){var e=zo[t];return e||Xe(18,t),e}function po(){return Lo}function yo(t,e){e&&(uo("Patches"),t.u=[],t.s=[],t.v=e)}function go(t){bo(t),t.p.forEach(vo),t.p=null}function bo(t){t===Lo&&(Lo=t.l)}function mo(t){return Lo={p:[],l:Lo,h:t,m:!0,_:0}}function vo(t){var e=t[Mo];0===e.i||1===e.i?e.j():e.g=!0}function Oo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||uo("ES5").S(e,t,r),r?(o[Mo].P&&(go(e),Xe(4)),Qe(t)&&(t=xo(e,t),e.l||So(e,t)),e.u&&uo("Patches").M(o[Mo].t,t,e.u,e.s)):t=xo(e,o,[]),go(e),e.u&&e.v(e.u,e.s),t!==Po?t:void 0}function xo(t,e,o){if(ho(e))return e;var r=e[Mo];if(!r)return to(e,(function(i,n){return wo(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return So(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=co(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),to(n,(function(e,n){return wo(t,r,i,e,n,o,a)})),So(t,i,!1),o&&t.u&&uo("Patches").N(r,o,t.u,t.s)}return r.o}function wo(t,e,o,r,i,n,a){if(Je(i)){var s=xo(t,i,n&&e&&3!==e.i&&!oo(e.R,r)?n.concat(r):void 0);if(ro(o,r,s),!Je(s))return;t.m=!1}else a&&o.add(i);if(Qe(i)&&!ho(i)){if(!t.h.D&&t._<1)return;xo(t,i),e&&e.A.l||So(t,i)}}function So(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&lo(e,o)}function No(t,e){var o=t[Mo];return(o?so(o):t)[e]}function Co(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Eo(t){t.P||(t.P=!0,t.l&&Eo(t.l))}function Ro(t){t.o||(t.o=co(t.t))}function $o(t,e,o){var r=no(e)?uo("MapSet").F(e,o):ao(e)?uo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:po(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Zo;o&&(i=[r],n=_o);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):uo("ES5").J(e,o);return(o?o.A:po()).p.push(r),r}function Uo(t){return Je(t)||Xe(22,t),function t(e){if(!Qe(e))return e;var o,r=e[Mo],i=eo(e);if(r){if(!r.P&&(r.i<4||!uo("ES5").K(r)))return r.t;r.I=!0,o=Io(e,i),r.I=!1}else o=Io(e,i);return to(o,(function(e,i){r&&function(t,e){return 2===eo(t)?t.get(e):t[e]}(r.t,e)===i||ro(o,e,t(i))})),3===i?new Set(o):o}(t)}function Io(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return co(t)}Ze=Ve,_e=qe,He=Ge;var ko,Lo,Ao="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Wo="undefined"!=typeof Map,jo="undefined"!=typeof Set,Fo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Po=Ao?Symbol.for("immer-nothing"):((ko={})["immer-nothing"]=!0,ko),Ko=Ao?Symbol.for("immer-draftable"):"__$immer_draftable",Mo=Ao?Symbol.for("immer-state"):"__$immer_state",Do=""+Object.prototype.constructor,Bo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,To=Object.getOwnPropertyDescriptors||function(t){var e={};return Bo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},zo={},Zo={get:function(t,e){if(e===Mo)return t;var o=so(t);if(!oo(o,e))return function(t,e,o){var r,i=Co(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Qe(r)?r:r===No(t.t,e)?(Ro(t),t.o[e]=$o(t.A.h,r,t)):r},has:function(t,e){return e in so(t)},ownKeys:function(t){return Reflect.ownKeys(so(t))},set:function(t,e,o){var r=Co(so(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=No(so(t),e),n=null==i?void 0:i[Mo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(io(o,i)&&(void 0!==o||oo(t.t,e)))return!0;Ro(t),Eo(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==No(t.t,e)||e in t.t?(t.R[e]=!1,Ro(t),Eo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=so(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Xe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Xe(12)}},_o={};to(Zo,(function(t,e){_o[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_o.deleteProperty=function(t,e){return _o.set.call(this,t,e,void 0)},_o.set=function(t,e,o){return Zo.set.call(this,t[0],e,o,t[0])};var Ho=function(){function t(t){var e=this;this.O=Fo,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Xe(6),void 0!==r&&"function"!=typeof r&&Xe(7),Qe(t)){var s=mo(e),c=$o(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?go(s):bo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return yo(s,r),Oo(t,s)}),(function(t){throw go(s),t})):(yo(s,r),Oo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Po&&(a=void 0),e.D&&lo(a,!0),r){var f=[],h=[];uo("Patches").M(t,a,f,h),r(f,h)}return a}Xe(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){Qe(t)||Xe(8),Je(t)&&(t=Uo(t));var e=mo(this),o=$o(this,t,void 0);return o[Mo].C=!0,bo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Mo]).A;return yo(o,e),Oo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Fo&&Xe(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=uo("Patches").$;return Je(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Go=new Ho,Vo=Go.produce;function qo(t){return qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qo(t)}function Yo(t){var e=function(t,e){if("object"!==qo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==qo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===qo(e)?e:String(e)}function Xo(t,e,o){return(e=Yo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Jo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Qo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Jo(Object(o),!0).forEach((function(e){Xo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Jo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function tr(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Go.produceWithPatches.bind(Go),Go.setAutoFreeze.bind(Go),Go.setUseProxies.bind(Go),Go.applyPatches.bind(Go),Go.createDraft.bind(Go),Go.finishDraft.bind(Go);var er="function"==typeof Symbol&&Symbol.observable||"@@observable",or=function(){return Math.random().toString(36).substring(7).split("").join(".")},rr={INIT:"@@redux/INIT"+or(),REPLACE:"@@redux/REPLACE"+or(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+or()}};function ir(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(tr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(tr(1));return o(ir)(t,e)}if("function"!=typeof t)throw new Error(tr(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(tr(3));return n}function h(t){if("function"!=typeof t)throw new Error(tr(4));if(c)throw new Error(tr(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(tr(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(tr(7));if(void 0===t.type)throw new Error(tr(8));if(c)throw new Error(tr(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:rr.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(tr(10));i=t,u({type:rr.REPLACE})}})[er]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(tr(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[er]=function(){return this},t},r}function nr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:rr.INIT}))throw new Error(tr(12));if(void 0===o(void 0,{type:rr.PROBE_UNKNOWN_ACTION()}))throw new Error(tr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(tr(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ar(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function sr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(tr(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ar.apply(void 0,n)(o.dispatch),Qo(Qo({},o),{},{dispatch:r})}}}function cr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var lr=cr();lr.withExtraArgument=cr;var fr,hr=lr,ur=(fr=function(t,e){return fr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},fr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}fr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),pr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},dr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},yr=Object.defineProperty,gr=Object.defineProperties,br=Object.getOwnPropertyDescriptors,mr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,xr=function(t,e,o){return e in t?yr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},wr=function(t,e){for(var o in e||(e={}))vr.call(e,o)&&xr(t,o,e[o]);if(mr)for(var r=0,i=mr(e);r<i.length;r++){o=i[r];Or.call(e,o)&&xr(t,o,e[o])}return t},Sr=function(t,e){return gr(t,br(e))},Nr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ar:ar.apply(null,arguments)};var Cr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ur(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dr([void 0],t[0].concat(this)))):new(e.bind.apply(e,dr([void 0],t.concat(this))))},e}(Array),Er=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ur(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,dr([void 0],t[0].concat(this)))):new(e.bind.apply(e,dr([void 0],t.concat(this))))},e}(Array);function Rr(t){return Qe(t)?Vo(t,(function(){})):t}function $r(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Cr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(hr.withExtraArgument(o.extraArgument)):r.push(hr));return r}(t)}}function Ur(t){var e,o=$r(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=nr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=sr.apply(void 0,d),g=ar;l&&(g=Nr(wr({trace:!1},"object"==typeof l&&l)));var b=new Er(y),m=b;return Array.isArray(p)?m=dr([y],p):"function"==typeof p&&(m=p(b)),ir(e,h,g.apply(void 0,m))}function Ir(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return wr(wr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function kr(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Lr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Rr(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?kr(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=wr(wr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?kr(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Rr(t())};else{var l=Rr(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=dr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Je(t))return void 0===(r=o(t,e))?t:r;if(Qe(t))return Vo(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Ir(l,r):Ir(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ar=["name","message","stack","code"],Wr=function(t,e){this.payload=t,this.meta=e},jr=function(t,e){this.payload=t,this.meta=e},Fr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ar;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Pr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ir(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Sr(wr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ir(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Sr(wr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ir(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Fr)(t||"Rejected"),meta:Sr(wr({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return pr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new Wr(t,e)},fulfillWithValue:function(t,e){return new jr(t,e)}})).then((function(e){if(e instanceof Wr)throw e;return e instanceof jr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Wr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(Pr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Kr="listenerMiddleware";Ir(Kr+"/add"),Ir(Kr+"/removeAll"),Ir(Kr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Mo];return Zo.get(e,t)},set:function(e){var o=this[Mo];Zo.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Mo];if(!i.P)switch(i.i){case 5:r(i)&&Eo(i);break;case 4:o(i)&&Eo(i)}}}function o(t){for(var e=t.t,o=t.k,r=Bo(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mo){var a=e[n];if(void 0===a&&!oo(e,n))return!0;var s=o[n],c=s&&s[Mo];if(c?c.t!==a:!io(s,a))return!0}}var l=!!e[Mo];return r.length!==Bo(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){zo[t]||(zo[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=To(o);delete n[Mo];for(var a=Bo(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:po(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mo,{value:n,writable:!0}),i},S:function(t,o,i){i?Je(o)&&o[Mo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Mo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)to(n,(function(e){e!==Mo&&(void 0!==i[e]||oo(i,e)?a[e]||t(n[e]):(a[e]=!0,Eo(o)))})),to(i,(function(t){void 0!==n[t]||oo(n,t)||(a[t]=!1,Eo(o))}));else if(5===s){if(r(o)&&(Eo(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Mr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(ze(i))return i;if(null==r)return;const n=Lr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ur({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Mr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Te,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Dr=Symbol("elementInternals");var Br,Tr,zr;const Zr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(zr=null===(Tr=null===(Br=window.safari)||void 0===Br?void 0:Br.pushNotification)||void 0===Tr?void 0:Tr.toString())&&void 0!==zr?zr:""),_r=xt`
|
|
121
|
-
`,
|
|
125
|
+
`;class Te{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Be=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!A(t,e),attribute:!1,...e};R(i)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class ze{constructor(){this.stack=[]}add(t,e=!1){e&&(this.stack=this.stack.filter((e=>e.type!==t.type))),this.stack.push(t)}consume(t){const e=this.stack.find((e=>e.type===t));return e&&(this.stack=this.stack.filter((t=>t!==e))),e}}function Ze(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _e,He,Ge;const Ve=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores");class Xe extends Pe{constructor(){super(...arguments),this[_e]=new Map,this[He]=new Map,this[Ge]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ye].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ye].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ze(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ye].delete(e)}setupStore(t,e){this[Ye].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ye].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qe].set(t,e.subscribe((()=>this.updateFromStores()))),Ze(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Ve].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ve].forEach((t=>t())),this[Ve]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Je(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qe(t){return!!t&&!!t[Do]}function to(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===To}(t)||Array.isArray(t)||!!t[Mo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Mo])||ao(t)||so(t))}function eo(t,e,o){void 0===o&&(o=!1),0===oo(t)?(o?Object.keys:Bo)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function oo(t){var e=t[Do];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ao(t)?2:so(t)?3:0}function ro(t,e){return 2===oo(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function io(t,e,o){var r=oo(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function no(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ao(t){return jo&&t instanceof Map}function so(t){return Fo&&t instanceof Set}function co(t){return t.o||t.t}function lo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=zo(t);delete e[Do];for(var o=Bo(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function fo(t,e){return void 0===e&&(e=!1),uo(t)||Qe(t)||!to(t)||(oo(t)>1&&(t.set=t.add=t.clear=t.delete=ho),Object.freeze(t),e&&eo(t,(function(t,e){return fo(e,!0)}),!0)),t}function ho(){Je(2)}function uo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function po(t){var e=Zo[t];return e||Je(18,t),e}function yo(){return Ao}function go(t,e){e&&(po("Patches"),t.u=[],t.s=[],t.v=e)}function bo(t){mo(t),t.p.forEach(Oo),t.p=null}function mo(t){t===Ao&&(Ao=t.l)}function vo(t){return Ao={p:[],l:Ao,h:t,m:!0,_:0}}function Oo(t){var e=t[Do];0===e.i||1===e.i?e.j():e.g=!0}function xo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||po("ES5").S(e,t,r),r?(o[Do].P&&(bo(e),Je(4)),to(t)&&(t=wo(e,t),e.l||No(e,t)),e.u&&po("Patches").M(o[Do].t,t,e.u,e.s)):t=wo(e,o,[]),bo(e),e.u&&e.v(e.u,e.s),t!==Ko?t:void 0}function wo(t,e,o){if(uo(e))return e;var r=e[Do];if(!r)return eo(e,(function(i,n){return So(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return No(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=lo(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),eo(n,(function(e,n){return So(t,r,i,e,n,o,a)})),No(t,i,!1),o&&t.u&&po("Patches").N(r,o,t.u,t.s)}return r.o}function So(t,e,o,r,i,n,a){if(Qe(i)){var s=wo(t,i,n&&e&&3!==e.i&&!ro(e.R,r)?n.concat(r):void 0);if(io(o,r,s),!Qe(s))return;t.m=!1}else a&&o.add(i);if(to(i)&&!uo(i)){if(!t.h.D&&t._<1)return;wo(t,i),e&&e.A.l||No(t,i)}}function No(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&fo(e,o)}function Co(t,e){var o=t[Do];return(o?co(o):t)[e]}function Eo(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Ro(t){t.P||(t.P=!0,t.l&&Ro(t.l))}function $o(t){t.o||(t.o=lo(t.t))}function Uo(t,e,o){var r=ao(e)?po("MapSet").F(e,o):so(e)?po("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:yo(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=_o;o&&(i=[r],n=Ho);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):po("ES5").J(e,o);return(o?o.A:yo()).p.push(r),r}function Io(t){return Qe(t)||Je(22,t),function t(e){if(!to(e))return e;var o,r=e[Do],i=oo(e);if(r){if(!r.P&&(r.i<4||!po("ES5").K(r)))return r.t;r.I=!0,o=ko(e,i),r.I=!1}else o=ko(e,i);return eo(o,(function(e,i){r&&function(t,e){return 2===oo(t)?t.get(e):t[e]}(r.t,e)===i||io(o,e,t(i))})),3===i?new Set(o):o}(t)}function ko(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return lo(t)}_e=qe,He=Ye,Ge=Ve;var Lo,Ao,Wo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),jo="undefined"!=typeof Map,Fo="undefined"!=typeof Set,Po="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ko=Wo?Symbol.for("immer-nothing"):((Lo={})["immer-nothing"]=!0,Lo),Mo=Wo?Symbol.for("immer-draftable"):"__$immer_draftable",Do=Wo?Symbol.for("immer-state"):"__$immer_state",To=""+Object.prototype.constructor,Bo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,zo=Object.getOwnPropertyDescriptors||function(t){var e={};return Bo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Zo={},_o={get:function(t,e){if(e===Do)return t;var o=co(t);if(!ro(o,e))return function(t,e,o){var r,i=Eo(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!to(r)?r:r===Co(t.t,e)?($o(t),t.o[e]=Uo(t.A.h,r,t)):r},has:function(t,e){return e in co(t)},ownKeys:function(t){return Reflect.ownKeys(co(t))},set:function(t,e,o){var r=Eo(co(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Co(co(t),e),n=null==i?void 0:i[Do];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(no(o,i)&&(void 0!==o||ro(t.t,e)))return!0;$o(t),Ro(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Co(t.t,e)||e in t.t?(t.R[e]=!1,$o(t),Ro(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=co(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Je(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Je(12)}},Ho={};eo(_o,(function(t,e){Ho[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Ho.deleteProperty=function(t,e){return Ho.set.call(this,t,e,void 0)},Ho.set=function(t,e,o){return _o.set.call(this,t[0],e,o,t[0])};var Go=function(){function t(t){var e=this;this.O=Po,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Je(6),void 0!==r&&"function"!=typeof r&&Je(7),to(t)){var s=vo(e),c=Uo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?bo(s):mo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return go(s,r),xo(t,s)}),(function(t){throw bo(s),t})):(go(s,r),xo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ko&&(a=void 0),e.D&&fo(a,!0),r){var f=[],h=[];po("Patches").M(t,a,f,h),r(f,h)}return a}Je(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){to(t)||Je(8),Qe(t)&&(t=Io(t));var e=vo(this),o=Uo(this,t,void 0);return o[Do].C=!0,mo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Do]).A;return go(o,e),xo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Po&&Je(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=po("Patches").$;return Qe(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Vo=new Go,qo=Vo.produce;function Yo(t){return Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yo(t)}function Xo(t){var e=function(t,e){if("object"!==Yo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Yo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Yo(e)?e:String(e)}function Jo(t,e,o){return(e=Xo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Qo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function tr(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Qo(Object(o),!0).forEach((function(e){Jo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Qo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function er(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Vo.produceWithPatches.bind(Vo),Vo.setAutoFreeze.bind(Vo),Vo.setUseProxies.bind(Vo),Vo.applyPatches.bind(Vo),Vo.createDraft.bind(Vo),Vo.finishDraft.bind(Vo);var or="function"==typeof Symbol&&Symbol.observable||"@@observable",rr=function(){return Math.random().toString(36).substring(7).split("").join(".")},ir={INIT:"@@redux/INIT"+rr(),REPLACE:"@@redux/REPLACE"+rr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+rr()}};function nr(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(er(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(er(1));return o(nr)(t,e)}if("function"!=typeof t)throw new Error(er(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(er(3));return n}function h(t){if("function"!=typeof t)throw new Error(er(4));if(c)throw new Error(er(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(er(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(er(7));if(void 0===t.type)throw new Error(er(8));if(c)throw new Error(er(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:ir.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(er(10));i=t,u({type:ir.REPLACE})}})[or]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(er(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[or]=function(){return this},t},r}function ar(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ir.INIT}))throw new Error(er(12));if(void 0===o(void 0,{type:ir.PROBE_UNKNOWN_ACTION()}))throw new Error(er(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(er(14));i[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function sr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function cr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(er(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=sr.apply(void 0,n)(o.dispatch),tr(tr({},o),{},{dispatch:r})}}}function lr(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var fr=lr();fr.withExtraArgument=lr;var hr,ur=fr,pr=(hr=function(t,e){return hr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},hr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}hr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),dr=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},gr=Object.defineProperty,br=Object.defineProperties,mr=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable,wr=function(t,e,o){return e in t?gr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Sr=function(t,e){for(var o in e||(e={}))Or.call(e,o)&&wr(t,o,e[o]);if(vr)for(var r=0,i=vr(e);r<i.length;r++){o=i[r];xr.call(e,o)&&wr(t,o,e[o])}return t},Nr=function(t,e){return br(t,mr(e))},Cr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sr:sr.apply(null,arguments)};var Er=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return pr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yr([void 0],t[0].concat(this)))):new(e.bind.apply(e,yr([void 0],t.concat(this))))},e}(Array),Rr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return pr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yr([void 0],t[0].concat(this)))):new(e.bind.apply(e,yr([void 0],t.concat(this))))},e}(Array);function $r(t){return to(t)?qo(t,(function(){})):t}function Ur(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Er;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ur.withExtraArgument(o.extraArgument)):r.push(ur));return r}(t)}}function Ir(t){var e,o=Ur(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,u=r.enhancers,p=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=ar(n)}var d=s;"function"==typeof d&&(d=d(o));var y=cr.apply(void 0,d),g=sr;l&&(g=Cr(Sr({trace:!1},"object"==typeof l&&l)));var b=new Rr(y),m=b;return Array.isArray(p)?m=yr([y],p):"function"==typeof p&&(m=p(b)),nr(e,h,g.apply(void 0,m))}function kr(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Sr(Sr({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Lr(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Ar(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:$r(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Lr(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Sr(Sr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Lr(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return $r(t())};else{var l=$r(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=yr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Qe(t))return void 0===(r=o(t,e))?t:r;if(to(t))return qo(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?kr(l,r):kr(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Wr=["name","message","stack","code"],jr=function(t,e){this.payload=t,this.meta=e},Fr=function(t,e){this.payload=t,this.meta=e},Pr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Wr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Kr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=kr(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Nr(Sr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=kr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Nr(Sr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=kr(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Pr)(t||"Rejected"),meta:Nr(Sr({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function p(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return dr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:p,rejectWithValue:function(t,e){return new jr(t,e)},fulfillWithValue:function(t,e){return new Fr(t,e)}})).then((function(e){if(e instanceof jr)throw e;return e instanceof Fr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof jr?n(null,h,t,m.payload,m.meta):n(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:h,arg:t,unwrap:function(){return d.then(Kr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Mr="listenerMiddleware";kr(Mr+"/add"),kr(Mr+"/removeAll"),kr(Mr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Do];return _o.get(e,t)},set:function(e){var o=this[Do];_o.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Do];if(!i.P)switch(i.i){case 5:r(i)&&Ro(i);break;case 4:o(i)&&Ro(i)}}}function o(t){for(var e=t.t,o=t.k,r=Bo(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Do){var a=e[n];if(void 0===a&&!ro(e,n))return!0;var s=o[n],c=s&&s[Do];if(c?c.t!==a:!no(s,a))return!0}}var l=!!e[Do];return r.length!==Bo(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Zo[t]||(Zo[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=zo(o);delete n[Do];for(var a=Bo(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:yo(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Do,{value:n,writable:!0}),i},S:function(t,o,i){i?Qe(o)&&o[Do].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Do];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)eo(n,(function(e){e!==Do&&(void 0!==i[e]||ro(i,e)?a[e]||t(n[e]):(a[e]=!0,Ro(o)))})),eo(i,(function(t){void 0!==n[t]||ro(n,t)||(a[t]=!1,Ro(o))}));else if(5===s){if(r(o)&&(Ro(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Dr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Ze(i))return i;if(null==r)return;const n=Ar({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ir({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Dr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ze,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Tr=Symbol("elementInternals");var Br,zr,Zr;const _r=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Zr=null===(zr=null===(Br=window.safari)||void 0===Br?void 0:Br.pushNotification)||void 0===zr?void 0:zr.toString())&&void 0!==Zr?Zr:""),Hr=wt`
|
|
126
|
+
`,Gr=we.extend("--ft-ripple-color","",$e.colorContent),Vr={color:Gr,backgroundColor:we.extend("--ft-ripple-background-color","",Gr),opacityContentOnSurfacePressed:we.external($e.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:we.external($e.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:we.external($e.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:we.external($e.opacityContentOnSurfaceSelected,"Design system"),borderRadius:we.create("--ft-ripple-border-radius","","SIZE","0px")},qr=we.extend("--ft-ripple-color","",$e.colorPrimary),Yr=qr,Xr=we.extend("--ft-ripple-background-color","",qr),Jr=we.extend("--ft-ripple-color","",$e.colorSecondary),Qr=Jr,ti=we.extend("--ft-ripple-background-color","",Jr),ei=wt`
|
|
122
127
|
:host {
|
|
123
128
|
display: contents;
|
|
124
129
|
}
|
|
@@ -131,7 +136,7 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
131
136
|
|
|
132
137
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
133
138
|
overflow: hidden;
|
|
134
|
-
border-radius: ${
|
|
139
|
+
border-radius: ${Vr.borderRadius};
|
|
135
140
|
}
|
|
136
141
|
|
|
137
142
|
.ft-ripple .ft-ripple--background,
|
|
@@ -165,27 +170,27 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
165
170
|
}
|
|
166
171
|
|
|
167
172
|
.ft-ripple .ft-ripple--background {
|
|
168
|
-
background-color: ${
|
|
173
|
+
background-color: ${Vr.backgroundColor};
|
|
169
174
|
}
|
|
170
175
|
|
|
171
176
|
.ft-ripple .ft-ripple--effect {
|
|
172
|
-
background-color: ${
|
|
177
|
+
background-color: ${Vr.color};
|
|
173
178
|
}
|
|
174
179
|
|
|
175
180
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
176
|
-
background-color: ${
|
|
181
|
+
background-color: ${ti};
|
|
177
182
|
}
|
|
178
183
|
|
|
179
184
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
180
|
-
background-color: ${
|
|
185
|
+
background-color: ${Qr};
|
|
181
186
|
}
|
|
182
187
|
|
|
183
188
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
184
|
-
background-color: ${
|
|
189
|
+
background-color: ${Xr};
|
|
185
190
|
}
|
|
186
191
|
|
|
187
192
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
188
|
-
background-color: ${
|
|
193
|
+
background-color: ${Yr};
|
|
189
194
|
}
|
|
190
195
|
|
|
191
196
|
.ft-ripple .ft-ripple--background {
|
|
@@ -215,118 +220,118 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
215
220
|
}
|
|
216
221
|
|
|
217
222
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
218
|
-
opacity: ${
|
|
223
|
+
opacity: ${Vr.opacityContentOnSurfaceHover};
|
|
219
224
|
}
|
|
220
225
|
|
|
221
226
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
222
|
-
opacity: ${
|
|
227
|
+
opacity: ${Vr.opacityContentOnSurfaceSelected};
|
|
223
228
|
}
|
|
224
229
|
|
|
225
230
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
226
|
-
opacity: ${
|
|
231
|
+
opacity: ${Vr.opacityContentOnSurfaceFocused};
|
|
227
232
|
}
|
|
228
233
|
|
|
229
234
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
230
|
-
opacity: ${
|
|
235
|
+
opacity: ${Vr.opacityContentOnSurfacePressed};
|
|
231
236
|
transform: translate(-50%, -50%) scale(1);
|
|
232
237
|
}
|
|
233
|
-
`;const
|
|
238
|
+
`;const oi=we.extend("--ft-typography-font-family","",$e.titleFont),ri=we.extend("--ft-typography-font-family","",$e.contentFont),ii={fontFamily:ri,fontSize:we.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:we.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:we.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:we.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:we.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ni=we.extend("--ft-typography-title-font-family","",oi),ai=we.extend("--ft-typography-title-font-size","",ii.fontSize,"20px"),si=we.extend("--ft-typography-title-font-weight","",ii.fontWeight,"normal"),ci=we.extend("--ft-typography-title-letter-spacing","",ii.letterSpacing,"0.15px"),li=we.extend("--ft-typography-title-line-height","",ii.lineHeight,"1.2"),fi=we.extend("--ft-typography-title-text-transform","",ii.textTransform,"inherit"),hi=we.extend("--ft-typography-title-dense-font-family","",oi),ui=we.extend("--ft-typography-title-dense-font-size","",ii.fontSize,"14px"),pi=we.extend("--ft-typography-title-dense-font-weight","",ii.fontWeight,"normal"),di=we.extend("--ft-typography-title-dense-letter-spacing","",ii.letterSpacing,"0.105px"),yi=we.extend("--ft-typography-title-dense-line-height","",ii.lineHeight,"1.7"),gi=we.extend("--ft-typography-title-dense-text-transform","",ii.textTransform,"inherit"),bi=we.extend("--ft-typography-subtitle1-font-family","",ri),mi=we.extend("--ft-typography-subtitle1-font-size","",ii.fontSize,"16px"),vi=we.extend("--ft-typography-subtitle1-font-weight","",ii.fontWeight,"600"),Oi=we.extend("--ft-typography-subtitle1-letter-spacing","",ii.letterSpacing,"0.144px"),xi=we.extend("--ft-typography-subtitle1-line-height","",ii.lineHeight,"1.5"),wi=we.extend("--ft-typography-subtitle1-text-transform","",ii.textTransform,"inherit"),Si=we.extend("--ft-typography-subtitle2-font-family","",ri),Ni=we.extend("--ft-typography-subtitle2-font-size","",ii.fontSize,"14px"),Ci=we.extend("--ft-typography-subtitle2-font-weight","",ii.fontWeight,"normal"),Ei=we.extend("--ft-typography-subtitle2-letter-spacing","",ii.letterSpacing,"0.098px"),Ri=we.extend("--ft-typography-subtitle2-line-height","",ii.lineHeight,"1.7"),$i=we.extend("--ft-typography-subtitle2-text-transform","",ii.textTransform,"inherit"),Ui=we.extend("--ft-typography-body1-font-family","",ri),Ii=we.extend("--ft-typography-body1-font-size","",ii.fontSize,"16px"),ki=we.extend("--ft-typography-body1-font-weight","",ii.fontWeight,"normal"),Li=we.extend("--ft-typography-body1-letter-spacing","",ii.letterSpacing,"0.496px"),Ai=we.extend("--ft-typography-body1-line-height","",ii.lineHeight,"1.5"),Wi=we.extend("--ft-typography-body1-text-transform","",ii.textTransform,"inherit"),ji=we.extend("--ft-typography-body2-font-family","",ri),Fi=we.extend("--ft-typography-body2-font-size","",ii.fontSize,"14px"),Pi=we.extend("--ft-typography-body2-font-weight","",ii.fontWeight,"normal"),Ki=we.extend("--ft-typography-body2-letter-spacing","",ii.letterSpacing,"0.252px"),Mi=we.extend("--ft-typography-body2-line-height","",ii.lineHeight,"1.4"),Di=we.extend("--ft-typography-body2-text-transform","",ii.textTransform,"inherit"),Ti=we.extend("--ft-typography-caption-font-family","",ri),Bi=we.extend("--ft-typography-caption-font-size","",ii.fontSize,"12px"),zi=we.extend("--ft-typography-caption-font-weight","",ii.fontWeight,"normal"),Zi=we.extend("--ft-typography-caption-letter-spacing","",ii.letterSpacing,"0.396px"),_i=we.extend("--ft-typography-caption-line-height","",ii.lineHeight,"1.33"),Hi=we.extend("--ft-typography-caption-text-transform","",ii.textTransform,"inherit"),Gi=we.extend("--ft-typography-breadcrumb-font-family","",ri),Vi=we.extend("--ft-typography-breadcrumb-font-size","",ii.fontSize,"10px"),qi=we.extend("--ft-typography-breadcrumb-font-weight","",ii.fontWeight,"normal"),Yi=we.extend("--ft-typography-breadcrumb-letter-spacing","",ii.letterSpacing,"0.33px"),Xi=we.extend("--ft-typography-breadcrumb-line-height","",ii.lineHeight,"1.6"),Ji=we.extend("--ft-typography-breadcrumb-text-transform","",ii.textTransform,"inherit"),Qi=we.extend("--ft-typography-overline-font-family","",ri),tn=we.extend("--ft-typography-overline-font-size","",ii.fontSize,"10px"),en=we.extend("--ft-typography-overline-font-weight","",ii.fontWeight,"normal"),on=we.extend("--ft-typography-overline-letter-spacing","",ii.letterSpacing,"1.5px"),rn=we.extend("--ft-typography-overline-line-height","",ii.lineHeight,"1.6"),nn=we.extend("--ft-typography-overline-text-transform","",ii.textTransform,"uppercase"),an={fontFamily:we.extend("--ft-typography-button-font-family","",ri),fontSize:we.extend("--ft-typography-button-font-size","",ii.fontSize,"14px"),fontWeight:we.extend("--ft-typography-button-font-weight","",ii.fontWeight,"600"),letterSpacing:we.extend("--ft-typography-button-letter-spacing","",ii.letterSpacing,"1.246px"),lineHeight:we.extend("--ft-typography-button-line-height","",ii.lineHeight,"1.15"),textTransform:we.extend("--ft-typography-button-text-transform","",ii.textTransform,"uppercase")},sn=wt`
|
|
234
239
|
.ft-typography--title {
|
|
235
|
-
font-family: ${
|
|
236
|
-
font-size: ${
|
|
237
|
-
font-weight: ${
|
|
238
|
-
letter-spacing: ${
|
|
239
|
-
line-height: ${
|
|
240
|
-
text-transform: ${
|
|
241
|
-
}
|
|
242
|
-
`,
|
|
240
|
+
font-family: ${ni};
|
|
241
|
+
font-size: ${ai};
|
|
242
|
+
font-weight: ${si};
|
|
243
|
+
letter-spacing: ${ci};
|
|
244
|
+
line-height: ${li};
|
|
245
|
+
text-transform: ${fi};
|
|
246
|
+
}
|
|
247
|
+
`,cn=wt`
|
|
243
248
|
.ft-typography--title-dense {
|
|
244
|
-
font-family: ${
|
|
245
|
-
font-size: ${
|
|
246
|
-
font-weight: ${
|
|
247
|
-
letter-spacing: ${
|
|
248
|
-
line-height: ${
|
|
249
|
-
text-transform: ${
|
|
250
|
-
}
|
|
251
|
-
`,
|
|
249
|
+
font-family: ${hi};
|
|
250
|
+
font-size: ${ui};
|
|
251
|
+
font-weight: ${pi};
|
|
252
|
+
letter-spacing: ${di};
|
|
253
|
+
line-height: ${yi};
|
|
254
|
+
text-transform: ${gi};
|
|
255
|
+
}
|
|
256
|
+
`,ln=wt`
|
|
252
257
|
.ft-typography--subtitle1 {
|
|
253
|
-
font-family: ${
|
|
254
|
-
font-size: ${
|
|
255
|
-
font-weight: ${
|
|
256
|
-
letter-spacing: ${
|
|
257
|
-
line-height: ${
|
|
258
|
-
text-transform: ${
|
|
259
|
-
}
|
|
260
|
-
`,
|
|
258
|
+
font-family: ${bi};
|
|
259
|
+
font-size: ${mi};
|
|
260
|
+
font-weight: ${vi};
|
|
261
|
+
letter-spacing: ${Oi};
|
|
262
|
+
line-height: ${xi};
|
|
263
|
+
text-transform: ${wi};
|
|
264
|
+
}
|
|
265
|
+
`,fn=wt`
|
|
261
266
|
.ft-typography--subtitle2 {
|
|
262
|
-
font-family: ${
|
|
263
|
-
font-size: ${
|
|
264
|
-
font-weight: ${
|
|
265
|
-
letter-spacing: ${
|
|
266
|
-
line-height: ${
|
|
267
|
-
text-transform: ${
|
|
267
|
+
font-family: ${Si};
|
|
268
|
+
font-size: ${Ni};
|
|
269
|
+
font-weight: ${Ci};
|
|
270
|
+
letter-spacing: ${Ei};
|
|
271
|
+
line-height: ${Ri};
|
|
272
|
+
text-transform: ${$i};
|
|
268
273
|
}
|
|
269
274
|
|
|
270
|
-
`,
|
|
275
|
+
`,hn=wt`
|
|
271
276
|
.ft-typography--body1 {
|
|
272
|
-
font-family: ${
|
|
273
|
-
font-size: ${
|
|
274
|
-
font-weight: ${
|
|
275
|
-
letter-spacing: ${
|
|
276
|
-
line-height: ${
|
|
277
|
-
text-transform: ${
|
|
278
|
-
}
|
|
279
|
-
`,
|
|
277
|
+
font-family: ${Ui};
|
|
278
|
+
font-size: ${Ii};
|
|
279
|
+
font-weight: ${ki};
|
|
280
|
+
letter-spacing: ${Li};
|
|
281
|
+
line-height: ${Ai};
|
|
282
|
+
text-transform: ${Wi};
|
|
283
|
+
}
|
|
284
|
+
`,un=wt`
|
|
280
285
|
.ft-typography--body2 {
|
|
281
|
-
font-family: ${
|
|
282
|
-
font-size: ${
|
|
283
|
-
font-weight: ${
|
|
284
|
-
letter-spacing: ${
|
|
285
|
-
line-height: ${
|
|
286
|
-
text-transform: ${
|
|
287
|
-
}
|
|
288
|
-
`,
|
|
286
|
+
font-family: ${ji};
|
|
287
|
+
font-size: ${Fi};
|
|
288
|
+
font-weight: ${Pi};
|
|
289
|
+
letter-spacing: ${Ki};
|
|
290
|
+
line-height: ${Mi};
|
|
291
|
+
text-transform: ${Di};
|
|
292
|
+
}
|
|
293
|
+
`,pn=wt`
|
|
289
294
|
.ft-typography--caption {
|
|
290
|
-
font-family: ${
|
|
295
|
+
font-family: ${Ti};
|
|
291
296
|
font-size: ${Bi};
|
|
292
|
-
font-weight: ${
|
|
293
|
-
letter-spacing: ${
|
|
294
|
-
line-height: ${
|
|
295
|
-
text-transform: ${
|
|
297
|
+
font-weight: ${zi};
|
|
298
|
+
letter-spacing: ${Zi};
|
|
299
|
+
line-height: ${_i};
|
|
300
|
+
text-transform: ${Hi};
|
|
296
301
|
}
|
|
297
|
-
`,
|
|
302
|
+
`,dn=wt`
|
|
298
303
|
.ft-typography--breadcrumb {
|
|
299
|
-
font-family: ${
|
|
300
|
-
font-size: ${
|
|
301
|
-
font-weight: ${
|
|
302
|
-
letter-spacing: ${
|
|
303
|
-
line-height: ${
|
|
304
|
-
text-transform: ${
|
|
305
|
-
}
|
|
306
|
-
`,
|
|
304
|
+
font-family: ${Gi};
|
|
305
|
+
font-size: ${Vi};
|
|
306
|
+
font-weight: ${qi};
|
|
307
|
+
letter-spacing: ${Yi};
|
|
308
|
+
line-height: ${Xi};
|
|
309
|
+
text-transform: ${Ji};
|
|
310
|
+
}
|
|
311
|
+
`,yn=wt`
|
|
307
312
|
.ft-typography--overline {
|
|
308
|
-
font-family: ${
|
|
309
|
-
font-size: ${
|
|
310
|
-
font-weight: ${
|
|
311
|
-
letter-spacing: ${
|
|
312
|
-
line-height: ${
|
|
313
|
-
text-transform: ${
|
|
314
|
-
}
|
|
315
|
-
`,
|
|
313
|
+
font-family: ${Qi};
|
|
314
|
+
font-size: ${tn};
|
|
315
|
+
font-weight: ${en};
|
|
316
|
+
letter-spacing: ${on};
|
|
317
|
+
line-height: ${rn};
|
|
318
|
+
text-transform: ${nn};
|
|
319
|
+
}
|
|
320
|
+
`,gn=wt`
|
|
316
321
|
.ft-typography--button {
|
|
317
|
-
font-family: ${
|
|
318
|
-
font-size: ${
|
|
319
|
-
font-weight: ${
|
|
320
|
-
letter-spacing: ${
|
|
321
|
-
line-height: ${
|
|
322
|
-
text-transform: ${
|
|
323
|
-
}
|
|
324
|
-
`,
|
|
322
|
+
font-family: ${an.fontFamily};
|
|
323
|
+
font-size: ${an.fontSize};
|
|
324
|
+
font-weight: ${an.fontWeight};
|
|
325
|
+
letter-spacing: ${an.letterSpacing};
|
|
326
|
+
line-height: ${an.lineHeight};
|
|
327
|
+
text-transform: ${an.textTransform};
|
|
328
|
+
}
|
|
329
|
+
`,bn=wt`
|
|
325
330
|
.ft-typography {
|
|
326
331
|
vertical-align: inherit;
|
|
327
332
|
}
|
|
328
|
-
`,
|
|
329
|
-
.ft-typography--${
|
|
333
|
+
`,mn=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return wt`
|
|
334
|
+
.ft-typography--${xt(t)} {
|
|
330
335
|
font-family: ${e.fontFamily};
|
|
331
336
|
font-size: ${e.fontSize};
|
|
332
337
|
font-weight: ${e.fontWeight};
|
|
@@ -334,7 +339,7 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
334
339
|
line-height: ${e.lineHeight};
|
|
335
340
|
text-transform: ${e.textCase};
|
|
336
341
|
}
|
|
337
|
-
`}(t)))],
|
|
342
|
+
`}(t)))],vn={color:we.extend("--ft-loader-color","",$e.colorPrimary),size:we.create("--ft-loader-size","","SIZE","80px")},On=wt`
|
|
338
343
|
:host {
|
|
339
344
|
line-height: 0;
|
|
340
345
|
}
|
|
@@ -343,8 +348,8 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
343
348
|
display: inline-block;
|
|
344
349
|
position: relative;
|
|
345
350
|
|
|
346
|
-
width: ${
|
|
347
|
-
height: ${
|
|
351
|
+
width: ${vn.size};
|
|
352
|
+
height: ${vn.size};
|
|
348
353
|
}
|
|
349
354
|
|
|
350
355
|
.ft-loader div {
|
|
@@ -353,7 +358,7 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
353
358
|
width: 25%;
|
|
354
359
|
height: 25%;
|
|
355
360
|
border-radius: 50%;
|
|
356
|
-
background: ${
|
|
361
|
+
background: ${vn.color};
|
|
357
362
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
358
363
|
}
|
|
359
364
|
|
|
@@ -400,10 +405,10 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
400
405
|
transform: translate(0, 0);
|
|
401
406
|
}
|
|
402
407
|
100% {
|
|
403
|
-
transform: translate(calc(0.35 * ${
|
|
408
|
+
transform: translate(calc(0.35 * ${vn.size}), 0);
|
|
404
409
|
}
|
|
405
410
|
}
|
|
406
|
-
`,
|
|
411
|
+
`,xn={size:we.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.extend("--ft-icon-fluid-topics-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.extend("--ft-icon-file-format-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.extend("--ft-icon-material-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.create("--ft-icon-vertical-align","","UNKNOWN","unset")},wn=wt`
|
|
407
412
|
:host, i.ft-icon {
|
|
408
413
|
display: inline-flex;
|
|
409
414
|
align-items: center;
|
|
@@ -412,14 +417,14 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
412
417
|
}
|
|
413
418
|
|
|
414
419
|
:host {
|
|
415
|
-
width: ${
|
|
416
|
-
height: ${
|
|
420
|
+
width: ${xn.size};
|
|
421
|
+
height: ${xn.size};
|
|
417
422
|
}
|
|
418
423
|
|
|
419
424
|
i.ft-icon {
|
|
420
425
|
width: 100%;
|
|
421
426
|
height: 100%;
|
|
422
|
-
font-size: ${
|
|
427
|
+
font-size: ${xn.size};
|
|
423
428
|
line-height: 1;
|
|
424
429
|
font-weight: normal;
|
|
425
430
|
text-transform: none;
|
|
@@ -430,28 +435,28 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
430
435
|
text-rendering: auto;
|
|
431
436
|
-webkit-font-smoothing: antialiased;
|
|
432
437
|
-moz-osx-font-smoothing: grayscale;
|
|
433
|
-
vertical-align: ${
|
|
438
|
+
vertical-align: ${xn.verticalAlign};
|
|
434
439
|
}
|
|
435
440
|
|
|
436
441
|
i.ft-icon.ft-icon--fluid-topics {
|
|
437
|
-
font-family: ${
|
|
442
|
+
font-family: ${xn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
438
443
|
|
|
439
444
|
/* Ugly fix because font is broken */
|
|
440
|
-
font-size: calc(0.75 * ${
|
|
441
|
-
line-height: ${
|
|
445
|
+
font-size: calc(0.75 * ${xn.size});
|
|
446
|
+
line-height: ${xn.size};
|
|
442
447
|
position: relative;
|
|
443
448
|
top: -4%;
|
|
444
449
|
justify-content: center;
|
|
445
450
|
}
|
|
446
451
|
|
|
447
452
|
.ft-icon--file-format {
|
|
448
|
-
font-family: ${
|
|
453
|
+
font-family: ${xn.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
449
454
|
}
|
|
450
455
|
|
|
451
456
|
.ft-icon--material {
|
|
452
|
-
font-family: ${
|
|
457
|
+
font-family: ${xn.materialFontFamily}, "Material Icons", sans-serif;
|
|
453
458
|
}
|
|
454
|
-
`,
|
|
459
|
+
`,Sn=we.extend("--ft-button-color","",$e.colorPrimary),Nn={backgroundColor:we.extend("--ft-button-background-color","",$e.colorSurface),borderRadius:we.extend("--ft-button-border-radius","",$e.borderRadiusL),color:Sn,fontSize:we.extend("--ft-button-font-size","",an.fontSize),iconSize:we.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:we.extend("--ft-button-ripple-color","",Sn),verticalPadding:we.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:we.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:we.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:we.external($e.colorOpacityDisabled,"Design system")},Cn=we.extend("--ft-button-primary-color","",we.extend("--ft-button-color","",$e.colorOnPrimary)),En={backgroundColor:we.extend("--ft-button-primary-background-color","",we.extend("--ft-button-background-color","",$e.colorPrimary)),color:Cn,rippleColor:we.extend("--ft-button-primary-ripple-color","",Cn)},Rn=we.extend("--ft-button-dense-border-radius","",we.extend("--ft-button-border-radius","",$e.borderRadiusM)),$n=we.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Un=we.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),In=we.create("--ft-button-dense-icon-padding","","SIZE","4px"),kn=[wt`
|
|
455
460
|
:host {
|
|
456
461
|
display: inline-block;
|
|
457
462
|
max-width: 100%;
|
|
@@ -462,7 +467,7 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
462
467
|
box-shadow: 0px 0px 0px transparent;
|
|
463
468
|
border: 0px solid transparent;
|
|
464
469
|
text-shadow: 0px 0px 0px transparent;
|
|
465
|
-
font-size: ${
|
|
470
|
+
font-size: ${Nn.fontSize};
|
|
466
471
|
}
|
|
467
472
|
|
|
468
473
|
button:hover {
|
|
@@ -491,31 +496,31 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
491
496
|
border: none;
|
|
492
497
|
pointer-events: auto;
|
|
493
498
|
|
|
494
|
-
--ft-button-internal-line-height: max(calc(${
|
|
495
|
-
--ft-button-internal-color: ${
|
|
496
|
-
${
|
|
497
|
-
${
|
|
499
|
+
--ft-button-internal-line-height: max(calc(${Nn.fontSize} + 2px), ${Nn.iconSize});
|
|
500
|
+
--ft-button-internal-color: ${Nn.color};
|
|
501
|
+
${Se(xn.size,Nn.iconSize)};
|
|
502
|
+
${Se(Vr.color,Nn.rippleColor)};
|
|
498
503
|
|
|
499
|
-
border-radius: ${
|
|
500
|
-
padding: ${
|
|
501
|
-
background-color: ${
|
|
504
|
+
border-radius: ${Nn.borderRadius};
|
|
505
|
+
padding: ${Nn.verticalPadding} ${Nn.horizontalPadding};
|
|
506
|
+
background-color: ${Nn.backgroundColor};
|
|
502
507
|
color: var(--ft-button-internal-color);
|
|
503
508
|
-webkit-mask-image: radial-gradient(white, black);
|
|
504
509
|
}
|
|
505
510
|
|
|
506
511
|
.ft-button.ft-button--outlined {
|
|
507
512
|
border: 1px solid var(--ft-button-internal-color);
|
|
508
|
-
padding: calc(${
|
|
513
|
+
padding: calc(${Nn.verticalPadding} - 1px) calc(${Nn.horizontalPadding} - 1px);
|
|
509
514
|
}
|
|
510
515
|
|
|
511
516
|
.ft-button.ft-button--dense {
|
|
512
|
-
padding: ${
|
|
513
|
-
border-radius: ${
|
|
514
|
-
gap: ${
|
|
517
|
+
padding: ${$n} ${Un};
|
|
518
|
+
border-radius: ${Rn};
|
|
519
|
+
gap: ${In};
|
|
515
520
|
}
|
|
516
521
|
|
|
517
522
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
518
|
-
padding: calc(${
|
|
523
|
+
padding: calc(${$n} - 1px) calc(${Un} - 1px);
|
|
519
524
|
}
|
|
520
525
|
|
|
521
526
|
.ft-button:not([disabled]):hover {
|
|
@@ -523,22 +528,22 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
523
528
|
}
|
|
524
529
|
|
|
525
530
|
.ft-button--round {
|
|
526
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
531
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Nn.verticalPadding});
|
|
527
532
|
}
|
|
528
533
|
|
|
529
534
|
.ft-button--round.ft-button--dense {
|
|
530
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
535
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$n});
|
|
531
536
|
}
|
|
532
537
|
|
|
533
538
|
.ft-button[disabled] {
|
|
534
539
|
filter: grayscale(1);
|
|
535
|
-
opacity: ${
|
|
540
|
+
opacity: ${Nn.opacityDisabled};
|
|
536
541
|
}
|
|
537
542
|
|
|
538
543
|
.ft-button.ft-button--primary {
|
|
539
|
-
background-color: ${
|
|
540
|
-
--ft-button-internal-color: ${
|
|
541
|
-
${
|
|
544
|
+
background-color: ${En.backgroundColor};
|
|
545
|
+
--ft-button-internal-color: ${En.color};
|
|
546
|
+
${Se(Vr.color,En.rippleColor)};
|
|
542
547
|
}
|
|
543
548
|
|
|
544
549
|
.ft-button:focus {
|
|
@@ -551,13 +556,13 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
551
556
|
white-space: nowrap;
|
|
552
557
|
text-overflow: ellipsis;
|
|
553
558
|
display: block;
|
|
554
|
-
margin: 0 ${
|
|
555
|
-
${
|
|
556
|
-
${
|
|
559
|
+
margin: 0 ${Nn.iconPadding};
|
|
560
|
+
${Se(an.fontSize,"1em")};
|
|
561
|
+
${Se(an.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
557
562
|
}
|
|
558
563
|
|
|
559
564
|
.ft-button--dense .ft-button--label {
|
|
560
|
-
margin: 0 ${
|
|
565
|
+
margin: 0 ${In};
|
|
561
566
|
}
|
|
562
567
|
|
|
563
568
|
.ft-button--label[hidden] {
|
|
@@ -570,13 +575,13 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
570
575
|
}
|
|
571
576
|
|
|
572
577
|
.ft-button--label[hidden] + ft-icon {
|
|
573
|
-
margin: 0 calc(${
|
|
574
|
-
padding: 0 ${
|
|
578
|
+
margin: 0 calc(${Nn.horizontalPadding} * -1);
|
|
579
|
+
padding: 0 ${Nn.verticalPadding};
|
|
575
580
|
}
|
|
576
581
|
|
|
577
582
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
578
|
-
margin: 0 calc(${
|
|
579
|
-
padding: 0 ${
|
|
583
|
+
margin: 0 calc(${Un} * -1);
|
|
584
|
+
padding: 0 ${$n};
|
|
580
585
|
}
|
|
581
586
|
|
|
582
587
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -585,39 +590,39 @@ let me=class extends Pt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
585
590
|
}
|
|
586
591
|
|
|
587
592
|
ft-loader {
|
|
588
|
-
${
|
|
589
|
-
${
|
|
593
|
+
${Se(vn.size,Nn.iconSize)};
|
|
594
|
+
${Se(vn.color,"var(--ft-button-internal-color)")};
|
|
590
595
|
}
|
|
591
|
-
`,
|
|
596
|
+
`,Me],Ln=1,An=2,Wn=t=>(...e)=>({_$litDirective$:t,values:e});let jn=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
592
597
|
/**
|
|
593
598
|
* @license
|
|
594
599
|
* Copyright 2018 Google LLC
|
|
595
600
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
596
|
-
*/const
|
|
601
|
+
*/const Fn=Wn(class extends jn{constructor(t){if(super(t),t.type!==Ln||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return ot}});var Pn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Kn extends Pe{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 L(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 L(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ie`
|
|
597
602
|
<style>
|
|
598
603
|
.ft-ripple .ft-ripple--effect {
|
|
599
604
|
left: ${this.originX}px;
|
|
600
605
|
top: ${this.originY}px;
|
|
601
606
|
}
|
|
602
607
|
</style>
|
|
603
|
-
<div class="${
|
|
608
|
+
<div class="${Fn(t)}">
|
|
604
609
|
<div class="ft-ripple--background"></div>
|
|
605
610
|
<div class="ft-ripple--effect"></div>
|
|
606
611
|
</div>
|
|
607
|
-
`}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 e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),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",o),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 e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
612
|
+
`}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 e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Kn.elementDefinitions={},Kn.styles=ei,Pn([R({type:Boolean})],Kn.prototype,"primary",void 0),Pn([R({type:Boolean})],Kn.prototype,"secondary",void 0),Pn([R({type:Boolean})],Kn.prototype,"unbounded",void 0),Pn([R({type:Boolean})],Kn.prototype,"activated",void 0),Pn([R({type:Boolean})],Kn.prototype,"selected",void 0),Pn([R({type:Boolean})],Kn.prototype,"disabled",void 0),Pn([$()],Kn.prototype,"hovered",void 0),Pn([$()],Kn.prototype,"focused",void 0),Pn([$()],Kn.prototype,"pressed",void 0),Pn([$()],Kn.prototype,"rippling",void 0),Pn([$()],Kn.prototype,"originX",void 0),Pn([$()],Kn.prototype,"originY",void 0),Pn([k(".ft-ripple")],Kn.prototype,"ripple",void 0),Pn([k(".ft-ripple--effect")],Kn.prototype,"rippleEffect",void 0),W("ft-ripple")(Kn);
|
|
608
613
|
/**
|
|
609
614
|
* @license
|
|
610
615
|
* Copyright 2020 Google LLC
|
|
611
616
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
617
|
*/
|
|
613
|
-
const
|
|
614
|
-
<${
|
|
618
|
+
const Mn=Symbol.for(""),Dn=t=>{if(t?.r===Mn)return t?._$litStatic$},Tn=t=>({_$litStatic$:t,r:Mn}),Bn=new Map,zn=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(n=o[l],i=Dn(n));)c+=i+e[++l],f=!0;l!==r&&s.push(n),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Bn.get(t))&&(a.raw=a,Bn.set(t,e=a)),o=s}return t(e,...o)})(et);var Zn;!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"}(Zn||(Zn={}));var _n=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hn extends Pe{constructor(){super(...arguments),this.variant=Zn.body1}render(){return this.element?zn`
|
|
619
|
+
<${Tn(this.element)}
|
|
615
620
|
class="ft-typography ft-typography--${this.variant}">
|
|
616
621
|
<slot></slot>
|
|
617
|
-
</${
|
|
618
|
-
`:
|
|
622
|
+
</${Tn(this.element)}>
|
|
623
|
+
`:zn`
|
|
619
624
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
620
|
-
`}}
|
|
625
|
+
`}}Hn.styles=[sn,cn,ln,fn,hn,un,pn,dn,yn,gn,bn,...mn],_n([R()],Hn.prototype,"element",void 0),_n([R()],Hn.prototype,"variant",void 0),W("ft-typography")(Hn);const Gn=we.create("--ft-tooltip-distance","","SIZE","4px"),Vn=we.create("--ft-tooltip-color","","COLOR","#FFFFFF"),qn=we.create("--ft-tooltip-background-color","","COLOR","#666666"),Yn=we.create("--ft-tooltip-z-index","","NUMBER","100"),Xn=we.external($e.borderRadiusS,"Design system"),Jn=we.create("--ft-tooltip-max-width","","SIZE","150px"),Qn=wt`
|
|
621
626
|
.ft-tooltip--container {
|
|
622
627
|
display: block;
|
|
623
628
|
}
|
|
@@ -632,21 +637,21 @@ const Kn=Symbol.for(""),Mn=t=>{if(t?.r===Kn)return t?._$litStatic$},Dn=t=>({_$li
|
|
|
632
637
|
box-sizing: border-box;
|
|
633
638
|
overflow: hidden;
|
|
634
639
|
width: max-content;
|
|
635
|
-
max-width: ${
|
|
640
|
+
max-width: ${Jn};
|
|
636
641
|
text-align: center;
|
|
637
|
-
padding: ${
|
|
638
|
-
z-index: ${
|
|
642
|
+
padding: ${Gn};
|
|
643
|
+
z-index: ${Yn};
|
|
639
644
|
}
|
|
640
645
|
|
|
641
646
|
.ft-tooltip--content {
|
|
642
647
|
padding: 4px 8px;
|
|
643
|
-
border-radius: ${
|
|
644
|
-
background-color: ${
|
|
645
|
-
color: ${
|
|
648
|
+
border-radius: ${Xn};
|
|
649
|
+
background-color: ${qn};
|
|
650
|
+
color: ${Vn};
|
|
646
651
|
position: relative;
|
|
647
652
|
word-break: break-word;
|
|
648
653
|
}
|
|
649
|
-
`,Qn=["start","end"],ta=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Qn[0],e+"-"+Qn[1])),[]),ea=Math.min,oa=Math.max,ra=Math.round,ia=t=>({x:t,y:t}),na={left:"right",right:"left",bottom:"top",top:"bottom"},aa={start:"end",end:"start"};function sa(t,e,o){return oa(t,ea(e,o))}function ca(t,e){return"function"==typeof t?t(e):t}function la(t){return t.split("-")[0]}function fa(t){return t.split("-")[1]}function ha(t){return"x"===t?"y":"x"}function ua(t){return"y"===t?"height":"width"}function pa(t){return["top","bottom"].includes(la(t))?"y":"x"}function da(t){return ha(pa(t))}function ya(t){return t.replace(/left|right|bottom|top/g,(t=>na[t]))}function ga(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ba(t,e,o){let{reference:r,floating:i}=t;const n=pa(e),a=da(e),s=ua(a),c=la(e),l="y"===n,f=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,u=r[s]/2-i[s]/2;let p;switch(c){case"top":p={x:f,y:r.y-i.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-i.width,y:h};break;default:p={x:r.x,y:r.y}}switch(fa(e)){case"start":p[a]-=u*(o&&l?-1:1);break;case"end":p[a]+=u*(o&&l?-1:1)}return p}async function ma(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=ca(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(p),y=s[u?"floating"===h?"reference":"floating":h],g=ga(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===h?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=ga(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+d.top)/v.y,bottom:(O.bottom-g.bottom+d.bottom)/v.y,left:(g.left-O.left+d.left)/v.x,right:(O.right-g.right+d.right)/v.x}}function va(t,e,o){return(t?[...o.filter((e=>fa(e)===t)),...o.filter((e=>fa(e)!==t))]:o.filter((t=>la(t)===t))).filter((o=>!t||(fa(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>aa[t]))}(o)!==o)))}const Oa=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:u=ta,autoAlignment:p=!0,...d}=ca(t,e),y=void 0!==h||u===ta?va(h||null,p,u):u,g=await ma(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=fa(t),i=da(t),n=ua(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=ya(a)),[a,ya(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[la(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:x},reset:{placement:w}};const S=x.map((t=>{const e=fa(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,fa(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:x},reset:{placement:C}}:{}}}};function xa(t){return Na(t)?(t.nodeName||"").toLowerCase():"#document"}function wa(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Sa(t){var e;return null==(e=(Na(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Na(t){return t instanceof Node||t instanceof wa(t).Node}function Ca(t){return t instanceof Element||t instanceof wa(t).Element}function Ea(t){return t instanceof HTMLElement||t instanceof wa(t).HTMLElement}function Ra(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof wa(t).ShadowRoot)}function $a(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Aa(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Ua(t){return["table","td","th"].includes(xa(t))}function Ia(t){const e=ka(),o=Aa(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function ka(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function La(t){return["html","body","#document"].includes(xa(t))}function Aa(t){return wa(t).getComputedStyle(t)}function Wa(t){return Ca(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ja(t){if("html"===xa(t))return t;const e=t.assignedSlot||t.parentNode||Ra(t)&&t.host||Sa(t);return Ra(e)?e.host:e}function Fa(t){const e=ja(t);return La(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ea(e)&&$a(e)?e:Fa(e)}function Pa(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Fa(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=wa(i);return n?e.concat(a,a.visualViewport||[],$a(i)?i:[],a.frameElement&&o?Pa(a.frameElement):[]):e.concat(i,Pa(i,[],o))}function Ka(t){const e=Aa(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Ea(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=ra(o)!==n||ra(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function Ma(t){return Ca(t)?t:t.contextElement}function Da(t){const e=Ma(t);if(!Ea(e))return ia(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Ka(e);let a=(n?ra(o.width):o.width)/r,s=(n?ra(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ba=ia(0);function Ta(t){const e=wa(t);return ka()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ba}function za(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=Ma(t);let a=ia(1);e&&(r?Ca(r)&&(a=Da(r)):a=Da(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==wa(t))&&e}(n,o,r)?Ta(n):ia(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,h=i.height/a.y;if(n){const t=wa(n),e=r&&Ca(r)?wa(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Da(o),e=o.getBoundingClientRect(),r=Aa(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,h*=t.y,c+=i,l+=n,o=wa(o).frameElement}}return ga({width:f,height:h,x:c,y:l})}function Za(t){return za(Sa(t)).left+Wa(t).scrollLeft}function _a(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=wa(t),r=Sa(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=ka();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=Sa(t),o=Wa(t),r=t.ownerDocument.body,i=oa(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=oa(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Za(t);const s=-o.scrollTop;return"rtl"===Aa(r).direction&&(a+=oa(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Sa(t));else if(Ca(e))r=function(t,e){const o=za(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Ea(t)?Da(t):ia(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=Ta(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return ga(r)}function Ha(t,e){const o=ja(t);return!(o===e||!Ca(o)||La(o))&&("fixed"===Aa(o).position||Ha(o,e))}function Ga(t,e,o){const r=Ea(e),i=Sa(e),n="fixed"===o,a=za(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=ia(0);if(r||!r&&!n)if(("body"!==xa(e)||$a(i))&&(s=Wa(e)),r){const t=za(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=Za(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Va(t,e){return Ea(t)&&"fixed"!==Aa(t).position?e?e(t):t.offsetParent:null}function qa(t,e){const o=wa(t);if(!Ea(t))return o;let r=Va(t,e);for(;r&&Ua(r)&&"static"===Aa(r).position;)r=Va(r,e);return r&&("html"===xa(r)||"body"===xa(r)&&"static"===Aa(r).position&&!Ia(r))?o:r||function(t){let e=ja(t);for(;Ea(e)&&!La(e);){if(Ia(e))return e;e=ja(e)}return null}(t)||o}const Ya={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Ea(o),n=Sa(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=ia(1);const c=ia(0);if((i||!i&&"fixed"!==r)&&(("body"!==xa(o)||$a(n))&&(a=Wa(o)),Ea(o))){const t=za(o);s=Da(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Sa,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Pa(t,[],!1).filter((t=>Ca(t)&&"body"!==xa(t))),i=null;const n="fixed"===Aa(t).position;let a=n?ja(t):t;for(;Ca(a)&&!La(a);){const e=Aa(a),o=Ia(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||$a(a)&&!o&&Ha(t,a))?r=r.filter((t=>t!==a)):i=e,a=ja(a)}return e.set(t,r),r}(e,this._c):[].concat(o),a=[...n,r],s=a[0],c=a.reduce(((t,o)=>{const r=_a(e,o,i);return t.top=oa(r.top,t.top),t.right=ea(r.right,t.right),t.bottom=ea(r.bottom,t.bottom),t.left=oa(r.left,t.left),t}),_a(e,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:qa,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||qa,n=this.getDimensions;return{reference:Ga(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ka(t)},getScale:Da,isElement:Ca,isRTL:function(t){return"rtl"===Aa(t).direction}},Xa=(t,e,o)=>{const r=new Map,i={platform:Ya,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:h}=ba(l,r,c),u=r,p={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,p={...p,[n]:{...p[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:h}=ba(l,u,c))),o=-1)}return{x:f,y:h,placement:u,strategy:i,middlewareData:p}})(t,e,{...i,platform:n})};var Ja=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qa extends Fe{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 k,this.revealDebouncer=new k}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
|
|
654
|
+
`,ta=["start","end"],ea=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+ta[0],e+"-"+ta[1])),[]),oa=Math.min,ra=Math.max,ia=Math.round,na=t=>({x:t,y:t}),aa={left:"right",right:"left",bottom:"top",top:"bottom"},sa={start:"end",end:"start"};function ca(t,e,o){return ra(t,oa(e,o))}function la(t,e){return"function"==typeof t?t(e):t}function fa(t){return t.split("-")[0]}function ha(t){return t.split("-")[1]}function ua(t){return"x"===t?"y":"x"}function pa(t){return"y"===t?"height":"width"}function da(t){return["top","bottom"].includes(fa(t))?"y":"x"}function ya(t){return ua(da(t))}function ga(t){return t.replace(/left|right|bottom|top/g,(t=>aa[t]))}function ba(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ma(t,e,o){let{reference:r,floating:i}=t;const n=da(e),a=ya(e),s=pa(a),c=fa(e),l="y"===n,f=r.x+r.width/2-i.width/2,h=r.y+r.height/2-i.height/2,u=r[s]/2-i[s]/2;let p;switch(c){case"top":p={x:f,y:r.y-i.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:h};break;case"left":p={x:r.x-i.width,y:h};break;default:p={x:r.x,y:r.y}}switch(ha(e)){case"start":p[a]-=u*(o&&l?-1:1);break;case"end":p[a]+=u*(o&&l?-1:1)}return p}async function va(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:u=!1,padding:p=0}=la(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(p),y=s[u?"floating"===h?"reference":"floating":h],g=ba(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===h?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=ba(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+d.top)/v.y,bottom:(O.bottom-g.bottom+d.bottom)/v.y,left:(g.left-O.left+d.left)/v.x,right:(O.right-g.right+d.right)/v.x}}function Oa(t,e,o){return(t?[...o.filter((e=>ha(e)===t)),...o.filter((e=>ha(e)!==t))]:o.filter((t=>fa(t)===t))).filter((o=>!t||(ha(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>sa[t]))}(o)!==o)))}const xa=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:u=ea,autoAlignment:p=!0,...d}=la(t,e),y=void 0!==h||u===ea?Oa(h||null,p,u):u,g=await va(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=ha(t),i=ya(t),n=pa(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=ga(a)),[a,ga(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[fa(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:x},reset:{placement:w}};const S=x.map((t=>{const e=ha(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,ha(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:x},reset:{placement:C}}:{}}}};function wa(t){return Ca(t)?(t.nodeName||"").toLowerCase():"#document"}function Sa(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Na(t){var e;return null==(e=(Ca(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ca(t){return t instanceof Node||t instanceof Sa(t).Node}function Ea(t){return t instanceof Element||t instanceof Sa(t).Element}function Ra(t){return t instanceof HTMLElement||t instanceof Sa(t).HTMLElement}function $a(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Sa(t).ShadowRoot)}function Ua(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Wa(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Ia(t){return["table","td","th"].includes(wa(t))}function ka(t){const e=La(),o=Wa(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function La(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Aa(t){return["html","body","#document"].includes(wa(t))}function Wa(t){return Sa(t).getComputedStyle(t)}function ja(t){return Ea(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Fa(t){if("html"===wa(t))return t;const e=t.assignedSlot||t.parentNode||$a(t)&&t.host||Na(t);return $a(e)?e.host:e}function Pa(t){const e=Fa(t);return Aa(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ra(e)&&Ua(e)?e:Pa(e)}function Ka(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Pa(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Sa(i);return n?e.concat(a,a.visualViewport||[],Ua(i)?i:[],a.frameElement&&o?Ka(a.frameElement):[]):e.concat(i,Ka(i,[],o))}function Ma(t){const e=Wa(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Ra(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=ia(o)!==n||ia(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function Da(t){return Ea(t)?t:t.contextElement}function Ta(t){const e=Da(t);if(!Ra(e))return na(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=Ma(e);let a=(n?ia(o.width):o.width)/r,s=(n?ia(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Ba=na(0);function za(t){const e=Sa(t);return La()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ba}function Za(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=Da(t);let a=na(1);e&&(r?Ea(r)&&(a=Ta(r)):a=Ta(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Sa(t))&&e}(n,o,r)?za(n):na(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,h=i.height/a.y;if(n){const t=Sa(n),e=r&&Ea(r)?Sa(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=Ta(o),e=o.getBoundingClientRect(),r=Wa(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,h*=t.y,c+=i,l+=n,o=Sa(o).frameElement}}return ba({width:f,height:h,x:c,y:l})}function _a(t){return Za(Na(t)).left+ja(t).scrollLeft}function Ha(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Sa(t),r=Na(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=La();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=Na(t),o=ja(t),r=t.ownerDocument.body,i=ra(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=ra(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+_a(t);const s=-o.scrollTop;return"rtl"===Wa(r).direction&&(a+=ra(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Na(t));else if(Ea(e))r=function(t,e){const o=Za(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Ra(t)?Ta(t):na(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=za(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return ba(r)}function Ga(t,e){const o=Fa(t);return!(o===e||!Ea(o)||Aa(o))&&("fixed"===Wa(o).position||Ga(o,e))}function Va(t,e,o){const r=Ra(e),i=Na(e),n="fixed"===o,a=Za(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=na(0);if(r||!r&&!n)if(("body"!==wa(e)||Ua(i))&&(s=ja(e)),r){const t=Za(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=_a(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function qa(t,e){return Ra(t)&&"fixed"!==Wa(t).position?e?e(t):t.offsetParent:null}function Ya(t,e){const o=Sa(t);if(!Ra(t))return o;let r=qa(t,e);for(;r&&Ia(r)&&"static"===Wa(r).position;)r=qa(r,e);return r&&("html"===wa(r)||"body"===wa(r)&&"static"===Wa(r).position&&!ka(r))?o:r||function(t){let e=Fa(t);for(;Ra(e)&&!Aa(e);){if(ka(e))return e;e=Fa(e)}return null}(t)||o}const Xa={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Ra(o),n=Na(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=na(1);const c=na(0);if((i||!i&&"fixed"!==r)&&(("body"!==wa(o)||Ua(n))&&(a=ja(o)),Ra(o))){const t=Za(o);s=Ta(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Na,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Ka(t,[],!1).filter((t=>Ea(t)&&"body"!==wa(t))),i=null;const n="fixed"===Wa(t).position;let a=n?Fa(t):t;for(;Ea(a)&&!Aa(a);){const e=Wa(a),o=ka(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Ua(a)&&!o&&Ga(t,a))?r=r.filter((t=>t!==a)):i=e,a=Fa(a)}return e.set(t,r),r}(e,this._c):[].concat(o),a=[...n,r],s=a[0],c=a.reduce(((t,o)=>{const r=Ha(e,o,i);return t.top=ra(r.top,t.top),t.right=oa(r.right,t.right),t.bottom=oa(r.bottom,t.bottom),t.left=ra(r.left,t.left),t}),Ha(e,s,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:Ya,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Ya,n=this.getDimensions;return{reference:Va(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ma(t)},getScale:Ta,isElement:Ea,isRTL:function(t){return"rtl"===Wa(t).direction}},Ja=(t,e,o)=>{const r=new Map,i={platform:Xa,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:h}=ma(l,r,c),u=r,p={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:h,initialPlacement:r,placement:u,strategy:i,middlewareData:p,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,p={...p,[n]:{...p[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:h}=ma(l,u,c))),o=-1)}return{x:f,y:h,placement:u,strategy:i,middlewareData:p}})(t,e,{...i,platform:n})};var Qa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ts extends Pe{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 L,this.revealDebouncer=new L}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ie`
|
|
650
655
|
<div part="container"
|
|
651
656
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
652
657
|
@mouseenter=${this.onHover}
|
|
@@ -664,48 +669,48 @@ const Kn=Symbol.for(""),Mn=t=>{if(t?.r===Kn)return t?._$litStatic$},Dn=t=>({_$li
|
|
|
664
669
|
</div>
|
|
665
670
|
</div>
|
|
666
671
|
</div>
|
|
667
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
672
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ja(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:i}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=la(t,e),l={x:o,y:r},f=await va(e,c),h=da(fa(i)),u=ua(h);let p=l[u],d=l[h];if(n){const t="y"===u?"bottom":"right";p=ca(p+f["y"===u?"top":"left"],p,p-f[t])}if(a){const t="y"===h?"bottom":"right";d=ca(d+f["y"===h?"top":"left"],d,d-f[t])}const y=s.fn({...e,[u]:p,[h]:d});return{...y,data:{x:y.x-o,y:y.y-r}}}}),xa({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ts.elementDefinitions={"ft-typography":Hn},ts.styles=Qn,Qa([R()],ts.prototype,"text",void 0),Qa([R({type:Boolean})],ts.prototype,"manual",void 0),Qa([R({type:Boolean})],ts.prototype,"inline",void 0),Qa([R({type:Number})],ts.prototype,"delay",void 0),Qa([R()],ts.prototype,"position",void 0),Qa([function(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return I(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}()],ts.prototype,"slotNodes",void 0),Qa([k(".ft-tooltip--container")],ts.prototype,"container",void 0),Qa([k(".ft-tooltip")],ts.prototype,"tooltip",void 0),Qa([k(".ft-tooltip--content")],ts.prototype,"tooltipContent",void 0),Qa([$()],ts.prototype,"visible",void 0),Qa([U({passive:!0})],ts.prototype,"onTouch",null),Qa([U({passive:!0})],ts.prototype,"onHover",null),Qa([U({passive:!0})],ts.prototype,"onOut",null),W("ft-tooltip")(ts);
|
|
668
673
|
/**
|
|
669
674
|
* @license
|
|
670
675
|
* Copyright 2017 Google LLC
|
|
671
676
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
672
677
|
*/
|
|
673
|
-
class
|
|
678
|
+
class es extends jn{constructor(t){if(super(t),this.et=rt,t.type!==An)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}es.directiveName="unsafeHTML",es.resultType=1;const os=Wn(es);var rs,is,ns;!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=""}(rs||(rs={})),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=""}(is||(is={})),new Map([...["abw"].map((t=>[t,is.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,is.AUDIO])),...["avi"].map((t=>[t,is.AVI])),...["chm","xhs"].map((t=>[t,is.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,is.CODE])),...["csv"].map((t=>[t,is.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,is.DITA])),...["epub"].map((t=>[t,is.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,is.EXCEL])),...["flac"].map((t=>[t,is.FLAC])),...["gif"].map((t=>[t,is.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,is.GZIP])),...["html","htm","xhtml"].map((t=>[t,is.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,is.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,is.JPEG])),...["json"].map((t=>[t,is.JSON])),...["m4a","m4p"].map((t=>[t,is.M4A])),...["mov","qt"].map((t=>[t,is.MOV])),...["mp3"].map((t=>[t,is.MP3])),...["mp4","m4v"].map((t=>[t,is.MP4])),...["ogg","oga"].map((t=>[t,is.OGG])),...["pdf","ps"].map((t=>[t,is.PDF])),...["png"].map((t=>[t,is.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,is.POWERPOINT])),...["rar"].map((t=>[t,is.RAR])),...["stp"].map((t=>[t,is.STP])),...["txt","rtf","md","mdown"].map((t=>[t,is.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,is.VIDEO])),...["wav"].map((t=>[t,is.WAV])),...["wma"].map((t=>[t,is.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,is.WORD])),...["xml","xsl","rdf"].map((t=>[t,is.XML])),...["yaml","yml","x-yaml"].map((t=>[t,is.YAML])),...["zip"].map((t=>[t,is.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ns||(ns={}));var as=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ss extends Pe{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(ns).includes(this.variant)?this.variant:ns.fluid_topics,e=t!==ns.material||!!this.value;return ie`
|
|
674
679
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
675
|
-
${
|
|
680
|
+
${os(this.resolvedIcon)}
|
|
676
681
|
<slot ?hidden=${e}></slot>
|
|
677
682
|
</i>
|
|
678
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
683
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ns.file_format:this.resolvedIcon=null!==(t=is[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ns.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=rs[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ss.elementDefinitions={},ss.styles=wn,as([R()],ss.prototype,"variant",void 0),as([R()],ss.prototype,"value",void 0),as([$()],ss.prototype,"resolvedIcon",void 0),as([k("slot")],ss.prototype,"slottedContent",void 0),W("ft-icon")(ss);class cs extends Pe{render(){return ie`
|
|
679
684
|
<div class="ft-loader">
|
|
680
685
|
<div></div>
|
|
681
686
|
<div></div>
|
|
682
687
|
<div></div>
|
|
683
688
|
<div></div>
|
|
684
689
|
</div>
|
|
685
|
-
`}}
|
|
690
|
+
`}}cs.styles=On,W("ft-loader")(cs);var ls=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fs extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Tr].form}constructor(...t){super(t),this[Tr]=this.attachInternals(),this[Tr].role=e}setFormValue(t){this[Tr].setFormValue(t)}}}(Pe,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ie`
|
|
686
691
|
<button part="button"
|
|
687
|
-
class="${
|
|
692
|
+
class="${Fn(this.buttonClasses)}"
|
|
688
693
|
aria-label="${this.getLabel()}"
|
|
689
694
|
?disabled=${this.isDisabled()}>
|
|
690
695
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
691
696
|
<ft-typography part="label"
|
|
692
697
|
variant=${this.typographyVariant}
|
|
693
698
|
element="span"
|
|
694
|
-
class="ft-button--label ${
|
|
699
|
+
class="ft-button--label ${_r?"ft-safari-ellipsis-fix":""}"
|
|
695
700
|
?hidden=${!this.hasTextContent()}>
|
|
696
701
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
697
702
|
</ft-typography>
|
|
698
703
|
${this.resolveIcon()}
|
|
699
704
|
</button>
|
|
700
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
705
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ie`
|
|
701
706
|
<ft-tooltip part="tooltip"
|
|
702
707
|
text="${this.getLabel()}"
|
|
703
708
|
position="${this.tooltipPosition}">
|
|
704
709
|
${t}
|
|
705
710
|
</ft-tooltip>
|
|
706
|
-
`:t}resolveIcon(){return this.loading?
|
|
707
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
708
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
711
|
+
`:t}resolveIcon(){return this.loading?ie`
|
|
712
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?ie`
|
|
713
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fs.elementDefinitions={"ft-ripple":Kn,"ft-tooltip":ts,"ft-typography":Hn,"ft-icon":ss,"ft-loader":cs},ls([R({type:String,reflect:!0})],fs.prototype,"role",void 0),ls([R()],fs.prototype,"type",void 0),ls([R({type:Boolean})],fs.prototype,"disabled",void 0),ls([R()],fs.prototype,"label",void 0),ls([R()],fs.prototype,"icon",void 0),ls([R()],fs.prototype,"iconVariant",void 0),ls([R({type:Boolean})],fs.prototype,"trailingIcon",void 0),ls([R({type:Boolean})],fs.prototype,"loading",void 0),ls([R()],fs.prototype,"tooltipPosition",void 0),ls([R({type:Boolean})],fs.prototype,"hideTooltip",void 0),ls([R({type:Boolean})],fs.prototype,"forceTooltip",void 0),ls([k(".ft-button")],fs.prototype,"button",void 0),ls([k(".ft-button--label slot")],fs.prototype,"slottedContent",void 0);var hs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class us extends fs{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}us.styles=[De,kn],hs([R({type:Boolean})],us.prototype,"primary",void 0),hs([R({type:Boolean})],us.prototype,"outlined",void 0),hs([R({type:Boolean})],us.prototype,"dense",void 0),hs([R({type:Boolean})],us.prototype,"round",void 0);const ps=[wt`
|
|
709
714
|
:host {
|
|
710
715
|
display: inline-block;
|
|
711
716
|
max-width: 100%;
|
|
@@ -755,7 +760,7 @@ class ts extends Wn{constructor(t){if(super(t),this.et=ot,t.type!==Ln)throw Erro
|
|
|
755
760
|
}
|
|
756
761
|
|
|
757
762
|
.ft-button:focus-visible {
|
|
758
|
-
outline-color: ${
|
|
763
|
+
outline-color: ${Re.focusFocusRingColor};
|
|
759
764
|
outline-style: solid;
|
|
760
765
|
}
|
|
761
766
|
|
|
@@ -784,155 +789,155 @@ class ts extends Wn{constructor(t){if(super(t),this.et=ot,t.type!==Ln)throw Erro
|
|
|
784
789
|
/** Primary styles **/
|
|
785
790
|
|
|
786
791
|
.ft-button--primary {
|
|
787
|
-
${
|
|
792
|
+
${Se(vn.color,Re.primaryIconColor)};
|
|
788
793
|
|
|
789
|
-
${
|
|
790
|
-
${
|
|
791
|
-
${
|
|
792
|
-
${
|
|
793
|
-
${
|
|
794
|
+
${Se(Vr.color,Re.primaryStateLayerColor)};
|
|
795
|
+
${Se(Vr.opacityContentOnSurfaceHover,Re.primaryStateLayerOpacityHover)};
|
|
796
|
+
${Se(Vr.opacityContentOnSurfaceFocused,Re.primaryStateLayerOpacityFocus)};
|
|
797
|
+
${Se(Vr.opacityContentOnSurfaceSelected,Re.primaryStateLayerOpacityActive)};
|
|
798
|
+
${Se(Vr.opacityContentOnSurfacePressed,Re.primaryStateLayerOpacityActive)};
|
|
794
799
|
|
|
795
|
-
background-color: ${
|
|
796
|
-
color: ${
|
|
800
|
+
background-color: ${Re.primaryBackgroundColor};
|
|
801
|
+
color: ${Re.primaryColor};
|
|
797
802
|
border-style: none;
|
|
798
803
|
}
|
|
799
804
|
|
|
800
805
|
.ft-button--primary[disabled] {
|
|
801
|
-
opacity: ${
|
|
806
|
+
opacity: ${Re.primaryComponentOpacityDisabled};
|
|
802
807
|
}
|
|
803
808
|
|
|
804
809
|
.ft-button--primary ft-icon {
|
|
805
|
-
color: ${
|
|
810
|
+
color: ${Re.primaryIconColor};
|
|
806
811
|
}
|
|
807
812
|
|
|
808
813
|
/** Secondary styles **/
|
|
809
814
|
|
|
810
815
|
.ft-button--secondary {
|
|
811
|
-
${
|
|
816
|
+
${Se(vn.color,Re.secondaryIconColor)};
|
|
812
817
|
|
|
813
|
-
${
|
|
814
|
-
${
|
|
815
|
-
${
|
|
816
|
-
${
|
|
817
|
-
${
|
|
818
|
+
${Se(Vr.color,Re.secondaryStateLayerColor)};
|
|
819
|
+
${Se(Vr.opacityContentOnSurfaceHover,Re.secondaryStateLayerOpacityHover)};
|
|
820
|
+
${Se(Vr.opacityContentOnSurfaceFocused,Re.secondaryStateLayerOpacityFocus)};
|
|
821
|
+
${Se(Vr.opacityContentOnSurfaceSelected,Re.secondaryStateLayerOpacityActive)};
|
|
822
|
+
${Se(Vr.opacityContentOnSurfacePressed,Re.secondaryStateLayerOpacityActive)};
|
|
818
823
|
|
|
819
|
-
background-color: ${
|
|
820
|
-
color: ${
|
|
821
|
-
border-color: ${
|
|
824
|
+
background-color: ${Re.secondaryBackgroundColor};
|
|
825
|
+
color: ${Re.secondaryColor};
|
|
826
|
+
border-color: ${Re.secondaryBorderColor};
|
|
822
827
|
border-style: solid;
|
|
823
828
|
}
|
|
824
829
|
|
|
825
830
|
.ft-button--secondary[disabled] {
|
|
826
|
-
opacity: ${
|
|
831
|
+
opacity: ${Re.secondaryComponentOpacityDisabled};
|
|
827
832
|
}
|
|
828
833
|
|
|
829
834
|
.ft-button--secondary ft-icon {
|
|
830
|
-
color: ${
|
|
835
|
+
color: ${Re.secondaryIconColor};
|
|
831
836
|
}
|
|
832
837
|
|
|
833
838
|
/** Tertiary styles **/
|
|
834
839
|
|
|
835
840
|
.ft-button--tertiary {
|
|
836
|
-
${
|
|
841
|
+
${Se(vn.color,Re.tertiaryIconColor)};
|
|
837
842
|
|
|
838
|
-
${
|
|
839
|
-
${
|
|
840
|
-
${
|
|
841
|
-
${
|
|
842
|
-
${
|
|
843
|
+
${Se(Vr.color,Re.tertiaryStateLayerColor)};
|
|
844
|
+
${Se(Vr.opacityContentOnSurfaceHover,Re.tertiaryStateLayerOpacityHover)};
|
|
845
|
+
${Se(Vr.opacityContentOnSurfaceFocused,Re.tertiaryStateLayerOpacityFocus)};
|
|
846
|
+
${Se(Vr.opacityContentOnSurfaceSelected,Re.tertiaryStateLayerOpacityActive)};
|
|
847
|
+
${Se(Vr.opacityContentOnSurfacePressed,Re.tertiaryStateLayerOpacityActive)};
|
|
843
848
|
|
|
844
|
-
background-color: ${
|
|
845
|
-
color: ${
|
|
849
|
+
background-color: ${Re.tertiaryBackgroundColor};
|
|
850
|
+
color: ${Re.tertiaryColor};
|
|
846
851
|
border-style: none;
|
|
847
852
|
}
|
|
848
853
|
|
|
849
854
|
.ft-button--tertiary[disabled] {
|
|
850
|
-
opacity: ${
|
|
855
|
+
opacity: ${Re.tertiaryComponentOpacityDisabled};
|
|
851
856
|
}
|
|
852
857
|
|
|
853
858
|
.ft-button--tertiary ft-icon {
|
|
854
|
-
color: ${
|
|
859
|
+
color: ${Re.tertiaryIconColor};
|
|
855
860
|
}
|
|
856
861
|
|
|
857
862
|
/** Neutral styles **/
|
|
858
863
|
|
|
859
864
|
.ft-button--neutral {
|
|
860
|
-
${
|
|
865
|
+
${Se(vn.color,Re.neutralIconColor)};
|
|
861
866
|
|
|
862
|
-
${
|
|
863
|
-
${
|
|
864
|
-
${
|
|
865
|
-
${
|
|
866
|
-
${
|
|
867
|
+
${Se(Vr.backgroundColor,Re.neutralStateLayerColor)};
|
|
868
|
+
${Se(Vr.opacityContentOnSurfaceHover,Re.neutralStateLayerOpacityHover)};
|
|
869
|
+
${Se(Vr.opacityContentOnSurfaceFocused,Re.neutralStateLayerOpacityFocus)};
|
|
870
|
+
${Se(Vr.opacityContentOnSurfaceSelected,Re.neutralStateLayerOpacityActive)};
|
|
871
|
+
${Se(Vr.opacityContentOnSurfacePressed,Re.neutralStateLayerOpacityActive)};
|
|
867
872
|
|
|
868
|
-
background-color: ${
|
|
869
|
-
color: ${
|
|
873
|
+
background-color: ${Re.neutralBackgroundColor};
|
|
874
|
+
color: ${Re.neutralColor};
|
|
870
875
|
border-style: none;
|
|
871
876
|
}
|
|
872
877
|
|
|
873
878
|
.ft-button--neutral[disabled] {
|
|
874
|
-
opacity: ${
|
|
879
|
+
opacity: ${Re.neutralComponentOpacityDisabled};
|
|
875
880
|
}
|
|
876
881
|
|
|
877
882
|
.ft-button--neutral ft-icon {
|
|
878
|
-
color: ${
|
|
883
|
+
color: ${Re.neutralIconColor};
|
|
879
884
|
}
|
|
880
885
|
|
|
881
886
|
/** Large styles **/
|
|
882
887
|
|
|
883
888
|
.ft-button--large {
|
|
884
|
-
${
|
|
885
|
-
${
|
|
889
|
+
${Se(xn.size,Re.largeIconSize)};
|
|
890
|
+
${Se(vn.size,Re.largeIconSize)};
|
|
886
891
|
|
|
887
|
-
height: ${
|
|
888
|
-
padding: 0 ${
|
|
889
|
-
gap: ${
|
|
890
|
-
border-radius: ${
|
|
891
|
-
border-width: ${
|
|
892
|
+
height: ${Re.largeHeight};
|
|
893
|
+
padding: 0 ${Re.largeHorizontalPadding};
|
|
894
|
+
gap: ${Re.largeGap};
|
|
895
|
+
border-radius: ${Re.largeBorderRadius};
|
|
896
|
+
border-width: ${Re.largeBorderWidth};
|
|
892
897
|
}
|
|
893
898
|
|
|
894
899
|
.ft-button--large:focus-visible {
|
|
895
|
-
outline-width: ${
|
|
896
|
-
outline-offset: ${
|
|
900
|
+
outline-width: ${Re.largeFocusOutlineWidth};
|
|
901
|
+
outline-offset: ${Re.largeFocusOutlineOffset};
|
|
897
902
|
}
|
|
898
903
|
|
|
899
904
|
.ft-button--large.ft-button--icon-only {
|
|
900
|
-
width: ${
|
|
905
|
+
width: ${Re.largeIconOnlyWidth};
|
|
901
906
|
padding: unset;
|
|
902
907
|
}
|
|
903
908
|
|
|
904
909
|
/** Small styles **/
|
|
905
910
|
|
|
906
911
|
.ft-button--small {
|
|
907
|
-
${
|
|
908
|
-
${
|
|
912
|
+
${Se(xn.size,Re.smallIconSize)};
|
|
913
|
+
${Se(vn.size,Re.smallIconSize)};
|
|
909
914
|
|
|
910
|
-
height: ${
|
|
911
|
-
padding: 0 ${
|
|
912
|
-
gap: ${
|
|
913
|
-
border-radius: ${
|
|
914
|
-
border-width: ${
|
|
915
|
+
height: ${Re.smallHeight};
|
|
916
|
+
padding: 0 ${Re.smallHorizontalPadding};
|
|
917
|
+
gap: ${Re.smallGap};
|
|
918
|
+
border-radius: ${Re.smallBorderRadius};
|
|
919
|
+
border-width: ${Re.smallBorderWidth};
|
|
915
920
|
}
|
|
916
921
|
|
|
917
922
|
.ft-button--small:focus-visible {
|
|
918
|
-
outline-width: ${
|
|
919
|
-
outline-offset: ${
|
|
923
|
+
outline-width: ${Re.smallFocusOutlineWidth};
|
|
924
|
+
outline-offset: ${Re.smallFocusOutlineOffset};
|
|
920
925
|
}
|
|
921
926
|
|
|
922
927
|
.ft-button--small.ft-button--icon-only {
|
|
923
|
-
width: ${
|
|
928
|
+
width: ${Re.smallIconOnlyWidth};
|
|
924
929
|
padding: unset;
|
|
925
930
|
}
|
|
926
|
-
`,Ke];var ps,ds,ys,gs,bs,ms,vs,Os,xs,ws,Ss,Ns,Cs,Es,Rs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $s extends ls{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?zn.caption1medium:zn.body2medium}}$s.styles=[Me,us],Rs([R({type:Boolean})],$s.prototype,"primary",void 0),Rs([R({type:Boolean})],$s.prototype,"secondary",void 0),Rs([R({type:Boolean})],$s.prototype,"tertiary",void 0),Rs([R({type:Boolean})],$s.prototype,"neutral",void 0),Rs([R({type:Boolean})],$s.prototype,"small",void 0),A("ft-button")(hs),A("ftds-button")($s),function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(ps||(ps={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ds||(ds={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(ys||(ys={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(gs||(gs={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(bs||(bs={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ms||(ms={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(vs||(vs={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Os||(Os={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(xs||(xs={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ws||(ws={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ss||(Ss={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ns||(Ns={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Cs||(Cs={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Es||(Es={})),Es.PERSONAL_BOOK_SHARE_USER,Es.PERSONAL_BOOK_USER,Es.HTML_EXPORT_USER,Es.PERSONAL_BOOK_USER,Es.PDF_EXPORT_USER,Es.PERSONAL_BOOK_USER,Es.KHUB_ADMIN,Es.CONTENT_PUBLISHER,Es.ADMIN,Es.KHUB_ADMIN,Es.USERS_ADMIN,Es.PORTAL_ADMIN,Es.DEVELOPER,Es.BETA_USER,Es.DEBUG_USER;const Us=xt`
|
|
927
|
-
`,
|
|
931
|
+
`,Me];var ds,ys,gs,bs,ms,vs,Os,xs,ws,Ss,Ns,Cs,Es,Rs,$s=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Us extends fs{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Zn.caption1medium:Zn.body2medium}}Us.styles=[De,ps],$s([R({type:Boolean})],Us.prototype,"primary",void 0),$s([R({type:Boolean})],Us.prototype,"secondary",void 0),$s([R({type:Boolean})],Us.prototype,"tertiary",void 0),$s([R({type:Boolean})],Us.prototype,"neutral",void 0),$s([R({type:Boolean})],Us.prototype,"small",void 0),W("ft-button")(us),W("ftds-button")(Us),function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(ds||(ds={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ys||(ys={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(gs||(gs={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(bs||(bs={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(ms||(ms={})),function(t){t.ASC="ASC",t.DESC="DESC"}(vs||(vs={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Os||(Os={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(xs||(xs={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ws||(ws={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ss||(Ss={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ns||(Ns={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Cs||(Cs={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Es||(Es={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Rs||(Rs={})),Rs.PERSONAL_BOOK_SHARE_USER,Rs.PERSONAL_BOOK_USER,Rs.HTML_EXPORT_USER,Rs.PERSONAL_BOOK_USER,Rs.PDF_EXPORT_USER,Rs.PERSONAL_BOOK_USER,Rs.KHUB_ADMIN,Rs.CONTENT_PUBLISHER,Rs.ADMIN,Rs.KHUB_ADMIN,Rs.USERS_ADMIN,Rs.PORTAL_ADMIN,Rs.DEVELOPER,Rs.BETA_USER,Rs.DEBUG_USER;const Is=wt`
|
|
932
|
+
`,ks=Dr.get({name:"ft-app-info",reducers:{setBaseUrl:(t,e)=>{t.baseUrl=e.payload},setApiIntegrationIdentifier:(t,e)=>{t.apiIntegrationIdentifier=e.payload},setUiLocale:(t,e)=>{t.uiLocale=e.payload},setAvailableUiLocales:(t,e)=>{t.availableUiLocales=e.payload},setEditorMode:(t,e)=>{t.editorMode=e.payload},setNoCustom:(t,e)=>{t.noCustom=e.payload},setNoCustomComponent:(t,e)=>{t.noCustomComponent=e.payload},setSession:(t,e)=>{t.session=e.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Ls{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=ks.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?Ls.build(t):null!==(e=Ls.API)&&void 0!==e?e:Ls.API=Ls.build()}static await(t){return new Promise((e=>{let o=Ls.get(t);if(o)e(o);else{const r=ks.subscribe((()=>{o=Ls.get(t),o&&(r(),e(o))}))}}))}}var As;const Ws=Symbol("clearAfterUnitTest");class js{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[As]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=ks.getState().uiLocale,ks.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=ks.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};A(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Te(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}As=Ws,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new js((async(t,e)=>(await Ls.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new js((async(t,e)=>(await Ls.await()).getCustomMessageContext(t,e))));const Fs=window.FluidTopicsI18nService,Ps=window.FluidTopicsCustomI18nService;var Ks=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ms extends Pe{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ls.get(),this.cache=new r,this.cleanSessionDebouncer=new L}render(){return ie`
|
|
928
933
|
<slot></slot>
|
|
929
|
-
`}update(t){super.update(t),t.has("baseUrl")&&
|
|
930
|
-
`;var
|
|
934
|
+
`}update(t){super.update(t),t.has("baseUrl")&&ks.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&ks.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&ks.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&ks.actions.setNoCustom(this.noCustom),t.has("editorMode")&&ks.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&ks.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&ks.actions.setSession(this.session),t.has("availableUiLocales")&&ks.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Fs.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const e=await t.getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),e.idleTimeoutInMillis),e}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Ms.elementDefinitions={},Ms.styles=Is,Ks([R()],Ms.prototype,"baseUrl",void 0),Ks([R()],Ms.prototype,"apiIntegrationIdentifier",void 0),Ks([R()],Ms.prototype,"uiLocale",void 0),Ks([j([])],Ms.prototype,"availableUiLocales",void 0),Ks([R({type:Boolean})],Ms.prototype,"editorMode",void 0),Ks([R({type:Boolean})],Ms.prototype,"noCustom",void 0),Ks([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ms.prototype,"noCustomComponent",void 0),Ks([R({type:Boolean})],Ms.prototype,"withManualResources",void 0),Ks([j([])],Ms.prototype,"messageContexts",void 0),Ks([j(void 0)],Ms.prototype,"session",void 0),Ks([R({type:Object})],Ms.prototype,"apiProvider",void 0);class Ds{async listMySearches(){var t;return(null===(t=ks.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Ls.await()).listMySearches(ks.getState().session.profile.userId):[]}}const Ts=new r;class Bs{async listMyBookmarks(){return Ts.get("bookmarks",(async()=>(await Ls.await()).listMyBookmarks(ks.getState().session.profile.userId)))}clearCache(){Ts.clear("bookmarks")}}const zs=Dr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=ks.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Bs,ks.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=ks.getState();A(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){zs.actions.savedSearches(void 0)}clearMyBookmarks(){zs.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Ds,e=await t.listMySearches();zs.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;zs.actions.bookmarks(e)}}},W("ft-app-context")(Ms);class Zs extends Event{constructor(){super(Zs.eventName)}}Zs.eventName="search-context-clear-all-filters";var _s=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hs extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Gs=Symbol("registerInterval");class Vs extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Gs]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Gs]):this.dispatchEvent(new Hs)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Gs,_s([$()],o.prototype,"stateManager",void 0),o}(Xe)){}const qs=wt`
|
|
935
|
+
`;var Ys=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Xs=Symbol("i18nProperties"),Js=Symbol("i18nUnsubs");function Qs(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ps:Fs}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e;null===(e=this[Xs])||void 0===e||e.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var e;super.update(t),null===(e=this[Xs])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Xs]&&new Set([...this[Xs].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Js].has(t)||this[Js].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages(t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Js].forEach((t=>t())),this[Js].clear()}}return e=Js,Ys([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class tc extends(Qs(Pe)){}class ec extends(Qs(Xe)){}var oc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rc extends ec{constructor(){super(),this.editorMode=!1,this.addStore(ks)}render(){return this.key&&this.context?ie`
|
|
931
936
|
<span class="ft-i18n">
|
|
932
937
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
933
938
|
</span>
|
|
934
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
939
|
+
`:this.editorMode?"Select a context and a label key.":ae}update(t){var e;super.update(t),this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}rc.elementDefinitions={},rc.styles=qs,oc([Be()],rc.prototype,"editorMode",void 0),oc([R()],rc.prototype,"context",void 0),oc([R()],rc.prototype,"key",void 0),oc([j([])],rc.prototype,"args",void 0),oc([R()],rc.prototype,"defaultMessage",void 0);class ic{static build(t){return new ic(t)}static fromGwt(t){return new ic(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Fs.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(rc);const nc=ic.fromGwt("designedActionBlockAriaLabels");var ac=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sc extends(Qs(Vs)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(nc)}render(){return this.isLastPage?ae:ie`
|
|
935
940
|
<ft-button @click="${this.loadMore}">
|
|
936
|
-
${
|
|
941
|
+
${nc.messages.searchPageLoadMore()}
|
|
937
942
|
</ft-button>
|
|
938
|
-
`}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}
|
|
943
|
+
`}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}sc.elementDefinitions={"ft-button":us},sc.styles=Hr,ac([Be({store:"search",selector:t=>{var e,o;return null!==(o=null===(e=t.paging)||void 0===e?void 0:e.currentPage)&&void 0!==o?o:1}})],sc.prototype,"currentPage",void 0),ac([Be({store:"search",selector:t=>{var e,o;return null===(o=null===(e=t.paging)||void 0===e?void 0:e.isLastPage)||void 0===o||o}})],sc.prototype,"isLastPage",void 0),W("ft-search-load-more-button")(sc),t.FtSearchLoadMoreButton=sc,t.FtSearchLoadMoreButtonCssVariables={},t.styles=Hr}({});
|