@fluid-topics/ft-search-input 1.0.63 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-input-suggestion.d.ts +1 -1
- package/build/ft-search-input.d.ts +1 -1
- package/build/ft-search-input.light.js +129 -123
- package/build/ft-search-input.min.js +366 -352
- package/package.json +10 -10
|
@@ -1,72 +1,92 @@
|
|
|
1
1
|
!function(t){
|
|
2
2
|
/**
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
|
-
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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,l=new Set(i.observedAttributes||[]);u(i,l,s);const c={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:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),h(t,c,!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 o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?h(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.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(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==i.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Gi){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("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,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,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 e&&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,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=i,i.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}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)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
|
+
* This code may only be used under the BSD style license found at
|
|
6
|
+
* http://polymer.github.io/LICENSE.txt
|
|
7
|
+
* The complete set of authors may be found at
|
|
8
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
+
* The complete set of contributors may be found at
|
|
10
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
+
* Code distributed by Google as part of the polymer project is also
|
|
12
|
+
* subject to an additional IP rights grant found at
|
|
13
|
+
* http://polymer.github.io/PATENTS.txt
|
|
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||[]);h(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=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)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},p=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)}},h=(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)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){u(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(Jn){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)}}class i{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}}
|
|
18
16
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2017 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/const n=globalThis,a=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;
|
|
23
21
|
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
* @license
|
|
23
|
+
* Copyright 2019 Google LLC
|
|
24
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
+
*/const l=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&c.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return l(e)})(t):t
|
|
28
26
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
* @license
|
|
28
|
+
* Copyright 2017 Google LLC
|
|
29
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
+
*/,{is:p,defineProperty:h,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:g}=Object,b=globalThis,m=b.trustedTypes,v=m?m.emptyScript:"",x=b.reactiveElementPolyfillSupport,O=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?v: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}},S=(t,e)=>!p(t,e),N={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;let C=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=N){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&&h(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=u(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)??N}static _$Ei(){if(this.hasOwnProperty(O("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(O("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(O("properties"))){const t=this.properties,e=[...d(t),...y(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(f(t))}else void 0!==t&&e.push(f(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(a)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=n.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:w).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:w;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??S)(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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[O("elementProperties")]=new Map,C[O("finalized")]=new Map,x?.({ReactiveElement:C}),(b.reactiveElementVersions??=[]).push("2.0.2");
|
|
33
31
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*/
|
|
36
|
+
const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},$=(t=E,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function R(t){return(e,o)=>"object"==typeof o?$(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
38
37
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
* @license
|
|
39
|
+
* Copyright 2017 Google LLC
|
|
40
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
+
*/}function U(t){return R({...t,state:!0,attribute:!1})}
|
|
43
42
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/const I=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
48
47
|
/**
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
* @license
|
|
49
|
+
* Copyright 2017 Google LLC
|
|
50
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
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)}})}}
|
|
53
52
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2017 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/function L(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(!L(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(!L(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(!L(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 A(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)=>!L(t,e),...null!=e?e:{}})}
|
|
58
57
|
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
var W;L.finalized=!0,L.elementProperties=new Map,L.elementStyles=[],L.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:L}),(null!==(N=C.reactiveElementVersions)&&void 0!==N?N:C.reactiveElementVersions=[]).push("1.6.1");const A=window,j=A.trustedTypes,F=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,B="?"+D,P=`<${B}>`,M=document,z=()=>M.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,V=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ot=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),rt=new WeakMap,it=M.createTreeWalker(M,129,null,!1),nt=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=G;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===G?"!--"===l[1]?a=q:void 0!==l[1]?a=V:void 0!==l[2]?(Q.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=null!=i?i:G,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:X):a===J||a===X?a=Y:a===q||a===V?a=G:(a=Y,i=void 0);const p=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+P:c>=0?(r.push(s),e.slice(0,c)+K+e.slice(c)+D+p):e+D+(-2===c?(r.push(void 0),o):p)}const s=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(s):s,r]};class at{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=nt(t,o);if(this.el=at.createElement(l,e),it.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=it.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(K)||o.startsWith(D)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+K).split(D),o=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?pt:"?"===o[1]?dt:"@"===o[1]?ht:ft})}else s.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(Q.test(r.tagName)){const t=r.textContent.split(D),o=t.length-1;if(o>0){r.textContent=j?j.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],z()),it.nextNode(),s.push({type:2,index:++i});r.append(t[o],z())}}}else if(8===r.nodeType)if(r.data===B)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(D,t+1));)s.push({type:7,index:i}),t+=D.length-1}i++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}}function st(t,o,e=t,r){var i,n,a,s;if(o===ot)return o;let l=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=Z(o)?void 0:o._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,e,r)),void 0!==r?(null!==(a=(s=e)._$Co)&&void 0!==a?a:s._$Co=[])[r]=l:e._$Cl=l),void 0!==l&&(o=st(t,l._$AS(t,o.values),l,r)),o}let lt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:M).importNode(e,!0);it.currentNode=i;let n=it.nextNode(),a=0,s=0,l=r[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new ct(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new yt(n,this,t)),this._$AV.push(o),l=r[++s]}a!==(null==l?void 0:l.index)&&(n=it.nextNode(),a++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},ct=class t{constructor(t,o,e,r){var i;this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=st(this,t,o),Z(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(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!==et&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=at.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new lt(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=rt.get(t.strings);return void 0===o&&rt.set(t.strings,o=new at(t)),o}T(o){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(z()),this.k(z()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},ft=class{constructor(t,o,e,r,i){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=et}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=st(this,t,o,0),n=!Z(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=st(this,r[e+a],o,a),s===ot&&(s=this._$AH[a]),n||(n=!Z(s)||s!==this._$AH[a]),s===et?t=et:t!==et&&(t+=(null!=s?s:"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.j(t)}j(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},pt=class extends ft{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===et?void 0:t}};const ut=j?j.emptyScript:"";let dt=class extends ft{constructor(){super(...arguments),this.type=4}j(t){t&&t!==et?this.element.setAttribute(this.name,ut):this.element.removeAttribute(this.name)}},ht=class extends ft{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=st(this,t,o,0))&&void 0!==e?e:et)===ot)return;const r=this._$AH,i=t===et&&r!==et||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==et&&(r===et||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const gt={O:K,P:D,A:B,C:1,M:nt,L:lt,D:_,R:st,I:ct,V:ft,H:dt,N:ht,U:pt,F:yt},bt=A.litHtmlPolyfillSupport;null==bt||bt(at,ct),(null!==(W=A.litHtmlVersions)&&void 0!==W?W:A.litHtmlVersions=[]).push("2.7.3");
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright 2017 Google LLC
|
|
60
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
+
*/const j=globalThis,F=j.trustedTypes,K=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,M="?"+D,B=`<${M}>`,z=document,T=()=>z.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,H=t=>_(t)||"function"==typeof t?.[Symbol.iterator],G="[ \t\n\f\r]",q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/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}const st=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=q;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===q?"!--"===c[1]?a=V: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??q,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===V||a===Y?a=q:(a=X,i=void 0);const p=a===X&&t[e+1].startsWith("/>")?" ":"";n+=a===q?o+B:l>=0?(r.push(s),o.slice(0,l)+P+o.slice(l)+D+p):o+D+(-2===l?e:p)}return[at(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let ct=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]=st(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(P)){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]?ut:"?"===r[1]?dt:"@"===r[1]?yt:ht}),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=F?F.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],T()),nt.nextNode(),c.push({type:2,index:++n});i.append(t[e],T())}}}else if(8===i.nodeType)if(i.data===M)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 lt(t,e,o=t,r){if(e===ot)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Z(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=lt(t,i._$AS(t,e.values),i,r)),e}let ft=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 pt(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new gt(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++}},pt=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=lt(this,t,e),Z(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):H(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&&Z(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=ct.createElement(at(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ft(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 ct(t)),e}T(e){_(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(T()),this.k(T()),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))}},ht=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=lt(this,t,e,0),n=!Z(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=lt(this,r[o+a],e,a),s===ot&&(s=this._$AH[a]),n||=!Z(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??"")}},ut=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===rt?void 0:t}},dt=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==rt)}},yt=class extends ht{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=lt(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)}},gt=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){lt(this,t)}};const bt={j:P,P:D,A:M,C:1,M:st,L:ft,R:H,V:lt,D:pt,I:ht,H:dt,N:yt,U:ut,B:gt},mt=j.litHtmlPolyfillSupport;mt?.(ct,pt),(j.litHtmlVersions??=[]).push("3.1.0");
|
|
64
62
|
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new ct(o.insertBefore(z(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}};xt.finalized=!0,xt._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:xt});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:xt}),(null!==(vt=globalThis.litElementVersions)&&void 0!==vt?vt:globalThis.litElementVersions=[]).push("3.3.2");const wt=t=>"string"==typeof t?x(t):t;class St{static create(t,o,e,r){const i=t=>wt(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wt(null!=o?o:t.lastResortDefaultValue()),r=O`var(${wt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>O`var(${wt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Nt(t,o){return wt(`${t.name}: ${o}`)}const Ct={colorWhite:St.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:St.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:St.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:St.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:St.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:St.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:St.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:St.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:St.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:St.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:St.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:St.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:St.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:St.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:St.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:St.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:St.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:St.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:St.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:St.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:St.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:St.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:St.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:St.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:St.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:St.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:St.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:St.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:St.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:St.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:St.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:St.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:St.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:St.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:St.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:St.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:St.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:St.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:St.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:St.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:St.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:St.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:St.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:St.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:St.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:St.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:St.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:St.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:St.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:St.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:St.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:St.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:St.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:St.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:St.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:St.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:St.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:St.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:St.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:St.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:St.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:St.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:St.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:St.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:St.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:St.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:St.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:St.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:St.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:St.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:St.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:St.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:St.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:St.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:St.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:St.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:St.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:St.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:St.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:St.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:St.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:St.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:St.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:St.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:St.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:St.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:St.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:St.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:St.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:St.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:St.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:St.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:St.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:St.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:St.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:St.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:St.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:St.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:St.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:St.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:St.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:St.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:St.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:St.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:St.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:St.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:St.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:St.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:St.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:St.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:St.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:St.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:St.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:St.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:St.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:St.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:St.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:St.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:St.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:St.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:St.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:St.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:St.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:St.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:St.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:St.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:St.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:St.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:St.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:St.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:St.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:St.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:St.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:St.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:St.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:St.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:St.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:St.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:St.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:St.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:St.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:St.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:St.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:St.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:St.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:St.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:St.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:St.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:St.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:St.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:St.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:St.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:St.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:St.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:St.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:St.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:St.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:St.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:St.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:St.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:St.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:St.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:St.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:St.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:St.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:St.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:St.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:St.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:St.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:St.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:St.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:St.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:St.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:St.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:St.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:St.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:St.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:St.create("--ft-icon-size-6","","SIZE","48px"),opacity0:St.create("--ft-opacity-0","","NUMBER","0"),opacity8:St.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:St.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:St.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:St.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:St.create("--ft-opacity-80","","NUMBER","0.8")},Et={display:{fontFamily:St.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:St.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:St.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:St.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:St.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:St.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:St.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:St.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:St.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:St.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:St.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:St.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:St.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:St.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:St.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:St.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:St.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:St.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:St.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:St.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:St.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:St.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:St.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:St.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:St.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:St.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:St.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Rt={backgroundActionPrimary:St.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ct.colorBrand0),backgroundErrorPrimary:St.extend("--ft-background-error-primary","Used as background of error components.",Ct.colorRed0),backgroundErrorSubtle:St.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ct.colorRed10),backgroundInfoPrimary:St.extend("--ft-background-info-primary","Used as background of information components.",Ct.colorCyan200),backgroundInfoSubtle:St.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ct.colorCyan10),backgroundWarningPrimary:St.extend("--ft-background-warning-primary","Used as background of warning components.",Ct.colorOrange300),backgroundWarningSubtle:St.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ct.colorOrange10),backgroundSuccessPrimary:St.extend("--ft-background-success-primary","Used as background of success components.",Ct.colorGreen200),backgroundSuccessSubtle:St.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ct.colorGreen10),backgroundGlobalSurface:St.extend("--ft-background-global-surface","Used as app background.",Ct.colorWhite),backgroundGlobalOnSurface:St.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ct.colorGray10),backgroundGlobalOnSurfaceDark:St.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ct.colorGray30),contentActionPrimary:St.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ct.colorBrand0),contentWarningPrimary:St.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ct.colorOrange300),contentWarningIconOnly:St.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ct.colorOrange0),contentErrorPrimary:St.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ct.colorRed0),contentErrorIconOnly:St.extend("--ft-content-error-icon-only","Used on error status icons alone",Ct.colorRed0),contentInfoPrimary:St.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ct.colorCyan200),contentInfoIconOnly:St.extend("--ft-content-info-icon-only","Used on info status icons alone",Ct.colorCyan0),contentSuccessIconOnly:St.extend("--ft-content-success-icon-only","Used on success status icons alone",Ct.colorGreen0),contentSuccessPrimary:St.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ct.colorGreen200),contentGlobalPrimary:St.extend("--ft-content-global-primary","Used for main content on the page.",Ct.colorGray500),contentGlobalSecondary:St.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ct.colorGray200),contentGlobalSubtle:St.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ct.colorGray0),contentGlobalOnColor:St.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ct.colorWhite),borderActionPrimary:St.extend("--ft-border-action-primary","Used as border for primary action components.",Ct.colorBrand0),borderActionFocusRing:St.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ct.colorCyan0),borderWarningPrimary:St.extend("--ft-border-warning-primary","Used as border for warning components.",Ct.colorOrange30),borderSuccessPrimary:St.extend("--ft-border-success-primary","Used as border for success components.",Ct.colorGreen30),borderErrorPrimary:St.extend("--ft-border-error-primary","Used as border for error components.",Ct.colorRed30),borderInfoPrimary:St.extend("--ft-border-info-primary","Used as border for information components.",Ct.colorCyan30),borderGlobalSubtle:St.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ct.colorGray30),borderGlobalPrimary:St.extend("--ft-border-global-primary","Used as border for element like input.",Ct.colorGray50),borderInputPrimary:St.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ct.colorGray80)},$t={largeHeight:St.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:St.extend("--ft-button-large-horizontal-padding","",Ct.spacing4),largeGap:St.extend("--ft-button-large-gap","",Ct.spacing2),largeBorderRadius:St.extend("--ft-button-large-border-radius","",Ct.borderRadiusS),largeIconSize:St.extend("--ft-button-large-icon-size","",Ct.iconSize3),largeBorderWidth:St.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:St.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:St.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:St.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:St.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:St.extend("--ft-button-small-horizontal-padding","",Ct.spacing3),smallGap:St.extend("--ft-button-small-gap","",Ct.spacing2),smallBorderRadius:St.extend("--ft-button-small-border-radius","",Ct.borderRadiusS),smallIconSize:St.extend("--ft-button-small-icon-size","",Ct.iconSize2),smallBorderWidth:St.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:St.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:St.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:St.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:St.extend("--ft-button-primary-background-color","",Rt.backgroundActionPrimary),primaryColor:St.extend("--ft-button-primary-color","",Rt.contentGlobalOnColor),primaryIconColor:St.extend("--ft-button-primary-icon-color","",Rt.contentGlobalOnColor),primaryStateLayerColor:St.extend("--ft-button-primary-state-layer-color","",Rt.contentGlobalOnColor),primaryStateLayerOpacityHover:St.extend("--ft-button-primary-state-layer-opacity-hover","",Ct.opacity16),primaryStateLayerOpacityFocus:St.extend("--ft-button-primary-state-layer-opacity-focus","",Ct.opacity16),primaryStateLayerOpacityActive:St.extend("--ft-button-primary-state-layer-opacity-active","",Ct.opacity24),primaryComponentOpacityDisabled:St.extend("--ft-button-primary-component-opacity-disabled","",Ct.opacity40),focusFocusRingColor:St.extend("--ft-button-focus-focus-ring-color","",Rt.borderActionFocusRing),tertiaryBackgroundColor:St.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:St.extend("--ft-button-tertiary-color","",Rt.contentActionPrimary),tertiaryIconColor:St.extend("--ft-button-tertiary-icon-color","",Rt.contentActionPrimary),tertiaryStateLayerColor:St.extend("--ft-button-tertiary-state-layer-color","",Rt.contentActionPrimary),tertiaryStateLayerOpacityHover:St.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ct.opacity8),tertiaryStateLayerOpacityFocus:St.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ct.opacity8),tertiaryStateLayerOpacityActive:St.extend("--ft-button-tertiary-state-layer-opacity-active","",Ct.opacity16),tertiaryComponentOpacityDisabled:St.extend("--ft-button-tertiary-component-opacity-disabled","",Ct.opacity40),secondaryBackgroundColor:St.extend("--ft-button-secondary-background-color","",Ct.colorWhite),secondaryColor:St.extend("--ft-button-secondary-color","",Rt.contentActionPrimary),secondaryIconColor:St.extend("--ft-button-secondary-icon-color","",Rt.contentActionPrimary),secondaryStateLayerColor:St.extend("--ft-button-secondary-state-layer-color","",Rt.contentActionPrimary),secondaryStateLayerOpacityHover:St.extend("--ft-button-secondary-state-layer-opacity-hover","",Ct.opacity8),secondaryStateLayerOpacityFocus:St.extend("--ft-button-secondary-state-layer-opacity-focus","",Ct.opacity8),secondaryStateLayerOpacityActive:St.extend("--ft-button-secondary-state-layer-opacity-active","",Ct.opacity16),secondaryComponentOpacityDisabled:St.extend("--ft-button-secondary-component-opacity-disabled","",Ct.opacity40),secondaryBorderColor:St.extend("--ft-button-secondary-border-color","",Rt.borderActionPrimary),neutralBackgroundColor:St.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:St.extend("--ft-button-neutral-icon-color","",Rt.contentGlobalSecondary),neutralColor:St.extend("--ft-button-neutral-color","",Rt.contentGlobalSecondary),neutralStateLayerColor:St.extend("--ft-button-neutral-state-layer-color","",Rt.contentGlobalSecondary),neutralStateLayerOpacityHover:St.extend("--ft-button-neutral-state-layer-opacity-hover","",Ct.opacity8),neutralStateLayerOpacityFocus:St.extend("--ft-button-neutral-state-layer-opacity-focus","",Ct.opacity8),neutralStateLayerOpacityActive:St.extend("--ft-button-neutral-state-layer-opacity-active","",Ct.opacity16),neutralComponentOpacityDisabled:St.extend("--ft-button-neutral-component-opacity-disabled","",Ct.opacity40)};St.extend("--ft-tabs-top-left-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-top-right-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-label-horizontal-padding","",Ct.spacing4),St.extend("--ft-tabs-label-vertical-padding","",Ct.spacing3),St.extend("--ft-tabs-label-gap","",Ct.spacing1),St.extend("--ft-switch-group-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-group-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-group-gap","",Ct.spacing1),St.extend("--ft-switch-group-background-color","",Rt.backgroundGlobalSurface),St.extend("--ft-switch-group-border-color","",Rt.borderGlobalSubtle),St.create("--ft-switch-group-border-radius","","SIZE","6px"),St.extend("--ft-switch-label-horizontal-padding","",Ct.spacing2),St.extend("--ft-switch-label-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-icon-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-icon-vertical-padding","",Ct.spacing1),St.create("--ft-switch-focus-outline-width","","SIZE","2px"),St.extend("--ft-switch-focus-focus-ring-color","",Rt.borderActionFocusRing),St.extend("--ft-switch-option-border-radius","",Ct.borderRadiusS),St.extend("--ft-switch-off-state-layer-opacity-hover","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-focus","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-active","",Ct.opacity16),St.extend("--ft-switch-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-switch-off-color","",Rt.contentGlobalSubtle),St.extend("--ft-switch-off-state-layer-color","",Rt.contentGlobalSubtle),St.extend("--ft-chart-1-light","for area color charts",Ct.colorBrand40),St.extend("--ft-chart-1-base","for line charts",Ct.colorBrand0),St.extend("--ft-chart-2-light","for area color charts",Ct.colorYellow60),St.extend("--ft-chart-2-base","for line charts",Ct.colorYellow100),St.extend("--ft-chart-3-light","",Ct.colorUltramarine40),St.extend("--ft-chart-3-base","",Ct.colorUltramarine70),St.extend("--ft-chart-4-light","",Ct.colorCyan50),St.extend("--ft-chart-4-base","",Ct.colorCyan100),St.extend("--ft-chart-5-light","",Ct.colorRed40),St.extend("--ft-chart-5-base","",Ct.colorRed60),St.extend("--ft-chart-6-light","",Ct.colorGreen40),St.extend("--ft-chart-6-base","",Ct.colorGreen70),St.extend("--ft-chart-7-light","",Ct.colorOrange70),St.extend("--ft-chart-7-base","",Ct.colorOrange100),St.extend("--ft-chart-8-light","",Ct.colorAvocado70),St.extend("--ft-chart-8-base","",Ct.colorAvocado200),St.extend("--ft-chart-9-light","",Ct.colorBrown50),St.extend("--ft-chart-9-base","",Ct.colorBrown200),St.extend("--ft-chart-10-light","",Ct.colorGray50),St.extend("--ft-chart-10-base","",Ct.colorGray80),St.extend("--ft-chart-monochrome-10","",Ct.colorBrand10),St.extend("--ft-chart-monochrome-20","",Ct.colorBrand20),St.extend("--ft-chart-monochrome-30","",Ct.colorBrand40),St.extend("--ft-chart-monochrome-40","",Ct.colorBrand60),St.extend("--ft-chart-monochrome-50","",Ct.colorBrand0),St.extend("--ft-chart-monochrome-60","",Ct.colorBrand200),St.extend("--ft-chip-large-horizontal-padding","",Ct.spacing4),St.extend("--ft-chip-large-vertical-padding","",Ct.spacing2),St.extend("--ft-chip-large-gap","",Ct.spacing1),St.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-large-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-large-border-width","","SIZE","1px"),St.extend("--ft-chip-large-icon-size","",Ct.iconSize3),St.extend("--ft-chip-medium-horizontal-padding","",Ct.spacing3),St.extend("--ft-chip-medium-vertical-padding","",Ct.spacing1),St.extend("--ft-chip-medium-gap","",Ct.spacing1),St.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-medium-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-medium-border-width","","SIZE","1px"),St.extend("--ft-chip-medium-icon-size","",Ct.iconSize2),St.extend("--ft-chip-small-horizontal-padding","",Ct.spacing2),St.extend("--ft-chip-small-vertical-padding","",Ct.spacing05),St.extend("--ft-chip-small-gap","",Ct.spacing1),St.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-small-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-small-border-width","","SIZE","1px"),St.extend("--ft-chip-small-icon-size","",Ct.iconSize1),St.extend("--ft-chip-neutral-background-color","",Rt.backgroundGlobalOnSurface),St.extend("--ft-chip-neutral-color","",Rt.contentGlobalPrimary),St.extend("--ft-chip-neutral-border-color","",Rt.borderGlobalSubtle),St.extend("--ft-chip-info-background-color","",Rt.backgroundInfoSubtle),St.extend("--ft-chip-info-color","",Rt.contentInfoPrimary),St.extend("--ft-chip-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-chip-success-background-color","",Rt.backgroundSuccessSubtle),St.extend("--ft-chip-success-color","",Rt.contentSuccessPrimary),St.extend("--ft-chip-success-border-color","",Rt.borderSuccessPrimary),St.extend("--ft-chip-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-chip-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-chip-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-chip-error-background-color","",Rt.backgroundErrorSubtle),St.extend("--ft-chip-error-color","",Rt.contentErrorPrimary),St.extend("--ft-chip-error-border-color","",Rt.borderErrorPrimary),St.create("--ft-notice-border-width","","SIZE","1px"),St.extend("--ft-notice-horizontal-padding","",Ct.spacing2),St.extend("--ft-notice-vertical-padding","",Ct.spacing1),St.extend("--ft-notice-border-radius","",Ct.borderRadiusS),St.extend("--ft-notice-gap","",Ct.spacing2),St.extend("--ft-notice-icon-size","",Ct.iconSize3),St.extend("--ft-notice-info-background-color","",Rt.backgroundInfoSubtle),St.extend("--ft-notice-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-notice-info-color","",Rt.contentInfoPrimary),St.extend("--ft-notice-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-notice-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-notice-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-checkbox-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-checkbox-checked-background-color","",Rt.contentActionPrimary),St.extend("--ft-checkbox-checked-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-checkbox-checked-color","",Rt.contentGlobalOnColor),St.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-checked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-unchecked-border-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-focus-focus-ring-color","",Rt.borderActionFocusRing),St.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),St.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),St.extend("--ft-checkbox-gap","",Ct.spacing3),St.extend("--ft-toggle-off-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-off-background-color","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-off-icon-color","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-off-state-layer-color","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-on-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-on-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-on-background-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-on-icon-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-on-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-toggle-focus-focus-ring-color","",Rt.borderActionFocusRing),St.extend("--ft-toggle-gap","",Ct.spacing3),St.extend("--ft-radio-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-radio-selected-color","",Rt.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-selected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-unselected-state-layer-color","",Ct.colorGray80),St.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-unselected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-focus-focus-ring-color","",Rt.borderActionFocusRing),St.create("--ft-radio-focus-outline-offset","","SIZE","3px"),St.create("--ft-radio-focus-outline-width","","SIZE","2px"),St.extend("--ft-radio-gap","",Ct.spacing3),St.extend("--ft-notification-icon-size","",Ct.iconSize4),St.extend("--ft-notification-horizontal-padding","",Ct.spacing4),St.extend("--ft-notification-vertical-padding","",Ct.spacing4),St.extend("--ft-notification-info-background-color","",Rt.backgroundInfoSubtle),St.extend("--ft-notification-info-color","",Rt.contentInfoPrimary),St.extend("--ft-notification-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-notification-success-background-color","",Rt.backgroundSuccessSubtle),St.extend("--ft-notification-success-color","",Rt.contentSuccessPrimary),St.extend("--ft-notification-success-border-color","",Rt.borderSuccessPrimary),St.extend("--ft-notification-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-notification-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-notification-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-notification-error-background-color","",Rt.backgroundErrorSubtle),St.extend("--ft-notification-error-color","",Rt.contentErrorPrimary),St.extend("--ft-notification-error-border-color","",Rt.borderErrorPrimary),St.extend("--ft-notification-border-radius","",Ct.borderRadiusPill),St.create("--ft-notification-border-width","","SIZE","1px"),St.extend("--ft-notification-gap-leading","",Ct.spacing2),St.extend("--ft-notification-gap-trailing","",Ct.spacing8);const Ut={colorPrimary:St.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:St.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:St.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:St.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:St.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:St.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:St.create("--ft-color-error","","COLOR","#B00020"),colorOutline:St.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:St.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:St.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:St.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:St.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:St.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:St.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:St.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:St.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:St.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:St.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:St.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:St.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:St.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:St.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:St.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:St.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:St.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:St.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:St.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:St.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:St.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:St.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:St.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:St.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:St.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:St.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:St.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:St.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:St.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:St.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:St.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:St.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:St.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:St.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:St.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:St.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:St.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:St.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:St.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:St.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:St.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class It extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return w(e,t.elementStyles),e}}var kt,Lt=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Wt=Symbol("constructorPrototype"),At=Symbol("constructorName"),jt=Symbol("exportpartsDebouncer");class Ft extends It{constructor(){super(),this[kt]=new i(5),this[At]=this.constructor.name,this[Wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[At]&&Object.setPrototypeOf(this,this[Wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[jt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}kt=jt,Lt([a()],Ft.prototype,"exportpartsPrefix",void 0),Lt([h([])],Ft.prototype,"exportpartsPrefixes",void 0),Lt([a()],Ft.prototype,"customStylesheet",void 0);const Kt=O`
|
|
63
|
+
* @license
|
|
64
|
+
* Copyright 2019 Google LLC
|
|
65
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
|
+
*/
|
|
67
|
+
const vt=globalThis,xt=vt.ShadowRoot&&(void 0===vt.ShadyCSS||vt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),wt=new WeakMap;let St=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Ot)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(xt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=wt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&wt.set(e,t))}return t}toString(){return this.cssText}};const Nt=t=>new St("string"==typeof t?t:t+"",void 0,Ot),Ct=(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 St(o,t,Ot)},Et=xt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Nt(e)})(t):t
|
|
68
|
+
/**
|
|
69
|
+
* @license
|
|
70
|
+
* Copyright 2017 Google LLC
|
|
71
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
+
*/,{is:$t,defineProperty:Rt,getOwnPropertyDescriptor:Ut,getOwnPropertyNames:It,getOwnPropertySymbols:kt,getPrototypeOf:Lt}=Object,Wt=globalThis,At=Wt.trustedTypes,jt=At?At.emptyScript:"",Ft=Wt.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Pt={toAttribute(t,e){switch(e){case Boolean:t=t?jt: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}},Dt=(t,e)=>!$t(t,e),Mt={attribute:!0,type:String,converter:Pt,reflect:!1,hasChanged:Dt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;let Bt=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=Mt){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&&Rt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=Ut(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)??Mt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...It(t),...kt(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(Et(t))}else void 0!==t&&e.push(Et(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(xt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=vt.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:Pt).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:Pt;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??Dt)(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){}};Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,Ft?.({ReactiveElement:Bt}),(Wt.reactiveElementVersions??=[]).push("2.0.2");
|
|
73
|
+
/**
|
|
74
|
+
* @license
|
|
75
|
+
* Copyright 2017 Google LLC
|
|
76
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
77
|
+
*/
|
|
78
|
+
const zt=globalThis,Tt=zt.trustedTypes,Zt=Tt?Tt.createPolicy("lit-html",{createHTML:t=>t}):void 0,_t="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,Gt="?"+Ht,qt=`<${Gt}>`,Vt=document,Yt=()=>Vt.createComment(""),Xt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Jt=Array.isArray,Qt="[ \t\n\f\r]",te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ee=/-->/g,oe=/>/g,re=RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ie=/'/g,ne=/"/g,ae=/^(?:script|style|textarea|title)$/i,se=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ce=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),fe=new WeakMap,pe=Vt.createTreeWalker(Vt,129);function he(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Zt?Zt.createHTML(e):e}class ue{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=te;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===te?"!--"===c[1]?a=ee:void 0!==c[1]?a=oe:void 0!==c[2]?(ae.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=re):void 0!==c[3]&&(a=re):a===re?">"===c[0]?(a=i??te,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?re:'"'===c[3]?ne:ie):a===ne||a===ie?a=re:a===ee||a===oe?a=te:(a=re,i=void 0);const p=a===re&&t[e+1].startsWith("/>")?" ":"";n+=a===te?o+qt:l>=0?(r.push(s),o.slice(0,l)+_t+o.slice(l)+Ht+p):o+Ht+(-2===l?e:p)}return[he(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=ue.createElement(c,o),pe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=pe.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(_t)){const e=l[n++],o=r.getAttribute(t).split(Ht),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?be:"?"===a[1]?me:"@"===a[1]?ve:ge}),r.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ae.test(r.tagName)){const t=r.textContent.split(Ht),e=t.length-1;if(e>0){r.textContent=Tt?Tt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Yt()),pe.nextNode(),s.push({type:2,index:++i});r.append(t[e],Yt())}}}else if(8===r.nodeType)if(r.data===Gt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ht,t+1));)s.push({type:7,index:i}),t+=Ht.length-1}i++}}static createElement(t,e){const o=Vt.createElement("template");return o.innerHTML=t,o}}function de(t,e,o=t,r){if(e===ce)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Xt(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=de(t,i._$AS(t,e.values),i,r)),e}let ye=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=le,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=de(this,t,e),Xt(t)?t===le||null==t||""===t?(this._$AH!==le&&this._$AR(),this._$AH=le):t!==this._$AH&&t!==ce&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Jt(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!==le&&Xt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Vt.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=ue.createElement(he(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??Vt).importNode(e,!0);pe.currentNode=r;let i=pe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ye(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new xe(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=pe.nextNode(),n++)}return pe.currentNode=Vt,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=fe.get(t.strings);return void 0===e&&fe.set(t.strings,e=new ue(t)),e}T(e){Jt(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(Yt()),this.k(Yt()),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))}},ge=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=le,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=le}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=de(this,t,e,0),n=!Xt(t)||t!==this._$AH&&t!==ce,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=de(this,r[o+a],e,a),s===ce&&(s=this._$AH[a]),n||=!Xt(s)||s!==this._$AH[a],s===le?t=le:t!==le&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},be=class extends ge{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===le?void 0:t}},me=class extends ge{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==le)}},ve=class extends ge{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=de(this,t,e,0)??le)===ce)return;const o=this._$AH,r=t===le&&o!==le||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==le&&(o===le||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)}},xe=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){de(this,t)}};const Oe=zt.litHtmlPolyfillSupport;Oe?.(ue,ye),(zt.litHtmlVersions??=[]).push("3.1.0");
|
|
79
|
+
/**
|
|
80
|
+
* @license
|
|
81
|
+
* Copyright 2017 Google LLC
|
|
82
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
|
+
*/
|
|
84
|
+
let we=class extends Bt{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 ye(e.insertBefore(Yt(),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 ce}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Se=globalThis.litElementPolyfillSupport;Se?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ne=t=>"string"==typeof t?Nt(t):t;class Ce{static create(t,e,o,r){const i=t=>Ne(null!=t?t:r),n=Ct`var(${Ne(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>Ct`var(${Ne(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=Ct`var(${Ne(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=>Ct`var(${Ne(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):Ne(null!=e?e:t.lastResortDefaultValue()),r=Ct`var(${Ne(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=>Ct`var(${Ne(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ee(t,e){return Ne(`${t.name}: ${e}`)}const $e={colorWhite:Ce.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ce.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ce.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ce.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ce.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ce.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ce.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ce.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ce.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ce.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ce.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ce.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ce.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ce.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ce.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ce.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ce.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ce.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ce.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ce.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ce.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ce.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ce.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ce.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ce.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ce.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ce.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ce.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ce.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ce.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ce.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ce.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ce.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ce.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ce.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ce.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ce.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ce.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ce.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ce.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ce.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ce.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ce.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ce.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ce.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ce.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ce.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ce.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ce.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ce.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ce.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ce.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ce.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ce.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ce.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ce.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ce.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ce.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ce.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ce.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ce.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ce.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ce.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ce.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ce.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ce.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ce.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ce.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ce.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ce.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ce.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ce.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ce.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ce.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ce.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ce.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ce.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ce.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ce.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ce.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ce.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ce.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ce.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ce.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ce.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ce.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ce.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ce.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ce.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ce.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ce.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ce.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ce.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ce.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ce.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ce.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ce.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ce.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ce.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ce.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ce.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ce.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ce.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ce.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ce.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ce.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ce.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ce.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ce.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ce.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ce.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ce.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ce.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ce.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ce.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ce.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ce.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ce.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ce.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ce.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ce.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ce.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ce.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ce.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ce.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ce.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ce.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ce.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ce.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ce.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ce.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ce.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ce.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ce.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ce.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ce.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ce.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ce.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ce.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ce.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ce.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ce.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ce.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ce.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ce.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ce.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ce.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ce.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ce.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ce.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ce.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ce.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ce.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ce.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ce.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ce.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ce.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ce.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ce.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ce.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ce.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ce.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ce.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ce.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ce.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ce.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ce.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ce.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ce.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ce.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ce.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ce.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ce.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ce.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ce.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ce.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ce.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ce.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ce.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ce.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ce.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ce.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ce.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ce.create("--ft-opacity-80","","NUMBER","0.8")},Re={display:{fontFamily:Ce.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ce.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ce.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ce.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ce.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ce.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ce.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ce.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ce.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ce.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ce.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ce.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ce.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ce.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ce.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ce.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ce.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ce.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ce.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ce.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ce.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ce.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ce.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ce.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ce.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ce.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ce.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ce.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:Ce.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:Ce.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:Ce.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:Ce.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:Ce.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:Ce.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:Ce.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:Ce.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:Ce.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:Ce.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:Ce.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:Ce.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:Ce.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:Ce.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:Ce.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:Ce.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:Ce.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:Ce.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessIconOnly:Ce.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentSuccessPrimary:Ce.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentGlobalPrimary:Ce.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:Ce.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:Ce.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:Ce.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:Ce.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:Ce.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:Ce.extend("--ft-border-warning-primary","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:Ce.extend("--ft-border-success-primary","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:Ce.extend("--ft-border-error-primary","Used as border for error components.",$e.colorRed30),borderInfoPrimary:Ce.extend("--ft-border-info-primary","Used as border for information components.",$e.colorCyan30),borderGlobalSubtle:Ce.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderGlobalPrimary:Ce.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderInputPrimary:Ce.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},Ie={largeHeight:Ce.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ce.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:Ce.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:Ce.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:Ce.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:Ce.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ce.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ce.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ce.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ce.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ce.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:Ce.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:Ce.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:Ce.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:Ce.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ce.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ce.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ce.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ce.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ce.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ce.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ce.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ce.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:Ce.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:Ce.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:Ce.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:Ce.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ce.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ce.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ce.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ce.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ce.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:Ce.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:Ce.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:Ce.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:Ce.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ce.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ce.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ce.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ce.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:Ce.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:Ce.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:Ce.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:Ce.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ce.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ce.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ce.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ce.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ce.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:Ce.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:Ce.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:Ce.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};Ce.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),Ce.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),Ce.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),Ce.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),Ce.extend("--ft-tabs-label-gap","",$e.spacing1),Ce.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),Ce.extend("--ft-switch-group-vertical-padding","",$e.spacing1),Ce.extend("--ft-switch-group-gap","",$e.spacing1),Ce.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ce.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ce.create("--ft-switch-group-border-radius","","SIZE","6px"),Ce.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),Ce.extend("--ft-switch-label-vertical-padding","",$e.spacing1),Ce.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),Ce.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),Ce.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),Ce.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),Ce.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),Ce.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),Ce.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),Ce.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),Ce.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),Ce.extend("--ft-chart-3-light","",$e.colorUltramarine40),Ce.extend("--ft-chart-3-base","",$e.colorUltramarine70),Ce.extend("--ft-chart-4-light","",$e.colorCyan50),Ce.extend("--ft-chart-4-base","",$e.colorCyan100),Ce.extend("--ft-chart-5-light","",$e.colorRed40),Ce.extend("--ft-chart-5-base","",$e.colorRed60),Ce.extend("--ft-chart-6-light","",$e.colorGreen40),Ce.extend("--ft-chart-6-base","",$e.colorGreen70),Ce.extend("--ft-chart-7-light","",$e.colorOrange70),Ce.extend("--ft-chart-7-base","",$e.colorOrange100),Ce.extend("--ft-chart-8-light","",$e.colorAvocado70),Ce.extend("--ft-chart-8-base","",$e.colorAvocado200),Ce.extend("--ft-chart-9-light","",$e.colorBrown50),Ce.extend("--ft-chart-9-base","",$e.colorBrown200),Ce.extend("--ft-chart-10-light","",$e.colorGray50),Ce.extend("--ft-chart-10-base","",$e.colorGray80),Ce.extend("--ft-chart-monochrome-10","",$e.colorBrand10),Ce.extend("--ft-chart-monochrome-20","",$e.colorBrand20),Ce.extend("--ft-chart-monochrome-30","",$e.colorBrand40),Ce.extend("--ft-chart-monochrome-40","",$e.colorBrand60),Ce.extend("--ft-chart-monochrome-50","",$e.colorBrand0),Ce.extend("--ft-chart-monochrome-60","",$e.colorBrand200),Ce.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),Ce.extend("--ft-chip-large-vertical-padding","",$e.spacing2),Ce.extend("--ft-chip-large-gap","",$e.spacing1),Ce.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),Ce.create("--ft-chip-large-border-width","","SIZE","1px"),Ce.extend("--ft-chip-large-icon-size","",$e.iconSize3),Ce.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),Ce.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),Ce.extend("--ft-chip-medium-gap","",$e.spacing1),Ce.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),Ce.create("--ft-chip-medium-border-width","","SIZE","1px"),Ce.extend("--ft-chip-medium-icon-size","",$e.iconSize2),Ce.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),Ce.extend("--ft-chip-small-vertical-padding","",$e.spacing05),Ce.extend("--ft-chip-small-gap","",$e.spacing1),Ce.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),Ce.create("--ft-chip-small-border-width","","SIZE","1px"),Ce.extend("--ft-chip-small-icon-size","",$e.iconSize1),Ce.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ce.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ce.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ce.create("--ft-notice-border-width","","SIZE","1px"),Ce.extend("--ft-notice-horizontal-padding","",$e.spacing2),Ce.extend("--ft-notice-vertical-padding","",$e.spacing1),Ce.extend("--ft-notice-border-radius","",$e.borderRadiusS),Ce.extend("--ft-notice-gap","",$e.spacing2),Ce.extend("--ft-notice-icon-size","",$e.iconSize3),Ce.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ce.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),Ce.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),Ce.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),Ce.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),Ce.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-checkbox-gap","",$e.spacing3),Ce.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),Ce.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),Ce.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),Ce.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),Ce.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-toggle-gap","",$e.spacing3),Ce.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),Ce.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),Ce.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),Ce.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),Ce.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),Ce.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-radio-gap","",$e.spacing3),Ce.extend("--ft-notification-icon-size","",$e.iconSize4),Ce.extend("--ft-notification-horizontal-padding","",$e.spacing4),Ce.extend("--ft-notification-vertical-padding","",$e.spacing4),Ce.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ce.extend("--ft-notification-border-radius","",$e.borderRadiusPill),Ce.create("--ft-notification-border-width","","SIZE","1px"),Ce.extend("--ft-notification-gap-leading","",$e.spacing2),Ce.extend("--ft-notification-gap-trailing","",$e.spacing8);const ke={colorPrimary:Ce.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ce.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ce.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ce.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ce.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ce.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ce.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ce.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ce.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ce.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ce.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ce.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ce.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ce.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ce.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ce.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ce.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ce.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ce.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ce.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ce.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ce.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ce.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ce.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ce.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ce.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ce.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ce.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ce.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ce.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ce.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ce.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ce.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ce.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ce.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ce.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ce.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ce.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ce.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ce.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ce.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ce.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ce.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ce.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ce.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ce.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ce.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ce.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ce.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Le=window,We=Le.ShadowRoot&&(void 0===Le.ShadyCSS||Le.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
85
|
+
/**
|
|
86
|
+
* @license
|
|
87
|
+
* Copyright 2019 Google LLC
|
|
88
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
+
*/class Ae extends we{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)=>{We?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Le.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var je,Fe=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 Ke=Symbol("constructorPrototype"),Pe=Symbol("constructorName"),De=Symbol("exportpartsDebouncer");class Me extends Ae{constructor(){super(),this[je]=new i(5),this[Pe]=this.constructor.name,this[Ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pe]&&Object.setPrototypeOf(this,this[Ke])}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[De].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(", "))}}je=De,Fe([R()],Me.prototype,"exportpartsPrefix",void 0),Fe([A([])],Me.prototype,"exportpartsPrefixes",void 0),Fe([R()],Me.prototype,"customStylesheet",void 0);const Be=Ct`
|
|
70
90
|
.ft-no-text-select {
|
|
71
91
|
-webkit-touch-callout: none;
|
|
72
92
|
-webkit-user-select: none;
|
|
@@ -75,7 +95,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
75
95
|
-ms-user-select: none;
|
|
76
96
|
user-select: none;
|
|
77
97
|
}
|
|
78
|
-
`,
|
|
98
|
+
`,ze=Ct`
|
|
79
99
|
.ft-word-wrap {
|
|
80
100
|
white-space: normal;
|
|
81
101
|
word-wrap: break-word;
|
|
@@ -87,7 +107,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
87
107
|
-webkit-hyphens: auto;
|
|
88
108
|
hyphens: auto
|
|
89
109
|
}
|
|
90
|
-
`,
|
|
110
|
+
`,Te=Ct`
|
|
91
111
|
.ft-safari-ellipsis-fix {
|
|
92
112
|
margin-right: 0;
|
|
93
113
|
|
|
@@ -98,7 +118,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
98
118
|
display: inline-block;
|
|
99
119
|
width: 0;
|
|
100
120
|
}
|
|
101
|
-
`;class Pt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Mt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var zt,Zt,Tt;const _t=Symbol("internalReduxEventsUnsubscribers"),Ht=Symbol("internalStoresUnsubscribers"),Gt=Symbol("internalStores");class qt extends Ft{constructor(){super(...arguments),this[zt]=new Map,this[Zt]=new Map,this[Tt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Gt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Gt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Gt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Mt(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Gt].delete(o)}setupStore(t,o){this[Gt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Gt].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Ht].has(t.store):this[Ht].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Ht].set(t,o.subscribe((()=>this.updateFromStores()))),Mt(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[_t].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ht].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[_t].forEach((t=>t())),this[_t]=[]}unsubscribeFromStore(t){this[Ht].has(t)&&this[Ht].get(t)(),this[Ht].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Vt(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(t){return!!t&&!!t[Ko]}function Xt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Do}(t)||Array.isArray(t)||!!t[Fo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Fo])||ro(t)||io(t))}function Jt(t,o,e){void 0===e&&(e=!1),0===Qt(t)?(e?Object.keys:Bo)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Qt(t){var o=t[Ko];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,o){return 2===Qt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function oo(t,o,e){var r=Qt(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function eo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function ro(t){return Lo&&t instanceof Map}function io(t){return Wo&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Po(t);delete o[Ko];for(var e=Bo(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function so(t,o){return void 0===o&&(o=!1),co(t)||Yt(t)||!Xt(t)||(Qt(t)>1&&(t.set=t.add=t.clear=t.delete=lo),Object.freeze(t),o&&Jt(t,(function(t,o){return so(o,!0)}),!0)),t}function lo(){Vt(2)}function co(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var o=Mo[t];return o||Vt(18,t),o}function po(){return Io}function uo(t,o){o&&(fo("Patches"),t.u=[],t.s=[],t.v=o)}function ho(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===Io&&(Io=t.l)}function go(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function bo(t){var o=t[Ko];0===o.i||1===o.i?o.j():o.g=!0}function mo(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||fo("ES5").S(o,t,r),r?(e[Ko].P&&(ho(o),Vt(4)),Xt(t)&&(t=vo(o,t),o.l||Oo(o,t)),o.u&&fo("Patches").M(e[Ko].t,t,o.u,o.s)):t=vo(o,e,[]),ho(o),o.u&&o.v(o.u,o.s),t!==jo?t:void 0}function vo(t,o,e){if(co(o))return o;var r=o[Ko];if(!r)return Jt(o,(function(i,n){return xo(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Oo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Jt(n,(function(o,n){return xo(t,r,i,o,n,e,a)})),Oo(t,i,!1),e&&t.u&&fo("Patches").N(r,e,t.u,t.s)}return r.o}function xo(t,o,e,r,i,n,a){if(Yt(i)){var s=vo(t,i,n&&o&&3!==o.i&&!to(o.R,r)?n.concat(r):void 0);if(oo(e,r,s),!Yt(s))return;t.m=!1}else a&&e.add(i);if(Xt(i)&&!co(i)){if(!t.h.D&&t._<1)return;vo(t,i),o&&o.A.l||Oo(t,i)}}function Oo(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&so(o,e)}function wo(t,o){var e=t[Ko];return(e?no(e):t)[o]}function So(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function No(t){t.P||(t.P=!0,t.l&&No(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,o,e){var r=ro(o)?fo("MapSet").F(o,e):io(o)?fo("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:po(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=zo;e&&(i=[r],n=Zo);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):fo("ES5").J(o,e);return(e?e.A:po()).p.push(r),r}function Ro(t){return Yt(t)||Vt(22,t),function t(o){if(!Xt(o))return o;var e,r=o[Ko],i=Qt(o);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,e=$o(o,i),r.I=!1}else e=$o(o,i);return Jt(e,(function(o,i){r&&function(t,o){return 2===Qt(t)?t.get(o):t[o]}(r.t,o)===i||oo(e,o,t(i))})),3===i?new Set(e):e}(t)}function $o(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}zt=Ht,Zt=Gt,Tt=_t;var Uo,Io,ko="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Wo="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,jo=ko?Symbol.for("immer-nothing"):((Uo={})["immer-nothing"]=!0,Uo),Fo=ko?Symbol.for("immer-draftable"):"__$immer_draftable",Ko=ko?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,Po=Object.getOwnPropertyDescriptors||function(t){var o={};return Bo(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Mo={},zo={get:function(t,o){if(o===Ko)return t;var e=no(t);if(!to(e,o))return function(t,o,e){var r,i=So(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Xt(r)?r:r===wo(t.t,o)?(Co(t),t.o[o]=Eo(t.A.h,r,t)):r},has:function(t,o){return o in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,o,e){var r=So(no(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=wo(no(t),o),n=null==i?void 0:i[Ko];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(eo(e,i)&&(void 0!==e||to(t.t,o)))return!0;Co(t),No(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==wo(t.t,o)||o in t.t?(t.R[o]=!1,Co(t),No(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=no(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Vt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vt(12)}},Zo={};Jt(zo,(function(t,o){Zo[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Zo.deleteProperty=function(t,o){return Zo.set.call(this,t,o,void 0)},Zo.set=function(t,o,e){return zo.set.call(this,t[0],o,e,t[0])};var To=function(){function t(t){var o=this;this.O=Ao,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=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=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Vt(6),void 0!==r&&"function"!=typeof r&&Vt(7),Xt(t)){var s=go(o),l=Eo(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?ho(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return uo(s,r),mo(t,s)}),(function(t){throw ho(s),t})):(uo(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===jo&&(a=void 0),o.D&&so(a,!0),r){var f=[],p=[];fo("Patches").M(t,a,f,p),r(f,p)}return a}Vt(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));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 o=t.prototype;return o.createDraft=function(t){Xt(t)||Vt(8),Yt(t)&&(t=Ro(t));var o=go(this),e=Eo(this,t,void 0);return e[Ko].C=!0,yo(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ko]).A;return uo(e,o),mo(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ao&&Vt(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=fo("Patches").$;return Yt(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),_o=new To,Ho=_o.produce;function Go(t){return Go="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},Go(t)}function qo(t){var o=function(t,o){if("object"!==Go(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Go(o)?o:String(o)}function Vo(t,o,e){return(o=qo(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Yo(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Xo(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Yo(Object(e),!0).forEach((function(o){Vo(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yo(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Jo(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. "}_o.produceWithPatches.bind(_o),_o.setAutoFreeze.bind(_o),_o.setUseProxies.bind(_o),_o.applyPatches.bind(_o),_o.createDraft.bind(_o),_o.finishDraft.bind(_o);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",te=function(){return Math.random().toString(36).substring(7).split("").join(".")},oe={INIT:"@@redux/INIT"+te(),REPLACE:"@@redux/REPLACE"+te(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+te()}};function ee(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Jo(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Jo(1));return e(ee)(t,o)}if("function"!=typeof t)throw new Error(Jo(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(Jo(3));return n}function p(t){if("function"!=typeof t)throw new Error(Jo(4));if(l)throw new Error(Jo(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(Jo(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Jo(7));if(void 0===t.type)throw new Error(Jo(8));if(l)throw new Error(Jo(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:oe.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Jo(10));i=t,u({type:oe.REPLACE})}})[Qo]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Jo(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Qo]=function(){return this},t},r}function re(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:oe.INIT}))throw new Error(Jo(12));if(void 0===e(void 0,{type:oe.PROBE_UNKNOWN_ACTION()}))throw new Error(Jo(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(Jo(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ie(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ne(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Jo(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ie.apply(void 0,n)(e.dispatch),Xo(Xo({},e),{},{dispatch:r})}}}function ae(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var se=ae();se.withExtraArgument=ae;var le,ce=se,fe=(le=function(t,o){return le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},le(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}le(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),pe=function(t,o){var e,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(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=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=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ue=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},de=Object.defineProperty,he=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=function(t,o,e){return o in t?de(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},xe=function(t,o){for(var e in o||(o={}))be.call(o,e)&&ve(t,e,o[e]);if(ge)for(var r=0,i=ge(o);r<i.length;r++){e=i[r];me.call(o,e)&&ve(t,e,o[e])}return t},Oe=function(t,o){return he(t,ye(o))},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ie:ie.apply(null,arguments)};var Se=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array),Ne=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array);function Ce(t){return Xt(t)?Ho(t,(function(){})):t}function Ee(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Se;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ce.withExtraArgument(e.extraArgument)):r.push(ce));return r}(t)}}function Re(t){var o,e=Ee(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(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');o=re(n)}var h=s;"function"==typeof h&&(h=h(e));var y=ne.apply(void 0,h),g=ie;c&&(g=we(xe({trace:!1},"object"==typeof c&&c)));var b=new Ne(y),m=b;return Array.isArray(d)?m=ue([y],d):"function"==typeof d&&(m=d(b)),ee(o,p,g.apply(void 0,m))}function $e(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return xe(xe({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ue(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ie(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ce(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Ue(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=xe(xe({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ue(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ce(t())};else{var c=Ce(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=ue([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(Yt(t))return void 0===(r=e(t,o))?t:r;if(Xt(t))return Ho(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){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 o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?$e(c,r):$e(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var ke=["name","message","stack","code"],Le=function(t,o){this.payload=t,this.meta=o},We=function(t,o){this.payload=t,this.meta=o},Ae=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=ke;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function je(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=$e(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Oe(xe({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=$e(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Oe(xe({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=$e(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ae)(t||"Rejected"),meta:Oe(xe({},n||{}),{arg:r,requestId:o,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,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function d(t){f=t,u.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return pe(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.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,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Le(t,o)},fulfillWithValue:function(t,o){return new We(t,o)}})).then((function(o){if(o instanceof Le)throw o;return o instanceof We?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Le?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:d,requestId:p,arg:t,unwrap:function(){return h.then(je)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Fe="listenerMiddleware";$e(Fe+"/add"),$e(Fe+"/removeAll"),$e(Fe+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Ko];return zo.get(o,t)},set:function(o){var e=this[Ko];zo.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Ko];if(!i.P)switch(i.i){case 5:r(i)&&No(i);break;case 4:e(i)&&No(i)}}}function e(t){for(var o=t.t,e=t.k,r=Bo(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Ko){var a=o[n];if(void 0===a&&!to(o,n))return!0;var s=e[n],l=s&&s[Ko];if(l?l.t!==a:!eo(s,a))return!0}}var c=!!o[Ko];return r.length!==Bo(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Mo[t]||(Mo[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Po(e);delete n[Ko];for(var a=Bo(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:po(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Ko,{value:n,writable:!0}),i},S:function(t,e,i){i?Yt(e)&&e[Ko].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ko];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)Jt(n,(function(o){o!==Ko&&(void 0!==i[o]||to(i,o)?a[o]||t(n[o]):(a[o]=!0,No(e)))})),Jt(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,No(e))}));else if(5===s){if(r(e)&&(No(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ke{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Mt(i))return i;if(null==r)return;const n=Ie({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Re({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ke(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}: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 De=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!u(t,o),attribute:!1,...o};a(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},Be=Symbol("elementInternals");var Pe,Me,ze;const Ze=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ze=null===(Me=null===(Pe=window.safari)||void 0===Pe?void 0:Pe.pushNotification)||void 0===Me?void 0:Me.toString())&&void 0!==ze?ze:""),Te=St.extend("--ft-ripple-color","",Ut.colorContent),_e={color:Te,backgroundColor:St.extend("--ft-ripple-background-color","",Te),opacityContentOnSurfacePressed:St.external(Ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:St.external(Ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:St.external(Ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:St.external(Ut.opacityContentOnSurfaceSelected,"Design system"),borderRadius:St.create("--ft-ripple-border-radius","","SIZE","0px")},He=St.extend("--ft-ripple-color","",Ut.colorPrimary),Ge=He,qe=St.extend("--ft-ripple-background-color","",He),Ve=St.extend("--ft-ripple-color","",Ut.colorSecondary),Ye=Ve,Xe=St.extend("--ft-ripple-background-color","",Ve),Je=O`
|
|
121
|
+
`;class Ze{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()}}}function _e(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var He,Ge,qe;const Ve=Symbol("internalReduxEventsUnsubscribers"),Ye=Symbol("internalStoresUnsubscribers"),Xe=Symbol("internalStores");class Je extends Me{constructor(){super(...arguments),this[He]=new Map,this[Ge]=new Map,this[qe]=[]}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[Xe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Xe].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:_e(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[Xe].delete(e)}setupStore(t,e){this[Xe].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xe].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[Ye].has(t.store):this[Ye].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Ye].set(t,e.subscribe((()=>this.updateFromStores()))),_e(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[Ye].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ve].forEach((t=>t())),this[Ve]=[]}unsubscribeFromStore(t){this[Ye].has(t)&&this[Ye].get(t)(),this[Ye].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qe(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 to(t){return!!t&&!!t[Bo]}function eo(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)===zo}(t)||Array.isArray(t)||!!t[Mo]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Mo])||so(t)||co(t))}function oo(t,e,o){void 0===o&&(o=!1),0===ro(t)?(o?Object.keys:To)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function ro(t){var e=t[Bo];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:so(t)?2:co(t)?3:0}function io(t,e){return 2===ro(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function no(t,e,o){var r=ro(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function ao(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function so(t){return Fo&&t instanceof Map}function co(t){return Ko&&t instanceof Set}function lo(t){return t.o||t.t}function fo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zo(t);delete e[Bo];for(var o=To(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 po(t,e){return void 0===e&&(e=!1),uo(t)||to(t)||!eo(t)||(ro(t)>1&&(t.set=t.add=t.clear=t.delete=ho),Object.freeze(t),e&&oo(t,(function(t,e){return po(e,!0)}),!0)),t}function ho(){Qe(2)}function uo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function yo(t){var e=_o[t];return e||Qe(18,t),e}function go(){return Ao}function bo(t,e){e&&(yo("Patches"),t.u=[],t.s=[],t.v=e)}function mo(t){vo(t),t.p.forEach(Oo),t.p=null}function vo(t){t===Ao&&(Ao=t.l)}function xo(t){return Ao={p:[],l:Ao,h:t,m:!0,_:0}}function Oo(t){var e=t[Bo];0===e.i||1===e.i?e.j():e.g=!0}function wo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||yo("ES5").S(e,t,r),r?(o[Bo].P&&(mo(e),Qe(4)),eo(t)&&(t=So(e,t),e.l||Co(e,t)),e.u&&yo("Patches").M(o[Bo].t,t,e.u,e.s)):t=So(e,o,[]),mo(e),e.u&&e.v(e.u,e.s),t!==Do?t:void 0}function So(t,e,o){if(uo(e))return e;var r=e[Bo];if(!r)return oo(e,(function(i,n){return No(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Co(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=fo(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),oo(n,(function(e,n){return No(t,r,i,e,n,o,a)})),Co(t,i,!1),o&&t.u&&yo("Patches").N(r,o,t.u,t.s)}return r.o}function No(t,e,o,r,i,n,a){if(to(i)){var s=So(t,i,n&&e&&3!==e.i&&!io(e.R,r)?n.concat(r):void 0);if(no(o,r,s),!to(s))return;t.m=!1}else a&&o.add(i);if(eo(i)&&!uo(i)){if(!t.h.D&&t._<1)return;So(t,i),e&&e.A.l||Co(t,i)}}function Co(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&po(e,o)}function Eo(t,e){var o=t[Bo];return(o?lo(o):t)[e]}function $o(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 Uo(t){t.o||(t.o=fo(t.t))}function Io(t,e,o){var r=so(e)?yo("MapSet").F(e,o):co(e)?yo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:go(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Ho;o&&(i=[r],n=Go);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):yo("ES5").J(e,o);return(o?o.A:go()).p.push(r),r}function ko(t){return to(t)||Qe(22,t),function t(e){if(!eo(e))return e;var o,r=e[Bo],i=ro(e);if(r){if(!r.P&&(r.i<4||!yo("ES5").K(r)))return r.t;r.I=!0,o=Lo(e,i),r.I=!1}else o=Lo(e,i);return oo(o,(function(e,i){r&&function(t,e){return 2===ro(t)?t.get(e):t[e]}(r.t,e)===i||no(o,e,t(i))})),3===i?new Set(o):o}(t)}function Lo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return fo(t)}He=Ye,Ge=Xe,qe=Ve;var Wo,Ao,jo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Fo="undefined"!=typeof Map,Ko="undefined"!=typeof Set,Po="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Do=jo?Symbol.for("immer-nothing"):((Wo={})["immer-nothing"]=!0,Wo),Mo=jo?Symbol.for("immer-draftable"):"__$immer_draftable",Bo=jo?Symbol.for("immer-state"):"__$immer_state",zo=""+Object.prototype.constructor,To="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 To(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},_o={},Ho={get:function(t,e){if(e===Bo)return t;var o=lo(t);if(!io(o,e))return function(t,e,o){var r,i=$o(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||!eo(r)?r:r===Eo(t.t,e)?(Uo(t),t.o[e]=Io(t.A.h,r,t)):r},has:function(t,e){return e in lo(t)},ownKeys:function(t){return Reflect.ownKeys(lo(t))},set:function(t,e,o){var r=$o(lo(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Eo(lo(t),e),n=null==i?void 0:i[Bo];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ao(o,i)&&(void 0!==o||io(t.t,e)))return!0;Uo(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!==Eo(t.t,e)||e in t.t?(t.R[e]=!1,Uo(t),Ro(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=lo(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(){Qe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qe(12)}},Go={};oo(Ho,(function(t,e){Go[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Go.deleteProperty=function(t,e){return Go.set.call(this,t,e,void 0)},Go.set=function(t,e,o){return Ho.set.call(this,t[0],e,o,t[0])};var qo=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&&Qe(6),void 0!==r&&"function"!=typeof r&&Qe(7),eo(t)){var s=xo(e),c=Io(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?mo(s):vo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return bo(s,r),wo(t,s)}),(function(t){throw mo(s),t})):(bo(s,r),wo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Do&&(a=void 0),e.D&&po(a,!0),r){var f=[],p=[];yo("Patches").M(t,a,f,p),r(f,p)}return a}Qe(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){eo(t)||Qe(8),to(t)&&(t=ko(t));var e=xo(this),o=Io(this,t,void 0);return o[Bo].C=!0,vo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Bo]).A;return bo(o,e),wo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Po&&Qe(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=yo("Patches").$;return to(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Vo=new qo,Yo=Vo.produce;function Xo(t){return Xo="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},Xo(t)}function Jo(t){var e=function(t,e){if("object"!==Xo(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Xo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Xo(e)?e:String(e)}function Qo(t,e,o){return(e=Jo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function tr(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 er(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(o),!0).forEach((function(e){Qo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):tr(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function or(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 rr="function"==typeof Symbol&&Symbol.observable||"@@observable",ir=function(){return Math.random().toString(36).substring(7).split("").join(".")},nr={INIT:"@@redux/INIT"+ir(),REPLACE:"@@redux/REPLACE"+ir(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ir()}};function ar(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(or(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(or(1));return o(ar)(t,e)}if("function"!=typeof t)throw new Error(or(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(or(3));return n}function p(t){if("function"!=typeof t)throw new Error(or(4));if(c)throw new Error(or(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(or(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(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(or(7));if(void 0===t.type)throw new Error(or(8));if(c)throw new Error(or(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 h({type:nr.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(or(10));i=t,h({type:nr.REPLACE})}})[rr]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(or(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[rr]=function(){return this},t},r}function sr(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:nr.INIT}))throw new Error(or(12));if(void 0===o(void 0,{type:nr.PROBE_UNKNOWN_ACTION()}))throw new Error(or(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],p=l(f,e);if(void 0===p)throw e&&e.type,new Error(or(14));i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function cr(){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 lr(){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(or(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=cr.apply(void 0,n)(o.dispatch),er(er({},o),{},{dispatch:r})}}}function fr(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 pr=fr();pr.withExtraArgument=fr;var hr,ur=pr,dr=(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)}),yr=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])}}},gr=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},br=Object.defineProperty,mr=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,Sr=function(t,e,o){return e in t?br(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Nr=function(t,e){for(var o in e||(e={}))Or.call(e,o)&&Sr(t,o,e[o]);if(xr)for(var r=0,i=xr(e);r<i.length;r++){o=i[r];wr.call(e,o)&&Sr(t,o,e[o])}return t},Cr=function(t,e){return mr(t,vr(e))},Er="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?cr:cr.apply(null,arguments)};var $r=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 dr(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,gr([void 0],t[0].concat(this)))):new(e.bind.apply(e,gr([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 dr(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,gr([void 0],t[0].concat(this)))):new(e.bind.apply(e,gr([void 0],t.concat(this))))},e}(Array);function Ur(t){return eo(t)?Yo(t,(function(){})):t}function Ir(){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 $r;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ur.withExtraArgument(o.extraArgument)):r.push(ur));return r}(t)}}function kr(t){var e,o=Ir(),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,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;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=sr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=lr.apply(void 0,d),g=cr;l&&(g=Er(Nr({trace:!1},"object"==typeof l&&l)));var b=new Rr(y),m=b;return Array.isArray(u)?m=gr([y],u):"function"==typeof u&&(m=u(b)),ar(e,p,g.apply(void 0,m))}function Lr(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 Nr(Nr({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 Wr(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:Ur(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Wr(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=Nr(Nr({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Wr(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ur(t())};else{var l=Ur(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=gr([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(to(t))return void 0===(r=o(t,e))?t:r;if(eo(t))return Yo(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?Lr(l,r):Lr(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 jr=["name","message","stack","code"],Fr=function(t,e){this.payload=t,this.meta=e},Kr=function(t,e){this.payload=t,this.meta=e},Pr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=jr;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Dr(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=Lr(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Cr(Nr({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Lr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Cr(Nr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Lr(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Pr)(t||"Rejected"),meta:Cr(Nr({},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,p=(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}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return yr(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===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,e){return new Fr(t,e)},fulfillWithValue:function(t,e){return new Kr(t,e)}})).then((function(e){if(e instanceof Fr)throw e;return e instanceof Kr?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Fr?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},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:u,requestId:p,arg:t,unwrap:function(){return d.then(Dr)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Mr="listenerMiddleware";Lr(Mr+"/add"),Lr(Mr+"/removeAll"),Lr(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[Bo];return Ho.get(e,t)},set:function(e){var o=this[Bo];Ho.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Bo];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=To(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Bo){var a=e[n];if(void 0===a&&!io(e,n))return!0;var s=o[n],c=s&&s[Bo];if(c?c.t!==a:!ao(s,a))return!0}}var l=!!e[Bo];return r.length!==To(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){_o[t]||(_o[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[Bo];for(var a=To(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:go(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Bo,{value:n,writable:!0}),i},S:function(t,o,i){i?to(o)&&o[Bo].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Bo];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)oo(n,(function(e){e!==Bo&&(void 0!==i[e]||io(i,e)?a[e]||t(n[e]):(a[e]=!0,Ro(o)))})),oo(i,(function(t){void 0!==n[t]||io(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),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Br{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(_e(i))return i;if(null==r)return;const n=Ar({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=kr({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 Br(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),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 zr=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})}},Tr=Symbol("elementInternals");var Zr,_r,Hr;const Gr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Hr=null===(_r=null===(Zr=window.safari)||void 0===Zr?void 0:Zr.pushNotification)||void 0===_r?void 0:_r.toString())&&void 0!==Hr?Hr:""),qr=Ce.extend("--ft-ripple-color","",ke.colorContent),Vr={color:qr,backgroundColor:Ce.extend("--ft-ripple-background-color","",qr),opacityContentOnSurfacePressed:Ce.external(ke.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ce.external(ke.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ce.external(ke.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ce.external(ke.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ce.create("--ft-ripple-border-radius","","SIZE","0px")},Yr=Ce.extend("--ft-ripple-color","",ke.colorPrimary),Xr=Yr,Jr=Ce.extend("--ft-ripple-background-color","",Yr),Qr=Ce.extend("--ft-ripple-color","",ke.colorSecondary),ti=Qr,ei=Ce.extend("--ft-ripple-background-color","",Qr),oi=Ct`
|
|
102
122
|
:host {
|
|
103
123
|
display: contents;
|
|
104
124
|
}
|
|
@@ -111,7 +131,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
111
131
|
|
|
112
132
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
113
133
|
overflow: hidden;
|
|
114
|
-
border-radius: ${
|
|
134
|
+
border-radius: ${Vr.borderRadius};
|
|
115
135
|
}
|
|
116
136
|
|
|
117
137
|
.ft-ripple .ft-ripple--background,
|
|
@@ -145,27 +165,27 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
145
165
|
}
|
|
146
166
|
|
|
147
167
|
.ft-ripple .ft-ripple--background {
|
|
148
|
-
background-color: ${
|
|
168
|
+
background-color: ${Vr.backgroundColor};
|
|
149
169
|
}
|
|
150
170
|
|
|
151
171
|
.ft-ripple .ft-ripple--effect {
|
|
152
|
-
background-color: ${
|
|
172
|
+
background-color: ${Vr.color};
|
|
153
173
|
}
|
|
154
174
|
|
|
155
175
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
156
|
-
background-color: ${
|
|
176
|
+
background-color: ${ei};
|
|
157
177
|
}
|
|
158
178
|
|
|
159
179
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
160
|
-
background-color: ${
|
|
180
|
+
background-color: ${ti};
|
|
161
181
|
}
|
|
162
182
|
|
|
163
183
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
164
|
-
background-color: ${
|
|
184
|
+
background-color: ${Jr};
|
|
165
185
|
}
|
|
166
186
|
|
|
167
187
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
168
|
-
background-color: ${
|
|
188
|
+
background-color: ${Xr};
|
|
169
189
|
}
|
|
170
190
|
|
|
171
191
|
.ft-ripple .ft-ripple--background {
|
|
@@ -195,126 +215,126 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
195
215
|
}
|
|
196
216
|
|
|
197
217
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
198
|
-
opacity: ${
|
|
218
|
+
opacity: ${Vr.opacityContentOnSurfaceHover};
|
|
199
219
|
}
|
|
200
220
|
|
|
201
221
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
202
|
-
opacity: ${
|
|
222
|
+
opacity: ${Vr.opacityContentOnSurfaceSelected};
|
|
203
223
|
}
|
|
204
224
|
|
|
205
225
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
206
|
-
opacity: ${
|
|
226
|
+
opacity: ${Vr.opacityContentOnSurfaceFocused};
|
|
207
227
|
}
|
|
208
228
|
|
|
209
229
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
210
|
-
opacity: ${
|
|
230
|
+
opacity: ${Vr.opacityContentOnSurfacePressed};
|
|
211
231
|
transform: translate(-50%, -50%) scale(1);
|
|
212
232
|
}
|
|
213
|
-
`;const
|
|
233
|
+
`;const ri=Ce.extend("--ft-typography-font-family","",ke.titleFont),ii=Ce.extend("--ft-typography-font-family","",ke.contentFont),ni={fontFamily:ii,fontSize:Ce.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ce.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ce.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ce.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ce.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ai=Ce.extend("--ft-typography-title-font-family","",ri),si=Ce.extend("--ft-typography-title-font-size","",ni.fontSize,"20px"),ci=Ce.extend("--ft-typography-title-font-weight","",ni.fontWeight,"normal"),li=Ce.extend("--ft-typography-title-letter-spacing","",ni.letterSpacing,"0.15px"),fi=Ce.extend("--ft-typography-title-line-height","",ni.lineHeight,"1.2"),pi=Ce.extend("--ft-typography-title-text-transform","",ni.textTransform,"inherit"),hi=Ce.extend("--ft-typography-title-dense-font-family","",ri),ui=Ce.extend("--ft-typography-title-dense-font-size","",ni.fontSize,"14px"),di=Ce.extend("--ft-typography-title-dense-font-weight","",ni.fontWeight,"normal"),yi=Ce.extend("--ft-typography-title-dense-letter-spacing","",ni.letterSpacing,"0.105px"),gi=Ce.extend("--ft-typography-title-dense-line-height","",ni.lineHeight,"1.7"),bi=Ce.extend("--ft-typography-title-dense-text-transform","",ni.textTransform,"inherit"),mi=Ce.extend("--ft-typography-subtitle1-font-family","",ii),vi=Ce.extend("--ft-typography-subtitle1-font-size","",ni.fontSize,"16px"),xi=Ce.extend("--ft-typography-subtitle1-font-weight","",ni.fontWeight,"600"),Oi=Ce.extend("--ft-typography-subtitle1-letter-spacing","",ni.letterSpacing,"0.144px"),wi=Ce.extend("--ft-typography-subtitle1-line-height","",ni.lineHeight,"1.5"),Si=Ce.extend("--ft-typography-subtitle1-text-transform","",ni.textTransform,"inherit"),Ni=Ce.extend("--ft-typography-subtitle2-font-family","",ii),Ci=Ce.extend("--ft-typography-subtitle2-font-size","",ni.fontSize,"14px"),Ei=Ce.extend("--ft-typography-subtitle2-font-weight","",ni.fontWeight,"normal"),$i=Ce.extend("--ft-typography-subtitle2-letter-spacing","",ni.letterSpacing,"0.098px"),Ri=Ce.extend("--ft-typography-subtitle2-line-height","",ni.lineHeight,"1.7"),Ui=Ce.extend("--ft-typography-subtitle2-text-transform","",ni.textTransform,"inherit"),Ii=Ce.extend("--ft-typography-body1-font-family","",ii),ki=Ce.extend("--ft-typography-body1-font-size","",ni.fontSize,"16px"),Li=Ce.extend("--ft-typography-body1-font-weight","",ni.fontWeight,"normal"),Wi=Ce.extend("--ft-typography-body1-letter-spacing","",ni.letterSpacing,"0.496px"),Ai=Ce.extend("--ft-typography-body1-line-height","",ni.lineHeight,"1.5"),ji=Ce.extend("--ft-typography-body1-text-transform","",ni.textTransform,"inherit"),Fi=Ce.extend("--ft-typography-body2-font-family","",ii),Ki=Ce.extend("--ft-typography-body2-font-size","",ni.fontSize,"14px"),Pi=Ce.extend("--ft-typography-body2-font-weight","",ni.fontWeight,"normal"),Di=Ce.extend("--ft-typography-body2-letter-spacing","",ni.letterSpacing,"0.252px"),Mi=Ce.extend("--ft-typography-body2-line-height","",ni.lineHeight,"1.4"),Bi=Ce.extend("--ft-typography-body2-text-transform","",ni.textTransform,"inherit"),zi=Ce.extend("--ft-typography-caption-font-family","",ii),Ti=Ce.extend("--ft-typography-caption-font-size","",ni.fontSize,"12px"),Zi=Ce.extend("--ft-typography-caption-font-weight","",ni.fontWeight,"normal"),_i=Ce.extend("--ft-typography-caption-letter-spacing","",ni.letterSpacing,"0.396px"),Hi=Ce.extend("--ft-typography-caption-line-height","",ni.lineHeight,"1.33"),Gi=Ce.extend("--ft-typography-caption-text-transform","",ni.textTransform,"inherit"),qi=Ce.extend("--ft-typography-breadcrumb-font-family","",ii),Vi=Ce.extend("--ft-typography-breadcrumb-font-size","",ni.fontSize,"10px"),Yi=Ce.extend("--ft-typography-breadcrumb-font-weight","",ni.fontWeight,"normal"),Xi=Ce.extend("--ft-typography-breadcrumb-letter-spacing","",ni.letterSpacing,"0.33px"),Ji=Ce.extend("--ft-typography-breadcrumb-line-height","",ni.lineHeight,"1.6"),Qi=Ce.extend("--ft-typography-breadcrumb-text-transform","",ni.textTransform,"inherit"),tn=Ce.extend("--ft-typography-overline-font-family","",ii),en=Ce.extend("--ft-typography-overline-font-size","",ni.fontSize,"10px"),on=Ce.extend("--ft-typography-overline-font-weight","",ni.fontWeight,"normal"),rn=Ce.extend("--ft-typography-overline-letter-spacing","",ni.letterSpacing,"1.5px"),nn=Ce.extend("--ft-typography-overline-line-height","",ni.lineHeight,"1.6"),an=Ce.extend("--ft-typography-overline-text-transform","",ni.textTransform,"uppercase"),sn={fontFamily:Ce.extend("--ft-typography-button-font-family","",ii),fontSize:Ce.extend("--ft-typography-button-font-size","",ni.fontSize,"14px"),fontWeight:Ce.extend("--ft-typography-button-font-weight","",ni.fontWeight,"600"),letterSpacing:Ce.extend("--ft-typography-button-letter-spacing","",ni.letterSpacing,"1.246px"),lineHeight:Ce.extend("--ft-typography-button-line-height","",ni.lineHeight,"1.15"),textTransform:Ce.extend("--ft-typography-button-text-transform","",ni.textTransform,"uppercase")},cn=Ct`
|
|
214
234
|
.ft-typography--title {
|
|
215
|
-
font-family: ${
|
|
216
|
-
font-size: ${
|
|
217
|
-
font-weight: ${
|
|
218
|
-
letter-spacing: ${
|
|
219
|
-
line-height: ${
|
|
220
|
-
text-transform: ${
|
|
221
|
-
}
|
|
222
|
-
`,
|
|
235
|
+
font-family: ${ai};
|
|
236
|
+
font-size: ${si};
|
|
237
|
+
font-weight: ${ci};
|
|
238
|
+
letter-spacing: ${li};
|
|
239
|
+
line-height: ${fi};
|
|
240
|
+
text-transform: ${pi};
|
|
241
|
+
}
|
|
242
|
+
`,ln=Ct`
|
|
223
243
|
.ft-typography--title-dense {
|
|
224
|
-
font-family: ${
|
|
225
|
-
font-size: ${
|
|
226
|
-
font-weight: ${
|
|
227
|
-
letter-spacing: ${
|
|
228
|
-
line-height: ${
|
|
229
|
-
text-transform: ${
|
|
230
|
-
}
|
|
231
|
-
`,
|
|
244
|
+
font-family: ${hi};
|
|
245
|
+
font-size: ${ui};
|
|
246
|
+
font-weight: ${di};
|
|
247
|
+
letter-spacing: ${yi};
|
|
248
|
+
line-height: ${gi};
|
|
249
|
+
text-transform: ${bi};
|
|
250
|
+
}
|
|
251
|
+
`,fn=Ct`
|
|
232
252
|
.ft-typography--subtitle1 {
|
|
233
|
-
font-family: ${
|
|
234
|
-
font-size: ${
|
|
235
|
-
font-weight: ${
|
|
236
|
-
letter-spacing: ${
|
|
237
|
-
line-height: ${
|
|
238
|
-
text-transform: ${
|
|
239
|
-
}
|
|
240
|
-
`,
|
|
253
|
+
font-family: ${mi};
|
|
254
|
+
font-size: ${vi};
|
|
255
|
+
font-weight: ${xi};
|
|
256
|
+
letter-spacing: ${Oi};
|
|
257
|
+
line-height: ${wi};
|
|
258
|
+
text-transform: ${Si};
|
|
259
|
+
}
|
|
260
|
+
`,pn=Ct`
|
|
241
261
|
.ft-typography--subtitle2 {
|
|
242
|
-
font-family: ${
|
|
243
|
-
font-size: ${
|
|
244
|
-
font-weight: ${
|
|
245
|
-
letter-spacing: ${
|
|
246
|
-
line-height: ${
|
|
247
|
-
text-transform: ${
|
|
262
|
+
font-family: ${Ni};
|
|
263
|
+
font-size: ${Ci};
|
|
264
|
+
font-weight: ${Ei};
|
|
265
|
+
letter-spacing: ${$i};
|
|
266
|
+
line-height: ${Ri};
|
|
267
|
+
text-transform: ${Ui};
|
|
248
268
|
}
|
|
249
269
|
|
|
250
|
-
`,
|
|
270
|
+
`,hn=Ct`
|
|
251
271
|
.ft-typography--body1 {
|
|
252
|
-
font-family: ${
|
|
253
|
-
font-size: ${
|
|
254
|
-
font-weight: ${
|
|
255
|
-
letter-spacing: ${
|
|
256
|
-
line-height: ${
|
|
257
|
-
text-transform: ${
|
|
258
|
-
}
|
|
259
|
-
`,
|
|
272
|
+
font-family: ${Ii};
|
|
273
|
+
font-size: ${ki};
|
|
274
|
+
font-weight: ${Li};
|
|
275
|
+
letter-spacing: ${Wi};
|
|
276
|
+
line-height: ${Ai};
|
|
277
|
+
text-transform: ${ji};
|
|
278
|
+
}
|
|
279
|
+
`,un=Ct`
|
|
260
280
|
.ft-typography--body2 {
|
|
261
|
-
font-family: ${
|
|
262
|
-
font-size: ${
|
|
263
|
-
font-weight: ${
|
|
264
|
-
letter-spacing: ${
|
|
265
|
-
line-height: ${
|
|
266
|
-
text-transform: ${
|
|
267
|
-
}
|
|
268
|
-
`,
|
|
281
|
+
font-family: ${Fi};
|
|
282
|
+
font-size: ${Ki};
|
|
283
|
+
font-weight: ${Pi};
|
|
284
|
+
letter-spacing: ${Di};
|
|
285
|
+
line-height: ${Mi};
|
|
286
|
+
text-transform: ${Bi};
|
|
287
|
+
}
|
|
288
|
+
`,dn=Ct`
|
|
269
289
|
.ft-typography--caption {
|
|
270
|
-
font-family: ${
|
|
271
|
-
font-size: ${
|
|
272
|
-
font-weight: ${
|
|
273
|
-
letter-spacing: ${
|
|
274
|
-
line-height: ${
|
|
275
|
-
text-transform: ${
|
|
276
|
-
}
|
|
277
|
-
`,
|
|
290
|
+
font-family: ${zi};
|
|
291
|
+
font-size: ${Ti};
|
|
292
|
+
font-weight: ${Zi};
|
|
293
|
+
letter-spacing: ${_i};
|
|
294
|
+
line-height: ${Hi};
|
|
295
|
+
text-transform: ${Gi};
|
|
296
|
+
}
|
|
297
|
+
`,yn=Ct`
|
|
278
298
|
.ft-typography--breadcrumb {
|
|
279
|
-
font-family: ${
|
|
280
|
-
font-size: ${
|
|
281
|
-
font-weight: ${
|
|
282
|
-
letter-spacing: ${
|
|
283
|
-
line-height: ${
|
|
284
|
-
text-transform: ${
|
|
285
|
-
}
|
|
286
|
-
`,
|
|
299
|
+
font-family: ${qi};
|
|
300
|
+
font-size: ${Vi};
|
|
301
|
+
font-weight: ${Yi};
|
|
302
|
+
letter-spacing: ${Xi};
|
|
303
|
+
line-height: ${Ji};
|
|
304
|
+
text-transform: ${Qi};
|
|
305
|
+
}
|
|
306
|
+
`,gn=Ct`
|
|
287
307
|
.ft-typography--overline {
|
|
288
|
-
font-family: ${
|
|
289
|
-
font-size: ${
|
|
290
|
-
font-weight: ${
|
|
291
|
-
letter-spacing: ${
|
|
292
|
-
line-height: ${
|
|
293
|
-
text-transform: ${
|
|
294
|
-
}
|
|
295
|
-
`,
|
|
308
|
+
font-family: ${tn};
|
|
309
|
+
font-size: ${en};
|
|
310
|
+
font-weight: ${on};
|
|
311
|
+
letter-spacing: ${rn};
|
|
312
|
+
line-height: ${nn};
|
|
313
|
+
text-transform: ${an};
|
|
314
|
+
}
|
|
315
|
+
`,bn=Ct`
|
|
296
316
|
.ft-typography--button {
|
|
297
|
-
font-family: ${
|
|
298
|
-
font-size: ${
|
|
299
|
-
font-weight: ${
|
|
300
|
-
letter-spacing: ${
|
|
301
|
-
line-height: ${
|
|
302
|
-
text-transform: ${
|
|
303
|
-
}
|
|
304
|
-
`,
|
|
317
|
+
font-family: ${sn.fontFamily};
|
|
318
|
+
font-size: ${sn.fontSize};
|
|
319
|
+
font-weight: ${sn.fontWeight};
|
|
320
|
+
letter-spacing: ${sn.letterSpacing};
|
|
321
|
+
line-height: ${sn.lineHeight};
|
|
322
|
+
text-transform: ${sn.textTransform};
|
|
323
|
+
}
|
|
324
|
+
`,mn=Ct`
|
|
305
325
|
.ft-typography {
|
|
306
326
|
vertical-align: inherit;
|
|
307
327
|
}
|
|
308
|
-
`,
|
|
309
|
-
.ft-typography--${
|
|
310
|
-
font-family: ${
|
|
311
|
-
font-size: ${
|
|
312
|
-
font-weight: ${
|
|
313
|
-
letter-spacing: ${
|
|
314
|
-
line-height: ${
|
|
315
|
-
text-transform: ${
|
|
328
|
+
`,vn=[Object.keys(Re).map((t=>function(t){const e=Re[t];return Ct`
|
|
329
|
+
.ft-typography--${Nt(t)} {
|
|
330
|
+
font-family: ${e.fontFamily};
|
|
331
|
+
font-size: ${e.fontSize};
|
|
332
|
+
font-weight: ${e.fontWeight};
|
|
333
|
+
letter-spacing: ${e.letterSpacing};
|
|
334
|
+
line-height: ${e.lineHeight};
|
|
335
|
+
text-transform: ${e.textCase};
|
|
316
336
|
}
|
|
317
|
-
`}(t)))],
|
|
337
|
+
`}(t)))],xn={color:Ce.extend("--ft-loader-color","",ke.colorPrimary),size:Ce.create("--ft-loader-size","","SIZE","80px")},On=Ct`
|
|
318
338
|
:host {
|
|
319
339
|
line-height: 0;
|
|
320
340
|
}
|
|
@@ -323,8 +343,8 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
323
343
|
display: inline-block;
|
|
324
344
|
position: relative;
|
|
325
345
|
|
|
326
|
-
width: ${
|
|
327
|
-
height: ${
|
|
346
|
+
width: ${xn.size};
|
|
347
|
+
height: ${xn.size};
|
|
328
348
|
}
|
|
329
349
|
|
|
330
350
|
.ft-loader div {
|
|
@@ -333,7 +353,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
333
353
|
width: 25%;
|
|
334
354
|
height: 25%;
|
|
335
355
|
border-radius: 50%;
|
|
336
|
-
background: ${
|
|
356
|
+
background: ${xn.color};
|
|
337
357
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
338
358
|
}
|
|
339
359
|
|
|
@@ -380,10 +400,10 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
380
400
|
transform: translate(0, 0);
|
|
381
401
|
}
|
|
382
402
|
100% {
|
|
383
|
-
transform: translate(calc(0.35 * ${
|
|
403
|
+
transform: translate(calc(0.35 * ${xn.size}), 0);
|
|
384
404
|
}
|
|
385
405
|
}
|
|
386
|
-
`,
|
|
406
|
+
`,wn={size:Ce.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ce.extend("--ft-icon-fluid-topics-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ce.extend("--ft-icon-file-format-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ce.extend("--ft-icon-material-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ce.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Sn=Ct`
|
|
387
407
|
:host, i.ft-icon {
|
|
388
408
|
display: inline-flex;
|
|
389
409
|
align-items: center;
|
|
@@ -392,14 +412,14 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
392
412
|
}
|
|
393
413
|
|
|
394
414
|
:host {
|
|
395
|
-
width: ${
|
|
396
|
-
height: ${
|
|
415
|
+
width: ${wn.size};
|
|
416
|
+
height: ${wn.size};
|
|
397
417
|
}
|
|
398
418
|
|
|
399
419
|
i.ft-icon {
|
|
400
420
|
width: 100%;
|
|
401
421
|
height: 100%;
|
|
402
|
-
font-size: ${
|
|
422
|
+
font-size: ${wn.size};
|
|
403
423
|
line-height: 1;
|
|
404
424
|
font-weight: normal;
|
|
405
425
|
text-transform: none;
|
|
@@ -410,28 +430,28 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
410
430
|
text-rendering: auto;
|
|
411
431
|
-webkit-font-smoothing: antialiased;
|
|
412
432
|
-moz-osx-font-smoothing: grayscale;
|
|
413
|
-
vertical-align: ${
|
|
433
|
+
vertical-align: ${wn.verticalAlign};
|
|
414
434
|
}
|
|
415
435
|
|
|
416
436
|
i.ft-icon.ft-icon--fluid-topics {
|
|
417
|
-
font-family: ${
|
|
437
|
+
font-family: ${wn.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
418
438
|
|
|
419
439
|
/* Ugly fix because font is broken */
|
|
420
|
-
font-size: calc(0.75 * ${
|
|
421
|
-
line-height: ${
|
|
440
|
+
font-size: calc(0.75 * ${wn.size});
|
|
441
|
+
line-height: ${wn.size};
|
|
422
442
|
position: relative;
|
|
423
443
|
top: -4%;
|
|
424
444
|
justify-content: center;
|
|
425
445
|
}
|
|
426
446
|
|
|
427
447
|
.ft-icon--file-format {
|
|
428
|
-
font-family: ${
|
|
448
|
+
font-family: ${wn.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
429
449
|
}
|
|
430
450
|
|
|
431
451
|
.ft-icon--material {
|
|
432
|
-
font-family: ${
|
|
452
|
+
font-family: ${wn.materialFontFamily}, "Material Icons", sans-serif;
|
|
433
453
|
}
|
|
434
|
-
`,
|
|
454
|
+
`,Nn=Ce.extend("--ft-button-color","",ke.colorPrimary),Cn={backgroundColor:Ce.extend("--ft-button-background-color","",ke.colorSurface),borderRadius:Ce.extend("--ft-button-border-radius","",ke.borderRadiusL),color:Nn,fontSize:Ce.extend("--ft-button-font-size","",sn.fontSize),iconSize:Ce.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ce.extend("--ft-button-ripple-color","",Nn),verticalPadding:Ce.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ce.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ce.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ce.external(ke.colorOpacityDisabled,"Design system")},En=Ce.extend("--ft-button-primary-color","",Ce.extend("--ft-button-color","",ke.colorOnPrimary)),$n={backgroundColor:Ce.extend("--ft-button-primary-background-color","",Ce.extend("--ft-button-background-color","",ke.colorPrimary)),color:En,rippleColor:Ce.extend("--ft-button-primary-ripple-color","",En)},Rn=Ce.extend("--ft-button-dense-border-radius","",Ce.extend("--ft-button-border-radius","",ke.borderRadiusM)),Un=Ce.create("--ft-button-dense-vertical-padding","","SIZE","2px"),In=Ce.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),kn=Ce.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ln=[Ct`
|
|
435
455
|
:host {
|
|
436
456
|
display: inline-block;
|
|
437
457
|
max-width: 100%;
|
|
@@ -442,7 +462,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
442
462
|
box-shadow: 0px 0px 0px transparent;
|
|
443
463
|
border: 0px solid transparent;
|
|
444
464
|
text-shadow: 0px 0px 0px transparent;
|
|
445
|
-
font-size: ${
|
|
465
|
+
font-size: ${Cn.fontSize};
|
|
446
466
|
}
|
|
447
467
|
|
|
448
468
|
button:hover {
|
|
@@ -471,31 +491,31 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
471
491
|
border: none;
|
|
472
492
|
pointer-events: auto;
|
|
473
493
|
|
|
474
|
-
--ft-button-internal-line-height: max(calc(${
|
|
475
|
-
--ft-button-internal-color: ${
|
|
476
|
-
${
|
|
477
|
-
${
|
|
494
|
+
--ft-button-internal-line-height: max(calc(${Cn.fontSize} + 2px), ${Cn.iconSize});
|
|
495
|
+
--ft-button-internal-color: ${Cn.color};
|
|
496
|
+
${Ee(wn.size,Cn.iconSize)};
|
|
497
|
+
${Ee(Vr.color,Cn.rippleColor)};
|
|
478
498
|
|
|
479
|
-
border-radius: ${
|
|
480
|
-
padding: ${
|
|
481
|
-
background-color: ${
|
|
499
|
+
border-radius: ${Cn.borderRadius};
|
|
500
|
+
padding: ${Cn.verticalPadding} ${Cn.horizontalPadding};
|
|
501
|
+
background-color: ${Cn.backgroundColor};
|
|
482
502
|
color: var(--ft-button-internal-color);
|
|
483
503
|
-webkit-mask-image: radial-gradient(white, black);
|
|
484
504
|
}
|
|
485
505
|
|
|
486
506
|
.ft-button.ft-button--outlined {
|
|
487
507
|
border: 1px solid var(--ft-button-internal-color);
|
|
488
|
-
padding: calc(${
|
|
508
|
+
padding: calc(${Cn.verticalPadding} - 1px) calc(${Cn.horizontalPadding} - 1px);
|
|
489
509
|
}
|
|
490
510
|
|
|
491
511
|
.ft-button.ft-button--dense {
|
|
492
|
-
padding: ${
|
|
493
|
-
border-radius: ${
|
|
494
|
-
gap: ${
|
|
512
|
+
padding: ${Un} ${In};
|
|
513
|
+
border-radius: ${Rn};
|
|
514
|
+
gap: ${kn};
|
|
495
515
|
}
|
|
496
516
|
|
|
497
517
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
498
|
-
padding: calc(${
|
|
518
|
+
padding: calc(${Un} - 1px) calc(${In} - 1px);
|
|
499
519
|
}
|
|
500
520
|
|
|
501
521
|
.ft-button:not([disabled]):hover {
|
|
@@ -503,22 +523,22 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
503
523
|
}
|
|
504
524
|
|
|
505
525
|
.ft-button--round {
|
|
506
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
526
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Cn.verticalPadding});
|
|
507
527
|
}
|
|
508
528
|
|
|
509
529
|
.ft-button--round.ft-button--dense {
|
|
510
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
530
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Un});
|
|
511
531
|
}
|
|
512
532
|
|
|
513
533
|
.ft-button[disabled] {
|
|
514
534
|
filter: grayscale(1);
|
|
515
|
-
opacity: ${
|
|
535
|
+
opacity: ${Cn.opacityDisabled};
|
|
516
536
|
}
|
|
517
537
|
|
|
518
538
|
.ft-button.ft-button--primary {
|
|
519
|
-
background-color: ${
|
|
520
|
-
--ft-button-internal-color: ${
|
|
521
|
-
${
|
|
539
|
+
background-color: ${$n.backgroundColor};
|
|
540
|
+
--ft-button-internal-color: ${$n.color};
|
|
541
|
+
${Ee(Vr.color,$n.rippleColor)};
|
|
522
542
|
}
|
|
523
543
|
|
|
524
544
|
.ft-button:focus {
|
|
@@ -531,13 +551,13 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
531
551
|
white-space: nowrap;
|
|
532
552
|
text-overflow: ellipsis;
|
|
533
553
|
display: block;
|
|
534
|
-
margin: 0 ${
|
|
535
|
-
${
|
|
536
|
-
${
|
|
554
|
+
margin: 0 ${Cn.iconPadding};
|
|
555
|
+
${Ee(sn.fontSize,"1em")};
|
|
556
|
+
${Ee(sn.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
537
557
|
}
|
|
538
558
|
|
|
539
559
|
.ft-button--dense .ft-button--label {
|
|
540
|
-
margin: 0 ${
|
|
560
|
+
margin: 0 ${kn};
|
|
541
561
|
}
|
|
542
562
|
|
|
543
563
|
.ft-button--label[hidden] {
|
|
@@ -550,13 +570,13 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
550
570
|
}
|
|
551
571
|
|
|
552
572
|
.ft-button--label[hidden] + ft-icon {
|
|
553
|
-
margin: 0 calc(${
|
|
554
|
-
padding: 0 ${
|
|
573
|
+
margin: 0 calc(${Cn.horizontalPadding} * -1);
|
|
574
|
+
padding: 0 ${Cn.verticalPadding};
|
|
555
575
|
}
|
|
556
576
|
|
|
557
577
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
558
|
-
margin: 0 calc(${
|
|
559
|
-
padding: 0 ${
|
|
578
|
+
margin: 0 calc(${In} * -1);
|
|
579
|
+
padding: 0 ${Un};
|
|
560
580
|
}
|
|
561
581
|
|
|
562
582
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -565,39 +585,39 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
565
585
|
}
|
|
566
586
|
|
|
567
587
|
ft-loader {
|
|
568
|
-
${
|
|
569
|
-
${
|
|
588
|
+
${Ee(xn.size,Cn.iconSize)};
|
|
589
|
+
${Ee(xn.color,"var(--ft-button-internal-color)")};
|
|
570
590
|
}
|
|
571
|
-
`,
|
|
591
|
+
`,Be],Wn=1,An=2,jn=t=>(...e)=>({_$litDirective$:t,values:e});let Fn=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)}};
|
|
572
592
|
/**
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
593
|
+
* @license
|
|
594
|
+
* Copyright 2018 Google LLC
|
|
595
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
596
|
+
*/const Kn=jn(class extends Fn{constructor(t){if(super(t),t.type!==Wn||"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 Dn extends Me{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 i(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 i(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 se`
|
|
577
597
|
<style>
|
|
578
598
|
.ft-ripple .ft-ripple--effect {
|
|
579
599
|
left: ${this.originX}px;
|
|
580
600
|
top: ${this.originY}px;
|
|
581
601
|
}
|
|
582
602
|
</style>
|
|
583
|
-
<div class="${
|
|
603
|
+
<div class="${Kn(t)}">
|
|
584
604
|
<div class="ft-ripple--background"></div>
|
|
585
605
|
<div class="ft-ripple--effect"></div>
|
|
586
606
|
</div>
|
|
587
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o
|
|
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()}}Dn.elementDefinitions={},Dn.styles=oi,Pn([R({type:Boolean})],Dn.prototype,"primary",void 0),Pn([R({type:Boolean})],Dn.prototype,"secondary",void 0),Pn([R({type:Boolean})],Dn.prototype,"unbounded",void 0),Pn([R({type:Boolean})],Dn.prototype,"activated",void 0),Pn([R({type:Boolean})],Dn.prototype,"selected",void 0),Pn([R({type:Boolean})],Dn.prototype,"disabled",void 0),Pn([U()],Dn.prototype,"hovered",void 0),Pn([U()],Dn.prototype,"focused",void 0),Pn([U()],Dn.prototype,"pressed",void 0),Pn([U()],Dn.prototype,"rippling",void 0),Pn([U()],Dn.prototype,"originX",void 0),Pn([U()],Dn.prototype,"originY",void 0),Pn([k(".ft-ripple")],Dn.prototype,"ripple",void 0),Pn([k(".ft-ripple--effect")],Dn.prototype,"rippleEffect",void 0),W("ft-ripple")(Dn);
|
|
588
608
|
/**
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
const
|
|
594
|
-
<${
|
|
609
|
+
* @license
|
|
610
|
+
* Copyright 2020 Google LLC
|
|
611
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
|
+
*/
|
|
613
|
+
const Mn=Symbol.for(""),Bn=t=>{if(t?.r===Mn)return t?._$litStatic$},zn=t=>({_$litStatic$:t,r:Mn}),Tn=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=Bn(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=Tn.get(t))&&(a.raw=a,Tn.set(t,e=a)),o=s}return t(e,...o)})(et);var _n;!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"}(_n||(_n={}));var Hn=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 Gn extends Me{constructor(){super(...arguments),this.variant=_n.body1}render(){return this.element?Zn`
|
|
614
|
+
<${zn(this.element)}
|
|
595
615
|
class="ft-typography ft-typography--${this.variant}">
|
|
596
616
|
<slot></slot>
|
|
597
|
-
</${
|
|
598
|
-
`:
|
|
617
|
+
</${zn(this.element)}>
|
|
618
|
+
`:Zn`
|
|
599
619
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
600
|
-
`}}
|
|
620
|
+
`}}Gn.styles=[cn,ln,fn,pn,hn,un,dn,yn,gn,bn,mn,...vn],Hn([R()],Gn.prototype,"element",void 0),Hn([R()],Gn.prototype,"variant",void 0),W("ft-typography")(Gn);const qn={distance:Ce.create("--ft-tooltip-distance","","SIZE","4px"),color:Ce.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ce.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ce.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ce.external(ke.borderRadiusS,"Design system"),maxWidth:Ce.create("--ft-tooltip-max-width","","SIZE","150px")},Vn=Ct`
|
|
601
621
|
.ft-tooltip--container {
|
|
602
622
|
display: block;
|
|
603
623
|
}
|
|
@@ -612,21 +632,21 @@ const ji=Symbol.for(""),Fi=t=>{if((null==t?void 0:t.r)===ji)return null==t?void
|
|
|
612
632
|
box-sizing: border-box;
|
|
613
633
|
overflow: hidden;
|
|
614
634
|
width: max-content;
|
|
615
|
-
max-width: ${
|
|
635
|
+
max-width: ${qn.maxWidth};
|
|
616
636
|
text-align: center;
|
|
617
|
-
padding: ${
|
|
618
|
-
z-index: ${
|
|
637
|
+
padding: ${qn.distance};
|
|
638
|
+
z-index: ${qn.zIndex};
|
|
619
639
|
}
|
|
620
640
|
|
|
621
641
|
.ft-tooltip--content {
|
|
622
642
|
padding: 4px 8px;
|
|
623
|
-
border-radius: ${
|
|
624
|
-
background-color: ${
|
|
625
|
-
color: ${
|
|
643
|
+
border-radius: ${qn.borderRadiusS};
|
|
644
|
+
background-color: ${qn.backgroundColor};
|
|
645
|
+
color: ${qn.color};
|
|
626
646
|
position: relative;
|
|
627
647
|
word-break: break-word;
|
|
628
648
|
}
|
|
629
|
-
`;var
|
|
649
|
+
`;var Yn=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 Xn extends Me{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 i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return se`
|
|
630
650
|
<div part="container"
|
|
631
651
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
632
652
|
@mouseenter=${this.onHover}
|
|
@@ -644,54 +664,48 @@ const ji=Symbol.for(""),Fi=t=>{if((null==t?void 0:t.r)===ji)return null==t?void
|
|
|
644
664
|
</div>
|
|
645
665
|
</div>
|
|
646
666
|
</div>
|
|
647
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
648
|
-
/**
|
|
649
|
-
* @license
|
|
650
|
-
* Copyright 2017 Google LLC
|
|
651
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
652
|
-
*/
|
|
653
|
-
function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return l({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?p(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):l({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Hi.prototype,"slotNodes",void 0),_i([c(".ft-tooltip--container")],Hi.prototype,"container",void 0),_i([c(".ft-tooltip")],Hi.prototype,"tooltip",void 0),_i([c(".ft-tooltip--content")],Hi.prototype,"tooltipContent",void 0),_i([s()],Hi.prototype,"visible",void 0),d("ft-tooltip")(Hi);
|
|
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(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,r=(t.offsetHeight-o)/2,i=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const c=this.tooltip.getBoundingClientRect();let l=-c.x,f=c.x+c.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(l,f))+"px";let p=-c.y,h=c.y+c.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,h))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${qn.maxWidth})`}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))}}Xn.elementDefinitions={"ft-typography":Gn},Xn.styles=Vn,Yn([R()],Xn.prototype,"text",void 0),Yn([R({type:Boolean})],Xn.prototype,"manual",void 0),Yn([R({type:Boolean})],Xn.prototype,"inline",void 0),Yn([R({type:Number})],Xn.prototype,"delay",void 0),Yn([R()],Xn.prototype,"position",void 0),Yn([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)??[]}})}}()],Xn.prototype,"slotNodes",void 0),Yn([k(".ft-tooltip--container")],Xn.prototype,"container",void 0),Yn([k(".ft-tooltip")],Xn.prototype,"tooltip",void 0),Yn([k(".ft-tooltip--content")],Xn.prototype,"tooltipContent",void 0),Yn([U()],Xn.prototype,"visible",void 0),W("ft-tooltip")(Xn);
|
|
654
668
|
/**
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
class
|
|
669
|
+
* @license
|
|
670
|
+
* Copyright 2017 Google LLC
|
|
671
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
672
|
+
*/
|
|
673
|
+
class Jn extends Fn{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:[]}}}Jn.directiveName="unsafeHTML",Jn.resultType=1;const Qn=jn(Jn);var ta,ea;!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=""}(ta||(ta={})),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=""}(ea||(ea={}));const oa=new Map([...["abw"].map((t=>[t,ea.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,ea.AUDIO])),...["avi"].map((t=>[t,ea.AVI])),...["chm","xhs"].map((t=>[t,ea.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,ea.CODE])),...["csv"].map((t=>[t,ea.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ea.DITA])),...["epub"].map((t=>[t,ea.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ea.EXCEL])),...["flac"].map((t=>[t,ea.FLAC])),...["gif"].map((t=>[t,ea.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ea.GZIP])),...["html","htm","xhtml"].map((t=>[t,ea.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,ea.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ea.JPEG])),...["json"].map((t=>[t,ea.JSON])),...["m4a","m4p"].map((t=>[t,ea.M4A])),...["mov","qt"].map((t=>[t,ea.MOV])),...["mp3"].map((t=>[t,ea.MP3])),...["mp4","m4v"].map((t=>[t,ea.MP4])),...["ogg","oga"].map((t=>[t,ea.OGG])),...["pdf","ps"].map((t=>[t,ea.PDF])),...["png"].map((t=>[t,ea.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ea.POWERPOINT])),...["rar"].map((t=>[t,ea.RAR])),...["stp"].map((t=>[t,ea.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ea.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,ea.VIDEO])),...["wav"].map((t=>[t,ea.WAV])),...["wma"].map((t=>[t,ea.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ea.WORD])),...["xml","xsl","rdf"].map((t=>[t,ea.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ea.YAML])),...["zip"].map((t=>[t,ea.ZIP]))]),ra=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var ia;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ia||(ia={}));var na=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 aa extends Me{constructor(){super(...arguments),this.resolvedIcon=le}render(){const t=this.variant&&Object.values(ia).includes(this.variant)?this.variant:ia.fluid_topics,e=t!==ia.material||!!this.value;return se`
|
|
660
674
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
661
|
-
${
|
|
662
|
-
<slot ?hidden=${
|
|
675
|
+
${Qn(this.resolvedIcon)}
|
|
676
|
+
<slot ?hidden=${e}></slot>
|
|
663
677
|
</i>
|
|
664
|
-
`}get textContent(){var t,
|
|
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 ia.file_format:this.resolvedIcon=null!==(t=ea[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ia.material:this.resolvedIcon=this.value||le;break;default:this.resolvedIcon=null!==(e=ta[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}aa.elementDefinitions={},aa.styles=Sn,na([R()],aa.prototype,"variant",void 0),na([R()],aa.prototype,"value",void 0),na([U()],aa.prototype,"resolvedIcon",void 0),na([k("slot")],aa.prototype,"slottedContent",void 0),W("ft-icon")(aa);class sa extends Me{render(){return se`
|
|
665
679
|
<div class="ft-loader">
|
|
666
680
|
<div></div>
|
|
667
681
|
<div></div>
|
|
668
682
|
<div></div>
|
|
669
683
|
<div></div>
|
|
670
684
|
</div>
|
|
671
|
-
`}}
|
|
685
|
+
`}}sa.styles=On,W("ft-loader")(sa);var ca=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 la 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)}}}(Me,"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(se`
|
|
672
686
|
<button part="button"
|
|
673
|
-
class="${
|
|
687
|
+
class="${Kn(this.buttonClasses)}"
|
|
674
688
|
aria-label="${this.getLabel()}"
|
|
675
689
|
?disabled=${this.isDisabled()}>
|
|
676
690
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
677
691
|
<ft-typography part="label"
|
|
678
692
|
variant=${this.typographyVariant}
|
|
679
693
|
element="span"
|
|
680
|
-
class="ft-button--label ${
|
|
694
|
+
class="ft-button--label ${Gr?"ft-safari-ellipsis-fix":""}"
|
|
681
695
|
?hidden=${!this.hasTextContent()}>
|
|
682
696
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
683
697
|
</ft-typography>
|
|
684
698
|
${this.resolveIcon()}
|
|
685
699
|
</button>
|
|
686
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
700
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?se`
|
|
687
701
|
<ft-tooltip part="tooltip"
|
|
688
702
|
text="${this.getLabel()}"
|
|
689
703
|
position="${this.tooltipPosition}">
|
|
690
704
|
${t}
|
|
691
705
|
</ft-tooltip>
|
|
692
|
-
`:t}resolveIcon(){return this.loading?
|
|
693
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
694
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
706
|
+
`:t}resolveIcon(){return this.loading?se`
|
|
707
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?se`
|
|
708
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:le}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}}la.elementDefinitions={"ft-ripple":Dn,"ft-tooltip":Xn,"ft-typography":Gn,"ft-icon":aa,"ft-loader":sa},ca([R({type:String,reflect:!0})],la.prototype,"role",void 0),ca([R()],la.prototype,"type",void 0),ca([R({type:Boolean})],la.prototype,"disabled",void 0),ca([R()],la.prototype,"label",void 0),ca([R()],la.prototype,"icon",void 0),ca([R()],la.prototype,"iconVariant",void 0),ca([R({type:Boolean})],la.prototype,"trailingIcon",void 0),ca([R({type:Boolean})],la.prototype,"loading",void 0),ca([R()],la.prototype,"tooltipPosition",void 0),ca([R({type:Boolean})],la.prototype,"hideTooltip",void 0),ca([R({type:Boolean})],la.prototype,"forceTooltip",void 0),ca([k(".ft-button")],la.prototype,"button",void 0),ca([k(".ft-button--label slot")],la.prototype,"slottedContent",void 0);var fa=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 pa extends la{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"}}pa.styles=[Te,Ln],fa([R({type:Boolean})],pa.prototype,"primary",void 0),fa([R({type:Boolean})],pa.prototype,"outlined",void 0),fa([R({type:Boolean})],pa.prototype,"dense",void 0),fa([R({type:Boolean})],pa.prototype,"round",void 0);const ha=[Ct`
|
|
695
709
|
:host {
|
|
696
710
|
display: inline-block;
|
|
697
711
|
max-width: 100%;
|
|
@@ -741,7 +755,7 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
741
755
|
}
|
|
742
756
|
|
|
743
757
|
.ft-button:focus-visible {
|
|
744
|
-
outline-color: ${
|
|
758
|
+
outline-color: ${Ie.focusFocusRingColor};
|
|
745
759
|
outline-style: solid;
|
|
746
760
|
}
|
|
747
761
|
|
|
@@ -770,146 +784,146 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
770
784
|
/** Primary styles **/
|
|
771
785
|
|
|
772
786
|
.ft-button--primary {
|
|
773
|
-
${
|
|
787
|
+
${Ee(xn.color,Ie.primaryIconColor)};
|
|
774
788
|
|
|
775
|
-
${
|
|
776
|
-
${
|
|
777
|
-
${
|
|
778
|
-
${
|
|
779
|
-
${
|
|
789
|
+
${Ee(Vr.color,Ie.primaryStateLayerColor)};
|
|
790
|
+
${Ee(Vr.opacityContentOnSurfaceHover,Ie.primaryStateLayerOpacityHover)};
|
|
791
|
+
${Ee(Vr.opacityContentOnSurfaceFocused,Ie.primaryStateLayerOpacityFocus)};
|
|
792
|
+
${Ee(Vr.opacityContentOnSurfaceSelected,Ie.primaryStateLayerOpacityActive)};
|
|
793
|
+
${Ee(Vr.opacityContentOnSurfacePressed,Ie.primaryStateLayerOpacityActive)};
|
|
780
794
|
|
|
781
|
-
background-color: ${
|
|
782
|
-
color: ${
|
|
795
|
+
background-color: ${Ie.primaryBackgroundColor};
|
|
796
|
+
color: ${Ie.primaryColor};
|
|
783
797
|
border-style: none;
|
|
784
798
|
}
|
|
785
799
|
|
|
786
800
|
.ft-button--primary[disabled] {
|
|
787
|
-
opacity: ${
|
|
801
|
+
opacity: ${Ie.primaryComponentOpacityDisabled};
|
|
788
802
|
}
|
|
789
803
|
|
|
790
804
|
.ft-button--primary ft-icon {
|
|
791
|
-
color: ${
|
|
805
|
+
color: ${Ie.primaryIconColor};
|
|
792
806
|
}
|
|
793
807
|
|
|
794
808
|
/** Secondary styles **/
|
|
795
809
|
|
|
796
810
|
.ft-button--secondary {
|
|
797
|
-
${
|
|
811
|
+
${Ee(xn.color,Ie.secondaryIconColor)};
|
|
798
812
|
|
|
799
|
-
${
|
|
800
|
-
${
|
|
801
|
-
${
|
|
802
|
-
${
|
|
803
|
-
${
|
|
813
|
+
${Ee(Vr.color,Ie.secondaryStateLayerColor)};
|
|
814
|
+
${Ee(Vr.opacityContentOnSurfaceHover,Ie.secondaryStateLayerOpacityHover)};
|
|
815
|
+
${Ee(Vr.opacityContentOnSurfaceFocused,Ie.secondaryStateLayerOpacityFocus)};
|
|
816
|
+
${Ee(Vr.opacityContentOnSurfaceSelected,Ie.secondaryStateLayerOpacityActive)};
|
|
817
|
+
${Ee(Vr.opacityContentOnSurfacePressed,Ie.secondaryStateLayerOpacityActive)};
|
|
804
818
|
|
|
805
|
-
background-color: ${
|
|
806
|
-
color: ${
|
|
807
|
-
border-color: ${
|
|
819
|
+
background-color: ${Ie.secondaryBackgroundColor};
|
|
820
|
+
color: ${Ie.secondaryColor};
|
|
821
|
+
border-color: ${Ie.secondaryBorderColor};
|
|
808
822
|
border-style: solid;
|
|
809
823
|
}
|
|
810
824
|
|
|
811
825
|
.ft-button--secondary[disabled] {
|
|
812
|
-
opacity: ${
|
|
826
|
+
opacity: ${Ie.secondaryComponentOpacityDisabled};
|
|
813
827
|
}
|
|
814
828
|
|
|
815
829
|
.ft-button--secondary ft-icon {
|
|
816
|
-
color: ${
|
|
830
|
+
color: ${Ie.secondaryIconColor};
|
|
817
831
|
}
|
|
818
832
|
|
|
819
833
|
/** Tertiary styles **/
|
|
820
834
|
|
|
821
835
|
.ft-button--tertiary {
|
|
822
|
-
${
|
|
836
|
+
${Ee(xn.color,Ie.tertiaryIconColor)};
|
|
823
837
|
|
|
824
|
-
${
|
|
825
|
-
${
|
|
826
|
-
${
|
|
827
|
-
${
|
|
828
|
-
${
|
|
838
|
+
${Ee(Vr.color,Ie.tertiaryStateLayerColor)};
|
|
839
|
+
${Ee(Vr.opacityContentOnSurfaceHover,Ie.tertiaryStateLayerOpacityHover)};
|
|
840
|
+
${Ee(Vr.opacityContentOnSurfaceFocused,Ie.tertiaryStateLayerOpacityFocus)};
|
|
841
|
+
${Ee(Vr.opacityContentOnSurfaceSelected,Ie.tertiaryStateLayerOpacityActive)};
|
|
842
|
+
${Ee(Vr.opacityContentOnSurfacePressed,Ie.tertiaryStateLayerOpacityActive)};
|
|
829
843
|
|
|
830
|
-
background-color: ${
|
|
831
|
-
color: ${
|
|
844
|
+
background-color: ${Ie.tertiaryBackgroundColor};
|
|
845
|
+
color: ${Ie.tertiaryColor};
|
|
832
846
|
border-style: none;
|
|
833
847
|
}
|
|
834
848
|
|
|
835
849
|
.ft-button--tertiary[disabled] {
|
|
836
|
-
opacity: ${
|
|
850
|
+
opacity: ${Ie.tertiaryComponentOpacityDisabled};
|
|
837
851
|
}
|
|
838
852
|
|
|
839
853
|
.ft-button--tertiary ft-icon {
|
|
840
|
-
color: ${
|
|
854
|
+
color: ${Ie.tertiaryIconColor};
|
|
841
855
|
}
|
|
842
856
|
|
|
843
857
|
/** Neutral styles **/
|
|
844
858
|
|
|
845
859
|
.ft-button--neutral {
|
|
846
|
-
${
|
|
860
|
+
${Ee(xn.color,Ie.neutralIconColor)};
|
|
847
861
|
|
|
848
|
-
${
|
|
849
|
-
${
|
|
850
|
-
${
|
|
851
|
-
${
|
|
852
|
-
${
|
|
862
|
+
${Ee(Vr.backgroundColor,Ie.neutralStateLayerColor)};
|
|
863
|
+
${Ee(Vr.opacityContentOnSurfaceHover,Ie.neutralStateLayerOpacityHover)};
|
|
864
|
+
${Ee(Vr.opacityContentOnSurfaceFocused,Ie.neutralStateLayerOpacityFocus)};
|
|
865
|
+
${Ee(Vr.opacityContentOnSurfaceSelected,Ie.neutralStateLayerOpacityActive)};
|
|
866
|
+
${Ee(Vr.opacityContentOnSurfacePressed,Ie.neutralStateLayerOpacityActive)};
|
|
853
867
|
|
|
854
|
-
background-color: ${
|
|
855
|
-
color: ${
|
|
868
|
+
background-color: ${Ie.neutralBackgroundColor};
|
|
869
|
+
color: ${Ie.neutralColor};
|
|
856
870
|
border-style: none;
|
|
857
871
|
}
|
|
858
872
|
|
|
859
873
|
.ft-button--neutral[disabled] {
|
|
860
|
-
opacity: ${
|
|
874
|
+
opacity: ${Ie.neutralComponentOpacityDisabled};
|
|
861
875
|
}
|
|
862
876
|
|
|
863
877
|
.ft-button--neutral ft-icon {
|
|
864
|
-
color: ${
|
|
878
|
+
color: ${Ie.neutralIconColor};
|
|
865
879
|
}
|
|
866
880
|
|
|
867
881
|
/** Large styles **/
|
|
868
882
|
|
|
869
883
|
.ft-button--large {
|
|
870
|
-
${
|
|
871
|
-
${
|
|
872
|
-
|
|
873
|
-
height: ${
|
|
874
|
-
padding: 0 ${
|
|
875
|
-
gap: ${
|
|
876
|
-
border-radius: ${
|
|
877
|
-
border-width: ${
|
|
884
|
+
${Ee(wn.size,Ie.largeIconSize)};
|
|
885
|
+
${Ee(xn.size,Ie.largeIconSize)};
|
|
886
|
+
|
|
887
|
+
height: ${Ie.largeHeight};
|
|
888
|
+
padding: 0 ${Ie.largeHorizontalPadding};
|
|
889
|
+
gap: ${Ie.largeGap};
|
|
890
|
+
border-radius: ${Ie.largeBorderRadius};
|
|
891
|
+
border-width: ${Ie.largeBorderWidth};
|
|
878
892
|
}
|
|
879
893
|
|
|
880
894
|
.ft-button--large:focus-visible {
|
|
881
|
-
outline-width: ${
|
|
882
|
-
outline-offset: ${
|
|
895
|
+
outline-width: ${Ie.largeFocusOutlineWidth};
|
|
896
|
+
outline-offset: ${Ie.largeFocusOutlineOffset};
|
|
883
897
|
}
|
|
884
898
|
|
|
885
899
|
.ft-button--large.ft-button--icon-only {
|
|
886
|
-
width: ${
|
|
900
|
+
width: ${Ie.largeIconOnlyWidth};
|
|
887
901
|
padding: unset;
|
|
888
902
|
}
|
|
889
903
|
|
|
890
904
|
/** Small styles **/
|
|
891
905
|
|
|
892
906
|
.ft-button--small {
|
|
893
|
-
${
|
|
894
|
-
${
|
|
895
|
-
|
|
896
|
-
height: ${
|
|
897
|
-
padding: 0 ${
|
|
898
|
-
gap: ${
|
|
899
|
-
border-radius: ${
|
|
900
|
-
border-width: ${
|
|
907
|
+
${Ee(wn.size,Ie.smallIconSize)};
|
|
908
|
+
${Ee(xn.size,Ie.smallIconSize)};
|
|
909
|
+
|
|
910
|
+
height: ${Ie.smallHeight};
|
|
911
|
+
padding: 0 ${Ie.smallHorizontalPadding};
|
|
912
|
+
gap: ${Ie.smallGap};
|
|
913
|
+
border-radius: ${Ie.smallBorderRadius};
|
|
914
|
+
border-width: ${Ie.smallBorderWidth};
|
|
901
915
|
}
|
|
902
916
|
|
|
903
917
|
.ft-button--small:focus-visible {
|
|
904
|
-
outline-width: ${
|
|
905
|
-
outline-offset: ${
|
|
918
|
+
outline-width: ${Ie.smallFocusOutlineWidth};
|
|
919
|
+
outline-offset: ${Ie.smallFocusOutlineOffset};
|
|
906
920
|
}
|
|
907
921
|
|
|
908
922
|
.ft-button--small.ft-button--icon-only {
|
|
909
|
-
width: ${
|
|
923
|
+
width: ${Ie.smallIconOnlyWidth};
|
|
910
924
|
padding: unset;
|
|
911
925
|
}
|
|
912
|
-
`,
|
|
926
|
+
`,Be];var ua=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 da extends la{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?_n.caption1medium:_n.body2medium}}da.styles=[Te,ha],ua([R({type:Boolean})],da.prototype,"primary",void 0),ua([R({type:Boolean})],da.prototype,"secondary",void 0),ua([R({type:Boolean})],da.prototype,"tertiary",void 0),ua([R({type:Boolean})],da.prototype,"neutral",void 0),ua([R({type:Boolean})],da.prototype,"small",void 0),W("ft-button")(pa),W("ftds-button")(da);const ya={height:Ce.create("--ft-search-input-height","","SIZE","38px"),borderRadius:Ce.extend("--ft-search-input-border-radius","",ke.borderRadiusS),desktopFiltersHeight:Ce.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:Ce.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:Ce.external(ke.colorSurface,"Design system"),colorOnSurface:Ce.external(ke.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(ke.colorOnSurfaceMedium,"Design system"),colorOutline:Ce.external(ke.colorOutline,"Design system"),colorPrimary:Ce.external(ke.colorPrimary,"Design system"),elevation02:Ce.external(ke.elevation02,"Design system"),buttonColor:Ce.external(Cn.color,"Button"),buttonRippleColor:Ce.external(Cn.rippleColor,"Button")},ga=Ct`
|
|
913
927
|
* {
|
|
914
928
|
box-sizing: border-box;
|
|
915
929
|
}
|
|
@@ -919,11 +933,11 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
919
933
|
display: flex;
|
|
920
934
|
flex-direction: row;
|
|
921
935
|
align-items: center;
|
|
922
|
-
height: ${
|
|
936
|
+
height: ${ya.height};
|
|
923
937
|
|
|
924
|
-
background: ${
|
|
925
|
-
border: 1px solid ${
|
|
926
|
-
border-radius: ${
|
|
938
|
+
background: ${ya.colorSurface};
|
|
939
|
+
border: 1px solid ${ya.colorOutline};
|
|
940
|
+
border-radius: ${ya.borderRadius};
|
|
927
941
|
}
|
|
928
942
|
|
|
929
943
|
.ft-search-input--input-container {
|
|
@@ -938,23 +952,23 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
938
952
|
width: 100%;
|
|
939
953
|
display: grid;
|
|
940
954
|
padding: 0 8px;
|
|
941
|
-
border-radius: ${
|
|
955
|
+
border-radius: ${ya.borderRadius};
|
|
942
956
|
}
|
|
943
957
|
|
|
944
958
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
945
|
-
outline: 2px solid ${
|
|
959
|
+
outline: 2px solid ${ya.colorPrimary};
|
|
946
960
|
}
|
|
947
961
|
|
|
948
962
|
.ft-search-input--input {
|
|
949
963
|
height: 100%;
|
|
950
964
|
border: none;
|
|
951
965
|
background-color: transparent;
|
|
952
|
-
color: ${
|
|
966
|
+
color: ${ya.colorOnSurface};
|
|
953
967
|
outline: none;
|
|
954
968
|
}
|
|
955
969
|
|
|
956
970
|
.ft-search-input--input::placeholder {
|
|
957
|
-
color: ${
|
|
971
|
+
color: ${ya.colorOnSurfaceMedium};
|
|
958
972
|
}
|
|
959
973
|
|
|
960
974
|
.ft-search-input--actions {
|
|
@@ -964,13 +978,13 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
964
978
|
align-items: center;
|
|
965
979
|
height: 100%;
|
|
966
980
|
|
|
967
|
-
${
|
|
981
|
+
${Ee(qn.zIndex,`calc(${ya.floatingZIndex} + 1)`)};
|
|
968
982
|
}
|
|
969
983
|
|
|
970
984
|
.ft-search-input > ft-button,
|
|
971
985
|
.ft-search-input--actions ft-button {
|
|
972
986
|
flex-shrink: 0;
|
|
973
|
-
${
|
|
987
|
+
${Ee(Cn.backgroundColor,"transparent")};
|
|
974
988
|
}
|
|
975
989
|
|
|
976
990
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -988,31 +1002,31 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
988
1002
|
|
|
989
1003
|
.ft-search-input--separator {
|
|
990
1004
|
height: 20px;
|
|
991
|
-
border-right: 1px solid ${
|
|
1005
|
+
border-right: 1px solid ${ya.colorOutline};
|
|
992
1006
|
}
|
|
993
|
-
`;var dn,hn,yn,gn,bn,mn,vn,xn,On,wn,Sn,Nn,Cn,En;!function(t){!function(o){var e={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(e.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 o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function l(t){this.map={},t instanceof l?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function u(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.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):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(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?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,e=f(o);return o.readAsText(t),e}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,o){this.map[n(t)]=a(o)},l.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new l(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=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new l(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),h.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.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 o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new l(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(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,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.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 o.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,e))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new o.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&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),o.Headers=l,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"W",{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"}(dn||(dn={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(hn||(hn={})),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"}(yn||(yn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(gn||(gn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(bn||(bn={})),function(t){t.ASC="ASC",t.DESC="DESC"}(mn||(mn={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(vn||(vn={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(xn||(xn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(On||(On={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(wn||(wn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Sn||(Sn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Nn||(Nn={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Cn||(Cn={})),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"}(En||(En={})),En.PERSONAL_BOOK_SHARE_USER,En.PERSONAL_BOOK_USER,En.HTML_EXPORT_USER,En.PERSONAL_BOOK_USER,En.PDF_EXPORT_USER,En.PERSONAL_BOOK_USER,En.KHUB_ADMIN,En.CONTENT_PUBLISHER,En.ADMIN,En.KHUB_ADMIN,En.USERS_ADMIN,En.PORTAL_ADMIN,En.DEVELOPER,En.BETA_USER,En.DEBUG_USER;const Rn=O`
|
|
994
|
-
|
|
1007
|
+
`;var ba,ma,va,xa,Oa,wa,Sa,Na,Ca,Ea,$a,Ra,Ua,Ia;!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 p(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){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=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(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(p)}),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})},u.call(y.prototype),u.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,"W",{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"}(ba||(ba={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ma||(ma={})),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"}(va||(va={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(xa||(xa={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Oa||(Oa={})),function(t){t.ASC="ASC",t.DESC="DESC"}(wa||(wa={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Sa||(Sa={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Na||(Na={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ca||(Ca={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ea||(Ea={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}($a||($a={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ra||(Ra={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Ua||(Ua={})),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"}(Ia||(Ia={})),Ia.PERSONAL_BOOK_SHARE_USER,Ia.PERSONAL_BOOK_USER,Ia.HTML_EXPORT_USER,Ia.PERSONAL_BOOK_USER,Ia.PDF_EXPORT_USER,Ia.PERSONAL_BOOK_USER,Ia.KHUB_ADMIN,Ia.CONTENT_PUBLISHER,Ia.ADMIN,Ia.KHUB_ADMIN,Ia.USERS_ADMIN,Ia.PORTAL_ADMIN,Ia.DEVELOPER,Ia.BETA_USER,Ia.DEBUG_USER;const ka=Ct`
|
|
1008
|
+
`,La=Br.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 Wa{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=La.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?Wa.build(t):null!==(e=Wa.API)&&void 0!==e?e:Wa.API=Wa.build()}static await(t){return new Promise((e=>{let o=Wa.get(t);if(o)e(o);else{const r=La.subscribe((()=>{o=Wa.get(t),o&&(r(),e(o))}))}}))}}var Aa;const ja=Symbol("clearAfterUnitTest");class Fa{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Aa]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=La.getState().uiLocale,La.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=La.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};L(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 Ze(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})))}}Aa=ja,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Fa((async(t,e)=>(await Wa.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Fa((async(t,e)=>(await Wa.await()).getCustomMessageContext(t,e))));const Ka=window.FluidTopicsI18nService,Pa=window.FluidTopicsCustomI18nService;var Da=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 Ma extends Me{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=()=>Wa.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return se`
|
|
995
1009
|
<slot></slot>
|
|
996
|
-
`}update(t){super.update(t),t.has("baseUrl")
|
|
997
|
-
`;var
|
|
1010
|
+
`}update(t){super.update(t),t.has("baseUrl")&&La.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&La.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&La.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&La.actions.setNoCustom(this.noCustom),t.has("editorMode")&&La.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&La.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&La.actions.setSession(this.session),t.has("availableUiLocales")&&La.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ka.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()))))}}Ma.elementDefinitions={},Ma.styles=ka,Da([R()],Ma.prototype,"baseUrl",void 0),Da([R()],Ma.prototype,"apiIntegrationIdentifier",void 0),Da([R()],Ma.prototype,"uiLocale",void 0),Da([A([])],Ma.prototype,"availableUiLocales",void 0),Da([R({type:Boolean})],Ma.prototype,"editorMode",void 0),Da([R({type:Boolean})],Ma.prototype,"noCustom",void 0),Da([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ma.prototype,"noCustomComponent",void 0),Da([R({type:Boolean})],Ma.prototype,"withManualResources",void 0),Da([A([])],Ma.prototype,"messageContexts",void 0),Da([A(void 0)],Ma.prototype,"session",void 0),Da([R({type:Object})],Ma.prototype,"apiProvider",void 0);class Ba{async listMySearches(){var t;return(null===(t=La.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Wa.await()).listMySearches(La.getState().session.profile.userId):[]}}const za=new r;class Ta{async listMyBookmarks(){return za.get("bookmarks",(async()=>(await Wa.await()).listMyBookmarks(La.getState().session.profile.userId)))}clearCache(){za.clear("bookmarks")}}const Za=Br.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=La.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ta,La.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=La.getState();L(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(){Za.actions.savedSearches(void 0)}clearMyBookmarks(){Za.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Ba,e=await t.listMySearches();Za.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;Za.actions.bookmarks(e)}}},W("ft-app-context")(Ma);class _a extends Event{constructor(){super(_a.eventName)}}_a.eventName="search-context-clear-all-filters";var Ha=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 Ga extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const qa=Symbol("registerInterval");class Va 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[qa]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[qa]):this.dispatchEvent(new Ga)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=qa,Ha([U()],o.prototype,"stateManager",void 0),o}(Je)){}const Ya=Ct`
|
|
1011
|
+
`;var Xa=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 Ja=Symbol("i18nProperties"),Qa=Symbol("i18nUnsubs");function ts(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Pa:Ka}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[Ja])||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[Ja])||void 0===e||e.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[Ja]&&new Set([...this[Ja].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Qa].has(t)||this[Qa].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[Qa].forEach((t=>t())),this[Qa].clear()}}return e=Qa,Xa([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class es extends(ts(Me)){}class os extends(ts(Je)){}var 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 is extends os{constructor(){super(),this.editorMode=!1,this.addStore(La)}render(){return this.key&&this.context?se`
|
|
998
1012
|
<span class="ft-i18n">
|
|
999
1013
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1000
1014
|
</span>
|
|
1001
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
1015
|
+
`:this.editorMode?"Select a context and a label key.":le}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}is.elementDefinitions={},is.styles=Ya,rs([zr()],is.prototype,"editorMode",void 0),rs([R()],is.prototype,"context",void 0),rs([R()],is.prototype,"key",void 0),rs([A([])],is.prototype,"args",void 0),rs([R()],is.prototype,"defaultMessage",void 0);class ns{static build(t){return new ns(t)}static fromGwt(t){return new ns(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)=>Ka.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(is);const as=ns.build("designedSearchInput"),ss=Ct`
|
|
1002
1016
|
* {
|
|
1003
1017
|
box-sizing: border-box;
|
|
1004
1018
|
}
|
|
1005
1019
|
|
|
1006
1020
|
.ft-search-input-suggestion {
|
|
1007
1021
|
position: absolute;
|
|
1008
|
-
z-index: ${
|
|
1022
|
+
z-index: ${ya.floatingZIndex};
|
|
1009
1023
|
top: calc(100% + 2px);
|
|
1010
1024
|
left: -1px;
|
|
1011
1025
|
right: -1px;
|
|
1012
|
-
background: ${
|
|
1013
|
-
border: 1px solid ${
|
|
1014
|
-
border-radius: 0 0 ${
|
|
1015
|
-
box-shadow: ${
|
|
1026
|
+
background: ${ya.colorSurface};
|
|
1027
|
+
border: 1px solid ${ya.colorOutline};
|
|
1028
|
+
border-radius: 0 0 ${ya.borderRadius} ${ya.borderRadius};
|
|
1029
|
+
box-shadow: ${ya.elevation02};
|
|
1016
1030
|
}
|
|
1017
1031
|
|
|
1018
1032
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -1023,7 +1037,7 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
1023
1037
|
padding: 8px;
|
|
1024
1038
|
gap: 8px;
|
|
1025
1039
|
cursor: pointer;
|
|
1026
|
-
color: ${
|
|
1040
|
+
color: ${ya.colorOnSurface};
|
|
1027
1041
|
min-height: 44px;
|
|
1028
1042
|
}
|
|
1029
1043
|
|
|
@@ -1042,35 +1056,35 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
1042
1056
|
}
|
|
1043
1057
|
`
|
|
1044
1058
|
/**
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1059
|
+
* @license
|
|
1060
|
+
* Copyright 2020 Google LLC
|
|
1061
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1062
|
+
*/,{D:cs}=bt,ls=()=>document.createComment(""),fs=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(ls(),i),n=r.insertBefore(ls(),i);o=new cs(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},ps=(t,e,o=t)=>(t._$AI(e,o),t),hs={},us=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},ds=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},ys=jn(class extends Fn{constructor(t){if(super(t),t.type!==An)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],c=[];let l,f,p=0,h=i.length-1,u=0,d=n.length-1;for(;p<=h&&u<=d;)if(null===i[p])p++;else if(null===i[h])h--;else if(s[p]===a[u])c[u]=ps(i[p],n[u]),p++,u++;else if(s[h]===a[d])c[d]=ps(i[h],n[d]),h--,d--;else if(s[p]===a[d])c[d]=ps(i[p],n[d]),fs(t,c[d+1],i[p]),p++,d--;else if(s[h]===a[u])c[u]=ps(i[h],n[u]),fs(t,i[p],i[h]),h--,u++;else if(void 0===l&&(l=ds(a,u,d),f=ds(s,p,h)),l.has(s[p]))if(l.has(s[h])){const e=f.get(a[u]),o=void 0!==e?i[e]:null;if(null===o){const e=fs(t,i[p]);ps(e,n[u]),c[u]=e}else c[u]=ps(o,n[u]),fs(t,i[p],o),i[e]=null;u++}else us(i[h]),h--;else us(i[p]),p++;for(;u<=d;){const e=fs(t,c[d+1]);ps(e,n[u]),c[u++]=e}for(;p<=h;){const t=i[p++];null!==t&&us(t)}return this.dt=a,((t,e=hs)=>{t._$AH=e})(t,c),ot}});var gs=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 bs extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let ms=class extends Va{render(){return se`
|
|
1049
1063
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1050
1064
|
part="container"
|
|
1051
1065
|
@keydown=${t=>this.onSuggestKeyDown(t)}>
|
|
1052
|
-
${
|
|
1066
|
+
${ys(this.suggestResults||[],(t=>t.value),(t=>se`
|
|
1053
1067
|
<a href="#"
|
|
1054
1068
|
part="suggestion"
|
|
1055
1069
|
class="ft-search-input-suggestion--suggestion"
|
|
1056
|
-
@keyup=${
|
|
1057
|
-
@click=${
|
|
1070
|
+
@keyup=${e=>this.onSuggestKeyUp(e,t.value)}
|
|
1071
|
+
@click=${e=>this.onSuggestSelected(e,t.value)}>
|
|
1058
1072
|
<ft-ripple></ft-ripple>
|
|
1059
1073
|
${this.getIcon(t)}
|
|
1060
1074
|
<ft-typography variant="body1">${t.value}</ft-typography>
|
|
1061
1075
|
</a>
|
|
1062
1076
|
`))}
|
|
1063
1077
|
</div>
|
|
1064
|
-
`}onSuggestKeyDown(t){var o,
|
|
1065
|
-
<ft-icon .variant="${
|
|
1066
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};
|
|
1067
|
-
<div class="${
|
|
1078
|
+
`}onSuggestKeyDown(t){var e,o,r,i,n,a;switch(t.key){case"ArrowUp":null===(r=null!==(o=null===(e=this.getFocusedSuggestionElement())||void 0===e?void 0:e.previousElementSibling)&&void 0!==o?o:this.getLastSuggestionElement())||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(i=this.getFocusedSuggestionElement())||void 0===i?void 0:i.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),this.dispatchEvent(new bs(e))}getIcon(t){const e="DOCUMENT"===t.type?ia.file_format:ia.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?ta.BOOK:ta.ARTICLE;break;case"DOCUMENT":o=function(t,e){var o,r,i,n;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[a,s]=((null!==(o=ra.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=oa.get(s))&&void 0!==r?r:oa.get(e))&&void 0!==i?i:oa.get(a))&&void 0!==n?n:ea.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=ta.TOPICS}return se`
|
|
1079
|
+
<ft-icon .variant="${e}" .value="${o}" part="suggestion-icon"></ft-icon>
|
|
1080
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};ms.elementDefinitions={"ft-ripple":Dn,"ft-typography":Gn,"ft-icon":aa},ms.styles=[ze,ss],gs([zr()],ms.prototype,"suggestResults",void 0),ms=gs([(t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})("ft-search-input-suggestion")],ms);var vs=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 xs extends(ts(Va)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(as)}render(){var t,e;let o={"ft-search-input":!0,"ft-search-input--with-suggestions":null!==(e=null===(t=this.suggestResults)||void 0===t?void 0:t.length)&&void 0!==e&&e,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return se`
|
|
1081
|
+
<div class="${Kn(o)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
1068
1082
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1069
1083
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1070
1084
|
<input class="ft-search-input--input ft-typography--body2"
|
|
1071
1085
|
part="input"
|
|
1072
1086
|
type="text"
|
|
1073
|
-
placeholder="${
|
|
1087
|
+
placeholder="${as.messages.placeholder()}"
|
|
1074
1088
|
.value="${this.liveQuery}"
|
|
1075
1089
|
@keydown=${t=>this.onSearchBarKeyDown(t)}
|
|
1076
1090
|
@keyup=${t=>this.onSearchBarKeyUp(t)}>
|
|
@@ -1080,13 +1094,13 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
1080
1094
|
></ft-search-input-suggestion>
|
|
1081
1095
|
</div>
|
|
1082
1096
|
<div class="ft-search-input--actions" part="actions">
|
|
1083
|
-
${this.liveQuery?
|
|
1097
|
+
${this.liveQuery?se`
|
|
1084
1098
|
<ft-button id="clear-button"
|
|
1085
1099
|
class="ft-search-input--clear-query"
|
|
1086
1100
|
part="clear-query"
|
|
1087
1101
|
icon="close"
|
|
1088
1102
|
round dense
|
|
1089
|
-
label="${
|
|
1103
|
+
label="${as.messages.clearButton()}"
|
|
1090
1104
|
@click=${()=>this.liveQuery=""}
|
|
1091
1105
|
></ft-button>
|
|
1092
1106
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1095,9 +1109,9 @@ class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Erro
|
|
|
1095
1109
|
part="launch-search-in-input"
|
|
1096
1110
|
icon="search"
|
|
1097
1111
|
round dense
|
|
1098
|
-
label="${
|
|
1112
|
+
label="${as.messages.searchButton()}"
|
|
1099
1113
|
@click=${()=>this.launchSearch()}
|
|
1100
1114
|
></ft-button>
|
|
1101
1115
|
</div>
|
|
1102
1116
|
</div>
|
|
1103
|
-
`}onSearchBarKeyDown(t){if("ArrowDown"===t.key)t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion()}onSearchBarKeyUp(t){var o
|
|
1117
|
+
`}onSearchBarKeyDown(t){if("ArrowDown"===t.key)t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion()}onSearchBarKeyUp(t){var e,o;"Enter"===t.key?(null===(e=this.stateManager)||void 0===e||e.setQuery(this.input.value),this.forceCloseSuggestion=!0):null===(o=this.stateManager)||void 0===o||o.setLiveQuery(this.input.value)}launchSearch(){var t;null===(t=this.stateManager)||void 0===t||t.setQuery(this.liveQuery),this.forceCloseSuggestion=!0}onSuggestionSelected(t){var e;null===(e=this.stateManager)||void 0===e||e.setQuery(t.detail),this.forceCloseSuggestion=!0}}xs.elementDefinitions={"ft-search-input-suggestion":ms,"ft-button":pa},xs.styles=[un,ga],vs([zr()],xs.prototype,"request",void 0),vs([zr()],xs.prototype,"liveQuery",void 0),vs([zr()],xs.prototype,"suggestResults",void 0),vs([U()],xs.prototype,"forceCloseSuggestion",void 0),vs([k(".ft-search-input--input")],xs.prototype,"input",void 0),vs([k("ft-search-input-suggestion")],xs.prototype,"suggestion",void 0),W("ft-search-input")(xs),t.FtSearchInput=xs,t.FtSearchInputCssVariables=ya,t.styles=ga}({});
|