@fluid-topics/ft-combobox 1.3.45 → 1.3.47

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.
@@ -1,12 +1,12 @@
1
- "use strict";(()=>{var Fd=Object.create;var Nn=Object.defineProperty;var Ud=Object.getOwnPropertyDescriptor;var zd=Object.getOwnPropertyNames;var Hd=Object.getPrototypeOf,Wd=Object.prototype.hasOwnProperty;var Vd=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),te=(t,e)=>{for(var o in e)Nn(t,o,{get:e[o],enumerable:!0})},Gd=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zd(e))!Wd.call(t,i)&&i!==o&&Nn(t,i,{get:()=>e[i],enumerable:!(n=Ud(e,i))||n.enumerable});return t};var jd=(t,e,o)=>(o=t!=null?Fd(Hd(t)):{},Gd(e||!t||!t.__esModule?Nn(o,"default",{value:t,enumerable:!0}):o,t));var nc=Vd((Ft,oc)=>{var cn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,dn=function(){function t(){this.fetch=!1,this.DOMException=cn.DOMException}return t.prototype=cn,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function d(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function p(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var O={next:function(){var k=g.shift();return{done:k===void 0,value:k}}};return i.iterable&&(O[Symbol.iterator]=function(){return O}),O}function f(g){this.map={},g instanceof f?g.forEach(function(O,k){this.append(k,O)},this):Array.isArray(g)?g.forEach(function(O){if(O.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+O.length);this.append(O[0],O[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(O){this.append(O,g[O])},this)}f.prototype.append=function(g,O){g=d(g),O=p(O);var k=this.map[g];this.map[g]=k?k+", "+O:O},f.prototype.delete=function(g){delete this.map[d(g)]},f.prototype.get=function(g){return g=d(g),this.has(g)?this.map[g]:null},f.prototype.has=function(g){return this.map.hasOwnProperty(d(g))},f.prototype.set=function(g,O){this.map[d(g)]=p(O)},f.prototype.forEach=function(g,O){for(var k in this.map)this.map.hasOwnProperty(k)&&g.call(O,this.map[k],k,this)},f.prototype.keys=function(){var g=[];return this.forEach(function(O,k){g.push(k)}),h(g)},f.prototype.values=function(){var g=[];return this.forEach(function(O){g.push(O)}),h(g)},f.prototype.entries=function(){var g=[];return this.forEach(function(O,k){g.push([k,O])}),h(g)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function S(g){return new Promise(function(O,k){g.onload=function(){O(g.result)},g.onerror=function(){k(g.error)}})}function x(g){var O=new FileReader,k=S(O);return O.readAsArrayBuffer(g),k}function A(g){var O=new FileReader,k=S(O),ee=/charset=([A-Za-z0-9_-]+)/.exec(g.type),se=ee?ee[1]:"utf-8";return O.readAsText(g,se),k}function T(g){for(var O=new Uint8Array(g),k=new Array(O.length),ee=0;ee<O.length;ee++)k[ee]=String.fromCharCode(O[ee]);return k.join("")}function L(g){if(g.slice)return g.slice(0);var O=new Uint8Array(g.byteLength);return O.set(new Uint8Array(g)),O.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:i.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:i.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():i.arrayBuffer&&i.blob&&a(g)?(this._bodyArrayBuffer=L(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||l(g))?this._bodyArrayBuffer=L(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var g=m(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(D)}),this.json=function(){return this.text().then(JSON.parse)},this}var E=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(g){var O=g.toUpperCase();return E.indexOf(O)>-1?O:g}function w(g,O){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');O=O||{};var k=O.body;if(g instanceof w){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,O.headers||(this.headers=new f(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!k&&g._bodyInit!=null&&(k=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new f(O.headers)),this.method=C(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal||function(){if("AbortController"in n){var X=new AbortController;return X.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(O.cache==="no-store"||O.cache==="no-cache")){var ee=/([?&])_=[^&]*/;if(ee.test(this.url))this.url=this.url.replace(ee,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function D(g){var O=new FormData;return g.trim().split("&").forEach(function(k){if(k){var ee=k.split("="),se=ee.shift().replace(/\+/g," "),X=ee.join("=").replace(/\+/g," ");O.append(decodeURIComponent(se),decodeURIComponent(X))}}),O}function G(g){var O=new f,k=g.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(ee){return ee.indexOf(`
2
- `)===0?ee.substr(1,ee.length):ee}).forEach(function(ee){var se=ee.split(":"),X=se.shift().trim();if(X){var ko=se.join(":").trim();try{O.append(X,ko)}catch(_n){console.warn("Response "+_n.message)}}}),O}_.call(w.prototype);function J(g,O){if(!(this instanceof J))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new f(O.headers),this.url=O.url||"",this._initBody(g)}_.call(J.prototype),J.prototype.clone=function(){return new J(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},J.error=function(){var g=new J(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var Y=[301,302,303,307,308];J.redirect=function(g,O){if(Y.indexOf(O)===-1)throw new RangeError("Invalid status code");return new J(null,{status:O,headers:{location:g}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(O,k){this.message=O,this.name=k;var ee=Error(O);this.stack=ee.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function M(g,O){return new Promise(function(k,ee){var se=new w(g,O);if(se.signal&&se.signal.aborted)return ee(new o.DOMException("Aborted","AbortError"));var X=new XMLHttpRequest;function ko(){X.abort()}X.onload=function(){var Ee={statusText:X.statusText,headers:G(X.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(X.status<200||X.status>599)?Ee.status=200:Ee.status=X.status,Ee.url="responseURL"in X?X.responseURL:Ee.headers.get("X-Request-URL");var Ut="response"in X?X.response:X.responseText;setTimeout(function(){k(new J(Ut,Ee))},0)},X.onerror=function(){setTimeout(function(){ee(new TypeError("Network request failed"))},0)},X.ontimeout=function(){setTimeout(function(){ee(new TypeError("Network request timed out"))},0)},X.onabort=function(){setTimeout(function(){ee(new o.DOMException("Aborted","AbortError"))},0)};function _n(Ee){try{return Ee===""&&n.location.href?n.location.href:Ee}catch{return Ee}}if(X.open(se.method,_n(se.url),!0),se.credentials==="include"?X.withCredentials=!0:se.credentials==="omit"&&(X.withCredentials=!1),"responseType"in X&&(i.blob?X.responseType="blob":i.arrayBuffer&&(X.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof f||n.Headers&&O.headers instanceof n.Headers)){var Ss=[];Object.getOwnPropertyNames(O.headers).forEach(function(Ee){Ss.push(d(Ee)),X.setRequestHeader(Ee,p(O.headers[Ee]))}),se.headers.forEach(function(Ee,Ut){Ss.indexOf(Ut)===-1&&X.setRequestHeader(Ut,Ee)})}else se.headers.forEach(function(Ee,Ut){X.setRequestHeader(Ut,Ee)});se.signal&&(se.signal.addEventListener("abort",ko),X.onreadystatechange=function(){X.readyState===4&&se.signal.removeEventListener("abort",ko)}),X.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return M.polyfill=!0,n.fetch||(n.fetch=M,n.Headers=f,n.Request=w,n.Response=J),o.Headers=f,o.Request=w,o.Response=J,o.fetch=M,o}({})})(dn);dn.fetch.ponyfill=!0;delete dn.fetch.polyfill;var Pr=cn.fetch?cn:dn;Ft=Pr.fetch;Ft.default=Pr.fetch;Ft.fetch=Pr.fetch;Ft.Headers=Pr.Headers;Ft.Request=Pr.Request;Ft.Response=Pr.Response;oc.exports=Ft});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(E,C){if(E=E.toLowerCase(),this._getDefinition(E)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${E}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=C.prototype.attributeChangedCallback,D=new Set(C.observedAttributes||[]);m(C,D,w);let G={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(E,G),this._definitionsByClass.set(C,G);let J=o.call(n,E);J||(J=f(E),e.call(n,E,J)),this===window.customElements&&(s.set(C,G),G.standInClass=J);let Y=this._awaitingUpgrade.get(E);if(Y){this._awaitingUpgrade.delete(E);for(let g of Y)a.delete(g),x(g,G,!0)}let M=this._whenDefinedPromises.get(E);return M!==void 0&&(M.resolve(C),this._whenDefinedPromises.delete(E)),C}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(E){return this._definitionsByTag.get(E)?.elementClass}_getDefinition(E){return this._definitionsByTag.get(E)}whenDefined(E){let C=this._getDefinition(E);if(C!==void 0)return Promise.resolve(C.elementClass);let w=this._whenDefinedPromises.get(E);return w===void 0&&(w={},w.promise=new Promise(D=>w.resolve=D),this._whenDefinedPromises.set(E,w)),w.promise}_upgradeWhenDefined(E,C,w){let D=this._awaitingUpgrade.get(C);D||this._awaitingUpgrade.set(C,D=new Set),w?D.add(E):D.delete(E)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),i.set(C,w),C},window.HTMLElement.prototype=t.prototype;let p=E=>E===document||E instanceof ShadowRoot,h=E=>{let C=E.getRootNode();if(!p(C)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;C=w.getRootNode(),p(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},f=E=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let D=h(w)||window.customElements,G=D._getDefinition(E);return G?x(w,G):a.set(w,D),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,E,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,E,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},m=(E,C,w)=>{if(C.size===0||w===void 0)return;let D=E.prototype.setAttribute;D&&(E.prototype.setAttribute=function(Y,M){let g=Y.toLowerCase();if(C.has(g)){let O=this.getAttribute(g);D.call(this,g,M),w.call(this,g,O,M)}else D.call(this,g,M)});let G=E.prototype.removeAttribute;G&&(E.prototype.removeAttribute=function(Y){let M=Y.toLowerCase();if(C.has(M)){let g=this.getAttribute(M);G.call(this,M),w.call(this,M,g,null)}else G.call(this,M)});let J=E.prototype.toggleAttribute;J&&(E.prototype.toggleAttribute=function(Y,M){let g=Y.toLowerCase();if(C.has(g)){let O=this.getAttribute(g);J.call(this,g,M);let k=this.getAttribute(g);w.call(this,g,O,k)}else J.call(this,g,M)})},S=E=>{let C=Object.getPrototypeOf(E);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(E,window.HTMLElement):S(C)},x=(E,C,w=!1)=>{Object.setPrototypeOf(E,C.elementClass.prototype),i.set(E,C),d=E;try{new C.elementClass}catch{S(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(D=>{E.hasAttribute(D)&&C.attributeChangedCallback.call(E,D,null,E.getAttribute(D))}),w&&C.connectedCallback&&E.isConnected&&C.connectedCallback.call(E)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(E){let C=A.apply(this,arguments);return E.customElements&&(C.customElements=E.customElements),C};let T=[document],L=(E,C,w=void 0)=>{let D=(w?Object.getPrototypeOf(w):E.prototype)[C];E.prototype[C]=function(){T.push(this);let G=D.apply(w||this,arguments);return G!==void 0&&l.set(G,this),T.pop(),G}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let _=(E,C)=>{let w=Object.getOwnPropertyDescriptor(E.prototype,C);Object.defineProperty(E.prototype,C,{...w,set(D){T.push(this),w.set.call(this,D),T.pop()}})};if(_(Element,"innerHTML"),_(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let E=new WeakMap,C=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Y){let M=C.call(this,...Y);return E.set(M,this),M},w.forEach(Y=>{let M=window.ElementInternals.prototype,g=M[Y];M[Y]=function(...O){let k=E.get(this);if(i.get(k).formAssociated===!0)return g?.call(this,...O);throw new DOMException(`Failed to execute ${g} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class D extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class G{constructor(M){let g=new Map;M.forEach((O,k)=>{let ee=O.getAttribute("name"),se=g.get(ee)||[];this[+k]=O,se.push(O),g.set(ee,se)}),this.length=M.length,g.forEach((O,k)=>{O&&(O.length===1?this[k]=O[0]:this[k]=new D(O))})}namedItem(M){return this[M]}}let J=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Y=J.get.call(this,[]),M=[];for(let g of Y){let O=i.get(g);(!O||O.formAssociated===!0)&&M.push(g)}return new G(M)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Gn={};te(Gn,{CSSResult:()=>pr,LitElement:()=>mt,ReactiveElement:()=>at,_$LE:()=>nu,_$LH:()=>Hn,adoptStyles:()=>Xr,css:()=>P,defaultConverter:()=>fr,getCompatibleStyle:()=>Do,html:()=>N,isServer:()=>Yf,mathml:()=>zn,noChange:()=>Re,notEqual:()=>Qr,nothing:()=>z,render:()=>Wn,supportsAdoptingStyleSheets:()=>Yr,svg:()=>Un,unsafeCSS:()=>it});var $o=globalThis,Yr=$o.ShadowRoot&&($o.ShadyCSS===void 0||$o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pn=Symbol(),Cs=new WeakMap,pr=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Pn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Yr&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Cs.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Cs.set(o,e))}return e}toString(){return this.cssText}},it=t=>new pr(typeof t=="string"?t:t+"",void 0,Pn),P=(t,...e)=>{let o=t.length===1?t[0]:e.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)+t[a+1],t[0]);return new pr(o,t,Pn)},Xr=(t,e)=>{if(Yr)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=$o.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},Do=Yr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return it(o)})(t):t;var{is:Kd,defineProperty:Zd,getOwnPropertyDescriptor:qd,getOwnPropertyNames:Yd,getOwnPropertySymbols:Xd,getPrototypeOf:Jd}=Object,Mo=globalThis,Os=Mo.trustedTypes,Qd=Os?Os.emptyScript:"",eu=Mo.reactiveElementPolyfillSupport,Jr=(t,e)=>t,fr={toAttribute(t,e){switch(e){case Boolean:t=t?Qd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Qr=(t,e)=>!Kd(t,e),Es={attribute:!0,type:String,converter:fr,reflect:!1,useDefault:!1,hasChanged:Qr};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var at=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Es){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&Zd(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=qd(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Es}static _$Ei(){if(this.hasOwnProperty(Jr("elementProperties")))return;let e=Jd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Jr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Jr("properties"))){let o=this.properties,n=[...Yd(o),...Xd(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);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(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(Do(i))}else e!==void 0&&o.push(Do(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Xr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:fr).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);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:fr;this._$Em=i,this[i]=s.fromAttribute(o,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??Qr)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??o??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!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){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};at.elementStyles=[],at.shadowRootOptions={mode:"open"},at[Jr("elementProperties")]=new Map,at[Jr("finalized")]=new Map,eu?.({ReactiveElement:at}),(Mo.reactiveElementVersions??=[]).push("2.1.0");var $n=globalThis,Bo=$n.trustedTypes,ws=Bo?Bo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Dn="$lit$",ht=`lit$${Math.random().toFixed(9).slice(2)}$`,Mn="?"+ht,tu=`<${Mn}>`,Wt=document,to=()=>Wt.createComment(""),ro=t=>t===null||typeof t!="object"&&typeof t!="function",Bn=Array.isArray,_s=t=>Bn(t)||typeof t?.[Symbol.iterator]=="function",kn=`[
3
- \f\r]`,eo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,As=/-->/g,Rs=/>/g,zt=RegExp(`>|${kn}(?:([^\\s"'>=/]+)(${kn}*=${kn}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ts=/'/g,Ls=/"/g,Ns=/^(?:script|style|textarea|title)$/i,Fn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),N=Fn(1),Un=Fn(2),zn=Fn(3),Re=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Is=new WeakMap,Ht=Wt.createTreeWalker(Wt,129);function Ps(t,e){if(!Bn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ws!==void 0?ws.createHTML(e):e}var ks=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=eo;for(let l=0;l<o;l++){let d=t[l],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===eo?h[1]==="!--"?s=As:h[1]!==void 0?s=Rs:h[2]!==void 0?(Ns.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=zt):h[3]!==void 0&&(s=zt):s===zt?h[0]===">"?(s=i??eo,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?zt:h[3]==='"'?Ls:Ts):s===Ls||s===Ts?s=zt:s===As||s===Rs?s=eo:(s=zt,i=void 0);let S=s===zt&&t[l+1].startsWith("/>")?" ":"";a+=s===eo?d+tu:f>=0?(n.push(p),d.slice(0,f)+Dn+d.slice(f)+ht+S):d+ht+(f===-2?l:S)}return[Ps(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},oo=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=ks(e,o);if(this.el=t.createElement(p,n),Ht.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ht.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Dn)){let m=h[s++],S=i.getAttribute(f).split(ht),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:S,ctor:x[1]==="."?Uo:x[1]==="?"?zo:x[1]==="@"?Ho:Gt}),i.removeAttribute(f)}else f.startsWith(ht)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Ns.test(i.tagName)){let f=i.textContent.split(ht),m=f.length-1;if(m>0){i.textContent=Bo?Bo.emptyScript:"";for(let S=0;S<m;S++)i.append(f[S],to()),Ht.nextNode(),d.push({type:2,index:++a});i.append(f[m],to())}}}else if(i.nodeType===8)if(i.data===Mn)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ht,f+1))!==-1;)d.push({type:7,index:a}),f+=ht.length-1}a++}}static createElement(e,o){let n=Wt.createElement("template");return n.innerHTML=e,n}};function Vt(t,e,o=t,n){if(e===Re)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=ro(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Vt(t,i._$AS(t,e.values),i,n)),e}var Fo=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Wt).importNode(o,!0);Ht.currentNode=i;let a=Ht.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new hr(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Wo(a,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Ht.nextNode(),s++)}return Ht.currentNode=Wt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},hr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Vt(this,e,o),ro(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Re&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):_s(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==z&&ro(this._$AH)?this._$AA.nextSibling.data=e:this.T(Wt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=oo.createElement(Ps(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Fo(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=Is.get(e.strings);return o===void 0&&Is.set(e.strings,o=new oo(e)),o}k(e){Bn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.O(to()),this.O(to()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,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=z}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Vt(this,e,o,0),s=!ro(e)||e!==this._$AH&&e!==Re,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=Vt(this,l[n+d],o,d),p===Re&&(p=this._$AH[d]),s||=!ro(p)||p!==this._$AH[d],p===z?e=z:e!==z&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.j(e)}j(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Uo=class extends Gt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===z?void 0:e}},zo=class extends Gt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Ho=class extends Gt{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Vt(this,e,o,0)??z)===Re)return;let n=this._$AH,i=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==z&&(n===z||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Wo=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Vt(this,e)}},Hn={M:Dn,P:ht,A:Mn,C:1,L:ks,R:Fo,D:_s,V:Vt,I:hr,H:Gt,N:zo,U:Ho,B:Uo,F:Wo},ru=$n.litHtmlPolyfillSupport;ru?.(oo,hr),($n.litHtmlVersions??=[]).push("3.3.0");var Wn=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new hr(e.insertBefore(to(),a),a,void 0,o??{})}return i._$AI(t),i};var Vn=globalThis,mt=class extends at{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Wn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Re}};mt._$litElement$=!0,mt.finalized=!0,Vn.litElementHydrateSupport?.({LitElement:mt});var ou=Vn.litElementPolyfillSupport;ou?.({LitElement:mt});var nu={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(Vn.litElementVersions??=[]).push("4.2.0");var Yf=!1;var Zn={};te(Zn,{customElement:()=>iu,eventOptions:()=>su,property:()=>b,query:()=>ae,queryAll:()=>jn,queryAssignedElements:()=>Kn,queryAssignedNodes:()=>no,queryAsync:()=>cu,standardProperty:()=>$s,state:()=>j});var iu=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var au={attribute:!0,type:String,converter:fr,reflect:!1,hasChanged:Qr},$s=(t=au,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(o.name,t),n==="accessor"){let{name:s}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function b(t){return(e,o)=>typeof o=="object"?$s(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function j(t){return b({...t,state:!0,attribute:!1})}function su(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var Ye=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function ae(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ye(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ye(o,n,{get(){return a(this)}})}}var lu;function jn(t){return(e,o)=>Ye(e,o,{get(){return(this.renderRoot??(lu??=document.createDocumentFragment())).querySelectorAll(t)}})}function cu(t){return(e,o)=>Ye(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Kn(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ye(e,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function no(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ye(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var qn={};te(qn,{repeat:()=>gt});var st={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Xe=t=>(...e)=>({_$litDirective$:t,values:e}),He=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{I:du}=Hn;var Ms=t=>t.strings===void 0,Ds=()=>document.createComment(""),mr=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(Ds(),i),s=n.insertBefore(Ds(),i);o=new du(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==t;if(l){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},Tt=(t,e,o=t)=>(t._$AI(e,o),t),uu={},Bs=(t,e=uu)=>t._$AH=e,Fs=t=>t._$AH,Vo=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var Us=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},gt=Xe(class extends He{constructor(t){if(super(t),t.type!==st.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let i=Fs(t),{values:a,keys:s}=this.dt(e,o,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,S=0,x=a.length-1;for(;f<=m&&S<=x;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[S])d[S]=Tt(i[f],a[S]),f++,S++;else if(l[m]===s[x])d[x]=Tt(i[m],a[x]),m--,x--;else if(l[f]===s[x])d[x]=Tt(i[f],a[x]),mr(t,d[x+1],i[f]),f++,x--;else if(l[m]===s[S])d[S]=Tt(i[m],a[S]),mr(t,i[f],i[m]),m--,S++;else if(p===void 0&&(p=Us(s,S,x),h=Us(l,f,m)),p.has(l[f]))if(p.has(l[m])){let A=h.get(s[S]),T=A!==void 0?i[A]:null;if(T===null){let L=mr(t,i[f]);Tt(L,a[S]),d[S]=L}else d[S]=Tt(T,a[S]),mr(t,i[f],T),i[A]=null;S++}else Vo(i[m]),m--;else Vo(i[f]),f++;for(;S<=x;){let A=mr(t,d[x+1]);Tt(A,a[S]),d[S++]=A}for(;f<=m;){let A=i[f++];A!==null&&Vo(A)}return this.ut=s,Bs(t,d),Re}});var Yn={};te(Yn,{classMap:()=>ye});var ye=Xe(class extends He{constructor(t){if(super(t),t.type!==st.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return Re}});var Xn={};te(Xn,{styleMap:()=>fu});var zs="important",pu=" !"+zs,fu=Xe(class extends He{constructor(t){if(super(t),t.type!==st.ATTRIBUTE||t.name!=="style"||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((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(pu);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?zs:""):o[n]=i}}return Re}});var Qn={};te(Qn,{UnsafeHTMLDirective:()=>gr,unsafeHTML:()=>Jn});var gr=class extends He{constructor(e){if(super(e),this.it=z,e.type!==st.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===z||e==null)return this._t=void 0,this.it=e;if(e===Re)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};gr.directiveName="unsafeHTML",gr.resultType=1;var Jn=Xe(gr);var li={};te(li,{CacheRegistry:()=>lt,ClearCacheEvent:()=>lo});var ti={};te(ti,{CancelablePromise:()=>Go,CanceledPromiseError:()=>jt,cancelable:()=>ei});var jt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Go=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new jt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new jt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},ei=t=>new Go((e,o)=>t.then(e).catch(o));var si={};te(si,{FtNotificationEvent:()=>so,PostResizeEvent:()=>ai,PreResizeEvent:()=>ii,WithEventBus:()=>yt,withEventBus:()=>Ko});var ni={};te(ni,{applyMixinOnce:()=>we,dateReviver:()=>gu,deepCopy:()=>ao,deepEqual:()=>De,delay:()=>jo,eventPathContainsMatchingElement:()=>ri,everyDeep:()=>mu,flatDeep:()=>Ws,forEachDeep:()=>Vs,getComposedPathTo:()=>oi,hasChanged:()=>Kt,last:()=>bu,minmax:()=>io,parseDate:()=>js,randomId:()=>xu,someDeep:()=>Gs,unslotText:()=>yr,waitFor:()=>Hs,waitUntil:()=>hu});var jo=t=>new Promise(e=>setTimeout(e,t));async function hu(t,e=10,o=2e4){await Hs(async()=>await t()||void 0,e,o)}async function Hs(t,e=10,o=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await jo(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Ws(t,e){return t.flatMap(o=>[o,...Ws(e(o),e)])}function Vs(t,e,o){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let d=i[l];if(!(((s=o(d,l,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function Gs(t,e,o){let n=!1;return Vs(t,e,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function mu(t,e,o){return!Gs(t,e,(n,i,a,s)=>!o(n,i,a,s))}function gu(...t){return(e,o)=>t.includes(e)?js(o):o}function js(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function yu(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!De(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!De(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(t),o=i.length,o!==a(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){let s=i[n];if(!De(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function De(t,e){try{return yu(t,e)}catch{return!1}}function Kt(t,e){return!De(t,e)}function ri(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function io(t,e,o){return Math.min(Math.max(t,e),o)}function bu(t){return t[t.length-1]}function yr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>yr(e)).join(""):t?.textContent||""}function oi(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function ao(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function xu(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function we(t,e){let o=n=>n[t]===!0;return n=>{if(o(n))return n;let i=e(n);return i[t]=!0,i}}var so=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ii=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ai=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ko=we(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),yt=class extends Ko(Object){};var lo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},lt=class extends yt{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:o,final:n,status:s}}registerFinal(e,o){this.register(e,o,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,o=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new lo(n)),n}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new lo([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,i;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let i=async()=>o,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=ei(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var ui={};te(ui,{ClusteringHelper:()=>di,formatHierarchicalValues:()=>ci});function ci(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var di=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var o,n,i,a,s;let l=((a=(n=(o=e.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(ci(l)),s.push(ci(l,o))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,o,n="No value",i,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),p=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,S)=>S.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==o}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var pi={};te(pi,{Debouncer:()=>Ie});var Ie=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);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 fi={};te(fi,{customElement:()=>ie,dateProperty:()=>Su,isNumber:()=>Ks,jsonProperty:()=>We,numberProperty:()=>Lt,optionalNumberProperty:()=>vu});var ie=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function We(t,e){let o=()=>JSON.parse(JSON.stringify(t));return b({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Kt,...e??{}})}function vu(t){return Lt(t)}function Lt(t){return b({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ks(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Ks(t){return!isNaN(parseFloat(t))}function Su(t){return b({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let o=new Date(Date.parse(e));if(!isNaN(o.valueOf()))return o},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Ui={};te(Ui,{designSystemVariables:()=>B});var Fi={};te(Fi,{DesignSystemFamily:()=>bt,DesignSystemSize:()=>Se,FtCssVariableFactory:()=>r,badge:()=>Iu,banner:()=>Lu,button:()=>y,chart:()=>ju,checkbox:()=>Eu,chip:()=>H,chipChoice:()=>Ru,collapsible:()=>Vu,comboboxMultiSelect:()=>Hu,comboboxSingleSelect:()=>zu,dateRangePicker:()=>Qu,drawer:()=>Du,floatingMenu:()=>Uu,foundation:()=>c,link:()=>Tu,modal:()=>$u,notice:()=>Zu,notification:()=>Yu,pageDesigner:()=>Ku,pageFooter:()=>Pu,pageHeader:()=>Nu,pageLayout:()=>ku,popover:()=>Wu,radio:()=>wu,reorderableList:()=>Ju,resolveFamilyClass:()=>Mi,resolveSizeClass:()=>Bi,semantic:()=>u,setVariable:()=>v,switch_:()=>Gu,table:()=>Au,tabs:()=>Mu,textArea:()=>Fu,textInput:()=>Bu,titleBreadcrumb:()=>_u,toggle:()=>qu,tooltip:()=>Xu,treeList:()=>Ou,typographies:()=>co,typographyBody1Medium:()=>xi,typographyBody1Regular:()=>bi,typographyBody1Semibold:()=>vi,typographyBody2Medium:()=>Zt,typographyBody2MediumUnderline:()=>Zs,typographyBody2Regular:()=>Si,typographyBody2Semibold:()=>Ci,typographyCaption1Bold:()=>_i,typographyCaption1Medium:()=>Li,typographyCaption1Semibold:()=>Ii,typographyCaption2Bold:()=>Pi,typographyCaption2Medium:()=>_t,typographyCaption2Semibold:()=>Ni,typographyCaption3Bold:()=>Di,typographyCaption3Medium:()=>ki,typographyCaption3Semibold:()=>$i,typographyDisplay:()=>hi,typographyLabel1Bold:()=>wi,typographyLabel1Medium:()=>Oi,typographyLabel1Semibold:()=>Ei,typographyLabel2Bold:()=>Ti,typographyLabel2Medium:()=>Ai,typographyLabel2Semibold:()=>Ri,typographyTitle1:()=>mi,typographyTitle2:()=>gi,typographyTitle3:()=>yi,typographyVariants:()=>Cu});var It=t=>typeof t=="string"?it(t):t,r=class{static create(e,o,n,i){let a=l=>It(l??i),s=P`var(${It(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>v(s,l??a(i)),s.get=l=>P`var(${It(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=l=>n.get(l??i),s=P`var(${It(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>v(s,l??a(i)),s.get=l=>P`var(${It(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=P`var(${It(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>P`var(${It(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function v(t,e){return It(`${t.name}: ${e}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},hi={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},mi={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},gi={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},yi={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},bi={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},xi={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},vi={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Si={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Zt={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Zs={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Ci={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Oi={fontFamily:r.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Ei={fontFamily:r.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},wi={fontFamily:r.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ai={fontFamily:r.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Ri={fontFamily:r.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},Ti={fontFamily:r.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:r.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:r.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},Li={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Ii={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},_i={fontFamily:r.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},_t={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},Ni={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Pi={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},ki={fontFamily:r.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},$i={fontFamily:r.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Di={fontFamily:r.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:r.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},co={display:hi,"title-1":mi,"title-2":gi,"title-3":yi,"body-1-regular":bi,"body-1-medium":xi,"body-1-semibold":vi,"body-2-regular":Si,"body-2-medium":Zt,"body-2-medium-underline":Zs,"body-2-semibold":Ci,"label-1-medium":Oi,"label-1-semibold":Ei,"label-1-bold":wi,"label-2-medium":Ai,"label-2-semibold":Ri,"label-2-bold":Ti,"caption-1-medium":Li,"caption-1-semibold":Ii,"caption-1-bold":_i,"caption-2-medium":_t,"caption-2-semibold":Ni,"caption-2-bold":Pi,"caption-3-medium":ki,"caption-3-semibold":$i,"caption-3-bold":Di},Cu=["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 u={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var y={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Ou={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var Eu={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",c.spacing2)};var wu={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Au={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Ru={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var H={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Tu={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Lu={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Iu={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var _u={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Nu={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Pu={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var ku={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var $u={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Du={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Mu={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Bu={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Fu={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Uu={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var zu={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Hu={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var Wu={backgroundColor:r.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var Vu={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var Gu={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var ju={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Ku={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Zu={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var qu={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3)};var Yu={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Xu={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var Ju={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Qu={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var bt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(bt||(bt={}));var Se;(function(t){t.large="large",t.medium="medium",t.small="small"})(Se||(Se={}));function Mi(t){return`ftds--family-${t}`}function Bi(t){return`ftds--size-${t}`}var B={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)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),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","","SHADOW","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","","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)"),elevation02:r.create("--ft-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)"),elevation03:r.create("--ft-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)"),elevation04:r.create("--ft-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)"),elevation06:r.create("--ft-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)"),elevation08:r.create("--ft-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)"),elevation12:r.create("--ft-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)"),elevation16:r.create("--ft-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)"),elevation24:r.create("--ft-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)"),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 zi={};te(zi,{DynamicImporter:()=>Zo,dynamicImporter:()=>ep});var Zo=class{async import(e){if(e)return import(e)}},ep=new Zo;var oa={};te(oa,{computeOffsetAutoPosition:()=>ra,computeOffsetPosition:()=>ta});var Ys=["top","right","bottom","left"],qs=["start","end"],Wi=Ys.reduce((t,e)=>t.concat(e,e+"-"+qs[0],e+"-"+qs[1]),[]),qo=Math.min,Nt=Math.max;var tp={left:"right",right:"left",bottom:"top",top:"bottom"},rp={start:"end",end:"start"};function Vi(t,e,o){return Nt(t,qo(e,o))}function br(t,e){return typeof t=="function"?t(e):t}function Pt(t){return t.split("-")[0]}function ct(t){return t.split("-")[1]}function Gi(t){return t==="x"?"y":"x"}function ji(t){return t==="y"?"height":"width"}function xr(t){return["top","bottom"].includes(Pt(t))?"y":"x"}function Ki(t){return Gi(xr(t))}function Xs(t,e,o){o===void 0&&(o=!1);let n=ct(t),i=Ki(t),a=ji(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Hi(s)),[s,Hi(s)]}function Js(t){return t.replace(/start|end/g,e=>rp[e])}function Hi(t){return t.replace(/left|right|bottom|top/g,e=>tp[e])}function op(t){return{top:0,right:0,bottom:0,left:0,...t}}function Qs(t){return typeof t!="number"?op(t):{top:t,right:t,bottom:t,left:t}}function qt(t){let{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function el(t,e,o){let{reference:n,floating:i}=t,a=xr(e),s=Ki(e),l=ji(s),d=Pt(e),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,S;switch(d){case"top":S={x:h,y:n.y-i.height};break;case"bottom":S={x:h,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:f};break;case"left":S={x:n.x-i.width,y:f};break;default:S={x:n.x,y:n.y}}switch(ct(e)){case"start":S[s]-=m*(o&&p?-1:1);break;case"end":S[s]+=m*(o&&p?-1:1);break}return S}var tl=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=el(p,n,d),m=n,S={},x=0;for(let A=0;A<l.length;A++){let{name:T,fn:L}=l[A],{x:_,y:E,data:C,reset:w}=await L({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:s,elements:{reference:t,floating:e}});h=_??h,f=E??f,S={...S,[T]:{...S[T],...C}},w&&x<=50&&(x++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(p=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:f}=el(p,m,d)),A=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};async function Yo(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:S=0}=br(e,t),x=Qs(S),T=l[m?f==="floating"?"reference":"floating":f],L=qt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(T)))==null||o?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),_=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),C=await(a.isElement==null?void 0:a.isElement(E))?await(a.getScale==null?void 0:a.getScale(E))||{x:1,y:1}:{x:1,y:1},w=qt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:_,offsetParent:E,strategy:d}):_);return{top:(L.top-w.top+x.top)/C.y,bottom:(w.bottom-L.bottom+x.bottom)/C.y,left:(L.left-w.left+x.left)/C.x,right:(w.right-L.right+x.right)/C.x}}function np(t,e,o){return(t?[...o.filter(i=>ct(i)===t),...o.filter(i=>ct(i)!==t)]:o.filter(i=>Pt(i)===i)).filter(i=>t?ct(i)===t||(e?Js(i)!==i:!1):!0)}var Xo=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Wi,autoAlignment:S=!0,...x}=br(t,e),A=f!==void 0||m===Wi?np(f||null,S,m):m,T=await Yo(e,x),L=((o=s.autoPlacement)==null?void 0:o.index)||0,_=A[L];if(_==null)return{};let E=Xs(_,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==_)return{reset:{placement:A[0]}};let C=[T[Pt(_)],T[E[0]],T[E[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:C}],D=A[L+1];if(D)return{data:{index:L+1,overflows:w},reset:{placement:D}};let G=w.map(M=>{let g=ct(M.placement);return[M.placement,g&&h?M.overflows.slice(0,2).reduce((O,k)=>O+k,0):M.overflows[0],M.overflows]}).sort((M,g)=>M[1]-g[1]),Y=((i=G.filter(M=>M[2].slice(0,ct(M[0])?2:3).every(g=>g<=0))[0])==null?void 0:i[0])||G[0][0];return Y!==l?{data:{index:L+1,overflows:w},reset:{placement:Y}}:{}}}};async function ip(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Pt(o),l=ct(o),d=xr(o)==="y",p=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=br(e,t),{mainAxis:m,crossAxis:S,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof x=="number"&&(S=l==="end"?x*-1:x),d?{x:S*h,y:m*p}:{x:m*p,y:S*h}}var Zi=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=e,d=await ip(e,t);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},qi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:L,y:_}=T;return{x:L,y:_}}},...d}=br(t,e),p={x:o,y:n},h=await Yo(e,d),f=xr(Pt(i)),m=Gi(f),S=p[m],x=p[f];if(a){let T=m==="y"?"top":"left",L=m==="y"?"bottom":"right",_=S+h[T],E=S-h[L];S=Vi(_,S,E)}if(s){let T=f==="y"?"top":"left",L=f==="y"?"bottom":"right",_=x+h[T],E=x-h[L];x=Vi(_,x,E)}let A=l.fn({...e,[m]:S,[f]:x});return{...A,data:{x:A.x-o,y:A.y-n,enabled:{[m]:a,[f]:s}}}}}};var Yi=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:i,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...p}=br(t,e),h=await Yo(e,p),f=Pt(i),m=ct(i),S=xr(i)==="y",{width:x,height:A}=a.floating,T,L;f==="top"||f==="bottom"?(T=f,L=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(L=f,T=m==="end"?"top":"bottom");let _=A-h.top-h.bottom,E=x-h.left-h.right,C=qo(A-h[T],_),w=qo(x-h[L],E),D=!e.middlewareData.shift,G=C,J=w;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(J=E),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(G=_),D&&!m){let M=Nt(h.left,0),g=Nt(h.right,0),O=Nt(h.top,0),k=Nt(h.bottom,0);S?J=x-2*(M!==0||g!==0?M+g:Nt(h.left,h.right)):G=A-2*(O!==0||k!==0?O+k:Nt(h.top,h.bottom))}await d({...e,availableWidth:J,availableHeight:G});let Y=await s.getDimensions(l.floating);return x!==Y.width||A!==Y.height?{reset:{rects:!0}}:{}}}};var Xi=Math.min,vr=Math.max,uo=Math.round;var xt=t=>({x:t,y:t});function vt(t){return ol(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function St(t){var e;return(e=(ol(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ol(t){return t instanceof Node||t instanceof _e(t).Node}function dt(t){return t instanceof Element||t instanceof _e(t).Element}function Je(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function rl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function nl(t){return["table","td","th"].includes(vt(t))}function Qo(t){let e=en(),o=Me(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(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 il(t){let e=Yt(t);for(;Je(e)&&!po(e);){if(Qo(e))return e;e=Yt(e)}return null}function en(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(vt(t))}function Me(t){return _e(t).getComputedStyle(t)}function fo(t){return dt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yt(t){if(vt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||rl(t)&&t.host||St(t);return rl(e)?e.host:e}function al(t){let e=Yt(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:Je(e)&&Sr(e)?e:al(e)}function Jo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=al(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],Sr(i)?i:[],s.frameElement&&o?Jo(s.frameElement):[]):e.concat(i,Jo(i,[],o))}function cl(t){let e=Me(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Je(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=uo(o)!==a||uo(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function dl(t){return dt(t)?t:t.contextElement}function Cr(t){let e=dl(t);if(!Je(e))return xt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=cl(e),s=(a?uo(o.width):o.width)/n,l=(a?uo(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var ap=xt(0);function ul(t){let e=_e(t);return!en()||!e.visualViewport?ap:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function sp(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==_e(t)?!1:e}function ho(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=dl(t),s=xt(1);e&&(n?dt(n)&&(s=Cr(n)):s=Cr(t));let l=sp(a,o,n)?ul(a):xt(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let m=_e(a),S=n&&dt(n)?_e(n):n,x=m.frameElement;for(;x&&n&&S!==m;){let A=Cr(x),T=x.getBoundingClientRect(),L=Me(x),_=T.left+(x.clientLeft+parseFloat(L.paddingLeft))*A.x,E=T.top+(x.clientTop+parseFloat(L.paddingTop))*A.y;d*=A.x,p*=A.y,h*=A.x,f*=A.y,d+=_,p+=E,x=_e(x).frameElement}}return qt({width:h,height:f,x:d,y:p})}function lp(t){let{rect:e,offsetParent:o,strategy:n}=t,i=Je(o),a=St(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},l=xt(1),d=xt(0);if((i||!i&&n!=="fixed")&&((vt(o)!=="body"||Sr(a))&&(s=fo(o)),Je(o))){let p=ho(o);l=Cr(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function cp(t){return Array.from(t.getClientRects())}function pl(t){return ho(St(t)).left+fo(t).scrollLeft}function dp(t){let e=St(t),o=fo(t),n=t.ownerDocument.body,i=vr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=vr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+pl(t),l=-o.scrollTop;return Me(n).direction==="rtl"&&(s+=vr(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function up(t,e){let o=_e(t),n=St(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=en();(!p||p&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function pp(t,e){let o=ho(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Je(t)?Cr(t):xt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function sl(t,e,o){let n;if(e==="viewport")n=up(t,o);else if(e==="document")n=dp(St(t));else if(dt(e))n=pp(e,o);else{let i=ul(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return qt(n)}function fl(t,e){let o=Yt(t);return o===e||!dt(o)||po(o)?!1:Me(o).position==="fixed"||fl(o,e)}function fp(t,e){let o=e.get(t);if(o)return o;let n=Jo(t,[],!1).filter(l=>dt(l)&&vt(l)!=="body"),i=null,a=Me(t).position==="fixed",s=a?Yt(t):t;for(;dt(s)&&!po(s);){let l=Me(s),d=Qo(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Sr(s)&&!d&&fl(t,s))?n=n.filter(h=>h!==s):i=l,s=Yt(s)}return e.set(t,n),n}function hp(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?fp(e,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,h)=>{let f=sl(e,h,i);return p.top=vr(f.top,p.top),p.right=Xi(f.right,p.right),p.bottom=Xi(f.bottom,p.bottom),p.left=vr(f.left,p.left),p},sl(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function mp(t){return cl(t)}function gp(t,e,o){let n=Je(e),i=St(e),a=o==="fixed",s=ho(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=xt(0);if(n||!n&&!a)if((vt(e)!=="body"||Sr(i))&&(l=fo(e)),n){let p=ho(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else i&&(d.x=pl(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function ll(t,e){return!Je(t)||Me(t).position==="fixed"?null:e?e(t):t.offsetParent}function hl(t,e){let o=_e(t);if(!Je(t))return o;let n=ll(t,e);for(;n&&nl(n)&&Me(n).position==="static";)n=ll(n,e);return n&&(vt(n)==="html"||vt(n)==="body"&&Me(n).position==="static"&&!Qo(n))?o:n||il(t)||o}var yp=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||hl,a=this.getDimensions;return{reference:gp(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function bp(t){return Me(t).direction==="rtl"}var Or={convertOffsetParentRelativeRectToViewportRelativeRect:lp,getDocumentElement:St,getClippingRect:hp,getOffsetParent:hl,getElementRects:yp,getClientRects:cp,getDimensions:mp,getScale:Cr,isElement:dt,isRTL:bp};var Ji=(t,e,o)=>{let n=new Map,i={platform:Or,...o},a={...i.platform,_c:n};return tl(t,e,{...i,platform:a})};function ea(t){return xp(t)}function Qi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function xp(t){for(let e=t;e;e=Qi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Qi(t);e;e=Qi(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ta(t,e,o){return Ji(t,e,{platform:{...Or,getOffsetParent:n=>Or.getOffsetParent(n,ea)},middleware:[qi({crossAxis:!0}),Xo({allowedPlacements:[o]})]})}async function ra(t,e,o,n,i,a,s=4){return Ji(t,e,{placement:o,strategy:i,platform:{...Or,getOffsetParent:l=>Or.getOffsetParent(l,ea)},middleware:[Zi(s),Xo({allowedPlacements:n}),Yi({apply({availableHeight:l,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var la={};te(la,{FtdsBase:()=>go,toFtdsBase:()=>wr});var sa={};te(sa,{ExportpartsUpdatedEvent:()=>Xt,FtLitElement:()=>K});var na={};te(na,{ScopedRegistryLitElement:()=>mo});var mo=class extends mt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Xr(n,e.elementStyles),n}};var aa={};te(aa,{shadowQuerySelector:()=>ia,shadowQuerySelectorAll:()=>vp});function ia(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function vp(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Er=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},bl,ml=Symbol("constructorPrototype"),gl=Symbol("constructorName"),xl=Symbol("exportpartsDebouncer"),yl=Symbol("dynamicDependenciesLoaded"),Xt=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Xt.eventName="exportparts-updated";var K=class extends mo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[bl]=new Ie(5),this.scheduleExportpartsUpdate=()=>{var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[xl].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)})},this[gl]=this.constructor.name,this[ml]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gl]&&Object.setPrototypeOf(this,this[ml])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[yl]||(o[yl]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Xt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Xt.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Xt)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=ia(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var o,n,i,a,s,l;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;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 S=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&l!==void 0?l:[],A=[...S,...x].filter(d).map(T=>T.trim());for(let T of A)h.add(T)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(S=>`${m}:${S}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};bl=xl;Er([b()],K.prototype,"exportpartsPrefix",void 0);Er([We([])],K.prototype,"exportpartsPrefixes",void 0);Er([b({reflect:!0})],K.prototype,"exportparts",void 0);Er([b()],K.prototype,"customStylesheet",void 0);Er([b()],K.prototype,"elementToFocus",void 0);Er([j()],K.prototype,"useAdoptedStyleSheets",void 0);var vl=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},wr=we(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Se.medium,this.family=bt.neutral}getDesignSystemBaseClasses(){return{[Mi(this.family)]:!0,[Bi(this.size)]:!0}}}return vl([b()],e.prototype,"size",void 0),vl([b()],e.prototype,"family",void 0),e}),go=class extends wr(K){};var Sl={};var ua={};te(ua,{highlightHtml:()=>da,highlightHtmlColorCssVariable:()=>Cl,highlightHtmlStyles:()=>Cp});var Jt=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(e,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(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,S=>d.push(S),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var yo=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new Jt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){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?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){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 e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){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(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.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(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,l=o-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){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,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Jt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=f+m,e.nodes.forEach((S,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,l,a.value.substring(p,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,S)=>this.opt.filter(S,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;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=Jt.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ca(t){let e=new yo(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var Sp=ca,Cl=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Cp=P`
1
+ "use strict";(()=>{var Wd=Object.create;var ii=Object.defineProperty;var Vd=Object.getOwnPropertyDescriptor;var jd=Object.getOwnPropertyNames;var Gd=Object.getPrototypeOf,Kd=Object.prototype.hasOwnProperty;var Zd=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),te=(t,e)=>{for(var r in e)ii(t,r,{get:e[r],enumerable:!0})},qd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of jd(e))!Kd.call(t,i)&&i!==r&&ii(t,i,{get:()=>e[i],enumerable:!(n=Vd(e,i))||n.enumerable});return t};var Yd=(t,e,r)=>(r=t!=null?Wd(Gd(t)):{},qd(e||!t||!t.__esModule?ii(r,"default",{value:t,enumerable:!0}):r,t));var ac=Zd((Wt,ic)=>{var Dn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Mn=function(){function t(){this.fetch=!1,this.DOMException=Dn.DOMException}return t.prototype=Dn,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function d(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function u(g){return typeof g!="string"&&(g=String(g)),g}function h(g){var O={next:function(){var k=g.shift();return{done:k===void 0,value:k}}};return i.iterable&&(O[Symbol.iterator]=function(){return O}),O}function f(g){this.map={},g instanceof f?g.forEach(function(O,k){this.append(k,O)},this):Array.isArray(g)?g.forEach(function(O){if(O.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+O.length);this.append(O[0],O[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(O){this.append(O,g[O])},this)}f.prototype.append=function(g,O){g=d(g),O=u(O);var k=this.map[g];this.map[g]=k?k+", "+O:O},f.prototype.delete=function(g){delete this.map[d(g)]},f.prototype.get=function(g){return g=d(g),this.has(g)?this.map[g]:null},f.prototype.has=function(g){return this.map.hasOwnProperty(d(g))},f.prototype.set=function(g,O){this.map[d(g)]=u(O)},f.prototype.forEach=function(g,O){for(var k in this.map)this.map.hasOwnProperty(k)&&g.call(O,this.map[k],k,this)},f.prototype.keys=function(){var g=[];return this.forEach(function(O,k){g.push(k)}),h(g)},f.prototype.values=function(){var g=[];return this.forEach(function(O){g.push(O)}),h(g)},f.prototype.entries=function(){var g=[];return this.forEach(function(O,k){g.push([k,O])}),h(g)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function S(g){return new Promise(function(O,k){g.onload=function(){O(g.result)},g.onerror=function(){k(g.error)}})}function x(g){var O=new FileReader,k=S(O);return O.readAsArrayBuffer(g),k}function A(g){var O=new FileReader,k=S(O),ee=/charset=([A-Za-z0-9_-]+)/.exec(g.type),le=ee?ee[1]:"utf-8";return O.readAsText(g,le),k}function T(g){for(var O=new Uint8Array(g),k=new Array(O.length),ee=0;ee<O.length;ee++)k[ee]=String.fromCharCode(O[ee]);return k.join("")}function L(g){if(g.slice)return g.slice(0);var O=new Uint8Array(g.byteLength);return O.set(new Uint8Array(g)),O.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:i.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:i.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():i.arrayBuffer&&i.blob&&a(g)?(this._bodyArrayBuffer=L(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||l(g))?this._bodyArrayBuffer=L(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var g=m(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(T(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(D)}),this.json=function(){return this.text().then(JSON.parse)},this}var E=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function C(g){var O=g.toUpperCase();return E.indexOf(O)>-1?O:g}function w(g,O){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');O=O||{};var k=O.body;if(g instanceof w){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,O.headers||(this.headers=new f(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!k&&g._bodyInit!=null&&(k=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new f(O.headers)),this.method=C(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal||function(){if("AbortController"in n){var X=new AbortController;return X.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(O.cache==="no-store"||O.cache==="no-cache")){var ee=/([?&])_=[^&]*/;if(ee.test(this.url))this.url=this.url.replace(ee,"$1_="+new Date().getTime());else{var le=/\?/;this.url+=(le.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function D(g){var O=new FormData;return g.trim().split("&").forEach(function(k){if(k){var ee=k.split("="),le=ee.shift().replace(/\+/g," "),X=ee.join("=").replace(/\+/g," ");O.append(decodeURIComponent(le),decodeURIComponent(X))}}),O}function j(g){var O=new f,k=g.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(ee){return ee.indexOf(`
2
+ `)===0?ee.substr(1,ee.length):ee}).forEach(function(ee){var le=ee.split(":"),X=le.shift().trim();if(X){var Bo=le.join(":").trim();try{O.append(X,Bo)}catch(ni){console.warn("Response "+ni.message)}}}),O}N.call(w.prototype);function J(g,O){if(!(this instanceof J))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=O.statusText===void 0?"":""+O.statusText,this.headers=new f(O.headers),this.url=O.url||"",this._initBody(g)}N.call(J.prototype),J.prototype.clone=function(){return new J(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},J.error=function(){var g=new J(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var Y=[301,302,303,307,308];J.redirect=function(g,O){if(Y.indexOf(O)===-1)throw new RangeError("Invalid status code");return new J(null,{status:O,headers:{location:g}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(O,k){this.message=O,this.name=k;var ee=Error(O);this.stack=ee.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function M(g,O){return new Promise(function(k,ee){var le=new w(g,O);if(le.signal&&le.signal.aborted)return ee(new r.DOMException("Aborted","AbortError"));var X=new XMLHttpRequest;function Bo(){X.abort()}X.onload=function(){var Oe={statusText:X.statusText,headers:j(X.getAllResponseHeaders()||"")};le.url.indexOf("file://")===0&&(X.status<200||X.status>599)?Oe.status=200:Oe.status=X.status,Oe.url="responseURL"in X?X.responseURL:Oe.headers.get("X-Request-URL");var Vt="response"in X?X.response:X.responseText;setTimeout(function(){k(new J(Vt,Oe))},0)},X.onerror=function(){setTimeout(function(){ee(new TypeError("Network request failed"))},0)},X.ontimeout=function(){setTimeout(function(){ee(new TypeError("Network request timed out"))},0)},X.onabort=function(){setTimeout(function(){ee(new r.DOMException("Aborted","AbortError"))},0)};function ni(Oe){try{return Oe===""&&n.location.href?n.location.href:Oe}catch{return Oe}}if(X.open(le.method,ni(le.url),!0),le.credentials==="include"?X.withCredentials=!0:le.credentials==="omit"&&(X.withCredentials=!1),"responseType"in X&&(i.blob?X.responseType="blob":i.arrayBuffer&&(X.responseType="arraybuffer")),O&&typeof O.headers=="object"&&!(O.headers instanceof f||n.Headers&&O.headers instanceof n.Headers)){var Os=[];Object.getOwnPropertyNames(O.headers).forEach(function(Oe){Os.push(d(Oe)),X.setRequestHeader(Oe,u(O.headers[Oe]))}),le.headers.forEach(function(Oe,Vt){Os.indexOf(Vt)===-1&&X.setRequestHeader(Vt,Oe)})}else le.headers.forEach(function(Oe,Vt){X.setRequestHeader(Vt,Oe)});le.signal&&(le.signal.addEventListener("abort",Bo),X.onreadystatechange=function(){X.readyState===4&&le.signal.removeEventListener("abort",Bo)}),X.send(typeof le._bodyInit>"u"?null:le._bodyInit)})}return M.polyfill=!0,n.fetch||(n.fetch=M,n.Headers=f,n.Request=w,n.Response=J),r.Headers=f,r.Request=w,r.Response=J,r.fetch=M,r}({})})(Mn);Mn.fetch.ponyfill=!0;delete Mn.fetch.polyfill;var Dr=Dn.fetch?Dn:Mn;Wt=Dr.fetch;Wt.default=Dr.fetch;Wt.fetch=Dr.fetch;Wt.Headers=Dr.Headers;Wt.Request=Dr.Request;Wt.Response=Dr.Response;ic.exports=Wt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(E,C){if(E=E.toLowerCase(),this._getDefinition(E)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${E}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=C.prototype.attributeChangedCallback,D=new Set(C.observedAttributes||[]);m(C,D,w);let j={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(E,j),this._definitionsByClass.set(C,j);let J=r.call(n,E);J||(J=f(E),e.call(n,E,J)),this===window.customElements&&(s.set(C,j),j.standInClass=J);let Y=this._awaitingUpgrade.get(E);if(Y){this._awaitingUpgrade.delete(E);for(let g of Y)a.delete(g),x(g,j,!0)}let M=this._whenDefinedPromises.get(E);return M!==void 0&&(M.resolve(C),this._whenDefinedPromises.delete(E)),C}upgrade(){T.push(this),n.upgrade.apply(n,arguments),T.pop()}get(E){return this._definitionsByTag.get(E)?.elementClass}_getDefinition(E){return this._definitionsByTag.get(E)}whenDefined(E){let C=this._getDefinition(E);if(C!==void 0)return Promise.resolve(C.elementClass);let w=this._whenDefinedPromises.get(E);return w===void 0&&(w={},w.promise=new Promise(D=>w.resolve=D),this._whenDefinedPromises.set(E,w)),w.promise}_upgradeWhenDefined(E,C,w){let D=this._awaitingUpgrade.get(C);D||this._awaitingUpgrade.set(C,D=new Set),w?D.add(E):D.delete(E)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),i.set(C,w),C},window.HTMLElement.prototype=t.prototype;let u=E=>E===document||E instanceof ShadowRoot,h=E=>{let C=E.getRootNode();if(!u(C)){let w=T[T.length-1];if(w instanceof CustomElementRegistry)return w;C=w.getRootNode(),u(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},f=E=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let D=h(w)||window.customElements,j=D._getDefinition(E);return j?x(w,j):a.set(w,D),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,E,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,E,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},m=(E,C,w)=>{if(C.size===0||w===void 0)return;let D=E.prototype.setAttribute;D&&(E.prototype.setAttribute=function(Y,M){let g=Y.toLowerCase();if(C.has(g)){let O=this.getAttribute(g);D.call(this,g,M),w.call(this,g,O,M)}else D.call(this,g,M)});let j=E.prototype.removeAttribute;j&&(E.prototype.removeAttribute=function(Y){let M=Y.toLowerCase();if(C.has(M)){let g=this.getAttribute(M);j.call(this,M),w.call(this,M,g,null)}else j.call(this,M)});let J=E.prototype.toggleAttribute;J&&(E.prototype.toggleAttribute=function(Y,M){let g=Y.toLowerCase();if(C.has(g)){let O=this.getAttribute(g);J.call(this,g,M);let k=this.getAttribute(g);w.call(this,g,O,k)}else J.call(this,g,M)})},S=E=>{let C=Object.getPrototypeOf(E);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(E,window.HTMLElement):S(C)},x=(E,C,w=!1)=>{Object.setPrototypeOf(E,C.elementClass.prototype),i.set(E,C),d=E;try{new C.elementClass}catch{S(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(D=>{E.hasAttribute(D)&&C.attributeChangedCallback.call(E,D,null,E.getAttribute(D))}),w&&C.connectedCallback&&E.isConnected&&C.connectedCallback.call(E)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(E){let C=A.apply(this,arguments);return E.customElements&&(C.customElements=E.customElements),C};let T=[document],L=(E,C,w=void 0)=>{let D=(w?Object.getPrototypeOf(w):E.prototype)[C];E.prototype[C]=function(){T.push(this);let j=D.apply(w||this,arguments);return j!==void 0&&l.set(j,this),T.pop(),j}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let N=(E,C)=>{let w=Object.getOwnPropertyDescriptor(E.prototype,C);Object.defineProperty(E.prototype,C,{...w,set(D){T.push(this),w.set.call(this,D),T.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let E=new WeakMap,C=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Y){let M=C.call(this,...Y);return E.set(M,this),M},w.forEach(Y=>{let M=window.ElementInternals.prototype,g=M[Y];M[Y]=function(...O){let k=E.get(this);if(i.get(k).formAssociated===!0)return g?.call(this,...O);throw new DOMException(`Failed to execute ${g} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class D extends Array{constructor(M){super(...M),this._elements=M}get value(){return this._elements.find(M=>M.checked===!0)?.value||""}}class j{constructor(M){let g=new Map;M.forEach((O,k)=>{let ee=O.getAttribute("name"),le=g.get(ee)||[];this[+k]=O,le.push(O),g.set(ee,le)}),this.length=M.length,g.forEach((O,k)=>{O&&(O.length===1?this[k]=O[0]:this[k]=new D(O))})}namedItem(M){return this[M]}}let J=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Y=J.get.call(this,[]),M=[];for(let g of Y){let O=i.get(g);(!O||O.formAssociated===!0)&&M.push(g)}return new j(M)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var bi={};te(bi,{CSSResult:()=>mr,LitElement:()=>gt,ReactiveElement:()=>st,_$LE:()=>lp,_$LH:()=>mi,adoptStyles:()=>ro,css:()=>_,defaultConverter:()=>gr,getCompatibleStyle:()=>Uo,html:()=>P,isServer:()=>th,mathml:()=>hi,noChange:()=>Ae,notEqual:()=>no,nothing:()=>z,render:()=>gi,supportsAdoptingStyleSheets:()=>to,svg:()=>fi,unsafeCSS:()=>$e});var Fo=globalThis,to=Fo.ShadowRoot&&(Fo.ShadyCSS===void 0||Fo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ai=Symbol(),Es=new WeakMap,mr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ai)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(to&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Es.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Es.set(r,e))}return e}toString(){return this.cssText}},$e=t=>new mr(typeof t=="string"?t:t+"",void 0,ai),_=(t,...e)=>{let r=t.length===1?t[0]:e.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)+t[a+1],t[0]);return new mr(r,t,ai)},ro=(t,e)=>{if(to)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Fo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Uo=to?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return $e(r)})(t):t;var{is:Xd,defineProperty:Jd,getOwnPropertyDescriptor:Qd,getOwnPropertyNames:ep,getOwnPropertySymbols:tp,getPrototypeOf:rp}=Object,zo=globalThis,ws=zo.trustedTypes,op=ws?ws.emptyScript:"",np=zo.reactiveElementPolyfillSupport,oo=(t,e)=>t,gr={toAttribute(t,e){switch(e){case Boolean:t=t?op:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},no=(t,e)=>!Xd(t,e),As={attribute:!0,type:String,converter:gr,reflect:!1,useDefault:!1,hasChanged:no};Symbol.metadata??=Symbol("metadata"),zo.litPropertyMetadata??=new WeakMap;var st=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=As){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Jd(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Qd(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??As}static _$Ei(){if(this.hasOwnProperty(oo("elementProperties")))return;let e=rp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(oo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(oo("properties"))){let r=this.properties,n=[...ep(r),...tp(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Uo(i))}else e!==void 0&&r.push(Uo(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ro(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:gr).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);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:gr;this._$Em=i,this[i]=s.fromAttribute(r,a.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){let i=this.constructor,a=this[e];if(n??=i.getPropertyOptions(e),!((n.hasChanged??no)(a,r)||n.useDefault&&n.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(i._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!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){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};st.elementStyles=[],st.shadowRootOptions={mode:"open"},st[oo("elementProperties")]=new Map,st[oo("finalized")]=new Map,np?.({ReactiveElement:st}),(zo.reactiveElementVersions??=[]).push("2.1.0");var li=globalThis,Ho=li.trustedTypes,Rs=Ho?Ho.createPolicy("lit-html",{createHTML:t=>t}):void 0,ci="$lit$",mt=`lit$${Math.random().toFixed(9).slice(2)}$`,di="?"+mt,ip=`<${di}>`,Kt=document,ao=()=>Kt.createComment(""),so=t=>t===null||typeof t!="object"&&typeof t!="function",pi=Array.isArray,Ps=t=>pi(t)||typeof t?.[Symbol.iterator]=="function",si=`[
3
+ \f\r]`,io=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ts=/-->/g,Ls=/>/g,jt=RegExp(`>|${si}(?:([^\\s"'>=/]+)(${si}*=${si}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Is=/'/g,_s=/"/g,ks=/^(?:script|style|textarea|title)$/i,ui=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),P=ui(1),fi=ui(2),hi=ui(3),Ae=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Ns=new WeakMap,Gt=Kt.createTreeWalker(Kt,129);function $s(t,e){if(!pi(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Rs!==void 0?Rs.createHTML(e):e}var Ds=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=io;for(let l=0;l<r;l++){let d=t[l],u,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===io?h[1]==="!--"?s=Ts:h[1]!==void 0?s=Ls:h[2]!==void 0?(ks.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=jt):h[3]!==void 0&&(s=jt):s===jt?h[0]===">"?(s=i??io,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?jt:h[3]==='"'?_s:Is):s===_s||s===Is?s=jt:s===Ts||s===Ls?s=io:(s=jt,i=void 0);let S=s===jt&&t[l+1].startsWith("/>")?" ":"";a+=s===io?d+ip:f>=0?(n.push(u),d.slice(0,f)+ci+d.slice(f)+mt+S):d+mt+(f===-2?l:S)}return[$s(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},lo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[u,h]=Ds(e,r);if(this.el=t.createElement(u,n),Gt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Gt.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(ci)){let m=h[s++],S=i.getAttribute(f).split(mt),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:S,ctor:x[1]==="."?Vo:x[1]==="?"?jo:x[1]==="@"?Go:qt}),i.removeAttribute(f)}else f.startsWith(mt)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(ks.test(i.tagName)){let f=i.textContent.split(mt),m=f.length-1;if(m>0){i.textContent=Ho?Ho.emptyScript:"";for(let S=0;S<m;S++)i.append(f[S],ao()),Gt.nextNode(),d.push({type:2,index:++a});i.append(f[m],ao())}}}else if(i.nodeType===8)if(i.data===di)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(mt,f+1))!==-1;)d.push({type:7,index:a}),f+=mt.length-1}a++}}static createElement(e,r){let n=Kt.createElement("template");return n.innerHTML=e,n}};function Zt(t,e,r=t,n){if(e===Ae)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=so(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Zt(t,i._$AS(t,e.values),i,n)),e}var Wo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Kt).importNode(r,!0);Gt.currentNode=i;let a=Gt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new yr(a,a.nextSibling,this,e):d.type===1?u=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(u=new Ko(a,this,e)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(a=Gt.nextNode(),s++)}return Gt.currentNode=Kt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},yr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Zt(this,e,r),so(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Ae&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ps(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==z&&so(this._$AH)?this._$AA.nextSibling.data=e:this.T(Kt.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=lo.createElement($s(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Wo(i,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Ns.get(e.strings);return r===void 0&&Ns.set(e.strings,r=new lo(e)),r}k(e){pi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.O(ao()),this.O(ao()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=r,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=z}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Zt(this,e,r,0),s=!so(e)||e!==this._$AH&&e!==Ae,s&&(this._$AH=e);else{let l=e,d,u;for(e=a[0],d=0;d<a.length-1;d++)u=Zt(this,l[n+d],r,d),u===Ae&&(u=this._$AH[d]),s||=!so(u)||u!==this._$AH[d],u===z?e=z:e!==z&&(e+=(u??"")+a[d+1]),this._$AH[d]=u}s&&!i&&this.j(e)}j(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Vo=class extends qt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===z?void 0:e}},jo=class extends qt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Go=class extends qt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Zt(this,e,r,0)??z)===Ae)return;let n=this._$AH,i=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==z&&(n===z||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ko=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Zt(this,e)}},mi={M:ci,P:mt,A:di,C:1,L:Ds,R:Wo,D:Ps,V:Zt,I:yr,H:qt,N:jo,U:Go,B:Vo,F:Ko},ap=li.litHtmlPolyfillSupport;ap?.(lo,yr),(li.litHtmlVersions??=[]).push("3.3.0");var gi=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new yr(e.insertBefore(ao(),a),a,void 0,r??{})}return i._$AI(t),i};var yi=globalThis,gt=class extends st{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=gi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ae}};gt._$litElement$=!0,gt.finalized=!0,yi.litElementHydrateSupport?.({LitElement:gt});var sp=yi.litElementPolyfillSupport;sp?.({LitElement:gt});var lp={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(yi.litElementVersions??=[]).push("4.2.0");var th=!1;var Si={};te(Si,{customElement:()=>cp,eventOptions:()=>pp,property:()=>b,query:()=>ae,queryAll:()=>xi,queryAssignedElements:()=>vi,queryAssignedNodes:()=>co,queryAsync:()=>fp,standardProperty:()=>Ms,state:()=>G});var cp=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var dp={attribute:!0,type:String,converter:gr,reflect:!1,hasChanged:no},Ms=(t=dp,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+n)};function b(t){return(e,r)=>typeof r=="object"?Ms(t,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}function G(t){return b({...t,state:!0,attribute:!1})}function pp(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Je=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function ae(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Je(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Je(r,n,{get(){return a(this)}})}}var up;function xi(t){return(e,r)=>Je(e,r,{get(){return(this.renderRoot??(up??=document.createDocumentFragment())).querySelectorAll(t)}})}function fp(t){return(e,r)=>Je(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function vi(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Je(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function co(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Je(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Ci={};te(Ci,{repeat:()=>yt});var lt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Qe=t=>(...e)=>({_$litDirective$:t,values:e}),He=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:hp}=mi;var Fs=t=>t.strings===void 0,Bs=()=>document.createComment(""),br=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Bs(),i),s=n.insertBefore(Bs(),i);r=new hp(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||l){let d=r._$AA;for(;d!==a;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},_t=(t,e,r=t)=>(t._$AI(e,r),t),mp={},Us=(t,e=mp)=>t._$AH=e,zs=t=>t._$AH,Zo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Hs=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},yt=Qe(class extends He{constructor(t){if(super(t),t.type!==lt.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of t)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=zs(t),{values:a,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],u,h,f=0,m=i.length-1,S=0,x=a.length-1;for(;f<=m&&S<=x;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[S])d[S]=_t(i[f],a[S]),f++,S++;else if(l[m]===s[x])d[x]=_t(i[m],a[x]),m--,x--;else if(l[f]===s[x])d[x]=_t(i[f],a[x]),br(t,d[x+1],i[f]),f++,x--;else if(l[m]===s[S])d[S]=_t(i[m],a[S]),br(t,i[f],i[m]),m--,S++;else if(u===void 0&&(u=Hs(s,S,x),h=Hs(l,f,m)),u.has(l[f]))if(u.has(l[m])){let A=h.get(s[S]),T=A!==void 0?i[A]:null;if(T===null){let L=br(t,i[f]);_t(L,a[S]),d[S]=L}else d[S]=_t(T,a[S]),br(t,i[f],T),i[A]=null;S++}else Zo(i[m]),m--;else Zo(i[f]),f++;for(;S<=x;){let A=br(t,d[x+1]);_t(A,a[S]),d[S++]=A}for(;f<=m;){let A=i[f++];A!==null&&Zo(A)}return this.ut=s,Us(t,d),Ae}});var Oi={};te(Oi,{classMap:()=>ge});var ge=Qe(class extends He{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return Ae}});var Ei={};te(Ei,{styleMap:()=>yp});var Ws="important",gp=" !"+Ws,yp=Qe(class extends He{constructor(t){if(super(t),t.type!==lt.ATTRIBUTE||t.name!=="style"||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((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(gp);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Ws:""):r[n]=i}}return Ae}});var Ai={};te(Ai,{UnsafeHTMLDirective:()=>xr,unsafeHTML:()=>wi});var xr=class extends He{constructor(e){if(super(e),this.it=z,e.type!==lt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===z||e==null)return this._t=void 0,this.it=e;if(e===Ae)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};xr.directiveName="unsafeHTML",xr.resultType=1;var wi=Qe(xr);var $i={};te($i,{CacheRegistry:()=>ct,ClearCacheEvent:()=>ho});var Ti={};te(Ti,{CancelablePromise:()=>qo,CanceledPromiseError:()=>Yt,cancelable:()=>Ri});var Yt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},qo=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Yt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Yt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ri=t=>new qo((e,r)=>t.then(e).catch(r));var ki={};te(ki,{FtNotificationEvent:()=>fo,PostResizeEvent:()=>Pi,PreResizeEvent:()=>Ni,WithEventBus:()=>bt,withEventBus:()=>Xo});var _i={};te(_i,{applyMixinOnce:()=>Ee,dateReviver:()=>vp,deepCopy:()=>uo,deepEqual:()=>De,delay:()=>Yo,eventPathContainsMatchingElement:()=>Li,everyDeep:()=>xp,flatDeep:()=>js,forEachDeep:()=>Gs,getComposedPathTo:()=>Ii,hasChanged:()=>Xt,last:()=>Cp,minmax:()=>po,parseDate:()=>Zs,randomId:()=>Op,someDeep:()=>Ks,unslotText:()=>vr,waitFor:()=>Vs,waitUntil:()=>bp});var Yo=t=>new Promise(e=>setTimeout(e,t));async function bp(t,e=10,r=2e4){await Vs(async()=>await t()||void 0,e,r)}async function Vs(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Yo(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function js(t,e){return t.flatMap(r=>[r,...js(e(r),e)])}function Gs(t,e,r){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let d=i[l];if(!(((s=r(d,l,i,a))!==null&&s!==void 0?s:!0)&&n(e(d),[...a,d])))return!1}return!0};n(t,[])}function Ks(t,e,r){let n=!1;return Gs(t,e,(i,a,s,l)=>(n=!!r(i,a,s,l),!n)),n}function xp(t,e,r){return!Ks(t,e,(n,i,a,s)=>!r(n,i,a,s))}function vp(...t){return(e,r)=>t.includes(e)?Zs(r):r}function Zs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function Sp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!De(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!De(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(i=a(t),r=i.length,r!==a(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){let s=i[n];if(!De(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function De(t,e){try{return Sp(t,e)}catch{return!1}}function Xt(t,e){return!De(t,e)}function Li(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function po(t,e,r){return Math.min(Math.max(t,e),r)}function Cp(t){return t[t.length-1]}function vr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>vr(e)).join(""):t?.textContent||""}function Ii(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function uo(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Op(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function Ee(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let i=e(n);return i[t]=!0,i}}var fo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ni=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Pi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Xo=Ee(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),bt=class extends Xo(Object){};var ho=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},ct=class extends bt{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let a=this.content[e],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...a,loader:r,final:n,status:s}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new ho(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new ho([e])),e}forceClear(e){var r;let n=this.content[e];n&&(this.clearClearTimeout(e),(r=n.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var r,n,i;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,r,n=!1){this.forceClear(e);let i=async()=>r,a="RESOLVED";this.content[e]={loader:i,final:n,status:a,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,n){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=Ri(r()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,n;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Bi={};te(Bi,{ClusteringHelper:()=>Mi,formatHierarchicalValues:()=>Di});function Di(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Mi=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e){var r,n,i,a,s;let l=((a=(n=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&n!==void 0?n:(i=e.result)===null||i===void 0?void 0:i.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,n)).filter(a=>a!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(Di(l)),s.push(Di(l,r))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,n="No value",i,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),u=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:e,label:u,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,S)=>S.findIndex(x=>x.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata({result:d,key:e}))===null||u===void 0?void 0:u.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,a);if(u>l&&(l=u,s=d,u===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Fi={};te(Fi,{Debouncer:()=>Le});var Le=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);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 Ui={};te(Ui,{customElement:()=>re,dateProperty:()=>wp,isNumber:()=>qs,jsonProperty:()=>We,numberProperty:()=>Nt,optionalNumberProperty:()=>Ep});var re=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function We(t,e){let r=()=>JSON.parse(JSON.stringify(t));return b({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Xt,...e??{}})}function Ep(t){return Nt(t)}function Nt(t){return b({type:Object,converter:{fromAttribute:e=>{if(e!=null)return qs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function qs(t){return!isNaN(parseFloat(t))}function wp(t){return b({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var Vi={};te(Vi,{designSystemVariables:()=>B});var Wi={};te(Wi,{DesignSystemFamily:()=>vt,DesignSystemSize:()=>Ie,FtCssVariableFactory:()=>o,badge:()=>kp,banner:()=>Pp,button:()=>y,chart:()=>Yp,checkbox:()=>Tp,chip:()=>H,chipChoice:()=>_p,collapsible:()=>Zp,comboboxMultiSelect:()=>Gp,comboboxSingleSelect:()=>jp,dateRangePicker:()=>ou,drawer:()=>Up,floatingMenu:()=>Vp,foundation:()=>c,link:()=>Np,modal:()=>Fp,notice:()=>Jp,notification:()=>eu,pageDesigner:()=>Xp,pageFooter:()=>Mp,pageHeader:()=>Dp,pageLayout:()=>Bp,popover:()=>Kp,radio:()=>Lp,reorderableList:()=>ru,resolveFamilyClass:()=>zi,resolveSizeClass:()=>Hi,semantic:()=>p,setVariable:()=>v,switch_:()=>qp,table:()=>Ip,tabs:()=>zp,textArea:()=>Wp,textInput:()=>Hp,titleBreadcrumb:()=>$p,toggle:()=>Qp,tooltip:()=>tu,treeList:()=>Rp,typographies:()=>$t,typographyBody1Medium:()=>on,typographyBody1Regular:()=>rn,typographyBody1Semibold:()=>nn,typographyBody2Medium:()=>kt,typographyBody2MediumUnderline:()=>Ys,typographyBody2Regular:()=>an,typographyBody2Semibold:()=>sn,typographyCaption1Bold:()=>gn,typographyCaption1Medium:()=>hn,typographyCaption1Semibold:()=>mn,typographyCaption2Bold:()=>bn,typographyCaption2Medium:()=>xt,typographyCaption2Semibold:()=>yn,typographyCaption3Bold:()=>Sn,typographyCaption3Medium:()=>xn,typographyCaption3Semibold:()=>vn,typographyDisplay:()=>Jo,typographyLabel1Bold:()=>dn,typographyLabel1Medium:()=>ln,typographyLabel1Semibold:()=>cn,typographyLabel2Bold:()=>fn,typographyLabel2Medium:()=>pn,typographyLabel2Semibold:()=>un,typographyTitle1:()=>Qo,typographyTitle2:()=>en,typographyTitle3:()=>tn,typographyVariants:()=>Ap});var Pt=t=>typeof t=="string"?$e(t):t,o=class{static create(e,r,n,i){let a=l=>Pt(l??i),s=_`var(${Pt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>v(s,l??a(i)),s.get=l=>_`var(${Pt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=l=>n.get(l??i),s=_`var(${Pt(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>v(s,l??a(i)),s.get=l=>_`var(${Pt(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.defaultCssValue(a),i=_`var(${Pt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.set=a=>e.set(a),i.get=a=>_`var(${Pt(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function v(t,e){return Pt(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ftds-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:o.create("--ftds-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:o.create("--ftds-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:o.create("--ftds-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:o.create("--ftds-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:o.create("--ftds-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:o.create("--ftds-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:o.create("--ftds-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:o.create("--ftds-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)")},Jo={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Qo={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},en={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},tn={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},rn={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},on={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},nn={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},an={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},kt={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Ys={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},sn={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},ln={fontFamily:o.create("--ftds-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-medium-text-decoration","","UNKNOWN","none")},cn={fontFamily:o.create("--ftds-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},dn={fontFamily:o.create("--ftds-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-1-bold-text-decoration","","UNKNOWN","none")},pn={fontFamily:o.create("--ftds-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-medium-text-decoration","","UNKNOWN","none")},un={fontFamily:o.create("--ftds-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},fn={fontFamily:o.create("--ftds-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ftds-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ftds-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ftds-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-label-2-bold-text-decoration","","UNKNOWN","none")},hn={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},mn={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},gn={fontFamily:o.create("--ftds-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},xt={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},yn={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},bn={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},xn={fontFamily:o.create("--ftds-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},vn={fontFamily:o.create("--ftds-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Sn={fontFamily:o.create("--ftds-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ftds-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},$t={display:Jo,"title-1":Qo,"title-2":en,"title-3":tn,"body-1-regular":rn,"body-1-medium":on,"body-1-semibold":nn,"body-2-regular":an,"body-2-medium":kt,"body-2-medium-underline":Ys,"body-2-semibold":sn,"label-1-medium":ln,"label-1-semibold":cn,"label-1-bold":dn,"label-2-medium":pn,"label-2-semibold":un,"label-2-bold":fn,"caption-1-medium":hn,"caption-1-semibold":mn,"caption-1-bold":gn,"caption-2-medium":xt,"caption-2-semibold":yn,"caption-2-bold":bn,"caption-3-medium":xn,"caption-3-semibold":vn,"caption-3-bold":Sn},Ap=["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 p={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var y={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Rp={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",p.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",p.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",p.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",p.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",p.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",p.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",p.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",p.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",p.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",p.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",p.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",p.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",p.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",p.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",p.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",p.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",p.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",p.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",p.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",p.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",p.contentGlobalSecondary)};var Tp={iconSize:o.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ftds-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ftds-checkbox-left-padding","",c.spacing2)};var Lp={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Ip={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var _p={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var H={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",p.borderErrorSubtle)};var Np={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",c.colorBrand100)};var Pp={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",p.borderInfoSubtle)};var kp={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",p.contentActionPrimary)};var $p={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Dp={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Mp={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Bp={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Fp={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Up={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var zp={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ftds-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Hp={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Wp={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Vp={height:o.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.shadowElevation02)};var jp={largeFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ftds-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ftds-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ftds-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ftds-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Gp={backgroundColor:o.extend("--ftds-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ftds-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ftds-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ftds-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ftds-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ftds-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ftds-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ftds-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ftds-combobox-multi-select-border-radius","",c.borderRadiusS)};var Kp={backgroundColor:o.extend("--ftds-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ftds-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ftds-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",p.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6)};var Zp={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ftds-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var qp={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ftds-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ftds-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Yp={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Xp={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Jp={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var Qp={offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ftds-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",c.spacing3)};var eu={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var tu={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ftds-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var ru={verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var ou={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var vt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(vt||(vt={}));var Ie;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ie||(Ie={}));function zi(t){return`ftds--family-${t}`}function Hi(t){return`ftds--size-${t}`}var B={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","SHADOW","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:o.create("--ft-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)"),elevation02:o.create("--ft-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)"),elevation03:o.create("--ft-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)"),elevation04:o.create("--ft-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)"),elevation06:o.create("--ft-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)"),elevation08:o.create("--ft-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)"),elevation12:o.create("--ft-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)"),elevation16:o.create("--ft-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)"),elevation24:o.create("--ft-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)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ji={};te(ji,{DynamicImporter:()=>Cn,dynamicImporter:()=>nu});var Cn=class{async import(e){if(e)return import(e)}},nu=new Cn;var sa={};te(sa,{computeOffsetAutoPosition:()=>aa,computeOffsetPosition:()=>ia});var Js=["top","right","bottom","left"],Xs=["start","end"],Ki=Js.reduce((t,e)=>t.concat(e,e+"-"+Xs[0],e+"-"+Xs[1]),[]),On=Math.min,Dt=Math.max;var iu={left:"right",right:"left",bottom:"top",top:"bottom"},au={start:"end",end:"start"};function Zi(t,e,r){return Dt(t,On(e,r))}function Sr(t,e){return typeof t=="function"?t(e):t}function Mt(t){return t.split("-")[0]}function dt(t){return t.split("-")[1]}function qi(t){return t==="x"?"y":"x"}function Yi(t){return t==="y"?"height":"width"}function Cr(t){return["top","bottom"].includes(Mt(t))?"y":"x"}function Xi(t){return qi(Cr(t))}function Qs(t,e,r){r===void 0&&(r=!1);let n=dt(t),i=Xi(t),a=Yi(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Gi(s)),[s,Gi(s)]}function el(t){return t.replace(/start|end/g,e=>au[e])}function Gi(t){return t.replace(/left|right|bottom|top/g,e=>iu[e])}function su(t){return{top:0,right:0,bottom:0,left:0,...t}}function tl(t){return typeof t!="number"?su(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function rl(t,e,r){let{reference:n,floating:i}=t,a=Cr(e),s=Xi(e),l=Yi(s),d=Mt(e),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,S;switch(d){case"top":S={x:h,y:n.y-i.height};break;case"bottom":S={x:h,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:f};break;case"left":S={x:n.x-i.width,y:f};break;default:S={x:n.x,y:n.y}}switch(dt(e)){case"start":S[s]-=m*(r&&u?-1:1);break;case"end":S[s]+=m*(r&&u?-1:1);break}return S}var ol=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=rl(u,n,d),m=n,S={},x=0;for(let A=0;A<l.length;A++){let{name:T,fn:L}=l[A],{x:N,y:E,data:C,reset:w}=await L({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:u,platform:s,elements:{reference:t,floating:e}});h=N??h,f=E??f,S={...S,[T]:{...S[T],...C}},w&&x<=50&&(x++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(u=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:h,y:f}=rl(u,m,d)),A=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};async function En(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:S=0}=Sr(e,t),x=tl(S),T=l[m?f==="floating"?"reference":"floating":f],L=Jt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(T)))==null||r?T:T.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),N=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,E=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),C=await(a.isElement==null?void 0:a.isElement(E))?await(a.getScale==null?void 0:a.getScale(E))||{x:1,y:1}:{x:1,y:1},w=Jt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:E,strategy:d}):N);return{top:(L.top-w.top+x.top)/C.y,bottom:(w.bottom-L.bottom+x.bottom)/C.y,left:(L.left-w.left+x.left)/C.x,right:(w.right-L.right+x.right)/C.x}}function lu(t,e,r){return(t?[...r.filter(i=>dt(i)===t),...r.filter(i=>dt(i)!==t)]:r.filter(i=>Mt(i)===i)).filter(i=>t?dt(i)===t||(e?el(i)!==i:!1):!0)}var wn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Ki,autoAlignment:S=!0,...x}=Sr(t,e),A=f!==void 0||m===Ki?lu(f||null,S,m):m,T=await En(e,x),L=((r=s.autoPlacement)==null?void 0:r.index)||0,N=A[L];if(N==null)return{};let E=Qs(N,a,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==N)return{reset:{placement:A[0]}};let C=[T[Mt(N)],T[E[0]],T[E[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:C}],D=A[L+1];if(D)return{data:{index:L+1,overflows:w},reset:{placement:D}};let j=w.map(M=>{let g=dt(M.placement);return[M.placement,g&&h?M.overflows.slice(0,2).reduce((O,k)=>O+k,0):M.overflows[0],M.overflows]}).sort((M,g)=>M[1]-g[1]),Y=((i=j.filter(M=>M[2].slice(0,dt(M[0])?2:3).every(g=>g<=0))[0])==null?void 0:i[0])||j[0][0];return Y!==l?{data:{index:L+1,overflows:w},reset:{placement:Y}}:{}}}};async function cu(t,e){let{placement:r,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=Mt(r),l=dt(r),d=Cr(r)==="y",u=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,f=Sr(e,t),{mainAxis:m,crossAxis:S,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof x=="number"&&(S=l==="end"?x*-1:x),d?{x:S*h,y:m*u}:{x:m*u,y:S*h}}var Ji=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:a,placement:s,middlewareData:l}=e,d=await cu(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Qi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:T=>{let{x:L,y:N}=T;return{x:L,y:N}}},...d}=Sr(t,e),u={x:r,y:n},h=await En(e,d),f=Cr(Mt(i)),m=qi(f),S=u[m],x=u[f];if(a){let T=m==="y"?"top":"left",L=m==="y"?"bottom":"right",N=S+h[T],E=S-h[L];S=Zi(N,S,E)}if(s){let T=f==="y"?"top":"left",L=f==="y"?"bottom":"right",N=x+h[T],E=x-h[L];x=Zi(N,x,E)}let A=l.fn({...e,[m]:S,[f]:x});return{...A,data:{x:A.x-r,y:A.y-n,enabled:{[m]:a,[f]:s}}}}}};var ea=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;let{placement:i,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...u}=Sr(t,e),h=await En(e,u),f=Mt(i),m=dt(i),S=Cr(i)==="y",{width:x,height:A}=a.floating,T,L;f==="top"||f==="bottom"?(T=f,L=m===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(L=f,T=m==="end"?"top":"bottom");let N=A-h.top-h.bottom,E=x-h.left-h.right,C=On(A-h[T],N),w=On(x-h[L],E),D=!e.middlewareData.shift,j=C,J=w;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(J=E),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(j=N),D&&!m){let M=Dt(h.left,0),g=Dt(h.right,0),O=Dt(h.top,0),k=Dt(h.bottom,0);S?J=x-2*(M!==0||g!==0?M+g:Dt(h.left,h.right)):j=A-2*(O!==0||k!==0?O+k:Dt(h.top,h.bottom))}await d({...e,availableWidth:J,availableHeight:j});let Y=await s.getDimensions(l.floating);return x!==Y.width||A!==Y.height?{reset:{rects:!0}}:{}}}};var ta=Math.min,Or=Math.max,mo=Math.round;var St=t=>({x:t,y:t});function Ct(t){return il(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ot(t){var e;return(e=(il(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function il(t){return t instanceof Node||t instanceof _e(t).Node}function pt(t){return t instanceof Element||t instanceof _e(t).Element}function et(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function nl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function Er(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function al(t){return["table","td","th"].includes(Ct(t))}function Rn(t){let e=Tn(),r=Me(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function sl(t){let e=Qt(t);for(;et(e)&&!go(e);){if(Rn(e))return e;e=Qt(e)}return null}function Tn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function go(t){return["html","body","#document"].includes(Ct(t))}function Me(t){return _e(t).getComputedStyle(t)}function yo(t){return pt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qt(t){if(Ct(t)==="html")return t;let e=t.assignedSlot||t.parentNode||nl(t)&&t.host||Ot(t);return nl(e)?e.host:e}function ll(t){let e=Qt(t);return go(e)?t.ownerDocument?t.ownerDocument.body:t.body:et(e)&&Er(e)?e:ll(e)}function An(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ll(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],Er(i)?i:[],s.frameElement&&r?An(s.frameElement):[]):e.concat(i,An(i,[],r))}function pl(t){let e=Me(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=et(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=mo(r)!==a||mo(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function ul(t){return pt(t)?t:t.contextElement}function wr(t){let e=ul(t);if(!et(e))return St(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=pl(e),s=(a?mo(r.width):r.width)/n,l=(a?mo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var du=St(0);function fl(t){let e=_e(t);return!Tn()||!e.visualViewport?du:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function pu(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==_e(t)?!1:e}function bo(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=ul(t),s=St(1);e&&(n?pt(n)&&(s=wr(n)):s=wr(t));let l=pu(a,r,n)?fl(a):St(0),d=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let m=_e(a),S=n&&pt(n)?_e(n):n,x=m.frameElement;for(;x&&n&&S!==m;){let A=wr(x),T=x.getBoundingClientRect(),L=Me(x),N=T.left+(x.clientLeft+parseFloat(L.paddingLeft))*A.x,E=T.top+(x.clientTop+parseFloat(L.paddingTop))*A.y;d*=A.x,u*=A.y,h*=A.x,f*=A.y,d+=N,u+=E,x=_e(x).frameElement}}return Jt({width:h,height:f,x:d,y:u})}function uu(t){let{rect:e,offsetParent:r,strategy:n}=t,i=et(r),a=Ot(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=St(1),d=St(0);if((i||!i&&n!=="fixed")&&((Ct(r)!=="body"||Er(a))&&(s=yo(r)),et(r))){let u=bo(r);l=wr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function fu(t){return Array.from(t.getClientRects())}function hl(t){return bo(Ot(t)).left+yo(t).scrollLeft}function hu(t){let e=Ot(t),r=yo(t),n=t.ownerDocument.body,i=Or(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Or(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+hl(t),l=-r.scrollTop;return Me(n).direction==="rtl"&&(s+=Or(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function mu(t,e){let r=_e(t),n=Ot(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let u=Tn();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function gu(t,e){let r=bo(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=et(t)?wr(t):St(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=i*a.x,u=n*a.y;return{width:s,height:l,x:d,y:u}}function cl(t,e,r){let n;if(e==="viewport")n=mu(t,r);else if(e==="document")n=hu(Ot(t));else if(pt(e))n=gu(e,r);else{let i=fl(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Jt(n)}function ml(t,e){let r=Qt(t);return r===e||!pt(r)||go(r)?!1:Me(r).position==="fixed"||ml(r,e)}function yu(t,e){let r=e.get(t);if(r)return r;let n=An(t,[],!1).filter(l=>pt(l)&&Ct(l)!=="body"),i=null,a=Me(t).position==="fixed",s=a?Qt(t):t;for(;pt(s)&&!go(s);){let l=Me(s),d=Rn(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Er(s)&&!d&&ml(t,s))?n=n.filter(h=>h!==s):i=l,s=Qt(s)}return e.set(t,n),n}function bu(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?yu(e,this._c):[].concat(r),n],l=s[0],d=s.reduce((u,h)=>{let f=cl(e,h,i);return u.top=Or(f.top,u.top),u.right=ta(f.right,u.right),u.bottom=ta(f.bottom,u.bottom),u.left=Or(f.left,u.left),u},cl(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function xu(t){return pl(t)}function vu(t,e,r){let n=et(e),i=Ot(e),a=r==="fixed",s=bo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=St(0);if(n||!n&&!a)if((Ct(e)!=="body"||Er(i))&&(l=yo(e)),n){let u=bo(e,!0,a,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=hl(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function dl(t,e){return!et(t)||Me(t).position==="fixed"?null:e?e(t):t.offsetParent}function gl(t,e){let r=_e(t);if(!et(t))return r;let n=dl(t,e);for(;n&&al(n)&&Me(n).position==="static";)n=dl(n,e);return n&&(Ct(n)==="html"||Ct(n)==="body"&&Me(n).position==="static"&&!Rn(n))?r:n||sl(t)||r}var Su=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||gl,a=this.getDimensions;return{reference:vu(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Cu(t){return Me(t).direction==="rtl"}var Ar={convertOffsetParentRelativeRectToViewportRelativeRect:uu,getDocumentElement:Ot,getClippingRect:bu,getOffsetParent:gl,getElementRects:Su,getClientRects:fu,getDimensions:xu,getScale:wr,isElement:pt,isRTL:Cu};var ra=(t,e,r)=>{let n=new Map,i={platform:Ar,...r},a={...i.platform,_c:n};return ol(t,e,{...i,platform:a})};function na(t){return Ou(t)}function oa(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ou(t){for(let e=t;e;e=oa(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=oa(t);e;e=oa(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ia(t,e,r){return ra(t,e,{platform:{...Ar,getOffsetParent:n=>Ar.getOffsetParent(n,na)},middleware:[Qi({crossAxis:!0}),wn({allowedPlacements:[r]})]})}async function aa(t,e,r,n,i,a,s=4){return ra(t,e,{placement:r,strategy:i,platform:{...Ar,getOffsetParent:l=>Ar.getOffsetParent(l,na)},middleware:[Ji(s),wn({allowedPlacements:n}),ea({apply({availableHeight:l,elements:d}){typeof a=="string"&&(a=`var(${a})`),a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, ${a})`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var ua={};te(ua,{FtdsBase:()=>vo,toFtdsBase:()=>Tr});var pa={};te(pa,{ExportpartsUpdatedEvent:()=>er,FtLitElement:()=>K});var la={};te(la,{ScopedRegistryLitElement:()=>xo});var xo=class extends gt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ro(n,e.elementStyles),n}};var da={};te(da,{shadowQuerySelector:()=>ca,shadowQuerySelectorAll:()=>Eu});function ca(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Eu(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Rr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},vl,yl=Symbol("constructorPrototype"),bl=Symbol("constructorName"),Sl=Symbol("exportpartsDebouncer"),xl=Symbol("dynamicDependenciesLoaded"),er=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};er.eventName="exportparts-updated";var K=class extends xo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[vl]=new Le(5),this.scheduleExportpartsUpdate=()=>{var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Sl].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)})},this[bl]=this.constructor.name,this[yl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[bl]&&Object.setPrototypeOf(this,this[yl])}connectedCallback(){var e;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[xl]||(r[xl]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(er.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(er.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new er)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];r=ca(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(e){var r,n,i,a,s,l;let d=m=>m!=null&&m.trim().length>0,u=e.filter(d).map(m=>m.trim());if(u.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&l!==void 0?l:[],A=[...S,...x].filter(d).map(T=>T.trim());for(let T of A)h.add(T)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>u.map(S=>`${m}:${S}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};vl=Sl;Rr([b()],K.prototype,"exportpartsPrefix",void 0);Rr([We([])],K.prototype,"exportpartsPrefixes",void 0);Rr([b({reflect:!0})],K.prototype,"exportparts",void 0);Rr([b()],K.prototype,"customStylesheet",void 0);Rr([b()],K.prototype,"elementToFocus",void 0);Rr([G()],K.prototype,"useAdoptedStyleSheets",void 0);var Cl=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Tr=Ee(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Ie.medium,this.family=vt.neutral}getDesignSystemBaseClasses(){return{[zi(this.family)]:!0,[Hi(this.size)]:!0}}}return Cl([b()],e.prototype,"size",void 0),Cl([b()],e.prototype,"family",void 0),e}),vo=class extends Tr(K){};var Ol={};var ma={};te(ma,{highlightHtml:()=>ha,highlightHtmlColorCssVariable:()=>El,highlightHtmlStyles:()=>Au});var tr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{r(u)&&(l++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,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(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(u,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,S=>d.push(S),i)}),d.push(u);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var So=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new tr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=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 e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return tr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+m,e.nodes.forEach((S,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=h),e.nodes[x].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>n(d[s],f),(f,m)=>{e.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,m=>r(m,l,a.value.substring(u,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,S)=>this.opt.filter(S,u,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):d(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=tr.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function fa(t){let e=new So(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var wu=fa,El=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Au=_`
6
6
  .highlight-html-match {
7
- background: ${Cl};
7
+ background: ${El};
8
8
  }
9
- `;function da(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Sp(t);if(s.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var fa={};te(fa,{noTextInputDefaultClearButton:()=>pa,noTextSelect:()=>Ct,safariEllipsisFix:()=>bo,wordWrap:()=>Op});var Ct=P`
9
+ `;function ha(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new wu(t);if(s.unmark(),e&&e.trim()){let l={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};r?.attributes!=null&&(l.each=u=>{for(let h in r.attributes)u.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var ya={};te(ya,{noTextInputDefaultClearButton:()=>ga,noTextSelect:()=>Et,safariEllipsisFix:()=>Co,wordWrap:()=>Ru});var Et=_`
10
10
  .ft-no-text-select {
11
11
  -webkit-touch-callout: none;
12
12
  -webkit-user-select: none;
@@ -15,7 +15,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
15
15
  -ms-user-select: none;
16
16
  user-select: none;
17
17
  }
18
- `,Op=P`
18
+ `,Ru=_`
19
19
  .ft-word-wrap {
20
20
  white-space: normal;
21
21
  word-wrap: break-word;
@@ -27,7 +27,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
27
27
  -webkit-hyphens: auto;
28
28
  hyphens: auto
29
29
  }
30
- `,bo=P`
30
+ `,Co=_`
31
31
  .ft-safari-ellipsis-fix {
32
32
  margin-right: 0;
33
33
 
@@ -38,14 +38,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
38
38
  display: inline-block;
39
39
  width: 0;
40
40
  }
41
- `,pa=P`
41
+ `,ga=_`
42
42
  input::-webkit-search-cancel-button,
43
43
  input::-webkit-search-decoration,
44
44
  input::-webkit-search-results-button,
45
45
  input::-webkit-search-results-decoration {
46
46
  display: none;
47
47
  }
48
- `;var Ol={};var ha={};te(ha,{ParametrizedLabelResolver:()=>xo});var xo=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ba={};te(Ba,{FtCommandQueue:()=>vo,FtLitElementRedux:()=>Co,FtReduxStore:()=>rr,ReduxWatcher:()=>sn,clearAllStores:()=>cf,isFtReduxStore:()=>Rr,redux:()=>Ar,reduxEventListener:()=>wp,reduxReactive:()=>Ep,watch:()=>df,withRedux:()=>El});var Ep=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Ar=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:Kt,attribute:!1,...e};b(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},wp=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var vo=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Rr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var So=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),Qt=Symbol("internalStores"),El=we(Symbol("withRedux"),function(t){var e,o,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Qt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qt].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Qt].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Qt].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Qt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Qt].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[kt].has(s.store):this[kt].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var d;this[kt].set(s,l.subscribe(()=>this.updateFromStores())),this[So].set(s,[]),Rr(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[So].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[kt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[kt].has(s)&&this[kt].get(s)(),this[kt].delete(s),(l=this[So].get(s))===null||l===void 0||l.forEach(d=>d()),this[So].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=kt,o=Qt,n=So,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Co=class extends El(K){};function Ve(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ot(t){return!!t&&!!t[ue]}function Qe(t){var e;return!!t&&(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)===Pp}(t)||Array.isArray(t)||!!t[_l]||!!(!((e=t.constructor)===null||e===void 0)&&e[_l])||Oa(t)||Ea(t))}function er(t,e,o){o===void 0&&(o=!1),Ir(t)===0?(o?Object.keys:Lr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Ir(t){var e=t[ue];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Oa(t)?2:Ea(t)?3:0}function Tr(t,e){return Ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Ap(t,e){return Ir(t)===2?t.get(e):t[e]}function Nl(t,e,o){var n=Ir(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Pl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Oa(t){return _p&&t instanceof Map}function Ea(t){return Np&&t instanceof Set}function $t(t){return t.o||t.t}function wa(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Dl(t);delete e[ue];for(var o=Lr(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Aa(t,e){return e===void 0&&(e=!1),Ra(t)||Ot(t)||!Qe(t)||(Ir(t)>1&&(t.set=t.add=t.clear=t.delete=Rp),Object.freeze(t),e&&er(t,function(o,n){return Aa(n,!0)},!0)),t}function Rp(){Ve(2)}function Ra(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ut(t){var e=Ca[t];return e||Ve(18,t),e}function Tp(t,e){Ca[t]||(Ca[t]=e)}function xa(){return Eo}function ma(t,e){e&&(ut("Patches"),t.u=[],t.s=[],t.v=e)}function tn(t){va(t),t.p.forEach(Lp),t.p=null}function va(t){t===Eo&&(Eo=t.l)}function wl(t){return Eo={p:[],l:Eo,h:t,m:!0,_:0}}function Lp(t){var e=t[ue];e.i===0||e.i===1?e.j():e.g=!0}function ga(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ut("ES5").S(e,t,n),n?(o[ue].P&&(tn(e),Ve(4)),Qe(t)&&(t=rn(e,t),e.l||on(e,t)),e.u&&ut("Patches").M(o[ue].t,t,e.u,e.s)):t=rn(e,o,[]),tn(e),e.u&&e.v(e.u,e.s),t!==$l?t:void 0}function rn(t,e,o){if(Ra(e))return e;var n=e[ue];if(!n)return er(e,function(l,d){return Al(t,n,e,l,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return on(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=wa(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),er(a,function(l,d){return Al(t,n,i,l,d,o,s)}),on(t,i,!1),o&&t.u&&ut("Patches").N(n,o,t.u,t.s)}return n.o}function Al(t,e,o,n,i,a,s){if(Ot(i)){var l=rn(t,i,a&&e&&e.i!==3&&!Tr(e.R,n)?a.concat(n):void 0);if(Nl(o,n,l),!Ot(l))return;t.m=!1}else s&&o.add(i);if(Qe(i)&&!Ra(i)){if(!t.h.D&&t._<1)return;rn(t,i),e&&e.A.l||on(t,i)}}function on(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Aa(e,o)}function ya(t,e){var o=t[ue];return(o?$t(o):t)[e]}function Rl(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Dt(t){t.P||(t.P=!0,t.l&&Dt(t.l))}function ba(t){t.o||(t.o=wa(t.t))}function Sa(t,e,o){var n=Oa(e)?ut("MapSet").F(e,o):Ea(e)?ut("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:xa(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=wo;s&&(d=[l],p=Oo);var h=Proxy.revocable(d,p),f=h.revoke,m=h.proxy;return l.k=m,l.j=f,m}(e,o):ut("ES5").J(e,o);return(o?o.A:xa()).p.push(n),n}function Ip(t){return Ot(t)||Ve(22,t),function e(o){if(!Qe(o))return o;var n,i=o[ue],a=Ir(o);if(i){if(!i.P&&(i.i<4||!ut("ES5").K(i)))return i.t;i.I=!0,n=Tl(o,a),i.I=!1}else n=Tl(o,a);return er(n,function(s,l){i&&Ap(i.t,s)===l||Nl(n,s,e(l))}),a===3?new Set(n):n}(t)}function Tl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return wa(t)}function kl(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[ue];return wo.get(p,s)},set:function(p){var h=this[ue];wo.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][ue];if(!d.P)switch(d.i){case 5:n(d)&&Dt(d);break;case 4:o(d)&&Dt(d)}}}function o(s){for(var l=s.t,d=s.k,p=Lr(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==ue){var m=l[f];if(m===void 0&&!Tr(l,f))return!0;var S=d[f],x=S&&S[ue];if(x?x.t!==m:!Pl(S,m))return!0}}var A=!!l[ue];return p.length!==Lr(l).length+(A?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Ve(3,JSON.stringify($t(s)))}var a={};Tp("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(f,m){if(f){for(var S=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(S,""+x,t(x,!0));return S}var A=Dl(m);delete A[ue];for(var T=Lr(A),L=0;L<T.length;L++){var _=T[L];A[_]=t(_,f||!!A[_].enumerable)}return Object.create(Object.getPrototypeOf(m),A)}(d,s),h={i:d?5:4,A:l?l.A:xa(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,ue,{value:h,writable:!0}),p},S:function(s,l,d){d?Ot(l)&&l[ue].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var f=h[ue];if(f){var m=f.t,S=f.k,x=f.R,A=f.i;if(A===4)er(S,function(C){C!==ue&&(m[C]!==void 0||Tr(m,C)?x[C]||p(S[C]):(x[C]=!0,Dt(f)))}),er(m,function(C){S[C]!==void 0||Tr(S,C)||(x[C]=!1,Dt(f))});else if(A===5){if(n(f)&&(Dt(f),x.length=!0),S.length<m.length)for(var T=S.length;T<m.length;T++)x[T]=!1;else for(var L=m.length;L<S.length;L++)x[L]=!0;for(var _=Math.min(S.length,m.length),E=0;E<_;E++)S.hasOwnProperty(E)||(x[E]=!0),x[E]===void 0&&p(S[E])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Ll,Eo,Ta=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",_p=typeof Map<"u",Np=typeof Set<"u",Il=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",$l=Ta?Symbol.for("immer-nothing"):((Ll={})["immer-nothing"]=!0,Ll),_l=Ta?Symbol.for("immer-draftable"):"__$immer_draftable",ue=Ta?Symbol.for("immer-state"):"__$immer_state";var Pp=""+Object.prototype.constructor,Lr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Dl=Object.getOwnPropertyDescriptors||function(t){var e={};return Lr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Ca={},wo={get:function(t,e){if(e===ue)return t;var o=$t(t);if(!Tr(o,e))return function(i,a,s){var l,d=Rl(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!Qe(n)?n:n===ya(t.t,e)?(ba(t),t.o[e]=Sa(t.A.h,n,t)):n},has:function(t,e){return e in $t(t)},ownKeys:function(t){return Reflect.ownKeys($t(t))},set:function(t,e,o){var n=Rl($t(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=ya($t(t),e),a=i?.[ue];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Pl(o,i)&&(o!==void 0||Tr(t.t,e)))return!0;ba(t),Dt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return ya(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ba(t),Dt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=$t(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ve(12)}},Oo={};er(wo,function(t,e){Oo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Oo.deleteProperty=function(t,e){return Oo.set.call(this,t,e,void 0)},Oo.set=function(t,e,o){return wo.set.call(this,t[0],e,o,t[0])};var kp=function(){function t(o){var n=this;this.O=Il,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(A){var T=this;A===void 0&&(A=l);for(var L=arguments.length,_=Array(L>1?L-1:0),E=1;E<L;E++)_[E-1]=arguments[E];return d.produce(A,function(C){var w;return(w=a).call.apply(w,[T,C].concat(_))})}}var p;if(typeof a!="function"&&Ve(6),s!==void 0&&typeof s!="function"&&Ve(7),Qe(i)){var h=wl(n),f=Sa(n,i,void 0),m=!0;try{p=a(f),m=!1}finally{m?tn(h):va(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(A){return ma(h,s),ga(A,h)},function(A){throw tn(h),A}):(ma(h,s),ga(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===$l&&(p=void 0),n.D&&Aa(p,!0),s){var S=[],x=[];ut("Patches").M(i,p,S,x),s(S,x)}return p}Ve(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(p,function(S){return i.apply(void 0,[S].concat(f))})};var s,l,d=n.produce(i,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Qe(o)||Ve(8),Ot(o)&&(o=Ip(o));var n=wl(this),i=Sa(this,o,void 0);return i[ue].C=!0,va(n),i},e.finishDraft=function(o,n){var i=o&&o[ue],a=i.A;return ma(a,n),ga(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Il&&Ve(20),this.O=o},e.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=ut("Patches").$;return Ot(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),Be=new kp,$p=Be.produce,gx=Be.produceWithPatches.bind(Be),yx=Be.setAutoFreeze.bind(Be),bx=Be.setUseProxies.bind(Be),xx=Be.applyPatches.bind(Be),vx=Be.createDraft.bind(Be),Sx=Be.finishDraft.bind(Be),nn=$p;function tr(t){"@babel/helpers - typeof";return tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tr(t)}function Ml(t,e){if(tr(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(tr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Bl(t){var e=Ml(t,"string");return tr(e)=="symbol"?e:e+""}function Fl(t,e,o){return(e=Bl(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Ul(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function La(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Ul(Object(o),!0).forEach(function(n){Fl(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Ul(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function Te(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. "}var zl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},an={INIT:"@@redux/INIT"+Ia(),REPLACE:"@@redux/REPLACE"+Ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ia()}};function Dp(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function _a(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Te(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Te(1));return o(_a)(t,e)}if(typeof t!="function")throw new Error(Te(2));var i=t,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Te(3));return a}function f(A){if(typeof A!="function")throw new Error(Te(4));if(d)throw new Error(Te(5));var T=!0;return p(),l.push(A),function(){if(T){if(d)throw new Error(Te(6));T=!1,p();var _=l.indexOf(A);l.splice(_,1),s=null}}}function m(A){if(!Dp(A))throw new Error(Te(7));if(typeof A.type>"u")throw new Error(Te(8));if(d)throw new Error(Te(9));try{d=!0,a=i(a,A)}finally{d=!1}for(var T=s=l,L=0;L<T.length;L++){var _=T[L];_()}return A}function S(A){if(typeof A!="function")throw new Error(Te(10));i=A,m({type:an.REPLACE})}function x(){var A,T=f;return A={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(Te(11));function E(){_.next&&_.next(h())}E();var C=T(E);return{unsubscribe:C}}},A[zl]=function(){return this},A}return m({type:an.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:S},n[zl]=x,n}function Mp(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:an.INIT});if(typeof n>"u")throw new Error(Te(12));if(typeof o(void 0,{type:an.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Te(13))})}function Hl(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,l;try{Mp(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var m=!1,S={},x=0;x<a.length;x++){var A=a[x],T=o[A],L=p[A],_=T(L,h);if(typeof _>"u"){var E=h&&h.type;throw new Error(Te(14))}S[A]=_,m=m||_!==L}return m=m||a.length!==Object.keys(p).length,m?S:p}}function _r(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Wl(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Te(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=_r.apply(void 0,l)(i.dispatch),La(La({},i),{},{dispatch:a})}}}function Vl(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Gl=Vl();Gl.withExtraArgument=Vl;var Na=Gl;var Yl=function(){var t=function(e,o){return t=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])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Bp=function(t,e){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:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Nr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Fp=Object.defineProperty,Up=Object.defineProperties,zp=Object.getOwnPropertyDescriptors,jl=Object.getOwnPropertySymbols,Hp=Object.prototype.hasOwnProperty,Wp=Object.prototype.propertyIsEnumerable,Kl=function(t,e,o){return e in t?Fp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Mt=function(t,e){for(var o in e||(e={}))Hp.call(e,o)&&Kl(t,o,e[o]);if(jl)for(var n=0,i=jl(e);n<i.length;n++){var o=i[n];Wp.call(e,o)&&Kl(t,o,e[o])}return t},Pa=function(t,e){return Up(t,zp(e))},Vp=function(t,e,o){return new Promise(function(n,i){var a=function(d){try{l(o.next(d))}catch(p){i(p)}},s=function(d){try{l(o.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(t,e)).next())})};var Gp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_r:_r.apply(null,arguments)},Fx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function jp(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Kp=function(t){Yl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,Nr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Nr([void 0],o.concat(this))))},e}(Array),Zp=function(t){Yl(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.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(e.bind.apply(e,Nr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Nr([void 0],o.concat(this))))},e}(Array);function Da(t){return Qe(t)?nn(t,function(){}):t}function qp(t){return typeof t=="boolean"}function Yp(){return function(e){return Xp(e)}}function Xp(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Kp;if(o&&(qp(o)?l.push(Na):l.push(Na.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var ka=!0;function Xl(t){var e=Yp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,m=f===void 0?void 0:f,S;if(typeof i=="function")S=i;else if(jp(i))S=Hl(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 x=s;if(typeof x=="function"&&(x=x(e),!ka&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ka&&x.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=Wl.apply(void 0,x),T=_r;d&&(T=Gp(Mt({trace:!ka},typeof d=="object"&&d)));var L=new Zp(A),_=L;Array.isArray(m)?_=Nr([A],m):typeof m=="function"&&(_=m(L));var E=T.apply(void 0,_);return _a(S,h,E)}function Bt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Mt(Mt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Jl(t){var e={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function Jp(t){return typeof t=="function"}function Qp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?Jl(e):[e,o,n],a=i[0],s=i[1],l=i[2],d;if(Jp(t))d=function(){return Da(t())};else{var p=Da(t);d=function(){return p}}function h(f,m){f===void 0&&(f=d());var S=Nr([a[m.type]],s.filter(function(x){var A=x.matcher;return A(m)}).map(function(x){var A=x.reducer;return A}));return S.filter(function(x){return!!x}).length===0&&(S=[l]),S.reduce(function(x,A){if(A)if(Ot(x)){var T=x,L=A(T,m);return L===void 0?x:L}else{if(Qe(x))return nn(x,function(_){return A(_,m)});var L=A(x,m);if(L===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return x},f)}return h.getInitialState=d,h}function ef(t,e){return t+"/"+e}function Ql(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Da(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var f=n[h],m=ef(e,h),S,x;"reducer"in f?(S=f.reducer,x=f.prepare):S=f,a[h]=S,s[m]=S,l[h]=x?Bt(m,x):Bt(m)});function d(){var h=typeof t.extraReducers=="function"?Jl(t.extraReducers):[t.extraReducers],f=h[0],m=f===void 0?{}:f,S=h[1],x=S===void 0?[]:S,A=h[2],T=A===void 0?void 0:A,L=Mt(Mt({},m),s);return Qp(o,function(_){for(var E in L)_.addCase(E,L[E]);for(var C=0,w=x;C<w.length;C++){var D=w[C];_.addMatcher(D.matcher,D.reducer)}T&&_.addDefaultCase(T)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var tf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",rf=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=tf[Math.random()*64|0];return e},of=["name","message","stack","code"],$a=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Zl=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),nf=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=of;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Wx=function(){function t(e,o,n){var i=Bt(e+"/fulfilled",function(h,f,m,S){return{payload:h,meta:Pa(Mt({},S||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),a=Bt(e+"/pending",function(h,f,m){return{payload:void 0,meta:Pa(Mt({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Bt(e+"/rejected",function(h,f,m,S,x){return{payload:S,error:(n&&n.serializeError||nf)(h||"Rejected"),meta:Pa(Mt({},x||{}),{arg:m,requestId:f,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=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 p(h){return function(f,m,S){var x=n?.idGenerator?n.idGenerator(h):rf(),A=new d,T,L=!1;function _(C){T=C,A.abort()}var E=function(){return Vp(this,null,function(){var C,w,D,G,J,Y,M;return Bp(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),G=(C=n?.condition)==null?void 0:C.call(n,h,{getState:m,extra:S}),sf(G)?[4,G]:[3,2];case 1:G=g.sent(),g.label=2;case 2:if(G===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,J=new Promise(function(O,k){return A.signal.addEventListener("abort",function(){return k({name:"AbortError",message:T||"Aborted"})})}),f(a(x,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:x,arg:h},{getState:m,extra:S}))),[4,Promise.race([J,Promise.resolve(o(h,{dispatch:f,getState:m,extra:S,requestId:x,signal:A.signal,abort:_,rejectWithValue:function(O,k){return new $a(O,k)},fulfillWithValue:function(O,k){return new Zl(O,k)}})).then(function(O){if(O instanceof $a)throw O;return O instanceof Zl?i(O.payload,x,h,O.meta):i(O,x,h)})])];case 3:return D=g.sent(),[3,5];case 4:return Y=g.sent(),D=Y instanceof $a?s(null,x,h,Y.payload,Y.meta):s(Y,x,h),[3,5];case 5:return M=n&&!n.dispatchConditionRejection&&s.match(D)&&D.meta.condition,M||f(D),[2,D]}})})}();return Object.assign(E,{abort:_,requestId:x,arg:h,unwrap:function(){return E.then(af)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function af(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function sf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ec="listener",tc="completed",rc="cancelled",Vx="task-"+rc,Gx="task-"+tc,jx=ec+"-"+rc,Kx=ec+"-"+tc;var Ma="listenerMiddleware";var Zx=Bt(Ma+"/add"),qx=Bt(Ma+"/removeAll"),Yx=Bt(Ma+"/remove");var ql,Xx=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ql||(ql=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},lf=function(t){return function(e){setTimeout(e,t)}},Jx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:lf(10);kl();window.ftReduxStores||(window.ftReduxStores={});var rr=class t extends yt{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Rr(a))return a;if(i==null)return;let s=Ql({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Xl({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new t(s,l,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new vo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function cf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Rr(e)&&e.clear()}var sn=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);Kt(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function df(t,e,o){return new sn(t,e,o).watch()}var za={};te(za,{scrollHelper:()=>uf});var Fa,ln=new Map,Ua=class{lock(e,o){if(o){let n=ln.get(o);if(n==null||n===e)return ln.set(o,e),o}}release(e,o){o&&ln.get(o)===e&&ln.delete(o)}findFirstScrollableParent(e){var o;let n,i;for(let a of oi(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,i;let a=0;for(;o&&o.offsetParent!==e.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,l=io(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Fa=window.FluidTopicsScrollHelper)!==null&&Fa!==void 0?Fa:new Ua;var uf=window.FluidTopicsScrollHelper;var Wa={};te(Wa,{SearchPlaceConverter:()=>Dr,SearchPlaceQueryParams:()=>re,isSearchPlaceQueryParams:()=>Mc,serializeRequest:()=>mf});var ff=jd(nc(),1);var ic;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ic||(ic={}));var ac;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ac||(ac={}));var sc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(sc||(sc={}));var lc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(lc||(lc={}));var cc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(cc||(cc={}));var dc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(dc||(dc={}));var uc;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(uc||(uc={}));var pc;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(pc||(pc={}));var fc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(fc||(fc={}));var hc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(hc||(hc={}));var mc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(mc||(mc={}));var gc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(gc||(gc={}));var yc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(yc||(yc={}));var bc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(bc||(bc={}));var kr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(kr||(kr={}));var xc;(function(t){t.ASC="ASC",t.DESC="DESC"})(xc||(xc={}));var vc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(vc||(vc={}));var Ha;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ha||(Ha={}));var Rc=t=>Object.keys(Ha).includes(t);var Sc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Sc||(Sc={}));var Cc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Cc||(Cc={}));var Oc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Oc||(Oc={}));var $r;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})($r||($r={}));var Tc=t=>Object.keys($r).includes(t);var Ec;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ec||(Ec={}));var wc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(wc||(wc={}));var Ac;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ac||(Ac={}));var be;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(be||(be={}));var Ge;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ge||(Ge={}));var Lc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Lc||(Lc={}));var Ic;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ic||(Ic={}));var _c;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(_c||(_c={}));var Nc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Nc||(Nc={}));var Pc;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Pc||(Pc={}));var pf={[be.PERSONAL_BOOK_SHARE_USER]:[be.PERSONAL_BOOK_USER],[be.HTML_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.PDF_EXPORT_USER]:[be.PERSONAL_BOOK_USER],[be.KHUB_ADMIN]:[be.CONTENT_PUBLISHER],[be.ADMIN]:[be.KHUB_ADMIN,be.USERS_ADMIN,be.PORTAL_ADMIN],[be.GENERATIVE_AI_EXPORT_USER]:[be.GENERATIVE_AI_USER]};function kc(t,e){return t===e||(pf[t]??[]).some(o=>kc(o,e))}function $c(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>kc(n,e))}function hf(t){return`"${t}"`}function Dc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function mf(t,e){return new Dr(t).serialize(e)}var re;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(re||(re={}));var gf=new Set(Object.values(re));function Mc(t){return gf.has(t)}var Dr=class{constructor(e,o=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,o=!1){var n,i,a,s,l,d,p,h,f,m,S;let x=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&x.append(re.LOCALE,e.contentLocale):x.append(re.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&x.append(re.QUERY,e.query);let A=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(C=>C.valueFilter&&!C.valueFilter.negative))!==null&&a!==void 0?a:[];if(A.length>0){let C=A.map(w=>{var D,G;let J=((G=(D=w.valueFilter)===null||D===void 0?void 0:D.values)!==null&&G!==void 0?G:[]).map(Y=>this.escapeFilters(Y)).map(Y=>hf(Dc(Y))).join("_");return`${w.key}~${J}`}).join("*");x.append(re.VALUE_FILTERS,C)}let T=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(C=>C.dateFilter))!==null&&l!==void 0?l:[];if(T.length>0){let C=T.map(w=>{var D;return`${w.key}~${(D=w.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");x.append(re.DATE_FILTERS,C)}let L=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&p!==void 0?p:[];if(L.length>0){let C=L.map(w=>{var D,G;return`${w.key}~${(D=w.rangeFilter)===null||D===void 0?void 0:D.from}_${(G=w.rangeFilter)===null||G===void 0?void 0:G.to}`}).join("*");x.append(re.RANGE_FILTERS,C)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&x.append(re.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&x.append(re.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&x.append(re.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((m=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&x.append(re.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&x.append(re.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let _=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let C in _)x.append(C,_[C]);let E=new Array;return x.forEach((C,w)=>{E.push(this.encodeQueryString(w)+"="+this.encodeQueryString(C))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(L){console.warn("Could not decode search request query params, fallback on raw value",L)}let d=new URLSearchParams(e),p=d.get(re.LOCALE)==="all"?void 0:d.get(re.LOCALE),h=((o=d.get(re.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=(n=d.get(re.SORT))===null||n===void 0?void 0:n.toLowerCase(),m=(i=d.get(re.SCOPE))!==null&&i!==void 0?i:"default",S=+((a=d.get(re.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),x=d.get(re.KEYWORD_MATCH),A=x?x.toUpperCase()===kr.MANDATORY?kr.MANDATORY:kr.OPTIONAL:void 0,T={};for(let L of d.keys())Mc(L)||(T[L]=d.get(L));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(re.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Rc(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:io(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:A,otherQueryParams:T}}parseCompatFilters(e){var o,n,i,a,s,l;let d=[];return e.has(re.FILTERS)&&(d=this.parseValueFilters((o=e.get(re.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(re.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(re.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(re.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(re.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(re.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(Dc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:$r[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(Tc(e))return[{key:"ft:lastEdition",dateFilter:{type:$r[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Ga={};te(Ga,{toFtFormComponent:()=>Ao});var Va=Symbol("elementInternals"),Ao=we(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Va].form}constructor(...n){super(n),this[Va]=this.attachInternals()}setFormValue(n){this[Va].setFormValue(n)}}return e});var ja={};te(ja,{DateFormatter:()=>or});var or=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,o,n,i)}static getMomentDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(e,o,n,i){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(a);if(!i)return s;let l=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${e(Math.abs(o)/60)}:${e(Math.abs(o)%60)}`}};var Za={};te(Za,{ALL_KEYS_VALUE:()=>Ka,SameWindowStorageEvent:()=>Mr});var Ka="__all__",Mr=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Ka}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Mr(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new Mr(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new Mr(Ka))}});var Ya={};te(Ya,{FocusMainContentEvent:()=>qa});var qa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Bc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function yf(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function bf(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",yf);document.addEventListener("click",bf);var un=P`
48
+ `;var wl={};var ba={};te(ba,{ParametrizedLabelResolver:()=>Oo});var Oo=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ha={};te(Ha,{FtCommandQueue:()=>Eo,FtLitElementRedux:()=>Ao,FtReduxStore:()=>ir,ReduxWatcher:()=>kn,clearAllStores:()=>ff,isFtReduxStore:()=>Ir,redux:()=>Lr,reduxEventListener:()=>Lu,reduxReactive:()=>Tu,watch:()=>hf,withRedux:()=>Al});var Tu=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Lr=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Xt,attribute:!1,...e};b(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},Lu=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Eo=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Ir(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var wo=Symbol("internalReduxEventsUnsubscribers"),Bt=Symbol("internalStoresUnsubscribers"),rr=Symbol("internalStores"),Al=Ee(Symbol("withRedux"),function(t){var e,r,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[rr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[rr].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[rr].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[rr].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[rr].delete(l)}setupStores(){this.unsubscribeFromStores(),this[rr].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let u=this.getStore(s.store);u&&(s.store?this[Bt].has(s.store):this[Bt].size>0)&&(this[l]=s.selector(u.getState(),this))}})}subscribeToStore(s,l){var d;this[Bt].set(s,l.subscribe(()=>this.updateFromStores())),this[wo].set(s,[]),Ir(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((u,h)=>{if(typeof this[h]=="function"&&(!u.store||l.name===u.store)){let f=m=>this[h](m);l.addEventListener(u.eventName,f),this[wo].get(s).push(()=>l.removeEventListener(u.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Bt].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Bt].has(s)&&this[Bt].get(s)(),this[Bt].delete(s),(l=this[wo].get(s))===null||l===void 0||l.forEach(d=>d()),this[wo].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Bt,r=rr,n=wo,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Ao=class extends Al(K){};function Ve(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function wt(t){return!!t&&!!t[pe]}function tt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Mu}(t)||Array.isArray(t)||!!t[Pl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Pl])||Ra(t)||Ta(t))}function or(t,e,r){r===void 0&&(r=!1),Pr(t)===0?(r?Object.keys:Nr)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Pr(t){var e=t[pe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ra(t)?2:Ta(t)?3:0}function _r(t,e){return Pr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Iu(t,e){return Pr(t)===2?t.get(e):t[e]}function kl(t,e,r){var n=Pr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function $l(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ra(t){return $u&&t instanceof Map}function Ta(t){return Du&&t instanceof Set}function Ft(t){return t.o||t.t}function La(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Bl(t);delete e[pe];for(var r=Nr(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Ia(t,e){return e===void 0&&(e=!1),_a(t)||wt(t)||!tt(t)||(Pr(t)>1&&(t.set=t.add=t.clear=t.delete=_u),Object.freeze(t),e&&or(t,function(r,n){return Ia(n,!0)},!0)),t}function _u(){Ve(2)}function _a(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ut(t){var e=Aa[t];return e||Ve(18,t),e}function Nu(t,e){Aa[t]||(Aa[t]=e)}function Oa(){return To}function xa(t,e){e&&(ut("Patches"),t.u=[],t.s=[],t.v=e)}function Ln(t){Ea(t),t.p.forEach(Pu),t.p=null}function Ea(t){t===To&&(To=t.l)}function Rl(t){return To={p:[],l:To,h:t,m:!0,_:0}}function Pu(t){var e=t[pe];e.i===0||e.i===1?e.j():e.g=!0}function va(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||ut("ES5").S(e,t,n),n?(r[pe].P&&(Ln(e),Ve(4)),tt(t)&&(t=In(e,t),e.l||_n(e,t)),e.u&&ut("Patches").M(r[pe].t,t,e.u,e.s)):t=In(e,r,[]),Ln(e),e.u&&e.v(e.u,e.s),t!==Ml?t:void 0}function In(t,e,r){if(_a(e))return e;var n=e[pe];if(!n)return or(e,function(l,d){return Tl(t,n,e,l,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return _n(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=La(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),or(a,function(l,d){return Tl(t,n,i,l,d,r,s)}),_n(t,i,!1),r&&t.u&&ut("Patches").N(n,r,t.u,t.s)}return n.o}function Tl(t,e,r,n,i,a,s){if(wt(i)){var l=In(t,i,a&&e&&e.i!==3&&!_r(e.R,n)?a.concat(n):void 0);if(kl(r,n,l),!wt(l))return;t.m=!1}else s&&r.add(i);if(tt(i)&&!_a(i)){if(!t.h.D&&t._<1)return;In(t,i),e&&e.A.l||_n(t,i)}}function _n(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ia(e,r)}function Sa(t,e){var r=t[pe];return(r?Ft(r):t)[e]}function Ll(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Ut(t){t.P||(t.P=!0,t.l&&Ut(t.l))}function Ca(t){t.o||(t.o=La(t.t))}function wa(t,e,r){var n=Ra(e)?ut("MapSet").F(e,r):Ta(e)?ut("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Oa(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,u=Lo;s&&(d=[l],u=Ro);var h=Proxy.revocable(d,u),f=h.revoke,m=h.proxy;return l.k=m,l.j=f,m}(e,r):ut("ES5").J(e,r);return(r?r.A:Oa()).p.push(n),n}function ku(t){return wt(t)||Ve(22,t),function e(r){if(!tt(r))return r;var n,i=r[pe],a=Pr(r);if(i){if(!i.P&&(i.i<4||!ut("ES5").K(i)))return i.t;i.I=!0,n=Il(r,a),i.I=!1}else n=Il(r,a);return or(n,function(s,l){i&&Iu(i.t,s)===l||kl(n,s,e(l))}),a===3?new Set(n):n}(t)}function Il(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return La(t)}function Dl(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[pe];return Lo.get(u,s)},set:function(u){var h=this[pe];Lo.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][pe];if(!d.P)switch(d.i){case 5:n(d)&&Ut(d);break;case 4:r(d)&&Ut(d)}}}function r(s){for(var l=s.t,d=s.k,u=Nr(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==pe){var m=l[f];if(m===void 0&&!_r(l,f))return!0;var S=d[f],x=S&&S[pe];if(x?x.t!==m:!$l(S,m))return!0}}var A=!!l[pe];return u.length!==Nr(l).length+(A?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Ve(3,JSON.stringify(Ft(s)))}var a={};Nu("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,m){if(f){for(var S=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(S,""+x,t(x,!0));return S}var A=Bl(m);delete A[pe];for(var T=Nr(A),L=0;L<T.length;L++){var N=T[L];A[N]=t(N,f||!!A[N].enumerable)}return Object.create(Object.getPrototypeOf(m),A)}(d,s),h={i:d?5:4,A:l?l.A:Oa(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,pe,{value:h,writable:!0}),u},S:function(s,l,d){d?wt(l)&&l[pe].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[pe];if(f){var m=f.t,S=f.k,x=f.R,A=f.i;if(A===4)or(S,function(C){C!==pe&&(m[C]!==void 0||_r(m,C)?x[C]||u(S[C]):(x[C]=!0,Ut(f)))}),or(m,function(C){S[C]!==void 0||_r(S,C)||(x[C]=!1,Ut(f))});else if(A===5){if(n(f)&&(Ut(f),x.length=!0),S.length<m.length)for(var T=S.length;T<m.length;T++)x[T]=!1;else for(var L=m.length;L<S.length;L++)x[L]=!0;for(var N=Math.min(S.length,m.length),E=0;E<N;E++)S.hasOwnProperty(E)||(x[E]=!0),x[E]===void 0&&u(S[E])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var _l,To,Na=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",$u=typeof Map<"u",Du=typeof Set<"u",Nl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ml=Na?Symbol.for("immer-nothing"):((_l={})["immer-nothing"]=!0,_l),Pl=Na?Symbol.for("immer-draftable"):"__$immer_draftable",pe=Na?Symbol.for("immer-state"):"__$immer_state";var Mu=""+Object.prototype.constructor,Nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bl=Object.getOwnPropertyDescriptors||function(t){var e={};return Nr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Aa={},Lo={get:function(t,e){if(e===pe)return t;var r=Ft(t);if(!_r(r,e))return function(i,a,s){var l,d=Ll(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!tt(n)?n:n===Sa(t.t,e)?(Ca(t),t.o[e]=wa(t.A.h,n,t)):n},has:function(t,e){return e in Ft(t)},ownKeys:function(t){return Reflect.ownKeys(Ft(t))},set:function(t,e,r){var n=Ll(Ft(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Sa(Ft(t),e),a=i?.[pe];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if($l(r,i)&&(r!==void 0||_r(t.t,e)))return!0;Ca(t),Ut(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Sa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ca(t),Ut(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ft(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ve(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ve(12)}},Ro={};or(Lo,function(t,e){Ro[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ro.deleteProperty=function(t,e){return Ro.set.call(this,t,e,void 0)},Ro.set=function(t,e,r){return Lo.set.call(this,t[0],e,r,t[0])};var Bu=function(){function t(r){var n=this;this.O=Nl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(A){var T=this;A===void 0&&(A=l);for(var L=arguments.length,N=Array(L>1?L-1:0),E=1;E<L;E++)N[E-1]=arguments[E];return d.produce(A,function(C){var w;return(w=a).call.apply(w,[T,C].concat(N))})}}var u;if(typeof a!="function"&&Ve(6),s!==void 0&&typeof s!="function"&&Ve(7),tt(i)){var h=Rl(n),f=wa(n,i,void 0),m=!0;try{u=a(f),m=!1}finally{m?Ln(h):Ea(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(A){return xa(h,s),va(A,h)},function(A){throw Ln(h),A}):(xa(h,s),va(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Ml&&(u=void 0),n.D&&Ia(u,!0),s){var S=[],x=[];ut("Patches").M(i,u,S,x),s(S,x)}return u}Ve(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),m=1;m<h;m++)f[m-1]=arguments[m];return n.produceWithPatches(u,function(S){return i.apply(void 0,[S].concat(f))})};var s,l,d=n.produce(i,a,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){tt(r)||Ve(8),wt(r)&&(r=ku(r));var n=Rl(this),i=wa(this,r,void 0);return i[pe].C=!0,Ea(n),i},e.finishDraft=function(r,n){var i=r&&r[pe],a=i.A;return xa(a,n),va(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Nl&&Ve(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=ut("Patches").$;return wt(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),Be=new Bu,Fu=Be.produce,Sx=Be.produceWithPatches.bind(Be),Cx=Be.setAutoFreeze.bind(Be),Ox=Be.setUseProxies.bind(Be),Ex=Be.applyPatches.bind(Be),wx=Be.createDraft.bind(Be),Ax=Be.finishDraft.bind(Be),Nn=Fu;function nr(t){"@babel/helpers - typeof";return nr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nr(t)}function Fl(t,e){if(nr(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(nr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ul(t){var e=Fl(t,"string");return nr(e)=="symbol"?e:e+""}function zl(t,e,r){return(e=Ul(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Hl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Pa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Hl(Object(r),!0).forEach(function(n){zl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hl(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Re(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. "}var Wl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ka=function(){return Math.random().toString(36).substring(7).split("").join(".")},Pn={INIT:"@@redux/INIT"+ka(),REPLACE:"@@redux/REPLACE"+ka(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ka()}};function Uu(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function $a(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Re(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Re(1));return r($a)(t,e)}if(typeof t!="function")throw new Error(Re(2));var i=t,a=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Re(3));return a}function f(A){if(typeof A!="function")throw new Error(Re(4));if(d)throw new Error(Re(5));var T=!0;return u(),l.push(A),function(){if(T){if(d)throw new Error(Re(6));T=!1,u();var N=l.indexOf(A);l.splice(N,1),s=null}}}function m(A){if(!Uu(A))throw new Error(Re(7));if(typeof A.type>"u")throw new Error(Re(8));if(d)throw new Error(Re(9));try{d=!0,a=i(a,A)}finally{d=!1}for(var T=s=l,L=0;L<T.length;L++){var N=T[L];N()}return A}function S(A){if(typeof A!="function")throw new Error(Re(10));i=A,m({type:Pn.REPLACE})}function x(){var A,T=f;return A={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Re(11));function E(){N.next&&N.next(h())}E();var C=T(E);return{unsubscribe:C}}},A[Wl]=function(){return this},A}return m({type:Pn.INIT}),n={dispatch:m,subscribe:f,getState:h,replaceReducer:S},n[Wl]=x,n}function zu(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Pn.INIT});if(typeof n>"u")throw new Error(Re(12));if(typeof r(void 0,{type:Pn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Re(13))})}function Vl(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{zu(r)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var m=!1,S={},x=0;x<a.length;x++){var A=a[x],T=r[A],L=u[A],N=T(L,h);if(typeof N>"u"){var E=h&&h.type;throw new Error(Re(14))}S[A]=N,m=m||N!==L}return m=m||a.length!==Object.keys(u).length,m?S:u}}function kr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function jl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Re(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=kr.apply(void 0,l)(i.dispatch),Pa(Pa({},i),{},{dispatch:a})}}}function Gl(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Kl=Gl();Kl.withExtraArgument=Gl;var Da=Kl;var Jl=function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Hu=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},$r=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Wu=Object.defineProperty,Vu=Object.defineProperties,ju=Object.getOwnPropertyDescriptors,Zl=Object.getOwnPropertySymbols,Gu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable,ql=function(t,e,r){return e in t?Wu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},zt=function(t,e){for(var r in e||(e={}))Gu.call(e,r)&&ql(t,r,e[r]);if(Zl)for(var n=0,i=Zl(e);n<i.length;n++){var r=i[n];Ku.call(e,r)&&ql(t,r,e[r])}return t},Ma=function(t,e){return Vu(t,ju(e))},Zu=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{l(r.next(d))}catch(u){i(u)}},s=function(d){try{l(r.throw(d))}catch(u){i(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var qu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?kr:kr.apply(null,arguments)},Vx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Yu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Xu=function(t){Jl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,$r([void 0],r[0].concat(this)))):new(e.bind.apply(e,$r([void 0],r.concat(this))))},e}(Array),Ju=function(t){Jl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,$r([void 0],r[0].concat(this)))):new(e.bind.apply(e,$r([void 0],r.concat(this))))},e}(Array);function Ua(t){return tt(t)?Nn(t,function(){}):t}function Qu(t){return typeof t=="boolean"}function ef(){return function(e){return tf(e)}}function tf(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Xu;if(r&&(Qu(r)?l.push(Da):l.push(Da.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return l}var Ba=!0;function Ql(t){var e=ef(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,f=r.enhancers,m=f===void 0?void 0:f,S;if(typeof i=="function")S=i;else if(Yu(i))S=Vl(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 x=s;if(typeof x=="function"&&(x=x(e),!Ba&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ba&&x.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=jl.apply(void 0,x),T=kr;d&&(T=qu(zt({trace:!Ba},typeof d=="object"&&d)));var L=new Ju(A),N=L;Array.isArray(m)?N=$r([A],m):typeof m=="function"&&(N=m(L));var E=T.apply(void 0,N);return $a(S,h,E)}function Ht(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return zt(zt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function ec(t){var e={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function rf(t){return typeof t=="function"}function of(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?ec(e):[e,r,n],a=i[0],s=i[1],l=i[2],d;if(rf(t))d=function(){return Ua(t())};else{var u=Ua(t);d=function(){return u}}function h(f,m){f===void 0&&(f=d());var S=$r([a[m.type]],s.filter(function(x){var A=x.matcher;return A(m)}).map(function(x){var A=x.reducer;return A}));return S.filter(function(x){return!!x}).length===0&&(S=[l]),S.reduce(function(x,A){if(A)if(wt(x)){var T=x,L=A(T,m);return L===void 0?x:L}else{if(tt(x))return Nn(x,function(N){return A(N,m)});var L=A(x,m);if(L===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return x},f)}return h.getInitialState=d,h}function nf(t,e){return t+"/"+e}function tc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Ua(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var f=n[h],m=nf(e,h),S,x;"reducer"in f?(S=f.reducer,x=f.prepare):S=f,a[h]=S,s[m]=S,l[h]=x?Ht(m,x):Ht(m)});function d(){var h=typeof t.extraReducers=="function"?ec(t.extraReducers):[t.extraReducers],f=h[0],m=f===void 0?{}:f,S=h[1],x=S===void 0?[]:S,A=h[2],T=A===void 0?void 0:A,L=zt(zt({},m),s);return of(r,function(N){for(var E in L)N.addCase(E,L[E]);for(var C=0,w=x;C<w.length;C++){var D=w[C];N.addMatcher(D.matcher,D.reducer)}T&&N.addDefaultCase(T)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:a,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var af="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",sf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=af[Math.random()*64|0];return e},lf=["name","message","stack","code"],Fa=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Yl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),cf=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=lf;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Zx=function(){function t(e,r,n){var i=Ht(e+"/fulfilled",function(h,f,m,S){return{payload:h,meta:Ma(zt({},S||{}),{arg:m,requestId:f,requestStatus:"fulfilled"})}}),a=Ht(e+"/pending",function(h,f,m){return{payload:void 0,meta:Ma(zt({},m||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Ht(e+"/rejected",function(h,f,m,S,x){return{payload:S,error:(n&&n.serializeError||cf)(h||"Rejected"),meta:Ma(zt({},x||{}),{arg:m,requestId:f,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=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 u(h){return function(f,m,S){var x=n?.idGenerator?n.idGenerator(h):sf(),A=new d,T,L=!1;function N(C){T=C,A.abort()}var E=function(){return Zu(this,null,function(){var C,w,D,j,J,Y,M;return Hu(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),j=(C=n?.condition)==null?void 0:C.call(n,h,{getState:m,extra:S}),pf(j)?[4,j]:[3,2];case 1:j=g.sent(),g.label=2;case 2:if(j===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,J=new Promise(function(O,k){return A.signal.addEventListener("abort",function(){return k({name:"AbortError",message:T||"Aborted"})})}),f(a(x,h,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:x,arg:h},{getState:m,extra:S}))),[4,Promise.race([J,Promise.resolve(r(h,{dispatch:f,getState:m,extra:S,requestId:x,signal:A.signal,abort:N,rejectWithValue:function(O,k){return new Fa(O,k)},fulfillWithValue:function(O,k){return new Yl(O,k)}})).then(function(O){if(O instanceof Fa)throw O;return O instanceof Yl?i(O.payload,x,h,O.meta):i(O,x,h)})])];case 3:return D=g.sent(),[3,5];case 4:return Y=g.sent(),D=Y instanceof Fa?s(null,x,h,Y.payload,Y.meta):s(Y,x,h),[3,5];case 5:return M=n&&!n.dispatchConditionRejection&&s.match(D)&&D.meta.condition,M||f(D),[2,D]}})})}();return Object.assign(E,{abort:N,requestId:x,arg:h,unwrap:function(){return E.then(df)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function df(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function pf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var rc="listener",oc="completed",nc="cancelled",qx="task-"+nc,Yx="task-"+oc,Xx=rc+"-"+nc,Jx=rc+"-"+oc;var za="listenerMiddleware";var Qx=Ht(za+"/add"),ev=Ht(za+"/removeAll"),tv=Ht(za+"/remove");var Xl,rv=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Xl||(Xl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},uf=function(t){return function(e){setTimeout(e,t)}},ov=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:uf(10);Dl();window.ftReduxStores||(window.ftReduxStores={});var ir=class t extends bt{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ir(a))return a;if(i==null)return;let s=tc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Ql({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new t(s,l,i.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new Eo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,u=a[d];return u?(...h)=>{let f=u(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function ff(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ir(e)&&e.clear()}var kn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Xt(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function hf(t,e,r){return new kn(t,e,r).watch()}var ja={};te(ja,{scrollHelper:()=>mf});var Wa,$n=new Map,Va=class{lock(e,r){if(r){let n=$n.get(r);if(n==null||n===e)return $n.set(r,e),r}}release(e,r){r&&$n.get(r)===e&&$n.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let a of Ii(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,i;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return a+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,l=po(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Wa=window.FluidTopicsScrollHelper)!==null&&Wa!==void 0?Wa:new Va;var mf=window.FluidTopicsScrollHelper;var Ka={};te(Ka,{SearchPlaceConverter:()=>Fr,SearchPlaceQueryParams:()=>oe,isSearchPlaceQueryParams:()=>Fc,serializeRequest:()=>xf});var yf=Yd(ac(),1);var sc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(sc||(sc={}));var lc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(lc||(lc={}));var cc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(cc||(cc={}));var dc;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(dc||(dc={}));var pc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(pc||(pc={}));var uc;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(uc||(uc={}));var fc;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__AI_TRANSLATE="DOCUMENT__AI_TRANSLATE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(fc||(fc={}));var hc;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(hc||(hc={}));var mc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(mc||(mc={}));var gc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(gc||(gc={}));var yc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(yc||(yc={}));var bc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(bc||(bc={}));var xc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(xc||(xc={}));var vc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(vc||(vc={}));var Mr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Mr||(Mr={}));var Sc;(function(t){t.ASC="ASC",t.DESC="DESC"})(Sc||(Sc={}));var Cc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Cc||(Cc={}));var Ga;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ga||(Ga={}));var Lc=t=>Object.keys(Ga).includes(t);var Oc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Oc||(Oc={}));var Ec;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ec||(Ec={}));var wc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(wc||(wc={}));var Br;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Br||(Br={}));var Ic=t=>Object.keys(Br).includes(t);var Ac;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ac||(Ac={}));var Rc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Rc||(Rc={}));var Tc;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Tc||(Tc={}));var ye;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(ye||(ye={}));var je;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(je||(je={}));var _c;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(_c||(_c={}));var Nc;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Nc||(Nc={}));var Pc;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(Pc||(Pc={}));var kc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(kc||(kc={}));var $c;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})($c||($c={}));var gf={[ye.PERSONAL_BOOK_SHARE_USER]:[ye.PERSONAL_BOOK_USER],[ye.HTML_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.PDF_EXPORT_USER]:[ye.PERSONAL_BOOK_USER],[ye.KHUB_ADMIN]:[ye.CONTENT_PUBLISHER],[ye.ADMIN]:[ye.KHUB_ADMIN,ye.USERS_ADMIN,ye.PORTAL_ADMIN],[ye.GENERATIVE_AI_EXPORT_USER]:[ye.GENERATIVE_AI_USER]};function Dc(t,e){return t===e||(gf[t]??[]).some(r=>Dc(r,e))}function Mc(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Dc(n,e))}function bf(t){return`"${t}"`}function Bc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function xf(t,e){return new Fr(t).serialize(e)}var oe;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match"})(oe||(oe={}));var vf=new Set(Object.values(oe));function Fc(t){return vf.has(t)}var Fr=class{constructor(e,r=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,r=!1){var n,i,a,s,l,d,u,h,f,m,S;let x=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&x.append(oe.LOCALE,e.contentLocale):x.append(oe.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&x.append(oe.QUERY,e.query);let A=(a=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(C=>C.valueFilter&&!C.valueFilter.negative))!==null&&a!==void 0?a:[];if(A.length>0){let C=A.map(w=>{var D,j;let J=((j=(D=w.valueFilter)===null||D===void 0?void 0:D.values)!==null&&j!==void 0?j:[]).map(Y=>this.escapeFilters(Y)).map(Y=>bf(Bc(Y))).join("_");return`${w.key}~${J}`}).join("*");x.append(oe.VALUE_FILTERS,C)}let T=(l=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(C=>C.dateFilter))!==null&&l!==void 0?l:[];if(T.length>0){let C=T.map(w=>{var D;return`${w.key}~${(D=w.dateFilter)===null||D===void 0?void 0:D.type.toLowerCase()}`}).join("*");x.append(oe.DATE_FILTERS,C)}let L=(u=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(C=>C.rangeFilter))!==null&&u!==void 0?u:[];if(L.length>0){let C=L.map(w=>{var D,j;return`${w.key}~${(D=w.rangeFilter)===null||D===void 0?void 0:D.from}_${(j=w.rangeFilter)===null||j===void 0?void 0:j.to}`}).join("*");x.append(oe.RANGE_FILTERS,C)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&x.append(oe.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&x.append(oe.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&x.append(oe.SORT,e.sortId),!((h=e.paging)===null||h===void 0)&&h.perPage&&((m=(f=e.paging)===null||f===void 0?void 0:f.perPage)!==null&&m!==void 0?m:this.defaultPerPage)!=this.defaultPerPage&&x.append(oe.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&x.append(oe.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let N=(S=e.otherQueryParams)!==null&&S!==void 0?S:{};for(let C in N)x.append(C,N[C]);let E=new Array;return x.forEach((C,w)=>{E.push(this.encodeQueryString(w)+"="+this.encodeQueryString(C))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,a,s,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(L){console.warn("Could not decode search request query params, fallback on raw value",L)}let d=new URLSearchParams(e),u=d.get(oe.LOCALE)==="all"?void 0:d.get(oe.LOCALE),h=((r=d.get(oe.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),f=(n=d.get(oe.SORT))===null||n===void 0?void 0:n.toLowerCase(),m=(i=d.get(oe.SCOPE))!==null&&i!==void 0?i:"default",S=+((a=d.get(oe.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),x=d.get(oe.KEYWORD_MATCH),A=x?x.toUpperCase()===Mr.MANDATORY?Mr.MANDATORY:Mr.OPTIONAL:void 0,T={};for(let L of d.keys())Fc(L)||(T[L]=d.get(L));return{contentLocale:u??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(oe.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Lc(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:po(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:A,otherQueryParams:T}}parseCompatFilters(e){var r,n,i,a,s,l;let d=[];return e.has(oe.FILTERS)&&(d=this.parseValueFilters((r=e.get(oe.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(oe.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=e.get(oe.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(oe.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(oe.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(oe.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(Bc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Br[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}superEscapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replace(i,r);return e}parseLegacyPeriodFilter(e){if(Ic(e))return[{key:"ft:lastEdition",dateFilter:{type:Br[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var qa={};te(qa,{toFtFormComponent:()=>Io});var Za=Symbol("elementInternals"),Io=Ee(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Za].form}constructor(...n){super(n),this[Za]=this.attachInternals()}setFormValue(n){this[Za].setFormValue(n)}}return e});var Ya={};te(Ya,{DateFormatter:()=>ar});var ar=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i)):this.getIntlDateTime(e,r,n,i)}static getMomentDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i){let a=typeof e=="string"?new Date(e):e,s=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a);if(!i)return s;let l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return`${s} ${l}`}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Ja={};te(Ja,{ALL_KEYS_VALUE:()=>Xa,SameWindowStorageEvent:()=>Ur});var Xa="__all__",Ur=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Xa}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Ur(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Ur(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Ur(Xa))}});var es={};te(es,{FocusMainContentEvent:()=>Qa});var Qa=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Uc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Sf(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Cf(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Sf);document.addEventListener("click",Cf);var Bn=_`
49
49
  .sr-only {
50
50
  position:absolute;
51
51
  left:-10000px;
@@ -69,58 +69,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
69
69
  width:auto;
70
70
  height:auto;
71
71
  }
72
- `;var xf={checkVisibility:!0},Dv=we(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...xf,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new so({type:"aria",message:n})))},20)}}return e});function nr(t,e,o){return t?e(t):o?.(t)}var Ae=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ir;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(ir||(ir={}));var ar;(function(t){t.default="default",t.warning="warning",t.error="error"})(ar||(ar={}));var Xa=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},jv=we(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=ir.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=ar.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===ir.blur||this.validateOn===ir.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==ar.default&&this.validateOn===ir.blurWithStatusResolutionOnInput||this.validateOn===ir.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Xa(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return N`
72
+ `;var Of={checkVisibility:!0},zv=Ee(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:a}={...Of,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new fo({type:"aria",message:n})))},20)}}return e});function sr(t,e,r){return t?e(t):r?.(t)}var we=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},lr;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(lr||(lr={}));var cr;(function(t){t.default="default",t.warning="warning",t.error="error"})(cr||(cr={}));var ts=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}},Xv=Ee(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=lr.input,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=cr.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===lr.blur||this.validateOn===lr.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){(this.status!==cr.default&&this.validateOn===lr.blurWithStatusResolutionOnInput||this.validateOn===lr.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=this.processRules([...this.errorRules,...this.additionalErrorRules]),this.warningMessages=this.processRules([...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new ts(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return P`
73
73
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
74
74
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
75
- ${gt(this.errorMessages,n=>N`
75
+ ${yt(this.errorMessages,n=>P`
76
76
  <li>${n}</li>
77
77
  `)}
78
- ${gt(this.warningMessages,n=>N`
78
+ ${yt(this.warningMessages,n=>P`
79
79
  <li>${n}</li>
80
80
  `)}
81
- ${nr(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>N`
81
+ ${sr(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>P`
82
82
  <li>${this.helperText}</li>
83
83
  `)}
84
84
  </ul>
85
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?ar.error:this.warningMessages.length?ar.warning:ar.default}processRules(n){return n.map(i=>i(this.value)).filter(i=>i!==!0).map(i=>i)}}return Ae([b()],e.prototype,"warningRules",void 0),Ae([b()],e.prototype,"errorRules",void 0),Ae([b()],e.prototype,"validateOn",void 0),Ae([b({type:Boolean})],e.prototype,"validateAtRender",void 0),Ae([b()],e.prototype,"label",void 0),Ae([b({type:Boolean})],e.prototype,"hideLabel",void 0),Ae([b()],e.prototype,"name",void 0),Ae([b({type:Boolean})],e.prototype,"disabled",void 0),Ae([b()],e.prototype,"helperText",void 0),Ae([b()],e.prototype,"forceStatus",void 0),Ae([b({reflect:!0})],e.prototype,"value",void 0),Ae([j()],e.prototype,"errorMessages",void 0),Ae([j()],e.prototype,"warningMessages",void 0),Ae([j()],e.prototype,"status",void 0),Ae([j()],e.prototype,"focused",void 0),Ae([j()],e.prototype,"additionalWarningRules",void 0),Ae([j()],e.prototype,"additionalErrorRules",void 0),e});var Ro=(t,e)=>{let o=t._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(e,!1),Ro(n,e);return!0},pn=t=>{let e,o;do{if((e=t._$AM)===void 0)break;o=e._$AN,o.delete(t),t=e}while(o?.size===0)},Fc=t=>{for(let e;e=t._$AM;t=e){let o=e._$AN;if(o===void 0)e._$AN=o=new Set;else if(o.has(t))break;o.add(t),Cf(e)}};function vf(t){this._$AN!==void 0?(pn(this),this._$AM=t,Fc(this)):this._$AM=t}function Sf(t,e=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=o;a<n.length;a++)Ro(n[a],!1),pn(n[a]);else n!=null&&(Ro(n,!1),pn(n));else Ro(this,t)}var Cf=t=>{t.type==st.CHILD&&(t._$AP??=Sf,t._$AQ??=vf)},fn=class extends He{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,o,n){super._$AT(e,o,n),Fc(this),this.isConnected=e._$AU}_$AO(e,o=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),o&&(Ro(this,e),pn(this))}setValue(e){if(Ms(this._$Ct))this._$Ct._$AI(e,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=e,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var Uc;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Uc||(Uc={}));var Of={sm:640,md:768,lg:1024,xl:1280},Ja=class extends fn{constructor(e){super(e),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(e,o,n){let i=this.resolveThreshold(e),a=n??(()=>z);return this.size>i?o():a()}resolveThreshold(e){return typeof e=="number"?e:Of[e]}},a0=Xe(Ja);var Qa,es,ts,rs,To=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ts=(es=(Qa=window.safari)===null||Qa===void 0?void 0:Qa.pushNotification)===null||es===void 0?void 0:es.toString())!==null&&ts!==void 0?ts:"")==="[object SafariRemoteNotification]",Ef="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(rs=window.ftGlobals)!==null&&rs!==void 0?rs:{lit:Gn,litDecorators:Zn,litRepeat:qn,litClassMap:Yn,litStyleMap:Xn,litUnsafeHTML:Qn,wcUtils:{...li,...ti,...ui,...ja,...pi,...fi,...Ui,...si,...oa,...Ya,...Bc,...za,...Fi,...la,...Ga,...sa,...Sl,...ni,...ua,...zi,...fa,...un,...Ol,...ha,...Ba,...Za,...na,...aa,...Wa,isSafari:To,isTouchScreen:Ef,setVariable:v}};var et=t=>t??z;function zc(t,e){let o=co[t];return P`
86
- ${e?it(e):P`.ft-typography--${it(t)}`} {
87
- font-family: ${o.fontFamily};
88
- font-size: ${o.fontSize};
89
- font-weight: ${o.fontWeight};
90
- letter-spacing: ${o.letterSpacing};
91
- line-height: ${o.lineHeight};
92
- text-decoration: ${o.textDecoration};
93
- text-transform: ${o.textCase};
94
- }
95
- `}var Hc=r.extend("--ft-typography-font-family","",B.titleFont),wt=r.extend("--ft-typography-font-family","",B.contentFont),F={fontFamily:wt,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")},Br={fontFamily:r.extend("--ft-typography-title-font-family","",Hc),fontSize:r.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},Fr={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Hc),fontSize:r.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},Ur={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",wt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},zr={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",wt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},Et={fontFamily:r.extend("--ft-typography-body1-font-family","",wt),fontSize:r.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},je={fontFamily:r.extend("--ft-typography-body2-font-family","",wt),fontSize:r.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},Ce={fontFamily:r.extend("--ft-typography-caption-font-family","",wt),fontSize:r.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},Hr={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",wt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},Wr={fontFamily:r.extend("--ft-typography-overline-font-family","",wt),fontSize:r.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},pt={fontFamily:r.extend("--ft-typography-button-font-family","",wt),fontSize:r.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},Wc=P`
85
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?cr.error:this.warningMessages.length?cr.warning:cr.default}processRules(n){return n.map(i=>i(this.value)).filter(i=>i!==!0).map(i=>i)}}return we([b()],e.prototype,"warningRules",void 0),we([b()],e.prototype,"errorRules",void 0),we([b()],e.prototype,"validateOn",void 0),we([b({type:Boolean})],e.prototype,"validateAtRender",void 0),we([b()],e.prototype,"label",void 0),we([b({type:Boolean})],e.prototype,"hideLabel",void 0),we([b()],e.prototype,"name",void 0),we([b({type:Boolean})],e.prototype,"disabled",void 0),we([b()],e.prototype,"helperText",void 0),we([b()],e.prototype,"forceStatus",void 0),we([b({reflect:!0})],e.prototype,"value",void 0),we([G()],e.prototype,"errorMessages",void 0),we([G()],e.prototype,"warningMessages",void 0),we([G()],e.prototype,"status",void 0),we([G()],e.prototype,"focused",void 0),we([G()],e.prototype,"additionalWarningRules",void 0),we([G()],e.prototype,"additionalErrorRules",void 0),e});var _o=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),_o(n,e);return!0},Fn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},zc=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),Af(e)}};function Ef(t){this._$AN!==void 0?(Fn(this),this._$AM=t,zc(this)):this._$AM=t}function wf(t,e=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let a=r;a<n.length;a++)_o(n[a],!1),Fn(n[a]);else n!=null&&(_o(n,!1),Fn(n));else _o(this,t)}var Af=t=>{t.type==lt.CHILD&&(t._$AP??=wf,t._$AQ??=Ef)},Un=class extends He{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),zc(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(_o(this,e),Fn(this))}setValue(e){if(Fs(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Hc;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Hc||(Hc={}));var Rf={sm:640,md:768,lg:1024,xl:1280},rs=class extends Un{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(e,[r,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(e,r,n){let i=this.resolveThreshold(e),a=n??(()=>z);return this.size>i?r():a()}resolveThreshold(e){return typeof e=="number"?e:Rf[e]}},p0=Qe(rs);var os,ns,is,as,No=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((is=(ns=(os=window.safari)===null||os===void 0?void 0:os.pushNotification)===null||ns===void 0?void 0:ns.toString())!==null&&is!==void 0?is:"")==="[object SafariRemoteNotification]",Tf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(as=window.ftGlobals)!==null&&as!==void 0?as:{lit:bi,litDecorators:Si,litRepeat:Ci,litClassMap:Oi,litStyleMap:Ei,litUnsafeHTML:Ai,wcUtils:{...$i,...Ti,...Bi,...Ya,...Fi,...Ui,...Vi,...ki,...sa,...es,...Uc,...ja,...Wi,...ua,...qa,...pa,...Ol,..._i,...ma,...ji,...ya,...Bn,...wl,...ba,...Ha,...Ja,...la,...da,...Ka,isSafari:No,isTouchScreen:Tf,setVariable:v}};var rt=t=>t??z;function Wc(t,e){let r=$t[t];return _`
86
+ ${e?$e(e):_`.ft-typography--${$e(t)}`} {
87
+ font-family: ${r.fontFamily};
88
+ font-size: ${r.fontSize};
89
+ font-weight: ${r.fontWeight};
90
+ letter-spacing: ${r.letterSpacing};
91
+ line-height: ${r.lineHeight};
92
+ text-decoration: ${r.textDecoration};
93
+ text-transform: ${r.textCase};
94
+ }
95
+ `}var Vc=o.extend("--ft-typography-font-family","",B.titleFont),Rt=o.extend("--ft-typography-font-family","",B.contentFont),F={fontFamily:Rt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},zr={fontFamily:o.extend("--ft-typography-title-font-family","",Vc),fontSize:o.extend("--ft-typography-title-font-size","",F.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",F.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",F.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",F.textTransform,"inherit")},Hr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Vc),fontSize:o.extend("--ft-typography-title-dense-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",F.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",F.textTransform,"inherit")},Wr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Rt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",F.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",F.textTransform,"inherit")},Vr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Rt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",F.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",F.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",F.textTransform,"inherit")},At={fontFamily:o.extend("--ft-typography-body1-font-family","",Rt),fontSize:o.extend("--ft-typography-body1-font-size","",F.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",F.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",F.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",F.textTransform,"inherit")},Ge={fontFamily:o.extend("--ft-typography-body2-font-family","",Rt),fontSize:o.extend("--ft-typography-body2-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",F.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",F.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",F.textTransform,"inherit")},Se={fontFamily:o.extend("--ft-typography-caption-font-family","",Rt),fontSize:o.extend("--ft-typography-caption-font-size","",F.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",F.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",F.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",F.textTransform,"inherit")},jr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Rt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",F.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",F.textTransform,"inherit")},Gr={fontFamily:o.extend("--ft-typography-overline-font-family","",Rt),fontSize:o.extend("--ft-typography-overline-font-size","",F.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",F.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",F.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",F.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",F.textTransform,"uppercase")},ft={fontFamily:o.extend("--ft-typography-button-font-family","",Rt),fontSize:o.extend("--ft-typography-button-font-size","",F.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",F.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",F.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",F.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",F.textTransform,"uppercase")},jc=_`
96
96
  .ft-typography--title {
97
- font-family: ${Br.fontFamily};
98
- font-size: ${Br.fontSize};
99
- font-weight: ${Br.fontWeight};
100
- letter-spacing: ${Br.letterSpacing};
101
- line-height: ${Br.lineHeight};
102
- text-transform: ${Br.textTransform};
103
- }
104
- `,Vc=P`
105
- .ft-typography--title-dense {
106
- font-family: ${Fr.fontFamily};
107
- font-size: ${Fr.fontSize};
108
- font-weight: ${Fr.fontWeight};
109
- letter-spacing: ${Fr.letterSpacing};
110
- line-height: ${Fr.lineHeight};
111
- text-transform: ${Fr.textTransform};
112
- }
113
- `,Gc=P`
114
- .ft-typography--subtitle1 {
115
- font-family: ${Ur.fontFamily};
116
- font-size: ${Ur.fontSize};
117
- font-weight: ${Ur.fontWeight};
118
- letter-spacing: ${Ur.letterSpacing};
119
- line-height: ${Ur.lineHeight};
120
- text-transform: ${Ur.textTransform};
121
- }
122
- `,jc=P`
123
- .ft-typography--subtitle2 {
124
97
  font-family: ${zr.fontFamily};
125
98
  font-size: ${zr.fontSize};
126
99
  font-weight: ${zr.fontWeight};
@@ -128,36 +101,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
128
101
  line-height: ${zr.lineHeight};
129
102
  text-transform: ${zr.textTransform};
130
103
  }
131
-
132
- `,Vr=P`
133
- .ft-typography--body1 {
134
- font-family: ${Et.fontFamily};
135
- font-size: ${Et.fontSize};
136
- font-weight: ${Et.fontWeight};
137
- letter-spacing: ${Et.letterSpacing};
138
- line-height: ${Et.lineHeight};
139
- text-transform: ${Et.textTransform};
140
- }
141
- `,Kc=P`
142
- .ft-typography--body2 {
143
- font-family: ${je.fontFamily};
144
- font-size: ${je.fontSize};
145
- font-weight: ${je.fontWeight};
146
- letter-spacing: ${je.letterSpacing};
147
- line-height: ${je.lineHeight};
148
- text-transform: ${je.textTransform};
149
- }
150
- `,Gr=P`
151
- .ft-typography--caption {
152
- font-family: ${Ce.fontFamily};
153
- font-size: ${Ce.fontSize};
154
- font-weight: ${Ce.fontWeight};
155
- letter-spacing: ${Ce.letterSpacing};
156
- line-height: ${Ce.lineHeight};
157
- text-transform: ${Ce.textTransform};
158
- }
159
- `,Zc=P`
160
- .ft-typography--breadcrumb {
104
+ `,Gc=_`
105
+ .ft-typography--title-dense {
161
106
  font-family: ${Hr.fontFamily};
162
107
  font-size: ${Hr.fontSize};
163
108
  font-weight: ${Hr.fontWeight};
@@ -165,8 +110,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
165
110
  line-height: ${Hr.lineHeight};
166
111
  text-transform: ${Hr.textTransform};
167
112
  }
168
- `,qc=P`
169
- .ft-typography--overline {
113
+ `,Kc=_`
114
+ .ft-typography--subtitle1 {
170
115
  font-family: ${Wr.fontFamily};
171
116
  font-size: ${Wr.fontSize};
172
117
  font-weight: ${Wr.fontWeight};
@@ -174,20 +119,75 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
174
119
  line-height: ${Wr.lineHeight};
175
120
  text-transform: ${Wr.textTransform};
176
121
  }
177
- `,Yc=P`
122
+ `,Zc=_`
123
+ .ft-typography--subtitle2 {
124
+ font-family: ${Vr.fontFamily};
125
+ font-size: ${Vr.fontSize};
126
+ font-weight: ${Vr.fontWeight};
127
+ letter-spacing: ${Vr.letterSpacing};
128
+ line-height: ${Vr.lineHeight};
129
+ text-transform: ${Vr.textTransform};
130
+ }
131
+
132
+ `,Kr=_`
133
+ .ft-typography--body1 {
134
+ font-family: ${At.fontFamily};
135
+ font-size: ${At.fontSize};
136
+ font-weight: ${At.fontWeight};
137
+ letter-spacing: ${At.letterSpacing};
138
+ line-height: ${At.lineHeight};
139
+ text-transform: ${At.textTransform};
140
+ }
141
+ `,qc=_`
142
+ .ft-typography--body2 {
143
+ font-family: ${Ge.fontFamily};
144
+ font-size: ${Ge.fontSize};
145
+ font-weight: ${Ge.fontWeight};
146
+ letter-spacing: ${Ge.letterSpacing};
147
+ line-height: ${Ge.lineHeight};
148
+ text-transform: ${Ge.textTransform};
149
+ }
150
+ `,Zr=_`
151
+ .ft-typography--caption {
152
+ font-family: ${Se.fontFamily};
153
+ font-size: ${Se.fontSize};
154
+ font-weight: ${Se.fontWeight};
155
+ letter-spacing: ${Se.letterSpacing};
156
+ line-height: ${Se.lineHeight};
157
+ text-transform: ${Se.textTransform};
158
+ }
159
+ `,Yc=_`
160
+ .ft-typography--breadcrumb {
161
+ font-family: ${jr.fontFamily};
162
+ font-size: ${jr.fontSize};
163
+ font-weight: ${jr.fontWeight};
164
+ letter-spacing: ${jr.letterSpacing};
165
+ line-height: ${jr.lineHeight};
166
+ text-transform: ${jr.textTransform};
167
+ }
168
+ `,Xc=_`
169
+ .ft-typography--overline {
170
+ font-family: ${Gr.fontFamily};
171
+ font-size: ${Gr.fontSize};
172
+ font-weight: ${Gr.fontWeight};
173
+ letter-spacing: ${Gr.letterSpacing};
174
+ line-height: ${Gr.lineHeight};
175
+ text-transform: ${Gr.textTransform};
176
+ }
177
+ `,Jc=_`
178
178
  .ft-typography--button {
179
- font-family: ${pt.fontFamily};
180
- font-size: ${pt.fontSize};
181
- font-weight: ${pt.fontWeight};
182
- letter-spacing: ${pt.letterSpacing};
183
- line-height: ${pt.lineHeight};
184
- text-transform: ${pt.textTransform};
185
- }
186
- `,Xc=P`
179
+ font-family: ${ft.fontFamily};
180
+ font-size: ${ft.fontSize};
181
+ font-weight: ${ft.fontWeight};
182
+ letter-spacing: ${ft.letterSpacing};
183
+ line-height: ${ft.lineHeight};
184
+ text-transform: ${ft.textTransform};
185
+ }
186
+ `,Qc=_`
187
187
  .ft-typography {
188
188
  vertical-align: inherit;
189
189
  }
190
- `,Jc=[Object.keys(co).map(t=>zc(t))];var U={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",B.colorOutline),textColor:r.extend("--ft-input-label-text-color","",B.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",B.colorOnSurfaceDisabled),backgroundColor:r.extend("--ft-input-label-background-color","",B.colorSurface),borderRadius:r.extend("--ft-input-label-border-radius","",B.borderRadiusS),colorError:r.external(B.colorError,"Design system")},Qc=P`
190
+ `,ed=[Object.keys($t).map(t=>Wc(t))];var U={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",B.colorOutline),textColor:o.extend("--ft-input-label-text-color","",B.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",B.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",B.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",B.borderRadiusS),colorError:o.external(B.colorError,"Design system")},td=_`
191
191
  .ft-input-label {
192
192
  position: absolute;
193
193
  inset: 0;
@@ -238,8 +238,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
238
238
  transition: font-size 250ms, line-height 250ms, color 250ms;
239
239
  max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
240
240
  text-overflow: ellipsis;
241
- ${v(Ce.fontSize,U.fontSize)};
242
- ${v(Ce.lineHeight,U.fontSize)};
241
+ ${v(Se.fontSize,U.fontSize)};
242
+ ${v(Se.lineHeight,U.fontSize)};
243
243
  }
244
244
 
245
245
  .ft-input-label--in-error .ft-input-label--text {
@@ -259,7 +259,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
259
259
 
260
260
  .ft-input-label--floating-text {
261
261
  position: absolute;
262
- top: calc(50% - ${Ce.lineHeight} / 2);
262
+ top: calc(50% - ${Se.lineHeight} / 2);
263
263
  transition: top 250ms;
264
264
  overflow: hidden;
265
265
  white-space: nowrap;
@@ -271,8 +271,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
271
271
  }
272
272
 
273
273
  .ft-input-label--raised .ft-input-label--text {
274
- ${v(Ce.fontSize,U.raisedFontSize)};
275
- ${v(Ce.lineHeight,U.raisedFontSize)};
274
+ ${v(Se.fontSize,U.raisedFontSize)};
275
+ ${v(Se.lineHeight,U.raisedFontSize)};
276
276
  }
277
277
 
278
278
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -303,38 +303,56 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
303
303
  z-index: ${U.raisedZIndex};
304
304
  background-color: ${U.backgroundColor};
305
305
  border-radius: ${U.borderRadius};
306
- top: calc((${Ce.lineHeight} / -2) + 2px);
306
+ top: calc((${Se.lineHeight} / -2) + 2px);
307
307
  }
308
308
 
309
309
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
310
310
  border-top: none;
311
311
  }
312
- `;var td=Symbol.for(""),wf=t=>{if(t?.r===td)return t?._$litStatic$},os=t=>({_$litStatic$:t,r:td});var ed=new Map,ns=t=>(e,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(a=o[p],(i=wf(a))!==void 0);)d+=i+e[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=ed.get(f))===void 0&&(s.raw=s,ed.set(f,e=s)),o=l}return t(e,...o)},is=ns(N),$S=ns(Un),DS=ns(zn);var Ne;(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"})(Ne||(Ne={}));var rd=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ge=class extends K{constructor(){super(...arguments),this.variant=Ne.body1}render(){return this.element?is`
313
- <${os(this.element)}
312
+ `;var od=Symbol.for(""),Lf=t=>{if(t?.r===od)return t?._$litStatic$},qr=t=>({_$litStatic$:t,r:od});var rd=new Map,ss=t=>(e,...r)=>{let n=r.length,i,a,s=[],l=[],d,u=0,h=!1;for(;u<n;){for(d=e[u];u<n&&(a=r[u],(i=Lf(a))!==void 0);)d+=i+e[++u],h=!0;u!==n&&l.push(a),s.push(d),u++}if(u===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=rd.get(f))===void 0&&(s.raw=s,rd.set(f,e=s)),r=l}return t(e,...r)},Yr=ss(P),US=ss(fi),zS=ss(hi);var Tt;(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"})(Tt||(Tt={}));var nd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},be=class extends K{constructor(){super(...arguments),this.variant=Tt.body1}render(){return this.element?Yr`
313
+ <${qr(this.element)}
314
314
  part="text"
315
315
  class="ft-typography ft-typography--${this.variant}">
316
316
  <slot></slot>
317
- </${os(this.element)}>
318
- `:is`
317
+ </${qr(this.element)}>
318
+ `:Yr`
319
319
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
320
- `}};ge.styles=[Wc,Vc,Gc,jc,Vr,Kc,Gr,Zc,qc,Yc,Xc,...Jc];rd([b()],ge.prototype,"element",void 0);rd([b()],ge.prototype,"variant",void 0);ie("ft-typography")(ge);var od=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},At=class extends K{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return N`
321
- <div class="${ye(this.inputLabelClasses)}">
322
- ${nr(this.text,()=>N`
320
+ `}};be.styles=[jc,Gc,Kc,Zc,Kr,qc,Zr,Yc,Xc,Jc,Qc,...ed];nd([b()],be.prototype,"element",void 0);nd([b()],be.prototype,"variant",void 0);var ot;(function(t){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"})(ot||(ot={}));function If(t,e){let r=$t[t];return _`
321
+ ${e?$e(e):_`.ftds-typography--${$e(t)}`} {
322
+ font-family: ${r.fontFamily};
323
+ font-size: ${r.fontSize};
324
+ font-weight: ${r.fontWeight};
325
+ letter-spacing: ${r.letterSpacing};
326
+ line-height: ${r.lineHeight};
327
+ text-decoration: ${r.textDecoration};
328
+ text-transform: ${r.textCase};
329
+ }
330
+ `}var id=[Object.keys($t).map(t=>If(t))];var ad=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},nt=class extends K{constructor(){super(...arguments),this.variant=ot.body2medium}render(){return this.element?Yr`
331
+ <${qr(this.element)}
332
+ part="text"
333
+ class="ftds-typography ftds-typography--${this.variant}">
334
+ <slot></slot>
335
+ </${qr(this.element)}>
336
+ `:Yr`
337
+ <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
338
+ `}};nt.styles=[...id];ad([b()],nt.prototype,"element",void 0);ad([b()],nt.prototype,"variant",void 0);re("ft-typography")(be);re("ftds-typography")(nt);var sd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Lt=class extends K{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return P`
339
+ <div class="${ge(this.inputLabelClasses)}">
340
+ ${sr(this.text,()=>P`
323
341
  <div class="ft-input-label--text ft-typography--caption">
324
342
  <label class="ft-input-label--floating-text">${this.text}</label>
325
343
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
326
344
  </div>
327
345
  `)}
328
346
  </div>
329
- `}};At.elementDefinitions={};od([b({type:String})],At.prototype,"text",void 0);od([b({type:Boolean})],At.prototype,"raised",void 0);var as=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Fe=class extends At{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Fe.elementDefinitions={};Fe.styles=[Gr,Qc];as([b({type:Boolean})],Fe.prototype,"outlined",void 0);as([b({type:Boolean})],Fe.prototype,"error",void 0);as([b({type:Boolean})],Fe.prototype,"disabled",void 0);var Le={fontSize:r.extend("--ft-input-label-font-size","",Zt.fontSize),fontSizeRaised:r.extend("--ft-input-label-font-size-raised","",_t.fontSize),lineHeight:r.extend("--ft-input-label-line-height","",_t.lineHeight),color:r.extend("--ft-input-label-color","",u.contentGlobalSubtle),largeFieldHeight:r.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:r.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:r.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:r.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:r.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:r.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:r.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:r.create("--ft-input-label-additional-padding-right","","SIZE","0px")},nd=[P`
347
+ `}};Lt.elementDefinitions={};sd([b({type:String})],Lt.prototype,"text",void 0);sd([b({type:Boolean})],Lt.prototype,"raised",void 0);var ls=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Fe=class extends Lt{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Fe.elementDefinitions={};Fe.styles=[Zr,td];ls([b({type:Boolean})],Fe.prototype,"outlined",void 0);ls([b({type:Boolean})],Fe.prototype,"error",void 0);ls([b({type:Boolean})],Fe.prototype,"disabled",void 0);var Te={fontSize:o.extend("--ft-input-label-font-size","",kt.fontSize),fontSizeRaised:o.extend("--ft-input-label-font-size-raised","",xt.fontSize),lineHeight:o.extend("--ft-input-label-line-height","",xt.lineHeight),color:o.extend("--ft-input-label-color","",p.contentGlobalSubtle),largeFieldHeight:o.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:o.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:o.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:o.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:o.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:o.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:o.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:o.create("--ft-input-label-additional-padding-right","","SIZE","0px")},ld=[_`
330
348
 
331
349
  :root {
332
- --field-height: ${Le.largeFieldHeight};
333
- --field-vertical-gap: ${Le.largeFieldVerticalGap};
334
- --field-horizontal-padding: ${Le.largeFieldHorizontalPadding};
350
+ --field-height: ${Te.largeFieldHeight};
351
+ --field-vertical-gap: ${Te.largeFieldVerticalGap};
352
+ --field-horizontal-padding: ${Te.largeFieldHorizontalPadding};
335
353
 
336
- --typo-caption-height: calc(${_t.lineHeight} * ${_t.fontSize});
337
- --typo-body-height: calc(${Zt.lineHeight} * ${Zt.fontSize});
354
+ --typo-caption-height: calc(${xt.lineHeight} * ${xt.fontSize});
355
+ --typo-body-height: calc(${kt.lineHeight} * ${kt.fontSize});
338
356
  --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
339
357
  --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
340
358
  }
@@ -349,15 +367,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
349
367
  }
350
368
 
351
369
  .ft-input-label.ftds--size-large {
352
- --field-height: ${Le.largeFieldHeight};
353
- --field-vertical-gap: ${Le.largeFieldVerticalGap};
354
- --field-horizontal-padding: ${Le.largeFieldHorizontalPadding};
370
+ --field-height: ${Te.largeFieldHeight};
371
+ --field-vertical-gap: ${Te.largeFieldVerticalGap};
372
+ --field-horizontal-padding: ${Te.largeFieldHorizontalPadding};
355
373
  }
356
374
 
357
375
  .ft-input-label.ftds--size-medium {
358
- --field-height: ${Le.mediumFieldHeight};
359
- --field-vertical-gap: ${Le.mediumFieldVerticalGap};
360
- --field-horizontal-padding: ${Le.mediumFieldHorizontalPadding};
376
+ --field-height: ${Te.mediumFieldHeight};
377
+ --field-vertical-gap: ${Te.mediumFieldVerticalGap};
378
+ --field-horizontal-padding: ${Te.mediumFieldHorizontalPadding};
361
379
  }
362
380
 
363
381
  .ft-input-label--text {
@@ -368,8 +386,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
368
386
  z-index: 10;
369
387
  width: 100%;
370
388
  transition: font-size 250ms, line-height 250ms, color 250ms;
371
- ${v(Ce.fontSize,Le.fontSize)};
372
- ${v(Ce.lineHeight,Le.lineHeight)};
389
+ ${v(Se.fontSize,Te.fontSize)};
390
+ ${v(Se.lineHeight,Te.lineHeight)};
373
391
  }
374
392
 
375
393
  .ft-input-label--hidden-text {
@@ -392,23 +410,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
392
410
 
393
411
  padding-top: ${U.verticalSpacing};
394
412
  padding-bottom: ${U.verticalSpacing};
395
- padding-left: calc(var(--field-horizontal-padding) + ${Le.additionalPaddingLeft});
396
- padding-right: calc(var(--field-horizontal-padding) + ${Le.additionalPaddingRight});
413
+ padding-left: calc(var(--field-horizontal-padding) + ${Te.additionalPaddingLeft});
414
+ padding-right: calc(var(--field-horizontal-padding) + ${Te.additionalPaddingRight});
397
415
 
398
416
  margin: calc(${U.verticalSpacing} * -1) 0;
399
- color: ${Le.color};
417
+ color: ${Te.color};
400
418
  }
401
419
 
402
420
  .ft-input-label--raised .ft-input-label--text {
403
- ${v(Ce.fontSize,Le.fontSizeRaised)};
404
- ${v(Ce.lineHeight,Le.lineHeight)};
421
+ ${v(Se.fontSize,Te.fontSizeRaised)};
422
+ ${v(Se.lineHeight,Te.lineHeight)};
405
423
  }
406
424
 
407
425
  .ft-input-label--raised .ft-input-label--floating-text {
408
426
  top: var(--input-content-vertical-padding);
409
427
  }
410
428
 
411
- `];var Lo=class extends wr(At){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Lo.styles=[Gr,nd];ie("ft-input-label")(Fe);ie("ftds-input-label")(Lo);var id=r.extend("--ft-ripple-color","",B.colorContent),R={color:id,backgroundColor:r.extend("--ft-ripple-background-color","",id),opacityContentOnSurfacePressed:r.external(B.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(B.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(B.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(B.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},ad=r.extend("--ft-ripple-color","",B.colorPrimary),sd={color:ad,backgroundColor:r.extend("--ft-ripple-background-color","",ad)},ld=r.extend("--ft-ripple-color","",B.colorSecondary),cd={color:ld,backgroundColor:r.extend("--ft-ripple-background-color","",ld)},dd=P`
429
+ `];var Po=class extends Tr(Lt){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Po.styles=[Zr,ld];re("ft-input-label")(Fe);re("ftds-input-label")(Po);var cd=o.extend("--ft-ripple-color","",B.colorContent),R={color:cd,backgroundColor:o.extend("--ft-ripple-background-color","",cd),opacityContentOnSurfacePressed:o.external(B.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(B.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(B.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(B.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},dd=o.extend("--ft-ripple-color","",B.colorPrimary),pd={color:dd,backgroundColor:o.extend("--ft-ripple-background-color","",dd)},ud=o.extend("--ft-ripple-color","",B.colorSecondary),fd={color:ud,backgroundColor:o.extend("--ft-ripple-background-color","",ud)},hd=_`
412
430
  :host {
413
431
  display: contents;
414
432
  }
@@ -463,19 +481,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
463
481
  }
464
482
 
465
483
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
466
- background-color: ${cd.backgroundColor};
484
+ background-color: ${fd.backgroundColor};
467
485
  }
468
486
 
469
487
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
470
- background-color: ${cd.color};
488
+ background-color: ${fd.color};
471
489
  }
472
490
 
473
491
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
474
- background-color: ${sd.backgroundColor};
492
+ background-color: ${pd.backgroundColor};
475
493
  }
476
494
 
477
495
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
478
- background-color: ${sd.color};
496
+ background-color: ${pd.color};
479
497
  }
480
498
 
481
499
  .ft-ripple .ft-ripple--background {
@@ -520,18 +538,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
520
538
  opacity: ${R.opacityContentOnSurfacePressed};
521
539
  transform: translate(-50%, -50%) scale(1);
522
540
  }
523
- `;var Pe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends K{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 Ie(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ie(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),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=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 N`
541
+ `;var Ne=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ne=class extends K{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 Le(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Le(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.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=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 P`
524
542
  <style>
525
543
  .ft-ripple .ft-ripple--effect {
526
544
  left: ${this.originX}px;
527
545
  top: ${this.originY}px;
528
546
  }
529
547
  </style>
530
- <div class="${ye(e)}">
548
+ <div class="${ge(e)}">
531
549
  <div class="ft-ripple--background"></div>
532
550
  <div class="ft-ripple--effect"></div>
533
551
  </div>
534
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.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 e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,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(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.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()}};oe.elementDefinitions={};oe.styles=dd;Pe([b({type:Boolean})],oe.prototype,"primary",void 0);Pe([b({type:Boolean})],oe.prototype,"secondary",void 0);Pe([b({type:Boolean})],oe.prototype,"unbounded",void 0);Pe([b({type:Boolean})],oe.prototype,"activated",void 0);Pe([b({type:Boolean})],oe.prototype,"selected",void 0);Pe([b({type:Boolean})],oe.prototype,"disabled",void 0);Pe([j()],oe.prototype,"hovered",void 0);Pe([j()],oe.prototype,"focused",void 0);Pe([j()],oe.prototype,"pressed",void 0);Pe([j()],oe.prototype,"rippling",void 0);Pe([j()],oe.prototype,"originX",void 0);Pe([j()],oe.prototype,"originY",void 0);Pe([ae(".ft-ripple")],oe.prototype,"ripple",void 0);Pe([ae(".ft-ripple--effect")],oe.prototype,"rippleEffect",void 0);ie("ft-ripple")(oe);var Rt;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;"})(Rt||(Rt={}));var I;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(I||(I={}));var jC=new Map([...["abw"].map(t=>[t,I.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,I.AUDIO]),...["avi"].map(t=>[t,I.AVI]),...["chm","xhs"].map(t=>[t,I.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,I.CODE]),...["csv"].map(t=>[t,I.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,I.DITA]),...["epub"].map(t=>[t,I.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,I.EXCEL]),...["flac"].map(t=>[t,I.FLAC]),...["gif"].map(t=>[t,I.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,I.GZIP]),...["html","htm","xhtml"].map(t=>[t,I.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,I.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,I.JPEG]),...["json"].map(t=>[t,I.JSON]),...["m4a","m4p"].map(t=>[t,I.M4A]),...["mov","qt"].map(t=>[t,I.MOV]),...["mp3"].map(t=>[t,I.MP3]),...["mp4","m4v"].map(t=>[t,I.MP4]),...["ogg","oga"].map(t=>[t,I.OGG]),...["pdf","ps"].map(t=>[t,I.PDF]),...["png"].map(t=>[t,I.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,I.POWERPOINT]),...["rar"].map(t=>[t,I.RAR]),...["stp"].map(t=>[t,I.STP]),...["txt","rtf","md","mdown"].map(t=>[t,I.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,I.VIDEO]),...["wav"].map(t=>[t,I.WAV]),...["wma"].map(t=>[t,I.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,I.WORD]),...["xml","xsl","rdf"].map(t=>[t,I.XML]),...["yaml","yml","x-yaml"].map(t=>[t,I.YAML]),...["zip"].map(t=>[t,I.ZIP])]);var KC={[I.ABW]:"#91ABC6",[I.AUDIO]:"#1795E3",[I.AVI]:"#E63324",[I.CHM]:"#71C3EB",[I.CODE]:"#71C3EB",[I.CSV]:"#1F7345",[I.DITA]:"#71C3EB",[I.EPUB]:"#85B926",[I.EXCEL]:"#1F7345",[I.FLAC]:"#1795E3",[I.GIF]:"#59B031",[I.GZIP]:"#F8AB36",[I.HTML]:"#71C3EB",[I.IMAGE]:"#59B031",[I.JPEG]:"#59B031",[I.JSON]:"#71C3EB",[I.M4A]:"#1795E3",[I.MOV]:"#E63324",[I.MP3]:"#1795E3",[I.MP4]:"#E63324",[I.OGG]:"#1795E3",[I.PDF]:"#E44948",[I.PNG]:"#59B031",[I.POWERPOINT]:"#B54A2B",[I.RAR]:"#F8AB36",[I.STP]:"#3764B1",[I.TEXT]:"#3162AB",[I.UNKNOWN]:"#999999",[I.VIDEO]:"#E63324",[I.WAV]:"#1795E3",[I.WMA]:"#1795E3",[I.WORD]:"#3162AB",[I.XML]:"#71C3EB",[I.YAML]:"#71C3EB",[I.ZIP]:"#F8AB36"};var le={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")},ud=[P`
552
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};ne.elementDefinitions={};ne.styles=hd;Ne([b({type:Boolean})],ne.prototype,"primary",void 0);Ne([b({type:Boolean})],ne.prototype,"secondary",void 0);Ne([b({type:Boolean})],ne.prototype,"unbounded",void 0);Ne([b({type:Boolean})],ne.prototype,"activated",void 0);Ne([b({type:Boolean})],ne.prototype,"selected",void 0);Ne([b({type:Boolean})],ne.prototype,"disabled",void 0);Ne([G()],ne.prototype,"hovered",void 0);Ne([G()],ne.prototype,"focused",void 0);Ne([G()],ne.prototype,"pressed",void 0);Ne([G()],ne.prototype,"rippling",void 0);Ne([G()],ne.prototype,"originX",void 0);Ne([G()],ne.prototype,"originY",void 0);Ne([ae(".ft-ripple")],ne.prototype,"ripple",void 0);Ne([ae(".ft-ripple--effect")],ne.prototype,"rippleEffect",void 0);re("ft-ripple")(ne);var It;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CLOUD_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;"})(It||(It={}));var I;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(I||(I={}));var DO=new Map([...["abw"].map(t=>[t,I.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,I.AUDIO]),...["avi"].map(t=>[t,I.AVI]),...["chm","xhs"].map(t=>[t,I.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,I.CODE]),...["csv"].map(t=>[t,I.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,I.DITA]),...["epub"].map(t=>[t,I.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,I.EXCEL]),...["flac"].map(t=>[t,I.FLAC]),...["gif"].map(t=>[t,I.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,I.GZIP]),...["html","htm","xhtml"].map(t=>[t,I.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,I.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,I.JPEG]),...["json"].map(t=>[t,I.JSON]),...["m4a","m4p"].map(t=>[t,I.M4A]),...["mov","qt"].map(t=>[t,I.MOV]),...["mp3"].map(t=>[t,I.MP3]),...["mp4","m4v"].map(t=>[t,I.MP4]),...["ogg","oga"].map(t=>[t,I.OGG]),...["pdf","ps"].map(t=>[t,I.PDF]),...["png"].map(t=>[t,I.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,I.POWERPOINT]),...["rar"].map(t=>[t,I.RAR]),...["stp"].map(t=>[t,I.STP]),...["txt","rtf","md","mdown"].map(t=>[t,I.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,I.VIDEO]),...["wav"].map(t=>[t,I.WAV]),...["wma"].map(t=>[t,I.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,I.WORD]),...["xml","xsl","rdf"].map(t=>[t,I.XML]),...["yaml","yml","x-yaml"].map(t=>[t,I.YAML]),...["zip"].map(t=>[t,I.ZIP])]);var MO={[I.ABW]:"#91ABC6",[I.AUDIO]:"#1795E3",[I.AVI]:"#E63324",[I.CHM]:"#71C3EB",[I.CODE]:"#71C3EB",[I.CSV]:"#1F7345",[I.DITA]:"#71C3EB",[I.EPUB]:"#85B926",[I.EXCEL]:"#1F7345",[I.FLAC]:"#1795E3",[I.GIF]:"#59B031",[I.GZIP]:"#F8AB36",[I.HTML]:"#71C3EB",[I.IMAGE]:"#59B031",[I.JPEG]:"#59B031",[I.JSON]:"#71C3EB",[I.M4A]:"#1795E3",[I.MOV]:"#E63324",[I.MP3]:"#1795E3",[I.MP4]:"#E63324",[I.OGG]:"#1795E3",[I.PDF]:"#E44948",[I.PNG]:"#59B031",[I.POWERPOINT]:"#B54A2B",[I.RAR]:"#F8AB36",[I.STP]:"#3764B1",[I.TEXT]:"#3162AB",[I.UNKNOWN]:"#999999",[I.VIDEO]:"#E63324",[I.WAV]:"#1795E3",[I.WMA]:"#1795E3",[I.WORD]:"#3162AB",[I.XML]:"#71C3EB",[I.YAML]:"#71C3EB",[I.ZIP]:"#F8AB36"};var ce={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},md=[_`
535
553
  :host, i.ft-icon {
536
554
  display: inline-flex;
537
555
  align-items: center;
@@ -540,14 +558,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
540
558
  }
541
559
 
542
560
  :host {
543
- width: ${le.size};
544
- height: ${le.size};
561
+ width: ${ce.size};
562
+ height: ${ce.size};
545
563
  }
546
564
 
547
565
  i.ft-icon {
548
566
  width: 100%;
549
567
  height: 100%;
550
- font-size: ${le.size};
568
+ font-size: ${ce.size};
551
569
  line-height: 1;
552
570
  font-weight: normal;
553
571
  text-transform: none;
@@ -558,33 +576,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
558
576
  text-rendering: auto;
559
577
  -webkit-font-smoothing: antialiased;
560
578
  -moz-osx-font-smoothing: grayscale;
561
- vertical-align: ${le.verticalAlign};
579
+ vertical-align: ${ce.verticalAlign};
562
580
  }
563
581
 
564
582
  i.ft-icon.ft-icon--fluid-topics {
565
- font-family: ${le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
583
+ font-family: ${ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
566
584
 
567
585
  /* Ugly fix because font is broken */
568
- font-size: calc(0.75 * ${le.size});
569
- line-height: ${le.size};
586
+ font-size: calc(0.75 * ${ce.size});
587
+ line-height: ${ce.size};
570
588
  position: relative;
571
589
  top: -4%;
572
590
  justify-content: center;
573
591
  }
574
592
 
575
593
  .ft-icon--file-format {
576
- font-family: ${le.fileFormatFontFamily}, ft-mime, sans-serif;
594
+ font-family: ${ce.fileFormatFontFamily}, ft-mime, sans-serif;
577
595
  }
578
596
 
579
597
  .ft-icon--material {
580
- font-family: ${le.materialFontFamily}, "Material Icons", sans-serif;
598
+ font-family: ${ce.materialFontFamily}, "Material Icons", sans-serif;
581
599
  }
582
- `,Ct];var Ke;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ke||(Ke={}));var Io=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},fe=class extends K{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Ke).includes(this.variant)?this.variant:Ke.fluid_topics,o=e!==Ke.material||!!this.value;return N`
600
+ `,Et];var Ke;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ke||(Ke={}));var ko=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends K{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=z}render(){let e=this.variant&&Object.values(Ke).includes(this.variant)?this.variant:Ke.fluid_topics,r=e!==Ke.material||!!this.value;return P`
583
601
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
584
- ${Jn(this.resolvedIcon)}
585
- <slot ?hidden=${o}></slot>
602
+ ${wi(this.resolvedIcon)}
603
+ <slot ?hidden=${r}></slot>
586
604
  </i>
587
- `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Ke.file_format:this.resolvedIcon=(e=I[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ke.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(o=Rt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=ud;Io([b()],fe.prototype,"variant",void 0);Io([b()],fe.prototype,"value",void 0);Io([b({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);Io([j()],fe.prototype,"resolvedIcon",void 0);Io([ae("slot")],fe.prototype,"slottedContent",void 0);ie("ft-icon")(fe);var W={fontSize:r.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:r.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:r.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:r.extend("--ft-text-field-helper-color","",B.colorOnSurfaceMedium),colorPrimary:r.external(B.colorPrimary,"Design system"),colorOnSurface:r.external(B.colorOnSurface,"Design system"),colorOnSurfaceDisabled:r.external(B.colorOnSurfaceDisabled,"Design system"),borderRadiusS:r.external(B.borderRadiusS,"Design system"),colorError:r.external(B.colorError,"Design system"),prefixColor:r.extend("--ft-text-field-prefix-color","",B.colorOnSurfaceMedium),iconColor:r.extend("--ft-text-field-icon-color","",B.colorOnSurfaceMedium),floatingZIndex:r.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:r.extend("--ft-text-field-background-color","",B.colorSurface),colorOutline:r.external(B.colorOutline,"Design system"),elevation02:r.external(B.elevation02,"Design system"),suggestSize:r.create("--ft-text-field-suggest-size","","SIZE","300px")},pd=P`
605
+ `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.getTextContent();switch(this.variant){case Ke.file_format:this.resolvedIcon=(e=I[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ke.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(r=It[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=md;ko([b()],fe.prototype,"variant",void 0);ko([b()],fe.prototype,"value",void 0);ko([b({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);ko([G()],fe.prototype,"resolvedIcon",void 0);ko([ae("slot")],fe.prototype,"slottedContent",void 0);re("ft-icon")(fe);var W={fontSize:o.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.extend("--ft-text-field-helper-color","",B.colorOnSurfaceMedium),colorPrimary:o.external(B.colorPrimary,"Design system"),colorOnSurface:o.external(B.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.external(B.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.external(B.borderRadiusS,"Design system"),colorError:o.external(B.colorError,"Design system"),prefixColor:o.extend("--ft-text-field-prefix-color","",B.colorOnSurfaceMedium),iconColor:o.extend("--ft-text-field-icon-color","",B.colorOnSurfaceMedium),floatingZIndex:o.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:o.extend("--ft-text-field-background-color","",B.colorSurface),colorOutline:o.external(B.colorOutline,"Design system"),elevation02:o.external(B.elevation02,"Design system"),suggestSize:o.create("--ft-text-field-suggest-size","","SIZE","300px")},gd=_`
588
606
  *:focus {
589
607
  outline: none;
590
608
  }
@@ -619,8 +637,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
619
637
  overflow: hidden;
620
638
  padding: 0 ${W.horizontalSpacing};
621
639
 
622
- ${v(Et.fontSize,W.fontSize)};
623
- ${v(Et.lineHeight,W.fontSize)};
640
+ ${v(At.fontSize,W.fontSize)};
641
+ ${v(At.lineHeight,W.fontSize)};
624
642
  }
625
643
 
626
644
  .ft-text-field--input-panel ft-ripple {
@@ -737,13 +755,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
737
755
  }
738
756
 
739
757
  .ft-text-field--with-icon {
740
- ${v(U.labelMaxWidth,`calc(100% - ${le.size} - ${U.horizontalSpacing})`)};
758
+ ${v(U.labelMaxWidth,`calc(100% - ${ce.size} - ${U.horizontalSpacing})`)};
741
759
  }
742
760
 
743
761
  .ft-text-field--with-password ft-icon:hover {
744
762
  cursor: pointer;
745
763
  }
746
- `;var fd=P`
764
+ `;var yd=_`
747
765
  .ft-text-field-suggestion {
748
766
  position: relative;
749
767
  padding: 8px 16px;
@@ -779,13 +797,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
779
797
  slot {
780
798
  pointer-events: none;
781
799
  }
782
- `;var hn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ss=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Ze=class extends K{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return N`
783
- <div class=${ye(e)}
800
+ `;var zn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},cs=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Ze=class extends K{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return P`
801
+ <div class="${ge(e)}"
784
802
  tabindex="-1"
785
803
  @keydown=${this.onKeyDown}
786
804
  @click=${this.confirmSuggestion}>
787
805
  <ft-ripple></ft-ripple>
788
- ${this.helper?N`
806
+ ${this.helper?P`
789
807
  <ft-typography class="ft-text-field-suggestion--helper-text" variant="caption">
790
808
  ${this.helper}
791
809
  </ft-typography>`:z}
@@ -795,8 +813,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
795
813
  <slot></slot>
796
814
  </ft-typography>
797
815
  </div>
798
- `}focus(e){var o;(o=this.container)===null||o===void 0||o.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new ss(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Ze.elementDefinitions={"ft-ripple":oe,"ft-typography":ge,"ft-icon":fe};Ze.styles=fd;hn([b()],Ze.prototype,"value",void 0);hn([b()],Ze.prototype,"helper",void 0);hn([ae(".ft-text-field-suggestion")],Ze.prototype,"container",void 0);hn([no()],Ze.prototype,"assignedNodes",void 0);var Q=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Z=class extends Ao(K){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=Rt.EYE_SLASH,this.passwordRevealedIcon=Rt.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let o=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},o=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||o;return N`
799
- <div class="${ye(e)}">
816
+ `}focus(e){var r;(r=this.container)===null||r===void 0||r.focus(e)}click(){var e;(e=this.container)===null||e===void 0||e.click()}confirmSuggestion(){this.dispatchEvent(new cs(this.getValue()))}getValue(){return this.value||this.getTextContent()}getTextContent(){return this.assignedNodes.map(e=>e.textContent).join("").trim()}onKeyDown(e){["Enter"," "].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this.confirmSuggestion())}};Ze.elementDefinitions={"ft-ripple":ne,"ft-typography":be,"ft-icon":fe};Ze.styles=yd;zn([b()],Ze.prototype,"value",void 0);zn([b()],Ze.prototype,"helper",void 0);zn([ae(".ft-text-field-suggestion")],Ze.prototype,"container",void 0);zn([co()],Ze.prototype,"assignedNodes",void 0);var Q=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Z=class extends Io(K){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=It.EYE_SLASH,this.passwordRevealedIcon=It.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.hidePassword=!0,this.hideSuggestions=!1,this.visibleSuggestions=[],this.providedSuggestions=[]}get value(){return this._value||""}set value(e){this.setInternalValue(e||""),this.dispatchedValue=e||""}setInternalValue(e){let r=this._value;this._value=e||"",this.setFormValue(this._value),this.requestUpdate("value",r)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}render(){let e={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--fixed":this.fixedMenuPosition,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":!this.suggestionsShouldBeDisplayed(),"ft-text-field--raised-label":this.focused||this.value!="","ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.isPasswordField()},r=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(a=>a.label).includes(this.value),i=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||r;return P`
817
+ <div class="${ge(e)}">
800
818
  <div class="ft-text-field--main-panel"
801
819
  @keydown=${this.handleKeyboardNavigation}
802
820
  @focusout=${this.onMainPanelBlur}>
@@ -806,19 +824,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
806
824
  ?raised=${this.focused||this.value!=""}
807
825
  ?error=${this.error}></ft-input-label>
808
826
  <div class="ft-text-field--input-panel">
809
- ${this.outlined?z:N`
827
+ ${this.outlined?z:P`
810
828
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
811
829
  `}
812
- ${this.prefix?N`
830
+ ${this.prefix?P`
813
831
  <ft-typography class="ft-text-field--prefix" variant="body1">
814
832
  ${this.prefix}
815
833
  </ft-typography>
816
834
  `:z}
817
835
  <input type="${this.resolveInputType()}"
818
- name="${et(this.name)}"
819
- maxlength="${et(this.maxLength||void 0)}"
836
+ name="${rt(this.name)}"
837
+ maxlength="${rt(this.maxLength||void 0)}"
820
838
  aria-label="${this.label}"
821
- autocomplete="${et(this.autocomplete)}"
839
+ autocomplete="${rt(this.autocomplete)}"
822
840
  class="ft-typography--body1 ft-text-field--input"
823
841
  part="input"
824
842
  ?disabled=${this.disabled}
@@ -831,40 +849,40 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
831
849
  <div class="ft-text-field--suggestions"
832
850
  @suggestion-selected=${this.onSuggestionSelected}>
833
851
  ${this.renderSuggestions()}
834
- ${i?N`
852
+ ${i?P`
835
853
  <ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
836
854
  ${this.value}
837
855
  </ft-text-field-suggestion>
838
856
  `:z}
839
857
  </div>
840
858
  </div>
841
- ${this.helper?N`
859
+ ${this.helper?P`
842
860
  <ft-typography class="ft-text-field--helper-text" variant="caption">
843
861
  ${this.helper}
844
862
  </ft-typography>
845
863
  `:z}
846
864
  </div>
847
- `}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?N`
848
- ${gt(this.providedSuggestions,e=>N`
849
- <ft-text-field-suggestion value="${e.value}" @click=${o=>this.onSuggestionClick(o,e.clickHandler)}>
850
- ${e.icon?N`
865
+ `}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?P`
866
+ ${yt(this.providedSuggestions,e=>P`
867
+ <ft-text-field-suggestion value="${e.value}" @click=${r=>this.onSuggestionClick(r,e.clickHandler)}>
868
+ ${e.icon?P`
851
869
  <ft-icon .value=${e.icon}></ft-icon>
852
870
  `:z}
853
871
  ${e.label}
854
872
  </ft-text-field-suggestion>`)}
855
- `:N`
873
+ `:P`
856
874
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
857
- `}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return N`
875
+ `}onSuggestionClick(e,r){r&&(e.preventDefault(),r(e))}renderPasswordIcon(){return P`
858
876
  <ft-icon class="ft-text-field--icon"
859
877
  .variant=${this.iconVariant}
860
878
  .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
861
879
  @click=${()=>this.togglePasswordVisibility()}></ft-icon>
862
- `}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?N`
880
+ `}renderIcon(){return this.isPasswordField()?this.renderPasswordIcon():this.icon?P`
863
881
  <ft-icon class="ft-text-field--icon"
864
882
  .variant=${this.iconVariant}
865
883
  .value=${this.icon}
866
884
  @click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
867
- `:z}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var o,n,i;!((o=this.input)===null||o===void 0)&&o.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,o=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),o&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var o;let n=((o=this.input)===null||o===void 0?void 0:o.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var o;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(o=this.visibleSuggestions[i])===null||o===void 0||o.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var o;this.setValue(e.detail,!0),(o=this.input)===null||o===void 0||o.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,o;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];ra(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:o,y:n})=>{this.suggestionsContainer.style.left=`${o}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};Z.elementDefinitions={"ft-input-label":Fe,"ft-ripple":oe,"ft-typography":ge,"ft-icon":fe,"ft-text-field-suggestion":Ze};Z.styles=[Vr,pa,pd];Q([b()],Z.prototype,"label",void 0);Q([b({noAccessor:!0})],Z.prototype,"value",null);Q([j()],Z.prototype,"dispatchedValue",void 0);Q([b()],Z.prototype,"helper",void 0);Q([b()],Z.prototype,"suggestionsHelper",void 0);Q([b({type:Boolean})],Z.prototype,"outlined",void 0);Q([b({type:Boolean})],Z.prototype,"disabled",void 0);Q([b({type:Boolean})],Z.prototype,"error",void 0);Q([b({type:Boolean})],Z.prototype,"fixedMenuPosition",void 0);Q([b()],Z.prototype,"prefix",void 0);Q([b()],Z.prototype,"icon",void 0);Q([b()],Z.prototype,"name",void 0);Q([b()],Z.prototype,"type",void 0);Q([b()],Z.prototype,"passwordHiddenIcon",void 0);Q([b()],Z.prototype,"passwordRevealedIcon",void 0);Q([b()],Z.prototype,"iconVariant",void 0);Q([b({type:Boolean})],Z.prototype,"filterSuggestions",void 0);Q([b({type:Number})],Z.prototype,"maxLength",void 0);Q([b({type:Boolean})],Z.prototype,"password",void 0);Q([b({type:String})],Z.prototype,"autocomplete",void 0);Q([b({attribute:!1})],Z.prototype,"suggestionsProvider",void 0);Q([j()],Z.prototype,"focused",void 0);Q([j()],Z.prototype,"hidePassword",void 0);Q([j()],Z.prototype,"hideSuggestions",void 0);Q([j()],Z.prototype,"visibleSuggestions",void 0);Q([j()],Z.prototype,"providedSuggestions",void 0);Q([ae(".ft-text-field--main-panel")],Z.prototype,"mainPanel",void 0);Q([ae(".ft-text-field--input")],Z.prototype,"input",void 0);Q([ae(".ft-text-field-suggestion--new-value")],Z.prototype,"newValueSuggestion",void 0);Q([ae(".ft-text-field--suggestions")],Z.prototype,"suggestionsContainer",void 0);Q([jn("ft-text-field-suggestion")],Z.prototype,"providedSuggestionsInDom",void 0);Q([Kn({selector:"ft-text-field-suggestion"})],Z.prototype,"slottedSuggestions",void 0);ie("ft-text-field")(Z);ie("ft-text-field-suggestion")(Ze);var V={...W,chipGap:r.extend("--ft-combobox-chip-gap","",c.spacing1),chipsMarginTop:r.extend("--ft-combobox-chips-margin-top","",c.spacing2),suggestSize:r.create("--ft-combobox-suggest-size","","SIZE","370px")},hd=P`
885
+ `:z}update(e){super.update(e),(e.has("value")||e.has("filterSuggestions")||e.has("suggestionsProvider"))&&this.updateSuggestions(),e.has("value")&&e.get("value")!=null&&(this.hideSuggestions=!1),e.has("dispatchedValue")&&e.get("dispatchedValue")!=null&&(this.hideSuggestions=!0)}async updateSuggestions(){this.suggestionsProvider?this.providedSuggestions=await this.suggestionsProvider(this.value):this.filterSuggestionsIfNeeded()}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.slottedSuggestions.forEach(e=>e.hidden=!e.getValue().toLowerCase().includes(this.value.toLowerCase())),this.visibleSuggestions=this.slottedSuggestions.filter(e=>!e.hidden)):this.visibleSuggestions=this.slottedSuggestions,this.newValueSuggestion&&(this.visibleSuggestions=[...this.visibleSuggestions,this.newValueSuggestion]),this.hideSuggestions=this.visibleSuggestions.length<=0}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0&&this.setSuggestionPosition(),e.has("value")&&this.suggestionsProvider&&(this.visibleSuggestions=[...this.providedSuggestionsInDom]),e.has("autocomplete")&&this.setupWatchAutofill(),this.suggestionsShouldBeDisplayed()&&this.setSuggestionPosition()}setupWatchAutofill(){var e;this.clearWatchAutofill(),((e=this.autocomplete)!==null&&e!==void 0?e:"off")!=="off"&&(this.watchAutofillInterval=setInterval(()=>{var r,n,i;!((r=this.input)===null||r===void 0)&&r.matches(":autofill")&&this.dispatchedValue!==((n=this.input)===null||n===void 0?void 0:n.value)&&this.setValue((i=this.input)===null||i===void 0?void 0:i.value,!0)},200))}clearWatchAutofill(){this.watchAutofillInterval&&clearInterval(this.watchAutofillInterval)}connectedCallback(){super.connectedCallback(),this.setupWatchAutofill()}disconnectedCallback(){super.disconnectedCallback(),this.clearWatchAutofill()}setValue(e,r=!1){this.value!==e&&(this.setInternalValue(e),this.dispatchEvent(new CustomEvent("live-change",{detail:e}))),r&&this.dispatchedValue!==e&&(this.dispatchedValue=e,this.dispatchEvent(new CustomEvent("change",{detail:e})))}handleInput(e){var r;let n=((r=this.input)===null||r===void 0?void 0:r.value)||"";this.setValue(n,e.key=="Escape"||e.key=="Enter")}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(e){var r;if(e.key==="ArrowDown"||e.key==="ArrowUp"){e.preventDefault(),e.stopPropagation(),this.hideSuggestions=!1;let n=this.visibleSuggestions.findIndex(a=>a.matches(":focus-within")),i;e.key==="ArrowDown"?i=n<this.visibleSuggestions.length-1?n+1:0:i=n>0?n-1:this.visibleSuggestions.length-1,(r=this.visibleSuggestions[i])===null||r===void 0||r.focus()}(e.key=="Escape"||e.key=="Enter")&&(this.hideSuggestions=!0)}onSuggestionSelected(e){var r;this.setValue(e.detail,!0),(r=this.input)===null||r===void 0||r.focus(),setTimeout(()=>this.hideSuggestions=!0,0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var e,r;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1,this.setValue(((r=this.input)===null||r===void 0?void 0:r.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}isPasswordField(){return this.password||this.type==="password"}setSuggestionPosition(){this.suggestionsContainer.style.width=this.mainPanel.getBoundingClientRect().width+"px";let e=["bottom","top"];aa(this.mainPanel,this.suggestionsContainer,"bottom",e,"fixed","--text-field-internal-suggest-size",0).then(({x:r,y:n})=>{this.suggestionsContainer.style.left=`${r}px`,this.suggestionsContainer.style.top=`${n}px`})}suggestionsShouldBeDisplayed(){return!this.hideSuggestions&&(this.visibleSuggestions.length||this.providedSuggestions.length)}};Z.elementDefinitions={"ft-input-label":Fe,"ft-ripple":ne,"ft-typography":be,"ft-icon":fe,"ft-text-field-suggestion":Ze};Z.styles=[Kr,ga,gd];Q([b()],Z.prototype,"label",void 0);Q([b({noAccessor:!0})],Z.prototype,"value",null);Q([G()],Z.prototype,"dispatchedValue",void 0);Q([b()],Z.prototype,"helper",void 0);Q([b()],Z.prototype,"suggestionsHelper",void 0);Q([b({type:Boolean})],Z.prototype,"outlined",void 0);Q([b({type:Boolean})],Z.prototype,"disabled",void 0);Q([b({type:Boolean})],Z.prototype,"error",void 0);Q([b({type:Boolean})],Z.prototype,"fixedMenuPosition",void 0);Q([b()],Z.prototype,"prefix",void 0);Q([b()],Z.prototype,"icon",void 0);Q([b()],Z.prototype,"name",void 0);Q([b()],Z.prototype,"type",void 0);Q([b()],Z.prototype,"passwordHiddenIcon",void 0);Q([b()],Z.prototype,"passwordRevealedIcon",void 0);Q([b()],Z.prototype,"iconVariant",void 0);Q([b({type:Boolean})],Z.prototype,"filterSuggestions",void 0);Q([b({type:Number})],Z.prototype,"maxLength",void 0);Q([b({type:Boolean})],Z.prototype,"password",void 0);Q([b({type:String})],Z.prototype,"autocomplete",void 0);Q([b({attribute:!1})],Z.prototype,"suggestionsProvider",void 0);Q([G()],Z.prototype,"focused",void 0);Q([G()],Z.prototype,"hidePassword",void 0);Q([G()],Z.prototype,"hideSuggestions",void 0);Q([G()],Z.prototype,"visibleSuggestions",void 0);Q([G()],Z.prototype,"providedSuggestions",void 0);Q([ae(".ft-text-field--main-panel")],Z.prototype,"mainPanel",void 0);Q([ae(".ft-text-field--input")],Z.prototype,"input",void 0);Q([ae(".ft-text-field-suggestion--new-value")],Z.prototype,"newValueSuggestion",void 0);Q([ae(".ft-text-field--suggestions")],Z.prototype,"suggestionsContainer",void 0);Q([xi("ft-text-field-suggestion")],Z.prototype,"providedSuggestionsInDom",void 0);Q([vi({selector:"ft-text-field-suggestion"})],Z.prototype,"slottedSuggestions",void 0);re("ft-text-field")(Z);re("ft-text-field-suggestion")(Ze);var V={...W,chipGap:o.extend("--ft-combobox-chip-gap","",c.spacing1),chipsMarginTop:o.extend("--ft-combobox-chips-margin-top","",c.spacing2),suggestSize:o.create("--ft-combobox-suggest-size","","SIZE","370px")},bd=_`
868
886
  *:focus {
869
887
  outline: none;
870
888
  }
@@ -1040,7 +1058,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1040
1058
  }
1041
1059
 
1042
1060
  .ft-combobox--with-icon {
1043
- ${v(U.labelMaxWidth,`calc(100% - ${le.size} - ${V.horizontalSpacing})`)};
1061
+ ${v(U.labelMaxWidth,`calc(100% - ${ce.size} - ${V.horizontalSpacing})`)};
1044
1062
  }
1045
1063
 
1046
1064
  .ft-combobox--chips-container {
@@ -1053,7 +1071,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1053
1071
  .ft-combobox--chips-container ft-chip {
1054
1072
  flex-shrink: 0;
1055
1073
  }
1056
- `;var pe={color:r.extend("--ft-loader-color","",B.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},md=P`
1074
+ `;var ue={color:o.extend("--ft-loader-color","",B.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},xd=_`
1057
1075
  :host {
1058
1076
  line-height: 0;
1059
1077
  }
@@ -1062,8 +1080,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1062
1080
  display: inline-block;
1063
1081
  position: relative;
1064
1082
 
1065
- width: ${pe.size};
1066
- height: ${pe.size};
1083
+ width: ${ue.size};
1084
+ height: ${ue.size};
1067
1085
  }
1068
1086
 
1069
1087
  .ft-loader div {
@@ -1072,7 +1090,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1072
1090
  width: 25%;
1073
1091
  height: 25%;
1074
1092
  border-radius: 50%;
1075
- background: ${pe.color};
1093
+ background: ${ue.color};
1076
1094
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
1077
1095
  }
1078
1096
 
@@ -1119,10 +1137,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1119
1137
  transform: translate(0, 0);
1120
1138
  }
1121
1139
  100% {
1122
- transform: translate(calc(0.35 * ${pe.size}), 0);
1140
+ transform: translate(calc(0.35 * ${ue.size}), 0);
1123
1141
  }
1124
1142
  }
1125
- `;var gd=r.extend("--ft-button-color","",B.colorPrimary),he={backgroundColor:r.extend("--ft-button-background-color","",B.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",B.borderRadiusL),color:gd,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","",gd),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(B.colorOpacityDisabled,"Design system")},yd=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",B.colorOnPrimary)),ls={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",B.colorPrimary)),color:yd,rippleColor:r.extend("--ft-button-primary-ripple-color","",yd)},ft={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",B.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")},bd=[P`
1143
+ `;var vd=o.extend("--ft-button-color","",B.colorPrimary),he={backgroundColor:o.extend("--ft-button-background-color","",B.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",B.borderRadiusL),color:vd,fontSize:o.extend("--ft-button-font-size","",ft.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",vd),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(B.colorOpacityDisabled,"Design system")},Sd=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",B.colorOnPrimary)),ds={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",B.colorPrimary)),color:Sd,rippleColor:o.extend("--ft-button-primary-ripple-color","",Sd)},ht={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",B.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Cd=[_`
1126
1144
  :host {
1127
1145
  display: inline-block;
1128
1146
  max-width: 100%;
@@ -1165,7 +1183,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1165
1183
 
1166
1184
  --button-internal-line-height: max(calc(${he.fontSize} + 2px), ${he.iconSize});
1167
1185
  --button-internal-color: ${he.color};
1168
- ${v(le.size,he.iconSize)};
1186
+ ${v(ce.size,he.iconSize)};
1169
1187
  ${v(R.color,he.rippleColor)};
1170
1188
 
1171
1189
  border-radius: ${he.borderRadius};
@@ -1181,13 +1199,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1181
1199
  }
1182
1200
 
1183
1201
  .ft-button.ft-button--dense {
1184
- padding: ${ft.verticalPadding} ${ft.horizontalPadding};
1185
- border-radius: ${ft.borderRadius};
1186
- gap: ${ft.iconPadding};
1202
+ padding: ${ht.verticalPadding} ${ht.horizontalPadding};
1203
+ border-radius: ${ht.borderRadius};
1204
+ gap: ${ht.iconPadding};
1187
1205
  }
1188
1206
 
1189
1207
  .ft-button.ft-button--dense.ft-button--outlined {
1190
- padding: calc(${ft.verticalPadding} - 1px) calc(${ft.horizontalPadding} - 1px);
1208
+ padding: calc(${ht.verticalPadding} - 1px) calc(${ht.horizontalPadding} - 1px);
1191
1209
  }
1192
1210
 
1193
1211
  .ft-button:not([disabled]):hover {
@@ -1199,7 +1217,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1199
1217
  }
1200
1218
 
1201
1219
  .ft-button--round.ft-button--dense {
1202
- border-radius: calc(var(--button-internal-line-height) / 2 + ${ft.verticalPadding});
1220
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${ht.verticalPadding});
1203
1221
  }
1204
1222
 
1205
1223
  .ft-button[disabled] {
@@ -1208,9 +1226,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1208
1226
  }
1209
1227
 
1210
1228
  .ft-button.ft-button--primary {
1211
- background-color: ${ls.backgroundColor};
1212
- --button-internal-color: ${ls.color};
1213
- ${v(R.color,ls.rippleColor)};
1229
+ background-color: ${ds.backgroundColor};
1230
+ --button-internal-color: ${ds.color};
1231
+ ${v(R.color,ds.rippleColor)};
1214
1232
  }
1215
1233
 
1216
1234
  .ft-button:focus {
@@ -1224,12 +1242,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1224
1242
  text-overflow: ellipsis;
1225
1243
  display: block;
1226
1244
  margin: 0 ${he.iconPadding};
1227
- ${v(pt.fontSize,"1em")};
1228
- ${v(pt.lineHeight,"var(--button-internal-line-height)")};
1245
+ ${v(ft.fontSize,"1em")};
1246
+ ${v(ft.lineHeight,"var(--button-internal-line-height)")};
1229
1247
  }
1230
1248
 
1231
1249
  .ft-button--dense .ft-button--label {
1232
- margin: 0 ${ft.iconPadding};
1250
+ margin: 0 ${ht.iconPadding};
1233
1251
  }
1234
1252
 
1235
1253
  .ft-button--label[hidden] {
@@ -1247,8 +1265,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1247
1265
  }
1248
1266
 
1249
1267
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
1250
- margin: 0 calc(${ft.horizontalPadding} * -1);
1251
- padding: 0 ${ft.verticalPadding};
1268
+ margin: 0 calc(${ht.horizontalPadding} * -1);
1269
+ padding: 0 ${ht.verticalPadding};
1252
1270
  }
1253
1271
 
1254
1272
  .ft-button:not(.ft-button--trailing-icon) [part="label"] {
@@ -1256,10 +1274,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1256
1274
  }
1257
1275
 
1258
1276
  ft-loader {
1259
- ${v(pe.size,he.iconSize)};
1260
- ${v(pe.color,"var(--button-internal-color)")};
1277
+ ${v(ue.size,he.iconSize)};
1278
+ ${v(ue.color,"var(--button-internal-color)")};
1261
1279
  }
1262
- `,Ct];var jr={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(B.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},xd=P`
1280
+ `,Et];var Xr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(B.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Od=_`
1263
1281
  .ft-tooltip--container {
1264
1282
  display: block;
1265
1283
  }
@@ -1274,21 +1292,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1274
1292
  box-sizing: border-box;
1275
1293
  overflow: hidden;
1276
1294
  width: max-content;
1277
- max-width: ${jr.maxWidth};
1295
+ max-width: ${Xr.maxWidth};
1278
1296
  text-align: center;
1279
- padding: ${jr.distance};
1280
- z-index: ${jr.zIndex};
1297
+ padding: ${Xr.distance};
1298
+ z-index: ${Xr.zIndex};
1281
1299
  }
1282
1300
 
1283
1301
  .ft-tooltip--content {
1284
1302
  padding: 4px 8px;
1285
- border-radius: ${jr.borderRadiusS};
1286
- background-color: ${jr.backgroundColor};
1287
- color: ${jr.color};
1303
+ border-radius: ${Xr.borderRadiusS};
1304
+ background-color: ${Xr.backgroundColor};
1305
+ color: ${Xr.color};
1288
1306
  position: relative;
1289
1307
  word-break: break-word;
1290
1308
  }
1291
- `;var tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},xe=class extends K{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ie,this.revealDebouncer=new Ie,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return N`
1309
+ `;var it=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},xe=class extends K{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Le,this.revealDebouncer=new Le,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)||this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return P`
1292
1310
  <div part="container"
1293
1311
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
1294
1312
  <slot part="slot"></slot>
@@ -1301,55 +1319,55 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1301
1319
  </div>
1302
1320
  </div>
1303
1321
  </div>
1304
- `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let n=this.manual;this.manual=!0;let i=this.text;this.text=e,await this.show(o),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ta(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${B.transitionDuration}, left ${B.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||ri(e,this.ignoreMatchingElements,this.eventsTarget)}};xe.elementDefinitions={"ft-typography":ge};xe.styles=xd;tt([b()],xe.prototype,"text",void 0);tt([b({type:Boolean})],xe.prototype,"manual",void 0);tt([b({type:Boolean})],xe.prototype,"inline",void 0);tt([Lt()],xe.prototype,"delay",void 0);tt([b()],xe.prototype,"position",void 0);tt([We([])],xe.prototype,"ignoreMatchingElements",void 0);tt([no()],xe.prototype,"slotNodes",void 0);tt([ae(".ft-tooltip--container")],xe.prototype,"container",void 0);tt([ae(".ft-tooltip")],xe.prototype,"tooltip",void 0);tt([ae(".ft-tooltip--content")],xe.prototype,"tooltipContent",void 0);tt([j()],xe.prototype,"visible",void 0);ie("ft-tooltip")(xe);var sr=class extends K{render(){return N`
1322
+ `}setupFor(e){this.eventsTarget!==e&&(this.removeHandlers(),this.eventsTarget=e,this.eventsTarget.addEventListener("mouseenter",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseenter",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let n=this.manual;this.manual=!0;let i=this.text;this.text=e,await this.show(r),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ia(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${B.transitionDuration}, left ${B.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||Li(e,this.ignoreMatchingElements,this.eventsTarget)}};xe.elementDefinitions={"ft-typography":be};xe.styles=Od;it([b()],xe.prototype,"text",void 0);it([b({type:Boolean})],xe.prototype,"manual",void 0);it([b({type:Boolean})],xe.prototype,"inline",void 0);it([Nt()],xe.prototype,"delay",void 0);it([b()],xe.prototype,"position",void 0);it([We([])],xe.prototype,"ignoreMatchingElements",void 0);it([co()],xe.prototype,"slotNodes",void 0);it([ae(".ft-tooltip--container")],xe.prototype,"container",void 0);it([ae(".ft-tooltip")],xe.prototype,"tooltip",void 0);it([ae(".ft-tooltip--content")],xe.prototype,"tooltipContent",void 0);it([G()],xe.prototype,"visible",void 0);re("ft-tooltip")(xe);var dr=class extends K{render(){return P`
1305
1323
  <div class="ft-loader">
1306
1324
  <div></div>
1307
1325
  <div></div>
1308
1326
  <div></div>
1309
1327
  <div></div>
1310
1328
  </div>
1311
- `}};sr.styles=md;ie("ft-loader")(sr);var Oe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ce=class extends Ao(K){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let i=N`
1329
+ `}};dr.styles=xd;re("ft-loader")(dr);var Ce=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},se=class extends Io(K){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i=P`
1312
1330
  <ft-ripple part="ripple"
1313
1331
  ?disabled=${this.isDisabled()}
1314
1332
  ?activated=${this.activated}
1315
1333
  ></ft-ripple>
1316
- <ft-typography part="label"
1317
- variant="${this.typographyVariant}"
1318
- element="span"
1319
- class="ft-button--label ${To?"ft-safari-ellipsis-fix":""}"
1320
- ?hidden=${!this.hasTextContent()}>
1334
+ <ft-or-ftds-typography part="label"
1335
+ variant="${this.typographyVariant}"
1336
+ element="span"
1337
+ class="ft-button--label ${No?"ft-safari-ellipsis-fix":""}"
1338
+ ?hidden=${!this.hasTextContent()}>
1321
1339
  <slot @slotchange=${this.onSlotchange}></slot>
1322
- </ft-typography>
1340
+ </ft-or-ftds-typography>
1323
1341
  ${this.resolveIcon()}
1324
- `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?N`
1342
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?P`
1325
1343
  <a href="${a}"
1326
1344
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
1327
1345
  part="button"
1328
- class="${ye(this.buttonClasses)}"
1329
- aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
1346
+ class="${ge(this.buttonClasses)}"
1347
+ aria-label="${(r=this.ariaLabel)!==null&&r!==void 0?r:this.getLabel()}"
1330
1348
  ?disabled=${this.isDisabled()}>
1331
1349
  ${i}
1332
1350
  </a>
1333
- `:N`
1351
+ `:P`
1334
1352
  <button part="button"
1335
- class="${ye(this.buttonClasses)}"
1353
+ class="${ge(this.buttonClasses)}"
1336
1354
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
1337
- aria-haspopup="${et(this.ariaHasPopup)}"
1355
+ aria-haspopup="${rt(this.ariaHasPopup)}"
1338
1356
  ?disabled=${this.isDisabled()}>
1339
1357
  ${i}
1340
1358
  </button>
1341
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?N`
1359
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?P`
1342
1360
  <ft-tooltip part="tooltip"
1343
1361
  text="${this.getLabel()}"
1344
1362
  position="${this.tooltipPosition}">
1345
1363
  ${e}
1346
1364
  </ft-tooltip>
1347
- `:e}resolveIcon(){return this.loading?N`
1348
- <ft-loader part="loader icon"></ft-loader> `:this.icon?N`
1365
+ `:e}resolveIcon(){return this.loading?P`
1366
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?P`
1349
1367
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1350
- `:N`
1368
+ `:P`
1351
1369
  <slot part="icon" name="icon"></slot>
1352
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return yr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ce.elementDefinitions={"ft-ripple":oe,"ft-tooltip":xe,"ft-typography":ge,"ft-icon":fe,"ft-loader":sr};Oe([b()],ce.prototype,"href",void 0);Oe([b()],ce.prototype,"target",void 0);Oe([b()],ce.prototype,"type",void 0);Oe([b({type:Boolean})],ce.prototype,"disabled",void 0);Oe([b()],ce.prototype,"label",void 0);Oe([b()],ce.prototype,"icon",void 0);Oe([b()],ce.prototype,"iconVariant",void 0);Oe([b({type:Boolean})],ce.prototype,"trailingIcon",void 0);Oe([b({type:Boolean})],ce.prototype,"loading",void 0);Oe([b({attribute:"aria-label"})],ce.prototype,"ariaLabel",void 0);Oe([b()],ce.prototype,"ariaHasPopup",void 0);Oe([b()],ce.prototype,"tooltipPosition",void 0);Oe([b({type:Boolean})],ce.prototype,"hideTooltip",void 0);Oe([b({type:Boolean})],ce.prototype,"forceTooltip",void 0);Oe([b({type:Boolean})],ce.prototype,"activated",void 0);Oe([ae(".ft-button")],ce.prototype,"button",void 0);Oe([ae(".ft-button--label slot")],ce.prototype,"slottedContent",void 0);Oe([ae("[part=tooltip]")],ce.prototype,"tooltip",void 0);var mn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},rt=class extends ce{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"}};rt.styles=[bo,bd];mn([b({type:Boolean})],rt.prototype,"primary",void 0);mn([b({type:Boolean})],rt.prototype,"outlined",void 0);mn([b({type:Boolean})],rt.prototype,"dense",void 0);mn([b({type:Boolean})],rt.prototype,"round",void 0);var cs={...y,iconOnlyScale:r.create("--ft-button-icon-only-scale","","NUMBER","1")},vd=[P`
1370
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return vr(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};se.elementDefinitions={"ft-ripple":ne,"ft-tooltip":xe,"ft-icon":fe,"ft-loader":dr};Ce([b()],se.prototype,"href",void 0);Ce([b()],se.prototype,"target",void 0);Ce([b()],se.prototype,"type",void 0);Ce([b({type:Boolean})],se.prototype,"disabled",void 0);Ce([b()],se.prototype,"label",void 0);Ce([b()],se.prototype,"icon",void 0);Ce([b()],se.prototype,"iconVariant",void 0);Ce([b({type:Boolean})],se.prototype,"trailingIcon",void 0);Ce([b({type:Boolean})],se.prototype,"loading",void 0);Ce([b({attribute:"aria-label"})],se.prototype,"ariaLabel",void 0);Ce([b()],se.prototype,"ariaHasPopup",void 0);Ce([b()],se.prototype,"tooltipPosition",void 0);Ce([b({type:Boolean})],se.prototype,"hideTooltip",void 0);Ce([b({type:Boolean})],se.prototype,"forceTooltip",void 0);Ce([b({type:Boolean})],se.prototype,"activated",void 0);Ce([ae(".ft-button")],se.prototype,"button",void 0);Ce([ae(".ft-button--label slot")],se.prototype,"slottedContent",void 0);Ce([ae("[part=tooltip]")],se.prototype,"tooltip",void 0);var Hn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},qe=class extends se{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 Tt.button}};qe.elementDefinitions={...se.elementDefinitions,"ft-or-ftds-typography":be};qe.styles=[Co,Cd];Hn([b({type:Boolean})],qe.prototype,"primary",void 0);Hn([b({type:Boolean})],qe.prototype,"outlined",void 0);Hn([b({type:Boolean})],qe.prototype,"dense",void 0);Hn([b({type:Boolean})],qe.prototype,"round",void 0);var ps={...y,iconOnlyScale:o.create("--ft-button-icon-only-scale","","NUMBER","1")},Ed=[_`
1353
1371
  :host {
1354
1372
  display: inline-block;
1355
1373
  max-width: 100%;
@@ -1432,13 +1450,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1432
1450
  }
1433
1451
 
1434
1452
  .ft-button.ft-button--icon-only ft-icon {
1435
- transform: scale(${cs.iconOnlyScale});
1453
+ transform: scale(${ps.iconOnlyScale});
1436
1454
  }
1437
1455
 
1438
1456
  /** Brand Primary styles **/
1439
1457
 
1440
1458
  .ftds--family-brand.ft-button--primary {
1441
- ${v(pe.color,y.primaryBrandIconColor)};
1459
+ ${v(ue.color,y.primaryBrandIconColor)};
1442
1460
 
1443
1461
  ${v(R.color,y.primaryBrandStateLayerColor)};
1444
1462
  ${v(R.opacityContentOnSurfaceHover,y.primaryBrandHoverStateLayerOpacity)};
@@ -1462,7 +1480,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1462
1480
  /** Brand Secondary styles **/
1463
1481
 
1464
1482
  .ftds--family-brand.ft-button--secondary {
1465
- ${v(pe.color,y.secondaryBrandIconColor)};
1483
+ ${v(ue.color,y.secondaryBrandIconColor)};
1466
1484
 
1467
1485
  ${v(R.color,y.secondaryBrandStateLayerColor)};
1468
1486
  ${v(R.opacityContentOnSurfaceHover,y.secondaryBrandHoverStateLayerOpacity)};
@@ -1487,7 +1505,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1487
1505
  /** Brand Tertiary styles **/
1488
1506
 
1489
1507
  .ftds--family-brand.ft-button--tertiary {
1490
- ${v(pe.color,y.tertiaryBrandIconColor)};
1508
+ ${v(ue.color,y.tertiaryBrandIconColor)};
1491
1509
 
1492
1510
  ${v(R.color,y.tertiaryBrandStateLayerColor)};
1493
1511
  ${v(R.opacityContentOnSurfaceHover,y.tertiaryBrandHoverStateLayerOpacity)};
@@ -1511,7 +1529,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1511
1529
  /** Neutral Secondary styles **/
1512
1530
 
1513
1531
  .ftds--family-neutral.ft-button--secondary {
1514
- ${v(pe.color,y.secondaryNeutralIconColor)};
1532
+ ${v(ue.color,y.secondaryNeutralIconColor)};
1515
1533
 
1516
1534
  ${v(R.backgroundColor,y.secondaryNeutralStateLayerColor)};
1517
1535
  ${v(R.opacityContentOnSurfaceHover,y.secondaryNeutralHoverStateLayerOpacity)};
@@ -1536,7 +1554,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1536
1554
  /** Neutral Tertiary styles **/
1537
1555
 
1538
1556
  .ftds--family-neutral.ft-button--tertiary {
1539
- ${v(pe.color,y.tertiaryNeutralIconColor)};
1557
+ ${v(ue.color,y.tertiaryNeutralIconColor)};
1540
1558
 
1541
1559
  ${v(R.backgroundColor,y.tertiaryNeutralStateLayerColor)};
1542
1560
  ${v(R.opacityContentOnSurfaceHover,y.tertiaryNeutralHoverStateLayerOpacity)};
@@ -1560,7 +1578,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1560
1578
  /** Info Secondary styles **/
1561
1579
 
1562
1580
  .ftds--family-info.ft-button--secondary {
1563
- ${v(pe.color,y.secondaryInfoIconColor)};
1581
+ ${v(ue.color,y.secondaryInfoIconColor)};
1564
1582
 
1565
1583
  ${v(R.backgroundColor,y.secondaryInfoStateLayerColor)};
1566
1584
  ${v(R.opacityContentOnSurfaceHover,y.secondaryInfoHoverStateLayerOpacity)};
@@ -1585,7 +1603,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1585
1603
  /** Info Tertiary styles **/
1586
1604
 
1587
1605
  .ftds--family-info.ft-button--tertiary {
1588
- ${v(pe.color,y.tertiaryInfoIconColor)};
1606
+ ${v(ue.color,y.tertiaryInfoIconColor)};
1589
1607
 
1590
1608
  ${v(R.backgroundColor,y.tertiaryInfoStateLayerColor)};
1591
1609
  ${v(R.opacityContentOnSurfaceHover,y.tertiaryInfoHoverStateLayerOpacity)};
@@ -1609,7 +1627,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1609
1627
  /** Success Secondary styles **/
1610
1628
 
1611
1629
  .ftds--family-success.ft-button--secondary {
1612
- ${v(pe.color,y.secondarySuccessIconColor)};
1630
+ ${v(ue.color,y.secondarySuccessIconColor)};
1613
1631
 
1614
1632
  ${v(R.backgroundColor,y.secondarySuccessStateLayerColor)};
1615
1633
  ${v(R.opacityContentOnSurfaceHover,y.secondarySuccessHoverStateLayerOpacity)};
@@ -1634,7 +1652,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1634
1652
  /** Success Tertiary styles **/
1635
1653
 
1636
1654
  .ftds--family-success.ft-button--tertiary {
1637
- ${v(pe.color,y.tertiarySuccessIconColor)};
1655
+ ${v(ue.color,y.tertiarySuccessIconColor)};
1638
1656
 
1639
1657
  ${v(R.backgroundColor,y.tertiarySuccessStateLayerColor)};
1640
1658
  ${v(R.opacityContentOnSurfaceHover,y.tertiarySuccessHoverStateLayerOpacity)};
@@ -1658,7 +1676,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1658
1676
  /** Warning Secondary styles **/
1659
1677
 
1660
1678
  .ftds--family-warning.ft-button--secondary {
1661
- ${v(pe.color,y.secondaryWarningIconColor)};
1679
+ ${v(ue.color,y.secondaryWarningIconColor)};
1662
1680
 
1663
1681
  ${v(R.backgroundColor,y.secondaryWarningStateLayerColor)};
1664
1682
  ${v(R.opacityContentOnSurfaceHover,y.secondaryWarningHoverStateLayerOpacity)};
@@ -1683,7 +1701,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1683
1701
  /** Warning Tertiary styles **/
1684
1702
 
1685
1703
  .ftds--family-warning.ft-button--tertiary {
1686
- ${v(pe.color,y.tertiaryWarningIconColor)};
1704
+ ${v(ue.color,y.tertiaryWarningIconColor)};
1687
1705
 
1688
1706
  ${v(R.backgroundColor,y.tertiaryWarningStateLayerColor)};
1689
1707
  ${v(R.opacityContentOnSurfaceHover,y.tertiaryWarningHoverStateLayerOpacity)};
@@ -1707,7 +1725,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1707
1725
  /** Error Secondary styles **/
1708
1726
 
1709
1727
  .ftds--family-error.ft-button--secondary {
1710
- ${v(pe.color,y.secondaryErrorIconColor)};
1728
+ ${v(ue.color,y.secondaryErrorIconColor)};
1711
1729
 
1712
1730
  ${v(R.backgroundColor,y.secondaryErrorStateLayerColor)};
1713
1731
  ${v(R.opacityContentOnSurfaceHover,y.secondaryErrorHoverStateLayerOpacity)};
@@ -1732,7 +1750,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1732
1750
  /** Error Tertiary styles **/
1733
1751
 
1734
1752
  .ftds--family-error.ft-button--tertiary {
1735
- ${v(pe.color,y.tertiaryErrorIconColor)};
1753
+ ${v(ue.color,y.tertiaryErrorIconColor)};
1736
1754
 
1737
1755
  ${v(R.backgroundColor,y.tertiaryErrorStateLayerColor)};
1738
1756
  ${v(R.opacityContentOnSurfaceHover,y.tertiaryErrorHoverStateLayerOpacity)};
@@ -1756,8 +1774,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1756
1774
  /** Large styles **/
1757
1775
 
1758
1776
  .ftds--size-large {
1759
- ${v(le.size,y.largeIconSize)};
1760
- ${v(pe.size,y.largeIconSize)};
1777
+ ${v(ce.size,y.largeIconSize)};
1778
+ ${v(ue.size,y.largeIconSize)};
1761
1779
 
1762
1780
  height: ${y.largeHeight};
1763
1781
  padding: 0 ${y.largeHorizontalPadding};
@@ -1778,8 +1796,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1778
1796
  /** Small styles **/
1779
1797
 
1780
1798
  .ftds--size-medium {
1781
- ${v(le.size,y.mediumIconSize)};
1782
- ${v(pe.size,y.mediumIconSize)};
1799
+ ${v(ce.size,y.mediumIconSize)};
1800
+ ${v(ue.size,y.mediumIconSize)};
1783
1801
 
1784
1802
  height: ${y.mediumHeight};
1785
1803
  padding: 0 ${y.mediumHorizontalPadding};
@@ -1801,8 +1819,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1801
1819
  /** Small styles **/
1802
1820
 
1803
1821
  .ftds--size-small {
1804
- ${v(le.size,y.smallIconSize)};
1805
- ${v(pe.size,y.smallIconSize)};
1822
+ ${v(ce.size,y.smallIconSize)};
1823
+ ${v(ue.size,y.smallIconSize)};
1806
1824
 
1807
1825
  height: ${y.smallHeight};
1808
1826
  padding: 0 ${y.smallHorizontalPadding};
@@ -1819,7 +1837,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1819
1837
  .ftds--size-small.ft-button--icon-only {
1820
1838
  width: ${y.smallIconOnlyWidth};
1821
1839
  }
1822
- `,Ct];var gn=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ot=class extends wr(ce){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=bt.brand,this.iconVariant=Ke.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Se.large:return Ne.body2medium;case Se.medium:return Ne.caption1medium;case Se.small:return Ne.caption2medium}}};ot.styles=[bo,vd];gn([b({type:Boolean})],ot.prototype,"primary",void 0);gn([b({type:Boolean})],ot.prototype,"secondary",void 0);gn([b({type:Boolean})],ot.prototype,"tertiary",void 0);gn([b({type:Boolean})],ot.prototype,"round",void 0);ie("ft-button")(rt);ie("ftds-button")(ot);var Sd=r.extend("--ft-chip-color","",B.colorOnSurface),ke={backgroundColor:r.extend("--ft-chip-background-color","",B.colorSurface),color:Sd,fontSize:r.extend("--ft-chip-font-size","",je.fontSize),fontWeight:r.extend("--ft-chip-font-weight","",je.fontWeight),iconSize:r.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:r.create("--ft-chip-border-radius","","SIZE",""),rippleColor:r.extend("--ft-chip-ripple-color","",Sd),horizontalPadding:r.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:r.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:r.extend("--ft-chip-border-color","",B.colorOutline),opacityDisabled:r.external(B.colorOpacityDisabled,"Design system")},Cd=r.extend("--ft-chip-highlighted-color","",r.extend("--ft-chip-color","",B.colorOnPrimary)),ds={backgroundColor:r.extend("--ft-chip-highlighted-background-color","",r.extend("--ft-chip-background-color","",B.colorPrimary)),color:Cd,rippleColor:r.extend("--ft-chip-highlighted-ripple-color","",Cd)},Od={horizontalPadding:r.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:r.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Ed=[Ct,P`
1840
+ `,Et];var Wn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ye=class extends Tr(se){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=vt.brand,this.iconVariant=Ke.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ie.large:return ot.body2medium;case Ie.medium:return ot.caption1medium;case Ie.small:return ot.caption2medium}}};Ye.elementDefinitions={...se.elementDefinitions,"ft-or-ftds-typography":nt};Ye.styles=[Co,Ed];Wn([b({type:Boolean})],Ye.prototype,"primary",void 0);Wn([b({type:Boolean})],Ye.prototype,"secondary",void 0);Wn([b({type:Boolean})],Ye.prototype,"tertiary",void 0);Wn([b({type:Boolean})],Ye.prototype,"round",void 0);re("ft-button")(qe);re("ftds-button")(Ye);var wd=o.extend("--ft-chip-color","",B.colorOnSurface),Pe={backgroundColor:o.extend("--ft-chip-background-color","",B.colorSurface),color:wd,fontSize:o.extend("--ft-chip-font-size","",Ge.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",Ge.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",wd),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",B.colorOutline),opacityDisabled:o.external(B.colorOpacityDisabled,"Design system")},Ad=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",B.colorOnPrimary)),us={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",B.colorPrimary)),color:Ad,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",Ad)},Rd={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Td=[Et,_`
1823
1841
  :host {
1824
1842
  display: inline-block;
1825
1843
  max-width: 100%;
@@ -1835,21 +1853,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1835
1853
  box-sizing: border-box;
1836
1854
  pointer-events: auto;
1837
1855
 
1838
- --chip-internal-font-size: ${ke.fontSize};
1839
- --chip-internal-font-weight: ${ke.fontWeight};
1856
+ --chip-internal-font-size: ${Pe.fontSize};
1857
+ --chip-internal-font-weight: ${Pe.fontWeight};
1840
1858
  --chip-internal-line-height: max(20px, calc(var(--chip-internal-font-size) + 2px));
1841
- ${v(le.size,ke.iconSize)};
1842
- --chip-internal-vertical-padding: ${ke.verticalPadding};
1843
- --chip-internal-horizontal-padding: ${ke.horizontalPadding};
1859
+ ${v(ce.size,Pe.iconSize)};
1860
+ --chip-internal-vertical-padding: ${Pe.verticalPadding};
1861
+ --chip-internal-horizontal-padding: ${Pe.horizontalPadding};
1844
1862
  --chip-internal-icon-padding: 3px;
1845
- --chip-internal-content-height: max(var(--chip-internal-line-height), ${ke.iconSize});
1863
+ --chip-internal-content-height: max(var(--chip-internal-line-height), ${Pe.iconSize});
1846
1864
 
1847
- border: 1px solid ${ke.borderColor};
1848
- color: ${ke.color};
1849
- ${v(R.color,ke.rippleColor)};
1850
- border-radius: var(${it(ke.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
1865
+ border: 1px solid ${Pe.borderColor};
1866
+ color: ${Pe.color};
1867
+ ${v(R.color,Pe.rippleColor)};
1868
+ border-radius: var(${$e(Pe.borderRadius.name)}, calc(var(--chip-internal-content-height) / 2 + var(--chip-internal-vertical-padding)));
1851
1869
  padding: calc(var(--chip-internal-vertical-padding) - 1px) calc(var(--chip-internal-horizontal-padding) - 1px);
1852
- background-color: ${ke.backgroundColor};
1870
+ background-color: ${Pe.backgroundColor};
1853
1871
  line-height: var(--chip-internal-content-height);
1854
1872
  }
1855
1873
 
@@ -1859,28 +1877,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1859
1877
 
1860
1878
  .ft-chip--dense {
1861
1879
  --chip-internal-icon-padding: 3px;
1862
- --chip-internal-vertical-padding: ${Od.verticalPadding};
1863
- --chip-internal-horizontal-padding: ${Od.horizontalPadding};
1880
+ --chip-internal-vertical-padding: ${Rd.verticalPadding};
1881
+ --chip-internal-horizontal-padding: ${Rd.horizontalPadding};
1864
1882
  --chip-internal-line-height: max(16px, calc(var(--chip-internal-font-size) + 2px));
1865
1883
  }
1866
1884
 
1867
1885
  .ft-chip--no-content {
1868
- --chip-internal-horizontal-padding: ${ke.horizontalPadding.get(P`var(--chip-internal-vertical-padding)`)};
1886
+ --chip-internal-horizontal-padding: ${Pe.horizontalPadding.get(_`var(--chip-internal-vertical-padding)`)};
1869
1887
  }
1870
1888
 
1871
1889
  .ft-chip--disabled {
1872
1890
  cursor: default;
1873
1891
  pointer-events: none;
1874
1892
  filter: grayscale(1);
1875
- opacity: ${ke.opacityDisabled};
1893
+ opacity: ${Pe.opacityDisabled};
1876
1894
  }
1877
1895
 
1878
1896
  .ft-chip--highlighted {
1879
1897
  border: none;
1880
1898
  padding: var(--chip-internal-vertical-padding) var(--chip-internal-horizontal-padding);
1881
- background-color: ${ds.backgroundColor};
1882
- ${v(R.color,ds.rippleColor)};
1883
- color: ${ds.color};
1899
+ background-color: ${us.backgroundColor};
1900
+ ${v(R.color,us.rippleColor)};
1901
+ color: ${us.color};
1884
1902
  }
1885
1903
 
1886
1904
  .ft-chip--clickable {
@@ -1911,7 +1929,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1911
1929
  }
1912
1930
 
1913
1931
  .ft-chip--icon-button {
1914
- ${v(he.iconSize,ke.iconSize)};
1932
+ ${v(he.iconSize,Pe.iconSize)};
1915
1933
  ${v(he.horizontalPadding,"var(--chip-internal-icon-padding)")};
1916
1934
  ${v(he.verticalPadding,"var(--chip-internal-icon-padding)")};
1917
1935
  margin: calc((-1) * var(--chip-internal-icon-padding));
@@ -1921,9 +1939,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1921
1939
  vertical-align: bottom;
1922
1940
  display: block;
1923
1941
  margin: 0 var(--chip-internal-horizontal-padding);
1924
- ${v(je.fontSize,"var(--chip-internal-font-size)")};
1925
- ${v(je.fontWeight,"var(--chip-internal-font-weight)")};
1926
- ${v(je.lineHeight,"var(--chip-internal-content-height)")};
1942
+ ${v(Ge.fontSize,"var(--chip-internal-font-size)")};
1943
+ ${v(Ge.fontWeight,"var(--chip-internal-font-weight)")};
1944
+ ${v(Ge.lineHeight,"var(--chip-internal-content-height)")};
1927
1945
  }
1928
1946
 
1929
1947
  .ft-chip--safari-fix .ft-chip--label {
@@ -1959,8 +1977,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1959
1977
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1960
1978
  order: -1;
1961
1979
  }
1962
- `];var $e=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},yn=class extends CustomEvent{constructor(){super("icon-click")}},me=class extends K{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":To};return N`
1963
- <div class="${ye(e)}"
1980
+ `];var ke=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Vn=class extends CustomEvent{constructor(){super("icon-click")}},me=class extends K{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":No};return P`
1981
+ <div class="${ge(e)}"
1964
1982
  aria-label="${this.getLabel()}"
1965
1983
  tabindex="${this.interactionsOnChip?0:-1}"
1966
1984
  @keyup=${this.onKeyUp}
@@ -1971,7 +1989,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1971
1989
  </ft-typography>
1972
1990
  ${this.internalIcon?this.renderIcon():null}
1973
1991
  </div>
1974
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?N`
1992
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?P`
1975
1993
  <ft-button round
1976
1994
  class="ft-chip--icon-button"
1977
1995
  @click=${this.onIconClick}
@@ -1982,11 +2000,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1982
2000
  part="icon-button"
1983
2001
  ?hideTooltip=${this.hideIconTooltip}
1984
2002
  ></ft-button>
1985
- `:N`
2003
+ `:P`
1986
2004
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1987
- <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
2005
+ <ft-icon .variant=${this.iconVariant} .value=${this.internalIcon} part="icon"></ft-icon>
1988
2006
  </div>
1989
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new yn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new yn))}getLabel(){return this.label||this.textContent}get textContent(){return yr(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};me.elementDefinitions={"ft-ripple":oe,"ft-typography":ge,"ft-icon":fe,"ft-button":rt};me.styles=Ed;$e([b({type:Boolean})],me.prototype,"highlighted",void 0);$e([b({type:Boolean})],me.prototype,"removable",void 0);$e([b({type:Boolean})],me.prototype,"disabled",void 0);$e([b({type:Boolean})],me.prototype,"clickable",void 0);$e([b({type:Boolean})],me.prototype,"iconClickable",void 0);$e([b({type:Boolean})],me.prototype,"dense",void 0);$e([b({type:Boolean})],me.prototype,"multiLine",void 0);$e([b()],me.prototype,"label",void 0);$e([b()],me.prototype,"iconLabel",void 0);$e([b({type:Boolean})],me.prototype,"hideIconTooltip",void 0);$e([b()],me.prototype,"icon",void 0);$e([b()],me.prototype,"iconVariant",void 0);$e([b({type:Boolean})],me.prototype,"trailingIcon",void 0);$e([ae("ft-typography slot")],me.prototype,"slottedContent",void 0);var wd=[P`
2007
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Vn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Vn))}getLabel(){return this.label||this.getTextContent()}getTextContent(){return vr(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};me.elementDefinitions={"ft-ripple":ne,"ft-typography":be,"ft-icon":fe,"ft-button":qe};me.styles=Td;ke([b({type:Boolean})],me.prototype,"highlighted",void 0);ke([b({type:Boolean})],me.prototype,"removable",void 0);ke([b({type:Boolean})],me.prototype,"disabled",void 0);ke([b({type:Boolean})],me.prototype,"clickable",void 0);ke([b({type:Boolean})],me.prototype,"iconClickable",void 0);ke([b({type:Boolean})],me.prototype,"dense",void 0);ke([b({type:Boolean})],me.prototype,"multiLine",void 0);ke([b()],me.prototype,"label",void 0);ke([b()],me.prototype,"iconLabel",void 0);ke([b({type:Boolean})],me.prototype,"hideIconTooltip",void 0);ke([b()],me.prototype,"icon",void 0);ke([b()],me.prototype,"iconVariant",void 0);ke([b({type:Boolean})],me.prototype,"trailingIcon",void 0);ke([ae("ft-typography slot")],me.prototype,"slottedContent",void 0);var Ld=[_`
1990
2008
  :host {
1991
2009
  display: inline-block;
1992
2010
  max-width: 100%;
@@ -2005,7 +2023,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2005
2023
  flex: none;
2006
2024
  }
2007
2025
 
2008
- .ftds-chip ft-typography {
2026
+ .ftds-chip ftds-typography {
2009
2027
  display: flex; /* For typo alignment in the chip */
2010
2028
  }
2011
2029
 
@@ -2025,14 +2043,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2025
2043
  border-radius: ${H.smallBorderRadius};
2026
2044
  border-width: ${H.smallBorderWidth};
2027
2045
  border-style: solid;
2028
- ${v(le.size,H.smallIconSize)}
2046
+ ${v(ce.size,H.smallIconSize)}
2029
2047
  }
2030
2048
 
2031
2049
  .ftds--size-small.ftds-chip--with-action {
2032
2050
  padding-right: ${H.smallButtonRightPadding};
2033
2051
  }
2034
2052
 
2035
- .ftds--size-small ft-typography {
2053
+ .ftds--size-small ftds-typography {
2036
2054
  overflow: visible;
2037
2055
  padding: 0 2px;
2038
2056
  }
@@ -2049,7 +2067,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2049
2067
  top: -3px;
2050
2068
  height: ${H.smallIconSize};
2051
2069
  transform: scale(.75); /* Little trick to have a (even) bigger icon inside of the button */
2052
- ${cs.smallIconOnlyWidth.set("15px")};
2070
+ ${ps.smallIconOnlyWidth.set("15px")};
2053
2071
  }
2054
2072
 
2055
2073
  .ftds--size-small .ftds-chip--remove-button::part(icon) {
@@ -2064,7 +2082,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2064
2082
  border-width: ${H.mediumBorderWidth};
2065
2083
  border-style: solid;
2066
2084
  gap: ${H.mediumGap};
2067
- ${v(le.size,H.mediumIconSize)}
2085
+ ${v(ce.size,H.mediumIconSize)}
2068
2086
  }
2069
2087
 
2070
2088
  .ftds--size-medium.ftds-chip--with-action {
@@ -2083,7 +2101,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2083
2101
  border-width: ${H.largeBorderWidth};
2084
2102
  border-style: solid;
2085
2103
  gap: ${H.largeGap};
2086
- ${v(le.size,H.largeIconSize)}
2104
+ ${v(ce.size,H.largeIconSize)}
2087
2105
  }
2088
2106
 
2089
2107
  .ftds--size-large.ftds-chip--with-action {
@@ -2153,42 +2171,42 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2153
2171
  .ftds--family-error .ftds-chip--icon-container {
2154
2172
  color: ${H.errorIconColor};
2155
2173
  }
2156
- `];var Kr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},us=class extends CustomEvent{constructor(){super("remove")}},qe=class extends go{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return N`
2157
- <div class="${ye(e)}"
2174
+ `];var Jr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fs=class extends CustomEvent{constructor(){super("remove")}},Xe=class extends vo{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return P`
2175
+ <div class="${ge(e)}"
2158
2176
  aria-label="${this.getLabel()}"
2159
2177
  part="chip">
2160
2178
  ${this.renderIcon()}
2161
- <ft-typography variant=${this.typographyVariant()} element="span" class="ftds-chip--label" part="label">
2179
+ <ftds-typography variant="${this.typographyVariant()}" element="span" class="ftds-chip--label" part="label">
2162
2180
  <slot @slotchange=${this.onSlotchange}></slot>
2163
- </ft-typography>
2181
+ </ftds-typography>
2164
2182
  ${this.renderAction()}
2165
2183
  </div>
2166
- `}renderIcon(){return this.icon?N`
2167
- <div class="ftds-chip--icon-container" part="icon-container">
2168
- <ft-icon .variant=${Ke.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
2169
- </div>
2170
- `:z}renderAction(){return this.removable?N`
2184
+ `}renderIcon(){return this.icon?P`
2185
+ <div class="ftds-chip--icon-container" part="icon-container">
2186
+ <ft-icon .variant=${Ke.fluid_topics} .value=${this.icon} part="icon"></ft-icon>
2187
+ </div>
2188
+ `:z}renderAction(){return this.removable?P`
2171
2189
  <ftds-button round
2172
2190
  class="ftds-chip--remove-button"
2173
2191
  @click=${this.dispatchRemoveEvent}
2174
- icon=${Rt.X_MARK}
2175
- label=${this.removeButtonLabel}
2176
- family=${bt.neutral}
2177
- size=${this.resolveButtonSize()}
2192
+ icon="${It.X_MARK}"
2193
+ label="${this.removeButtonLabel}"
2194
+ family="${vt.neutral}"
2195
+ size="${this.resolveButtonSize()}"
2178
2196
  part="icon-button"
2179
2197
  ></ftds-button>
2180
- `:this.withAction?N`
2198
+ `:this.withAction?P`
2181
2199
  <slot name="action"></slot>
2182
- `:z}resolveButtonSize(){switch(this.size){case Se.large:return Se.medium;case Se.medium:case Se.small:return Se.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new us)}typographyVariant(){switch(this.size){case Se.large:return Ne.body2medium;case Se.medium:case Se.small:return Ne.caption1medium}}};qe.elementDefinitions={"ft-typography":ge,"ft-icon":fe,"ftds-button":ot};qe.styles=wd;Kr([b({type:Boolean})],qe.prototype,"withAction",void 0);Kr([b({type:Boolean})],qe.prototype,"removable",void 0);Kr([b()],qe.prototype,"removeButtonLabel",void 0);Kr([b()],qe.prototype,"label",void 0);Kr([b()],qe.prototype,"icon",void 0);Kr([ae("ft-typography slot")],qe.prototype,"slottedContent",void 0);ie("ft-chip")(me);ie("ftds-chip")(qe);var Ad=P`
2183
- `;var Rd=P`
2184
- `;var Af="ft-app-info",lr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};lr.eventName="authentication-change";var Rf={session:(t,e)=>{De(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>$.dispatchEvent(new lr(e.payload)),0))}},$=rr.get({name:Af,reducers:Rf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var cr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=$.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=$.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var bn=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:cr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):cr.await()}};var Ue=class extends bn{constructor(e=!0,o){var n;super(o),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new lt,this.cache=e?i.commonCache:new lt}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var xn=class extends Ue{async listMyBookmarks(){let e=$.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var ps=class{addCommand(e,o=!1){$.commands.add(e,o)}consumeCommand(e){return $.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ps;var Td,Zr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Tf=Symbol("clearAfterUnitTest"),vn=class extends Ko(Ue){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Td]=()=>{this.defaultMessages={},this.cache=new lt,this.listeners={}},this.currentUiLocale=$.getState().uiLocale,$.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=$.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};De(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new xo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),o&&await this.notify(e)}catch(i){!(i instanceof jt)&&o&&console.error(i)}return n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Zr({loadedContexts:e})),this.dispatchEvent(new Zr({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new Zr({loadedContexts:[e]})),this.dispatchEvent(new Zr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>jo(0).then(()=>n()).catch(()=>null)))}};Td=Tf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends vn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends vn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var qr=window.FluidTopicsI18nService,Sn=window.FluidTopicsCustomI18nService;var fs=class{highlightHtml(e,o,n){da(e,o,n)}};window.FluidTopicsHighlightHtmlService=new fs;var Cn=class extends Ue{async listMySearches(){let{session:e}=$.getState();return $c(e,be.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var hs=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=$.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return or.format(e,(n=o?.locale)!==null&&n!==void 0?n:$.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new hs;var _o=class{static get(e,o){var n,i;let a=$.getState(),{lang:s,region:l}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Dr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${s}-${l}`)}};var ms=class{urlToSearchRequest(e){return _o.get().parse(e)}searchRequestToUrl(e){return _o.get().serialize(e)}};window.FluidTopicsUrlService=new ms;var dr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};dr.eventName="change";var gs=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let o=sessionStorage.getItem(this.itemName(e));return o?JSON.parse(o):void 0}set(e,o){sessionStorage.setItem(this.itemName(e),JSON.stringify(o))}},Ld=new gs;var On=class t extends yt{static build(){return new t(window.history,Ld,()=>window.location,!1)}constructor(e,o,n,i){var a,s;super(),this.history=e,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,o=!1){let n=o&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),De(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new dr(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,s,l])=>{let d=o(),p={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(i,[p,s,l]),this.setCurrentState(p,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let o=this.history.length-1;o>=0;o--)e?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(e){var o;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(o=e?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(dr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(dr.eventName,e)}currentItem(){return ao(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return ao(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return ao(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var o;let n=(o=this.states[e])===null||o===void 0?void 0:o.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&o!==void 0?o:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,o){var n;if(!this.hasState(e))return!1;let i=o??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=On.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var Id=$;function _d(t,e){var o;return Id.getState().authenticationRequired&&!(!((o=Id.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(e):t()}var ve=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},de=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>cr.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new lt,this.cleanSessionDebouncer=new Ie,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return N`
2200
+ `:z}resolveButtonSize(){switch(this.size){case Ie.large:return Ie.medium;default:return Ie.small}}getLabel(){return this.label||this.getTextContent()}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new fs)}typographyVariant(){switch(this.size){case Ie.large:return ot.body2medium;default:return ot.caption1medium}}};Xe.elementDefinitions={"ftds-typography":nt,"ft-icon":fe,"ftds-button":Ye};Xe.styles=Ld;Jr([b({type:Boolean})],Xe.prototype,"withAction",void 0);Jr([b({type:Boolean})],Xe.prototype,"removable",void 0);Jr([b()],Xe.prototype,"removeButtonLabel",void 0);Jr([b()],Xe.prototype,"label",void 0);Jr([b()],Xe.prototype,"icon",void 0);Jr([ae("ftds-typography slot")],Xe.prototype,"slottedContent",void 0);re("ft-chip")(me);re("ftds-chip")(Xe);var Id=_`
2201
+ `;var _d=_`
2202
+ `;var _f="ft-app-info",pr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};pr.eventName="authentication-change";var Nf={session:(t,e)=>{De(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>$.dispatchEvent(new pr(e.payload)),0))}},$=ir.get({name:_f,reducers:Nf,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var ur=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=$.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=$.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var jn=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:ur.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ur.await()}};var Ue=class extends jn{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new ct,this.cache=e?i.commonCache:new ct}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Gn=class extends Ue{async listMyBookmarks(){let e=$.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var hs=class{addCommand(e,r=!1){$.commands.add(e,r)}consumeCommand(e){return $.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new hs;var Nd,Qr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Pf=Symbol("clearAfterUnitTest"),Kn=class extends Xo(Ue){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Nd]=()=>{this.defaultMessages={},this.cache=new ct,this.listeners={}},this.currentUiLocale=$.getState().uiLocale,$.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=$.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};De(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Oo((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(i){!(i instanceof Yt)&&r&&console.error(i)}return n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Qr({loadedContexts:e})),this.dispatchEvent(new Qr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Qr({loadedContexts:[e]})),this.dispatchEvent(new Qr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Yo(0).then(()=>n()).catch(()=>null)))}};Nd=Pf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Kn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Kn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var eo=window.FluidTopicsI18nService,Zn=window.FluidTopicsCustomI18nService;var ms=class{highlightHtml(e,r,n){ha(e,r,n)}};window.FluidTopicsHighlightHtmlService=new ms;var qn=class extends Ue{async listMySearches(){let{session:e}=$.getState();return Mc(e,ye.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var gs=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=$.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return ar.format(e,(n=r?.locale)!==null&&n!==void 0?n:$.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new gs;var $o=class{static get(e,r){var n,i;let a=$.getState(),{lang:s,region:l}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Fr(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}};var ys=class{urlToSearchRequest(e){return $o.get().parse(e)}searchRequestToUrl(e){return $o.get().serialize(e)}};window.FluidTopicsUrlService=new ys;var fr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};fr.eventName="change";var bs=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Pd=new bs;var Yn=class t extends bt{static build(){return new t(window.history,Pd,()=>window.location,!1)}constructor(e,r,n,i){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),De(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new fr(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[a,s,l])=>{let d=r(),u={...d===this.currentIndex?this.currentState:void 0,...a,index:d,href:typeof l=="string"?l:(l??this.windowLocation()).href};n.apply(i,[u,s,l]),this.setCurrentState(u,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addHistoryChangeListener(e){this.addEventListener(fr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(fr.eventName,e)}currentItem(){return uo(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return uo(this.states[this.previousDifferentMajorPosition()])}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return uo(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let i=e,a=e+1;for(;this.states.length>a&&!this.isDifferentMajorState(a,n);)this.hasState(a)&&(i=a),a++;return i}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var n;if(!this.hasState(e))return!1;let i=r??this.currentState.majorStateId,a=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return a==null||a!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Yn.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)});var kd=$;function $d(t,e){var r;return kd.getState().authenticationRequired&&!(!((r=kd.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var ve=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},de=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",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=()=>ur.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ct,this.cleanSessionDebouncer=new Le,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return P`
2185
2203
  <slot></slot>
2186
- `}connectedCallback(){super.connectedCallback(),$.addEventListener(lr.eventName,this.reloadConfiguration)}disconnectedCallback(){$.addEventListener(lr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,s,l,d;super.update(e),e.has("baseUrl")&&($.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&$.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&$.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&$.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&$.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&$.actions.noCustom(this.noCustom),e.has("editorMode")&&$.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&$.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&$.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(p=>qr.addContext(p)),e.has("openExternalDocumentInNewTab")&&$.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&$.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&$.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&($.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),$.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),$.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&$.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&$.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>_d(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};de.elementDefinitions={};de.styles=Rd;ve([b()],de.prototype,"baseUrl",void 0);ve([b()],de.prototype,"apiIntegrationIdentifier",void 0);ve([b()],de.prototype,"apiIntegrationAppVersion",void 0);ve([b()],de.prototype,"uiLocale",void 0);ve([We(null)],de.prototype,"availableUiLocales",void 0);ve([We(null)],de.prototype,"metadataConfiguration",void 0);ve([b({type:Boolean})],de.prototype,"editorMode",void 0);ve([b({type:Boolean})],de.prototype,"noCustom",void 0);ve([b({type:Boolean})],de.prototype,"openExternalDocumentInNewTab",void 0);ve([b({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],de.prototype,"noCustomComponent",void 0);ve([b({type:Boolean})],de.prototype,"withManualResources",void 0);ve([b({type:Boolean})],de.prototype,"navigatorOnline",void 0);ve([b({type:Boolean})],de.prototype,"forcedOffline",void 0);ve([b({type:Object})],de.prototype,"apiProvider",void 0);ve([b({type:Boolean})],de.prototype,"authenticationRequired",void 0);ve([We([])],de.prototype,"messageContexts",void 0);ve([We(void 0)],de.prototype,"session",void 0);ve([j()],de.prototype,"localesConfiguration",void 0);ve([j()],de.prototype,"availableContentLocales",void 0);var En=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},jR=we(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore($)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?l=>or.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return En([b({type:Boolean})],e.prototype,"useLongDateFormat",void 0),En([b({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),En([Ar({store:$.name,selector:o=>{var n,i;return(i=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),En([Ar({store:$.name})],e.prototype,"uiLocale",void 0),e});var wn=class extends Ue{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}};var An=class extends Ue{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}};var Lf="ft-user-assets",If={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(Ge).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let o=e.payload.mapId;t.assetCounts.bookmarkByMap[o]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:o,mapId:n,asset:i}=e.payload;bs(t,o,[...ys(t,o),i]),Nd(t,o,1,n),Pd(t,i)},editAsset:(t,e)=>{let{assetType:o,asset:n}=e.payload;bs(t,o,ys(t,o).map(i=>i.id===n.id?n:i)),Pd(t,n)},removeAsset:(t,e)=>{let{assetType:o,mapId:n,assetId:i}=e.payload;bs(t,o,ys(t,o).filter(a=>a.id!==i)),Nd(t,o,-1,n)}},kd={[Ge.SEARCHES]:"savedSearches",[Ge.BOOKMARKS]:"bookmarks",[Ge.BOOKS]:void 0,[Ge.COLLECTIONS]:void 0},ys=(t,e)=>{var o;let n=kd[e];return n?(o=t[n])!==null&&o!==void 0?o:[]:[]},bs=(t,e,o)=>{let n=kd[e];n&&(t[n]=o)},Nd=(t,e,o,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+o),e===Ge.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+o)}},Pd=(t,e)=>{let o=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!o.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},ze=rr.get({name:Lf,reducers:If,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ge).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),xs=class{constructor(e=new wn,o=new An){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=$.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new xn,this.savedSearchesService=new Cn,$.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=$.getState();De((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),ze.actions.clearAssetCount(),ze.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ze.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ze.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ze.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();ze.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&ze.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&ze.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(ze.getState().assetCounts.bookmarkByMap).length!==0;e===Ge.BOOKMARKS&&o&&ze.actions.clearBookmarkCountByMap(),ze.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ze.actions.bookmarks(o)}}},_f=new xs;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=_f);ie("ft-app-context")(de);var vs=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[n,i]=e.split(".");return{context:n,key:i,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},$d=new vs;var Nf=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Pf=Symbol("i18nAttributes"),kf=Symbol("i18nListAttributes"),Md=Symbol("i18nProperties"),Rn=Symbol("i18nContexts"),No=Symbol("i18nUnsubs"),Ln=we(Symbol("withI18n"),function(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Sn:qr}i18n(a){let{context:s,key:l,message:d}=a,{custom:p,args:h,argsProvider:f}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(s,l,...m)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if($d.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,p=(h,f,m)=>m?.context&&m.key&&a(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(s=this[Pf])===null||s===void 0||s.forEach((h,f)=>d[f]=p(h,f,d[f])),(l=this[kf])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(S=>p(h,f,S))})}updateI18nProperties(a){var s;(s=this[Md])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Rn].set(d,{isCustomContext:l}),this[No].has(d)||this[No].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[Rn].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Rn].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[No].forEach(a=>a()),this[No].clear()}}return e=Rn,o=No,Nf([b({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Dd=class extends Ln(K){},Tn=class extends Ln(Co){};var Po=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},nt=class extends Tn{constructor(){super(),this.editorMode=!1,this.addStore($)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":z:N`
2204
+ `}connectedCallback(){super.connectedCallback(),$.addEventListener(pr.eventName,this.reloadConfiguration)}disconnectedCallback(){$.addEventListener(pr.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,n,i,a,s,l,d;super.update(e),e.has("baseUrl")&&($.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&$.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&$.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&$.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&$.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&$.actions.noCustom(this.noCustom),e.has("editorMode")&&$.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&$.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&$.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>eo.addContext(u)),e.has("openExternalDocumentInNewTab")&&$.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&$.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&$.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&($.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),$.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),$.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&$.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&$.actions.availableContentLocales((d=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&d!==void 0?d:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>$d(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};de.elementDefinitions={};de.styles=_d;ve([b()],de.prototype,"baseUrl",void 0);ve([b()],de.prototype,"apiIntegrationIdentifier",void 0);ve([b()],de.prototype,"apiIntegrationAppVersion",void 0);ve([b()],de.prototype,"uiLocale",void 0);ve([We(null)],de.prototype,"availableUiLocales",void 0);ve([We(null)],de.prototype,"metadataConfiguration",void 0);ve([b({type:Boolean})],de.prototype,"editorMode",void 0);ve([b({type:Boolean})],de.prototype,"noCustom",void 0);ve([b({type:Boolean})],de.prototype,"openExternalDocumentInNewTab",void 0);ve([b({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],de.prototype,"noCustomComponent",void 0);ve([b({type:Boolean})],de.prototype,"withManualResources",void 0);ve([b({type:Boolean})],de.prototype,"navigatorOnline",void 0);ve([b({type:Boolean})],de.prototype,"forcedOffline",void 0);ve([b({type:Object})],de.prototype,"apiProvider",void 0);ve([b({type:Boolean})],de.prototype,"authenticationRequired",void 0);ve([We([])],de.prototype,"messageContexts",void 0);ve([We(void 0)],de.prototype,"session",void 0);ve([G()],de.prototype,"localesConfiguration",void 0);ve([G()],de.prototype,"availableContentLocales",void 0);var Xn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},DT=Ee(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore($)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?l=>ar.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Xn([b({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Xn([b({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Xn([Lr({store:$.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Xn([Lr({store:$.name})],e.prototype,"uiLocale",void 0),e});var Jn=class extends Ue{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}};var Qn=class extends Ue{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}};var kf="ft-user-assets",$f={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(je).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:n,asset:i}=e.payload;vs(t,r,[...xs(t,r),i]),Dd(t,r,1,n),Md(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;vs(t,r,xs(t,r).map(i=>i.id===n.id?n:i)),Md(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;vs(t,r,xs(t,r).filter(a=>a.id!==i)),Dd(t,r,-1,n)}},Bd={[je.SEARCHES]:"savedSearches",[je.BOOKMARKS]:"bookmarks",[je.BOOKS]:void 0,[je.COLLECTIONS]:void 0},xs=(t,e)=>{var r;let n=Bd[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},vs=(t,e,r)=>{let n=Bd[e];n&&(t[n]=r)},Dd=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===je.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+r)}},Md=(t,e)=>{let r=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},ze=ir.get({name:kf,reducers:$f,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(je).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Ss=class{constructor(e=new Jn,r=new Qn){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=$.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Gn,this.savedSearchesService=new qn,$.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=$.getState();De((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),ze.actions.clearAssetCount(),ze.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ze.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ze.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ze.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();ze.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&ze.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&ze.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(ze.getState().assetCounts.bookmarkByMap).length!==0;e===je.BOOKMARKS&&r&&ze.actions.clearBookmarkCountByMap(),ze.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ze.actions.bookmarks(r)}}},Df=new Ss;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Df);re("ft-app-context")(de);var Cs=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[n,i]=e.split(".");return{context:n,key:i,custom:!0,message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Fd=new Cs;var Mf=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Bf=Symbol("i18nAttributes"),Ff=Symbol("i18nListAttributes"),zd=Symbol("i18nProperties"),ei=Symbol("i18nContexts"),Do=Symbol("i18nUnsubs"),ri=Ee(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?Zn:eo}i18n(a){let{context:s,key:l,message:d}=a,{custom:u,args:h,argsProvider:f}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let m=h??(f?f(this):[]);return this.getI18nService(u).resolveMessage(s,l,...m)}return d}async awaitI18n(a){let{context:s,custom:l}=a;return s&&await this.getI18nService(l).prepareContext(s),this.i18n(a)}customI18n(a,s){if(Fd.isI18nKey(a)){let[l,d]=a.split(".");return this.i18n({custom:!0,context:l,key:d,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,d)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,d)=>{var u;return((u=d?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let d=this,u=(h,f,m)=>m?.context&&m.key&&a(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(s=this[Bf])===null||s===void 0||s.forEach((h,f)=>d[f]=u(h,f,d[f])),(l=this[Ff])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(S=>u(h,f,S))})}updateI18nProperties(a){var s;(s=this[zd])===null||s===void 0||s.forEach((l,d)=>{a(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let d=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[ei].set(d,{isCustomContext:l}),this[Do].has(d)||this[Do].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,s)}hasI18nContext(a){return this[ei].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[ei].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Do].forEach(a=>a()),this[Do].clear()}}return e=ei,r=Do,Mf([b({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Ud=class extends ri(K){},ti=class extends ri(Ao){};var Mo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},at=class extends ti{constructor(){super(),this.editorMode=!1,this.addStore($)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":z:P`
2187
2205
  <span class="ft-i18n">
2188
2206
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
2189
2207
  </span>
2190
- `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};nt.elementDefinitions={};nt.styles=Ad;Po([Ar()],nt.prototype,"editorMode",void 0);Po([b()],nt.prototype,"context",void 0);Po([b()],nt.prototype,"key",void 0);Po([We([])],nt.prototype,"args",void 0);Po([b()],nt.prototype,"defaultMessage",void 0);var In=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Sn:qr}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,i)=>{let a=i;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...a)=>this.service.resolveMessage(this.name,i,...a)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};ie("ft-i18n")(nt);var ur=In.build("ftCombobox"),Bd={ariaLiveOptions:"{0} options","ariaLiveOptions[\\=1]":"1 option",valueAdded:"{0} added",valueRemoved:"{0} removed",maxValuesReached:"Maximum {0} values allowed","maxValuesReached[\\=1]":"Maximum 1 value allowed",removeValueLabel:"Remove {0}"};var ne=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},q=class extends Ln(K){get value(){return this._value||""}set value(e){let o=this._value;this._value=e||"",this.filter=this._value,this.requestUpdate("value",o)}constructor(){super(),this.error=!1,this.filterSuggestions=!1,this.disabled=!1,this.outlined=!1,this.suggestionsProvider=()=>[],this._value="",this.canOfferNewValue=!0,this.multiValued=!1,this.labels=[],this.labelsToValues=new Map,this.filter="",this.isOpen=!1,this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1,this.providedSuggestions=[],this.visibleSuggestions=[],this.activeIndex=-1,this.ariaLiveMessage="",this.onComboboxInput=()=>{let e=this.input.value,o=this._value!==""||this.multiValued&&this.labels.length>0;this.filter=e,this.activeIndex=-1,!this.multiValued&&o&&e===""&&(this._value="",this.dispatchChangeEvent()),this.ariaLiveMessage="",this.updateSuggestions(),this.getTotalSuggestionsCount()>0?this.openListbox():this.closeListbox(!0)},this.onComboboxKeyDown=e=>{if(e.ctrlKey||e.shiftKey)return;let o=!1;switch(e.key){case"Enter":this.commitSelectionFromEnter(),o=!0;break;case"ArrowDown":case"Down":{this.moveFocusToNextSuggestion(e),o=!0;break}case"ArrowUp":case"Up":{this.moveFocusToPreviousSuggestion(e),o=!0;break}case"Escape":case"Esc":this.handleEscapeKey(),o=!0;break;case"Tab":this.handleTabKey();break;case"Home":this.moveCaretToHome(),o=!0;break;case"End":{this.moveCaretToEnd(),o=!0;break}}o&&(e.stopPropagation(),e.preventDefault())},this.onComboboxKeyUp=e=>{if(e.key==="Escape"||e.key==="Esc")return;let o=!1;switch(e.key){case"Backspace":this.setVisualFocusCombobox(),o=!0;break;case"ArrowDown":case"Down":case"ArrowUp":case"Up":o=!0;break;case"ArrowLeft":case"Enter":case"Left":case"ArrowRight":case"Right":case"Home":case"End":this.setVisualFocusCombobox(),o=!0;break;default:this.isPrintableCharacter(e.key)&&this.input.value.length&&this.setVisualFocusCombobox();break}o&&(e.stopPropagation(),e.preventDefault())},this.onComboboxClick=()=>{this.isOpen?this.closeListbox(!0):this.openListbox()},this.onComboboxFocus=()=>{this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox(),this.activeIndex=-1},this.onComboboxBlur=()=>{this.removeVisualFocusAll()},this.onBackgroundPointerUp=e=>{e.composedPath().includes(this)||(this.comboboxHasVisualFocus=!1,this.removeVisualFocusAll(),setTimeout(()=>this.closeListbox(!0),300))},this.onSuggestionClick=e=>{var o;e.kind==="new"?this.setValue(((o=this.input)===null||o===void 0?void 0:o.value)||this.value):this.setValue(e.label),this.multiValued||this.closeListbox(!0)},this.addI18nContext(ur,Bd)}willUpdate(e){e.has("suggestionsProviderDebouncerTimeout")&&(this._suggestionsProviderDebouncer=this.suggestionsProviderDebouncerTimeout&&this.suggestionsProviderDebouncerTimeout>0?new Ie(this.suggestionsProviderDebouncerTimeout):void 0),(e.has("suggestionsProvider")||e.has("filter"))&&this.updateSuggestions()}render(){let e={"ft-combobox":!0,"ft-combobox--filled":!this.outlined,"ft-combobox--outlined":this.outlined,"ft-combobox--disabled":this.disabled,"ft-combobox--with-label":!!this.label,"ft-combobox--with-icon":!!this.icon,"ft-combobox--in-error":this.error,"ft-combobox--raised-label":this.comboboxHasVisualFocus||!!this.filter},o={"ft-combobox--listbox":!0,focus:this.listboxHasVisualFocus};return N`
2191
- <div class="${ye(e)}">
2208
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};at.elementDefinitions={};at.styles=Id;Mo([Lr()],at.prototype,"editorMode",void 0);Mo([b()],at.prototype,"context",void 0);Mo([b()],at.prototype,"key",void 0);Mo([We([])],at.prototype,"args",void 0);Mo([b()],at.prototype,"defaultMessage",void 0);var oi=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Zn:eo}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let a=i;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...a)=>this.service.resolveMessage(this.name,i,...a)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};re("ft-i18n")(at);var hr=oi.build("ftCombobox"),Hd={ariaLiveOptions:"{0} options","ariaLiveOptions[\\=1]":"1 option",valueAdded:"{0} added",valueRemoved:"{0} removed",maxValuesReached:"Maximum {0} values allowed","maxValuesReached[\\=1]":"Maximum 1 value allowed",removeValueLabel:"Remove {0}"};var ie=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},q=class extends ri(K){get value(){return this._value||""}set value(e){let r=this._value;this._value=e||"",this.filter=this._value,this.requestUpdate("value",r)}constructor(){super(),this.error=!1,this.filterSuggestions=!1,this.disabled=!1,this.outlined=!1,this.suggestionsProvider=()=>[],this._value="",this.canOfferNewValue=!0,this.multiValued=!1,this.labels=[],this.labelsToValues=new Map,this.filter="",this.isOpen=!1,this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1,this.providedSuggestions=[],this.visibleSuggestions=[],this.activeIndex=-1,this.ariaLiveMessage="",this.onComboboxInput=()=>{let e=this.input.value,r=this._value!==""||this.multiValued&&this.labels.length>0;this.filter=e,this.activeIndex=-1,!this.multiValued&&r&&e===""&&(this._value="",this.dispatchChangeEvent()),this.ariaLiveMessage="",this.updateSuggestions(),this.getTotalSuggestionsCount()>0?this.openListbox():this.closeListbox(!0)},this.onComboboxKeyDown=e=>{if(e.ctrlKey||e.shiftKey)return;let r=!1;switch(e.key){case"Enter":this.commitSelectionFromEnter(),r=!0;break;case"ArrowDown":case"Down":{this.moveFocusToNextSuggestion(e),r=!0;break}case"ArrowUp":case"Up":{this.moveFocusToPreviousSuggestion(e),r=!0;break}case"Escape":case"Esc":this.handleEscapeKey(),r=!0;break;case"Tab":this.handleTabKey();break;case"Home":this.moveCaretToHome(),r=!0;break;case"End":{this.moveCaretToEnd(),r=!0;break}}r&&(e.stopPropagation(),e.preventDefault())},this.onComboboxKeyUp=e=>{if(e.key==="Escape"||e.key==="Esc")return;let r=!1;switch(e.key){case"Backspace":this.setVisualFocusCombobox(),r=!0;break;case"ArrowDown":case"Down":case"ArrowUp":case"Up":r=!0;break;case"ArrowLeft":case"Enter":case"Left":case"ArrowRight":case"Right":case"Home":case"End":this.setVisualFocusCombobox(),r=!0;break;default:this.isPrintableCharacter(e.key)&&this.input.value.length&&this.setVisualFocusCombobox();break}r&&(e.stopPropagation(),e.preventDefault())},this.onComboboxClick=()=>{this.isOpen?this.closeListbox(!0):this.openListbox()},this.onComboboxFocus=()=>{this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox(),this.activeIndex=-1},this.onComboboxBlur=()=>{this.removeVisualFocusAll()},this.onBackgroundPointerUp=e=>{e.composedPath().includes(this)||(this.comboboxHasVisualFocus=!1,this.removeVisualFocusAll(),setTimeout(()=>this.closeListbox(!0),300))},this.onSuggestionClick=e=>{var r;e.kind==="new"?this.setValue(((r=this.input)===null||r===void 0?void 0:r.value)||this.value):this.setValue(e.label),this.multiValued||this.closeListbox(!0)},this.addI18nContext(hr,Hd)}willUpdate(e){e.has("suggestionsProviderDebouncerTimeout")&&(this._suggestionsProviderDebouncer=this.suggestionsProviderDebouncerTimeout&&this.suggestionsProviderDebouncerTimeout>0?new Le(this.suggestionsProviderDebouncerTimeout):void 0),(e.has("suggestionsProvider")||e.has("filter"))&&this.updateSuggestions()}render(){let e={"ft-combobox":!0,"ft-combobox--filled":!this.outlined,"ft-combobox--outlined":this.outlined,"ft-combobox--disabled":this.disabled,"ft-combobox--with-label":!!this.label,"ft-combobox--with-icon":!!this.icon,"ft-combobox--in-error":this.error,"ft-combobox--raised-label":this.comboboxHasVisualFocus||!!this.filter},r={"ft-combobox--listbox":!0,focus:this.listboxHasVisualFocus};return P`
2209
+ <div class="${ge(e)}">
2192
2210
  <div class="ft-combobox--main-panel"
2193
2211
  @focusout=${this.onComboboxBlur}>
2194
2212
  <ft-input-label
@@ -2199,7 +2217,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2199
2217
  ?error=${this.error}>
2200
2218
  </ft-input-label>
2201
2219
  <div class="ft-combobox--input-panel">
2202
- ${this.outlined?z:N`
2220
+ ${this.outlined?z:P`
2203
2221
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
2204
2222
  `}
2205
2223
  <input
@@ -2213,9 +2231,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2213
2231
  aria-expanded="${this.isOpen}"
2214
2232
  aria-controls="combobox-listbox"
2215
2233
  aria-activedescendant="${this.getActiveDescendantId()}"
2216
- aria-label="${et(this.label)}"
2217
- name="${et(this.name)}"
2218
- maxlength="${et(this.maxLength)}"
2234
+ aria-label="${rt(this.label)}"
2235
+ name="${rt(this.name)}"
2236
+ maxlength="${rt(this.maxLength)}"
2219
2237
  ?disabled=${this.disabled}
2220
2238
  .value=${this.value}
2221
2239
  @input=${this.onComboboxInput}
@@ -2229,32 +2247,32 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2229
2247
  <div class="sr-only" aria-live="polite" aria-atomic="true">
2230
2248
  ${this.ariaLiveMessage||this.renderLiveText()}
2231
2249
  </div>
2232
- ${nr(this.visibleSuggestions.length>0,()=>N`
2250
+ ${sr(this.visibleSuggestions.length>0,()=>P`
2233
2251
  <ul
2234
2252
  id="combobox-listbox"
2235
- class="${ye(o)}"
2253
+ class="${ge(r)}"
2236
2254
  role="listbox"
2237
- aria-multiselectable="${et(this.multiValued)}"
2255
+ aria-multiselectable="${rt(this.multiValued)}"
2238
2256
  aria-label="${this.label||"Options"}"
2239
2257
  data-visible="${this.isOpen}"
2240
2258
  >
2241
- ${gt(this.visibleSuggestions,n=>n.id,(n,i)=>this.renderSuggestion(n,i))}
2259
+ ${yt(this.visibleSuggestions,n=>n.id,(n,i)=>this.renderSuggestion(n,i))}
2242
2260
  </ul>`)}
2243
2261
 
2244
2262
  </div>
2245
- ${this.helper?N`
2263
+ ${this.helper?P`
2246
2264
  <ft-typography class="ft-combobox--helper-text" variant="caption">
2247
2265
  ${this.helper}
2248
2266
  </ft-typography>
2249
2267
  `:z}
2250
- ${nr(this.multiValued&&this.labels.length>0,()=>N`
2268
+ ${sr(this.multiValued&&this.labels.length>0,()=>P`
2251
2269
  <div class="ft-combobox--chips-container" role="group" aria-label="Selected values">
2252
- ${gt(this.labels,n=>n,n=>N`
2270
+ ${yt(this.labels,n=>n,n=>P`
2253
2271
  <ft-chip removable
2254
2272
  dense
2255
2273
  hideIconTooltip
2256
2274
  label="${n}"
2257
- iconLabel="${ur.messages.removeValueLabel(n)}"
2275
+ iconLabel="${hr.messages.removeValueLabel(n)}"
2258
2276
  @icon-click=${()=>this.removeFromSelection(n)}>
2259
2277
  ${n}
2260
2278
  </ft-chip>
@@ -2262,14 +2280,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2262
2280
  </div>
2263
2281
  `)}
2264
2282
  </div>
2265
- `}renderIcon(){return this.icon?N`
2283
+ `}renderIcon(){return this.icon?P`
2266
2284
  <ft-icon class="ft-combobox--icon"
2267
2285
  .variant=${this.iconVariant}
2268
2286
  .value=${this.icon}
2269
- @click=${()=>{var e,o;(e=this.input)===null||e===void 0||e.click(),(o=this.input)===null||o===void 0||o.focus()}}></ft-icon>
2270
- `:z}renderSuggestion(e,o){let n=e.kind==="new"&&!!this.suggestionsHelper,i=this.multiValued&&this.labels.includes(e.label),a=o===this.activeIndex,s={"ft-combobox-suggestion":!0,"ft-combobox-suggestion--with-helper":n};return N`
2287
+ @click=${()=>{var e,r;(e=this.input)===null||e===void 0||e.click(),(r=this.input)===null||r===void 0||r.focus()}}></ft-icon>
2288
+ `:z}renderSuggestion(e,r){let n=e.kind==="new"&&!!this.suggestionsHelper,i=this.multiValued&&this.labels.includes(e.label),a=r===this.activeIndex,s={"ft-combobox-suggestion":!0,"ft-combobox-suggestion--with-helper":n};return P`
2271
2289
  <li
2272
- id="${e.kind==="new"?"suggestion-new-value":`option-${o}`}"
2290
+ id="${e.kind==="new"?"suggestion-new-value":`option-${r}`}"
2273
2291
  class="ft-combobox--option ${e.kind==="new"?"ft-combobox--option-new-value":""}"
2274
2292
  role="option"
2275
2293
  aria-selected="${this.multiValued?i:a}"
@@ -2278,20 +2296,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
2278
2296
  @pointerdown=${l=>l.preventDefault()}
2279
2297
  @click=${()=>this.onSuggestionClick(e)}
2280
2298
  >
2281
- <div class="${ye(s)}" tabindex="-1">
2299
+ <div class="${ge(s)}" tabindex="-1">
2282
2300
  <ft-ripple ?primary=${i} ?activated=${i}></ft-ripple>
2283
- ${n?N`
2301
+ ${n?P`
2284
2302
  <ft-typography aria-label="${this.suggestionsHelper}," class="ft-combobox-suggestion--helper-text"
2285
- variant="${Ne.caption}">
2303
+ variant="${Tt.caption}">
2286
2304
  ${this.suggestionsHelper}
2287
2305
  </ft-typography>
2288
2306
  `:z}
2289
- <ft-typography part="label" variant="${Ne.body1}" class="ft-combobox-suggestion--label">
2307
+ <ft-typography part="label" variant="${Tt.body1}" class="ft-combobox-suggestion--label">
2290
2308
  ${e.label}
2291
2309
  </ft-typography>
2292
2310
  </div>
2293
2311
  </li>
2294
- `}get activeSuggestion(){return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length?this.visibleSuggestions[this.activeIndex]:null}shouldOfferNew(){var e;let o=((e=this.input)===null||e===void 0?void 0:e.value)||this.value||"",n=this.multiValued&&this.labels.includes(o);return o!==""&&!this.providedSuggestions.some(i=>i.label===o)&&!n&&this.canOfferNewValue}getTotalSuggestionsCount(){return this.visibleSuggestions.length}isNewValueSuggestionSelected(){var e;return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length&&((e=this.visibleSuggestions[this.activeIndex])===null||e===void 0?void 0:e.kind)==="new"}connectedCallback(){super.connectedCallback(),document.body.addEventListener("pointerup",this.onBackgroundPointerUp)}disconnectedCallback(){super.disconnectedCallback(),document.body.removeEventListener("pointerup",this.onBackgroundPointerUp)}renderLiveText(){let e=this.getTotalSuggestionsCount();return this.isOpen&&e>0?ur.messages.ariaLiveOptions(e):""}getActiveDescendantId(){return this.activeIndex<0?"":this.isNewValueSuggestionSelected()?"option-new-value":`option-${this.activeIndex}`}async updateSuggestions(){var e;this._suggestionsProviderDebouncer?await((e=this._suggestionsProviderDebouncer)===null||e===void 0?void 0:e.run(()=>this.updateSuggestionsWithoutDebounce())):await this.updateSuggestionsWithoutDebounce()}async updateSuggestionsWithoutDebounce(){var e;if(this.suggestionsProvider){this.providedSuggestions=await this.suggestionsProvider(this.filter);let o=(this.filterSuggestions?this.providedSuggestions.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())):this.providedSuggestions).map((n,i)=>({id:`regular-${i}`,label:n.label,kind:"regular"}));this.visibleSuggestions=[...o,...this.shouldOfferNew()?[{id:"new",label:((e=this.input)===null||e===void 0?void 0:e.value)||this.value,kind:"new"}]:[]]}}setActiveSuggestion(e,o=!1){var n,i;let a=this.getTotalSuggestionsCount();if(e<0||e>=a)return;this.activeIndex=e;let s=this.visibleSuggestions[e];if(s){if(o){let l=s.kind==="new"?((n=this.input)===null||n===void 0?void 0:n.value)||this.value:s.label,d=this.filter.length;(i=this.input)===null||i===void 0||i.setSelectionRange(d,l.length)}this.scrollSuggestionIntoView(e)}}scrollSuggestionIntoView(e){requestAnimationFrame(()=>{var o,n;let i;this.isNewValueSuggestionSelected()?i=(o=this.listbox)===null||o===void 0?void 0:o.querySelector("#option-new-value"):i=(n=this.listbox)===null||n===void 0?void 0:n.querySelector(`#option-${e}`),i&&this.listbox&&(this.listbox.scrollTop+this.listbox.offsetHeight<i.offsetTop+i.offsetHeight?this.listbox.scrollTop=i.offsetTop+i.offsetHeight-this.listbox.offsetHeight:this.listbox.scrollTop>i.offsetTop+2&&(this.listbox.scrollTop=i.offsetTop))})}openListbox(){this.isOpen=!0}closeListbox(e=!1){(e||!this.comboboxHasVisualFocus&&!this.listboxHasVisualFocus)&&(this.isOpen=!1)}setVisualFocusCombobox(){this.comboboxHasVisualFocus=!0,this.listboxHasVisualFocus=!1}setVisualFocusListbox(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!0}removeVisualFocusAll(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1}setValue(e){this.multiValued?this.addToSelection(e):(this.filter=e,this._value=e,this.input.value=e,this.input.setSelectionRange(e.length,e.length),this.updateSuggestions(),this.dispatchChangeEvent())}dispatchChangeEvent(){var e,o;let n=(o=(e=this.providedSuggestions.find(i=>this._value===i.label))===null||e===void 0?void 0:e.value)!==null&&o!==void 0?o:this._value;this.dispatchEvent(new CustomEvent("change",{detail:n,bubbles:!0,composed:!0}))}addToSelection(e){var o,n;if(e.trim().length===0){this.clearInput(),this.closeListbox(!0);return}if(this.labels.includes(e)){this.removeFromSelection(e),this.closeListbox(!0);return}if(this.maxValues&&this.labels.length>=this.maxValues){this.ariaLiveMessage=ur.messages.maxValuesReached((o=this.maxValues)!==null&&o!==void 0?o:0),this.closeListbox(!0);return}this.labels=[...this.labels,e];let l=this.providedSuggestions.find(d=>d.label===e);this.labelsToValues.set(e,(n=l?.value)!==null&&n!==void 0?n:e),this.ariaLiveMessage=ur.messages.valueAdded(e),this.dispatchMultiValueChangeEvent(),this.clearInput(),this.closeListbox(!0)}clearInput(){this.filter="",this.input.value="",this.input.setSelectionRange(0,0),this.updateSuggestions(),this.input.focus()}removeFromSelection(e){this.labels=this.labels.filter(o=>o!==e),this.labelsToValues.delete(e),this.updateSuggestions(),this.ariaLiveMessage=ur.messages.valueRemoved(e),this.dispatchMultiValueChangeEvent(),this.input.focus()}dispatchMultiValueChangeEvent(){let e=this.labels.map(o=>{var n;return(n=this.labelsToValues.get(o))!==null&&n!==void 0?n:o});this.dispatchEvent(new CustomEvent("change",{detail:e,bubbles:!0,composed:!0}))}isPrintableCharacter(e){return e.length===1&&e.match(/\S| /)!==null}commitSelectionFromEnter(){var e,o;this.isOpen&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion?this.setValue(this.activeSuggestion.label):(((o=this.input)===null||o===void 0?void 0:o.value)||"").length>0&&this.setValue(this.input.value)),this.multiValued?this.activeIndex=-1:(this.setVisualFocusCombobox(),this.closeListbox(!0))}moveFocusToNextSuggestion(e){let o=this.getTotalSuggestionsCount();if(!(o<=0)&&(this.openListbox(),!e.altKey))if(this.listboxHasVisualFocus){let n=this.activeIndex<o-1?this.activeIndex+1:0;this.setActiveSuggestion(n)}else this.setActiveSuggestion(0,!0),this.setVisualFocusListbox()}moveFocusToPreviousSuggestion(e){let o=this.getTotalSuggestionsCount();if(!(o<=0))if(this.listboxHasVisualFocus){let n=this.activeIndex>0?this.activeIndex-1:o-1;this.setActiveSuggestion(n)}else this.openListbox(),e.altKey||(this.setActiveSuggestion(o-1,!0),this.setVisualFocusListbox())}handleEscapeKey(){this.isOpen?(this.closeListbox(!0),this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox()):this.setValue(""),this.activeIndex=-1}handleTabKey(){var e;this.closeListbox(!0),this.listboxHasVisualFocus&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion&&this.setValue(this.activeSuggestion.label))}moveCaretToHome(){this.input.setSelectionRange(0,0)}moveCaretToEnd(){let e=this.input.value.length;this.input.setSelectionRange(e,e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}};q.styles=[Vr,un,hd];q.elementDefinitions={"ft-input-label":Fe,"ft-ripple":oe,"ft-typography":ge,"ft-icon":fe,"ft-chip":me};ne([b()],q.prototype,"label",void 0);ne([b()],q.prototype,"icon",void 0);ne([b()],q.prototype,"iconVariant",void 0);ne([b()],q.prototype,"name",void 0);ne([b({type:Boolean})],q.prototype,"error",void 0);ne([b({type:Boolean})],q.prototype,"filterSuggestions",void 0);ne([b()],q.prototype,"helper",void 0);ne([b({type:Boolean})],q.prototype,"disabled",void 0);ne([b({type:Boolean})],q.prototype,"outlined",void 0);ne([b()],q.prototype,"placeholder",void 0);ne([b()],q.prototype,"suggestionsHelper",void 0);ne([b({attribute:!1})],q.prototype,"suggestionsProvider",void 0);ne([Lt()],q.prototype,"suggestionsProviderDebouncerTimeout",void 0);ne([b({noAccessor:!0})],q.prototype,"value",null);ne([b({type:Boolean})],q.prototype,"canOfferNewValue",void 0);ne([b({type:Boolean})],q.prototype,"multiValued",void 0);ne([Lt()],q.prototype,"maxValues",void 0);ne([Lt()],q.prototype,"maxLength",void 0);ne([b()],q.prototype,"labels",void 0);ne([j()],q.prototype,"labelsToValues",void 0);ne([j()],q.prototype,"filter",void 0);ne([j()],q.prototype,"isOpen",void 0);ne([j()],q.prototype,"comboboxHasVisualFocus",void 0);ne([j()],q.prototype,"listboxHasVisualFocus",void 0);ne([j()],q.prototype,"providedSuggestions",void 0);ne([j()],q.prototype,"visibleSuggestions",void 0);ne([j()],q.prototype,"activeIndex",void 0);ne([j()],q.prototype,"ariaLiveMessage",void 0);ne([ae(".ft-combobox--input")],q.prototype,"input",void 0);ne([ae(".ft-combobox--listbox")],q.prototype,"listbox",void 0);function pL(t,e=20){return o=>{let n=(o||"").toLowerCase();return t.map(i=>typeof i=="string"?{value:i,label:i}:i).filter(i=>i.label.toLowerCase().includes(n)).sort((i,a)=>$f(i.label,a.label,n)).slice(0,e)}}function $f(t,e,o){let n=t.toLowerCase(),i=e.toLowerCase(),a=o.toLowerCase();return n.startsWith(a)&&!i.startsWith(a)?-1:i.startsWith(a)&&!n.startsWith(a)?1:n.localeCompare(i)}ie("ft-combobox")(q);})();
2312
+ `}get activeSuggestion(){return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length?this.visibleSuggestions[this.activeIndex]:null}shouldOfferNew(){var e;let r=((e=this.input)===null||e===void 0?void 0:e.value)||this.value||"",n=this.multiValued&&this.labels.includes(r);return r!==""&&!this.providedSuggestions.some(i=>i.label===r)&&!n&&this.canOfferNewValue}getTotalSuggestionsCount(){return this.visibleSuggestions.length}isNewValueSuggestionSelected(){var e;return this.activeIndex>=0&&this.activeIndex<this.visibleSuggestions.length&&((e=this.visibleSuggestions[this.activeIndex])===null||e===void 0?void 0:e.kind)==="new"}connectedCallback(){super.connectedCallback(),document.body.addEventListener("pointerup",this.onBackgroundPointerUp)}disconnectedCallback(){super.disconnectedCallback(),document.body.removeEventListener("pointerup",this.onBackgroundPointerUp)}renderLiveText(){let e=this.getTotalSuggestionsCount();return this.isOpen&&e>0?hr.messages.ariaLiveOptions(e):""}getActiveDescendantId(){return this.activeIndex<0?"":this.isNewValueSuggestionSelected()?"option-new-value":`option-${this.activeIndex}`}async updateSuggestions(){var e;this._suggestionsProviderDebouncer?await((e=this._suggestionsProviderDebouncer)===null||e===void 0?void 0:e.run(()=>this.updateSuggestionsWithoutDebounce())):await this.updateSuggestionsWithoutDebounce()}async updateSuggestionsWithoutDebounce(){var e;if(this.suggestionsProvider){this.providedSuggestions=await this.suggestionsProvider(this.filter);let r=(this.filterSuggestions?this.providedSuggestions.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())):this.providedSuggestions).map((n,i)=>({id:`regular-${i}`,label:n.label,kind:"regular"}));this.visibleSuggestions=[...r,...this.shouldOfferNew()?[{id:"new",label:((e=this.input)===null||e===void 0?void 0:e.value)||this.value,kind:"new"}]:[]]}}setActiveSuggestion(e,r=!1){var n,i;let a=this.getTotalSuggestionsCount();if(e<0||e>=a)return;this.activeIndex=e;let s=this.visibleSuggestions[e];if(s){if(r){let l=s.kind==="new"?((n=this.input)===null||n===void 0?void 0:n.value)||this.value:s.label,d=this.filter.length;(i=this.input)===null||i===void 0||i.setSelectionRange(d,l.length)}this.scrollSuggestionIntoView(e)}}scrollSuggestionIntoView(e){requestAnimationFrame(()=>{var r,n;let i;this.isNewValueSuggestionSelected()?i=(r=this.listbox)===null||r===void 0?void 0:r.querySelector("#option-new-value"):i=(n=this.listbox)===null||n===void 0?void 0:n.querySelector(`#option-${e}`),i&&this.listbox&&(this.listbox.scrollTop+this.listbox.offsetHeight<i.offsetTop+i.offsetHeight?this.listbox.scrollTop=i.offsetTop+i.offsetHeight-this.listbox.offsetHeight:this.listbox.scrollTop>i.offsetTop+2&&(this.listbox.scrollTop=i.offsetTop))})}openListbox(){this.isOpen=!0}closeListbox(e=!1){(e||!this.comboboxHasVisualFocus&&!this.listboxHasVisualFocus)&&(this.isOpen=!1)}setVisualFocusCombobox(){this.comboboxHasVisualFocus=!0,this.listboxHasVisualFocus=!1}setVisualFocusListbox(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!0}removeVisualFocusAll(){this.comboboxHasVisualFocus=!1,this.listboxHasVisualFocus=!1}setValue(e){this.multiValued?this.addToSelection(e):(this.filter=e,this._value=e,this.input.value=e,this.input.setSelectionRange(e.length,e.length),this.updateSuggestions(),this.dispatchChangeEvent())}dispatchChangeEvent(){var e,r;let n=(r=(e=this.providedSuggestions.find(i=>this._value===i.label))===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:this._value;this.dispatchEvent(new CustomEvent("change",{detail:n,bubbles:!0,composed:!0}))}addToSelection(e){var r,n;if(e.trim().length===0){this.clearInput(),this.closeListbox(!0);return}if(this.labels.includes(e)){this.removeFromSelection(e),this.closeListbox(!0);return}if(this.maxValues&&this.labels.length>=this.maxValues){this.ariaLiveMessage=hr.messages.maxValuesReached((r=this.maxValues)!==null&&r!==void 0?r:0),this.closeListbox(!0);return}this.labels=[...this.labels,e];let l=this.providedSuggestions.find(d=>d.label===e);this.labelsToValues.set(e,(n=l?.value)!==null&&n!==void 0?n:e),this.ariaLiveMessage=hr.messages.valueAdded(e),this.dispatchMultiValueChangeEvent(),this.clearInput(),this.closeListbox(!0)}clearInput(){this.filter="",this.input.value="",this.input.setSelectionRange(0,0),this.updateSuggestions(),this.input.focus()}removeFromSelection(e){this.labels=this.labels.filter(r=>r!==e),this.labelsToValues.delete(e),this.updateSuggestions(),this.ariaLiveMessage=hr.messages.valueRemoved(e),this.dispatchMultiValueChangeEvent(),this.input.focus()}dispatchMultiValueChangeEvent(){let e=this.labels.map(r=>{var n;return(n=this.labelsToValues.get(r))!==null&&n!==void 0?n:r});this.dispatchEvent(new CustomEvent("change",{detail:e,bubbles:!0,composed:!0}))}isPrintableCharacter(e){return e.length===1&&e.match(/\S| /)!==null}commitSelectionFromEnter(){var e,r;this.isOpen&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion?this.setValue(this.activeSuggestion.label):(((r=this.input)===null||r===void 0?void 0:r.value)||"").length>0&&this.setValue(this.input.value)),this.multiValued?this.activeIndex=-1:(this.setVisualFocusCombobox(),this.closeListbox(!0))}moveFocusToNextSuggestion(e){let r=this.getTotalSuggestionsCount();if(!(r<=0)&&(this.openListbox(),!e.altKey))if(this.listboxHasVisualFocus){let n=this.activeIndex<r-1?this.activeIndex+1:0;this.setActiveSuggestion(n)}else this.setActiveSuggestion(0,!0),this.setVisualFocusListbox()}moveFocusToPreviousSuggestion(e){let r=this.getTotalSuggestionsCount();if(!(r<=0))if(this.listboxHasVisualFocus){let n=this.activeIndex>0?this.activeIndex-1:r-1;this.setActiveSuggestion(n)}else this.openListbox(),e.altKey||(this.setActiveSuggestion(r-1,!0),this.setVisualFocusListbox())}handleEscapeKey(){this.isOpen?(this.closeListbox(!0),this.filter=this.input.value,this.updateSuggestions(),this.setVisualFocusCombobox()):this.setValue(""),this.activeIndex=-1}handleTabKey(){var e;this.closeListbox(!0),this.listboxHasVisualFocus&&(this.isNewValueSuggestionSelected()?this.setValue(((e=this.input)===null||e===void 0?void 0:e.value)||this.value):this.activeSuggestion&&this.setValue(this.activeSuggestion.label))}moveCaretToHome(){this.input.setSelectionRange(0,0)}moveCaretToEnd(){let e=this.input.value.length;this.input.setSelectionRange(e,e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}blur(){var e;(e=this.input)===null||e===void 0||e.blur()}};q.styles=[Kr,Bn,bd];q.elementDefinitions={"ft-input-label":Fe,"ft-ripple":ne,"ft-typography":be,"ft-icon":fe,"ft-chip":me};ie([b()],q.prototype,"label",void 0);ie([b()],q.prototype,"icon",void 0);ie([b()],q.prototype,"iconVariant",void 0);ie([b()],q.prototype,"name",void 0);ie([b({type:Boolean})],q.prototype,"error",void 0);ie([b({type:Boolean})],q.prototype,"filterSuggestions",void 0);ie([b()],q.prototype,"helper",void 0);ie([b({type:Boolean})],q.prototype,"disabled",void 0);ie([b({type:Boolean})],q.prototype,"outlined",void 0);ie([b()],q.prototype,"placeholder",void 0);ie([b()],q.prototype,"suggestionsHelper",void 0);ie([b({attribute:!1})],q.prototype,"suggestionsProvider",void 0);ie([Nt()],q.prototype,"suggestionsProviderDebouncerTimeout",void 0);ie([b({noAccessor:!0})],q.prototype,"value",null);ie([b({type:Boolean})],q.prototype,"canOfferNewValue",void 0);ie([b({type:Boolean})],q.prototype,"multiValued",void 0);ie([Nt()],q.prototype,"maxValues",void 0);ie([Nt()],q.prototype,"maxLength",void 0);ie([b()],q.prototype,"labels",void 0);ie([G()],q.prototype,"labelsToValues",void 0);ie([G()],q.prototype,"filter",void 0);ie([G()],q.prototype,"isOpen",void 0);ie([G()],q.prototype,"comboboxHasVisualFocus",void 0);ie([G()],q.prototype,"listboxHasVisualFocus",void 0);ie([G()],q.prototype,"providedSuggestions",void 0);ie([G()],q.prototype,"visibleSuggestions",void 0);ie([G()],q.prototype,"activeIndex",void 0);ie([G()],q.prototype,"ariaLiveMessage",void 0);ie([ae(".ft-combobox--input")],q.prototype,"input",void 0);ie([ae(".ft-combobox--listbox")],q.prototype,"listbox",void 0);function rI(t,e=20){return r=>{let n=(r||"").toLowerCase();return t.map(i=>typeof i=="string"?{value:i,label:i}:i).filter(i=>i.label.toLowerCase().includes(n)).sort((i,a)=>Uf(i.label,a.label,n)).slice(0,e)}}function Uf(t,e,r){let n=t.toLowerCase(),i=e.toLowerCase(),a=r.toLowerCase();return n.startsWith(a)&&!i.startsWith(a)?-1:i.startsWith(a)&&!n.startsWith(a)?1:n.localeCompare(i)}re("ft-combobox")(q);})();
2295
2313
  /*! Bundled license information:
2296
2314
 
2297
2315
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: