@fluid-topics/ft-search-result-metadata 1.1.85 → 1.1.86

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,4 +1,4 @@
1
- "use strict";(()=>{var ps=Object.create;var oa=Object.defineProperty;var fs=Object.getOwnPropertyDescriptor;var us=Object.getOwnPropertyNames;var hs=Object.getPrototypeOf,ys=Object.prototype.hasOwnProperty;var St=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gs=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of us(t))!ys.call(e,i)&&i!==n&&oa(e,i,{get:()=>t[i],enumerable:!(a=fs(t,i))||a.enumerable});return e};var v=(e,t,n)=>(n=e!=null?ps(hs(e)):{},gs(t||!e||!e.__esModule?oa(n,"default",{value:e,enumerable:!0}):n,e));var T=St((Bd,na)=>{na.exports=ftGlobals.wcUtils});var M=St((zd,aa)=>{aa.exports=ftGlobals.lit});var X=St((Md,ia)=>{ia.exports=ftGlobals.litDecorators});var da=St(sa=>{(function(e){var t=function(n){var a={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&c.indexOf(Object.prototype.toString.call(m))>-1};function p(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function h(m){return typeof m!="string"&&(m=String(m)),m}function y(m){var C={next:function(){var P=m.shift();return{done:P===void 0,value:P}}};return a.iterable&&(C[Symbol.iterator]=function(){return C}),C}function g(m){this.map={},m instanceof g?m.forEach(function(C,P){this.append(P,C)},this):Array.isArray(m)?m.forEach(function(C){this.append(C[0],C[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(C){this.append(C,m[C])},this)}g.prototype.append=function(m,C){m=p(m),C=h(C);var P=this.map[m];this.map[m]=P?P+", "+C:C},g.prototype.delete=function(m){delete this.map[p(m)]},g.prototype.get=function(m){return m=p(m),this.has(m)?this.map[m]:null},g.prototype.has=function(m){return this.map.hasOwnProperty(p(m))},g.prototype.set=function(m,C){this.map[p(m)]=h(C)},g.prototype.forEach=function(m,C){for(var P in this.map)this.map.hasOwnProperty(P)&&m.call(C,this.map[P],P,this)},g.prototype.keys=function(){var m=[];return this.forEach(function(C,P){m.push(P)}),y(m)},g.prototype.values=function(){var m=[];return this.forEach(function(C){m.push(C)}),y(m)},g.prototype.entries=function(){var m=[];return this.forEach(function(C,P){m.push([P,C])}),y(m)},a.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function b(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function x(m){return new Promise(function(C,P){m.onload=function(){C(m.result)},m.onerror=function(){P(m.error)}})}function O(m){var C=new FileReader,P=x(C);return C.readAsArrayBuffer(m),P}function S(m){var C=new FileReader,P=x(C);return C.readAsText(m),P}function E(m){for(var C=new Uint8Array(m),P=new Array(C.length),Z=0;Z<C.length;Z++)P[Z]=String.fromCharCode(C[Z]);return P.join("")}function L(m){if(m.slice)return m.slice(0);var C=new Uint8Array(m.byteLength);return C.set(new Uint8Array(m)),C.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:a.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:a.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():a.arrayBuffer&&a.blob&&i(m)?(this._bodyArrayBuffer=L(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=L(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var m=b(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?b(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(O)}),this.text=function(){var m=b(this);if(m)return m;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then($)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function D(m){var C=m.toUpperCase();return I.indexOf(C)>-1?C:m}function W(m,C){C=C||{};var P=C.body;if(m instanceof W){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,C.headers||(this.headers=new g(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!P&&m._bodyInit!=null&&(P=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new g(C.headers)),this.method=D(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(P)}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function $(m){var C=new FormData;return m.trim().split("&").forEach(function(P){if(P){var Z=P.split("="),le=Z.shift().replace(/\+/g," "),H=Z.join("=").replace(/\+/g," ");C.append(decodeURIComponent(le),decodeURIComponent(H))}}),C}function xe(m){var C=new g,P=m.replace(/\r?\n[\t ]+/g," ");return P.split(/\r?\n/).forEach(function(Z){var le=Z.split(":"),H=le.shift().trim();if(H){var Dr=le.join(":").trim();C.append(H,Dr)}}),C}A.call(W.prototype);function ne(m,C){C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in C?C.statusText:"OK",this.headers=new g(C.headers),this.url=C.url||"",this._initBody(m)}A.call(ne.prototype),ne.prototype.clone=function(){return new ne(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},ne.error=function(){var m=new ne(null,{status:0,statusText:""});return m.type="error",m};var ir=[301,302,303,307,308];ne.redirect=function(m,C){if(ir.indexOf(C)===-1)throw new RangeError("Invalid status code");return new ne(null,{status:C,headers:{location:m}})},n.DOMException=e.DOMException;try{new n.DOMException}catch{n.DOMException=function(C,P){this.message=C,this.name=P;var Z=Error(C);this.stack=Z.stack},n.DOMException.prototype=Object.create(Error.prototype),n.DOMException.prototype.constructor=n.DOMException}function ke(m,C){return new Promise(function(P,Z){var le=new W(m,C);if(le.signal&&le.signal.aborted)return Z(new n.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function Dr(){H.abort()}H.onload=function(){var cr={status:H.status,statusText:H.statusText,headers:xe(H.getAllResponseHeaders()||"")};cr.url="responseURL"in H?H.responseURL:cr.headers.get("X-Request-URL");var Ho="response"in H?H.response:H.responseText;P(new ne(Ho,cr))},H.onerror=function(){Z(new TypeError("Network request failed"))},H.ontimeout=function(){Z(new TypeError("Network request failed"))},H.onabort=function(){Z(new n.DOMException("Aborted","AbortError"))},H.open(le.method,le.url,!0),le.credentials==="include"?H.withCredentials=!0:le.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&a.blob&&(H.responseType="blob"),le.headers.forEach(function(cr,Ho){H.setRequestHeader(Ho,cr)}),le.signal&&(le.signal.addEventListener("abort",Dr),H.onreadystatechange=function(){H.readyState===4&&le.signal.removeEventListener("abort",Dr)}),H.send(typeof le._bodyInit>"u"?null:le._bodyInit)})}return ke.polyfill=!0,e.fetch||(e.fetch=ke,e.Headers=g,e.Request=W,e.Response=ne),n.Headers=g,n.Request=W,n.Response=ne,n.fetch=ke,Object.defineProperty(n,"__esModule",{value:!0}),n}({})})(typeof self<"u"?self:sa)});var Rr=St((Lb,sl)=>{sl.exports=ftGlobals.litClassMap});var Sl=St((zb,vl)=>{vl.exports=ftGlobals.litUnsafeHTML});var cs=St((EC,is)=>{is.exports=ftGlobals.litRepeat});var ds=v(T());var me=v(M()),we=v(X()),vt=v(T());var ca=v(M()),Fd={},la=ca.css`
1
+ "use strict";(()=>{var mc=Object.create;var di=Object.defineProperty;var yc=Object.getOwnPropertyDescriptor;var gc=Object.getOwnPropertyNames;var bc=Object.getPrototypeOf,xc=Object.prototype.hasOwnProperty;var vt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var vc=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of gc(t))!xc.call(e,i)&&i!==o&&di(e,i,{get:()=>t[i],enumerable:!(n=yc(t,i))||n.enumerable});return e};var g=(e,t,o)=>(o=e!=null?mc(bc(e)):{},vc(t||!e||!e.__esModule?di(o,"default",{value:e,enumerable:!0}):o,e));var I=vt((Fd,pi)=>{pi.exports=ftGlobals.wcUtils});var B=vt((Hd,ui)=>{ui.exports=ftGlobals.lit});var Z=vt((Vd,fi)=>{fi.exports=ftGlobals.litDecorators});var gi=vt(yi=>{(function(e){var t=function(o){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(h){return h&&DataView.prototype.isPrototypeOf(h)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(h){return h&&a.indexOf(Object.prototype.toString.call(h))>-1};function c(h){if(typeof h!="string"&&(h=String(h)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(h))throw new TypeError("Invalid character in header field name");return h.toLowerCase()}function p(h){return typeof h!="string"&&(h=String(h)),h}function u(h){var v={next:function(){var N=h.shift();return{done:N===void 0,value:N}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function f(h){this.map={},h instanceof f?h.forEach(function(v,N){this.append(N,v)},this):Array.isArray(h)?h.forEach(function(v){this.append(v[0],v[1])},this):h&&Object.getOwnPropertyNames(h).forEach(function(v){this.append(v,h[v])},this)}f.prototype.append=function(h,v){h=c(h),v=p(v);var N=this.map[h];this.map[h]=N?N+", "+v:v},f.prototype.delete=function(h){delete this.map[c(h)]},f.prototype.get=function(h){return h=c(h),this.has(h)?this.map[h]:null},f.prototype.has=function(h){return this.map.hasOwnProperty(c(h))},f.prototype.set=function(h,v){this.map[c(h)]=p(v)},f.prototype.forEach=function(h,v){for(var N in this.map)this.map.hasOwnProperty(N)&&h.call(v,this.map[N],N,this)},f.prototype.keys=function(){var h=[];return this.forEach(function(v,N){h.push(N)}),u(h)},f.prototype.values=function(){var h=[];return this.forEach(function(v){h.push(v)}),u(h)},f.prototype.entries=function(){var h=[];return this.forEach(function(v,N){h.push([N,v])}),u(h)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function m(h){if(h.bodyUsed)return Promise.reject(new TypeError("Already read"));h.bodyUsed=!0}function y(h){return new Promise(function(v,N){h.onload=function(){v(h.result)},h.onerror=function(){N(h.error)}})}function x(h){var v=new FileReader,N=y(v);return v.readAsArrayBuffer(h),N}function b(h){var v=new FileReader,N=y(v);return v.readAsText(h),N}function S(h){for(var v=new Uint8Array(h),N=new Array(v.length),V=0;V<v.length;V++)N[V]=String.fromCharCode(v[V]);return N.join("")}function R(h){if(h.slice)return h.slice(0);var v=new Uint8Array(h.byteLength);return v.set(new Uint8Array(h)),v.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(h){this._bodyInit=h,h?typeof h=="string"?this._bodyText=h:n.blob&&Blob.prototype.isPrototypeOf(h)?this._bodyBlob=h:n.formData&&FormData.prototype.isPrototypeOf(h)?this._bodyFormData=h:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)?this._bodyText=h.toString():n.arrayBuffer&&n.blob&&i(h)?(this._bodyArrayBuffer=R(h.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(h)||s(h))?this._bodyArrayBuffer=R(h):this._bodyText=h=Object.prototype.toString.call(h):this._bodyText="",this.headers.get("content-type")||(typeof h=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(h)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var h=m(this);if(h)return h;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(x)}),this.text=function(){var h=m(this);if(h)return h;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(S(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(W)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(h){var v=h.toUpperCase();return A.indexOf(v)>-1?v:h}function T(h,v){v=v||{};var N=v.body;if(h instanceof T){if(h.bodyUsed)throw new TypeError("Already read");this.url=h.url,this.credentials=h.credentials,v.headers||(this.headers=new f(h.headers)),this.method=h.method,this.mode=h.mode,this.signal=h.signal,!N&&h._bodyInit!=null&&(N=h._bodyInit,h.bodyUsed=!0)}else this.url=String(h);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new f(v.headers)),this.method=_(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(N)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})};function W(h){var v=new FormData;return h.trim().split("&").forEach(function(N){if(N){var V=N.split("="),ce=V.shift().replace(/\+/g," "),z=V.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ce),decodeURIComponent(z))}}),v}function xe(h){var v=new f,N=h.replace(/\r?\n[\t ]+/g," ");return N.split(/\r?\n/).forEach(function(V){var ce=V.split(":"),z=ce.shift().trim();if(z){var $r=ce.join(":").trim();v.append(z,$r)}}),v}w.call(T.prototype);function oe(h,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new f(v.headers),this.url=v.url||"",this._initBody(h)}w.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},oe.error=function(){var h=new oe(null,{status:0,statusText:""});return h.type="error",h};var sr=[301,302,303,307,308];oe.redirect=function(h,v){if(sr.indexOf(v)===-1)throw new RangeError("Invalid status code");return new oe(null,{status:v,headers:{location:h}})},o.DOMException=e.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,N){this.message=v,this.name=N;var V=Error(v);this.stack=V.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function _e(h,v){return new Promise(function(N,V){var ce=new T(h,v);if(ce.signal&&ce.signal.aborted)return V(new o.DOMException("Aborted","AbortError"));var z=new XMLHttpRequest;function $r(){z.abort()}z.onload=function(){var lr={status:z.status,statusText:z.statusText,headers:xe(z.getAllResponseHeaders()||"")};lr.url="responseURL"in z?z.responseURL:lr.headers.get("X-Request-URL");var Ko="response"in z?z.response:z.responseText;N(new oe(Ko,lr))},z.onerror=function(){V(new TypeError("Network request failed"))},z.ontimeout=function(){V(new TypeError("Network request failed"))},z.onabort=function(){V(new o.DOMException("Aborted","AbortError"))},z.open(ce.method,ce.url,!0),ce.credentials==="include"?z.withCredentials=!0:ce.credentials==="omit"&&(z.withCredentials=!1),"responseType"in z&&n.blob&&(z.responseType="blob"),ce.headers.forEach(function(lr,Ko){z.setRequestHeader(Ko,lr)}),ce.signal&&(ce.signal.addEventListener("abort",$r),z.onreadystatechange=function(){z.readyState===4&&ce.signal.removeEventListener("abort",$r)}),z.send(typeof ce._bodyInit>"u"?null:ce._bodyInit)})}return _e.polyfill=!0,e.fetch||(e.fetch=_e,e.Headers=f,e.Request=T,e.Response=oe),o.Headers=f,o.Request=T,o.Response=oe,o.fetch=_e,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:yi)});var tr=vt((Tb,hl)=>{hl.exports=ftGlobals.litClassMap});var Al=vt((zb,wl)=>{wl.exports=ftGlobals.litUnsafeHTML});var pc=vt((m0,dc)=>{dc.exports=ftGlobals.litRepeat});var hc=g(I());var ge=g(B()),we=g(Z()),xt=g(I());var hi=g(B()),jd={},mi=hi.css`
2
2
  .ft-search-result-metadata--container {
3
3
  position: relative;
4
4
  }
@@ -10,19 +10,19 @@
10
10
  a {
11
11
  all: unset;
12
12
  }
13
- `;var Oi=v(T()),Ci=v(X());var Rn=v(T());var ms=v(T());var Qd=v(da(),1);var pa;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(pa||(pa={}));var fa;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(fa||(fa={}));var ua;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(ua||(ua={}));var ha;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(ha||(ha={}));var ya;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(ya||(ya={}));var ga;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(ga||(ga={}));var ma;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ma||(ma={}));var ba;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(ba||(ba={}));var xa;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(xa||(xa={}));var va;(function(e){e.ASC="ASC",e.DESC="DESC"})(va||(va={}));var Sa;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Sa||(Sa={}));var Go;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Go||(Go={}));var Oa;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Oa||(Oa={}));var _r;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(_r||(_r={}));var Ca;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ca||(Ca={}));var Tt;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Tt||(Tt={}));var Ko;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Ko||(Ko={}));var ce;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(ce||(ce={}));var Ea;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Ea||(Ea={}));var qd={[ce.PERSONAL_BOOK_SHARE_USER]:[ce.PERSONAL_BOOK_USER],[ce.HTML_EXPORT_USER]:[ce.PERSONAL_BOOK_USER],[ce.PDF_EXPORT_USER]:[ce.PERSONAL_BOOK_USER],[ce.KHUB_ADMIN]:[ce.CONTENT_PUBLISHER],[ce.ADMIN]:[ce.KHUB_ADMIN,ce.USERS_ADMIN,ce.PORTAL_ADMIN],[ce.DEVELOPER]:[ce.BETA_USER,ce.DEBUG_USER]};var Si=v(T());var Ia=v(M()),Te=v(X()),Be=v(T());var wa=v(M());var Na=wa.css`
14
- `;var Br=v(T()),bs="ft-app-info",Zo=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},xs={session:(e,t)=>{(0,Br.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>U.eventBus.dispatchEvent(new Zo(t.payload)),0))}},U=Br.FtReduxStore.get({name:bs,reducers:xs,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var nt=v(T());var Vo=v(T());var Ot=class e{static get(t){let{baseUrl:n,apiIntegrationIdentifier:a}=U.getState(),i=t??a;if(n&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(n,i,!0)}static await(t){return new Promise(n=>{let a=e.get(t);if(a)n(a);else{let i=U.subscribe(()=>{a=e.get(t),a&&(i(),n(a))})}})}};var je=class{constructor(t=!0,n){var a;this.overrideApi=n;let i=this.constructor;i.commonCache=(a=i.commonCache)!==null&&a!==void 0?a:new Vo.CacheRegistry,this.cache=t?i.commonCache:new Vo.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ot.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ot.await()}clearCache(){this.cache.clearAll()}};var Ra,vs=Symbol("clearAfterUnitTest"),zr=class extends je{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ra]=()=>{this.defaultMessages={},this.cache=new nt.CacheRegistry,this.listeners={}},this.currentUiLocale=U.getState().uiLocale,U.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=U.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let n=t.name.toLowerCase();this.cache.setFinal(n,t),this.notify(n)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,n){var a;if(t=t.toLowerCase(),Object.keys(n).length>0){let i={...(a=this.defaultMessages[t])!==null&&a!==void 0?a:{},...n};(0,nt.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,n,...a){var i,c,l;t=t.toLowerCase(),this.fetchContext(t);let p=(c=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&c!==void 0?c:{};return new nt.ParametrizedLabelResolver((l=this.defaultMessages[t])!==null&&l!==void 0?l:{},p).resolve(n,...a)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(n){console.error(n)}}subscribe(t,n){var a;return t=t.toLowerCase(),this.listeners[t]=(a=this.listeners[t])!==null&&a!==void 0?a:new Set,this.listeners[t].add(n),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(n)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,nt.delay)(0).then(()=>n()).catch(()=>null)))}};Ra=vs;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends zr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends zr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Ut=window.FluidTopicsI18nService,Aa=window.FluidTopicsCustomI18nService;var he=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},J=class extends Be.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ot.get(),this.messageContexts=[],this.cache=new Be.CacheRegistry,this.cleanSessionDebouncer=new Be.Debouncer}render(){return Ia.html`
13
+ `;var Ia=g(I()),Pa=g(Z());var Ln=g(I());var Sc=g(I());var op=g(gi(),1);var bi;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(bi||(bi={}));var xi;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(xi||(xi={}));var vi;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(vi||(vi={}));var Si;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Si||(Si={}));var Oi;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Oi||(Oi={}));var Ci;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ci||(Ci={}));var Ei;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ei||(Ei={}));var wi;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(wi||(wi={}));var Ai;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ai||(Ai={}));var Ri;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ri||(Ri={}));var Ni;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Ni||(Ni={}));var Zo;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Zo||(Zo={}));var Ii;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ii||(Ii={}));var Ur;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ur||(Ur={}));var Pi;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Pi||(Pi={}));var _t;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(_t||(_t={}));var qo;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(qo||(qo={}));var se;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(se||(se={}));var Li;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Li||(Li={}));var Qd={[se.PERSONAL_BOOK_SHARE_USER]:[se.PERSONAL_BOOK_USER],[se.HTML_EXPORT_USER]:[se.PERSONAL_BOOK_USER],[se.PDF_EXPORT_USER]:[se.PERSONAL_BOOK_USER],[se.KHUB_ADMIN]:[se.CONTENT_PUBLISHER],[se.ADMIN]:[se.KHUB_ADMIN,se.USERS_ADMIN,se.PORTAL_ADMIN],[se.DEVELOPER]:[se.BETA_USER,se.DEBUG_USER]};var Na=g(I());var Mi=g(B()),ke=g(Z()),Be=g(I());var Ti=g(B());var _i=Ti.css`
14
+ `;var Br=g(I()),Oc="ft-app-info",Yo=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Cc={session:(e,t)=>{(0,Br.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>L.eventBus.dispatchEvent(new Yo(t.payload)),0))}},L=Br.FtReduxStore.get({name:Oc,reducers:Cc,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var nt=g(I());var Xo=g(I());var St=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=L.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=L.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var qe=class{constructor(t=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Xo.CacheRegistry,this.cache=t?i.commonCache:new Xo.CacheRegistry}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:St.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):St.await()}clearCache(){this.cache.clearAll()}};var ki,Ec=Symbol("clearAfterUnitTest"),Wr=class extends qe{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ki]=()=>{this.defaultMessages={},this.cache=new nt.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=L.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,nt.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...n){var i,a,s;t=t.toLowerCase(),this.fetchContext(t);let c=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new nt.ParametrizedLabelResolver((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},c).resolve(o,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(o){console.error(o)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(o=>(0,nt.delay)(0).then(()=>o()).catch(()=>null)))}};ki=Ec;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Wr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Wr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var kt=window.FluidTopicsI18nService,Di=window.FluidTopicsCustomI18nService;var ue=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Y=class extends Be.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>St.get(),this.messageContexts=[],this.cache=new Be.CacheRegistry,this.cleanSessionDebouncer=new Be.Debouncer}render(){return Mi.html`
15
15
  <slot></slot>
16
- `}update(t){super.update(t),t.has("baseUrl")&&(U.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&U.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&U.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&U.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&U.actions.noCustom(this.noCustom),t.has("editorMode")&&U.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&U.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&U.actions.session(this.session),t.has("availableUiLocales")&&U.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Ut.addContext(n)),t.has("openExternalDocumentInNewTab")&&U.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&U.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&U.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};J.elementDefinitions={};J.styles=Na;he([(0,Te.property)()],J.prototype,"baseUrl",void 0);he([(0,Te.property)()],J.prototype,"apiIntegrationIdentifier",void 0);he([(0,Te.property)()],J.prototype,"uiLocale",void 0);he([(0,Be.jsonProperty)(null)],J.prototype,"availableUiLocales",void 0);he([(0,Be.jsonProperty)(null)],J.prototype,"metadataConfiguration",void 0);he([(0,Te.property)({type:Boolean})],J.prototype,"editorMode",void 0);he([(0,Te.property)({type:Boolean})],J.prototype,"noCustom",void 0);he([(0,Te.property)({type:Boolean})],J.prototype,"openExternalDocumentInNewTab",void 0);he([(0,Te.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],J.prototype,"noCustomComponent",void 0);he([(0,Te.property)({type:Boolean})],J.prototype,"withManualResources",void 0);he([(0,Te.property)({type:Boolean})],J.prototype,"navigatorOnline",void 0);he([(0,Te.property)({type:Boolean})],J.prototype,"forcedOffline",void 0);he([(0,Te.property)({type:Object})],J.prototype,"apiProvider",void 0);he([(0,Be.jsonProperty)([])],J.prototype,"messageContexts",void 0);he([(0,Be.jsonProperty)(void 0)],J.prototype,"session",void 0);var Sn=v(X());function Ss(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,a,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(a=n;a--!==0;)if(!Mr(e[a],t[a]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[0]))return!1;for(a of e.entries())if(!Mr(a[1],t.get(a[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a of e.entries())if(!t.has(a[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[a]))return!1;for(a=n;a--!==0;){var c=i[a];if(!Mr(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function Mr(e,t){try{return Ss(e,t)}catch{return!1}}function Fr(e,t){return!Mr(e,t)}var La=v(X(),1);var jo=e=>{let t=e??{};return(n,a)=>{var i;let c={hasChanged:Fr,attribute:!1,...t};(0,La.property)(c)(n,a);let l=n.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(a,{selector:(i=t.selector)!==null&&i!==void 0?i:p=>p[a],store:t.store})}};var $r=class{constructor(){this.queue=[]}add(t,n=!1){n&&(this.queue=this.queue.filter(a=>a.type!==t.type)),this.queue.push(t)}consume(t){let n=this.queue.find(a=>a.type===t);return n&&(this.queue=this.queue.filter(a=>a!==n)),n}};var lr=v(X(),1);var Pa=v(X(),1);function ka(e,t){let n=()=>JSON.parse(JSON.stringify(e));return(0,Pa.property)({type:Object,converter:{fromAttribute:a=>{if(a==null)return n();try{return JSON.parse(a)}catch{return n()}},toAttribute:a=>JSON.stringify(a)},hasChanged:Fr,...t??{}})}var Hr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,n){return this.callbacks=[t],this.debounce(n)}queue(t,n){return this.callbacks.push(t),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((n,a)=>{this.resolvePromise=n,this.rejectPromise=a})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,n;let a=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,c=(n=this.resolvePromise)!==null&&n!==void 0?n:()=>null;this.clearPromise();for(let l of a)try{await l()}catch(p){i(p);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ua=v(M(),1);var Gr=window,Os=Gr.ShadowRoot&&(Gr.ShadyCSS===void 0||Gr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ip=Symbol();var Ta=(e,t)=>{Os?e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):t.forEach(n=>{let a=document.createElement("style"),i=Gr.litNonce;i!==void 0&&a.setAttribute("nonce",i),a.textContent=n.cssText,e.appendChild(a)})};var Kr=class extends Ua.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,c])=>t.registry.define(i,c)));let n={...t.shadowRootOptions,customElements:t.registry},a=this.renderOptions.creationScope=this.attachShadow(n);return Ta(a,t.elementStyles),a}};var Zr=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},_a,Wa=Symbol("constructorPrototype"),Da=Symbol("constructorName"),Ba=Symbol("exportpartsDebouncer"),at=class extends Kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_a]=new Hr(5),this[Da]=this.constructor.name,this[Wa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Da]&&Object.setPrototypeOf(this,this[Wa])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var n,a,i;if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(c=>c.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var t,n,a;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(a=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&a!==void 0&&a)&&this[Ba].run(()=>{var i,c;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var n,a,i,c,l,p;let h=x=>x!=null&&x.trim().length>0,y=t.filter(h).map(x=>x.trim());if(y.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let x of(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let O=(c=(i=x.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&c!==void 0?c:[],S=(p=(l=x.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(E=>E.split(":")[1]))!==null&&p!==void 0?p:[];new Array(...O,...S).filter(h).map(E=>E.trim()).forEach(E=>g.add(E))}if(g.size===0){this.removeAttribute("exportparts");return}let b=[...g.values()].flatMap(x=>y.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...b].join(", "))}};_a=Ba;Zr([(0,lr.property)()],at.prototype,"exportpartsPrefix",void 0);Zr([ka([])],at.prototype,"exportpartsPrefixes",void 0);Zr([(0,lr.property)()],at.prototype,"customStylesheet",void 0);Zr([(0,lr.state)()],at.prototype,"useAdoptedStyleSheets",void 0);function sr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var za,Ma,Fa,Vr=Symbol("internalReduxEventsUnsubscribers"),it=Symbol("internalStoresUnsubscribers"),Ct=Symbol("internalStores"),dr=class extends at{constructor(){super(...arguments),this[za]=new Map,this[Ma]=new Map,this[Fa]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(n=>t.has(n))&&this.updateFromStores()}getUnnamedStore(){if(this[Ct].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ct].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Ct].get(t)}addStore(t,n){var a;n=(a=n??(sr(t)?t.name:void 0))!==null&&a!==void 0?a:"default-store",this.unsubscribeFromStore(n),this.setupStore(n,t)}removeStore(t){let n=typeof t=="string"?t:t.name;this.unsubscribeFromStore(n),this[Ct].delete(n)}setupStore(t,n){this[Ct].set(t,n),this.subscribeToStore(t,n),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ct].forEach((t,n)=>this.subscribeToStore(n,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,n)=>{let a=this.constructor.getPropertyOptions(n);if(!a?.attribute||!this.hasAttribute(typeof a?.attribute=="string"?a.attribute:n)){let i=this.getStore(t.store);i&&(t.store?this[it].has(t.store):this[it].size>0)&&(this[n]=t.selector(i.getState(),this))}})}subscribeToStore(t,n){var a;this[it].set(t,n.subscribe(()=>this.updateFromStores())),sr(n)&&n.eventBus&&((a=this.reduxConstructor.reduxEventListeners)===null||a===void 0||a.forEach((i,c)=>{if(typeof this[c]=="function"&&(!i.store||n.name===i.store)){let l=p=>this[c](p);n.eventBus.addEventListener(i.eventName,l),this[Vr].push(()=>n.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[it].forEach((t,n)=>this.unsubscribeFromStore(n)),this[Vr].forEach(t=>t()),this[Vr]=[]}unsubscribeFromStore(t){this[it].has(t)&&this[it].get(t)(),this[it].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};za=it,Ma=Ct,Fa=Vr;dr.reduxProperties=new Map;dr.reduxReactiveProperties=new Set;dr.reduxEventListeners=new Map;function Ue(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(0)var i,c;throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function qe(e){return!!e&&!!e[V]}function ze(e){var t;return!!e&&(function(n){if(!n||typeof n!="object")return!1;var a=Object.getPrototypeOf(n);if(a===null)return!0;var i=Object.hasOwnProperty.call(a,"constructor")&&a.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ls}(e)||Array.isArray(e)||!!e[ja]||!!(!((t=e.constructor)===null||t===void 0)&&t[ja])||on(e)||nn(e))}function Et(e,t,n){n===void 0&&(n=!1),_t(e)===0?(n?Object.keys:Dt)(e).forEach(function(a){n&&typeof a=="symbol"||t(a,e[a],e)}):e.forEach(function(a,i){return t(i,a,e)})}function _t(e){var t=e[V];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:on(e)?2:nn(e)?3:0}function Wt(e,t){return _t(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Cs(e,t){return _t(e)===2?e.get(t):e[t]}function qa(e,t,n){var a=_t(e);a===2?e.set(t,n):a===3?e.add(n):e[t]=n}function Ya(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function on(e){return As&&e instanceof Map}function nn(e){return Is&&e instanceof Set}function ct(e){return e.o||e.t}function an(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Qa(e);delete t[V];for(var n=Dt(t),a=0;a<n.length;a++){var i=n[a],c=t[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(t[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function cn(e,t){return t===void 0&&(t=!1),ln(e)||qe(e)||!ze(e)||(_t(e)>1&&(e.set=e.add=e.clear=e.delete=Es),Object.freeze(e),t&&Et(e,function(n,a){return cn(a,!0)},!0)),e}function Es(){Ue(2)}function ln(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function $e(e){var t=rn[e];return t||Ue(18,e),t}function ws(e,t){rn[e]||(rn[e]=t)}function Qo(){return fr}function qo(e,t){t&&($e("Patches"),e.u=[],e.s=[],e.v=t)}function jr(e){en(e),e.p.forEach(Ns),e.p=null}function en(e){e===fr&&(fr=e.l)}function $a(e){return fr={p:[],l:fr,h:e,m:!0,_:0}}function Ns(e){var t=e[V];t.i===0||t.i===1?t.j():t.g=!0}function Yo(e,t){t._=t.p.length;var n=t.p[0],a=e!==void 0&&e!==n;return t.h.O||$e("ES5").S(t,e,a),a?(n[V].P&&(jr(t),Ue(4)),ze(e)&&(e=qr(t,e),t.l||Yr(t,e)),t.u&&$e("Patches").M(n[V].t,e,t.u,t.s)):e=qr(t,n,[]),jr(t),t.u&&t.v(t.u,t.s),e!==Ja?e:void 0}function qr(e,t,n){if(ln(t))return t;var a=t[V];if(!a)return Et(t,function(p,h){return Ha(e,a,t,p,h,n)},!0),t;if(a.A!==e)return t;if(!a.P)return Yr(e,a.t,!0),a.t;if(!a.I){a.I=!0,a.A._--;var i=a.i===4||a.i===5?a.o=an(a.k):a.o,c=i,l=!1;a.i===3&&(c=new Set(i),i.clear(),l=!0),Et(c,function(p,h){return Ha(e,a,i,p,h,n,l)}),Yr(e,i,!1),n&&e.u&&$e("Patches").N(a,n,e.u,e.s)}return a.o}function Ha(e,t,n,a,i,c,l){if(qe(i)){var p=qr(e,i,c&&t&&t.i!==3&&!Wt(t.R,a)?c.concat(a):void 0);if(qa(n,a,p),!qe(p))return;e.m=!1}else l&&n.add(i);if(ze(i)&&!ln(i)){if(!e.h.D&&e._<1)return;qr(e,i),t&&t.A.l||Yr(e,i)}}function Yr(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&cn(t,n)}function Xo(e,t){var n=e[V];return(n?ct(n):e)[t]}function Ga(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var a=Object.getOwnPropertyDescriptor(n,t);if(a)return a;n=Object.getPrototypeOf(n)}}function lt(e){e.P||(e.P=!0,e.l&&lt(e.l))}function Jo(e){e.o||(e.o=an(e.t))}function tn(e,t,n){var a=on(t)?$e("MapSet").F(t,n):nn(t)?$e("MapSet").T(t,n):e.O?function(i,c){var l=Array.isArray(i),p={i:l?1:0,A:c?c.A:Qo(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},h=p,y=ur;l&&(h=[p],y=pr);var g=Proxy.revocable(h,y),b=g.revoke,x=g.proxy;return p.k=x,p.j=b,x}(t,n):$e("ES5").J(t,n);return(n?n.A:Qo()).p.push(a),a}function Rs(e){return qe(e)||Ue(22,e),function t(n){if(!ze(n))return n;var a,i=n[V],c=_t(n);if(i){if(!i.P&&(i.i<4||!$e("ES5").K(i)))return i.t;i.I=!0,a=Ka(n,c),i.I=!1}else a=Ka(n,c);return Et(a,function(l,p){i&&Cs(i.t,l)===p||qa(a,l,t(p))}),c===3?new Set(a):a}(e)}function Ka(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return an(e)}function Xa(){function e(l,p){var h=c[l];return h?h.enumerable=p:c[l]=h={configurable:!0,enumerable:p,get:function(){var y=this[V];return ur.get(y,l)},set:function(y){var g=this[V];ur.set(g,l,y)}},h}function t(l){for(var p=l.length-1;p>=0;p--){var h=l[p][V];if(!h.P)switch(h.i){case 5:a(h)&&lt(h);break;case 4:n(h)&&lt(h)}}}function n(l){for(var p=l.t,h=l.k,y=Dt(h),g=y.length-1;g>=0;g--){var b=y[g];if(b!==V){var x=p[b];if(x===void 0&&!Wt(p,b))return!0;var O=h[b],S=O&&O[V];if(S?S.t!==x:!Ya(O,x))return!0}}var E=!!p[V];return y.length!==Dt(p).length+(E?0:1)}function a(l){var p=l.k;if(p.length!==l.t.length)return!0;var h=Object.getOwnPropertyDescriptor(p,p.length-1);if(h&&!h.get)return!0;for(var y=0;y<p.length;y++)if(!p.hasOwnProperty(y))return!0;return!1}function i(l){l.g&&Ue(3,JSON.stringify(ct(l)))}var c={};ws("ES5",{J:function(l,p){var h=Array.isArray(l),y=function(b,x){if(b){for(var O=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(O,""+S,e(S,!0));return O}var E=Qa(x);delete E[V];for(var L=Dt(E),A=0;A<L.length;A++){var I=L[A];E[I]=e(I,b||!!E[I].enumerable)}return Object.create(Object.getPrototypeOf(x),E)}(h,l),g={i:h?5:4,A:p?p.A:Qo(),P:!1,I:!1,R:{},l:p,t:l,k:y,o:null,g:!1,C:!1};return Object.defineProperty(y,V,{value:g,writable:!0}),y},S:function(l,p,h){h?qe(p)&&p[V].A===l&&t(l.p):(l.u&&function y(g){if(g&&typeof g=="object"){var b=g[V];if(b){var x=b.t,O=b.k,S=b.R,E=b.i;if(E===4)Et(O,function(W){W!==V&&(x[W]!==void 0||Wt(x,W)?S[W]||y(O[W]):(S[W]=!0,lt(b)))}),Et(x,function(W){O[W]!==void 0||Wt(O,W)||(S[W]=!1,lt(b))});else if(E===5){if(a(b)&&(lt(b),S.length=!0),O.length<x.length)for(var L=O.length;L<x.length;L++)S[L]=!1;else for(var A=x.length;A<O.length;A++)S[A]=!0;for(var I=Math.min(O.length,x.length),D=0;D<I;D++)O.hasOwnProperty(D)||(S[D]=!0),S[D]===void 0&&y(O[D])}}}}(l.p[0]),t(l.p))},K:function(l){return l.i===4?n(l):a(l)}})}var Za,fr,sn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",As=typeof Map<"u",Is=typeof Set<"u",Va=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ja=sn?Symbol.for("immer-nothing"):((Za={})["immer-nothing"]=!0,Za),ja=sn?Symbol.for("immer-draftable"):"__$immer_draftable",V=sn?Symbol.for("immer-state"):"__$immer_state";var Ls=""+Object.prototype.constructor,Dt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Qa=Object.getOwnPropertyDescriptors||function(e){var t={};return Dt(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},rn={},ur={get:function(e,t){if(t===V)return e;var n=ct(e);if(!Wt(n,t))return function(i,c,l){var p,h=Ga(c,l);return h?"value"in h?h.value:(p=h.get)===null||p===void 0?void 0:p.call(i.k):void 0}(e,n,t);var a=n[t];return e.I||!ze(a)?a:a===Xo(e.t,t)?(Jo(e),e.o[t]=tn(e.A.h,a,e)):a},has:function(e,t){return t in ct(e)},ownKeys:function(e){return Reflect.ownKeys(ct(e))},set:function(e,t,n){var a=Ga(ct(e),t);if(a?.set)return a.set.call(e.k,n),!0;if(!e.P){var i=Xo(ct(e),t),c=i?.[V];if(c&&c.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(Ya(n,i)&&(n!==void 0||Wt(e.t,t)))return!0;Jo(e),lt(e)}return e.o[t]===n&&(n!==void 0||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return Xo(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Jo(e),lt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=ct(e),a=Reflect.getOwnPropertyDescriptor(n,t);return a&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:a.enumerable,value:n[t]}},defineProperty:function(){Ue(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ue(12)}},pr={};Et(ur,function(e,t){pr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),pr.deleteProperty=function(e,t){return pr.set.call(this,e,t,void 0)},pr.set=function(e,t,n){return ur.set.call(this,e[0],t,n,e[0])};var Ps=function(){function e(n){var a=this;this.O=Va,this.D=!0,this.produce=function(i,c,l){if(typeof i=="function"&&typeof c!="function"){var p=c;c=i;var h=a;return function(E){var L=this;E===void 0&&(E=p);for(var A=arguments.length,I=Array(A>1?A-1:0),D=1;D<A;D++)I[D-1]=arguments[D];return h.produce(E,function(W){var $;return($=c).call.apply($,[L,W].concat(I))})}}var y;if(typeof c!="function"&&Ue(6),l!==void 0&&typeof l!="function"&&Ue(7),ze(i)){var g=$a(a),b=tn(a,i,void 0),x=!0;try{y=c(b),x=!1}finally{x?jr(g):en(g)}return typeof Promise<"u"&&y instanceof Promise?y.then(function(E){return qo(g,l),Yo(E,g)},function(E){throw jr(g),E}):(qo(g,l),Yo(y,g))}if(!i||typeof i!="object"){if((y=c(i))===void 0&&(y=i),y===Ja&&(y=void 0),a.D&&cn(y,!0),l){var O=[],S=[];$e("Patches").M(i,y,O,S),l(O,S)}return y}Ue(21,i)},this.produceWithPatches=function(i,c){if(typeof i=="function")return function(y){for(var g=arguments.length,b=Array(g>1?g-1:0),x=1;x<g;x++)b[x-1]=arguments[x];return a.produceWithPatches(y,function(O){return i.apply(void 0,[O].concat(b))})};var l,p,h=a.produce(i,c,function(y,g){l=y,p=g});return typeof Promise<"u"&&h instanceof Promise?h.then(function(y){return[y,l,p]}):[h,l,p]},typeof n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){ze(n)||Ue(8),qe(n)&&(n=Rs(n));var a=$a(this),i=tn(this,n,void 0);return i[V].C=!0,en(a),i},t.finishDraft=function(n,a){var i=n&&n[V],c=i.A;return qo(c,a),Yo(void 0,c)},t.setAutoFreeze=function(n){this.D=n},t.setUseProxies=function(n){n&&!Va&&Ue(20),this.O=n},t.applyPatches=function(n,a){var i;for(i=a.length-1;i>=0;i--){var c=a[i];if(c.path.length===0&&c.op==="replace"){n=c.value;break}}i>-1&&(a=a.slice(i+1));var l=$e("Patches").$;return qe(n)?l(n,a):this.produce(n,function(p){return l(p,a)})},e}(),Ne=new Ps,ks=Ne.produce,Fp=Ne.produceWithPatches.bind(Ne),$p=Ne.setAutoFreeze.bind(Ne),Hp=Ne.setUseProxies.bind(Ne),Gp=Ne.applyPatches.bind(Ne),Kp=Ne.createDraft.bind(Ne),Zp=Ne.finishDraft.bind(Ne),Xr=ks;function st(e){"@babel/helpers - typeof";return st=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(e)}function dn(e,t){if(st(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t||"default");if(st(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function pn(e){var t=dn(e,"string");return st(t)==="symbol"?t:String(t)}function fn(e,t,n){return t=pn(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function Jr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ei(Object(n),!0).forEach(function(a){fn(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ei(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ti=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),un=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qr={INIT:"@@redux/INIT"+un(),REPLACE:"@@redux/REPLACE"+un(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+un()}};function Ts(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function hn(e,t,n){var a;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(pe(1));return n(hn)(e,t)}if(typeof e!="function")throw new Error(pe(2));var i=e,c=t,l=[],p=l,h=!1;function y(){p===l&&(p=l.slice())}function g(){if(h)throw new Error(pe(3));return c}function b(E){if(typeof E!="function")throw new Error(pe(4));if(h)throw new Error(pe(5));var L=!0;return y(),p.push(E),function(){if(L){if(h)throw new Error(pe(6));L=!1,y();var I=p.indexOf(E);p.splice(I,1),l=null}}}function x(E){if(!Ts(E))throw new Error(pe(7));if(typeof E.type>"u")throw new Error(pe(8));if(h)throw new Error(pe(9));try{h=!0,c=i(c,E)}finally{h=!1}for(var L=l=p,A=0;A<L.length;A++){var I=L[A];I()}return E}function O(E){if(typeof E!="function")throw new Error(pe(10));i=E,x({type:Qr.REPLACE})}function S(){var E,L=b;return E={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(pe(11));function D(){I.next&&I.next(g())}D();var W=L(D);return{unsubscribe:W}}},E[ti]=function(){return this},E}return x({type:Qr.INIT}),a={dispatch:x,subscribe:b,getState:g,replaceReducer:O},a[ti]=S,a}function Us(e){Object.keys(e).forEach(function(t){var n=e[t],a=n(void 0,{type:Qr.INIT});if(typeof a>"u")throw new Error(pe(12));if(typeof n(void 0,{type:Qr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function ri(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++){var i=t[a];typeof e[i]=="function"&&(n[i]=e[i])}var c=Object.keys(n),l,p;try{Us(n)}catch(h){p=h}return function(y,g){if(y===void 0&&(y={}),p)throw p;if(0)var b;for(var x=!1,O={},S=0;S<c.length;S++){var E=c[S],L=n[E],A=y[E],I=L(A,g);if(typeof I>"u"){var D=g&&g.type;throw new Error(pe(14))}O[E]=I,x=x||I!==A}return x=x||c.length!==Object.keys(y).length,x?O:y}}function Bt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(a){return a}:t.length===1?t[0]:t.reduce(function(a,i){return function(){return a(i.apply(void 0,arguments))}})}function oi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(a){return function(){var i=a.apply(void 0,arguments),c=function(){throw new Error(pe(15))},l={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},p=t.map(function(h){return h(l)});return c=Bt.apply(void 0,p)(i.dispatch),Jr(Jr({},i),{},{dispatch:c})}}}function ni(e){var t=function(a){var i=a.dispatch,c=a.getState;return function(l){return function(p){return typeof p=="function"?p(i,c,e):l(p)}}};return t}var ai=ni();ai.withExtraArgument=ni;var yn=ai;var di=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(a[c]=i[c])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function a(){this.constructor=t}t.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),Ws=function(e,t){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,i,c,l;return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(y){return function(g){return h([y,g])}}function h(y){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(c=y[0]&2?i.return:y[0]?i.throw||((c=i.return)&&c.call(i),0):i.next)&&!(c=c.call(i,y[1])).done)return c;switch(i=0,c&&(y=[y[0]&2,c.value]),y[0]){case 0:case 1:c=y;break;case 4:return n.label++,{value:y[1],done:!1};case 5:n.label++,i=y[1],y=[0];continue;case 7:y=n.ops.pop(),n.trys.pop();continue;default:if(c=n.trys,!(c=c.length>0&&c[c.length-1])&&(y[0]===6||y[0]===2)){n=0;continue}if(y[0]===3&&(!c||y[1]>c[0]&&y[1]<c[3])){n.label=y[1];break}if(y[0]===6&&n.label<c[1]){n.label=c[1],c=y;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(y);break}c[2]&&n.ops.pop(),n.trys.pop();continue}y=t.call(e,n)}catch(g){y=[6,g],i=0}finally{a=c=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}},zt=function(e,t){for(var n=0,a=t.length,i=e.length;n<a;n++,i++)e[i]=t[n];return e},Ds=Object.defineProperty,_s=Object.defineProperties,Bs=Object.getOwnPropertyDescriptors,ii=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,ci=function(e,t,n){return t in e?Ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},dt=function(e,t){for(var n in t||(t={}))zs.call(t,n)&&ci(e,n,t[n]);if(ii)for(var a=0,i=ii(t);a<i.length;a++){var n=i[a];Ms.call(t,n)&&ci(e,n,t[n])}return e},gn=function(e,t){return _s(e,Bs(t))},Fs=function(e,t,n){return new Promise(function(a,i){var c=function(h){try{p(n.next(h))}catch(y){i(y)}},l=function(h){try{p(n.throw(h))}catch(y){i(y)}},p=function(h){return h.done?a(h.value):Promise.resolve(h.value).then(c,l)};p((n=n.apply(e,t)).next())})};var $s=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Bt:Bt.apply(null,arguments)},pf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Hs(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var n=t;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return t===n}var Gs=function(e){di(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,zt([void 0],n[0].concat(this)))):new(t.bind.apply(t,zt([void 0],n.concat(this))))},t}(Array),Ks=function(e){di(t,e);function t(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,zt([void 0],n[0].concat(this)))):new(t.bind.apply(t,zt([void 0],n.concat(this))))},t}(Array);function xn(e){return ze(e)?Xr(e,function(){}):e}function Zs(e){return typeof e=="boolean"}function Vs(){return function(t){return js(t)}}function js(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,a=e.immutableCheck,i=a===void 0?!0:a,c=e.serializableCheck,l=c===void 0?!0:c,p=new Gs;if(n&&(Zs(n)?p.push(yn):p.push(yn.withExtraArgument(n.extraArgument))),0){if(i)var h;if(l)var y}return p}var mn=!0;function pi(e){var t=Vs(),n=e||{},a=n.reducer,i=a===void 0?void 0:a,c=n.middleware,l=c===void 0?t():c,p=n.devTools,h=p===void 0?!0:p,y=n.preloadedState,g=y===void 0?void 0:y,b=n.enhancers,x=b===void 0?void 0:b,O;if(typeof i=="function")O=i;else if(Hs(i))O=ri(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=l;if(typeof S=="function"&&(S=S(t),!mn&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!mn&&S.some(function(W){return typeof W!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=oi.apply(void 0,S),L=Bt;h&&(L=$s(dt({trace:!mn},typeof h=="object"&&h)));var A=new Ks(E),I=A;Array.isArray(x)?I=zt([E],x):typeof x=="function"&&(I=x(A));var D=L.apply(void 0,I);return hn(O,g,D)}function pt(e,t){function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(t){var c=t.apply(void 0,a);if(!c)throw new Error("prepareAction did not return an object");return dt(dt({type:e,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:e,payload:a[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(a){return a.type===e},n}function fi(e){var t={},n=[],a,i={addCase:function(c,l){var p=typeof c=="string"?c:c.type;if(p in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[p]=l,i},addMatcher:function(c,l){return n.push({matcher:c,reducer:l}),i},addDefaultCase:function(c){return a=c,i}};return e(i),[t,n,a]}function qs(e){return typeof e=="function"}function Ys(e,t,n,a){n===void 0&&(n=[]);var i=typeof t=="function"?fi(t):[t,n,a],c=i[0],l=i[1],p=i[2],h;if(qs(e))h=function(){return xn(e())};else{var y=xn(e);h=function(){return y}}function g(b,x){b===void 0&&(b=h());var O=zt([c[x.type]],l.filter(function(S){var E=S.matcher;return E(x)}).map(function(S){var E=S.reducer;return E}));return O.filter(function(S){return!!S}).length===0&&(O=[p]),O.reduce(function(S,E){if(E)if(qe(S)){var L=S,A=E(L,x);return A===void 0?S:A}else{if(ze(S))return Xr(S,function(I){return E(I,x)});var A=E(S,x);if(A===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return S},b)}return g.getInitialState=h,g}function Xs(e,t){return e+"/"+t}function ui(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof e.initialState=="function"?e.initialState:xn(e.initialState),a=e.reducers||{},i=Object.keys(a),c={},l={},p={};i.forEach(function(g){var b=a[g],x=Xs(t,g),O,S;"reducer"in b?(O=b.reducer,S=b.prepare):O=b,c[g]=O,l[x]=O,p[g]=S?pt(x,S):pt(x)});function h(){var g=typeof e.extraReducers=="function"?fi(e.extraReducers):[e.extraReducers],b=g[0],x=b===void 0?{}:b,O=g[1],S=O===void 0?[]:O,E=g[2],L=E===void 0?void 0:E,A=dt(dt({},x),l);return Ys(n,function(I){for(var D in A)I.addCase(D,A[D]);for(var W=0,$=S;W<$.length;W++){var xe=$[W];I.addMatcher(xe.matcher,xe.reducer)}L&&I.addDefaultCase(L)})}var y;return{name:t,reducer:function(g,b){return y||(y=h()),y(g,b)},actions:p,caseReducers:c,getInitialState:function(){return y||(y=h()),y.getInitialState()}}}var Js="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Qs=function(e){e===void 0&&(e=21);for(var t="",n=e;n--;)t+=Js[Math.random()*64|0];return t},ed=["name","message","stack","code"],bn=function(){function e(t,n){this.payload=t,this.meta=n}return e}(),li=function(){function e(t,n){this.payload=t,this.meta=n}return e}(),td=function(e){if(typeof e=="object"&&e!==null){for(var t={},n=0,a=ed;n<a.length;n++){var i=a[n];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},yf=function(){function e(t,n,a){var i=pt(t+"/fulfilled",function(g,b,x,O){return{payload:g,meta:gn(dt({},O||{}),{arg:x,requestId:b,requestStatus:"fulfilled"})}}),c=pt(t+"/pending",function(g,b,x){return{payload:void 0,meta:gn(dt({},x||{}),{arg:b,requestId:g,requestStatus:"pending"})}}),l=pt(t+"/rejected",function(g,b,x,O,S){return{payload:O,error:(a&&a.serializeError||td)(g||"Rejected"),meta:gn(dt({},S||{}),{arg:x,requestId:b,rejectedWithValue:!!O,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),p=!1,h=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function y(g){return function(b,x,O){var S=a?.idGenerator?a.idGenerator(g):Qs(),E=new h,L,A=!1;function I(W){L=W,E.abort()}var D=function(){return Fs(this,null,function(){var W,$,xe,ne,ir,ke,m;return Ws(this,function(C){switch(C.label){case 0:return C.trys.push([0,4,,5]),ne=(W=a?.condition)==null?void 0:W.call(a,g,{getState:x,extra:O}),od(ne)?[4,ne]:[3,2];case 1:ne=C.sent(),C.label=2;case 2:if(ne===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,ir=new Promise(function(P,Z){return E.signal.addEventListener("abort",function(){return Z({name:"AbortError",message:L||"Aborted"})})}),b(c(S,g,($=a?.getPendingMeta)==null?void 0:$.call(a,{requestId:S,arg:g},{getState:x,extra:O}))),[4,Promise.race([ir,Promise.resolve(n(g,{dispatch:b,getState:x,extra:O,requestId:S,signal:E.signal,abort:I,rejectWithValue:function(P,Z){return new bn(P,Z)},fulfillWithValue:function(P,Z){return new li(P,Z)}})).then(function(P){if(P instanceof bn)throw P;return P instanceof li?i(P.payload,S,g,P.meta):i(P,S,g)})])];case 3:return xe=C.sent(),[3,5];case 4:return ke=C.sent(),xe=ke instanceof bn?l(null,S,g,ke.payload,ke.meta):l(ke,S,g),[3,5];case 5:return m=a&&!a.dispatchConditionRejection&&l.match(xe)&&xe.meta.condition,m||b(xe),[2,xe]}})})}();return Object.assign(D,{abort:I,requestId:S,arg:g,unwrap:function(){return D.then(rd)}})}}return Object.assign(y,{pending:c,rejected:l,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function rd(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function od(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var hi="listener",yi="completed",gi="cancelled",gf="task-"+gi,mf="task-"+yi,bf=hi+"-"+gi,xf=hi+"-"+yi;var vn="listenerMiddleware";var vf=pt(vn+"/add"),Sf=pt(vn+"/removeAll"),Of=pt(vn+"/remove");var si,Cf=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(si||(si=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},nd=function(e){return function(t){setTimeout(t,e)}},Ef=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:nd(10);Xa();window.ftReduxStores||(window.ftReduxStores={});var mi=class e{static get(t){var n;let a=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,c=window.ftReduxStores[a];if(sr(c))return c;if(i==null)return;let l=ui({...i,reducers:(n=i.reducers)!==null&&n!==void 0?n:{}}),p=pi({reducer:(h,y)=>y.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof y.type=="string"&&y.type.startsWith("DEFAULT_VALUE_SETTER__")?{...h,...y.overwrites}:l.reducer(h,y)});return window.ftReduxStores[i.name]=new e(l,p)}constructor(t,n){this.reduxSlice=t,this.reduxStore=n,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new $r,this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,c)=>{let l=i,p=a[l];return p?(...h)=>{let y=p(...h);return this.reduxStore.dispatch(y),y}:h=>{this.setState({[l]:h})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var eo=class{static format(t,n,a,i){return window.moment?window.moment(t).locale(n).format(this.getDateFormat(a,i)):t}static getDateFormat(t,n){return t?n?"lll":"ll":n?"L LT":"L"}};var to=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c};function bi(e){class t extends e{constructor(...a){super(a),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(U)}dateFormatOptionsChanged(a){return a.has("metadataDescriptors")||a.has("useLongDateFormat")||a.has("useDateTimeFormat")||a.has("uiLocale")}formatDateValues(a){var i,c;return((c=(i=this.metadataDescriptors.find(p=>p.key===a?.key))===null||i===void 0?void 0:i.date)!==null&&c!==void 0?c:!1)?this.formatMetadataDates(a):a}formatMetadataDates(a){return{key:a.key,label:a.label,values:a.values.map(i=>eo.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:a.hierarchicalValues}}}return to([(0,Sn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),to([(0,Sn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),to([jo({store:U.name,selector:n=>{var a,i;return(i=(a=n.metadataConfiguration)===null||a===void 0?void 0:a.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),to([jo({store:U.name})],t.prototype,"uiLocale",void 0),t}var ao=v(T());var ro=class extends je{async listMySearches(){let t=U.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var oo=class extends je{async listMyBookmarks(){let t=U.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var ad="ft-user-assets",no=ao.FtReduxStore.get({name:ad,initialState:{savedSearches:void 0,bookmarks:void 0}}),On=class{constructor(){this.currentSession=U.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new oo,this.savedSearchesService=new ro,U.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:n}=U.getState();(0,ao.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),no.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),no.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();no.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let n=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;no.actions.bookmarks(n)}}},Xf=new On;var Cn=class{addCommand(t,n=!1){U.commands.add(t,n)}consumeCommand(t){return U.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Cn;var xi=v(T()),En=class{highlightHtml(t,n){(0,xi.highlightHtml)(t,n)}};window.FluidTopicsHighlightHtmlService=new En;var vi=v(T());var wn=class{isDate(t){var n,a,i,c;return(c=(i=((a=(n=U.getState().metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]).find(p=>p.key===t))===null||i===void 0?void 0:i.date)!==null&&c!==void 0?c:!1}format(t,n){var a,i,c;return vi.DateFormatter.format(t,(a=n?.locale)!==null&&a!==void 0?a:U.getState().uiLocale,(i=n?.longFormat)!==null&&i!==void 0?i:!1,(c=n?.withTime)!==null&&c!==void 0?c:!1)}};window.FluidTopicsDateService=new wn;(0,Si.customElement)("ft-app-context")(J);var Nn=class e extends Event{constructor(){super(e.eventName)}};Nn.eventName="search-context-clear-all-filters";var id=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},In=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},An=Symbol("registerInterval");function cd(e){var t;class n extends e{constructor(){super(...arguments),this[t]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[An]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[An]):this.dispatchEvent(new In)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=An,id([(0,Ci.state)()],n.prototype,"stateManager",void 0),n}var io=class extends cd(Oi.FtLitElementRedux){};var co=v(X()),Ln=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},kn=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Pn=Symbol("registerInterval");function ld(e){var t;class n extends e{constructor(){super(...arguments),this[t]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Pn]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Pn]):this.dispatchEvent(new kn)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return t=Pn,Ln([(0,co.property)({attribute:!1})],n.prototype,"cluster",void 0),Ln([(0,co.property)({attribute:!1})],n.prototype,"result",void 0),Ln([(0,co.property)({attribute:!1,type:Number})],n.prototype,"rank",void 0),n}var lo=class extends ld(io){};var Ai=v(T());var ho=v(M()),yo=v(X()),go=v(T());var Ei=v(M());var wi=Ei.css`
17
- `;var fo=v(T());var Ri=v(X()),sd=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Tn=Symbol("i18nAttributes"),so=Symbol("i18nProperties"),hr=Symbol("i18nUnsubs");function uo(e){var t;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Aa:Ut}i18n(i,c,...l){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,c,...l);let h=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...h)}onI18nUpdate(i){var c,l;(c=this[Tn])===null||c===void 0||c.forEach((p,h)=>{var y;let g=this.getI18nAttributeValue(h);((y=g?.context)===null||y===void 0?void 0:y.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(h,g,p)}),(l=this[so])===null||l===void 0||l.forEach((p,h)=>{p.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,c,l){this[i]={...c,message:this.i18n({context:c.context,key:c.key,...l})}}update(i){var c,l;super.update(i),(c=this[Tn])===null||c===void 0||c.forEach((p,h)=>{let y=this.getI18nAttributeValue(h);y?.context&&y.key&&(i.has(h)||p.argsProvider!=null)&&(i.has(h)&&this.addI18nContext(y.context),this.updateI18nAttributeMessage(h,y,p))}),(l=this[so])===null||l===void 0||l.forEach((p,h)=>{p.argsProvider!=null&&(this[h]=this.i18n(p))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,c,l,p;super.connectedCallback(),new Set([...(c=(i=this[so])===null||i===void 0?void 0:i.values())!==null&&c!==void 0?c:[],...[...(p=(l=this[Tn])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(h=>this.getI18nAttributeValue(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(i,c){i=i.toLowerCase(),this[hr].has(i)||this[hr].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,c??{}),this.onI18nUpdate(i)}addI18nContext(i,c){this.addI18nMessages(typeof i=="string"?i:i.name,c)}disconnectedCallback(){super.disconnectedCallback(),this[hr].forEach(i=>i()),this[hr].clear()}}return t=hr,sd([(0,Ri.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var Ni=class extends uo(fo.FtLitElement){},po=class extends uo(fo.FtLitElementRedux){};var yr=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Me=class extends po{constructor(){super(),this.editorMode=!1,this.addStore(U)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":ho.nothing:ho.html`
16
+ `}update(t){super.update(t),t.has("baseUrl")&&(L.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&L.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&L.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&L.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&L.actions.noCustom(this.noCustom),t.has("editorMode")&&L.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&L.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&L.actions.session(this.session),t.has("availableUiLocales")&&L.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>kt.addContext(o)),t.has("openExternalDocumentInNewTab")&&L.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&L.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&L.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};Y.elementDefinitions={};Y.styles=_i;ue([(0,ke.property)()],Y.prototype,"baseUrl",void 0);ue([(0,ke.property)()],Y.prototype,"apiIntegrationIdentifier",void 0);ue([(0,ke.property)()],Y.prototype,"uiLocale",void 0);ue([(0,Be.jsonProperty)(null)],Y.prototype,"availableUiLocales",void 0);ue([(0,Be.jsonProperty)(null)],Y.prototype,"metadataConfiguration",void 0);ue([(0,ke.property)({type:Boolean})],Y.prototype,"editorMode",void 0);ue([(0,ke.property)({type:Boolean})],Y.prototype,"noCustom",void 0);ue([(0,ke.property)({type:Boolean})],Y.prototype,"openExternalDocumentInNewTab",void 0);ue([(0,ke.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],Y.prototype,"noCustomComponent",void 0);ue([(0,ke.property)({type:Boolean})],Y.prototype,"withManualResources",void 0);ue([(0,ke.property)({type:Boolean})],Y.prototype,"navigatorOnline",void 0);ue([(0,ke.property)({type:Boolean})],Y.prototype,"forcedOffline",void 0);ue([(0,ke.property)({type:Object})],Y.prototype,"apiProvider",void 0);ue([(0,Be.jsonProperty)([])],Y.prototype,"messageContexts",void 0);ue([(0,Be.jsonProperty)(void 0)],Y.prototype,"session",void 0);var wn=g(Z());function wc(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!zr(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!zr(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!zr(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function zr(e,t){try{return wc(e,t)}catch{return!1}}function Fr(e,t){return!zr(e,t)}var $i=g(Z(),1);var Jo=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Fr,attribute:!1,...t};(0,$i.property)(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}};var Hr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};var cr=g(Z(),1);var Ui=g(Z(),1);function Bi(e,t){let o=()=>JSON.parse(JSON.stringify(e));return(0,Ui.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:Fr,...t??{}})}var Vr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var zi=g(B(),1);var jr=window,Ac=jr.ShadowRoot&&(jr.ShadyCSS===void 0||jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_p=Symbol();var Wi=(e,t)=>{Ac?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=jr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Gr=class extends zi.LitElement{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Wi(n,t.elementStyles),n}};var Kr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Vi,Fi=Symbol("constructorPrototype"),Hi=Symbol("constructorName"),ji=Symbol("exportpartsDebouncer"),it=class extends Gr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Vi]=new Vr(5),this[Hi]=this.constructor.name,this[Fi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Hi]&&Object.setPrototypeOf(this,this[Fi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((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(t.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)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ji].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,i,a,s,c;let p=y=>y!=null&&y.trim().length>0,u=t.filter(p).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let x=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...x,...b).filter(p).map(S=>S.trim()).forEach(S=>f.add(S))}if(f.size===0){this.removeAttribute("exportparts");return}let m=[...f.values()].flatMap(y=>u.map(x=>`${y}:${x}--${y}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};Vi=ji;Kr([(0,cr.property)()],it.prototype,"exportpartsPrefix",void 0);Kr([Bi([])],it.prototype,"exportpartsPrefixes",void 0);Kr([(0,cr.property)()],it.prototype,"customStylesheet",void 0);Kr([(0,cr.state)()],it.prototype,"useAdoptedStyleSheets",void 0);function dr(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Gi,Ki,Zi,Zr=Symbol("internalReduxEventsUnsubscribers"),at=Symbol("internalStoresUnsubscribers"),Ot=Symbol("internalStores"),pr=class extends it{constructor(){super(...arguments),this[Gi]=new Map,this[Ki]=new Map,this[Zi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ot].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Ot].get(t)}addStore(t,o){var n;o=(n=o??(dr(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Ot].delete(o)}setupStore(t,o){this[Ot].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ot].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[at].has(t.store):this[at].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[at].set(t,o.subscribe(()=>this.updateFromStores())),dr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Zr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[at].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Zr].forEach(t=>t()),this[Zr]=[]}unsubscribeFromStore(t){this[at].has(t)&&this[at].get(t)(),this[at].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Gi=at,Ki=Ot,Zi=Zr;pr.reduxProperties=new Map;pr.reduxReactiveProperties=new Set;pr.reduxEventListeners=new Map;function De(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ye(e){return!!e&&!!e[j]}function We(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===kc}(e)||Array.isArray(e)||!!e[ta]||!!(!((t=e.constructor)===null||t===void 0)&&t[ta])||ln(e)||cn(e))}function Ct(e,t,o){o===void 0&&(o=!1),$t(e)===0?(o?Object.keys:Mt)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function $t(e){var t=e[j];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ln(e)?2:cn(e)?3:0}function Dt(e,t){return $t(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Rc(e,t){return $t(e)===2?e.get(t):e[t]}function ra(e,t,o){var n=$t(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function oa(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ln(e){return Tc&&e instanceof Map}function cn(e){return _c&&e instanceof Set}function st(e){return e.o||e.t}function dn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=aa(e);delete t[j];for(var o=Mt(t),n=0;n<o.length;n++){var i=o[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function pn(e,t){return t===void 0&&(t=!1),un(e)||Ye(e)||!We(e)||($t(e)>1&&(e.set=e.add=e.clear=e.delete=Nc),Object.freeze(e),t&&Ct(e,function(o,n){return pn(n,!0)},!0)),e}function Nc(){De(2)}function un(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ve(e){var t=sn[e];return t||De(18,e),t}function Ic(e,t){sn[e]||(sn[e]=t)}function on(){return fr}function Qo(e,t){t&&(Ve("Patches"),e.u=[],e.s=[],e.v=t)}function qr(e){nn(e),e.p.forEach(Pc),e.p=null}function nn(e){e===fr&&(fr=e.l)}function qi(e){return fr={p:[],l:fr,h:e,m:!0,_:0}}function Pc(e){var t=e[j];t.i===0||t.i===1?t.j():t.g=!0}function en(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ve("ES5").S(t,e,n),n?(o[j].P&&(qr(t),De(4)),We(e)&&(e=Yr(t,e),t.l||Xr(t,e)),t.u&&Ve("Patches").M(o[j].t,e,t.u,t.s)):e=Yr(t,o,[]),qr(t),t.u&&t.v(t.u,t.s),e!==ia?e:void 0}function Yr(e,t,o){if(un(t))return t;var n=t[j];if(!n)return Ct(t,function(c,p){return Yi(e,n,t,c,p,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Xr(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=dn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ct(a,function(c,p){return Yi(e,n,i,c,p,o,s)}),Xr(e,i,!1),o&&e.u&&Ve("Patches").N(n,o,e.u,e.s)}return n.o}function Yi(e,t,o,n,i,a,s){if(Ye(i)){var c=Yr(e,i,a&&t&&t.i!==3&&!Dt(t.R,n)?a.concat(n):void 0);if(ra(o,n,c),!Ye(c))return;e.m=!1}else s&&o.add(i);if(We(i)&&!un(i)){if(!e.h.D&&e._<1)return;Yr(e,i),t&&t.A.l||Xr(e,i)}}function Xr(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&pn(t,o)}function tn(e,t){var o=e[j];return(o?st(o):e)[t]}function Xi(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function lt(e){e.P||(e.P=!0,e.l&&lt(e.l))}function rn(e){e.o||(e.o=dn(e.t))}function an(e,t,o){var n=ln(t)?Ve("MapSet").F(t,o):cn(t)?Ve("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:on(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},p=c,u=hr;s&&(p=[c],u=ur);var f=Proxy.revocable(p,u),m=f.revoke,y=f.proxy;return c.k=y,c.j=m,y}(t,o):Ve("ES5").J(t,o);return(o?o.A:on()).p.push(n),n}function Lc(e){return Ye(e)||De(22,e),function t(o){if(!We(o))return o;var n,i=o[j],a=$t(o);if(i){if(!i.P&&(i.i<4||!Ve("ES5").K(i)))return i.t;i.I=!0,n=Ji(o,a),i.I=!1}else n=Ji(o,a);return Ct(n,function(s,c){i&&Rc(i.t,s)===c||ra(n,s,t(c))}),a===3?new Set(n):n}(e)}function Ji(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return dn(e)}function na(){function e(s,c){var p=a[s];return p?p.enumerable=c:a[s]=p={configurable:!0,enumerable:c,get:function(){var u=this[j];return hr.get(u,s)},set:function(u){var f=this[j];hr.set(f,s,u)}},p}function t(s){for(var c=s.length-1;c>=0;c--){var p=s[c][j];if(!p.P)switch(p.i){case 5:n(p)&&lt(p);break;case 4:o(p)&&lt(p)}}}function o(s){for(var c=s.t,p=s.k,u=Mt(p),f=u.length-1;f>=0;f--){var m=u[f];if(m!==j){var y=c[m];if(y===void 0&&!Dt(c,m))return!0;var x=p[m],b=x&&x[j];if(b?b.t!==y:!oa(x,y))return!0}}var S=!!c[j];return u.length!==Mt(c).length+(S?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&&De(3,JSON.stringify(st(s)))}var a={};Ic("ES5",{J:function(s,c){var p=Array.isArray(s),u=function(m,y){if(m){for(var x=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(x,""+b,e(b,!0));return x}var S=aa(y);delete S[j];for(var R=Mt(S),w=0;w<R.length;w++){var A=R[w];S[A]=e(A,m||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(y),S)}(p,s),f={i:p?5:4,A:c?c.A:on(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,j,{value:f,writable:!0}),u},S:function(s,c,p){p?Ye(c)&&c[j].A===s&&t(s.p):(s.u&&function u(f){if(f&&typeof f=="object"){var m=f[j];if(m){var y=m.t,x=m.k,b=m.R,S=m.i;if(S===4)Ct(x,function(T){T!==j&&(y[T]!==void 0||Dt(y,T)?b[T]||u(x[T]):(b[T]=!0,lt(m)))}),Ct(y,function(T){x[T]!==void 0||Dt(x,T)||(b[T]=!1,lt(m))});else if(S===5){if(n(m)&&(lt(m),b.length=!0),x.length<y.length)for(var R=x.length;R<y.length;R++)b[R]=!1;else for(var w=y.length;w<x.length;w++)b[w]=!0;for(var A=Math.min(x.length,y.length),_=0;_<A;_++)x.hasOwnProperty(_)||(b[_]=!0),b[_]===void 0&&u(x[_])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Qi,fr,fn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Tc=typeof Map<"u",_c=typeof Set<"u",ea=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ia=fn?Symbol.for("immer-nothing"):((Qi={})["immer-nothing"]=!0,Qi),ta=fn?Symbol.for("immer-draftable"):"__$immer_draftable",j=fn?Symbol.for("immer-state"):"__$immer_state";var kc=""+Object.prototype.constructor,Mt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,aa=Object.getOwnPropertyDescriptors||function(e){var t={};return Mt(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},sn={},hr={get:function(e,t){if(t===j)return e;var o=st(e);if(!Dt(o,t))return function(i,a,s){var c,p=Xi(a,s);return p?"value"in p?p.value:(c=p.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!We(n)?n:n===tn(e.t,t)?(rn(e),e.o[t]=an(e.A.h,n,e)):n},has:function(e,t){return t in st(e)},ownKeys:function(e){return Reflect.ownKeys(st(e))},set:function(e,t,o){var n=Xi(st(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=tn(st(e),t),a=i?.[j];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(oa(o,i)&&(o!==void 0||Dt(e.t,t)))return!0;rn(e),lt(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return tn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,rn(e),lt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=st(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){De(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){De(12)}},ur={};Ct(hr,function(e,t){ur[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ur.deleteProperty=function(e,t){return ur.set.call(this,e,t,void 0)},ur.set=function(e,t,o){return hr.set.call(this,e[0],t,o,e[0])};var Dc=function(){function e(o){var n=this;this.O=ea,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(S){var R=this;S===void 0&&(S=c);for(var w=arguments.length,A=Array(w>1?w-1:0),_=1;_<w;_++)A[_-1]=arguments[_];return p.produce(S,function(T){var W;return(W=a).call.apply(W,[R,T].concat(A))})}}var u;if(typeof a!="function"&&De(6),s!==void 0&&typeof s!="function"&&De(7),We(i)){var f=qi(n),m=an(n,i,void 0),y=!0;try{u=a(m),y=!1}finally{y?qr(f):nn(f)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return Qo(f,s),en(S,f)},function(S){throw qr(f),S}):(Qo(f,s),en(u,f))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===ia&&(u=void 0),n.D&&pn(u,!0),s){var x=[],b=[];Ve("Patches").M(i,u,x,b),s(x,b)}return u}De(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var f=arguments.length,m=Array(f>1?f-1:0),y=1;y<f;y++)m[y-1]=arguments[y];return n.produceWithPatches(u,function(x){return i.apply(void 0,[x].concat(m))})};var s,c,p=n.produce(i,a,function(u,f){s=u,c=f});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 t=e.prototype;return t.createDraft=function(o){We(o)||De(8),Ye(o)&&(o=Lc(o));var n=qi(this),i=an(this,o,void 0);return i[j].C=!0,nn(n),i},t.finishDraft=function(o,n){var i=o&&o[j],a=i.A;return Qo(a,n),en(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!ea&&De(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Ve("Patches").$;return Ye(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},e}(),Ae=new Dc,Mc=Ae.produce,jp=Ae.produceWithPatches.bind(Ae),Gp=Ae.setAutoFreeze.bind(Ae),Kp=Ae.setUseProxies.bind(Ae),Zp=Ae.applyPatches.bind(Ae),qp=Ae.createDraft.bind(Ae),Yp=Ae.finishDraft.bind(Ae),Jr=Mc;function ct(e){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(e)}function hn(e,t){if(ct(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ct(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mn(e){var t=hn(e,"string");return ct(t)==="symbol"?t:String(t)}function yn(e,t,o){return t=mn(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function sa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function Qr(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?sa(Object(o),!0).forEach(function(n){yn(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sa(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var la=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),gn=function(){return Math.random().toString(36).substring(7).split("").join(".")},eo={INIT:"@@redux/INIT"+gn(),REPLACE:"@@redux/REPLACE"+gn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+gn()}};function $c(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function bn(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(pe(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(pe(1));return o(bn)(e,t)}if(typeof e!="function")throw new Error(pe(2));var i=e,a=t,s=[],c=s,p=!1;function u(){c===s&&(c=s.slice())}function f(){if(p)throw new Error(pe(3));return a}function m(S){if(typeof S!="function")throw new Error(pe(4));if(p)throw new Error(pe(5));var R=!0;return u(),c.push(S),function(){if(R){if(p)throw new Error(pe(6));R=!1,u();var A=c.indexOf(S);c.splice(A,1),s=null}}}function y(S){if(!$c(S))throw new Error(pe(7));if(typeof S.type>"u")throw new Error(pe(8));if(p)throw new Error(pe(9));try{p=!0,a=i(a,S)}finally{p=!1}for(var R=s=c,w=0;w<R.length;w++){var A=R[w];A()}return S}function x(S){if(typeof S!="function")throw new Error(pe(10));i=S,y({type:eo.REPLACE})}function b(){var S,R=m;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(pe(11));function _(){A.next&&A.next(f())}_();var T=R(_);return{unsubscribe:T}}},S[la]=function(){return this},S}return y({type:eo.INIT}),n={dispatch:y,subscribe:m,getState:f,replaceReducer:x},n[la]=b,n}function Uc(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:eo.INIT});if(typeof n>"u")throw new Error(pe(12));if(typeof o(void 0,{type:eo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pe(13))})}function ca(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,c;try{Uc(o)}catch(p){c=p}return function(u,f){if(u===void 0&&(u={}),c)throw c;if(0)var m;for(var y=!1,x={},b=0;b<a.length;b++){var S=a[b],R=o[S],w=u[S],A=R(w,f);if(typeof A>"u"){var _=f&&f.type;throw new Error(pe(14))}x[S]=A,y=y||A!==w}return y=y||a.length!==Object.keys(u).length,y?x:u}}function Ut(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function da(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(pe(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(p){return p(s)});return a=Ut.apply(void 0,c)(i.dispatch),Qr(Qr({},i),{},{dispatch:a})}}}function pa(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var ua=pa();ua.withExtraArgument=pa;var xn=ua;var ga=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Bc=function(e,t){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(f){return p([u,f])}}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=t.call(e,o)}catch(f){u=[6,f],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Bt=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},Wc=Object.defineProperty,zc=Object.defineProperties,Fc=Object.getOwnPropertyDescriptors,fa=Object.getOwnPropertySymbols,Hc=Object.prototype.hasOwnProperty,Vc=Object.prototype.propertyIsEnumerable,ha=function(e,t,o){return t in e?Wc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},dt=function(e,t){for(var o in t||(t={}))Hc.call(t,o)&&ha(e,o,t[o]);if(fa)for(var n=0,i=fa(t);n<i.length;n++){var o=i[n];Vc.call(t,o)&&ha(e,o,t[o])}return e},vn=function(e,t){return zc(e,Fc(t))},jc=function(e,t,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(e,t)).next())})};var Gc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ut:Ut.apply(null,arguments)},hu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Kc(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var Zc=function(e){ga(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Bt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Bt([void 0],o.concat(this))))},t}(Array),qc=function(e){ga(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Bt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Bt([void 0],o.concat(this))))},t}(Array);function Cn(e){return We(e)?Jr(e,function(){}):e}function Yc(e){return typeof e=="boolean"}function Xc(){return function(t){return Jc(t)}}function Jc(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new Zc;if(o&&(Yc(o)?c.push(xn):c.push(xn.withExtraArgument(o.extraArgument))),0){if(i)var p;if(s)var u}return c}var Sn=!0;function ba(e){var t=Xc(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,c=o.devTools,p=c===void 0?!0:c,u=o.preloadedState,f=u===void 0?void 0:u,m=o.enhancers,y=m===void 0?void 0:m,x;if(typeof i=="function")x=i;else if(Kc(i))x=ca(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 b=s;if(typeof b=="function"&&(b=b(t),!Sn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Sn&&b.some(function(T){return typeof T!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=da.apply(void 0,b),R=Ut;p&&(R=Gc(dt({trace:!Sn},typeof p=="object"&&p)));var w=new qc(S),A=w;Array.isArray(y)?A=Bt([S],y):typeof y=="function"&&(A=y(w));var _=R.apply(void 0,A);return bn(x,f,_)}function pt(e,t){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return dt(dt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function xa(e){var t={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function Qc(e){return typeof e=="function"}function ed(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?xa(t):[t,o,n],a=i[0],s=i[1],c=i[2],p;if(Qc(e))p=function(){return Cn(e())};else{var u=Cn(e);p=function(){return u}}function f(m,y){m===void 0&&(m=p());var x=Bt([a[y.type]],s.filter(function(b){var S=b.matcher;return S(y)}).map(function(b){var S=b.reducer;return S}));return x.filter(function(b){return!!b}).length===0&&(x=[c]),x.reduce(function(b,S){if(S)if(Ye(b)){var R=b,w=S(R,y);return w===void 0?b:w}else{if(We(b))return Jr(b,function(A){return S(A,y)});var w=S(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},m)}return f.getInitialState=p,f}function td(e,t){return e+"/"+t}function va(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:Cn(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(f){var m=n[f],y=td(t,f),x,b;"reducer"in m?(x=m.reducer,b=m.prepare):x=m,a[f]=x,s[y]=x,c[f]=b?pt(y,b):pt(y)});function p(){var f=typeof e.extraReducers=="function"?xa(e.extraReducers):[e.extraReducers],m=f[0],y=m===void 0?{}:m,x=f[1],b=x===void 0?[]:x,S=f[2],R=S===void 0?void 0:S,w=dt(dt({},y),s);return ed(o,function(A){for(var _ in w)A.addCase(_,w[_]);for(var T=0,W=b;T<W.length;T++){var xe=W[T];A.addMatcher(xe.matcher,xe.reducer)}R&&A.addDefaultCase(R)})}var u;return{name:t,reducer:function(f,m){return u||(u=p()),u(f,m)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}var rd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",od=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=rd[Math.random()*64|0];return t},nd=["name","message","stack","code"],On=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),ma=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),id=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=nd;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},bu=function(){function e(t,o,n){var i=pt(t+"/fulfilled",function(f,m,y,x){return{payload:f,meta:vn(dt({},x||{}),{arg:y,requestId:m,requestStatus:"fulfilled"})}}),a=pt(t+"/pending",function(f,m,y){return{payload:void 0,meta:vn(dt({},y||{}),{arg:m,requestId:f,requestStatus:"pending"})}}),s=pt(t+"/rejected",function(f,m,y,x,b){return{payload:x,error:(n&&n.serializeError||id)(f||"Rejected"),meta:vn(dt({},b||{}),{arg:y,requestId:m,rejectedWithValue:!!x,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),c=!1,p=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function u(f){return function(m,y,x){var b=n?.idGenerator?n.idGenerator(f):od(),S=new p,R,w=!1;function A(T){R=T,S.abort()}var _=function(){return jc(this,null,function(){var T,W,xe,oe,sr,_e,h;return Bc(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),oe=(T=n?.condition)==null?void 0:T.call(n,f,{getState:y,extra:x}),sd(oe)?[4,oe]:[3,2];case 1:oe=v.sent(),v.label=2;case 2:if(oe===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,sr=new Promise(function(N,V){return S.signal.addEventListener("abort",function(){return V({name:"AbortError",message:R||"Aborted"})})}),m(a(b,f,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:b,arg:f},{getState:y,extra:x}))),[4,Promise.race([sr,Promise.resolve(o(f,{dispatch:m,getState:y,extra:x,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(N,V){return new On(N,V)},fulfillWithValue:function(N,V){return new ma(N,V)}})).then(function(N){if(N instanceof On)throw N;return N instanceof ma?i(N.payload,b,f,N.meta):i(N,b,f)})])];case 3:return xe=v.sent(),[3,5];case 4:return _e=v.sent(),xe=_e instanceof On?s(null,b,f,_e.payload,_e.meta):s(_e,b,f),[3,5];case 5:return h=n&&!n.dispatchConditionRejection&&s.match(xe)&&xe.meta.condition,h||m(xe),[2,xe]}})})}();return Object.assign(_,{abort:A,requestId:b,arg:f,unwrap:function(){return _.then(ad)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function ad(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function sd(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Sa="listener",Oa="completed",Ca="cancelled",xu="task-"+Ca,vu="task-"+Oa,Su=Sa+"-"+Ca,Ou=Sa+"-"+Oa;var En="listenerMiddleware";var Cu=pt(En+"/add"),Eu=pt(En+"/removeAll"),wu=pt(En+"/remove");var ya,Au=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ya||(ya=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},ld=function(e){return function(t){setTimeout(t,e)}},Ru=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ld(10);na();window.ftReduxStores||(window.ftReduxStores={});var Ea=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(dr(a))return a;if(i==null)return;let s=va({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=ba({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 e(s,c)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Hr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...p)=>{let u=c(...p);return this.reduxStore.dispatch(u),u}:p=>{this.setState({[s]:p})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var to=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var ro=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function wa(e){class t extends e{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")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(c=>c.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>to.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return ro([(0,wn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),ro([(0,wn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),ro([Jo({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:[]}})],t.prototype,"metadataDescriptors",void 0),ro([Jo({store:L.name})],t.prototype,"uiLocale",void 0),t}var ao=g(I());var oo=class extends qe{async listMySearches(){let t=L.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var no=class extends qe{async listMyBookmarks(){let t=L.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var cd="ft-user-assets",io=ao.FtReduxStore.get({name:cd,initialState:{savedSearches:void 0,bookmarks:void 0}}),An=class{constructor(){this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new no,this.savedSearchesService=new oo,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=L.getState();(0,ao.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),io.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),io.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();io.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;io.actions.bookmarks(o)}}},ef=new An;var Rn=class{addCommand(t,o=!1){L.commands.add(t,o)}consumeCommand(t){return L.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Rn;var Aa=g(I()),Nn=class{highlightHtml(t,o){(0,Aa.highlightHtml)(t,o)}};window.FluidTopicsHighlightHtmlService=new Nn;var Ra=g(I());var In=class{isDate(t){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===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,o){var n,i,a;return Ra.DateFormatter.format(t,(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 In;(0,Na.customElement)("ft-app-context")(Y);var Pn=class e extends Event{constructor(){super(e.eventName)}};Pn.eventName="search-context-clear-all-filters";var dd=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},_n=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Tn=Symbol("registerInterval");function pd(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Tn]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Tn]):this.dispatchEvent(new _n)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Tn,dd([(0,Pa.state)()],o.prototype,"stateManager",void 0),o}var so=class extends pd(Ia.FtLitElementRedux){};var lo=g(Z()),kn=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Mn=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Dn=Symbol("registerInterval");function ud(e){var t;class o extends e{constructor(){super(...arguments),this[t]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Dn]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Dn]):this.dispatchEvent(new Mn)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return t=Dn,kn([(0,lo.property)({attribute:!1})],o.prototype,"cluster",void 0),kn([(0,lo.property)({attribute:!1})],o.prototype,"result",void 0),kn([(0,lo.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var co=class extends ud(so){};var Da=g(I());var mo=g(B()),yo=g(Z()),go=g(I());var La=g(B());var Ta=La.css`
17
+ `;var fo=g(I());var ka=g(Z()),fd=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},$n=Symbol("i18nAttributes"),po=Symbol("i18nProperties"),mr=Symbol("i18nUnsubs");function ho(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Di:kt}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let p=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...p)}onI18nUpdate(i){var a,s;(a=this[$n])===null||a===void 0||a.forEach((c,p)=>{var u;let f=this.getI18nAttributeValue(p);((u=f?.context)===null||u===void 0?void 0:u.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(p,f,c)}),(s=this[po])===null||s===void 0||s.forEach((c,p)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[p]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[$n])===null||a===void 0||a.forEach((c,p)=>{let u=this.getI18nAttributeValue(p);u?.context&&u.key&&(i.has(p)||c.argsProvider!=null)&&(i.has(p)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(p,u,c))}),(s=this[po])===null||s===void 0||s.forEach((c,p)=>{c.argsProvider!=null&&(this[p]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[po])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[$n])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(p=>this.getI18nAttributeValue(p))].map(p=>p?.context)).forEach(p=>p&&this.addI18nMessages(p))}addI18nMessages(i,a){i=i.toLowerCase(),this[mr].has(i)||this[mr].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[mr].forEach(i=>i()),this[mr].clear()}}return t=mr,fd([(0,ka.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var _a=class extends ho(fo.FtLitElement){},uo=class extends ho(fo.FtLitElementRedux){};var yr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ze=class extends uo{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":mo.nothing:mo.html`
18
18
  <span class="ft-i18n">
19
19
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
20
20
  </span>
21
- `}update(t){var n;super.update(t),["context","key","defaultMessage"].some(a=>t.has(a))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(n=this.defaultMessage)!==null&&n!==void 0?n:""})}};Me.elementDefinitions={};Me.styles=wi;yr([(0,go.redux)()],Me.prototype,"editorMode",void 0);yr([(0,yo.property)()],Me.prototype,"context",void 0);yr([(0,yo.property)()],Me.prototype,"key",void 0);yr([(0,go.jsonProperty)([])],Me.prototype,"args",void 0);yr([(0,yo.property)()],Me.prototype,"defaultMessage",void 0);var Mt=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>Ut.resolveMessage(this.name,a,...i)})}};(0,Ai.customElement)("ft-i18n")(Me);var gr=Mt.build("designedSearchResultMetadataInAdmin"),Ii={noKeySelected:"No metadata selected",noValueInCluster:"No value for {0}",noValuePresent:"No value"};var ll=v(T());var cl=v(M()),ie=v(X()),Nr=v(T());var Dc=v(T());var Mn=globalThis,mo=Mn.trustedTypes,Li=mo?mo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Di="$lit$",ft=`lit$${(Math.random()+"").slice(9)}$`,_i="?"+ft,dd=`<${_i}>`,Rt=document,bo=()=>Rt.createComment(""),br=e=>e===null||typeof e!="object"&&typeof e!="function",Bi=Array.isArray,pd=e=>Bi(e)||typeof e?.[Symbol.iterator]=="function",Un=`[
22
- \f\r]`,mr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Pi=/-->/g,ki=/>/g,wt=RegExp(`>|${Un}(?:([^\\s"'>=/]+)(${Un}*=${Un}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ti=/'/g,Ui=/"/g,zi=/^(?:script|style|textarea|title)$/i,Mi=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),Fi=Mi(1),$i=Mi(2),xr=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Wi=new WeakMap,Nt=Rt.createTreeWalker(Rt,129);function Hi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Li!==void 0?Li.createHTML(t):t}var fd=(e,t)=>{let n=e.length-1,a=[],i,c=t===2?"<svg>":"",l=mr;for(let p=0;p<n;p++){let h=e[p],y,g,b=-1,x=0;for(;x<h.length&&(l.lastIndex=x,g=l.exec(h),g!==null);)x=l.lastIndex,l===mr?g[1]==="!--"?l=Pi:g[1]!==void 0?l=ki:g[2]!==void 0?(zi.test(g[2])&&(i=RegExp("</"+g[2],"g")),l=wt):g[3]!==void 0&&(l=wt):l===wt?g[0]===">"?(l=i??mr,b=-1):g[1]===void 0?b=-2:(b=l.lastIndex-g[2].length,y=g[1],l=g[3]===void 0?wt:g[3]==='"'?Ui:Ti):l===Ui||l===Ti?l=wt:l===Pi||l===ki?l=mr:(l=wt,i=void 0);let O=l===wt&&e[p+1].startsWith("/>")?" ":"";c+=l===mr?h+dd:b>=0?(a.push(y),h.slice(0,b)+Di+h.slice(b)+ft+O):h+ft+(b===-2?p:O)}return[Hi(e,c+(e[n]||"<?>")+(t===2?"</svg>":"")),a]},vr=class e{constructor({strings:t,_$litType$:n},a){let i;this.parts=[];let c=0,l=0,p=t.length-1,h=this.parts,[y,g]=fd(t,n);if(this.el=e.createElement(y,a),Nt.currentNode=this.el.content,n===2){let b=this.el.content.firstChild;b.replaceWith(...b.childNodes)}for(;(i=Nt.nextNode())!==null&&h.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let b of i.getAttributeNames())if(b.endsWith(Di)){let x=g[l++],O=i.getAttribute(b).split(ft),S=/([.?@])?(.*)/.exec(x);h.push({type:1,index:c,name:S[2],strings:O,ctor:S[1]==="."?Dn:S[1]==="?"?_n:S[1]==="@"?Bn:$t}),i.removeAttribute(b)}else b.startsWith(ft)&&(h.push({type:6,index:c}),i.removeAttribute(b));if(zi.test(i.tagName)){let b=i.textContent.split(ft),x=b.length-1;if(x>0){i.textContent=mo?mo.emptyScript:"";for(let O=0;O<x;O++)i.append(b[O],bo()),Nt.nextNode(),h.push({type:2,index:++c});i.append(b[x],bo())}}}else if(i.nodeType===8)if(i.data===_i)h.push({type:2,index:c});else{let b=-1;for(;(b=i.data.indexOf(ft,b+1))!==-1;)h.push({type:7,index:c}),b+=ft.length-1}c++}}static createElement(t,n){let a=Rt.createElement("template");return a.innerHTML=t,a}};function Ft(e,t,n=e,a){if(t===xr)return t;let i=a!==void 0?n._$Co?.[a]:n._$Cl,c=br(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(e),i._$AT(e,n,a)),a!==void 0?(n._$Co??=[])[a]=i:n._$Cl=i),i!==void 0&&(t=Ft(e,i._$AS(e,t.values),i,a)),t}var Wn=class{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:n},parts:a}=this._$AD,i=(t?.creationScope??Rt).importNode(n,!0);Nt.currentNode=i;let c=Nt.nextNode(),l=0,p=0,h=a[0];for(;h!==void 0;){if(l===h.index){let y;h.type===2?y=new xo(c,c.nextSibling,this,t):h.type===1?y=new h.ctor(c,h.name,h.strings,this,t):h.type===6&&(y=new zn(c,this,t)),this._$AV.push(y),h=a[++p]}l!==h?.index&&(c=Nt.nextNode(),l++)}return Nt.currentNode=Rt,i}p(t){let n=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(t,a,n),n+=a.strings.length-2):a._$AI(t[n])),n++}},xo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,n,a,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=a,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,n=this._$AM;return n!==void 0&&t?.nodeType===11&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=Ft(this,t,n),br(t)?t===ae||t==null||t===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):t!==this._$AH&&t!==xr&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):pd(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ae&&br(this._$AH)?this._$AA.nextSibling.data=t:this.$(Rt.createTextNode(t)),this._$AH=t}g(t){let{values:n,_$litType$:a}=t,i=typeof a=="number"?this._$AC(t):(a.el===void 0&&(a.el=vr.createElement(Hi(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===i)this._$AH.p(n);else{let c=new Wn(i,this),l=c.u(this.options);c.p(n),this.$(l),this._$AH=c}}_$AC(t){let n=Wi.get(t.strings);return n===void 0&&Wi.set(t.strings,n=new vr(t)),n}T(t){Bi(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,a,i=0;for(let c of t)i===n.length?n.push(a=new e(this.k(bo()),this.k(bo()),this,this.options)):a=n[i],a._$AI(c),i++;i<n.length&&(this._$AR(a&&a._$AB.nextSibling,i),n.length=i)}_$AR(t=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);t&&t!==this._$AB;){let a=t.nextSibling;t.remove(),t=a}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},$t=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,n,a,i,c){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=t,this.name=n,this._$AM=i,this.options=c,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=ae}_$AI(t,n=this,a,i){let c=this.strings,l=!1;if(c===void 0)t=Ft(this,t,n,0),l=!br(t)||t!==this._$AH&&t!==xr,l&&(this._$AH=t);else{let p=t,h,y;for(t=c[0],h=0;h<c.length-1;h++)y=Ft(this,p[a+h],n,h),y===xr&&(y=this._$AH[h]),l||=!br(y)||y!==this._$AH[h],y===ae?t=ae:t!==ae&&(t+=(y??"")+c[h+1]),this._$AH[h]=y}l&&!i&&this.O(t)}O(t){t===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Dn=class extends $t{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ae?void 0:t}},_n=class extends $t{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ae)}},Bn=class extends $t{constructor(t,n,a,i,c){super(t,n,a,i,c),this.type=5}_$AI(t,n=this){if((t=Ft(this,t,n,0)??ae)===xr)return;let a=this._$AH,i=t===ae&&a!==ae||t.capture!==a.capture||t.once!==a.once||t.passive!==a.passive,c=t!==ae&&(a===ae||i);i&&this.element.removeEventListener(this.name,this,a),c&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},zn=class{constructor(t,n,a){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(t){Ft(this,t)}};var ud=Mn.litHtmlPolyfillSupport;ud?.(vr,xo),(Mn.litHtmlVersions??=[]).push("3.1.0");var Ki=Symbol.for(""),hd=e=>{if(e?.r===Ki)return e?._$litStatic$},Fn=e=>({_$litStatic$:e,r:Ki});var Gi=new Map,Zi=e=>(t,...n)=>{let a=n.length,i,c,l=[],p=[],h,y=0,g=!1;for(;y<a;){for(h=t[y];y<a&&(c=n[y],(i=hd(c))!==void 0);)h+=i+t[++y],g=!0;y!==a&&p.push(c),l.push(h),y++}if(y===a&&l.push(t[a]),g){let b=l.join("$$lit$$");(t=Gi.get(b))===void 0&&(l.raw=l,Gi.set(b,t=l)),n=p}return e(t,...n)},$n=Zi(Fi),ah=Zi($i);var Hn=v(X()),Wc=v(T());var At;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(At||(At={}));var We=v(M()),N=v(T());var Ye=v(M(),1),ut=e=>typeof e=="string"?(0,Ye.unsafeCSS)(e):e,r=class{static create(t,n,a,i){let c=p=>ut(p??i),l=Ye.css`var(${ut(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>Ye.css`var(${ut(t)}, ${c(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,n,a,i){let c=p=>a.get(p??i),l=Ye.css`var(${ut(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>Ye.css`var(${ut(t)}, ${c(p)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(t,n){let a=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):ut(c??t.lastResortDefaultValue()),i=Ye.css`var(${ut(t.name)}, ${a(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>Ye.css`var(${ut(t.name)}, ${a(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var d={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Vi={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},ji={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},qi={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Yi={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Xi={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ji={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Qi={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ec={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},tc={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},yd={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},rc={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},oc={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},nc={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ac={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ic={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},cc={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},lc={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},sc={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},dc={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},pc={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},fc={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},uc={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},hc={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},yc={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},gc={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},mc={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},vo={display:Vi,"title-1":ji,"title-2":qi,"title-3":Yi,"body-1-regular":Xi,"body-1-medium":Ji,"body-1-semibold":Qi,"body-2-regular":ec,"body-2-medium":tc,"body-2-medium-underline":yd,"body-2-semibold":rc,"label-1-medium":oc,"label-1-semibold":nc,"label-1-bold":ac,"label-2-medium":ic,"label-2-semibold":cc,"label-2-bold":lc,"caption-1-medium":sc,"caption-1-semibold":dc,"caption-1-bold":pc,"caption-2-medium":fc,"caption-2-semibold":uc,"caption-2-bold":hc,"caption-3-medium":yc,"caption-3-semibold":gc,"caption-3-bold":mc};var f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
24
- Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var xh={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:r.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:r.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var Eh={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:r.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:r.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Ih={focusOpacity:r.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",f.contentInfoPrimary)};var Uh={iconSize:r.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var zh={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:r.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Gh={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var qh={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var ey={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:r.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",d.borderRadiusM)};var ay={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",d.colorGray700)};var dy={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var yy={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var vy={backgroundColor:r.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var wy={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Ly={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Wy={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var My={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",d.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",d.shadowElevation02)};var Ky={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Yy={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:r.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var eg={color1Light:r.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",d.colorRed40),color5Base:r.extend("--ft-chart-5-base","",d.colorRed60),color6Light:r.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",d.colorGray50),color10Base:r.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var ag={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:r.extend("--ft-notice-gap","",d.spacing2),iconSize:r.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var dg={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",d.spacing3)};var yg={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",d.spacing3)};var vg={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",d.spacing3)};var wg={iconSize:r.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",d.spacing8)};var Lg={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:r.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",d.spacing05)};var bc;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(bc||(bc={}));var xc;(function(e){e.large="large",e.medium="medium",e.small="small"})(xc||(xc={}));var So=v(M());function vc(e){let t=vo[e];return So.css`
25
- .ft-typography--${(0,So.unsafeCSS)(e)} {
21
+ `}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ze.elementDefinitions={};ze.styles=Ta;yr([(0,go.redux)()],ze.prototype,"editorMode",void 0);yr([(0,yo.property)()],ze.prototype,"context",void 0);yr([(0,yo.property)()],ze.prototype,"key",void 0);yr([(0,go.jsonProperty)([])],ze.prototype,"args",void 0);yr([(0,yo.property)()],ze.prototype,"defaultMessage",void 0);var Wt=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>kt.resolveMessage(this.name,n,...i)})}};(0,Da.customElement)("ft-i18n")(ze);var gr=Wt.build("designedSearchResultMetadataInAdmin"),Ma={noKeySelected:"No metadata selected",noValueInCluster:"No value for {0}",noValuePresent:"No value"};var fl=g(I());var ul=g(B()),ae=g(Z()),Rr=g(I());var zs=g(I());var Vn=globalThis,bo=Vn.trustedTypes,$a=bo?bo.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ha="$lit$",ut=`lit$${(Math.random()+"").slice(9)}$`,Va="?"+ut,hd=`<${Va}>`,At=document,xo=()=>At.createComment(""),xr=e=>e===null||typeof e!="object"&&typeof e!="function",ja=Array.isArray,md=e=>ja(e)||typeof e?.[Symbol.iterator]=="function",Un=`[
22
+ \f\r]`,br=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ua=/-->/g,Ba=/>/g,Et=RegExp(`>|${Un}(?:([^\\s"'>=/]+)(${Un}*=${Un}*(?:[^
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Wa=/'/g,za=/"/g,Ga=/^(?:script|style|textarea|title)$/i,Ka=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Za=Ka(1),qa=Ka(2),vr=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),Fa=new WeakMap,wt=At.createTreeWalker(At,129);function Ya(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return $a!==void 0?$a.createHTML(t):t}var yd=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=br;for(let c=0;c<o;c++){let p=e[c],u,f,m=-1,y=0;for(;y<p.length&&(s.lastIndex=y,f=s.exec(p),f!==null);)y=s.lastIndex,s===br?f[1]==="!--"?s=Ua:f[1]!==void 0?s=Ba:f[2]!==void 0?(Ga.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Et):f[3]!==void 0&&(s=Et):s===Et?f[0]===">"?(s=i??br,m=-1):f[1]===void 0?m=-2:(m=s.lastIndex-f[2].length,u=f[1],s=f[3]===void 0?Et:f[3]==='"'?za:Wa):s===za||s===Wa?s=Et:s===Ua||s===Ba?s=br:(s=Et,i=void 0);let x=s===Et&&e[c+1].startsWith("/>")?" ":"";a+=s===br?p+hd:m>=0?(n.push(u),p.slice(0,m)+Ha+p.slice(m)+ut+x):p+ut+(m===-2?c:x)}return[Ya(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Sr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,p=this.parts,[u,f]=yd(t,o);if(this.el=e.createElement(u,n),wt.currentNode=this.el.content,o===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(i=wt.nextNode())!==null&&p.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let m of i.getAttributeNames())if(m.endsWith(Ha)){let y=f[s++],x=i.getAttribute(m).split(ut),b=/([.?@])?(.*)/.exec(y);p.push({type:1,index:a,name:b[2],strings:x,ctor:b[1]==="."?Wn:b[1]==="?"?zn:b[1]==="@"?Fn:Ft}),i.removeAttribute(m)}else m.startsWith(ut)&&(p.push({type:6,index:a}),i.removeAttribute(m));if(Ga.test(i.tagName)){let m=i.textContent.split(ut),y=m.length-1;if(y>0){i.textContent=bo?bo.emptyScript:"";for(let x=0;x<y;x++)i.append(m[x],xo()),wt.nextNode(),p.push({type:2,index:++a});i.append(m[y],xo())}}}else if(i.nodeType===8)if(i.data===Va)p.push({type:2,index:a});else{let m=-1;for(;(m=i.data.indexOf(ut,m+1))!==-1;)p.push({type:7,index:a}),m+=ut.length-1}a++}}static createElement(t,o){let n=At.createElement("template");return n.innerHTML=t,n}};function zt(e,t,o=e,n){if(t===vr)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=xr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=zt(e,i._$AS(e,t.values),i,n)),t}var Bn=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??At).importNode(o,!0);wt.currentNode=i;let a=wt.nextNode(),s=0,c=0,p=n[0];for(;p!==void 0;){if(s===p.index){let u;p.type===2?u=new vo(a,a.nextSibling,this,t):p.type===1?u=new p.ctor(a,p.name,p.strings,this,t):p.type===6&&(u=new Hn(a,this,t)),this._$AV.push(u),p=n[++c]}s!==p?.index&&(a=wt.nextNode(),s++)}return wt.currentNode=At,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},vo=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=ne,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=zt(this,t,o),xr(t)?t===ne||t==null||t===""?(this._$AH!==ne&&this._$AR(),this._$AH=ne):t!==this._$AH&&t!==vr&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):md(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ne&&xr(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Sr.createElement(Ya(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Bn(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=Fa.get(t.strings);return o===void 0&&Fa.set(t.strings,o=new Sr(t)),o}T(t){ja(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(xo()),this.k(xo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=ne,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ne}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=zt(this,t,o,0),s=!xr(t)||t!==this._$AH&&t!==vr,s&&(this._$AH=t);else{let c=t,p,u;for(t=a[0],p=0;p<a.length-1;p++)u=zt(this,c[n+p],o,p),u===vr&&(u=this._$AH[p]),s||=!xr(u)||u!==this._$AH[p],u===ne?t=ne:t!==ne&&(t+=(u??"")+a[p+1]),this._$AH[p]=u}s&&!i&&this.O(t)}O(t){t===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Wn=class extends Ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ne?void 0:t}},zn=class extends Ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ne)}},Fn=class extends Ft{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=zt(this,t,o,0)??ne)===vr)return;let n=this._$AH,i=t===ne&&n!==ne||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==ne&&(n===ne||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Hn=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){zt(this,t)}};var gd=Vn.litHtmlPolyfillSupport;gd?.(Sr,vo),(Vn.litHtmlVersions??=[]).push("3.1.0");var Ja=Symbol.for(""),bd=e=>{if(e?.r===Ja)return e?._$litStatic$},jn=e=>({_$litStatic$:e,r:Ja});var Xa=new Map,Qa=e=>(t,...o)=>{let n=o.length,i,a,s=[],c=[],p,u=0,f=!1;for(;u<n;){for(p=t[u];u<n&&(a=o[u],(i=bd(a))!==void 0);)p+=i+t[++u],f=!0;u!==n&&c.push(a),s.push(p),u++}if(u===n&&s.push(t[n]),f){let m=s.join("$$lit$$");(t=Xa.get(m))===void 0&&(s.raw=s,Xa.set(m,t=s)),o=c}return e(t,...o)},Gn=Qa(Za),ch=Qa(qa);var Kn=g(Z()),Ws=g(I());var Me;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Me||(Me={}));var $e=g(B()),E=g(I());var Xe=g(B(),1),ft=e=>typeof e=="string"?(0,Xe.unsafeCSS)(e):e,r=class{static create(t,o,n,i){let a=c=>ft(c??i),s=Xe.css`var(${ft(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>Xe.css`var(${ft(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=c=>n.get(c??i),s=Xe.css`var(${ft(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>Xe.css`var(${ft(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):ft(a??t.lastResortDefaultValue()),i=Xe.css`var(${ft(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>Xe.css`var(${ft(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},es={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},ts={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},rs={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},os={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},ns={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},is={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},as={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ss={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ls={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},xd={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},cs={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ds={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ps={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},us={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},fs={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},hs={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ms={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ys={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},gs={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},bs={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},xs={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},vs={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ss={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Os={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Cs={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Es={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},So={display:es,"title-1":ts,"title-2":rs,"title-3":os,"body-1-regular":ns,"body-1-medium":is,"body-1-semibold":as,"body-2-regular":ss,"body-2-medium":ls,"body-2-medium-underline":xd,"body-2-semibold":cs,"label-1-medium":ds,"label-1-semibold":ps,"label-1-bold":us,"label-2-medium":fs,"label-2-semibold":hs,"label-2-bold":ms,"caption-1-medium":ys,"caption-1-semibold":gs,"caption-1-bold":bs,"caption-2-medium":xs,"caption-2-semibold":vs,"caption-2-bold":Ss,"caption-3-medium":Os,"caption-3-semibold":Cs,"caption-3-bold":Es};var d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
24
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var O={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:r.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",d.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",d.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",d.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",d.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",d.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",d.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",d.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",d.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",d.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",d.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",d.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",d.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",d.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",d.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var M={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Lh={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",d.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",d.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",d.contentInfoPrimary)};var Mh={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var zh={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Gh={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var Xh={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var rm={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",d.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var sm={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var um={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var gm={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Om={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Rm={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Tm={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var $m={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Fm={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var Km={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Jm={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var ry={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var sy={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var uy={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var gy={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Oy={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Ry={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Ty={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var Oo;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Oo||(Oo={}));var fe;(function(e){e.large="large",e.medium="medium",e.small="small"})(fe||(fe={}));var Co=g(B());function ws(e){let t=So[e];return Co.css`
25
+ .ft-typography--${(0,Co.unsafeCSS)(e)} {
26
26
  font-family: ${t.fontFamily};
27
27
  font-size: ${t.fontSize};
28
28
  font-weight: ${t.fontWeight};
@@ -30,7 +30,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
30
30
  line-height: ${t.lineHeight};
31
31
  text-transform: ${t.textCase};
32
32
  }
33
- `}var Sc=N.FtCssVariableFactory.extend("--ft-typography-font-family","",N.designSystemVariables.titleFont),Xe=N.FtCssVariableFactory.extend("--ft-typography-font-family","",N.designSystemVariables.contentFont),k={fontFamily:Xe,fontSize:N.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:N.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:N.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:N.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:N.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ht={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Sc),fontSize:N.FtCssVariableFactory.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},Gt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Sc),fontSize:N.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},Kt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},Zt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},Vt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},He={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},jt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},qt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},Yt={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},Ge={fontFamily:N.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Xe),fontSize:N.FtCssVariableFactory.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:N.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:N.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:N.FtCssVariableFactory.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:N.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},Oc=We.css`
33
+ `}var As=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.titleFont),Je=E.FtCssVariableFactory.extend("--ft-typography-font-family","",E.designSystemVariables.contentFont),P={fontFamily:Je,fontSize:E.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:E.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:E.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:E.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:E.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ht={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-font-family","",As),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},Vt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",As),fontSize:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},jt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},Gt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},Kt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},je={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},Zt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},qt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},Yt={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},Ge={fontFamily:E.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Je),fontSize:E.FtCssVariableFactory.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:E.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:E.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:E.FtCssVariableFactory.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:E.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Rs=$e.css`
34
34
  .ft-typography--title {
35
35
  font-family: ${Ht.fontFamily};
36
36
  font-size: ${Ht.fontSize};
@@ -39,8 +39,26 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
39
39
  line-height: ${Ht.lineHeight};
40
40
  text-transform: ${Ht.textTransform};
41
41
  }
42
- `,Cc=We.css`
42
+ `,Ns=$e.css`
43
43
  .ft-typography--title-dense {
44
+ font-family: ${Vt.fontFamily};
45
+ font-size: ${Vt.fontSize};
46
+ font-weight: ${Vt.fontWeight};
47
+ letter-spacing: ${Vt.letterSpacing};
48
+ line-height: ${Vt.lineHeight};
49
+ text-transform: ${Vt.textTransform};
50
+ }
51
+ `,Is=$e.css`
52
+ .ft-typography--subtitle1 {
53
+ font-family: ${jt.fontFamily};
54
+ font-size: ${jt.fontSize};
55
+ font-weight: ${jt.fontWeight};
56
+ letter-spacing: ${jt.letterSpacing};
57
+ line-height: ${jt.lineHeight};
58
+ text-transform: ${jt.textTransform};
59
+ }
60
+ `,Ps=$e.css`
61
+ .ft-typography--subtitle2 {
44
62
  font-family: ${Gt.fontFamily};
45
63
  font-size: ${Gt.fontSize};
46
64
  font-weight: ${Gt.fontWeight};
@@ -48,8 +66,9 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
48
66
  line-height: ${Gt.lineHeight};
49
67
  text-transform: ${Gt.textTransform};
50
68
  }
51
- `,Ec=We.css`
52
- .ft-typography--subtitle1 {
69
+
70
+ `,Ls=$e.css`
71
+ .ft-typography--body1 {
53
72
  font-family: ${Kt.fontFamily};
54
73
  font-size: ${Kt.fontSize};
55
74
  font-weight: ${Kt.fontWeight};
@@ -57,8 +76,17 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
57
76
  line-height: ${Kt.lineHeight};
58
77
  text-transform: ${Kt.textTransform};
59
78
  }
60
- `,wc=We.css`
61
- .ft-typography--subtitle2 {
79
+ `,Ts=$e.css`
80
+ .ft-typography--body2 {
81
+ font-family: ${je.fontFamily};
82
+ font-size: ${je.fontSize};
83
+ font-weight: ${je.fontWeight};
84
+ letter-spacing: ${je.letterSpacing};
85
+ line-height: ${je.lineHeight};
86
+ text-transform: ${je.textTransform};
87
+ }
88
+ `,_s=$e.css`
89
+ .ft-typography--caption {
62
90
  font-family: ${Zt.fontFamily};
63
91
  font-size: ${Zt.fontSize};
64
92
  font-weight: ${Zt.fontWeight};
@@ -66,35 +94,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
66
94
  line-height: ${Zt.lineHeight};
67
95
  text-transform: ${Zt.textTransform};
68
96
  }
69
-
70
- `,Nc=We.css`
71
- .ft-typography--body1 {
72
- font-family: ${Vt.fontFamily};
73
- font-size: ${Vt.fontSize};
74
- font-weight: ${Vt.fontWeight};
75
- letter-spacing: ${Vt.letterSpacing};
76
- line-height: ${Vt.lineHeight};
77
- text-transform: ${Vt.textTransform};
78
- }
79
- `,Rc=We.css`
80
- .ft-typography--body2 {
81
- font-family: ${He.fontFamily};
82
- font-size: ${He.fontSize};
83
- font-weight: ${He.fontWeight};
84
- letter-spacing: ${He.letterSpacing};
85
- line-height: ${He.lineHeight};
86
- text-transform: ${He.textTransform};
87
- }
88
- `,Ac=We.css`
89
- .ft-typography--caption {
90
- font-family: ${jt.fontFamily};
91
- font-size: ${jt.fontSize};
92
- font-weight: ${jt.fontWeight};
93
- letter-spacing: ${jt.letterSpacing};
94
- line-height: ${jt.lineHeight};
95
- text-transform: ${jt.textTransform};
96
- }
97
- `,Ic=We.css`
97
+ `,ks=$e.css`
98
98
  .ft-typography--breadcrumb {
99
99
  font-family: ${qt.fontFamily};
100
100
  font-size: ${qt.fontSize};
@@ -103,7 +103,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
103
103
  line-height: ${qt.lineHeight};
104
104
  text-transform: ${qt.textTransform};
105
105
  }
106
- `,Lc=We.css`
106
+ `,Ds=$e.css`
107
107
  .ft-typography--overline {
108
108
  font-family: ${Yt.fontFamily};
109
109
  font-size: ${Yt.fontSize};
@@ -112,7 +112,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
112
112
  line-height: ${Yt.lineHeight};
113
113
  text-transform: ${Yt.textTransform};
114
114
  }
115
- `,Pc=We.css`
115
+ `,Ms=$e.css`
116
116
  .ft-typography--button {
117
117
  font-family: ${Ge.fontFamily};
118
118
  font-size: ${Ge.fontSize};
@@ -121,19 +121,19 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
121
121
  line-height: ${Ge.lineHeight};
122
122
  text-transform: ${Ge.textTransform};
123
123
  }
124
- `,kc=We.css`
124
+ `,$s=$e.css`
125
125
  .ft-typography {
126
126
  vertical-align: inherit;
127
127
  }
128
- `,Tc=[Object.keys(vo).map(e=>vc(e))];var Uc=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},se=class extends Wc.FtLitElement{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?$n`
129
- <${Fn(this.element)}
128
+ `,Us=[Object.keys(So).map(e=>ws(e))];var Bs=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ie=class extends Ws.FtLitElement{constructor(){super(...arguments),this.variant=Me.body1}render(){return this.element?Gn`
129
+ <${jn(this.element)}
130
130
  part="text"
131
131
  class="ft-typography ft-typography--${this.variant}">
132
132
  <slot></slot>
133
- </${Fn(this.element)}>
134
- `:$n`
133
+ </${jn(this.element)}>
134
+ `:Gn`
135
135
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
136
- `}};se.styles=[Oc,Cc,Ec,wc,Nc,Rc,Ac,Ic,Lc,Pc,kc,...Tc];Uc([(0,Hn.property)()],se.prototype,"element",void 0);Uc([(0,Hn.property)()],se.prototype,"variant",void 0);(0,Dc.customElement)("ft-typography")(se);var _c=v(M()),Je=v(T()),Xt={distance:Je.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Je.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Je.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Je.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Je.FtCssVariableFactory.external(Je.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Je.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Bc=_c.css`
136
+ `}};ie.styles=[Rs,Ns,Is,Ps,Ls,Ts,_s,ks,Ds,Ms,$s,...Us];Bs([(0,Kn.property)()],ie.prototype,"element",void 0);Bs([(0,Kn.property)()],ie.prototype,"variant",void 0);(0,zs.customElement)("ft-typography")(ie);var Fs=g(B()),Qe=g(I()),Xt={distance:Qe.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Qe.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Qe.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Qe.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Qe.FtCssVariableFactory.external(Qe.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Qe.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Hs=Fs.css`
137
137
  .ft-tooltip--container {
138
138
  display: block;
139
139
  }
@@ -162,7 +162,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
162
162
  position: relative;
163
163
  word-break: break-word;
164
164
  }
165
- `;var Mc=["top","right","bottom","left"],zc=["start","end"],Kn=Mc.reduce((e,t)=>e.concat(t,t+"-"+zc[0],t+"-"+zc[1]),[]),Sr=Math.min,ht=Math.max,Or=Math.round;var Qe=e=>({x:e,y:e}),gd={left:"right",right:"left",bottom:"top",top:"bottom"},md={start:"end",end:"start"};function Zn(e,t,n){return ht(e,Sr(t,n))}function Oo(e,t){return typeof e=="function"?e(t):e}function Jt(e){return e.split("-")[0]}function yt(e){return e.split("-")[1]}function Vn(e){return e==="x"?"y":"x"}function jn(e){return e==="y"?"height":"width"}function Co(e){return["top","bottom"].includes(Jt(e))?"y":"x"}function qn(e){return Vn(Co(e))}function Fc(e,t,n){n===void 0&&(n=!1);let a=yt(e),i=qn(e),c=jn(i),l=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(l=Gn(l)),[l,Gn(l)]}function $c(e){return e.replace(/start|end/g,t=>md[t])}function Gn(e){return e.replace(/left|right|bottom|top/g,t=>gd[t])}function bd(e){return{top:0,right:0,bottom:0,left:0,...e}}function Hc(e){return typeof e!="number"?bd(e):{top:e,right:e,bottom:e,left:e}}function It(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Gc(e,t,n){let{reference:a,floating:i}=e,c=Co(t),l=qn(t),p=jn(l),h=Jt(t),y=c==="y",g=a.x+a.width/2-i.width/2,b=a.y+a.height/2-i.height/2,x=a[p]/2-i[p]/2,O;switch(h){case"top":O={x:g,y:a.y-i.height};break;case"bottom":O={x:g,y:a.y+a.height};break;case"right":O={x:a.x+a.width,y:b};break;case"left":O={x:a.x-i.width,y:b};break;default:O={x:a.x,y:a.y}}switch(yt(t)){case"start":O[l]-=x*(n&&y?-1:1);break;case"end":O[l]+=x*(n&&y?-1:1);break}return O}var Kc=async(e,t,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:c=[],platform:l}=n,p=c.filter(Boolean),h=await(l.isRTL==null?void 0:l.isRTL(t)),y=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:g,y:b}=Gc(y,a,h),x=a,O={},S=0;for(let E=0;E<p.length;E++){let{name:L,fn:A}=p[E],{x:I,y:D,data:W,reset:$}=await A({x:g,y:b,initialPlacement:a,placement:x,strategy:i,middlewareData:O,rects:y,platform:l,elements:{reference:e,floating:t}});if(g=I??g,b=D??b,O={...O,[L]:{...O[L],...W}},$&&S<=50){S++,typeof $=="object"&&($.placement&&(x=$.placement),$.rects&&(y=$.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):$.rects),{x:g,y:b}=Gc(y,x,h)),E=-1;continue}}return{x:g,y:b,placement:x,strategy:i,middlewareData:O}};async function Yn(e,t){var n;t===void 0&&(t={});let{x:a,y:i,platform:c,rects:l,elements:p,strategy:h}=e,{boundary:y="clippingAncestors",rootBoundary:g="viewport",elementContext:b="floating",altBoundary:x=!1,padding:O=0}=Oo(t,e),S=Hc(O),L=p[x?b==="floating"?"reference":"floating":b],A=It(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(L)))==null||n?L:L.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:y,rootBoundary:g,strategy:h})),I=b==="floating"?{...l.floating,x:a,y:i}:l.reference,D=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),W=await(c.isElement==null?void 0:c.isElement(D))?await(c.getScale==null?void 0:c.getScale(D))||{x:1,y:1}:{x:1,y:1},$=It(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:D,strategy:h}):I);return{top:(A.top-$.top+S.top)/W.y,bottom:($.bottom-A.bottom+S.bottom)/W.y,left:(A.left-$.left+S.left)/W.x,right:($.right-A.right+S.right)/W.x}}function xd(e,t,n){return(e?[...n.filter(i=>yt(i)===e),...n.filter(i=>yt(i)!==e)]:n.filter(i=>Jt(i)===i)).filter(i=>e?yt(i)===e||(t?$c(i)!==i:!1):!0)}var Xn=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,a,i;let{rects:c,middlewareData:l,placement:p,platform:h,elements:y}=t,{crossAxis:g=!1,alignment:b,allowedPlacements:x=Kn,autoAlignment:O=!0,...S}=Oo(e,t),E=b!==void 0||x===Kn?xd(b||null,O,x):x,L=await Yn(t,S),A=((n=l.autoPlacement)==null?void 0:n.index)||0,I=E[A];if(I==null)return{};let D=Fc(I,c,await(h.isRTL==null?void 0:h.isRTL(y.floating)));if(p!==I)return{reset:{placement:E[0]}};let W=[L[Jt(I)],L[D[0]],L[D[1]]],$=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:I,overflows:W}],xe=E[A+1];if(xe)return{data:{index:A+1,overflows:$},reset:{placement:xe}};let ne=$.map(m=>{let C=yt(m.placement);return[m.placement,C&&g?m.overflows.slice(0,2).reduce((P,Z)=>P+Z,0):m.overflows[0],m.overflows]}).sort((m,C)=>m[1]-C[1]),ke=((i=ne.filter(m=>m[2].slice(0,yt(m[0])?2:3).every(C=>C<=0))[0])==null?void 0:i[0])||ne[0][0];return ke!==p?{data:{index:A+1,overflows:$},reset:{placement:ke}}:{}}}};var Jn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:a,placement:i}=t,{mainAxis:c=!0,crossAxis:l=!1,limiter:p={fn:L=>{let{x:A,y:I}=L;return{x:A,y:I}}},...h}=Oo(e,t),y={x:n,y:a},g=await Yn(t,h),b=Co(Jt(i)),x=Vn(b),O=y[x],S=y[b];if(c){let L=x==="y"?"top":"left",A=x==="y"?"bottom":"right",I=O+g[L],D=O-g[A];O=Zn(I,O,D)}if(l){let L=b==="y"?"top":"left",A=b==="y"?"bottom":"right",I=S+g[L],D=S-g[A];S=Zn(I,S,D)}let E=p.fn({...t,[x]:O,[b]:S});return{...E,data:{x:E.x-n,y:E.y-a}}}}};function et(e){return Vc(e)?(e.nodeName||"").toLowerCase():"#document"}function ve(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function tt(e){var t;return(t=(Vc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vc(e){return e instanceof Node||e instanceof ve(e).Node}function Ke(e){return e instanceof Element||e instanceof ve(e).Element}function Fe(e){return e instanceof HTMLElement||e instanceof ve(e).HTMLElement}function Zc(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ve(e).ShadowRoot}function Qt(e){let{overflow:t,overflowX:n,overflowY:a,display:i}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&!["inline","contents"].includes(i)}function jc(e){return["table","td","th"].includes(et(e))}function wo(e){let t=No(),n=Re(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function qc(e){let t=Lt(e);for(;Fe(t)&&!Cr(t);){if(wo(t))return t;t=Lt(t)}return null}function No(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Cr(e){return["html","body","#document"].includes(et(e))}function Re(e){return ve(e).getComputedStyle(e)}function Er(e){return Ke(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Lt(e){if(et(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Zc(e)&&e.host||tt(e);return Zc(t)?t.host:t}function Yc(e){let t=Lt(e);return Cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fe(t)&&Qt(t)?t:Yc(t)}function Eo(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);let i=Yc(e),c=i===((a=e.ownerDocument)==null?void 0:a.body),l=ve(i);return c?t.concat(l,l.visualViewport||[],Qt(i)?i:[],l.frameElement&&n?Eo(l.frameElement):[]):t.concat(i,Eo(i,[],n))}function Qc(e){let t=Re(e),n=parseFloat(t.width)||0,a=parseFloat(t.height)||0,i=Fe(e),c=i?e.offsetWidth:n,l=i?e.offsetHeight:a,p=Or(n)!==c||Or(a)!==l;return p&&(n=c,a=l),{width:n,height:a,$:p}}function el(e){return Ke(e)?e:e.contextElement}function er(e){let t=el(e);if(!Fe(t))return Qe(1);let n=t.getBoundingClientRect(),{width:a,height:i,$:c}=Qc(t),l=(c?Or(n.width):n.width)/a,p=(c?Or(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!p||!Number.isFinite(p))&&(p=1),{x:l,y:p}}var vd=Qe(0);function tl(e){let t=ve(e);return!No()||!t.visualViewport?vd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Sd(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ve(e)?!1:t}function wr(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),c=el(e),l=Qe(1);t&&(a?Ke(a)&&(l=er(a)):l=er(e));let p=Sd(c,n,a)?tl(c):Qe(0),h=(i.left+p.x)/l.x,y=(i.top+p.y)/l.y,g=i.width/l.x,b=i.height/l.y;if(c){let x=ve(c),O=a&&Ke(a)?ve(a):a,S=x.frameElement;for(;S&&a&&O!==x;){let E=er(S),L=S.getBoundingClientRect(),A=Re(S),I=L.left+(S.clientLeft+parseFloat(A.paddingLeft))*E.x,D=L.top+(S.clientTop+parseFloat(A.paddingTop))*E.y;h*=E.x,y*=E.y,g*=E.x,b*=E.y,h+=I,y+=D,S=ve(S).frameElement}}return It({width:g,height:b,x:h,y})}function Od(e){let{rect:t,offsetParent:n,strategy:a}=e,i=Fe(n),c=tt(n);if(n===c)return t;let l={scrollLeft:0,scrollTop:0},p=Qe(1),h=Qe(0);if((i||!i&&a!=="fixed")&&((et(n)!=="body"||Qt(c))&&(l=Er(n)),Fe(n))){let y=wr(n);p=er(n),h.x=y.x+n.clientLeft,h.y=y.y+n.clientTop}return{width:t.width*p.x,height:t.height*p.y,x:t.x*p.x-l.scrollLeft*p.x+h.x,y:t.y*p.y-l.scrollTop*p.y+h.y}}function Cd(e){return Array.from(e.getClientRects())}function rl(e){return wr(tt(e)).left+Er(e).scrollLeft}function Ed(e){let t=tt(e),n=Er(e),a=e.ownerDocument.body,i=ht(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),c=ht(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight),l=-n.scrollLeft+rl(e),p=-n.scrollTop;return Re(a).direction==="rtl"&&(l+=ht(t.clientWidth,a.clientWidth)-i),{width:i,height:c,x:l,y:p}}function wd(e,t){let n=ve(e),a=tt(e),i=n.visualViewport,c=a.clientWidth,l=a.clientHeight,p=0,h=0;if(i){c=i.width,l=i.height;let y=No();(!y||y&&t==="fixed")&&(p=i.offsetLeft,h=i.offsetTop)}return{width:c,height:l,x:p,y:h}}function Nd(e,t){let n=wr(e,!0,t==="fixed"),a=n.top+e.clientTop,i=n.left+e.clientLeft,c=Fe(e)?er(e):Qe(1),l=e.clientWidth*c.x,p=e.clientHeight*c.y,h=i*c.x,y=a*c.y;return{width:l,height:p,x:h,y}}function Xc(e,t,n){let a;if(t==="viewport")a=wd(e,n);else if(t==="document")a=Ed(tt(e));else if(Ke(t))a=Nd(t,n);else{let i=tl(e);a={...t,x:t.x-i.x,y:t.y-i.y}}return It(a)}function ol(e,t){let n=Lt(e);return n===t||!Ke(n)||Cr(n)?!1:Re(n).position==="fixed"||ol(n,t)}function Rd(e,t){let n=t.get(e);if(n)return n;let a=Eo(e,[],!1).filter(p=>Ke(p)&&et(p)!=="body"),i=null,c=Re(e).position==="fixed",l=c?Lt(e):e;for(;Ke(l)&&!Cr(l);){let p=Re(l),h=wo(l);!h&&p.position==="fixed"&&(i=null),(c?!h&&!i:!h&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Qt(l)&&!h&&ol(e,l))?a=a.filter(g=>g!==l):i=p,l=Lt(l)}return t.set(e,a),a}function Ad(e){let{element:t,boundary:n,rootBoundary:a,strategy:i}=e,l=[...n==="clippingAncestors"?Rd(t,this._c):[].concat(n),a],p=l[0],h=l.reduce((y,g)=>{let b=Xc(t,g,i);return y.top=ht(b.top,y.top),y.right=Sr(b.right,y.right),y.bottom=Sr(b.bottom,y.bottom),y.left=ht(b.left,y.left),y},Xc(t,p,i));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Id(e){return Qc(e)}function Ld(e,t,n){let a=Fe(t),i=tt(t),c=n==="fixed",l=wr(e,!0,c,t),p={scrollLeft:0,scrollTop:0},h=Qe(0);if(a||!a&&!c)if((et(t)!=="body"||Qt(i))&&(p=Er(t)),a){let y=wr(t,!0,c,t);h.x=y.x+t.clientLeft,h.y=y.y+t.clientTop}else i&&(h.x=rl(i));return{x:l.left+p.scrollLeft-h.x,y:l.top+p.scrollTop-h.y,width:l.width,height:l.height}}function Jc(e,t){return!Fe(e)||Re(e).position==="fixed"?null:t?t(e):e.offsetParent}function nl(e,t){let n=ve(e);if(!Fe(e))return n;let a=Jc(e,t);for(;a&&jc(a)&&Re(a).position==="static";)a=Jc(a,t);return a&&(et(a)==="html"||et(a)==="body"&&Re(a).position==="static"&&!wo(a))?n:a||qc(e)||n}var Pd=async function(e){let{reference:t,floating:n,strategy:a}=e,i=this.getOffsetParent||nl,c=this.getDimensions;return{reference:Ld(t,await i(n),a),floating:{x:0,y:0,...await c(n)}}};function kd(e){return Re(e).direction==="rtl"}var Ro={convertOffsetParentRelativeRectToViewportRelativeRect:Od,getDocumentElement:tt,getClippingRect:Ad,getOffsetParent:nl,getElementRects:Pd,getClientRects:Cd,getDimensions:Id,getScale:er,isElement:Ke,isRTL:kd};var al=(e,t,n)=>{let a=new Map,i={platform:Ro,...n},c={...i.platform,_c:a};return Kc(e,t,{...i,platform:c})};function il(e){return Td(e)}function Qn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Td(e){for(let t=e;t;t=Qn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Qn(e);t;t=Qn(t)){if(!(t instanceof Element))continue;let n=getComputedStyle(t);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Ao(e,t,n){return al(e,t,{platform:{...Ro,getOffsetParent:a=>Ro.getOffsetParent(a,il)},middleware:[Jn({crossAxis:!0}),Xn({allowedPlacements:[n]})]})}var Se=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},j=class extends Nr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Nr.Debouncer,this.revealDebouncer=new Nr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return cl.html`
165
+ `;var js=["top","right","bottom","left"],Vs=["start","end"],qn=js.reduce((e,t)=>e.concat(t,t+"-"+Vs[0],t+"-"+Vs[1]),[]),Or=Math.min,ht=Math.max,Cr=Math.round;var et=e=>({x:e,y:e}),vd={left:"right",right:"left",bottom:"top",top:"bottom"},Sd={start:"end",end:"start"};function Yn(e,t,o){return ht(e,Or(t,o))}function Eo(e,t){return typeof e=="function"?e(t):e}function Jt(e){return e.split("-")[0]}function mt(e){return e.split("-")[1]}function Xn(e){return e==="x"?"y":"x"}function Jn(e){return e==="y"?"height":"width"}function wo(e){return["top","bottom"].includes(Jt(e))?"y":"x"}function Qn(e){return Xn(wo(e))}function Gs(e,t,o){o===void 0&&(o=!1);let n=mt(e),i=Qn(e),a=Jn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Zn(s)),[s,Zn(s)]}function Ks(e){return e.replace(/start|end/g,t=>Sd[t])}function Zn(e){return e.replace(/left|right|bottom|top/g,t=>vd[t])}function Od(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zs(e){return typeof e!="number"?Od(e):{top:e,right:e,bottom:e,left:e}}function Rt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function qs(e,t,o){let{reference:n,floating:i}=e,a=wo(t),s=Qn(t),c=Jn(s),p=Jt(t),u=a==="y",f=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,x;switch(p){case"top":x={x:f,y:n.y-i.height};break;case"bottom":x={x:f,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:m};break;case"left":x={x:n.x-i.width,y:m};break;default:x={x:n.x,y:n.y}}switch(mt(t)){case"start":x[s]-=y*(o&&u?-1:1);break;case"end":x[s]+=y*(o&&u?-1:1);break}return x}var Ys=async(e,t,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(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:m}=qs(u,n,p),y=n,x={},b=0;for(let S=0;S<c.length;S++){let{name:R,fn:w}=c[S],{x:A,y:_,data:T,reset:W}=await w({x:f,y:m,initialPlacement:n,placement:y,strategy:i,middlewareData:x,rects:u,platform:s,elements:{reference:e,floating:t}});if(f=A??f,m=_??m,x={...x,[R]:{...x[R],...T}},W&&b<=50){b++,typeof W=="object"&&(W.placement&&(y=W.placement),W.rects&&(u=W.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):W.rects),{x:f,y:m}=qs(u,y,p)),S=-1;continue}}return{x:f,y:m,placement:y,strategy:i,middlewareData:x}};async function ei(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:p}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:y=!1,padding:x=0}=Eo(t,e),b=Zs(x),R=c[y?m==="floating"?"reference":"floating":m],w=Rt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(R)))==null||o?R:R.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:p})),A=m==="floating"?{...s.floating,x:n,y:i}:s.reference,_=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),T=await(a.isElement==null?void 0:a.isElement(_))?await(a.getScale==null?void 0:a.getScale(_))||{x:1,y:1}:{x:1,y:1},W=Rt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:_,strategy:p}):A);return{top:(w.top-W.top+b.top)/T.y,bottom:(W.bottom-w.bottom+b.bottom)/T.y,left:(w.left-W.left+b.left)/T.x,right:(W.right-w.right+b.right)/T.x}}function Cd(e,t,o){return(e?[...o.filter(i=>mt(i)===e),...o.filter(i=>mt(i)!==e)]:o.filter(i=>Jt(i)===i)).filter(i=>e?mt(i)===e||(t?Ks(i)!==i:!1):!0)}var ti=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:p,elements:u}=t,{crossAxis:f=!1,alignment:m,allowedPlacements:y=qn,autoAlignment:x=!0,...b}=Eo(e,t),S=m!==void 0||y===qn?Cd(m||null,x,y):y,R=await ei(t,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[w];if(A==null)return{};let _=Gs(A,a,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(c!==A)return{reset:{placement:S[0]}};let T=[R[Jt(A)],R[_[0]],R[_[1]]],W=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:T}],xe=S[w+1];if(xe)return{data:{index:w+1,overflows:W},reset:{placement:xe}};let oe=W.map(h=>{let v=mt(h.placement);return[h.placement,v&&f?h.overflows.slice(0,2).reduce((N,V)=>N+V,0):h.overflows[0],h.overflows]}).sort((h,v)=>h[1]-v[1]),_e=((i=oe.filter(h=>h[2].slice(0,mt(h[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||oe[0][0];return _e!==c?{data:{index:w+1,overflows:W},reset:{placement:_e}}:{}}}};var ri=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:R=>{let{x:w,y:A}=R;return{x:w,y:A}}},...p}=Eo(e,t),u={x:o,y:n},f=await ei(t,p),m=wo(Jt(i)),y=Xn(m),x=u[y],b=u[m];if(a){let R=y==="y"?"top":"left",w=y==="y"?"bottom":"right",A=x+f[R],_=x-f[w];x=Yn(A,x,_)}if(s){let R=m==="y"?"top":"left",w=m==="y"?"bottom":"right",A=b+f[R],_=b-f[w];b=Yn(A,b,_)}let S=c.fn({...t,[y]:x,[m]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function tt(e){return Js(e)?(e.nodeName||"").toLowerCase():"#document"}function ve(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function rt(e){var t;return(t=(Js(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Js(e){return e instanceof Node||e instanceof ve(e).Node}function Ke(e){return e instanceof Element||e instanceof ve(e).Element}function Fe(e){return e instanceof HTMLElement||e instanceof ve(e).HTMLElement}function Xs(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ve(e).ShadowRoot}function Qt(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=Re(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Qs(e){return["table","td","th"].includes(tt(e))}function Ro(e){let t=No(),o=Re(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function el(e){let t=Nt(e);for(;Fe(t)&&!Er(t);){if(Ro(t))return t;t=Nt(t)}return null}function No(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Er(e){return["html","body","#document"].includes(tt(e))}function Re(e){return ve(e).getComputedStyle(e)}function wr(e){return Ke(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nt(e){if(tt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Xs(e)&&e.host||rt(e);return Xs(t)?t.host:t}function tl(e){let t=Nt(e);return Er(t)?e.ownerDocument?e.ownerDocument.body:e.body:Fe(t)&&Qt(t)?t:tl(t)}function Ao(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=tl(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ve(i);return a?t.concat(s,s.visualViewport||[],Qt(i)?i:[],s.frameElement&&o?Ao(s.frameElement):[]):t.concat(i,Ao(i,[],o))}function nl(e){let t=Re(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Fe(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,c=Cr(o)!==a||Cr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function il(e){return Ke(e)?e:e.contextElement}function er(e){let t=il(e);if(!Fe(t))return et(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=nl(t),s=(a?Cr(o.width):o.width)/n,c=(a?Cr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Ed=et(0);function al(e){let t=ve(e);return!No()||!t.visualViewport?Ed:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wd(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ve(e)?!1:t}function Ar(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=il(e),s=et(1);t&&(n?Ke(n)&&(s=er(n)):s=er(e));let c=wd(a,o,n)?al(a):et(0),p=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,f=i.width/s.x,m=i.height/s.y;if(a){let y=ve(a),x=n&&Ke(n)?ve(n):n,b=y.frameElement;for(;b&&n&&x!==y;){let S=er(b),R=b.getBoundingClientRect(),w=Re(b),A=R.left+(b.clientLeft+parseFloat(w.paddingLeft))*S.x,_=R.top+(b.clientTop+parseFloat(w.paddingTop))*S.y;p*=S.x,u*=S.y,f*=S.x,m*=S.y,p+=A,u+=_,b=ve(b).frameElement}}return Rt({width:f,height:m,x:p,y:u})}function Ad(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Fe(o),a=rt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},c=et(1),p=et(0);if((i||!i&&n!=="fixed")&&((tt(o)!=="body"||Qt(a))&&(s=wr(o)),Fe(o))){let u=Ar(o);c=er(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+p.x,y:t.y*c.y-s.scrollTop*c.y+p.y}}function Rd(e){return Array.from(e.getClientRects())}function sl(e){return Ar(rt(e)).left+wr(e).scrollLeft}function Nd(e){let t=rt(e),o=wr(e),n=e.ownerDocument.body,i=ht(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=ht(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+sl(e),c=-o.scrollTop;return Re(n).direction==="rtl"&&(s+=ht(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Id(e,t){let o=ve(e),n=rt(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,p=0;if(i){a=i.width,s=i.height;let u=No();(!u||u&&t==="fixed")&&(c=i.offsetLeft,p=i.offsetTop)}return{width:a,height:s,x:c,y:p}}function Pd(e,t){let o=Ar(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Fe(e)?er(e):et(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,p=i*a.x,u=n*a.y;return{width:s,height:c,x:p,y:u}}function rl(e,t,o){let n;if(t==="viewport")n=Id(e,o);else if(t==="document")n=Nd(rt(e));else if(Ke(t))n=Pd(t,o);else{let i=al(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return Rt(n)}function ll(e,t){let o=Nt(e);return o===t||!Ke(o)||Er(o)?!1:Re(o).position==="fixed"||ll(o,t)}function Ld(e,t){let o=t.get(e);if(o)return o;let n=Ao(e,[],!1).filter(c=>Ke(c)&&tt(c)!=="body"),i=null,a=Re(e).position==="fixed",s=a?Nt(e):e;for(;Ke(s)&&!Er(s);){let c=Re(s),p=Ro(s);!p&&c.position==="fixed"&&(i=null),(a?!p&&!i:!p&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Qt(s)&&!p&&ll(e,s))?n=n.filter(f=>f!==s):i=c,s=Nt(s)}return t.set(e,n),n}function Td(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Ld(t,this._c):[].concat(o),n],c=s[0],p=s.reduce((u,f)=>{let m=rl(t,f,i);return u.top=ht(m.top,u.top),u.right=Or(m.right,u.right),u.bottom=Or(m.bottom,u.bottom),u.left=ht(m.left,u.left),u},rl(t,c,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function _d(e){return nl(e)}function kd(e,t,o){let n=Fe(t),i=rt(t),a=o==="fixed",s=Ar(e,!0,a,t),c={scrollLeft:0,scrollTop:0},p=et(0);if(n||!n&&!a)if((tt(t)!=="body"||Qt(i))&&(c=wr(t)),n){let u=Ar(t,!0,a,t);p.x=u.x+t.clientLeft,p.y=u.y+t.clientTop}else i&&(p.x=sl(i));return{x:s.left+c.scrollLeft-p.x,y:s.top+c.scrollTop-p.y,width:s.width,height:s.height}}function ol(e,t){return!Fe(e)||Re(e).position==="fixed"?null:t?t(e):e.offsetParent}function cl(e,t){let o=ve(e);if(!Fe(e))return o;let n=ol(e,t);for(;n&&Qs(n)&&Re(n).position==="static";)n=ol(n,t);return n&&(tt(n)==="html"||tt(n)==="body"&&Re(n).position==="static"&&!Ro(n))?o:n||el(e)||o}var Dd=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||cl,a=this.getDimensions;return{reference:kd(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Md(e){return Re(e).direction==="rtl"}var Io={convertOffsetParentRelativeRectToViewportRelativeRect:Ad,getDocumentElement:rt,getClippingRect:Td,getOffsetParent:cl,getElementRects:Dd,getClientRects:Rd,getDimensions:_d,getScale:er,isElement:Ke,isRTL:Md};var dl=(e,t,o)=>{let n=new Map,i={platform:Io,...o},a={...i.platform,_c:n};return Ys(e,t,{...i,platform:a})};function pl(e){return $d(e)}function oi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function $d(e){for(let t=e;t;t=oi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=oi(e);t;t=oi(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Po(e,t,o){return dl(e,t,{platform:{...Io,getOffsetParent:n=>Io.getOffsetParent(n,pl)},middleware:[ri({crossAxis:!0}),ti({allowedPlacements:[o]})]})}var Se=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},G=class extends Rr.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Rr.Debouncer,this.revealDebouncer=new Rr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ul.html`
166
166
  <div part="container"
167
167
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
168
168
  @mouseenter=${this.onHover}
@@ -180,7 +180,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
180
180
  </div>
181
181
  </div>
182
182
  </div>
183
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(n=>t.has(n))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ao(this.slottedElement,this.tooltip,this.position).then(({x:t,y:n})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${n}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,n){return Math.max(t,Math.min(0,-n))}};j.elementDefinitions={"ft-typography":se};j.styles=Bc;Se([(0,ie.property)()],j.prototype,"text",void 0);Se([(0,ie.property)({type:Boolean})],j.prototype,"manual",void 0);Se([(0,ie.property)({type:Boolean})],j.prototype,"inline",void 0);Se([(0,ie.property)({type:Number})],j.prototype,"delay",void 0);Se([(0,ie.property)()],j.prototype,"position",void 0);Se([(0,ie.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);Se([(0,ie.query)(".ft-tooltip--container")],j.prototype,"container",void 0);Se([(0,ie.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);Se([(0,ie.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);Se([(0,ie.state)()],j.prototype,"visible",void 0);Se([(0,ie.eventOptions)({passive:!0})],j.prototype,"onTouch",null);Se([(0,ie.eventOptions)({passive:!0})],j.prototype,"onHover",null);Se([(0,ie.eventOptions)({passive:!0})],j.prototype,"onOut",null);Se([(0,ie.eventOptions)({passive:!0})],j.prototype,"onClick",null);(0,ll.customElement)("ft-tooltip")(j);var jl=v(T());var To=v(M()),ge=v(X()),Vl=v(Rr()),Wo=v(T());var xl=v(T());var ml=v(M()),de=v(X()),bl=v(Rr()),Ar=v(T());var yl=v(M()),te=v(T()),dl=te.FtCssVariableFactory.extend("--ft-ripple-color","",te.designSystemVariables.colorContent),z={color:dl,backgroundColor:te.FtCssVariableFactory.extend("--ft-ripple-background-color","",dl),opacityContentOnSurfacePressed:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:te.FtCssVariableFactory.external(te.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:te.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},pl=te.FtCssVariableFactory.extend("--ft-ripple-color","",te.designSystemVariables.colorPrimary),fl={color:pl,backgroundColor:te.FtCssVariableFactory.extend("--ft-ripple-background-color","",pl)},ul=te.FtCssVariableFactory.extend("--ft-ripple-color","",te.designSystemVariables.colorSecondary),hl={color:ul,backgroundColor:te.FtCssVariableFactory.extend("--ft-ripple-background-color","",ul)},gl=yl.css`
183
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Po(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}};G.elementDefinitions={"ft-typography":ie};G.styles=Hs;Se([(0,ae.property)()],G.prototype,"text",void 0);Se([(0,ae.property)({type:Boolean})],G.prototype,"manual",void 0);Se([(0,ae.property)({type:Boolean})],G.prototype,"inline",void 0);Se([(0,ae.property)({type:Number})],G.prototype,"delay",void 0);Se([(0,ae.property)()],G.prototype,"position",void 0);Se([(0,ae.queryAssignedNodes)()],G.prototype,"slotNodes",void 0);Se([(0,ae.query)(".ft-tooltip--container")],G.prototype,"container",void 0);Se([(0,ae.query)(".ft-tooltip")],G.prototype,"tooltip",void 0);Se([(0,ae.query)(".ft-tooltip--content")],G.prototype,"tooltipContent",void 0);Se([(0,ae.state)()],G.prototype,"visible",void 0);Se([(0,ae.eventOptions)({passive:!0})],G.prototype,"onTouch",null);Se([(0,ae.eventOptions)({passive:!0})],G.prototype,"onHover",null);Se([(0,ae.eventOptions)({passive:!0})],G.prototype,"onOut",null);Se([(0,ae.eventOptions)({passive:!0})],G.prototype,"onClick",null);(0,fl.customElement)("ft-tooltip")(G);var ci=g(I());var Mo=g(B()),ye=g(Z()),ql=g(tr()),Uo=g(I());var El=g(I());var Ol=g(B()),de=g(Z()),Cl=g(tr()),Nr=g(I());var vl=g(B()),Q=g(I()),ml=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorContent),$={color:ml,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",ml),opacityContentOnSurfacePressed:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Q.FtCssVariableFactory.external(Q.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Q.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},yl=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorPrimary),gl={color:yl,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",yl)},bl=Q.FtCssVariableFactory.extend("--ft-ripple-color","",Q.designSystemVariables.colorSecondary),xl={color:bl,backgroundColor:Q.FtCssVariableFactory.extend("--ft-ripple-background-color","",bl)},Sl=vl.css`
184
184
  :host {
185
185
  display: contents;
186
186
  }
@@ -193,7 +193,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
193
193
 
194
194
  .ft-ripple:not(.ft-ripple--unbounded) {
195
195
  overflow: hidden;
196
- border-radius: ${z.borderRadius};
196
+ border-radius: ${$.borderRadius};
197
197
  }
198
198
 
199
199
  .ft-ripple .ft-ripple--background,
@@ -227,27 +227,27 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
227
227
  }
228
228
 
229
229
  .ft-ripple .ft-ripple--background {
230
- background-color: ${z.backgroundColor};
230
+ background-color: ${$.backgroundColor};
231
231
  }
232
232
 
233
233
  .ft-ripple .ft-ripple--effect {
234
- background-color: ${z.color};
234
+ background-color: ${$.color};
235
235
  }
236
236
 
237
237
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
238
- background-color: ${hl.backgroundColor};
238
+ background-color: ${xl.backgroundColor};
239
239
  }
240
240
 
241
241
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
242
- background-color: ${hl.color};
242
+ background-color: ${xl.color};
243
243
  }
244
244
 
245
245
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
246
- background-color: ${fl.backgroundColor};
246
+ background-color: ${gl.backgroundColor};
247
247
  }
248
248
 
249
249
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
250
- background-color: ${fl.color};
250
+ background-color: ${gl.color};
251
251
  }
252
252
 
253
253
  .ft-ripple .ft-ripple--background {
@@ -277,33 +277,33 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
277
277
  }
278
278
 
279
279
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
280
- opacity: ${z.opacityContentOnSurfaceHover};
280
+ opacity: ${$.opacityContentOnSurfaceHover};
281
281
  }
282
282
 
283
283
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
284
- opacity: ${z.opacityContentOnSurfaceSelected};
284
+ opacity: ${$.opacityContentOnSurfaceSelected};
285
285
  }
286
286
 
287
287
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
288
- opacity: ${z.opacityContentOnSurfaceFocused};
288
+ opacity: ${$.opacityContentOnSurfaceFocused};
289
289
  }
290
290
 
291
291
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
292
- opacity: ${z.opacityContentOnSurfacePressed};
292
+ opacity: ${$.opacityContentOnSurfacePressed};
293
293
  transform: translate(-50%, -50%) scale(1);
294
294
  }
295
- `;var Oe=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},K=class extends Ar.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 Ar.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ar.Debouncer(10),this.moveRipple=t=>{var n,a;let{x:i,y:c}=this.getCoordinates(t),l=(a=(n=this.ripple)===null||n===void 0?void 0:n.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(c!=null?c-l.y:l.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ml.html`
295
+ `;var Oe=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},H=class extends Nr.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 Nr.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Nr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Ol.html`
296
296
  <style>
297
297
  .ft-ripple .ft-ripple--effect {
298
298
  left: ${this.originX}px;
299
299
  top: ${this.originY}px;
300
300
  }
301
301
  </style>
302
- <div class="${(0,bl.classMap)(t)}">
302
+ <div class="${(0,Cl.classMap)(t)}">
303
303
  <div class="ft-ripple--background"></div>
304
304
  <div class="ft-ripple--effect"></div>
305
305
  </div>
306
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var n,a;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,n;let a=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;a&&this.setupFor((n=this.target)!==null&&n!==void 0?n:a)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let n=(...p)=>h=>{p.forEach(y=>window.addEventListener(y,this.endPress,{once:!0})),this.startPress(h)},a=n("mouseup","contextmenu"),i=n("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&n("keyup")(p)},l={passive:!0};t.addEventListener("mouseover",this.startHover,l),t.addEventListener("mousemove",this.moveRipple,l),t.addEventListener("mouseleave",this.endHover,l),t.addEventListener("mousedown",a,l),t.addEventListener("touchstart",i,l),t.addEventListener("touchmove",this.moveRipple,l),t.addEventListener("keydown",c,l),t.addEventListener("focus",this.startFocus,l),t.addEventListener("blur",this.endFocus,l),t.addEventListener("focusin",this.startFocus,l),t.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,l),t.removeEventListener("mousemove",this.moveRipple,l),t.removeEventListener("mouseleave",this.endHover,l),t.removeEventListener("mousedown",a,l),t.removeEventListener("touchstart",i,l),t.removeEventListener("touchmove",this.moveRipple,l),t.removeEventListener("keydown",c,l),t.removeEventListener("focus",this.startFocus,l),t.removeEventListener("blur",this.endFocus,l),t.removeEventListener("focusin",this.startFocus,l),t.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let n=t,a=t,i,c;return n.x!=null?{x:i,y:c}=n:a.touches!=null&&(i=a.touches[0].clientX,c=a.touches[0].clientY),{x:i,y:c}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let n of t.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=gl;Oe([(0,de.property)({type:Boolean})],K.prototype,"primary",void 0);Oe([(0,de.property)({type:Boolean})],K.prototype,"secondary",void 0);Oe([(0,de.property)({type:Boolean})],K.prototype,"unbounded",void 0);Oe([(0,de.property)({type:Boolean})],K.prototype,"activated",void 0);Oe([(0,de.property)({type:Boolean})],K.prototype,"selected",void 0);Oe([(0,de.property)({type:Boolean})],K.prototype,"disabled",void 0);Oe([(0,de.state)()],K.prototype,"hovered",void 0);Oe([(0,de.state)()],K.prototype,"focused",void 0);Oe([(0,de.state)()],K.prototype,"pressed",void 0);Oe([(0,de.state)()],K.prototype,"rippling",void 0);Oe([(0,de.state)()],K.prototype,"originX",void 0);Oe([(0,de.state)()],K.prototype,"originY",void 0);Oe([(0,de.query)(".ft-ripple")],K.prototype,"ripple",void 0);Oe([(0,de.query)(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);(0,xl.customElement)("ft-ripple")(K);var Nl=v(T());var Ir=v(M()),Pt=v(X()),El=v(T()),wl=v(Sl());var Io;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Io||(Io={}));var w;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(w||(w={}));var Mb=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var Fb={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var Ol=v(M()),rt=v(T()),fe={size:rt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:rt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:rt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:rt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",rt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:rt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Cl=Ol.css`
306
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>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};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};H.elementDefinitions={};H.styles=Sl;Oe([(0,de.property)({type:Boolean})],H.prototype,"primary",void 0);Oe([(0,de.property)({type:Boolean})],H.prototype,"secondary",void 0);Oe([(0,de.property)({type:Boolean})],H.prototype,"unbounded",void 0);Oe([(0,de.property)({type:Boolean})],H.prototype,"activated",void 0);Oe([(0,de.property)({type:Boolean})],H.prototype,"selected",void 0);Oe([(0,de.property)({type:Boolean})],H.prototype,"disabled",void 0);Oe([(0,de.state)()],H.prototype,"hovered",void 0);Oe([(0,de.state)()],H.prototype,"focused",void 0);Oe([(0,de.state)()],H.prototype,"pressed",void 0);Oe([(0,de.state)()],H.prototype,"rippling",void 0);Oe([(0,de.state)()],H.prototype,"originX",void 0);Oe([(0,de.state)()],H.prototype,"originY",void 0);Oe([(0,de.query)(".ft-ripple")],H.prototype,"ripple",void 0);Oe([(0,de.query)(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);(0,El.customElement)("ft-ripple")(H);var Ll=g(I());var Ir=g(B()),It=g(Z()),Il=g(I()),Pl=g(Al());var rr;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(rr||(rr={}));var C;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(C||(C={}));var Fb=new Map([...["abw"].map(e=>[e,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,C.AUDIO]),...["avi"].map(e=>[e,C.AVI]),...["chm","xhs"].map(e=>[e,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,C.CODE]),...["csv"].map(e=>[e,C.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,C.DITA]),...["epub"].map(e=>[e,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,C.EXCEL]),...["flac"].map(e=>[e,C.FLAC]),...["gif"].map(e=>[e,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,C.GZIP]),...["html","htm","xhtml"].map(e=>[e,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,C.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,C.JPEG]),...["json"].map(e=>[e,C.JSON]),...["m4a","m4p"].map(e=>[e,C.M4A]),...["mov","qt"].map(e=>[e,C.MOV]),...["mp3"].map(e=>[e,C.MP3]),...["mp4","m4v"].map(e=>[e,C.MP4]),...["ogg","oga"].map(e=>[e,C.OGG]),...["pdf","ps"].map(e=>[e,C.PDF]),...["png"].map(e=>[e,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,C.POWERPOINT]),...["rar"].map(e=>[e,C.RAR]),...["stp"].map(e=>[e,C.STP]),...["txt","rtf","md","mdown"].map(e=>[e,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,C.VIDEO]),...["wav"].map(e=>[e,C.WAV]),...["wma"].map(e=>[e,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,C.WORD]),...["xml","xsl","rdf"].map(e=>[e,C.XML]),...["yaml","yml","x-yaml"].map(e=>[e,C.YAML]),...["zip"].map(e=>[e,C.ZIP])]);var Hb={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var Rl=g(B()),ot=g(I()),ee={size:ot.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ot.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ot.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ot.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ot.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ot.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Nl=Rl.css`
307
307
  :host, i.ft-icon {
308
308
  display: inline-flex;
309
309
  align-items: center;
@@ -312,14 +312,14 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
312
312
  }
313
313
 
314
314
  :host {
315
- width: ${fe.size};
316
- height: ${fe.size};
315
+ width: ${ee.size};
316
+ height: ${ee.size};
317
317
  }
318
318
 
319
319
  i.ft-icon {
320
320
  width: 100%;
321
321
  height: 100%;
322
- font-size: ${fe.size};
322
+ font-size: ${ee.size};
323
323
  line-height: 1;
324
324
  font-weight: normal;
325
325
  text-transform: none;
@@ -330,33 +330,33 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
330
330
  text-rendering: auto;
331
331
  -webkit-font-smoothing: antialiased;
332
332
  -moz-osx-font-smoothing: grayscale;
333
- vertical-align: ${fe.verticalAlign};
333
+ vertical-align: ${ee.verticalAlign};
334
334
  }
335
335
 
336
336
  i.ft-icon.ft-icon--fluid-topics {
337
- font-family: ${fe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
337
+ font-family: ${ee.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
338
338
 
339
339
  /* Ugly fix because font is broken */
340
- font-size: calc(0.75 * ${fe.size});
341
- line-height: ${fe.size};
340
+ font-size: calc(0.75 * ${ee.size});
341
+ line-height: ${ee.size};
342
342
  position: relative;
343
343
  top: -4%;
344
344
  justify-content: center;
345
345
  }
346
346
 
347
347
  .ft-icon--file-format {
348
- font-family: ${fe.fileFormatFontFamily}, ft-mime, sans-serif;
348
+ font-family: ${ee.fileFormatFontFamily}, ft-mime, sans-serif;
349
349
  }
350
350
 
351
351
  .ft-icon--material {
352
- font-family: ${fe.materialFontFamily}, "Material Icons", sans-serif;
352
+ font-family: ${ee.materialFontFamily}, "Material Icons", sans-serif;
353
353
  }
354
- `;var Ze;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ze||(Ze={}));var Lo=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ue=class extends El.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ir.nothing}render(){let t=this.variant&&Object.values(Ze).includes(this.variant)?this.variant:Ze.fluid_topics,n=t!==Ze.material||!!this.value;return Ir.html`
354
+ `;var Ce;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Ce||(Ce={}));var Lo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},le=class extends Il.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ir.nothing}render(){let t=this.variant&&Object.values(Ce).includes(this.variant)?this.variant:Ce.fluid_topics,o=t!==Ce.material||!!this.value;return Ir.html`
355
355
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
356
- ${(0,wl.unsafeHTML)(this.resolvedIcon)}
357
- <slot ?hidden=${n}></slot>
356
+ ${(0,Pl.unsafeHTML)(this.resolvedIcon)}
357
+ <slot ?hidden=${o}></slot>
358
358
  </i>
359
- `}get textContent(){var t,n;return(n=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&n!==void 0?n:""}update(t){super.update(t),["value","variant"].some(n=>t.has(n))&&this.resolveIcon()}resolveIcon(){var t,n;let a=this.value||this.textContent;switch(this.variant){case Ze.file_format:this.resolvedIcon=(t=w[a.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:a;break;case Ze.material:this.resolvedIcon=this.value||Ir.nothing;break;default:this.resolvedIcon=(n=Io[a.replace("-","_").toUpperCase()])!==null&&n!==void 0?n:a;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ue.elementDefinitions={};ue.styles=Cl;Lo([(0,Pt.property)()],ue.prototype,"variant",void 0);Lo([(0,Pt.property)()],ue.prototype,"value",void 0);Lo([(0,Pt.state)()],ue.prototype,"resolvedIcon",void 0);Lo([(0,Pt.query)("slot")],ue.prototype,"slottedContent",void 0);(0,Nl.customElement)("ft-icon")(ue);var ko=v(M()),B=v(T());var ta=v(T());var Pr=v(X()),_l=v(T());var Pl=v(M()),_=v(T());var Rl=v(M()),Lr=v(T()),Ce={color:Lr.FtCssVariableFactory.extend("--ft-loader-color","",Lr.designSystemVariables.colorPrimary),size:Lr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Al=Rl.css`
359
+ `}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Ce.file_format:this.resolvedIcon=(t=C[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Ce.material:this.resolvedIcon=this.value||Ir.nothing;break;default:this.resolvedIcon=(o=rr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};le.elementDefinitions={};le.styles=Nl;Lo([(0,It.property)()],le.prototype,"variant",void 0);Lo([(0,It.property)()],le.prototype,"value",void 0);Lo([(0,It.state)()],le.prototype,"resolvedIcon",void 0);Lo([(0,It.query)("slot")],le.prototype,"slottedContent",void 0);(0,Ll.customElement)("ft-icon")(le);var Do=g(B()),D=g(I());var ii=g(I());var Lr=g(Z()),Fl=g(I());var Ml=g(B()),k=g(I());var Tl=g(B()),Pr=g(I()),he={color:Pr.FtCssVariableFactory.extend("--ft-loader-color","",Pr.designSystemVariables.colorPrimary),size:Pr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},_l=Tl.css`
360
360
  :host {
361
361
  line-height: 0;
362
362
  }
@@ -365,8 +365,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
365
365
  display: inline-block;
366
366
  position: relative;
367
367
 
368
- width: ${Ce.size};
369
- height: ${Ce.size};
368
+ width: ${he.size};
369
+ height: ${he.size};
370
370
  }
371
371
 
372
372
  .ft-loader div {
@@ -375,7 +375,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
375
375
  width: 25%;
376
376
  height: 25%;
377
377
  border-radius: 50%;
378
- background: ${Ce.color};
378
+ background: ${he.color};
379
379
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
380
380
  }
381
381
 
@@ -422,10 +422,10 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
422
422
  transform: translate(0, 0);
423
423
  }
424
424
  100% {
425
- transform: translate(calc(0.35 * ${Ce.size}), 0);
425
+ transform: translate(calc(0.35 * ${he.size}), 0);
426
426
  }
427
427
  }
428
- `;var Il=_.FtCssVariableFactory.extend("--ft-button-color","",_.designSystemVariables.colorPrimary),Y={backgroundColor:_.FtCssVariableFactory.extend("--ft-button-background-color","",_.designSystemVariables.colorSurface),borderRadius:_.FtCssVariableFactory.extend("--ft-button-border-radius","",_.designSystemVariables.borderRadiusL),color:Il,fontSize:_.FtCssVariableFactory.extend("--ft-button-font-size","",Ge.fontSize),iconSize:_.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:_.FtCssVariableFactory.extend("--ft-button-ripple-color","",Il),verticalPadding:_.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:_.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:_.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:_.FtCssVariableFactory.external(_.designSystemVariables.colorOpacityDisabled,"Design system")},Ll=_.FtCssVariableFactory.extend("--ft-button-primary-color","",_.FtCssVariableFactory.extend("--ft-button-color","",_.designSystemVariables.colorOnPrimary)),ea={backgroundColor:_.FtCssVariableFactory.extend("--ft-button-primary-background-color","",_.FtCssVariableFactory.extend("--ft-button-background-color","",_.designSystemVariables.colorPrimary)),color:Ll,rippleColor:_.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ll)},Ve={borderRadius:_.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",_.FtCssVariableFactory.extend("--ft-button-border-radius","",_.designSystemVariables.borderRadiusM)),verticalPadding:_.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:_.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:_.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},kl=[Pl.css`
428
+ `;var kl=k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorPrimary),q={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorSurface),borderRadius:k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusL),color:kl,fontSize:k.FtCssVariableFactory.extend("--ft-button-font-size","",Ge.fontSize),iconSize:k.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:k.FtCssVariableFactory.extend("--ft-button-ripple-color","",kl),verticalPadding:k.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:k.FtCssVariableFactory.external(k.designSystemVariables.colorOpacityDisabled,"Design system")},Dl=k.FtCssVariableFactory.extend("--ft-button-primary-color","",k.FtCssVariableFactory.extend("--ft-button-color","",k.designSystemVariables.colorOnPrimary)),ni={backgroundColor:k.FtCssVariableFactory.extend("--ft-button-primary-background-color","",k.FtCssVariableFactory.extend("--ft-button-background-color","",k.designSystemVariables.colorPrimary)),color:Dl,rippleColor:k.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Dl)},Ze={borderRadius:k.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",k.FtCssVariableFactory.extend("--ft-button-border-radius","",k.designSystemVariables.borderRadiusM)),verticalPadding:k.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:k.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:k.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},$l=[Ml.css`
429
429
  :host {
430
430
  display: inline-block;
431
431
  max-width: 100%;
@@ -436,7 +436,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
436
436
  box-shadow: 0px 0px 0px transparent;
437
437
  border: 0px solid transparent;
438
438
  text-shadow: 0px 0px 0px transparent;
439
- font-size: ${Y.fontSize};
439
+ font-size: ${q.fontSize};
440
440
  }
441
441
 
442
442
  button:hover {
@@ -465,31 +465,31 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
465
465
  border: none;
466
466
  pointer-events: auto;
467
467
 
468
- --ft-button-internal-line-height: max(calc(${Y.fontSize} + 2px), ${Y.iconSize});
469
- --ft-button-internal-color: ${Y.color};
470
- ${(0,_.setVariable)(fe.size,Y.iconSize)};
471
- ${(0,_.setVariable)(z.color,Y.rippleColor)};
468
+ --ft-button-internal-line-height: max(calc(${q.fontSize} + 2px), ${q.iconSize});
469
+ --ft-button-internal-color: ${q.color};
470
+ ${(0,k.setVariable)(ee.size,q.iconSize)};
471
+ ${(0,k.setVariable)($.color,q.rippleColor)};
472
472
 
473
- border-radius: ${Y.borderRadius};
474
- padding: ${Y.verticalPadding} ${Y.horizontalPadding};
475
- background-color: ${Y.backgroundColor};
473
+ border-radius: ${q.borderRadius};
474
+ padding: ${q.verticalPadding} ${q.horizontalPadding};
475
+ background-color: ${q.backgroundColor};
476
476
  color: var(--ft-button-internal-color);
477
477
  -webkit-mask-image: radial-gradient(white, black);
478
478
  }
479
479
 
480
480
  .ft-button.ft-button--outlined {
481
481
  border: 1px solid var(--ft-button-internal-color);
482
- padding: calc(${Y.verticalPadding} - 1px) calc(${Y.horizontalPadding} - 1px);
482
+ padding: calc(${q.verticalPadding} - 1px) calc(${q.horizontalPadding} - 1px);
483
483
  }
484
484
 
485
485
  .ft-button.ft-button--dense {
486
- padding: ${Ve.verticalPadding} ${Ve.horizontalPadding};
487
- border-radius: ${Ve.borderRadius};
488
- gap: ${Ve.iconPadding};
486
+ padding: ${Ze.verticalPadding} ${Ze.horizontalPadding};
487
+ border-radius: ${Ze.borderRadius};
488
+ gap: ${Ze.iconPadding};
489
489
  }
490
490
 
491
491
  .ft-button.ft-button--dense.ft-button--outlined {
492
- padding: calc(${Ve.verticalPadding} - 1px) calc(${Ve.horizontalPadding} - 1px);
492
+ padding: calc(${Ze.verticalPadding} - 1px) calc(${Ze.horizontalPadding} - 1px);
493
493
  }
494
494
 
495
495
  .ft-button:not([disabled]):hover {
@@ -497,22 +497,22 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
497
497
  }
498
498
 
499
499
  .ft-button--round {
500
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Y.verticalPadding});
500
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${q.verticalPadding});
501
501
  }
502
502
 
503
503
  .ft-button--round.ft-button--dense {
504
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ve.verticalPadding});
504
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ze.verticalPadding});
505
505
  }
506
506
 
507
507
  .ft-button[disabled] {
508
508
  filter: grayscale(1);
509
- opacity: ${Y.opacityDisabled};
509
+ opacity: ${q.opacityDisabled};
510
510
  }
511
511
 
512
512
  .ft-button.ft-button--primary {
513
- background-color: ${ea.backgroundColor};
514
- --ft-button-internal-color: ${ea.color};
515
- ${(0,_.setVariable)(z.color,ea.rippleColor)};
513
+ background-color: ${ni.backgroundColor};
514
+ --ft-button-internal-color: ${ni.color};
515
+ ${(0,k.setVariable)($.color,ni.rippleColor)};
516
516
  }
517
517
 
518
518
  .ft-button:focus {
@@ -525,13 +525,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
525
525
  white-space: nowrap;
526
526
  text-overflow: ellipsis;
527
527
  display: block;
528
- margin: 0 ${Y.iconPadding};
529
- ${(0,_.setVariable)(Ge.fontSize,"1em")};
530
- ${(0,_.setVariable)(Ge.lineHeight,"var(--ft-button-internal-line-height)")};
528
+ margin: 0 ${q.iconPadding};
529
+ ${(0,k.setVariable)(Ge.fontSize,"1em")};
530
+ ${(0,k.setVariable)(Ge.lineHeight,"var(--ft-button-internal-line-height)")};
531
531
  }
532
532
 
533
533
  .ft-button--dense .ft-button--label {
534
- margin: 0 ${Ve.iconPadding};
534
+ margin: 0 ${Ze.iconPadding};
535
535
  }
536
536
 
537
537
  .ft-button--label[hidden] {
@@ -544,13 +544,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
544
544
  }
545
545
 
546
546
  .ft-button--label[hidden] + [part="icon"] {
547
- margin: 0 calc(${Y.horizontalPadding} * -1);
548
- padding: 0 ${Y.verticalPadding};
547
+ margin: 0 calc(${q.horizontalPadding} * -1);
548
+ padding: 0 ${q.verticalPadding};
549
549
  }
550
550
 
551
551
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
552
- margin: 0 calc(${Ve.horizontalPadding} * -1);
553
- padding: 0 ${Ve.verticalPadding};
552
+ margin: 0 calc(${Ze.horizontalPadding} * -1);
553
+ padding: 0 ${Ze.verticalPadding};
554
554
  }
555
555
 
556
556
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -558,44 +558,43 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
558
558
  }
559
559
 
560
560
  ft-loader {
561
- ${(0,_.setVariable)(Ce.size,Y.iconSize)};
562
- ${(0,_.setVariable)(Ce.color,"var(--ft-button-internal-color)")};
561
+ ${(0,k.setVariable)(he.size,q.iconSize)};
562
+ ${(0,k.setVariable)(he.color,"var(--ft-button-internal-color)")};
563
563
  }
564
- `,_.noTextSelect];var rr=v(T());var Wl=v(T());var Tl=v(M()),Ul=v(T());var kt=class extends Ul.FtLitElement{render(){return Tl.html`
564
+ `,k.noTextSelect];var nr=g(I());var Wl=g(I());var Ul=g(B()),Bl=g(I());var Pt=class extends Bl.FtLitElement{render(){return Ul.html`
565
565
  <div class="ft-loader">
566
566
  <div></div>
567
567
  <div></div>
568
568
  <div></div>
569
569
  <div></div>
570
570
  </div>
571
- `}};kt.styles=Al;(0,Wl.customElement)("ft-loader")(kt);var tr=v(M()),Dl=v(Rr()),ye=v(X()),Ae=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},re=class extends(0,rr.toFtFormComponent)(rr.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var n;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((n=this.form)===null||n===void 0||n.requestSubmit())})}render(){return this.addTooltipIfNeeded(tr.html`
571
+ `}};Pt.styles=_l;(0,Wl.customElement)("ft-loader")(Pt);var or=g(B()),zl=g(tr()),me=g(Z()),Ne=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},te=class extends(0,nr.toFtFormComponent)(nr.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(or.html`
572
572
  <button part="button"
573
- class="${(0,Dl.classMap)(this.buttonClasses)}"
573
+ class="${(0,zl.classMap)(this.buttonClasses)}"
574
574
  aria-label="${this.getLabel()}"
575
575
  ?disabled=${this.isDisabled()}>
576
576
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
577
577
  <ft-typography part="label"
578
578
  variant=${this.typographyVariant}
579
579
  element="span"
580
- class="ft-button--label ${rr.isSafari?"ft-safari-ellipsis-fix":""}"
580
+ class="ft-button--label ${nr.isSafari?"ft-safari-ellipsis-fix":""}"
581
581
  ?hidden=${!this.hasTextContent()}>
582
582
  <slot @slotchange=${this.onSlotchange}></slot>
583
583
  </ft-typography>
584
584
  ${this.resolveIcon()}
585
585
  </button>
586
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?tr.html`
586
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?or.html`
587
587
  <ft-tooltip part="tooltip"
588
588
  text="${this.getLabel()}"
589
589
  position="${this.tooltipPosition}">
590
590
  ${t}
591
591
  </ft-tooltip>
592
- `:t}resolveIcon(){return this.loading?tr.html`
593
- <ft-loader part="loader icon"></ft-loader> `:this.icon?tr.html`
592
+ `:t}resolveIcon(){return this.loading?or.html`
593
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?or.html`
594
594
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
595
- `:tr.html`
595
+ `:or.html`
596
596
  <slot part="icon" name="icon"></slot>
597
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(n=>this.unslotText(n)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};re.elementDefinitions={"ft-ripple":K,"ft-tooltip":j,"ft-typography":se,"ft-icon":ue,"ft-loader":kt};Ae([(0,ye.property)({type:String,reflect:!0})],re.prototype,"role",void 0);Ae([(0,ye.property)()],re.prototype,"type",void 0);Ae([(0,ye.property)({type:Boolean})],re.prototype,"disabled",void 0);Ae([(0,ye.property)()],re.prototype,"label",void 0);Ae([(0,ye.property)()],re.prototype,"icon",void 0);Ae([(0,ye.property)()],re.prototype,"iconVariant",void 0);Ae([(0,ye.property)({type:Boolean})],re.prototype,"trailingIcon",void 0);Ae([(0,ye.property)({type:Boolean})],re.prototype,"loading",void 0);Ae([(0,ye.property)()],re.prototype,"tooltipPosition",void 0);Ae([(0,ye.property)({type:Boolean})],re.prototype,"hideTooltip",void 0);Ae([(0,ye.property)({type:Boolean})],re.prototype,"forceTooltip",void 0);Ae([(0,ye.query)(".ft-button")],re.prototype,"button",void 0);Ae([(0,ye.query)(".ft-button--label slot")],re.prototype,"slottedContent",void 0);var Po=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Ie=class extends re{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ie.styles=[_l.safariEllipsisFix,kl];Po([(0,Pr.property)({type:Boolean})],Ie.prototype,"primary",void 0);Po([(0,Pr.property)({type:Boolean})],Ie.prototype,"outlined",void 0);Po([(0,Pr.property)({type:Boolean})],Ie.prototype,"dense",void 0);Po([(0,Pr.property)({type:Boolean})],Ie.prototype,"round",void 0);var or=v(X());var $l=v(T());var Ml=v(M()),F=v(T());var ot=v(M(),1),gt=e=>typeof e=="string"?(0,ot.unsafeCSS)(e):e,o=class{static create(t,n,a,i){let c=p=>gt(p??i),l=ot.css`var(${gt(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>ot.css`var(${gt(t)}, ${c(p)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(t,n,a,i){let c=p=>a.get(p??i),l=ot.css`var(${gt(t)}, ${c(i)})`;return l.name=t,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=p=>ot.css`var(${gt(t)}, ${c(p)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(t,n){let a=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):gt(c??t.lastResortDefaultValue()),i=ot.css`var(${gt(t.name)}, ${a(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>ot.css`var(${gt(t.name)}, ${a(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};var s={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wx={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Nx={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Rx={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ax={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ix={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Lx={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Px={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},kx={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Tx={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ux={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Wx={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Dx={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},_x={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Bx={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},zx={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mx={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Fx={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},$x={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Hx={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gx={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Kx={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zx={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Vx={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},jx={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},qx={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yx={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")};var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
598
- Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80)};var R={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:o.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",s.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",s.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",s.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",s.spacing2),smallGap:o.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",s.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",s.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",s.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",s.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",s.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",s.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",s.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",s.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",s.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",s.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",s.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",s.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",s.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",s.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",s.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",s.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",s.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",s.opacity40)};var l0={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:o.extend("--ft-chip-large-gap","",s.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",s.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",s.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",s.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",s.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",s.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:o.extend("--ft-chip-small-gap","",s.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",s.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",s.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var u0={focusOpacity:o.extend("--ft-link-focus-opacity","",s.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",u.contentInfoPrimary)};var b0={iconSize:o.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var C0={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)};var A0={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",s.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",s.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var T0={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",s.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",s.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",s.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",s.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",s.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",s.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var B0={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",s.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",s.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:o.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",s.borderRadiusM)};var H0={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:o.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",s.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",s.colorGray700)};var j0={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Q0={backgroundColor:o.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",s.borderRadiusM)};var nv={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var sv={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",s.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var hv={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusM)};var xv={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",s.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",s.shadowElevation02)};var Ev={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",s.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity16),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Iv={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Uv={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:o.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Bv={color1Light:o.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",s.colorRed40),color5Base:o.extend("--ft-chart-5-base","",s.colorRed60),color6Light:o.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",s.colorGray50),color10Base:o.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",s.colorBrand200)};var Hv={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:o.extend("--ft-notice-gap","",s.spacing2),iconSize:o.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var jv={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",s.spacing3)};var Qv={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",s.spacing3)};var nS={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",s.spacing3)};var sS={iconSize:o.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",s.spacing8)};var hS={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:o.extend("--ft-tooltip-shadow","",s.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",s.spacing05)};var Bl;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Bl||(Bl={}));var zl;(function(e){e.large="large",e.medium="medium",e.small="small"})(zl||(zl={}));var Fl=[Ml.css`
597
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(o=>this.unslotText(o)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};te.elementDefinitions={"ft-ripple":H,"ft-tooltip":G,"ft-typography":ie,"ft-icon":le,"ft-loader":Pt};Ne([(0,me.property)({type:String,reflect:!0})],te.prototype,"role",void 0);Ne([(0,me.property)()],te.prototype,"type",void 0);Ne([(0,me.property)({type:Boolean})],te.prototype,"disabled",void 0);Ne([(0,me.property)()],te.prototype,"label",void 0);Ne([(0,me.property)()],te.prototype,"icon",void 0);Ne([(0,me.property)()],te.prototype,"iconVariant",void 0);Ne([(0,me.property)({type:Boolean})],te.prototype,"trailingIcon",void 0);Ne([(0,me.property)({type:Boolean})],te.prototype,"loading",void 0);Ne([(0,me.property)()],te.prototype,"tooltipPosition",void 0);Ne([(0,me.property)({type:Boolean})],te.prototype,"hideTooltip",void 0);Ne([(0,me.property)({type:Boolean})],te.prototype,"forceTooltip",void 0);Ne([(0,me.query)(".ft-button")],te.prototype,"button",void 0);Ne([(0,me.query)(".ft-button--label slot")],te.prototype,"slottedContent",void 0);var To=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ie=class extends te{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};Ie.styles=[Fl.safariEllipsisFix,$l];To([(0,Lr.property)({type:Boolean})],Ie.prototype,"primary",void 0);To([(0,Lr.property)({type:Boolean})],Ie.prototype,"outlined",void 0);To([(0,Lr.property)({type:Boolean})],Ie.prototype,"dense",void 0);To([(0,Lr.property)({type:Boolean})],Ie.prototype,"round",void 0);var Tr=g(Z());var ko=g(I());var Hl=g(B()),U=g(I());var Vl=[Hl.css`
599
598
  :host {
600
599
  display: inline-block;
601
600
  max-width: 100%;
@@ -645,7 +644,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
645
644
  }
646
645
 
647
646
  .ft-button:focus-visible {
648
- outline-color: ${R.focusFocusRingColor};
647
+ outline-color: ${O.focusFocusRingColor};
649
648
  outline-style: solid;
650
649
  }
651
650
 
@@ -671,149 +670,175 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
671
670
  display: none;
672
671
  }
673
672
 
673
+ .ft-button.ft-button--icon-only {
674
+ padding: unset;
675
+ border-radius: 50%;
676
+ }
677
+
674
678
  /** Primary styles **/
675
679
 
676
680
  .ft-button--primary {
677
- ${(0,F.setVariable)(Ce.color,R.primaryIconColor)};
681
+ ${(0,U.setVariable)(he.color,O.primaryIconColor)};
678
682
 
679
- ${(0,F.setVariable)(z.color,R.primaryStateLayerColor)};
680
- ${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.primaryHoverStateLayerOpacity)};
681
- ${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.primaryFocusStateLayerOpacity)};
682
- ${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.primaryActiveStateLayerOpacity)};
683
- ${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.primaryActiveStateLayerOpacity)};
683
+ ${(0,U.setVariable)($.color,O.primaryStateLayerColor)};
684
+ ${(0,U.setVariable)($.opacityContentOnSurfaceHover,O.primaryHoverStateLayerOpacity)};
685
+ ${(0,U.setVariable)($.opacityContentOnSurfaceFocused,O.primaryFocusStateLayerOpacity)};
686
+ ${(0,U.setVariable)($.opacityContentOnSurfaceSelected,O.primaryActiveStateLayerOpacity)};
687
+ ${(0,U.setVariable)($.opacityContentOnSurfacePressed,O.primaryActiveStateLayerOpacity)};
684
688
 
685
- background-color: ${R.primaryBackgroundColor};
686
- color: ${R.primaryColor};
689
+ background-color: ${O.primaryBackgroundColor};
690
+ color: ${O.primaryColor};
687
691
  border-style: none;
688
692
  }
689
693
 
690
694
  .ft-button--primary[disabled] {
691
- opacity: ${R.primaryDisabledComponentOpacity};
695
+ opacity: ${O.primaryDisabledComponentOpacity};
692
696
  }
693
697
 
694
698
  .ft-button--primary ft-icon {
695
- color: ${R.primaryIconColor};
699
+ color: ${O.primaryIconColor};
696
700
  }
697
701
 
698
702
  /** Secondary styles **/
699
703
 
700
704
  .ft-button--secondary {
701
- ${(0,F.setVariable)(Ce.color,R.secondaryIconColor)};
705
+ ${(0,U.setVariable)(he.color,O.secondaryIconColor)};
702
706
 
703
- ${(0,F.setVariable)(z.color,R.secondaryStateLayerColor)};
704
- ${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.secondaryHoverStateLayerOpacity)};
705
- ${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.secondaryFocusStateLayerOpacity)};
706
- ${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.secondaryActiveStateLayerOpacity)};
707
- ${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.secondaryActiveStateLayerOpacity)};
707
+ ${(0,U.setVariable)($.color,O.secondaryStateLayerColor)};
708
+ ${(0,U.setVariable)($.opacityContentOnSurfaceHover,O.secondaryHoverStateLayerOpacity)};
709
+ ${(0,U.setVariable)($.opacityContentOnSurfaceFocused,O.secondaryFocusStateLayerOpacity)};
710
+ ${(0,U.setVariable)($.opacityContentOnSurfaceSelected,O.secondaryActiveStateLayerOpacity)};
711
+ ${(0,U.setVariable)($.opacityContentOnSurfacePressed,O.secondaryActiveStateLayerOpacity)};
708
712
 
709
- background-color: ${R.secondaryBackgroundColor};
710
- color: ${R.secondaryColor};
711
- border-color: ${R.secondaryBorderColor};
713
+ background-color: ${O.secondaryBackgroundColor};
714
+ color: ${O.secondaryColor};
715
+ border-color: ${O.secondaryBorderColor};
712
716
  border-style: solid;
713
717
  }
714
718
 
715
719
  .ft-button--secondary[disabled] {
716
- opacity: ${R.secondaryDisabledComponentOpacity};
720
+ opacity: ${O.secondaryDisabledComponentOpacity};
717
721
  }
718
722
 
719
723
  .ft-button--secondary ft-icon {
720
- color: ${R.secondaryIconColor};
724
+ color: ${O.secondaryIconColor};
721
725
  }
722
726
 
723
727
  /** Tertiary styles **/
724
728
 
725
729
  .ft-button--tertiary {
726
- ${(0,F.setVariable)(Ce.color,R.tertiaryIconColor)};
730
+ ${(0,U.setVariable)(he.color,O.tertiaryIconColor)};
727
731
 
728
- ${(0,F.setVariable)(z.color,R.tertiaryStateLayerColor)};
729
- ${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.tertiaryHoverStateLayerOpacity)};
730
- ${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.tertiaryFocusStateLayerOpacity)};
731
- ${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.tertiaryActiveStateLayerOpacity)};
732
- ${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.tertiaryActiveStateLayerOpacity)};
732
+ ${(0,U.setVariable)($.color,O.tertiaryStateLayerColor)};
733
+ ${(0,U.setVariable)($.opacityContentOnSurfaceHover,O.tertiaryHoverStateLayerOpacity)};
734
+ ${(0,U.setVariable)($.opacityContentOnSurfaceFocused,O.tertiaryFocusStateLayerOpacity)};
735
+ ${(0,U.setVariable)($.opacityContentOnSurfaceSelected,O.tertiaryActiveStateLayerOpacity)};
736
+ ${(0,U.setVariable)($.opacityContentOnSurfacePressed,O.tertiaryActiveStateLayerOpacity)};
733
737
 
734
- background-color: ${R.tertiaryBackgroundColor};
735
- color: ${R.tertiaryColor};
738
+ background-color: ${O.tertiaryBackgroundColor};
739
+ color: ${O.tertiaryColor};
736
740
  border-style: none;
737
741
  }
738
742
 
739
743
  .ft-button--tertiary[disabled] {
740
- opacity: ${R.tertiaryDisabledComponentOpacity};
744
+ opacity: ${O.tertiaryDisabledComponentOpacity};
741
745
  }
742
746
 
743
747
  .ft-button--tertiary ft-icon {
744
- color: ${R.tertiaryIconColor};
748
+ color: ${O.tertiaryIconColor};
745
749
  }
746
750
 
747
751
  /** Neutral styles **/
748
752
 
749
- .ft-button--neutral {
750
- ${(0,F.setVariable)(Ce.color,R.neutralIconColor)};
753
+ .ftds--family-neutral {
754
+ ${(0,U.setVariable)(he.color,O.neutralIconColor)};
751
755
 
752
- ${(0,F.setVariable)(z.backgroundColor,R.neutralStateLayerColor)};
753
- ${(0,F.setVariable)(z.opacityContentOnSurfaceHover,R.neutralHoverStateLayerOpacity)};
754
- ${(0,F.setVariable)(z.opacityContentOnSurfaceFocused,R.neutralFocusStateLayerOpacity)};
755
- ${(0,F.setVariable)(z.opacityContentOnSurfaceSelected,R.neutralActiveStateLayerOpacity)};
756
- ${(0,F.setVariable)(z.opacityContentOnSurfacePressed,R.neutralActiveStateLayerOpacity)};
756
+ ${(0,U.setVariable)($.backgroundColor,O.neutralStateLayerColor)};
757
+ ${(0,U.setVariable)($.opacityContentOnSurfaceHover,O.neutralHoverStateLayerOpacity)};
758
+ ${(0,U.setVariable)($.opacityContentOnSurfaceFocused,O.neutralFocusStateLayerOpacity)};
759
+ ${(0,U.setVariable)($.opacityContentOnSurfaceSelected,O.neutralActiveStateLayerOpacity)};
760
+ ${(0,U.setVariable)($.opacityContentOnSurfacePressed,O.neutralActiveStateLayerOpacity)};
757
761
 
758
- background-color: ${R.neutralBackgroundColor};
759
- color: ${R.neutralColor};
762
+ background-color: ${O.neutralBackgroundColor};
763
+ color: ${O.neutralColor};
760
764
  border-style: none;
761
765
  }
762
766
 
763
- .ft-button--neutral[disabled] {
764
- opacity: ${R.neutralDisabledComponentOpacity};
767
+ .ftds--family-neutral[disabled] {
768
+ opacity: ${O.neutralDisabledComponentOpacity};
765
769
  }
766
770
 
767
- .ft-button--neutral ft-icon {
768
- color: ${R.neutralIconColor};
771
+ .ftds--family-neutral ft-icon {
772
+ color: ${O.neutralIconColor};
769
773
  }
770
774
 
771
775
  /** Large styles **/
772
776
 
773
- .ft-button--large {
774
- ${(0,F.setVariable)(fe.size,R.largeIconSize)};
775
- ${(0,F.setVariable)(Ce.size,R.largeIconSize)};
777
+ .ftds--size-large {
778
+ ${(0,U.setVariable)(ee.size,O.largeIconSize)};
779
+ ${(0,U.setVariable)(he.size,O.largeIconSize)};
776
780
 
777
- height: ${R.largeHeight};
778
- padding: 0 ${R.largeHorizontalPadding};
779
- gap: ${R.largeGap};
780
- border-radius: ${R.largeBorderRadius};
781
- border-width: ${R.largeBorderWidth};
781
+ height: ${O.largeHeight};
782
+ padding: 0 ${O.largeHorizontalPadding};
783
+ gap: ${O.largeGap};
784
+ border-radius: ${O.largeBorderRadius};
785
+ border-width: ${O.largeBorderWidth};
782
786
  }
783
787
 
784
- .ft-button--large:focus-visible {
785
- outline-width: ${R.largeFocusOutlineWidth};
786
- outline-offset: ${R.largeFocusOutlineOffset};
788
+ .ftds--size-large:focus-visible {
789
+ outline-width: ${O.largeFocusOutlineWidth};
790
+ outline-offset: ${O.largeFocusOutlineOffset};
787
791
  }
788
792
 
789
- .ft-button--large.ft-button--icon-only {
790
- width: ${R.largeIconOnlyWidth};
791
- padding: unset;
793
+ .ftds--size-large.ft-button--icon-only {
794
+ width: ${O.largeIconOnlyWidth};
792
795
  }
793
796
 
794
797
  /** Small styles **/
795
798
 
796
- .ft-button--small {
797
- ${(0,F.setVariable)(fe.size,R.smallIconSize)};
798
- ${(0,F.setVariable)(Ce.size,R.smallIconSize)};
799
+ .ftds--size-medium {
800
+ ${(0,U.setVariable)(ee.size,O.mediumIconSize)};
801
+ ${(0,U.setVariable)(he.size,O.mediumIconSize)};
799
802
 
800
- height: ${R.smallHeight};
801
- padding: 0 ${R.smallHorizontalPadding};
802
- gap: ${R.smallGap};
803
- border-radius: ${R.smallBorderRadius};
804
- border-width: ${R.smallBorderWidth};
803
+ height: ${O.mediumHeight};
804
+ padding: 0 ${O.mediumHorizontalPadding};
805
+ gap: ${O.mediumGap};
806
+ border-radius: ${O.mediumBorderRadius};
807
+ border-width: ${O.mediumBorderWidth};
805
808
  }
806
809
 
807
- .ft-button--small:focus-visible {
808
- outline-width: ${R.smallFocusOutlineWidth};
809
- outline-offset: ${R.smallFocusOutlineOffset};
810
+ .ftds--size-medium:focus-visible {
811
+ outline-width: ${O.mediumFocusOutlineWidth};
812
+ outline-offset: ${O.mediumFocusOutlineOffset};
810
813
  }
811
814
 
812
- .ft-button--small.ft-button--icon-only {
813
- width: ${R.smallIconOnlyWidth};
814
- padding: unset;
815
+ .ftds--size-medium.ft-button--icon-only {
816
+ width: ${O.mediumIconOnlyWidth};
815
817
  }
816
- `,F.noTextSelect];var kr=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},De=class extends re{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?At.caption1medium:At.body2medium}};De.styles=[$l.safariEllipsisFix,Fl];kr([(0,or.property)({type:Boolean})],De.prototype,"primary",void 0);kr([(0,or.property)({type:Boolean})],De.prototype,"secondary",void 0);kr([(0,or.property)({type:Boolean})],De.prototype,"tertiary",void 0);kr([(0,or.property)({type:Boolean})],De.prototype,"neutral",void 0);kr([(0,or.property)({type:Boolean})],De.prototype,"small",void 0);(0,ta.customElement)("ft-button")(Ie);(0,ta.customElement)("ftds-button")(De);var Hl=B.FtCssVariableFactory.extend("--ft-chip-color","",B.designSystemVariables.colorOnSurface),_e={backgroundColor:B.FtCssVariableFactory.extend("--ft-chip-background-color","",B.designSystemVariables.colorSurface),color:Hl,fontSize:B.FtCssVariableFactory.extend("--ft-chip-font-size","",He.fontSize),iconSize:B.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:B.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:B.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Hl),horizontalPadding:B.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:B.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:B.FtCssVariableFactory.external(B.designSystemVariables.colorOutline,"Design system"),opacityDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOpacityDisabled,"Design system")},Gl=B.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",B.FtCssVariableFactory.extend("--ft-chip-color","",B.designSystemVariables.colorOnPrimary)),ra={backgroundColor:B.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",B.FtCssVariableFactory.extend("--ft-chip-background-color","",B.designSystemVariables.colorPrimary)),color:Gl,rippleColor:B.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Gl)},Kl={horizontalPadding:B.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:B.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Zl=[B.noTextSelect,ko.css`
818
+
819
+
820
+ /** Small styles **/
821
+
822
+ .ftds--size-small {
823
+ ${(0,U.setVariable)(ee.size,O.smallIconSize)};
824
+ ${(0,U.setVariable)(he.size,O.smallIconSize)};
825
+
826
+ height: ${O.smallHeight};
827
+ padding: 0 ${O.smallHorizontalPadding};
828
+ gap: ${O.smallGap};
829
+ border-radius: ${O.smallBorderRadius};
830
+ border-width: ${O.smallBorderWidth};
831
+ }
832
+
833
+ .ftds--size-small:focus-visible {
834
+ outline-width: ${O.smallFocusOutlineWidth};
835
+ outline-offset: ${O.smallFocusOutlineOffset};
836
+ }
837
+
838
+ .ftds--size-small.ft-button--icon-only {
839
+ width: ${O.smallIconOnlyWidth};
840
+ }
841
+ `,U.noTextSelect];var _o=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Pe=class extends(0,ko.toFtdsBase)(te){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Oo.brand,this.iconVariant=Ce.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 fe.large:return Me.body2medium;case fe.medium:return Me.caption1medium;case fe.small:return Me.caption2medium}}};Pe.styles=[ko.safariEllipsisFix,Vl];_o([(0,Tr.property)({type:Boolean})],Pe.prototype,"primary",void 0);_o([(0,Tr.property)({type:Boolean})],Pe.prototype,"secondary",void 0);_o([(0,Tr.property)({type:Boolean})],Pe.prototype,"tertiary",void 0);_o([(0,Tr.property)({type:Boolean})],Pe.prototype,"round",void 0);(0,ii.customElement)("ft-button")(Ie);(0,ii.customElement)("ftds-button")(Pe);var jl=D.FtCssVariableFactory.extend("--ft-chip-color","",D.designSystemVariables.colorOnSurface),Ue={backgroundColor:D.FtCssVariableFactory.extend("--ft-chip-background-color","",D.designSystemVariables.colorSurface),color:jl,fontSize:D.FtCssVariableFactory.extend("--ft-chip-font-size","",je.fontSize),iconSize:D.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:D.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:D.FtCssVariableFactory.extend("--ft-chip-ripple-color","",jl),horizontalPadding:D.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:D.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:D.FtCssVariableFactory.external(D.designSystemVariables.colorOutline,"Design system"),opacityDisabled:D.FtCssVariableFactory.external(D.designSystemVariables.colorOpacityDisabled,"Design system")},Gl=D.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",D.FtCssVariableFactory.extend("--ft-chip-color","",D.designSystemVariables.colorOnPrimary)),ai={backgroundColor:D.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",D.FtCssVariableFactory.extend("--ft-chip-background-color","",D.designSystemVariables.colorPrimary)),color:Gl,rippleColor:D.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Gl)},Kl={horizontalPadding:D.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:D.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Zl=[D.noTextSelect,Do.css`
817
842
  :host {
818
843
  display: inline-block;
819
844
  max-width: 100%;
@@ -829,20 +854,20 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
829
854
  box-sizing: border-box;
830
855
  pointer-events: auto;
831
856
 
832
- --ft-chip-internal-font-size: ${_e.fontSize};
857
+ --ft-chip-internal-font-size: ${Ue.fontSize};
833
858
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
834
- ${(0,B.setVariable)(fe.size,_e.iconSize)};
835
- --ft-chip-internal-vertical-padding: ${_e.verticalPadding};
836
- --ft-chip-internal-horizontal-padding: ${_e.horizontalPadding};
859
+ ${(0,D.setVariable)(ee.size,Ue.iconSize)};
860
+ --ft-chip-internal-vertical-padding: ${Ue.verticalPadding};
861
+ --ft-chip-internal-horizontal-padding: ${Ue.horizontalPadding};
837
862
  --ft-chip-internal-icon-padding: 3px;
838
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${_e.iconSize});
863
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ue.iconSize});
839
864
 
840
- border: 1px solid ${_e.colorOutline};
841
- color: ${_e.color};
842
- ${(0,B.setVariable)(z.color,_e.rippleColor)};
843
- border-radius: var(${(0,ko.unsafeCSS)(_e.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
865
+ border: 1px solid ${Ue.colorOutline};
866
+ color: ${Ue.color};
867
+ ${(0,D.setVariable)($.color,Ue.rippleColor)};
868
+ border-radius: var(${(0,Do.unsafeCSS)(Ue.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
844
869
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
845
- background-color: ${_e.backgroundColor};
870
+ background-color: ${Ue.backgroundColor};
846
871
  line-height: var(--ft-chip-internal-content-height);
847
872
  }
848
873
 
@@ -865,15 +890,15 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
865
890
  cursor: default;
866
891
  pointer-events: none;
867
892
  filter: grayscale(1);
868
- opacity: ${_e.opacityDisabled};
893
+ opacity: ${Ue.opacityDisabled};
869
894
  }
870
895
 
871
896
  .ft-chip--highlighted {
872
897
  border: none;
873
898
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
874
- background-color: ${ra.backgroundColor};
875
- ${(0,B.setVariable)(z.color,ra.rippleColor)};
876
- color: ${ra.color};
899
+ background-color: ${ai.backgroundColor};
900
+ ${(0,D.setVariable)($.color,ai.rippleColor)};
901
+ color: ${ai.color};
877
902
  }
878
903
 
879
904
  .ft-chip--clickable {
@@ -903,9 +928,9 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
903
928
  }
904
929
 
905
930
  .ft-chip--icon-button {
906
- ${(0,B.setVariable)(Y.iconSize,_e.iconSize)};
907
- ${(0,B.setVariable)(Y.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
908
- ${(0,B.setVariable)(Y.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
931
+ ${(0,D.setVariable)(q.iconSize,Ue.iconSize)};
932
+ ${(0,D.setVariable)(q.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
933
+ ${(0,D.setVariable)(q.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
909
934
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
910
935
  }
911
936
 
@@ -913,8 +938,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
913
938
  vertical-align: bottom;
914
939
  display: block;
915
940
  margin: 0 var(--ft-chip-internal-horizontal-padding);
916
- ${(0,B.setVariable)(He.fontSize,"var(--ft-chip-internal-font-size)")};
917
- ${(0,B.setVariable)(He.lineHeight,"var(--ft-chip-internal-content-height)")};
941
+ ${(0,D.setVariable)(je.fontSize,"var(--ft-chip-internal-font-size)")};
942
+ ${(0,D.setVariable)(je.lineHeight,"var(--ft-chip-internal-content-height)")};
918
943
  }
919
944
 
920
945
  .ft-chip--safari-fix .ft-chip--label {
@@ -950,8 +975,8 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
950
975
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
951
976
  order: -1;
952
977
  }
953
- `];var Le=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Uo=class extends CustomEvent{constructor(){super("icon-click")}},Q=class extends Wo.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Wo.isSafari};return To.html`
954
- <div class="${(0,Vl.classMap)(t)}"
978
+ `];var Le=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},$o=class extends CustomEvent{constructor(){super("icon-click")}},X=class extends Uo.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Uo.isSafari};return Mo.html`
979
+ <div class="${(0,ql.classMap)(t)}"
955
980
  aria-label="${this.getLabel()}"
956
981
  tabindex="${this.interactionsOnChip?0:-1}"
957
982
  @keyup=${this.onKeyUp}
@@ -962,7 +987,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
962
987
  </ft-typography>
963
988
  ${this.internalIcon?this.renderIcon():null}
964
989
  </div>
965
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?To.html`
990
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Mo.html`
966
991
  <ft-button round
967
992
  class="ft-chip--icon-button"
968
993
  @click=${this.onIconClick}
@@ -971,13 +996,143 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
971
996
  label="${this.iconLabel}"
972
997
  part="icon-button"
973
998
  ></ft-button>
974
- `:To.html`
999
+ `:Mo.html`
975
1000
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
976
1001
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
977
1002
  </div>
978
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Uo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Uo))}getLabel(){return this.label||this.textContent}get textContent(){var t,n;return(n=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&n!==void 0?n:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Q.elementDefinitions={"ft-ripple":K,"ft-typography":se,"ft-icon":ue,"ft-button":Ie};Q.styles=Zl;Le([(0,ge.property)({type:Boolean})],Q.prototype,"highlighted",void 0);Le([(0,ge.property)({type:Boolean})],Q.prototype,"removable",void 0);Le([(0,ge.property)({type:Boolean})],Q.prototype,"disabled",void 0);Le([(0,ge.property)({type:Boolean})],Q.prototype,"clickable",void 0);Le([(0,ge.property)({type:Boolean})],Q.prototype,"iconClickable",void 0);Le([(0,ge.property)({type:Boolean})],Q.prototype,"dense",void 0);Le([(0,ge.property)({type:Boolean})],Q.prototype,"multiLine",void 0);Le([(0,ge.property)()],Q.prototype,"label",void 0);Le([(0,ge.property)()],Q.prototype,"iconLabel",void 0);Le([(0,ge.property)()],Q.prototype,"icon",void 0);Le([(0,ge.property)()],Q.prototype,"iconVariant",void 0);Le([(0,ge.property)({type:Boolean})],Q.prototype,"trailingIcon",void 0);Le([(0,ge.query)("ft-typography slot")],Q.prototype,"slottedContent",void 0);(0,jl.customElement)("ft-chip")(Q);var Wr=v(T());var ql=v(M()),Pe=v(T()),mt={zIndex:Pe.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Pe.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Pe.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Pe.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",Pe.designSystemVariables.colorOnSurfaceHigh),colorSurface:Pe.FtCssVariableFactory.external(Pe.designSystemVariables.colorSurface,"Design system"),menuElevation:Pe.FtCssVariableFactory.external(Pe.designSystemVariables.elevation02,"Design system"),borderRadiusS:Pe.FtCssVariableFactory.external(Pe.designSystemVariables.borderRadiusS,"Design system")},Do=ql.css`
1003
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new $o))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new $o))}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};X.elementDefinitions={"ft-ripple":H,"ft-typography":ie,"ft-icon":le,"ft-button":Ie};X.styles=Zl;Le([(0,ye.property)({type:Boolean})],X.prototype,"highlighted",void 0);Le([(0,ye.property)({type:Boolean})],X.prototype,"removable",void 0);Le([(0,ye.property)({type:Boolean})],X.prototype,"disabled",void 0);Le([(0,ye.property)({type:Boolean})],X.prototype,"clickable",void 0);Le([(0,ye.property)({type:Boolean})],X.prototype,"iconClickable",void 0);Le([(0,ye.property)({type:Boolean})],X.prototype,"dense",void 0);Le([(0,ye.property)({type:Boolean})],X.prototype,"multiLine",void 0);Le([(0,ye.property)()],X.prototype,"label",void 0);Le([(0,ye.property)()],X.prototype,"iconLabel",void 0);Le([(0,ye.property)()],X.prototype,"icon",void 0);Le([(0,ye.property)()],X.prototype,"iconVariant",void 0);Le([(0,ye.property)({type:Boolean})],X.prototype,"trailingIcon",void 0);Le([(0,ye.query)("ft-typography slot")],X.prototype,"slottedContent",void 0);var Lt=g(B()),Tt=g(Z()),Jl=g(tr()),Bo=g(I());var Yl=g(B());var si=g(I());var Xl=[Yl.css`
1004
+ :host {
1005
+ display: inline-block;
1006
+ max-width: 100%;
1007
+ pointer-events: none;
1008
+ }
1009
+
1010
+ .ftds-chip {
1011
+ display: flex;
1012
+ align-items: center;
1013
+ }
1014
+
1015
+ .ftds-chip ft-typography {
1016
+ display: flex; /* For typo alignment in the chip */
1017
+ }
1018
+
1019
+ /* MEDIUM VARIANT */
1020
+ .ftds--size-medium {
1021
+ min-height: ${M.mediumMinHeight};
1022
+ padding: 0 ${M.mediumHorizontalPadding};
1023
+ border-radius: ${M.mediumBorderRadius};
1024
+ border-width: ${M.mediumBorderWidth};
1025
+ border-style: solid;
1026
+ gap: ${M.mediumGap};
1027
+ ${(0,si.setVariable)(ee.size,M.mediumIconSize)}
1028
+ }
1029
+
1030
+ .ftds--size-medium.ftds-chip--removable {
1031
+ padding-right: ${M.mediumButtonRightPadding};
1032
+ }
1033
+
1034
+
1035
+ /* LARGE VARIANT */
1036
+ .ftds--size-large {
1037
+ min-height: ${M.largeMinHeight};
1038
+ padding: 0 ${M.largeHorizontalPadding};
1039
+ border-radius: ${M.largeBorderRadius};
1040
+ border-width: ${M.largeBorderWidth};
1041
+ border-style: solid;
1042
+ gap: ${M.largeGap};
1043
+ ${(0,si.setVariable)(ee.size,M.largeIconSize)}
1044
+ }
1045
+
1046
+ .ftds--size-large.ftds-chip--removable {
1047
+ padding-right: ${M.largeButtonRightPadding};
1048
+ }
1049
+
1050
+
1051
+ /* NEUTRAL COLORS */
1052
+ .ftds--family-neutral {
1053
+ background-color: ${M.neutralBackgroundColor};
1054
+ border-color: ${M.neutralBorderColor};
1055
+ color: ${M.neutralColor};
1056
+ }
1057
+
1058
+ .ftds--family-neutral .ftds-chip--icon-container {
1059
+ color: ${M.neutralIconColor};
1060
+ }
1061
+
1062
+
1063
+ /* INFO COLORS */
1064
+ .ftds--family-info {
1065
+ background-color: ${M.infoBackgroundColor};
1066
+ border-color: ${M.infoBorderColor};
1067
+ color: ${M.infoColor};
1068
+ }
1069
+
1070
+ .ftds--family-info .ftds-chip--icon-container {
1071
+ color: ${M.infoIconColor};
1072
+ }
1073
+
1074
+
1075
+ /* SUCCESS COLORS */
1076
+ .ftds--family-success {
1077
+ background-color: ${M.successBackgroundColor};
1078
+ border-color: ${M.successBorderColor};
1079
+ color: ${M.successColor};
1080
+ }
1081
+
1082
+ .ftds--family-success .ftds-chip--icon-container {
1083
+ color: ${M.successIconColor};
1084
+ }
1085
+
1086
+
1087
+ /* WARNING COLORS */
1088
+ .ftds--family-warning {
1089
+ background-color: ${M.warningBackgroundColor};
1090
+ border-color: ${M.warningBorderColor};
1091
+ color: ${M.warningColor};
1092
+ }
1093
+
1094
+ .ftds--family-warning .ftds-chip--icon-container {
1095
+ color: ${M.warningIconColor};
1096
+ }
1097
+
1098
+
1099
+ /* ERROR COLORS */
1100
+ .ftds--family-error {
1101
+ background-color: ${M.errorBackgroundColor};
1102
+ border-color: ${M.errorBorderColor};
1103
+ color: ${M.errorColor};
1104
+ }
1105
+
1106
+ .ftds--family-error .ftds-chip--icon-container {
1107
+ color: ${M.errorIconColor};
1108
+ }
1109
+ `];var _r=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},li=class extends CustomEvent{constructor(){super("remove")}},He=class extends Bo.FtdsBase{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return Lt.html`
1110
+ <div class="${(0,Jl.classMap)(t)}"
1111
+ aria-label="${this.getLabel()}"
1112
+ part="chip">
1113
+ ${this.renderIcon()}
1114
+ <ft-typography variant=${this.typographyVariant()} element="span" class="ftds-chip--label" part="label">
1115
+ <slot @slotchange=${this.onSlotchange}></slot>
1116
+ </ft-typography>
1117
+ ${this.renderRemoveButton()}
1118
+ </div>
1119
+ `}renderIcon(){return this.icon?Lt.html`
1120
+ <div class="ftds-chip--icon-container" part="icon-container">
1121
+ <ft-icon .variant=${Ce.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
1122
+ </div>
1123
+ `:Lt.nothing}renderRemoveButton(){return this.removable?Lt.html`
1124
+ <ftds-button round
1125
+ class="ftds-chip--remove-button"
1126
+ @click=${this.dispatchRemoveEvent}
1127
+ icon=${rr.X_MARK}
1128
+ label=${this.removeButtonLabel}
1129
+ family=${Bo.DesignSystemFamily.neutral}
1130
+ size=${this.resolveButtonSize()}
1131
+ part="icon-button"
1132
+ ></ftds-button>
1133
+ `:Lt.nothing}resolveButtonSize(){switch(this.size){case fe.large:return fe.medium;case fe.medium:case fe.small:return fe.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new li)}typographyVariant(){switch(this.size){case fe.large:return Me.body2medium;case fe.medium:return Me.caption1medium;case fe.small:return Me.caption2medium}}};He.elementDefinitions={"ft-typography":ie,"ft-icon":le,"ftds-button":Pe};He.styles=Xl;_r([(0,Tt.property)({type:Boolean})],He.prototype,"removable",void 0);_r([(0,Tt.property)()],He.prototype,"removeButtonLabel",void 0);_r([(0,Tt.property)()],He.prototype,"label",void 0);_r([(0,Tt.property)()],He.prototype,"icon",void 0);_r([(0,Tt.query)("ft-typography slot")],He.prototype,"slottedContent",void 0);(0,ci.customElement)("ft-chip")(X);(0,ci.customElement)("ftds-chip")(He);var Mr=g(I());var Ql=g(B()),Te=g(I()),yt={zIndex:Te.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Te.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Te.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Te.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",Te.designSystemVariables.colorOnSurfaceHigh),colorSurface:Te.FtCssVariableFactory.external(Te.designSystemVariables.colorSurface,"Design system"),menuElevation:Te.FtCssVariableFactory.external(Te.designSystemVariables.elevation02,"Design system"),borderRadiusS:Te.FtCssVariableFactory.external(Te.designSystemVariables.borderRadiusS,"Design system")},Wo=Ql.css`
979
1134
  .ft-floating-menu {
980
- color: ${mt.textColor};
1135
+ color: ${yt.textColor};
981
1136
  display: contents;
982
1137
  }
983
1138
 
@@ -994,19 +1149,19 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
994
1149
  display: none;
995
1150
  position: relative;
996
1151
  overflow: auto;
997
- max-width: ${mt.maxWidth};
998
- max-height: ${mt.maxHeight};
999
- box-shadow: ${mt.menuElevation};
1000
- background-color: ${mt.colorSurface};
1001
- border-radius: ${mt.borderRadiusS};
1002
- color: ${mt.textColor};
1003
- z-index: ${mt.zIndex};
1152
+ max-width: ${yt.maxWidth};
1153
+ max-height: ${yt.maxHeight};
1154
+ box-shadow: ${yt.menuElevation};
1155
+ background-color: ${yt.colorSurface};
1156
+ border-radius: ${yt.borderRadiusS};
1157
+ color: ${yt.textColor};
1158
+ z-index: ${yt.zIndex};
1004
1159
  }
1005
1160
 
1006
1161
  .ft-floating-menu--open .ft-floating-menu--options {
1007
1162
  display: block;
1008
1163
  }
1009
- `;var Ql=v(M()),q=v(X()),nr=v(T()),es=v(Rr());var Tr=v(M()),Ur=v(X()),Jl=v(T());var Yl=v(M()),_o=v(T()),Ud={iconColor:_o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",_o.designSystemVariables.colorOnSurfaceMedium)},Xl=Yl.css`
1164
+ `;var oc=g(B()),K=g(Z()),ir=g(I()),nc=g(tr());var kr=g(B()),Dr=g(Z()),rc=g(I());var ec=g(B()),zo=g(I()),Ud={iconColor:zo.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",zo.designSystemVariables.colorOnSurfaceMedium)},tc=ec.css`
1010
1165
  .ft-floating-menu-item {
1011
1166
  cursor: pointer;
1012
1167
  display: flex;
@@ -1036,21 +1191,21 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1036
1191
  word-break: break-word;
1037
1192
  hyphens: auto;
1038
1193
  }
1039
- `;var zo=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},Bo=class extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}},Ee=class extends Jl.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Tr.html`
1194
+ `;var Ho=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Fo=class extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}},Ee=class extends rc.FtLitElement{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return kr.html`
1040
1195
  <div class="ft-floating-menu-item"
1041
1196
  tabindex=${this.notFocusable?"-1":"0"}
1042
1197
  @keydown=${t=>this.onKeyDown(t)}
1043
1198
  @click=${this.onClick}>
1044
1199
  <ft-ripple></ft-ripple>
1045
- ${this.icon?Tr.html`
1200
+ ${this.icon?kr.html`
1046
1201
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1047
- `:Tr.nothing}
1202
+ `:kr.nothing}
1048
1203
  <ft-typography variant="body2">
1049
1204
  <slot></slot>
1050
1205
  </ft-typography>
1051
1206
  </div>
1052
- `}onClick(t){this.dispatchEvent(new Bo(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new Bo(this.value)))}};Ee.elementDefinitions={"ft-icon":ue,"ft-ripple":K,"ft-typography":se};Ee.styles=Xl;zo([(0,Ur.property)()],Ee.prototype,"iconVariant",void 0);zo([(0,Ur.property)()],Ee.prototype,"icon",void 0);zo([(0,Ur.property)()],Ee.prototype,"value",void 0);zo([(0,Ur.property)({type:Boolean})],Ee.prototype,"notFocusable",void 0);var oe=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c};var G=class extends nr.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Ze.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Ql.html`
1053
- <div part="container" class="${(0,es.classMap)(t)}">
1207
+ `}onClick(t){this.dispatchEvent(new Fo(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new Fo(this.value)))}};Ee.elementDefinitions={"ft-icon":le,"ft-ripple":H,"ft-typography":ie};Ee.styles=tc;Ho([(0,Dr.property)()],Ee.prototype,"iconVariant",void 0);Ho([(0,Dr.property)()],Ee.prototype,"icon",void 0);Ho([(0,Dr.property)()],Ee.prototype,"value",void 0);Ho([(0,Dr.property)({type:Boolean})],Ee.prototype,"notFocusable",void 0);var re=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};var F=class extends ir.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Ce.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return oc.html`
1208
+ <div part="container" class="${(0,nc.classMap)(t)}">
1054
1209
  <slot name="toggle"
1055
1210
  part="toggle"
1056
1211
  @click=${this.toggleMenu}
@@ -1084,7 +1239,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1084
1239
  </div>
1085
1240
  </div>
1086
1241
  </div>
1087
- `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(0,nr.eventPathContainsMatchingElement)(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:n,y:a}=await Ao(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${n}px`,this.menuWrapper.style.top=`${a}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};G.elementDefinitions={"ft-floating-menu-item":Ee};oe([(0,q.state)()],G.prototype,"menuOpen",void 0);oe([(0,q.state)()],G.prototype,"forceMenuOpen",void 0);oe([(0,q.query)(".ft-floating-menu")],G.prototype,"container",void 0);oe([(0,q.query)(".ft-floating-menu--wrapper")],G.prototype,"menuWrapper",void 0);oe([(0,q.query)("#actions-button")],G.prototype,"actionButton",void 0);oe([(0,q.queryAssignedElements)({slot:"toggle"})],G.prototype,"customToggle",void 0);oe([(0,q.property)({type:Boolean})],G.prototype,"primary",void 0);oe([(0,q.property)({type:Boolean})],G.prototype,"secondary",void 0);oe([(0,q.property)({type:Boolean})],G.prototype,"tertiary",void 0);oe([(0,q.property)({type:Boolean})],G.prototype,"neutral",void 0);oe([(0,q.property)({type:Boolean})],G.prototype,"small",void 0);oe([(0,q.property)()],G.prototype,"label",void 0);oe([(0,q.property)()],G.prototype,"tooltipPosition",void 0);oe([(0,q.property)()],G.prototype,"iconVariant",void 0);oe([(0,q.property)()],G.prototype,"icon",void 0);oe([(0,q.property)()],G.prototype,"text",void 0);oe([(0,q.property)()],G.prototype,"horizontalAlignment",void 0);oe([(0,q.property)()],G.prototype,"verticalAlignment",void 0);oe([(0,q.property)({type:Boolean})],G.prototype,"disabled",void 0);oe([(0,nr.jsonProperty)([])],G.prototype,"closeMenuMatchers",void 0);var bt=class extends G{};bt.elementDefinitions={"ft-or-ftds-button":Ie};bt.styles=Do;var ar=class extends G{};ar.elementDefinitions={"ft-or-ftds-button":De};ar.styles=Do;var os=v(M()),ns=v(T());var ts=v(M()),Mo=v(T()),Wd={color:Mo.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",Mo.designSystemVariables.colorOnSurfaceMedium)},rs=ts.css`
1242
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(0,ir.eventPathContainsMatchingElement)(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:n}=await Po(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${n}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};F.elementDefinitions={"ft-floating-menu-item":Ee};re([(0,K.state)()],F.prototype,"menuOpen",void 0);re([(0,K.state)()],F.prototype,"forceMenuOpen",void 0);re([(0,K.query)(".ft-floating-menu")],F.prototype,"container",void 0);re([(0,K.query)(".ft-floating-menu--wrapper")],F.prototype,"menuWrapper",void 0);re([(0,K.query)("#actions-button")],F.prototype,"actionButton",void 0);re([(0,K.queryAssignedElements)({slot:"toggle"})],F.prototype,"customToggle",void 0);re([(0,K.property)({type:Boolean})],F.prototype,"primary",void 0);re([(0,K.property)({type:Boolean})],F.prototype,"secondary",void 0);re([(0,K.property)({type:Boolean})],F.prototype,"tertiary",void 0);re([(0,K.property)({type:Boolean})],F.prototype,"neutral",void 0);re([(0,K.property)({type:Boolean})],F.prototype,"small",void 0);re([(0,K.property)()],F.prototype,"label",void 0);re([(0,K.property)()],F.prototype,"tooltipPosition",void 0);re([(0,K.property)()],F.prototype,"iconVariant",void 0);re([(0,K.property)()],F.prototype,"icon",void 0);re([(0,K.property)()],F.prototype,"text",void 0);re([(0,K.property)()],F.prototype,"horizontalAlignment",void 0);re([(0,K.property)()],F.prototype,"verticalAlignment",void 0);re([(0,K.property)({type:Boolean})],F.prototype,"disabled",void 0);re([(0,ir.jsonProperty)([])],F.prototype,"closeMenuMatchers",void 0);var gt=class extends F{};gt.elementDefinitions={"ft-or-ftds-button":Ie};gt.styles=Wo;var ar=class extends F{};ar.elementDefinitions={"ft-or-ftds-button":Pe};ar.styles=Wo;var sc=g(B()),lc=g(I());var ic=g(B()),Vo=g(I()),Bd={color:Vo.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",Vo.designSystemVariables.colorOnSurfaceMedium)},ac=ic.css`
1088
1243
  .ft-floating-menu-label {
1089
1244
  padding: 4px 8px;
1090
1245
  }
@@ -1095,42 +1250,42 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1095
1250
  width: max-content;
1096
1251
  text-overflow: ellipsis;
1097
1252
  overflow: hidden;
1098
- color: ${Wd.color}
1253
+ color: ${Bd.color}
1099
1254
  }
1100
- `;var xt=class extends ns.FtLitElement{render(){return os.html`
1255
+ `;var bt=class extends lc.FtLitElement{render(){return sc.html`
1101
1256
  <div class="ft-floating-menu-label">
1102
1257
  <ft-typography variant="caption">
1103
1258
  <slot></slot>
1104
1259
  </ft-typography>
1105
1260
  </div>
1106
- `}};xt.elementDefinitions={"ft-typography":se};xt.styles=rs;(0,Wr.customElement)("ft-floating-menu")(bt);(0,Wr.customElement)("ftds-floating-menu")(ar);(0,Wr.customElement)("ft-floating-menu-item")(Ee);(0,Wr.customElement)("ft-floating-menu-label")(xt);function Dd(e){var t,n,a,i,c;return((i=(n=(t=e.map)===null||t===void 0?void 0:t.openMode)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.openMode)!==null&&i!==void 0?i:(c=e.document)===null||c===void 0?void 0:c.openMode)===_r.EXTERNAL}function as(e){var t,n,a,i,c;if(Dd(e))return(i=(n=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(c=e.document)===null||c===void 0?void 0:c.originUrl;switch(e.type){case Tt.MAP:return e.map.readerUrl;case Tt.DOCUMENT:return e.document.viewerUrl;case Tt.TOPIC:return e.topic.readerUrl}return""}var Fo=class extends CustomEvent{constructor(t,n){super("ft-search-result-click",{detail:{result:t,rank:n},bubbles:!0,composed:!0})}};var ss=v(cs());var $o=Mt.build("designedSearchResultMetadata"),ls={itemWithNoValueForClusterSwitch:"No value"};var be=function(e,t,n,a){var i=arguments.length,c=i<3?t:a===null?a=Object.getOwnPropertyDescriptor(t,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,n,a);else for(var p=e.length-1;p>=0;p--)(l=e[p])&&(c=(i<3?l(c):i>3?l(t,n,c):l(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c},ee=class extends bi(uo(lo)){constructor(){super(),this.useChip=!1,this.useAsClusterSwitch=!1,this.goToDocumentOnSwitch=!1,this.displayLabel=!1,this.editorMode=!1,this.metadataDescriptors=[],this.clustersByValue={},this.displayCluster=!1,this.addStore(U),this.addI18nContext($o,ls),this.addI18nContext(gr,Ii)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return me.html`
1261
+ `}};bt.elementDefinitions={"ft-typography":ie};bt.styles=ac;(0,Mr.customElement)("ft-floating-menu")(gt);(0,Mr.customElement)("ftds-floating-menu")(ar);(0,Mr.customElement)("ft-floating-menu-item")(Ee);(0,Mr.customElement)("ft-floating-menu-label")(bt);function Wd(e){var t,o,n,i,a;return((i=(o=(t=e.map)===null||t===void 0?void 0:t.openMode)!==null&&o!==void 0?o:(n=e.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.openMode)===Ur.EXTERNAL}function cc(e){var t,o,n,i,a;if(Wd(e))return(i=(o=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&o!==void 0?o:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.originUrl;switch(e.type){case _t.MAP:return e.map.readerUrl;case _t.DOCUMENT:return e.document.viewerUrl;case _t.TOPIC:return e.topic.readerUrl}return""}var jo=class extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}};var fc=g(pc());var Go=Wt.build("designedSearchResultMetadata"),uc={itemWithNoValueForClusterSwitch:"No value"};var be=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},J=class extends wa(ho(co)){constructor(){super(),this.useChip=!1,this.useAsClusterSwitch=!1,this.goToDocumentOnSwitch=!1,this.displayLabel=!1,this.editorMode=!1,this.metadataDescriptors=[],this.clustersByValue={},this.displayCluster=!1,this.addStore(L),this.addI18nContext(Go,uc),this.addI18nContext(gr,Ma)}setResultStateManager(t){super.setResultStateManager(t),this.key&&this.useAsClusterSwitch&&t.registerMetadata(this.key)}render(){return ge.html`
1107
1262
  ${this.displayCluster?this.renderClusterList():this.renderChip()}
1108
1263
  ${this.hideIfEmpty()}
1109
- `}hideIfEmpty(){return this.flatMetadata==null&&!this.editorMode&&!this.displayCluster?me.html`
1264
+ `}hideIfEmpty(){return this.flatMetadata==null&&!this.editorMode&&!this.displayCluster?ge.html`
1110
1265
  <style>
1111
1266
  :host {
1112
1267
  display: none !important;
1113
1268
  }
1114
1269
  </style>
1115
- `:me.nothing}renderClusterList(){var t;return me.html`
1270
+ `:ge.nothing}renderClusterList(){var t;return ge.html`
1116
1271
  <div class="ft-search-result-metadata--container">
1117
1272
  <ft-floating-menu @select=${this.onClusterSelected}>
1118
1273
  ${this.renderChip("toggle")}
1119
1274
  <ft-floating-menu-label>${this.metadataLabel}</ft-floating-menu-label>
1120
- ${(0,ss.repeat)((t=this.clusterItems)!==null&&t!==void 0?t:[],n=>n.metadata.value,n=>this.renderClusterItem(n.result,n.metadata))}
1275
+ ${(0,fc.repeat)((t=this.clusterItems)!==null&&t!==void 0?t:[],o=>o.metadata.value,o=>this.renderClusterItem(o.result,o.metadata))}
1121
1276
  </ft-floating-menu>
1122
1277
  </div>
1123
- `}onClusterSelected(t){var n;(n=this.resultStateManager)===null||n===void 0||n.selectResult(this.clustersByValue[t.detail].result)}computeClusters(){var t,n;let a={},i=new vt.ClusteringHelper((t=this.cluster)===null||t===void 0?void 0:t.entries,this.result,this.resultStateManager.registeredMetadata,this.metadataDescriptors);this.clusterItems=i.computeClustersItemsForMetadata(this.key,((n=this.request)===null||n===void 0?void 0:n.contentLocale)||"en",$o.messages.itemWithNoValueForClusterSwitch()),this.clusterItems.forEach(c=>{var l;a[(l=c.metadata.value)!==null&&l!==void 0?l:"ft:no_value"]=c}),this.clustersByValue=a}renderClusterItem(t,n){return this.goToDocumentOnSwitch?me.html`
1124
- <a href="${as(t)}" @click=${()=>this.onResultClick(t)}>
1125
- ${this.renderClusterItemValue(n.value,n.displayValue)}
1278
+ `}onClusterSelected(t){var o;(o=this.resultStateManager)===null||o===void 0||o.selectResult(this.clustersByValue[t.detail].result)}computeClusters(){var t,o;let n={},i=new xt.ClusteringHelper((t=this.cluster)===null||t===void 0?void 0:t.entries,this.result,this.resultStateManager.registeredMetadata,this.metadataDescriptors);this.clusterItems=i.computeClustersItemsForMetadata(this.key,((o=this.request)===null||o===void 0?void 0:o.contentLocale)||"en",Go.messages.itemWithNoValueForClusterSwitch()),this.clusterItems.forEach(a=>{var s;n[(s=a.metadata.value)!==null&&s!==void 0?s:"ft:no_value"]=a}),this.clustersByValue=n}renderClusterItem(t,o){return this.goToDocumentOnSwitch?ge.html`
1279
+ <a href="${cc(t)}" @click=${()=>this.onResultClick(t)}>
1280
+ ${this.renderClusterItemValue(o.value,o.displayValue)}
1126
1281
  </a>
1127
- `:this.renderClusterItemValue(n.value,n.displayValue)}renderClusterItemValue(t,n){return me.html`
1282
+ `:this.renderClusterItemValue(o.value,o.displayValue)}renderClusterItemValue(t,o){return ge.html`
1128
1283
  <ft-floating-menu-item value="${t??"ft:no_value"}">
1129
- ${t==null||t===n?n:me.html`
1130
- <ft-tooltip text="${t}">${n}</ft-tooltip>
1284
+ ${t==null||t===o?o:ge.html`
1285
+ <ft-tooltip text="${t}">${o}</ft-tooltip>
1131
1286
  `}
1132
1287
  </ft-floating-menu-item>
1133
- `}onResultClick(t){this.dispatchEvent(new Fo(t,this.rank))}renderChip(t){var n,a;if(this.useChip){let i=this.displayLabel&&((n=this.flatMetadata)===null||n===void 0?void 0:n.value)==((a=this.flatMetadata)===null||a===void 0?void 0:a.displayValue),c=me.html`
1288
+ `}onResultClick(t){this.dispatchEvent(new jo(t,this.rank))}renderChip(t){var o,n;if(this.useChip){let i=this.displayLabel&&((o=this.flatMetadata)===null||o===void 0?void 0:o.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue),a=ge.html`
1134
1289
  <ft-chip icon="${this.displayCluster?"THIN_ARROW":""}"
1135
1290
  ?clickable=${this.displayCluster}
1136
1291
  trailingIcon
@@ -1138,16 +1293,16 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1138
1293
  slot="${i?t:""}">
1139
1294
  ${this.renderContent()}
1140
1295
  </ft-chip>
1141
- `;return i?c:me.html`
1296
+ `;return i?a:ge.html`
1142
1297
  <ft-tooltip part="tooltip" text="${this.tooltipText}" slot="${t}">
1143
- ${c}
1298
+ ${a}
1144
1299
  </ft-tooltip>
1145
- `}else return me.html`<span slot=${t} part="content">${this.renderContent()}</span>`}renderContent(){return me.html`
1146
- ${this.displayLabel?me.html`
1300
+ `}else return ge.html`<span slot=${t} part="content">${this.renderContent()}</span>`}renderContent(){return ge.html`
1301
+ ${this.displayLabel?ge.html`
1147
1302
  <span part="label">${this.metadataLabel}: </span>
1148
- `:me.nothing}
1303
+ `:ge.nothing}
1149
1304
  <span part="values">${this.metadataValue}</span>
1150
- `}get metadataValue(){return this.flatMetadata?this.getEllipsis(this.flatMetadata.displayValue):this.editorMode?this.key?gr.messages.noValuePresent(this.key):gr.messages.noKeySelected():$o.messages.itemWithNoValueForClusterSwitch()}get clusterHasMultipleValues(){var t,n,a;let i=(a=(n=(t=this.cluster)===null||t===void 0?void 0:t.entries)===null||n===void 0?void 0:n.map(c=>vt.ClusteringHelper.extractResultMetadata(c)))===null||a===void 0?void 0:a.map(c=>{var l;return(l=c.find(p=>p.key==this.key))===null||l===void 0?void 0:l.value});return new Set(i).size>1}getEllipsis(t){let n=this.maxLength?t.substring(0,this.maxLength):t;return n+(n.length<t.length?"\u2026":"")}update(t){var n,a,i,c,l,p,h,y,g;super.update(t),(t.has("result")||t.has("key")&&this.result||this.dateFormatOptionsChanged(t))&&(this.metadata=this.formatDateValues((n=this.resultData())===null||n===void 0?void 0:n.metadata.find(b=>b.key==this.key&&b.values.length>0)),this.metadataLabel=(i=(a=this.metadata)===null||a===void 0?void 0:a.label)!==null&&i!==void 0?i:this.findClusterMetadataLabel(),this.flatMetadata=vt.ClusteringHelper.flattenMetadata(this.metadata)),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&((c=this.resultStateManager)===null||c===void 0||c.unregisterMetadata(t.get("key"))),this.key&&((l=this.resultStateManager)===null||l===void 0||l.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?(p=this.resultStateManager)===null||p===void 0||p.registerMetadata(this.key):(h=this.resultStateManager)===null||h===void 0||h.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&(this.cluster&&this.result&&this.key&&this.useAsClusterSwitch?(this.computeClusters(),this.displayCluster=this.useAsClusterSwitch&&((g=(y=this.cluster)===null||y===void 0?void 0:y.entries.length)!==null&&g!==void 0?g:0)>1&&this.clusterHasMultipleValues):this.displayCluster=!1)}resultData(t){var n,a;return t=t??this.result,(a=(n=t?.map)!==null&&n!==void 0?n:t?.topic)!==null&&a!==void 0?a:t?.document}get tooltipText(){return this.flatMetadata?`${this.metadataLabel}: ${this.flatMetadata.value}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${gr.messages.noValueInCluster()}`:""}findClusterMetadataLabel(){var t;let n=(t=this.cluster)===null||t===void 0?void 0:t.entries.flatMap(a=>this.resultData(a).metadata.filter(i=>i.key==this.key))[0];return n?.label}};ee.elementDefinitions={"ft-tooltip":j,"ft-chip":Q,"ft-floating-menu":bt,"ft-floating-menu-item":Ee,"ft-floating-menu-label":xt};ee.styles=la;be([(0,we.property)()],ee.prototype,"key",void 0);be([(0,we.property)({type:Boolean})],ee.prototype,"useChip",void 0);be([(0,we.property)({type:Boolean})],ee.prototype,"useAsClusterSwitch",void 0);be([(0,we.property)({type:Boolean})],ee.prototype,"goToDocumentOnSwitch",void 0);be([(0,we.property)({type:Boolean})],ee.prototype,"displayLabel",void 0);be([(0,we.property)({type:Number,attribute:"max-length"})],ee.prototype,"maxLength",void 0);be([(0,vt.redux)({store:U.name})],ee.prototype,"editorMode",void 0);be([(0,vt.redux)({store:U.name,selector:e=>{var t,n;return(n=(t=e.metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&n!==void 0?n:[]}})],ee.prototype,"metadataDescriptors",void 0);be([(0,vt.redux)({store:"search"})],ee.prototype,"request",void 0);be([(0,we.state)()],ee.prototype,"metadata",void 0);be([(0,we.state)()],ee.prototype,"metadataLabel",void 0);be([(0,we.state)()],ee.prototype,"clustersByValue",void 0);be([(0,we.state)()],ee.prototype,"clusterItems",void 0);be([(0,we.state)()],ee.prototype,"flatMetadata",void 0);be([(0,we.state)()],ee.prototype,"displayCluster",void 0);(0,ds.customElement)("ft-search-result-metadata")(ee);})();
1305
+ `}get metadataValue(){return this.flatMetadata?this.getEllipsis(this.flatMetadata.displayValue):this.editorMode?this.key?gr.messages.noValuePresent(this.key):gr.messages.noKeySelected():Go.messages.itemWithNoValueForClusterSwitch()}get clusterHasMultipleValues(){var t,o,n;let i=(n=(o=(t=this.cluster)===null||t===void 0?void 0:t.entries)===null||o===void 0?void 0:o.map(a=>xt.ClusteringHelper.extractResultMetadata(a)))===null||n===void 0?void 0:n.map(a=>{var s;return(s=a.find(c=>c.key==this.key))===null||s===void 0?void 0:s.value});return new Set(i).size>1}getEllipsis(t){let o=this.maxLength?t.substring(0,this.maxLength):t;return o+(o.length<t.length?"\u2026":"")}update(t){var o,n,i,a,s,c,p,u,f;super.update(t),(t.has("result")||t.has("key")&&this.result||this.dateFormatOptionsChanged(t))&&(this.metadata=this.formatDateValues((o=this.resultData())===null||o===void 0?void 0:o.metadata.find(m=>m.key==this.key&&m.values.length>0)),this.metadataLabel=(i=(n=this.metadata)===null||n===void 0?void 0:n.label)!==null&&i!==void 0?i:this.findClusterMetadataLabel(),this.flatMetadata=xt.ClusteringHelper.flattenMetadata(this.metadata)),t.has("key")&&this.useAsClusterSwitch&&(t.get("key")&&((a=this.resultStateManager)===null||a===void 0||a.unregisterMetadata(t.get("key"))),this.key&&((s=this.resultStateManager)===null||s===void 0||s.registerMetadata(this.key))),t.has("useAsClusterSwitch")&&this.key&&(this.useAsClusterSwitch?(c=this.resultStateManager)===null||c===void 0||c.registerMetadata(this.key):(p=this.resultStateManager)===null||p===void 0||p.unregisterMetadata(this.key)),(t.has("cluster")||t.has("result")||t.has("key")||t.has("useAsClusterSwitch"))&&(this.cluster&&this.result&&this.key&&this.useAsClusterSwitch?(this.computeClusters(),this.displayCluster=this.useAsClusterSwitch&&((f=(u=this.cluster)===null||u===void 0?void 0:u.entries.length)!==null&&f!==void 0?f:0)>1&&this.clusterHasMultipleValues):this.displayCluster=!1)}resultData(t){var o,n;return t=t??this.result,(n=(o=t?.map)!==null&&o!==void 0?o:t?.topic)!==null&&n!==void 0?n:t?.document}get tooltipText(){return this.flatMetadata?`${this.metadataLabel}: ${this.flatMetadata.value}`:this.useAsClusterSwitch?`${this.metadataLabel}: ${gr.messages.noValueInCluster()}`:""}findClusterMetadataLabel(){var t;let o=(t=this.cluster)===null||t===void 0?void 0:t.entries.flatMap(n=>this.resultData(n).metadata.filter(i=>i.key==this.key))[0];return o?.label}};J.elementDefinitions={"ft-tooltip":G,"ft-chip":X,"ft-floating-menu":gt,"ft-floating-menu-item":Ee,"ft-floating-menu-label":bt};J.styles=mi;be([(0,we.property)()],J.prototype,"key",void 0);be([(0,we.property)({type:Boolean})],J.prototype,"useChip",void 0);be([(0,we.property)({type:Boolean})],J.prototype,"useAsClusterSwitch",void 0);be([(0,we.property)({type:Boolean})],J.prototype,"goToDocumentOnSwitch",void 0);be([(0,we.property)({type:Boolean})],J.prototype,"displayLabel",void 0);be([(0,we.property)({type:Number,attribute:"max-length"})],J.prototype,"maxLength",void 0);be([(0,xt.redux)({store:L.name})],J.prototype,"editorMode",void 0);be([(0,xt.redux)({store:L.name,selector:e=>{var t,o;return(o=(t=e.metadataConfiguration)===null||t===void 0?void 0:t.descriptors)!==null&&o!==void 0?o:[]}})],J.prototype,"metadataDescriptors",void 0);be([(0,xt.redux)({store:"search"})],J.prototype,"request",void 0);be([(0,we.state)()],J.prototype,"metadata",void 0);be([(0,we.state)()],J.prototype,"metadataLabel",void 0);be([(0,we.state)()],J.prototype,"clustersByValue",void 0);be([(0,we.state)()],J.prototype,"clusterItems",void 0);be([(0,we.state)()],J.prototype,"flatMetadata",void 0);be([(0,we.state)()],J.prototype,"displayCluster",void 0);(0,hc.customElement)("ft-search-result-metadata")(J);})();
1151
1306
  /*! Bundled license information:
1152
1307
 
1153
1308
  @lit/reactive-element/css-tag.js: