@fluid-topics/ft-filterable-table 1.3.53 → 1.3.55

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,8 +1,8 @@
1
- "use strict";(()=>{var ud=Object.create;var na=Object.defineProperty;var fd=Object.getOwnPropertyDescriptor;var hd=Object.getOwnPropertyNames;var yd=Object.getPrototypeOf,gd=Object.prototype.hasOwnProperty;var Ht=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var md=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hd(e))!gd.call(t,i)&&i!==o&&na(t,i,{get:()=>e[i],enumerable:!(n=fd(e,i))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?ud(yd(t)):{},md(e||!t||!t.__esModule?na(o,"default",{value:t,enumerable:!0}):o,t));var I=Ht((Gp,ia)=>{ia.exports=ftGlobals.wcUtils});var V=Ht((jp,aa)=>{aa.exports=ftGlobals.lit});var ie=Ht((Vp,sa)=>{sa.exports=ftGlobals.litDecorators});var ho=Ht((Kp,la)=>{la.exports=ftGlobals.litRepeat});var yn=Ht((Zp,ca)=>{ca.exports=ftGlobals.litUnsafeHTML});var St=Ht((qp,da)=>{da.exports=ftGlobals.litClassMap});var sl=Ht((_t,al)=>{var ko=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Do=function(){function t(){this.fetch=!1,this.DOMException=ko.DOMException}return t.prototype=ko,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]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function p(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 y(g){var v={next:function(){var k=g.shift();return{done:k===void 0,value:k}}};return i.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,k){this.append(k,v)},this):Array.isArray(g)?g.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=p(g),v=u(v);var k=this.map[g];this.map[g]=k?k+", "+v:v},h.prototype.delete=function(g){delete this.map[p(g)]},h.prototype.get=function(g){return g=p(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(p(g))},h.prototype.set=function(g,v){this.map[p(g)]=u(v)},h.prototype.forEach=function(g,v){for(var k in this.map)this.map.hasOwnProperty(k)&&g.call(v,this.map[k],k,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,k){g.push(k)}),y(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),y(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,k){g.push([k,v])}),y(g)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function x(g){return new Promise(function(v,k){g.onload=function(){v(g.result)},g.onerror=function(){k(g.error)}})}function S(g){var v=new FileReader,k=x(v);return v.readAsArrayBuffer(g),k}function C(g){var v=new FileReader,k=x(v),X=/charset=([A-Za-z0-9_-]+)/.exec(g.type),ne=X?X[1]:"utf-8";return v.readAsText(g,ne),k}function T(g){for(var v=new Uint8Array(g),k=new Array(v.length),X=0;X<v.length;X++)k[X]=String.fromCharCode(v[X]);return k.join("")}function R(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function L(){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=R(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(g))?this._bodyArrayBuffer=R(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(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return C(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(Ne)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function W(g){var v=g.toUpperCase();return $.indexOf(v)>-1?v:g}function G(g,v){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var k=v.body;if(g instanceof G){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(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=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=W(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var j=new AbortController;return j.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")&&(v.cache==="no-store"||v.cache==="no-cache")){var X=/([?&])_=[^&]*/;if(X.test(this.url))this.url=this.url.replace(X,"$1_="+new Date().getTime());else{var ne=/\?/;this.url+=(ne.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})};function Ne(g){var v=new FormData;return g.trim().split("&").forEach(function(k){if(k){var X=k.split("="),ne=X.shift().replace(/\+/g," "),j=X.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ne),decodeURIComponent(j))}}),v}function et(g){var v=new h,k=g.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(X){return X.indexOf(`
2
- `)===0?X.substr(1,X.length):X}).forEach(function(X){var ne=X.split(":"),j=ne.shift().trim();if(j){var fo=ne.join(":").trim();try{v.append(j,fo)}catch(hn){console.warn("Response "+hn.message)}}}),v}L.call(G.prototype);function Te(g,v){if(!(this instanceof Te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}L.call(Te.prototype),Te.prototype.clone=function(){return new Te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Te.error=function(){var g=new Te(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var tt=[301,302,303,307,308];Te.redirect=function(g,v){if(tt.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Te(null,{status:v,headers:{location:g}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,k){this.message=v,this.name=k;var X=Error(v);this.stack=X.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Se(g,v){return new Promise(function(k,X){var ne=new G(g,v);if(ne.signal&&ne.signal.aborted)return X(new o.DOMException("Aborted","AbortError"));var j=new XMLHttpRequest;function fo(){j.abort()}j.onload=function(){var Oe={statusText:j.statusText,headers:et(j.getAllResponseHeaders()||"")};ne.url.indexOf("file://")===0&&(j.status<200||j.status>599)?Oe.status=200:Oe.status=j.status,Oe.url="responseURL"in j?j.responseURL:Oe.headers.get("X-Request-URL");var zt="response"in j?j.response:j.responseText;setTimeout(function(){k(new Te(zt,Oe))},0)},j.onerror=function(){setTimeout(function(){X(new TypeError("Network request failed"))},0)},j.ontimeout=function(){setTimeout(function(){X(new TypeError("Network request timed out"))},0)},j.onabort=function(){setTimeout(function(){X(new o.DOMException("Aborted","AbortError"))},0)};function hn(Oe){try{return Oe===""&&n.location.href?n.location.href:Oe}catch{return Oe}}if(j.open(ne.method,hn(ne.url),!0),ne.credentials==="include"?j.withCredentials=!0:ne.credentials==="omit"&&(j.withCredentials=!1),"responseType"in j&&(i.blob?j.responseType="blob":i.arrayBuffer&&(j.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof h||n.Headers&&v.headers instanceof n.Headers)){var oa=[];Object.getOwnPropertyNames(v.headers).forEach(function(Oe){oa.push(p(Oe)),j.setRequestHeader(Oe,u(v.headers[Oe]))}),ne.headers.forEach(function(Oe,zt){oa.indexOf(zt)===-1&&j.setRequestHeader(zt,Oe)})}else ne.headers.forEach(function(Oe,zt){j.setRequestHeader(zt,Oe)});ne.signal&&(ne.signal.addEventListener("abort",fo),j.onreadystatechange=function(){j.readyState===4&&ne.signal.removeEventListener("abort",fo)}),j.send(typeof ne._bodyInit>"u"?null:ne._bodyInit)})}return Se.polyfill=!0,n.fetch||(n.fetch=Se,n.Headers=h,n.Request=G,n.Response=Te),o.Headers=h,o.Request=G,o.Response=Te,o.fetch=Se,o}({})})(Do);Do.fetch.ponyfill=!0;delete Do.fetch.polyfill;var wr=ko.fetch?ko:Do;_t=wr.fetch;_t.default=wr.fetch;_t.fetch=wr.fetch;_t.Headers=wr.Headers;_t.Request=wr.Request;_t.Response=wr.Response;al.exports=_t});var pd=b(I());var Le=b(V()),uo=b(ie()),$r=b(ho()),cd=b(yn()),Mr=b(I());var oi=b(I());var Zt=b(V()),Q=b(ie()),ri=b(St()),hs=b(ho());function yo(t,e,o){return t?e(t):o?.(t)}var On=globalThis,go=On.trustedTypes,pa=go?go.createPolicy("lit-html",{createHTML:t=>t}):void 0,ma="$lit$",Ot=`lit$${Math.random().toFixed(9).slice(2)}$`,ba="?"+Ot,bd=`<${ba}>`,jt=document,mo=()=>jt.createComment(""),Fr=t=>t===null||typeof t!="object"&&typeof t!="function",Cn=Array.isArray,xd=t=>Cn(t)||typeof t?.[Symbol.iterator]=="function",gn=`[
3
- \f\r]`,Ur=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ua=/-->/g,fa=/>/g,Wt=RegExp(`>|${gn}(?:([^\\s"'>=/]+)(${gn}*=${gn}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ha=/'/g,ya=/"/g,xa=/^(?:script|style|textarea|title)$/i,En=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),va=En(1),Sa=En(2),Oa=En(3),zr=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),ga=new WeakMap,Gt=jt.createTreeWalker(jt,129);function Ca(t,e){if(!Cn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return pa!==void 0?pa.createHTML(e):e}var vd=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Ur;for(let c=0;c<o;c++){let p=t[c],u,y,h=-1,m=0;for(;m<p.length&&(s.lastIndex=m,y=s.exec(p),y!==null);)m=s.lastIndex,s===Ur?y[1]==="!--"?s=ua:y[1]!==void 0?s=fa:y[2]!==void 0?(xa.test(y[2])&&(i=RegExp("</"+y[2],"g")),s=Wt):y[3]!==void 0&&(s=Wt):s===Wt?y[0]===">"?(s=i??Ur,h=-1):y[1]===void 0?h=-2:(h=s.lastIndex-y[2].length,u=y[1],s=y[3]===void 0?Wt:y[3]==='"'?ya:ha):s===ya||s===ha?s=Wt:s===ua||s===fa?s=Ur:(s=Wt,i=void 0);let x=s===Wt&&t[c+1].startsWith("/>")?" ":"";a+=s===Ur?p+bd:h>=0?(n.push(u),p.slice(0,h)+ma+p.slice(h)+Ot+x):p+Ot+(h===-2?c:x)}return[Ca(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Hr=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,p=this.parts,[u,y]=vd(e,o);if(this.el=t.createElement(u,n),Gt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Gt.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(ma)){let m=y[s++],x=i.getAttribute(h).split(Ot),S=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?bn:S[1]==="?"?xn:S[1]==="@"?vn:sr}),i.removeAttribute(h)}else h.startsWith(Ot)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(xa.test(i.tagName)){let h=i.textContent.split(Ot),m=h.length-1;if(m>0){i.textContent=go?go.emptyScript:"";for(let x=0;x<m;x++)i.append(h[x],mo()),Gt.nextNode(),p.push({type:2,index:++a});i.append(h[m],mo())}}}else if(i.nodeType===8)if(i.data===ba)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Ot,h+1))!==-1;)p.push({type:7,index:a}),h+=Ot.length-1}a++}}static createElement(e,o){let n=jt.createElement("template");return n.innerHTML=e,n}};function ar(t,e,o=t,n){if(e===zr)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Fr(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=ar(t,i._$AS(t,e.values),i,n)),e}var mn=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??jt).importNode(o,!0);Gt.currentNode=i;let a=Gt.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let u;p.type===2?u=new bo(a,a.nextSibling,this,e):p.type===1?u=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(u=new Sn(a,this,e)),this._$AV.push(u),p=n[++c]}s!==p?.index&&(a=Gt.nextNode(),s++)}return Gt.currentNode=jt,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++}},bo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=le,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=ar(this,e,o),Fr(e)?e===le||e==null||e===""?(this._$AH!==le&&this._$AR(),this._$AH=le):e!==this._$AH&&e!==zr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):xd(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!==le&&Fr(this._$AH)?this._$AA.nextSibling.data=e:this.T(jt.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=Hr.createElement(Ca(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new mn(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=ga.get(e.strings);return o===void 0&&ga.set(e.strings,o=new Hr(e)),o}k(e){Cn(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(mo()),this.O(mo()),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))}},sr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=le,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=le}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ar(this,e,o,0),s=!Fr(e)||e!==this._$AH&&e!==zr,s&&(this._$AH=e);else{let c=e,p,u;for(e=a[0],p=0;p<a.length-1;p++)u=ar(this,c[n+p],o,p),u===zr&&(u=this._$AH[p]),s||=!Fr(u)||u!==this._$AH[p],u===le?e=le:e!==le&&(e+=(u??"")+a[p+1]),this._$AH[p]=u}s&&!i&&this.j(e)}j(e){e===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},bn=class extends sr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===le?void 0:e}},xn=class extends sr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==le)}},vn=class extends sr{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=ar(this,e,o,0)??le)===zr)return;let n=this._$AH,i=e===le&&n!==le||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==le&&(n===le||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)}},Sn=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){ar(this,e)}};var Sd=On.litHtmlPolyfillSupport;Sd?.(Hr,bo),(On.litHtmlVersions??=[]).push("3.3.0");var rt=t=>t??le;var Tt=b(I());var Xn=b(I());var Aa=Symbol.for(""),Od=t=>{if(t?.r===Aa)return t?._$litStatic$},lr=t=>({_$litStatic$:t,r:Aa});var Ea=new Map,An=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],p,u=0,y=!1;for(;u<n;){for(p=e[u];u<n&&(a=o[u],(i=Od(a))!==void 0);)p+=i+e[++u],y=!0;u!==n&&c.push(a),s.push(p),u++}if(u===n&&s.push(e[n]),y){let h=s.join("$$lit$$");(e=Ea.get(h))===void 0&&(s.raw=s,Ea.set(h,e=s)),o=c}return t(e,...o)},cr=An(va),iu=An(Sa),au=An(Oa);var qn=b(ie()),Ua=b(I());var Ve;(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"})(Ve||(Ve={}));var Ue=b(V()),w=b(I());var ut=b(V(),1),Ct=t=>typeof t=="string"?(0,ut.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>Ct(c??i),s=ut.css`var(${Ct(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>wa(s,c??a(i)),s.get=c=>ut.css`var(${Ct(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=ut.css`var(${Ct(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=c=>wa(s,c??a(i)),s.get=c=>ut.css`var(${Ct(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=ut.css`var(${Ct(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=>ut.css`var(${Ct(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function wa(t,e){return Ct(`${t.name}: ${e}`)}var l={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)")},wn={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")},Rn={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")},Tn={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")},Ln={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")},Nn={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")},In={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")},_n={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")},Pn={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")},Vt={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")},Cd={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")},kn={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")},Dn={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")},$n={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")},Bn={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")},Mn={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")},Un={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")},Fn={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")},zn={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")},Hn={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")},Wn={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")},Et={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")},Gn={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")},jn={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")},Vn={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")},Kn={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")},Zn={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")},Kt={display:wn,"title-1":Rn,"title-2":Tn,"title-3":Ln,"body-1-regular":Nn,"body-1-medium":In,"body-1-semibold":_n,"body-2-regular":Pn,"body-2-medium":Vt,"body-2-medium-underline":Cd,"body-2-semibold":kn,"label-1-medium":Dn,"label-1-semibold":$n,"label-1-bold":Bn,"label-2-medium":Mn,"label-2-semibold":Un,"label-2-bold":Fn,"caption-1-medium":zn,"caption-1-semibold":Hn,"caption-1-bold":Wn,"caption-2-medium":Et,"caption-2-semibold":Gn,"caption-2-bold":jn,"caption-3-medium":Vn,"caption-3-semibold":Kn,"caption-3-bold":Zn};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
5
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var f={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",l.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","",l.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",l.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","",l.spacing2),smallGap:r.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.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","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.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","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.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","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.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","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.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","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Eu={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",l.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","",l.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","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.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","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.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","",l.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.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","",l.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var Lu={iconSize:r.extend("--ftds-checkbox-icon-size","",l.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","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.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","",l.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",l.spacing2)};var ku={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.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","",l.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var Uu={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Gu={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",l.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","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",l.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","",l.iconSize2)};var qu={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",l.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","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",l.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","",l.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",l.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","",l.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var ef={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var af={iconSize:r.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var pf={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var gf={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Sf={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var wf={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Nf={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Df={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var Ff={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",l.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","",l.colorGray700)};var jf={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Yf={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",l.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","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var th={backgroundColor:r.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.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","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var ah={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var ph={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.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","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var gh={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.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","",l.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var Sh={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",l.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var wh={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var Ih={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var Dh={color1Light:r.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var Uh={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Gh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ftds-notice-gap","",l.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.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","",l.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var qh={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",l.spacing3)};var ey={iconSize:r.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",l.spacing8)};var iy={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",l.spacing05)};var dy={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var hy={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var xo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(xo||(xo={}));var dr;(function(t){t.large="large",t.medium="medium",t.small="small"})(dr||(dr={}));var pr=b(V());function Ra(t,e){let o=Kt[t];return pr.css`
1
+ "use strict";(()=>{var yd=Object.create;var sa=Object.defineProperty;var gd=Object.getOwnPropertyDescriptor;var md=Object.getOwnPropertyNames;var bd=Object.getPrototypeOf,xd=Object.prototype.hasOwnProperty;var Ht=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var vd=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of md(e))!xd.call(t,i)&&i!==o&&sa(t,i,{get:()=>e[i],enumerable:!(n=gd(e,i))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?yd(bd(t)):{},vd(e||!t||!t.__esModule?sa(o,"default",{value:t,enumerable:!0}):o,t));var I=Ht((Kp,la)=>{la.exports=ftGlobals.wcUtils});var K=Ht((Zp,ca)=>{ca.exports=ftGlobals.lit});var ie=Ht((qp,da)=>{da.exports=ftGlobals.litDecorators});var ho=Ht((Yp,pa)=>{pa.exports=ftGlobals.litRepeat});var bn=Ht((Xp,ua)=>{ua.exports=ftGlobals.litUnsafeHTML});var St=Ht((Qp,fa)=>{fa.exports=ftGlobals.litClassMap});var dl=Ht((_t,cl)=>{var Bo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Mo=function(){function t(){this.fetch=!1,this.DOMException=Bo.DOMException}return t.prototype=Bo,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]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function p(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 y(g){var v={next:function(){var k=g.shift();return{done:k===void 0,value:k}}};return i.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,k){this.append(k,v)},this):Array.isArray(g)?g.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=p(g),v=u(v);var k=this.map[g];this.map[g]=k?k+", "+v:v},h.prototype.delete=function(g){delete this.map[p(g)]},h.prototype.get=function(g){return g=p(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(p(g))},h.prototype.set=function(g,v){this.map[p(g)]=u(v)},h.prototype.forEach=function(g,v){for(var k in this.map)this.map.hasOwnProperty(k)&&g.call(v,this.map[k],k,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,k){g.push(k)}),y(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),y(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,k){g.push([k,v])}),y(g)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function x(g){return new Promise(function(v,k){g.onload=function(){v(g.result)},g.onerror=function(){k(g.error)}})}function S(g){var v=new FileReader,k=x(v);return v.readAsArrayBuffer(g),k}function C(g){var v=new FileReader,k=x(v),X=/charset=([A-Za-z0-9_-]+)/.exec(g.type),ne=X?X[1]:"utf-8";return v.readAsText(g,ne),k}function T(g){for(var v=new Uint8Array(g),k=new Array(v.length),X=0;X<v.length;X++)k[X]=String.fromCharCode(v[X]);return k.join("")}function R(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.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=R(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(g))?this._bodyArrayBuffer=R(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(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=m(this);if(g)return g;if(this._bodyBlob)return C(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(Le)}),this.json=function(){return this.text().then(JSON.parse)},this}var $=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function W(g){var v=g.toUpperCase();return $.indexOf(v)>-1?v:g}function G(g,v){if(!(this instanceof G))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var k=v.body;if(g instanceof G){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(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=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=W(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var V=new AbortController;return V.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")&&(v.cache==="no-store"||v.cache==="no-cache")){var X=/([?&])_=[^&]*/;if(X.test(this.url))this.url=this.url.replace(X,"$1_="+new Date().getTime());else{var ne=/\?/;this.url+=(ne.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}G.prototype.clone=function(){return new G(this,{body:this._bodyInit})};function Le(g){var v=new FormData;return g.trim().split("&").forEach(function(k){if(k){var X=k.split("="),ne=X.shift().replace(/\+/g," "),V=X.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ne),decodeURIComponent(V))}}),v}function et(g){var v=new h,k=g.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(X){return X.indexOf(`
2
+ `)===0?X.substr(1,X.length):X}).forEach(function(X){var ne=X.split(":"),V=ne.shift().trim();if(V){var fo=ne.join(":").trim();try{v.append(V,fo)}catch(mn){console.warn("Response "+mn.message)}}}),v}N.call(G.prototype);function Te(g,v){if(!(this instanceof Te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}N.call(Te.prototype),Te.prototype.clone=function(){return new Te(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Te.error=function(){var g=new Te(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var tt=[301,302,303,307,308];Te.redirect=function(g,v){if(tt.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Te(null,{status:v,headers:{location:g}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,k){this.message=v,this.name=k;var X=Error(v);this.stack=X.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function Se(g,v){return new Promise(function(k,X){var ne=new G(g,v);if(ne.signal&&ne.signal.aborted)return X(new o.DOMException("Aborted","AbortError"));var V=new XMLHttpRequest;function fo(){V.abort()}V.onload=function(){var Oe={statusText:V.statusText,headers:et(V.getAllResponseHeaders()||"")};ne.url.indexOf("file://")===0&&(V.status<200||V.status>599)?Oe.status=200:Oe.status=V.status,Oe.url="responseURL"in V?V.responseURL:Oe.headers.get("X-Request-URL");var zt="response"in V?V.response:V.responseText;setTimeout(function(){k(new Te(zt,Oe))},0)},V.onerror=function(){setTimeout(function(){X(new TypeError("Network request failed"))},0)},V.ontimeout=function(){setTimeout(function(){X(new TypeError("Network request timed out"))},0)},V.onabort=function(){setTimeout(function(){X(new o.DOMException("Aborted","AbortError"))},0)};function mn(Oe){try{return Oe===""&&n.location.href?n.location.href:Oe}catch{return Oe}}if(V.open(ne.method,mn(ne.url),!0),ne.credentials==="include"?V.withCredentials=!0:ne.credentials==="omit"&&(V.withCredentials=!1),"responseType"in V&&(i.blob?V.responseType="blob":i.arrayBuffer&&(V.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof h||n.Headers&&v.headers instanceof n.Headers)){var aa=[];Object.getOwnPropertyNames(v.headers).forEach(function(Oe){aa.push(p(Oe)),V.setRequestHeader(Oe,u(v.headers[Oe]))}),ne.headers.forEach(function(Oe,zt){aa.indexOf(zt)===-1&&V.setRequestHeader(zt,Oe)})}else ne.headers.forEach(function(Oe,zt){V.setRequestHeader(zt,Oe)});ne.signal&&(ne.signal.addEventListener("abort",fo),V.onreadystatechange=function(){V.readyState===4&&ne.signal.removeEventListener("abort",fo)}),V.send(typeof ne._bodyInit>"u"?null:ne._bodyInit)})}return Se.polyfill=!0,n.fetch||(n.fetch=Se,n.Headers=h,n.Request=G,n.Response=Te),o.Headers=h,o.Request=G,o.Response=Te,o.fetch=Se,o}({})})(Mo);Mo.fetch.ponyfill=!0;delete Mo.fetch.polyfill;var wr=Bo.fetch?Bo:Mo;_t=wr.fetch;_t.default=wr.fetch;_t.fetch=wr.fetch;_t.Headers=wr.Headers;_t.Request=wr.Request;_t.Response=wr.Response;cl.exports=_t});var hd=b(I());var Ne=b(K()),uo=b(ie()),$r=b(ho()),ud=b(bn()),Mr=b(I());var ai=b(I());var Zt=b(K()),Q=b(ie()),ii=b(St()),ms=b(ho());function yo(t,e,o){return t?e(t):o?.(t)}var An=globalThis,go=An.trustedTypes,ha=go?go.createPolicy("lit-html",{createHTML:t=>t}):void 0,va="$lit$",Ot=`lit$${Math.random().toFixed(9).slice(2)}$`,Sa="?"+Ot,Sd=`<${Sa}>`,Vt=document,mo=()=>Vt.createComment(""),Fr=t=>t===null||typeof t!="object"&&typeof t!="function",wn=Array.isArray,Od=t=>wn(t)||typeof t?.[Symbol.iterator]=="function",xn=`[
3
+ \f\r]`,Ur=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ya=/-->/g,ga=/>/g,Wt=RegExp(`>|${xn}(?:([^\\s"'>=/]+)(${xn}*=${xn}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ma=/'/g,ba=/"/g,Oa=/^(?:script|style|textarea|title)$/i,Rn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Ca=Rn(1),Ea=Rn(2),Aa=Rn(3),zr=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),xa=new WeakMap,Gt=Vt.createTreeWalker(Vt,129);function wa(t,e){if(!wn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ha!==void 0?ha.createHTML(e):e}var Cd=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":e===3?"<math>":"",s=Ur;for(let c=0;c<o;c++){let p=t[c],u,y,h=-1,m=0;for(;m<p.length&&(s.lastIndex=m,y=s.exec(p),y!==null);)m=s.lastIndex,s===Ur?y[1]==="!--"?s=ya:y[1]!==void 0?s=ga:y[2]!==void 0?(Oa.test(y[2])&&(i=RegExp("</"+y[2],"g")),s=Wt):y[3]!==void 0&&(s=Wt):s===Wt?y[0]===">"?(s=i??Ur,h=-1):y[1]===void 0?h=-2:(h=s.lastIndex-y[2].length,u=y[1],s=y[3]===void 0?Wt:y[3]==='"'?ba:ma):s===ba||s===ma?s=Wt:s===ya||s===ga?s=Ur:(s=Wt,i=void 0);let x=s===Wt&&t[c+1].startsWith("/>")?" ":"";a+=s===Ur?p+Sd:h>=0?(n.push(u),p.slice(0,h)+va+p.slice(h)+Ot+x):p+Ot+(h===-2?c:x)}return[wa(t,a+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Hr=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,p=this.parts,[u,y]=Cd(e,o);if(this.el=t.createElement(u,n),Gt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Gt.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(va)){let m=y[s++],x=i.getAttribute(h).split(Ot),S=/([.?@])?(.*)/.exec(m);p.push({type:1,index:a,name:S[2],strings:x,ctor:S[1]==="."?Sn:S[1]==="?"?On:S[1]==="@"?Cn:sr}),i.removeAttribute(h)}else h.startsWith(Ot)&&(p.push({type:6,index:a}),i.removeAttribute(h));if(Oa.test(i.tagName)){let h=i.textContent.split(Ot),m=h.length-1;if(m>0){i.textContent=go?go.emptyScript:"";for(let x=0;x<m;x++)i.append(h[x],mo()),Gt.nextNode(),p.push({type:2,index:++a});i.append(h[m],mo())}}}else if(i.nodeType===8)if(i.data===Sa)p.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Ot,h+1))!==-1;)p.push({type:7,index:a}),h+=Ot.length-1}a++}}static createElement(e,o){let n=Vt.createElement("template");return n.innerHTML=e,n}};function ar(t,e,o=t,n){if(e===zr)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Fr(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=ar(t,i._$AS(t,e.values),i,n)),e}var vn=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??Vt).importNode(o,!0);Gt.currentNode=i;let a=Gt.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let u;p.type===2?u=new bo(a,a.nextSibling,this,e):p.type===1?u=new p.ctor(a,p.name,p.strings,this,e):p.type===6&&(u=new En(a,this,e)),this._$AV.push(u),p=n[++c]}s!==p?.index&&(a=Gt.nextNode(),s++)}return Gt.currentNode=Vt,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++}},bo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=le,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=ar(this,e,o),Fr(e)?e===le||e==null||e===""?(this._$AH!==le&&this._$AR(),this._$AH=le):e!==this._$AH&&e!==zr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Od(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!==le&&Fr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Vt.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=Hr.createElement(wa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new vn(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(e){let o=xa.get(e.strings);return o===void 0&&xa.set(e.strings,o=new Hr(e)),o}k(e){wn(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(mo()),this.O(mo()),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))}},sr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=le,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=le}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ar(this,e,o,0),s=!Fr(e)||e!==this._$AH&&e!==zr,s&&(this._$AH=e);else{let c=e,p,u;for(e=a[0],p=0;p<a.length-1;p++)u=ar(this,c[n+p],o,p),u===zr&&(u=this._$AH[p]),s||=!Fr(u)||u!==this._$AH[p],u===le?e=le:e!==le&&(e+=(u??"")+a[p+1]),this._$AH[p]=u}s&&!i&&this.j(e)}j(e){e===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Sn=class extends sr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===le?void 0:e}},On=class extends sr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==le)}},Cn=class extends sr{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=ar(this,e,o,0)??le)===zr)return;let n=this._$AH,i=e===le&&n!==le||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==le&&(n===le||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)}},En=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){ar(this,e)}};var Ed=An.litHtmlPolyfillSupport;Ed?.(Hr,bo),(An.litHtmlVersions??=[]).push("3.3.0");var rt=t=>t??le;var Tt=b(I());var ei=b(I());var Ta=Symbol.for(""),Ad=t=>{if(t?.r===Ta)return t?._$litStatic$},lr=t=>({_$litStatic$:t,r:Ta});var Ra=new Map,Tn=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],p,u=0,y=!1;for(;u<n;){for(p=e[u];u<n&&(a=o[u],(i=Ad(a))!==void 0);)p+=i+e[++u],y=!0;u!==n&&c.push(a),s.push(p),u++}if(u===n&&s.push(e[n]),y){let h=s.join("$$lit$$");(e=Ra.get(h))===void 0&&(s.raw=s,Ra.set(h,e=s)),o=c}return t(e,...o)},cr=Tn(Ca),lu=Tn(Ea),cu=Tn(Aa);var Qn=b(ie()),Ha=b(I());var Pe;(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"})(Pe||(Pe={}));var Fe=b(K()),w=b(I());var ut=b(K(),1),Ct=t=>typeof t=="string"?(0,ut.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=c=>Ct(c??i),s=ut.css`var(${Ct(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=c=>Na(s,c??a(i)),s.get=c=>ut.css`var(${Ct(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=ut.css`var(${Ct(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=c=>Na(s,c??a(i)),s.get=c=>ut.css`var(${Ct(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.defaultCssValue(a),i=ut.css`var(${Ct(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=>ut.css`var(${Ct(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Na(t,e){return Ct(`${t.name}: ${e}`)}var l={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)")},Nn={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")},Ln={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")},In={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")},_n={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")},Pn={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")},kn={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")},Dn={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")},$n={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")},jt={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")},wd={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")},Bn={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")},Mn={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")},Un={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")},Fn={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")},zn={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")},Hn={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")},Wn={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")},Gn={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")},Vn={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")},jn={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")},Et={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")},Kn={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")},Zn={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")},qn={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")},Yn={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")},Xn={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")},Kt={display:Nn,"title-1":Ln,"title-2":In,"title-3":_n,"body-1-regular":Pn,"body-1-medium":kn,"body-1-semibold":Dn,"body-2-regular":$n,"body-2-medium":jt,"body-2-medium-underline":wd,"body-2-semibold":Bn,"label-1-medium":Mn,"label-1-semibold":Un,"label-1-bold":Fn,"label-2-medium":zn,"label-2-semibold":Hn,"label-2-bold":Wn,"caption-1-medium":Gn,"caption-1-semibold":Vn,"caption-1-bold":jn,"caption-2-medium":Et,"caption-2-semibold":Kn,"caption-2-bold":Zn,"caption-3-medium":qn,"caption-3-semibold":Yn,"caption-3-bold":Xn};var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
5
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var f={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",l.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","",l.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",l.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","",l.spacing2),smallGap:r.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",l.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","",l.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","",l.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.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","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.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","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.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","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.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","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.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","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var Ru={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",l.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","",l.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","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.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","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.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","",l.spacing3),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.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","",l.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var _u={iconSize:r.extend("--ftds-checkbox-icon-size","",l.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","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.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","",l.spacing3),leftPadding:r.extend("--ftds-checkbox-left-padding","",l.spacing2)};var Bu={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.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","",l.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var Hu={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Ku={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",l.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","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",l.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","",l.iconSize2)};var Qu={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",l.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","",l.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",l.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","",l.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",l.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","",l.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var of={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",l.colorBrand100)};var cf={iconSize:r.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var hf={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var xf={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Ef={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Nf={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var Pf={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Mf={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var Wf={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",l.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","",l.colorGray700)};var Zf={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var Jf={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",l.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","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var nh={backgroundColor:r.extend("--ftds-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.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","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",l.borderRadiusS)};var ch={height:r.create("--ftds-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",l.shadowElevation02)};var hh={largeFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:r.extend("--ftds-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:r.extend("--ftds-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:r.create("--ftds-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-combobox-single-select-medium-field-horizontal-gap","",l.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","",l.iconSize3),helperHorizontalPadding:r.extend("--ftds-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ftds-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ftds-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:r.extend("--ftds-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ftds-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ftds-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ftds-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-combobox-single-select-disabled-component-opacity","",l.opacity40)};var xh={backgroundColor:r.extend("--ftds-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ftds-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ftds-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ftds-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ftds-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ftds-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ftds-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-combobox-multi-select-focus-focus-ring-color","",d.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","",l.opacity40),helperHorizontalPadding:r.extend("--ftds-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ftds-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ftds-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ftds-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ftds-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ftds-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ftds-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ftds-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ftds-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ftds-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ftds-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ftds-combobox-multi-select-border-radius","",l.borderRadiusS)};var Eh={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ftds-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ftds-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",l.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6)};var Nh={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var kh={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var Mh={color1Light:r.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)};var Hh={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Kh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ftds-notice-gap","",l.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.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","",l.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Qh={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",l.spacing3)};var oy={iconSize:r.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",l.spacing8)};var ly={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",l.spacing05)};var fy={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",l.spacing1),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var my={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var xo;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(xo||(xo={}));var dr;(function(t){t.large="large",t.medium="medium",t.small="small"})(dr||(dr={}));var pr=b(K());function La(t,e){let o=Kt[t];return pr.css`
6
6
  ${e?(0,pr.unsafeCSS)(e):pr.css`.ft-typography--${(0,pr.unsafeCSS)(t)}`} {
7
7
  font-family: ${o.fontFamily};
8
8
  font-size: ${o.fontSize};
@@ -12,7 +12,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
12
12
  text-decoration: ${o.textDecoration};
13
13
  text-transform: ${o.textCase};
14
14
  }
15
- `}var Ta=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),ft=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),_={fontFamily:ft,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ur={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ta),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},fr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ta),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},hr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},yr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},Me={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},gr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},xe={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},mr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},br={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},ot={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},La=Ue.css`
15
+ `}var Ia=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),ft=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),_={fontFamily:ft,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ur={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ia),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},fr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ia),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},hr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},yr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},Ue={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},gr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},xe={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},mr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},br={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},ot={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ft),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},_a=Fe.css`
16
16
  .ft-typography--title {
17
17
  font-family: ${ur.fontFamily};
18
18
  font-size: ${ur.fontSize};
@@ -21,7 +21,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
21
21
  line-height: ${ur.lineHeight};
22
22
  text-transform: ${ur.textTransform};
23
23
  }
24
- `,Na=Ue.css`
24
+ `,Pa=Fe.css`
25
25
  .ft-typography--title-dense {
26
26
  font-family: ${fr.fontFamily};
27
27
  font-size: ${fr.fontSize};
@@ -30,7 +30,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
30
30
  line-height: ${fr.lineHeight};
31
31
  text-transform: ${fr.textTransform};
32
32
  }
33
- `,Ia=Ue.css`
33
+ `,ka=Fe.css`
34
34
  .ft-typography--subtitle1 {
35
35
  font-family: ${hr.fontFamily};
36
36
  font-size: ${hr.fontSize};
@@ -39,7 +39,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
39
39
  line-height: ${hr.lineHeight};
40
40
  text-transform: ${hr.textTransform};
41
41
  }
42
- `,_a=Ue.css`
42
+ `,Da=Fe.css`
43
43
  .ft-typography--subtitle2 {
44
44
  font-family: ${yr.fontFamily};
45
45
  font-size: ${yr.fontSize};
@@ -49,16 +49,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
49
49
  text-transform: ${yr.textTransform};
50
50
  }
51
51
 
52
- `,vo=Ue.css`
52
+ `,vo=Fe.css`
53
53
  .ft-typography--body1 {
54
- font-family: ${Me.fontFamily};
55
- font-size: ${Me.fontSize};
56
- font-weight: ${Me.fontWeight};
57
- letter-spacing: ${Me.letterSpacing};
58
- line-height: ${Me.lineHeight};
59
- text-transform: ${Me.textTransform};
60
- }
61
- `,So=Ue.css`
54
+ font-family: ${Ue.fontFamily};
55
+ font-size: ${Ue.fontSize};
56
+ font-weight: ${Ue.fontWeight};
57
+ letter-spacing: ${Ue.letterSpacing};
58
+ line-height: ${Ue.lineHeight};
59
+ text-transform: ${Ue.textTransform};
60
+ }
61
+ `,So=Fe.css`
62
62
  .ft-typography--body2 {
63
63
  font-family: ${gr.fontFamily};
64
64
  font-size: ${gr.fontSize};
@@ -67,7 +67,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
67
67
  line-height: ${gr.lineHeight};
68
68
  text-transform: ${gr.textTransform};
69
69
  }
70
- `,At=Ue.css`
70
+ `,At=Fe.css`
71
71
  .ft-typography--caption {
72
72
  font-family: ${xe.fontFamily};
73
73
  font-size: ${xe.fontSize};
@@ -76,7 +76,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
76
76
  line-height: ${xe.lineHeight};
77
77
  text-transform: ${xe.textTransform};
78
78
  }
79
- `,Pa=Ue.css`
79
+ `,$a=Fe.css`
80
80
  .ft-typography--breadcrumb {
81
81
  font-family: ${mr.fontFamily};
82
82
  font-size: ${mr.fontSize};
@@ -85,7 +85,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
85
85
  line-height: ${mr.lineHeight};
86
86
  text-transform: ${mr.textTransform};
87
87
  }
88
- `,ka=Ue.css`
88
+ `,Ba=Fe.css`
89
89
  .ft-typography--overline {
90
90
  font-family: ${br.fontFamily};
91
91
  font-size: ${br.fontSize};
@@ -94,7 +94,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
94
94
  line-height: ${br.lineHeight};
95
95
  text-transform: ${br.textTransform};
96
96
  }
97
- `,Da=Ue.css`
97
+ `,Ma=Fe.css`
98
98
  .ft-typography--button {
99
99
  font-family: ${ot.fontFamily};
100
100
  font-size: ${ot.fontSize};
@@ -103,11 +103,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
103
103
  line-height: ${ot.lineHeight};
104
104
  text-transform: ${ot.textTransform};
105
105
  }
106
- `,$a=Ue.css`
106
+ `,Ua=Fe.css`
107
107
  .ft-typography {
108
108
  vertical-align: inherit;
109
109
  }
110
- `,Ba=[Object.keys(Kt).map(t=>Ra(t))];var Ma=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Ua.FtLitElement{constructor(){super(...arguments),this.variant=Ve.body1}render(){return this.element?cr`
110
+ `,Fa=[Object.keys(Kt).map(t=>La(t))];var za=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Ha.FtLitElement{constructor(){super(...arguments),this.variant=Pe.body1}render(){return this.element?cr`
111
111
  <${lr(this.element)}
112
112
  part="text"
113
113
  class="ft-typography ft-typography--${this.variant}">
@@ -115,7 +115,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
115
115
  </${lr(this.element)}>
116
116
  `:cr`
117
117
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
118
- `}};Ce.styles=[La,Na,Ia,_a,vo,So,At,Pa,ka,Da,$a,...Ba];Ma([(0,qn.property)()],Ce.prototype,"element",void 0);Ma([(0,qn.property)()],Ce.prototype,"variant",void 0);var Yn=b(ie()),Ha=b(I());var wt;(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"})(wt||(wt={}));var xr=b(V());function Ed(t,e){let o=Kt[t];return xr.css`
118
+ `}};Ce.styles=[_a,Pa,ka,Da,vo,So,At,$a,Ba,Ma,Ua,...Fa];za([(0,Qn.property)()],Ce.prototype,"element",void 0);za([(0,Qn.property)()],Ce.prototype,"variant",void 0);var Jn=b(ie()),Va=b(I());var wt;(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"})(wt||(wt={}));var xr=b(K());function Rd(t,e){let o=Kt[t];return xr.css`
119
119
  ${e?(0,xr.unsafeCSS)(e):xr.css`.ftds-typography--${(0,xr.unsafeCSS)(t)}`} {
120
120
  font-family: ${o.fontFamily};
121
121
  font-size: ${o.fontSize};
@@ -125,7 +125,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
125
125
  text-decoration: ${o.textDecoration};
126
126
  text-transform: ${o.textCase};
127
127
  }
128
- `}var Fa=[Object.keys(Kt).map(t=>Ed(t))];var za=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ht=class extends Ha.FtLitElement{constructor(){super(...arguments),this.variant=wt.body2medium}render(){return this.element?cr`
128
+ `}var Wa=[Object.keys(Kt).map(t=>Rd(t))];var Ga=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ht=class extends Va.FtLitElement{constructor(){super(...arguments),this.variant=wt.body2medium}render(){return this.element?cr`
129
129
  <${lr(this.element)}
130
130
  part="text"
131
131
  class="ftds-typography ftds-typography--${this.variant}">
@@ -133,7 +133,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
133
133
  </${lr(this.element)}>
134
134
  `:cr`
135
135
  <slot part="text" class="ftds-typography ftds-typography--${this.variant}"></slot>
136
- `}};ht.styles=[...Fa];za([(0,Yn.property)()],ht.prototype,"element",void 0);za([(0,Yn.property)()],ht.prototype,"variant",void 0);(0,Xn.customElement)("ft-typography")(Ce);(0,Xn.customElement)("ftds-typography")(ht);var ti=b(I());var Oo=b(ie());var Wa=b(V()),J=b(I());var P={fontSize:J.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:J.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:J.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:J.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:J.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:J.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:J.FtCssVariableFactory.extend("--ft-input-label-border-color","",J.designSystemVariables.colorOutline),textColor:J.FtCssVariableFactory.extend("--ft-input-label-text-color","",J.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:J.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",J.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:J.FtCssVariableFactory.extend("--ft-input-label-background-color","",J.designSystemVariables.colorSurface),borderRadius:J.FtCssVariableFactory.extend("--ft-input-label-border-radius","",J.designSystemVariables.borderRadiusS),colorError:J.FtCssVariableFactory.external(J.designSystemVariables.colorError,"Design system")},Ga=Wa.css`
136
+ `}};ht.styles=[...Wa];Ga([(0,Jn.property)()],ht.prototype,"element",void 0);Ga([(0,Jn.property)()],ht.prototype,"variant",void 0);(0,ei.customElement)("ft-typography")(Ce);(0,ei.customElement)("ftds-typography")(ht);var ni=b(I());var Oo=b(ie());var ja=b(K()),J=b(I());var P={fontSize:J.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:J.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:J.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:J.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:J.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:J.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:J.FtCssVariableFactory.extend("--ft-input-label-border-color","",J.designSystemVariables.colorOutline),textColor:J.FtCssVariableFactory.extend("--ft-input-label-text-color","",J.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:J.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",J.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:J.FtCssVariableFactory.extend("--ft-input-label-background-color","",J.designSystemVariables.colorSurface),borderRadius:J.FtCssVariableFactory.extend("--ft-input-label-border-radius","",J.designSystemVariables.borderRadiusS),colorError:J.FtCssVariableFactory.external(J.designSystemVariables.colorError,"Design system")},Ka=ja.css`
137
137
  .ft-input-label {
138
138
  position: absolute;
139
139
  inset: 0;
@@ -255,16 +255,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
255
255
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
256
256
  border-top: none;
257
257
  }
258
- `;var Qn=b(V()),Jn=b(ie());var Va=b(St()),Ka=b(I()),ja=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},yt=class extends Ka.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return Qn.html`
259
- <div class="${(0,Va.classMap)(this.inputLabelClasses)}">
260
- ${yo(this.text,()=>Qn.html`
258
+ `;var ti=b(K()),ri=b(ie());var qa=b(St()),Ya=b(I()),Za=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},yt=class extends Ya.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return ti.html`
259
+ <div class="${(0,qa.classMap)(this.inputLabelClasses)}">
260
+ ${yo(this.text,()=>ti.html`
261
261
  <div class="ft-input-label--text ft-typography--caption">
262
262
  <label class="ft-input-label--floating-text">${this.text}</label>
263
263
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
264
264
  </div>
265
265
  `)}
266
266
  </div>
267
- `}};yt.elementDefinitions={};ja([(0,Jn.property)({type:String})],yt.prototype,"text",void 0);ja([(0,Jn.property)({type:Boolean})],yt.prototype,"raised",void 0);var ei=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Pe=class extends yt{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}}};Pe.elementDefinitions={};Pe.styles=[At,Ga];ei([(0,Oo.property)({type:Boolean})],Pe.prototype,"outlined",void 0);ei([(0,Oo.property)({type:Boolean})],Pe.prototype,"error",void 0);ei([(0,Oo.property)({type:Boolean})],Pe.prototype,"disabled",void 0);var Ya=b(I());var Za=b(V());var ce=b(I()),we={fontSize:ce.FtCssVariableFactory.extend("--ft-input-label-font-size","",Vt.fontSize),fontSizeRaised:ce.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",Et.fontSize),lineHeight:ce.FtCssVariableFactory.extend("--ft-input-label-line-height","",Et.lineHeight),color:ce.FtCssVariableFactory.extend("--ft-input-label-color","",ce.semantic.contentGlobalSubtle),largeFieldHeight:ce.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:ce.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",l.spacing05),largeFieldHorizontalPadding:ce.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",l.spacing4),mediumFieldHeight:ce.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:ce.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:ce.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",l.spacing4),additionalPaddingLeft:ce.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:ce.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},qa=[Za.css`
267
+ `}};yt.elementDefinitions={};Za([(0,ri.property)({type:String})],yt.prototype,"text",void 0);Za([(0,ri.property)({type:Boolean})],yt.prototype,"raised",void 0);var oi=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ke=class extends yt{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}}};ke.elementDefinitions={};ke.styles=[At,Ka];oi([(0,Oo.property)({type:Boolean})],ke.prototype,"outlined",void 0);oi([(0,Oo.property)({type:Boolean})],ke.prototype,"error",void 0);oi([(0,Oo.property)({type:Boolean})],ke.prototype,"disabled",void 0);var Ja=b(I());var Xa=b(K());var ce=b(I()),we={fontSize:ce.FtCssVariableFactory.extend("--ft-input-label-font-size","",jt.fontSize),fontSizeRaised:ce.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",Et.fontSize),lineHeight:ce.FtCssVariableFactory.extend("--ft-input-label-line-height","",Et.lineHeight),color:ce.FtCssVariableFactory.extend("--ft-input-label-color","",ce.semantic.contentGlobalSubtle),largeFieldHeight:ce.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:ce.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",l.spacing05),largeFieldHorizontalPadding:ce.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",l.spacing4),mediumFieldHeight:ce.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:ce.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:ce.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",l.spacing4),additionalPaddingLeft:ce.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:ce.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Qa=[Xa.css`
268
268
 
269
269
  :root {
270
270
  --field-height: ${we.largeFieldHeight};
@@ -272,7 +272,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
272
272
  --field-horizontal-padding: ${we.largeFieldHorizontalPadding};
273
273
 
274
274
  --typo-caption-height: calc(${Et.lineHeight} * ${Et.fontSize});
275
- --typo-body-height: calc(${Vt.lineHeight} * ${Vt.fontSize});
275
+ --typo-body-height: calc(${jt.lineHeight} * ${jt.fontSize});
276
276
  --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
277
277
  --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
278
278
  }
@@ -346,7 +346,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
346
346
  top: var(--input-content-vertical-padding);
347
347
  }
348
348
 
349
- `];var Wr=class extends(0,Ya.toFtdsBase)(yt){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Wr.styles=[At,qa];(0,ti.customElement)("ft-input-label")(Pe);(0,ti.customElement)("ftds-input-label")(Wr);var as=b(I());var ns=b(V()),Ee=b(ie()),is=b(St()),Gr=b(I());var rs=b(V()),de=b(I()),Xa=de.FtCssVariableFactory.extend("--ft-ripple-color","",de.designSystemVariables.colorContent),E={color:Xa,backgroundColor:de.FtCssVariableFactory.extend("--ft-ripple-background-color","",Xa),opacityContentOnSurfacePressed:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:de.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Qa=de.FtCssVariableFactory.extend("--ft-ripple-color","",de.designSystemVariables.colorPrimary),Ja={color:Qa,backgroundColor:de.FtCssVariableFactory.extend("--ft-ripple-background-color","",Qa)},es=de.FtCssVariableFactory.extend("--ft-ripple-color","",de.designSystemVariables.colorSecondary),ts={color:es,backgroundColor:de.FtCssVariableFactory.extend("--ft-ripple-background-color","",es)},os=rs.css`
349
+ `];var Wr=class extends(0,Ja.toFtdsBase)(yt){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Wr.styles=[At,Qa];(0,ni.customElement)("ft-input-label")(ke);(0,ni.customElement)("ftds-input-label")(Wr);var cs=b(I());var ss=b(K()),Ee=b(ie()),ls=b(St()),Gr=b(I());var is=b(K()),de=b(I()),es=de.FtCssVariableFactory.extend("--ft-ripple-color","",de.designSystemVariables.colorContent),E={color:es,backgroundColor:de.FtCssVariableFactory.extend("--ft-ripple-background-color","",es),opacityContentOnSurfacePressed:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:de.FtCssVariableFactory.external(de.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:de.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ts=de.FtCssVariableFactory.extend("--ft-ripple-color","",de.designSystemVariables.colorPrimary),rs={color:ts,backgroundColor:de.FtCssVariableFactory.extend("--ft-ripple-background-color","",ts)},os=de.FtCssVariableFactory.extend("--ft-ripple-color","",de.designSystemVariables.colorSecondary),ns={color:os,backgroundColor:de.FtCssVariableFactory.extend("--ft-ripple-background-color","",os)},as=is.css`
350
350
  :host {
351
351
  display: contents;
352
352
  }
@@ -401,19 +401,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
401
401
  }
402
402
 
403
403
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
404
- background-color: ${ts.backgroundColor};
404
+ background-color: ${ns.backgroundColor};
405
405
  }
406
406
 
407
407
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
408
- background-color: ${ts.color};
408
+ background-color: ${ns.color};
409
409
  }
410
410
 
411
411
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
412
- background-color: ${Ja.backgroundColor};
412
+ background-color: ${rs.backgroundColor};
413
413
  }
414
414
 
415
415
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
416
- background-color: ${Ja.color};
416
+ background-color: ${rs.color};
417
417
  }
418
418
 
419
419
  .ft-ripple .ft-ripple--background {
@@ -458,18 +458,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
458
458
  opacity: ${E.opacityContentOnSurfacePressed};
459
459
  transform: translate(-50%, -50%) scale(1);
460
460
  }
461
- `;var Ie=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Gr.FtLitElement{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 Gr.Debouncer(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 Gr.Debouncer(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 ns.html`
461
+ `;var Ie=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Gr.FtLitElement{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 Gr.Debouncer(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 Gr.Debouncer(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 ss.html`
462
462
  <style>
463
463
  .ft-ripple .ft-ripple--effect {
464
464
  left: ${this.originX}px;
465
465
  top: ${this.originY}px;
466
466
  }
467
467
  </style>
468
- <div class="${(0,is.classMap)(e)}">
468
+ <div class="${(0,ls.classMap)(e)}">
469
469
  <div class="ft-ripple--background"></div>
470
470
  <div class="ft-ripple--effect"></div>
471
471
  </div>
472
- `}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=(...c)=>p=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},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()}};Z.elementDefinitions={};Z.styles=os;Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"primary",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"secondary",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"unbounded",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"activated",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"selected",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"disabled",void 0);Ie([(0,Ee.state)()],Z.prototype,"hovered",void 0);Ie([(0,Ee.state)()],Z.prototype,"focused",void 0);Ie([(0,Ee.state)()],Z.prototype,"pressed",void 0);Ie([(0,Ee.state)()],Z.prototype,"rippling",void 0);Ie([(0,Ee.state)()],Z.prototype,"originX",void 0);Ie([(0,Ee.state)()],Z.prototype,"originY",void 0);Ie([(0,Ee.query)(".ft-ripple")],Z.prototype,"ripple",void 0);Ie([(0,Ee.query)(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);(0,as.customElement)("ft-ripple")(Z);var ps=b(I());var jr=b(V()),Rt=b(ie()),cs=b(I()),ds=b(yn());var nt;(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;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;"})(nt||(nt={}));var A;(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;"})(A||(A={}));var ob=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]);var nb={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var ss=b(V()),Ke=b(I()),ue={size:Ke.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ke.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ke.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ke.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ke.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ls=[ss.css`
472
+ `}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=(...c)=>p=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},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()}};Z.elementDefinitions={};Z.styles=as;Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"primary",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"secondary",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"unbounded",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"activated",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"selected",void 0);Ie([(0,Ee.property)({type:Boolean})],Z.prototype,"disabled",void 0);Ie([(0,Ee.state)()],Z.prototype,"hovered",void 0);Ie([(0,Ee.state)()],Z.prototype,"focused",void 0);Ie([(0,Ee.state)()],Z.prototype,"pressed",void 0);Ie([(0,Ee.state)()],Z.prototype,"rippling",void 0);Ie([(0,Ee.state)()],Z.prototype,"originX",void 0);Ie([(0,Ee.state)()],Z.prototype,"originY",void 0);Ie([(0,Ee.query)(".ft-ripple")],Z.prototype,"ripple",void 0);Ie([(0,Ee.query)(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);(0,cs.customElement)("ft-ripple")(Z);var hs=b(I());var Vr=b(K()),Rt=b(ie()),us=b(I()),fs=b(bn());var nt;(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;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;"})(nt||(nt={}));var A;(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;"})(A||(A={}));var ab=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]);var sb={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var ds=b(K()),Ke=b(I()),ue={size:Ke.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ke.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ke.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ke.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Ke.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ke.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ps=[ds.css`
473
473
  :host, i.ft-icon {
474
474
  display: inline-flex;
475
475
  align-items: center;
@@ -517,12 +517,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
517
517
  .ft-icon--material {
518
518
  font-family: ${ue.materialFontFamily}, "Material Icons", sans-serif;
519
519
  }
520
- `,Ke.noTextSelect];var it;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(it||(it={}));var Vr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 cs.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=jr.nothing}render(){let e=this.variant&&Object.values(it).includes(this.variant)?this.variant:it.fluid_topics,o=e!==it.material||!!this.value;return jr.html`
520
+ `,Ke.noTextSelect];var it;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(it||(it={}));var jr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 us.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Vr.nothing}render(){let e=this.variant&&Object.values(it).includes(this.variant)?this.variant:it.fluid_topics,o=e!==it.material||!!this.value;return Vr.html`
521
521
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
522
- ${(0,ds.unsafeHTML)(this.resolvedIcon)}
522
+ ${(0,fs.unsafeHTML)(this.resolvedIcon)}
523
523
  <slot ?hidden=${o}></slot>
524
524
  </i>
525
- `}getTextContent(){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.getTextContent();switch(this.variant){case it.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case it.material:this.resolvedIcon=this.value||jr.nothing;break;default:this.resolvedIcon=(o=nt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=ls;Vr([(0,Rt.property)()],fe.prototype,"variant",void 0);Vr([(0,Rt.property)()],fe.prototype,"value",void 0);Vr([(0,Rt.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);Vr([(0,Rt.state)()],fe.prototype,"resolvedIcon",void 0);Vr([(0,Rt.query)("slot")],fe.prototype,"slottedContent",void 0);(0,ps.customElement)("ft-icon")(fe);var us=b(V()),B=b(I());var F={labelSize:B.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:B.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:B.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:B.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:B.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:B.FtCssVariableFactory.extend("--ft-select-selected-option-color","",B.designSystemVariables.colorOnSurface),helperColor:B.FtCssVariableFactory.extend("--ft-select-helper-color","",B.designSystemVariables.colorOnSurfaceMedium),optionsColor:B.FtCssVariableFactory.extend("--ft-select-options-color","",B.designSystemVariables.colorOnSurface),optionsZIndex:B.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:B.FtCssVariableFactory.extend("--ft-select-background-color","",B.designSystemVariables.colorSurface),colorOnSurfaceDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:B.FtCssVariableFactory.external(B.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:B.FtCssVariableFactory.external(B.designSystemVariables.borderRadiusS,"Design system"),elevation02:B.FtCssVariableFactory.external(B.designSystemVariables.elevation02,"Design system"),colorError:B.FtCssVariableFactory.external(B.designSystemVariables.colorError,"Design system")},fs=us.css`
525
+ `}getTextContent(){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.getTextContent();switch(this.variant){case it.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case it.material:this.resolvedIcon=this.value||Vr.nothing;break;default:this.resolvedIcon=(o=nt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=ps;jr([(0,Rt.property)()],fe.prototype,"variant",void 0);jr([(0,Rt.property)()],fe.prototype,"value",void 0);jr([(0,Rt.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);jr([(0,Rt.state)()],fe.prototype,"resolvedIcon",void 0);jr([(0,Rt.query)("slot")],fe.prototype,"slottedContent",void 0);(0,hs.customElement)("ft-icon")(fe);var ys=b(K()),B=b(I());var z={labelSize:B.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:B.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:B.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:B.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:B.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:B.FtCssVariableFactory.extend("--ft-select-selected-option-color","",B.designSystemVariables.colorOnSurface),helperColor:B.FtCssVariableFactory.extend("--ft-select-helper-color","",B.designSystemVariables.colorOnSurfaceMedium),optionsColor:B.FtCssVariableFactory.extend("--ft-select-options-color","",B.designSystemVariables.colorOnSurface),optionsZIndex:B.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:B.FtCssVariableFactory.extend("--ft-select-background-color","",B.designSystemVariables.colorSurface),colorOnSurfaceDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:B.FtCssVariableFactory.external(B.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:B.FtCssVariableFactory.external(B.designSystemVariables.borderRadiusS,"Design system"),elevation02:B.FtCssVariableFactory.external(B.designSystemVariables.elevation02,"Design system"),colorError:B.FtCssVariableFactory.external(B.designSystemVariables.colorError,"Design system")},gs=ys.css`
526
526
  *:focus {
527
527
  outline: none;
528
528
  }
@@ -536,7 +536,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
536
536
  .ft-select--main-panel {
537
537
  position: relative;
538
538
  display: flex;
539
- height: calc(4 * ${F.verticalSpacing} + ${F.labelSize} + ${F.selectedOptionSize});
539
+ height: calc(4 * ${z.verticalSpacing} + ${z.labelSize} + ${z.selectedOptionSize});
540
540
  }
541
541
 
542
542
  .ft-select--input-panel {
@@ -545,11 +545,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
545
545
  display: flex;
546
546
  align-items: center;
547
547
  overflow: hidden;
548
- padding-left: ${F.horizontalSpacing};
549
- padding-right: ${F.horizontalSpacing};
548
+ padding-left: ${z.horizontalSpacing};
549
+ padding-right: ${z.horizontalSpacing};
550
550
  gap: 8px;
551
- color: ${F.selectedOptionColor};
552
- ${(0,B.setVariable)(E.color,F.selectedOptionColor)};
551
+ color: ${z.selectedOptionColor};
552
+ ${(0,B.setVariable)(E.color,z.selectedOptionColor)};
553
553
  }
554
554
 
555
555
  .ft-select--input-panel,
@@ -565,7 +565,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
565
565
 
566
566
  .ft-select--disabled .ft-select--input-panel,
567
567
  .ft-select--disabled .ft-select--option {
568
- color: ${F.colorOnSurfaceDisabled};
568
+ color: ${z.colorOnSurfaceDisabled};
569
569
  }
570
570
 
571
571
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -574,21 +574,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
574
574
  }
575
575
 
576
576
  ft-input-label {
577
- ${(0,B.setVariable)(P.fontSize,F.selectedOptionSize)};
578
- ${(0,B.setVariable)(P.raisedFontSize,F.labelSize)};
579
- ${(0,B.setVariable)(P.verticalSpacing,F.verticalSpacing)};
580
- ${(0,B.setVariable)(P.horizontalSpacing,F.horizontalSpacing)};
581
- ${(0,B.setVariable)(P.backgroundColor,F.backgroundColor)};
577
+ ${(0,B.setVariable)(P.fontSize,z.selectedOptionSize)};
578
+ ${(0,B.setVariable)(P.raisedFontSize,z.labelSize)};
579
+ ${(0,B.setVariable)(P.verticalSpacing,z.verticalSpacing)};
580
+ ${(0,B.setVariable)(P.horizontalSpacing,z.horizontalSpacing)};
581
+ ${(0,B.setVariable)(P.backgroundColor,z.backgroundColor)};
582
582
  ${(0,B.setVariable)(P.labelMaxWidth,`calc(100% - ${ue.size} - 8px)`)};
583
583
  }
584
584
 
585
585
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
586
- color: ${F.colorPrimary};
586
+ color: ${z.colorPrimary};
587
587
  }
588
588
 
589
589
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
590
- ${(0,B.setVariable)(P.borderColor,F.colorPrimary)};
591
- ${(0,B.setVariable)(P.textColor,F.colorPrimary)};
590
+ ${(0,B.setVariable)(P.borderColor,z.colorPrimary)};
591
+ ${(0,B.setVariable)(P.textColor,z.colorPrimary)};
592
592
  }
593
593
 
594
594
  .ft-select--selected-option {
@@ -598,12 +598,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
598
598
  overflow: hidden;
599
599
  white-space: nowrap;
600
600
  text-overflow: ellipsis;
601
- ${(0,B.setVariable)(Me.fontSize,F.selectedOptionSize)};
602
- ${(0,B.setVariable)(Me.lineHeight,F.selectedOptionSize)};
601
+ ${(0,B.setVariable)(Ue.fontSize,z.selectedOptionSize)};
602
+ ${(0,B.setVariable)(Ue.lineHeight,z.selectedOptionSize)};
603
603
  }
604
604
 
605
605
  .ft-select--in-error .ft-select--selected-option {
606
- color: ${F.colorError};
606
+ color: ${z.colorError};
607
607
  }
608
608
 
609
609
  ft-icon {
@@ -615,26 +615,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
615
615
  }
616
616
 
617
617
  .ft-select--filled .ft-select--input-panel {
618
- border-radius: ${F.borderRadiusS} ${F.borderRadiusS} 0 0;
618
+ border-radius: ${z.borderRadiusS} ${z.borderRadiusS} 0 0;
619
619
  }
620
620
 
621
621
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
622
622
  align-self: stretch;
623
- padding-top: calc(${F.labelSize} + 2 * ${F.verticalSpacing});
623
+ padding-top: calc(${z.labelSize} + 2 * ${z.verticalSpacing});
624
624
  }
625
625
 
626
626
  .ft-select--outlined .ft-select--input-panel {
627
- border-radius: ${F.borderRadiusS};
627
+ border-radius: ${z.borderRadiusS};
628
628
  }
629
629
 
630
630
  .ft-select--options {
631
631
  display: none;
632
632
  position: absolute;
633
633
  top: 100%;
634
- color: ${F.optionsColor};
635
- background: ${F.backgroundColor};
636
- z-index: ${F.optionsZIndex};
637
- box-shadow: ${F.elevation02};
634
+ color: ${z.optionsColor};
635
+ background: ${z.backgroundColor};
636
+ z-index: ${z.optionsZIndex};
637
+ box-shadow: ${z.elevation02};
638
638
  }
639
639
 
640
640
  .ft-select--fixed .ft-select--options {
@@ -643,20 +643,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
643
643
 
644
644
  .ft-select--options-displayed .ft-select--options {
645
645
  display: block;
646
- max-height: ${F.optionsHeight};
646
+ max-height: ${z.optionsHeight};
647
647
  overflow-y: auto;
648
648
  }
649
649
 
650
650
  .ft-select--option {
651
651
  position: relative;
652
- padding: 4px ${F.horizontalSpacing};
652
+ padding: 4px ${z.horizontalSpacing};
653
653
  min-height: 32px;
654
654
  display: flex;
655
655
  align-items: center;
656
656
  }
657
657
 
658
658
  .ft-select--option:hover {
659
- border-left: 2px ${F.colorPrimary} solid;
659
+ border-left: 2px ${z.colorPrimary} solid;
660
660
  }
661
661
 
662
662
  .ft-select--option span {
@@ -665,15 +665,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
665
665
  }
666
666
 
667
667
  .ft-select--helper-text {
668
- padding: 0 ${F.horizontalSpacing};
669
- color: ${F.helperColor};
668
+ padding: 0 ${z.horizontalSpacing};
669
+ color: ${z.helperColor};
670
670
  }
671
671
 
672
672
  .ft-select--in-error .ft-select--helper-text {
673
- color: ${F.colorError};
673
+ color: ${z.colorError};
674
674
  }
675
- `;var te=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Lt=class extends Tt.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Zt.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Lt.elementDefinitions={};te([(0,Q.property)({type:String})],Lt.prototype,"label",void 0);te([(0,Q.property)({type:Object,converter:t=>t})],Lt.prototype,"value",void 0);te([(0,Q.property)({type:Boolean,reflect:!0})],Lt.prototype,"selected",void 0);var q=class t extends Tt.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,o,n,i,a;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,p=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Zt.html`
676
- <div class="${(0,ri.classMap)(u)}" part="container">
675
+ `;var te=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 Tt.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Zt.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Nt.elementDefinitions={};te([(0,Q.property)({type:String})],Nt.prototype,"label",void 0);te([(0,Q.property)({type:Object,converter:t=>t})],Nt.prototype,"value",void 0);te([(0,Q.property)({type:Boolean,reflect:!0})],Nt.prototype,"selected",void 0);var q=class t extends Tt.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,o,n,i,a;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,p=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((n=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&n!==void 0?n:"").length>0,u={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":p,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Zt.html`
676
+ <div class="${(0,ii.classMap)(u)}" part="container">
677
677
  <div class="ft-select--main-panel" part="main-panel">
678
678
  <ft-input-label text="${this.label}"
679
679
  part="label"
@@ -695,7 +695,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
695
695
  aria-activedescendant="${rt(this.getOptionId(this.selectedOption))}"
696
696
  role="combobox">
697
697
  <ft-ripple ?disabled=${c} ?activated=${!this.outlined}></ft-ripple>
698
- <ft-typography variant="${Ve.body1}" class="ft-select--selected-option">
698
+ <ft-typography variant="${Pe.body1}" class="ft-select--selected-option">
699
699
  ${(a=(i=this.selectedOption)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:""}
700
700
  </ft-typography>
701
701
  <ft-icon aria-hidden="true" .value=${s?nt.THIN_ARROW_UP:nt.THIN_ARROW}></ft-icon>
@@ -704,12 +704,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
704
704
  part="options"
705
705
  @keydown=${this.onOptionsKeyDown}
706
706
  role="listbox">
707
- ${(0,hs.repeat)(this.options,y=>y.value,(y,h)=>this.renderOption(y,h))}
707
+ ${(0,ms.repeat)(this.options,y=>y.value,(y,h)=>this.renderOption(y,h))}
708
708
  </div>
709
709
  </div>
710
710
  <slot name="helper" part="helper">
711
711
  ${this.helper?Zt.html`
712
- <ft-typography class="ft-select--helper-text" variant="${Ve.caption}">${this.helper}
712
+ <ft-typography class="ft-select--helper-text" variant="${Pe.caption}">${this.helper}
713
713
  </ft-typography>`:Zt.nothing}
714
714
  </slot>
715
715
  </div>
@@ -717,7 +717,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
717
717
  @option-change=${this.updateOptionsFromSlot}
718
718
  ></slot>
719
719
  `}renderOption(e,o){var n,i;let a=this.selectedOption===e;return Zt.html`
720
- <div class="${(0,ri.classMap)({"ft-select--option":!0,"ft-select--option-selected":a,"ft-typography--body2":!0})}"
720
+ <div class="${(0,ii.classMap)({"ft-select--option":!0,"ft-select--option-selected":a,"ft-typography--body2":!0})}"
721
721
  part="option option-${(i=(n=e.value)===null||n===void 0?void 0:n.toString())===null||i===void 0?void 0:i.replace(/[^\w-]/g,"")}"
722
722
  tabindex="0"
723
723
  aria-label="${e.label}"
@@ -728,7 +728,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
728
728
  <ft-ripple ?primary=${a} ?activated=${a}></ft-ripple>
729
729
  <span>${e.label}</span>
730
730
  </div>
731
- `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];(0,Tt.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",F.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var o;e.stopPropagation();let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var o,n,i,a,s;let c;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),c=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),c=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(c=this.handleAlphanumericPress(e.key));break}c?.focus()}isKeyAlphanumeric(e){let o=e.charCodeAt(0);return o>47&&o<58||o>64&&o<91||o>96&&o<123}handleAlphanumericPress(e){var o,n;let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(c=>{var p;return((p=c.label)===null||p===void 0?void 0:p.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=i;return}let s=(n=(o=this.optionsMenu)===null||o===void 0?void 0:o.querySelector(`[data-value="${a.value}"]`))!==null&&n!==void 0?n:void 0;return this.lastSearchInputDate=i,s}onOptionKeyDown(e,o){var n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}getOptionId(e){if(!e)return;let o=this.options.findIndex(n=>(0,Tt.deepEqual)(n.value,e.value));if(o!==-1)return`option-${o}`}selectOption(e){var o,n;if(!(0,Tt.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};q.elementDefinitions={"ft-input-label":Pe,"ft-typography":Ce,"ft-ripple":Z,"ft-icon":fe};q.searchTimeoutMilliseconds=2e3;q.styles=[So,At,fs];te([(0,Q.property)({type:String})],q.prototype,"label",void 0);te([(0,Q.property)({type:String})],q.prototype,"ariaLabel",void 0);te([(0,Q.property)({type:String})],q.prototype,"helper",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"outlined",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"disabled",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"error",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"fixedMenuPosition",void 0);te([(0,Q.property)({type:Array})],q.prototype,"options",void 0);te([(0,Q.state)()],q.prototype,"selectedOption",void 0);te([(0,Q.state)()],q.prototype,"optionsDisplayed",void 0);te([(0,Q.state)()],q.prototype,"focusOptions",void 0);te([(0,Q.state)()],q.prototype,"currentSearch",void 0);te([(0,Q.state)()],q.prototype,"lastSearchInputDate",void 0);te([(0,Q.query)(".ft-select")],q.prototype,"container",void 0);te([(0,Q.query)(".ft-select--options")],q.prototype,"optionsMenu",void 0);te([(0,Q.query)(".ft-select--input-panel")],q.prototype,"mainPanel",void 0);te([(0,Q.query)(".ft-select--option:first-child")],q.prototype,"firstOption",void 0);te([(0,Q.query)(".ft-select--option:focus")],q.prototype,"focusedOption",void 0);te([(0,Q.query)(".ft-select--option.ft-select--option-selected")],q.prototype,"selectedOptionElement",void 0);te([(0,Q.query)(".ft-select--option:last-child")],q.prototype,"lastOption",void 0);te([(0,Q.query)("slot:not([name])")],q.prototype,"optionsSlot",void 0);(0,oi.customElement)("ft-select")(q);(0,oi.customElement)("ft-select-option")(Lt);var ii=b(I());var he=b(V()),H=b(ie()),Ss=b(ho()),Os=b(St());var Nt=b(I());var ys=b(V()),D=b(I());var M={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},gs=ys.css`
731
+ `}willUpdate(e){super.willUpdate(e),e.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var o,n;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((n=(o=this.selectedOptionElement)!==null&&o!==void 0?o:this.firstOption)===null||n===void 0||n.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];(0,Tt.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",z.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var o;e.stopPropagation();let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var o,n,i,a,s;let c;switch(e.key){case"Escape":this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),c=(i=(n=this.focusedOption)===null||n===void 0?void 0:n.previousElementSibling)!==null&&i!==void 0?i:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),c=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(c=this.handleAlphanumericPress(e.key));break}c?.focus()}isKeyAlphanumeric(e){let o=e.charCodeAt(0);return o>47&&o<58||o>64&&o<91||o>96&&o<123}handleAlphanumericPress(e){var o,n;let i=new Date;i.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(c=>{var p;return((p=c.label)===null||p===void 0?void 0:p.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=i;return}let s=(n=(o=this.optionsMenu)===null||o===void 0?void 0:o.querySelector(`[data-value="${a.value}"]`))!==null&&n!==void 0?n:void 0;return this.lastSearchInputDate=i,s}onOptionKeyDown(e,o){var n;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(o),this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus())}getOptionId(e){if(!e)return;let o=this.options.findIndex(n=>(0,Tt.deepEqual)(n.value,e.value));if(o!==-1)return`option-${o}`}selectOption(e){var o,n;if(!(0,Tt.deepEqual)((o=this.selectedOption)===null||o===void 0?void 0:o.value,e.value)){this.selectedOption=e;for(let i of this.options)i.selected=i===e;this.dispatchEvent(new CustomEvent("change",{detail:(n=this.selectedOption)===null||n===void 0?void 0:n.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};q.elementDefinitions={"ft-input-label":ke,"ft-typography":Ce,"ft-ripple":Z,"ft-icon":fe};q.searchTimeoutMilliseconds=2e3;q.styles=[So,At,gs];te([(0,Q.property)({type:String})],q.prototype,"label",void 0);te([(0,Q.property)({type:String})],q.prototype,"ariaLabel",void 0);te([(0,Q.property)({type:String})],q.prototype,"helper",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"outlined",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"disabled",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"error",void 0);te([(0,Q.property)({type:Boolean})],q.prototype,"fixedMenuPosition",void 0);te([(0,Q.property)({type:Array})],q.prototype,"options",void 0);te([(0,Q.state)()],q.prototype,"selectedOption",void 0);te([(0,Q.state)()],q.prototype,"optionsDisplayed",void 0);te([(0,Q.state)()],q.prototype,"focusOptions",void 0);te([(0,Q.state)()],q.prototype,"currentSearch",void 0);te([(0,Q.state)()],q.prototype,"lastSearchInputDate",void 0);te([(0,Q.query)(".ft-select")],q.prototype,"container",void 0);te([(0,Q.query)(".ft-select--options")],q.prototype,"optionsMenu",void 0);te([(0,Q.query)(".ft-select--input-panel")],q.prototype,"mainPanel",void 0);te([(0,Q.query)(".ft-select--option:first-child")],q.prototype,"firstOption",void 0);te([(0,Q.query)(".ft-select--option:focus")],q.prototype,"focusedOption",void 0);te([(0,Q.query)(".ft-select--option.ft-select--option-selected")],q.prototype,"selectedOptionElement",void 0);te([(0,Q.query)(".ft-select--option:last-child")],q.prototype,"lastOption",void 0);te([(0,Q.query)("slot:not([name])")],q.prototype,"optionsSlot",void 0);(0,ai.customElement)("ft-select")(q);(0,ai.customElement)("ft-select-option")(Nt);var li=b(I());var he=b(K()),H=b(ie()),Es=b(ho()),As=b(St());var Lt=b(I());var bs=b(K()),D=b(I());var M={fontSize:D.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:D.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:D.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:D.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:D.FtCssVariableFactory.extend("--ft-text-field-helper-color","",D.designSystemVariables.colorOnSurfaceMedium),colorPrimary:D.FtCssVariableFactory.external(D.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:D.FtCssVariableFactory.external(D.designSystemVariables.borderRadiusS,"Design system"),colorError:D.FtCssVariableFactory.external(D.designSystemVariables.colorError,"Design system"),prefixColor:D.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",D.designSystemVariables.colorOnSurfaceMedium),iconColor:D.FtCssVariableFactory.extend("--ft-text-field-icon-color","",D.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:D.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),backgroundColor:D.FtCssVariableFactory.extend("--ft-text-field-background-color","",D.designSystemVariables.colorSurface),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),elevation02:D.FtCssVariableFactory.external(D.designSystemVariables.elevation02,"Design system"),suggestSize:D.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},xs=bs.css`
732
732
  *:focus {
733
733
  outline: none;
734
734
  }
@@ -763,8 +763,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
763
763
  overflow: hidden;
764
764
  padding: 0 ${M.horizontalSpacing};
765
765
 
766
- ${(0,D.setVariable)(Me.fontSize,M.fontSize)};
767
- ${(0,D.setVariable)(Me.lineHeight,M.fontSize)};
766
+ ${(0,D.setVariable)(Ue.fontSize,M.fontSize)};
767
+ ${(0,D.setVariable)(Ue.lineHeight,M.fontSize)};
768
768
  }
769
769
 
770
770
  .ft-text-field--input-panel ft-ripple {
@@ -887,7 +887,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
887
887
  .ft-text-field--with-password ft-icon:hover {
888
888
  cursor: pointer;
889
889
  }
890
- `;var xs=b(I()),Kr=b(V()),qt=b(ie());var ms=b(V());var bs=ms.css`
890
+ `;var Os=b(I()),Kr=b(K()),qt=b(ie());var vs=b(K());var Ss=vs.css`
891
891
  .ft-text-field-suggestion {
892
892
  position: relative;
893
893
  padding: 8px 16px;
@@ -923,8 +923,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
923
923
  slot {
924
924
  pointer-events: none;
925
925
  }
926
- `;var vs=b(St()),Co=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ni=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},Fe=class extends xs.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return Kr.html`
927
- <div class="${(0,vs.classMap)(e)}"
926
+ `;var Cs=b(St()),Co=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},si=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e,bubbles:!0,composed:!0})}},ze=class extends Os.FtLitElement{render(){let e={"ft-text-field-suggestion":!0,"ft-text-field-suggestion--with-helper":!!this.helper};return Kr.html`
927
+ <div class="${(0,Cs.classMap)(e)}"
928
928
  tabindex="-1"
929
929
  @keydown=${this.onKeyDown}
930
930
  @click=${this.confirmSuggestion}>
@@ -939,8 +939,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
939
939
  <slot></slot>
940
940
  </ft-typography>
941
941
  </div>
942
- `}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 ni(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())}};Fe.elementDefinitions={"ft-ripple":Z,"ft-typography":Ce,"ft-icon":fe};Fe.styles=bs;Co([(0,qt.property)()],Fe.prototype,"value",void 0);Co([(0,qt.property)()],Fe.prototype,"helper",void 0);Co([(0,qt.query)(".ft-text-field-suggestion")],Fe.prototype,"container",void 0);Co([(0,qt.queryAssignedNodes)()],Fe.prototype,"assignedNodes",void 0);var K=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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(0,Nt.toFtFormComponent)(Nt.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=nt.EYE_SLASH,this.passwordRevealedIcon=nt.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 he.html`
943
- <div class="${(0,Os.classMap)(e)}">
942
+ `}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 si(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":Z,"ft-typography":Ce,"ft-icon":fe};ze.styles=Ss;Co([(0,qt.property)()],ze.prototype,"value",void 0);Co([(0,qt.property)()],ze.prototype,"helper",void 0);Co([(0,qt.query)(".ft-text-field-suggestion")],ze.prototype,"container",void 0);Co([(0,qt.queryAssignedNodes)()],ze.prototype,"assignedNodes",void 0);var Eo=class extends CustomEvent{constructor(e){super("live-change",{detail:e})}},Ao=class extends CustomEvent{constructor(e){super("change",{detail:e})}},wo=class extends CustomEvent{constructor(e){super("invalid",{detail:e})}};var j=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},U=class extends(0,Lt.toFtFormComponent)(Lt.FtLitElement){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.prefix=null,this.passwordHiddenIcon=nt.EYE_SLASH,this.passwordRevealedIcon=nt.EYE,this.filterSuggestions=!1,this.password=!1,this.focused=!1,this.inputValid=!0,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(){var e;let o={"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.inputValid||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()},n=this.suggestionsProvider&&this.value&&this.value!=""&&!this.providedSuggestions.map(c=>c.label).includes(this.value),a=!this.suggestionsProvider&&this.filterSuggestions&&this.value&&this.value!=""||n,s=this.inputValid?this.helper:(e=this.input)===null||e===void 0?void 0:e.validationMessage;return he.html`
943
+ <div class="${(0,As.classMap)(o)}">
944
944
  <div class="ft-text-field--main-panel"
945
945
  @keydown=${this.handleKeyboardNavigation}
946
946
  @focusout=${this.onMainPanelBlur}>
@@ -948,7 +948,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
948
948
  ?disabled=${this.disabled}
949
949
  ?outlined=${this.outlined}
950
950
  ?raised=${this.focused||this.value!=""}
951
- ?error=${this.error}></ft-input-label>
951
+ ?error=${!this.inputValid||this.error}></ft-input-label>
952
952
  <div class="ft-text-field--input-panel">
953
953
  ${this.outlined?he.nothing:he.html`
954
954
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
@@ -969,33 +969,35 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
969
969
  .value=${this.value}
970
970
  @click=${this.handleClick}
971
971
  @keyup=${this.handleInput}
972
- @focus=${this.onFocus}/>
972
+ @focus=${this.onFocus}
973
+ />
973
974
  ${this.renderIcon()}
974
975
  </div>
975
976
  <div class="ft-text-field--suggestions"
976
977
  @suggestion-selected=${this.onSuggestionSelected}>
977
978
  ${this.renderSuggestions()}
978
- ${i?he.html`
979
+ ${a?he.html`
979
980
  <ft-text-field-suggestion class="ft-text-field-suggestion--new-value" helper="${this.suggestionsHelper}">
980
981
  ${this.value}
981
982
  </ft-text-field-suggestion>
982
983
  `:he.nothing}
983
984
  </div>
984
985
  </div>
985
- ${this.helper?he.html`
986
- <ft-typography class="ft-text-field--helper-text" variant="caption">
987
- ${this.helper}
986
+ ${s?he.html`
987
+ <ft-typography class="ft-text-field--helper-text" variant="${Pe.caption}">
988
+ ${s}
988
989
  </ft-typography>
989
990
  `:he.nothing}
990
991
  </div>
991
992
  `}resolveInputType(){var e;return this.isPasswordField()?this.hidePassword?"password":"text":(e=this.type)!==null&&e!==void 0?e:"text"}renderSuggestions(){return this.suggestionsProvider?he.html`
992
- ${(0,Ss.repeat)(this.providedSuggestions,e=>he.html`
993
+ ${(0,Es.repeat)(this.providedSuggestions,e=>he.html`
993
994
  <ft-text-field-suggestion value="${e.value}" @click=${o=>this.onSuggestionClick(o,e.clickHandler)}>
994
995
  ${e.icon?he.html`
995
996
  <ft-icon .value=${e.icon}></ft-icon>
996
997
  `:he.nothing}
997
998
  ${e.label}
998
- </ft-text-field-suggestion>`)}
999
+ </ft-text-field-suggestion>
1000
+ `)}
999
1001
  `:he.html`
1000
1002
  <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
1001
1003
  `}onSuggestionClick(e,o){o&&(e.preventDefault(),o(e))}renderPasswordIcon(){return he.html`
@@ -1008,7 +1010,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1008
1010
  .variant=${this.iconVariant}
1009
1011
  .value=${this.icon}
1010
1012
  @click=${()=>{var e;return(e=this.input)===null||e===void 0?void 0:e.focus()}}></ft-icon>
1011
- `:he.nothing}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"];(0,Nt.computeOffsetAutoPosition)(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":Pe,"ft-ripple":Z,"ft-typography":Ce,"ft-icon":fe,"ft-text-field-suggestion":Fe};z.styles=[vo,Nt.noTextInputDefaultClearButton,gs];K([(0,H.property)()],z.prototype,"label",void 0);K([(0,H.property)({noAccessor:!0})],z.prototype,"value",null);K([(0,H.state)()],z.prototype,"dispatchedValue",void 0);K([(0,H.property)()],z.prototype,"helper",void 0);K([(0,H.property)()],z.prototype,"suggestionsHelper",void 0);K([(0,H.property)({type:Boolean})],z.prototype,"outlined",void 0);K([(0,H.property)({type:Boolean})],z.prototype,"disabled",void 0);K([(0,H.property)({type:Boolean})],z.prototype,"error",void 0);K([(0,H.property)({type:Boolean})],z.prototype,"fixedMenuPosition",void 0);K([(0,H.property)()],z.prototype,"prefix",void 0);K([(0,H.property)()],z.prototype,"icon",void 0);K([(0,H.property)()],z.prototype,"name",void 0);K([(0,H.property)()],z.prototype,"type",void 0);K([(0,H.property)()],z.prototype,"passwordHiddenIcon",void 0);K([(0,H.property)()],z.prototype,"passwordRevealedIcon",void 0);K([(0,H.property)()],z.prototype,"iconVariant",void 0);K([(0,H.property)({type:Boolean})],z.prototype,"filterSuggestions",void 0);K([(0,H.property)({type:Number})],z.prototype,"maxLength",void 0);K([(0,H.property)({type:Boolean})],z.prototype,"password",void 0);K([(0,H.property)({type:String})],z.prototype,"autocomplete",void 0);K([(0,H.property)({attribute:!1})],z.prototype,"suggestionsProvider",void 0);K([(0,H.state)()],z.prototype,"focused",void 0);K([(0,H.state)()],z.prototype,"hidePassword",void 0);K([(0,H.state)()],z.prototype,"hideSuggestions",void 0);K([(0,H.state)()],z.prototype,"visibleSuggestions",void 0);K([(0,H.state)()],z.prototype,"providedSuggestions",void 0);K([(0,H.query)(".ft-text-field--main-panel")],z.prototype,"mainPanel",void 0);K([(0,H.query)(".ft-text-field--input")],z.prototype,"input",void 0);K([(0,H.query)(".ft-text-field-suggestion--new-value")],z.prototype,"newValueSuggestion",void 0);K([(0,H.query)(".ft-text-field--suggestions")],z.prototype,"suggestionsContainer",void 0);K([(0,H.queryAll)("ft-text-field-suggestion")],z.prototype,"providedSuggestionsInDom",void 0);K([(0,H.queryAssignedElements)({selector:"ft-text-field-suggestion"})],z.prototype,"slottedSuggestions",void 0);(0,ii.customElement)("ft-text-field")(z);(0,ii.customElement)("ft-text-field-suggestion")(Fe);var ra=b(I());var co=b(ie()),rd=b(I());var Rs=b(V()),U=b(I());var Cs=b(V()),Zr=b(I()),re={color:Zr.FtCssVariableFactory.extend("--ft-loader-color","",Zr.designSystemVariables.colorPrimary),size:Zr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Es=Cs.css`
1013
+ `:he.nothing}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){var n,i;this.value!==e&&(this.inputValid=!0,this.setInternalValue(e),this.dispatchEvent(new Eo(e))),o&&this.dispatchedValue!==e&&(this.inputValid=(i=(n=this.input)===null||n===void 0?void 0:n.checkValidity())!==null&&i!==void 0?i:!0,this.inputValid?(this.dispatchedValue=e,this.dispatchEvent(new Ao(e))):this.dispatchEvent(new wo(this.input.validationMessage)))}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"];(0,Lt.computeOffsetAutoPosition)(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)}};U.elementDefinitions={"ft-input-label":ke,"ft-ripple":Z,"ft-typography":Ce,"ft-icon":fe,"ft-text-field-suggestion":ze};U.styles=[vo,Lt.noTextInputDefaultClearButton,xs];j([(0,H.property)()],U.prototype,"label",void 0);j([(0,H.property)({noAccessor:!0})],U.prototype,"value",null);j([(0,H.state)()],U.prototype,"dispatchedValue",void 0);j([(0,H.property)()],U.prototype,"helper",void 0);j([(0,H.property)()],U.prototype,"suggestionsHelper",void 0);j([(0,H.property)({type:Boolean})],U.prototype,"outlined",void 0);j([(0,H.property)({type:Boolean})],U.prototype,"disabled",void 0);j([(0,H.property)({type:Boolean})],U.prototype,"error",void 0);j([(0,H.property)({type:Boolean})],U.prototype,"fixedMenuPosition",void 0);j([(0,H.property)()],U.prototype,"prefix",void 0);j([(0,H.property)()],U.prototype,"icon",void 0);j([(0,H.property)()],U.prototype,"name",void 0);j([(0,H.property)()],U.prototype,"type",void 0);j([(0,H.property)()],U.prototype,"passwordHiddenIcon",void 0);j([(0,H.property)()],U.prototype,"passwordRevealedIcon",void 0);j([(0,H.property)()],U.prototype,"iconVariant",void 0);j([(0,H.property)({type:Boolean})],U.prototype,"filterSuggestions",void 0);j([(0,H.property)({type:Number})],U.prototype,"maxLength",void 0);j([(0,H.property)({type:Boolean})],U.prototype,"password",void 0);j([(0,H.property)({type:String})],U.prototype,"autocomplete",void 0);j([(0,H.property)({attribute:!1})],U.prototype,"suggestionsProvider",void 0);j([(0,H.state)()],U.prototype,"focused",void 0);j([(0,H.state)()],U.prototype,"inputValid",void 0);j([(0,H.state)()],U.prototype,"hidePassword",void 0);j([(0,H.state)()],U.prototype,"hideSuggestions",void 0);j([(0,H.state)()],U.prototype,"visibleSuggestions",void 0);j([(0,H.state)()],U.prototype,"providedSuggestions",void 0);j([(0,H.query)(".ft-text-field--main-panel")],U.prototype,"mainPanel",void 0);j([(0,H.query)(".ft-text-field--input")],U.prototype,"input",void 0);j([(0,H.query)(".ft-text-field-suggestion--new-value")],U.prototype,"newValueSuggestion",void 0);j([(0,H.query)(".ft-text-field--suggestions")],U.prototype,"suggestionsContainer",void 0);j([(0,H.queryAll)("ft-text-field-suggestion")],U.prototype,"providedSuggestionsInDom",void 0);j([(0,H.queryAssignedElements)({selector:"ft-text-field-suggestion"})],U.prototype,"slottedSuggestions",void 0);(0,li.customElement)("ft-text-field")(U);(0,li.customElement)("ft-text-field-suggestion")(ze);var ia=b(I());var co=b(ie()),id=b(I());var Ls=b(K()),F=b(I());var ws=b(K()),Zr=b(I()),re={color:Zr.FtCssVariableFactory.extend("--ft-loader-color","",Zr.designSystemVariables.colorPrimary),size:Zr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Rs=ws.css`
1012
1014
  :host {
1013
1015
  line-height: 0;
1014
1016
  }
@@ -1077,7 +1079,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1077
1079
  transform: translate(calc(0.35 * ${re.size}), 0);
1078
1080
  }
1079
1081
  }
1080
- `;var As=U.FtCssVariableFactory.extend("--ft-button-color","",U.designSystemVariables.colorPrimary),ae={backgroundColor:U.FtCssVariableFactory.extend("--ft-button-background-color","",U.designSystemVariables.colorSurface),borderRadius:U.FtCssVariableFactory.extend("--ft-button-border-radius","",U.designSystemVariables.borderRadiusL),color:As,fontSize:U.FtCssVariableFactory.extend("--ft-button-font-size","",ot.fontSize),iconSize:U.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:U.FtCssVariableFactory.extend("--ft-button-ripple-color","",As),verticalPadding:U.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:U.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:U.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:U.FtCssVariableFactory.external(U.designSystemVariables.colorOpacityDisabled,"Design system")},ws=U.FtCssVariableFactory.extend("--ft-button-primary-color","",U.FtCssVariableFactory.extend("--ft-button-color","",U.designSystemVariables.colorOnPrimary)),ai={backgroundColor:U.FtCssVariableFactory.extend("--ft-button-primary-background-color","",U.FtCssVariableFactory.extend("--ft-button-background-color","",U.designSystemVariables.colorPrimary)),color:ws,rippleColor:U.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",ws)},at={borderRadius:U.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",U.FtCssVariableFactory.extend("--ft-button-border-radius","",U.designSystemVariables.borderRadiusM)),verticalPadding:U.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:U.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:U.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ts=[Rs.css`
1082
+ `;var Ts=F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorPrimary),ae={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorSurface),borderRadius:F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusL),color:Ts,fontSize:F.FtCssVariableFactory.extend("--ft-button-font-size","",ot.fontSize),iconSize:F.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:F.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ts),verticalPadding:F.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:F.FtCssVariableFactory.external(F.designSystemVariables.colorOpacityDisabled,"Design system")},Ns=F.FtCssVariableFactory.extend("--ft-button-primary-color","",F.FtCssVariableFactory.extend("--ft-button-color","",F.designSystemVariables.colorOnPrimary)),ci={backgroundColor:F.FtCssVariableFactory.extend("--ft-button-primary-background-color","",F.FtCssVariableFactory.extend("--ft-button-background-color","",F.designSystemVariables.colorPrimary)),color:Ns,rippleColor:F.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ns)},at={borderRadius:F.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",F.FtCssVariableFactory.extend("--ft-button-border-radius","",F.designSystemVariables.borderRadiusM)),verticalPadding:F.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:F.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:F.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Is=[Ls.css`
1081
1083
  :host {
1082
1084
  display: inline-block;
1083
1085
  max-width: 100%;
@@ -1120,8 +1122,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1120
1122
 
1121
1123
  --button-internal-line-height: max(calc(${ae.fontSize} + 2px), ${ae.iconSize});
1122
1124
  --button-internal-color: ${ae.color};
1123
- ${(0,U.setVariable)(ue.size,ae.iconSize)};
1124
- ${(0,U.setVariable)(E.color,ae.rippleColor)};
1125
+ ${(0,F.setVariable)(ue.size,ae.iconSize)};
1126
+ ${(0,F.setVariable)(E.color,ae.rippleColor)};
1125
1127
 
1126
1128
  border-radius: ${ae.borderRadius};
1127
1129
  padding: ${ae.verticalPadding} ${ae.horizontalPadding};
@@ -1163,9 +1165,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1163
1165
  }
1164
1166
 
1165
1167
  .ft-button.ft-button--primary {
1166
- background-color: ${ai.backgroundColor};
1167
- --button-internal-color: ${ai.color};
1168
- ${(0,U.setVariable)(E.color,ai.rippleColor)};
1168
+ background-color: ${ci.backgroundColor};
1169
+ --button-internal-color: ${ci.color};
1170
+ ${(0,F.setVariable)(E.color,ci.rippleColor)};
1169
1171
  }
1170
1172
 
1171
1173
  .ft-button:focus {
@@ -1179,8 +1181,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1179
1181
  text-overflow: ellipsis;
1180
1182
  display: block;
1181
1183
  margin: 0 ${ae.iconPadding};
1182
- ${(0,U.setVariable)(ot.fontSize,"1em")};
1183
- ${(0,U.setVariable)(ot.lineHeight,"var(--button-internal-line-height)")};
1184
+ ${(0,F.setVariable)(ot.fontSize,"1em")};
1185
+ ${(0,F.setVariable)(ot.lineHeight,"var(--button-internal-line-height)")};
1184
1186
  }
1185
1187
 
1186
1188
  .ft-button--dense .ft-button--label {
@@ -1211,10 +1213,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1211
1213
  }
1212
1214
 
1213
1215
  ft-loader {
1214
- ${(0,U.setVariable)(re.size,ae.iconSize)};
1215
- ${(0,U.setVariable)(re.color,"var(--button-internal-color)")};
1216
+ ${(0,F.setVariable)(re.size,ae.iconSize)};
1217
+ ${(0,F.setVariable)(re.color,"var(--button-internal-color)")};
1216
1218
  }
1217
- `,U.noTextSelect];var Ft=b(I());var Qc=b(I());var Xc=b(V()),je=b(ie()),Ge=b(I());var Ls=b(V()),gt=b(I()),vr={distance:gt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:gt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:gt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:gt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:gt.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",gt.designSystemVariables.borderRadiusS),maxWidth:gt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ns=Ls.css`
1219
+ `,F.noTextSelect];var Ft=b(I());var td=b(I());var ed=b(K()),je=b(ie()),Ve=b(I());var _s=b(K()),gt=b(I()),vr={distance:gt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:gt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:gt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:gt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:gt.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",gt.designSystemVariables.borderRadiusS),maxWidth:gt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ps=_s.css`
1218
1220
  .ft-tooltip--container {
1219
1221
  display: block;
1220
1222
  }
@@ -1243,15 +1245,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1243
1245
  position: relative;
1244
1246
  word-break: break-word;
1245
1247
  }
1246
- `;var _s=["top","right","bottom","left"],Is=["start","end"],li=_s.reduce((t,e)=>t.concat(e,e+"-"+Is[0],e+"-"+Is[1]),[]),Ps=Math.min,ks=Math.max;var Ad={left:"right",right:"left",bottom:"top",top:"bottom"},wd={start:"end",end:"start"};function ci(t,e,o){return ks(t,Ps(e,o))}function Eo(t,e){return typeof t=="function"?t(e):t}function Sr(t){return t.split("-")[0]}function It(t){return t.split("-")[1]}function di(t){return t==="x"?"y":"x"}function pi(t){return t==="y"?"height":"width"}function Ao(t){return["top","bottom"].includes(Sr(t))?"y":"x"}function ui(t){return di(Ao(t))}function Ds(t,e,o){o===void 0&&(o=!1);let n=It(t),i=ui(t),a=pi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=si(s)),[s,si(s)]}function $s(t){return t.replace(/start|end/g,e=>wd[e])}function si(t){return t.replace(/left|right|bottom|top/g,e=>Ad[e])}function Rd(t){return{top:0,right:0,bottom:0,left:0,...t}}function Bs(t){return typeof t!="number"?Rd(t):{top:t,right:t,bottom:t,left:t}}function Yt(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 Ms(t,e,o){let{reference:n,floating:i}=t,a=Ao(e),s=ui(e),c=pi(s),p=Sr(e),u=a==="y",y=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(p){case"top":x={x:y,y:n.y-i.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-i.width,y:h};break;default:x={x:n.x,y:n.y}}switch(It(e)){case"start":x[s]-=m*(o&&u?-1:1);break;case"end":x[s]+=m*(o&&u?-1:1);break}return x}var Us=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:h}=Ms(u,n,p),m=n,x={},S=0;for(let C=0;C<c.length;C++){let{name:T,fn:R}=c[C],{x:L,y:$,data:W,reset:G}=await R({x:y,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});y=L??y,h=$??h,x={...x,[T]:{...x[T],...W}},G&&S<=50&&(S++,typeof G=="object"&&(G.placement&&(m=G.placement),G.rects&&(u=G.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):G.rects),{x:y,y:h}=Ms(u,m,p)),C=-1)}return{x:y,y:h,placement:m,strategy:i,middlewareData:x}};async function fi(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:h="floating",altBoundary:m=!1,padding:x=0}=Eo(e,t),S=Bs(x),T=c[m?h==="floating"?"reference":"floating":h],R=Yt(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(c.floating)),boundary:u,rootBoundary:y,strategy:p})),L=h==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),W=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},G=Yt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:L,offsetParent:$,strategy:p}):L);return{top:(R.top-G.top+S.top)/W.y,bottom:(G.bottom-R.bottom+S.bottom)/W.y,left:(R.left-G.left+S.left)/W.x,right:(G.right-R.right+S.right)/W.x}}function Td(t,e,o){return(t?[...o.filter(i=>It(i)===t),...o.filter(i=>It(i)!==t)]:o.filter(i=>Sr(i)===i)).filter(i=>t?It(i)===t||(e?$s(i)!==i:!1):!0)}var hi=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:u}=e,{crossAxis:y=!1,alignment:h,allowedPlacements:m=li,autoAlignment:x=!0,...S}=Eo(t,e),C=h!==void 0||m===li?Td(h||null,x,m):m,T=await fi(e,S),R=((o=s.autoPlacement)==null?void 0:o.index)||0,L=C[R];if(L==null)return{};let $=Ds(L,a,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(c!==L)return{reset:{placement:C[0]}};let W=[T[Sr(L)],T[$[0]],T[$[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:W}],Ne=C[R+1];if(Ne)return{data:{index:R+1,overflows:G},reset:{placement:Ne}};let et=G.map(Se=>{let g=It(Se.placement);return[Se.placement,g&&y?Se.overflows.slice(0,2).reduce((v,k)=>v+k,0):Se.overflows[0],Se.overflows]}).sort((Se,g)=>Se[1]-g[1]),tt=((i=et.filter(Se=>Se[2].slice(0,It(Se[0])?2:3).every(g=>g<=0))[0])==null?void 0:i[0])||et[0][0];return tt!==c?{data:{index:R+1,overflows:G},reset:{placement:tt}}:{}}}};var yi=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:c={fn:T=>{let{x:R,y:L}=T;return{x:R,y:L}}},...p}=Eo(t,e),u={x:o,y:n},y=await fi(e,p),h=Ao(Sr(i)),m=di(h),x=u[m],S=u[h];if(a){let T=m==="y"?"top":"left",R=m==="y"?"bottom":"right",L=x+y[T],$=x-y[R];x=ci(L,x,$)}if(s){let T=h==="y"?"top":"left",R=h==="y"?"bottom":"right",L=S+y[T],$=S-y[R];S=ci(L,S,$)}let C=c.fn({...e,[m]:x,[h]:S});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[m]:a,[h]:s}}}}}};var gi=Math.min,Or=Math.max,qr=Math.round;var mt=t=>({x:t,y:t});function bt(t){return zs(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=(zs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zs(t){return t instanceof Node||t instanceof _e(t).Node}function st(t){return t instanceof Element||t instanceof _e(t).Element}function Ze(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function Fs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function Cr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=ke(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function Hs(t){return["table","td","th"].includes(bt(t))}function Ro(t){let e=To(),o=ke(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 Ws(t){let e=Xt(t);for(;Ze(e)&&!Yr(e);){if(Ro(e))return e;e=Xt(e)}return null}function To(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yr(t){return["html","body","#document"].includes(bt(t))}function ke(t){return _e(t).getComputedStyle(t)}function Xr(t){return st(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xt(t){if(bt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Fs(t)&&t.host||xt(t);return Fs(e)?e.host:e}function Gs(t){let e=Xt(t);return Yr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ze(e)&&Cr(e)?e:Gs(e)}function wo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Gs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],Cr(i)?i:[],s.frameElement&&o?wo(s.frameElement):[]):e.concat(i,wo(i,[],o))}function Ks(t){let e=ke(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ze(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=qr(o)!==a||qr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Zs(t){return st(t)?t:t.contextElement}function Er(t){let e=Zs(t);if(!Ze(e))return mt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ks(e),s=(a?qr(o.width):o.width)/n,c=(a?qr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Id=mt(0);function qs(t){let e=_e(t);return!To()||!e.visualViewport?Id:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _d(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==_e(t)?!1:e}function Qr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Zs(t),s=mt(1);e&&(n?st(n)&&(s=Er(n)):s=Er(t));let c=_d(a,o,n)?qs(a):mt(0),p=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,y=i.width/s.x,h=i.height/s.y;if(a){let m=_e(a),x=n&&st(n)?_e(n):n,S=m.frameElement;for(;S&&n&&x!==m;){let C=Er(S),T=S.getBoundingClientRect(),R=ke(S),L=T.left+(S.clientLeft+parseFloat(R.paddingLeft))*C.x,$=T.top+(S.clientTop+parseFloat(R.paddingTop))*C.y;p*=C.x,u*=C.y,y*=C.x,h*=C.y,p+=L,u+=$,S=_e(S).frameElement}}return Yt({width:y,height:h,x:p,y:u})}function Pd(t){let{rect:e,offsetParent:o,strategy:n}=t,i=Ze(o),a=xt(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=mt(1),p=mt(0);if((i||!i&&n!=="fixed")&&((bt(o)!=="body"||Cr(a))&&(s=Xr(o)),Ze(o))){let u=Qr(o);c=Er(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+p.x,y:e.y*c.y-s.scrollTop*c.y+p.y}}function kd(t){return Array.from(t.getClientRects())}function Ys(t){return Qr(xt(t)).left+Xr(t).scrollLeft}function Dd(t){let e=xt(t),o=Xr(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=-o.scrollLeft+Ys(t),c=-o.scrollTop;return ke(n).direction==="rtl"&&(s+=Or(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function $d(t,e){let o=_e(t),n=xt(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let u=To();(!u||u&&e==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function Bd(t,e){let o=Qr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Ze(t)?Er(t):mt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,p=i*a.x,u=n*a.y;return{width:s,height:c,x:p,y:u}}function js(t,e,o){let n;if(e==="viewport")n=$d(t,o);else if(e==="document")n=Dd(xt(t));else if(st(e))n=Bd(e,o);else{let i=qs(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Yt(n)}function Xs(t,e){let o=Xt(t);return o===e||!st(o)||Yr(o)?!1:ke(o).position==="fixed"||Xs(o,e)}function Md(t,e){let o=e.get(t);if(o)return o;let n=wo(t,[],!1).filter(c=>st(c)&&bt(c)!=="body"),i=null,a=ke(t).position==="fixed",s=a?Xt(t):t;for(;st(s)&&!Yr(s);){let c=ke(s),p=Ro(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Cr(s)&&!p&&Xs(t,s))?n=n.filter(y=>y!==s):i=c,s=Xt(s)}return e.set(t,n),n}function Ud(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Md(e,this._c):[].concat(o),n],c=s[0],p=s.reduce((u,y)=>{let h=js(e,y,i);return u.top=Or(h.top,u.top),u.right=gi(h.right,u.right),u.bottom=gi(h.bottom,u.bottom),u.left=Or(h.left,u.left),u},js(e,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Fd(t){return Ks(t)}function zd(t,e,o){let n=Ze(e),i=xt(e),a=o==="fixed",s=Qr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},p=mt(0);if(n||!n&&!a)if((bt(e)!=="body"||Cr(i))&&(c=Xr(e)),n){let u=Qr(e,!0,a,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else i&&(p.x=Ys(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function Vs(t,e){return!Ze(t)||ke(t).position==="fixed"?null:e?e(t):t.offsetParent}function Qs(t,e){let o=_e(t);if(!Ze(t))return o;let n=Vs(t,e);for(;n&&Hs(n)&&ke(n).position==="static";)n=Vs(n,e);return n&&(bt(n)==="html"||bt(n)==="body"&&ke(n).position==="static"&&!Ro(n))?o:n||Ws(t)||o}var Hd=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||Qs,a=this.getDimensions;return{reference:zd(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Wd(t){return ke(t).direction==="rtl"}var Lo={convertOffsetParentRelativeRectToViewportRelativeRect:Pd,getDocumentElement:xt,getClippingRect:Ud,getOffsetParent:Qs,getElementRects:Hd,getClientRects:kd,getDimensions:Fd,getScale:Er,isElement:st,isRTL:Wd};var Js=(t,e,o)=>{let n=new Map,i={platform:Lo,...o},a={...i.platform,_c:n};return Us(t,e,{...i,platform:a})};function el(t){return Gd(t)}function mi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Gd(t){for(let e=t;e;e=mi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=mi(t);e;e=mi(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 tl(t,e,o){return Js(t,e,{platform:{...Lo,getOffsetParent:n=>Lo.getOffsetParent(n,el)},middleware:[yi({crossAxis:!0}),hi({allowedPlacements:[o]})]})}var Dr=b(I());var zc=b(I());var jl=b(V()),Ae=b(ie()),qe=b(I());var rl=b(V());var ol=rl.css`
1247
- `;var No=b(I()),jd="ft-app-info",Qt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Qt.eventName="authentication-change";var Vd={session:(t,e)=>{(0,No.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>N.dispatchEvent(new Qt(e.payload)),0))}},N=No.FtReduxStore.get({name:jd,reducers:Vd,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 bi=b(I());var Jt=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=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=N.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var Io=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Jt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Jt.await()}};var De=class extends Io{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(([c],[p])=>c.localeCompare(p)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new bi.CacheRegistry,this.cache=e?i.commonCache:new bi.CacheRegistry}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 _o=class extends De{async listMyBookmarks(){let e=N.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var xi=class{addCommand(e,o=!1){N.commands.add(e,o)}consumeCommand(e){return N.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new xi;var ze=b(I());var nl,Ar=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Kd=Symbol("clearAfterUnitTest"),Po=class extends(0,ze.withEventBus)(De){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[nl]=()=>{this.defaultMessages={},this.cache=new ze.CacheRegistry,this.listeners={}},this.currentUiLocale=N.getState().uiLocale,N.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=N.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};(0,ze.deepEqual)(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 ze.ParametrizedLabelResolver((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 ze.CanceledPromiseError)&&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 Ar({loadedContexts:e})),this.dispatchEvent(new Ar({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new Ar({loadedContexts:[e]})),this.dispatchEvent(new Ar({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>(0,ze.delay)(0).then(()=>n()).catch(()=>null)))}};nl=Kd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Po{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Po{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Jr=window.FluidTopicsI18nService,vi=window.FluidTopicsCustomI18nService;var il=b(I()),Si=class{highlightHtml(e,o,n){(0,il.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Si;var qd=b(sl(),1);var ll;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ll||(ll={}));var cl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(cl||(cl={}));var dl;(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"})(dl||(dl={}));var pl;(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"})(pl||(pl={}));var ul;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(ul||(ul={}));var fl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(fl||(fl={}));var hl;(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__AI_TRANSLATE="TOPIC__AI_TRANSLATE",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"})(hl||(hl={}));var yl;(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"})(yl||(yl={}));var gl;(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",t.LINK_PREVIEW="LINK_PREVIEW"})(gl||(gl={}));var ml;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ml||(ml={}));var bl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(bl||(bl={}));var xl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(xl||(xl={}));var vl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(vl||(vl={}));var Sl;(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"})(Sl||(Sl={}));var Ol;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ol||(Ol={}));var Cl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Cl||(Cl={}));var El;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(El||(El={}));var Al;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Al||(Al={}));var wl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(wl||(wl={}));var Rl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Rl||(Rl={}));var Tl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Tl||(Tl={}));var Ll;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ll||(Ll={}));var Nl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Nl||(Nl={}));var Il;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Il||(Il={}));var _l;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(_l||(_l={}));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 He;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(He||(He={}));var Pl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Pl||(Pl={}));var kl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(kl||(kl={}));var Dl;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(Dl||(Dl={}));var $l;(function(t){t.TEXT="TEXT",t.HTML="HTML"})($l||($l={}));var Bl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Bl||(Bl={}));var Zd={[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 Ml(t,e){return t===e||(Zd[t]??[]).some(o=>Ml(o,e))}function Ul(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=>Ml(n,e))}var $o=class extends De{async listMySearches(){let{session:e}=N.getState();return Ul(e,ye.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Fl=b(I());var Oi=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=N.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return Fl.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:N.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Oi;var zl=b(I());var eo=class{static get(e,o){var n,i;let a=N.getState(),{lang:s,region:c}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new zl.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${s}-${c}`)}};var Ci=class{urlToSearchRequest(e){return eo.get().parse(e)}searchRequestToUrl(e){return eo.get().serialize(e)}};window.FluidTopicsUrlService=new Ci;var Pt=b(I());var er=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};er.eventName="change";var Ei=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))}},Hl=new Ei;var Bo=class t extends Pt.WithEventBus{static build(){return new t(window.history,Hl,()=>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),(0,Pt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new er(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,s,c])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...a,index:p,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(i,[u,s,c]),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 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(er.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(er.eventName,e)}currentItem(){return(0,Pt.deepCopy)(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(0,Pt.deepCopy)(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(0,Pt.deepCopy)(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=Bo.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 Wl=N;function Gl(t,e){var o;return Wl.getState().authenticationRequired&&!(!((o=Wl.getState().session)===null||o===void 0)&&o.sessionAuthenticated)?Promise.resolve(e):t()}var ge=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ee=class extends qe.FtLitElement{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=()=>Jt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new qe.CacheRegistry,this.cleanSessionDebouncer=new qe.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return jl.html`
1248
+ `;var Ds=["top","right","bottom","left"],ks=["start","end"],pi=Ds.reduce((t,e)=>t.concat(e,e+"-"+ks[0],e+"-"+ks[1]),[]),$s=Math.min,Bs=Math.max;var Td={left:"right",right:"left",bottom:"top",top:"bottom"},Nd={start:"end",end:"start"};function ui(t,e,o){return Bs(t,$s(e,o))}function Ro(t,e){return typeof t=="function"?t(e):t}function Sr(t){return t.split("-")[0]}function It(t){return t.split("-")[1]}function fi(t){return t==="x"?"y":"x"}function hi(t){return t==="y"?"height":"width"}function To(t){return["top","bottom"].includes(Sr(t))?"y":"x"}function yi(t){return fi(To(t))}function Ms(t,e,o){o===void 0&&(o=!1);let n=It(t),i=yi(t),a=hi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=di(s)),[s,di(s)]}function Us(t){return t.replace(/start|end/g,e=>Nd[e])}function di(t){return t.replace(/left|right|bottom|top/g,e=>Td[e])}function Ld(t){return{top:0,right:0,bottom:0,left:0,...t}}function Fs(t){return typeof t!="number"?Ld(t):{top:t,right:t,bottom:t,left:t}}function Yt(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 zs(t,e,o){let{reference:n,floating:i}=t,a=To(e),s=yi(e),c=hi(s),p=Sr(e),u=a==="y",y=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(p){case"top":x={x:y,y:n.y-i.height};break;case"bottom":x={x:y,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-i.width,y:h};break;default:x={x:n.x,y:n.y}}switch(It(e)){case"start":x[s]-=m*(o&&u?-1:1);break;case"end":x[s]+=m*(o&&u?-1:1);break}return x}var Hs=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:h}=zs(u,n,p),m=n,x={},S=0;for(let C=0;C<c.length;C++){let{name:T,fn:R}=c[C],{x:N,y:$,data:W,reset:G}=await R({x:y,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:t,floating:e}});y=N??y,h=$??h,x={...x,[T]:{...x[T],...W}},G&&S<=50&&(S++,typeof G=="object"&&(G.placement&&(m=G.placement),G.rects&&(u=G.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):G.rects),{x:y,y:h}=zs(u,m,p)),C=-1)}return{x:y,y:h,placement:m,strategy:i,middlewareData:x}};async function gi(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:h="floating",altBoundary:m=!1,padding:x=0}=Ro(e,t),S=Fs(x),T=c[m?h==="floating"?"reference":"floating":h],R=Yt(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(c.floating)),boundary:u,rootBoundary:y,strategy:p})),N=h==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),W=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},G=Yt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:N,offsetParent:$,strategy:p}):N);return{top:(R.top-G.top+S.top)/W.y,bottom:(G.bottom-R.bottom+S.bottom)/W.y,left:(R.left-G.left+S.left)/W.x,right:(G.right-R.right+S.right)/W.x}}function Id(t,e,o){return(t?[...o.filter(i=>It(i)===t),...o.filter(i=>It(i)!==t)]:o.filter(i=>Sr(i)===i)).filter(i=>t?It(i)===t||(e?Us(i)!==i:!1):!0)}var mi=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:u}=e,{crossAxis:y=!1,alignment:h,allowedPlacements:m=pi,autoAlignment:x=!0,...S}=Ro(t,e),C=h!==void 0||m===pi?Id(h||null,x,m):m,T=await gi(e,S),R=((o=s.autoPlacement)==null?void 0:o.index)||0,N=C[R];if(N==null)return{};let $=Ms(N,a,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(c!==N)return{reset:{placement:C[0]}};let W=[T[Sr(N)],T[$[0]],T[$[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:W}],Le=C[R+1];if(Le)return{data:{index:R+1,overflows:G},reset:{placement:Le}};let et=G.map(Se=>{let g=It(Se.placement);return[Se.placement,g&&y?Se.overflows.slice(0,2).reduce((v,k)=>v+k,0):Se.overflows[0],Se.overflows]}).sort((Se,g)=>Se[1]-g[1]),tt=((i=et.filter(Se=>Se[2].slice(0,It(Se[0])?2:3).every(g=>g<=0))[0])==null?void 0:i[0])||et[0][0];return tt!==c?{data:{index:R+1,overflows:G},reset:{placement:tt}}:{}}}};var bi=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:c={fn:T=>{let{x:R,y:N}=T;return{x:R,y:N}}},...p}=Ro(t,e),u={x:o,y:n},y=await gi(e,p),h=To(Sr(i)),m=fi(h),x=u[m],S=u[h];if(a){let T=m==="y"?"top":"left",R=m==="y"?"bottom":"right",N=x+y[T],$=x-y[R];x=ui(N,x,$)}if(s){let T=h==="y"?"top":"left",R=h==="y"?"bottom":"right",N=S+y[T],$=S-y[R];S=ui(N,S,$)}let C=c.fn({...e,[m]:x,[h]:S});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[m]:a,[h]:s}}}}}};var xi=Math.min,Or=Math.max,qr=Math.round;var mt=t=>({x:t,y:t});function bt(t){return Gs(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xt(t){var e;return(e=(Gs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gs(t){return t instanceof Node||t instanceof _e(t).Node}function st(t){return t instanceof Element||t instanceof _e(t).Element}function Ze(t){return t instanceof HTMLElement||t instanceof _e(t).HTMLElement}function Ws(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}function Cr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=De(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function Vs(t){return["table","td","th"].includes(bt(t))}function Lo(t){let e=Io(),o=De(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 js(t){let e=Xt(t);for(;Ze(e)&&!Yr(e);){if(Lo(e))return e;e=Xt(e)}return null}function Io(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yr(t){return["html","body","#document"].includes(bt(t))}function De(t){return _e(t).getComputedStyle(t)}function Xr(t){return st(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xt(t){if(bt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ws(t)&&t.host||xt(t);return Ws(e)?e.host:e}function Ks(t){let e=Xt(t);return Yr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ze(e)&&Cr(e)?e:Ks(e)}function No(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Ks(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=_e(i);return a?e.concat(s,s.visualViewport||[],Cr(i)?i:[],s.frameElement&&o?No(s.frameElement):[]):e.concat(i,No(i,[],o))}function Ys(t){let e=De(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ze(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=qr(o)!==a||qr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Xs(t){return st(t)?t:t.contextElement}function Er(t){let e=Xs(t);if(!Ze(e))return mt(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ys(e),s=(a?qr(o.width):o.width)/n,c=(a?qr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var kd=mt(0);function Qs(t){let e=_e(t);return!Io()||!e.visualViewport?kd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Dd(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==_e(t)?!1:e}function Qr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Xs(t),s=mt(1);e&&(n?st(n)&&(s=Er(n)):s=Er(t));let c=Dd(a,o,n)?Qs(a):mt(0),p=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,y=i.width/s.x,h=i.height/s.y;if(a){let m=_e(a),x=n&&st(n)?_e(n):n,S=m.frameElement;for(;S&&n&&x!==m;){let C=Er(S),T=S.getBoundingClientRect(),R=De(S),N=T.left+(S.clientLeft+parseFloat(R.paddingLeft))*C.x,$=T.top+(S.clientTop+parseFloat(R.paddingTop))*C.y;p*=C.x,u*=C.y,y*=C.x,h*=C.y,p+=N,u+=$,S=_e(S).frameElement}}return Yt({width:y,height:h,x:p,y:u})}function $d(t){let{rect:e,offsetParent:o,strategy:n}=t,i=Ze(o),a=xt(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=mt(1),p=mt(0);if((i||!i&&n!=="fixed")&&((bt(o)!=="body"||Cr(a))&&(s=Xr(o)),Ze(o))){let u=Qr(o);c=Er(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+p.x,y:e.y*c.y-s.scrollTop*c.y+p.y}}function Bd(t){return Array.from(t.getClientRects())}function Js(t){return Qr(xt(t)).left+Xr(t).scrollLeft}function Md(t){let e=xt(t),o=Xr(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=-o.scrollLeft+Js(t),c=-o.scrollTop;return De(n).direction==="rtl"&&(s+=Or(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Ud(t,e){let o=_e(t),n=xt(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let u=Io();(!u||u&&e==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function Fd(t,e){let o=Qr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=Ze(t)?Er(t):mt(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,p=i*a.x,u=n*a.y;return{width:s,height:c,x:p,y:u}}function Zs(t,e,o){let n;if(e==="viewport")n=Ud(t,o);else if(e==="document")n=Md(xt(t));else if(st(e))n=Fd(e,o);else{let i=Qs(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Yt(n)}function el(t,e){let o=Xt(t);return o===e||!st(o)||Yr(o)?!1:De(o).position==="fixed"||el(o,e)}function zd(t,e){let o=e.get(t);if(o)return o;let n=No(t,[],!1).filter(c=>st(c)&&bt(c)!=="body"),i=null,a=De(t).position==="fixed",s=a?Xt(t):t;for(;st(s)&&!Yr(s);){let c=De(s),p=Lo(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Cr(s)&&!p&&el(t,s))?n=n.filter(y=>y!==s):i=c,s=Xt(s)}return e.set(t,n),n}function Hd(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?zd(e,this._c):[].concat(o),n],c=s[0],p=s.reduce((u,y)=>{let h=Zs(e,y,i);return u.top=Or(h.top,u.top),u.right=xi(h.right,u.right),u.bottom=xi(h.bottom,u.bottom),u.left=Or(h.left,u.left),u},Zs(e,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Wd(t){return Ys(t)}function Gd(t,e,o){let n=Ze(e),i=xt(e),a=o==="fixed",s=Qr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},p=mt(0);if(n||!n&&!a)if((bt(e)!=="body"||Cr(i))&&(c=Xr(e)),n){let u=Qr(e,!0,a,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else i&&(p.x=Js(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function qs(t,e){return!Ze(t)||De(t).position==="fixed"?null:e?e(t):t.offsetParent}function tl(t,e){let o=_e(t);if(!Ze(t))return o;let n=qs(t,e);for(;n&&Vs(n)&&De(n).position==="static";)n=qs(n,e);return n&&(bt(n)==="html"||bt(n)==="body"&&De(n).position==="static"&&!Lo(n))?o:n||js(t)||o}var Vd=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||tl,a=this.getDimensions;return{reference:Gd(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function jd(t){return De(t).direction==="rtl"}var _o={convertOffsetParentRelativeRectToViewportRelativeRect:$d,getDocumentElement:xt,getClippingRect:Hd,getOffsetParent:tl,getElementRects:Vd,getClientRects:Bd,getDimensions:Wd,getScale:Er,isElement:st,isRTL:jd};var rl=(t,e,o)=>{let n=new Map,i={platform:_o,...o},a={...i.platform,_c:n};return Hs(t,e,{...i,platform:a})};function ol(t){return Kd(t)}function vi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Kd(t){for(let e=t;e;e=vi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=vi(t);e;e=vi(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 nl(t,e,o){return rl(t,e,{platform:{..._o,getOffsetParent:n=>_o.getOffsetParent(n,ol)},middleware:[bi({crossAxis:!0}),mi({allowedPlacements:[o]})]})}var Dr=b(I());var Gc=b(I());var Zl=b(K()),Ae=b(ie()),qe=b(I());var il=b(K());var al=il.css`
1249
+ `;var Po=b(I()),Zd="ft-app-info",Qt=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Qt.eventName="authentication-change";var qd={session:(t,e)=>{(0,Po.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>L.dispatchEvent(new Qt(e.payload)),0))}},L=Po.FtReduxStore.get({name:Zd,reducers:qd,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 Si=b(I());var Jt=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=L.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=L.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}};var ko=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Jt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Jt.await()}};var $e=class extends ko{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(([c],[p])=>c.localeCompare(p)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Si.CacheRegistry,this.cache=e?i.commonCache:new Si.CacheRegistry}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 Do=class extends $e{async listMyBookmarks(){let e=L.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Oi=class{addCommand(e,o=!1){L.commands.add(e,o)}consumeCommand(e){return L.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Oi;var He=b(I());var sl,Ar=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Yd=Symbol("clearAfterUnitTest"),$o=class extends(0,He.withEventBus)($e){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[sl]=()=>{this.defaultMessages={},this.cache=new He.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=L.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};(0,He.deepEqual)(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 He.ParametrizedLabelResolver((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 He.CanceledPromiseError)&&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 Ar({loadedContexts:e})),this.dispatchEvent(new Ar({loadedContexts:e})),await Promise.all(e.map(o=>this.notify(o,!1)))}async notify(e,o=!0){o&&(document.body.dispatchEvent(new Ar({loadedContexts:[e]})),this.dispatchEvent(new Ar({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>(0,He.delay)(0).then(()=>n()).catch(()=>null)))}};sl=Yd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends $o{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Jr=window.FluidTopicsI18nService,Ci=window.FluidTopicsCustomI18nService;var ll=b(I()),Ei=class{highlightHtml(e,o,n){(0,ll.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Ei;var Qd=b(dl(),1);var pl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(pl||(pl={}));var ul;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ul||(ul={}));var fl;(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"})(fl||(fl={}));var hl;(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"})(hl||(hl={}));var yl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(yl||(yl={}));var gl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(gl||(gl={}));var ml;(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__AI_TRANSLATE="TOPIC__AI_TRANSLATE",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"})(ml||(ml={}));var bl;(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"})(bl||(bl={}));var xl;(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",t.LINK_PREVIEW="LINK_PREVIEW"})(xl||(xl={}));var vl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(vl||(vl={}));var Sl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Sl||(Sl={}));var Ol;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ol||(Ol={}));var Cl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Cl||(Cl={}));var El;(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"})(El||(El={}));var Al;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Al||(Al={}));var wl;(function(t){t.ASC="ASC",t.DESC="DESC"})(wl||(wl={}));var Rl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Rl||(Rl={}));var Tl;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Tl||(Tl={}));var Nl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Nl||(Nl={}));var Ll;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ll||(Ll={}));var Il;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(Il||(Il={}));var _l;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(_l||(_l={}));var Pl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Pl||(Pl={}));var kl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(kl||(kl={}));var Dl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Dl||(Dl={}));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 We;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(We||(We={}));var $l;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})($l||($l={}));var Bl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Bl||(Bl={}));var Ml;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Ml||(Ml={}));var Ul;(function(t){t.USER="USER",t.ASSISTANT="ASSISTANT"})(Ul||(Ul={}));var Fl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Fl||(Fl={}));var zl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(zl||(zl={}));var Xd={[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 Hl(t,e){return t===e||(Xd[t]??[]).some(o=>Hl(o,e))}function Wl(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=>Hl(n,e))}var Uo=class extends $e{async listMySearches(){let{session:e}=L.getState();return Wl(e,ye.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Gl=b(I());var Ai=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return Gl.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:L.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ai;var Vl=b(I());var eo=class{static get(e,o){var n,i;let a=L.getState(),{lang:s,region:c}=(i=(n=a.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&i!==void 0?i:{lang:"en",region:"US"};return new Vl.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,o??`${s}-${c}`)}};var wi=class{urlToSearchRequest(e){return eo.get().parse(e)}searchRequestToUrl(e){return eo.get().serialize(e)}};window.FluidTopicsUrlService=new wi;var Pt=b(I());var er=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};er.eventName="change";var Ri=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))}},jl=new Ri;var Fo=class t extends Pt.WithEventBus{static build(){return new t(window.history,jl,()=>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),(0,Pt.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new er(this.currentItem())),0)}installProxies(){let e=o=>(n,i,[a,s,c])=>{let p=o(),u={...p===this.currentIndex?this.currentState:void 0,...a,index:p,href:typeof c=="string"?c:(c??this.windowLocation()).href};n.apply(i,[u,s,c]),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 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(er.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(er.eventName,e)}currentItem(){return(0,Pt.deepCopy)(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(0,Pt.deepCopy)(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(0,Pt.deepCopy)(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=Fo.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)});function Kl(t,e){let{authenticationRequired:o,session:n}=L.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var ge=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},ee=class extends qe.FtLitElement{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=()=>Jt.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new qe.CacheRegistry,this.cleanSessionDebouncer=new qe.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return Zl.html`
1248
1250
  <slot></slot>
1249
- `}connectedCallback(){super.connectedCallback(),N.addEventListener(Qt.eventName,this.reloadConfiguration)}disconnectedCallback(){N.addEventListener(Qt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,s,c,p;super.update(e),e.has("baseUrl")&&(N.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&N.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&N.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&N.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&N.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&N.actions.noCustom(this.noCustom),e.has("editorMode")&&N.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&N.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&N.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Jr.addContext(u)),e.has("openExternalDocumentInNewTab")&&N.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&N.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&N.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(N.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),N.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),N.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&N.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&N.actions.availableContentLocales((p=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&p!==void 0?p:[]),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",()=>Gl(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ee.elementDefinitions={};ee.styles=ol;ge([(0,Ae.property)()],ee.prototype,"baseUrl",void 0);ge([(0,Ae.property)()],ee.prototype,"apiIntegrationIdentifier",void 0);ge([(0,Ae.property)()],ee.prototype,"apiIntegrationAppVersion",void 0);ge([(0,Ae.property)()],ee.prototype,"uiLocale",void 0);ge([(0,qe.jsonProperty)(null)],ee.prototype,"availableUiLocales",void 0);ge([(0,qe.jsonProperty)(null)],ee.prototype,"metadataConfiguration",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"editorMode",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"noCustom",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"openExternalDocumentInNewTab",void 0);ge([(0,Ae.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ee.prototype,"noCustomComponent",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"withManualResources",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"navigatorOnline",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"forcedOffline",void 0);ge([(0,Ae.property)({type:Object})],ee.prototype,"apiProvider",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"authenticationRequired",void 0);ge([(0,qe.jsonProperty)([])],ee.prototype,"messageContexts",void 0);ge([(0,qe.jsonProperty)(void 0)],ee.prototype,"session",void 0);ge([(0,Ae.state)()],ee.prototype,"localesConfiguration",void 0);ge([(0,Ae.state)()],ee.prototype,"availableContentLocales",void 0);var qi=b(ie());function Yd(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(!Mo(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(!Mo(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(c=>s[c]!=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(!Mo(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Mo(t,e){try{return Yd(t,e)}catch{return!1}}function to(t,e){return!Mo(t,e)}function Uo(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 Vl=b(ie(),1);var Ai=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:to,attribute:!1,...e};(0,Vl.property)(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:c=>c[n],store:e.store})}};var Fo=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))}};var tr=b(ie(),1);var Kl=b(ie(),1);function Zl(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Kl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:to,...e??{}})}var zo=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(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Yl=b(V(),1);var Ho=globalThis,Xd=Ho.ShadowRoot&&(Ho.ShadyCSS===void 0||Ho.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,g0=Symbol();var ql=(t,e)=>{if(Xd)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Ho.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}};var Wo=class extends Yl.LitElement{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 ql(n,e.elementStyles),n}};function Xl(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}var Tr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},tc,Ql=Symbol("constructorPrototype"),Jl=Symbol("constructorName"),rc=Symbol("exportpartsDebouncer"),ec=Symbol("dynamicDependenciesLoaded"),Rr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Rr.eventName="exportparts-updated";var lt=class extends Wo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[tc]=new zo(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[rc].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[Jl]=this.constructor.name,this[Ql]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Jl]&&Object.setPrototypeOf(this,this[Ql])}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[ec]||(o[ec]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Rr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Rr.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 Rr)})}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=Xl(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,c;let p=m=>m!=null&&m.trim().length>0,u=e.filter(p).map(m=>m.trim());if(u.length===0){this.exportparts=void 0;return}let y=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 x=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],S=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],C=[...x,...S].filter(p).map(T=>T.trim());for(let T of C)y.add(T)}if(y.size===0){this.exportparts=void 0;return}let h=[...y.values()].flatMap(m=>u.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};tc=rc;Tr([(0,tr.property)()],lt.prototype,"exportpartsPrefix",void 0);Tr([Zl([])],lt.prototype,"exportpartsPrefixes",void 0);Tr([(0,tr.property)({reflect:!0})],lt.prototype,"exportparts",void 0);Tr([(0,tr.property)()],lt.prototype,"customStylesheet",void 0);Tr([(0,tr.property)()],lt.prototype,"elementToFocus",void 0);Tr([(0,tr.state)()],lt.prototype,"useAdoptedStyleSheets",void 0);function Go(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ro=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),rr=Symbol("internalStores"),Qd=Uo(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(c=>s.has(c))&&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,c){var p;c=(p=c??s.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(c),this[rr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[rr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[rr].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let p=this.constructor.getPropertyOptions(c);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[kt].has(s.store):this[kt].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var p;this[kt].set(s,c.subscribe(()=>this.updateFromStores())),this[ro].set(s,[]),Go(c)&&c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,y)=>{if(typeof this[y]=="function"&&(!u.store||c.name===u.store)){let h=m=>this[y](m);c.addEventListener(u.eventName,h),this[ro].get(s).push(()=>c.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[kt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[kt].has(s)&&this[kt].get(s)(),this[kt].delete(s),(c=this[ro].get(s))===null||c===void 0||c.forEach(p=>p()),this[ro].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=kt,o=rr,n=ro,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),oc=class extends Qd(lt){};function We(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 vt(t){return!!t&&!!t[oe]}function Ye(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)===ap}(t)||Array.isArray(t)||!!t[dc]||!!(!((e=t.constructor)===null||e===void 0)&&e[dc])||ki(t)||Di(t))}function or(t,e,o){o===void 0&&(o=!1),Ir(t)===0?(o?Object.keys:Nr)(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[oe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ki(t)?2:Di(t)?3:0}function Lr(t,e){return Ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Jd(t,e){return Ir(t)===2?t.get(e):t[e]}function pc(t,e,o){var n=Ir(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function uc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ki(t){return np&&t instanceof Map}function Di(t){return ip&&t instanceof Set}function Dt(t){return t.o||t.t}function $i(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=yc(t);delete e[oe];for(var o=Nr(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 Bi(t,e){return e===void 0&&(e=!1),Mi(t)||vt(t)||!Ye(t)||(Ir(t)>1&&(t.set=t.add=t.clear=t.delete=ep),Object.freeze(t),e&&or(t,function(o,n){return Bi(n,!0)},!0)),t}function ep(){We(2)}function Mi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ct(t){var e=Pi[t];return e||We(18,t),e}function tp(t,e){Pi[t]||(Pi[t]=e)}function Ni(){return no}function wi(t,e){e&&(ct("Patches"),t.u=[],t.s=[],t.v=e)}function jo(t){Ii(t),t.p.forEach(rp),t.p=null}function Ii(t){t===no&&(no=t.l)}function nc(t){return no={p:[],l:no,h:t,m:!0,_:0}}function rp(t){var e=t[oe];e.i===0||e.i===1?e.j():e.g=!0}function Ri(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ct("ES5").S(e,t,n),n?(o[oe].P&&(jo(e),We(4)),Ye(t)&&(t=Vo(e,t),e.l||Ko(e,t)),e.u&&ct("Patches").M(o[oe].t,t,e.u,e.s)):t=Vo(e,o,[]),jo(e),e.u&&e.v(e.u,e.s),t!==hc?t:void 0}function Vo(t,e,o){if(Mi(e))return e;var n=e[oe];if(!n)return or(e,function(c,p){return ic(t,n,e,c,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return Ko(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=$i(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),or(a,function(c,p){return ic(t,n,i,c,p,o,s)}),Ko(t,i,!1),o&&t.u&&ct("Patches").N(n,o,t.u,t.s)}return n.o}function ic(t,e,o,n,i,a,s){if(vt(i)){var c=Vo(t,i,a&&e&&e.i!==3&&!Lr(e.R,n)?a.concat(n):void 0);if(pc(o,n,c),!vt(c))return;t.m=!1}else s&&o.add(i);if(Ye(i)&&!Mi(i)){if(!t.h.D&&t._<1)return;Vo(t,i),e&&e.A.l||Ko(t,i)}}function Ko(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Bi(e,o)}function Ti(t,e){var o=t[oe];return(o?Dt(o):t)[e]}function ac(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 $t(t){t.P||(t.P=!0,t.l&&$t(t.l))}function Li(t){t.o||(t.o=$i(t.t))}function _i(t,e,o){var n=ki(e)?ct("MapSet").F(e,o):Di(e)?ct("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Ni(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,u=io;s&&(p=[c],u=oo);var y=Proxy.revocable(p,u),h=y.revoke,m=y.proxy;return c.k=m,c.j=h,m}(e,o):ct("ES5").J(e,o);return(o?o.A:Ni()).p.push(n),n}function op(t){return vt(t)||We(22,t),function e(o){if(!Ye(o))return o;var n,i=o[oe],a=Ir(o);if(i){if(!i.P&&(i.i<4||!ct("ES5").K(i)))return i.t;i.I=!0,n=sc(o,a),i.I=!1}else n=sc(o,a);return or(n,function(s,c){i&&Jd(i.t,s)===c||pc(n,s,e(c))}),a===3?new Set(n):n}(t)}function sc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return $i(t)}function fc(){function t(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var u=this[oe];return io.get(u,s)},set:function(u){var y=this[oe];io.set(y,s,u)}},p}function e(s){for(var c=s.length-1;c>=0;c--){var p=s[c][oe];if(!p.P)switch(p.i){case 5:n(p)&&$t(p);break;case 4:o(p)&&$t(p)}}}function o(s){for(var c=s.t,p=s.k,u=Nr(p),y=u.length-1;y>=0;y--){var h=u[y];if(h!==oe){var m=c[h];if(m===void 0&&!Lr(c,h))return!0;var x=p[h],S=x&&x[oe];if(S?S.t!==m:!uc(x,m))return!0}}var C=!!c[oe];return u.length!==Nr(c).length+(C?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&We(3,JSON.stringify(Dt(s)))}var a={};tp("ES5",{J:function(s,c){var p=Array.isArray(s),u=function(h,m){if(h){for(var x=Array(m.length),S=0;S<m.length;S++)Object.defineProperty(x,""+S,t(S,!0));return x}var C=yc(m);delete C[oe];for(var T=Nr(C),R=0;R<T.length;R++){var L=T[R];C[L]=t(L,h||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(m),C)}(p,s),y={i:p?5:4,A:c?c.A:Ni(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,oe,{value:y,writable:!0}),u},S:function(s,c,p){p?vt(c)&&c[oe].A===s&&e(s.p):(s.u&&function u(y){if(y&&typeof y=="object"){var h=y[oe];if(h){var m=h.t,x=h.k,S=h.R,C=h.i;if(C===4)or(x,function(W){W!==oe&&(m[W]!==void 0||Lr(m,W)?S[W]||u(x[W]):(S[W]=!0,$t(h)))}),or(m,function(W){x[W]!==void 0||Lr(x,W)||(S[W]=!1,$t(h))});else if(C===5){if(n(h)&&($t(h),S.length=!0),x.length<m.length)for(var T=x.length;T<m.length;T++)S[T]=!1;else for(var R=m.length;R<x.length;R++)S[R]=!0;for(var L=Math.min(x.length,m.length),$=0;$<L;$++)x.hasOwnProperty($)||(S[$]=!0),S[$]===void 0&&u(x[$])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var lc,no,Ui=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",np=typeof Map<"u",ip=typeof Set<"u",cc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hc=Ui?Symbol.for("immer-nothing"):((lc={})["immer-nothing"]=!0,lc),dc=Ui?Symbol.for("immer-draftable"):"__$immer_draftable",oe=Ui?Symbol.for("immer-state"):"__$immer_state";var ap=""+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,yc=Object.getOwnPropertyDescriptors||function(t){var e={};return Nr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Pi={},io={get:function(t,e){if(e===oe)return t;var o=Dt(t);if(!Lr(o,e))return function(i,a,s){var c,p=ac(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!Ye(n)?n:n===Ti(t.t,e)?(Li(t),t.o[e]=_i(t.A.h,n,t)):n},has:function(t,e){return e in Dt(t)},ownKeys:function(t){return Reflect.ownKeys(Dt(t))},set:function(t,e,o){var n=ac(Dt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Ti(Dt(t),e),a=i?.[oe];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(uc(o,i)&&(o!==void 0||Lr(t.t,e)))return!0;Li(t),$t(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 Ti(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Li(t),$t(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Dt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){We(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){We(12)}},oo={};or(io,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 io.set.call(this,t[0],e,o,t[0])};var sp=function(){function t(o){var n=this;this.O=cc,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(C){var T=this;C===void 0&&(C=c);for(var R=arguments.length,L=Array(R>1?R-1:0),$=1;$<R;$++)L[$-1]=arguments[$];return p.produce(C,function(W){var G;return(G=a).call.apply(G,[T,W].concat(L))})}}var u;if(typeof a!="function"&&We(6),s!==void 0&&typeof s!="function"&&We(7),Ye(i)){var y=nc(n),h=_i(n,i,void 0),m=!0;try{u=a(h),m=!1}finally{m?jo(y):Ii(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return wi(y,s),Ri(C,y)},function(C){throw jo(y),C}):(wi(y,s),Ri(u,y))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===hc&&(u=void 0),n.D&&Bi(u,!0),s){var x=[],S=[];ct("Patches").M(i,u,x,S),s(x,S)}return u}We(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var y=arguments.length,h=Array(y>1?y-1:0),m=1;m<y;m++)h[m-1]=arguments[m];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(h))})};var s,c,p=n.produce(i,a,function(u,y){s=u,c=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,s,c]}):[p,s,c]},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){Ye(o)||We(8),vt(o)&&(o=op(o));var n=nc(this),i=_i(this,o,void 0);return i[oe].C=!0,Ii(n),i},e.finishDraft=function(o,n){var i=o&&o[oe],a=i.A;return wi(a,n),Ri(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!cc&&We(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=ct("Patches").$;return vt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),$e=new sp,lp=$e.produce,I0=$e.produceWithPatches.bind($e),_0=$e.setAutoFreeze.bind($e),P0=$e.setUseProxies.bind($e),k0=$e.applyPatches.bind($e),D0=$e.createDraft.bind($e),$0=$e.finishDraft.bind($e),Zo=lp;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 gc(t,e){if(nr(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.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 mc(t){var e=gc(t,"string");return nr(e)=="symbol"?e:e+""}function bc(t,e,o){return(e=mc(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function xc(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 Fi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?xc(Object(o),!0).forEach(function(n){bc(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):xc(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,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 vc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),zi=function(){return Math.random().toString(36).substring(7).split("").join(".")},qo={INIT:"@@redux/INIT"+zi(),REPLACE:"@@redux/REPLACE"+zi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zi()}};function cp(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 Hi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Re(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Re(1));return o(Hi)(t,e)}if(typeof t!="function")throw new Error(Re(2));var i=t,a=e,s=[],c=s,p=!1;function u(){c===s&&(c=s.slice())}function y(){if(p)throw new Error(Re(3));return a}function h(C){if(typeof C!="function")throw new Error(Re(4));if(p)throw new Error(Re(5));var T=!0;return u(),c.push(C),function(){if(T){if(p)throw new Error(Re(6));T=!1,u();var L=c.indexOf(C);c.splice(L,1),s=null}}}function m(C){if(!cp(C))throw new Error(Re(7));if(typeof C.type>"u")throw new Error(Re(8));if(p)throw new Error(Re(9));try{p=!0,a=i(a,C)}finally{p=!1}for(var T=s=c,R=0;R<T.length;R++){var L=T[R];L()}return C}function x(C){if(typeof C!="function")throw new Error(Re(10));i=C,m({type:qo.REPLACE})}function S(){var C,T=h;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(Re(11));function $(){L.next&&L.next(y())}$();var W=T($);return{unsubscribe:W}}},C[vc]=function(){return this},C}return m({type:qo.INIT}),n={dispatch:m,subscribe:h,getState:y,replaceReducer:x},n[vc]=S,n}function dp(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:qo.INIT});if(typeof n>"u")throw new Error(Re(12));if(typeof o(void 0,{type:qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Re(13))})}function Sc(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,c;try{dp(o)}catch(p){c=p}return function(u,y){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var m=!1,x={},S=0;S<a.length;S++){var C=a[S],T=o[C],R=u[C],L=T(R,y);if(typeof L>"u"){var $=y&&y.type;throw new Error(Re(14))}x[C]=L,m=m||L!==R}return m=m||a.length!==Object.keys(u).length,m?x:u}}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 Oc(){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(Re(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(s)});return a=_r.apply(void 0,c)(i.dispatch),Fi(Fi({},i),{},{dispatch:a})}}}function Cc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Ec=Cc();Ec.withExtraArgument=Cc;var Wi=Ec;var Lc=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)}}(),pp=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(y){return p([u,y])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(y){u=[6,y],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Pr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},up=Object.defineProperty,fp=Object.defineProperties,hp=Object.getOwnPropertyDescriptors,Ac=Object.getOwnPropertySymbols,yp=Object.prototype.hasOwnProperty,gp=Object.prototype.propertyIsEnumerable,wc=function(t,e,o){return e in t?up(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Bt=function(t,e){for(var o in e||(e={}))yp.call(e,o)&&wc(t,o,e[o]);if(Ac)for(var n=0,i=Ac(e);n<i.length;n++){var o=i[n];gp.call(e,o)&&wc(t,o,e[o])}return t},Gi=function(t,e){return fp(t,hp(e))},mp=function(t,e,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(u){i(u)}},s=function(p){try{c(o.throw(p))}catch(u){i(u)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};c((o=o.apply(t,e)).next())})};var bp=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)},eS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function xp(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 vp=function(t){Lc(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,Pr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Pr([void 0],o.concat(this))))},e}(Array),Sp=function(t){Lc(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,Pr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Pr([void 0],o.concat(this))))},e}(Array);function Ki(t){return Ye(t)?Zo(t,function(){}):t}function Op(t){return typeof t=="boolean"}function Cp(){return function(e){return Ep(e)}}function Ep(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,c=new vp;if(o&&(Op(o)?c.push(Wi):c.push(Wi.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var u}return c}var ji=!0;function Nc(t){var e=Cp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,p=c===void 0?!0:c,u=o.preloadedState,y=u===void 0?void 0:u,h=o.enhancers,m=h===void 0?void 0:h,x;if(typeof i=="function")x=i;else if(xp(i))x=Sc(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 S=s;if(typeof S=="function"&&(S=S(e),!ji&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ji&&S.some(function(W){return typeof W!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Oc.apply(void 0,S),T=_r;p&&(T=bp(Bt({trace:!ji},typeof p=="object"&&p)));var R=new Sp(C),L=R;Array.isArray(m)?L=Pr([C],m):typeof m=="function"&&(L=m(R));var $=T.apply(void 0,L);return Hi(x,y,$)}function Mt(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 Bt(Bt({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 Ic(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=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 Ap(t){return typeof t=="function"}function wp(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?Ic(e):[e,o,n],a=i[0],s=i[1],c=i[2],p;if(Ap(t))p=function(){return Ki(t())};else{var u=Ki(t);p=function(){return u}}function y(h,m){h===void 0&&(h=p());var x=Pr([a[m.type]],s.filter(function(S){var C=S.matcher;return C(m)}).map(function(S){var C=S.reducer;return C}));return x.filter(function(S){return!!S}).length===0&&(x=[c]),x.reduce(function(S,C){if(C)if(vt(S)){var T=S,R=C(T,m);return R===void 0?S:R}else{if(Ye(S))return Zo(S,function(L){return C(L,m)});var R=C(S,m);if(R===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return S},h)}return y.getInitialState=p,y}function Rp(t,e){return t+"/"+e}function _c(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:Ki(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(y){var h=n[y],m=Rp(e,y),x,S;"reducer"in h?(x=h.reducer,S=h.prepare):x=h,a[y]=x,s[m]=x,c[y]=S?Mt(m,S):Mt(m)});function p(){var y=typeof t.extraReducers=="function"?Ic(t.extraReducers):[t.extraReducers],h=y[0],m=h===void 0?{}:h,x=y[1],S=x===void 0?[]:x,C=y[2],T=C===void 0?void 0:C,R=Bt(Bt({},m),s);return wp(o,function(L){for(var $ in R)L.addCase($,R[$]);for(var W=0,G=S;W<G.length;W++){var Ne=G[W];L.addMatcher(Ne.matcher,Ne.reducer)}T&&L.addDefaultCase(T)})}var u;return{name:e,reducer:function(y,h){return u||(u=p()),u(y,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Tp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Lp=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Tp[Math.random()*64|0];return e},Np=["name","message","stack","code"],Vi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Rc=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Ip=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Np;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},nS=function(){function t(e,o,n){var i=Mt(e+"/fulfilled",function(y,h,m,x){return{payload:y,meta:Gi(Bt({},x||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=Mt(e+"/pending",function(y,h,m){return{payload:void 0,meta:Gi(Bt({},m||{}),{arg:h,requestId:y,requestStatus:"pending"})}}),s=Mt(e+"/rejected",function(y,h,m,x,S){return{payload:x,error:(n&&n.serializeError||Ip)(y||"Rejected"),meta:Gi(Bt({},S||{}),{arg:m,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(h,m,x){var S=n?.idGenerator?n.idGenerator(y):Lp(),C=new p,T,R=!1;function L(W){T=W,C.abort()}var $=function(){return mp(this,null,function(){var W,G,Ne,et,Te,tt,Se;return pp(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),et=(W=n?.condition)==null?void 0:W.call(n,y,{getState:m,extra:x}),Pp(et)?[4,et]:[3,2];case 1:et=g.sent(),g.label=2;case 2:if(et===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Te=new Promise(function(v,k){return C.signal.addEventListener("abort",function(){return k({name:"AbortError",message:T||"Aborted"})})}),h(a(S,y,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:S,arg:y},{getState:m,extra:x}))),[4,Promise.race([Te,Promise.resolve(o(y,{dispatch:h,getState:m,extra:x,requestId:S,signal:C.signal,abort:L,rejectWithValue:function(v,k){return new Vi(v,k)},fulfillWithValue:function(v,k){return new Rc(v,k)}})).then(function(v){if(v instanceof Vi)throw v;return v instanceof Rc?i(v.payload,S,y,v.meta):i(v,S,y)})])];case 3:return Ne=g.sent(),[3,5];case 4:return tt=g.sent(),Ne=tt instanceof Vi?s(null,S,y,tt.payload,tt.meta):s(tt,S,y),[3,5];case 5:return Se=n&&!n.dispatchConditionRejection&&s.match(Ne)&&Ne.meta.condition,Se||h(Ne),[2,Ne]}})})}();return Object.assign($,{abort:L,requestId:S,arg:y,unwrap:function(){return $.then(_p)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function _p(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Pp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Pc="listener",kc="completed",Dc="cancelled",iS="task-"+Dc,aS="task-"+kc,sS=Pc+"-"+Dc,lS=Pc+"-"+kc;var Zi="listenerMiddleware";var cS=Mt(Zi+"/add"),dS=Mt(Zi+"/removeAll"),pS=Mt(Zi+"/remove");var Tc,uS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Tc||(Tc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},kp=function(t){return function(e){setTimeout(e,t)}},fS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:kp(10);fc();var Dp=Uo(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)}}}),Yo=class extends Dp(Object){};window.ftReduxStores||(window.ftReduxStores={});var $c=class t extends Yo{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(Go(a))return a;if(i==null)return;let s=_c({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Nc({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:s.reducer(p,u)});return window.ftReduxStores[i.name]=new t(s,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Fo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let p=s,u=a[p];return u?(...y)=>{let h=u(...y.map(i));return this.reduxStore.dispatch(h),h}:y=>{this.setState({[p]:i(y)})}}}),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()}};var Xo=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 c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${s} ${c}`}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 Bc=b(I()),Qo=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},BS=(0,Bc.applyMixinOnce)(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(N)}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(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?c=>Xo.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Qo([(0,qi.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Qo([(0,qi.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Qo([Ai({store:N.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),Qo([Ai({store:N.name})],e.prototype,"uiLocale",void 0),e});var tn=b(I());var Jo=class extends De{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=N.getState().session;return!!e?.sessionAuthenticated}};var en=class extends De{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=N.getState().session;return!!e?.sessionAuthenticated}};var $p="ft-user-assets",Bp={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(He).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;Xi(t,o,[...Yi(t,o),i]),Mc(t,o,1,n),Uc(t,i)},editAsset:(t,e)=>{let{assetType:o,asset:n}=e.payload;Xi(t,o,Yi(t,o).map(i=>i.id===n.id?n:i)),Uc(t,n)},removeAsset:(t,e)=>{let{assetType:o,mapId:n,assetId:i}=e.payload;Xi(t,o,Yi(t,o).filter(a=>a.id!==i)),Mc(t,o,-1,n)}},Fc={[He.SEARCHES]:"savedSearches",[He.BOOKMARKS]:"bookmarks",[He.BOOKS]:void 0,[He.COLLECTIONS]:void 0},Yi=(t,e)=>{var o;let n=Fc[e];return n?(o=t[n])!==null&&o!==void 0?o:[]:[]},Xi=(t,e,o)=>{let n=Fc[e];n&&(t[n]=o)},Mc=(t,e,o,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+o),e===He.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+o)}},Uc=(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)},Be=tn.FtReduxStore.get({name:$p,reducers:Bp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(He).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),Qi=class{constructor(e=new Jo,o=new en){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=N.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _o,this.savedSearchesService=new $o,N.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=N.getState();(0,tn.deepEqual)((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(),Be.actions.clearAssetCount(),Be.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Be.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Be.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Be.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Be.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&Be.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&Be.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(Be.getState().assetCounts.bookmarkByMap).length!==0;e===He.BOOKMARKS&&o&&Be.actions.clearBookmarkCountByMap(),Be.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;Be.actions.bookmarks(o)}}},Mp=new Qi;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Mp);(0,zc.customElement)("ft-app-context")(ee);var Hc=b(ie());var Ji=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-]+$/)}},kr=new Ji;var Up=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},so=Symbol("i18nAttributes"),Wc=Symbol("i18nListAttributes"),Gc=Symbol("i18nProperties"),rn=Symbol("i18nContexts"),ao=Symbol("i18nUnsubs"),jc=(0,Dr.applyMixinOnce)(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?vi:Jr}i18n(a){let{context:s,key:c,message:p}=a,{custom:u,args:y,argsProvider:h}=a;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let m=y??(h?h(this):[]);return this.getI18nService(u).resolveMessage(s,c,...m)}return p}async awaitI18n(a){let{context:s,custom:c}=a;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(a)}customI18n(a,s){if(kr.isI18nKey(a)){let[c,p]=a.split(".");return this.i18n({custom:!0,context:c,key:p,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,p)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let p=this,u=(y,h,m)=>m?.context&&m.key&&a(y,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...y})}:m;(s=this[so])===null||s===void 0||s.forEach((y,h)=>p[h]=u(y,h,p[h])),(c=this[Wc])===null||c===void 0||c.forEach((y,h)=>{var m;return p[h]=(m=p[h])===null||m===void 0?void 0:m.map(x=>u(y,h,x))})}updateI18nProperties(a){var s;(s=this[Gc])===null||s===void 0||s.forEach((c,p)=>{a(c,p)&&(this[p]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let p=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[rn].set(p,{isCustomContext:c}),this[ao].has(p)||this[ao].set(p,this.getI18nService(c).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(c).prepareContext(p,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[ao].forEach(a=>a()),this[ao].clear()}}return e=rn,o=ao,Up([(0,Hc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),on=class extends jc(Dr.FtLitElement){},nn=class extends jc(Dr.FtLitElementRedux){};var Vc=b(I());var ea=class{fromAttribute(e){if(!e)return[];try{let o=JSON.parse(e);return Array.isArray(o)?o.map(n=>typeof n=="string"?kr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},Fp=new ea;var Kc=(t,e)=>(o,n)=>{var i;o.constructor.createProperty(n,{type:Object,hasChanged:Vc.hasChanged,converter:kr,...e}),o[so]=(i=o[so])!==null&&i!==void 0?i:new Map,o[so].set(n,t??{})};var Yc=b(I());var an=b(V()),sn=b(ie()),ln=b(I());var Zc=b(V());var qc=Zc.css`
1250
- `;var lo=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 nn{constructor(){super(),this.editorMode=!1,this.addStore(N)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":an.nothing:an.html`
1251
+ `}connectedCallback(){super.connectedCallback(),L.addEventListener(Qt.eventName,this.reloadConfiguration)}disconnectedCallback(){L.addEventListener(Qt.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var o,n,i,a,s,c,p;super.update(e),e.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&L.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&L.actions.noCustom(this.noCustom),e.has("editorMode")&&L.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&L.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(u=>Jr.addContext(u)),e.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(L.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),L.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),L.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),e.has("authenticationRequired")&&L.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&L.actions.availableContentLocales((p=(c=this.availableContentLocales)===null||c===void 0?void 0:c.contentLocales)!==null&&p!==void 0?p:[]),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",()=>Kl(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ee.elementDefinitions={};ee.styles=al;ge([(0,Ae.property)()],ee.prototype,"baseUrl",void 0);ge([(0,Ae.property)()],ee.prototype,"apiIntegrationIdentifier",void 0);ge([(0,Ae.property)()],ee.prototype,"apiIntegrationAppVersion",void 0);ge([(0,Ae.property)()],ee.prototype,"uiLocale",void 0);ge([(0,qe.jsonProperty)(null)],ee.prototype,"availableUiLocales",void 0);ge([(0,qe.jsonProperty)(null)],ee.prototype,"metadataConfiguration",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"editorMode",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"noCustom",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"openExternalDocumentInNewTab",void 0);ge([(0,Ae.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ee.prototype,"noCustomComponent",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"withManualResources",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"navigatorOnline",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"forcedOffline",void 0);ge([(0,Ae.property)({type:Object})],ee.prototype,"apiProvider",void 0);ge([(0,Ae.property)({type:Boolean})],ee.prototype,"authenticationRequired",void 0);ge([(0,qe.jsonProperty)([])],ee.prototype,"messageContexts",void 0);ge([(0,qe.jsonProperty)(void 0)],ee.prototype,"session",void 0);ge([(0,Ae.state)()],ee.prototype,"localesConfiguration",void 0);ge([(0,Ae.state)()],ee.prototype,"availableContentLocales",void 0);var Qi=b(ie());function Jd(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(!zo(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(!zo(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(c=>s[c]!=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(!zo(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function zo(t,e){try{return Jd(t,e)}catch{return!1}}function to(t,e){return!zo(t,e)}function Ho(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 ql=b(ie(),1);var Ti=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:to,attribute:!1,...e};(0,ql.property)(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:c=>c[n],store:e.store})}};var Wo=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))}};var tr=b(ie(),1);var Yl=b(ie(),1);function Xl(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Yl.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:to,...e??{}})}var Go=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(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Jl=b(K(),1);var Vo=globalThis,ep=Vo.ShadowRoot&&(Vo.ShadyCSS===void 0||Vo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,O0=Symbol();var Ql=(t,e)=>{if(ep)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Vo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}};var jo=class extends Jl.LitElement{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 Ql(n,e.elementStyles),n}};function ec(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}var Tr=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},nc,tc=Symbol("constructorPrototype"),rc=Symbol("constructorName"),ic=Symbol("exportpartsDebouncer"),oc=Symbol("dynamicDependenciesLoaded"),Rr=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Rr.eventName="exportparts-updated";var lt=class extends jo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[nc]=new Go(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[ic].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[rc]=this.constructor.name,this[tc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[rc]&&Object.setPrototypeOf(this,this[tc])}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[oc]||(o[oc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Rr.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Rr.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 Rr)})}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=ec(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,c;let p=m=>m!=null&&m.trim().length>0,u=e.filter(p).map(m=>m.trim());if(u.length===0){this.exportparts=void 0;return}let y=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 x=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],S=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(T=>T.split(":")[1]))!==null&&c!==void 0?c:[],C=[...x,...S].filter(p).map(T=>T.trim());for(let T of C)y.add(T)}if(y.size===0){this.exportparts=void 0;return}let h=[...y.values()].flatMap(m=>u.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};nc=ic;Tr([(0,tr.property)()],lt.prototype,"exportpartsPrefix",void 0);Tr([Xl([])],lt.prototype,"exportpartsPrefixes",void 0);Tr([(0,tr.property)({reflect:!0})],lt.prototype,"exportparts",void 0);Tr([(0,tr.property)()],lt.prototype,"customStylesheet",void 0);Tr([(0,tr.property)()],lt.prototype,"elementToFocus",void 0);Tr([(0,tr.state)()],lt.prototype,"useAdoptedStyleSheets",void 0);function Ko(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ro=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),rr=Symbol("internalStores"),tp=Ho(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(c=>s.has(c))&&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,c){var p;c=(p=c??s.name)!==null&&p!==void 0?p:"default-store",this.unsubscribeFromStore(c),this[rr].set(c,s),this.subscribeToStore(c,s),this.updateFromStores()}removeStore(s){let c=typeof s=="string"?s:s.name;this.unsubscribeFromStore(c),this[rr].delete(c)}setupStores(){this.unsubscribeFromStores(),this[rr].forEach((s,c)=>this.subscribeToStore(c,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,c)=>{let p=this.constructor.getPropertyOptions(c);if(!p?.attribute||!this.hasAttribute(typeof p?.attribute=="string"?p.attribute:c)){let u=this.getStore(s.store);u&&(s.store?this[kt].has(s.store):this[kt].size>0)&&(this[c]=s.selector(u.getState(),this))}})}subscribeToStore(s,c){var p;this[kt].set(s,c.subscribe(()=>this.updateFromStores())),this[ro].set(s,[]),Ko(c)&&c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((u,y)=>{if(typeof this[y]=="function"&&(!u.store||c.name===u.store)){let h=m=>this[y](m);c.addEventListener(u.eventName,h),this[ro].get(s).push(()=>c.removeEventListener(u.eventName,h))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[kt].forEach((s,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(s){var c;this[kt].has(s)&&this[kt].get(s)(),this[kt].delete(s),(c=this[ro].get(s))===null||c===void 0||c.forEach(p=>p()),this[ro].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=kt,o=rr,n=ro,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),ac=class extends tp(lt){};function Ge(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 vt(t){return!!t&&!!t[oe]}function Ye(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)===cp}(t)||Array.isArray(t)||!!t[fc]||!!(!((e=t.constructor)===null||e===void 0)&&e[fc])||Bi(t)||Mi(t))}function or(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[oe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Bi(t)?2:Mi(t)?3:0}function Nr(t,e){return Ir(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function rp(t,e){return Ir(t)===2?t.get(e):t[e]}function hc(t,e,o){var n=Ir(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function yc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Bi(t){return sp&&t instanceof Map}function Mi(t){return lp&&t instanceof Set}function Dt(t){return t.o||t.t}function Ui(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=bc(t);delete e[oe];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 Fi(t,e){return e===void 0&&(e=!1),zi(t)||vt(t)||!Ye(t)||(Ir(t)>1&&(t.set=t.add=t.clear=t.delete=op),Object.freeze(t),e&&or(t,function(o,n){return Fi(n,!0)},!0)),t}function op(){Ge(2)}function zi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ct(t){var e=$i[t];return e||Ge(18,t),e}function np(t,e){$i[t]||($i[t]=e)}function Pi(){return no}function Ni(t,e){e&&(ct("Patches"),t.u=[],t.s=[],t.v=e)}function Zo(t){ki(t),t.p.forEach(ip),t.p=null}function ki(t){t===no&&(no=t.l)}function sc(t){return no={p:[],l:no,h:t,m:!0,_:0}}function ip(t){var e=t[oe];e.i===0||e.i===1?e.j():e.g=!0}function Li(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ct("ES5").S(e,t,n),n?(o[oe].P&&(Zo(e),Ge(4)),Ye(t)&&(t=qo(e,t),e.l||Yo(e,t)),e.u&&ct("Patches").M(o[oe].t,t,e.u,e.s)):t=qo(e,o,[]),Zo(e),e.u&&e.v(e.u,e.s),t!==mc?t:void 0}function qo(t,e,o){if(zi(e))return e;var n=e[oe];if(!n)return or(e,function(c,p){return lc(t,n,e,c,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return Yo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ui(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),or(a,function(c,p){return lc(t,n,i,c,p,o,s)}),Yo(t,i,!1),o&&t.u&&ct("Patches").N(n,o,t.u,t.s)}return n.o}function lc(t,e,o,n,i,a,s){if(vt(i)){var c=qo(t,i,a&&e&&e.i!==3&&!Nr(e.R,n)?a.concat(n):void 0);if(hc(o,n,c),!vt(c))return;t.m=!1}else s&&o.add(i);if(Ye(i)&&!zi(i)){if(!t.h.D&&t._<1)return;qo(t,i),e&&e.A.l||Yo(t,i)}}function Yo(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Fi(e,o)}function Ii(t,e){var o=t[oe];return(o?Dt(o):t)[e]}function cc(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 $t(t){t.P||(t.P=!0,t.l&&$t(t.l))}function _i(t){t.o||(t.o=Ui(t.t))}function Di(t,e,o){var n=Bi(e)?ct("MapSet").F(e,o):Mi(e)?ct("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Pi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,u=io;s&&(p=[c],u=oo);var y=Proxy.revocable(p,u),h=y.revoke,m=y.proxy;return c.k=m,c.j=h,m}(e,o):ct("ES5").J(e,o);return(o?o.A:Pi()).p.push(n),n}function ap(t){return vt(t)||Ge(22,t),function e(o){if(!Ye(o))return o;var n,i=o[oe],a=Ir(o);if(i){if(!i.P&&(i.i<4||!ct("ES5").K(i)))return i.t;i.I=!0,n=dc(o,a),i.I=!1}else n=dc(o,a);return or(n,function(s,c){i&&rp(i.t,s)===c||hc(n,s,e(c))}),a===3?new Set(n):n}(t)}function dc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ui(t)}function gc(){function t(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var u=this[oe];return io.get(u,s)},set:function(u){var y=this[oe];io.set(y,s,u)}},p}function e(s){for(var c=s.length-1;c>=0;c--){var p=s[c][oe];if(!p.P)switch(p.i){case 5:n(p)&&$t(p);break;case 4:o(p)&&$t(p)}}}function o(s){for(var c=s.t,p=s.k,u=Lr(p),y=u.length-1;y>=0;y--){var h=u[y];if(h!==oe){var m=c[h];if(m===void 0&&!Nr(c,h))return!0;var x=p[h],S=x&&x[oe];if(S?S.t!==m:!yc(x,m))return!0}}var C=!!c[oe];return u.length!==Lr(c).length+(C?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(c,c.length-1);if(p&&!p.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Ge(3,JSON.stringify(Dt(s)))}var a={};np("ES5",{J:function(s,c){var p=Array.isArray(s),u=function(h,m){if(h){for(var x=Array(m.length),S=0;S<m.length;S++)Object.defineProperty(x,""+S,t(S,!0));return x}var C=bc(m);delete C[oe];for(var T=Lr(C),R=0;R<T.length;R++){var N=T[R];C[N]=t(N,h||!!C[N].enumerable)}return Object.create(Object.getPrototypeOf(m),C)}(p,s),y={i:p?5:4,A:c?c.A:Pi(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,oe,{value:y,writable:!0}),u},S:function(s,c,p){p?vt(c)&&c[oe].A===s&&e(s.p):(s.u&&function u(y){if(y&&typeof y=="object"){var h=y[oe];if(h){var m=h.t,x=h.k,S=h.R,C=h.i;if(C===4)or(x,function(W){W!==oe&&(m[W]!==void 0||Nr(m,W)?S[W]||u(x[W]):(S[W]=!0,$t(h)))}),or(m,function(W){x[W]!==void 0||Nr(x,W)||(S[W]=!1,$t(h))});else if(C===5){if(n(h)&&($t(h),S.length=!0),x.length<m.length)for(var T=x.length;T<m.length;T++)S[T]=!1;else for(var R=m.length;R<x.length;R++)S[R]=!0;for(var N=Math.min(x.length,m.length),$=0;$<N;$++)x.hasOwnProperty($)||(S[$]=!0),S[$]===void 0&&u(x[$])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var pc,no,Hi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",sp=typeof Map<"u",lp=typeof Set<"u",uc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",mc=Hi?Symbol.for("immer-nothing"):((pc={})["immer-nothing"]=!0,pc),fc=Hi?Symbol.for("immer-draftable"):"__$immer_draftable",oe=Hi?Symbol.for("immer-state"):"__$immer_state";var cp=""+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,bc=Object.getOwnPropertyDescriptors||function(t){var e={};return Lr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},$i={},io={get:function(t,e){if(e===oe)return t;var o=Dt(t);if(!Nr(o,e))return function(i,a,s){var c,p=cc(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!Ye(n)?n:n===Ii(t.t,e)?(_i(t),t.o[e]=Di(t.A.h,n,t)):n},has:function(t,e){return e in Dt(t)},ownKeys:function(t){return Reflect.ownKeys(Dt(t))},set:function(t,e,o){var n=cc(Dt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Ii(Dt(t),e),a=i?.[oe];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(yc(o,i)&&(o!==void 0||Nr(t.t,e)))return!0;_i(t),$t(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 Ii(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,_i(t),$t(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Dt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ge(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ge(12)}},oo={};or(io,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 io.set.call(this,t[0],e,o,t[0])};var dp=function(){function t(o){var n=this;this.O=uc,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var p=n;return function(C){var T=this;C===void 0&&(C=c);for(var R=arguments.length,N=Array(R>1?R-1:0),$=1;$<R;$++)N[$-1]=arguments[$];return p.produce(C,function(W){var G;return(G=a).call.apply(G,[T,W].concat(N))})}}var u;if(typeof a!="function"&&Ge(6),s!==void 0&&typeof s!="function"&&Ge(7),Ye(i)){var y=sc(n),h=Di(n,i,void 0),m=!0;try{u=a(h),m=!1}finally{m?Zo(y):ki(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return Ni(y,s),Li(C,y)},function(C){throw Zo(y),C}):(Ni(y,s),Li(u,y))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===mc&&(u=void 0),n.D&&Fi(u,!0),s){var x=[],S=[];ct("Patches").M(i,u,x,S),s(x,S)}return u}Ge(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var y=arguments.length,h=Array(y>1?y-1:0),m=1;m<y;m++)h[m-1]=arguments[m];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(h))})};var s,c,p=n.produce(i,a,function(u,y){s=u,c=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,s,c]}):[p,s,c]},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){Ye(o)||Ge(8),vt(o)&&(o=ap(o));var n=sc(this),i=Di(this,o,void 0);return i[oe].C=!0,ki(n),i},e.finishDraft=function(o,n){var i=o&&o[oe],a=i.A;return Ni(a,n),Li(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!uc&&Ge(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=ct("Patches").$;return vt(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),Be=new dp,pp=Be.produce,B0=Be.produceWithPatches.bind(Be),M0=Be.setAutoFreeze.bind(Be),U0=Be.setUseProxies.bind(Be),F0=Be.applyPatches.bind(Be),z0=Be.createDraft.bind(Be),H0=Be.finishDraft.bind(Be),Xo=pp;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 xc(t,e){if(nr(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.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 vc(t){var e=xc(t,"string");return nr(e)=="symbol"?e:e+""}function Sc(t,e,o){return(e=vc(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Oc(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 Wi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Oc(Object(o),!0).forEach(function(n){Sc(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Oc(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,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 Cc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Gi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qo={INIT:"@@redux/INIT"+Gi(),REPLACE:"@@redux/REPLACE"+Gi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Gi()}};function up(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 Vi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Re(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Re(1));return o(Vi)(t,e)}if(typeof t!="function")throw new Error(Re(2));var i=t,a=e,s=[],c=s,p=!1;function u(){c===s&&(c=s.slice())}function y(){if(p)throw new Error(Re(3));return a}function h(C){if(typeof C!="function")throw new Error(Re(4));if(p)throw new Error(Re(5));var T=!0;return u(),c.push(C),function(){if(T){if(p)throw new Error(Re(6));T=!1,u();var N=c.indexOf(C);c.splice(N,1),s=null}}}function m(C){if(!up(C))throw new Error(Re(7));if(typeof C.type>"u")throw new Error(Re(8));if(p)throw new Error(Re(9));try{p=!0,a=i(a,C)}finally{p=!1}for(var T=s=c,R=0;R<T.length;R++){var N=T[R];N()}return C}function x(C){if(typeof C!="function")throw new Error(Re(10));i=C,m({type:Qo.REPLACE})}function S(){var C,T=h;return C={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(Re(11));function $(){N.next&&N.next(y())}$();var W=T($);return{unsubscribe:W}}},C[Cc]=function(){return this},C}return m({type:Qo.INIT}),n={dispatch:m,subscribe:h,getState:y,replaceReducer:x},n[Cc]=S,n}function fp(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Qo.INIT});if(typeof n>"u")throw new Error(Re(12));if(typeof o(void 0,{type:Qo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Re(13))})}function Ec(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,c;try{fp(o)}catch(p){c=p}return function(u,y){if(u===void 0&&(u={}),c)throw c;if(0)var h;for(var m=!1,x={},S=0;S<a.length;S++){var C=a[S],T=o[C],R=u[C],N=T(R,y);if(typeof N>"u"){var $=y&&y.type;throw new Error(Re(14))}x[C]=N,m=m||N!==R}return m=m||a.length!==Object.keys(u).length,m?x:u}}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 Ac(){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(Re(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(p){return p(s)});return a=_r.apply(void 0,c)(i.dispatch),Wi(Wi({},i),{},{dispatch:a})}}}function wc(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Rc=wc();Rc.withExtraArgument=wc;var ji=Rc;var _c=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)}}(),hp=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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(y){return p([u,y])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)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 o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(y){u=[6,y],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Pr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},yp=Object.defineProperty,gp=Object.defineProperties,mp=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,bp=Object.prototype.hasOwnProperty,xp=Object.prototype.propertyIsEnumerable,Nc=function(t,e,o){return e in t?yp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Bt=function(t,e){for(var o in e||(e={}))bp.call(e,o)&&Nc(t,o,e[o]);if(Tc)for(var n=0,i=Tc(e);n<i.length;n++){var o=i[n];xp.call(e,o)&&Nc(t,o,e[o])}return t},Ki=function(t,e){return gp(t,mp(e))},vp=function(t,e,o){return new Promise(function(n,i){var a=function(p){try{c(o.next(p))}catch(u){i(u)}},s=function(p){try{c(o.throw(p))}catch(u){i(u)}},c=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(a,s)};c((o=o.apply(t,e)).next())})};var Sp=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)},aS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Op(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 Cp=function(t){_c(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,Pr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Pr([void 0],o.concat(this))))},e}(Array),Ep=function(t){_c(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,Pr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Pr([void 0],o.concat(this))))},e}(Array);function Yi(t){return Ye(t)?Xo(t,function(){}):t}function Ap(t){return typeof t=="boolean"}function wp(){return function(e){return Rp(e)}}function Rp(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,c=new Cp;if(o&&(Ap(o)?c.push(ji):c.push(ji.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var u}return c}var Zi=!0;function Pc(t){var e=wp(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,p=c===void 0?!0:c,u=o.preloadedState,y=u===void 0?void 0:u,h=o.enhancers,m=h===void 0?void 0:h,x;if(typeof i=="function")x=i;else if(Op(i))x=Ec(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 S=s;if(typeof S=="function"&&(S=S(e),!Zi&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Zi&&S.some(function(W){return typeof W!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Ac.apply(void 0,S),T=_r;p&&(T=Sp(Bt({trace:!Zi},typeof p=="object"&&p)));var R=new Ep(C),N=R;Array.isArray(m)?N=Pr([C],m):typeof m=="function"&&(N=m(R));var $=T.apply(void 0,N);return Vi(x,y,$)}function Mt(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 Bt(Bt({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 kc(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=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 Tp(t){return typeof t=="function"}function Np(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?kc(e):[e,o,n],a=i[0],s=i[1],c=i[2],p;if(Tp(t))p=function(){return Yi(t())};else{var u=Yi(t);p=function(){return u}}function y(h,m){h===void 0&&(h=p());var x=Pr([a[m.type]],s.filter(function(S){var C=S.matcher;return C(m)}).map(function(S){var C=S.reducer;return C}));return x.filter(function(S){return!!S}).length===0&&(x=[c]),x.reduce(function(S,C){if(C)if(vt(S)){var T=S,R=C(T,m);return R===void 0?S:R}else{if(Ye(S))return Xo(S,function(N){return C(N,m)});var R=C(S,m);if(R===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return S},h)}return y.getInitialState=p,y}function Lp(t,e){return t+"/"+e}function Dc(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:Yi(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(y){var h=n[y],m=Lp(e,y),x,S;"reducer"in h?(x=h.reducer,S=h.prepare):x=h,a[y]=x,s[m]=x,c[y]=S?Mt(m,S):Mt(m)});function p(){var y=typeof t.extraReducers=="function"?kc(t.extraReducers):[t.extraReducers],h=y[0],m=h===void 0?{}:h,x=y[1],S=x===void 0?[]:x,C=y[2],T=C===void 0?void 0:C,R=Bt(Bt({},m),s);return Np(o,function(N){for(var $ in R)N.addCase($,R[$]);for(var W=0,G=S;W<G.length;W++){var Le=G[W];N.addMatcher(Le.matcher,Le.reducer)}T&&N.addDefaultCase(T)})}var u;return{name:e,reducer:function(y,h){return u||(u=p()),u(y,h)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var Ip="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",_p=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Ip[Math.random()*64|0];return e},Pp=["name","message","stack","code"],qi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Lc=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),kp=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Pp;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},dS=function(){function t(e,o,n){var i=Mt(e+"/fulfilled",function(y,h,m,x){return{payload:y,meta:Ki(Bt({},x||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=Mt(e+"/pending",function(y,h,m){return{payload:void 0,meta:Ki(Bt({},m||{}),{arg:h,requestId:y,requestStatus:"pending"})}}),s=Mt(e+"/rejected",function(y,h,m,x,S){return{payload:x,error:(n&&n.serializeError||kp)(y||"Rejected"),meta:Ki(Bt({},S||{}),{arg:m,requestId:h,rejectedWithValue:!!x,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(h,m,x){var S=n?.idGenerator?n.idGenerator(y):_p(),C=new p,T,R=!1;function N(W){T=W,C.abort()}var $=function(){return vp(this,null,function(){var W,G,Le,et,Te,tt,Se;return hp(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),et=(W=n?.condition)==null?void 0:W.call(n,y,{getState:m,extra:x}),$p(et)?[4,et]:[3,2];case 1:et=g.sent(),g.label=2;case 2:if(et===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Te=new Promise(function(v,k){return C.signal.addEventListener("abort",function(){return k({name:"AbortError",message:T||"Aborted"})})}),h(a(S,y,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:S,arg:y},{getState:m,extra:x}))),[4,Promise.race([Te,Promise.resolve(o(y,{dispatch:h,getState:m,extra:x,requestId:S,signal:C.signal,abort:N,rejectWithValue:function(v,k){return new qi(v,k)},fulfillWithValue:function(v,k){return new Lc(v,k)}})).then(function(v){if(v instanceof qi)throw v;return v instanceof Lc?i(v.payload,S,y,v.meta):i(v,S,y)})])];case 3:return Le=g.sent(),[3,5];case 4:return tt=g.sent(),Le=tt instanceof qi?s(null,S,y,tt.payload,tt.meta):s(tt,S,y),[3,5];case 5:return Se=n&&!n.dispatchConditionRejection&&s.match(Le)&&Le.meta.condition,Se||h(Le),[2,Le]}})})}();return Object.assign($,{abort:N,requestId:S,arg:y,unwrap:function(){return $.then(Dp)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Dp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function $p(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var $c="listener",Bc="completed",Mc="cancelled",pS="task-"+Mc,uS="task-"+Bc,fS=$c+"-"+Mc,hS=$c+"-"+Bc;var Xi="listenerMiddleware";var yS=Mt(Xi+"/add"),gS=Mt(Xi+"/removeAll"),mS=Mt(Xi+"/remove");var Ic,bS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ic||(Ic=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Bp=function(t){return function(e){setTimeout(e,t)}},xS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Bp(10);gc();var Mp=Ho(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)}}}),Jo=class extends Mp(Object){};window.ftReduxStores||(window.ftReduxStores={});var Uc=class t extends Jo{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(Ko(a))return a;if(i==null)return;let s=Dc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Pc({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:s.reducer(p,u)});return window.ftReduxStores[i.name]=new t(s,c,i.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Wo;let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let p=s,u=a[p];return u?(...y)=>{let h=u(...y.map(i));return this.reduxStore.dispatch(h),h}:y=>{this.setState({[p]:i(y)})}}}),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()}};var en=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 c=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(a);return`${s} ${c}`}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 Fc=b(I()),tn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},VS=(0,Fc.applyMixinOnce)(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(L)}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(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?c=>en.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return tn([(0,Qi.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),tn([(0,Qi.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),tn([Ti({store:L.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),tn([Ti({store:L.name})],e.prototype,"uiLocale",void 0),e});var nn=b(I());var rn=class extends $e{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=L.getState().session;return!!e?.sessionAuthenticated}};var on=class extends $e{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=L.getState().session;return!!e?.sessionAuthenticated}};var Up="ft-user-assets",Fp={setAssetCount:(t,e)=>{let{userAssetType:o,count:n}=e.payload.assetCount;t.assetCounts.allAsset[o]=n},clearAssetCount:t=>{Object.values(We).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;ea(t,o,[...Ji(t,o),i]),zc(t,o,1,n),Hc(t,i)},editAsset:(t,e)=>{let{assetType:o,asset:n}=e.payload;ea(t,o,Ji(t,o).map(i=>i.id===n.id?n:i)),Hc(t,n)},removeAsset:(t,e)=>{let{assetType:o,mapId:n,assetId:i}=e.payload;ea(t,o,Ji(t,o).filter(a=>a.id!==i)),zc(t,o,-1,n)}},Wc={[We.SEARCHES]:"savedSearches",[We.BOOKMARKS]:"bookmarks",[We.BOOKS]:void 0,[We.COLLECTIONS]:void 0},Ji=(t,e)=>{var o;let n=Wc[e];return n?(o=t[n])!==null&&o!==void 0?o:[]:[]},ea=(t,e,o)=>{let n=Wc[e];n&&(t[n]=o)},zc=(t,e,o,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+o),e===We.BOOKMARKS&&n)){let a=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,a+o)}},Hc=(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)},Me=nn.FtReduxStore.get({name:Up,reducers:Fp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(We).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ta=class{constructor(e=new rn,o=new on){this.assetCountsService=e,this.assetLabelsService=o,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Do,this.savedSearchesService=new Uo,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=L.getState();(0,nn.deepEqual)((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(),Me.actions.clearAssetCount(),Me.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Me.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Me.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Me.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Me.actions.assetLabels(e)}async loadAssetCount(e){let o=await this.assetCountsService.getUserAssetCount(e);o&&Me.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(e){let o=await this.assetCountsService.getUserBookmarkCountByMap(e);o&&Me.actions.setBookmarkCountByMap({count:o.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let o=Object.keys(Me.getState().assetCounts.bookmarkByMap).length!==0;e===We.BOOKMARKS&&o&&Me.actions.clearBookmarkCountByMap(),Me.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;Me.actions.bookmarks(o)}}},zp=new ta;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=zp);(0,Gc.customElement)("ft-app-context")(ee);var Vc=b(ie());var ra=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-]+$/)}},kr=new ra;var Hp=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},so=Symbol("i18nAttributes"),jc=Symbol("i18nListAttributes"),Kc=Symbol("i18nProperties"),an=Symbol("i18nContexts"),ao=Symbol("i18nUnsubs"),Zc=(0,Dr.applyMixinOnce)(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?Ci:Jr}i18n(a){let{context:s,key:c,message:p}=a,{custom:u,args:y,argsProvider:h}=a;if(s&&c){this.hasI18nContext(s)||this.addI18nContext(s,void 0,u);let m=y??(h?h(this):[]);return this.getI18nService(u).resolveMessage(s,c,...m)}return p}async awaitI18n(a){let{context:s,custom:c}=a;return s&&await this.getI18nService(c).prepareContext(s),this.i18n(a)}customI18n(a,s){if(kr.isI18nKey(a)){let[c,p]=a.split(".");return this.i18n({custom:!0,context:c,key:p,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,p)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,p)=>{var u;return((u=p?.context)===null||u===void 0?void 0:u.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let p=this,u=(y,h,m)=>m?.context&&m.key&&a(y,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...y})}:m;(s=this[so])===null||s===void 0||s.forEach((y,h)=>p[h]=u(y,h,p[h])),(c=this[jc])===null||c===void 0||c.forEach((y,h)=>{var m;return p[h]=(m=p[h])===null||m===void 0?void 0:m.map(x=>u(y,h,x))})}updateI18nProperties(a){var s;(s=this[Kc])===null||s===void 0||s.forEach((c,p)=>{a(c,p)&&(this[p]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let p=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[an].set(p,{isCustomContext:c}),this[ao].has(p)||this[ao].set(p,this.getI18nService(c).subscribe(p,()=>this.onI18nUpdate(p))),this.getI18nService(c).prepareContext(p,s)}hasI18nContext(a){return this[an].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[an].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[ao].forEach(a=>a()),this[ao].clear()}}return e=an,o=ao,Hp([(0,Vc.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),sn=class extends Zc(Dr.FtLitElement){},ln=class extends Zc(Dr.FtLitElementRedux){};var qc=b(I());var oa=class{fromAttribute(e){if(!e)return[];try{let o=JSON.parse(e);return Array.isArray(o)?o.map(n=>typeof n=="string"?kr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},Wp=new oa;var Yc=(t,e)=>(o,n)=>{var i;o.constructor.createProperty(n,{type:Object,hasChanged:qc.hasChanged,converter:kr,...e}),o[so]=(i=o[so])!==null&&i!==void 0?i:new Map,o[so].set(n,t??{})};var Jc=b(I());var cn=b(K()),dn=b(ie()),pn=b(I());var Xc=b(K());var Qc=Xc.css`
1252
+ `;var lo=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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 ln{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":cn.nothing:cn.html`
1251
1253
  <span class="ft-i18n">
1252
1254
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1253
1255
  </span>
1254
- `}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:""})}};Xe.elementDefinitions={};Xe.styles=qc;lo([(0,ln.redux)()],Xe.prototype,"editorMode",void 0);lo([(0,sn.property)()],Xe.prototype,"context",void 0);lo([(0,sn.property)()],Xe.prototype,"key",void 0);lo([(0,ln.jsonProperty)([])],Xe.prototype,"args",void 0);lo([(0,sn.property)()],Xe.prototype,"defaultMessage",void 0);(0,Yc.customElement)("ft-i18n")(Xe);var Qe=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},me=class extends on{constructor(){super(...arguments),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 Ge.Debouncer,this.revealDebouncer=new Ge.Debouncer,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(){var e,o;return Xc.html`
1256
+ `}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:""})}};Xe.elementDefinitions={};Xe.styles=Qc;lo([(0,pn.redux)()],Xe.prototype,"editorMode",void 0);lo([(0,dn.property)()],Xe.prototype,"context",void 0);lo([(0,dn.property)()],Xe.prototype,"key",void 0);lo([(0,pn.jsonProperty)([])],Xe.prototype,"args",void 0);lo([(0,dn.property)()],Xe.prototype,"defaultMessage",void 0);(0,Jc.customElement)("ft-i18n")(Xe);var Qe=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},me=class extends sn{constructor(){super(...arguments),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 Ve.Debouncer,this.revealDebouncer=new Ve.Debouncer,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(){var e,o;return ed.html`
1255
1257
  <div part="container"
1256
1258
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
1257
1259
  <slot part="slot"></slot>
@@ -1260,20 +1262,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1260
1262
  ?hidden=${!this.visible}>
1261
1263
  <div part="tooltip-content" class="ft-tooltip--content">
1262
1264
  <slot name="text"></slot>
1263
- <ft-typography variant="${Ve.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
1265
+ <ft-typography variant="${Pe.caption}" ?hidden=${!(!((e=this.text)===null||e===void 0)&&e.message)}>
1264
1266
  ${(o=this.text)===null||o===void 0?void 0:o.message}
1265
1267
  </ft-typography>
1266
1268
  </div>
1267
1269
  </div>
1268
1270
  </div>
1269
- `}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={message: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="",tl(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 ${Ge.designSystemVariables.transitionDuration}, left ${Ge.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||(0,Ge.eventPathContainsMatchingElement)(e,this.ignoreMatchingElements,this.eventsTarget)}};me.elementDefinitions={"ft-typography":Ce};me.styles=Ns;Qe([Kc()],me.prototype,"text",void 0);Qe([(0,je.property)({type:Boolean})],me.prototype,"manual",void 0);Qe([(0,je.property)({type:Boolean})],me.prototype,"inline",void 0);Qe([(0,Ge.numberProperty)()],me.prototype,"delay",void 0);Qe([(0,je.property)()],me.prototype,"position",void 0);Qe([(0,Ge.jsonProperty)([])],me.prototype,"ignoreMatchingElements",void 0);Qe([(0,je.queryAssignedNodes)()],me.prototype,"slotNodes",void 0);Qe([(0,je.query)(".ft-tooltip--container")],me.prototype,"container",void 0);Qe([(0,je.query)(".ft-tooltip")],me.prototype,"tooltip",void 0);Qe([(0,je.query)(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);Qe([(0,je.state)()],me.prototype,"visible",void 0);(0,Qc.customElement)("ft-tooltip")(me);var td=b(I());var Jc=b(V()),ed=b(I());var ir=class extends ed.FtLitElement{render(){return Jc.html`
1271
+ `}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={message: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="",nl(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 ${Ve.designSystemVariables.transitionDuration}, left ${Ve.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(e){return this.manual||(0,Ve.eventPathContainsMatchingElement)(e,this.ignoreMatchingElements,this.eventsTarget)}};me.elementDefinitions={"ft-typography":Ce};me.styles=Ps;Qe([Yc()],me.prototype,"text",void 0);Qe([(0,je.property)({type:Boolean})],me.prototype,"manual",void 0);Qe([(0,je.property)({type:Boolean})],me.prototype,"inline",void 0);Qe([(0,Ve.numberProperty)()],me.prototype,"delay",void 0);Qe([(0,je.property)()],me.prototype,"position",void 0);Qe([(0,Ve.jsonProperty)([])],me.prototype,"ignoreMatchingElements",void 0);Qe([(0,je.queryAssignedNodes)()],me.prototype,"slotNodes",void 0);Qe([(0,je.query)(".ft-tooltip--container")],me.prototype,"container",void 0);Qe([(0,je.query)(".ft-tooltip")],me.prototype,"tooltip",void 0);Qe([(0,je.query)(".ft-tooltip--content")],me.prototype,"tooltipContent",void 0);Qe([(0,je.state)()],me.prototype,"visible",void 0);(0,td.customElement)("ft-tooltip")(me);var nd=b(I());var rd=b(K()),od=b(I());var ir=class extends od.FtLitElement{render(){return rd.html`
1270
1272
  <div class="ft-loader">
1271
1273
  <div></div>
1272
1274
  <div></div>
1273
1275
  <div></div>
1274
1276
  <div></div>
1275
1277
  </div>
1276
- `}};ir.styles=Es;(0,td.customElement)("ft-loader")(ir);var Ut=b(V()),ta=b(St()),se=b(ie());var be=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Y=class extends(0,Ft.toFtFormComponent)(Ft.FtLitElement){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.ariaPressed=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=Ut.html`
1278
+ `}};ir.styles=Rs;(0,nd.customElement)("ft-loader")(ir);var Ut=b(K()),na=b(St()),se=b(ie());var be=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Y=class extends(0,Ft.toFtFormComponent)(Ft.FtLitElement){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.ariaPressed=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=Ut.html`
1277
1279
  <ft-ripple part="ripple"
1278
1280
  ?disabled=${this.isDisabled()}
1279
1281
  ?activated=${this.activated}
@@ -1290,14 +1292,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1290
1292
  <a href="${a}"
1291
1293
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
1292
1294
  part="button"
1293
- class="${(0,ta.classMap)(this.buttonClasses)}"
1295
+ class="${(0,na.classMap)(this.buttonClasses)}"
1294
1296
  aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
1295
1297
  ?disabled=${this.isDisabled()}>
1296
1298
  ${i}
1297
1299
  </a>
1298
1300
  `:Ut.html`
1299
1301
  <button part="button"
1300
- class="${(0,ta.classMap)(this.buttonClasses)}"
1302
+ class="${(0,na.classMap)(this.buttonClasses)}"
1301
1303
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
1302
1304
  aria-haspopup="${rt(this.ariaHasPopup)}"
1303
1305
  aria-pressed="${rt(this.ariaPressed)}"
@@ -1315,7 +1317,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1315
1317
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
1316
1318
  `:Ut.html`
1317
1319
  <slot part="icon" name="icon"></slot>
1318
- `}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.getTextContent()}getTextContent(){return(0,Ft.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Y.elementDefinitions={"ft-ripple":Z,"ft-tooltip":me,"ft-icon":fe,"ft-loader":ir};be([(0,se.property)()],Y.prototype,"href",void 0);be([(0,se.property)()],Y.prototype,"target",void 0);be([(0,se.property)()],Y.prototype,"type",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"disabled",void 0);be([(0,se.property)()],Y.prototype,"label",void 0);be([(0,se.property)()],Y.prototype,"icon",void 0);be([(0,se.property)()],Y.prototype,"iconVariant",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"trailingIcon",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"loading",void 0);be([(0,se.property)({attribute:"aria-label"})],Y.prototype,"ariaLabel",void 0);be([(0,se.property)()],Y.prototype,"ariaHasPopup",void 0);be([(0,se.property)({attribute:"aria-pressed"})],Y.prototype,"ariaPressed",void 0);be([(0,se.property)()],Y.prototype,"tooltipPosition",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"hideTooltip",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"forceTooltip",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"activated",void 0);be([(0,se.query)(".ft-button")],Y.prototype,"button",void 0);be([(0,se.query)(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);be([(0,se.query)("[part=tooltip]")],Y.prototype,"tooltip",void 0);var cn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},dt=class extends Y{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Ve.button}};dt.elementDefinitions={...Y.elementDefinitions,"ft-or-ftds-typography":Ce};dt.styles=[rd.safariEllipsisFix,Ts];cn([(0,co.property)({type:Boolean})],dt.prototype,"primary",void 0);cn([(0,co.property)({type:Boolean})],dt.prototype,"outlined",void 0);cn([(0,co.property)({type:Boolean})],dt.prototype,"dense",void 0);cn([(0,co.property)({type:Boolean})],dt.prototype,"round",void 0);var po=b(ie()),pn=b(I());var od=b(V()),O=b(I());var zp={...f,iconOnlyScale:O.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},nd=[od.css`
1320
+ `}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.getTextContent()}getTextContent(){return(0,Ft.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Y.elementDefinitions={"ft-ripple":Z,"ft-tooltip":me,"ft-icon":fe,"ft-loader":ir};be([(0,se.property)()],Y.prototype,"href",void 0);be([(0,se.property)()],Y.prototype,"target",void 0);be([(0,se.property)()],Y.prototype,"type",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"disabled",void 0);be([(0,se.property)()],Y.prototype,"label",void 0);be([(0,se.property)()],Y.prototype,"icon",void 0);be([(0,se.property)()],Y.prototype,"iconVariant",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"trailingIcon",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"loading",void 0);be([(0,se.property)({attribute:"aria-label"})],Y.prototype,"ariaLabel",void 0);be([(0,se.property)()],Y.prototype,"ariaHasPopup",void 0);be([(0,se.property)({attribute:"aria-pressed"})],Y.prototype,"ariaPressed",void 0);be([(0,se.property)()],Y.prototype,"tooltipPosition",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"hideTooltip",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"forceTooltip",void 0);be([(0,se.property)({type:Boolean})],Y.prototype,"activated",void 0);be([(0,se.query)(".ft-button")],Y.prototype,"button",void 0);be([(0,se.query)(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);be([(0,se.query)("[part=tooltip]")],Y.prototype,"tooltip",void 0);var un=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},dt=class extends Y{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return Pe.button}};dt.elementDefinitions={...Y.elementDefinitions,"ft-or-ftds-typography":Ce};dt.styles=[id.safariEllipsisFix,Is];un([(0,co.property)({type:Boolean})],dt.prototype,"primary",void 0);un([(0,co.property)({type:Boolean})],dt.prototype,"outlined",void 0);un([(0,co.property)({type:Boolean})],dt.prototype,"dense",void 0);un([(0,co.property)({type:Boolean})],dt.prototype,"round",void 0);var po=b(ie()),hn=b(I());var ad=b(K()),O=b(I());var Gp={...f,iconOnlyScale:O.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},sd=[ad.css`
1319
1321
  :host {
1320
1322
  display: inline-block;
1321
1323
  max-width: 100%;
@@ -1398,7 +1400,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1398
1400
  }
1399
1401
 
1400
1402
  .ft-button.ft-button--icon-only ft-icon {
1401
- transform: scale(${zp.iconOnlyScale});
1403
+ transform: scale(${Gp.iconOnlyScale});
1402
1404
  }
1403
1405
 
1404
1406
  /** Brand Primary styles **/
@@ -1785,7 +1787,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1785
1787
  .ftds--size-small.ft-button--icon-only {
1786
1788
  width: ${f.smallIconOnlyWidth};
1787
1789
  }
1788
- `,O.noTextSelect];var dn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},pt=class extends(0,pn.toFtdsBase)(Y){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=xo.brand,this.iconVariant=it.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 dr.large:return wt.body2medium;case dr.medium:return wt.caption1medium;case dr.small:return wt.caption2medium}}};pt.elementDefinitions={...Y.elementDefinitions,"ft-or-ftds-typography":ht};pt.styles=[pn.safariEllipsisFix,nd];dn([(0,po.property)({type:Boolean})],pt.prototype,"primary",void 0);dn([(0,po.property)({type:Boolean})],pt.prototype,"secondary",void 0);dn([(0,po.property)({type:Boolean})],pt.prototype,"tertiary",void 0);dn([(0,po.property)({type:Boolean})],pt.prototype,"round",void 0);(0,ra.customElement)("ft-button")(dt);(0,ra.customElement)("ftds-button")(pt);var dd=b(St());var un=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},fn=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var id=b(V()),pe=b(I());var ve={headerBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:pe.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:pe.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:pe.FtCssVariableFactory.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:pe.FtCssVariableFactory.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:pe.FtCssVariableFactory.external(pe.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:pe.FtCssVariableFactory.external(pe.designSystemVariables.titleFont,"Design system"),contentFont:pe.FtCssVariableFactory.external(pe.designSystemVariables.contentFont,"Design system")},ad=id.css`
1790
+ `,O.noTextSelect];var fn=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},pt=class extends(0,hn.toFtdsBase)(Y){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=xo.brand,this.iconVariant=it.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 dr.large:return wt.body2medium;case dr.medium:return wt.caption1medium;case dr.small:return wt.caption2medium}}};pt.elementDefinitions={...Y.elementDefinitions,"ft-or-ftds-typography":ht};pt.styles=[hn.safariEllipsisFix,sd];fn([(0,po.property)({type:Boolean})],pt.prototype,"primary",void 0);fn([(0,po.property)({type:Boolean})],pt.prototype,"secondary",void 0);fn([(0,po.property)({type:Boolean})],pt.prototype,"tertiary",void 0);fn([(0,po.property)({type:Boolean})],pt.prototype,"round",void 0);(0,ia.customElement)("ft-button")(dt);(0,ia.customElement)("ftds-button")(pt);var fd=b(St());var yn=class extends CustomEvent{constructor(e){super("row-click",{detail:e})}},gn=class extends CustomEvent{constructor(e){super("change",{detail:e})}};var ld=b(K()),pe=b(I());var ve={headerBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-header-background","","COLOR","whitesmoke"),oddRowBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-odd-row-background","","COLOR","#FFFFFF"),evenRowBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-even-row-background","","COLOR","#fdfdfd"),rowHoverBackground:pe.FtCssVariableFactory.create("--ft-filterable-table-row-hover-background","","COLOR","#fafafa"),stickyHeaderZIndex:pe.FtCssVariableFactory.create("--ft-filterable-table-sticky-header-zindex","","NUMBER","10"),cellVerticalBorderWidth:pe.FtCssVariableFactory.create("--ft-filterable-table-cell-vertical-border-width","","SIZE","1px"),columnTitleWhiteSpace:pe.FtCssVariableFactory.create("--ft-filterable-table-column-title-white-space","","UNKNOWN","nowrap"),columnTitleMargin:pe.FtCssVariableFactory.create("--ft-filterable-table-column-title-margin","","UNKNOWN","0 .5rem 0 0"),colorOnSurfaceHigh:pe.FtCssVariableFactory.external(pe.designSystemVariables.colorOnSurfaceHigh,"Design system"),titleFont:pe.FtCssVariableFactory.external(pe.designSystemVariables.titleFont,"Design system"),contentFont:pe.FtCssVariableFactory.external(pe.designSystemVariables.contentFont,"Design system")},cd=ld.css`
1789
1791
  :host {
1790
1792
  display: block;
1791
1793
  }
@@ -1855,7 +1857,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1855
1857
  .column-filter {
1856
1858
  flex-grow: 1;
1857
1859
  flex-shrink: 0;
1858
- ${(0,pe.setVariable)(F.optionsHeight,"300px")};
1860
+ ${(0,pe.setVariable)(z.optionsHeight,"300px")};
1859
1861
  }
1860
1862
 
1861
1863
  .column-filter:not(:empty) {
@@ -1904,7 +1906,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1904
1906
  .row:last-of-type .cell:last-of-type {
1905
1907
  border-radius: 0 0 .5rem 0;
1906
1908
  }
1907
- `;var Br=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Hp=t=>Le.html`${t}`,sd=(t,e)=>t-e,ld=t=>""+t,Je=class extends Mr.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(e,o,n){this.data=e,this.columns=o,this.sort=n}render(){let e=this.sortData(this.filterData());return Le.html`
1909
+ `;var Br=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 c=t.length-1;c>=0;c--)(s=t[c])&&(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},Vp=t=>Ne.html`${t}`,dd=(t,e)=>t-e,pd=t=>""+t,Je=class extends Mr.FtLitElement{constructor(){super(...arguments),this.data=[],this.columns=[],this.stickyHeaders=!1,this.disableDataManipulation=!1,this.filters=[],this.filterOptions=[]}init(e,o,n){this.data=e,this.columns=o,this.sort=n}render(){let e=this.sortData(this.filterData());return Ne.html`
1908
1910
  <style>
1909
1911
  .table {
1910
1912
  grid-template-columns: ${this.columns.map(o=>{var n;return(n=o.gridTemplateColumn)!==null&&n!==void 0?n:"minmax(min-content, auto)"}).join(" ")};
@@ -1914,15 +1916,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1914
1916
  <div class="header">
1915
1917
  ${(0,$r.repeat)(this.columns,(o,n)=>"header-cell-"+n,(o,n)=>this.renderHeader(o,n))}
1916
1918
  </div>
1917
- ${(0,$r.repeat)(e,(o,n)=>"row-"+n,(o,n)=>Le.html`
1919
+ ${(0,$r.repeat)(e,(o,n)=>"row-"+n,(o,n)=>Ne.html`
1918
1920
  <div class="row"
1919
- @click=${()=>this.dispatchEvent(new un(o))}>
1921
+ @click=${()=>this.dispatchEvent(new yn(o))}>
1920
1922
  ${(0,$r.repeat)(this.columns,(i,a)=>"cell-"+a+"-"+n,(i,a)=>this.renderCell(i,a,o,n))}
1921
1923
  </div>
1922
1924
  `)}
1923
1925
  </div>
1924
- `}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,o,n)=>{var i;let a=this.columns[n];if(o&&o.value)switch((i=a.filter)!==null&&i!==void 0?i:"text"){case"text":return e.filter(s=>this.getValueAsString(a,s,n).toLowerCase().includes(o.value.toLowerCase()));case"select":return e.filter(s=>this.getValue(a,s)===o.value)}return e},this.data)}sortData(e){var o;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(o=n.comparator)!==null&&o!==void 0?o:sd,a=this.currentSort.order==="asc"?i:(s,c)=>-i(s,c);return[...e].sort((s,c)=>a(this.getValue(n,s),this.getValue(n,c)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,o,n;this.filterOptions=[];let i=this.data,a=this.columns;for(let s in a){let c=a[s],p=(e=c.filter)!==null&&e!==void 0?e:"text";(p==="text"||p==="select")&&(this.filterOptions[s]=((o=c.options)!==null&&o!==void 0?o:[...new Set(i.map(u=>this.getValue(c,u)))]).sort((n=c.comparator)!==null&&n!==void 0?n:sd),p==="text"&&(this.filterOptions[s]=this.filterOptions[s].map(u=>this.stringifyValue(c,u,0))))}this.requestUpdate()}renderHeader(e,o){let n={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return Le.html`
1925
- <div class="${(0,dd.classMap)(n)}"
1926
+ `}filterData(){return this.disableDataManipulation?this.data:this.filters.reduce((e,o,n)=>{var i;let a=this.columns[n];if(o&&o.value)switch((i=a.filter)!==null&&i!==void 0?i:"text"){case"text":return e.filter(s=>this.getValueAsString(a,s,n).toLowerCase().includes(o.value.toLowerCase()));case"select":return e.filter(s=>this.getValue(a,s)===o.value)}return e},this.data)}sortData(e){var o;if(this.currentSort&&!this.disableDataManipulation){let n=this.columns[this.currentSort.column],i=(o=n.comparator)!==null&&o!==void 0?o:dd,a=this.currentSort.order==="asc"?i:(s,c)=>-i(s,c);return[...e].sort((s,c)=>a(this.getValue(n,s),this.getValue(n,c)))}return e}update(e){super.update(e),e.has("sort")&&(this.currentSort=this.sort),(e.has("data")||e.has("columns"))&&this.updateFilterOptions()}updateFilterOptions(){var e,o,n;this.filterOptions=[];let i=this.data,a=this.columns;for(let s in a){let c=a[s],p=(e=c.filter)!==null&&e!==void 0?e:"text";(p==="text"||p==="select")&&(this.filterOptions[s]=((o=c.options)!==null&&o!==void 0?o:[...new Set(i.map(u=>this.getValue(c,u)))]).sort((n=c.comparator)!==null&&n!==void 0?n:dd),p==="text"&&(this.filterOptions[s]=this.filterOptions[s].map(u=>this.stringifyValue(c,u,0))))}this.requestUpdate()}renderHeader(e,o){let n={"header-cell":!0,"header-cell--sticky":this.stickyHeaders};return Ne.html`
1927
+ <div class="${(0,fd.classMap)(n)}"
1926
1928
  part="${this.columnPart("header-cell",o)}">
1927
1929
  <div class="column-title-container"
1928
1930
  part="${this.columnPart("title-container",o)}">
@@ -1934,7 +1936,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1934
1936
  </div>
1935
1937
  ${this.renderColumnFilter(e,o)}
1936
1938
  </div>
1937
- `}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,o){var n,i;let a=this.currentSort&&this.currentSort.column===o,s=a?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",c=()=>{var h,m;let x=(h=e.defaultSortOrder)!==null&&h!==void 0?h:"asc";this.currentSort={column:o,order:a&&((m=this.currentSort)===null||m===void 0?void 0:m.order)===x?this.getOppositeSortOrder(x):x},this.dispatchChangeEvent()},p=(n=e.titleText)!==null&&n!==void 0?n:e.title,u=this.getSortOrderText(a,e),y=`Sort ${p} in ${u} order`;return!((i=e.sortable)!==null&&i!==void 0)||i?Le.html`
1939
+ `}getOppositeSortOrder(e){return e==="asc"?"desc":"asc"}renderColumnSort(e,o){var n,i;let a=this.currentSort&&this.currentSort.column===o,s=a?this.currentSort.order==="asc"?"expand_less":"expand_more":"unfold_more",c=()=>{var h,m;let x=(h=e.defaultSortOrder)!==null&&h!==void 0?h:"asc";this.currentSort={column:o,order:a&&((m=this.currentSort)===null||m===void 0?void 0:m.order)===x?this.getOppositeSortOrder(x):x},this.dispatchChangeEvent()},p=(n=e.titleText)!==null&&n!==void 0?n:e.title,u=this.getSortOrderText(a,e),y=`Sort ${p} in ${u} order`;return!((i=e.sortable)!==null&&i!==void 0)||i?Ne.html`
1938
1940
  <ft-button
1939
1941
  round
1940
1942
  dense
@@ -1944,35 +1946,35 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
1944
1946
  @click=${c}
1945
1947
  part="${this.columnPart("sort-button",o)}"
1946
1948
  ></ft-button>
1947
- `:Le.nothing}getSortOrderText(e,o){return e?this.currentSort.order==="asc"?"descending":"ascending":o.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new fn({filters:this.filters.map((e,o)=>({column:o,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,o){var n,i,a,s,c;let p=y=>{this.filters[o]={value:y.detail},this.requestUpdate(),this.dispatchChangeEvent()},u=(n=this.filterOptions[o])!==null&&n!==void 0?n:[];switch((i=e.filter)!==null&&i!==void 0?i:"text"){case"text":return Le.html`
1949
+ `:Ne.nothing}getSortOrderText(e,o){return e?this.currentSort.order==="asc"?"descending":"ascending":o.defaultSortOrder==="desc"?"descending":"ascending"}dispatchChangeEvent(){this.dispatchEvent(new gn({filters:this.filters.map((e,o)=>({column:o,value:e.value})).filter(e=>e.value!=null),sort:this.currentSort}))}renderColumnFilter(e,o){var n,i,a,s,c;let p=y=>{this.filters[o]={value:y.detail},this.requestUpdate(),this.dispatchChangeEvent()},u=(n=this.filterOptions[o])!==null&&n!==void 0?n:[];switch((i=e.filter)!==null&&i!==void 0?i:"text"){case"text":return Ne.html`
1948
1950
  <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1949
1951
  <ft-text-field
1950
1952
  label="Search ${(a=e.titleText)!==null&&a!==void 0?a:e.title}"
1951
1953
  @live-change=${p}
1952
1954
  part="${this.columnPart("filter",o)}"
1953
1955
  >
1954
- ${(0,$r.repeat)(u,h=>Le.html`
1956
+ ${(0,$r.repeat)(u,h=>Ne.html`
1955
1957
  <ft-text-field-suggestion>${h}</ft-text-field-suggestion>
1956
1958
  `)}
1957
1959
  </ft-text-field>
1958
1960
  </div>
1959
- `;case"select":return((s=this.filterOptions[o])!==null&&s!==void 0?s:[]).length?Le.html`
1961
+ `;case"select":return((s=this.filterOptions[o])!==null&&s!==void 0?s:[]).length?Ne.html`
1960
1962
  <div class="column-filter" part="${this.columnPart("filter-container",o)}">
1961
1963
  <ft-select label="Filter ${(c=e.titleText)!==null&&c!==void 0?c:e.title}"
1962
1964
  @change=${p}
1963
1965
  part="${this.columnPart("filter",o)}">
1964
1966
  <ft-select-option></ft-select-option>
1965
- ${(0,$r.repeat)(u,h=>Le.html`
1967
+ ${(0,$r.repeat)(u,h=>Ne.html`
1966
1968
  <ft-select-option .value=${h} label="${this.stringifyValue(e,h,0)}"></ft-select-option>
1967
1969
  `)}
1968
1970
  </ft-select>
1969
1971
  </div>
1970
- `:Le.nothing}return Le.nothing}columnPart(e,o){return`${e} ${e}-column-${o}`}renderCell(e,o,n,i){var a;let s=(a=e.render)!==null&&a!==void 0?a:Hp,c=p=>{let u=s(p,i);return typeof u=="string"?(0,cd.unsafeHTML)(u):u};return Le.html`
1972
+ `:Ne.nothing}return Ne.nothing}columnPart(e,o){return`${e} ${e}-column-${o}`}renderCell(e,o,n,i){var a;let s=(a=e.render)!==null&&a!==void 0?a:Vp,c=p=>{let u=s(p,i);return typeof u=="string"?(0,ud.unsafeHTML)(u):u};return Ne.html`
1971
1973
  <div class="cell"
1972
1974
  part="${this.columnPart("cell",o)} cell-row-${i} cell-column-${o}-row-${i}">
1973
1975
  ${c(this.getValue(e,n))}
1974
1976
  </div>
1975
- `}getValue(e,o){return typeof e.getter=="string"?o[e.getter]:e.getter(o)}getValueAsString(e,o,n){let i=this.getValue(e,o);return typeof e.stringify=="function"?e.stringify(i,n):ld(i)}stringifyValue(e,o,n){return typeof e.stringify=="function"?e.stringify(o,n):ld(o)}};Je.styles=ad;Br([(0,Mr.jsonProperty)([])],Je.prototype,"data",void 0);Br([(0,Mr.jsonProperty)([])],Je.prototype,"columns",void 0);Br([(0,Mr.jsonProperty)(void 0)],Je.prototype,"sort",void 0);Br([(0,uo.property)({type:Boolean})],Je.prototype,"stickyHeaders",void 0);Br([(0,uo.property)({type:Boolean})],Je.prototype,"disableDataManipulation",void 0);Br([(0,uo.state)()],Je.prototype,"currentSort",void 0);(0,pd.customElement)("ft-filterable-table")(Je);})();
1977
+ `}getValue(e,o){return typeof e.getter=="string"?o[e.getter]:e.getter(o)}getValueAsString(e,o,n){let i=this.getValue(e,o);return typeof e.stringify=="function"?e.stringify(i,n):pd(i)}stringifyValue(e,o,n){return typeof e.stringify=="function"?e.stringify(o,n):pd(o)}};Je.styles=cd;Br([(0,Mr.jsonProperty)([])],Je.prototype,"data",void 0);Br([(0,Mr.jsonProperty)([])],Je.prototype,"columns",void 0);Br([(0,Mr.jsonProperty)(void 0)],Je.prototype,"sort",void 0);Br([(0,uo.property)({type:Boolean})],Je.prototype,"stickyHeaders",void 0);Br([(0,uo.property)({type:Boolean})],Je.prototype,"disableDataManipulation",void 0);Br([(0,uo.state)()],Je.prototype,"currentSort",void 0);(0,hd.customElement)("ft-filterable-table")(Je);})();
1976
1978
  /*! Bundled license information:
1977
1979
 
1978
1980
  lit-html/directives/when.js: