@fluid-topics/ft-copy-block 1.1.69 → 1.1.71
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-copy-block.light.js +285 -275
- package/build/ft-copy-block.min.js +465 -403
- package/package.json +4 -4
|
@@ -1,147 +1,13 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
3
|
-
* @license
|
|
4
|
-
|
|
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,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||[]);d(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 h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(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?u(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)}},d=(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)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const 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)return r?.call(this,...o);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 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(Xl){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)}}}
|
|
16
|
-
/**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2019 Google LLC
|
|
19
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
|
|
21
|
-
/**
|
|
22
|
-
* @license
|
|
23
|
-
* Copyright 2017 Google LLC
|
|
24
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,y=u?u.emptyScript:"",g=h.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!s(t,o),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;let O=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,o=x){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(h.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
|
-
/**
|
|
27
|
-
* @license
|
|
28
|
-
* Copyright 2017 Google LLC
|
|
29
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
*/
|
|
31
|
-
const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,I="?"+E,$=`<${I}>`,R=document,k=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,_=/"/g,M=/^(?:script|style|textarea|title)$/i,Z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),K=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=R.createTreeWalker(R,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=B;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===B?"!--"===l[1]?a=F:void 0!==l[1]?a=A:void 0!==l[2]?(M.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=j):void 0!==l[3]&&(a=j):a===j?">"===l[0]?(a=i??B,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?j:'"'===l[3]?_:P):a===_||a===P?a=j:a===F||a===A?a=B:(a=j,i=void 0);const p=a===j&&t[o+1].startsWith("/>")?" ":"";n+=a===B?e+$:c>=0?(r.push(s),e.slice(0,c)+N+e.slice(c)+E+p):e+E+(-2===c?o:p)}return[G(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,f]=V(o,e);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(M.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=S?S.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],k()),T.nextNode(),l.push({type:2,index:++n});i.append(t[o],k())}}}else if(8===i.nodeType)if(i.data===I)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=R.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===K)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=L(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Y(t,i._$AS(t,o.values),i,r)),o}let J=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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??R).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new X(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new rt(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=T.nextNode(),n++)}return T.currentNode=R,r}p(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++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),L(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==K&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(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!==D&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){U(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(k()),this.k(k()),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){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,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=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,o,0),n=!L(t)||t!==this._$AH&&t!==K,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[e+a],o,a),s===K&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===D?t=D:t!==D&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===K)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),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)}},rt=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){Y(this,t)}};const it={j:N,P:E,A:I,C:1,M:V,L:J,R:W,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
|
|
32
|
-
/**
|
|
33
|
-
* @license
|
|
34
|
-
* Copyright 2019 Google LLC
|
|
35
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
*/
|
|
37
|
-
const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),ct=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==lt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(st&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=ct.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ct.set(o,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,lt),dt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ft(e,t,lt)},ht=(t,o)=>{if(st)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},ut=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2017 Google LLC
|
|
41
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},It=(t,o)=>!yt(t,o),$t={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:It};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=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,o=$t){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&>(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ut(t))}else void 0!==t&&o.push(ut(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ht(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??It)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Nt("elementProperties")]=new Map,Rt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/
|
|
48
|
-
const kt=globalThis,Lt=kt.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,jt=()=>At.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Mt=t=>_t(t)||"function"==typeof t?.[Symbol.iterator],Zt="[ \t\n\f\r]",Kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(o):o}const io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Kt;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===Kt?"!--"===l[1]?a=Dt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Tt):void 0!==l[3]&&(a=Tt):a===Tt?">"===l[0]?(a=i??Kt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Tt:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Kt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Kt?e+Ft:c>=0?(r.push(s),e.slice(0,c)+Wt+e.slice(c)+zt+p):e+zt+(-2===c?o:p)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{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]=io(t,o);if(this.el=no.createElement(l,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const o=c[n++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:co}),r.removeAttribute(t)}else t.startsWith(zt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Lt?Lt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],jt()),eo.nextNode(),s.push({type:2,index:++i});r.append(t[o],jt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)s.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Pt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ao(t,i._$AS(t,o.values),i,r)),o}let so=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){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let i=eo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new uo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=eo.nextNode(),n++)}return eo.currentNode=At,r}p(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++}},lo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),Pt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Mt(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!==to&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=no.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new so(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new no(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(jt()),this.k(jt()),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){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=to,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=to}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ao(this,t,o,0),n=!Pt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ao(this,r[e+a],o,a),s===Qt&&(s=this._$AH[a]),n||=!Pt(s)||s!==this._$AH[a],s===to?t=to:t!==to&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),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)}},uo=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){ao(this,t)}};const yo={j:Wt,P:zt,A:Bt,C:1,M:io,L:so,R:Mt,V:ao,D:lo,I:co,H:po,N:ho,U:fo,B:uo},go=kt.litHtmlPolyfillSupport;go?.(no,lo),(kt.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new lo(o.insertBefore(jt(),t),t,void 0,e??{})}return i._$AI(t),i
|
|
49
|
-
/**
|
|
50
|
-
* @license
|
|
51
|
-
* Copyright 2017 Google LLC
|
|
52
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/};let mo=class extends Rt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var xo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Rt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:It,nothing:to,render:bo,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
|
|
54
|
-
/**
|
|
55
|
-
* @license
|
|
56
|
-
* Copyright 2017 Google LLC
|
|
57
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
*/const Oo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},wo=(t=Oo,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
|
|
59
|
-
/**
|
|
60
|
-
* @license
|
|
61
|
-
* Copyright 2017 Google LLC
|
|
62
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
*/function So(t){return(o,e)=>"object"==typeof e?wo(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
64
|
-
/**
|
|
65
|
-
* @license
|
|
66
|
-
* Copyright 2017 Google LLC
|
|
67
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/}function Co(t){return So({...t,state:!0,attribute:!1})}
|
|
69
|
-
/**
|
|
70
|
-
* @license
|
|
71
|
-
* Copyright 2017 Google LLC
|
|
72
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/function No(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
|
|
74
|
-
/**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2017 Google LLC
|
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*/const Eo=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
79
|
-
/**
|
|
80
|
-
* @license
|
|
81
|
-
* Copyright 2017 Google LLC
|
|
82
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
|
-
*/;function Io(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return Eo(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return Eo(0,0,{get(){return n(this)}})}}
|
|
84
|
-
/**
|
|
85
|
-
* @license
|
|
86
|
-
* Copyright 2017 Google LLC
|
|
87
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
-
*/let $o;
|
|
89
|
-
/**
|
|
90
|
-
* @license
|
|
91
|
-
* Copyright 2017 Google LLC
|
|
92
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
-
*/
|
|
94
|
-
function Ro(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}var ko=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:So,query:Io,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??($o??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
95
|
-
/**
|
|
96
|
-
* @license
|
|
97
|
-
* Copyright 2017 Google LLC
|
|
98
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
-
*/},queryAssignedElements:
|
|
100
|
-
/**
|
|
101
|
-
* @license
|
|
102
|
-
* Copyright 2021 Google LLC
|
|
103
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
104
|
-
*/
|
|
105
|
-
function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===i?e:e.filter((t=>t.matches(i)))}})}},queryAssignedNodes:Ro,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:wo,state:Co});
|
|
106
|
-
/**
|
|
107
|
-
* @license
|
|
108
|
-
* Copyright 2017 Google LLC
|
|
109
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
*/const Lo=1,Uo=2,Wo=t=>(...o)=>({_$litDirective$:t,values:o});let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
111
|
-
/**
|
|
112
|
-
* @license
|
|
113
|
-
* Copyright 2020 Google LLC
|
|
114
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
*/const{D:Bo}=it,Fo=()=>document.createComment(""),Ao=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Fo(),i),n=r.insertBefore(Fo(),i);e=new Bo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},jo=(t,o,e=t)=>(t._$AI(o,e),t),Po={},_o=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Mo=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Zo=Wo(class extends zo{constructor(t){if(super(t),t.type!==Uo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,d=i.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===i[p])p++;else if(null===i[d])d--;else if(s[p]===a[h])l[h]=jo(i[p],n[h]),p++,h++;else if(s[d]===a[u])l[u]=jo(i[d],n[u]),d--,u--;else if(s[p]===a[u])l[u]=jo(i[p],n[u]),Ao(t,l[u+1],i[p]),p++,u--;else if(s[d]===a[h])l[h]=jo(i[d],n[h]),Ao(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=Mo(a,h,u),f=Mo(s,p,d)),c.has(s[p]))if(c.has(s[d])){const o=f.get(a[h]),e=void 0!==o?i[o]:null;if(null===e){const o=Ao(t,i[p]);jo(o,n[h]),l[h]=o}else l[h]=jo(e,n[h]),Ao(t,i[p],e),i[o]=null;h++}else _o(i[d]),d--;else _o(i[p]),p++;for(;h<=u;){const o=Ao(t,l[u+1]);jo(o,n[h]),l[h++]=o}for(;p<=d;){const t=i[p++];null!==t&&_o(t)}return this.dt=a,((t,o=Po)=>{t._$AH=o})(t,l),K}});
|
|
116
|
-
/**
|
|
117
|
-
* @license
|
|
118
|
-
* Copyright 2017 Google LLC
|
|
119
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
*/var Ko=Object.freeze({__proto__:null,repeat:Zo});
|
|
121
|
-
/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright 2018 Google LLC
|
|
124
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/const Do=Wo(class extends zo{constructor(t){if(super(t),t.type!==Lo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return K}});var Ho=Object.freeze({__proto__:null,classMap:Do});
|
|
126
|
-
/**
|
|
127
|
-
* @license
|
|
128
|
-
* Copyright 2018 Google LLC
|
|
129
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const To="important",Go=" !"+To,Vo=Wo(class extends zo{constructor(t){if(super(t),t.type!==Lo||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Go);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?To:""):e[t]=r}}return K}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
|
|
131
|
-
/**
|
|
132
|
-
* @license
|
|
133
|
-
* Copyright 2017 Google LLC
|
|
134
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/let Yo=class extends zo{constructor(t){if(super(t),this.et=D,t.type!==Uo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===K)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=Wo(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});class re{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 te&&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,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),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)}}var ie=Object.freeze({__proto__:null,CacheRegistry:re});class ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let i=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)));return null==o?i:i.find((t=>t.key===o))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,i;let n=ne.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==n?void 0:n.label)&&void 0!==r?r:null===(i=this.getMetadataDescriptor(t))||void 0===i?void 0:i.label;const s=this.allResults.map((o=>ne.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return s.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){if(null==t)return-1;if(null==o)return 1;let i=this.getMetadataDescriptor(e),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=ne.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,i=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ae=Object.freeze({__proto__:null,ClusteringHelper:ne});class se{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}}var le=Object.freeze({__proto__:null,Debouncer:se});const ce=t=>new Promise((o=>setTimeout(o,t)));async function fe(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ce(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function pe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function de(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!de(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!de(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!de(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var he=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?pe(e):e}},deepEqual:de,delay:ce,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:pe,waitFor:fe,waitUntil:async function(t,o=10,e=2e4){await fe((async()=>await t()||void 0),o,e)}});const ue=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ye(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!de(t,o),...null!=o?o:{}})}function ge(t){return!isNaN(parseFloat(t))}var be=Object.freeze({__proto__:null,customElement:ue,isNumber:ge,jsonProperty:ye,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ge(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const me=t=>"string"==typeof t?pt(t):t;class ve{static create(t,o,e,r){const i=t=>me(null!=t?t:r),n=dt`var(${me(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${me(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=dt`var(${me(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=>dt`var(${me(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):me(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${me(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=>dt`var(${me(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function xe(t,o){return me(`${t.name}: ${o}`)}const Oe={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ve.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:ve.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:ve.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:ve.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:ve.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:ve.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:ve.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:ve.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:ve.create("--ft-shadow-elevation-24","","SHADOW","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)")},we={fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},Se={fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ce={fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ne={fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ee={fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ie={fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$e={fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ke={fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Le={fontFamily:ve.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ve.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ve.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ue={fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},We={fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ze={fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Me={fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},De={fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},He={fontFamily:ve.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Te={fontFamily:ve.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ge={fontFamily:ve.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ve.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ve={display:we,"title-1":Se,"title-2":Ce,"title-3":Ne,"body-1-regular":Ee,"body-1-medium":Ie,"body-1-semibold":$e,"body-2-regular":Re,"body-2-medium":ke,"body-2-medium-underline":Le,"body-2-semibold":Ue,"label-1-medium":We,"label-1-semibold":ze,"label-1-bold":Be,"label-2-medium":Fe,"label-2-semibold":Ae,"label-2-bold":je,"caption-1-medium":Pe,"caption-1-semibold":_e,"caption-1-bold":Me,"caption-2-medium":Ze,"caption-2-semibold":Ke,"caption-2-bold":De,"caption-3-medium":He,"caption-3-semibold":Te,"caption-3-bold":Ge},qe={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oe.colorBrand0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oe.colorRed10),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oe.colorCyan10),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oe.colorOrange10),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oe.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Oe.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oe.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oe.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oe.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oe.colorOrange200),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oe.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oe.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Oe.colorRed70),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oe.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Oe.colorCyan0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oe.colorGreen200),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Oe.colorGreen0),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Oe.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oe.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oe.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oe.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Oe.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oe.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Oe.colorOrange200),borderWarningSubtle:ve.extend("--ft-border-warning-subtle","Used as border for warning components.",Oe.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success buttons.",Oe.colorGreen200),borderSuccessSubtle:ve.extend("--ft-border-success-subtle","Used as border for success components.",Oe.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for text fields in error states.",Oe.colorRed0),borderErrorSubtle:ve.extend("--ft-border-error-subtle","Used as border for error components.",Oe.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for buttons in info color.",Oe.colorCyan200),borderInfoSubtle:ve.extend("--ft-border-info-subtle","Used as border for information components.",Oe.colorCyan30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Oe.colorGray50),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oe.colorGray30),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oe.colorGray80)},Ye={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Oe.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Oe.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Oe.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Oe.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Oe.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Oe.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Oe.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Oe.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",qe.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",qe.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",qe.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",qe.contentGlobalOnColor),primaryHoverStateLayerOpacity:ve.extend("--ft-button-primary-hover-state-layer-opacity","",Oe.opacity16),primaryFocusStateLayerOpacity:ve.extend("--ft-button-primary-focus-state-layer-opacity","",Oe.opacity16),primaryActiveStateLayerOpacity:ve.extend("--ft-button-primary-active-state-layer-opacity","",Oe.opacity24),primaryDisabledComponentOpacity:ve.extend("--ft-button-primary-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",qe.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",qe.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",qe.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",qe.contentActionPrimary),tertiaryHoverStateLayerOpacity:ve.extend("--ft-button-tertiary-hover-state-layer-opacity","",Oe.opacity8),tertiaryFocusStateLayerOpacity:ve.extend("--ft-button-tertiary-focus-state-layer-opacity","",Oe.opacity8),tertiaryActiveStateLayerOpacity:ve.extend("--ft-button-tertiary-active-state-layer-opacity","",Oe.opacity16),tertiaryDisabledComponentOpacity:ve.extend("--ft-button-tertiary-disabled-component-opacity","",Oe.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",qe.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",qe.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",qe.contentActionPrimary),secondaryHoverStateLayerOpacity:ve.extend("--ft-button-secondary-hover-state-layer-opacity","",Oe.opacity8),secondaryFocusStateLayerOpacity:ve.extend("--ft-button-secondary-focus-state-layer-opacity","",Oe.opacity8),secondaryActiveStateLayerOpacity:ve.extend("--ft-button-secondary-active-state-layer-opacity","",Oe.opacity16),secondaryDisabledComponentOpacity:ve.extend("--ft-button-secondary-disabled-component-opacity","",Oe.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",qe.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",qe.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",qe.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",qe.contentGlobalSecondary),neutralHoverStateLayerOpacity:ve.extend("--ft-button-neutral-hover-state-layer-opacity","",Oe.opacity8),neutralFocusStateLayerOpacity:ve.extend("--ft-button-neutral-focus-state-layer-opacity","",Oe.opacity8),neutralActiveStateLayerOpacity:ve.extend("--ft-button-neutral-active-state-layer-opacity","",Oe.opacity16),neutralDisabledComponentOpacity:ve.extend("--ft-button-neutral-disabled-component-opacity","",Oe.opacity40)},Je={iconSize:ve.extend("--ft-banner-icon-size","",Oe.iconSize5),borderWidth:ve.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ve.extend("--ft-banner-horizontal-padding","",Oe.spacing6),verticalPadding:ve.extend("--ft-banner-vertical-padding","",Oe.spacing6),horizontalSideGap:ve.extend("--ft-banner-horizontal-side-gap","",Oe.spacing6),horizontalMobileGap:ve.extend("--ft-banner-horizontal-mobile-gap","",Oe.spacing4),verticalMobileGap:ve.extend("--ft-banner-vertical-mobile-gap","",Oe.spacing6),horizontalMiddleGap:ve.extend("--ft-banner-horizontal-middle-gap","",Oe.spacing20),infoBackgroundColor:ve.extend("--ft-banner-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-banner-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-banner-info-icon-color","",qe.contentInfoIconOnly)},Xe={horizontalGap:ve.extend("--ft-breadcrumb-horizontal-gap","",Oe.spacing1),verticalGap:ve.extend("--ft-breadcrumb-vertical-gap","",Oe.spacing2),currentElementColor:ve.extend("--ft-breadcrumb-current-element-color","",qe.contentGlobalPrimary),iconColor:ve.extend("--ft-breadcrumb-icon-color","",qe.contentGlobalSubtle)},Qe={horizontalPadding:ve.extend("--ft-page-header-horizontal-padding","",Oe.spacing12),horizontalGap:ve.extend("--ft-page-header-horizontal-gap","",Oe.spacing4),verticalGap:ve.extend("--ft-page-header-vertical-gap","",Oe.spacing2),classicVerticalPadding:ve.extend("--ft-page-header-classic-vertical-padding","",Oe.spacing6),multilineVerticalPadding:ve.extend("--ft-page-header-multiline-vertical-padding","",Oe.spacing4),inlineVerticalPadding:ve.extend("--ft-page-header-inline-vertical-padding","",Oe.spacing2),backgroundColor:ve.extend("--ft-page-header-background-color","",Oe.colorWhite),bottomBorderColor:ve.extend("--ft-page-header-bottom-border-color","",qe.borderGlobalSubtle),titleColor:ve.extend("--ft-page-header-title-color","",qe.contentGlobalPrimary),subtitleColor:ve.extend("--ft-page-header-subtitle-color","",qe.contentGlobalSecondary)},tr={smallContainerWidth:ve.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ve.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ve.extend("--ft-modal-overlay-background-color","",Oe.colorGray700),overlayOpacity:ve.extend("--ft-modal-overlay-opacity","",Oe.opacity40),shadow:ve.extend("--ft-modal-shadow","",Oe.shadowElevation03),bodyBackgroundColor:ve.extend("--ft-modal-body-background-color","",Oe.colorWhite),bodyColor:ve.extend("--ft-modal-body-color","",qe.contentGlobalPrimary),bodyHorizontalPadding:ve.extend("--ft-modal-body-horizontal-padding","",Oe.spacing6),bodyVerticalPadding:ve.extend("--ft-modal-body-vertical-padding","",Oe.spacing6),bodyVerticalGap:ve.extend("--ft-modal-body-vertical-gap","",Oe.spacing6),containerMargin:ve.extend("--ft-modal-container-margin","",Oe.spacing3),headerBackgroundColor:ve.extend("--ft-modal-header-background-color","",qe.backgroundGlobalOnSurface),headerBorderColor:ve.extend("--ft-modal-header-border-color","",qe.borderGlobalSubtle),headerColor:ve.extend("--ft-modal-header-color","",qe.contentGlobalPrimary),headerTrailingIconColor:ve.extend("--ft-modal-header-trailing-icon-color","",qe.contentGlobalSecondary),headerVerticalPadding:ve.extend("--ft-modal-header-vertical-padding","",Oe.spacing1),headerRightPadding:ve.extend("--ft-modal-header-right-padding","",Oe.spacing1),headerLeftPadding:ve.extend("--ft-modal-header-left-padding","",Oe.spacing6),headerGap:ve.extend("--ft-modal-header-gap","",Oe.spacing2),headerBorderBottom:ve.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ve.extend("--ft-modal-border-radius","",Oe.borderRadiusM)},or={overlayOpacity:ve.extend("--ft-drawer-overlay-opacity","",Oe.opacity40),shadow:ve.extend("--ft-drawer-shadow","",Oe.shadowElevation03),bodyColor:ve.extend("--ft-drawer-body-color","",qe.contentGlobalPrimary),bodyHorizontalPadding:ve.extend("--ft-drawer-body-horizontal-padding","",Oe.spacing6),bodyVerticalPadding:ve.extend("--ft-drawer-body-vertical-padding","",Oe.spacing6),bodyGap:ve.extend("--ft-drawer-body-gap","",Oe.spacing6),bodyBackgroundColor:ve.extend("--ft-drawer-body-background-color","",Oe.colorWhite),headerBackgroundColor:ve.extend("--ft-drawer-header-background-color","",qe.backgroundGlobalOnSurface),headerBorderColor:ve.extend("--ft-drawer-header-border-color","",qe.borderGlobalSubtle),headerColor:ve.extend("--ft-drawer-header-color","",qe.contentGlobalPrimary),headerTrailingIconColor:ve.extend("--ft-drawer-header-trailing-icon-color","",qe.contentGlobalSecondary),headerHeight:ve.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:ve.extend("--ft-drawer-header-horizontal-padding","",Oe.spacing2),headerBorderWidth:ve.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:ve.extend("--ft-drawer-header-gap","",Oe.spacing3),buttonsBarBackgroundColor:ve.extend("--ft-drawer-buttons-bar-background-color","",qe.backgroundGlobalOnSurface),buttonsBarBorderColor:ve.extend("--ft-drawer-buttons-bar-border-color","",qe.borderGlobalSubtle),buttonsBarColor:ve.extend("--ft-drawer-buttons-bar-color","",qe.contentGlobalPrimary),buttonsBarHorizontalPadding:ve.extend("--ft-drawer-buttons-bar-horizontal-padding","",Oe.spacing4),buttonsBarVerticalPadding:ve.extend("--ft-drawer-buttons-bar-vertical-padding","",Oe.spacing4),buttonsBarGap:ve.extend("--ft-drawer-buttons-bar-gap","",Oe.spacing3),buttonsBarBorderWidth:ve.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:ve.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:ve.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:ve.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:ve.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:ve.extend("--ft-drawer-overlay-background-color","",Oe.colorGray700)},er={fieldHorizontalPadding:ve.extend("--ft-text-input-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-text-input-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-text-input-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-text-input-field-icon-size","",Oe.iconSize3),fieldHeight:ve.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ve.extend("--ft-text-input-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-text-input-helper-horizontal-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-text-input-helper-icon-size","",Oe.iconSize2),borderRadius:ve.extend("--ft-text-input-border-radius","",Oe.borderRadiusM),backgroundColor:ve.extend("--ft-text-input-background-color","",Oe.colorWhite),contentValueColor:ve.extend("--ft-text-input-content-value-color","",qe.contentGlobalPrimary),trailingIconColor:ve.extend("--ft-text-input-trailing-icon-color","",qe.contentGlobalSubtle),labelColor:ve.extend("--ft-text-input-label-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-text-input-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-text-input-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-text-input-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-text-input-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIconColor:ve.extend("--ft-text-input-error-helper-icon-color","",qe.contentErrorIconOnly),warningBorderWidth:ve.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ve.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-text-input-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-text-input-disabled-component-opacity","",Oe.opacity40)},rr={backgroundColor:ve.extend("--ft-text-area-background-color","",Oe.colorWhite),contentValueColor:ve.extend("--ft-text-area-content-value-color","",qe.contentGlobalPrimary),labelColor:ve.extend("--ft-text-area-label-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-text-area-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-text-area-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-text-area-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-text-area-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIconColor:ve.extend("--ft-text-area-error-helper-icon-color","",qe.contentErrorIconOnly),focusFocusRingColor:ve.extend("--ft-text-area-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ve.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-text-area-disabled-component-opacity","",Oe.opacity40),fieldHorizontalLeftPadding:ve.extend("--ft-text-area-field-horizontal-left-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-text-area-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-text-area-field-vertical-gap","",Oe.spacing05),fieldMinHeight:ve.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ve.extend("--ft-text-area-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-text-area-helper-horizontal-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-text-area-helper-icon-size","",Oe.iconSize2),borderRadius:ve.extend("--ft-text-area-border-radius","",Oe.borderRadiusM)},ir={height:ve.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ve.extend("--ft-floating-menu-horizontal-padding","",Oe.spacing4),offIconColor:ve.extend("--ft-floating-menu-off-icon-color","",qe.contentGlobalPrimary),offColor:ve.extend("--ft-floating-menu-off-color","",qe.contentGlobalPrimary),onColor:ve.extend("--ft-floating-menu-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-floating-menu-on-state-layer-color","",qe.contentActionPrimary),gap:ve.extend("--ft-floating-menu-gap","",Oe.spacing3),focusFocusRingColor:ve.extend("--ft-floating-menu-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ve.extend("--ft-floating-menu-focus-state-layer-opacity","",Oe.opacity8),hoverStateLayerOpacity:ve.extend("--ft-floating-menu-hover-state-layer-opacity","",Oe.opacity8),activeStateLayerOpacity:ve.extend("--ft-floating-menu-active-state-layer-opacity","",Oe.opacity16),disabledComponentOpacity:ve.extend("--ft-floating-menu-disabled-component-opacity","",Oe.opacity40),iconSize:ve.extend("--ft-floating-menu-icon-size","",Oe.iconSize3),backgroundColor:ve.extend("--ft-floating-menu-background-color","",qe.backgroundGlobalOnSurface)},nr={fieldHorizontalPadding:ve.extend("--ft-combobox-single-select-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-combobox-single-select-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-combobox-single-select-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-combobox-single-select-field-icon-size","",Oe.iconSize3),fieldHeight:ve.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ve.extend("--ft-combobox-single-select-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-combobox-single-select-helper-horizontal-gap","",Oe.spacing1),helperVerticalGap:ve.extend("--ft-combobox-single-select-helper-vertical-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-combobox-single-select-helper-icon-size","",Oe.iconSize2),menuVerticalGap:ve.extend("--ft-combobox-single-select-menu-vertical-gap","",Oe.spacing2),borderRadius:ve.extend("--ft-combobox-single-select-border-radius","",Oe.borderRadiusM),backgroundColor:ve.extend("--ft-combobox-single-select-background-color","",Oe.colorWhite),labelColor:ve.extend("--ft-combobox-single-select-label-color","",qe.contentGlobalSubtle),contentValueColor:ve.extend("--ft-combobox-single-select-content-value-color","",qe.contentGlobalPrimary),trailingIconColor:ve.extend("--ft-combobox-single-select-trailing-icon-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-combobox-single-select-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-combobox-single-select-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ve.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ve.extend("--ft-combobox-single-select-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-combobox-single-select-error-helper-text-color","",qe.contentErrorPrimary),warningBorderWidth:ve.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ve.extend("--ft-combobox-single-select-warning-border-color","",qe.borderWarningPrimary),warningHelperTextColor:ve.extend("--ft-combobox-single-select-warning-helper-text-color","",qe.contentWarningPrimary),warningHelperIconColor:ve.extend("--ft-combobox-single-select-warning-helper-icon-color","",qe.contentWarningIconOnly),focusOutlineWidth:ve.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-combobox-single-select-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-combobox-single-select-disabled-component-opacity","",Oe.opacity40)},ar={backgroundColor:ve.extend("--ft-combobox-multi-select-background-color","",Oe.colorWhite),labelColor:ve.extend("--ft-combobox-multi-select-label-color","",qe.contentGlobalSubtle),trailingIconColor:ve.extend("--ft-combobox-multi-select-trailing-icon-color","",qe.contentGlobalSubtle),defaultBorderColor:ve.extend("--ft-combobox-multi-select-default-border-color","",qe.borderInputPrimary),defaultHelperTextColor:ve.extend("--ft-combobox-multi-select-default-helper-text-color","",qe.contentGlobalSubtle),defaultBorderWidth:ve.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ve.extend("--ft-combobox-multi-select-error-border-color","",qe.borderErrorPrimary),errorHelperTextColor:ve.extend("--ft-combobox-multi-select-error-helper-text-color","",qe.contentErrorPrimary),errorHelperIcon:ve.extend("--ft-combobox-multi-select-error-helper-icon","",qe.contentErrorIconOnly),errorBorderWidth:ve.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ve.extend("--ft-combobox-multi-select-warning-border-color","",qe.borderWarningPrimary),warningHelperTextColor:ve.extend("--ft-combobox-multi-select-warning-helper-text-color","",qe.contentWarningPrimary),warningHelperIconColor:ve.extend("--ft-combobox-multi-select-warning-helper-icon-color","",qe.contentWarningIconOnly),warningBorderWidth:ve.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-combobox-multi-select-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineWidth:ve.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ve.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ve.extend("--ft-combobox-multi-select-disabled-component-opacity","",Oe.opacity40),helperHorizontalPadding:ve.extend("--ft-combobox-multi-select-helper-horizontal-padding","",Oe.spacing4),helperHorizontalGap:ve.extend("--ft-combobox-multi-select-helper-horizontal-gap","",Oe.spacing1),helperVerticalGap:ve.extend("--ft-combobox-multi-select-helper-vertical-gap","",Oe.spacing1),helperIconSize:ve.extend("--ft-combobox-multi-select-helper-icon-size","",Oe.iconSize2),fieldHorizontalPadding:ve.extend("--ft-combobox-multi-select-field-horizontal-padding","",Oe.spacing4),fieldHorizontalGap:ve.extend("--ft-combobox-multi-select-field-horizontal-gap","",Oe.spacing3),fieldVerticalGap:ve.extend("--ft-combobox-multi-select-field-vertical-gap","",Oe.spacing05),fieldIconSize:ve.extend("--ft-combobox-multi-select-field-icon-size","",Oe.iconSize3),fieldMaxHeight:ve.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ve.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",Oe.spacing1),contentValuesVerticalGap:ve.extend("--ft-combobox-multi-select-content-values-vertical-gap","",Oe.spacing1),borderRadius:ve.extend("--ft-combobox-multi-select-border-radius","",Oe.borderRadiusM)},sr={backgroundColor:ve.extend("--ft-popover-background-color","",qe.backgroundGlobalOnSurface),horizontalPadding:ve.extend("--ft-popover-horizontal-padding","",Oe.spacing6),verticalPadding:ve.extend("--ft-popover-vertical-padding","",Oe.spacing6),iconColor:ve.extend("--ft-popover-icon-color","",qe.contentGlobalSecondary),iconSize:ve.extend("--ft-popover-icon-size","",Oe.iconSize2),titleColor:ve.extend("--ft-popover-title-color","",qe.contentGlobalPrimary),bodyColor:ve.extend("--ft-popover-body-color","",qe.contentGlobalSecondary),linkColor:ve.extend("--ft-popover-link-color","",qe.contentActionPrimary),gap:ve.extend("--ft-popover-gap","",Oe.spacing3),borderRadius:ve.extend("--ft-popover-border-radius","",Oe.borderRadiusM),shadow:ve.extend("--ft-popover-shadow","",Oe.shadowElevation02)},lr={topLeftBorderRadius:ve.extend("--ft-tabs-top-left-border-radius","",Oe.borderRadiusS),topRightBorderRadius:ve.extend("--ft-tabs-top-right-border-radius","",Oe.borderRadiusS),labelHorizontalPadding:ve.extend("--ft-tabs-label-horizontal-padding","",Oe.spacing4),labelVerticalPadding:ve.extend("--ft-tabs-label-vertical-padding","",Oe.spacing3),labelGap:ve.extend("--ft-tabs-label-gap","",Oe.spacing1),offHoverStateLayerOpacity:ve.extend("--ft-tabs-off-hover-state-layer-opacity","",Oe.opacity8),offFocusStateLayerOpacity:ve.extend("--ft-tabs-off-focus-state-layer-opacity","",Oe.opacity8),offActiveStateLayerOpacity:ve.extend("--ft-tabs-off-active-state-layer-opacity","",Oe.opacity16),offDisabledComponentOpacity:ve.extend("--ft-tabs-off-disabled-component-opacity","",Oe.opacity40),offColor:ve.extend("--ft-tabs-off-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-tabs-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-tabs-on-hover-state-layer-opacity","",Oe.opacity8),onFocusStateLayerOpacity:ve.extend("--ft-tabs-on-focus-state-layer-opacity","",Oe.opacity8),onActiveStateLayerOpacity:ve.extend("--ft-tabs-on-active-state-layer-opacity","",Oe.opacity16),onDisabledComponentOpacity:ve.extend("--ft-tabs-on-disabled-component-opacity","",Oe.opacity40),onColor:ve.extend("--ft-tabs-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-tabs-on-state-layer-color","",qe.contentActionPrimary),iconHorizontalPadding:ve.extend("--ft-tabs-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:ve.extend("--ft-tabs-icon-vertical-padding","",Oe.spacing4),focusOutlineWidth:ve.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-tabs-focus-focus-ring-color","",qe.borderActionFocusRing)},cr={hoverStateLayerOpacity:ve.extend("--ft-collapsible-hover-state-layer-opacity","",Oe.opacity8),focusStateLayerOpacity:ve.extend("--ft-collapsible-focus-state-layer-opacity","",Oe.opacity8),focusOutlineWidth:ve.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ve.extend("--ft-collapsible-focus-focus-ring-color","",qe.borderActionFocusRing),activeStateLayerOpacity:ve.extend("--ft-collapsible-active-state-layer-opacity","",Oe.opacity16),disabledComponentOpacity:ve.extend("--ft-collapsible-disabled-component-opacity","",Oe.opacity40),horizontalPadding:ve.extend("--ft-collapsible-horizontal-padding","",Oe.spacing4),verticalPadding:ve.extend("--ft-collapsible-vertical-padding","",Oe.spacing3),color:ve.extend("--ft-collapsible-color","",qe.contentGlobalPrimary),stateLayerColor:ve.extend("--ft-collapsible-state-layer-color","",qe.contentGlobalPrimary),backgroundColor:ve.extend("--ft-collapsible-background-color","",qe.backgroundGlobalOnSurface),borderColor:ve.extend("--ft-collapsible-border-color","",qe.borderGlobalSubtle),iconSize:ve.extend("--ft-collapsible-icon-size","",Oe.iconSize3)},fr={groupHorizontalPadding:ve.extend("--ft-switch-group-horizontal-padding","",Oe.spacing1),groupVerticalPadding:ve.extend("--ft-switch-group-vertical-padding","",Oe.spacing1),groupGap:ve.extend("--ft-switch-group-gap","",Oe.spacing1),groupBackgroundColor:ve.extend("--ft-switch-group-background-color","",qe.backgroundGlobalSurface),groupBorderColor:ve.extend("--ft-switch-group-border-color","",qe.borderGlobalSubtle),groupBorderRadius:ve.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ve.extend("--ft-switch-label-horizontal-padding","",Oe.spacing2),labelVerticalPadding:ve.extend("--ft-switch-label-vertical-padding","",Oe.spacing1),offHoverStateLayerOpacity:ve.extend("--ft-switch-off-hover-state-layer-opacity","",Oe.opacity8),offFocusStateLayerOpacity:ve.extend("--ft-switch-off-focus-state-layer-opacity","",Oe.opacity8),offActiveStateLayerOpacity:ve.extend("--ft-switch-off-active-state-layer-opacity","",Oe.opacity16),offDisabledComponentOpacity:ve.extend("--ft-switch-off-disabled-component-opacity","",Oe.opacity40),offColor:ve.extend("--ft-switch-off-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-switch-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-switch-on-hover-state-layer-opacity","",Oe.opacity8),onFocusStateLayerOpacity:ve.extend("--ft-switch-on-focus-state-layer-opacity","",Oe.opacity8),onActiveStateLayerOpacity:ve.extend("--ft-switch-on-active-state-layer-opacity","",Oe.opacity16),onDisabledComponentOpacity:ve.extend("--ft-switch-on-disabled-component-opacity","",Oe.opacity40),onColor:ve.extend("--ft-switch-on-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-switch-on-state-layer-color","",qe.contentActionPrimary),iconHorizontalPadding:ve.extend("--ft-switch-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:ve.extend("--ft-switch-icon-vertical-padding","",Oe.spacing1),focusOutlineWidth:ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ve.extend("--ft-switch-focus-focus-ring-color","",qe.borderActionFocusRing),optionBorderRadius:ve.extend("--ft-switch-option-border-radius","",Oe.borderRadiusS)},pr={color1Light:ve.extend("--ft-chart-1-light","for area color charts",Oe.colorBrand40),color1Base:ve.extend("--ft-chart-1-base","for line charts",Oe.colorBrand0),color2Light:ve.extend("--ft-chart-2-light","for area color charts",Oe.colorYellow60),color2Base:ve.extend("--ft-chart-2-base","for line charts",Oe.colorYellow100),color3Light:ve.extend("--ft-chart-3-light","",Oe.colorUltramarine40),color3Base:ve.extend("--ft-chart-3-base","",Oe.colorUltramarine70),color4Light:ve.extend("--ft-chart-4-light","",Oe.colorCyan50),color4Base:ve.extend("--ft-chart-4-base","",Oe.colorCyan100),color5Light:ve.extend("--ft-chart-5-light","",Oe.colorRed40),color5Base:ve.extend("--ft-chart-5-base","",Oe.colorRed60),color6Light:ve.extend("--ft-chart-6-light","",Oe.colorGreen40),color6Base:ve.extend("--ft-chart-6-base","",Oe.colorGreen70),color7Light:ve.extend("--ft-chart-7-light","",Oe.colorOrange70),color7Base:ve.extend("--ft-chart-7-base","",Oe.colorOrange100),color8Light:ve.extend("--ft-chart-8-light","",Oe.colorAvocado70),color8Base:ve.extend("--ft-chart-8-base","",Oe.colorAvocado200),color9Light:ve.extend("--ft-chart-9-light","",Oe.colorBrown50),color9Base:ve.extend("--ft-chart-9-base","",Oe.colorBrown200),color10Light:ve.extend("--ft-chart-10-light","",Oe.colorGray50),color10Base:ve.extend("--ft-chart-10-base","",Oe.colorGray80),monochrome10:ve.extend("--ft-chart-monochrome-10","",Oe.colorBrand10),monochrome20:ve.extend("--ft-chart-monochrome-20","",Oe.colorBrand20),monochrome30:ve.extend("--ft-chart-monochrome-30","",Oe.colorBrand40),monochrome40:ve.extend("--ft-chart-monochrome-40","",Oe.colorBrand60),monochrome50:ve.extend("--ft-chart-monochrome-50","",Oe.colorBrand0),monochrome60:ve.extend("--ft-chart-monochrome-60","",Oe.colorBrand200)},dr={largeHorizontalPadding:ve.extend("--ft-chip-large-horizontal-padding","",Oe.spacing4),largeVerticalPadding:ve.extend("--ft-chip-large-vertical-padding","",Oe.spacing2),largeGap:ve.extend("--ft-chip-large-gap","",Oe.spacing1),largeFocusOutlineOffset:ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ve.extend("--ft-chip-large-border-radius","",Oe.borderRadiusPill),largeBorderWidth:ve.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ve.extend("--ft-chip-large-icon-size","",Oe.iconSize3),mediumHorizontalPadding:ve.extend("--ft-chip-medium-horizontal-padding","",Oe.spacing3),mediumVerticalPadding:ve.extend("--ft-chip-medium-vertical-padding","",Oe.spacing1),mediumGap:ve.extend("--ft-chip-medium-gap","",Oe.spacing1),mediumFocusOutlineOffset:ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ve.extend("--ft-chip-medium-border-radius","",Oe.borderRadiusPill),mediumBorderWidth:ve.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ve.extend("--ft-chip-medium-icon-size","",Oe.iconSize2),smallHorizontalPadding:ve.extend("--ft-chip-small-horizontal-padding","",Oe.spacing2),smallVerticalPadding:ve.extend("--ft-chip-small-vertical-padding","",Oe.spacing05),smallGap:ve.extend("--ft-chip-small-gap","",Oe.spacing1),smallFocusOutlineOffset:ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ve.extend("--ft-chip-small-border-radius","",Oe.borderRadiusPill),smallBorderWidth:ve.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ve.extend("--ft-chip-small-icon-size","",Oe.iconSize1),neutralBackgroundColor:ve.extend("--ft-chip-neutral-background-color","",qe.backgroundGlobalOnSurface),neutralColor:ve.extend("--ft-chip-neutral-color","",qe.contentGlobalPrimary),neutralIconColor:ve.extend("--ft-chip-neutral-icon-color","",qe.contentGlobalPrimary),neutralBorderColor:ve.extend("--ft-chip-neutral-border-color","",qe.borderGlobalSubtle),infoBackgroundColor:ve.extend("--ft-chip-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-chip-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-chip-info-icon-color","",qe.contentInfoIconOnly),infoBorderColor:ve.extend("--ft-chip-info-border-color","",qe.borderInfoSubtle),successBackgroundColor:ve.extend("--ft-chip-success-background-color","",qe.backgroundSuccessSubtle),successColor:ve.extend("--ft-chip-success-color","",qe.contentSuccessPrimary),successIconColor:ve.extend("--ft-chip-success-icon-color","",qe.contentSuccessIconOnly),successBorderColor:ve.extend("--ft-chip-success-border-color","",qe.borderSuccessSubtle),warningBackgroundColor:ve.extend("--ft-chip-warning-background-color","",qe.backgroundWarningSubtle),warningColor:ve.extend("--ft-chip-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-chip-warning-icon-color","",qe.contentWarningIconOnly),warningBorderColor:ve.extend("--ft-chip-warning-border-color","",qe.borderWarningSubtle),errorBackgroundColor:ve.extend("--ft-chip-error-background-color","",qe.backgroundErrorSubtle),errorColor:ve.extend("--ft-chip-error-color","",qe.contentErrorPrimary),errorIconColor:ve.extend("--ft-chip-error-icon-color","",qe.contentErrorIconOnly),errorBorderColor:ve.extend("--ft-chip-error-border-color","",qe.borderErrorSubtle)},hr={infoBorderColor:ve.extend("--ft-border-info-border-color","",qe.borderInfoSubtle)},ur={borderWidth:ve.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ve.extend("--ft-notice-horizontal-padding","",Oe.spacing2),verticalPadding:ve.extend("--ft-notice-vertical-padding","",Oe.spacing1),borderRadius:ve.extend("--ft-notice-border-radius","",Oe.borderRadiusS),gap:ve.extend("--ft-notice-gap","",Oe.spacing2),iconSize:ve.extend("--ft-notice-icon-size","",Oe.iconSize3),infoBackgroundColor:ve.extend("--ft-notice-info-background-color","",qe.backgroundInfoSubtle),infoBorderColor:ve.extend("--ft-notice-info-border-color","",qe.borderInfoSubtle),infoColor:ve.extend("--ft-notice-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-notice-info-icon-color","",qe.contentInfoIconOnly),warningBackgroundColor:ve.extend("--ft-notice-warning-background-color","",qe.backgroundWarningSubtle),warningBorderColor:ve.extend("--ft-notice-warning-border-color","",qe.borderWarningSubtle),warningColor:ve.extend("--ft-notice-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-notice-warning-icon-color","",qe.contentWarningIconOnly),errorBackgroundColor:ve.extend("--ft-notice-error-background-color","",qe.backgroundErrorSubtle),errorBorderColor:ve.extend("--ft-notice-error-border-color","",qe.borderErrorSubtle),errorColor:ve.extend("--ft-notice-error-color","",qe.contentErrorPrimary),errorIconColor:ve.extend("--ft-notice-error-icon-color","",qe.contentErrorIconOnly),successBackgroundColor:ve.extend("--ft-notice-success-background-color","",qe.backgroundSuccessSubtle),successBorderColor:ve.extend("--ft-notice-success-border-color","",qe.borderSuccessSubtle),successColor:ve.extend("--ft-notice-success-color","",qe.contentSuccessPrimary),successIconColor:ve.extend("--ft-notice-success-icon-color","",qe.contentSuccessIconOnly)},yr={color:ve.extend("--ft-checkbox-color","",qe.contentGlobalPrimary),checkedBackgroundColor:ve.extend("--ft-checkbox-checked-background-color","",qe.contentActionPrimary),checkedStateLayerColor:ve.extend("--ft-checkbox-checked-state-layer-color","",qe.contentActionPrimary),checkedIconColor:ve.extend("--ft-checkbox-checked-icon-color","",qe.contentGlobalOnColor),checkedHoverStateLayerOpacity:ve.extend("--ft-checkbox-checked-hover-state-layer-opacity","",Oe.opacity16),checkedFocusStateLayerOpacity:ve.extend("--ft-checkbox-checked-focus-state-layer-opacity","",Oe.opacity16),checkedActiveStateLayerOpacity:ve.extend("--ft-checkbox-checked-active-state-layer-opacity","",Oe.opacity24),checkedDisabledComponentOpacity:ve.extend("--ft-checkbox-checked-disabled-component-opacity","",Oe.opacity40),uncheckedBorderColor:ve.extend("--ft-checkbox-unchecked-border-color","",Oe.colorGray80),uncheckedStateLayerColor:ve.extend("--ft-checkbox-unchecked-state-layer-color","",Oe.colorGray80),uncheckedHoverStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",Oe.opacity16),uncheckedFocusStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",Oe.opacity16),uncheckedActiveStateLayerOpacity:ve.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",Oe.opacity24),uncheckedDisabledComponentOpacity:ve.extend("--ft-checkbox-unchecked-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-checkbox-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ve.extend("--ft-checkbox-gap","",Oe.spacing3)},gr={offHoverStateLayerOpacity:ve.extend("--ft-toggle-off-hover-state-layer-opacity","",Oe.opacity16),offFocusStateLayerOpacity:ve.extend("--ft-toggle-off-focus-state-layer-opacity","",Oe.opacity16),offActiveStateLayerOpacity:ve.extend("--ft-toggle-off-active-state-layer-opacity","",Oe.opacity24),offDisabledComponentOpacity:ve.extend("--ft-toggle-off-disabled-component-opacity","",Oe.opacity40),offBackgroundColor:ve.extend("--ft-toggle-off-background-color","",qe.contentGlobalSubtle),offIconColor:ve.extend("--ft-toggle-off-icon-color","",qe.contentGlobalSubtle),offStateLayerColor:ve.extend("--ft-toggle-off-state-layer-color","",qe.contentGlobalSubtle),onHoverStateLayerOpacity:ve.extend("--ft-toggle-on-hover-state-layer-opacity","",Oe.opacity16),onFocusStateLayerOpacity:ve.extend("--ft-toggle-on-focus-state-layer-opacity","",Oe.opacity16),onActiveStateLayerOpacity:ve.extend("--ft-toggle-on-active-state-layer-opacity","",Oe.opacity24),onDisabledComponentOpacity:ve.extend("--ft-toggle-on-disabled-component-opacity","",Oe.opacity40),onBackgroundColor:ve.extend("--ft-toggle-on-background-color","",qe.contentActionPrimary),onStateLayerColor:ve.extend("--ft-toggle-on-state-layer-color","",qe.contentActionPrimary),onIconColor:ve.extend("--ft-toggle-on-icon-color","",qe.contentActionPrimary),color:ve.extend("--ft-toggle-color","",qe.contentGlobalPrimary),focusFocusRingColor:ve.extend("--ft-toggle-focus-focus-ring-color","",qe.borderActionFocusRing),gap:ve.extend("--ft-toggle-gap","",Oe.spacing3)},br={color:ve.extend("--ft-radio-color","",qe.contentGlobalPrimary),selectedRadioColor:ve.extend("--ft-radio-selected-radio-color","",qe.contentActionPrimary),selectedStateLayerColor:ve.extend("--ft-radio-selected-state-layer-color","",qe.contentActionPrimary),selectedHoverStateLayerOpacity:ve.extend("--ft-radio-selected-hover-state-layer-opacity","",Oe.opacity16),selectedFocusStateLayerOpacity:ve.extend("--ft-radio-selected-focus-state-layer-opacity","",Oe.opacity16),selectedActiveStateLayerOpacity:ve.extend("--ft-radio-selected-active-state-layer-opacity","",Oe.opacity24),selectedDisabledComponentOpacity:ve.extend("--ft-radio-selected-disabled-component-opacity","",Oe.opacity40),unselectedStateLayerColor:ve.extend("--ft-radio-unselected-state-layer-color","",qe.borderInputPrimary),unselectedBorderColor:ve.extend("--ft-radio-unselected-border-color","",qe.borderInputPrimary),unselectedHoverStateLayerOpacity:ve.extend("--ft-radio-unselected-hover-state-layer-opacity","",Oe.opacity16),unselectedFocusStateLayerOpacity:ve.extend("--ft-radio-unselected-focus-state-layer-opacity","",Oe.opacity16),unselectedActiveStateLayerOpacity:ve.extend("--ft-radio-unselected-active-state-layer-opacity","",Oe.opacity24),unselectedDisabledComponentOpacity:ve.extend("--ft-radio-unselected-disabled-component-opacity","",Oe.opacity40),focusFocusRingColor:ve.extend("--ft-radio-focus-focus-ring-color","",qe.borderActionFocusRing),focusOutlineOffset:ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ve.extend("--ft-radio-gap","",Oe.spacing3)},mr={iconSize:ve.extend("--ft-notification-icon-size","",Oe.iconSize4),horizontalPadding:ve.extend("--ft-notification-horizontal-padding","",Oe.spacing4),verticalPadding:ve.extend("--ft-notification-vertical-padding","",Oe.spacing4),infoBackgroundColor:ve.extend("--ft-notification-info-background-color","",qe.backgroundInfoSubtle),infoColor:ve.extend("--ft-notification-info-color","",qe.contentInfoPrimary),infoIconColor:ve.extend("--ft-notification-info-icon-color","",qe.contentInfoIconOnly),infoBorderColor:ve.extend("--ft-notification-info-border-color","",qe.borderInfoSubtle),successBackgroundColor:ve.extend("--ft-notification-success-background-color","",qe.backgroundSuccessSubtle),successColor:ve.extend("--ft-notification-success-color","",qe.contentSuccessPrimary),successIconColor:ve.extend("--ft-notification-success-icon-color","",qe.contentSuccessIconOnly),successBorderColor:ve.extend("--ft-notification-success-border-color","",qe.borderSuccessSubtle),warningBackgroundColor:ve.extend("--ft-notification-warning-background-color","",qe.backgroundWarningSubtle),warningColor:ve.extend("--ft-notification-warning-color","",qe.contentWarningPrimary),warningIconColor:ve.extend("--ft-notification-warning-icon-color","",qe.contentWarningIconOnly),warningBorderColor:ve.extend("--ft-notification-warning-border-color","",qe.borderWarningSubtle),errorBackgroundColor:ve.extend("--ft-notification-error-background-color","",qe.backgroundErrorSubtle),errorColor:ve.extend("--ft-notification-error-color","",qe.contentErrorPrimary),errorIconColor:ve.extend("--ft-notification-error-icon-color","",qe.contentErrorIconOnly),errorBorderColor:ve.extend("--ft-notification-error-border-color","",qe.borderErrorSubtle),borderRadius:ve.extend("--ft-notification-border-radius","",Oe.borderRadiusPill),borderWidth:ve.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ve.extend("--ft-notification-leading-gap","",Oe.spacing2),trailingGap:ve.extend("--ft-notification-trailing-gap","",Oe.spacing8)},vr={horizontalPadding:ve.extend("--ft-tooltip-horizontal-padding","",Oe.spacing2),verticalPadding:ve.extend("--ft-tooltip-vertical-padding","",Oe.spacing2),borderRadius:ve.extend("--ft-tooltip-border-radius","",Oe.borderRadiusS),color:ve.extend("--ft-tooltip-color","",qe.contentGlobalOnColor),backgroundColor:ve.extend("--ft-tooltip-background-color","",qe.contentGlobalPrimary),backgroundOpacity:ve.extend("--ft-tooltip-background-opacity","",Oe.opacity80),shadow:ve.extend("--ft-tooltip-shadow","",Oe.shadowElevation03),maxWidth:ve.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ve.extend("--ft-tooltip-gap","",Oe.spacing05)};var xr=Object.freeze({__proto__:null,FtCssVariableFactory:ve,banner:Je,border:hr,breadcrumb:Xe,button:Ye,chart:pr,checkbox:yr,chip:dr,collapsible:cr,comboboxMultiSelect:ar,comboboxSingleSelect:nr,drawer:or,floatingMenu:ir,foundation:Oe,modal:tr,notice:ur,notification:mr,pageHeader:Qe,popover:sr,radio:br,semantic:qe,setVariable:xe,switch_:fr,tabs:lr,textArea:rr,textInput:er,toggle:gr,tooltip:vr,typographies:Ve,typographyBody1Medium:Ie,typographyBody1Regular:Ee,typographyBody1Semibold:$e,typographyBody2Medium:ke,typographyBody2MediumUnderline:Le,typographyBody2Regular:Re,typographyBody2Semibold:Ue,typographyCaption1Bold:Me,typographyCaption1Medium:Pe,typographyCaption1Semibold:_e,typographyCaption2Bold:De,typographyCaption2Medium:Ze,typographyCaption2Semibold:Ke,typographyCaption3Bold:Ge,typographyCaption3Medium:He,typographyCaption3Semibold:Te,typographyDisplay:we,typographyLabel1Bold:Be,typographyLabel1Medium:We,typographyLabel1Semibold:ze,typographyLabel2Bold:je,typographyLabel2Medium:Fe,typographyLabel2Semibold:Ae,typographyTitle1:Se,typographyTitle2:Ce,typographyTitle3:Ne,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const Or={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var wr=Object.freeze({__proto__:null,designSystemVariables:Or});class Sr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Cr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Nr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Er=Object.freeze({__proto__:null,FtNotificationEvent:Sr,PostResizeEvent:Nr,PreResizeEvent:Cr});const Ir=["start","end"],$r=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ir[0],o+"-"+Ir[1])),[]),Rr=Math.min,kr=Math.max,Lr=Math.round,Ur=t=>({x:t,y:t}),Wr={left:"right",right:"left",bottom:"top",top:"bottom"},zr={start:"end",end:"start"};function Br(t,o,e){return kr(t,Rr(o,e))}function Fr(t,o){return"function"==typeof t?t(o):t}function Ar(t){return t.split("-")[0]}function jr(t){return t.split("-")[1]}function Pr(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Mr(t){return["top","bottom"].includes(Ar(t))?"y":"x"}function Zr(t){return Pr(Mr(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Wr[t]))}function Dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Hr(t,o,e){let{reference:r,floating:i}=t;const n=Mr(o),a=Zr(o),s=_r(a),l=Ar(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(jr(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function Tr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Fr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=s[d?"floating"===p?"reference":"floating":p],g=Dr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Dr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function Gr(t,o,e){return(t?[...e.filter((o=>jr(o)===t)),...e.filter((o=>jr(o)!==t))]:e.filter((t=>Ar(t)===t))).filter((e=>!t||(jr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zr[t]))}(e)!==e)))}const Vr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=$r,autoAlignment:h=!0,...u}=Fr(t,o),y=void 0!==p||d===$r?Gr(p||null,h,d):d,g=await Tr(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=jr(t),i=Zr(t),n=_r(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Kr(a)),[a,Kr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Ar(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=jr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,jr(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function qr(t){return Xr(t)?(t.nodeName||"").toLowerCase():"#document"}function Yr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Jr(t){var o;return null==(o=(Xr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Xr(t){return t instanceof Node||t instanceof Yr(t).Node}function Qr(t){return t instanceof Element||t instanceof Yr(t).Element}function ti(t){return t instanceof HTMLElement||t instanceof Yr(t).HTMLElement}function oi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Yr(t).ShadowRoot)}function ei(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=si(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ri(t){return["table","td","th"].includes(qr(t))}function ii(t){const o=ni(),e=si(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ni(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ai(t){return["html","body","#document"].includes(qr(t))}function si(t){return Yr(t).getComputedStyle(t)}function li(t){return Qr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ci(t){if("html"===qr(t))return t;const o=t.assignedSlot||t.parentNode||oi(t)&&t.host||Jr(t);return oi(o)?o.host:o}function fi(t){const o=ci(t);return ai(o)?t.ownerDocument?t.ownerDocument.body:t.body:ti(o)&&ei(o)?o:fi(o)}function pi(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=fi(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Yr(i);return n?o.concat(a,a.visualViewport||[],ei(i)?i:[],a.frameElement&&e?pi(a.frameElement):[]):o.concat(i,pi(i,[],e))}function di(t){const o=si(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=ti(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Lr(e)!==n||Lr(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function hi(t){return Qr(t)?t:t.contextElement}function ui(t){const o=hi(t);if(!ti(o))return Ur(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=di(o);let a=(n?Lr(e.width):e.width)/r,s=(n?Lr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const yi=Ur(0);function gi(t){const o=Yr(t);return ni()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:yi}function bi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=hi(t);let a=Ur(1);o&&(r?Qr(r)&&(a=ui(r)):a=ui(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Yr(t))&&o}(n,e,r)?gi(n):Ur(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Yr(n),o=r&&Qr(r)?Yr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=ui(e),o=e.getBoundingClientRect(),r=si(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,e=Yr(e).frameElement}}return Dr({width:f,height:p,x:l,y:c})}function mi(t){return bi(Jr(t)).left+li(t).scrollLeft}function vi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Yr(t),r=Jr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=ni();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Jr(t),e=li(t),r=t.ownerDocument.body,i=kr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=kr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+mi(t);const s=-e.scrollTop;return"rtl"===si(r).direction&&(a+=kr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Jr(t));else if(Qr(o))r=function(t,o){const e=bi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=ti(t)?ui(t):Ur(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=gi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Dr(r)}function xi(t,o){const e=ci(t);return!(e===o||!Qr(e)||ai(e))&&("fixed"===si(e).position||xi(e,o))}function Oi(t,o,e){const r=ti(o),i=Jr(o),n="fixed"===e,a=bi(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Ur(0);if(r||!r&&!n)if(("body"!==qr(o)||ei(i))&&(s=li(o)),r){const t=bi(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=mi(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function wi(t,o){return ti(t)&&"fixed"!==si(t).position?o?o(t):t.offsetParent:null}function Si(t,o){const e=Yr(t);if(!ti(t))return e;let r=wi(t,o);for(;r&&ri(r)&&"static"===si(r).position;)r=wi(r,o);return r&&("html"===qr(r)||"body"===qr(r)&&"static"===si(r).position&&!ii(r))?e:r||function(t){let o=ci(t);for(;ti(o)&&!ai(o);){if(ii(o))return o;o=ci(o)}return null}(t)||e}const Ci={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=ti(e),n=Jr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Ur(1);const l=Ur(0);if((i||!i&&"fixed"!==r)&&(("body"!==qr(e)||ei(n))&&(a=li(e)),ti(e))){const t=bi(e);s=ui(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Jr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=pi(t,[],!1).filter((t=>Qr(t)&&"body"!==qr(t))),i=null;const n="fixed"===si(t).position;let a=n?ci(t):t;for(;Qr(a)&&!ai(a);){const o=si(a),e=ii(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ei(a)&&!e&&xi(t,a))?r=r.filter((t=>t!==a)):i=o,a=ci(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=vi(o,e,i);return t.top=kr(r.top,t.top),t.right=Rr(r.right,t.right),t.bottom=Rr(r.bottom,t.bottom),t.left=kr(r.left,t.left),t}),vi(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Si,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Si,n=this.getDimensions;return{reference:Oi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return di(t)},getScale:ui,isElement:Qr,isRTL:function(t){return"rtl"===si(t).direction}},Ni=(t,o,e)=>{const r=new Map,i={platform:Ci,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Hr(c,r,l),d=r,h={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Hr(c,d,l))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ei(t){return function(t){for(let o=t;o;o=Ii(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ii(t);o;o=Ii(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ii(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function $i(t,o,e){return Ni(t,o,{platform:{...Ci,getOffsetParent:t=>Ci.getOffsetParent(t,Ei)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Fr(r,t),c={x:o,y:e},f=await Tr(t,l),p=Mr(Ar(i)),d=Pr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=Br(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=Br(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...t,[d]:h,[p]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Vr({allowedPlacements:[e]})]});var r}var Ri=Object.freeze({__proto__:null,computeOffsetPosition:$i});
|
|
136
|
-
/**
|
|
137
|
-
* @license
|
|
138
|
-
* Copyright 2019 Google LLC
|
|
139
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const ki=window,Li=ki.ShadowRoot&&(void 0===ki.ShadyCSS||ki.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ui extends mo{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((t,o)=>{Li?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=ki.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Wi,zi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ui}),Bi=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 Fi=Symbol("constructorPrototype"),Ai=Symbol("constructorName"),ji=Symbol("exportpartsDebouncer");class Pi extends Ui{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Wi]=new se(5),this[Ai]=this.constructor.name,this[Fi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ai]&&Object.setPrototypeOf(this,this[Fi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,e,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(o=this.customStylesheet)&&void 0!==o?o:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).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(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[ji].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.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(", "))}}Wi=ji,Bi([So()],Pi.prototype,"exportpartsPrefix",void 0),Bi([ye([])],Pi.prototype,"exportpartsPrefixes",void 0),Bi([So()],Pi.prototype,"customStylesheet",void 0);var _i=Object.freeze({__proto__:null,FtLitElement:Pi}),Mi=Object.freeze({__proto__:null});class Zi{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Zi.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),s()}),s)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Zi(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,s,t,l)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(l,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ki=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Zi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Zi.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,o,e,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>o){if(!r(n.node))return!1;const s=o-n.start,l=(e>n.end?n.end:e)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=l),t.nodes[e].end-=l)})),e-=l,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,s,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(e=>o(e,t,i.value.substring(a,s),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,l)),(t=>{l++,e++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):s(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Zi.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Di=ve.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Hi=dt`
|
|
1
|
+
"use strict";(()=>{var Pc=Object.defineProperty;var z=(e,t)=>{for(var o in t)Pc(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,$=new Set(b.observedAttributes||[]);m(b,$,S);let D={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:$};this._definitionsByTag.set(x,D),this._definitionsByClass.set(b,D);let ot=o.call(n,x);ot||(ot=u(x),t.call(n,x,ot)),this===window.customElements&&(s.set(b,D),D.standInClass=ot);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let L of W)a.delete(L),g(L,D,!0)}let _=this._whenDefinedPromises.get(x);return _!==void 0&&(_.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise($=>S.resolve=$),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let $=this._awaitingUpgrade.get(b);$||this._awaitingUpgrade.set(b,$=new Set),S?$.add(x):$.delete(x)}};let l;window.HTMLElement=function(){let b=l;if(b)return l=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let $=h(S)||window.customElements,D=$._getDefinition(x);return D?g(S,D):a.set(S,$),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let $=x.prototype.setAttribute;$&&(x.prototype.setAttribute=function(W,_){let L=W.toLowerCase();if(b.has(L)){let k=this.getAttribute(L);$.call(this,L,_),S.call(this,L,k,_)}else $.call(this,L,_)});let D=x.prototype.removeAttribute;D&&(x.prototype.removeAttribute=function(W){let _=W.toLowerCase();if(b.has(_)){let L=this.getAttribute(_);D.call(this,_),S.call(this,_,L,null)}else D.call(this,_)});let ot=x.prototype.toggleAttribute;ot&&(x.prototype.toggleAttribute=function(W,_){let L=W.toLowerCase();if(b.has(L)){let k=this.getAttribute(L);ot.call(this,L,_);let J=this.getAttribute(L);S.call(this,L,k,J)}else ot.call(this,L,_)})},y=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):y(b)},g=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),l=x;try{new b.elementClass}catch{y(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach($=>{x.hasAttribute($)&&b.attributeChangedCallback.call(x,$,null,x.getAttribute($))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let E=[document],N=(x,b,S=void 0)=>{let $=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){E.push(this);let D=$.apply(S||this,arguments);return D!==void 0&&c.set(D,this),E.pop(),D}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let A=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set($){E.push(this),S.set.call(this,$),E.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let _=b.call(this,...W);return x.set(_,this),_},S.forEach(W=>{let _=window.ElementInternals.prototype,L=_[W];_[W]=function(...k){let J=x.get(this);if(i.get(J).formAssociated===!0)return L?.call(this,...k);throw new DOMException(`Failed to execute ${L} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class $ extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class D{constructor(_){let L=new Map;_.forEach((k,J)=>{let _r=k.getAttribute("name"),Vi=L.get(_r)||[];this[+J]=k,Vi.push(k),L.set(_r,Vi)}),this.length=_.length,L.forEach((k,J)=>{k&&(k.length===1?this[J]=k[0]:this[J]=new $(k))})}namedItem(_){return this[_]}}let ot=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=ot.get.call(this,[]),_=[];for(let L of W){let k=i.get(L);(!k||k.formAssociated===!0)&&_.push(L)}return new D(_)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Hr={};z(Hr,{CSSResult:()=>Ne,LitElement:()=>kt,ReactiveElement:()=>wt,_$LE:()=>tl,_$LH:()=>Xc,adoptStyles:()=>Ko,css:()=>P,defaultConverter:()=>Go,getCompatibleStyle:()=>no,html:()=>V,isServer:()=>Nd,noChange:()=>Ht,notEqual:()=>Mr,nothing:()=>B,render:()=>zr,supportsAdoptingStyleSheets:()=>ro,svg:()=>Yc,unsafeCSS:()=>le});var Lo=globalThis,Io=Lo.ShadowRoot&&(Lo.ShadyCSS===void 0||Lo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Gi=Symbol(),Ki=new WeakMap,To=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Gi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Io&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ki.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ki.set(o,t))}return t}toString(){return this.cssText}},Zi=e=>new To(typeof e=="string"?e:e+"",void 0,Gi);var Pr=(e,t)=>{if(Io)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Lo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},ko=Io?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Zi(o)})(e):e;var{is:$c,defineProperty:Lc,getOwnPropertyDescriptor:Tc,getOwnPropertyNames:Ic,getOwnPropertySymbols:kc,getPrototypeOf:Mc}=Object,Mo=globalThis,qi=Mo.trustedTypes,Uc=qi?qi.emptyScript:"",Dc=Mo.reactiveElementPolyfillSupport,Xe=(e,t)=>e,Je={toAttribute(e,t){switch(t){case Boolean:e=e?Uc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Uo=(e,t)=>!$c(e,t),Yi={attribute:!0,type:String,converter:Je,reflect:!1,hasChanged:Uo};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var re=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,o=Yi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Lc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Tc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yi}static _$Ei(){if(this.hasOwnProperty(Xe("elementProperties")))return;let t=Mc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Xe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xe("properties"))){let o=this.properties,n=[...Ic(o),...kc(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(ko(i))}else t!==void 0&&o.push(ko(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Pr(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,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Je).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Je;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Uo)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Xe("elementProperties")]=new Map,re[Xe("finalized")]=new Map,Dc?.({ReactiveElement:re}),(Mo.reactiveElementVersions??=[]).push("2.0.2");var Lr=globalThis,Do=Lr.trustedTypes,Xi=Do?Do.createPolicy("lit-html",{createHTML:e=>e}):void 0,Tr="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,Ir="?"+Tt,Wc=`<${Ir}>`,ae=document,Wo=()=>ae.createComment(""),to=e=>e===null||typeof e!="object"&&typeof e!="function",ra=Array.isArray,na=e=>ra(e)||typeof e?.[Symbol.iterator]=="function",$r=`[
|
|
2
|
+
\f\r]`,Qe=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ji=/-->/g,Qi=/>/g,ne=RegExp(`>|${$r}(?:([^\\s"'>=/]+)(${$r}*=${$r}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ta=/'/g,ea=/"/g,ia=/^(?:script|style|textarea|title)$/i,aa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),sa=aa(1),ca=aa(2),ct=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),oa=new WeakMap,ie=ae.createTreeWalker(ae,129);function la(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xi!==void 0?Xi.createHTML(t):t}var pa=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Qe;for(let c=0;c<o;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===Qe?h[1]==="!--"?s=Ji:h[1]!==void 0?s=Qi:h[2]!==void 0?(ia.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ne):h[3]!==void 0&&(s=ne):s===ne?h[0]===">"?(s=i??Qe,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?ne:h[3]==='"'?ea:ta):s===ea||s===ta?s=ne:s===Ji||s===Qi?s=Qe:(s=ne,i=void 0);let y=s===ne&&e[c+1].startsWith("/>")?" ":"";a+=s===Qe?l+Wc:u>=0?(n.push(d),l.slice(0,u)+Tr+l.slice(u)+Tt+y):l+Tt+(u===-2?c:y)}return[la(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},eo=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=pa(t,o);if(this.el=e.createElement(d,n),ie.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ie.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Tr)){let m=h[s++],y=i.getAttribute(u).split(Tt),g=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?zo:g[1]==="?"?Ho:g[1]==="@"?Fo:ce}),i.removeAttribute(u)}else u.startsWith(Tt)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(ia.test(i.tagName)){let u=i.textContent.split(Tt),m=u.length-1;if(m>0){i.textContent=Do?Do.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],Wo()),ie.nextNode(),l.push({type:2,index:++a});i.append(u[m],Wo())}}}else if(i.nodeType===8)if(i.data===Ir)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Tt,u+1))!==-1;)l.push({type:7,index:a}),u+=Tt.length-1}a++}}static createElement(t,o){let n=ae.createElement("template");return n.innerHTML=t,n}};function se(e,t,o=e,n){if(t===ct)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=to(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=se(e,i._$AS(e,t.values),i,n)),t}var Bo=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){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??ae).importNode(o,!0);ie.currentNode=i;let a=ie.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new oo(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new jo(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=ie.nextNode(),s++)}return ie.currentNode=ae,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},oo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=se(this,t,o),to(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==ct&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):na(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!==G&&to(this._$AH)?this._$AA.nextSibling.data=t:this.$(ae.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=eo.createElement(la(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Bo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=oa.get(t.strings);return o===void 0&&oa.set(t.strings,o=new eo(t)),o}T(t){ra(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(Wo()),this.k(Wo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=se(this,t,o,0),s=!to(t)||t!==this._$AH&&t!==ct,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=se(this,c[n+l],o,l),d===ct&&(d=this._$AH[l]),s||=!to(d)||d!==this._$AH[l],d===G?t=G:t!==G&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},zo=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===G?void 0:t}},Ho=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},Fo=class extends ce{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=se(this,t,o,0)??G)===ct)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},jo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){se(this,t)}},da={j:Tr,P:Tt,A:Ir,C:1,M:pa,L:Bo,R:na,V:se,D:oo,I:ce,H:Ho,N:Fo,U:zo,B:jo},Bc=Lr.litHtmlPolyfillSupport;Bc?.(eo,oo),(Lr.litHtmlVersions??=[]).push("3.1.0");var Vo=globalThis,ro=Vo.ShadowRoot&&(Vo.ShadyCSS===void 0||Vo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kr=Symbol(),fa=new WeakMap,Ne=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==kr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(ro&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=fa.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&fa.set(o,t))}return t}toString(){return this.cssText}},le=e=>new Ne(typeof e=="string"?e:e+"",void 0,kr),P=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new Ne(o,e,kr)},Ko=(e,t)=>{if(ro)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Vo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},no=ro?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return le(o)})(e):e;var{is:zc,defineProperty:Hc,getOwnPropertyDescriptor:Fc,getOwnPropertyNames:jc,getOwnPropertySymbols:Vc,getPrototypeOf:Kc}=Object,Zo=globalThis,ua=Zo.trustedTypes,Gc=ua?ua.emptyScript:"",Zc=Zo.reactiveElementPolyfillSupport,io=(e,t)=>e,Go={toAttribute(e,t){switch(t){case Boolean:e=e?Gc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Mr=(e,t)=>!zc(e,t),ha={attribute:!0,type:String,converter:Go,reflect:!1,hasChanged:Mr};Symbol.metadata??=Symbol("metadata"),Zo.litPropertyMetadata??=new WeakMap;var wt=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,o=ha){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Hc(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Fc(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ha}static _$Ei(){if(this.hasOwnProperty(io("elementProperties")))return;let t=Kc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(io("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(io("properties"))){let o=this.properties,n=[...jc(o),...Vc(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(no(i))}else t!==void 0&&o.push(no(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ko(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,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Go).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Go;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Mr)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};wt.elementStyles=[],wt.shadowRootOptions={mode:"open"},wt[io("elementProperties")]=new Map,wt[io("finalized")]=new Map,Zc?.({ReactiveElement:wt}),(Zo.reactiveElementVersions??=[]).push("2.0.2");var Dr=globalThis,qo=Dr.trustedTypes,ma=qo?qo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Wr="$lit$",It=`lit$${(Math.random()+"").slice(9)}$`,Br="?"+It,qc=`<${Br}>`,fe=document,so=()=>fe.createComment(""),co=e=>e===null||typeof e!="object"&&typeof e!="function",Sa=Array.isArray,Oa=e=>Sa(e)||typeof e?.[Symbol.iterator]=="function",Ur=`[
|
|
4
|
+
\f\r]`,ao=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ya=/-->/g,ga=/>/g,pe=RegExp(`>|${Ur}(?:([^\\s"'>=/]+)(${Ur}*=${Ur}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ba=/'/g,xa=/"/g,Ca=/^(?:script|style|textarea|title)$/i,wa=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),V=wa(1),Yc=wa(2),Ht=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),va=new WeakMap,de=fe.createTreeWalker(fe,129);function Ea(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ma!==void 0?ma.createHTML(t):t}var Na=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=ao;for(let c=0;c<o;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===ao?h[1]==="!--"?s=ya:h[1]!==void 0?s=ga:h[2]!==void 0?(Ca.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=pe):h[3]!==void 0&&(s=pe):s===pe?h[0]===">"?(s=i??ao,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?pe:h[3]==='"'?xa:ba):s===xa||s===ba?s=pe:s===ya||s===ga?s=ao:(s=pe,i=void 0);let y=s===pe&&e[c+1].startsWith("/>")?" ":"";a+=s===ao?l+qc:u>=0?(n.push(d),l.slice(0,u)+Wr+l.slice(u)+It+y):l+It+(u===-2?c:y)}return[Ea(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},lo=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=Na(t,o);if(this.el=e.createElement(d,n),de.currentNode=this.el.content,o===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=de.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Wr)){let m=h[s++],y=i.getAttribute(u).split(It),g=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Xo:g[1]==="?"?Jo:g[1]==="@"?Qo:he}),i.removeAttribute(u)}else u.startsWith(It)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(Ca.test(i.tagName)){let u=i.textContent.split(It),m=u.length-1;if(m>0){i.textContent=qo?qo.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],so()),de.nextNode(),l.push({type:2,index:++a});i.append(u[m],so())}}}else if(i.nodeType===8)if(i.data===Br)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(It,u+1))!==-1;)l.push({type:7,index:a}),u+=It.length-1}a++}}static createElement(t,o){let n=fe.createElement("template");return n.innerHTML=t,n}};function ue(e,t,o=e,n){if(t===Ht)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=co(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=ue(e,i._$AS(e,t.values),i,n)),t}var Yo=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){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??fe).importNode(o,!0);de.currentNode=i;let a=de.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Ae(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new tr(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=de.nextNode(),s++)}return de.currentNode=fe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ae=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ue(this,t,o),co(t)?t===B||t==null||t===""?(this._$AH!==B&&this._$AR(),this._$AH=B):t!==this._$AH&&t!==Ht&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Oa(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!==B&&co(this._$AH)?this._$AA.nextSibling.data=t:this.$(fe.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=lo.createElement(Ea(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Yo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=va.get(t.strings);return o===void 0&&va.set(t.strings,o=new lo(t)),o}T(t){Sa(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(so()),this.k(so()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},he=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ue(this,t,o,0),s=!co(t)||t!==this._$AH&&t!==Ht,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=ue(this,c[n+l],o,l),d===Ht&&(d=this._$AH[l]),s||=!co(d)||d!==this._$AH[l],d===B?t=B:t!==B&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Xo=class extends he{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===B?void 0:t}},Jo=class extends he{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==B)}},Qo=class extends he{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=ue(this,t,o,0)??B)===Ht)return;let n=this._$AH,i=t===B&&n!==B||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==B&&(n===B||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},tr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ue(this,t)}},Xc={j:Wr,P:It,A:Br,C:1,M:Na,L:Yo,R:Oa,V:ue,D:Ae,I:he,H:Jo,N:Qo,U:Xo,B:tr},Jc=Dr.litHtmlPolyfillSupport;Jc?.(lo,Ae),(Dr.litHtmlVersions??=[]).push("3.1.0");var zr=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ae(t.insertBefore(so(),a),a,void 0,o??{})}return i._$AI(e),i};var kt=class extends wt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=zr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ht}};kt._$litElement$=!0,kt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:kt});var Qc=globalThis.litElementPolyfillSupport;Qc?.({LitElement:kt});var tl={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Nd=!1;var jr={};z(jr,{customElement:()=>el,eventOptions:()=>Re,property:()=>C,query:()=>tt,queryAll:()=>nl,queryAssignedElements:()=>al,queryAssignedNodes:()=>Fr,queryAsync:()=>il,standardProperty:()=>Aa,state:()=>ut});var el=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var ol={attribute:!0,type:String,converter:Je,reflect:!1,hasChanged:Uo},Aa=(e=ol,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(c){let l=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,l,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=o;return function(c){let l=this[s];t.call(this,c),this.requestUpdate(s,l,e)}}throw Error("Unsupported decorator location: "+n)};function C(e){return(t,o)=>typeof o=="object"?Aa(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function ut(e){return C({...e,state:!0,attribute:!1})}function Re(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var gt=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function tt(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return gt(o,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return gt(o,n,{get(){return a(this)}})}}var rl;function nl(e){return(t,o)=>gt(t,o,{get(){return(this.renderRoot??(rl??=document.createDocumentFragment())).querySelectorAll(e)}})}function il(e){return(t,o)=>gt(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function al(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return gt(t,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function Fr(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return gt(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Vr={};z(Vr,{repeat:()=>ll});var Ft={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},jt=e=>(...t)=>({_$litDirective$:e,values:t}),Et=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:sl}=da;var Ra=()=>document.createComment(""),_e=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Ra(),i),s=n.insertBefore(Ra(),i);o=new sl(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==e;if(c){let l;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(l=e._$AU)!==s._$AU&&o._$AP(l)}if(a!==i||c){let l=o._$AA;for(;l!==a;){let d=l.nextSibling;n.insertBefore(l,i),l=d}}}return o},Vt=(e,t,o=e)=>(e._$AI(t,o),e),cl={},_a=(e,t=cl)=>e._$AH=t,Pa=e=>e._$AH,er=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var $a=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},ll=jt(class extends Et{constructor(e){if(super(e),e.type!==Ft.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=Pa(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],d,h,u=0,m=i.length-1,y=0,g=a.length-1;for(;u<=m&&y<=g;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[y])l[y]=Vt(i[u],a[y]),u++,y++;else if(c[m]===s[g])l[g]=Vt(i[m],a[g]),m--,g--;else if(c[u]===s[g])l[g]=Vt(i[u],a[g]),_e(e,l[g+1],i[u]),u++,g--;else if(c[m]===s[y])l[y]=Vt(i[m],a[y]),_e(e,i[u],i[m]),m--,y++;else if(d===void 0&&(d=$a(s,y,g),h=$a(c,u,m)),d.has(c[u]))if(d.has(c[m])){let v=h.get(s[y]),E=v!==void 0?i[v]:null;if(E===null){let N=_e(e,i[u]);Vt(N,a[y]),l[y]=N}else l[y]=Vt(E,a[y]),_e(e,i[u],E),i[v]=null;y++}else er(i[m]),m--;else er(i[u]),u++;for(;y<=g;){let v=_e(e,l[g+1]);Vt(v,a[y]),l[y++]=v}for(;u<=m;){let v=i[u++];v!==null&&er(v)}return this.dt=s,_a(e,l),ct}});var Kr={};z(Kr,{classMap:()=>po});var po=jt(class extends Et{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return ct}});var Gr={};z(Gr,{styleMap:()=>dl});var La="important",pl=" !"+La,dl=jt(class extends Et{constructor(e){if(super(e),e.type!==Ft.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(pl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?La:""):o[n]=i}}return ct}});var qr={};z(qr,{UnsafeHTMLDirective:()=>Pe,unsafeHTML:()=>Zr});var Pe=class extends Et{constructor(t){if(super(t),this.et=G,t.type!==Ft.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||t==null)return this.vt=void 0,this.et=t;if(t===ct)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Pe.directiveName="unsafeHTML",Pe.resultType=1;var Zr=jt(Pe);var Jr={};z(Jr,{CacheRegistry:()=>Nt});var Xr={};z(Xr,{CancelablePromise:()=>$e,CanceledPromiseError:()=>fo,cancelable:()=>Yr});var fo=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},$e=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new fo("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new fo("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Yr=e=>new $e((t,o)=>e.then(t).catch(o));var Nt=class{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){this.clearTimeouts[t]!=null&&(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,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Yr(o());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}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)}};var tn={};z(tn,{ClusteringHelper:()=>Qr});var Qr=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,o){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata.map(s=>e.flattenMetadata(s));return o==null?a:a.find(s=>s.key===o)}static flattenMetadata(t){if(t.hierarchicalValues){let o=[],n=[];return t.hierarchicalValues.forEach(i=>{o.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:t.key,label:t.label,value:o.join(", "),displayValue:n.join(", ")}}else{let o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:c,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,u)=>u.findIndex(m=>m.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=t.localeCompare(o,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(l=>{var d;return((d=e.extractResultMetadata(l,t))===null||d===void 0?void 0:d.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==t)],s,c=-1;for(let l of n){let d=this.countMatchingMetadata(l,a);if(d>c&&(c=d,s=l,d===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var en={};z(en,{Debouncer:()=>lt});var lt=class{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 this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var rn={};z(rn,{customElement:()=>q,isNumber:()=>Ma,jsonProperty:()=>At,optionalNumberProperty:()=>bl});var on={};z(on,{dateReviver:()=>ul,deepEqual:()=>ht,delay:()=>or,eventPathContainsMatchingElement:()=>ml,flatDeep:()=>Ia,last:()=>gl,minmax:()=>yl,parseDate:()=>ka,waitFor:()=>Ta,waitUntil:()=>fl});var or=e=>new Promise(t=>setTimeout(t,e));async function fl(e,t=10,o=2e4){await Ta(async()=>await e()||void 0,t,o)}async function Ta(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await or(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ia(e,t){return e.flatMap(o=>[o,...Ia(t(o),t)])}function ul(...e){return function(t,o){return e.includes(t)?ka(o):o}}function ka(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function hl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!ht(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!ht(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!ht(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function ht(e,t){try{return hl(e,t)}catch{return!1}}function ml(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function yl(e,t,o){return Math.min(Math.max(e,t),o)}function gl(e){return e[e.length-1]}var q=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function At(e,t){let o=()=>JSON.parse(JSON.stringify(e));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!ht(n,i),...t??{}})}function bl(e){return C({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Ma(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Ma(e){return!isNaN(parseFloat(e))}var $n={};z($n,{designSystemVariables:()=>U});var Pn={};z(Pn,{FtCssVariableFactory:()=>r,banner:()=>vl,border:()=>Ml,breadcrumb:()=>Sl,button:()=>w,chart:()=>Il,checkbox:()=>Dl,chip:()=>kl,collapsible:()=>Ll,comboboxMultiSelect:()=>_l,comboboxSingleSelect:()=>Rl,drawer:()=>wl,floatingMenu:()=>Al,foundation:()=>p,modal:()=>Cl,notice:()=>Ul,notification:()=>zl,pageHeader:()=>Ol,popover:()=>Pl,radio:()=>Bl,semantic:()=>f,setVariable:()=>T,switch_:()=>Tl,tabs:()=>$l,textArea:()=>Nl,textInput:()=>El,toggle:()=>Wl,tooltip:()=>Hl,typographies:()=>uo,typographyBody1Medium:()=>pn,typographyBody1Regular:()=>ln,typographyBody1Semibold:()=>dn,typographyBody2Medium:()=>un,typographyBody2MediumUnderline:()=>Ua,typographyBody2Regular:()=>fn,typographyBody2Semibold:()=>hn,typographyCaption1Bold:()=>Cn,typographyCaption1Medium:()=>Sn,typographyCaption1Semibold:()=>On,typographyCaption2Bold:()=>Nn,typographyCaption2Medium:()=>wn,typographyCaption2Semibold:()=>En,typographyCaption3Bold:()=>_n,typographyCaption3Medium:()=>An,typographyCaption3Semibold:()=>Rn,typographyDisplay:()=>nn,typographyLabel1Bold:()=>gn,typographyLabel1Medium:()=>mn,typographyLabel1Semibold:()=>yn,typographyLabel2Bold:()=>vn,typographyLabel2Medium:()=>bn,typographyLabel2Semibold:()=>xn,typographyTitle1:()=>an,typographyTitle2:()=>sn,typographyTitle3:()=>cn,typographyVariants:()=>xl});var Mt=e=>typeof e=="string"?le(e):e,r=class{static create(t,o,n,i){let a=c=>Mt(c??i),s=P`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>P`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=P`var(${Mt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>P`var(${Mt(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Mt(a??t.lastResortDefaultValue()),i=P`var(${Mt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>P`var(${Mt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function T(e,t){return Mt(`${e.name}: ${t}`)}var p={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:r.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:r.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:r.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:r.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:r.create("--ft-icon-size-6","","SIZE","48px"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","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)")},nn={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},an={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},sn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},cn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ln={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},pn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},dn={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},fn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},un={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ua={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},hn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},mn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},yn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},gn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},bn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},xn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},vn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Sn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},On={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Cn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},wn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},En={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Nn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},An={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Rn={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_n={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},uo={display:nn,"title-1":an,"title-2":sn,"title-3":cn,"body-1-regular":ln,"body-1-medium":pn,"body-1-semibold":dn,"body-2-regular":fn,"body-2-medium":un,"body-2-medium-underline":Ua,"body-2-semibold":hn,"label-1-medium":mn,"label-1-semibold":yn,"label-1-bold":gn,"label-2-medium":bn,"label-2-semibold":xn,"label-2-bold":vn,"caption-1-medium":Sn,"caption-1-semibold":On,"caption-1-bold":Cn,"caption-2-medium":wn,"caption-2-semibold":En,"caption-2-bold":Nn,"caption-3-medium":An,"caption-3-semibold":Rn,"caption-3-bold":_n},xl=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var w={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:r.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:r.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.iconSize2),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var vl={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly)};var Sl={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentElementColor:r.extend("--ft-breadcrumb-current-element-color","",f.contentGlobalPrimary),iconColor:r.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Ol={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Cl={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:r.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",p.borderRadiusM)};var wl={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var El={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Nl={backgroundColor:r.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var Al={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var Rl={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var _l={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var Pl={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",p.spacing6),iconColor:r.extend("--ft-popover-icon-color","",f.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",p.iconSize2),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",p.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",p.shadowElevation02)};var $l={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),labelHorizontalPadding:r.extend("--ft-tabs-label-horizontal-padding","",p.spacing4),labelVerticalPadding:r.extend("--ft-tabs-label-vertical-padding","",p.spacing3),labelGap:r.extend("--ft-tabs-label-gap","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-tabs-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-tabs-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-tabs-icon-vertical-padding","",p.spacing4),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Ll={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",p.iconSize3)};var Tl={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:r.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Il={color1Light:r.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",p.colorRed40),color5Base:r.extend("--ft-chart-5-base","",p.colorRed60),color6Light:r.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",p.colorGray50),color10Base:r.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var kl={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",p.spacing2),largeGap:r.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",p.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",p.spacing05),smallGap:r.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalPrimary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalPrimary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Ml={infoBorderColor:r.extend("--ft-border-info-border-color","",f.borderInfoSubtle)};var Ul={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-notice-vertical-padding","",p.spacing1),borderRadius:r.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:r.extend("--ft-notice-gap","",p.spacing2),iconSize:r.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var Dl={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",p.spacing3)};var Wl={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",p.spacing3)};var Bl={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",p.spacing3)};var zl={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing4),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",p.spacing8)};var Hl={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:r.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",p.spacing05)};var U={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var kn={};z(kn,{FtNotificationEvent:()=>Ln,PostResizeEvent:()=>In,PreResizeEvent:()=>Tn});var Ln=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Tn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},In=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Gn={};z(Gn,{computeOffsetPosition:()=>Kn});var Wa=["top","right","bottom","left"],Da=["start","end"],Un=Wa.reduce((e,t)=>e.concat(t,t+"-"+Da[0],t+"-"+Da[1]),[]),ho=Math.min,Kt=Math.max,mo=Math.round;var Ut=e=>({x:e,y:e}),Fl={left:"right",right:"left",bottom:"top",top:"bottom"},jl={start:"end",end:"start"};function Dn(e,t,o){return Kt(e,ho(t,o))}function rr(e,t){return typeof e=="function"?e(t):e}function Le(e){return e.split("-")[0]}function Gt(e){return e.split("-")[1]}function Wn(e){return e==="x"?"y":"x"}function Bn(e){return e==="y"?"height":"width"}function nr(e){return["top","bottom"].includes(Le(e))?"y":"x"}function zn(e){return Wn(nr(e))}function Ba(e,t,o){o===void 0&&(o=!1);let n=Gt(e),i=zn(e),a=Bn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Mn(s)),[s,Mn(s)]}function za(e){return e.replace(/start|end/g,t=>jl[t])}function Mn(e){return e.replace(/left|right|bottom|top/g,t=>Fl[t])}function Vl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ha(e){return typeof e!="number"?Vl(e):{top:e,right:e,bottom:e,left:e}}function me(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Fa(e,t,o){let{reference:n,floating:i}=e,a=nr(t),s=zn(t),c=Bn(s),l=Le(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,y;switch(l){case"top":y={x:h,y:n.y-i.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:u};break;case"left":y={x:n.x-i.width,y:u};break;default:y={x:n.x,y:n.y}}switch(Gt(t)){case"start":y[s]-=m*(o&&d?-1:1);break;case"end":y[s]+=m*(o&&d?-1:1);break}return y}var ja=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=Fa(d,n,l),m=n,y={},g=0;for(let v=0;v<c.length;v++){let{name:E,fn:N}=c[v],{x:A,y:x,data:b,reset:S}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=x??u,y={...y,[E]:{...y[E],...b}},S&&g<=50){g++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(d=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:h,y:u}=Fa(d,m,l)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:y}};async function Hn(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:y=0}=rr(t,e),g=Ha(y),E=c[m?u==="floating"?"reference":"floating":u],N=me(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=me(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:l}):A);return{top:(N.top-S.top+g.top)/b.y,bottom:(S.bottom-N.bottom+g.bottom)/b.y,left:(N.left-S.left+g.left)/b.x,right:(S.right-N.right+g.right)/b.x}}function Kl(e,t,o){return(e?[...o.filter(i=>Gt(i)===e),...o.filter(i=>Gt(i)!==e)]:o.filter(i=>Le(i)===i)).filter(i=>e?Gt(i)===e||(t?za(i)!==i:!1):!0)}var Fn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=Un,autoAlignment:y=!0,...g}=rr(e,t),v=u!==void 0||m===Un?Kl(u||null,y,m):m,E=await Hn(t,g),N=((o=s.autoPlacement)==null?void 0:o.index)||0,A=v[N];if(A==null)return{};let x=Ba(A,a,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==A)return{reset:{placement:v[0]}};let b=[E[Le(A)],E[x[0]],E[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:b}],$=v[N+1];if($)return{data:{index:N+1,overflows:S},reset:{placement:$}};let D=S.map(_=>{let L=Gt(_.placement);return[_.placement,L&&h?_.overflows.slice(0,2).reduce((k,J)=>k+J,0):_.overflows[0],_.overflows]}).sort((_,L)=>_[1]-L[1]),W=((i=D.filter(_=>_[2].slice(0,Gt(_[0])?2:3).every(L=>L<=0))[0])==null?void 0:i[0])||D[0][0];return W!==c?{data:{index:N+1,overflows:S},reset:{placement:W}}:{}}}};var jn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...l}=rr(e,t),d={x:o,y:n},h=await Hn(t,l),u=nr(Le(i)),m=Wn(u),y=d[m],g=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=y+h[E],x=y-h[N];y=Dn(A,y,x)}if(s){let E=u==="y"?"top":"left",N=u==="y"?"bottom":"right",A=g+h[E],x=g-h[N];g=Dn(A,g,x)}let v=c.fn({...t,[m]:y,[u]:g});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function Dt(e){return Ka(e)?(e.nodeName||"").toLowerCase():"#document"}function rt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){var t;return(t=(Ka(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ka(e){return e instanceof Node||e instanceof rt(e).Node}function Rt(e){return e instanceof Element||e instanceof rt(e).Element}function bt(e){return e instanceof HTMLElement||e instanceof rt(e).HTMLElement}function Va(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof rt(e).ShadowRoot}function Te(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ga(e){return["table","td","th"].includes(Dt(e))}function ar(e){let t=sr(),o=pt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Za(e){let t=ye(e);for(;bt(t)&&!yo(t);){if(ar(t))return t;t=ye(t)}return null}function sr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function yo(e){return["html","body","#document"].includes(Dt(e))}function pt(e){return rt(e).getComputedStyle(e)}function go(e){return Rt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ye(e){if(Dt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Va(e)&&e.host||Wt(e);return Va(t)?t.host:t}function qa(e){let t=ye(e);return yo(t)?e.ownerDocument?e.ownerDocument.body:e.body:bt(t)&&Te(t)?t:qa(t)}function ir(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=qa(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=rt(i);return a?t.concat(s,s.visualViewport||[],Te(i)?i:[],s.frameElement&&o?ir(s.frameElement):[]):t.concat(i,ir(i,[],o))}function Ja(e){let t=pt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=bt(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=mo(o)!==a||mo(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Qa(e){return Rt(e)?e:e.contextElement}function Ie(e){let t=Qa(e);if(!bt(t))return Ut(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ja(t),s=(a?mo(o.width):o.width)/n,c=(a?mo(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Gl=Ut(0);function ts(e){let t=rt(e);return!sr()||!t.visualViewport?Gl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zl(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==rt(e)?!1:t}function bo(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Qa(e),s=Ut(1);t&&(n?Rt(n)&&(s=Ie(n)):s=Ie(e));let c=Zl(a,o,n)?ts(a):Ut(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=rt(a),y=n&&Rt(n)?rt(n):n,g=m.frameElement;for(;g&&n&&y!==m;){let v=Ie(g),E=g.getBoundingClientRect(),N=pt(g),A=E.left+(g.clientLeft+parseFloat(N.paddingLeft))*v.x,x=E.top+(g.clientTop+parseFloat(N.paddingTop))*v.y;l*=v.x,d*=v.y,h*=v.x,u*=v.y,l+=A,d+=x,g=rt(g).frameElement}}return me({width:h,height:u,x:l,y:d})}function ql(e){let{rect:t,offsetParent:o,strategy:n}=e,i=bt(o),a=Wt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=Ut(1),l=Ut(0);if((i||!i&&n!=="fixed")&&((Dt(o)!=="body"||Te(a))&&(s=go(o)),bt(o))){let d=bo(o);c=Ie(o),l.x=d.x+o.clientLeft,l.y=d.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+l.x,y:t.y*c.y-s.scrollTop*c.y+l.y}}function Yl(e){return Array.from(e.getClientRects())}function es(e){return bo(Wt(e)).left+go(e).scrollLeft}function Xl(e){let t=Wt(e),o=go(e),n=e.ownerDocument.body,i=Kt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Kt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+es(e),c=-o.scrollTop;return pt(n).direction==="rtl"&&(s+=Kt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Jl(e,t){let o=rt(e),n=Wt(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let d=sr();(!d||d&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function Ql(e,t){let o=bo(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=bt(e)?Ie(e):Ut(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,l=i*a.x,d=n*a.y;return{width:s,height:c,x:l,y:d}}function Ya(e,t,o){let n;if(t==="viewport")n=Jl(e,o);else if(t==="document")n=Xl(Wt(e));else if(Rt(t))n=Ql(t,o);else{let i=ts(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return me(n)}function os(e,t){let o=ye(e);return o===t||!Rt(o)||yo(o)?!1:pt(o).position==="fixed"||os(o,t)}function tp(e,t){let o=t.get(e);if(o)return o;let n=ir(e,[],!1).filter(c=>Rt(c)&&Dt(c)!=="body"),i=null,a=pt(e).position==="fixed",s=a?ye(e):e;for(;Rt(s)&&!yo(s);){let c=pt(s),l=ar(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Te(s)&&!l&&os(e,s))?n=n.filter(h=>h!==s):i=c,s=ye(s)}return t.set(e,n),n}function ep(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?tp(t,this._c):[].concat(o),n],c=s[0],l=s.reduce((d,h)=>{let u=Ya(t,h,i);return d.top=Kt(u.top,d.top),d.right=ho(u.right,d.right),d.bottom=ho(u.bottom,d.bottom),d.left=Kt(u.left,d.left),d},Ya(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function op(e){return Ja(e)}function rp(e,t,o){let n=bt(t),i=Wt(t),a=o==="fixed",s=bo(e,!0,a,t),c={scrollLeft:0,scrollTop:0},l=Ut(0);if(n||!n&&!a)if((Dt(t)!=="body"||Te(i))&&(c=go(t)),n){let d=bo(t,!0,a,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else i&&(l.x=es(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Xa(e,t){return!bt(e)||pt(e).position==="fixed"?null:t?t(e):e.offsetParent}function rs(e,t){let o=rt(e);if(!bt(e))return o;let n=Xa(e,t);for(;n&&Ga(n)&&pt(n).position==="static";)n=Xa(n,t);return n&&(Dt(n)==="html"||Dt(n)==="body"&&pt(n).position==="static"&&!ar(n))?o:n||Za(e)||o}var np=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||rs,a=this.getDimensions;return{reference:rp(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function ip(e){return pt(e).direction==="rtl"}var cr={convertOffsetParentRelativeRectToViewportRelativeRect:ql,getDocumentElement:Wt,getClippingRect:ep,getOffsetParent:rs,getElementRects:np,getClientRects:Yl,getDimensions:op,getScale:Ie,isElement:Rt,isRTL:ip};var ns=(e,t,o)=>{let n=new Map,i={platform:cr,...o},a={...i.platform,_c:n};return ja(e,t,{...i,platform:a})};function is(e){return ap(e)}function Vn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ap(e){for(let t=e;t;t=Vn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Vn(e);t;t=Vn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Kn(e,t,o){return ns(e,t,{platform:{...cr,getOffsetParent:n=>cr.getOffsetParent(n,is)},middleware:[jn({crossAxis:!0}),Fn({allowedPlacements:[o]})]})}var Yn={};z(Yn,{FtLitElement:()=>H});var Zn={};z(Zn,{ScopedRegistryLitElement:()=>xo});var lr=window,sp=lr.ShadowRoot&&(lr.ShadyCSS===void 0||lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Em=Symbol();var as=(e,t)=>{sp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var xo=class extends kt{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return as(n,t.elementStyles),n}};var qn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ls,ss=Symbol("constructorPrototype"),cs=Symbol("constructorName"),ps=Symbol("exportpartsDebouncer"),H=class extends xo{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[ls]=new lt(5),this[cs]=this.constructor.name,this[ss]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[cs]&&Object.setPrototypeOf(this,this[ss])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ps].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,c;let l=m=>m!=null&&m.trim().length>0,d=t.filter(l).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...y,...g).filter(l).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(y=>`${m}:${y}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};ls=ps;qn([C()],H.prototype,"exportpartsPrefix",void 0);qn([At([])],H.prototype,"exportpartsPrefixes",void 0);qn([C()],H.prototype,"customStylesheet",void 0);var ds={};var ti={};z(ti,{highlightHtml:()=>Qn,highlightHtmlColorCssVariable:()=>fs,highlightHtmlStyles:()=>lp});var ge=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(d=>{e.matches(d,this.exclude)?l():this.onIframeReady(d,h=>{o(d)&&(c++,n(h)),l()},l)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),c=[],l=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(d,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>l.push(y),i)}),l.push(d);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(t,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var vo=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new ge(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,c=o-s,l=parseInt(t.start,10)-c;return l=l>s?s:l,i=l+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return ge.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,c)=>{let l=t.nodes[c+1];if(typeof l>"u"||l.start>o){if(!i(s.node))return!1;let d=o-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((y,g)=>{g>=c&&(t.nodes[g].start>0&&g!==c&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=t.exec(l.textContent))!==null&&d[s]!=="";){if(!n(d[s],l))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;l=this.wrapRangeInTextNode(l,h,h+d[s].length),i(l.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let l;for(;(l=t.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let u=1;u<s;u++)d+=l[u].length;let h=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,h,u=>n(l[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((c,l)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>o(m,c,a.value.substring(d,h),l),m=>{n(m,c)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",l=d=>{let h=new RegExp(this.createRegExp(d),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,y)=>this.opt.filter(y,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):l(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=ge.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Xn(e){let t=new vo(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var cp=Xn,fs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),lp=P`
|
|
141
7
|
.highlight-html-match {
|
|
142
|
-
background: ${
|
|
8
|
+
background: ${fs};
|
|
143
9
|
}
|
|
144
|
-
`,
|
|
10
|
+
`,Jn={className:"highlight-html-match"};function Qn(e,t){var o;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new cp(e);i.unmark(Jn),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Jn,separateWordSearch:!0}),((o=t.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Jn,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var ei={};z(ei,{noTextSelect:()=>So,safariEllipsisFix:()=>Oo,wordWrap:()=>pp});var So=P`
|
|
145
11
|
.ft-no-text-select {
|
|
146
12
|
-webkit-touch-callout: none;
|
|
147
13
|
-webkit-user-select: none;
|
|
@@ -150,7 +16,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
150
16
|
-ms-user-select: none;
|
|
151
17
|
user-select: none;
|
|
152
18
|
}
|
|
153
|
-
`,
|
|
19
|
+
`,pp=P`
|
|
154
20
|
.ft-word-wrap {
|
|
155
21
|
white-space: normal;
|
|
156
22
|
word-wrap: break-word;
|
|
@@ -162,7 +28,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
162
28
|
-webkit-hyphens: auto;
|
|
163
29
|
hyphens: auto
|
|
164
30
|
}
|
|
165
|
-
`,
|
|
31
|
+
`,Oo=P`
|
|
166
32
|
.ft-safari-ellipsis-fix {
|
|
167
33
|
margin-right: 0;
|
|
168
34
|
|
|
@@ -173,7 +39,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
173
39
|
display: inline-block;
|
|
174
40
|
width: 0;
|
|
175
41
|
}
|
|
176
|
-
`;var Xi=Object.freeze({__proto__:null,noTextSelect:qi,safariEllipsisFix:Ji,wordWrap:Yi}),Qi=Object.freeze({__proto__:null});class tn{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()}}}var on=Object.freeze({__proto__:null,ParametrizedLabelResolver:tn});const en=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};class rn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function nn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var an,sn,ln;const cn=Symbol("internalReduxEventsUnsubscribers"),fn=Symbol("internalStoresUnsubscribers"),pn=Symbol("internalStores");class dn extends Pi{constructor(){super(...arguments),this[an]=new Map,this[sn]=new Map,this[ln]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[pn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[pn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:nn(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[pn].delete(o)}setupStore(t,o){this[pn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[pn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[fn].has(t.store):this[fn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[fn].set(t,o.subscribe((()=>this.updateFromStores()))),nn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[cn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[fn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[cn].forEach((t=>t())),this[cn]=[]}unsubscribeFromStore(t){this[fn].has(t)&&this[fn].get(t)(),this[fn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function hn(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 un(t){return!!t&&!!t[ta]}function yn(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)===oa}(t)||Array.isArray(t)||!!t[Qn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Qn])||On(t)||wn(t))}function gn(t,o,e){void 0===e&&(e=!1),0===bn(t)?(e?Object.keys:ea)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function bn(t){var o=t[ta];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:On(t)?2:wn(t)?3:0}function mn(t,o){return 2===bn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function vn(t,o,e){var r=bn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function xn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function On(t){return qn&&t instanceof Map}function wn(t){return Yn&&t instanceof Set}function Sn(t){return t.o||t.t}function Cn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=ra(t);delete o[ta];for(var e=ea(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 Nn(t,o){return void 0===o&&(o=!1),In(t)||un(t)||!yn(t)||(bn(t)>1&&(t.set=t.add=t.clear=t.delete=En),Object.freeze(t),o&&gn(t,(function(t,o){return Nn(o,!0)}),!0)),t}function En(){hn(2)}function In(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function $n(t){var o=ia[t];return o||hn(18,t),o}function Rn(){return Gn}function kn(t,o){o&&($n("Patches"),t.u=[],t.s=[],t.v=o)}function Ln(t){Un(t),t.p.forEach(zn),t.p=null}function Un(t){t===Gn&&(Gn=t.l)}function Wn(t){return Gn={p:[],l:Gn,h:t,m:!0,_:0}}function zn(t){var o=t[ta];0===o.i||1===o.i?o.j():o.g=!0}function Bn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||$n("ES5").S(o,t,r),r?(e[ta].P&&(Ln(o),hn(4)),yn(t)&&(t=Fn(o,t),o.l||jn(o,t)),o.u&&$n("Patches").M(e[ta].t,t,o.u,o.s)):t=Fn(o,e,[]),Ln(o),o.u&&o.v(o.u,o.s),t!==Xn?t:void 0}function Fn(t,o,e){if(In(o))return o;var r=o[ta];if(!r)return gn(o,(function(i,n){return An(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return jn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Cn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),gn(n,(function(o,n){return An(t,r,i,o,n,e,a)})),jn(t,i,!1),e&&t.u&&$n("Patches").N(r,e,t.u,t.s)}return r.o}function An(t,o,e,r,i,n,a){if(un(i)){var s=Fn(t,i,n&&o&&3!==o.i&&!mn(o.R,r)?n.concat(r):void 0);if(vn(e,r,s),!un(s))return;t.m=!1}else a&&e.add(i);if(yn(i)&&!In(i)){if(!t.h.D&&t._<1)return;Fn(t,i),o&&o.A.l||jn(t,i)}}function jn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Nn(o,e)}function Pn(t,o){var e=t[ta];return(e?Sn(e):t)[o]}function _n(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 Mn(t){t.P||(t.P=!0,t.l&&Mn(t.l))}function Zn(t){t.o||(t.o=Cn(t.t))}function Kn(t,o,e){var r=On(o)?$n("MapSet").F(o,e):wn(o)?$n("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Rn(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=na;e&&(i=[r],n=aa);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):$n("ES5").J(o,e);return(e?e.A:Rn()).p.push(r),r}function Dn(t){return un(t)||hn(22,t),function t(o){if(!yn(o))return o;var e,r=o[ta],i=bn(o);if(r){if(!r.P&&(r.i<4||!$n("ES5").K(r)))return r.t;r.I=!0,e=Hn(o,i),r.I=!1}else e=Hn(o,i);return gn(e,(function(o,i){r&&function(t,o){return 2===bn(t)?t.get(o):t[o]}(r.t,o)===i||vn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Hn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Cn(t)}an=fn,sn=pn,ln=cn,dn.reduxProperties=new Map,dn.reduxReactiveProperties=new Set,dn.reduxEventListeners=new Map;var Tn,Gn,Vn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),qn="undefined"!=typeof Map,Yn="undefined"!=typeof Set,Jn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Xn=Vn?Symbol.for("immer-nothing"):((Tn={})["immer-nothing"]=!0,Tn),Qn=Vn?Symbol.for("immer-draftable"):"__$immer_draftable",ta=Vn?Symbol.for("immer-state"):"__$immer_state",oa=""+Object.prototype.constructor,ea="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ra=Object.getOwnPropertyDescriptors||function(t){var o={};return ea(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ia={},na={get:function(t,o){if(o===ta)return t;var e=Sn(t);if(!mn(e,o))return function(t,o,e){var r,i=_n(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||!yn(r)?r:r===Pn(t.t,o)?(Zn(t),t.o[o]=Kn(t.A.h,r,t)):r},has:function(t,o){return o in Sn(t)},ownKeys:function(t){return Reflect.ownKeys(Sn(t))},set:function(t,o,e){var r=_n(Sn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Pn(Sn(t),o),n=null==i?void 0:i[ta];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(xn(e,i)&&(void 0!==e||mn(t.t,o)))return!0;Zn(t),Mn(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!==Pn(t.t,o)||o in t.t?(t.R[o]=!1,Zn(t),Mn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Sn(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(){hn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){hn(12)}},aa={};gn(na,(function(t,o){aa[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),aa.deleteProperty=function(t,o){return aa.set.call(this,t,o,void 0)},aa.set=function(t,o,e){return na.set.call(this,t[0],o,e,t[0])};var sa=function(){function t(t){var o=this;this.O=Jn,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&&hn(6),void 0!==r&&"function"!=typeof r&&hn(7),yn(t)){var s=Wn(o),l=Kn(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?Ln(s):Un(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return kn(s,r),Bn(t,s)}),(function(t){throw Ln(s),t})):(kn(s,r),Bn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Xn&&(a=void 0),o.D&&Nn(a,!0),r){var f=[],p=[];$n("Patches").M(t,a,f,p),r(f,p)}return a}hn(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){yn(t)||hn(8),un(t)&&(t=Dn(t));var o=Wn(this),e=Kn(this,t,void 0);return e[ta].C=!0,Un(o),e},o.finishDraft=function(t,o){var e=(t&&t[ta]).A;return kn(e,o),Bn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Jn&&hn(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=$n("Patches").$;return un(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),la=new sa,ca=la.produce;function fa(t){return fa="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},fa(t)}function pa(t){var o=function(t,o){if("object"!==fa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==fa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===fa(o)?o:String(o)}function da(t,o,e){return(o=pa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function ha(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 ua(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?ha(Object(e),!0).forEach((function(o){da(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ha(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ya(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. "}la.produceWithPatches.bind(la),la.setAutoFreeze.bind(la),la.setUseProxies.bind(la),la.applyPatches.bind(la),la.createDraft.bind(la),la.finishDraft.bind(la);var ga="function"==typeof Symbol&&Symbol.observable||"@@observable",ba=function(){return Math.random().toString(36).substring(7).split("").join(".")},ma={INIT:"@@redux/INIT"+ba(),REPLACE:"@@redux/REPLACE"+ba(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ba()}};function va(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ya(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ya(1));return e(va)(t,o)}if("function"!=typeof t)throw new Error(ya(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(ya(3));return n}function p(t){if("function"!=typeof t)throw new Error(ya(4));if(l)throw new Error(ya(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(ya(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function d(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(ya(7));if(void 0===t.type)throw new Error(ya(8));if(l)throw new Error(ya(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 d({type:ma.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ya(10));i=t,d({type:ma.REPLACE})}})[ga]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ya(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ga]=function(){return this},t},r}function xa(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:ma.INIT}))throw new Error(ya(12));if(void 0===e(void 0,{type:ma.PROBE_UNKNOWN_ACTION()}))throw new Error(ya(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(ya(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function Oa(){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 wa(){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(ya(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=Oa.apply(void 0,n)(e.dispatch),ua(ua({},e),{},{dispatch:r})}}}function Sa(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 Ca=Sa();Ca.withExtraArgument=Sa;var Na,Ea=Ca,Ia=(Na=function(t,o){return Na=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])},Na(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}Na(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),$a=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])}}},Ra=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},ka=Object.defineProperty,La=Object.defineProperties,Ua=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,za=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable,Fa=function(t,o,e){return o in t?ka(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Aa=function(t,o){for(var e in o||(o={}))za.call(o,e)&&Fa(t,e,o[e]);if(Wa)for(var r=0,i=Wa(o);r<i.length;r++){e=i[r];Ba.call(o,e)&&Fa(t,e,o[e])}return t},ja=function(t,o){return La(t,Ua(o))},Pa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Oa:Oa.apply(null,arguments)};var _a=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 Ia(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,Ra([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ra([void 0],t.concat(this))))},o}(Array),Ma=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 Ia(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,Ra([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ra([void 0],t.concat(this))))},o}(Array);function Za(t){return yn(t)?ca(t,(function(){})):t}function Ka(){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 _a;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Ea.withExtraArgument(e.extraArgument)):r.push(Ea));return r}(t)}}function Da(t){var o,e=Ka(),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,d=r.enhancers,h=void 0===d?void 0:d;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=xa(n)}var u=s;"function"==typeof u&&(u=u(e));var y=wa.apply(void 0,u),g=Oa;c&&(g=Pa(Aa({trace:!1},"object"==typeof c&&c)));var b=new Ma(y),m=b;return Array.isArray(h)?m=Ra([y],h):"function"==typeof h&&(m=h(b)),va(o,p,g.apply(void 0,m))}function Ha(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 Aa(Aa({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 Ta(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 Ga(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:Za(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Ta(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=Aa(Aa({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ta(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Za(t())};else{var c=Za(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=Ra([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(un(t))return void 0===(r=e(t,o))?t:r;if(yn(t))return ca(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?Ha(c,r):Ha(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 Va=["name","message","stack","code"],qa=function(t,o){this.payload=t,this.meta=o},Ya=function(t,o){this.payload=t,this.meta=o},Ja=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Va;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Xa(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=Ha(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:ja(Aa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ha(t+"/pending",(function(t,o,e){return{payload:void 0,meta:ja(Aa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ha(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ja)(t||"Rejected"),meta:ja(Aa({},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}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,y,g,b,m;return $a(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||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.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:d.signal,abort:h,rejectWithValue:function(t,o){return new qa(t,o)},fulfillWithValue:function(t,o){return new Ya(t,o)}})).then((function(o){if(o instanceof qa)throw o;return o instanceof Ya?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 qa?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,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Xa)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Qa="listenerMiddleware";Ha(Qa+"/add"),Ha(Qa+"/removeAll"),Ha(Qa+"/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[ta];return na.get(o,t)},set:function(o){var e=this[ta];na.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][ta];if(!i.P)switch(i.i){case 5:r(i)&&Mn(i);break;case 4:e(i)&&Mn(i)}}}function e(t){for(var o=t.t,e=t.k,r=ea(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==ta){var a=o[n];if(void 0===a&&!mn(o,n))return!0;var s=e[n],l=s&&s[ta];if(l?l.t!==a:!xn(s,a))return!0}}var c=!!o[ta];return r.length!==ea(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){ia[t]||(ia[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=ra(e);delete n[ta];for(var a=ea(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:Rn(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,ta,{value:n,writable:!0}),i},S:function(t,e,i){i?un(e)&&e[ta].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[ta];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)gn(n,(function(o){o!==ta&&(void 0!==i[o]||mn(i,o)?a[o]||t(n[o]):(a[o]=!0,Mn(e)))})),gn(i,(function(t){void 0!==n[t]||mn(n,t)||(a[t]=!1,Mn(e))}));else if(5===s){if(r(e)&&(Mn(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 ts{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(nn(i))return i;if(null==r)return;const n=Ga({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Da({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new ts(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new rn,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_VALUE_SETTER__"+Object.keys(t).join("_"),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()}}var os=Object.freeze({__proto__:null,FtCommandQueue:rn,FtLitElementRedux:dn,FtReduxStore:ts,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))nn(o)&&o.clear()},isFtReduxStore:nn,redux:en,reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var es=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const rs=Symbol("elementInternals");function is(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[rs].form}constructor(...t){super(t),this[rs]=this.attachInternals(),this[rs].role=o}setFormValue(t){this[rs].setFormValue(t)}}}var ns,as,ss,ls,cs=Object.freeze({__proto__:null,toFtFormComponent:is});const fs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ss=null===(as=null===(ns=window.safari)||void 0===ns?void 0:ns.pushNotification)||void 0===as?void 0:as.toString())&&void 0!==ss?ss:""),ps="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(ls=window.ftGlobals)&&void 0!==ls?ls:{lit:xo,litDecorators:ko,litRepeat:Ko,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...ie,...ee,...ae,...le,...be,...wr,...Er,...Ri,...xr,..._i,...Mi,...he,...Vi,...Xi,...Qi,...on,...os,...zi,...es,...cs,isSafari:fs,isTouchScreen:ps}};const ds=ve.extend("--ft-ripple-color","",Or.colorContent),hs={color:ds,backgroundColor:ve.extend("--ft-ripple-background-color","",ds),opacityContentOnSurfacePressed:ve.external(Or.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(Or.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(Or.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(Or.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},us=ve.extend("--ft-ripple-color","",Or.colorPrimary),ys=us,gs=ve.extend("--ft-ripple-background-color","",us),bs=ve.extend("--ft-ripple-color","",Or.colorSecondary),ms=bs,vs=ve.extend("--ft-ripple-background-color","",bs),xs=dt`
|
|
42
|
+
`;var us={};var oi={};z(oi,{ParametrizedLabelResolver:()=>Co});var Co=class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return o.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):t??""}formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var _i={};z(_i,{FtCommandQueue:()=>wo,FtLitElementRedux:()=>qt,FtReduxStore:()=>Se,clearAllStores:()=>qp,isFtReduxStore:()=>be,redux:()=>ri,reduxEventListener:()=>fp,reduxReactive:()=>dp});var dp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},ri=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:(c,l)=>!ht(c,l),attribute:!1,...t};C(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}},fp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var wo=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function be(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var hs,ms,ys,pr=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),xe=Symbol("internalStores"),qt=class extends H{constructor(){super(...arguments),this[hs]=new Map,this[ms]=new Map,this[ys]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&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 t==null?this.getUnnamedStore():this[xe].get(t)}addStore(t,o){var n;o=(n=o??(be(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[xe].delete(o)}setupStore(t,o){this[xe].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[xe].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[Zt].has(t.store):this[Zt].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[Zt].set(t,o.subscribe(()=>this.updateFromStores())),be(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[pr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zt].forEach((t,o)=>this.unsubscribeFromStore(o)),this[pr].forEach(t=>t()),this[pr]=[]}unsubscribeFromStore(t){this[Zt].has(t)&&this[Zt].get(t)(),this[Zt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};hs=Zt,ms=xe,ys=pr;qt.reduxProperties=new Map;qt.reduxReactiveProperties=new Set;qt.reduxEventListeners=new Map;function mt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Bt(e){return!!e&&!!e[F]}function xt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===vp}(e)||Array.isArray(e)||!!e[Cs]||!!(!((t=e.constructor)===null||t===void 0)&&t[Cs])||fi(e)||ui(e))}function ve(e,t,o){o===void 0&&(o=!1),Ue(e)===0?(o?Object.keys:Me)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Ue(e){var t=e[F];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:fi(e)?2:ui(e)?3:0}function ke(e,t){return Ue(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function up(e,t){return Ue(e)===2?e.get(t):e[t]}function ws(e,t,o){var n=Ue(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Es(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function fi(e){return bp&&e instanceof Map}function ui(e){return xp&&e instanceof Set}function Yt(e){return e.o||e.t}function hi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Rs(e);delete t[F];for(var o=Me(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function mi(e,t){return t===void 0&&(t=!1),yi(e)||Bt(e)||!xt(e)||(Ue(e)>1&&(e.set=e.add=e.clear=e.delete=hp),Object.freeze(e),t&&ve(e,function(o,n){return mi(n,!0)},!0)),e}function hp(){mt(2)}function yi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function _t(e){var t=di[e];return t||mt(18,e),t}function mp(e,t){di[e]||(di[e]=t)}function ci(){return No}function ni(e,t){t&&(_t("Patches"),e.u=[],e.s=[],e.v=t)}function dr(e){li(e),e.p.forEach(yp),e.p=null}function li(e){e===No&&(No=e.l)}function gs(e){return No={p:[],l:No,h:e,m:!0,_:0}}function yp(e){var t=e[F];t.i===0||t.i===1?t.j():t.g=!0}function ii(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||_t("ES5").S(t,e,n),n?(o[F].P&&(dr(t),mt(4)),xt(e)&&(e=fr(t,e),t.l||ur(t,e)),t.u&&_t("Patches").M(o[F].t,e,t.u,t.s)):e=fr(t,o,[]),dr(t),t.u&&t.v(t.u,t.s),e!==As?e:void 0}function fr(e,t,o){if(yi(t))return t;var n=t[F];if(!n)return ve(t,function(c,l){return bs(e,n,t,c,l,o)},!0),t;if(n.A!==e)return t;if(!n.P)return ur(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=hi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ve(a,function(c,l){return bs(e,n,i,c,l,o,s)}),ur(e,i,!1),o&&e.u&&_t("Patches").N(n,o,e.u,e.s)}return n.o}function bs(e,t,o,n,i,a,s){if(Bt(i)){var c=fr(e,i,a&&t&&t.i!==3&&!ke(t.R,n)?a.concat(n):void 0);if(ws(o,n,c),!Bt(c))return;e.m=!1}else s&&o.add(i);if(xt(i)&&!yi(i)){if(!e.h.D&&e._<1)return;fr(e,i),t&&t.A.l||ur(e,i)}}function ur(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&mi(t,o)}function ai(e,t){var o=e[F];return(o?Yt(o):e)[t]}function xs(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function Xt(e){e.P||(e.P=!0,e.l&&Xt(e.l))}function si(e){e.o||(e.o=hi(e.t))}function pi(e,t,o){var n=fi(t)?_t("MapSet").F(t,o):ui(t)?_t("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:ci(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,d=Ao;s&&(l=[c],d=Eo);var h=Proxy.revocable(l,d),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(t,o):_t("ES5").J(t,o);return(o?o.A:ci()).p.push(n),n}function gp(e){return Bt(e)||mt(22,e),function t(o){if(!xt(o))return o;var n,i=o[F],a=Ue(o);if(i){if(!i.P&&(i.i<4||!_t("ES5").K(i)))return i.t;i.I=!0,n=vs(o,a),i.I=!1}else n=vs(o,a);return ve(n,function(s,c){i&&up(i.t,s)===c||ws(n,s,t(c))}),a===3?new Set(n):n}(e)}function vs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return hi(e)}function Ns(){function e(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[F];return Ao.get(d,s)},set:function(d){var h=this[F];Ao.set(h,s,d)}},l}function t(s){for(var c=s.length-1;c>=0;c--){var l=s[c][F];if(!l.P)switch(l.i){case 5:n(l)&&Xt(l);break;case 4:o(l)&&Xt(l)}}}function o(s){for(var c=s.t,l=s.k,d=Me(l),h=d.length-1;h>=0;h--){var u=d[h];if(u!==F){var m=c[u];if(m===void 0&&!ke(c,u))return!0;var y=l[u],g=y&&y[F];if(g?g.t!==m:!Es(y,m))return!0}}var v=!!c[F];return d.length!==Me(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&mt(3,JSON.stringify(Yt(s)))}var a={};mp("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(u,m){if(u){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var v=Rs(m);delete v[F];for(var E=Me(v),N=0;N<E.length;N++){var A=E[N];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),h={i:l?5:4,A:c?c.A:ci(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,F,{value:h,writable:!0}),d},S:function(s,c,l){l?Bt(c)&&c[F].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[F];if(u){var m=u.t,y=u.k,g=u.R,v=u.i;if(v===4)ve(y,function(b){b!==F&&(m[b]!==void 0||ke(m,b)?g[b]||d(y[b]):(g[b]=!0,Xt(u)))}),ve(m,function(b){y[b]!==void 0||ke(y,b)||(g[b]=!1,Xt(u))});else if(v===5){if(n(u)&&(Xt(u),g.length=!0),y.length<m.length)for(var E=y.length;E<m.length;E++)g[E]=!1;else for(var N=m.length;N<y.length;N++)g[N]=!0;for(var A=Math.min(y.length,m.length),x=0;x<A;x++)y.hasOwnProperty(x)||(g[x]=!0),g[x]===void 0&&d(y[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ss,No,gi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",bp=typeof Map<"u",xp=typeof Set<"u",Os=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",As=gi?Symbol.for("immer-nothing"):((Ss={})["immer-nothing"]=!0,Ss),Cs=gi?Symbol.for("immer-draftable"):"__$immer_draftable",F=gi?Symbol.for("immer-state"):"__$immer_state";var vp=""+Object.prototype.constructor,Me=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Rs=Object.getOwnPropertyDescriptors||function(e){var t={};return Me(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},di={},Ao={get:function(e,t){if(t===F)return e;var o=Yt(e);if(!ke(o,t))return function(i,a,s){var c,l=xs(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!xt(n)?n:n===ai(e.t,t)?(si(e),e.o[t]=pi(e.A.h,n,e)):n},has:function(e,t){return t in Yt(e)},ownKeys:function(e){return Reflect.ownKeys(Yt(e))},set:function(e,t,o){var n=xs(Yt(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=ai(Yt(e),t),a=i?.[F];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Es(o,i)&&(o!==void 0||ke(e.t,t)))return!0;si(e),Xt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return ai(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,si(e),Xt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=Yt(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){mt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){mt(12)}},Eo={};ve(Ao,function(e,t){Eo[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Eo.deleteProperty=function(e,t){return Eo.set.call(this,e,t,void 0)},Eo.set=function(e,t,o){return Ao.set.call(this,e[0],t,o,e[0])};var Sp=function(){function e(o){var n=this;this.O=Os,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(v){var E=this;v===void 0&&(v=c);for(var N=arguments.length,A=Array(N>1?N-1:0),x=1;x<N;x++)A[x-1]=arguments[x];return l.produce(v,function(b){var S;return(S=a).call.apply(S,[E,b].concat(A))})}}var d;if(typeof a!="function"&&mt(6),s!==void 0&&typeof s!="function"&&mt(7),xt(i)){var h=gs(n),u=pi(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?dr(h):li(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return ni(h,s),ii(v,h)},function(v){throw dr(h),v}):(ni(h,s),ii(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===As&&(d=void 0),n.D&&mi(d,!0),s){var y=[],g=[];_t("Patches").M(i,d,y,g),s(y,g)}return d}mt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(d,function(y){return i.apply(void 0,[y].concat(u))})};var s,c,l=n.produce(i,a,function(d,h){s=d,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){xt(o)||mt(8),Bt(o)&&(o=gp(o));var n=gs(this),i=pi(this,o,void 0);return i[F].C=!0,li(n),i},t.finishDraft=function(o,n){var i=o&&o[F],a=i.A;return ni(a,n),ii(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Os&&mt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=_t("Patches").$;return Bt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),dt=new Sp,Op=dt.produce,Ym=dt.produceWithPatches.bind(dt),Xm=dt.setAutoFreeze.bind(dt),Jm=dt.setUseProxies.bind(dt),Qm=dt.applyPatches.bind(dt),ty=dt.createDraft.bind(dt),ey=dt.finishDraft.bind(dt),hr=Op;function Jt(e){"@babel/helpers - typeof";return Jt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(e)}function bi(e,t){if(Jt(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(Jt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xi(e){var t=bi(e,"string");return Jt(t)==="symbol"?t:String(t)}function vi(e,t,o){return t=xi(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function _s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function mr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?_s(Object(o),!0).forEach(function(n){vi(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_s(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Ps=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Si=function(){return Math.random().toString(36).substring(7).split("").join(".")},yr={INIT:"@@redux/INIT"+Si(),REPLACE:"@@redux/REPLACE"+Si(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Si()}};function Cp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Oi(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Q(1));return o(Oi)(e,t)}if(typeof e!="function")throw new Error(Q(2));var i=e,a=t,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(Q(3));return a}function u(v){if(typeof v!="function")throw new Error(Q(4));if(l)throw new Error(Q(5));var E=!0;return d(),c.push(v),function(){if(E){if(l)throw new Error(Q(6));E=!1,d();var A=c.indexOf(v);c.splice(A,1),s=null}}}function m(v){if(!Cp(v))throw new Error(Q(7));if(typeof v.type>"u")throw new Error(Q(8));if(l)throw new Error(Q(9));try{l=!0,a=i(a,v)}finally{l=!1}for(var E=s=c,N=0;N<E.length;N++){var A=E[N];A()}return v}function y(v){if(typeof v!="function")throw new Error(Q(10));i=v,m({type:yr.REPLACE})}function g(){var v,E=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(Q(11));function x(){A.next&&A.next(h())}x();var b=E(x);return{unsubscribe:b}}},v[Ps]=function(){return this},v}return m({type:yr.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:y},n[Ps]=g,n}function wp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:yr.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof o(void 0,{type:yr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function $s(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,c;try{wp(o)}catch(l){c=l}return function(d,h){if(d===void 0&&(d={}),c)throw c;if(0)var u;for(var m=!1,y={},g=0;g<a.length;g++){var v=a[g],E=o[v],N=d[v],A=E(N,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(Q(14))}y[v]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?y:d}}function De(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Ls(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Q(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(l){return l(s)});return a=De.apply(void 0,c)(i.dispatch),mr(mr({},i),{},{dispatch:a})}}}function Ts(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var Is=Ts();Is.withExtraArgument=Ts;var Ci=Is;var Ws=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Ep=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return l([d,h])}}function l(d){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return o.label++,{value:d[1],done:!1};case 5:o.label++,i=d[1],d=[0];continue;case 7:d=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){o=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){o.label=d[1];break}if(d[0]===6&&o.label<a[1]){o.label=a[1],a=d;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(d);break}a[2]&&o.ops.pop(),o.trys.pop();continue}d=t.call(e,o)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},We=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Np=Object.defineProperty,Ap=Object.defineProperties,Rp=Object.getOwnPropertyDescriptors,ks=Object.getOwnPropertySymbols,_p=Object.prototype.hasOwnProperty,Pp=Object.prototype.propertyIsEnumerable,Ms=function(e,t,o){return t in e?Np(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Qt=function(e,t){for(var o in t||(t={}))_p.call(t,o)&&Ms(e,o,t[o]);if(ks)for(var n=0,i=ks(t);n<i.length;n++){var o=i[n];Pp.call(t,o)&&Ms(e,o,t[o])}return e},wi=function(e,t){return Ap(e,Rp(t))},$p=function(e,t,o){return new Promise(function(n,i){var a=function(l){try{c(o.next(l))}catch(d){i(d)}},s=function(l){try{c(o.throw(l))}catch(d){i(d)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((o=o.apply(e,t)).next())})};var Lp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?De:De.apply(null,arguments)},xy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Tp(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Ip=function(e){Ws(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,We([void 0],o[0].concat(this)))):new(t.bind.apply(t,We([void 0],o.concat(this))))},t}(Array),kp=function(e){Ws(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,We([void 0],o[0].concat(this)))):new(t.bind.apply(t,We([void 0],o.concat(this))))},t}(Array);function Ai(e){return xt(e)?hr(e,function(){}):e}function Mp(e){return typeof e=="boolean"}function Up(){return function(t){return Dp(t)}}function Dp(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new Ip;if(o&&(Mp(o)?c.push(Ci):c.push(Ci.withExtraArgument(o.extraArgument))),0){if(i)var l;if(s)var d}return c}var Ei=!0;function Bs(e){var t=Up(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,l=c===void 0?!0:c,d=o.preloadedState,h=d===void 0?void 0:d,u=o.enhancers,m=u===void 0?void 0:u,y;if(typeof i=="function")y=i;else if(Tp(i))y=$s(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(t),!Ei&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ei&&g.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=Ls.apply(void 0,g),E=De;l&&(E=Lp(Qt({trace:!Ei},typeof l=="object"&&l)));var N=new kp(v),A=N;Array.isArray(m)?A=We([v],m):typeof m=="function"&&(A=m(N));var x=E.apply(void 0,A);return Oi(y,h,x)}function te(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Qt(Qt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function zs(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function Wp(e){return typeof e=="function"}function Bp(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?zs(t):[t,o,n],a=i[0],s=i[1],c=i[2],l;if(Wp(e))l=function(){return Ai(e())};else{var d=Ai(e);l=function(){return d}}function h(u,m){u===void 0&&(u=l());var y=We([a[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return y.filter(function(g){return!!g}).length===0&&(y=[c]),y.reduce(function(g,v){if(v)if(Bt(g)){var E=g,N=v(E,m);return N===void 0?g:N}else{if(xt(g))return hr(g,function(A){return v(A,m)});var N=v(g,m);if(N===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return g},u)}return h.getInitialState=l,h}function zp(e,t){return e+"/"+t}function Hs(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Ai(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=zp(t,h),y,g;"reducer"in u?(y=u.reducer,g=u.prepare):y=u,a[h]=y,s[m]=y,c[h]=g?te(m,g):te(m)});function l(){var h=typeof e.extraReducers=="function"?zs(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,y=h[1],g=y===void 0?[]:y,v=h[2],E=v===void 0?void 0:v,N=Qt(Qt({},m),s);return Bp(o,function(A){for(var x in N)A.addCase(x,N[x]);for(var b=0,S=g;b<S.length;b++){var $=S[b];A.addMatcher($.matcher,$.reducer)}E&&A.addDefaultCase(E)})}var d;return{name:t,reducer:function(h,u){return d||(d=l()),d(h,u)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var Hp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fp=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=Hp[Math.random()*64|0];return t},jp=["name","message","stack","code"],Ni=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Us=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Vp=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=jp;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Cy=function(){function e(t,o,n){var i=te(t+"/fulfilled",function(h,u,m,y){return{payload:h,meta:wi(Qt({},y||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=te(t+"/pending",function(h,u,m){return{payload:void 0,meta:wi(Qt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=te(t+"/rejected",function(h,u,m,y,g){return{payload:y,error:(n&&n.serializeError||Vp)(h||"Rejected"),meta:wi(Qt({},g||{}),{arg:m,requestId:u,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,y){var g=n?.idGenerator?n.idGenerator(h):Fp(),v=new l,E,N=!1;function A(b){E=b,v.abort()}var x=function(){return $p(this,null,function(){var b,S,$,D,ot,W,_;return Ep(this,function(L){switch(L.label){case 0:return L.trys.push([0,4,,5]),D=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:y}),Gp(D)?[4,D]:[3,2];case 1:D=L.sent(),L.label=2;case 2:if(D===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ot=new Promise(function(k,J){return v.signal.addEventListener("abort",function(){return J({name:"AbortError",message:E||"Aborted"})})}),u(a(g,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:g,arg:h},{getState:m,extra:y}))),[4,Promise.race([ot,Promise.resolve(o(h,{dispatch:u,getState:m,extra:y,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(k,J){return new Ni(k,J)},fulfillWithValue:function(k,J){return new Us(k,J)}})).then(function(k){if(k instanceof Ni)throw k;return k instanceof Us?i(k.payload,g,h,k.meta):i(k,g,h)})])];case 3:return $=L.sent(),[3,5];case 4:return W=L.sent(),$=W instanceof Ni?s(null,g,h,W.payload,W.meta):s(W,g,h),[3,5];case 5:return _=n&&!n.dispatchConditionRejection&&s.match($)&&$.meta.condition,_||u($),[2,$]}})})}();return Object.assign(x,{abort:A,requestId:g,arg:h,unwrap:function(){return x.then(Kp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function Kp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Gp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Fs="listener",js="completed",Vs="cancelled",wy="task-"+Vs,Ey="task-"+js,Ny=Fs+"-"+Vs,Ay=Fs+"-"+js;var Ri="listenerMiddleware";var Ry=te(Ri+"/add"),_y=te(Ri+"/removeAll"),Py=te(Ri+"/remove");var Ds,$y=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ds||(Ds=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Zp=function(e){return function(t){setTimeout(t,e)}},Ly=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Zp(10);Ns();window.ftReduxStores||(window.ftReduxStores={});var Se=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(be(a))return a;if(i==null)return;let s=Hs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Bs({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new wo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),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()}};function qp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))be(t)&&t.clear()}var Pi={};z(Pi,{serializeRequest:()=>Xp});function Yp(e){return`"${e}"`}function Xp(e,t){var o,n,i,a;let s=new URLSearchParams({"content-lang":(o=t.contentLocale)!==null&&o!==void 0?o:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let l=t.periodFilter.period,d=l?`_${l.from}_${l.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let l=t.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(Yp(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var Li={};z(Li,{toFtFormComponent:()=>$i});var gr=Symbol("elementInternals");function $i(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[gr].form}constructor(...i){super(i),this[gr]=this.attachInternals(),this[gr].role=t}setFormValue(i){this[gr].setFormValue(i)}}return o}var Ti,Ii,ki,Mi,Ui=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ki=(Ii=(Ti=window.safari)===null||Ti===void 0?void 0:Ti.pushNotification)===null||Ii===void 0?void 0:Ii.toString())!==null&&ki!==void 0?ki:"")==="[object SafariRemoteNotification]",Jp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Mi=window.ftGlobals)!==null&&Mi!==void 0?Mi:{lit:Hr,litDecorators:jr,litRepeat:Vr,litClassMap:Kr,litStyleMap:Gr,litUnsafeHTML:qr,wcUtils:{...Jr,...Xr,...tn,...en,...rn,...$n,...kn,...Gn,...Pn,...Yn,...ds,...on,...ti,...ei,...us,...oi,..._i,...Zn,...Pi,...Li,isSafari:Ui,isTouchScreen:Jp}};var Ks=r.extend("--ft-ripple-color","",U.colorContent),M={color:Ks,backgroundColor:r.extend("--ft-ripple-background-color","",Ks),opacityContentOnSurfacePressed:r.external(U.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(U.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(U.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(U.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},Gs=r.extend("--ft-ripple-color","",U.colorPrimary),Zs={color:Gs,backgroundColor:r.extend("--ft-ripple-background-color","",Gs)},qs=r.extend("--ft-ripple-color","",U.colorSecondary),Ys={color:qs,backgroundColor:r.extend("--ft-ripple-background-color","",qs)},Xs=P`
|
|
177
43
|
:host {
|
|
178
44
|
display: contents;
|
|
179
45
|
}
|
|
@@ -186,7 +52,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
186
52
|
|
|
187
53
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
188
54
|
overflow: hidden;
|
|
189
|
-
border-radius: ${
|
|
55
|
+
border-radius: ${M.borderRadius};
|
|
190
56
|
}
|
|
191
57
|
|
|
192
58
|
.ft-ripple .ft-ripple--background,
|
|
@@ -220,27 +86,27 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
220
86
|
}
|
|
221
87
|
|
|
222
88
|
.ft-ripple .ft-ripple--background {
|
|
223
|
-
background-color: ${
|
|
89
|
+
background-color: ${M.backgroundColor};
|
|
224
90
|
}
|
|
225
91
|
|
|
226
92
|
.ft-ripple .ft-ripple--effect {
|
|
227
|
-
background-color: ${
|
|
93
|
+
background-color: ${M.color};
|
|
228
94
|
}
|
|
229
95
|
|
|
230
96
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
231
|
-
background-color: ${
|
|
97
|
+
background-color: ${Ys.backgroundColor};
|
|
232
98
|
}
|
|
233
99
|
|
|
234
100
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
235
|
-
background-color: ${
|
|
101
|
+
background-color: ${Ys.color};
|
|
236
102
|
}
|
|
237
103
|
|
|
238
104
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
239
|
-
background-color: ${
|
|
105
|
+
background-color: ${Zs.backgroundColor};
|
|
240
106
|
}
|
|
241
107
|
|
|
242
108
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
243
|
-
background-color: ${
|
|
109
|
+
background-color: ${Zs.color};
|
|
244
110
|
}
|
|
245
111
|
|
|
246
112
|
.ft-ripple .ft-ripple--background {
|
|
@@ -270,126 +136,126 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
270
136
|
}
|
|
271
137
|
|
|
272
138
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
273
|
-
opacity: ${
|
|
139
|
+
opacity: ${M.opacityContentOnSurfaceHover};
|
|
274
140
|
}
|
|
275
141
|
|
|
276
142
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
277
|
-
opacity: ${
|
|
143
|
+
opacity: ${M.opacityContentOnSurfaceSelected};
|
|
278
144
|
}
|
|
279
145
|
|
|
280
146
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
281
|
-
opacity: ${
|
|
147
|
+
opacity: ${M.opacityContentOnSurfaceFocused};
|
|
282
148
|
}
|
|
283
149
|
|
|
284
150
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
285
|
-
opacity: ${
|
|
151
|
+
opacity: ${M.opacityContentOnSurfacePressed};
|
|
286
152
|
transform: translate(-50%, -50%) scale(1);
|
|
287
153
|
}
|
|
288
|
-
`;
|
|
154
|
+
`;function Js(e){let t=uo[e];return P`
|
|
155
|
+
.ft-typography--${le(e)} {
|
|
156
|
+
font-family: ${t.fontFamily};
|
|
157
|
+
font-size: ${t.fontSize};
|
|
158
|
+
font-weight: ${t.fontWeight};
|
|
159
|
+
letter-spacing: ${t.letterSpacing};
|
|
160
|
+
line-height: ${t.lineHeight};
|
|
161
|
+
text-transform: ${t.textCase};
|
|
162
|
+
}
|
|
163
|
+
`}var Qs=r.extend("--ft-typography-font-family","",U.titleFont),zt=r.extend("--ft-typography-font-family","",U.contentFont),R={fontFamily:zt,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Be={fontFamily:r.extend("--ft-typography-title-font-family","",Qs),fontSize:r.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit")},ze={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Qs),fontSize:r.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit")},He={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",zt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit")},Fe={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",zt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit")},je={fontFamily:r.extend("--ft-typography-body1-font-family","",zt),fontSize:r.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit")},Ve={fontFamily:r.extend("--ft-typography-body2-font-family","",zt),fontSize:r.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit")},Ke={fontFamily:r.extend("--ft-typography-caption-font-family","",zt),fontSize:r.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit")},Ge={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",zt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit")},Ze={fontFamily:r.extend("--ft-typography-overline-font-family","",zt),fontSize:r.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase")},Pt={fontFamily:r.extend("--ft-typography-button-font-family","",zt),fontSize:r.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase")},tc=P`
|
|
289
164
|
.ft-typography--title {
|
|
290
|
-
font-family: ${
|
|
291
|
-
font-size: ${
|
|
292
|
-
font-weight: ${
|
|
293
|
-
letter-spacing: ${
|
|
294
|
-
line-height: ${
|
|
295
|
-
text-transform: ${
|
|
165
|
+
font-family: ${Be.fontFamily};
|
|
166
|
+
font-size: ${Be.fontSize};
|
|
167
|
+
font-weight: ${Be.fontWeight};
|
|
168
|
+
letter-spacing: ${Be.letterSpacing};
|
|
169
|
+
line-height: ${Be.lineHeight};
|
|
170
|
+
text-transform: ${Be.textTransform};
|
|
296
171
|
}
|
|
297
|
-
`,
|
|
172
|
+
`,ec=P`
|
|
298
173
|
.ft-typography--title-dense {
|
|
299
|
-
font-family: ${
|
|
300
|
-
font-size: ${
|
|
301
|
-
font-weight: ${
|
|
302
|
-
letter-spacing: ${
|
|
303
|
-
line-height: ${
|
|
304
|
-
text-transform: ${
|
|
174
|
+
font-family: ${ze.fontFamily};
|
|
175
|
+
font-size: ${ze.fontSize};
|
|
176
|
+
font-weight: ${ze.fontWeight};
|
|
177
|
+
letter-spacing: ${ze.letterSpacing};
|
|
178
|
+
line-height: ${ze.lineHeight};
|
|
179
|
+
text-transform: ${ze.textTransform};
|
|
305
180
|
}
|
|
306
|
-
`,
|
|
181
|
+
`,oc=P`
|
|
307
182
|
.ft-typography--subtitle1 {
|
|
308
|
-
font-family: ${
|
|
309
|
-
font-size: ${
|
|
310
|
-
font-weight: ${
|
|
311
|
-
letter-spacing: ${
|
|
312
|
-
line-height: ${
|
|
313
|
-
text-transform: ${
|
|
183
|
+
font-family: ${He.fontFamily};
|
|
184
|
+
font-size: ${He.fontSize};
|
|
185
|
+
font-weight: ${He.fontWeight};
|
|
186
|
+
letter-spacing: ${He.letterSpacing};
|
|
187
|
+
line-height: ${He.lineHeight};
|
|
188
|
+
text-transform: ${He.textTransform};
|
|
314
189
|
}
|
|
315
|
-
|
|
190
|
+
`,rc=P`
|
|
316
191
|
.ft-typography--subtitle2 {
|
|
317
|
-
font-family: ${
|
|
318
|
-
font-size: ${
|
|
319
|
-
font-weight: ${
|
|
320
|
-
letter-spacing: ${
|
|
321
|
-
line-height: ${
|
|
322
|
-
text-transform: ${
|
|
192
|
+
font-family: ${Fe.fontFamily};
|
|
193
|
+
font-size: ${Fe.fontSize};
|
|
194
|
+
font-weight: ${Fe.fontWeight};
|
|
195
|
+
letter-spacing: ${Fe.letterSpacing};
|
|
196
|
+
line-height: ${Fe.lineHeight};
|
|
197
|
+
text-transform: ${Fe.textTransform};
|
|
323
198
|
}
|
|
324
199
|
|
|
325
|
-
`,
|
|
200
|
+
`,nc=P`
|
|
326
201
|
.ft-typography--body1 {
|
|
327
|
-
font-family: ${
|
|
328
|
-
font-size: ${
|
|
329
|
-
font-weight: ${
|
|
330
|
-
letter-spacing: ${
|
|
331
|
-
line-height: ${
|
|
332
|
-
text-transform: ${
|
|
202
|
+
font-family: ${je.fontFamily};
|
|
203
|
+
font-size: ${je.fontSize};
|
|
204
|
+
font-weight: ${je.fontWeight};
|
|
205
|
+
letter-spacing: ${je.letterSpacing};
|
|
206
|
+
line-height: ${je.lineHeight};
|
|
207
|
+
text-transform: ${je.textTransform};
|
|
333
208
|
}
|
|
334
|
-
`,
|
|
209
|
+
`,ic=P`
|
|
335
210
|
.ft-typography--body2 {
|
|
336
|
-
font-family: ${
|
|
337
|
-
font-size: ${
|
|
338
|
-
font-weight: ${
|
|
339
|
-
letter-spacing: ${
|
|
340
|
-
line-height: ${
|
|
341
|
-
text-transform: ${
|
|
211
|
+
font-family: ${Ve.fontFamily};
|
|
212
|
+
font-size: ${Ve.fontSize};
|
|
213
|
+
font-weight: ${Ve.fontWeight};
|
|
214
|
+
letter-spacing: ${Ve.letterSpacing};
|
|
215
|
+
line-height: ${Ve.lineHeight};
|
|
216
|
+
text-transform: ${Ve.textTransform};
|
|
342
217
|
}
|
|
343
|
-
`,
|
|
218
|
+
`,ac=P`
|
|
344
219
|
.ft-typography--caption {
|
|
345
|
-
font-family: ${
|
|
346
|
-
font-size: ${
|
|
347
|
-
font-weight: ${
|
|
348
|
-
letter-spacing: ${
|
|
349
|
-
line-height: ${
|
|
350
|
-
text-transform: ${
|
|
220
|
+
font-family: ${Ke.fontFamily};
|
|
221
|
+
font-size: ${Ke.fontSize};
|
|
222
|
+
font-weight: ${Ke.fontWeight};
|
|
223
|
+
letter-spacing: ${Ke.letterSpacing};
|
|
224
|
+
line-height: ${Ke.lineHeight};
|
|
225
|
+
text-transform: ${Ke.textTransform};
|
|
351
226
|
}
|
|
352
|
-
`,
|
|
227
|
+
`,sc=P`
|
|
353
228
|
.ft-typography--breadcrumb {
|
|
354
|
-
font-family: ${
|
|
355
|
-
font-size: ${
|
|
356
|
-
font-weight: ${
|
|
357
|
-
letter-spacing: ${
|
|
358
|
-
line-height: ${
|
|
359
|
-
text-transform: ${
|
|
229
|
+
font-family: ${Ge.fontFamily};
|
|
230
|
+
font-size: ${Ge.fontSize};
|
|
231
|
+
font-weight: ${Ge.fontWeight};
|
|
232
|
+
letter-spacing: ${Ge.letterSpacing};
|
|
233
|
+
line-height: ${Ge.lineHeight};
|
|
234
|
+
text-transform: ${Ge.textTransform};
|
|
360
235
|
}
|
|
361
|
-
`,
|
|
236
|
+
`,cc=P`
|
|
362
237
|
.ft-typography--overline {
|
|
363
|
-
font-family: ${
|
|
364
|
-
font-size: ${
|
|
365
|
-
font-weight: ${
|
|
366
|
-
letter-spacing: ${
|
|
367
|
-
line-height: ${
|
|
368
|
-
text-transform: ${
|
|
238
|
+
font-family: ${Ze.fontFamily};
|
|
239
|
+
font-size: ${Ze.fontSize};
|
|
240
|
+
font-weight: ${Ze.fontWeight};
|
|
241
|
+
letter-spacing: ${Ze.letterSpacing};
|
|
242
|
+
line-height: ${Ze.lineHeight};
|
|
243
|
+
text-transform: ${Ze.textTransform};
|
|
369
244
|
}
|
|
370
|
-
`,
|
|
245
|
+
`,lc=P`
|
|
371
246
|
.ft-typography--button {
|
|
372
|
-
font-family: ${
|
|
373
|
-
font-size: ${
|
|
374
|
-
font-weight: ${
|
|
375
|
-
letter-spacing: ${
|
|
376
|
-
line-height: ${
|
|
377
|
-
text-transform: ${
|
|
247
|
+
font-family: ${Pt.fontFamily};
|
|
248
|
+
font-size: ${Pt.fontSize};
|
|
249
|
+
font-weight: ${Pt.fontWeight};
|
|
250
|
+
letter-spacing: ${Pt.letterSpacing};
|
|
251
|
+
line-height: ${Pt.lineHeight};
|
|
252
|
+
text-transform: ${Pt.textTransform};
|
|
378
253
|
}
|
|
379
|
-
`,
|
|
254
|
+
`,pc=P`
|
|
380
255
|
.ft-typography {
|
|
381
256
|
vertical-align: inherit;
|
|
382
257
|
}
|
|
383
|
-
`,
|
|
384
|
-
.ft-typography--${pt(t)} {
|
|
385
|
-
font-family: ${o.fontFamily};
|
|
386
|
-
font-size: ${o.fontSize};
|
|
387
|
-
font-weight: ${o.fontWeight};
|
|
388
|
-
letter-spacing: ${o.letterSpacing};
|
|
389
|
-
line-height: ${o.lineHeight};
|
|
390
|
-
text-transform: ${o.textCase};
|
|
391
|
-
}
|
|
392
|
-
`}(t)))],Al={color:ve.extend("--ft-loader-color","",Or.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},jl=dt`
|
|
258
|
+
`,dc=[Object.keys(uo).map(e=>Js(e))];var nt={color:r.extend("--ft-loader-color","",U.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},fc=P`
|
|
393
259
|
:host {
|
|
394
260
|
line-height: 0;
|
|
395
261
|
}
|
|
@@ -398,8 +264,8 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
398
264
|
display: inline-block;
|
|
399
265
|
position: relative;
|
|
400
266
|
|
|
401
|
-
width: ${
|
|
402
|
-
height: ${
|
|
267
|
+
width: ${nt.size};
|
|
268
|
+
height: ${nt.size};
|
|
403
269
|
}
|
|
404
270
|
|
|
405
271
|
.ft-loader div {
|
|
@@ -408,7 +274,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
408
274
|
width: 25%;
|
|
409
275
|
height: 25%;
|
|
410
276
|
border-radius: 50%;
|
|
411
|
-
background: ${
|
|
277
|
+
background: ${nt.color};
|
|
412
278
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
413
279
|
}
|
|
414
280
|
|
|
@@ -455,10 +321,10 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
455
321
|
transform: translate(0, 0);
|
|
456
322
|
}
|
|
457
323
|
100% {
|
|
458
|
-
transform: translate(calc(0.35 * ${
|
|
324
|
+
transform: translate(calc(0.35 * ${nt.size}), 0);
|
|
459
325
|
}
|
|
460
326
|
}
|
|
461
|
-
|
|
327
|
+
`;var it={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},uc=P`
|
|
462
328
|
:host, i.ft-icon {
|
|
463
329
|
display: inline-flex;
|
|
464
330
|
align-items: center;
|
|
@@ -467,14 +333,14 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
467
333
|
}
|
|
468
334
|
|
|
469
335
|
:host {
|
|
470
|
-
width: ${
|
|
471
|
-
height: ${
|
|
336
|
+
width: ${it.size};
|
|
337
|
+
height: ${it.size};
|
|
472
338
|
}
|
|
473
339
|
|
|
474
340
|
i.ft-icon {
|
|
475
341
|
width: 100%;
|
|
476
342
|
height: 100%;
|
|
477
|
-
font-size: ${
|
|
343
|
+
font-size: ${it.size};
|
|
478
344
|
line-height: 1;
|
|
479
345
|
font-weight: normal;
|
|
480
346
|
text-transform: none;
|
|
@@ -485,28 +351,28 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
485
351
|
text-rendering: auto;
|
|
486
352
|
-webkit-font-smoothing: antialiased;
|
|
487
353
|
-moz-osx-font-smoothing: grayscale;
|
|
488
|
-
vertical-align: ${
|
|
354
|
+
vertical-align: ${it.verticalAlign};
|
|
489
355
|
}
|
|
490
356
|
|
|
491
357
|
i.ft-icon.ft-icon--fluid-topics {
|
|
492
|
-
font-family: ${
|
|
358
|
+
font-family: ${it.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
493
359
|
|
|
494
360
|
/* Ugly fix because font is broken */
|
|
495
|
-
font-size: calc(0.75 * ${
|
|
496
|
-
line-height: ${
|
|
361
|
+
font-size: calc(0.75 * ${it.size});
|
|
362
|
+
line-height: ${it.size};
|
|
497
363
|
position: relative;
|
|
498
364
|
top: -4%;
|
|
499
365
|
justify-content: center;
|
|
500
366
|
}
|
|
501
367
|
|
|
502
368
|
.ft-icon--file-format {
|
|
503
|
-
font-family: ${
|
|
369
|
+
font-family: ${it.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
504
370
|
}
|
|
505
371
|
|
|
506
372
|
.ft-icon--material {
|
|
507
|
-
font-family: ${
|
|
373
|
+
font-family: ${it.materialFontFamily}, "Material Icons", sans-serif;
|
|
508
374
|
}
|
|
509
|
-
|
|
375
|
+
`;var hc=r.extend("--ft-button-color","",U.colorPrimary),X={backgroundColor:r.extend("--ft-button-background-color","",U.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",U.borderRadiusL),color:hc,fontSize:r.extend("--ft-button-font-size","",Pt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",hc),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(U.colorOpacityDisabled,"Design system")},mc=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",U.colorOnPrimary)),Di={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",U.colorPrimary)),color:mc,rippleColor:r.extend("--ft-button-primary-ripple-color","",mc)},$t={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",U.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},yc=[P`
|
|
510
376
|
:host {
|
|
511
377
|
display: inline-block;
|
|
512
378
|
max-width: 100%;
|
|
@@ -517,7 +383,7 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
517
383
|
box-shadow: 0px 0px 0px transparent;
|
|
518
384
|
border: 0px solid transparent;
|
|
519
385
|
text-shadow: 0px 0px 0px transparent;
|
|
520
|
-
font-size: ${
|
|
386
|
+
font-size: ${X.fontSize};
|
|
521
387
|
}
|
|
522
388
|
|
|
523
389
|
button:hover {
|
|
@@ -546,31 +412,31 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
546
412
|
border: none;
|
|
547
413
|
pointer-events: auto;
|
|
548
414
|
|
|
549
|
-
--ft-button-internal-line-height: max(calc(${
|
|
550
|
-
--ft-button-internal-color: ${
|
|
551
|
-
${
|
|
552
|
-
${
|
|
415
|
+
--ft-button-internal-line-height: max(calc(${X.fontSize} + 2px), ${X.iconSize});
|
|
416
|
+
--ft-button-internal-color: ${X.color};
|
|
417
|
+
${T(it.size,X.iconSize)};
|
|
418
|
+
${T(M.color,X.rippleColor)};
|
|
553
419
|
|
|
554
|
-
border-radius: ${
|
|
555
|
-
padding: ${
|
|
556
|
-
background-color: ${
|
|
420
|
+
border-radius: ${X.borderRadius};
|
|
421
|
+
padding: ${X.verticalPadding} ${X.horizontalPadding};
|
|
422
|
+
background-color: ${X.backgroundColor};
|
|
557
423
|
color: var(--ft-button-internal-color);
|
|
558
424
|
-webkit-mask-image: radial-gradient(white, black);
|
|
559
425
|
}
|
|
560
426
|
|
|
561
427
|
.ft-button.ft-button--outlined {
|
|
562
428
|
border: 1px solid var(--ft-button-internal-color);
|
|
563
|
-
padding: calc(${
|
|
429
|
+
padding: calc(${X.verticalPadding} - 1px) calc(${X.horizontalPadding} - 1px);
|
|
564
430
|
}
|
|
565
431
|
|
|
566
432
|
.ft-button.ft-button--dense {
|
|
567
|
-
padding: ${
|
|
568
|
-
border-radius: ${
|
|
569
|
-
gap: ${
|
|
433
|
+
padding: ${$t.verticalPadding} ${$t.horizontalPadding};
|
|
434
|
+
border-radius: ${$t.borderRadius};
|
|
435
|
+
gap: ${$t.iconPadding};
|
|
570
436
|
}
|
|
571
437
|
|
|
572
438
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
573
|
-
padding: calc(${
|
|
439
|
+
padding: calc(${$t.verticalPadding} - 1px) calc(${$t.horizontalPadding} - 1px);
|
|
574
440
|
}
|
|
575
441
|
|
|
576
442
|
.ft-button:not([disabled]):hover {
|
|
@@ -578,22 +444,22 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
578
444
|
}
|
|
579
445
|
|
|
580
446
|
.ft-button--round {
|
|
581
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
447
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${X.verticalPadding});
|
|
582
448
|
}
|
|
583
449
|
|
|
584
450
|
.ft-button--round.ft-button--dense {
|
|
585
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
451
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$t.verticalPadding});
|
|
586
452
|
}
|
|
587
453
|
|
|
588
454
|
.ft-button[disabled] {
|
|
589
455
|
filter: grayscale(1);
|
|
590
|
-
opacity: ${
|
|
456
|
+
opacity: ${X.opacityDisabled};
|
|
591
457
|
}
|
|
592
458
|
|
|
593
459
|
.ft-button.ft-button--primary {
|
|
594
|
-
background-color: ${
|
|
595
|
-
--ft-button-internal-color: ${
|
|
596
|
-
${
|
|
460
|
+
background-color: ${Di.backgroundColor};
|
|
461
|
+
--ft-button-internal-color: ${Di.color};
|
|
462
|
+
${T(M.color,Di.rippleColor)};
|
|
597
463
|
}
|
|
598
464
|
|
|
599
465
|
.ft-button:focus {
|
|
@@ -606,68 +472,62 @@ function(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
606
472
|
white-space: nowrap;
|
|
607
473
|
text-overflow: ellipsis;
|
|
608
474
|
display: block;
|
|
609
|
-
margin: 0 ${
|
|
610
|
-
${
|
|
611
|
-
${
|
|
475
|
+
margin: 0 ${X.iconPadding};
|
|
476
|
+
${T(Pt.fontSize,"1em")};
|
|
477
|
+
${T(Pt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
612
478
|
}
|
|
613
479
|
|
|
614
480
|
.ft-button--dense .ft-button--label {
|
|
615
|
-
margin: 0 ${
|
|
481
|
+
margin: 0 ${$t.iconPadding};
|
|
616
482
|
}
|
|
617
483
|
|
|
618
484
|
.ft-button--label[hidden] {
|
|
619
485
|
display: none;
|
|
620
486
|
}
|
|
621
487
|
|
|
622
|
-
|
|
488
|
+
[part="icon"] {
|
|
623
489
|
flex-shrink: 0;
|
|
624
490
|
position: relative;
|
|
625
491
|
}
|
|
626
492
|
|
|
627
|
-
.ft-button--label[hidden] +
|
|
628
|
-
margin: 0 calc(${
|
|
629
|
-
padding: 0 ${
|
|
493
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
494
|
+
margin: 0 calc(${X.horizontalPadding} * -1);
|
|
495
|
+
padding: 0 ${X.verticalPadding};
|
|
630
496
|
}
|
|
631
497
|
|
|
632
|
-
.ft-button--dense .ft-button--label[hidden] +
|
|
633
|
-
margin: 0 calc(${
|
|
634
|
-
padding: 0 ${
|
|
498
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
499
|
+
margin: 0 calc(${$t.horizontalPadding} * -1);
|
|
500
|
+
padding: 0 ${$t.verticalPadding};
|
|
635
501
|
}
|
|
636
502
|
|
|
637
|
-
.ft-button:not(.ft-button--trailing-icon)
|
|
638
|
-
|
|
639
|
-
order: -1;
|
|
503
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
504
|
+
order: 2;
|
|
640
505
|
}
|
|
641
506
|
|
|
642
507
|
ft-loader {
|
|
643
|
-
${
|
|
644
|
-
${
|
|
508
|
+
${T(nt.size,X.iconSize)};
|
|
509
|
+
${T(nt.color,"var(--ft-button-internal-color)")};
|
|
645
510
|
}
|
|
646
|
-
`,
|
|
511
|
+
`,So];var at=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},K=class extends H{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 lt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new lt(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.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(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return V`
|
|
647
512
|
<style>
|
|
648
513
|
.ft-ripple .ft-ripple--effect {
|
|
649
514
|
left: ${this.originX}px;
|
|
650
515
|
top: ${this.originY}px;
|
|
651
516
|
}
|
|
652
517
|
</style>
|
|
653
|
-
<div class="${
|
|
518
|
+
<div class="${po(t)}">
|
|
654
519
|
<div class="ft-ripple--background"></div>
|
|
655
520
|
<div class="ft-ripple--effect"></div>
|
|
656
521
|
</div>
|
|
657
|
-
`}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,
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
* Copyright 2020 Google LLC
|
|
661
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
662
|
-
*/
|
|
663
|
-
const Xl=Symbol.for(""),Ql=t=>{if(t?.r===Xl)return t?._$litStatic$},tc=t=>({_$litStatic$:t,r:Xl}),oc=new Map,ec=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Ql(n));)l+=i+o[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=oc.get(t))&&(a.raw=a,oc.set(t,o=a)),e=s}return t(o,...e)})(Z);var rc;!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"}(rc||(rc={}));var ic=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};class nc extends Pi{constructor(){super(...arguments),this.variant=rc.body1}render(){return this.element?ec`
|
|
664
|
-
<${tc(this.element)}
|
|
522
|
+
`}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,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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");let o=(...c)=>l=>{c.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(l)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=Xs;at([C({type:Boolean})],K.prototype,"primary",void 0);at([C({type:Boolean})],K.prototype,"secondary",void 0);at([C({type:Boolean})],K.prototype,"unbounded",void 0);at([C({type:Boolean})],K.prototype,"activated",void 0);at([C({type:Boolean})],K.prototype,"selected",void 0);at([C({type:Boolean})],K.prototype,"disabled",void 0);at([ut()],K.prototype,"hovered",void 0);at([ut()],K.prototype,"focused",void 0);at([ut()],K.prototype,"pressed",void 0);at([ut()],K.prototype,"rippling",void 0);at([ut()],K.prototype,"originX",void 0);at([ut()],K.prototype,"originY",void 0);at([tt(".ft-ripple")],K.prototype,"ripple",void 0);at([tt(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);q("ft-ripple")(K);var bc=Symbol.for(""),Qp=e=>{if(e?.r===bc)return e?._$litStatic$},Wi=e=>({_$litStatic$:e,r:bc});var gc=new Map,xc=e=>(t,...o)=>{let n=o.length,i,a,s=[],c=[],l,d=0,h=!1;for(;d<n;){for(l=t[d];d<n&&(a=o[d],(i=Qp(a))!==void 0);)l+=i+t[++d],h=!0;d!==n&&c.push(a),s.push(l),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=gc.get(u))===void 0&&(s.raw=s,gc.set(u,t=s)),o=c}return e(t,...o)},Bi=xc(sa),vb=xc(ca);var Oe;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Oe||(Oe={}));var vc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},vt=class extends H{constructor(){super(...arguments),this.variant=Oe.body1}render(){return this.element?Bi`
|
|
523
|
+
<${Wi(this.element)}
|
|
524
|
+
part="text"
|
|
665
525
|
class="ft-typography ft-typography--${this.variant}">
|
|
666
526
|
<slot></slot>
|
|
667
|
-
</${
|
|
668
|
-
`:
|
|
669
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
670
|
-
`}}
|
|
527
|
+
</${Wi(this.element)}>
|
|
528
|
+
`:Bi`
|
|
529
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
530
|
+
`}};vt.styles=[tc,ec,oc,rc,nc,ic,ac,sc,cc,lc,pc,...dc];vc([C()],vt.prototype,"element",void 0);vc([C()],vt.prototype,"variant",void 0);q("ft-typography")(vt);var qe={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(U.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},Sc=P`
|
|
671
531
|
.ft-tooltip--container {
|
|
672
532
|
display: block;
|
|
673
533
|
}
|
|
@@ -682,21 +542,21 @@ const Xl=Symbol.for(""),Ql=t=>{if(t?.r===Xl)return t?._$litStatic$},tc=t=>({_$li
|
|
|
682
542
|
box-sizing: border-box;
|
|
683
543
|
overflow: hidden;
|
|
684
544
|
width: max-content;
|
|
685
|
-
max-width: ${
|
|
545
|
+
max-width: ${qe.maxWidth};
|
|
686
546
|
text-align: center;
|
|
687
|
-
padding: ${
|
|
688
|
-
z-index: ${
|
|
547
|
+
padding: ${qe.distance};
|
|
548
|
+
z-index: ${qe.zIndex};
|
|
689
549
|
}
|
|
690
550
|
|
|
691
551
|
.ft-tooltip--content {
|
|
692
552
|
padding: 4px 8px;
|
|
693
|
-
border-radius: ${
|
|
694
|
-
background-color: ${
|
|
695
|
-
color: ${
|
|
553
|
+
border-radius: ${qe.borderRadiusS};
|
|
554
|
+
background-color: ${qe.backgroundColor};
|
|
555
|
+
color: ${qe.color};
|
|
696
556
|
position: relative;
|
|
697
557
|
word-break: break-word;
|
|
698
558
|
}
|
|
699
|
-
`;var
|
|
559
|
+
`;var st=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},j=class extends H{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 lt,this.revealDebouncer=new lt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return V`
|
|
700
560
|
<div part="container"
|
|
701
561
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
702
562
|
@mouseenter=${this.onHover}
|
|
@@ -714,42 +574,45 @@ const Xl=Symbol.for(""),Ql=t=>{if(t?.r===Xl)return t?._$litStatic$},tc=t=>({_$li
|
|
|
714
574
|
</div>
|
|
715
575
|
</div>
|
|
716
576
|
</div>
|
|
717
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",$i(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}bc.elementDefinitions={"ft-typography":nc},bc.styles=dc,gc([So()],bc.prototype,"text",void 0),gc([So({type:Boolean})],bc.prototype,"manual",void 0),gc([So({type:Boolean})],bc.prototype,"inline",void 0),gc([So({type:Number})],bc.prototype,"delay",void 0),gc([So()],bc.prototype,"position",void 0),gc([Ro()],bc.prototype,"slotNodes",void 0),gc([Io(".ft-tooltip--container")],bc.prototype,"container",void 0),gc([Io(".ft-tooltip")],bc.prototype,"tooltip",void 0),gc([Io(".ft-tooltip--content")],bc.prototype,"tooltipContent",void 0),gc([Co()],bc.prototype,"visible",void 0),gc([No({passive:!0})],bc.prototype,"onTouch",null),gc([No({passive:!0})],bc.prototype,"onHover",null),gc([No({passive:!0})],bc.prototype,"onOut",null),gc([No({passive:!0})],bc.prototype,"onClick",null),ue("ft-tooltip")(bc),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.CHART_BAR_NORMALIZED="",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="",t.OCTAGON_XMARK="",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.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="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CONSUMER="",t.HOURGLASS_HALF="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE=""}(hc||(hc={})),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=""}(uc||(uc={})),new Map([...["abw"].map((t=>[t,uc.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,uc.AUDIO])),...["avi"].map((t=>[t,uc.AVI])),...["chm","xhs"].map((t=>[t,uc.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,uc.CODE])),...["csv"].map((t=>[t,uc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,uc.DITA])),...["epub"].map((t=>[t,uc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,uc.EXCEL])),...["flac"].map((t=>[t,uc.FLAC])),...["gif"].map((t=>[t,uc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,uc.GZIP])),...["html","htm","xhtml"].map((t=>[t,uc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,uc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,uc.JPEG])),...["json"].map((t=>[t,uc.JSON])),...["m4a","m4p"].map((t=>[t,uc.M4A])),...["mov","qt"].map((t=>[t,uc.MOV])),...["mp3"].map((t=>[t,uc.MP3])),...["mp4","m4v"].map((t=>[t,uc.MP4])),...["ogg","oga"].map((t=>[t,uc.OGG])),...["pdf","ps"].map((t=>[t,uc.PDF])),...["png"].map((t=>[t,uc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,uc.POWERPOINT])),...["rar"].map((t=>[t,uc.RAR])),...["stp"].map((t=>[t,uc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,uc.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,uc.VIDEO])),...["wav"].map((t=>[t,uc.WAV])),...["wma"].map((t=>[t,uc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,uc.WORD])),...["xml","xsl","rdf"].map((t=>[t,uc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,uc.YAML])),...["zip"].map((t=>[t,uc.ZIP]))]),uc.ABW,uc.AUDIO,uc.AVI,uc.CHM,uc.CODE,uc.CSV,uc.DITA,uc.EPUB,uc.EXCEL,uc.FLAC,uc.GIF,uc.GZIP,uc.HTML,uc.IMAGE,uc.JPEG,uc.JSON,uc.M4A,uc.MOV,uc.MP3,uc.MP4,uc.OGG,uc.PDF,uc.PNG,uc.POWERPOINT,uc.RAR,uc.STP,uc.TEXT,uc.UNKNOWN,uc.VIDEO,uc.WAV,uc.WMA,uc.WORD,uc.XML,uc.YAML,uc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yc||(yc={}));var mc=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};class vc extends Pi{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(yc).includes(this.variant)?this.variant:yc.fluid_topics,o=t!==yc.material||!!this.value;return Jt`
|
|
577
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Kn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};j.elementDefinitions={"ft-typography":vt};j.styles=Sc;st([C()],j.prototype,"text",void 0);st([C({type:Boolean})],j.prototype,"manual",void 0);st([C({type:Boolean})],j.prototype,"inline",void 0);st([C({type:Number})],j.prototype,"delay",void 0);st([C()],j.prototype,"position",void 0);st([Fr()],j.prototype,"slotNodes",void 0);st([tt(".ft-tooltip--container")],j.prototype,"container",void 0);st([tt(".ft-tooltip")],j.prototype,"tooltip",void 0);st([tt(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);st([ut()],j.prototype,"visible",void 0);st([Re({passive:!0})],j.prototype,"onTouch",null);st([Re({passive:!0})],j.prototype,"onHover",null);st([Re({passive:!0})],j.prototype,"onOut",null);st([Re({passive:!0})],j.prototype,"onClick",null);q("ft-tooltip")(j);var br;(function(e){e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.STAR="",e.STAR_PLAIN="",e.DESKTOP="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.ARROW_RIGHT_TO_LINE="",e.THIN_ARROW_UP="",e.CONTEXTUAL="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_NORMALIZED="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.UNSTRUCTURED_DOC="",e.RESET="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.MY_COLLECTIONS="",e.OFFLINE_SETTINGS="",e.MY_LIBRARY="",e.RATE_PLAIN="",e.RATE="",e.FEEDBACK_PLAIN="",e.PAUSE="",e.PLAY="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.SHORTCUT_MENU="",e.PRINT="",e.DEFAULT_ROLES="",e.ACCOUNT_SETTINGS="",e.ONLINE="",e.OFFLINE="",e.UPLOAD="",e.BOOK_PLAIN="",e.SYNC="",e.SHARED_PBK="",e.COLLECTIONS="",e.SEARCH_IN_PUBLICATION="",e.BOOKS="",e.LOCKER="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SAVE="",e.MAILS_AND_NOTIFICATIONS="",e.DOT="",e.MINUS="",e.PLUS="",e.FILTERS="",e.STRIPE_ARROW_RIGHT="",e.STRIPE_ARROW_LEFT="",e.ATTACHMENTS="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.EXPORT="",e.MENU="",e.TAG="",e.TAG_PLAIN="",e.COPY_TO_CLIPBOARD="",e.COLUMNS="",e.ARTICLE="",e.CLOSE="",e.OCTAGON_XMARK="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.LOGOUT="",e.SIGN_IN="",e.THIN_ARROW="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.FACET_HAS_DESCENDANT="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.INFO="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.SHARE="󨃱",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.EXTLINK="",e.EXTLINK_LIGHT="",e.CALENDAR="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.TOPICS="",e.EYE="",e.EYE_SLASH="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN_THEME="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.HOME="",e.TRANSLATE="",e.USER="",e.ADMIN="",e.ANALYTICS="",e.ADMIN_KHUB="",e.ADMIN_USERS="",e.ADMIN_INTEGRATION="",e.ADMIN_PORTAL="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.PIP="",e.PIP_WIDE="",e.EXPAND_WIDE="",e.X_MARK="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CONSUMER="",e.HOURGLASS_HALF="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE=""})(br||(br={}));var O;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(O||(O={}));var Qb=new Map([...["abw"].map(e=>[e,O.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(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.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(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.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(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var t0={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var ee;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ee||(ee={}));var xr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},yt=class extends H{constructor(){super(...arguments),this.resolvedIcon=B}render(){let t=this.variant&&Object.values(ee).includes(this.variant)?this.variant:ee.fluid_topics,o=t!==ee.material||!!this.value;return V`
|
|
718
578
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
719
|
-
${
|
|
579
|
+
${Zr(this.resolvedIcon)}
|
|
720
580
|
<slot ?hidden=${o}></slot>
|
|
721
581
|
</i>
|
|
722
|
-
`}get textContent(){var t,o;return
|
|
582
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case ee.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ee.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(o=br[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};yt.elementDefinitions={};yt.styles=uc;xr([C()],yt.prototype,"variant",void 0);xr([C()],yt.prototype,"value",void 0);xr([ut()],yt.prototype,"resolvedIcon",void 0);xr([tt("slot")],yt.prototype,"slottedContent",void 0);q("ft-icon")(yt);var Ce=class extends H{render(){return V`
|
|
723
583
|
<div class="ft-loader">
|
|
724
584
|
<div></div>
|
|
725
585
|
<div></div>
|
|
726
586
|
<div></div>
|
|
727
587
|
<div></div>
|
|
728
588
|
</div>
|
|
729
|
-
`}}
|
|
589
|
+
`}};Ce.styles=fc;q("ft-loader")(Ce);var ft=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Y=class extends $i(H,"button"){constructor(){super(),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.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(V`
|
|
730
590
|
<button part="button"
|
|
731
|
-
class="${
|
|
591
|
+
class="${po(this.buttonClasses)}"
|
|
732
592
|
aria-label="${this.getLabel()}"
|
|
733
593
|
?disabled=${this.isDisabled()}>
|
|
734
594
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
735
595
|
<ft-typography part="label"
|
|
736
596
|
variant=${this.typographyVariant}
|
|
737
597
|
element="span"
|
|
738
|
-
class="ft-button--label ${
|
|
598
|
+
class="ft-button--label ${Ui?"ft-safari-ellipsis-fix":""}"
|
|
739
599
|
?hidden=${!this.hasTextContent()}>
|
|
740
600
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
741
601
|
</ft-typography>
|
|
742
602
|
${this.resolveIcon()}
|
|
743
603
|
</button>
|
|
744
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
604
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?V`
|
|
745
605
|
<ft-tooltip part="tooltip"
|
|
746
606
|
text="${this.getLabel()}"
|
|
747
607
|
position="${this.tooltipPosition}">
|
|
748
608
|
${t}
|
|
749
609
|
</ft-tooltip>
|
|
750
|
-
`:t}resolveIcon(){return this.loading?
|
|
751
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
752
|
-
|
|
610
|
+
`:t}resolveIcon(){return this.loading?V`
|
|
611
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?V`
|
|
612
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
613
|
+
`:V`
|
|
614
|
+
<slot part="icon" name="icon"></slot>
|
|
615
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||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(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Y.elementDefinitions={"ft-ripple":K,"ft-tooltip":j,"ft-typography":vt,"ft-icon":yt,"ft-loader":Ce};ft([C({type:String,reflect:!0})],Y.prototype,"role",void 0);ft([C()],Y.prototype,"type",void 0);ft([C({type:Boolean})],Y.prototype,"disabled",void 0);ft([C()],Y.prototype,"label",void 0);ft([C()],Y.prototype,"icon",void 0);ft([C()],Y.prototype,"iconVariant",void 0);ft([C({type:Boolean})],Y.prototype,"trailingIcon",void 0);ft([C({type:Boolean})],Y.prototype,"loading",void 0);ft([C()],Y.prototype,"tooltipPosition",void 0);ft([C({type:Boolean})],Y.prototype,"hideTooltip",void 0);ft([C({type:Boolean})],Y.prototype,"forceTooltip",void 0);ft([tt(".ft-button")],Y.prototype,"button",void 0);ft([tt(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);var vr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},St=class extends Y{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"}};St.styles=[Oo,yc];vr([C({type:Boolean})],St.prototype,"primary",void 0);vr([C({type:Boolean})],St.prototype,"outlined",void 0);vr([C({type:Boolean})],St.prototype,"dense",void 0);vr([C({type:Boolean})],St.prototype,"round",void 0);var Oc=[P`
|
|
753
616
|
:host {
|
|
754
617
|
display: inline-block;
|
|
755
618
|
max-width: 100%;
|
|
@@ -799,7 +662,7 @@ const Xl=Symbol.for(""),Ql=t=>{if(t?.r===Xl)return t?._$litStatic$},tc=t=>({_$li
|
|
|
799
662
|
}
|
|
800
663
|
|
|
801
664
|
.ft-button:focus-visible {
|
|
802
|
-
outline-color: ${
|
|
665
|
+
outline-color: ${w.focusFocusRingColor};
|
|
803
666
|
outline-style: solid;
|
|
804
667
|
}
|
|
805
668
|
|
|
@@ -828,208 +691,407 @@ const Xl=Symbol.for(""),Ql=t=>{if(t?.r===Xl)return t?._$litStatic$},tc=t=>({_$li
|
|
|
828
691
|
/** Primary styles **/
|
|
829
692
|
|
|
830
693
|
.ft-button--primary {
|
|
831
|
-
${
|
|
694
|
+
${T(nt.color,w.primaryIconColor)};
|
|
832
695
|
|
|
833
|
-
${
|
|
834
|
-
${
|
|
835
|
-
${
|
|
836
|
-
${
|
|
837
|
-
${
|
|
696
|
+
${T(M.color,w.primaryStateLayerColor)};
|
|
697
|
+
${T(M.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
|
|
698
|
+
${T(M.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
|
|
699
|
+
${T(M.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
|
|
700
|
+
${T(M.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
|
|
838
701
|
|
|
839
|
-
background-color: ${
|
|
840
|
-
color: ${
|
|
702
|
+
background-color: ${w.primaryBackgroundColor};
|
|
703
|
+
color: ${w.primaryColor};
|
|
841
704
|
border-style: none;
|
|
842
705
|
}
|
|
843
706
|
|
|
844
707
|
.ft-button--primary[disabled] {
|
|
845
|
-
opacity: ${
|
|
708
|
+
opacity: ${w.primaryDisabledComponentOpacity};
|
|
846
709
|
}
|
|
847
710
|
|
|
848
711
|
.ft-button--primary ft-icon {
|
|
849
|
-
color: ${
|
|
712
|
+
color: ${w.primaryIconColor};
|
|
850
713
|
}
|
|
851
714
|
|
|
852
715
|
/** Secondary styles **/
|
|
853
716
|
|
|
854
717
|
.ft-button--secondary {
|
|
855
|
-
${
|
|
718
|
+
${T(nt.color,w.secondaryIconColor)};
|
|
856
719
|
|
|
857
|
-
${
|
|
858
|
-
${
|
|
859
|
-
${
|
|
860
|
-
${
|
|
861
|
-
${
|
|
720
|
+
${T(M.color,w.secondaryStateLayerColor)};
|
|
721
|
+
${T(M.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
|
|
722
|
+
${T(M.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
|
|
723
|
+
${T(M.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
|
|
724
|
+
${T(M.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
|
|
862
725
|
|
|
863
|
-
background-color: ${
|
|
864
|
-
color: ${
|
|
865
|
-
border-color: ${
|
|
726
|
+
background-color: ${w.secondaryBackgroundColor};
|
|
727
|
+
color: ${w.secondaryColor};
|
|
728
|
+
border-color: ${w.secondaryBorderColor};
|
|
866
729
|
border-style: solid;
|
|
867
730
|
}
|
|
868
731
|
|
|
869
732
|
.ft-button--secondary[disabled] {
|
|
870
|
-
opacity: ${
|
|
733
|
+
opacity: ${w.secondaryDisabledComponentOpacity};
|
|
871
734
|
}
|
|
872
735
|
|
|
873
736
|
.ft-button--secondary ft-icon {
|
|
874
|
-
color: ${
|
|
737
|
+
color: ${w.secondaryIconColor};
|
|
875
738
|
}
|
|
876
739
|
|
|
877
740
|
/** Tertiary styles **/
|
|
878
741
|
|
|
879
742
|
.ft-button--tertiary {
|
|
880
|
-
${
|
|
743
|
+
${T(nt.color,w.tertiaryIconColor)};
|
|
881
744
|
|
|
882
|
-
${
|
|
883
|
-
${
|
|
884
|
-
${
|
|
885
|
-
${
|
|
886
|
-
${
|
|
745
|
+
${T(M.color,w.tertiaryStateLayerColor)};
|
|
746
|
+
${T(M.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
|
|
747
|
+
${T(M.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
|
|
748
|
+
${T(M.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
|
|
749
|
+
${T(M.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
|
|
887
750
|
|
|
888
|
-
background-color: ${
|
|
889
|
-
color: ${
|
|
751
|
+
background-color: ${w.tertiaryBackgroundColor};
|
|
752
|
+
color: ${w.tertiaryColor};
|
|
890
753
|
border-style: none;
|
|
891
754
|
}
|
|
892
755
|
|
|
893
756
|
.ft-button--tertiary[disabled] {
|
|
894
|
-
opacity: ${
|
|
757
|
+
opacity: ${w.tertiaryDisabledComponentOpacity};
|
|
895
758
|
}
|
|
896
759
|
|
|
897
760
|
.ft-button--tertiary ft-icon {
|
|
898
|
-
color: ${
|
|
761
|
+
color: ${w.tertiaryIconColor};
|
|
899
762
|
}
|
|
900
763
|
|
|
901
764
|
/** Neutral styles **/
|
|
902
765
|
|
|
903
766
|
.ft-button--neutral {
|
|
904
|
-
${
|
|
767
|
+
${T(nt.color,w.neutralIconColor)};
|
|
905
768
|
|
|
906
|
-
${
|
|
907
|
-
${
|
|
908
|
-
${
|
|
909
|
-
${
|
|
910
|
-
${
|
|
769
|
+
${T(M.backgroundColor,w.neutralStateLayerColor)};
|
|
770
|
+
${T(M.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
|
|
771
|
+
${T(M.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
|
|
772
|
+
${T(M.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
|
|
773
|
+
${T(M.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
|
|
911
774
|
|
|
912
|
-
background-color: ${
|
|
913
|
-
color: ${
|
|
775
|
+
background-color: ${w.neutralBackgroundColor};
|
|
776
|
+
color: ${w.neutralColor};
|
|
914
777
|
border-style: none;
|
|
915
778
|
}
|
|
916
779
|
|
|
917
780
|
.ft-button--neutral[disabled] {
|
|
918
|
-
opacity: ${
|
|
781
|
+
opacity: ${w.neutralDisabledComponentOpacity};
|
|
919
782
|
}
|
|
920
783
|
|
|
921
784
|
.ft-button--neutral ft-icon {
|
|
922
|
-
color: ${
|
|
785
|
+
color: ${w.neutralIconColor};
|
|
923
786
|
}
|
|
924
787
|
|
|
925
788
|
/** Large styles **/
|
|
926
789
|
|
|
927
790
|
.ft-button--large {
|
|
928
|
-
${
|
|
929
|
-
${
|
|
930
|
-
|
|
931
|
-
height: ${
|
|
932
|
-
padding: 0 ${
|
|
933
|
-
gap: ${
|
|
934
|
-
border-radius: ${
|
|
935
|
-
border-width: ${
|
|
791
|
+
${T(it.size,w.largeIconSize)};
|
|
792
|
+
${T(nt.size,w.largeIconSize)};
|
|
793
|
+
|
|
794
|
+
height: ${w.largeHeight};
|
|
795
|
+
padding: 0 ${w.largeHorizontalPadding};
|
|
796
|
+
gap: ${w.largeGap};
|
|
797
|
+
border-radius: ${w.largeBorderRadius};
|
|
798
|
+
border-width: ${w.largeBorderWidth};
|
|
936
799
|
}
|
|
937
800
|
|
|
938
801
|
.ft-button--large:focus-visible {
|
|
939
|
-
outline-width: ${
|
|
940
|
-
outline-offset: ${
|
|
802
|
+
outline-width: ${w.largeFocusOutlineWidth};
|
|
803
|
+
outline-offset: ${w.largeFocusOutlineOffset};
|
|
941
804
|
}
|
|
942
805
|
|
|
943
806
|
.ft-button--large.ft-button--icon-only {
|
|
944
|
-
width: ${
|
|
807
|
+
width: ${w.largeIconOnlyWidth};
|
|
945
808
|
padding: unset;
|
|
946
809
|
}
|
|
947
810
|
|
|
948
811
|
/** Small styles **/
|
|
949
812
|
|
|
950
813
|
.ft-button--small {
|
|
951
|
-
${
|
|
952
|
-
${
|
|
953
|
-
|
|
954
|
-
height: ${
|
|
955
|
-
padding: 0 ${
|
|
956
|
-
gap: ${
|
|
957
|
-
border-radius: ${
|
|
958
|
-
border-width: ${
|
|
814
|
+
${T(it.size,w.smallIconSize)};
|
|
815
|
+
${T(nt.size,w.smallIconSize)};
|
|
816
|
+
|
|
817
|
+
height: ${w.smallHeight};
|
|
818
|
+
padding: 0 ${w.smallHorizontalPadding};
|
|
819
|
+
gap: ${w.smallGap};
|
|
820
|
+
border-radius: ${w.smallBorderRadius};
|
|
821
|
+
border-width: ${w.smallBorderWidth};
|
|
959
822
|
}
|
|
960
823
|
|
|
961
824
|
.ft-button--small:focus-visible {
|
|
962
|
-
outline-width: ${
|
|
963
|
-
outline-offset: ${
|
|
825
|
+
outline-width: ${w.smallFocusOutlineWidth};
|
|
826
|
+
outline-offset: ${w.smallFocusOutlineOffset};
|
|
964
827
|
}
|
|
965
828
|
|
|
966
829
|
.ft-button--small.ft-button--icon-only {
|
|
967
|
-
width: ${
|
|
830
|
+
width: ${w.smallIconOnlyWidth};
|
|
968
831
|
padding: unset;
|
|
969
832
|
}
|
|
970
|
-
`,
|
|
833
|
+
`,So];var Ro=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Lt=class extends Y{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?Oe.caption1medium:Oe.body2medium}};Lt.styles=[Oo,Oc];Ro([C({type:Boolean})],Lt.prototype,"primary",void 0);Ro([C({type:Boolean})],Lt.prototype,"secondary",void 0);Ro([C({type:Boolean})],Lt.prototype,"tertiary",void 0);Ro([C({type:Boolean})],Lt.prototype,"neutral",void 0);Ro([C({type:Boolean})],Lt.prototype,"small",void 0);q("ft-button")(St);q("ftds-button")(Lt);var Ot={spacing:r.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:r.extend("--ft-copy-block-border-radius","",U.borderRadiusS),borderStyle:r.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:r.extend("--ft-copy-block-border-color","",U.colorOutline),borderWidth:r.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:r.extend("--ft-copy-block-background-color","",U.colorSurface),buttonHeight:r.create("--ft-copy-block-button-height","","SIZE","unset")},Cc=P`
|
|
971
834
|
:host {
|
|
972
835
|
display: block;
|
|
973
836
|
}
|
|
974
837
|
|
|
975
838
|
[part="container"] {
|
|
976
839
|
position: relative;
|
|
977
|
-
border-radius: ${
|
|
978
|
-
border-style: ${
|
|
979
|
-
border-color: ${
|
|
980
|
-
border-width: ${
|
|
981
|
-
background-color: ${
|
|
840
|
+
border-radius: ${Ot.borderRadius};
|
|
841
|
+
border-style: ${Ot.borderStyle};
|
|
842
|
+
border-color: ${Ot.borderColor};
|
|
843
|
+
border-width: ${Ot.borderWidth};
|
|
844
|
+
background-color: ${Ot.backgroundColor};
|
|
982
845
|
}
|
|
983
846
|
|
|
984
847
|
[part="button-container"] {
|
|
985
848
|
position: absolute;
|
|
986
849
|
right: 0;
|
|
987
850
|
top: 0;
|
|
988
|
-
height: ${
|
|
851
|
+
height: ${Ot.buttonHeight}
|
|
989
852
|
}
|
|
990
853
|
|
|
991
854
|
[part="content"] {
|
|
992
855
|
overflow-x: auto;
|
|
993
|
-
margin: ${
|
|
856
|
+
margin: ${Ot.spacing};
|
|
994
857
|
}
|
|
995
858
|
|
|
996
859
|
[part="tooltip"] {
|
|
997
860
|
display: block;
|
|
998
|
-
height: ${
|
|
861
|
+
height: ${Ot.buttonHeight}
|
|
999
862
|
}
|
|
1000
863
|
|
|
1001
864
|
[part="tooltip"]::part(container) {
|
|
1002
|
-
height: ${
|
|
865
|
+
height: ${Ot.buttonHeight}
|
|
1003
866
|
}
|
|
1004
867
|
|
|
1005
868
|
[part="button"] {
|
|
1006
|
-
height: ${
|
|
869
|
+
height: ${Ot.buttonHeight}
|
|
1007
870
|
}
|
|
1008
871
|
|
|
1009
872
|
[part="button"]::part(button) {
|
|
1010
|
-
height: ${
|
|
873
|
+
height: ${Ot.buttonHeight}
|
|
1011
874
|
}
|
|
1012
875
|
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
876
|
+
`;var wc=P`
|
|
877
|
+
`;var Ec=P`
|
|
878
|
+
`;var td="ft-app-info",ed={},I=Se.get({name:td,reducers:ed,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var we=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=I.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=I.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var oe=class{constructor(t=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Nt,this.cache=t?i.commonCache:new Nt}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:we.get()}get awaitApi(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:we.await()}clearCache(){this.cache.clearAll()}};var Nc,od=Symbol("clearAfterUnitTest"),Sr=class extends oe{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Nc]=()=>{this.defaultMessages={},this.cache=new Nt,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=I.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};ht(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...n){var i,a,s;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new Co((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},c).resolve(o,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(o){console.error(o)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>or(0).then(()=>o()).catch(()=>null)))}};Nc=od;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Sr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Sr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Ye=window.FluidTopicsI18nService,Ac=window.FluidTopicsCustomI18nService;var et=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Z=class extends H{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>we.get(),this.messageContexts=[],this.cache=new Nt,this.cleanSessionDebouncer=new lt}render(){return V`
|
|
1016
879
|
<slot></slot>
|
|
1017
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(
|
|
880
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&I.actions.noCustom(this.noCustom),t.has("editorMode")&&I.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&I.actions.session(this.session),t.has("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Ye.addContext(o)),t.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&I.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};Z.elementDefinitions={};Z.styles=Ec;et([C()],Z.prototype,"baseUrl",void 0);et([C()],Z.prototype,"apiIntegrationIdentifier",void 0);et([C()],Z.prototype,"uiLocale",void 0);et([At(null)],Z.prototype,"availableUiLocales",void 0);et([At(null)],Z.prototype,"metadataConfiguration",void 0);et([C({type:Boolean})],Z.prototype,"editorMode",void 0);et([C({type:Boolean})],Z.prototype,"noCustom",void 0);et([C({type:Boolean})],Z.prototype,"openExternalDocumentInNewTab",void 0);et([C({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],Z.prototype,"noCustomComponent",void 0);et([C({type:Boolean})],Z.prototype,"withManualResources",void 0);et([C({type:Boolean})],Z.prototype,"navigatorOnline",void 0);et([C({type:Boolean})],Z.prototype,"forcedOffline",void 0);et([C({type:Object})],Z.prototype,"apiProvider",void 0);et([At([])],Z.prototype,"messageContexts",void 0);et([At(void 0)],Z.prototype,"session",void 0);var Or=class extends oe{async listMySearches(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Cr=class extends oe{async listMyBookmarks(){let t=I.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var rd="ft-user-assets",wr=Se.get({name:rd,initialState:{savedSearches:void 0,bookmarks:void 0}}),zi=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Cr,this.savedSearchesService=new Or,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=I.getState();ht((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),wr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),wr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();wr.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;wr.actions.bookmarks(o)}}},Xx=new zi;var Hi=class{addCommand(t,o=!1){I.commands.add(t,o)}consumeCommand(t){return I.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Hi;var Fi=class{highlightHtml(t,o){Qn(t,o)}};window.FluidTopicsHighlightHtmlService=new Fi;q("ft-app-context")(Z);var nd=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ji=Symbol("i18nAttributes"),Er=Symbol("i18nProperties"),_o=Symbol("i18nUnsubs");function Rc(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Ac:Ye}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let l=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...l)}onI18nUpdate(i){var a,s;(a=this[ji])===null||a===void 0||a.forEach((c,l)=>{var d;let h=this.getI18nAttributeValue(l);((d=h?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(l,h,c)}),(s=this[Er])===null||s===void 0||s.forEach((c,l)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[l]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[ji])===null||a===void 0||a.forEach((c,l)=>{let d=this.getI18nAttributeValue(l);d?.context&&d.key&&(i.has(l)||c.argsProvider!=null)&&(i.has(l)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(l,d,c))}),(s=this[Er])===null||s===void 0||s.forEach((c,l)=>{c.argsProvider!=null&&(this[l]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[Er])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[ji])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(l=>this.getI18nAttributeValue(l))].map(l=>l?.context)).forEach(l=>l&&this.addI18nMessages(l))}addI18nMessages(i,a){i=i.toLowerCase(),this[_o].has(i)||this[_o].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{})}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[_o].forEach(i=>i()),this[_o].clear()}}return t=_o,nd([C({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var Nr=class extends Rc(H){},Ar=class extends Rc(qt){};var Po=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ct=class extends Ar{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":B:V`
|
|
1018
881
|
<span class="ft-i18n">
|
|
1019
882
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1020
883
|
</span>
|
|
1021
|
-
|
|
884
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ct.elementDefinitions={};Ct.styles=wc;Po([ri()],Ct.prototype,"editorMode",void 0);Po([C()],Ct.prototype,"context",void 0);Po([C()],Ct.prototype,"key",void 0);Po([At([])],Ct.prototype,"args",void 0);Po([C()],Ct.prototype,"defaultMessage",void 0);var Rr=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>Ye.resolveMessage(this.name,n,...i)})}};q("ft-i18n")(Ct);var $o=Rr.build("copyBlockComponent"),_c={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var id=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ee=class extends Nr{constructor(){super(),this.addI18nContext($o,_c)}render(){return V`
|
|
1022
885
|
<div part="container">
|
|
1023
|
-
${navigator.clipboard?
|
|
886
|
+
${navigator.clipboard?V`
|
|
1024
887
|
<div part="button-container">
|
|
1025
|
-
<ft-tooltip part="tooltip" text=${
|
|
888
|
+
<ft-tooltip part="tooltip" text=${$o.messages.tooltipMessage()} position="bottom" exportpartsPrefix="tooltip">
|
|
1026
889
|
<ft-button icon="CLONE" part="button" exportpartsPrefix="button" @click=${this.copyContents}></ft-button>
|
|
1027
890
|
</ft-tooltip>
|
|
1028
891
|
</div>
|
|
1029
|
-
`:
|
|
892
|
+
`:B}
|
|
1030
893
|
|
|
1031
894
|
<div part="content">
|
|
1032
895
|
<slot></slot>
|
|
1033
896
|
</div>
|
|
1034
897
|
</div>
|
|
1035
|
-
`}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text
|
|
898
|
+
`}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=$o.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=$o.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}};Ee.elementDefinitions={"ft-button":St,"ft-tooltip":j};Ee.styles=Cc;id([tt("[part='tooltip']")],Ee.prototype,"tooltip",void 0);q("ft-copy-block")(Ee);})();
|
|
899
|
+
/*! Bundled license information:
|
|
900
|
+
|
|
901
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
902
|
+
(**
|
|
903
|
+
* @license
|
|
904
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
905
|
+
* This code may only be used under the BSD style license found at
|
|
906
|
+
* http://polymer.github.io/LICENSE.txt
|
|
907
|
+
* The complete set of authors may be found at
|
|
908
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
909
|
+
* The complete set of contributors may be found at
|
|
910
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
911
|
+
* Code distributed by Google as part of the polymer project is also
|
|
912
|
+
* subject to an additional IP rights grant found at
|
|
913
|
+
* http://polymer.github.io/PATENTS.txt
|
|
914
|
+
*)
|
|
915
|
+
|
|
916
|
+
@lit/reactive-element/css-tag.js:
|
|
917
|
+
(**
|
|
918
|
+
* @license
|
|
919
|
+
* Copyright 2019 Google LLC
|
|
920
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
921
|
+
*)
|
|
922
|
+
|
|
923
|
+
@lit/reactive-element/reactive-element.js:
|
|
924
|
+
(**
|
|
925
|
+
* @license
|
|
926
|
+
* Copyright 2017 Google LLC
|
|
927
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
928
|
+
*)
|
|
929
|
+
|
|
930
|
+
lit-html/lit-html.js:
|
|
931
|
+
(**
|
|
932
|
+
* @license
|
|
933
|
+
* Copyright 2017 Google LLC
|
|
934
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
935
|
+
*)
|
|
936
|
+
|
|
937
|
+
@lit/reactive-element/css-tag.js:
|
|
938
|
+
(**
|
|
939
|
+
* @license
|
|
940
|
+
* Copyright 2019 Google LLC
|
|
941
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
942
|
+
*)
|
|
943
|
+
|
|
944
|
+
@lit/reactive-element/reactive-element.js:
|
|
945
|
+
(**
|
|
946
|
+
* @license
|
|
947
|
+
* Copyright 2017 Google LLC
|
|
948
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
949
|
+
*)
|
|
950
|
+
|
|
951
|
+
lit-html/lit-html.js:
|
|
952
|
+
(**
|
|
953
|
+
* @license
|
|
954
|
+
* Copyright 2017 Google LLC
|
|
955
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
956
|
+
*)
|
|
957
|
+
|
|
958
|
+
lit-element/lit-element.js:
|
|
959
|
+
(**
|
|
960
|
+
* @license
|
|
961
|
+
* Copyright 2017 Google LLC
|
|
962
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
963
|
+
*)
|
|
964
|
+
|
|
965
|
+
lit-html/is-server.js:
|
|
966
|
+
(**
|
|
967
|
+
* @license
|
|
968
|
+
* Copyright 2022 Google LLC
|
|
969
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
970
|
+
*)
|
|
971
|
+
|
|
972
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
973
|
+
(**
|
|
974
|
+
* @license
|
|
975
|
+
* Copyright 2017 Google LLC
|
|
976
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
977
|
+
*)
|
|
978
|
+
|
|
979
|
+
@lit/reactive-element/decorators/property.js:
|
|
980
|
+
(**
|
|
981
|
+
* @license
|
|
982
|
+
* Copyright 2017 Google LLC
|
|
983
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
984
|
+
*)
|
|
985
|
+
|
|
986
|
+
@lit/reactive-element/decorators/state.js:
|
|
987
|
+
(**
|
|
988
|
+
* @license
|
|
989
|
+
* Copyright 2017 Google LLC
|
|
990
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
991
|
+
*)
|
|
992
|
+
|
|
993
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
994
|
+
(**
|
|
995
|
+
* @license
|
|
996
|
+
* Copyright 2017 Google LLC
|
|
997
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
998
|
+
*)
|
|
999
|
+
|
|
1000
|
+
@lit/reactive-element/decorators/base.js:
|
|
1001
|
+
(**
|
|
1002
|
+
* @license
|
|
1003
|
+
* Copyright 2017 Google LLC
|
|
1004
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1005
|
+
*)
|
|
1006
|
+
|
|
1007
|
+
@lit/reactive-element/decorators/query.js:
|
|
1008
|
+
(**
|
|
1009
|
+
* @license
|
|
1010
|
+
* Copyright 2017 Google LLC
|
|
1011
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1012
|
+
*)
|
|
1013
|
+
|
|
1014
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
1015
|
+
(**
|
|
1016
|
+
* @license
|
|
1017
|
+
* Copyright 2017 Google LLC
|
|
1018
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1019
|
+
*)
|
|
1020
|
+
|
|
1021
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
1022
|
+
(**
|
|
1023
|
+
* @license
|
|
1024
|
+
* Copyright 2017 Google LLC
|
|
1025
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1026
|
+
*)
|
|
1027
|
+
|
|
1028
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
1029
|
+
(**
|
|
1030
|
+
* @license
|
|
1031
|
+
* Copyright 2021 Google LLC
|
|
1032
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1033
|
+
*)
|
|
1034
|
+
|
|
1035
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
1036
|
+
(**
|
|
1037
|
+
* @license
|
|
1038
|
+
* Copyright 2017 Google LLC
|
|
1039
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1040
|
+
*)
|
|
1041
|
+
|
|
1042
|
+
lit-html/directive.js:
|
|
1043
|
+
(**
|
|
1044
|
+
* @license
|
|
1045
|
+
* Copyright 2017 Google LLC
|
|
1046
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1047
|
+
*)
|
|
1048
|
+
|
|
1049
|
+
lit-html/directive-helpers.js:
|
|
1050
|
+
(**
|
|
1051
|
+
* @license
|
|
1052
|
+
* Copyright 2020 Google LLC
|
|
1053
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1054
|
+
*)
|
|
1055
|
+
|
|
1056
|
+
lit-html/directives/repeat.js:
|
|
1057
|
+
(**
|
|
1058
|
+
* @license
|
|
1059
|
+
* Copyright 2017 Google LLC
|
|
1060
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1061
|
+
*)
|
|
1062
|
+
|
|
1063
|
+
lit-html/directives/class-map.js:
|
|
1064
|
+
(**
|
|
1065
|
+
* @license
|
|
1066
|
+
* Copyright 2018 Google LLC
|
|
1067
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1068
|
+
*)
|
|
1069
|
+
|
|
1070
|
+
lit-html/directives/style-map.js:
|
|
1071
|
+
(**
|
|
1072
|
+
* @license
|
|
1073
|
+
* Copyright 2018 Google LLC
|
|
1074
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1075
|
+
*)
|
|
1076
|
+
|
|
1077
|
+
lit-html/directives/unsafe-html.js:
|
|
1078
|
+
(**
|
|
1079
|
+
* @license
|
|
1080
|
+
* Copyright 2017 Google LLC
|
|
1081
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1082
|
+
*)
|
|
1083
|
+
|
|
1084
|
+
@lit/reactive-element/css-tag.js:
|
|
1085
|
+
(**
|
|
1086
|
+
* @license
|
|
1087
|
+
* Copyright 2019 Google LLC
|
|
1088
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1089
|
+
*)
|
|
1090
|
+
|
|
1091
|
+
lit-html/static.js:
|
|
1092
|
+
(**
|
|
1093
|
+
* @license
|
|
1094
|
+
* Copyright 2020 Google LLC
|
|
1095
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1096
|
+
*)
|
|
1097
|
+
*/
|